@ckeditor/ckeditor5-ai 46.1.1 → 47.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/LICENSE.md +18 -5
  2. package/README.md +10 -9
  3. package/build/ai.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/ckeditor5-metadata.json +24 -3
  77. package/dist/index-content.css +0 -1
  78. package/dist/index-editor.css +2648 -0
  79. package/dist/index.css +3047 -0
  80. package/dist/index.js +4 -2
  81. package/dist/translations/af.js +1 -1
  82. package/dist/translations/af.umd.js +1 -1
  83. package/dist/translations/ar.js +1 -1
  84. package/dist/translations/ar.umd.js +1 -1
  85. package/dist/translations/ast.js +1 -1
  86. package/dist/translations/ast.umd.js +1 -1
  87. package/dist/translations/az.js +1 -1
  88. package/dist/translations/az.umd.js +1 -1
  89. package/dist/translations/be.js +1 -1
  90. package/dist/translations/be.umd.js +1 -1
  91. package/dist/translations/bg.js +1 -1
  92. package/dist/translations/bg.umd.js +1 -1
  93. package/dist/translations/bn.js +1 -1
  94. package/dist/translations/bn.umd.js +1 -1
  95. package/dist/translations/bs.js +1 -1
  96. package/dist/translations/bs.umd.js +1 -1
  97. package/dist/translations/ca.js +1 -1
  98. package/dist/translations/ca.umd.js +1 -1
  99. package/dist/translations/cs.js +1 -1
  100. package/dist/translations/cs.umd.js +1 -1
  101. package/dist/translations/da.js +1 -1
  102. package/dist/translations/da.umd.js +1 -1
  103. package/dist/translations/de-ch.js +1 -1
  104. package/dist/translations/de-ch.umd.js +1 -1
  105. package/dist/translations/de.js +1 -1
  106. package/dist/translations/de.umd.js +1 -1
  107. package/dist/translations/el.js +1 -1
  108. package/dist/translations/el.umd.js +1 -1
  109. package/dist/translations/en-au.js +1 -1
  110. package/dist/translations/en-au.umd.js +1 -1
  111. package/dist/translations/en-gb.js +1 -1
  112. package/dist/translations/en-gb.umd.js +1 -1
  113. package/dist/translations/en.js +1 -1
  114. package/dist/translations/en.umd.js +1 -1
  115. package/dist/translations/eo.js +1 -1
  116. package/dist/translations/eo.umd.js +1 -1
  117. package/dist/translations/es-co.js +1 -1
  118. package/dist/translations/es-co.umd.js +1 -1
  119. package/dist/translations/es.js +1 -1
  120. package/dist/translations/es.umd.js +1 -1
  121. package/dist/translations/et.js +1 -1
  122. package/dist/translations/et.umd.js +1 -1
  123. package/dist/translations/eu.js +1 -1
  124. package/dist/translations/eu.umd.js +1 -1
  125. package/dist/translations/fa.js +1 -1
  126. package/dist/translations/fa.umd.js +1 -1
  127. package/dist/translations/fi.js +1 -1
  128. package/dist/translations/fi.umd.js +1 -1
  129. package/dist/translations/fr.js +1 -1
  130. package/dist/translations/fr.umd.js +1 -1
  131. package/dist/translations/gl.js +1 -1
  132. package/dist/translations/gl.umd.js +1 -1
  133. package/dist/translations/gu.js +1 -1
  134. package/dist/translations/gu.umd.js +1 -1
  135. package/dist/translations/he.js +1 -1
  136. package/dist/translations/he.umd.js +1 -1
  137. package/dist/translations/hi.js +1 -1
  138. package/dist/translations/hi.umd.js +1 -1
  139. package/dist/translations/hr.js +1 -1
  140. package/dist/translations/hr.umd.js +1 -1
  141. package/dist/translations/hu.js +1 -1
  142. package/dist/translations/hu.umd.js +1 -1
  143. package/dist/translations/hy.js +1 -1
  144. package/dist/translations/hy.umd.js +1 -1
  145. package/dist/translations/id.js +1 -1
  146. package/dist/translations/id.umd.js +1 -1
  147. package/dist/translations/it.js +1 -1
  148. package/dist/translations/it.umd.js +1 -1
  149. package/dist/translations/ja.js +1 -1
  150. package/dist/translations/ja.umd.js +1 -1
  151. package/dist/translations/jv.js +1 -1
  152. package/dist/translations/jv.umd.js +1 -1
  153. package/dist/translations/kk.js +1 -1
  154. package/dist/translations/kk.umd.js +1 -1
  155. package/dist/translations/km.js +1 -1
  156. package/dist/translations/km.umd.js +1 -1
  157. package/dist/translations/kn.js +1 -1
  158. package/dist/translations/kn.umd.js +1 -1
  159. package/dist/translations/ko.js +1 -1
  160. package/dist/translations/ko.umd.js +1 -1
  161. package/dist/translations/ku.js +1 -1
  162. package/dist/translations/ku.umd.js +1 -1
  163. package/dist/translations/lt.js +1 -1
  164. package/dist/translations/lt.umd.js +1 -1
  165. package/dist/translations/lv.js +1 -1
  166. package/dist/translations/lv.umd.js +1 -1
  167. package/dist/translations/ms.js +1 -1
  168. package/dist/translations/ms.umd.js +1 -1
  169. package/dist/translations/nb.js +1 -1
  170. package/dist/translations/nb.umd.js +1 -1
  171. package/dist/translations/ne.js +1 -1
  172. package/dist/translations/ne.umd.js +1 -1
  173. package/dist/translations/nl.js +1 -1
  174. package/dist/translations/nl.umd.js +1 -1
  175. package/dist/translations/no.js +1 -1
  176. package/dist/translations/no.umd.js +1 -1
  177. package/dist/translations/oc.js +1 -1
  178. package/dist/translations/oc.umd.js +1 -1
  179. package/dist/translations/pl.js +1 -1
  180. package/dist/translations/pl.umd.js +1 -1
  181. package/dist/translations/pt-br.js +1 -1
  182. package/dist/translations/pt-br.umd.js +1 -1
  183. package/dist/translations/pt.js +1 -1
  184. package/dist/translations/pt.umd.js +1 -1
  185. package/dist/translations/ro.js +1 -1
  186. package/dist/translations/ro.umd.js +1 -1
  187. package/dist/translations/ru.js +1 -1
  188. package/dist/translations/ru.umd.js +1 -1
  189. package/dist/translations/si.js +1 -1
  190. package/dist/translations/si.umd.js +1 -1
  191. package/dist/translations/sk.js +1 -1
  192. package/dist/translations/sk.umd.js +1 -1
  193. package/dist/translations/sl.js +1 -1
  194. package/dist/translations/sl.umd.js +1 -1
  195. package/dist/translations/sq.js +1 -1
  196. package/dist/translations/sq.umd.js +1 -1
  197. package/dist/translations/sr-latn.js +1 -1
  198. package/dist/translations/sr-latn.umd.js +1 -1
  199. package/dist/translations/sr.js +1 -1
  200. package/dist/translations/sr.umd.js +1 -1
  201. package/dist/translations/sv.js +1 -1
  202. package/dist/translations/sv.umd.js +1 -1
  203. package/dist/translations/th.js +1 -1
  204. package/dist/translations/th.umd.js +1 -1
  205. package/dist/translations/ti.js +1 -1
  206. package/dist/translations/ti.umd.js +1 -1
  207. package/dist/translations/tk.js +1 -1
  208. package/dist/translations/tk.umd.js +1 -1
  209. package/dist/translations/tr.js +1 -1
  210. package/dist/translations/tr.umd.js +1 -1
  211. package/dist/translations/tt.js +1 -1
  212. package/dist/translations/tt.umd.js +1 -1
  213. package/dist/translations/ug.js +1 -1
  214. package/dist/translations/ug.umd.js +1 -1
  215. package/dist/translations/uk.js +1 -1
  216. package/dist/translations/uk.umd.js +1 -1
  217. package/dist/translations/ur.js +1 -1
  218. package/dist/translations/ur.umd.js +1 -1
  219. package/dist/translations/uz.js +1 -1
  220. package/dist/translations/uz.umd.js +1 -1
  221. package/dist/translations/vi.js +1 -1
  222. package/dist/translations/vi.umd.js +1 -1
  223. package/dist/translations/zh-cn.js +1 -1
  224. package/dist/translations/zh-cn.umd.js +1 -1
  225. package/dist/translations/zh.js +1 -1
  226. package/dist/translations/zh.umd.js +1 -1
  227. package/lang/contexts.json +162 -1
  228. package/lang/translations/af.po +612 -0
  229. package/lang/translations/ar.po +628 -0
  230. package/lang/translations/ast.po +612 -0
  231. package/lang/translations/az.po +612 -0
  232. package/lang/translations/be.po +616 -0
  233. package/lang/translations/bg.po +612 -0
  234. package/lang/translations/bn.po +612 -0
  235. package/lang/translations/bs.po +616 -0
  236. package/lang/translations/ca.po +612 -0
  237. package/lang/translations/cs.po +616 -0
  238. package/lang/translations/da.po +612 -0
  239. package/lang/translations/de-ch.po +612 -0
  240. package/lang/translations/de.po +612 -0
  241. package/lang/translations/el.po +612 -0
  242. package/lang/translations/en-au.po +612 -0
  243. package/lang/translations/en-gb.po +612 -0
  244. package/lang/translations/en.po +612 -0
  245. package/lang/translations/eo.po +612 -0
  246. package/lang/translations/es-co.po +612 -0
  247. package/lang/translations/es.po +612 -0
  248. package/lang/translations/et.po +612 -0
  249. package/lang/translations/eu.po +612 -0
  250. package/lang/translations/fa.po +608 -0
  251. package/lang/translations/fi.po +612 -0
  252. package/lang/translations/fr.po +612 -0
  253. package/lang/translations/gl.po +612 -0
  254. package/lang/translations/gu.po +612 -0
  255. package/lang/translations/he.po +612 -0
  256. package/lang/translations/hi.po +612 -0
  257. package/lang/translations/hr.po +616 -0
  258. package/lang/translations/hu.po +612 -0
  259. package/lang/translations/hy.po +612 -0
  260. package/lang/translations/id.po +608 -0
  261. package/lang/translations/it.po +612 -0
  262. package/lang/translations/ja.po +608 -0
  263. package/lang/translations/jv.po +612 -0
  264. package/lang/translations/kk.po +612 -0
  265. package/lang/translations/km.po +608 -0
  266. package/lang/translations/kn.po +612 -0
  267. package/lang/translations/ko.po +608 -0
  268. package/lang/translations/ku.po +612 -0
  269. package/lang/translations/lt.po +616 -0
  270. package/lang/translations/lv.po +616 -0
  271. package/lang/translations/ms.po +608 -0
  272. package/lang/translations/nb.po +612 -0
  273. package/lang/translations/ne.po +612 -0
  274. package/lang/translations/nl.po +612 -0
  275. package/lang/translations/no.po +612 -0
  276. package/lang/translations/oc.po +612 -0
  277. package/lang/translations/pl.po +616 -0
  278. package/lang/translations/pt-br.po +612 -0
  279. package/lang/translations/pt.po +612 -0
  280. package/lang/translations/ro.po +616 -0
  281. package/lang/translations/ru.po +616 -0
  282. package/lang/translations/si.po +612 -0
  283. package/lang/translations/sk.po +616 -0
  284. package/lang/translations/sl.po +620 -0
  285. package/lang/translations/sq.po +612 -0
  286. package/lang/translations/sr-latn.po +616 -0
  287. package/lang/translations/sr.po +616 -0
  288. package/lang/translations/sv.po +612 -0
  289. package/lang/translations/th.po +608 -0
  290. package/lang/translations/ti.po +612 -0
  291. package/lang/translations/tk.po +612 -0
  292. package/lang/translations/tr.po +612 -0
  293. package/lang/translations/tt.po +608 -0
  294. package/lang/translations/ug.po +608 -0
  295. package/lang/translations/uk.po +616 -0
  296. package/lang/translations/ur.po +612 -0
  297. package/lang/translations/uz.po +612 -0
  298. package/lang/translations/vi.po +608 -0
  299. package/lang/translations/zh-cn.po +608 -0
  300. package/lang/translations/zh.po +608 -0
  301. package/package.json +23 -11
  302. package/src/aiactions/aiactions.d.ts +48 -0
  303. package/src/aiactions/aiactions.js +23 -0
  304. package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
  305. package/src/aiactions/model/aiactionsinteraction.js +23 -0
  306. package/src/aiactions/model/aiactionsreply.d.ts +15 -0
  307. package/src/aiactions/model/aiactionsreply.js +23 -0
  308. package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
  309. package/src/aiassistant/adapters/aiadapter.js +23 -0
  310. package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
  311. package/src/aiassistant/adapters/aitextadapter.js +23 -0
  312. package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
  313. package/src/aiassistant/adapters/awstextadapter.js +23 -0
  314. package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
  315. package/src/aiassistant/adapters/openaitextadapter.js +23 -0
  316. package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
  317. package/src/aiassistant/aiassistant.js +23 -0
  318. package/src/aiassistant/aiassistantediting.js +23 -0
  319. package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
  320. package/src/aiassistant/aiassistantui.js +23 -0
  321. package/src/aiassistant/legacyerrors.js +23 -0
  322. package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
  323. package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
  324. package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
  325. package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
  326. package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
  327. package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
  328. package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
  329. package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
  330. package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
  331. package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
  332. package/src/aiassistant/ui/form/aiformview.js +23 -0
  333. package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
  334. package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
  335. package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
  336. package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
  337. package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
  338. package/src/aiassistant/ui/form/prompthistory.js +23 -0
  339. package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
  340. package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
  341. package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
  342. package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
  343. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
  344. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
  345. package/src/aiballoon/aiballoon.d.ts +72 -0
  346. package/src/aiballoon/aiballoon.js +23 -0
  347. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
  348. package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
  349. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
  350. package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
  351. package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
  352. package/src/aiballoon/ui/aiballoonview.js +23 -0
  353. package/src/aichat/aichat.d.ts +79 -0
  354. package/src/aichat/aichat.js +23 -0
  355. package/src/aichat/aichatcontroller.d.ts +68 -0
  356. package/src/aichat/aichatcontroller.js +23 -0
  357. package/src/aichat/aichatui.d.ts +297 -0
  358. package/src/aichat/aichatui.js +23 -0
  359. package/src/aichat/model/aichatcontext.d.ts +360 -0
  360. package/src/aichat/model/aichatcontext.js +23 -0
  361. package/src/aichat/model/aichatconversation.d.ts +270 -0
  362. package/src/aichat/model/aichatconversation.js +23 -0
  363. package/src/aichat/model/aichatinteraction.d.ts +46 -0
  364. package/src/aichat/model/aichatinteraction.js +23 -0
  365. package/src/aichat/model/aichatmodels.d.ts +77 -0
  366. package/src/aichat/model/aichatmodels.js +23 -0
  367. package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
  368. package/src/aichat/ui/aichatcontrolsview.js +23 -0
  369. package/src/aichat/ui/aichatfeedview.d.ts +114 -0
  370. package/src/aichat/ui/aichatfeedview.js +23 -0
  371. package/src/aichat/ui/aichatheaderview.d.ts +29 -0
  372. package/src/aichat/ui/aichatheaderview.js +23 -0
  373. package/src/aichat/ui/aichatview.d.ts +37 -0
  374. package/src/aichat/ui/aichatview.js +23 -0
  375. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
  376. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
  377. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
  378. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
  379. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
  380. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
  381. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
  382. package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
  383. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
  384. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
  385. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
  386. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
  387. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
  388. package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
  389. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
  390. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
  391. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
  392. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
  393. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
  394. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
  395. package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
  396. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
  397. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
  398. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
  399. package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
  400. package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
  401. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
  402. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
  403. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
  404. package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
  405. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
  406. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
  407. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
  408. package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
  409. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
  410. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
  411. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
  412. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
  413. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
  414. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
  415. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
  416. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
  417. package/src/aichat/utils/eventnames.d.ts +5 -0
  418. package/src/aichat/utils/eventnames.js +23 -0
  419. package/src/aichat/utils/promisequeue.d.ts +32 -0
  420. package/src/aichat/utils/promisequeue.js +23 -0
  421. package/src/aichat/utils/scrollmanager.d.ts +23 -0
  422. package/src/aichat/utils/scrollmanager.js +23 -0
  423. package/src/aichathistory/aichathistory.d.ts +30 -0
  424. package/src/aichathistory/aichathistory.js +23 -0
  425. package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
  426. package/src/aichathistory/aichathistorycontroller.js +23 -0
  427. package/src/aichathistory/aichathistoryui.d.ts +112 -0
  428. package/src/aichathistory/aichathistoryui.js +23 -0
  429. package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
  430. package/src/aichathistory/model/aichathistoryconversations.js +23 -0
  431. package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
  432. package/src/aichathistory/model/aichathistoryitem.js +23 -0
  433. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
  434. package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
  435. package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
  436. package/src/aichathistory/ui/aichathistorylistview.js +23 -0
  437. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
  438. package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
  439. package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
  440. package/src/aichathistory/ui/aichathistoryview.js +23 -0
  441. package/src/aiconfig.d.ts +82 -31
  442. package/src/aicore/aiconnector.d.ts +302 -0
  443. package/src/aicore/aiconnector.js +23 -0
  444. package/src/aicore/aiediting.d.ts +61 -0
  445. package/src/aicore/aiediting.js +23 -0
  446. package/src/aicore/model/aicapabilities.d.ts +55 -0
  447. package/src/aicore/model/aicapabilities.js +23 -0
  448. package/src/aicore/model/aicontext.d.ts +53 -0
  449. package/src/aicore/model/aicontext.js +23 -0
  450. package/src/aicore/model/aiinteraction.d.ts +135 -0
  451. package/src/aicore/model/aiinteraction.js +23 -0
  452. package/src/aicore/model/aireply.d.ts +178 -0
  453. package/src/aicore/model/aireply.js +23 -0
  454. package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
  455. package/src/aicore/pipeline/airesponseapplier.js +24 -0
  456. package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
  457. package/src/aicore/pipeline/airesponseparser.js +24 -0
  458. package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
  459. package/src/aicore/ui/aidisclaimerview.js +23 -0
  460. package/src/aicore/ui/aiskeleton.d.ts +37 -0
  461. package/src/aicore/ui/aiskeleton.js +23 -0
  462. package/src/aicore/ui/aispinner.d.ts +14 -0
  463. package/src/aicore/ui/aispinner.js +23 -0
  464. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
  465. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
  466. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
  467. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
  468. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
  469. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
  470. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
  471. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
  472. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
  473. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
  474. package/src/aicore/utils/common-translations.d.ts +9 -0
  475. package/src/aicore/utils/common-translations.js +23 -0
  476. package/src/aicore/utils/createresizebutton.d.ts +12 -0
  477. package/src/aicore/utils/createresizebutton.js +23 -0
  478. package/src/aicore/utils/documentposition.d.ts +41 -0
  479. package/src/aicore/utils/documentposition.js +23 -0
  480. package/src/aicore/utils/documentrange.d.ts +46 -0
  481. package/src/aicore/utils/documentrange.js +23 -0
  482. package/src/aicore/utils/eventnames.d.ts +9 -0
  483. package/src/aicore/utils/eventnames.js +23 -0
  484. package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
  485. package/src/aicore/utils/geteditorfromcontext.js +23 -0
  486. package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
  487. package/src/aicore/utils/getoperationsfromreply.js +23 -0
  488. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
  489. package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
  490. package/src/aicore/utils/htmlparser.d.ts +35 -0
  491. package/src/aicore/utils/htmlparser.js +23 -0
  492. package/src/aicore/utils/htmlstreamer.d.ts +123 -0
  493. package/src/aicore/utils/htmlstreamer.js +23 -0
  494. package/src/aiquickactions/aiquickactions.d.ts +41 -0
  495. package/src/aiquickactions/aiquickactions.js +23 -0
  496. package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
  497. package/src/aiquickactions/aiquickactionscommand.js +23 -0
  498. package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
  499. package/src/aiquickactions/aiquickactionsediting.js +23 -0
  500. package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
  501. package/src/aiquickactions/aiquickactionsui.js +23 -0
  502. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
  503. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
  504. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
  505. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
  506. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
  507. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
  508. package/src/aiquickactions/utils/common-translations.d.ts +9 -0
  509. package/src/aiquickactions/utils/common-translations.js +23 -0
  510. package/src/aireviewmode/aireviewmode.d.ts +30 -0
  511. package/src/aireviewmode/aireviewmode.js +23 -0
  512. package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
  513. package/src/aireviewmode/aireviewmodecontroller.js +23 -0
  514. package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
  515. package/src/aireviewmode/aireviewmodeediting.js +23 -0
  516. package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
  517. package/src/aireviewmode/aireviewmodeui.js +23 -0
  518. package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
  519. package/src/aireviewmode/model/aireviewcheck.js +23 -0
  520. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
  521. package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
  522. package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
  523. package/src/aireviewmode/model/aireviewchecklist.js +23 -0
  524. package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
  525. package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
  526. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
  527. package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
  528. package/src/aireviewmode/model/aireviewcheckrun.d.ts +101 -0
  529. package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
  530. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
  531. package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
  532. package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
  533. package/src/aireviewmode/model/aireviewmodels.js +23 -0
  534. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
  535. package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
  536. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
  537. package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
  538. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
  539. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
  540. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +19 -0
  541. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
  542. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
  543. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
  544. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
  545. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
  546. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
  547. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
  548. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
  549. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
  550. package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
  551. package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
  552. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
  553. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
  554. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
  555. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
  556. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
  557. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
  558. package/src/aireviewmode/utils/common-translations.d.ts +9 -0
  559. package/src/aireviewmode/utils/common-translations.js +23 -0
  560. package/src/aitabs/aitabs.d.ts +92 -0
  561. package/src/aitabs/aitabs.js +23 -0
  562. package/src/aitabs/aitabsmainview.d.ts +45 -0
  563. package/src/aitabs/aitabsmainview.js +23 -0
  564. package/src/aitabs/tabs/aitabsview.d.ts +147 -0
  565. package/src/aitabs/tabs/aitabsview.js +23 -0
  566. package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
  567. package/src/aitabs/tabs/tabbuttonview.js +23 -0
  568. package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
  569. package/src/aitabs/tabs/tabpanelview.js +23 -0
  570. package/src/augmentation.d.ts +22 -6
  571. package/src/index.d.ts +40 -9
  572. package/src/index.js +1 -1
  573. package/theme/aiballoon/aiballoon.css +207 -0
  574. package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
  575. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
  576. package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
  577. package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
  578. package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
  579. package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
  580. package/theme/aichat/aichat-controls/prompt-input.css +55 -0
  581. package/theme/aichat/aichat-controls.css +154 -0
  582. package/theme/aichat/aichat.css +68 -0
  583. package/theme/aichat/aichatfeed.css +376 -0
  584. package/theme/aichat/aichathistory.css +235 -0
  585. package/theme/aichat/aiminitoolbar.css +94 -0
  586. package/theme/aichat/aisuggestioncontainer.css +203 -0
  587. package/theme/aiquickactions/aiquickactions.css +43 -0
  588. package/theme/aireviewmode/aireviewmode-check-list.css +154 -0
  589. package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
  590. package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
  591. package/theme/aireviewmode/aireviewmode.css +73 -0
  592. package/theme/aitabs/aitabsview.css +64 -0
  593. package/theme/aitabs/tabs/tabbuttonview.css +74 -0
  594. package/theme/aitabs/tabs/tabsview.css +78 -0
  595. package/theme/common/aibutton.css +145 -0
  596. package/theme/common/aichaterror.css +61 -0
  597. package/theme/common/aidisclaimer.css +29 -0
  598. package/theme/common/aiheader.css +88 -0
  599. package/theme/common/aiskeleton.css +54 -0
  600. package/theme/common/aispinner.css +58 -0
  601. package/src/adapters/aiadapter.js +0 -23
  602. package/src/adapters/aitextadapter.js +0 -23
  603. package/src/adapters/awstextadapter.js +0 -23
  604. package/src/adapters/openaitextadapter.js +0 -23
  605. package/src/aiassistant.js +0 -23
  606. package/src/aiassistantediting.js +0 -23
  607. package/src/aiassistantui.js +0 -23
  608. package/src/legacyerrors.js +0 -23
  609. package/src/ui/aiassistantcontroller.js +0 -24
  610. package/src/ui/form/aiformcontentarea.js +0 -23
  611. package/src/ui/form/aiformerrorview.js +0 -23
  612. package/src/ui/form/aiformpromptview.js +0 -23
  613. package/src/ui/form/aiformtoolbarview.js +0 -23
  614. package/src/ui/form/aiformview.js +0 -23
  615. package/src/ui/form/aihistorylistitemview.js +0 -23
  616. package/src/ui/form/aihistorylistview.js +0 -23
  617. package/src/ui/form/prompthistory.js +0 -23
  618. package/src/ui/showaiassistantcommand.js +0 -23
  619. /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
  620. /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
  621. /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
  622. /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
  623. /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
  624. /package/theme/{ai.css → aiassistant/ai.css} +0 -0
package/build/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"AI Assistant":"AI Assistant","AI Commands":"AI Commands","AI is writing":"AI is writing","AI is writing...":"AI is writing...",AI_ERROR_CONTEXT_LENGTH:"Selected content is too long",AI_ERROR_FAILED:"Failed to communicate with the AI service",AI_ERROR_GET_HEADERS:"Preparing request headers failed",AI_ERROR_GET_PARAMETERS:"Preparing request parameters failed",AI_ERROR_MODERATION:"Requested query does not pass moderation rules",AI_ERROR_UNSUPPORTED_MODEL:'The requested AI model ("%0") is not supported',AI_INSERT_CONTENT:"Insert",AI_REPLACE_CONTENT:"Replace",Arabic:"Arabic","Ask AI and your prompts will be listed here for you to use later.":"Ask AI and your prompts will be listed here for you to use later.","Ask AI to edit or generate":"Ask AI to edit or generate","Ask AI to improve generated text":"Ask AI to improve generated text",Business:"Business",Casual:"Casual","Change style":"Change style","Change tone":"Change tone",Confident:"Confident",Continue:"Continue",Copy:"Copy",Direct:"Direct","Edit or review":"Edit or review","Empty history":"Empty history",English:"English","Error during AI content generation: %0":"Error during AI content generation: %0",French:"French",Friendly:"Friendly","Generate from selection":"Generate from selection","Generated content: %0":"Generated content: %0",German:"German",Hindi:"Hindi",History:"History","Improve writing":"Improve writing","Insert below":"Insert below",Journalism:"Journalism",Legal:"Legal","Make longer":"Make longer","Make shorter":"Make shorter",Poetic:"Poetic",Portuguese:"Portuguese",Professional:"Professional","Prompt history":"Prompt history","Simplified Chinese":"Simplified Chinese","Simplify language":"Simplify language",Spanish:"Spanish",Stop:"Stop",Submit:"Submit",Summarize:"Summarize",Translate:"Translate","Try again":"Try again"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
1
+ !function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"AI Assistant":"AI Assistant","AI Commands":"AI Commands","AI is writing":"AI is writing","AI is writing...":"AI is writing...",AI_ACTIONS_TRY_AGAIN:"Try again",AI_BALLOON_APPLY_BUTTON:"Apply",AI_BALLOON_NEXT_TOOLTIP:"Next",AI_BALLOON_PREVIOUS_TOOLTIP:"Previous",AI_BALLOON_SUGGEST_BUTTON:"Suggest",AI_CHAT_ABORTED_MESSAGE:"The request was aborted.",AI_CHAT_CAPABILITIES_NO:"No",AI_CHAT_CAPABILITIES_YES:"Yes",AI_CHAT_COMMANDS:"Commands",AI_CHAT_CONTEXT_ADD_CONTEXT:"Add context",AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL:"Current context",AI_CHAT_CONTEXT_CURRENT_DOCUMENT:"Current document",AI_CHAT_CONTEXT_FILE_LABEL:"File",AI_CHAT_CONTEXT_INVALID_DATA:"Invalid context data type for the selected resource.",AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT:"Remove from context",AI_CHAT_CONTEXT_SOURCES_LABEL:"Sources",AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES:"Unable to load resources from %0. Please try again.",AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE:"Failed to upload files: %0. Please try again.",AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL:"Failed to upload URL: %0. Please try again.",AI_CHAT_CONTEXT_UNSUPPORTED_TYPE:"Unsupported resource type. Only files and URLs are supported.",AI_CHAT_CONTEXT_URL_ADD_URL:"Add URL",AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT:"Back to context options",AI_CHAT_CONTEXT_URL_EMPTY_ERROR:"URL cannot be empty.",AI_CHAT_CONTEXT_URL_INVALID_ERROR:"Please enter a valid URL.",AI_CHAT_CONTEXT_URL_LABEL:"URL",AI_CHAT_CONTEXT_URL_PLACEHOLDER:"Add URL...",AI_CHAT_DISABLE_REASONING:"Disable reasoning",AI_CHAT_DISABLE_WEB_SEARCH:"Disable web search",AI_CHAT_ENABLE_REASONING:"Enable reasoning",AI_CHAT_ENABLE_WEB_SEARCH:"Enable web search",AI_CHAT_FEED_LOADING_MESSAGE_REASONING:"AI is performing deep research to provide the most accurate answer...",AI_CHAT_FEED_LOADING_MESSAGE_REGULAR:"AI is preparing a response...",AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH:"AI is searching the web to provide the most accurate answer...",AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING:"AI is performing deep research and searching the web to provide the most accurate answer...",AI_CHAT_FEED_REPLY_ITEM_USED_REASONING:"Thought for a few minutes",AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH:"Scanned the internet for insights",AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING:"Took a moment to think and search the web",AI_CHAT_GENERIC_ERROR:"Something went wrong while processing your request. Please try again.",AI_CHAT_HEADING:"AI Chat",AI_CHAT_HISTORY_ACCEPT:"Accept",AI_CHAT_HISTORY_CANCEL:"Cancel",AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS:"Last 14 days",AI_CHAT_HISTORY_CATEGORY_LATER:"Later",AI_CHAT_HISTORY_CATEGORY_PINNED:"Pinned",AI_CHAT_HISTORY_CATEGORY_TODAY:"Today",AI_CHAT_HISTORY_CATEGORY_YESTERDAY:"Yesterday",AI_CHAT_HISTORY_EDIT_NAME:"Edit name",AI_CHAT_HISTORY_EMPTY_MESSAGE:"Your chat history is currently empty. After you create some conversations, you will be able to revisit them here.",AI_CHAT_HISTORY_ERROR_GENERIC:"Something went wrong. Please try again in a moment.",AI_CHAT_HISTORY_ERROR_LOAD_ITEMS:"Sorry, we couldn't generate the chat history. Please try again in a moment.",AI_CHAT_HISTORY_ERROR_REMOVE_ITEM:'Sorry, we couldn\'t delete the "%0" chat. Please try again in a moment.',AI_CHAT_HISTORY_ERROR_UPDATE_PINNED:'Sorry, we couldn\'t %0 the "%1" chat. Please try again in a moment.',AI_CHAT_HISTORY_ERROR_UPDATE_TITLE:'Sorry, we couldn\'t change the "%0" chat name. Please try again in a moment.',AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON:"Go to chat",AI_CHAT_HISTORY_HEADING:"Chat History",AI_CHAT_HISTORY_LOADING_PINNING:"Pinning the chat...",AI_CHAT_HISTORY_LOADING_REMOVING:"Removing the chat...",AI_CHAT_HISTORY_LOADING_RENAMING:"Renaming the chat...",AI_CHAT_HISTORY_LOADING_UNPINNING:"Unpinning the chat...",AI_CHAT_HISTORY_PIN_ACTION:"pin",AI_CHAT_HISTORY_PIN_BUTTON:"Pin",AI_CHAT_HISTORY_REMOVE:"Remove",AI_CHAT_HISTORY_REMOVE_CONFIRM:"Do you want to remove this chat?",AI_CHAT_HISTORY_SEARCH_LABEL:"Search history",AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY:'No chats were found matching "%0".',AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY:"Please try a different phrase or check the spelling.",AI_CHAT_HISTORY_SHOW_MORE_ITEMS:"Show more items",AI_CHAT_HISTORY_UNPIN_ACTION:"unpin",AI_CHAT_IS_WRITING:"AI is writing...",AI_CHAT_LABEL_NEW_CHAT:"New chat",AI_CHAT_LABEL_SUBMIT:"Submit",AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP:"Start a new conversation to change a model",AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP:"Select a model",AI_CHAT_MODEL_SELECTOR_GROUP:"Models",AI_CHAT_PROMPT_EMPTY_ERROR:"This field cannot be empty.",AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING:"Ask AI anything (reasoning enabled)...",AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR:"Ask AI anything...",AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH:"Ask AI anything (web search enabled)...",AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING:"Ask AI anything (web search and reasoning enabled)...",AI_CHAT_REASONING:"Reasoning",AI_CHAT_RESOURCE_LOAD_FAILED:"Failed to load resource. Please try again.",AI_CHAT_SEARCH_RESOURCES:"Search resources",AI_CHAT_SEARCH_WEB:"Web search",AI_CHAT_STOP_GENERATING:"Stop generating",AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL:["Apply","Apply all"],AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP:["Apply suggestion","Apply all suggestions"],AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION:["Insert suggestion","Insert suggestions"],AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT:["Show change in text","Show changes in text"],AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP:"More options",AI_CHAT_UNABLE_TO_START_CONVERSATION:"Unable to start conversation. Please make sure you are online and try again.",AI_CHAT_UNTITLED_CONVERSATION:"Untitled conversation",AI_CHAT_WELCOME_MESSAGE:"Hi, I'm your AI assistant. Think of me as your writing buddy, reviewer, or research partner. I can suggest changes to your document, help generate ideas, offer feedback, discuss attached files, and much more!",AI_DISCLAIMER_TEXT:"AI can make mistakes. Please double-check responses.",AI_ERROR_CONTEXT_LENGTH:"Selected content is too long",AI_ERROR_FAILED:"Failed to communicate with the AI service",AI_ERROR_GET_HEADERS:"Preparing request headers failed",AI_ERROR_GET_PARAMETERS:"Preparing request parameters failed",AI_ERROR_MODERATION:"Requested query does not pass moderation rules",AI_ERROR_UNSUPPORTED_MODEL:'The requested AI model ("%0") is not supported',AI_INSERT_CONTENT:"Insert",AI_MINI_TOOLBAR_COPY:"Copy to clipboard",AI_MINI_TOOLBAR_DISLIKE:"I don't like this response",AI_MINI_TOOLBAR_LIKE:"I like this response",AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT:"Adjust based on the rest of the document",AI_QUICK_ACTIONS_ADJUST_LENGTH:"Adjust length",AI_QUICK_ACTIONS_ASK_AI:"Ask AI",AI_QUICK_ACTIONS_CHANGE_TONE:"Change tone",AI_QUICK_ACTIONS_CHAT_COMMANDS:"Chat commands",AI_QUICK_ACTIONS_CONTINUE_WRITING:"Continue writing",AI_QUICK_ACTIONS_EXPLAIN:"Explain",AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING:"Fix grammar & spelling",AI_QUICK_ACTIONS_HEADING:"AI Quick Actions",AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS:"Highlight key points",AI_QUICK_ACTIONS_IMPROVE_WRITING:"Improve writing",AI_QUICK_ACTIONS_MAKE_LONGER:"Make longer",AI_QUICK_ACTIONS_MAKE_SHORTER:"Make shorter",AI_QUICK_ACTIONS_MORE_CASUAL:"More casual",AI_QUICK_ACTIONS_MORE_CONFIDENT:"More confident",AI_QUICK_ACTIONS_MORE_DIRECT:"More direct",AI_QUICK_ACTIONS_MORE_FRIENDLY:"More friendly",AI_QUICK_ACTIONS_MORE_PROFESSIONAL:"More professional",AI_QUICK_ACTIONS_OTHER:"Other",AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND:"%0 plugin is required but not found.",AI_QUICK_ACTIONS_SUMMARIZE:"Summarize",AI_QUICK_ACTIONS_TRANSLATE:"Translate",AI_QUICK_ACTIONS_TRANSLATE_CHINESE:"Chinese (Simplified)",AI_QUICK_ACTIONS_TRANSLATE_ENGLISH:"English",AI_QUICK_ACTIONS_TRANSLATE_FRENCH:"French",AI_QUICK_ACTIONS_TRANSLATE_ITALIAN:"Italian",AI_QUICK_ACTIONS_TRANSLATE_JAPANESE:"Japanese",AI_QUICK_ACTIONS_TRANSLATE_KOREAN:"Korean",AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE:"Portuguese",AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN:"Russian",AI_REPLACE_CONTENT:"Replace",AI_REVIEW_MODE_ACCEPT_ALL:"Accept all",AI_REVIEW_MODE_ACCEPT_CHANGE:"Accept",AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE:"Not everything went through, but the completed items are listed below.",AI_REVIEW_MODE_COMPLETED_TEXT:"There's nothing left to review. You can now return to the command list.",AI_REVIEW_MODE_DISMISS_CHANGE:"Dismiss",AI_REVIEW_MODE_EXIT_REVIEW:"Exit review",AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL:"Finish Review",AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE:"Review complete. Finish when ready.",AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE:"Sorry, we couldn't generate the whole review properly. Please try again in a moment.",AI_REVIEW_MODE_HIDE_CHANGES:"Hide changes",AI_REVIEW_MODE_LEARN_MORE:"Learn more",AI_REVIEW_MODE_SHOW_CHANGES:"Show changes",AI_REVIEW_MODE_STOP_GENERATING:"Stop generating",AI_SUGGESTION_BUTTON_SHOW_CHANGES:"Show changes",AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION:"Add as suggestion",AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED:"Change is already applied",AI_SUGGESTION_CONTENT_PART_DELETE:"Delete",AI_SUGGESTION_CONTENT_PART_REJECTED:"Change was rejected",AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT:"Show in the text",AI_SUGGESTION_CONTENT_PART_TITLE:"Suggestion %0",AI_SUGGESTION_EMPTY_PART_WARNING:"Some suggestions can’t be applied to the editor because the system can’t display them correctly.",AI_SUGGESTION_HEADER_TITLE:"Suggested content",AI_SUGGESTION_NO_PARTS_WARNING:"The suggestion can’t be applied to the editor because the system can’t display it correctly..",AI_TABS_LABEL_MAXIMIZE:"Maximize",AI_TABS_LABEL_MINIMIZE:"Minimize",Arabic:"Arabic","Ask AI and your prompts will be listed here for you to use later.":"Ask AI and your prompts will be listed here for you to use later.","Ask AI to edit or generate":"Ask AI to edit or generate","Ask AI to improve generated text":"Ask AI to improve generated text",Business:"Business",Casual:"Casual","Change style":"Change style","Change tone":"Change tone",Confident:"Confident",Continue:"Continue",Copy:"Copy",Direct:"Direct","Edit or review":"Edit or review","Empty history":"Empty history",English:"English","Error during AI content generation: %0":"Error during AI content generation: %0",French:"French",Friendly:"Friendly","Generate from selection":"Generate from selection","Generated content: %0":"Generated content: %0",German:"German",Hindi:"Hindi",History:"History","Improve writing":"Improve writing","Insert below":"Insert below",Journalism:"Journalism",Legal:"Legal","Make longer":"Make longer","Make shorter":"Make shorter",Poetic:"Poetic",Portuguese:"Portuguese",Professional:"Professional","Prompt history":"Prompt history","Simplified Chinese":"Simplified Chinese","Simplify language":"Simplify language",Spanish:"Spanish",Stop:"Stop",Submit:"Submit",Summarize:"Summarize",Translate:"Translate","Try again":"Try again"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var e={6:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=r.base?c[0]+r.base:c[0],d=o[u]||0,l="".concat(u," ").concat(d);o[u]=d+1;var h=n(l),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=i(f,r);r.byIndex=a,t.splice(a,0,{identifier:l,updater:p,references:1})}s.push(l)}return s}function i(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=r(e,i),u=0;u<o.length;u++){var d=n(o[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=c}}},117:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([e.id,":root{--ck-ai-form-submit-button-text-color:var(--ck-color-text);--ck-ai-form-submit-button-border-color:transparent;--ck-ai-form-submit-button-disabled-border-color:transparent;--ck-ai-toolbar-button-hover-color:var(--ck-color-text);--ck-color-ai-selection:rgba(31,176,255,.3)}.ck-ai-assistant-ui_theme{--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#f3ecff;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-background:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;--ck-color-list-button-hover-background:#f3ecff;--ck-ai-form-content-background:#f9f9f9;--ck-ai-form-submit-button-text-color:var(--ck-color-button-on-color);--ck-ai-form-submit-button-border-color:var(--ck-color-button-action-background);--ck-ai-form-submit-button-disabled-border-color:var(--ck-color-button-action-disabled-background);--ck-ai-toolbar-button-hover-color:var(--ck-color-button-on-color);--ck-color-ai-selection:#e2d6f5}.ck-ai-assistant-button:hover,.ck-ai-commands-dropdown>.ck-button:hover{color:var(--ck-ai-toolbar-button-hover-color)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck span.ck-fake-ai-selection-candidate{background:var(--ck-color-ai-selection)}.ck .ck-fake-ai-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}.ck.ck-content.ck-ai-form__content-field h2{font-size:1.3em}.ck.ck-content.ck-ai-form__content-field h3{font-size:1.2em}.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6{font-size:1.1em}.ck.ck-content.ck-ai-form__content-field h2,.ck.ck-content.ck-ai-form__content-field h3,.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6,.ck.ck-content.ck-ai-form__content-field ol,.ck.ck-content.ck-ai-form__content-field p,.ck.ck-content.ck-ai-form__content-field ul{line-height:1.7em;margin-block-end:.5em;margin-block-start:.5em}.ck.ck-content.ck-ai-form__content-field>:first-child{margin-top:0}.ck.ck-content.ck-ai-form__content-field>:last-child{margin-bottom:0}",""]);const a=s},179:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),s=Math.max(i,o),a=0,c=e.map([t,n],function(t){var n=s-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(c[0][s]>c[1][s])return 1;if(c[0][s]===c[1][s]){if(s===a)return 0;s-=1}else if(c[0][s]<c[1][s])return-1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.find=function(e,t){var n,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,r=e.length;n<r;n+=1){var i=e[n];if(t(i,n))return i}},e.assign=function(e){for(var t,n,r=e,i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(o));var a=function(){var e=o[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){r[t]=e[t]})};for(t=0,n=o.length;t<n;t+=1)a();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=i,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv",bot:"bot"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){}var t,n,r;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},t=e,r=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],(n=null)&&s(t.prototype,n),r&&s(t,r),e}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(92)),i=c(n(93)),o=c(n(94)),s=c(n(95)),a=c(n(17));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(r.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(s.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,i={},o=0;if(Object.keys(e).forEach(function(t){var s=e[t];"string"==typeof s?(i[t]=s,o+=1):"object"==typeof s&&(n[t]=s,r+=1)}),r>0){var s=Object.keys(n),c=a.default.find(s,function(e){return t.isOS(e)});if(c){var u=this.satisfies(n[c]);if(void 0!==u)return u}var d=a.default.find(s,function(e){return t.isPlatform(e)});if(d){var l=this.satisfies(n[d]);if(void 0!==l)return l}}if(o>0){var h=Object.keys(i),f=a.default.find(h,function(e){return t.isBrowser(e,!0)});if(void 0!==f)return this.compareVersion(i[f])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=a.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(a.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=u,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/PaleMoon/i],describe:function(e){var t={name:"Pale Moon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/googlebot/i],describe:function(){return{type:o.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(e){var t=i.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,e),n={type:o.PLATFORMS_MAP.mobile,vendor:"Nokia"};return t&&(n.model=t),n}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=s,e.exports=t.default}})},237:e=>{"use strict";e.exports=CKEditor5.dll},290:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},302:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},431:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([e.id,":root{--ck-ai-dropdown-view-width:250px;--ck-ai-dropdown-view-list-max-height:250px}.ck.ck-ai-commands-search{width:var(--ck-ai-dropdown-view-width)}.ck.ck-ai-commands-search>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-ai-commands-search>.ck-labeled-field-view .ck-input{min-width:unset}.ck.ck-ai-commands-search>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-commands-search>.ck-search__results>.ck-list{max-height:var(--ck-ai-dropdown-view-list-max-height);overflow:auto}",""]);const a=s},557:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},582:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([e.id,":root{--ck-ai-form-view-width:600px;--ck-ai-form-content-height:175px;--ck-ai-form-content-background:#fafafa;--ck-ai-form-history-font-size:.9em;--ck-ai-form-error-background:var(--ck-color-light-red)}.ck .ck-ai-form{max-width:100%;width:var(--ck-ai-form-view-width)}@media screen and (max-width:600px){.ck .ck-ai-form{--ck-ai-form-view-width:100vw}}.ck .ck-ai-form .ck-ai-form-content{padding:var(--ck-spacing-large);width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-input{width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper{border:1px solid var(--ck-color-base-border);border-radius:2px;max-height:var(--ck-ai-form-content-height);overflow-y:auto;width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area{background-color:var(--ck-ai-form-content-background);display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area.ck-ai-form__content-area--processing{--ck-color-text:var(--ck-color-input-disabled-text);background-color:var(--ck-color-input-disabled-background)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{box-sizing:content-box;min-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);white-space:normal;width:100%}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-right:0}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-left:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field>*{color:inherit;white-space:normal}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{display:flex;flex-direction:column-reverse;padding-left:2px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button{bottom:1px;min-height:unset;min-width:unset;padding:4px;position:sticky;right:1px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button svg{--ck-icon-size:16px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button.ck-ai-form__copy-button--copied{color:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__toolbar{border:none;margin-bottom:calc(var(--ck-spacing-medium)*2);margin-top:var(--ck-spacing-medium);padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader{align-items:center;display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader .ck-spinner{box-sizing:border-box}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete{display:flex;justify-content:space-between}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view{flex-grow:1}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{border-color:var(--ck-ai-form-submit-button-border-color);color:var(--ck-ai-form-submit-button-text-color)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-left:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-right:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled{border-color:var(--ck-ai-form-submit-button-disabled-border-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{bottom:var(--ck-spacing-small);font-size:var(--ck-font-size-tiny);min-height:unset;min-width:unset;padding:4px;position:absolute;top:var(--ck-spacing-small)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{left:var(--ck-spacing-medium)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-right:30px}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-left:30px}@media screen and (max-width:600px){.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{--ck-input-width:auto}}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>span{grid-area:1/1/2/2}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button{background:none;font-size:var(--ck-ai-form-history-font-size);grid-area:1/2/2/3;justify-self:start;margin:var(--ck-spacing-medium) 0 0;min-height:auto;padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label{line-height:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label:hover{text-decoration:underline}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list{grid-area:2/1/3/3}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list .ck-list__item .ck-button .ck-button__label{font-size:var(--ck-ai-form-history-font-size);line-height:var(--ck-line-height-base);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck .ck-ai-form .ck-ai-form__error{align-items:center;background-color:var(--ck-ai-form-error-background);border-radius:2px;color:var(--ck-color-base-text);display:flex;justify-content:center;margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}",""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},602:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function r(e,t,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var i={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=i.singletonCounter++,n=i.singleton||(i.singleton=e.insertStyleElement(e));return{update:function(e){r(n,t,!1,e)},remove:function(e){r(n,t,!0,e)}}}},718:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);r&&s[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},933:e=>{"use strict";e.exports=function(e){return e[1]}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{AIAdapter:()=>w,AIAssistant:()=>He,AIAssistantUI:()=>Ne,AIRequestError:()=>b,AITextAdapter:()=>Ge,AWSTextAdapter:()=>ac,OpenAITextAdapter:()=>Je,ShowAIAssistantCommand:()=>E,getDefaultAICommands:()=>qe});var e=n(782),t=n(355),i=n(584),o=n(311);function s(e,t){const n=(0,t.t)("Other");return e.length?"groupId"in e[0]?e:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:e}]:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:[]}]}var a=n(331),c=n(783);const u=f;function d(){const e=["AIAssistantEditing","has","getSelectedBlocks","model","2796342RGxKUW","isContent","hideFakeVisualSelection","pop","forEach","getRanges","last","first","TableUtils","DataTransfer","element","join","getChild","getChildren","insertContentBelow","updateMarker","getMarkersGroup","createPositionAfter","deleteContent","push","findAncestor","_createEmptyTableRows","markers","13475sSDQxq","end","markerToElement","from","config","data","for","getRowIndexes","ai-ui","addClass","once","1188783XuRAaT","get","3599637fDOHRz","fromCharCode","ck-fake-ai-selection","markerRange","_prepareTableInsertBelowPosition","document","getFirstRange","table","change","schema","isAtEnd","editingDowncast","isPremiumPlugin","pluginName","fire","_getTableRowCountFromContent","markerToHighlight","getRange","off","_resetContentOfSelectedTableCells","selection","createSelection","editing","54iyhEaU","init","start","ai.useTheme","plugins","isOfficialPlugin","text/html","showFakeVisualSelection","7750498yNYFMV","paste","getLastMatchingPosition","isCollapsed","href","_getDefaultInsertBelowPosition","getColumnIndexes","length","editor","afterInit","setData","1052xTvziQ","span","getSelectedTableCells","insertContent","map","ck-fake-ai-selection_collapsed","addMarker","parse","lowest","4123686dYVOBA","setSelection","getRows","contentInsertion","filter","getLastPosition","createUIElement","insertRows","createPositionAt","removeMarker","createRange","canEditAt","ck-ai-assistant-ui_theme","resultRange","conversion","4801240aqymGn","_pasteHTMLUsingClipboard","_getAISelection"];return(d=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(899807===-parseInt(t(127))/1+-parseInt(t(202))/2+-parseInt(t(129))/3+-parseInt(t(171))/4*(parseInt(t(225))/5)+parseInt(t(180))/6+parseInt(t(160))/7+parseInt(t(195))/8*(parseInt(t(152))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);const l=globalThis[u(211)],h=u(124);function f(e,t){const n=d();return(f=function(e,t){return n[e-=120]})(e,t)}class p extends e.Plugin{static get[u(142)](){return u(198)}static get[u(157)](){return!0}static get[u(141)](){return!0}[u(153)](){const e=u,{editor:t}=this,n=[e(131)];t[e(120)][e(128)](e(155))&&n[e(221)](e(192)),t[e(194)][e(122)](e(140))[e(145)]({model:h,view:{classes:n,priority:12}}),t[e(194)][e(122)](e(140))[e(227)]({model:h,view:(t,{writer:n})=>{const r=e;if(!t[r(132)][r(163)])return null;const i=n[r(186)](r(172));return n[r(125)]([r(131),r(176)],i),i}})}[u(169)](){!async function(e){const t=g([110,65,55,121,117,114,103,79,72,98,90,118,68,112,108,82,107,74,115,99,100,73,67,109,56,54,111,80,87,120,57,50,102,49,113,70,48,76,97,83,88,51,78,71,119,84,77,75,52,106,86,116,89,85,66,81,105,53,122,104,101,69]),n=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](d(e)):null}function d(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function l(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const r=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+r,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,r])=>{n(t),e(r)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function m(){}function g(e){const t=f;return e[t(175)](e=>String[t(130)](e))[t(213)]("")}!function(e){const n=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([110]);for(let r=0;r<e[g([108,101,110,103,116,104])];r+=2){let i=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](r,r+2));i>=t[g([108,101,110,103,116,104])]&&(i-=t[g([108,101,110,103,116,104])]),n+=t[i]}return n}();r[n]=g([97,105,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=m,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,t=null,m=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),r={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete r[g([118,99])],l(r)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(e,t){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const d=(0,i.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(r){a(r)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(l(d+t))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(n-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const t=g([108,108,99,116,45])+h(l(e)),r=p(h(window[g([77,97,116,104])][g([99,101,105,108])](n/i)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,r)}function s(){const t=g([108,108,99,116,45])+h(l(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:d}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(u=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const r=a[g([115,112,108,105,116])](g([46])),[i,o,s]=r;return t(i),await n(i,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,r){const i=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](d(r),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,i,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([65,73])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1757894400;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=f,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[g([108,111,99,97,116,105,111,110])][t(164)]);if(n[g([105,110,99,108,117,100,101,115])](r))return!0;const i=r[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=i[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(i[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>i[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(t=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(t=c(g([84,114,105,97,108,76,105,109,105,116]))),await(t&&m?new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),m[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},n)}):t||m||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[u(159)](){const e=u,t=this[e(168)][e(201)];t[e(137)](n=>{const r=e,i=t[r(134)][r(149)][r(207)]();let o=0;for(const e of i){const i=h+":"+o;if(t[r(224)][r(199)](i))n[r(217)](i,{range:e});else if(e[r(154)][r(139)]){const o=e[r(154)][r(162)](({item:e})=>!t[r(138)][r(203)](e),{boundaries:e});n[r(177)](i,{usingOperation:!1,affectsData:!1,range:n[r(190)](o,e[r(226)])})}else n[r(177)](i,{usingOperation:!1,affectsData:!1,range:e});o++}})}[u(204)](){const e=u,t=this[e(168)][e(201)],n=Array[e(228)](this[e(168)][e(201)][e(224)][e(218)](h));n[e(167)]&&t[e(137)](t=>{const r=e;n[r(206)](e=>{t[r(189)](e)})})}[u(174)](e,t){const n=u,r=this[n(197)](),i=t||r[n(135)]();this[n(168)][n(201)][n(191)](i)&&this[n(168)][n(201)][n(137)](o=>{const s=n;this[s(204)](),t||this[s(148)](o,r),this[s(196)]({insertAt:i,writer:o,html:e})})}[u(216)](e){const t=u,{model:n}=this[t(168)],r=this[t(197)]();n[t(137)](()=>{const n=t,i=this[n(133)](e,r)||this[n(165)](r);this[n(174)](e,i)})}[u(197)](){const e=u,t=this[e(168)][e(201)],n=Array[e(228)](t[e(224)][e(218)](h))[e(175)](t=>t[e(146)]());return t[e(150)](n)}[u(196)]({writer:e,html:t,insertAt:n}){const r=u,{view:i}=this[r(168)][r(151)],o=this[r(168)][r(156)][r(128)](a.ClipboardPipeline),s=new l;s[r(170)](r(158),t);const d=new ClipboardEvent(r(161),{clipboardData:s}),h=new c.ViewDocumentDomEventData(i,d,{dataTransfer:new c.ViewDataTransfer(s)});e[r(181)](n);const f=(t,n)=>{const i=r;n[i(193)]&&e[i(181)](n[i(193)])};o[r(126)](r(183),f,{priority:r(179)}),i[r(134)][r(143)](r(161),h),o[r(147)](r(183),f)}[u(165)](e){const t=u,{model:n}=this[t(168)],r=Array[t(228)](e[t(200)]());return r[t(167)]?n[t(219)](r[t(205)]()):e[t(185)]()}[u(133)](e,t){const n=u,{model:r,plugins:i}=this[n(168)];if(i[n(199)](n(210))){const o=i[n(128)](n(210))[n(173)](t);if(o[n(167)]){const t=this[n(144)](e),i=this[n(223)](o,t);return r[n(188)](i,0)}}return null}[u(144)](e){const t=u,n=this[t(168)][t(156)][t(128)](t(210)),r=this[t(168)][t(121)][t(178)](e),i=Array[t(228)](r[t(215)]())[t(184)](e=>e.is(t(212),t(136)));let o=0;return i[t(206)](e=>{o+=n[t(182)](e)}),o}[u(223)](e,t){const n=u,r=this[n(168)][n(156)][n(128)](n(210)),i=r[n(123)](e),o=r[n(166)](e),s=i[n(208)]+1,a=o[n(209)],c=e[0][n(222)](n(136));for(let e=0;e<t;e++)r[n(187)](c,{at:s});return c[n(214)](s)[n(214)](a)}[u(148)](e,t){const n=u,{plugins:r}=this[n(168)],{model:i}=e;r[n(199)](n(210))&&r[n(128)](n(210))[n(173)](t)[n(167)]&&i[n(220)](t)}}var m=g;function g(e,t){var n=y();return(g=function(e,t){return n[e-=288]})(e,t)}function y(){var e=["49uoirxn","6uSSgks","AIRequestError","isPremiumPlugin","isOfficialPlugin","aiadapter-text-adapter-not-set","20hxgsJr","6672hrwMsy","793DKQHvv","afterInit","2902490tFzRYM","AIAdapter","name","textAdapter","14ocxxCG","16110vaYkwd","23294vjUcfd","52620iPEXeQ","1056902bqdvNV","pluginName","4LFxBhH","3201003tHxYzh"];return(y=function(){return e})()}!function(e){for(var t=g,n=e();;)try{if(414155===-parseInt(t(307))/1*(-parseInt(t(301))/2)+parseInt(t(300))/3*(-parseInt(t(305))/4)+parseInt(t(295))/5*(-parseInt(t(308))/6)+parseInt(t(299))/7*(-parseInt(t(292))/8)+parseInt(t(306))/9+-parseInt(t(291))/10*(parseInt(t(303))/11)+-parseInt(t(302))/12*(-parseInt(t(293))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(y);class w extends e.Plugin{static get[m(304)](){return m(296)}static get[m(289)](){return!0}static get[m(288)](){return!0}[m(294)](){var e=m;if(!this[e(298)])throw new i.CKEditorError(e(290),null)}}class b extends Error{constructor(e){var t=m;super(e),this[t(297)]=t(309)}}function v(e,t,n){const r=e.t;switch(t){case"Edit or review":return r("Edit or review");case"Improve writing":return r("Improve writing");case"Make shorter":return r("Make shorter");case"Make longer":return r("Make longer");case"Simplify language":return r("Simplify language");case"Generate from selection":return r("Generate from selection");case"Summarize":return r("Summarize");case"Continue":return r("Continue");case"Change tone":return r("Change tone");case"Professional":return r("Professional");case"Casual":return r("Casual");case"Direct":return r("Direct");case"Confident":return r("Confident");case"Friendly":return r("Friendly");case"Change style":return r("Change style");case"Business":return r("Business");case"Legal":return r("Legal");case"Journalism":return r("Journalism");case"Poetic":return r("Poetic");case"Translate":return r("Translate");case"English":return r("English");case"Spanish":return r("Spanish");case"German":return r("German");case"Portuguese":return r("Portuguese");case"French":return r("French");case"Simplified Chinese":return r("Simplified Chinese");case"Hindi":return r("Hindi");case"Arabic":return r("Arabic");case"AI Assistant":return r("AI Assistant");case"AI Commands":return r("AI Commands");case"Ask AI to edit or generate":return r("Ask AI to edit or generate");case"Ask AI to improve generated text":return r("Ask AI to improve generated text");case"Copy":return r("Copy");case"Submit":return r("Submit");case"Insert below":return r("Insert below");case"Try again":return r("Try again");case"Stop":return r("Stop");case"AI is writing...":return r("AI is writing...");case"AI is writing":return r("AI is writing");case"Generated content: %0":return r("Generated content: %0",n);case"Error during AI content generation: %0":return r("Error during AI content generation: %0",n);case"History":return r("History");case"Empty history":return r("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return r("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return r("Prompt history");case"Clear":return r("Clear");case"AI_REPLACE_CONTENT":return r({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return r({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return r({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return r({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return r({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},n);case"AI_ERROR_CONTEXT_LENGTH":return r({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return r({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return r({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return t}}const k=S;function S(e,t){const n=A();return(S=function(e,t){return n[e-=144]})(e,t)}!function(e){const t=S,n=e();for(;;)try{if(887678===-parseInt(t(163))/1*(-parseInt(t(174))/2)+-parseInt(t(150))/3+parseInt(t(173))/4*(parseInt(t(164))/5)+-parseInt(t(144))/6+-parseInt(t(145))/7*(parseInt(t(170))/8)+-parseInt(t(172))/9+parseInt(t(171))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class E extends e.Command{[k(147)];constructor(e,t){const n=k;super(e),this[n(147)]=t,this[n(154)](n(177),[]),this.on(n(166),(e,t,r)=>{const i=n;this[i(183)]&&(this[i(177)]=I(this[i(147)],r))}),this[n(154)](n(152),!1),this.on(n(156),(e,t,r)=>{const i=n;this[i(177)]=r?I(this[i(147)],this[i(152)]):[]})}[k(148)](){const e=k,t=this[e(158)][e(165)];this[e(152)]=function(t){const n=e,r=t[n(187)][n(162)];return r[n(167)]?0!==[...r[n(178)]()][n(151)]&&![...r[n(178)]()][0][n(146)]:!!t[n(179)](r[n(182)]())}(t);const n=t[e(187)][e(162)],r=this[e(158)][e(155)][e(161)](e(186));for(const t of n[e(168)]())for(const n of t[e(181)]())if(n.is(e(160))&&r[e(169)](n[e(175)]))return void(this[e(183)]=!1);this[e(183)]=!0}[k(153)](e="",t="",n=k(149)){const r=k;this[r(158)][r(184)][r(161)](Ne)[r(176)](e,t,n)}}function A(){const e=["requiresContent","editor","values","element","get","selection","1TKmSAB","2636915lSSdBf","model","change:_hasContext","isCollapsed","getRanges","includes","8IwjYQX","31976750pgrJLP","13755447wbsrtH","8rkdewn","1445674YLVhpm","name","showUI","enabledCommandsIds","getSelectedBlocks","hasContent","from","getItems","getFirstRange","isEnabled","plugins","add","ai.aiAssistant.disabledElements","document","1928886mqyvXb","4442809nfIahk","isEmpty","_commandDefinitions","refresh","custom","4809147aFpqIi","length","_hasContext","execute","set","config","change:isEnabled"];return(A=function(){return e})()}function I(e,t){const n=k,r=new Set;for(const i of e[n(159)]())(t||!1===i[n(157)])&&r[n(185)](i.id);return Array[n(180)](r)}const _=x;function x(e,t){const n=R();return(x=function(e,t){return n[e-=185]})(e,t)}function R(){const e=["body","set:currentContext","ai.aiAssistant.preserveComments","67616PACRbO","config","initialContext","previousQuery","processor","2214XHIzHv","domConverter","_xmlSerializer","custom","match","createElement","_stripMarkdownSyntax","data","17829PUjvoM","_normalizeResponseHeadings","catch","6200vFkatn","previousActionId","name","value","528FjtznR","querySelector","currentContext","toView","once","abort","innerHTML","finishProcessing","6GVrRVP","view","prompt","get","finally","stopListening","_parseAndNormalizeContent","exec","editing","text/html","startProcessing","_sanitizationContainer","2156cgwWsG","element","toModel","_sanitizeHTML","updateView","previousContext","ELEMENT_NODE","div","makeRequest","startsWith","171844rPbZtT","nodeType","markers","tryAgainEvent","set","isRendered","<h1></h1>","trim","reset","remove","length","reverse","editor","parseFromString","currentResponse","viewToDom","_isH1TagSupportEnabled","serializeToString","```","clear","childNodes","message","htmlProcessor","destroy","push","from","mainAction","endsWith","_domParser","render","isProcessing","1376316FVkbKX","textAdapter","previousLabel","handleError","stopProcessing","```html","submitPrompt","substring","_handleQuery","rename","211918oDQeHa","document","listenTo","setContentOf","then","stringify","1015HufMaW"];return(R=function(){return e})()}!function(e){const t=x,n=e();for(;;)try{if(187012===parseInt(t(186))/1+parseInt(t(227))/2+-parseInt(t(265))/3*(-parseInt(t(237))/4)+-parseInt(t(233))/5*(-parseInt(t(242))/6)+-parseInt(t(250))/7*(parseInt(t(257))/8)+-parseInt(t(217))/9+-parseInt(t(253))/10*(-parseInt(t(277))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);const C=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class P extends((0,i.ObservableMixin)()){[_(198)];[_(218)];[_(266)];[_(276)];[_(214)];[_(244)];constructor(e,t,n){const r=_;super(),this[r(198)]=e,this[r(218)]=t,this[r(276)]=document[r(247)](r(284)),this[r(214)]=new DOMParser,this[r(244)]=new XMLSerializer,this[r(266)]=n,this[r(190)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(r(235),(e,t,n)=>{const i=r;this[i(266)][i(256)]=this[i(280)](n)}),this[r(229)](this[r(266)],r(223),(e,t)=>{const n=r,i=this[n(259)]||this[n(239)];this[n(225)](t,i,n(245))}),this[r(229)](this[r(266)],r(189),()=>{const e=r;this[e(266)][e(267)]=this[e(219)],this[e(225)](this[e(240)],this[e(282)],this[e(254)],this[e(219)])}),this[r(229)](this[r(266)],r(221),()=>{this[r(221)]()})}[_(209)](){this[_(270)]()}async[_(281)]({actionId:e,query:t,htmlContent:n,label:r,mainActionLabel:i}){const o=_;this[o(266)][o(267)]=r,this[o(266)][o(212)]=i,this[o(239)]=n,t&&(this[o(266)][o(191)]?this[o(225)](t,n,e,r):this[o(266)][o(261)](o(215),()=>{this[o(225)](t,n,e,r)}))}[_(221)](){const e=_;this[e(216)]&&(this[e(216)]=!1,this[e(266)][e(264)](),this[e(218)][e(262)]())}[_(194)](){const e=_;this[e(239)]="",this[e(259)]="",this[e(200)]="",this[e(282)]="",this[e(240)]="",this[e(219)]="",this[e(254)]=void 0,this[e(266)][e(194)](),this[e(221)]()}async[_(225)](e,t,n,r){const i=_;return this[i(216)]=!0,this[i(266)][i(275)](),this[i(282)]=t,this[i(240)]=e,this[i(219)]=r||e,this[i(254)]=n,new Promise(r=>{const o=i;this[o(218)][o(285)]({query:e,context:t,onData:e=>{const t=o;this[t(200)]=e,this[t(259)]=this[t(271)](this[t(200)])},actionId:n})[o(231)](()=>{const e=o;!this[e(259)]&&this[e(200)]&&(this[e(259)]=this[e(271)](this[e(200)],!0))})[o(252)](e=>{const t=o;e instanceof b?this[t(266)][t(220)](e[t(207)]):this[t(266)][t(220)](),r()})[o(269)](()=>{this[o(221)](),r()})})}[_(271)](e,t=!1){const n=_,r=C[n(272)](e);e=r?e[n(224)](r[1][n(196)]):e[n(196)]<100&&!t?"":this[n(248)](e);const i=this[n(214)][n(199)](e,n(274));if(r){const e=Array[n(211)](i[n(234)][n(206)]);e[n(197)]();for(const t of e){if(t[n(187)]==Node[n(283)])break;t[n(195)]()}}const o=this[n(198)][n(249)][n(241)][n(260)](this[n(244)][n(203)](i[n(234)]));this[n(202)]()||this[n(251)](o);const s=this[n(198)][n(238)][n(268)](n(236)),a=this[n(198)][n(249)][n(279)](o);return s||a[n(188)][n(205)](),this[n(198)][n(249)][n(232)](a)}[_(251)](e){const t=_,n=new c.ViewUpcastWriter(this[t(198)][t(273)][t(266)][t(228)]),r=new c.Matcher({name:/^h[1-5]$/}),i=[];let o=!1;for(const n of e)n.is(t(278))&&r[t(246)](n)&&(i[t(210)](n),"h1"==n[t(255)]&&(o=!0));if(o)for(const e of i)n[t(226)]("h"+(parseInt(e[t(255)][1])+1),e)}[_(202)](){const e=_,{data:t,editing:n}=this[e(198)],r=t[e(208)][e(260)](e(192)),i=t[e(260)](t[e(279)](r));return!!n[e(266)][e(243)][e(201)](i)[e(258)]("h1")}[_(280)](e){const t=_;return this[t(198)][t(273)][t(266)][t(243)][t(230)](this[t(276)],e),this[t(276)][t(263)]}[_(248)](e){const t=_,n=e[t(193)]();return n[t(185)](t(222))?n[t(213)](t(204))?n[t(224)](7,n[t(196)]-3):n[t(224)](7):e}}function M(e,t){const n=O();return(M=function(e,t){return n[e-=278]})(e,t)}const T=M;function O(){const e=["2720907rmcGGW","replace","6381053lgWMey","extendTemplate","tryAgainButton","Insert below","5busSUs","142xLyLKC","_createButton","toUpperCase","mainAction","addMany","stopButton","_CONTENT","ck-button-action","REPLACE","items","6780juKYDm","insert","ck-ai-form__toolbar","2779920QVbFyH","set","45162vSifxO","AI_","isVisible","ck-hidden","Try again","Stop","replaceButton","locale","bindTemplate","3858220vvZhJE","37432yWjkBY","label","insertButton","bind"];return(O=function(){return e})()}!function(e){const t=M,n=e();for(;;)try{if(512424===-parseInt(t(295))/1+-parseInt(t(306))/2*(parseInt(t(280))/3)+parseInt(t(294))/4+parseInt(t(305))/5*(parseInt(t(285))/6)+-parseInt(t(301))/7+parseInt(t(283))/8+parseInt(t(299))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);const L={REPLACE:T(300),INSERT:T(281)};class $ extends o.ToolbarView{constructor(e){const t=T;super(e),this[t(284)](t(287),!1),this[t(284)](t(309),L[t(278)]),this[t(291)]=this[t(307)]("",t(313)),this[t(291)][t(298)](t(296)).to(this,t(309),n=>v(e,t(286)+n[t(308)]()+t(312))),this[t(297)]=this[t(307)](v(e,t(304))),this[t(303)]=this[t(307)](v(e,t(289))),this[t(311)]=this[t(307)](v(e,t(290)));const n=this[t(293)];this[t(302)]({attributes:{class:[t(282),n.if(t(287),t(288),e=>!e)]}}),this[t(279)][t(310)]([this[t(291)],this[t(297)],this[t(303)],this[t(311)]])}[T(307)](e,t){const n=T,r=new o.ButtonView(this[n(292)]);return r[n(284)]({label:e,class:t||"",isVisible:!0,withText:!0}),r}}const N=U;function D(){const e=["3144UkfCBN","<span>[</span>","bind","isVisible","ck-content","textContent","appendChild","write","_copyHTMLToClipboard","ck-reset_all-excluded","2upZZCC","position","ck-ai-form__copy-button-wrapper","13305ODhbRs","createRange","ck-ai-form__content-field","2470800scQbCh","ck-ai-form__loader","text/html","text/plain","locale","1237869owGptO","Copy","_createCopyButton","clipboard","querySelector","removeAllRanges","isEnabled","setContent","execute","setEndBefore","smooth","createElement","style","addRange","absolute","ck-ai-form__content-area-wrapper","AI is writing...","set","copy","element","contentFieldView","loaderView","527099QSvVUV"," ck-ai-form__copy-button--copied","8118012xTzpJX","change:isProcessing","listenTo","remove","setStartAfter","mousedown","copyButtonView","appendLoader","-9999px","render","72737yNMPLg",".ck-ai-form__loader","scrollTo","scrollHeight","body","value","<span>]</span>","lastElementChild","change:value","1136WpFAYE","ck-ai-form__content-area--processing","bindTemplate","967496juLwHW","ck-ai-form__content-area","getSelection","ck-hidden","11HCgdOV","100zCDxCB","class","left","icon","ck-ai-form__copy-button","_createLoader","wheel","innerHTML","setTemplate","div","execCommand","focus","ClipboardItem","firstElementChild","isProcessing"];return(D=function(){return e})()}function U(e,t){const n=D();return(U=function(e,t){return n[e-=394]})(e,t)}!function(e){const t=U,n=e();for(;;)try{if(812506===-parseInt(t(403))/1*(-parseInt(t(457))/2)+parseInt(t(463))/3+parseInt(t(427))/4+-parseInt(t(460))/5*(-parseInt(t(447))/6)+-parseInt(t(415))/7*(parseInt(t(424))/8)+-parseInt(t(468))/9*(parseInt(t(432))/10)+-parseInt(t(431))/11*(-parseInt(t(405))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class F extends o.View{[N(401)];[N(411)];constructor(e,t=""){const n=N;super(e),this[n(398)]({value:null,isVisible:!1,isProcessing:!1});const r=this[n(426)];this[n(401)]=new B(e,t),this[n(411)]=this[n(470)](),this[n(440)]({tag:n(441),attributes:{class:["ck",n(396),r.if(n(450),n(430),e=>!e)],tabindex:"-1"},children:[{tag:n(441),attributes:{class:["ck",n(428),r.if(n(446),n(425))]},children:[this[n(401)],{tag:n(441),attributes:{class:["ck",n(459)]},children:[this[n(411)]]}]}]})}[N(414)](){const e=N;super[e(414)](),this[e(420)]&&this[e(401)][e(475)](this[e(420)]);let t=!1;this.on(e(423),(n,r,i)=>{const o=e,s=!this[o(401)][o(400)][o(472)](o(416));this[o(401)][o(475)](i),this[o(446)]&&s&&!t&&this[o(400)][o(417)]({top:this[o(400)][o(418)],behavior:o(478)})}),this.on(e(406),(n,r,i)=>{const o=e;t=!1,i?(this[o(420)]=null,this[o(401)][o(412)]()):this[o(420)]||this[o(401)][o(475)]("")}),this[e(407)](this[e(400)],e(438),()=>{t=!0}),this[e(407)](this[e(400)],e(410),()=>{t=!0})}[N(443)](){const e=N;this[e(400)][e(443)]()}[N(470)](){const e=N,n=this[e(467)],r=new o.ButtonView(this[e(467)]),i=e(436);return r[e(398)]({label:v(n,e(469)),icon:t.IconCopy,class:i,tooltip:!0}),r[e(449)](e(450)).to(this,e(420),e=>!!e),r[e(449)](e(474)).to(this,e(446),e=>!e),r.on(e(476),()=>{const n=e;this[n(455)](this[n(401)][n(400)]),r[n(435)]=t.IconCheck,r[n(433)]=i+n(404),this[n(443)](),setTimeout(()=>{const e=n;r[e(435)]=t.IconCopy,r[e(433)]=i},1e3)}),r}[N(455)](e){const t=N,{window:n,document:r}=i.global;if(n[t(444)]){const{Blob:r,ClipboardItem:i}=n,o=[new i({"text/html":new r([e[t(439)]],{type:t(465)}),"text/plain":new r([e[t(452)]||""],{type:t(466)})})];navigator[t(471)][t(454)](o)}else{const i=r[t(479)](t(441));i[t(480)][t(458)]=t(395),i[t(480)][t(434)]=t(413),i[t(439)]=t(448)+e[t(439)]+t(421),r[t(419)][t(453)](i);const o=r[t(461)]();o[t(409)](i[t(445)]),o[t(477)](i[t(422)]);const s=n[t(429)]();s[t(473)](),s[t(394)](o),r[t(442)](t(399)),i[t(408)]()}}}class B extends o.View{constructor(e,t=""){const n=N;super(e),this[n(402)]=this[n(437)](),this[n(440)]({tag:n(441),attributes:{class:["ck",n(451),t,n(456),n(462)]}})}[N(475)](e){const t=N;this[t(400)][t(439)]=e}[N(412)](){const e=N;this[e(400)][e(453)](this[e(402)][e(400)])}[N(437)](){const e=N,t=new o.View,n=this[e(467)],r=new o.SpinnerView;return r[e(450)]=!0,t[e(440)]({tag:e(441),attributes:{class:["ck",e(464)]},children:[r,{text:v(n,e(397))}]}),t[e(414)](),t}}function j(){const e=["18IUZmoL","7089jgeMJY","div","setTemplate","218913qESJjC","text","2363780kwfRrF","content","4937166cZVlgU","338536deMObE","1293184VANNjN","set","bindTemplate","ck-ai-form__error","42UGHWFa","929930OibCWI","170BQwosq"];return(j=function(){return e})()}function H(e,t){const n=j();return(H=function(e,t){return n[e-=301]})(e,t)}!function(e){const t=H,n=e();for(;;)try{if(550491===parseInt(t(310))/1+parseInt(t(305))/2*(-parseInt(t(307))/3)+-parseInt(t(316))/4+-parseInt(t(304))/5+parseInt(t(314))/6+parseInt(t(303))/7*(-parseInt(t(315))/8)+parseInt(t(306))/9*(parseInt(t(312))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j);class q extends o.View{constructor(e,n=""){const r=H;super(e);const i=new o.IconView,s=this[r(301)];this[r(317)](r(311),n),i[r(313)]=t.IconError,this[r(309)]({tag:r(308),attributes:{class:["ck",r(302)]},children:[i,{text:s.to(r(311))}]})}}const V=G;function z(){const e=["_createShowHistoryButton","ck-ai-form__submit","right","30fMmIRB","bind","908782AZqCvl","584owDfCA","width","fieldView","focusLast","focusFirst","isOn","89495AkKhNd","21714319XBKQqo","submit","92396LRSEQu","maxRows","locale","filteredView","407532chBaao","update","target","element","set","value","render","204uNyWJu","fire","uiLanguageDirection","excludeScrollbarsAndBorders","minRows","focusCycler","isEmpty","10KKSUCL","35804jPLNgQ","fieldWrapperChildren","focus","queryView","left","style","add","submitButtonView","focusableChildren","12XsGGfr","execute","requestAnimationFrame","showHistoryButtonView","isEnabled","ck-ai-form__toggle-history","keystrokes","isVisible","enter","window","_createSubmitButton","History","resultsView","children","rtl","Submit","8673975ohoZbh"];return(z=function(){return e})()}function G(e,t){const n=z();return(G=function(e,t){return n[e-=169]})(e,t)}!function(e){const t=G,n=e();for(;;)try{if(613190===parseInt(t(220))/1+parseInt(t(189))/2*(parseInt(t(181))/3)+parseInt(t(170))/4+parseInt(t(218))/5*(parseInt(t(174))/6)+parseInt(t(227))/7*(-parseInt(t(221))/8)+-parseInt(t(214))/9*(-parseInt(t(188))/10)+-parseInt(t(228))/11*(parseInt(t(198))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(z);class W extends o.AutocompleteView{[V(196)];[V(201)];constructor(e,t){const n=V;super(e,t),this[n(192)][n(223)][n(185)]=1,this[n(192)][n(223)][n(171)]=3,this[n(196)]=this[n(208)](),this[n(201)]=this[n(215)](),this[n(197)][n(195)](this[n(201)],1),this[n(197)][n(195)](this[n(196)])}[V(180)](){const e=V;super[e(180)](),this[e(192)][e(190)][e(195)](this[e(201)]),this[e(211)][e(195)](this[e(196)]),this[e(204)][e(178)](e(206),(t,n)=>{const r=e;t[r(176)]==this[r(192)][r(223)][r(177)]&&(this[r(169)](),n())})}[V(208)](){const e=V,n=new o.ButtonView(this[e(172)]),r=this[e(172)];return n[e(178)]({icon:t.IconSubmit,label:v(r,e(213)),isVisible:!0,tooltip:!0,class:e(216)}),n.on(e(199),()=>{this[e(169)]()}),n[e(219)](e(202)).to(this[e(192)][e(223)],e(187),this,e(202),(e,t)=>!e&&t),n}[V(215)](){const e=V,n=new o.ButtonView(this[e(172)]),r=this[e(210)],s=this[e(172)];n[e(178)]({label:v(s,e(209)),withText:!1,icon:t.IconHistory,tooltip:!0,tooltipPosition:"sw",class:e(203)}),n[e(219)](e(226)).to(r,e(205)),n[e(219)](e(202)).to(this,e(202)),n.on(e(199),()=>{const t=e;r[t(205)]=!r[t(205)],r[t(205)]?this[t(173)][t(191)]():this[t(191)]()});const a=()=>{const t=e;i.global[t(207)][t(200)](()=>{const e=t;if((0,i.isVisible)(this[e(177)])){const t=new i.Rect(this[e(192)][e(223)][e(177)]),r=t[e(222)],o=e(212)===s[e(183)]?e(193):e(217);t[e(184)](),n[e(177)][e(194)][o]=r-t[e(222)]+1+"px"}})};return this[e(192)][e(223)].on(e(175),a),this.on(e(180),a),n}[V(169)](){const e=V,t=this[e(192)][e(223)][e(177)][e(179)];this[e(182)](e(169),t)}[V(191)](e){const t=V;-1===e?this[t(186)][t(224)]():this[t(186)][t(225)]()}}function K(e,t){const n=Y();return(K=function(e,t){return n[e-=183]})(e,t)}const Q=K;function Y(){const e=["label","length","execute","1739265aNXXMv","Prompt history","add","set","865090MqEUHo","_createClearHistoryButton","clearHistoryButton","children","Clear","filter","clearHistory","fire","items","historyGroupView","1vPcRJF","132VwOXeI","locale","2708892weYSHd","153184GXYjRJ","4874751bncRiI","2042660pocSKp","delegate","36535vYRXiV","459tLelQM"];return(Y=function(){return e})()}!function(e){const t=K,n=e();for(;;)try{if(500766===-parseInt(t(183))/1*(parseInt(t(200))/2)+parseInt(t(196))/3+parseInt(t(186))/4+-parseInt(t(191))/5*(-parseInt(t(184))/6)+parseInt(t(188))/7+-parseInt(t(187))/8*(parseInt(t(192))/9)+-parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Y);class J extends o.ListView{[Q(209)];[Q(202)];constructor(e){const t=Q;super(e),this[t(202)]=this[t(201)](),this[t(209)]=new o.ListItemGroupView,this[t(209)][t(203)][t(198)](this[t(202)],1),this[t(209)][t(193)]=v(e,t(197)),this[t(209)][t(208)][t(190)](t(195)).to(this),this[t(208)][t(198)](this[t(209)])}[Q(205)](){const e=Q;let t=0;for(const n of this[e(208)])t+=n[e(208)][e(194)];return{resultsCount:t,totalItemsCount:t}}[Q(201)](){const e=Q,t=this[e(185)],n=new o.ButtonView(this[e(185)]);return n[e(199)]({label:"("+v(t,e(204))+")",withText:!0}),n.on(e(195),()=>this[e(207)](e(206))),n}}const X={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};function Z(e){if(null==e)return"";if("string"==typeof e)return e;if(Array.isArray(e))return e.map(Z).join(",");const t=String(e);return"0"===t&&Object.is(Number(e),-0)?"-0":t}function ee(e){return function(e){return e.replace(/&(?:amp|lt|gt|quot|#(0+)?39);/g,e=>X[e]||"'")}(Z(e))}function te(){const e=["prompt","add","4rStcxu","children","524808sjydOb","21853DdbYny","locale","91DQttdF","18XftIpz","set","execute","16004616HnLHUL","1860EfUvfU","120vyQmHR","2916765ElVrWC","2268483BSzeLB","fire","2736630ygbFWq","83138ZmAlLk"];return(te=function(){return e})()}function ne(e,t){const n=te();return(ne=function(e,t){return n[e-=445]})(e,t)}!function(e){const t=ne,n=e();for(;;)try{if(823605===parseInt(t(459))/1*(-parseInt(t(448))/2)+-parseInt(t(450))/3*(parseInt(t(456))/4)+-parseInt(t(452))/5*(-parseInt(t(462))/6)+parseInt(t(461))/7*(parseInt(t(458))/8)+parseInt(t(449))/9+parseInt(t(447))/10*(parseInt(t(453))/11)+-parseInt(t(446))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(te);class re extends o.ListItemView{constructor(e){const t=ne;super();const n=new o.ButtonLabelView,r=new o.ButtonView(this[t(460)],n);this[t(457)][t(455)](r),r[t(463)]({label:e[t(454)],withText:!0}),r.on(t(445),()=>{const n=t;this[n(451)](n(445),{value:ee(e[n(454)])})})}}const ie=oe;function oe(e,t){const n=ae();return(oe=function(e,t){return n[e-=478]})(e,t)}!function(e){const t=oe,n=e();for(;;)try{if(476788===-parseInt(t(484))/1*(-parseInt(t(504))/2)+-parseInt(t(491))/3*(-parseInt(t(502))/4)+parseInt(t(501))/5*(-parseInt(t(479))/6)+parseInt(t(494))/7+parseInt(t(495))/8*(parseInt(t(498))/9)+-parseInt(t(503))/10*(parseInt(t(485))/11)+parseInt(t(500))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ae);const se=ie(481);function ae(){const e=["1442676vwLNrq","5erPhXM","3128UYBuOG","2420pGeGLq","699162ReTEWY","parse","_saveToSessionStorage","3045846oRqhnT","trim","CKEditor/AIFormView/PromptHistory","setItem","remove","1hseQPc","35552HjmLCy","add","toLowerCase","getItem","addMany","prompt","2529FTrqbX","length","last","1188103vcwlgn","1247504VilymW","map","_loadFromSessionStorage","27EPmXIw","stringify"];return(ae=function(){return e})()}class ce extends i.Collection{constructor(){const e=ie;super(),this[e(497)](),this.on(e(486),(t,n)=>{const r=e,i=ue(n[r(490)]);for(const e of this)if(e!=n&&ue(e[r(490)])===i){this[r(483)](e);break}this[r(492)]>20&&this[r(483)](this[r(493)]),this[r(478)]()}),this.on(e(483),()=>{this[e(478)]()})}[ie(497)](){const e=ie,t=sessionStorage[e(488)](se)||"[]";this[e(489)](JSON[e(505)](t))}[ie(478)](){const e=ie;sessionStorage[e(482)](se,JSON[e(499)](this[e(496)](e=>e)))}}function ue(e){const t=ie;return e[t(487)]()[t(480)]()}const de={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function le(e){return Z(e).replace(/[&<>"']/g,e=>de[e])}const he=fe;function fe(e,t){const n=pe();return(fe=function(e,t){return n[e-=119]})(e,t)}function pe(){const e=["set","search","isVisible","execute","696534afQfrb","locale","_focusables","clearHistory","prompt","focusFirst","div","render","mainAction","ck-hidden","replaceContent","queryView","558000atlpzD","_createToolbar","fire","tryAgainButton","focus","add","promptView","insertContentBelow","stopButton","Ask AI to improve generated text","startProcessing","9bTjilH","bindTemplate","delegate","2135852vNWnEK","Ask AI and your prompts will be listed here for you to use later.","keystrokes","isEnabled","_createHistoryView","toolbar","_promptHistory","REPLACE","finishProcessing","historyGroupView","value","ck-ai-form","focusCycler","stopProcessing","chain","Empty history","replaceButton","bindTo","contentArea","tab","handleError","Ask AI to edit or generate","isError","listenTo","290ZmgoeE","2745240VxhUpp","high","trim","fieldView","focusLast","errorView","clear","text","submit","shift + tab","bind","ck-ai-form-content","focusTracker","28mIQFjK","insertButton","submitPrompt","label","isProcessing","reset","1966tZntfQ","705750rfQvSR","417WdEjTZ","AI_ERROR_FAILED","copyButtonView","createCollection","505670Gstyzs","setTemplate","tryAgainEvent","element","_createPromptView","items"];return(pe=function(){return e})()}!function(e){const t=fe,n=e();for(;;)try{if(288557===parseInt(t(141))/1+parseInt(t(199))/2*(-parseInt(t(201))/3)+parseInt(t(155))/4+-parseInt(t(200))/5+-parseInt(t(129))/6*(-parseInt(t(193))/7)+-parseInt(t(180))/8*(-parseInt(t(152))/9)+-parseInt(t(179))/10*(parseInt(t(119))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(pe);class me extends o.View{[he(192)];[he(157)];[he(173)];[he(160)];[he(147)];[he(185)];[he(131)];[he(167)];[he(161)];constructor(e,t,n=""){const r=he;super(e),this[r(125)](r(158),!0),this[r(125)](r(197),!1),this[r(125)](r(133),""),this[r(125)](r(165),""),this[r(125)](r(177),!1),this[r(125)](r(137),L[r(162)]),this[r(161)]=new ce,this[r(185)]=new q(e),this[r(173)]=new F(e,n),this[r(173)][r(190)](r(197)).to(this),this[r(173)][r(190)](r(165)).to(this),this[r(160)]=this[r(142)](),this[r(160)][r(190)](r(137)).to(this),this[r(147)]=this[r(123)](),this[r(192)]=new i.FocusTracker,this[r(157)]=new i.KeystrokeHandler,this[r(131)]=this[r(204)]([this[r(173)],this[r(173)][r(203)],this[r(160)],this[r(147)]]),this[r(167)]=new o.FocusCycler({focusables:this[r(131)],focusTracker:this[r(192)],keystrokeHandler:this[r(157)],actions:{focusPrevious:r(189),focusNext:r(174)}}),this[r(167)][r(169)](this[r(147)][r(167)]),this[r(147)][r(140)][r(183)][r(190)](r(165)).to(this,r(133));const s=this[r(153)];this[r(120)]({tag:r(135),attributes:{class:["ck",r(166),t],tabindex:"-1"},children:[{tag:r(135),attributes:{class:["ck",r(191)]},children:[{tag:r(135),attributes:{class:[s.if(r(177),r(138),e=>!e)]},children:[this[r(185)]]},this[r(173)],this[r(160)],this[r(147)]]}]})}[he(136)](){const e=he;super[e(136)](),this[e(192)][e(146)](this[e(173)][e(122)]),this[e(192)][e(146)](this[e(173)][e(203)][e(122)]),this[e(192)][e(146)](this[e(160)][e(122)]),this[e(192)][e(146)](this[e(147)][e(122)]),this[e(157)][e(178)](this[e(122)])}[he(145)](e=1){const t=he;-1===e?this[t(167)][t(184)]():this[t(167)][t(134)]()}[he(198)](){const e=he;this[e(133)]="",this[e(165)]="",this[e(177)]=!1,this[e(147)][e(198)](),this[e(173)][e(127)]=!1,this[e(160)][e(127)]=!1}[he(123)](){const e=he,t=this[e(130)],n=new W(t,{queryView:{label:v(t,e(176)),creator:o.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:v(t,e(170)),secondary:v(t,e(156))}}},filteredView:this[e(159)](),queryMinChars:1/0,resetOnBlur:!1});return n[e(190)](e(158)).to(this,e(158),this,e(197),(e,t)=>e&&!t),this[e(178)](n,e(188),(t,n)=>{const r=e;this[r(133)]=n;const i=le(n);this[r(143)](r(195),i),n[r(182)]()&&this[r(161)][r(146)]({prompt:i},0)},{priority:e(181)}),n}[he(159)](){const e=he,t=new J(this[e(130)]);return t[e(164)][e(124)][e(172)](this[e(161)]).as(re),t.on(e(132),()=>{const t=e;this[t(161)][t(186)](),this[t(147)][t(126)](""),this[t(147)][t(145)]()}),t}[he(142)](){const e=he,t=new $(this[e(130)]);return t[e(171)][e(190)](e(158)).to(this,e(158),this,e(197),this,e(165),(e,t,n)=>e&&!t&&!!n),t[e(171)][e(154)](e(128)).to(this,e(139)),t[e(194)][e(190)](e(158)).to(this,e(158),this,e(197),this,e(165),(e,t,n)=>e&&!t&&!!n),t[e(194)][e(154)](e(128)).to(this,e(148)),t[e(144)][e(190)](e(158)).to(this,e(158),this,e(197),(e,t)=>e&&!t),t[e(144)][e(154)](e(128)).to(this,e(121)),t[e(149)][e(190)](e(158)).to(this,e(197)),t[e(149)][e(154)](e(128)).to(this,e(168)),t}[he(151)](){const e=he;this[e(165)]="",this[e(177)]=!1,this[e(197)]=!0,this[e(173)][e(127)]=!0,this[e(160)][e(127)]=!0,this[e(173)][e(145)]()}[he(163)](){const e=he,t=this[e(130)];this[e(197)]=!1,this[e(133)]="",this[e(147)][e(198)](),this[e(165)]&&(this[e(147)][e(140)][e(196)]=v(t,e(150)))}[he(175)](e){const t=he,n=this[t(130)];this[t(163)](),this[t(177)]=!0,this[t(185)][t(187)]=e||v(n,t(202)),this[t(165)]||(this[t(173)][t(127)]=!1)}}var ge=n(6),ye=n.n(ge),we=n(602),be=n.n(we),ve=n(557),ke=n.n(ve),Se=n(302),Ee=n.n(Se),Ae=n(290),Ie=n.n(Ae),_e=n(117),xe={attributes:{"data-cke":!0}};xe.setAttributes=Ee(),xe.insert=ke().bind(null,"head"),xe.domAPI=be(),xe.insertStyleElement=Ie();ye()(_e.A,xe);_e.A&&_e.A.locals&&_e.A.locals;var Re=n(431),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ee(),Ce.insert=ke().bind(null,"head"),Ce.domAPI=be(),Ce.insertStyleElement=Ie();ye()(Re.A,Ce);Re.A&&Re.A.locals&&Re.A.locals;var Pe=n(582),Me={attributes:{"data-cke":!0}};Me.setAttributes=Ee(),Me.insert=ke().bind(null,"head"),Me.domAPI=be(),Me.insertStyleElement=Ie();ye()(Pe.A,Me);Pe.A&&Pe.A.locals&&Pe.A.locals;const Te=$e;function Oe(){const e=["map","showFakeVisualSelection","errorView","EDITOR_TOP_SIDE","bind","execute","focus","updateView","AIAssistantUI","<p>","_commandDefinitions","media","order","isPremiumPlugin","hideUI","showAIAssistant","get","replaceContent","model","values","reset","getLimitElement","locale","menuitemcheckbox","editing","view","isCollapsed","REPLACE","menuView","change","ck-ai-assistant-ui","isOfficialPlugin","polite","forEach","render","rawHtml","ck-ai-assistant-button ","editor","listenTo","show","_licenseKeyCheckInterval","items","fieldView","includes","36QyxoMW","fire","replace","trim","aiLicenseKeyValid","Error during AI content generation: %0","82545BkEnqA","aiAssistant","label","usageLimit","buttons","queryView","text","set","ai-commands-config-order-collision","evaluationLimit","sort","_formView","488960goZtHq","ai.aiAssistant.disabledElements","text/html","groupId","isFlat","aiCommands","children","967988akxQTD","change:enabledCommandsIds","aiLicenseKeyUsageLimit","panelView","groupLabel","_initView","setSelection","INSERT","aiLicenseKeyExpired","menuBar:aiAssistant","delegate","DataTransfer","addMany","getSelectedBlocks","splice","licenseKey","document","custom","textAdapter","buttonView","requiresContent","aiLicenseKeyNotAllowed","_onExecute","change:isError","insertContent","1429764ClTAoN","9BQzBoK","_forceMarkersCopy","hide","currentContext","_showLicenseError","Generated content: %0","_getMenuBarGroupButtons","update","wasMoved","_aiAssistantController","featureNotAllowed","isEnabled","filter","announce","_createAIAssistantUIButton","selection","getData","plugins","from","aiLicenseKeyEvaluationLimit","15327IOPwTb","enabledCommandsIds","aiLicenseKeyInvalid","requires"," ck-ai-assistant-ui_theme","expired","contentArea","destroy","push","commands","promptView","change:value","menuBar:aiCommands","aiLicenseKeyDomainLimit","once","source","command:","</p>","_getResolvedCommandsDefinitions","AI is writing","config","insertContentBelow","ai.aiAssistant.contentAreaCssClass","showUI","copy","getRanges","AIAssistant","updatePosition","tableOfContents","invalid","_initAriaAiStatusChangeAnnouncements","trialLimit","getSelectedElement","aiLicenseKeyTrialLimit","define","isOn","add","_populateMenuBarMenu","length","_aiAdapter","change:isProcessing","_uiCssClasses","menuPanelClass","AI Assistant","body","136bmCaLC","ck-ai-commands-dropdown ","_dialog","prompt","comment","componentFactory","1877fSWCQW","pluginName","init","ai.aiAssistant.commands","domainLimit","schema","ai.useTheme","hideFakeVisualSelection","AI Commands","3202350hGZHym"];return(Oe=function(){return e})()}!function(e){const t=$e,n=e();for(;;)try{if(202017===-parseInt(t(503))/1*(parseInt(t(497))/2)+-parseInt(t(452))/3*(parseInt(t(381))/4)+parseInt(t(387))/5+parseInt(t(431))/6+-parseInt(t(406))/7+-parseInt(t(399))/8+parseInt(t(432))/9*(parseInt(t(512))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Oe);const Le=globalThis[Te(417)];function $e(e,t){const n=Oe();return($e=function(e,t){return n[e-=358]})(e,t)}class Ne extends e.Plugin{[Te(421)];[Te(377)];[Te(499)];[Te(398)];[Te(491)];[Te(441)];[Te(493)]="";static get[Te(504)](){return Te(521)}static get[Te(368)](){return!0}static get[Te(526)](){return!0}static get[Te(455)](){return[a.ClipboardMarkersUtils,p,w,o.Dialog]}constructor(e){const t=Te;super(e),e[t(472)][t(486)](t(400),[t(524),t(372),t(480)]),e[t(472)][t(486)](t(474),""),e[t(472)][t(486)](t(509),!0),this[t(493)]=t(367)+(e[t(472)][t(529)](t(509))?t(456):"")}[Te(505)](){const e=Te,{editor:n}=this;this[e(491)]=n[e(449)][e(529)](w),this[e(499)]=n[e(449)][e(529)](o.Dialog),this[e(398)]=null,this[e(523)]=this[e(470)]();const r=new E(n,Array[e(450)](this[e(523)][e(532)]()));n[e(461)][e(488)](e(528),r),n.ui[e(502)][e(488)](e(404),i=>{const a=e,c=(0,o.createDropdown)(i);return c[a(394)]({class:a(498)+this[a(493)]}),c[a(425)][a(394)]({label:v(i,a(511)),icon:t.IconMagicWand,tooltip:!0}),c.on(a(518),e=>this[a(428)](e[a(467)].id)),(0,o.addMenuToDropdown)(c,n.ui[a(362)][a(496)],function(e){const t=a,n=s(e[t(472)][t(529)](t(506)),e[t(359)]),r=Ue(e,n)[t(444)](e=>e[t(461)][t(490)]);return 1===r[t(490)]?Ue(e,r[0][t(461)])[t(513)](e=>({id:e.id,label:e[t(389)]})):r[t(513)](n=>{const r=t,{groupId:i,groupLabel:o,commands:s}=n;return{id:i,menu:o||i,children:Ue(e,s)[r(513)](e=>({id:e.id,label:e[r(389)]}))}})}(n),{ariaLabel:v(i,a(511))}),c[a(365)][a(494)]=a(498)+this[a(493)],r.on(a(407),u),c[a(365)][a(466)](a(371),u),c;function u(){const e=a;c[e(443)]=r[e(453)][e(490)]>0;for(const t of c[e(365)][e(391)])t[e(443)]=r[e(453)][e(380)](t.id)}}),n.ui[e(502)][e(488)](e(464),i=>{const a=e,c=new o.MenuBarMenuView(i);c[a(425)][a(394)]({label:v(i,a(511)),icon:t.IconMagicWand}),c[a(517)](a(443)).to(r,a(453),e=>e[a(490)]>0);const u=s(n[a(472)][a(529)](a(506)),i);return this[a(489)](r,c,u,e=>this[a(428)](e)),c}),n.ui[e(502)][e(488)](e(388),()=>{const t=e,n=this[t(446)](o.ButtonView);return n[t(394)]({tooltip:!0,class:t(373)+this[t(493)]}),n}),n.ui[e(502)][e(488)](e(415),()=>{const t=e,n=this[t(446)](o.MenuBarMenuListItemButtonView);return n[t(394)]({role:t(360)}),n}),this[e(421)]=this[e(374)][e(472)][e(529)](e(421));const i=this[e(374)];this[e(377)]=setInterval(()=>{const t=e;let n;for(const e in i){const r=e,o=i[r];if(t(385)==o||t(454)==o||t(414)==o||t(465)==o||t(427)==o||t(451)==o||t(485)==o||t(408)==o){delete i[r],n=o,clearInterval(this[t(377)]),this[t(377)]=void 0;break}}t(454)==n&&i[t(436)](t(481)),t(414)==n&&i[t(436)](t(457)),t(465)==n&&i[t(436)](t(507)),t(427)==n&&i[t(436)](t(442),t(478)),t(451)==n&&i[t(436)](t(396)),t(485)==n&&i[t(436)](t(483)),t(408)==n&&i[t(436)](t(390))},1e3)}[Te(459)](){const e=Te;super[e(459)](),this[e(377)]&&clearInterval(this[e(377)])}[Te(475)](e="",n="",r=Te(423)){const i=Te,s=this[i(374)],u=s[i(361)][i(362)],d=s[i(449)][i(529)](p),l=s[i(449)][i(529)](a.ClipboardMarkersUtils);d[i(514)]();const h=new Le,f=new ClipboardEvent(i(476),{clipboardData:h}),m=new c.ViewDataTransfer(h),g=new c.ViewDocumentDomEventData(u,f,{dataTransfer:m});l[i(433)](i(501),()=>{const e=i;u[e(422)][e(382)](e(476),g)}),this[i(398)]||(this[i(411)](),this[i(441)]=new P(s,this[i(491)][i(424)],this[i(398)]));let y=m[i(448)](i(401));const w=s[i(531)][i(422)][i(447)],b=Array[i(450)](w[i(477)]());1===b[i(490)]&&b[0][i(403)]&&!w[i(484)]()&&""!==y[i(383)](/&nbsp;/g,"")[i(384)]()&&(y=i(522)+y+i(469)),this[i(441)][i(520)]({actionId:r,query:e,htmlContent:y,label:n,mainActionLabel:L[s[i(531)][i(422)][i(447)][i(363)]?i(413):i(364)]}),i(388)!==this[i(499)].id?this[i(499)][i(376)]({id:i(388),icon:t.IconRobotPencil,title:v(this[i(374)][i(359)],i(495)),content:this[i(398)],position:o.DialogViewPosition[i(516)],onShow:()=>{const e=i;this[e(398)][e(519)]()},onHide:()=>{const e=i;this[e(441)][e(533)](),d[e(510)]()}}):this[i(499)][i(362)][i(440)]||this[i(499)][i(362)][i(479)]()}[Te(527)](){const e=Te;this[e(499)][e(434)]()}[Te(470)](){const e=Te,t=new Map,n=s(this[e(374)][e(472)][e(529)](e(506)),this[e(374)][e(359)]);for(const r of n)for(const n of r[e(461)])t[e(394)](n.id,{...n,groupId:r[e(402)],groupLabel:r[e(410)]||r[e(402)]});return t}[Te(446)](e){const n=Te,r=this[n(374)],i=r[n(461)][n(529)](n(528)),o=new e(r[n(359)]);return o[n(394)]({label:v(r[n(359)],n(495)),icon:t.IconRobotPencil,isToggleable:!0}),o[n(517)](n(443)).to(i),o[n(517)](n(487)).to(this[n(499)],"id",e=>n(388)===e),this[n(375)](o,n(518),()=>{const e=n;o[e(487)]?this[e(527)]():i[e(518)]()}),o}[Te(411)](){const e=Te,t=this[e(374)][e(449)][e(529)](p);this[e(398)]=new me(this[e(374)][e(359)],this[e(493)],this[e(374)][e(472)][e(529)](e(474))),this[e(398)].on(e(463),()=>{const t=e;this[t(499)][t(362)][t(440)]||this[t(499)][t(362)][t(479)]()}),this[e(398)][e(462)][e(392)][e(379)].on(e(439),()=>{const t=e;this[t(499)][t(362)][t(440)]||this[t(499)][t(362)][t(479)]()}),this[e(375)](this[e(398)],e(530),()=>{const n=e;t[n(430)](this[n(441)][n(435)]),this[n(527)]()}),this[e(375)](this[e(398)],e(473),()=>{const n=e;t[n(473)](this[n(441)][n(435)]),this[n(527)]()}),this[e(482)]()}[Te(482)](){const e=Te,{locale:t,ui:{ariaLiveAnnouncer:n}}=this[e(374)];this[e(398)][e(458)].on(e(492),(r,i,o)=>{const s=e,a=this[s(441)][s(435)];o?n[s(445)](v(t,s(471))):a&&n[s(445)](v(t,s(437),a),{politeness:s(369),isUnsafeHTML:!0})}),this[e(398)].on(e(429),(r,i,o)=>{const s=e;if(o){const e=this[s(398)][s(515)][s(393)];n[s(445)](v(t,s(386),e))}})}[Te(428)](e){const t=Te,n=this[t(523)][t(529)](e),r=this[t(374)],o=r[t(531)][t(422)][t(447)],s=r[t(461)][t(529)](t(528)),a=r[t(449)][t(529)](p),c=("_ungrouppedCommands"!==n[t(402)]?n[t(410)]+": ":"")+n[t(389)];if(!1!==n[t(426)]&&o[t(363)]){const e=(0,i.first)(o[t(419)]())||r[t(531)][t(508)][t(358)](o);r[t(531)][t(366)](n=>{n[t(412)](e,"in")})}a[t(514)](),s[t(518)](n[t(500)],c,t(468)+e)}[Te(489)](e,t,n,r){const i=Te,s=this[i(374)],a=s[i(359)],c=new o.MenuBarMenuListView(a),u=Ue(s,n)[i(444)](e=>e[i(461)][i(490)]);1===u[i(490)]?this[i(438)]({command:e,commands:u[0][i(461)],parentMenuView:t,onExecute:r})[i(370)](e=>c[i(378)][i(488)](e)):u[i(370)](({groupId:n,groupLabel:s,commands:u})=>{const d=i,l=new o.MenuBarMenuListItemView(a,t),h=new o.MenuBarMenuView(a),f=new o.MenuBarMenuListView(a),p=this[d(438)]({command:e,commands:u,parentMenuView:h,onExecute:r});h[d(425)][d(394)]({label:s||n}),h[d(416)](d(518)).to(t),f[d(378)][d(418)](p),h[d(409)][d(405)][d(488)](f),l[d(405)][d(488)](h),c[d(378)][d(488)](l)}),t[i(409)][i(405)][i(488)](c)}[Te(438)]({command:e,commands:t,parentMenuView:n,onExecute:r}){const i=Te,s=this[i(374)],a=s[i(359)];return Ue(s,t)[i(513)](t=>{const s=i,c=new o.MenuBarMenuListItemView(a,n),u=new o.MenuBarMenuListItemButtonView(a);return u[s(394)]({label:t[s(389)]}),u[s(416)](s(518)).to(n),u.on(s(518),()=>r(t.id)),u[s(517)](s(443)).to(e,s(453),e=>e[s(380)](t.id)),c[s(405)][s(488)](u),c})}}function De(e,t){const n=Te;return void 0!==e[n(525)]&&void 0===t[n(525)]?1:void 0===e[n(525)]&&void 0!==t[n(525)]?-1:void 0!==e[n(525)]&&void 0!==t[n(525)]?e[n(525)]-t[n(525)]:0}function Ue(e,t){const n=Te;t[n(397)](De);const r={},o=[];for(const s of t)if(void 0!==s[n(525)]){if(s[n(525)]in r)throw new i.CKEditorError(n(395),e,{conflictingDefinitions:[s,r[s[n(525)]]]});r[s[n(525)]]=s,o[n(420)](s[n(525)],0,s)}else o[n(460)](s);return o}const Fe=Be;function Be(e,t){const n=je();return(Be=function(e,t){return n[e-=385]})(e,t)}function je(){const e=["Casual","locale","Change style","ai.aiAssistant.commands","forEach","translateChinese","improveWriting","Improve using friendly, comforting language, to convey understanding and empathy.","groupId","Improve using direct language, using only the essential information.","Continue","generate","business","changeTone","2873220ImNyiY","Translate the content to Arabic language.","push","German","friendly","Rewrite this content as a business professional with formal language.","translate","Simplify language","Legal","Friendly","simplifyLanguage","makeLonger","casual","Rewrite this content as a legal professional using valid legal terminology.","get","Translate the content to German language.","French","5773570jodmaI","Summarize","English","Improve using polished, formal, and respectful language to convey professional expertise and competence.","Improve using compelling, optimistic language to convey confidence in the writing.","Make shorter","Translate the content to Portuguese language.","requires","isOfficialPlugin","14987qCbmrP","AIAssistant","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","Spanish","changeStyle","Poetic","summarize","18lYYnZQ","Confident","Improve this content by using descriptive language and inserting more information and more detailed explanations.","ai.aiAssistant.removeCommands","professional","Change tone","Improve using casual, informal language to convey a casual conversation with a real person.","direct","ai.aiAssistant.extraCommandGroups","commands","translateArabic","confident","config","1518128HpYhcf","Translate","translateEnglish","Translate the content to Hindi language.","Rewrite this content as a journalist using engaging language to convey the importance of the information.","continue","poetic","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","Direct","Improve writing","Simplified Chinese","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","pluginName","translateFrench","makeShorter","isPremiumPlugin","journalism","Translate the content to French language.","translateSpanish","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","Professional","define","filter","Arabic","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","6897072QqAnnj","13560HUDQcj","3388329uJAktV","find","Translate the content to English language.","Hindi","Make longer","set","translatePortuguese","Edit or review","4gtgpfk","Generate from selection","Journalism","editOrReview","translateGerman","ai.aiAssistant.preserveComments","legal","concat","includes","5TKDFhD","Translate the content to Spanish language.","Business","Portuguese","translateHindi","Translate the content to Simplified Chinese language.","Rewrite this content as a poem using poetic techniques without losing the original meaning."];return(je=function(){return e})()}!function(e){const t=Be,n=e();for(;;)try{if(545630===parseInt(t(407))/1*(parseInt(t(462))/2)+-parseInt(t(414))/3*(-parseInt(t(453))/4)+-parseInt(t(471))/5*(parseInt(t(492))/6)+parseInt(t(452))/7+parseInt(t(427))/8+parseInt(t(454))/9+-parseInt(t(398))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(je);class He extends e.Plugin{static get[Fe(405)](){return[Ne,p]}static get[Fe(439)](){return Fe(408)}static get[Fe(406)](){return!0}static get[Fe(442)](){return!0}constructor(e){const t=Fe;super(e);const n=e[t(426)],r=e[t(479)];n[t(448)](t(467),!0),n[t(448)](t(481),qe(r)),n[t(448)](t(422),[]),n[t(448)](t(417),[]);let i=s(n[t(395)](t(481)),r);const o=n[t(395)](t(422)),a=n[t(395)](t(417));o[t(482)](e=>{const n=t,r=i[n(455)](t=>t[n(486)]===e[n(486)]);r?r[n(423)]=r[n(423)][n(469)](e[n(423)]):i[n(494)](e)}),i=i[t(449)](e=>!a[t(470)](e[t(486)])),i[t(482)](e=>{const n=t;e[n(423)]=e[n(423)][n(449)](e=>!a[n(470)](e.id))}),n[t(459)](t(481),i)}}function qe(e){const t=Fe;return[{groupId:t(465),groupLabel:v(e,t(461)),commands:[{id:t(484),label:v(e,t(436)),prompt:t(434)},{id:t(441),label:v(e,t(403)),prompt:t(446)},{id:t(392),label:v(e,t(458)),prompt:t(416)},{id:t(391),label:v(e,t(388)),prompt:t(438)}]},{groupId:t(489),groupLabel:v(e,t(463)),commands:[{id:t(413),label:v(e,t(399)),prompt:t(409)},{id:t(432),label:v(e,t(488)),prompt:t(451)}]},{groupId:t(491),groupLabel:v(e,t(419)),commands:[{id:t(418),label:v(e,t(447)),prompt:t(401)},{id:t(393),label:v(e,t(478)),prompt:t(420)},{id:t(421),label:v(e,t(435)),prompt:t(487)},{id:t(425),label:v(e,t(415)),prompt:t(402)},{id:t(385),label:v(e,t(390)),prompt:t(485)}]},{groupId:t(411),groupLabel:v(e,t(480)),commands:[{id:t(490),label:v(e,t(473)),prompt:t(386)},{id:t(468),label:v(e,t(389)),prompt:t(394)},{id:t(443),label:v(e,t(464)),prompt:t(431)},{id:t(433),label:v(e,t(412)),prompt:t(477)}]},{groupId:t(387),groupLabel:v(e,t(428)),commands:[{id:t(429),label:v(e,t(400)),prompt:t(456)},{id:t(445),label:v(e,t(410)),prompt:t(472)},{id:t(460),label:v(e,t(474)),prompt:t(404)},{id:t(466),label:v(e,t(495)),prompt:t(396)},{id:t(440),label:v(e,t(397)),prompt:t(444)},{id:t(483),label:v(e,t(437)),prompt:t(476)},{id:t(475),label:v(e,t(457)),prompt:t(430)},{id:t(424),label:v(e,t(450)),prompt:t(493)}]}]}const Ve=ze;function ze(e,t){const n=We();return(ze=function(e,t){return n[e-=258]})(e,t)}!function(e){const t=ze,n=e();for(;;)try{if(622191===parseInt(t(259))/1*(parseInt(t(289))/2)+-parseInt(t(280))/3+-parseInt(t(267))/4+parseInt(t(269))/5+-parseInt(t(287))/6*(-parseInt(t(270))/7)+-parseInt(t(284))/8+parseInt(t(261))/9*(-parseInt(t(283))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(We);class Ge extends e.Plugin{[Ve(272)];static get[Ve(273)](){return[w]}constructor(e){const t=Ve;super(e),this[t(272)]=new AbortController}[Ve(263)](){const e=Ve;this[e(275)][e(266)][e(282)](w)[e(293)]=this}[Ve(274)](){const e=Ve;this[e(272)][e(271)][e(268)]||(this[e(272)][e(274)](),this[e(272)]=new AbortController)}async[Ve(260)](e){const t=Ve;return this[t(291)](e)[t(278)](e=>{const n=t;if(e instanceof b)return Promise[n(281)](e);if(n(294)==e[n(258)])return Promise[n(262)]();throw console[n(285)](e),new i.CKEditorError(n(265),null)})}async[Ve(286)](e,t){const n=Ve,r=this[n(275)][n(276)],i={"Content-Type":n(264)};if(n(288)==typeof e)Object[n(277)](i,e);else if(e)try{const r=await e(t);Object[n(277)](i,r)}catch{return Promise[n(281)](new b(v(r,n(292))))}return i}async[Ve(279)](e,t){const n=Ve,r=this[n(275)][n(276)];if(n(288)==typeof e)return e;try{return await e(t)}catch{return Promise[n(281)](new b(v(r,n(290))))}}}function We(){const e=["catch","_prepareRequestParameters","3578679uEUvIC","reject","get","3300130jJfrjz","6486696ITTsHg","error","_prepareRequestHeaders","1758UYcUXW","object","6GnbvAi","AI_ERROR_GET_PARAMETERS","sendRequest","AI_ERROR_GET_HEADERS","textAdapter","AbortError","name","396917pKvJVP","makeRequest","9Vaxldb","resolve","init","application/json","aitextadapter-send-request-failed","plugins","471104OBKDML","aborted","4152515sABveF","25144eiVajX","signal","abortController","requires","abort","editor","locale","assign"];return(We=function(){return e})()}const Ke=Qe;function Qe(e,t){const n=Ye();return(Qe=function(e,t){return n[e-=322]})(e,t)}function Ye(){const e=["77nByOrH","\nYou must keep the text formatting.\n\nContent:\n","editor","44964ySZjKA","OpenAITextAdapter","_cleanUpData","sendRequest","272688RdgrCX","choices","delta","join","Instruction:\n","prepareMessages","replace","decode","json","length","system","parse","1aiULQp","get","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","body","gpt-4o","7sJOiwx","_isBufferIncomplete","ai.openAI.requestHeaders","stringify","message","ai.openAI.requestParameters","data: ","915216THWixa","_requestHeaders","AI_ERROR_MODERATION","filter","AI_ERROR_CONTEXT_LENGTH","includes","context_length_exceeded","https://api.openai.com/v1/chat/completions","resolve","8nXxPwd","_apiUrl","ai.openAI.apiUrl","_requestParameters","signal","define","_readStreamableResponse","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","map","_prepareRequestParameters","Moderation","reject","text","[DONE]","POST","split","getReader","_readStaticResponse","content","_prepareRequestHeaders","read","user","349730okWCNC","1161650KZMFkx","locale","pluginName","config","409332tYVyYm","abortController","457338muPTPW","stream"];return(Ye=function(){return e})()}!function(e){const t=Qe,n=e();for(;;)try{if(167218===-parseInt(t(389))/1*(parseInt(t(377))/2)+parseInt(t(366))/3+-parseInt(t(330))/4+parseInt(t(362))/5+-parseInt(t(368))/6*(parseInt(t(323))/7)+parseInt(t(339))/8*(-parseInt(t(373))/9)+parseInt(t(361))/10*(parseInt(t(370))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Ye);class Je extends Ge{[Ke(340)];[Ke(331)];[Ke(342)];static get[Ke(364)](){return Ke(374)}constructor(e){const t=Ke;super(e),e[t(365)][t(344)](t(341),t(337)),e[t(365)][t(390)](t(328))||e[t(365)][t(344)](t(328),{model:t(322),temperature:1,top_p:1,stream:!0}),this[t(340)]=e[t(365)][t(390)](t(341)),this[t(331)]=e[t(365)][t(390)](t(325))||{},this[t(342)]=e[t(365)][t(390)](t(328))}async[Ke(376)]({query:e,context:t,onData:n,actionId:r}){const i=Ke,o=this[i(372)][i(363)],s=await this[i(382)](e,t,r),a=await this[i(358)](this[i(331)],r),c=await this[i(348)](this[i(342)],r),u={messages:s,...c},d={method:i(353),headers:a,body:JSON[i(326)](u),signal:this[i(367)][i(343)]},l=await fetch(this[i(340)],d);if(l.ok)return c[i(369)]?await this[i(345)](l,n):await this[i(356)](l,n),Promise[i(338)]();{const e=await l[i(351)]();return e[i(335)](i(336))?Promise[i(350)](new b(v(o,i(334)))):e[i(335)](i(349))?Promise[i(350)](new b(v(o,i(332)))):Promise[i(350)](new Error(e))}}async[Ke(382)](e,t,n){const r=Ke;let i,o;return t?(i=r(391),o=r(381)+e+r(371)+t):(i=r(346),o=e),[{role:r(387),content:i},{role:r(360),content:o}]}async[Ke(345)](e,t){const n=Ke,r=e[n(392)][n(355)](),i=new TextDecoder;let o="",s="",a="",c=!1;for(;!c;){const{done:e,value:u}=await r[n(359)](),d=o+i[n(384)](u);let l="";c=e;try{l=this[n(375)](d),o=""}catch{o=d;continue}s+=l,!c&&this[n(324)](s)||s&&(a+=s,s="",t(a))}return Promise[n(338)]()}async[Ke(356)](e,t){const n=Ke;return t((await e[n(385)]())[n(378)][0][n(327)][n(357)]),Promise[n(338)]()}[Ke(324)](e){const t=Ke,n=e[t(354)]("<")[t(386)]!==e[t(354)](">")[t(386)],r=e[t(386)]<30;return n&&r}[Ke(375)](e){const t=Ke;return e[t(354)](/\n(?![^{]*\})/g)[t(347)](e=>e[t(383)](t(329),""))[t(333)](e=>e&&e[t(386)]>0&&t(352)!==e)[t(347)](e=>{const n=t,{choices:r}=JSON[n(388)](e);if(r[0]?.[n(379)]?.[n(357)])return r[0][n(379)][n(357)]})[t(333)](e=>e)[t(380)]("")}}var Xe,Ze,et,tt;!function(e){e.HEADER="header",e.QUERY="query"}(Xe||(Xe={})),function(e){e.HEADER="header",e.QUERY="query"}(Ze||(Ze={})),function(e){e.HTTP="http",e.HTTPS="https"}(et||(et={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(tt||(tt={}));var nt;!function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(nt||(nt={}));const rt="__smithy_context";var it,ot;!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(it||(it={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(ot||(ot={}));class st{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new st({...e,headers:{...e.headers}});var n;return t.query&&(t.query=(n=t.query,Object.keys(n).reduce((e,t)=>{const r=n[t];return{...e,[t]:Array.isArray(r)?[...r]:r}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return st.clone(this)}}class at{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const ct={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},ut=e=>({applyToStack:t=>{t.add((e=>t=>async n=>{if(!st.isInstance(n.request))return t(n);const{request:r}=n,{handlerProtocol:i=""}=e.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]=r.hostname+(r.port?":"+r.port:"");else if(!r.headers.host){let e=r.hostname;null!=r.port&&(e+=`:${r.port}`),r.headers.host=e}return t(n)})(e),ct)}}),dt={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},lt="X-Amzn-Trace-Id",ht={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},ft=e=>({applyToStack:t=>{t.add((e=>t=>async n=>{const{request:r}=n;if(!st.isInstance(r)||"node"!==e.runtime)return t(n);const i=Object.keys(r.headers??{}).find(e=>e.toLowerCase()===lt.toLowerCase())??lt;if(r.headers.hasOwnProperty(i))return t(n);const o=process.env.AWS_LAMBDA_FUNCTION_NAME,s=process.env._X_AMZN_TRACE_ID,a=e=>"string"==typeof e&&e.length>0;return a(o)&&a(s)&&(r.headers[lt]=s),t({...n,request:r})})(e),ht)}}),pt=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t};const mt=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),gt=e=>mt.test(e)||e.startsWith("[")&&e.endsWith("]"),yt=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),wt=(e,t=!1)=>{if(!t)return yt.test(e);const n=e.split(".");for(const e of n)if(!wt(e))return!1;return!0},bt={},vt="endpoints";function kt(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${kt(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(kt).join(", ")})`:JSON.stringify(e,null,2)}class St extends Error{constructor(e){super(e),this.name="EndpointError"}}const Et=(e,t)=>(e=>{const t=e.split("."),n=[];for(const r of t){const t=r.indexOf("[");if(-1!==t){if(r.indexOf("]")!==r.length-1)throw new St(`Path: '${e}' does not end with ']'`);const i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new St(`Invalid array index: '${i}' in path: '${e}'`);0!==t&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n})(t).reduce((n,r)=>{if("object"!=typeof n)throw new St(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(n)?n[parseInt(r)]:n[r]},e),At={[et.HTTP]:80,[et.HTTPS]:443},It={booleanEquals:(e,t)=>e===t,getAttr:Et,isSet:e=>null!=e,isValidHostLabel:wt,not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:n,protocol:r="",path:i="",query:o={}}=e,s=new URL(`${r}//${t}${n?`:${n}`:""}${i}`);return s.search=Object.entries(o).map(([e,t])=>`${e}=${t}`).join("&"),s}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const n=t.href,{host:r,hostname:i,pathname:o,protocol:s,search:a}=t;if(a)return null;const c=s.slice(0,-1);if(!Object.values(et).includes(c))return null;const u=gt(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${At[c]}`)||"string"==typeof e&&e.includes(`${r}:${At[c]}`)?`:${At[c]}`:""}`,path:o,normalizedPath:o.endsWith("/")?o:`${o}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>t>=n||e.length<n?null:r?e.substring(e.length-n,e.length-t):e.substring(t,n),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},_t=(e,t)=>{const n=[],r={...t.endpointParams,...t.referenceRecord};let i=0;for(;i<e.length;){const t=e.indexOf("{",i);if(-1===t){n.push(e.slice(i));break}n.push(e.slice(i,t));const o=e.indexOf("}",t);if(-1===o){n.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[o+1]&&(n.push(e.slice(t+1,o)),i=o+2);const s=e.substring(t+1,o);if(s.includes("#")){const[e,t]=s.split("#");n.push(Et(r[e],t))}else n.push(r[s]);i=o+1}return n.join("")},xt=(e,t,n)=>{if("string"==typeof e)return _t(e,n);if(e.fn)return Rt(e,n);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,n);throw new St(`'${t}': ${String(e)} is not a string, function or reference.`)},Rt=({fn:e,argv:t},n)=>{const r=t.map(e=>["boolean","number"].includes(typeof e)?e:xt(e,"arg",n)),i=e.split(".");return i[0]in bt&&null!=i[1]?bt[i[0]][i[1]](...r):It[e](...r)},Ct=({assign:e,...t},n)=>{if(e&&e in n.referenceRecord)throw new St(`'${e}' is already defined in Reference Record.`);const r=Rt(t,n);return n.logger?.debug?.(`${vt} evaluateCondition: ${kt(t)} = ${kt(r)}`),{result:""===r||!!r,...null!=e&&{toAssign:{name:e,value:r}}}},Pt=(e=[],t)=>{const n={};for(const r of e){const{result:e,toAssign:i}=Ct(r,{...t,referenceRecord:{...t.referenceRecord,...n}});if(!e)return{result:e};i&&(n[i.name]=i.value,t.logger?.debug?.(`${vt} assign: ${i.name} := ${kt(i.value)}`))}return{result:!0,referenceRecord:n}},Mt=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r.map(e=>{const r=xt(e,"Header value entry",t);if("string"!=typeof r)throw new St(`Header '${n}' value '${r}' is not a string`);return r})}),{}),Tt=(e,t)=>{if(Array.isArray(e))return e.map(e=>Tt(e,t));switch(typeof e){case"string":return _t(e,t);case"object":if(null===e)throw new St(`Unexpected endpoint property: ${e}`);return Ot(e,t);case"boolean":return e;default:throw new St("Unexpected endpoint property type: "+typeof e)}},Ot=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:Tt(r,t)}),{}),Lt=(e,t)=>{const n=xt(e,"Endpoint URL",t);if("string"==typeof n)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new St("Endpoint URL must be a string, got "+typeof n)},$t=(e,t)=>{const{conditions:n,endpoint:r}=e,{result:i,referenceRecord:o}=Pt(n,t);if(!i)return;const s={...t,referenceRecord:{...t.referenceRecord,...o}},{url:a,properties:c,headers:u}=r;return t.logger?.debug?.(`${vt} Resolving endpoint from template: ${kt(r)}`),{...null!=u&&{headers:Mt(u,s)},...null!=c&&{properties:Ot(c,s)},url:Lt(a,s)}},Nt=(e,t)=>{const{conditions:n,error:r}=e,{result:i,referenceRecord:o}=Pt(n,t);if(i)throw new St(xt(r,"Error",{...t,referenceRecord:{...t.referenceRecord,...o}}))},Dt=(e,t)=>{const{conditions:n,rules:r}=e,{result:i,referenceRecord:o}=Pt(n,t);if(i)return Ut(r,{...t,referenceRecord:{...t.referenceRecord,...o}})},Ut=(e,t)=>{for(const n of e)if("endpoint"===n.type){const e=$t(n,t);if(e)return e}else if("error"===n.type)Nt(n,t);else{if("tree"!==n.type)throw new St(`Unknown endpoint rule: ${n}`);{const e=Dt(n,t);if(e)return e}}throw new St("Rules evaluation failed")},Ft=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!Ft(t))return!1;return!0}return!!wt(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!gt(e)))};let Bt=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"AWS ISOE (Europe) global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"AWS ISOF global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"amazonaws.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"EU (Germany)"}}}],"version":"1.1"}'),jt="";const Ht={isVirtualHostableS3Bucket:Ft,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[n,r,i,o,s,...a]=t;if("arn"!==n||""===r||""===i||""===a.join(":"))return null;return{partition:r,service:i,region:o,accountId:s,resourceId:a.map(e=>e.split("/")).flat()}},partition:e=>{const{partitions:t}=Bt;for(const n of t){const{regions:t,outputs:r}=n;for(const[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(const n of t){const{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}const n=t.find(e=>"aws"===e.id);if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};function qt(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}bt.aws=Ht;const Vt=/\d{12}\.ddb/;const zt="user-agent",Gt="x-amz-user-agent",Wt=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Kt=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;const Qt=e=>(t,n)=>async r=>{const{request:i}=r;if(!st.isInstance(i))return t(r);const{headers:o}=i,s=n?.userAgent?.map(Yt)||[],a=(await e.defaultUserAgentProvider()).map(Yt);await async function(e,t,n){const r=n.request;if("rpc-v2-cbor"===r?.headers?.["smithy-protocol"]&&qt(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){const n=await t.retryStrategy();"function"==typeof n.acquireInitialRetryToken?n.constructor?.name?.includes("Adaptive")?qt(e,"RETRY_MODE_ADAPTIVE","F"):qt(e,"RETRY_MODE_STANDARD","E"):qt(e,"RETRY_MODE_LEGACY","D")}if("function"==typeof t.accountIdEndpointMode){const n=e.endpointV2;switch(String(n?.url?.hostname).match(Vt)&&qt(e,"ACCOUNT_ID_ENDPOINT","O"),await(t.accountIdEndpointMode?.())){case"disabled":qt(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":qt(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":qt(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}const i=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source){const t=i;t.accountId&&qt(e,"RESOLVED_ACCOUNT_ID","T");for(const[n,r]of Object.entries(t.$source??{}))qt(e,n,r)}}(n,e,r);const c=n;a.push(`m/${function(e){let t="";for(const n in e){const r=e[n];if(!(t.length+r.length+1<=1024))break;t.length?t+=","+r:t+=r}return t}(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const u=e?.customUserAgent?.map(Yt)||[],d=await e.userAgentAppId();d&&a.push(Yt([`app/${d}`]));const l=(jt?[jt]:[]).concat([...a,...s,...u]).join(" "),h=[...a.filter(e=>e.startsWith("aws-sdk-")),...u].join(" ");return"browser"!==e.runtime?(h&&(o[Gt]=o[Gt]?`${o[zt]} ${h}`:h),o[zt]=l):o[Gt]=l,t({...r,request:i})},Yt=e=>{const t=e[0].split("/").map(e=>e.replace(Wt,"-")).join("/"),n=e[1]?.replace(Kt,"-"),r=t.indexOf("/"),i=t.substring(0,r);let o=t.substring(r+1);return"api"===i&&(o=o.toLowerCase()),[i,o,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},Jt={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var Xt;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(Xt||(Xt={}));const Zt=e=>e[rt]||(e[rt]={}),en=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},tn=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),nn=e=>tn(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;const rn=(e,t)=>(n,r)=>async i=>{const o=((e,t)=>{if(!t||0===t.length)return e;const n=[];for(const r of t)for(const t of e)t.schemeId.split("#")[1]===r&&n.push(t);for(const t of e)n.find(({schemeId:e})=>e===t.schemeId)||n.push(t);return n})(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,r,i.input)),e.authSchemePreference?await e.authSchemePreference():[]),s=function(e){const t=new Map;for(const n of e)t.set(n.schemeId,n);return t}(e.httpAuthSchemes),a=Zt(r),c=[];for(const n of o){const i=s.get(n.schemeId);if(!i){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const o=i.identityProvider(await t.identityProviderConfigProvider(e));if(!o){c.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:u={},signingProperties:d={}}=n.propertiesExtractor?.(e,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},u),n.signingProperties=Object.assign(n.signingProperties||{},d),a.selectedHttpAuthScheme={httpAuthOption:n,identity:await o(n.identityProperties),signer:i.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return n(i)},on={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class sn{constructor(e){this.authSchemes=new Map;for(const[t,n]of Object.entries(e))void 0!==n&&this.authSchemes.set(t,n)}getIdentityProvider(e){return this.authSchemes.get(e)}}const an=e=>e=>{throw e},cn=(e,t)=>{},un={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},dn=e=>({applyToStack:e=>{e.addRelativeTo((e,t)=>async n=>{if(!st.isInstance(n.request))return e(n);const r=Zt(t).selectedHttpAuthScheme;if(!r)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:i={}},identity:o,signer:s}=r,a=await e({...n,request:await s.sign(n.request,o,i)}).catch((s.errorHandler||an)(i));return(s.successHandler||cn)(a.response,i),a},un)}}),ln="content-length";const hn={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},fn=e=>({applyToStack:t=>{var n;t.add((n=e.bodyLengthChecker,e=>async t=>{const r=t.request;if(st.isInstance(r)){const{body:e,headers:t}=r;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(ln))try{const t=n(e);r.headers={...r.headers,[ln]:String(t)}}catch(e){}}return e({...t,request:r})}),hn)}});const pn=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,mn=/(\d+\.){3}\d+/,gn=/\.\./,yn=e=>pn.test(e)&&!mn.test(e)&&!gn.test(e),wn=e=>{const[t,n,r,,,i]=e.split(":"),o="arn"===t&&e.split(":").length>=6,s=Boolean(o&&n&&r&&i);if(o&&!s)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return s},bn=(e,t,n)=>{const r=async()=>{const r=n[e]??n[t];return"function"==typeof r?r():r};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof n.credentials?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof n.credentials?await n.credentials():n.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===n.isCustomEndpoint)return;const e=await r();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:n,port:r,path:i}=e;return`${t}//${n}${r?":"+r:""}${i}`}}return e}:r},vn=async e=>{};const kn=e=>{if("string"==typeof e)return kn(new URL(e));const{hostname:t,pathname:n,port:r,protocol:i,search:o}=e;let s;return o&&(s=function(e){const t={};if(e=e.replace(/^\?/,""))for(const n of e.split("&")){let[e,r=null]=n.split("=");e=decodeURIComponent(e),r&&(r=decodeURIComponent(r)),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}(o)),{hostname:t,port:r?parseInt(r):void 0,protocol:i,path:n,query:s}},Sn=e=>"object"==typeof e?"url"in e?kn(e.url):e:kn(e),En=async(e,t,n)=>{const r={},i=t?.getEndpointParameterInstructions?.()||{};for(const[t,o]of Object.entries(i))switch(o.type){case"staticContextParams":r[t]=o.value;break;case"contextParams":r[t]=e[o.name];break;case"clientContextParams":case"builtInParams":r[t]=await bn(o.name,t,n)();break;case"operationContextParams":r[t]=o.get(e);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(o))}return 0===Object.keys(i).length&&Object.assign(r,n),"s3"===String(n.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),wn(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!yn(t)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(r),r},An=({config:e,instructions:t})=>(n,r)=>async i=>{e.isCustomEndpoint&&function(e,t,n){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features[t]=n}(r,"ENDPOINT_OVERRIDE","N");const o=await(async(e,t,n,r)=>{if(!n.isCustomEndpoint){let e;e=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await vn(n.serviceId),e&&(n.endpoint=()=>Promise.resolve(Sn(e)),n.isCustomEndpoint=!0)}const i=await En(e,t,n);if("function"!=typeof n.endpointProvider)throw new Error("config.endpointProvider is not set.");return n.endpointProvider(i,r)})(i.input,{getEndpointParameterInstructions:()=>t},{...e},r);r.endpointV2=o,r.authSchemes=o.properties?.authSchemes;const s=r.authSchemes?.[0];if(s){r.signing_region=s.signingRegion,r.signing_service=s.signingName;const e=Zt(r),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:s.signingRegion,signingRegion:s.signingRegion,signing_service:s.signingName,signingName:s.signingName,signingRegionSet:s.signingRegionSet},s.properties))}return n({...i})},In=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],_n={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},xn={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Rn(e,t,n){return{applyToStack:r=>{r.add(((e,t)=>(n,r)=>async i=>{const{response:o}=await n(i);try{return{response:o,output:await t(o,e)}}catch(e){if(Object.defineProperty(e,"$response",{value:o}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){r.logger&&"NoOpLogger"!==r.logger?.constructor?.name?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(at.isInstance(o)){const{headers:t={}}=o,n=Object.entries(t);e.$metadata={httpStatusCode:o.statusCode,requestId:In(/^x-[\w-]+-request-?id$/,n),extendedRequestId:In(/^x-[\w-]+-id-2$/,n),cfId:In(/^x-[\w-]+-cf-id$/,n)}}}catch(e){}}throw e}})(e,n),_n),r.add(((e,t)=>(n,r)=>async i=>{const o=e,s=r.endpointV2?.url&&o.urlParser?async()=>o.urlParser(r.endpointV2.url):o.endpoint;if(!s)throw new Error("No valid endpoint provider available.");const a=await t(i.input,{...e,endpoint:s});return n({...i,request:a})})(e,t),xn)}}}const Cn={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:xn.name},Pn=(e,t)=>({applyToStack:n=>{n.addRelativeTo(An({config:e,instructions:t}),Cn)}});var Mn;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(Mn||(Mn={}));const Tn=Mn.STANDARD,On=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],Ln=["TimeoutError","RequestTimeout","RequestTimeoutException"],$n=[500,502,503,504],Nn=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Dn=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],Un=e=>429===e.$metadata?.httpStatusCode||On.includes(e.name)||1==e.$retryable?.throttling,Fn=(e,t=0)=>(e=>e.$metadata?.clockSkewCorrected)(e)||Ln.includes(e.name)||Nn.includes(e?.code||"")||Dn.includes(e?.code||"")||$n.includes(e.$metadata?.httpStatusCode||0)||(e=>{const t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)})(e)||void 0!==e.cause&&t<=10&&Fn(e.cause,t+1);class Bn{constructor(e){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>Bn.setTimeoutFn(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),Un(e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const n=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(n)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}Bn.setTimeoutFn=setTimeout;const jn=100,Hn=2e4,qn="amz-sdk-invocation-id",Vn="amz-sdk-request",zn=({retryDelay:e,retryCount:t,retryCost:n})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(Hn,e),getRetryCost:()=>n});class Gn{constructor(e){this.maxAttempts=e,this.mode=Mn.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let e=jn;return{computeNextBackoffDelay:t=>Math.floor(Math.min(Hn,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return zn({retryDelay:jn,retryCount:0})}async refreshRetryTokenForRetry(e,t){const n=await this.getMaxAttempts();if(this.shouldRetry(e,t,n)){const n=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===n?500:jn);const r=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),i=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,r):r,o=this.getCapacityCost(n);return this.capacity-=o,zn({retryDelay:i,retryCount:e.getRetryCount()+1,retryCost:o})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,n){return e.getRetryCount()+1<n&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class Wn{constructor(e,t){this.maxAttemptsProvider=e,this.mode=Mn.ADAPTIVE;const{rateLimiter:n}=t??{};this.rateLimiter=n??new Bn,this.standardRetryStrategy=new Gn(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}const Kn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Qn;const Yn=new Uint8Array(16);function Jn(){if(!Qn&&(Qn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qn(Yn)}const Xn=[];for(let e=0;e<256;++e)Xn.push((e+256).toString(16).slice(1));function Zn(e,t=0){return Xn[e[t+0]]+Xn[e[t+1]]+Xn[e[t+2]]+Xn[e[t+3]]+"-"+Xn[e[t+4]]+Xn[e[t+5]]+"-"+Xn[e[t+6]]+Xn[e[t+7]]+"-"+Xn[e[t+8]]+Xn[e[t+9]]+"-"+Xn[e[t+10]]+Xn[e[t+11]]+Xn[e[t+12]]+Xn[e[t+13]]+Xn[e[t+14]]+Xn[e[t+15]]}const er=function(e,t,n){if(Kn.randomUUID&&!t&&!e)return Kn.randomUUID();const r=(e=e||{}).random||(e.rng||Jn)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return Zn(r)},tr=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);const nr=(e,t)=>{const n=[];if(e&&n.push(e),t)for(const e of t)n.push(e);return n},rr=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,ir=()=>{let e=[],t=[],n=!1;const r=new Set,i=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(a.identifyOnResolve()),n),o=e=>{const t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...o(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...o(e))}),t},s=(n=!1)=>{const r=[],i=[],s={};e.forEach(e=>{const t={...e,before:[],after:[]};for(const e of nr(t.name,t.aliases))s[e]=t;r.push(t)}),t.forEach(e=>{const t={...e,before:[],after:[]};for(const e of nr(t.name,t.aliases))s[e]=t;i.push(t)}),i.forEach(e=>{if(e.toMiddleware){const t=s[e.toMiddleware];if(void 0===t){if(n)return;throw new Error(`${e.toMiddleware} is not found when adding ${rr(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}});const a=(c=r,c.sort((e,t)=>or[t.step]-or[e.step]||sr[t.priority||"normal"]-sr[e.priority||"normal"])).map(o).reduce((e,t)=>(e.push(...t),e),[]);var c;return a},a={add:(t,n={})=>{const{name:i,override:o,aliases:s}=n,a={step:"initialize",priority:"normal",middleware:t,...n},c=nr(i,s);if(c.length>0){if(c.some(e=>r.has(e))){if(!o)throw new Error(`Duplicate middleware name '${rr(i,s)}'`);for(const t of c){const n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===n)continue;const r=e[n];if(r.step!==a.step||a.priority!==r.priority)throw new Error(`"${rr(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${rr(i,s)}" middleware with ${a.priority} priority in ${a.step} step.`);e.splice(n,1)}}for(const e of c)r.add(e)}e.push(a)},addRelativeTo:(e,n)=>{const{name:i,override:o,aliases:s}=n,a={middleware:e,...n},c=nr(i,s);if(c.length>0){if(c.some(e=>r.has(e))){if(!o)throw new Error(`Duplicate middleware name '${rr(i,s)}'`);for(const e of c){const n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===n)continue;const r=t[n];if(r.toMiddleware!==a.toMiddleware||r.relation!==a.relation)throw new Error(`"${rr(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${rr(i,s)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);t.splice(n,1)}}for(const e of c)r.add(e)}t.push(a)},clone:()=>i(ir()),use:e=>{e.applyToStack(a)},remove:n=>"string"==typeof n?(n=>{let i=!1;const o=e=>{const t=nr(e.name,e.aliases);if(t.includes(n)){i=!0;for(const e of t)r.delete(e);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n):(n=>{let i=!1;const o=e=>{if(e.middleware===n){i=!0;for(const t of nr(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n),removeByTag:n=>{let i=!1;const o=e=>{const{tags:t,name:o,aliases:s}=e;if(t&&t.includes(n)){const e=nr(o,s);for(const t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(o),t=t.filter(o),i},concat:e=>{const t=i(ir());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:i,identify:()=>s(!0).map(e=>{const t=e.step??e.relation+" "+e.toMiddleware;return rr(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(n=e),n),resolve:(e,t)=>{for(const n of s().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(a.identify()),e}};return a},or={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},sr={high:3,normal:2,low:1};class ar{constructor(e){this.config=e,this.middlewareStack=ir()}send(e,t,n){const r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n;let o;if(void 0===r&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!i)return o(e).then(e=>e.output);o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const cr={},ur=new Array(64);for(let e=0,t="A".charCodeAt(0),n="Z".charCodeAt(0);e+t<=n;e++){const n=String.fromCharCode(e+t);cr[n]=e,ur[e]=n}for(let e=0,t="a".charCodeAt(0),n="z".charCodeAt(0);e+t<=n;e++){const n=String.fromCharCode(e+t),r=e+26;cr[n]=r,ur[r]=n}for(let e=0;e<10;e++){cr[e.toString(10)]=e+52;const t=e.toString(10),n=e+52;cr[t]=n,ur[n]=t}cr["+"]=62,ur[62]="+",cr["/"]=63,ur[63]="/";const dr=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const n=new ArrayBuffer(t),r=new DataView(n);for(let t=0;t<e.length;t+=4){let n=0,i=0;for(let r=t,o=t+3;r<=o;r++)if("="!==e[r]){if(!(e[r]in cr))throw new TypeError(`Invalid character ${e[r]} in base64 string.`);n|=cr[e[r]]<<6*(o-r),i+=6}else n>>=6;const o=t/4*3;n>>=i%8;const s=Math.floor(i/8);for(let e=0;e<s;e++){const t=8*(s-e-1);r.setUint8(o+e,(n&255<<t)>>t)}}return new Uint8Array(n)},lr=e=>(new TextEncoder).encode(e);function hr(e){let t;t="string"==typeof e?lr(e):e;const n="object"==typeof t&&"number"==typeof t.length,r="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!n&&!r)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let n=0,r=0;for(let i=e,o=Math.min(e+3,t.length);i<o;i++)n|=t[i]<<8*(o-i-1),r+=8;const o=Math.ceil(r/6);n<<=6*o-r;for(let e=1;e<=o;e++){const t=6*(o-e);i+=ur[(n&63<<t)>>t]}i+="==".slice(0,4-o)}return i}const fr=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)};class pr extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return function(e,t){return"base64"===t?pr.mutate(dr(e)):pr.mutate(lr(e))}(e,t);throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,pr.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?hr(e):fr(e)}(this,e)}}"function"==typeof ReadableStream&&ReadableStream;const mr=e=>encodeURIComponent(e).replace(/[!'()*]/g,gr),gr=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function yr(e,t){return new Request(e,t)}function wr(e=0){return new Promise((t,n)=>{e&&setTimeout(()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",n(t)},e)})}const br={supported:void 0};class vr{static create(e){return"function"==typeof e?.handle?e:new vr(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===br.supported&&(br.supported=Boolean("undefined"!=typeof Request&&"keepalive"in yr("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:n}={}){this.config||(this.config=await this.configProvider);const r=n??this.config.requestTimeout,i=!0===this.config.keepAlive,o=this.config.credentials;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let s=e.path;const a=function(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=mr(n),Array.isArray(r))for(let e=0,i=r.length;e<i;e++)t.push(`${n}=${mr(r[e])}`);else{let e=n;(r||"string"==typeof r)&&(e+=`=${mr(r)}`),t.push(e)}}return t.join("&")}(e.query||{});a&&(s+=`?${a}`),e.fragment&&(s+=`#${e.fragment}`);let c="";if(null!=e.username||null!=e.password){c=`${e.username??""}:${e.password??""}@`}const{port:u,method:d}=e,l=`${e.protocol}//${c}${e.hostname}${u?`:${u}`:""}${s}`,h="GET"===d||"HEAD"===d?void 0:e.body,f={body:h,headers:new Headers(e.headers),method:d,credentials:o};this.config?.cache&&(f.cache=this.config.cache),h&&(f.duplex="half"),"undefined"!=typeof AbortController&&(f.signal=t),br.supported&&(f.keepalive=i),"function"==typeof this.config.requestInit&&Object.assign(f,this.config.requestInit(e));let p=()=>{};const m=yr(l,f),g=[fetch(m).then(e=>{const t=e.headers,n={};for(const e of t.entries())n[e[0]]=e[1];return null!=e.body?{response:new at({headers:n,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new at({headers:n,reason:e.statusText,statusCode:e.status,body:t})}))}),wr(r)];return t&&g.push(new Promise((e,n)=>{const r=()=>{const e=new Error("Request aborted");e.name="AbortError",n(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",r,{once:!0}),p=()=>e.removeEventListener("abort",r)}else t.onabort=r})),Promise.race(g).finally(p)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[e]=t,n))}httpHandlerConfigs(){return this.config??{}}}const kr=async e=>"function"==typeof Blob&&e instanceof Blob||"Blob"===e.constructor?.name?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):async function(e){const t=await function(e){return new Promise((t,n)=>{const r=new FileReader;r.onloadend=()=>{if(2!==r.readyState)return n(new Error("Reader aborted too early"));const e=r.result??"",i=e.indexOf(","),o=i>-1?i+1:e.length;t(e.substring(o))},r.onabort=()=>n(new Error("Read aborted")),r.onerror=()=>n(r.error),r.readAsDataURL(e)})}(e),n=dr(t);return new Uint8Array(n)}(e):async function(e){const t=[],n=e.getReader();let r=!1,i=0;for(;!r;){const{done:e,value:o}=await n.read();o&&(t.push(o),i+=o.length),r=e}const o=new Uint8Array(i);let s=0;for(const e of t)o.set(e,s),s+=e.length;return o}(e);const Sr={},Er={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),Sr[e]=t,Er[t]=e}function Ar(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(!(r in Er))throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`);t[n/2]=Er[r]}return t}function Ir(e){let t="";for(let n=0;n<e.byteLength;n++)t+=Sr[e[n]];return t}const _r=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return pr.mutate(e);if(!e)return pr.mutate(new Uint8Array);const n=t.streamCollector(e);return pr.mutate(await n)};class xr{constructor(){this.middlewareStack=ir()}static classBuilder(){return new Rr}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:u,CommandCtor:d}){for(const i of r.bind(this)(d,e,t,n))this.middlewareStack.use(i);const l=e.concat(this.middlewareStack),{logger:h}=t,f={logger:h,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[rt]:{commandInstance:this,...c},...u},{requestHandler:p}=t;return l.resolve(e=>p.handle(e.request,n||{}),f)}}class Rr{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){const e=this;let t;return t=class extends xr{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}const Cr="***SensitiveInformation***";class Pr extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){if(!e)return!1;const t=e;return Pr.prototype.isPrototypeOf(t)||Boolean(t.$fault)&&Boolean(t.$metadata)&&("client"===t.$fault||"server"===t.$fault)}static[Symbol.hasInstance](e){if(!e)return!1;const t=e;return this===Pr?Pr.isInstance(e):!!Pr.isInstance(e)&&(t.name&&this.name?this.prototype.isPrototypeOf(e)||t.name===this.name:this.prototype.isPrototypeOf(e))}}const Mr=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,n])=>{null!=e[t]&&""!==e[t]||(e[t]=n)});const n=e.message||e.Message||"UnknownError";return e.message=n,delete e.Message,e},Tr=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),Or=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},Lr=e=>Object.assign((e=>{const t=[];for(const n in tt){const r=tt[n];void 0!==e[r]&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{addChecksumAlgorithm(e){t.push(e)},checksumAlgorithms:()=>t}})(e),(e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}))(e)),$r=e=>null!=e;class Nr{trace(){}debug(){}info(){}warn(){}error(){}}function Dr(e,t,n){let r,i,o;if(void 0===t&&void 0===n)r={},o=e;else{if(r=e,"function"==typeof t)return i=t,o=n,Fr(r,i,o);o=t}for(const e of Object.keys(o))Array.isArray(o[e])?Br(r,null,o,e):r[e]=o[e];return r}const Ur=(e,t)=>{const n={};for(const r in t)Br(n,e,t,r);return n},Fr=(e,t,n)=>Dr(e,Object.entries(n).reduce((e,[n,r])=>(Array.isArray(r)?e[n]=r:e[n]="function"==typeof r?[t,r()]:[t,r],e),{})),Br=(e,t,n,r)=>{if(null!==t){let i=n[r];"function"==typeof i&&(i=[,i]);const[o=jr,s=Hr,a=r]=i;return void(("function"==typeof o&&o(t[a])||"function"!=typeof o&&o)&&(e[r]=s(t[a])))}let[i,o]=n[r];if("function"==typeof o){let t;const n=void 0===i&&null!=(t=o()),s="function"==typeof i&&!!i(void 0)||"function"!=typeof i&&!!i;n?e[r]=t:s&&(e[r]=o())}else{const t=void 0===i&&null!=o,n="function"==typeof i&&!!i(o)||"function"!=typeof i&&!!i;(t||n)&&(e[r]=o)}},jr=e=>null!=e,Hr=e=>e,qr=(Math.ceil(2**127*(2-2**-23)),e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}}),Vr=e=>zr(e,32),zr=(e,t)=>{const n=qr(e);if(void 0!==n&&Gr(n,t)!==n)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return n},Gr=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Wr=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return Qr.warn(Kr(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},Kr=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),Qr={warn:console.warn},Yr=e=>e?.body instanceof ReadableStream,Jr=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,Xr=e=>{const t={error:e,errorType:Zr(e)},n=ni(e.$response);return n&&(t.retryAfterHint=n),t},Zr=e=>Un(e)?"THROTTLING":Fn(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!Fn(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",ei={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},ti=e=>({applyToStack:t=>{t.add((e=>(t,n)=>async r=>{let i=await e.retryStrategy();const o=await e.maxAttempts();if(!Jr(i))return i?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",i.mode]]),i.retry(t,r);{let e=await i.acquireInitialRetryToken(n.partition_id),s=new Error,a=0,c=0;const{request:u}=r,d=st.isInstance(u);for(d&&(u.headers[qn]=er());;)try{d&&(u.headers[Vn]=`attempt=${a+1}; max=${o}`);const{response:n,output:s}=await t(r);return i.recordSuccess(e),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,{response:n,output:s}}catch(t){const r=Xr(t);if(s=tr(t),d&&Yr(u))throw(n.logger instanceof Nr?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),s;try{e=await i.refreshRetryTokenForRetry(e,r)}catch(e){throw s.$metadata||(s.$metadata={}),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,s}a=e.getRetryCount();const o=e.getRetryDelay();c+=o,await new Promise(e=>setTimeout(e,o))}}})(e),ei)}}),ni=e=>{if(!at.isInstance(e))return;const t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;const n=e.headers[t],r=Number(n);if(!Number.isNaN(r))return new Date(1e3*r);return new Date(n)};const ri=(ii=3e5,e=>oi(e)&&e.expiration.getTime()-Date.now()<ii);var ii;const oi=e=>void 0!==e.expiration,si=e=>"string"==typeof e?lr(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),ai="X-Amz-Date",ci="X-Amz-Signature",ui="X-Amz-Security-Token",di="authorization",li=ai.toLowerCase(),hi=[di,li,"date"],fi=ci.toLowerCase(),pi="x-amz-content-sha256",mi=ui.toLowerCase(),gi={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},yi=/^proxy-/,wi=/^sec-/,bi="AWS4-HMAC-SHA256",vi="AWS4-HMAC-SHA256-PAYLOAD",ki="aws4_request",Si={},Ei=[],Ai=(e,t,n)=>`${e}/${t}/${n}/${ki}`,Ii=(e,t,n)=>{const r=new e(t);return r.update(si(n)),r.digest()},_i=({headers:e},t,n)=>{const r={};for(const i of Object.keys(e).sort()){if(null==e[i])continue;const o=i.toLowerCase();(o in gi||t?.has(o)||yi.test(o)||wi.test(o))&&(!n||n&&!n.has(o))||(r[o]=e[i].trim().replace(/\s+/g," "))}return r},xi=async({headers:e,body:t},n)=>{for(const t of Object.keys(e))if(t.toLowerCase()===pi)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(r=t,"function"==typeof ArrayBuffer&&r instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(r))){const e=new n;return e.update(si(t)),Ir(await e.digest())}var r;return"UNSIGNED-PAYLOAD"};class Ri{format(e){const t=[];for(const n of Object.keys(e)){const r=lr(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}const n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let r=0;for(const e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);const o=new Uint8Array(i.buffer);return o.set(e.value,3),o;case"string":const s=lr(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(Mi.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Pi.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const d=new Uint8Array(17);return d[0]=9,d.set(Ar(e.value.replace(/\-/g,"")),1),d}}}var Ci;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(Ci||(Ci={}));const Pi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Mi{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&Ti(t),new Mi(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Ti(e),parseInt(Ir(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ti(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const Oi=e=>{e=st.clone(e);for(const t of Object.keys(e.headers))hi.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},Li=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class $i{constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:o=!0}){this.service=r,this.sha256=i,this.uriEscapePath=o,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=en(n),this.credentialProvider=en(t)}createCanonicalRequest(e,t,n){const r=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],n={};for(const r of Object.keys(e)){if(r.toLowerCase()===fi)continue;const i=mr(r);t.push(i);const o=e[r];"string"==typeof o?n[i]=`${i}=${mr(o)}`:Array.isArray(o)&&(n[i]=o.slice(0).reduce((e,t)=>e.concat([`${i}=${mr(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>n[e]).filter(e=>e).join("&")})(e)}\n${r.map(e=>`${e}:${t[e]}`).join("\n")}\n\n${r.join(";")}\n${n}`}async createStringToSign(e,t,n,r){const i=new this.sha256;i.update(si(n));return`${r}\n${e}\n${t}\n${Ir(await i.digest())}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const n of e.split("/"))0!==n?.length&&"."!==n&&(".."===n?t.pop():t.push(n));const n=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return mr(n).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(e){const t=(n=e,Li(n).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var n;return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}class Ni extends $i{constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:o}),this.headerFormatter=new Ri}async presign(e,t={}){const{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:i,unhoistableHeaders:o,signableHeaders:s,hoistableHeaders:a,signingRegion:c,signingService:u}=t,d=await this.credentialProvider();this.validateResolvedCredentials(d);const l=c??await this.regionProvider(),{longDate:h,shortDate:f}=this.formatDate(n);if(r>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const p=Ai(f,l,u??this.service),m=((e,t={})=>{const{headers:n,query:r={}}=st.clone(e);for(const e of Object.keys(n)){const i=e.toLowerCase();("x-amz-"===i.slice(0,6)&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i))&&(r[e]=n[e],delete n[e])}return{...e,headers:n,query:r}})(Oi(e),{unhoistableHeaders:o,hoistableHeaders:a});d.sessionToken&&(m.query[ui]=d.sessionToken),m.query["X-Amz-Algorithm"]=bi,m.query["X-Amz-Credential"]=`${d.accessKeyId}/${p}`,m.query[ai]=h,m.query["X-Amz-Expires"]=r.toString(10);const g=_i(m,i,s);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[ci]=await this.getSignature(h,p,this.getSigningKey(d,l,f,u),this.createCanonicalRequest(m,g,await xi(e,this.sha256))),m}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:o}){const s=i??await this.regionProvider(),{shortDate:a,longDate:c}=this.formatDate(n),u=Ai(a,s,o??this.service),d=await xi({headers:{},body:t},this.sha256),l=new this.sha256;l.update(e);const h=Ir(await l.digest()),f=[vi,c,u,r,h,d].join("\n");return this.signString(f,{signingDate:n,signingRegion:s,signingService:o})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:r,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:r}={}){const i=await this.credentialProvider();this.validateResolvedCredentials(i);const o=n??await this.regionProvider(),{shortDate:s}=this.formatDate(t),a=new this.sha256(await this.getSigningKey(i,o,s,r));return a.update(si(e)),Ir(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:i,signingService:o}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const a=i??await this.regionProvider(),c=Oi(e),{longDate:u,shortDate:d}=this.formatDate(t),l=Ai(d,a,o??this.service);c.headers[li]=u,s.sessionToken&&(c.headers[mi]=s.sessionToken);const h=await xi(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const n of Object.keys(t))if(e===n.toLowerCase())return!0;return!1})(pi,c.headers)&&this.applyChecksum&&(c.headers[pi]=h);const f=_i(c,r,n),p=await this.getSignature(u,l,this.getSigningKey(s,a,d,o),this.createCanonicalRequest(c,f,h));return c.headers[di]=`${bi} Credential=${s.accessKeyId}/${l}, SignedHeaders=${this.getCanonicalHeaderList(f)}, Signature=${p}`,c}async getSignature(e,t,n,r){const i=await this.createStringToSign(e,t,r,bi),o=new this.sha256(await n);return o.update(si(i)),Ir(await o.digest())}getSigningKey(e,t,n,r){return(async(e,t,n,r,i)=>{const o=`${n}:${r}:${i}:${Ir(await Ii(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(o in Si)return Si[o];for(Ei.push(o);Ei.length>50;)delete Si[Ei.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[n,r,i,ki])s=await Ii(e,s,t);return Si[o]=s})(this.sha256,e,n,t,r||this.service)}}const Di=e=>{let t,n=e.credentials,r=!!e.credentials;Object.defineProperty(e,"credentials",{set(i){i&&i!==n&&i!==t&&(r=!0),n=i;const o=function(e,{credentials:t,credentialDefaultProvider:n}){let r;r=t?t?.memoized?t:((e,t,n)=>{if(void 0===e)return;const r="function"!=typeof e?async()=>Promise.resolve(e):e;let i,o,s,a=!1;const c=async e=>{o||(o=r(e));try{i=await o,s=!0,a=!1}finally{o=void 0}return i};return void 0===t?async e=>(s&&!e?.forceRefresh||(i=await c(e)),i):async e=>(s&&!e?.forceRefresh||(i=await c(e)),a?i:n(i)?t(i)?(await c(e),i):i:(a=!0,i))})(t,ri,oi):n?pt(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return r.memoized=!0,r}(e,{credentials:n,credentialDefaultProvider:e.credentialDefaultProvider}),s=function(e,t){if(t.configBound)return t;const n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}(e,o);r&&!s.attributed?(t=async e=>s(e).then(e=>function(e,t,n){return e.$source||(e.$source={}),e.$source[t]=n,e}(e,"CREDENTIALS_CODE","e")),t.memoized=s.memoized,t.configBound=s.configBound,t.attributed=!0):t=s},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=n;const{signingEscapePath:i=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:s}=e;let a;a=e.signer?pt(e.signer):e.regionInfoProvider?()=>pt(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{const{signingRegion:r,signingService:o}=t;e.signingRegion=e.signingRegion||r||n,e.signingName=e.signingName||o||e.serviceId;const a={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:s,uriEscapePath:i};return new(e.signerConstructor||Ni)(a)}):async t=>{const n=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await pt(e.region)(),properties:{}},t)).signingRegion,r=t.signingName;e.signingRegion=e.signingRegion||n,e.signingName=e.signingName||r||e.serviceId;const o={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:s,uriEscapePath:i};return new(e.signerConstructor||Ni)(o)};return Object.assign(e,{systemClockOffset:o,signingEscapePath:i,signer:a})};const Ui=async(e,t,n)=>({operation:Zt(t).operation,region:await en(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const Fi=e=>{const t=[];return e.operation,t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e)),t},Bi={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},ji="3.823.0";var Hi="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function qi(e){return e instanceof Uint8Array?e:"string"==typeof e?Hi(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function Vi(e){return"string"==typeof e?0===e.length:0===e.byteLength}var zi={name:"SHA-256"},Gi={name:"HMAC",hash:zi},Wi=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Ki={};function Qi(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Ki}var Yi=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!Vi(e)){var t=qi(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return Qi().crypto.subtle.sign(Gi,t,e.toHash).then(function(e){return new Uint8Array(e)})}):Vi(this.toHash)?Promise.resolve(Wi):Promise.resolve().then(function(){return Qi().crypto.subtle.digest(zi,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,n){Qi().crypto.subtle.importKey("raw",qi(e.secret),Gi,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))},e}();function Ji(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}c((r=r.apply(e,t||[])).next())})}function Xi(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function Zi(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var eo=64,to=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),no=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],ro=Math.pow(2,53)-1,io=function(){function e(){this.state=Int32Array.from(no),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>ro)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===eo&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%eo>=56){for(var r=this.bufferLength;r<eo;r++)t.setUint8(r,0);this.hashBuffer(),this.bufferLength=0}for(r=this.bufferLength;r<56;r++)t.setUint8(r,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var i=new Uint8Array(32);for(r=0;r<8;r++)i[4*r]=this.state[r]>>>24&255,i[4*r+1]=this.state[r]>>>16&255,i[4*r+2]=this.state[r]>>>8&255,i[4*r+3]=this.state[r]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],o=t[3],s=t[4],a=t[5],c=t[6],u=t[7],d=0;d<eo;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var l=this.temp[d-2],h=(l>>>17|l<<15)^(l>>>19|l<<13)^l>>>10,f=((l=this.temp[d-15])>>>7|l<<25)^(l>>>18|l<<14)^l>>>3;this.temp[d]=(h+this.temp[d-7]|0)+(f+this.temp[d-16]|0)}var p=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&a^~s&c)|0)+(u+(to[d]+this.temp[d]|0)|0)|0,m=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&i^r&i)|0;u=c,c=a,a=s,s=o+p|0,o=i,i=r,r=n,n=p+m|0}t[0]+=n,t[1]+=r,t[2]+=i,t[3]+=o,t[4]+=s,t[5]+=a,t[6]+=c,t[7]+=u},e}(),oo=function(){function e(e){this.secret=e,this.hash=new io,this.reset()}return e.prototype.update=function(e){if(!Vi(e)&&!this.error)try{this.hash.update(qi(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return Ji(this,void 0,void 0,function(){return Xi(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new io,this.secret){this.outer=new io;var e=function(e){var t=qi(e);if(t.byteLength>eo){var n=new io;n.update(t),t=n.digest()}var r=new Uint8Array(eo);return r.set(t),r}(this.secret),t=new Uint8Array(eo);t.set(e);for(var n=0;n<eo;n++)e[n]^=54,t[n]^=92;this.hash.update(e),this.outer.update(t);for(n=0;n<e.byteLength;n++)e[n]=0}},e}();var so=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function ao(e){return e&&so.every(function(t){return"function"==typeof e[t]})}var co=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&ao(e.crypto.subtle)}(Qi())?this.hash=new oo(e):this.hash=new Yi(e)}return e.prototype.update=function(e,t){this.hash.update(qi(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),uo=n(179),lo=n.n(uo);const ho=({serviceId:e,clientVersion:t})=>async n=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?lo().parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",t],["ua","2.1"],[`os/${r?.os?.name||"other"}`,r?.os?.version],["lang/js"],["md/browser",`${r?.browser?.name??"unknown"}_${r?.browser?.version??"unknown"}`]];e&&i.push([`api/${e}`,t]);const o=await(n?.userAgentAppId?.());return o&&i.push([`app/${o}`]),i};!function(){function e(){this.crc32=new po}e.prototype.update=function(e){Vi(e)||this.crc32.update(qi(e))},e.prototype.digest=function(){return Ji(this,void 0,void 0,function(){return Xi(this,function(e){return[2,(t=this.crc32.digest(),new Uint8Array([(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))];var t})})},e.prototype.reset=function(){this.crc32=new po}}();var fo,po=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=Zi(e),i=r.next();!i.done;i=r.next()){var o=i.value;this.checksum=this.checksum>>>8^mo[255&(this.checksum^o)]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}(),mo=function(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),n=0;n<e.length;)t[n]=e[n],n+=1;return t}return Uint32Array.from(e)}([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class go{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&yo(t),new go(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&yo(e),parseInt(Ir(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function yo(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class wo{constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){const t=[];for(const n of Object.keys(e)){const r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}const n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let r=0;for(const e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);const o=new Uint8Array(i.buffer);return o.set(e.value,3),o;case"string":const s=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(go.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Ro.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const d=new Uint8Array(17);return d[0]=9,d.set(Ar(e.value.replace(/\-/g,"")),1),d}}parse(e){const t={};let n=0;for(;n<e.byteLength;){const r=e.getUint8(n++),i=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[i]={type:bo,value:!0};break;case 1:t[i]={type:bo,value:!1};break;case 2:t[i]={type:vo,value:e.getInt8(n++)};break;case 3:t[i]={type:ko,value:e.getInt16(n,!1)},n+=2;break;case 4:t[i]={type:So,value:e.getInt32(n,!1)},n+=4;break;case 5:t[i]={type:Eo,value:new go(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:const r=e.getUint16(n,!1);n+=2,t[i]={type:Ao,value:new Uint8Array(e.buffer,e.byteOffset+n,r)},n+=r;break;case 7:const o=e.getUint16(n,!1);n+=2,t[i]={type:Io,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,o))},n+=o;break;case 8:t[i]={type:_o,value:new Date(new go(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:const s=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[i]={type:xo,value:`${Ir(s.subarray(0,4))}-${Ir(s.subarray(4,6))}-${Ir(s.subarray(6,8))}-${Ir(s.subarray(8,10))}-${Ir(s.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(fo||(fo={}));const bo="boolean",vo="byte",ko="short",So="integer",Eo="long",Ao="binary",Io="string",_o="timestamp",xo="uuid",Ro=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Co{constructor(e,t){this.headerMarshaller=new wo(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){const e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>e,isEndOfStream:()=>t}}getAvailableMessages(){const e=this.messageBuffer;this.messageBuffer=[];const t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){const n=this.headerMarshaller.format(e),r=n.byteLength+t.byteLength+16,i=new Uint8Array(r),o=new DataView(i.buffer,i.byteOffset,i.byteLength),s=new po;return o.setUint32(0,r,!1),o.setUint32(4,n.byteLength,!1),o.setUint32(8,s.update(i.subarray(0,8)).digest(),!1),i.set(n,12),i.set(t,n.byteLength+12),o.setUint32(r-4,s.update(i.subarray(8,r-4)).digest(),!1),i}decode(e){const{headers:t,body:n}=function({byteLength:e,byteOffset:t,buffer:n}){if(e<16)throw new Error("Provided message too short to accommodate event stream message overhead");const r=new DataView(n,t,e),i=r.getUint32(0,!1);if(e!==i)throw new Error("Reported message length does not match received message length");const o=r.getUint32(4,!1),s=r.getUint32(8,!1),a=r.getUint32(e-4,!1),c=(new po).update(new Uint8Array(n,t,8));if(s!==c.digest())throw new Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(n,t+8,e-12)),a!==c.digest())throw new Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(n,t+8+4,o),body:new Uint8Array(n,t+8+4+o,i-o-16)}}(e);return{headers:this.headerMarshaller.parse(t),body:n}}formatHeaders(e){return this.headerMarshaller.format(e)}}class Po{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.decoder.decode(e);yield t}}}class Mo{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class To{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class Oo{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.serializer(e);yield t}}}function Lo(e,t){return async function(n){const{value:r}=n.headers[":message-type"];if("error"===r){const e=new Error(n.headers[":error-message"].value||"UnknownError");throw e.name=n.headers[":error-code"].value,e}if("exception"===r){const r=n.headers[":exception-type"].value,i={[r]:n},o=await e(i);if(o.$unknown){const e=new Error(t(n.body));throw e.name=r,e}throw o[r]}if("event"===r){const t={[n.headers[":event-type"].value]:n},r=await e(t);if(r.$unknown)return;return r}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class $o{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new Co(e,t),this.utfEncoder=e}deserialize(e,t){const n=function(e){let t=0,n=0,r=null,i=null;const o=e=>{if("number"!=typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){const s=e[Symbol.asyncIterator]();for(;;){const{value:e,done:a}=await s.next();if(a){if(!t)return;if(t!==n)throw new Error("Truncated event message received.");return void(yield r)}const c=e.length;let u=0;for(;u<c;){if(!r){const t=c-u;i||(i=new Uint8Array(4));const r=Math.min(4-n,t);if(i.set(e.slice(u,u+r),n),n+=r,u+=r,n<4)break;o(new DataView(i.buffer).getUint32(0,!1)),i=null}const s=Math.min(t-n,c-u);r.set(e.slice(u,u+s),n),n+=s,u+=s,t&&t===n&&(yield r,r=null,t=0,n=0)}}}}}(e);return new To({messageStream:new Po({inputStream:n,decoder:this.eventStreamCodec}),deserializer:Lo(t,this.utfEncoder)})}serialize(e,t){return new Mo({messageStream:new Oo({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class No{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new $o({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const n=Do(e)?(r=e,{[Symbol.asyncIterator]:async function*(){const e=r.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)return;yield n}}finally{e.releaseLock()}}}):e;var r;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){const n=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(e=>{const t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})})(n):n}}const Do=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,Uo=e=>new No(e),Fo="function"==typeof TextEncoder?new TextEncoder:null,Bo=e=>{if("string"==typeof e){if(Fo)return Fo.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){const r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)},jo=e=>new Date(Date.now()+e),Ho=e=>at.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,qo=(e,t)=>{const n=Date.parse(e);return((e,t)=>Math.abs(jo(t).getTime()-e)>=3e5)(n,t)?n-Date.now():t},Vo=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t};class zo{async sign(e,t,n){if(!st.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const r=await(async e=>{const t=Vo("context",e.context),n=Vo("config",e.config),r=t.endpointV2?.properties?.authSchemes?.[0],i=Vo("signer",n.signer),o=await i(r),s=e?.signingRegion,a=e?.signingRegionSet,c=e?.signingName;return{config:n,signer:o,signingRegion:s,signingRegionSet:a,signingName:c}})(n),{config:i,signer:o}=r;let{signingRegion:s,signingName:a}=r;const c=n.context;if(c?.authSchemes?.length){const[e,t]=c.authSchemes;"sigv4a"===e?.name&&"sigv4"===t?.name&&(s=t?.signingRegion??s,a=t?.signingName??a)}return await o.sign(e,{signingDate:jo(i.systemClockOffset),signingRegion:s,signingService:a})}errorHandler(e){return t=>{const n=t.ServerTime??Ho(t.$response);if(n){const r=Vo("config",e.config),i=r.systemClockOffset;r.systemClockOffset=qo(n,r.systemClockOffset);r.systemClockOffset!==i&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const n=Ho(e);if(n){const e=Vo("config",t.config);e.systemClockOffset=qo(n,e.systemClockOffset)}}}const Go="required",Wo="fn",Ko="argv",Qo="ref",Yo=!0,Jo="isSet",Xo="booleanEquals",Zo="error",es="endpoint",ts="tree",ns="PartitionResult",rs={[Go]:!1,type:"String"},is={[Go]:!0,default:!1,type:"Boolean"},os={[Qo]:"Endpoint"},ss={[Wo]:Xo,[Ko]:[{[Qo]:"UseFIPS"},!0]},as={[Wo]:Xo,[Ko]:[{[Qo]:"UseDualStack"},!0]},cs={},us={[Wo]:"getAttr",[Ko]:[{[Qo]:ns},"supportsFIPS"]},ds={[Wo]:Xo,[Ko]:[!0,{[Wo]:"getAttr",[Ko]:[{[Qo]:ns},"supportsDualStack"]}]},ls=[ss],hs=[as],fs=[{[Qo]:"Region"}],ps={version:"1.0",parameters:{Region:rs,UseDualStack:is,UseFIPS:is,Endpoint:rs},rules:[{conditions:[{[Wo]:Jo,[Ko]:[os]}],rules:[{conditions:ls,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Zo},{rules:[{conditions:hs,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Zo},{endpoint:{url:os,properties:cs,headers:cs},type:es}],type:ts}],type:ts},{rules:[{conditions:[{[Wo]:Jo,[Ko]:fs}],rules:[{conditions:[{[Wo]:"aws.partition",[Ko]:fs,assign:ns}],rules:[{conditions:[ss,as],rules:[{conditions:[{[Wo]:Xo,[Ko]:[Yo,us]},ds],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:cs,headers:cs},type:es}],type:ts}],type:ts},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Zo}],type:ts},{conditions:ls,rules:[{conditions:[{[Wo]:Xo,[Ko]:[us,Yo]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:cs,headers:cs},type:es}],type:ts}],type:ts},{error:"FIPS is enabled but this partition does not support FIPS",type:Zo}],type:ts},{conditions:hs,rules:[{conditions:[ds],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:cs,headers:cs},type:es}],type:ts}],type:ts},{error:"DualStack is enabled but this partition does not support DualStack",type:Zo}],type:ts},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:cs,headers:cs},type:es}],type:ts}],type:ts}],type:ts},{error:"Invalid Configuration: Missing Region",type:Zo}],type:ts}]},ms=new class{constructor({size:e,params:t}){this.data=new Map,this.parameters=[],this.capacity=e??50,t&&(this.parameters=t)}get(e,t){const n=this.hash(e);if(!1===n)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){const e=this.data.keys();let t=0;for(;;){const{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t="";const{parameters:n}=this;if(0===n.length)return!1;for(const r of n){const n=String(e[r]??"");if(n.includes("|;"))return!1;t+=n+"|;"}return t}}({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),gs=(e,t={})=>ms.get(e,()=>((e,t)=>{const{endpointParams:n,logger:r}=t,{parameters:i,rules:o}=e;t.logger?.debug?.(`${vt} Initial EndpointParams: ${kt(n)}`);const s=Object.entries(i).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(s.length>0)for(const[e,t]of s)n[e]=n[e]??t;const a=Object.entries(i).filter(([,e])=>e.required).map(([e])=>e);for(const e of a)if(null==n[e])throw new St(`Missing required parameter: '${e}'`);const c=Ut(o,{endpointParams:n,logger:r,referenceRecord:{}});return t.logger?.debug?.(`${vt} Resolved endpoint: ${kt(c)}`),c})(ps,{endpointParams:e,logger:t.logger}));bt.aws=Ht;Error;const ys=["in-region","cross-region","mobile","standard","legacy"],ws=()=>{const e="undefined"!=typeof window&&window?.navigator?.userAgent?lo().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},bs=e=>{const t=(({defaultsMode:e}={})=>((e,t,n)=>{let r,i,o,s=!1;const a=async()=>{i||(i=e());try{r=await i,o=!0,s=!1}finally{i=void 0}return r};return void 0===t?async e=>(o&&!e?.forceRefresh||(r=await a()),r):async e=>(o&&!e?.forceRefresh||(r=await a()),s?r:n&&!n(r)?(s=!0,r):t(r)?(await a(),r):r)})(async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(ws()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${ys.join(", ")}, got ${t}`)}}))(e),n=()=>t().then(Or),r=(e=>({apiVersion:"2023-09-30",base64Decoder:e?.base64Decoder??dr,base64Encoder:e?.base64Encoder??hr,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??gs,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Fi,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new zo}],logger:e?.logger??new Nr,serviceId:e?.serviceId??"Bedrock Runtime",urlParser:e?.urlParser??kn,utf8Decoder:e?.utf8Decoder??lr,utf8Encoder:e?.utf8Encoder??fr}))(e);return{...r,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Bo,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??ho({serviceId:r.serviceId,clientVersion:ji}),eventStreamPayloadHandlerProvider:e?.eventStreamPayloadHandlerProvider??(()=>{return{handle:(e="event stream request is not supported in browser.",()=>{throw new Error(e)})};var e}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Uo,maxAttempts:e?.maxAttempts??3,region:e?.region??(i="Region is missing",()=>Promise.reject(i)),requestHandler:vr.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Tn),sha256:e?.sha256??co,streamCollector:e?.streamCollector??kr,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(false))};var i},vs=(e,t)=>{const n=Object.assign((e=>({setRegion(t){e.region=t},region:()=>e.region}))(e),Lr(e),(e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,n){e.httpHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}))(e),(e=>{const t=e.httpAuthSchemes;let n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){const n=t.findIndex(t=>t.schemeId===e.schemeId);-1===n?t.push(e):t.splice(n,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider:()=>n,setCredentials(e){r=e},credentials:()=>r}})(e));return t.forEach(e=>e.configure(n)),Object.assign(e,{region:n.region()},(r=n,Object.assign((e=>{const t={};return e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()}),t})(r),(e=>{const t={};return t.retryStrategy=e.retryStrategy(),t})(r))),{httpHandler:n.httpHandler()},(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}))(n));var r};class ks extends ar{config;constructor(...[e]){const t=bs(e||{});super(t),this.initConfig=t;const n=(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(t),r=function(e){const t=pt(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:"string"==typeof n?[[n]]:n,userAgentAppId:async()=>{const n=await t();if(!function(e){return void 0===e||"string"==typeof e&&e.length<=50}(n)){const t="NoOpLogger"!==e.logger?.constructor?.name&&e.logger?e.logger:console;"string"!=typeof n?t?.warn("userAgentAppId must be a string or undefined."):n.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return n}})}(n),i=(e=>{const{retryStrategy:t,retryMode:n,maxAttempts:r}=e,i=en(r??3);return Object.assign(e,{maxAttempts:i,retryStrategy:async()=>t||(await en(n)()===Mn.ADAPTIVE?new Wn(i):new Gn(i))})})(r),o=(e=>{const{region:t,useFipsEndpoint:n}=e;if(!t)throw new Error("Region is missing");return Object.assign(e,{region:async()=>{if("string"==typeof t)return nn(t);const e=await t();return nn(e)},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!tn(e)||("function"!=typeof n?Promise.resolve(!!n):n())}})})(i),s=(e=>{const t=e.tls??!0,{endpoint:n,useDualstackEndpoint:r,useFipsEndpoint:i}=e,o=null!=n?async()=>Sn(await en(n)()):void 0,s=!!n,a=Object.assign(e,{endpoint:o,tls:t,isCustomEndpoint:s,useDualstackEndpoint:en(r??!1),useFipsEndpoint:en(i??!1)});let c;return a.serviceConfiguredEndpoint=async()=>(e.serviceId&&!c&&(c=vn(e.serviceId)),c),a})(o);var a;const c=(e=>{const t=Di(e);return Object.assign(t,{authSchemePreference:en(e.authSchemePreference??[])})})((a=s,Object.assign(a,{eventStreamMarshaller:a.eventStreamSerdeProvider(a)}))),u=function(e){const t=e.signer,n=e.signer,r=Object.assign(e,{eventSigner:t,messageSigner:n}),i=r.eventStreamPayloadHandlerProvider(r);return Object.assign(r,{eventStreamPayloadHandler:i})}(c),d=vs(u,e?.extensions||[]);var l;this.config=d,this.middlewareStack.use((l=this.config,{applyToStack:e=>{e.add(Qt(l),Jt)}})),this.middlewareStack.use(ti(this.config)),this.middlewareStack.use(fn(this.config)),this.middlewareStack.use(ut(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add((e,t)=>async n=>{try{const r=await e(n),{clientName:i,commandName:o,logger:s,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=a,d=c??t.inputFilterSensitiveLog,l=u??t.outputFilterSensitiveLog,{$metadata:h,...f}=r.output;return s?.info?.({clientName:i,commandName:o,input:d(n.input),output:l(f),metadata:h}),r}catch(e){const{clientName:r,commandName:i,logger:o,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:a}=s,c=a??t.inputFilterSensitiveLog;throw o?.error?.({clientName:r,commandName:i,input:c(n.input),error:e,metadata:e.$metadata}),e}},dt)}})),this.middlewareStack.use(ft(this.config)),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(rn(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),on)}}))(this.config,{httpAuthSchemeParametersProvider:Ui,identityProviderConfigProvider:async e=>new sn({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(dn(this.config))}destroy(){super.destroy()}}class Ss extends Pr{constructor(e){super(e),Object.setPrototypeOf(this,Ss.prototype)}}class Es extends Ss{name="AccessDeniedException";$fault="client";constructor(e){super({name:"AccessDeniedException",$fault:"client",...e}),Object.setPrototypeOf(this,Es.prototype)}}var As;!function(e){e.visit=(e,t)=>void 0!==e.s3OutputDataConfig?t.s3OutputDataConfig(e.s3OutputDataConfig):t._(e.$unknown[0],e.$unknown[1])}(As||(As={}));class Is extends Ss{name="InternalServerException";$fault="server";constructor(e){super({name:"InternalServerException",$fault:"server",...e}),Object.setPrototypeOf(this,Is.prototype)}}class _s extends Ss{name="ThrottlingException";$fault="client";constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),Object.setPrototypeOf(this,_s.prototype)}}class xs extends Ss{name="ValidationException";$fault="client";constructor(e){super({name:"ValidationException",$fault:"client",...e}),Object.setPrototypeOf(this,xs.prototype)}}class Rs extends Ss{name="ConflictException";$fault="client";constructor(e){super({name:"ConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,Rs.prototype)}}class Cs extends Ss{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Cs.prototype)}}class Ps extends Ss{name="ServiceQuotaExceededException";$fault="client";constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Ps.prototype)}}class Ms extends Ss{name="ServiceUnavailableException";$fault="server";constructor(e){super({name:"ServiceUnavailableException",$fault:"server",...e}),Object.setPrototypeOf(this,Ms.prototype)}}var Ts;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}(Ts||(Ts={}));var Os;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):t._(e.$unknown[0],e.$unknown[1])}(Os||(Os={}));var Ls;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):void 0!==e.s3Location?t.s3Location(e.s3Location):t._(e.$unknown[0],e.$unknown[1])}(Ls||(Ls={}));var $s;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}($s||($s={}));var Ns;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):t._(e.$unknown[0],e.$unknown[1])}(Ns||(Ns={}));var Ds,Us;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):void 0!==e.s3Location?t.s3Location(e.s3Location):t._(e.$unknown[0],e.$unknown[1])}(Ds||(Ds={})),function(e){e.visit=(e,t)=>void 0!==e.reasoningText?t.reasoningText(e.reasoningText):void 0!==e.redactedContent?t.redactedContent(e.redactedContent):t._(e.$unknown[0],e.$unknown[1])}(Us||(Us={}));var Fs,Bs;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):void 0!==e.s3Location?t.s3Location(e.s3Location):t._(e.$unknown[0],e.$unknown[1])}(Fs||(Fs={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):void 0!==e.video?t.video(e.video):t._(e.$unknown[0],e.$unknown[1])}(Bs||(Bs={}));var js;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):void 0!==e.video?t.video(e.video):void 0!==e.toolUse?t.toolUse(e.toolUse):void 0!==e.toolResult?t.toolResult(e.toolResult):void 0!==e.guardContent?t.guardContent(e.guardContent):void 0!==e.cachePoint?t.cachePoint(e.cachePoint):void 0!==e.reasoningContent?t.reasoningContent(e.reasoningContent):t._(e.$unknown[0],e.$unknown[1])}(js||(js={}));var Hs,qs,Vs,zs,Gs,Ws;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):t._(e.$unknown[0],e.$unknown[1])}(Hs||(Hs={})),function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.guardContent?t.guardContent(e.guardContent):void 0!==e.cachePoint?t.cachePoint(e.cachePoint):t._(e.$unknown[0],e.$unknown[1])}(qs||(qs={})),function(e){e.visit=(e,t)=>void 0!==e.auto?t.auto(e.auto):void 0!==e.any?t.any(e.any):void 0!==e.tool?t.tool(e.tool):t._(e.$unknown[0],e.$unknown[1])}(Vs||(Vs={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):t._(e.$unknown[0],e.$unknown[1])}(zs||(zs={})),function(e){e.visit=(e,t)=>void 0!==e.toolSpec?t.toolSpec(e.toolSpec):void 0!==e.cachePoint?t.cachePoint(e.cachePoint):t._(e.$unknown[0],e.$unknown[1])}(Gs||(Gs={})),function(e){e.visit=(e,t)=>void 0!==e.message?t.message(e.message):t._(e.$unknown[0],e.$unknown[1])}(Ws||(Ws={}));class Ks extends Ss{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(e){super({name:"ModelErrorException",$fault:"client",...e}),Object.setPrototypeOf(this,Ks.prototype),this.originalStatusCode=e.originalStatusCode,this.resourceName=e.resourceName}}class Qs extends Ss{name="ModelNotReadyException";$fault="client";$retryable={};constructor(e){super({name:"ModelNotReadyException",$fault:"client",...e}),Object.setPrototypeOf(this,Qs.prototype)}}class Ys extends Ss{name="ModelTimeoutException";$fault="client";constructor(e){super({name:"ModelTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Ys.prototype)}}var Js,Xs,Zs,ea;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.redactedContent?t.redactedContent(e.redactedContent):void 0!==e.signature?t.signature(e.signature):t._(e.$unknown[0],e.$unknown[1])}(Js||(Js={})),function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.toolUse?t.toolUse(e.toolUse):void 0!==e.reasoningContent?t.reasoningContent(e.reasoningContent):t._(e.$unknown[0],e.$unknown[1])}(Xs||(Xs={})),function(e){e.visit=(e,t)=>void 0!==e.toolUse?t.toolUse(e.toolUse):t._(e.$unknown[0],e.$unknown[1])}(Zs||(Zs={}));class ta extends Ss{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(e){super({name:"ModelStreamErrorException",$fault:"client",...e}),Object.setPrototypeOf(this,ta.prototype),this.originalStatusCode=e.originalStatusCode,this.originalMessage=e.originalMessage}}!function(e){e.visit=(e,t)=>void 0!==e.messageStart?t.messageStart(e.messageStart):void 0!==e.contentBlockStart?t.contentBlockStart(e.contentBlockStart):void 0!==e.contentBlockDelta?t.contentBlockDelta(e.contentBlockDelta):void 0!==e.contentBlockStop?t.contentBlockStop(e.contentBlockStop):void 0!==e.messageStop?t.messageStop(e.messageStop):void 0!==e.metadata?t.metadata(e.metadata):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(ea||(ea={}));var na,ra,ia;!function(e){e.visit=(e,t)=>void 0!==e.chunk?t.chunk(e.chunk):t._(e.$unknown[0],e.$unknown[1])}(na||(na={})),function(e){e.visit=(e,t)=>void 0!==e.chunk?t.chunk(e.chunk):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.modelTimeoutException?t.modelTimeoutException(e.modelTimeoutException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(ra||(ra={})),function(e){e.visit=(e,t)=>void 0!==e.chunk?t.chunk(e.chunk):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.modelTimeoutException?t.modelTimeoutException(e.modelTimeoutException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(ia||(ia={}));const oa=e=>({...e,...e.body&&{body:Cr}}),sa=e=>({...e,...e.body&&{body:Cr}}),aa=e=>({...e,...e.body&&{body:Cr}}),ca=e=>({...e,...e.body&&{body:"STREAMING_CONTENT"}}),ua=(e,t)=>((e,t)=>_r(e,t).then(e=>t.utf8Encoder(e)))(e,t).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===t?.name&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}}),da=async(e,t)=>{const n=await ua(e,t);return n.message=n.message??n.Message,n};function la(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function ha(e,t){return new fa(e,t)}class fa{constructor(e,t){this.input=e,this.context=t,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:e,protocol:t="https",port:n,path:r}=await this.context.endpoint();this.path=r;for(const e of this.resolvePathStack)e(this.path);return new st({protocol:t,hostname:this.hostname||e,port:n,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){return this.hostname=e,this}bp(e){return this.resolvePathStack.push(t=>{this.path=`${t?.endsWith("/")?t.slice(0,-1):t||""}`+e}),this}p(e,t,n,r){return this.resolvePathStack.push(i=>{this.path=((e,t,n,r,i,o)=>{if(null==t||void 0===t[n])throw new Error("No value provided for input HTTP label: "+n+".");{const t=r();if(t.length<=0)throw new Error("Empty value provided for input HTTP label: "+n+".");e=e.replace(i,o?t.split("/").map(e=>la(e)).join("/"):la(t))}return e})(i,this.input,e,t,n,r)}),this}h(e){return this.headers=e,this}q(e){return this.query=e,this}b(e){return this.body=e,this}m(e){return this.method=e,this}}const pa=async(e,t)=>{const n=ha(e,t),r=Dr({},$r,{[za]:e[Va]||"application/octet-stream",[qa]:e[qa],[tc]:e[Qa],[Xa]:e[Ga],[Za]:e[Wa],[ec]:e[Ka]});let i;return n.bp("/model/{modelId}/invoke"),n.p("modelId",()=>e.modelId,"{modelId}",!1),void 0!==e.body&&(i=e.body),n.m("POST").h(r).b(i),n.build()},ma=async(e,t)=>{const n=ha(e,t),r=Dr({},$r,{[za]:e[Va]||"application/octet-stream",[Ya]:e[qa],[tc]:e[Qa],[Xa]:e[Ga],[Za]:e[Wa],[ec]:e[Ka]});let i;return n.bp("/model/{modelId}/invoke-with-response-stream"),n.p("modelId",()=>e.modelId,"{modelId}",!1),void 0!==e.body&&(i=e.body),n.m("POST").h(r).b(i),n.build()},ga=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return wa(e,t);const n=Dr({$metadata:Ha(e),[Va]:[,e.headers[za]],[Ka]:[,e.headers[ec]]}),r=await _r(e.body,t);return n.body=r,n},ya=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return wa(e,t);const n=Dr({$metadata:Ha(e),[Va]:[,e.headers[Ja]],[Ka]:[,e.headers[ec]]}),r=e.body;return n.body=Oa(r,t),n},wa=async(e,t)=>{const n={...e,body:await da(e.body,t)},r=((e,t)=>{const n=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),r=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},i=n(e.headers,"x-amzn-errortype");if(void 0!==i)return r(e.headers[i]);if(t&&"object"==typeof t){const e=n(t,"code");if(e&&void 0!==t[e])return r(t[e]);if(void 0!==t.__type)return r(t.__type)}})(e,n.body);switch(r){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await ka(n,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await Ea(n,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await Ra(n,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await Ca(n,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await Ma(n,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await Ta(n,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await Aa(n,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await Ia(n,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await xa(n,t);case"ServiceUnavailableException":case"com.amazonaws.bedrockruntime#ServiceUnavailableException":throw await Pa(n,t);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await _a(n,t);case"ConflictException":case"com.amazonaws.bedrockruntime#ConflictException":throw await Sa(n,t);default:const i=n.body;return ba({output:e,parsedBody:i,errorCode:r})}},ba=(va=Ss,({output:e,parsedBody:t,errorCode:n})=>{(({output:e,parsedBody:t,exceptionCtor:n,errorCode:r})=>{const i=Tr(e),o=i.httpStatusCode?i.httpStatusCode+"":void 0,s=new n({name:t?.code||t?.Code||r||o||"UnknownError",$fault:"client",$metadata:i});throw Mr(s,t)})({output:e,parsedBody:t,exceptionCtor:va,errorCode:n})});var va;const ka=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Es({$metadata:Ha(e),...n});return Mr(o,e.body)},Sa=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Rs({$metadata:Ha(e),...n});return Mr(o,e.body)},Ea=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Is({$metadata:Ha(e),...n});return Mr(o,e.body)},Aa=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr,originalStatusCode:Vr,resourceName:Wr});Object.assign(n,i);const o=new Ks({$metadata:Ha(e),...n});return Mr(o,e.body)},Ia=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Qs({$metadata:Ha(e),...n});return Mr(o,e.body)},_a=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr,originalMessage:Wr,originalStatusCode:Vr});Object.assign(n,i);const o=new ta({$metadata:Ha(e),...n});return Mr(o,e.body)},xa=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Ys({$metadata:Ha(e),...n});return Mr(o,e.body)},Ra=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Cs({$metadata:Ha(e),...n});return Mr(o,e.body)},Ca=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Ps({$metadata:Ha(e),...n});return Mr(o,e.body)},Pa=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new Ms({$metadata:Ha(e),...n});return Mr(o,e.body)},Ma=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new _s({$metadata:Ha(e),...n});return Mr(o,e.body)},Ta=async(e,t)=>{const n=Dr({}),r=e.body,i=Ur(r,{message:Wr});Object.assign(n,i);const o=new xs({$metadata:Ha(e),...n});return Mr(o,e.body)},Oa=(e,t)=>t.eventStreamMarshaller.deserialize(e,async n=>null!=n.chunk?{chunk:await Da(n.chunk,t)}:null!=n.internalServerException?{internalServerException:await La(n.internalServerException,t)}:null!=n.modelStreamErrorException?{modelStreamErrorException:await $a(n.modelStreamErrorException,t)}:null!=n.validationException?{validationException:await Ba(n.validationException,t)}:null!=n.throttlingException?{throttlingException:await Fa(n.throttlingException,t)}:null!=n.modelTimeoutException?{modelTimeoutException:await Na(n.modelTimeoutException,t)}:null!=n.serviceUnavailableException?{serviceUnavailableException:await Ua(n.serviceUnavailableException,t)}:{$unknown:e}),La=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return Ea(n,t)},$a=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return _a(n,t)},Na=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return xa(n,t)},Da=async(e,t)=>{const n={},r=await ua(e.body,t);return Object.assign(n,ja(r,t)),n},Ua=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return Pa(n,t)},Fa=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return Ma(n,t)},Ba=async(e,t)=>{const n={...e,body:await ua(e.body,t)};return Ta(n,t)},ja=(e,t)=>Ur(e,{bytes:t.base64Decoder}),Ha=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),qa="accept",Va="contentType",za="content-type",Ga="guardrailIdentifier",Wa="guardrailVersion",Ka="performanceConfigLatency",Qa="trace",Ya="x-amzn-bedrock-accept",Ja="x-amzn-bedrock-content-type",Xa="x-amzn-bedrock-guardrailidentifier",Za="x-amzn-bedrock-guardrailversion",ec="x-amzn-bedrock-performanceconfig-latency",tc="x-amzn-bedrock-trace";class nc extends(xr.classBuilder().ep(Bi).m(function(e,t,n,r){return[Rn(n,this.serialize,this.deserialize),Pn(n,e.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModelWithResponseStream",{eventStream:{output:!0}}).n("BedrockRuntimeClient","InvokeModelWithResponseStreamCommand").f(aa,ca).ser(ma).de(ya).build()){}class rc extends(xr.classBuilder().ep(Bi).m(function(e,t,n,r){return[Rn(n,this.serialize,this.deserialize),Pn(n,e.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModel",{}).n("BedrockRuntimeClient","InvokeModelCommand").f(oa,sa).ser(pa).de(ga).build()){}function ic(e,t){const n=sc();return(ic=function(e,t){return n[e-=372]})(e,t)}const oc=ic;function sc(){const e=["config","POST","349548EjbVgE","test","preparePrompt","Instruction:\n","parse","4fWahme","ai21.j2","_processProxyRequest","split","application/json","signal","2466QQOQXE","get","\n\nAssistant:","ai.aws.requestParameters","decode","_readAsyncIterableResponse","stringify","2MQsRNh","1784PvsVTF","ai.aws.bedrockClientConfig","resolve","<<SYS>>\n","map","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","\n<</SYS>>\n[INST]\n","bytes","\nYou must keep the text formatting.\n\nContent:\n","_apiUrl","text","anthropic.claude","pluginName","abortController","getModelFamily","_readStaticResponse","3949rEOGKl","editor","ai.aws.apiUrl","anthropic.claude-v2","_requestParameters","\n[/INST]","sendRequest","completion","2624485pTADbk","1897860YfGUvV","filter","join","_prepareRequestParameters","define","15550aNknAt","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","832IQKitU","generations","_processAWSRequest","21339ciLgFy","completions","_prepareRequestHeaders","getReader","_readStreamableResponse","_getGeneratedText","json","466442kHWNZt","generation","bedrock-2023-05-31","cohere.command","send","body","AWSTextAdapter","8813gKiKrI","length","read","AI_ERROR_UNSUPPORTED_MODEL","_requestHeaders","Human:\n","chunk","data","ai.aws.requestHeaders","locale","meta.llama","_bedrockClientConfig","utf-8"];return(sc=function(){return e})()}!function(e){const t=ic,n=e();for(;;)try{if(329232===parseInt(t(451))/1*(parseInt(t(408))/2)+parseInt(t(434))/3+parseInt(t(395))/4*(parseInt(t(433))/5)+parseInt(t(401))/6*(-parseInt(t(375))/7)+-parseInt(t(409))/8*(-parseInt(t(444))/9)+-parseInt(t(439))/10*(-parseInt(t(425))/11)+-parseInt(t(390))/12*(parseInt(t(441))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(sc);class ac extends Ge{[oc(418)];[oc(379)];[oc(386)];[oc(429)];static get[oc(421)](){return oc(374)}constructor(e){const t=oc;super(e),e[t(388)][t(402)](t(404))||e[t(388)][t(438)](t(404),{model:t(428),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:t(453),stream:!0}),this[t(418)]=e[t(388)][t(402)](t(427)),this[t(386)]=e[t(388)][t(402)](t(410)),this[t(379)]=e[t(388)][t(402)](t(383)),this[t(429)]=e[t(388)][t(402)](t(404))}async[oc(431)]({query:e,context:t,onData:n,actionId:r}){const i=oc,{model:o,stream:s,...a}=await this[i(437)](this[i(429)],r),c={prompt:await this[i(392)](e,t,o,r),...a};this[i(418)]?await this[i(397)](c,o,s,n,r):await this[i(443)](c,o,s,n)}async[oc(392)](e,t,n,r){const i=oc;let o,s;return t?(o=i(414),s=i(393)+e+i(417)+t):(o=i(440),s=e),i(385)==this[i(423)](n)?i(412)+o+i(415)+s+i(430):i(380)+o+"\n"+s+i(403)}[oc(423)](e){const t=oc;if(/^anthropic\.claude/[t(391)](e))return t(420);if(/^ai21\.j2/[t(391)](e))return t(396);if(/^cohere\.command/[t(391)](e))return t(454);if(/^meta\.llama/[t(391)](e))return t(385);throw new b(v(this[t(426)][t(384)],t(378),e))}async[oc(397)](e,t,n,r,i){const o=oc,s={method:o(389),headers:await this[o(446)](this[o(379)],i),body:JSON[o(407)]({...e,model:t,stream:n}),signal:this[o(422)][o(400)]},a=await fetch(this[o(418)],s);n?await this[o(448)](a,t,r):await this[o(424)](a,t,r)}async[oc(443)](e,t,n,r){const i=oc,o=new ks(this[i(386)]),s={body:JSON[i(407)](e),contentType:i(399),accept:i(399),modelId:t};let a;if(n){const e=new nc(s);a=await o[i(372)](e,{abortSignal:this[i(422)][i(400)]}),await this[i(406)](a,t,r)}else{const e=new rc(s);a=await o[i(372)](e,{abortSignal:this[i(422)][i(400)]}),await this[i(424)](a,t,r)}}async[oc(406)](e,t,n){const r=oc,i=e[r(373)],o=new TextDecoder(r(387));let s="";for await(const e of i)if(e[r(381)]){const i=o[r(405)](e[r(381)][r(416)]),a=JSON[r(394)](i);s+=this[r(449)](a,t),n(s)}return Promise[r(411)]()}async[oc(448)](e,t,n){const r=oc,i=e[r(373)],o=new TextDecoder(r(387)),s=i[r(447)]();let a="",c="",u=!1;for(;!u;){const{done:e,value:i}=await s[r(377)]();if(u=e,u)break;const d=(a+o[r(405)](i))[r(398)]("\n")[r(413)](e=>{const t=r;try{return a="",JSON[t(394)](e)}catch{return a=e,null}})[r(435)](e=>null!==e);d[r(376)]&&(c+=d[r(413)](e=>this[r(449)](e,t))[r(436)](""),n(c))}return Promise[r(411)]()}async[oc(424)](e,t,n){const r=oc;let i;return i=e instanceof Response?await e[r(450)]():JSON[r(394)](new TextDecoder(r(387))[r(405)](e[r(373)])),n(this[r(449)](i,t)),Promise[r(411)]()}[oc(449)](e,t){const n=oc;switch(this[n(423)](t)){case n(420):return e[n(432)];case n(396):return e[n(445)][0][n(382)][n(419)];case n(454):return e[n(442)][0][n(419)];case n(385):return e[n(452)]}}}function cc(){var e=["2004072ovuHEh","2834235aANNqp","5914601UyhFfI","968609kooFtO","1356742BEiMPp","10517720IJdhpN","156AJpaZn","9yITHUp","261045SZLjpR"];return(cc=function(){return e})()}function uc(e,t){var n=cc();return(uc=function(e,t){return n[e-=358]})(e,t)}!function(e){for(var t=uc,n=e();;)try{if(686445===-parseInt(t(358))/1+-parseInt(t(359))/2+parseInt(t(365))/3+parseInt(t(364))/4+-parseInt(t(363))/5*(-parseInt(t(361))/6)+parseInt(t(366))/7+-parseInt(t(360))/8*(parseInt(t(362))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(cc)})(),(window.CKEditor5=window.CKEditor5||{}).ai=r})();
5
+ */(()=>{var t={6:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],l=r.base?c[0]+r.base:c[0],u=o[l]||0,h="".concat(l," ").concat(u);o[l]=u+1;var d=n(h),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(p);else{var f=i(p,r);r.byIndex=a,e.splice(a,0,{identifier:h,updater:f,references:1})}s.push(h)}return s}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=n(o[s]);e[a].references--}for(var c=r(t,i),l=0;l<o.length;l++){var u=n(o[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}o=c}}},54:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-ai-check-list-item-hover-border-color:#bda3eb;--ck-ai-check-list-item-active-border-color:#743ccd;--ck-ai-check-list-item-title-color:var(--ck-color-text);--ck-ai-check-list-item-description-color:#707070;--ck-ai-check-list-item-title-icon-color:#707070}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list{height:100%;overflow:auto;position:relative}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item{border-bottom:1px solid var(--ck-color-base-border);box-shadow:inset 3px 0 0 0 transparent;opacity:0;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);transition:box-shadow .3s ease-in-out;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item{transition-duration:0s}}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item.ck-ai-review-mode__check-list-item_rendered{opacity:1;transition:box-shadow .3s ease-in-out,opacity .1s calc(.05s*var(--ck-ai-check-list-item-index)),visibility .1s calc(.05s*var(--ck-ai-check-list-item-index));visibility:visible}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item.ck-ai-review-mode__check-list-item_rendered{opacity:1;visibility:visible}}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item.ck-ai-review-mode__check-list-item_selected{box-shadow:3px 0 0 0 var(--ck-ai-check-list-item-active-border-color) inset}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-description,.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title-text{line-height:1.3;white-space:normal}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title{display:flex;justify-content:space-between;margin-block-end:var(--ck-spacing-tiny)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title>.ck-ai-review-mode__check-list-item-title-text{color:var(--ck-ai-check-list-item-title-color);flex-grow:1;font-weight:700}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title>.ck.ck-icon.ck-ai-review-mode__check-list-item-title-icon{--ck-icon-size:20px;color:var(--ck-ai-check-list-item-title-icon-color);flex-shrink:0;margin-inline-start:var(--ck-spacing-small);opacity:0;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title>.ck.ck-icon.ck-ai-review-mode__check-list-item-title-icon{transition-duration:0s}}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item:not(.ck-ai-review-mode__check-list-item_selected):hover{box-shadow:3px 0 0 0 var(--ck-ai-check-list-item-hover-border-color) inset}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item:not(.ck-ai-review-mode__check-list-item_selected):hover .ck-ai-review-mode__check-list-item-title>.ck.ck-icon.ck-ai-review-mode__check-list-item-title-icon{opacity:1;visibility:visible}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-description{color:var(--ck-ai-check-list-item-description-color)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row{padding-left:0;padding-right:0}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai-review-mode__check-list-item-parameterized-form-element{flex:1}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai-review-mode__check-list-item-parameterized-form-element>:first-child{width:100%}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai-review-mode__check-list-item-parameterized-form-element.ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown .ck-button.ck-dropdown__button{border-color:#ccced1}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row>.ck.ck-ai-review-mode__check-list-item-parameterized-form-element.ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown .ck-button.ck-dropdown__button .ck-button__label{width:100%}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-parameterized .ck.ck-form__row .ck.ck-button{flex-shrink:0}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-custom-actions .ck.ck-form__row .ck.ck-input.ck-textarea.ck-review-mode__prompt-input{width:100%}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-custom-actions .ck.ck-form__row .ck-ai-review-mode__check-list-item-custom-actions-footer{align-items:center;display:flex;justify-content:space-between;width:100%}.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-custom-actions .ck.ck-form__row .ck-ai-review-mode__check-list-item-custom-actions-footer .ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons{display:flex;gap:var(--ck-spacing-small)}",""]);const a=s},79:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=s},103:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const a=s},176:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,'.ck-ai-header{--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em;--ck-form-header-height:3em;--ck-form-header-small-icon-color:#333}.ck-ai-header>.ck-button{margin-inline-start:var(--ck-spacing-standard)}.ck-ai-header>.ck-button>.ck-button__icon{--ck-icon-font-size:.666em;color:var(--ck-ai-chat-color-icon)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation{border:1px solid var(--ck-ai-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-chat-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__label{line-height:1.4em}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__icon{--ck-icon-font-size:.632em;color:var(--ck-ai-chat-color-text);margin-inline-end:0}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>span.ck-button__label{position:relative;top:1px}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back{margin-inline-end:var(--ck-spacing-small);margin-inline-start:0}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back>.ck-button__icon{--ck-icon-font-size:13px;color:var(--ck-form-header-small-icon-color)}.ck-ai-header.ck-ai-header_small .ck-form__header__label{--ck-font-size-base:13px;--ck-font-face:var(--ck-ai-chat-font-family);font-weight:500}.ck-ai-header .ck-form__header__label:not(:last-child){margin-inline-end:var(--ck-spacing-small)}.ck{--ck-color-ai-review-mode-suggestion:rgba(116,60,205,.5)}.ck .ck-ai-review-mode{display:flex;flex-direction:column;height:100%;max-height:100%}.ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_add{border-bottom:3px solid var(--ck-color-ai-review-mode-suggestion)}.ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_hide{display:none}.ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough{position:relative}.ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough:before{border-bottom:3px solid var(--ck-color-ai-review-mode-suggestion);content:"";height:60%;position:absolute;width:100%}.ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_underline{border-bottom:3px solid var(--ck-color-ai-review-mode-suggestion)}.ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_add{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);white-space:break-spaces}.ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_hide,.ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_strikethrough{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px;white-space:break-spaces}.ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_underline{border:none}',""]);const a=s},179:function(t){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=90)}({17:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n(18),i=function(){function t(){}return t.getFirstMatch=function(t,e){var n=e.match(t);return n&&n.length>0&&n[1]||""},t.getSecondMatch=function(t,e){var n=e.match(t);return n&&n.length>1&&n[2]||""},t.matchAndReturnConst=function(t,e,n){if(t.test(e))return n},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map(function(t){return parseInt(t,10)||0});if(e.push(0),10===e[0])switch(e[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map(function(t){return parseInt(t,10)||0});if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,n,r){void 0===r&&(r=!1);var i=t.getVersionPrecision(e),o=t.getVersionPrecision(n),s=Math.max(i,o),a=0,c=t.map([e,n],function(e){var n=s-t.getVersionPrecision(e),r=e+new Array(n+1).join(".0");return t.map(r.split("."),function(t){return new Array(20-t.length).join("0")+t}).reverse()});for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(c[0][s]>c[1][s])return 1;if(c[0][s]===c[1][s]){if(s===a)return 0;s-=1}else if(c[0][s]<c[1][s])return-1}},t.map=function(t,e){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n+=1)r.push(e(t[n]));return r},t.find=function(t,e){var n,r;if(Array.prototype.find)return Array.prototype.find.call(t,e);for(n=0,r=t.length;n<r;n+=1){var i=t[n];if(e(i,n))return i}},t.assign=function(t){for(var e,n,r=t,i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[t].concat(o));var a=function(){var t=o[e];"object"==typeof t&&null!==t&&Object.keys(t).forEach(function(e){r[e]=t[e]})};for(e=0,n=o.length;e<n;e+=1)a();return t},t.getBrowserAlias=function(t){return r.BROWSER_ALIASES_MAP[t]},t.getBrowserTypeByAlias=function(t){return r.BROWSER_MAP[t]||""},t}();e.default=i,t.exports=e.default},18:function(t,e,n){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv",bot:"bot"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=function(){function t(){}var e,n,r;return t.getParser=function(t,e){if(void 0===e&&(e=!1),"string"!=typeof t)throw new Error("UserAgent should be a string");return new i.default(t,e)},t.parse=function(t){return new i.default(t).getResult()},e=t,r=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],(n=null)&&s(e.prototype,n),r&&s(e,r),t}();e.default=a,t.exports=e.default},91:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=c(n(92)),i=c(n(93)),o=c(n(94)),s=c(n(95)),a=c(n(17));function c(t){return t&&t.__esModule?t:{default:t}}var l=function(){function t(t,e){if(void 0===e&&(e=!1),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==e&&this.parse()}var e=t.prototype;return e.getUA=function(){return this._ua},e.test=function(t){return t.test(this._ua)},e.parseBrowser=function(){var t=this;this.parsedResult.browser={};var e=a.default.find(r.default,function(e){if("function"==typeof e.test)return e.test(t);if(Array.isArray(e.test))return e.test.some(function(e){return t.test(e)});throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser},e.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},e.getBrowserName=function(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},e.getBrowserVersion=function(){return this.getBrowser().version},e.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},e.parseOS=function(){var t=this;this.parsedResult.os={};var e=a.default.find(i.default,function(e){if("function"==typeof e.test)return e.test(t);if(Array.isArray(e.test))return e.test.some(function(e){return t.test(e)});throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os},e.getOSName=function(t){var e=this.getOS().name;return t?String(e).toLowerCase()||"":e||""},e.getOSVersion=function(){return this.getOS().version},e.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},e.getPlatformType=function(t){void 0===t&&(t=!1);var e=this.getPlatform().type;return t?String(e).toLowerCase()||"":e||""},e.parsePlatform=function(){var t=this;this.parsedResult.platform={};var e=a.default.find(o.default,function(e){if("function"==typeof e.test)return e.test(t);if(Array.isArray(e.test))return e.test.some(function(e){return t.test(e)});throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform},e.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},e.getEngineName=function(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},e.parseEngine=function(){var t=this;this.parsedResult.engine={};var e=a.default.find(s.default,function(e){if("function"==typeof e.test)return e.test(t);if(Array.isArray(e.test))return e.test.some(function(e){return t.test(e)});throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine},e.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},e.getResult=function(){return a.default.assign({},this.parsedResult)},e.satisfies=function(t){var e=this,n={},r=0,i={},o=0;if(Object.keys(t).forEach(function(e){var s=t[e];"string"==typeof s?(i[e]=s,o+=1):"object"==typeof s&&(n[e]=s,r+=1)}),r>0){var s=Object.keys(n),c=a.default.find(s,function(t){return e.isOS(t)});if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}var u=a.default.find(s,function(t){return e.isPlatform(t)});if(u){var h=this.satisfies(n[u]);if(void 0!==h)return h}}if(o>0){var d=Object.keys(i),p=a.default.find(d,function(t){return e.isBrowser(t,!0)});if(void 0!==p)return this.compareVersion(i[p])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),r=t.toLowerCase(),i=a.default.getBrowserTypeByAlias(r);return e&&i&&(r=i.toLowerCase()),r===n},e.compareVersion=function(t){var e=[0],n=t,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(r=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(r=!0,n=t.substr(1)),e.indexOf(a.default.compareVersions(i,n,r))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t,e){return void 0===e&&(e=!1),this.isBrowser(t,e)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some(function(t){return e.is(t)})},t}();e.default=l,t.exports=e.default},92:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/PaleMoon/i],describe:function(t){var e={name:"Pale Moon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var e={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(e.version=n),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/electron/i],describe:function(t){var e={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e={name:"Android Browser"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=s,t.exports=e.default},93:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:o.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.WindowsPhone,version:e}}},{test:[/windows /i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=i.default.getWindowsVersionName(e);return{name:o.OS_MAP.Windows,version:e,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var e={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(e),r={name:o.OS_MAP.MacOS,version:e};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=i.default.getAndroidVersionName(e),r={name:o.OS_MAP.Android,version:e};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:o.OS_MAP.WebOS};return e&&e.length&&(n.version=e),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.PlayStation4,version:e}}}];e.default=s,t.exports=e.default},94:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/googlebot/i],describe:function(){return{type:o.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(n.model=e),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return e&&!n},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var e=i.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),n={type:o.PLATFORMS_MAP.mobile,vendor:"Nokia"};return e&&(n.model=e),n}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=s,t.exports=e.default},95:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:o.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:o.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=t.test(/gecko/i),n=t.test(/like gecko/i);return e&&!n},describe:function(t){var e={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}}];e.default=s,t.exports=e.default}})},237:t=>{"use strict";t.exports=CKEditor5.dll},254:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-ai-dropdown-view-width:250px;--ck-ai-dropdown-view-list-max-height:250px}.ck.ck-ai-commands-search{width:var(--ck-ai-dropdown-view-width)}.ck.ck-ai-commands-search>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-ai-commands-search>.ck-labeled-field-view .ck-input{min-width:unset}.ck.ck-ai-commands-search>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-commands-search>.ck-search__results>.ck-list{max-height:var(--ck-ai-dropdown-view-list-max-height);overflow:auto}",""]);const a=s},276:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0;overflow:hidden}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const a=s},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},328:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption,.ck-content .ck-suggestion-marker-insertion.table>table>caption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>caption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>caption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>caption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const a=s},331:(t,e,n)=>{t.exports=n(237)("./src/clipboard.js")},334:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const a=s},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},364:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=s},369:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=s},407:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck.ck-button.ck-tab-button{border:0;cursor:pointer;justify-content:center;padding:0}.ck.ck-button.ck-tab-button:active,.ck.ck-button.ck-tab-button:focus{box-shadow:none}.ck.ck-button.ck-tab-button:not(.ck-disabled):hover{background-color:var(--ck-color-tab-button-active-background)}.ck.ck-button.ck-tab-button .ck.ck-icon{color:var(--ck-color-tab-button-icon);padding:var(--ck-tab-button-padding)}.ck.ck-button.ck-tab-button.ck-on{background-color:var(--ck-color-tab-button-active-background);border:0}.ck.ck-button.ck-tab-button.ck-on .ck.ck-icon{background-color:var(--ck-color-tab-button-active-background);color:var(--ck-color-tab-button-active-icon)}.ck.ck-button.ck-tab-button.ck-tab-button_top.ck-on{border-bottom:1px solid var(--ck-color-tab-button-active-icon);box-shadow:var(--ck-color-tab-button-active-icon) 0 1px 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_top.ck-on .ck.ck-icon{padding-bottom:calc(var(--ck-tab-button-padding) - 1px)}.ck.ck-button.ck-tab-button.ck-tab-button_left.ck-on{border-left:0;border-right:1px solid var(--ck-color-tab-button-active-icon);box-shadow:var(--ck-color-tab-button-active-icon) 1px 0 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_left.ck-on .ck.ck-icon{padding-right:calc(var(--ck-tab-button-padding) - 1px)}.ck.ck-button.ck-tab-button.ck-tab-button_right.ck-on{border-left:1px solid var(--ck-color-tab-button-active-icon);border-right:0;box-shadow:var(--ck-color-tab-button-active-icon) -1px 0 0 0}.ck.ck-button.ck-tab-button.ck-tab-button_right.ck-on .ck.ck-icon{padding-left:calc(var(--ck-tab-button-padding) - 1px)}",""]);const a=s},422:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-ai-form-submit-button-text-color:var(--ck-color-text);--ck-ai-form-submit-button-border-color:transparent;--ck-ai-form-submit-button-disabled-border-color:transparent;--ck-ai-toolbar-button-hover-color:var(--ck-color-text);--ck-color-ai-selection:rgba(31,176,255,.3)}.ck-ai-assistant-ui_theme{--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#f3ecff;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-background:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;--ck-color-list-button-hover-background:#f3ecff;--ck-ai-form-content-background:#f9f9f9;--ck-ai-form-submit-button-text-color:var(--ck-color-button-on-color);--ck-ai-form-submit-button-border-color:var(--ck-color-button-action-background);--ck-ai-form-submit-button-disabled-border-color:var(--ck-color-button-action-disabled-background);--ck-ai-toolbar-button-hover-color:var(--ck-color-button-on-color);--ck-color-ai-selection:#e2d6f5}.ck-ai-assistant-button:hover,.ck-ai-commands-dropdown>.ck-button:hover{color:var(--ck-ai-toolbar-button-hover-color)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck span.ck-fake-ai-selection-candidate{background:var(--ck-color-ai-selection)}.ck .ck-fake-ai-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}.ck.ck-content.ck-ai-form__content-field h2{font-size:1.3em}.ck.ck-content.ck-ai-form__content-field h3{font-size:1.2em}.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6{font-size:1.1em}.ck.ck-content.ck-ai-form__content-field h2,.ck.ck-content.ck-ai-form__content-field h3,.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6,.ck.ck-content.ck-ai-form__content-field ol,.ck.ck-content.ck-ai-form__content-field p,.ck.ck-content.ck-ai-form__content-field ul{line-height:1.7em;margin-block-end:.5em;margin-block-start:.5em}.ck.ck-content.ck-ai-form__content-field>:first-child{margin-top:0}.ck.ck-content.ck-ai-form__content-field>:last-child{margin-bottom:0}",""]);const a=s},461:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},s=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,i=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(r in t);return void 0===r||e.call(t,r)},a=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(i)return i(t,n).value}return t[n]};t.exports=function t(){var e,n,r,i,l,u,h=arguments[0],d=1,p=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<p;++d)if(null!=(e=arguments[d]))for(n in e)r=c(h,n),h!==(i=c(e,n))&&(f&&i&&(s(i)||(l=o(i)))?(l?(l=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},a(h,{name:n,newValue:t(f,u,i)})):void 0!==i&&a(h,{name:n,newValue:i}));return h}},545:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const a=s},557:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},602:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,o);else{var a=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},609:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-tabs-overlay-top-position:0;--ck-tabs-overlay-right-position:0;--ck-tabs-overlay-left-position:auto;--ck-tabs-overlay-bottom-position:auto;--ck-tabs-overlay-height:100%;--ck-ai-tabs-overlay-width:500px;--ck-ai-tabs-overlay-width-maximized:50%}.ck.ck-tabs.ck-ai-tabs{--ck-tabs-buttons-container-buttons-vertical-spacing:61.5px;--ck-color-tab-button-active-icon:#743ccd;--ck-tabs-panels-container-width:450px}.ck.ck-tabs.ck-ai-tabs .ck-tab-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}.ck.ck-tabs.ck-ai-tabs .ck-tab-panel>*{flex-grow:1}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay{border-bottom:0;border-radius:0;border-top:0;bottom:var(--ck-tabs-overlay-bottom-position);height:var(--ck-tabs-overlay-height);left:var(--ck-tabs-overlay-left-position);position:fixed;right:var(--ck-tabs-overlay-right-position);top:var(--ck-tabs-overlay-top-position);transition:width .3s ease;width:var(--ck-ai-tabs-overlay-width);z-index:calc(var(--ck-z-dialog) - 1)}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-ai-tabs_maximized{width:var(--ck-ai-tabs-overlay-width-maximized)}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-tabs_left{--ck-tabs-overlay-right-position:auto;--ck-tabs-overlay-left-position:0;border-left:0}.ck.ck-tabs.ck-ai-tabs.ck-ai-tabs__overlay.ck-tabs_right{border-right:0}",""]);const a=s},633:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck.ck-aria-description{display:none}",""]);const a=s},639:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck.ck-ai-review-mode .ck-ai-review-mode__check-run{display:flex;flex-direction:column;height:100%;overflow:auto;position:relative}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run:has(.ck-ai-review-mode__check-run-skeleton-container:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result{animation:ck-ai-check-run-list-item-show .25s .1s forwards;box-shadow:inset 3px 0 0 0 transparent;opacity:0;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);transition:box-shadow .3s ease-in-out;transition-behavior:allow-discrete;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result{animation:none;opacity:1;transition-duration:0s;visibility:visible}}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:last-child{border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result .ck-suggestion-marker{white-space:break-spaces}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:hover{box-shadow:3px 0 0 0 var(--ck-ai-check-list-item-hover-border-color) inset}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_active{box-shadow:3px 0 0 0 var(--ck-ai-check-list-item-active-border-color) inset}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-response{overflow:hidden}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-response>*{white-space:normal}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-response img{max-height:125px;max-width:125px}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-footer{align-items:center;display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;margin-top:var(--ck-spacing-standard)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-footer>.ck-ai-review-mode__check-run-result-action-buttons{display:flex;flex-grow:1;gap:var(--ck-spacing-standard)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result>.ck-ai-review-mode__check-run-result-footer .ck.ck-button.ck-ai-review-mode__check-run-result-info-button{--ck-icon-size:16px;--ck-ui-component-min-height:1.75em;margin-left:auto;max-height:var(--ck-ui-component-min-height)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_removing{animation:ck-ai-check-run-item-remove .2s forwards}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header{align-items:center;border-bottom:1px solid var(--ck-color-base-border);display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-title{align-self:center;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-header .ck-ai-review-mode__check-run-results-header-buttons{align-items:center;display:flex;flex-shrink:0;gap:var(--ck-spacing-standard);min-height:30px}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-wrapper{height:100%;overflow:auto;position:relative}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-results-wrapper:has(.ck-ai-review-mode__check-run-skeleton-container:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-skeleton-container{height:100%;position:absolute;top:0;width:100%}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-skeleton-container .ck-ai-review-mode__check-run-skeleton-item{border-bottom:1px solid var(--ck-color-base-border);height:auto;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large);position:static}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-skeleton-container .ck-ai-review-mode__check-run-skeleton-item.ck-ai-skeleton{--ck-ai-skeleton-gap:var(--ck-spacing-small)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-error-container{align-items:flex-end;display:flex;flex-direction:column;gap:var(--ck-spacing-medium-small);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-error-container.ck-ai-review-mode__check-run-error-container_border-bottom{border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-error-container .ck-ai-review-mode__check-run-error-retry-button{border:1px solid var(--ck-ai-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-chat-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}@keyframes ck-ai-check-run-list-item-show{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}@keyframes ck-ai-check-run-item-remove{0%{display:block;opacity:1;visibility:visible}to{display:none;opacity:0;visibility:hidden}}",""]);const a=s},660:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,':root{--ck-color-ai-selection:#e2d6f5;--ck-ai-button-primary-color:#fff;--ck-ai-button-primary-disabled-color:#fff;--ck-ai-button-primary-background-color:#743ccd;--ck-ai-button-primary-disabled-background-color:rgba(116,60,205,.5);--ck-ai-button-primary-hover-background-color:#582aa2;--ck-ai-button-secondary-color:#743ccd;--ck-ai-button-secondary-disabled-color:rgba(116,60,205,.5);--ck-ai-button-secondary-background-color:#fff;--ck-ai-button-secondary-disabled-background-color:hsla(0,0%,100%,.5);--ck-ai-button-secondary-border-color:#c5b2e6;--ck-ai-button-secondary-disabled-border-color:rgba(197,178,230,.5);--ck-ai-button-secondary-hover-background-color:#f2ebff;--ck-ai-button-secondary-active-background-color:#f2ebff}.ck.ai-balloon{--ck-ai-balloon-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;--ck-ai-balloon-disclaimer-text-color:#707070}.ck.ai-balloon .ck-dialog__content{padding:var(--ck-spacing-large);width:580px}.ck.ai-balloon .ck-ai-suggestion__header{display:none}.ck.ai-balloon .ck.ck-ai-balloon__toolbar{border:none;margin-bottom:0;margin-top:var(--ck-spacing-medium);padding:0}.ck.ai-balloon .ck.ck-ai-balloon__toolbar .ck-button_with-text{margin-bottom:0;margin-top:0}.ck.ai-balloon .ck-ai-balloon__disclaimer{margin-top:var(--ck-spacing-medium)}.ck.ai-balloon .ck-ai-balloon__disclaimer .ck-ai-balloon__disclaimer-content{color:var(--ck-ai-balloon-disclaimer-text-color);font-size:.75em;line-height:1.025em;text-align:left;text-wrap:auto;word-break:normal}.ck.ai-balloon .ck-ai-suggestion__body{height:150px;overflow-y:auto;text-wrap:auto;word-break:normal}.ck.ai-balloon .ck-ai-suggestion__body pre>code{white-space:pre-wrap}.ck.ai-balloon .ck-ai-suggestion__changes{height:150px;overflow-y:auto}.ck.ai-balloon *{font-family:var(--ck-ai-balloon-font-family)!important}.ck.ai-balloon .ck-ai-suggestion__body *,.ck.ai-balloon .ck-ai-suggestion__change *,.ck.ai-balloon .ck-ai-suggestion__changes *{line-height:1.4em;white-space:normal}.ck.ai-balloon-rotator .ck.ck-form__header{justify-content:center;position:relative}.ck.ai-balloon-rotator .ck.ck-form__header h2.ck.ck-form__header__label{flex-grow:0}.ck.ai-balloon-rotator .ck.ck-form__header button.ck-button{margin-left:var(--ck-spacing-large);margin-right:var(--ck-spacing-large)}.ck.ai-balloon-rotator .ck.ck-form__header .ck-button:last-child{position:absolute;right:var(--ck-spacing-large)}.ck.ai-balloon-rotator:after{background:var(--ck-color-dialog-background);border:1px solid var(--ck-color-base-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;content:"";height:100%;left:8px;position:absolute;top:8px;width:100%;z-index:-1}.ck.ck-button.ck-ai-button-primary{background-color:var(--ck-ai-button-primary-background-color);border:none;color:var(--ck-ai-button-primary-color)}.ck.ck-button.ck-ai-button-primary:hover{background-color:var(--ck-ai-button-primary-hover-background-color)}.ck.ck-button.ck-ai-button-primary:disabled{background-color:var(--ck-ai-button-primary-disabled-background-color);color:var(--ck-ai-button-primary-disabled-color);cursor:not-allowed}.ck.ck-button.ck-ai-button-secondary{background-color:var(--ck-ai-button-secondary-background-color);border:1px solid var(--ck-ai-button-secondary-border-color);color:var(--ck-ai-button-secondary-color)}.ck.ck-button.ck-ai-button-secondary:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-button.ck-ai-button-secondary.ck-on,.ck.ck-button.ck-ai-button-secondary:active{background-color:var(--ck-ai-button-secondary-active-background-color)}.ck.ck-button.ck-ai-button-secondary:disabled{background-color:var(--ck-ai-button-secondary-disabled-background-color);border:1px solid var(--ck-ai-button-secondary-disabled-border-color);color:var(--ck-ai-button-secondary-disabled-color);cursor:not-allowed}.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader{height:150px;padding:var(--ck-spacing-large)!important}.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader .ck.ck-spinner-container.ck-ai-spinner .ck-spinner,.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader .ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small{--ck-ai-spinner-size:18px}.ck-ai-suggestion__container .ck.ck-ai-suggestion__loader .ck-ai-suggestion__loader-text{margin-left:var(--ck-spacing-medium)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck.ck-dialog-overlay:has(.ai-balloon){z-index:998}',""]);const a=s},690:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const a=s},691:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-header{align-items:center;border-bottom:1px solid var(--ck-color-base-border);display:flex;gap:var(--ck-spacing-standard);justify-content:space-between;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-header .ck-ai-review-mode__review-completed-header-title{align-self:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-header .ck-ai-review-mode__review-completed-header-buttons{display:flex;flex-shrink:0;gap:var(--ck-spacing-standard)}.ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-content{padding:var(--ck-spacing-extra-large) var(--ck-spacing-extra-large) 0 var(--ck-spacing-extra-large);text-align:center}.ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-content .ck-ai-review-mode__review-completed-content-icon{font-size:20px;line-height:20px}.ck.ck-ai-review-mode .ck-ai-review-mode__review-completed .ck-ai-review-mode__review-completed-content .ck-ai-review-mode__review-completed-content-text{margin-top:var(--ck-spacing-large);text-align:center;white-space:normal}",""]);const a=s},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},725:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},774:t=>{"use strict";t.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"},778:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-ai-quick-actions-button-color:#743ccd;--ck-ai-quick-actions-button-background-color:#f3ebff}.ck-ai-quick-actions{width:300px}.ck-ai-quick-actions svg.ck-icon{height:20px;width:20px}:scope .ck-ai-quick-actions-dropdown,:scope .ck-ai-quick-actions-group-panel{--ck-color-list-button-hover-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-default-hover-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-on-background:var(--ck-ai-quick-actions-button-background-color);--ck-color-button-on-hover-background:var(--ck-ai-quick-actions-button-background-color)}:scope .ck-ai-quick-actions-dropdown .ck.ck-button:not(.ck-dropdown__button),:scope .ck-ai-quick-actions-group-panel .ck.ck-button:not(.ck-dropdown__button){border-color:transparent;box-shadow:none}:scope .ck-ai-quick-actions-dropdown .ck.ck-button:not(.ck-dropdown__button):focus,:scope .ck-ai-quick-actions-group-panel .ck.ck-button:not(.ck-dropdown__button):focus{background-color:var(--ck-ai-quick-actions-button-background-color)}:scope .ck-ai-quick-actions-dropdown .ck.ck-button.ck-dropdown__button.ck-on,:scope .ck-ai-quick-actions-group-panel .ck.ck-button.ck-dropdown__button.ck-on{color:var(--ck-ai-quick-actions-button-color)}",""]);const a=s},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},864:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ai-active-icon-size:17px;--ck-ai-loader-icon-color:#d9d9d9;--ck-ai-loader-icon-dot-color:#a6a6a6;--ck-ai-chat-feed-item-spacing:var(--ck-spacing-extra-large)}.ck .ck-ai-chat-history{display:flex;flex-direction:column;height:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__content,.ck .ck-ai-chat-history .ck-search{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--ck-spacing-medium-small);min-height:0;position:relative}.ck .ck-ai-chat-history .ck-ai-chat-history__content .ck-ai-chat-error{margin:var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-medium) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-search>.ck-labeled-field-view{margin-top:var(--ck-spacing-medium);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny)}.ck .ck-ai-chat-history .ck-search__results{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto}.ck .ck-ai-chat-history .ck-dropdown .ck-dropdown__arrow{display:none}.ck .ck-ai-chat-history .ck-ai-chat-history__sections{gap:var(--ck-spacing-medium-small)}.ck .ck-ai-chat-history .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding:0}.ck .ck-ai-chat-history .ck-ai-chat-history__section-title{color:var(--ck-ai-chat-color-icon);font-size:.85em;font-weight:700;line-height:1.85em;padding:.48em .9em 0}.ck .ck-ai-chat-history .ck-ai-chat-history__item,.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-inner{padding:var(--ck-spacing-tiny) var(--ck-spacing-extra-large) var(--ck-spacing-tiny) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-ai-chat-history__item{display:flex;position:relative;transition:transform .3s ease}@media (prefers-reduced-motion:reduce){.ck .ck-ai-chat-history .ck-ai-chat-history__item{transition:none}}.ck .ck-ai-chat-history .ck-ai-chat-history__item:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item--active .ck-ai-chat-history__item-title{font-weight:700}.ck .ck-ai-chat-history .ck-ai-chat-history__item-row{--ck-icon-font-size:.666em;--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em;margin-left:.3em;min-width:0;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions,.ck .ck-ai-chat-history .ck-ai-chat-history__item-row{align-items:center;display:flex;gap:.6em}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions{height:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button{opacity:.7}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button:hover,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button:hover{background:none;opacity:1}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button.ck-on,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button.ck-on{background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-chat-button-hover-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-button.ck-on svg,.ck .ck-ai-chat-history .ck-ai-chat-history__item-actions>.ck-dropdown .ck-dropdown__button.ck-on svg{color:var(--ck-ai-chat-button-active-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input,.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input_focused{background:transparent;border:none;box-shadow:none;padding:0;width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit,.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-ai-chat-history__item-edit .ck-input{background:var(--ck-ai-chat-button-active-background-color)}.ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-ai-chat-history__item-actions{align-items:center}.ck .ck-ai-chat-history .ck-ai-chat-history__item-content{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;justify-content:center;overflow:hidden}.ck .ck-ai-chat-history .ck-ai-chat-history__item-main-content{width:100%}.ck .ck-ai-chat-history .ck-ai-chat-history__item-check-container,.ck .ck-ai-chat-history .ck-ai-chat-history__item-main-content{align-items:center;display:flex;height:2em}.ck .ck-ai-chat-history .ck-ai-chat-history__item-check-container{--ck-icon-font-size:.5em;min-width:var(--ai-active-icon-size)}.ck .ck-ai-chat-history .ck-ai-chat-history__item-date{color:var(--ck-ai-chat-color-icon);line-height:1.385em}.ck .ck-ai-chat-history .ck-ai-chat-history__empty{padding:var(--ck-spacing-tiny) var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-large)}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat-history__empty-message{line-height:1.85em;margin:var(--ck-spacing-large) 0;text-wrap:auto}.ck .ck-ai-chat-history .ck-ai-chat-history__empty .ck-ai-chat-history__open-chat-button{background-color:var(--ck-ai-background-color-action-button);border:none;color:var(--ck-ai-font-color-action-button);font-size:.9em;height:22px;min-height:22px;padding:0 var(--ck-spacing-standard)}.ck .ck-ai-chat-history .ck-confirm-view{--ck-icon-font-size:.666em;--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em}.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-inner{align-items:center;flex:1 0 0;flex-direction:row;gap:.6em;justify-content:space-between;margin-left:var(--ai-active-icon-size)}.ck .ck-ai-chat-history .ck-confirm-view .ck-confirm-view-actions{display:flex;gap:.6em}",""]);const a=s},878:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=s},903:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-ai-form-view-width:600px;--ck-ai-form-content-height:175px;--ck-ai-form-content-background:#fafafa;--ck-ai-form-history-font-size:.9em;--ck-ai-form-error-background:var(--ck-color-light-red)}.ck .ck-ai-form{max-width:100%;width:var(--ck-ai-form-view-width)}@media screen and (max-width:600px){.ck .ck-ai-form{--ck-ai-form-view-width:100vw}}.ck .ck-ai-form .ck-ai-form-content{padding:var(--ck-spacing-large);width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-input{width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper{border:1px solid var(--ck-color-base-border);border-radius:2px;max-height:var(--ck-ai-form-content-height);overflow-y:auto;width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area{background-color:var(--ck-ai-form-content-background);display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area.ck-ai-form__content-area--processing{--ck-color-text:var(--ck-color-input-disabled-text);background-color:var(--ck-color-input-disabled-background)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{box-sizing:content-box;min-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);white-space:normal;width:100%}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-right:0}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-left:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field>*{color:inherit;white-space:normal}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{display:flex;flex-direction:column-reverse;padding-left:2px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button{bottom:1px;min-height:unset;min-width:unset;padding:4px;position:sticky;right:1px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button svg{--ck-icon-size:16px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button.ck-ai-form__copy-button--copied{color:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__toolbar{border:none;margin-bottom:calc(var(--ck-spacing-medium)*2);margin-top:var(--ck-spacing-medium);padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader{align-items:center;display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader .ck-spinner{box-sizing:border-box}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete{display:flex;justify-content:space-between}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view{flex-grow:1}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{border-color:var(--ck-ai-form-submit-button-border-color);color:var(--ck-ai-form-submit-button-text-color)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-left:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-right:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled{border-color:var(--ck-ai-form-submit-button-disabled-border-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{bottom:var(--ck-spacing-small);font-size:var(--ck-font-size-tiny);min-height:unset;min-width:unset;padding:4px;position:absolute;top:var(--ck-spacing-small)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{left:var(--ck-spacing-medium)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-right:30px}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-left:30px}@media screen and (max-width:600px){.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{--ck-input-width:auto}}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>span{grid-area:1/1/2/2}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button{background:none;font-size:var(--ck-ai-form-history-font-size);grid-area:1/2/2/3;justify-self:start;margin:var(--ck-spacing-medium) 0 0;min-height:auto;padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label{line-height:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label:hover{text-decoration:underline}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list{grid-area:2/1/3/3}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list .ck-list__item .ck-button .ck-button__label{font-size:var(--ck-ai-form-history-font-size);line-height:var(--ck-line-height-base);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck .ck-ai-form .ck-ai-form__error{align-items:center;background-color:var(--ck-ai-form-error-background);border-radius:2px;color:var(--ck-color-base-text);display:flex;justify-content:center;margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}",""]);const a=s},909:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,".ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck .ck-confirm-view-active{transform:translate3d(-100%,0,0);transition:all .3s linear}.ck .ck-confirm-view{background-color:var(--ck-color-light-red);display:flex;font-size:var(--ck-font-size-base);height:100%;justify-content:flex-start;left:100%;position:absolute;top:0;width:100%}.ck .ck-confirm-view .ck-confirm-view-inner{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;max-height:400px;padding-top:var(--ck-spacing-standard);width:100%}.ck .ck-confirm-view p{font-weight:700;margin:0}",""]);const a=s},910:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(933),i=n.n(r),o=n(718),s=n.n(o),a=n(725),c=n.n(a),l=new URL(n(774),n.b),u=s()(i()),h=c()(l);u.push([t.id,`:root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(${h});display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}`,""]);const d=u},921:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,":root{--ck-tabs-buttons-container-buttons-vertical-spacing:0;--ck-tabs-panels-container-width:auto;--ck-tabs-panels-container-background:#fff;--ck-tab-button-padding:12px;--ck-tab-button-gap:var(--ck-spacing-medium);--ck-color-tabs-buttons-container-background:#f5f5f5;--ck-color-tab-button-icon:#707070;--ck-color-tab-button-active-icon:#707070;--ck-color-tab-button-active-background:#e8e8e8}.ck.ck-tabs{border:1px solid var(--ck-color-base-border);border-radius:var(--ck-border-radius);display:flex;font-size:var(--ck-font-size-base);height:100%}.ck.ck-tabs.ck-tabs_top{flex-direction:column}.ck.ck-tabs.ck-tabs_left{flex-direction:row}.ck.ck-tabs.ck-tabs_right{flex-direction:row-reverse}.ck.ck-tabs .ck-tabs__panels-container{background-color:var(--ck-tabs-panels-container-background);flex-grow:1;transition:width .8s ease-in-out;transition:height .8s ease-in-out;width:var(--ck-tabs-panels-container-width)}.ck.ck-tabs .ck-tabs__buttons-container{background-color:var(--ck-color-tabs-buttons-container-background);display:flex;gap:var(--ck-tab-button-gap)}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_top{border-bottom:1px solid var(--ck-color-base-border);border-top:none;flex-direction:row}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_left{border-left:none;border-right:1px solid var(--ck-color-base-border)}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right{border-left:1px solid var(--ck-color-base-border);border-right:none}.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_left,.ck.ck-tabs .ck-tabs__buttons-container.ck-tabs__buttons-container_right{flex-direction:column;padding-top:var(--ck-tabs-buttons-container-buttons-vertical-spacing)}",""]);const a=s},933:t=>{"use strict";t.exports=function(t){return t[1]}},962:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(933),i=n.n(r),o=n(718),s=n.n(o)()(i());s.push([t.id,'.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view{width:100%}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view .ck-labeled-field-view__status_error{line-height:1.4em}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{line-height:calc(var(--ck-font-size-base)*2)}[dir=ltr] .ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{padding-right:2.6em}[dir=rtl] .ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper .ck.ck-input.ck-textarea{padding-left:2.6em}.ck.ck-ai-chat__prompt-input.ck-search .ck-labeled-field-view__input-wrapper>.ck.ck-label{visibility:hidden}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button{align-self:flex-end;background-color:var(--ck-ai-background-color-action-button);color:var(--ck-ai-font-color-action-button);height:auto;margin-left:var(--ck-spacing-medium)}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button.ck-disabled{opacity:var(--ck-disabled-opacity)}.ck.ck-ai-chat__prompt-input.ck-search .ck-ai-chat__prompt-submit-button>svg{opacity:1}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities{align-items:center;display:flex;gap:var(--ck-spacing-medium-small);justify-content:space-between;padding-inline-end:calc(var(--ck-ui-component-min-height) + var(--ck-spacing-medium));padding-top:var(--ck-spacing-medium-small)}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button:not(.ck-button_with-text){margin:0;padding:var(--ck-spacing-tiny)}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button>.ck-icon{--ck-icon-size:16px;color:var(--ck-ai-chat-color-icon)}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button--commands{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:auto;padding:0;pointer-events:none;visibility:hidden}.ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls__model-name{color:var(--ck-ai-chat-color-icon)}:root{--ck-ai-chat-context-controls-balloon-width:400px}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls{align-content:center;align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-medium-small);justify-content:flex-start;padding-bottom:var(--ck-spacing-medium-small);padding-top:0}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls:has(.ck-ai-chat-context-controls__pending-contexts:empty){padding-bottom:var(--ck-spacing-small)}.ck.ck-ai-chat-controls .ck-ai-chat-context-controls .ck-ai-chat-context-controls__pending-contexts{display:contents}.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button{bottom:3px;margin:0;opacity:.7;position:absolute}.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button:focus,.ck.ck-ai-chat-controls .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button:hover{opacity:1}:root{--ck-ai-chat-context-balloon-width:290px}.ck.ck-ai-chat .ck-ai-chat-context-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chip{align-items:center;background-color:var(--ck-ai-chat-user-context-background);border:var(--ck-ai-chat-border-width) solid var(--ck-ai-border-color-main);border-radius:var(--ck-ai-border-radius);box-sizing:border-box;color:var(--ck-ai-chat-color-icon);display:inline-flex;flex-shrink:0;justify-content:center;line-height:1;max-width:max(calc(33% - var(--ck-spacing-medium-small) - var(--ck-spacing-large)*2/3),118px);padding:var(--ck-spacing-small) var(--ck-spacing-medium-small);width:auto}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_wide,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_wide{max-width:max(calc(66% - var(--ck-spacing-medium-small)),240px);width:auto}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_document,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_document{max-width:unset}.ck.ck-ai-chat .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip{animation:ck-ai-new-item-flash var(--ck-ai-chat-animation-duration) var(--ck-ai-chat-animation-timing)}.ck.ck-ai-chat .ck-ai-chat-context-chip>.ck-ai-chat-context-chip__label,.ck.ck-balloon-panel .ck-ai-chat-context-chip>.ck-ai-chat-context-chip__label{color:var(--ck-ai-chat-color-icon);display:inline-block;font-size:.9em;line-height:1.25;margin:0 var(--ck-spacing-medium-small);overflow:hidden;text-overflow:ellipsis}.ck.ck-ai-chat .ck-ai-chat-context-chip>.ck-icon.ck-ai-chat-context-chip__type-icon,.ck.ck-balloon-panel .ck-ai-chat-context-chip>.ck-icon.ck-ai-chat-context-chip__type-icon{--ck-icon-size:1em;flex-shrink:0;font-size:1em;fill:var(--ck-ai-chat-color-icon)}.ck.ck-ai-chat .ck-ai-chat-context-chip .ck-button,.ck.ck-balloon-panel .ck-ai-chat-context-chip .ck-button{--ck-ui-component-min-height:1em;border:none;max-height:var(--ck-ui-component-min-height);max-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny)}.ck.ck-ai-chat .ck-ai-chat-context-chip .ck-button>.ck-icon,.ck.ck-balloon-panel .ck-ai-chat-context-chip .ck-button>.ck-icon{--ck-icon-size:1em;font-size:1em;fill:var(--ck-ai-chat-color-icon)}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper{align-items:center;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-medium-small);justify-content:flex-end;margin-bottom:0;padding:0;width:100%}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon{align-items:center;display:flex;flex-wrap:wrap;gap:var(--ck-spacing-standard);justify-content:flex-start;max-height:10em;overflow-y:auto;padding:var(--ck-spacing-standard);width:var(--ck-ai-chat-context-balloon-width)}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip{max-width:max(calc(50% - var(--ck-spacing-standard)),110px)}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon.ck-ai-chat-context-chip_wide,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon.ck-ai-chat-context-chip_wide{max-width:100%}.ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip,.ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper-balloon .ck-ai-chat-context-chip.ck-ai-chat-context-chip_new-chip{animation:none}@keyframes ck-ai-new-item-flash{0%{background-color:var(--ck-ai-chat-flash-color);border-color:var(--ck-ai-chat-flash-color-text);color:var(--ck-ai-chat-flash-color-text)}to{background-color:var(--ck-ai-chat-user-context-background);border-color:var(--ck-ai-border-color-main);color:var(--ck-ai-chat-color-icon)}}.ck.ck-button.ck-ai-chat-controls-button{--ck-ui-component-min-height:1.88em;align-items:center;display:flex;flex-shrink:0;justify-content:center;padding:var(--ck-spacing-tiny)}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-button_with-text){margin:0 0 var(--ck-spacing-tiny) 0;padding:var(--ck-spacing-tiny)}.ck.ck-button.ck-ai-chat-controls-button.ck-button_with-text.ck-ai-chat-controls_context_show-more-button{border-width:0;display:block;letter-spacing:-.1em;padding:0;text-align:center}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):hover{background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-chat-button-hover-color)}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):hover .ck-button__icon{fill:var(--ck-ai-chat-button-hover-color)}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):active{background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-chat-button-active-color)}.ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):active .ck-button__icon{fill:var(--ck-ai-chat-button-active-color)}.ck.ck-button.ck-ai-chat-controls-button.ck-on:not(.ck-disabled):not(:hover):not(:active):not(.ck-disabled){background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-chat-button-active-color)}.ck.ck-button.ck-ai-chat-controls-button.ck-on:not(.ck-disabled):not(:hover):not(:active):not(.ck-disabled) .ck-button__icon{color:var(--ck-ai-chat-button-active-color)}.ck.ck-button.ck-ai-chat-controls-button>.ck-icon{--ck-icon-size:16px}.ck.ck-button.ck-ai-chat-controls-button .ck-dropdown__arrow{display:none}:root{--ck-ai-chat-loader-icon-dot-color:#ccced1;--ck-ai-chat-loader-icon-dot-active-color:#333;--ck-ai-loader-dot-pulse-dot-size:6px;--ck-ai-loader-dot-pulse-width:40px;--ck-ai-loader-dot-pulse-height:20px;--ck-ai-loader-dot-pulse-border-radius:8px;--ck-ai-loader-dot-pulse-animation-delay:0.3s}.ck-ai-chat-controls-loader{align-items:center;color:var(--ck-color-input-disabled-text);display:flex}.ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon{align-items:center;background-color:var(--ck-ai-chat-loader-icon-color);border-radius:var(--ck-ai-loader-dot-pulse-border-radius);box-sizing:border-box;display:flex;height:var(--ck-ai-loader-dot-pulse-height);justify-content:space-between;margin-inline-end:var(--ck-spacing-standard);padding:var(--ck-spacing-small) var(--ck-spacing-medium-small);width:var(--ck-ai-loader-dot-pulse-width)}.ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot{animation:ck-ai-loader-dot-pulse var(--ck-ai-chat-loader-animation-duration) infinite;background-color:var(--ck-ai-chat-loader-icon-dot-color);border-radius:50%;flex-shrink:0;height:var(--ck-ai-loader-dot-pulse-dot-size);width:var(--ck-ai-loader-dot-pulse-dot-size)}.ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:first-child{animation-delay:0s}.ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(2){animation-delay:var(--ck-ai-loader-dot-pulse-animation-delay)}.ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(3){animation-delay:calc(var(--ck-ai-loader-dot-pulse-animation-delay)*2)}.ck.ck-button.ai-chat-controls-loader__cancel-button{border:var(--ck-ai-chat-border-width) solid var(--ck-ai-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-chat-color-text);min-height:22px;padding:0 var(--ck-spacing-medium) 0 var(--ck-spacing-small)}.ck.ck-button.ai-chat-controls-loader__cancel-button .ck.ck-icon.ck-button__icon{color:var(--ck-ai-chat-color-text);height:14px;margin-right:4px;width:14px}.ck.ck-button.ai-chat-controls-loader__cancel-button:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck-ai-chat-controls-loader-wrapper{display:flex;justify-content:space-between}@keyframes ck-ai-loader-dot-pulse{0%,80%,to{background-color:var(--ck-ai-chat-loader-icon-dot-color)}40%{background-color:var(--ck-ai-chat-loader-icon-dot-active-color)}}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel{max-width:250px;min-width:157px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button{display:flex;padding-left:var(--ck-spacing-extra-large);padding-right:var(--ck-spacing-extra-large);width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:first-child{margin-top:var(--ck-spacing-tiny)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:last-child{margin-bottom:var(--ck-spacing-tiny)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button .ck-icon.ck-button__icon{--ck-icon-size:16px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button .ck-button__label{line-height:var(--ck-line-height-base);margin:0}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button>.ck-ai-chat-context-controls__balloon-button-source__arrow{margin-left:var(--ck-spacing-standard);margin-right:calc(var(--ck-spacing-small)*-1);transform:rotate(-90deg);width:var(--ck-dropdown-arrow-size)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__add-context-balloon-panel .ck-ai-chat-context-controls__balloon-button>span{flex-grow:1}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form{line-height:var(--ck-form-header-height);width:var(--ck-ai-chat-context-controls-balloon-width)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section{align-items:flex-start;display:flex;padding:var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view{width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-input{font:normal normal normal var(--ck-font-size-base) /var(--ck-line-height-base) var(--ck-font-face);line-height:var(--ck-line-height-base);vertical-align:middle;width:100%}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{visibility:hidden}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button{background-color:var(--ck-ai-background-color-action-button);color:var(--ck-ai-font-color-action-button);height:auto;margin-left:var(--ck-spacing-medium)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button.ck-disabled{opacity:.5}.ck.ck-balloon-panel.ck-ai-chat-context-controls__url-balloon-panel .ck-ai-chat-context-controls__url-form .ck-ai-chat-context-controls__url-input-section>.ck.ck-button.ck-disabled>.ck-button__icon{opacity:1}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel{height:319px;width:var(--ck-ai-chat-context-controls-balloon-width)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel:has(.ck-ai-skeleton:not(.ck-hidden)){overflow:hidden}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck.ck-search__query_with-icon{padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-tiny) var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-skeleton{--ck-ai-skeleton-gap:var(--ck-spacing-small);padding-bottom:var(--ck-spacing-standard);padding-top:var(--ck-spacing-standard)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list{height:233px;overflow-x:hidden;overflow-y:auto}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item{align-items:center;border-radius:var(--ck-border-radius);cursor:pointer;display:flex;padding:var(--ck-spacing-tiny) var(--ck-spacing-extra-large);transition:background-color .2s}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context{color:rgba(51,51,51,.5);pointer-events:none}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context *{color:inherit}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon{align-items:center;display:flex;flex-shrink:0;height:1.14em;justify-content:center;margin-right:.35em}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon .ck-icon{height:1.368em;fill:currentColor}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context .ck-ai-chat-resources__item__icon{color:rgba(51,51,51,.5)}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item-title{flex:1;font-size:1em;line-height:var(--ck-line-height-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list.ck-hidden{display:none}.ck.ck-balloon-panel.ck-ai-chat-context-controls__chip-tooltip{max-width:180px}.ck.ck-balloon-panel.ck-ai-chat-context-controls__chip-tooltip .ck.ck-tooltip__text{display:inline-block;padding:var(--ck-tooltip-text-padding) 0;white-space:normal}.ck.ck-ai-chat-controls{border-top:var(--ck-ai-chat-border-width) solid var(--ck-color-base-border);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-standard)}.ck.ck-ai-chat-controls:has(>:first-child.ck-hidden){padding-bottom:var(--ck-spacing-large)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection{line-height:0}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne{bottom:calc(100% + 10px);max-height:600px;max-width:max-content;overflow-y:scroll;padding-top:.5em;top:auto;width:426px}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne:after,.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne:before{border-color:var(--ck-color-panel-border) transparent transparent;border-style:solid;border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);bottom:calc(var(--ck-balloon-arrow-height)*-1);content:"";height:0;left:calc(var(--ck-balloon-arrow-half-width)*2);position:absolute;width:0}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne:before{filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1);z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne:after{margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width));z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button{border:0;color:var(--ck-ai-chat-color-icon);font-size:.9em;margin-inline-end:0;min-height:auto;padding-bottom:0;padding-top:0}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on .ck-dropdown__arrow{transform:rotate(180deg)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button .ck-button__label{width:auto}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on,.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover{background-color:var(--ck-ai-chat-button-active-background-color);color:var(--ck-ai-background-color-action-button)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on .ck-dropdown__arrow,.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover .ck-dropdown__arrow{color:var(--ck-ai-background-color-action-button)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item:not(:last-child){margin-bottom:var(--ck-spacing-medium-small)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button{align-items:start}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-list-item-button__check-holder{height:1.2em}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-list-item-button__check-holder>.ck-list-item-button__check-icon{padding-top:2px}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label{line-height:1.3}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-name{font-weight:500;line-height:1.3}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-description{line-height:1.3;padding-top:var(--ck-spacing-tiny)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-description>span{color:var(--ck-ai-chat-color-icon);line-height:1;white-space:normal}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities{line-height:1.3;--ck-icon-font-size:.5em}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>span{color:var(--ck-ai-chat-color-icon)}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>span:nth-of-type(2n){display:inline-block;font-weight:700;width:4ch}.ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list>.ck-list__item>.ck-button>.ck-button__label>.ck-ai-chat-controls__model-selection__item-capabilities>.ck-icon{color:var(--ck-ai-chat-color-icon);margin-inline-end:var(--ck-spacing-standard);fill:var(--ck-ai-chat-color-icon)}:root{--ck-ai-chat-feed-item-color-text:#000;--ck-ai-chat-feed-item-color-background:#f5f5f5;--ck-ai-chat-feed-item-color-background-secondary:#f5f5f5;--ck-ai-chat-feed-item-color-actions-button-hover:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background:#f2ebff;--ck-ai-chat-feed-item-color-show-changes-toggle-on-color:#582aa2;--ck-ai-chat-feed-item-color-show-changes-toggle-on-background:#f2ebff;--ck-ai-chat-feed-item-color-show-changes-toggle-active-background:#f2ebff;--ck-ai-chat-feed-interaction-header-capabilities-color-text:#707070}.ck.ck-ai-chat__feed{align-items:stretch;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--ck-spacing-large);justify-content:flex-start;overflow-y:auto;padding-bottom:var(--ck-spacing-extra-large);position:relative}.ck.ck-ai-chat__feed:has(.ck-ai-skeleton:not(.ck-hidden)){overflow:hidden}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items{display:flex;flex-direction:column;gap:var(--ck-spacing-extra-large) 0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__items>.ck-ai-chat__feed__item:first-child{margin-top:var(--ck-spacing-extra-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item{margin:0 var(--ck-spacing-large);scroll-margin:var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{transition:opacity .4s,display allow-discrete .4s}@starting-style{.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{opacity:0}}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle{--ck-color-button-default-hover-background:var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);--ck-color-button-on-hover-background:var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);--ck-color-button-default-active-background:var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);--ck-color-button-on-background:var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);--ck-color-focus-border:var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);--ck-focus-ring:1px solid var(--ck-color-focus-border);color:var(--ck-ai-chat-color-icon);font-size:var(--ck-ai-chat-suggestion-container-header-font-size);min-height:22px;padding:0 var(--ck-spacing-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:hover{color:var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:active{box-shadow:none;color:var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle.ck-on{color:var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:focus{border:1px solid transparent}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle>.ck-icon{height:16px;margin-left:var(--ck-spacing-medium);margin-right:0;width:16px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-chat__feed__ai-suggestion__actions,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-mini-toolbar,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item:not(.ck-ai-chat__feed__item_done) .ck-ai-suggestion__header__show-changes-toggle{display:none;opacity:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item{text-wrap:auto;word-break:normal}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item pre>code{white-space:pre-wrap}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message:has(.ck-ai-chat-context-chips-wrapper){max-width:100%}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message .ck-ai-chat__feed__message-content{margin-inline-end:0;margin-inline-start:auto;max-width:80%;text-align:end}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message p{background-color:var(--ck-ai-chat-feed-item-color-background-secondary);border-radius:var(--ck-ai-border-radius);display:inline-block;padding:8px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions{--ck-color-split-button-hover-background:var(--ck-ai-background-color-action-button);margin-top:var(--ck-spacing-medium);width:fit-content}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button{--ck-color-button-default-background:var(--ck-ai-background-color-action-button);--ck-color-button-default-hover-background:var(--ck-ai-chat-feed-item-color-actions-button-hover);--ck-color-button-on-hover-background:var(--ck-ai-chat-feed-item-color-actions-button-hover);--ck-color-button-default-active-background:var(--ck-ai-chat-feed-item-color-actions-button-hover);--ck-color-button-on-background:var(--ck-ai-chat-feed-item-color-actions-button-hover);--ck-color-button-on-active-background:var(--ck-ai-chat-feed-item-color-actions-button-hover);--ck-color-focus-border:var(--ck-color-base-background);--ck-focus-ring:1px solid var(--ck-color-focus-border);color:var(--ck-color-base-background)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-splitbutton__action{border-radius:0}.ck-rounded-corners .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-splitbutton__action,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-splitbutton__action.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-splitbutton__arrow{color:var(--ck-color-base-background);width:1.9em}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-splitbutton__arrow:after{background:var(--ck-color-base-background);content:"";height:100%;left:-1px;position:absolute;width:1px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck-ai-chat__feed__ai-suggestion .ck-ai-chat__feed__ai-suggestion__actions>.ck-button.ck-disabled{background:rgba(116,60,205,.5)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities{align-items:center;color:var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);display:flex;gap:4px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities svg{background-color:var(--ck-tabs-panels-container-background);border-radius:50%;flex-shrink:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities svg:not(:first-child){margin-left:calc(var(--ck-icon-size)*-.75)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__interaction-header .ck-ai-chat__feed__interaction-header__capabilities__text{color:var(--ck-ai-chat-feed-interaction-header-capabilities-color-text);font-weight:500}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-reply-container>:first-child{margin-top:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__ai-reply-container>:last-child{margin-bottom:0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__ai-suggestion .ck-ai-suggestion__body *,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__text-item\n\t\t:not(.ck-ai-chat__feed__context-chips):not(.ck-ai-chat__feed__context-chips *):not(.ck-ai-web-source .ck-button__label){line-height:1.4em;white-space:normal}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-chat__feed__context-chips{display:flex;justify-content:flex-end;margin-bottom:var(--ck-spacing-medium-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources{display:grid;gap:var(--ck-spacing-standard);grid-template-columns:repeat(3,1fr);padding:var(--ck-spacing-medium-small) var(--ck-spacing-large) var(--ck-spacing-extra-large) var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header{font-size:12px;font-weight:500;grid-column-start:span 3;line-height:1.4em}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header>.ck-icon{color:#707070;height:14px;margin-right:var(--ck-spacing-medium-small);vertical-align:text-bottom;width:14px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-sources__header>span{color:#707070}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source{background-color:var(--ck-ai-chat-feed-item-color-background);border:0;border-radius:50px;padding:var(--ck-spacing-medium) var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source:active,.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source:focus{box-shadow:none}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-button__icon{color:var(--ck-ai-button-primary-background-color);height:16px;margin-right:var(--ck-spacing-medium);width:16px}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-button__label{font-size:10px;font-weight:700;line-height:1.4em;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-web-sources>.ck-ai-web-source .ck-ai-web-source__title{align-items:center;display:flex;gap:var(--ck-spacing-small)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item>.ck-ai-web-sources{padding:var(--ck-spacing-extra-large) 0 var(--ck-spacing-medium) 0}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader{align-items:flex-start;display:flex}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader .ck.ck-spinner-container.ck-ai-spinner{margin:0 var(--ck-spacing-large)}.ck.ck-ai-chat__feed .ck.ck-ai-chat__loader .ck.ck-ai-chat__loader-text{font-weight:500;line-height:1.462em;white-space:normal}.ck-ai-chat__feed__ai-suggestion__actions__balloon .ck-button.ck-list-item-button{padding-bottom:0;padding-top:0}@keyframes ck-html-streamer-fade-in{0%{opacity:0}to{opacity:1}}:root{--ck-ai-chat-suggestion-container-header-font-size:.9em;--ck-ai-background-color-action-button-semi-transparent:rgba(116,60,205,.5)}.ck.ck-ai-suggestion__container{border-radius:0;--ck-border-radius:4px;border:1px solid var(--ck-color-base-border);position:relative}.ck-rounded-corners .ck.ck-ai-suggestion__container,.ck.ck-ai-suggestion__container.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header{align-items:center;border-bottom:1px solid var(--ck-color-base-border);display:flex;flex-direction:row;height:3.23em;justify-content:space-between;padding:0 var(--ck-spacing-large)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>span{color:var(--ck-ai-chat-color-icon);flex-grow:1;font-size:var(--ck-ai-chat-suggestion-container-header-font-size);font-weight:700}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-icon{color:var(--ck-ai-chat-color-icon);height:14px;margin-right:var(--ck-spacing-medium);width:14px}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton{--ck-switch-button-toggle-width:2.307em;--ck-switch-button-toggle-inner-size:1em;--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-color-switch-button-off-background:var(--ck-ai-chat-color-icon)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__label{font-size:var(--ck-ai-chat-suggestion-container-header-font-size);margin-right:var(--ck-spacing-standard)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__toggle{border-radius:var(--ck-switch-button-toggle-inner-size)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__header>.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:100%}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-parts{display:flex;flex-direction:column}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part{padding-bottom:var(--ck-spacing-large);position:relative}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title{align-items:center;color:var(--ck-ai-background-color-action-button);display:flex;height:2.308em;justify-content:space-between}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title>.ck-ai-suggestion__body__content-part__icon-title{background:var(--ck-color-base-background);border-radius:100%;box-shadow:0 0 5px 6px var(--ck-color-base-background);clip-path:inset(-6px 0 -6px 0);left:calc(var(--ck-spacing-large)*-1.8);position:absolute}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title>.ck-ai-suggestion__body__content-part__icon-accepted{color:var(--ck-color-base-action)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title>.ck-ai-suggestion__body__content-part__icon-rejected{color:var(--ck-color-base-error)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title>.ck-icon,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title>.ck-toolbar .ck-icon{--ck-icon-size:1.477em}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title .ck-toolbar{border:0}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title .ck-toolbar .ck-button{margin:0;opacity:.6}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content :last-child{margin-bottom:var(--ck-spacing-medium);padding-bottom:0}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:hover .ck-ai-suggestion__body__content-part__title .ck-toolbar{opacity:1;visibility:visible}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part:not(:last-child):after{clear:both;content:"...";display:block;text-align:center;width:100%}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:hover:before{border-left:2px solid #c5b2e6;content:"";height:100%;left:calc(var(--ck-spacing-large)*-1 - 1px);position:absolute;top:5px}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child:before{height:calc(100% - 10px)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_active:last-child:first-child:before{display:none}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__content,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__title\n\t\t\t:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *),.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__content,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__title\n\t\t\t:not(.ck-ai-suggestion__body__content-part__icon-title):not(.ck-ai-suggestion__body__content-part__icon-title *){opacity:.5}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted .ck-ai-suggestion__body__content-part__icon-title,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected .ck-ai-suggestion__body__content-part__icon-title{color:var(--ck-ai-background-color-action-button-semi-transparent)}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_accepted:after,.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part_rejected:after{opacity:.5}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck.ck-ai-chat__feed__item.ck-ai-chat-error_warning{margin-bottom:var(--ck-spacing-large);margin-left:0;margin-right:0}.ck.ck-ai-suggestion__container .ck-ai-suggestion__body,.ck.ck-ai-suggestion__container .ck-ai-suggestion__changes{padding:var(--ck-spacing-large);padding-bottom:0}.ck.ck-ai-mini-toolbar{--ck-color-button-action-background:#743ccd;--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#f3ecff;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;bottom:0;position:absolute;right:var(--ck-spacing-large);transform:translateY(50%)}.ck.ck-ai-mini-toolbar .ck.ck-button{color:var(--ck-ai-chat-color-icon);font-family:var(--ck-ai-chat-font-family);font-size:.9em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-on{color:var(--ck-ai-background-color-action-button)}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text{box-sizing:border-box;flex-direction:row-reverse;min-height:2.1em;padding-left:.3em;padding-right:.3em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text span{line-height:1.4em}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-button_with-text svg{margin-left:var(--ck-spacing-medium);margin-right:0;--ck-icon-size:16px}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button .ck-ai-mini-toolbar-copy-button__check-mark{color:var(--ck-color-base-action);display:none;position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button.ck-ai-mini-toolbar-copy-button_copied .ck-button__icon{display:none}.ck.ck-ai-mini-toolbar .ck.ck-button.ck-ai-mini-toolbar-copy-button.ck-ai-mini-toolbar-copy-button_copied .ck-ai-mini-toolbar-copy-button__check-mark{animation-duration:1s;animation-iteration-count:1;animation-name:ck-ai-mini-toolbar-copy-animation;animation-timing-function:ease-out;display:block}@keyframes ck-ai-mini-toolbar-copy-animation{0%{clip-path:inset(0 100% 0 0)}50%{clip-path:inset(0 0 0 0)}to{clip-path:inset(0 0 0 0)}}.ck-ai-header{--ck-ui-component-min-height:1.7em;--ck-ui-component-min-width:1.7em;--ck-form-header-height:3em;--ck-form-header-small-icon-color:#333}.ck-ai-header>.ck-button{margin-inline-start:var(--ck-spacing-standard)}.ck-ai-header>.ck-button>.ck-button__icon{--ck-icon-font-size:.666em;color:var(--ck-ai-chat-color-icon)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation{border:1px solid var(--ck-ai-border-color-button);border-radius:var(--ck-border-radius);color:var(--ck-ai-chat-color-text);font-size:11.7px;gap:var(--ck-spacing-small);min-height:unset}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation:hover{background-color:var(--ck-ai-chat-button-active-background-color)}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__label{line-height:1.4em}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>.ck-button__icon{--ck-icon-font-size:.632em;color:var(--ck-ai-chat-color-text);margin-inline-end:0}.ck-ai-header>.ck.ck-button.ck-ai-chat__start-conversation>span.ck-button__label{position:relative;top:1px}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back{margin-inline-end:var(--ck-spacing-small);margin-inline-start:0}.ck-ai-header.ck-ai-header_small>.ck.ck-button.ck-button-back>.ck-button__icon{--ck-icon-font-size:13px;color:var(--ck-form-header-small-icon-color)}.ck-ai-header.ck-ai-header_small .ck-form__header__label{--ck-font-size-base:13px;--ck-font-face:var(--ck-ai-chat-font-family);font-weight:500}.ck-ai-header .ck-form__header__label:not(:last-child){margin-inline-end:var(--ck-spacing-small)}:root{--ck-ai-chat-color-background-error:#fff4f0;--ck-ai-chat-color-background-warning:rgba(255,184,77,.1);--ck-ai-chat-color-border-error:#ff825c;--ck-ai-chat-color-border-warning:#ffb84d}.ck.ck-ai-chat-error{align-items:flex-start;background-color:var(--ck-ai-chat-color-background-error);border:1px solid var(--ck-ai-chat-color-border-error);border-radius:var(--ck-ai-border-radius);display:flex;gap:var(--ck-spacing-medium);justify-content:space-between;padding:var(--ck-spacing-standard);width:fit-content}.ck.ck-ai-chat-error.ck-ai-chat-error_warning{background-color:var(--ck-ai-chat-color-background-warning);border-color:var(--ck-ai-chat-color-border-warning)}.ck.ck-ai-chat-error>p{color:var(--ck-color-base-text);flex:1;line-height:var(--ck-line-height-base);max-width:calc(100% - 16px - var(--ck-spacing-medium));white-space:normal}.ck.ck-ai-chat-error>.ck-button{--ck-icon-font-size:0.666em}.ck.ck-ai-chat-error>.ck-button.ck-ai-chat-error__dismiss-button{--ck-icon-font-size:0.666em;--ck-ui-component-min-height:16px;flex-shrink:0;padding:0}.ck.ck-ai-chat-error.ck-ai-chat-error_full-width>p{max-width:100%}:root{--ai-skeleton-z-index:calc(var(--ck-z-default) + 1);--ck-ai-skeleton-item-background:linear-gradient(90deg,#fafafa,#f0f0f0 50%,#fafafa);--ck-ai-skeleton-animation-duration:1s;--ck-ai-skeleton-gap:var(--ck-spacing-extra-large)}.ck.ck-ai-skeleton{align-items:flex-end;background-color:var(--ck-color-base-background);display:flex;flex-direction:column;gap:var(--ck-ai-skeleton-gap) 0;height:100%;inset:0;opacity:1;padding:var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-large);position:absolute;transition:opacity .4s,display allow-discrete .4s;transition-delay:.35s;width:100%;z-index:var(--ai-skeleton-z-index)}.ck.ck-ai-skeleton.ck-hidden{opacity:0;transition-delay:0s}@starting-style{.ck.ck-ai-skeleton{opacity:0}}.ck.ck-ai-skeleton>.ck.ck-ai-skeleton__item{animation:var(--ck-ai-skeleton-animation-duration) ck-ai-skeleton-shine linear infinite;background:var(--ck-ai-skeleton-item-background);background-size:200% 100%;width:100%}@keyframes ck-ai-skeleton-shine{to{background-position-x:-200%}}:root{--ck-ai-spinner-size:var(--ck-toolbar-spinner-size);--ck-ai-spinner-background:linear-gradient(90deg,#fff,#949494);--ck-ai-spinner-mask:radial-gradient(farthest-side,transparent 66%,#000 0);--ck-ai-spinner-animation-duration:1s}.ck.ck-spinner-container.ck-ai-spinner{animation-duration:var(--ck-ai-spinner-animation-duration);display:inline-block;flex-shrink:0;height:var(--ck-ai-spinner-size);margin:0;width:var(--ck-ai-spinner-size)}.ck.ck-spinner-container.ck-ai-spinner .ck-spinner{background:var(--ck-ai-spinner-background);border:none;box-sizing:border-box;height:var(--ck-ai-spinner-size);-webkit-mask:var(--ck-ai-spinner-mask);mask:var(--ck-ai-spinner-mask);width:var(--ck-ai-spinner-size)}.ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small{--ck-ai-spinner-size:1em}.ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_tiny{--ck-ai-spinner-size:12px}.ck.ck-spinner-container.ck-hidden{animation:none;display:none}@keyframes ck-spin{to{transform:rotate(1turn)}}:root{--ck-ai-button-primary-color:#fff;--ck-ai-button-primary-disabled-color:#fff;--ck-ai-button-primary-background-color:#743ccd;--ck-ai-button-primary-disabled-background-color:rgba(116,60,205,.5);--ck-ai-button-primary-hover-background-color:#582aa2;--ck-ai-button-secondary-color:#743ccd;--ck-ai-button-secondary-disabled-color:rgba(116,60,205,.5);--ck-ai-button-secondary-background-color:#fff;--ck-ai-button-secondary-disabled-background-color:hsla(0,0%,100%,.5);--ck-ai-button-secondary-border-color:#c5b2e6;--ck-ai-button-secondary-disabled-border-color:rgba(197,178,230,.5);--ck-ai-button-secondary-hover-background-color:#f2ebff;--ck-ai-button-secondary-active-background-color:#f2ebff;--ck-ai-button-tertiary-text-color:#743ccd;--ck-ai-button-tertiary-disabled-text-color:rgba(116,60,205,.5);--ck-ai-button-tertiary-text-background-color:transparent;--ck-ai-button-tertiary-text-hover-background-color:#f2ebff;--ck-ai-button-tertiary-filled-color:#707070;--ck-ai-button-tertiary-filled-disabled-color:hsla(0,0%,44%,.5);--ck-ai-button-tertiary-filled-hover-color:#333;--ck-ai-button-tertiary-filled-active-color:#743ccd;--ck-ai-button-tertiary-filled-background-color:transparent;--ck-ai-button-tertiary-filled-disabled-background-color:#ededed;--ck-ai-button-tertiary-filled-hover-background-color:#f2ebff;--ck-ai-button-tertiary-filled-active-background-color:#f2ebff}.ck.ck-button.ck-ai-button-primary{background-color:var(--ck-ai-button-primary-background-color);border:none;color:var(--ck-ai-button-primary-color)}.ck.ck-button.ck-ai-button-primary:hover{background-color:var(--ck-ai-button-primary-hover-background-color)}.ck.ck-button.ck-ai-button-primary.ck-disabled,.ck.ck-button.ck-ai-button-primary:disabled{background-color:var(--ck-ai-button-primary-disabled-background-color);color:var(--ck-ai-button-primary-disabled-color);cursor:not-allowed}.ck.ck-button.ck-ai-button-primary.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-primary.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-primary:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-primary:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-secondary{background-color:var(--ck-ai-button-secondary-background-color);border:1px solid var(--ck-ai-button-secondary-border-color);color:var(--ck-ai-button-secondary-color)}.ck.ck-button.ck-ai-button-secondary:hover{background-color:var(--ck-ai-button-secondary-hover-background-color)}.ck.ck-button.ck-ai-button-secondary.ck-on,.ck.ck-button.ck-ai-button-secondary:active{background-color:var(--ck-ai-button-secondary-active-background-color)}.ck.ck-button.ck-ai-button-secondary.ck-disabled,.ck.ck-button.ck-ai-button-secondary:disabled{background-color:var(--ck-ai-button-secondary-disabled-background-color);border:1px solid var(--ck-ai-button-secondary-disabled-border-color);color:var(--ck-ai-button-secondary-disabled-color);cursor:not-allowed}.ck.ck-button.ck-ai-button-secondary.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-secondary.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-secondary:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-secondary:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-tertiary-text{background-color:var(--ck-ai-button-tertiary-text-background-color);border:none;color:var(--ck-ai-button-tertiary-text-color)}.ck.ck-button.ck-ai-button-tertiary-text:hover{background-color:var(--ck-ai-button-tertiary-text-hover-background-color)}.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled,.ck.ck-button.ck-ai-button-tertiary-text:disabled{color:var(--ck-ai-button-tertiary-disabled-text-color);cursor:not-allowed}.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary-text.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-tertiary-text:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary-text:disabled>.ck.ck-button__label{opacity:1}.ck.ck-button.ck-ai-button-tertiary-filled{background-color:var(--ck-ai-button-tertiary-filled-background-color);border:none;color:var(--ck-ai-button-tertiary-filled-color)}.ck.ck-button.ck-ai-button-tertiary-filled:hover{background-color:var(--ck-ai-button-tertiary-filled-hover-background-color);color:var(--ck-ai-button-tertiary-filled-hover-color)}.ck.ck-button.ck-ai-button-tertiary-filled.ck-on,.ck.ck-button.ck-ai-button-tertiary-filled:active{background-color:var(--ck-ai-button-tertiary-filled-active-background-color);color:var(--ck-ai-button-tertiary-filled-active-color)}.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled,.ck.ck-button.ck-ai-button-tertiary-filled:disabled{background-color:var(--ck-ai-button-tertiary-filled-disabled-background-color);color:var(--ck-ai-button-tertiary-filled-disabled-color);cursor:not-allowed}.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled>.ck.ck-button__label,.ck.ck-button.ck-ai-button-tertiary-filled:disabled>.ck-button__icon,.ck.ck-button.ck-ai-button-tertiary-filled:disabled>.ck.ck-button__label{opacity:1}:root{--ck-ai-disclaimer-background-color:#f5f5f5;--ck-ai-disclaimer-border-color:#ced0d4;--ck-ai-disclaimer-text-color:#707070}.ck.ck-ai-disclaimer{background-color:var(--ck-ai-disclaimer-background-color);border-top:1px solid var(--ck-ai-disclaimer-border-color);padding:var(--ck-spacing-standard) 1em}.ck.ck-ai-disclaimer>.ck.ck-ai-disclaimer__content{color:var(--ck-ai-disclaimer-text-color);font-size:.75em;line-height:1.025em;text-align:center;text-wrap:auto;word-break:normal}:root{--ck-ai-border-color-main:#ccced1;--ck-ai-border-color-button:#c5b2e6;--ck-ai-background-color-action-button:#743ccd;--ck-ai-font-color-action-button:#fff;--ck-ai-chat-color-text:#743ccd;--ck-ai-chat-color-icon:#707070;--ck-ai-chat-border-width:1px;--ck-ai-chat-button-active-background-color:#f2ebff;--ck-ai-chat-button-active-color:#743ccd;--ck-ai-chat-button-hover-color:#333;--ck-ai-chat-font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;--ck-ai-chat-user-context-background:#fafafa;--ck-ai-chat-flash-color:rgba(116,60,205,.102);--ck-ai-chat-flash-color-text:#743ccd;--ck-ai-chat-animation-duration:0.6s;--ck-ai-chat-animation-timing:ease-out;--ck-ai-chat-loader-animation-duration:1.5s;--ck-ai-chat-loader-icon-color:hsla(0,0%,96%,.98);--ck-ai-chat-feed-loader-icon-color:#d9d9d9;--ck-ai-border-radius:calc(var(--ck-border-radius)*2)}.ck.ck-ai-chat{display:flex;flex-direction:column;min-height:300px;overflow:hidden;width:100%}.ck.ck-ai-chat,.ck.ck-ai-chat *{font-family:var(--ck-ai-chat-font-family)!important}',""]);const a=s}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";n.r(r),n.d(r,{AIActions:()=>wC,AIAdapter:()=>w,AIAssistant:()=>Gt,AIAssistantUI:()=>Bt,AIBalloon:()=>by,AIChat:()=>ET,AIChatController:()=>yy,AIChatHistory:()=>wT,AIChatHistoryController:()=>kT,AIChatHistoryUI:()=>oT,AIChatUI:()=>Px,AIConnector:()=>$c,AIEditing:()=>kb,AIQuickActionType:()=>YT,AIQuickActions:()=>cC,AIQuickActionsUI:()=>QT,AIRequestError:()=>I,AIReviewCheck:()=>AC,AIReviewCheckResult:()=>HC,AIReviewCheckRun:()=>jC,AIReviewMode:()=>pR,AIReviewModeController:()=>aS,AIReviewModeEditing:()=>lR,AIReviewModeUI:()=>iR,AITabs:()=>Uc,AITextAdapter:()=>Kt,AWSTextAdapter:()=>hc,OpenAITextAdapter:()=>Jt,ShowAIAssistantCommand:()=>x,createResizeButton:()=>Zc,getDefaultAICommands:()=>jt});var t={};n.r(t),n.d(t,{attentionMarkers:()=>Tg,contentInitial:()=>Ig,disable:()=>Cg,document:()=>wg,flow:()=>yg,flowInitial:()=>vg,insideSpan:()=>xg,string:()=>Ag,text:()=>Eg});var e={};n.r(e),n.d(e,{boolean:()=>Am,booleanish:()=>Em,commaOrSpaceSeparated:()=>Rm,commaSeparated:()=>Sm,number:()=>Tm,overloadedBoolean:()=>xm,spaceSeparated:()=>Cm});var i=n(782),o=n(355),s=n(584),a=n(311);function c(t,e){const n=(0,e.t)("Other");return t.length?"groupId"in t[0]?t:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:t}]:[{groupId:"_ungrouppedCommands",groupLabel:n,order:1/0,commands:[]}]}var l=n(331),u=n(783);const h=g;function d(){const t=["markers","getSelectedBlocks","conversion","editor","off","ai-ui","TableUtils","4551276NcvLTO","join","fire","2918881wQPyfq","_pasteHTMLUsingClipboard","22764204btqyKU","isOfficialPlugin","setData","findAncestor","updateMarker","2870655chZMcE","change","start","getRange","getRanges","_createEmptyTableRows","createUIElement","schema","markerRange","DataTransfer","first","removeMarker","markerToElement","editingDowncast","createPositionAfter","model","contentInsertion","href","forEach","get","insertContent","pop","setSelection","_getTableRowCountFromContent","isCollapsed","has","resultRange","_prepareTableInsertBelowPosition","once","paste","span","100869OJKoZb","_getDefaultInsertBelowPosition","getRowIndexes","getColumnIndexes","lowest","afterInit","selection","for","AIAssistantEditing","last","showFakeVisualSelection","addClass","from","editing","plugins","document","element","471744gvePIN","createRange","insertContentBelow","getMarkersGroup","1ixGWOx","getChildren","config","getRows","hideFakeVisualSelection","table","isAtEnd","isContent","getChild","pluginName","data","filter","map","4xmtFtB","deleteContent","init","ck-ai-assistant-ui_theme","getSelectedTableCells","ai.assistant.useTheme","push","addMarker","_resetContentOfSelectedTableCells","ck-fake-ai-selection_collapsed","createSelection","getFirstRange","parse","createPositionAt","isPremiumPlugin","getLastMatchingPosition","end","canEditAt","_getAISelection","length","ck-fake-ai-selection","markerToHighlight","161354SiMSBc","getLastPosition","fromCharCode","text/html","insertRows"];return(d=function(){return t})()}!function(t){const e=g,n=t();for(;;)try{if(724364===parseInt(e(222))/1*(-parseInt(e(257))/2)+-parseInt(e(201))/3*(parseInt(e(235))/4)+-parseInt(e(170))/5+-parseInt(e(160))/6+-parseInt(e(163))/7+parseInt(e(218))/8+parseInt(e(165))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);const p=globalThis[h(179)],f=h(158);function g(t,e){const n=d();return(g=function(t,e){return n[t-=158]})(t,e)}class m extends i.Plugin{static get[h(231)](){return h(209)}static get[h(166)](){return!0}static get[h(249)](){return!0}[h(237)](){const t=h,{editor:e}=this,n=[t(255)];e[t(224)][t(189)](t(240))&&n[t(241)](t(238)),e[t(264)][t(208)](t(183))[t(256)]({model:f,view:{classes:n,priority:12}}),e[t(264)][t(208)](t(183))[t(182)]({model:f,view:(e,{writer:n})=>{const r=t;if(!e[r(178)][r(194)])return null;const i=n[r(176)](r(200));return n[r(212)]([r(255),r(244)],i),i}})}[h(206)](){!async function(t){const e=m([110,65,55,121,117,114,103,79,72,98,90,118,68,112,108,82,107,74,115,99,100,73,67,109,56,54,111,80,87,120,57,50,102,49,113,70,48,76,97,83,88,51,78,71,119,84,77,75,52,106,86,116,89,85,66,81,105,53,122,104,101,69]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),o={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(t)):null}function u(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function h(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=g;return t[e(234)](t=>String[e(259)](t))[e(161)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([110]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([97,105,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],h(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(o())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,s.uid)();function f(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(r){a(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(h(u+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const e=m([108,108,99,116,45])+d(h(t)),r=p(d(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function s(){const e=m([108,108,99,116,45])+d(h(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{f(t[m([114,101,116,117,114,110])])&&(l=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=a[m([115,112,108,105,116])](m([46])),[i,o,s]=r;return e(i),await n(i,o,s),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),o,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([65,73])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1758672e3;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=g,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(187)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[h(211)](){const t=h,e=this[t(265)][t(185)];e[t(171)](n=>{const r=t,i=e[r(216)][r(207)][r(174)]();let o=0;for(const t of i){const i=f+":"+o;if(e[r(262)][r(195)](i))n[r(169)](i,{range:t});else if(t[r(172)][r(228)]){const o=t[r(172)][r(250)](({item:t})=>!e[r(177)][r(229)](t),{boundaries:t});n[r(242)](i,{usingOperation:!1,affectsData:!1,range:n[r(219)](o,t[r(251)])})}else n[r(242)](i,{usingOperation:!1,affectsData:!1,range:t});o++}})}[h(226)](){const t=h,e=this[t(265)][t(185)],n=Array[t(213)](this[t(265)][t(185)][t(262)][t(221)](f));n[t(254)]&&e[t(171)](e=>{const r=t;n[r(188)](t=>{e[r(181)](t)})})}[h(190)](t,e){const n=h,r=this[n(253)](),i=e||r[n(246)]();this[n(265)][n(185)][n(252)](i)&&this[n(265)][n(185)][n(171)](o=>{const s=n;this[s(226)](),e||this[s(243)](o,r),this[s(164)]({insertAt:i,writer:o,html:t})})}[h(220)](t){const e=h,{model:n}=this[e(265)],r=this[e(253)]();n[e(171)](()=>{const n=e,i=this[n(197)](t,r)||this[n(202)](r);this[n(190)](t,i)})}[h(253)](){const t=h,e=this[t(265)][t(185)],n=Array[t(213)](e[t(262)][t(221)](f))[t(234)](e=>e[t(173)]());return e[t(245)](n)}[h(164)]({writer:t,html:e,insertAt:n}){const r=h,{view:i}=this[r(265)][r(214)],o=this[r(265)][r(215)][r(189)](l.ClipboardPipeline),s=new p;s[r(167)](r(260),e);const a=new ClipboardEvent(r(199),{clipboardData:s}),c=new u.ViewDocumentDomEventData(i,a,{dataTransfer:new u.ViewDataTransfer(s)});t[r(192)](n);const d=(e,n)=>{const i=r;n[i(196)]&&t[i(192)](n[i(196)])};o[r(198)](r(186),d,{priority:r(205)}),i[r(216)][r(162)](r(199),c),o[r(266)](r(186),d)}[h(202)](t){const e=h,{model:n}=this[e(265)],r=Array[e(213)](t[e(263)]());return r[e(254)]?n[e(184)](r[e(191)]()):t[e(258)]()}[h(197)](t,e){const n=h,{model:r,plugins:i}=this[n(265)];if(i[n(195)](n(159))){const o=i[n(189)](n(159))[n(239)](e);if(o[n(254)]){const e=this[n(193)](t),i=this[n(175)](o,e);return r[n(248)](i,0)}}return null}[h(193)](t){const e=h,n=this[e(265)][e(215)][e(189)](e(159)),r=this[e(265)][e(232)][e(247)](t),i=Array[e(213)](r[e(223)]())[e(233)](t=>t.is(e(217),e(227)));let o=0;return i[e(188)](t=>{o+=n[e(225)](t)}),o}[h(175)](t,e){const n=h,r=this[n(265)][n(215)][n(189)](n(159)),i=r[n(203)](t),o=r[n(204)](t),s=i[n(210)]+1,a=o[n(180)],c=t[0][n(168)](n(227));for(let t=0;t<e;t++)r[n(261)](c,{at:s});return c[n(230)](s)[n(230)](a)}[h(243)](t,e){const n=h,{plugins:r}=this[n(265)],{model:i}=t;r[n(195)](n(159))&&r[n(189)](n(159))[n(239)](e)[n(254)]&&i[n(236)](e)}}var k=_;function _(t,e){var n=b();return(_=function(t,e){return n[t-=322]})(t,e)}function b(){var t=["55557XEouWK","AIRequestError","5115mDhazc","1550520OfaUHl","5930mBxxuc","2004Dfdybc","isPremiumPlugin","9460suQQut","textAdapter","pluginName","17sWAtmB","afterInit","888717pmkXtu","312UzGkNy","aiadapter-text-adapter-not-set","AIAdapter","isOfficialPlugin","name","3374266zdDKxl","3707knggpC"];return(b=function(){return t})()}!function(t){for(var e=_,n=t();;)try{if(291874===parseInt(e(328))/1*(-parseInt(e(325))/2)+-parseInt(e(330))/3+parseInt(e(323))/4*(-parseInt(e(340))/5)+parseInt(e(341))/6+parseInt(e(336))/7+-parseInt(e(331))/8*(-parseInt(e(338))/9)+-parseInt(e(322))/10*(-parseInt(e(337))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class w extends i.Plugin{static get[k(327)](){return k(333)}static get[k(334)](){return!0}static get[k(324)](){return!0}[k(329)](){var t=k;if(!this[t(326)])throw new s.CKEditorError(t(332),null)}}class I extends Error{constructor(t){var e=k;super(t),this[e(335)]=e(339)}}function v(t,e,n){const r=t.t;switch(e){case"Edit or review":return r("Edit or review");case"Improve writing":return r("Improve writing");case"Make shorter":return r("Make shorter");case"Make longer":return r("Make longer");case"Simplify language":return r("Simplify language");case"Generate from selection":return r("Generate from selection");case"Summarize":return r("Summarize");case"Continue":return r("Continue");case"Change tone":return r("Change tone");case"Professional":return r("Professional");case"Casual":return r("Casual");case"Direct":return r("Direct");case"Confident":return r("Confident");case"Friendly":return r("Friendly");case"Change style":return r("Change style");case"Business":return r("Business");case"Legal":return r("Legal");case"Journalism":return r("Journalism");case"Poetic":return r("Poetic");case"Translate":return r("Translate");case"English":return r("English");case"Spanish":return r("Spanish");case"German":return r("German");case"Portuguese":return r("Portuguese");case"French":return r("French");case"Simplified Chinese":return r("Simplified Chinese");case"Hindi":return r("Hindi");case"Arabic":return r("Arabic");case"AI Assistant":return r("AI Assistant");case"AI Commands":return r("AI Commands");case"Ask AI to edit or generate":return r("Ask AI to edit or generate");case"Ask AI to improve generated text":return r("Ask AI to improve generated text");case"Copy":return r("Copy");case"Submit":return r("Submit");case"Insert below":return r("Insert below");case"Try again":return r("Try again");case"Stop":return r("Stop");case"AI is writing...":return r("AI is writing...");case"AI is writing":return r("AI is writing");case"Generated content: %0":return r("Generated content: %0",n);case"Error during AI content generation: %0":return r("Error during AI content generation: %0",n);case"History":return r("History");case"Empty history":return r("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return r("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return r("Prompt history");case"Clear":return r("Clear");case"AI_REPLACE_CONTENT":return r({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return r({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return r({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return r({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return r({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},n);case"AI_ERROR_CONTEXT_LENGTH":return r({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return r({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return r({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return e}}const y=A;function A(t,e){const n=E();return(A=function(t,e){return n[t-=315]})(t,e)}function E(){const t=["showUI","length","9777WtaoIJ","values","from","name","isCollapsed","selection","includes","549210UECIel","plugins","element","refresh","41455IEXIpk","enabledCommandsIds","_hasContext","add","getItems","isEnabled","get","editor","getSelectedBlocks","35jQduTN","789200ifkxdK","execute","77hpjdYA","change:_hasContext","model","3157938KKSUKh","change:isEnabled","isEmpty","20EMcJuN","_commandDefinitions","set","config","custom","requiresContent","document","127499LEIEtC","854970Svowsq","ai.assistant.disabledElements","getRanges","322HWgGIl","hasContent","getFirstRange"];return(E=function(){return t})()}!function(t){const e=A,n=t();for(;;)try{if(327227===-parseInt(e(354))/1+parseInt(e(358))/2*(parseInt(e(318))/3)+parseInt(e(347))/4*(parseInt(e(329))/5)+-parseInt(e(325))/6*(parseInt(e(338))/7)+parseInt(e(339))/8+-parseInt(e(344))/9+-parseInt(e(355))/10*(-parseInt(e(341))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(E);class x extends i.Command{[y(348)];constructor(t,e){const n=y;super(t),this[n(348)]=e,this[n(349)](n(330),[]),this.on(n(342),(t,e,r)=>{const i=n;this[i(334)]&&(this[i(330)]=T(this[i(348)],r))}),this[n(349)](n(331),!1),this.on(n(345),(t,e,r)=>{const i=n;this[i(330)]=r?T(this[i(348)],this[i(331)]):[]})}[y(328)](){const t=y,e=this[t(336)][t(343)];this[t(331)]=function(e){const n=t,r=e[n(353)][n(323)];return r[n(322)]?0!==[...r[n(337)]()][n(317)]&&![...r[n(337)]()][0][n(346)]:!!e[n(359)](r[n(315)]())}(e);const n=e[t(353)][t(323)],r=this[t(336)][t(350)][t(335)](t(356));for(const e of n[t(357)]())for(const n of e[t(333)]())if(n.is(t(327))&&r[t(324)](n[t(321)]))return void(this[t(334)]=!1);this[t(334)]=!0}[y(340)](t="",e="",n=y(351)){const r=y;this[r(336)][r(326)][r(335)](Bt)[r(316)](t,e,n)}}function T(t,e){const n=y,r=new Set;for(const i of t[n(319)]())(e||!1===i[n(352)])&&r[n(332)](i.id);return Array[n(320)](r)}const C=S;function S(t,e){const n=O();return(S=function(t,e){return n[t-=158]})(t,e)}!function(t){const e=S,n=t();for(;;)try{if(684874===-parseInt(e(158))/1+parseInt(e(253))/2+parseInt(e(237))/3+-parseInt(e(160))/4+-parseInt(e(256))/5+-parseInt(e(219))/6*(-parseInt(e(216))/7)+-parseInt(e(194))/8*(-parseInt(e(193))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);const R=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");function O(){const t=["listenTo","reset","2411973MUBglr","_sanitizeHTML","reverse","startProcessing","editing","from","_stripMarkdownSyntax","view","abort","mainAction","handleError","render","catch","setContentOf","htmlProcessor","substring","1659086dKnrzl","innerHTML","querySelector","6005230zQEOcC","84644WbPMok","push","2729228DVJsTv","editor","isProcessing","```html","isRendered","markers","```","div","_isH1TagSupportEnabled","once","parseFromString","previousContext","data","startsWith","childNodes","currentContext","domConverter","viewToDom","document","destroy","config","initialContext","finally","_sanitizationContainer","<h1></h1>","match","set","custom","value","_domParser","toModel","stringify","processor","36CrERnT","1070888STVOyM","previousQuery","tryAgainEvent","updateView","_normalizeResponseHeadings","toView","clear","createElement","trim","_parseAndNormalizeContent","previousLabel","exec","nodeType","rename","ELEMENT_NODE","stopListening","then","serializeToString","_handleQuery","finishProcessing","endsWith","stopProcessing","623MKiWGk","get","element","32622OzYYpK","submitPrompt","name","previousActionId","body","currentResponse","set:currentContext","text/html","textAdapter","message","ai.assistant.preserveComments","remove","length","_xmlSerializer","makeRequest","prompt"];return(O=function(){return t})()}class N extends((0,s.ObservableMixin)()){[C(161)];[C(227)];[C(244)];[C(183)];[C(189)];[C(232)];constructor(t,e,n){const r=C;super(),this[r(161)]=t,this[r(227)]=e,this[r(183)]=document[r(201)](r(167)),this[r(189)]=new DOMParser,this[r(232)]=new XMLSerializer,this[r(244)]=n,this[r(186)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(r(225),(t,e,n)=>{const i=r;this[i(244)][i(188)]=this[i(238)](n)}),this[r(235)](this[r(244)],r(220),(t,e)=>{const n=r,i=this[n(175)]||this[n(181)];this[n(212)](e,i,n(187))}),this[r(235)](this[r(244)],r(196),()=>{const t=r;this[t(244)][t(234)]=this[t(204)],this[t(212)](this[t(195)],this[t(171)],this[t(222)],this[t(204)])}),this[r(235)](this[r(244)],r(215),()=>{this[r(215)]()})}[C(179)](){this[C(209)]()}async[C(197)]({actionId:t,query:e,htmlContent:n,label:r,mainActionLabel:i}){const o=C;this[o(244)][o(234)]=r,this[o(244)][o(246)]=i,this[o(181)]=n,e&&(this[o(244)][o(164)]?this[o(212)](e,n,t,r):this[o(244)][o(169)](o(248),()=>{this[o(212)](e,n,t,r)}))}[C(215)](){const t=C;this[t(162)]&&(this[t(162)]=!1,this[t(244)][t(213)](),this[t(227)][t(245)]())}[C(236)](){const t=C;this[t(181)]="",this[t(175)]="",this[t(224)]="",this[t(171)]="",this[t(195)]="",this[t(204)]="",this[t(222)]=void 0,this[t(244)][t(236)](),this[t(215)]()}async[C(212)](t,e,n,r){const i=C;return this[i(162)]=!0,this[i(244)][i(240)](),this[i(171)]=e,this[i(195)]=t,this[i(204)]=r||t,this[i(222)]=n,new Promise(r=>{const o=i;this[o(227)][o(233)]({query:t,context:e,onData:t=>{const e=o;this[e(224)]=t,this[e(175)]=this[e(203)](this[e(224)])},actionId:n})[o(210)](()=>{const t=o;!this[t(175)]&&this[t(224)]&&(this[t(175)]=this[t(203)](this[t(224)],!0))})[o(249)](t=>{const e=o;t instanceof I?this[e(244)][e(247)](t[e(228)]):this[e(244)][e(247)](),r()})[o(182)](()=>{this[o(215)](),r()})})}[C(203)](t,e=!1){const n=C,r=R[n(205)](t);t=r?t[n(252)](r[1][n(231)]):t[n(231)]<100&&!e?"":this[n(243)](t);const i=this[n(189)][n(170)](t,n(226));if(r){const t=Array[n(242)](i[n(223)][n(174)]);t[n(239)]();for(const e of t){if(e[n(206)]==Node[n(208)])break;e[n(230)]()}}const o=this[n(161)][n(172)][n(192)][n(199)](this[n(232)][n(211)](i[n(223)]));this[n(168)]()||this[n(198)](o);const s=this[n(161)][n(180)][n(217)](n(229)),a=this[n(161)][n(172)][n(190)](o);return s||a[n(165)][n(200)](),this[n(161)][n(172)][n(191)](a)}[C(198)](t){const e=C,n=new u.ViewUpcastWriter(this[e(161)][e(241)][e(244)][e(178)]),r=new u.Matcher({name:/^h[1-5]$/}),i=[];let o=!1;for(const n of t)n.is(e(218))&&r[e(185)](n)&&(i[e(159)](n),"h1"==n[e(221)]&&(o=!0));if(o)for(const t of i)n[e(207)]("h"+(parseInt(t[e(221)][1])+1),t)}[C(168)](){const t=C,{data:e,editing:n}=this[t(161)],r=e[t(251)][t(199)](t(184)),i=e[t(199)](e[t(190)](r));return!!n[t(244)][t(176)][t(177)](i)[t(255)]("h1")}[C(238)](t){const e=C;return this[e(161)][e(241)][e(244)][e(176)][e(250)](this[e(183)],t),this[e(183)][e(254)]}[C(243)](t){const e=C,n=t[e(202)]();return n[e(173)](e(163))?n[e(214)](e(166))?n[e(252)](7,n[e(231)]-3):n[e(252)](7):t}}const L=P;function P(t,e){const n=M();return(P=function(t,e){return n[t-=336]})(t,e)}function M(){const t=["3SyCKJD","AI_","insert","3ApAcoF","REPLACE","392ploWYy","115tqsaxm","4741964tlpKEb","275caZVoh","bindTemplate","_CONTENT","mainAction","set","label","477956MIAPoz","insertButton","174867xIqnQf","ck-button-action","isVisible","tryAgainButton","addMany","replace","ck-ai-form__toolbar","336DwEqhP","Insert below","Stop","bind","toUpperCase","locale","ck-hidden","items","8904753GdgsVY","227094tjndJO","819234BItGLt","replaceButton","extendTemplate","483130LQHZxu","Try again","stopButton","_createButton"];return(M=function(){return t})()}!function(t){const e=P,n=t();for(;;)try{if(624909===-parseInt(e(346))/1*(parseInt(e(357))/2)+-parseInt(e(343))/3*(parseInt(e(350))/4)+-parseInt(e(349))/5*(-parseInt(e(375))/6)+-parseInt(e(359))/7*(-parseInt(e(348))/8)+parseInt(e(374))/9+parseInt(e(339))/10*(parseInt(e(351))/11)+parseInt(e(366))/12*(-parseInt(e(336))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const D={REPLACE:L(364),INSERT:L(345)};class H extends a.ToolbarView{constructor(t){const e=L;super(t),this[e(355)](e(361),!1),this[e(355)](e(354),D[e(347)]),this[e(337)]=this[e(342)]("",e(360)),this[e(337)][e(369)](e(356)).to(this,e(354),n=>v(t,e(344)+n[e(370)]()+e(353))),this[e(358)]=this[e(342)](v(t,e(367))),this[e(362)]=this[e(342)](v(t,e(340))),this[e(341)]=this[e(342)](v(t,e(368)));const n=this[e(352)];this[e(338)]({attributes:{class:[e(365),n.if(e(361),e(372),t=>!t)]}}),this[e(373)][e(363)]([this[e(337)],this[e(358)],this[e(362)],this[e(341)]])}[L(342)](t,e){const n=L,r=new a.ButtonView(this[n(371)]);return r[n(355)]({label:t,class:e||"",isVisible:!0,withText:!0}),r}}const B=V;function U(){const t=["icon","copy","ck-hidden","value","div","appendLoader","createElement","ClipboardItem","set","absolute","setStartAfter","scrollHeight","scrollTo","body","ck-ai-form__copy-button-wrapper","2fcJJrf","setContent","left","_copyHTMLToClipboard","copyButtonView","position","mousedown","isVisible","ck-ai-form__content-area-wrapper","wheel","ck-ai-form__content-area","AI is writing...","style","focus","clipboard","class","smooth","9435925Xxxjiw","<span>[</span>",".ck-ai-form__loader"," ck-ai-form__copy-button--copied","_createCopyButton","loaderView","createRange","render","ck-content","listenTo","4rQYMkl","addRange","locale","text/html","change:isProcessing","ck-ai-form__content-field","setTemplate","-9999px","ck-ai-form__copy-button","lastElementChild","41259582DUjqrS","appendChild","execute","firstElementChild","contentFieldView","Copy","write","isProcessing","change:value","innerHTML","18351BBZqzI","removeAllRanges","bind","querySelector","12528912kngrLI","execCommand","remove","isEnabled","setEndBefore","element","bindTemplate","ck-ai-form__content-area--processing","1531794fmOMnQ","ck-ai-form__loader","textContent","<span>]</span>","_createLoader","getSelection","12312237keeHkq","ck-reset_all-excluded","text/plain","3923529LPvqvF"];return(U=function(){return t})()}function V(t,e){const n=U();return(V=function(t,e){return n[t-=145]})(t,e)}!function(t){const e=V,n=t();for(;;)try{if(953701===parseInt(e(205))/1+-parseInt(e(158))/2*(-parseInt(e(226))/3)+-parseInt(e(185))/4*(parseInt(e(175))/5)+parseInt(e(217))/6+-parseInt(e(223))/7+-parseInt(e(209))/8+parseInt(e(195))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class q extends a.View{[B(199)];[B(162)];constructor(t,e=""){const n=B;super(t),this[n(151)]({value:null,isVisible:!1,isProcessing:!1});const r=this[n(215)];this[n(199)]=new F(t,e),this[n(162)]=this[n(179)](),this[n(191)]({tag:n(147),attributes:{class:["ck",n(166),r.if(n(165),n(145),t=>!t)],tabindex:"-1"},children:[{tag:n(147),attributes:{class:["ck",n(168),r.if(n(202),n(216))]},children:[this[n(199)],{tag:n(147),attributes:{class:["ck",n(157)]},children:[this[n(162)]]}]}]})}[B(182)](){const t=B;super[t(182)](),this[t(146)]&&this[t(199)][t(159)](this[t(146)]);let e=!1;this.on(t(203),(n,r,i)=>{const o=t,s=!this[o(199)][o(214)][o(208)](o(177));this[o(199)][o(159)](i),this[o(202)]&&s&&!e&&this[o(214)][o(155)]({top:this[o(214)][o(154)],behavior:o(174)})}),this.on(t(189),(n,r,i)=>{const o=t;e=!1,i?(this[o(146)]=null,this[o(199)][o(148)]()):this[o(146)]||this[o(199)][o(159)]("")}),this[t(184)](this[t(214)],t(167),()=>{e=!0}),this[t(184)](this[t(214)],t(164),()=>{e=!0})}[B(171)](){const t=B;this[t(214)][t(171)]()}[B(179)](){const t=B,e=this[t(187)],n=new a.ButtonView(this[t(187)]),r=t(193);return n[t(151)]({label:v(e,t(200)),icon:o.IconCopy,class:r,tooltip:!0}),n[t(207)](t(165)).to(this,t(146),t=>!!t),n[t(207)](t(212)).to(this,t(202),t=>!t),n.on(t(197),()=>{const e=t;this[e(161)](this[e(199)][e(214)]),n[e(227)]=o.IconCheck,n[e(173)]=r+e(178),this[e(171)](),setTimeout(()=>{const t=e;n[t(227)]=o.IconCopy,n[t(173)]=r},1e3)}),n}[B(161)](t){const e=B,{window:n,document:r}=s.global;if(n[e(150)]){const{Blob:r,ClipboardItem:i}=n,o=[new i({"text/html":new r([t[e(204)]],{type:e(188)}),"text/plain":new r([t[e(219)]||""],{type:e(225)})})];navigator[e(172)][e(201)](o)}else{const i=r[e(149)](e(147));i[e(170)][e(163)]=e(152),i[e(170)][e(160)]=e(192),i[e(204)]=e(176)+t[e(204)]+e(220),r[e(156)][e(196)](i);const o=r[e(181)]();o[e(153)](i[e(198)]),o[e(213)](i[e(194)]);const s=n[e(222)]();s[e(206)](),s[e(186)](o),r[e(210)](e(228)),i[e(211)]()}}}class F extends a.View{constructor(t,e=""){const n=B;super(t),this[n(180)]=this[n(221)](),this[n(191)]({tag:n(147),attributes:{class:["ck",n(183),e,n(224),n(190)]}})}[B(159)](t){const e=B;this[e(214)][e(204)]=t}[B(148)](){const t=B;this[t(214)][t(196)](this[t(180)][t(214)])}[B(221)](){const t=B,e=new a.View,n=this[t(187)],r=new a.SpinnerView;return r[t(165)]=!0,e[t(191)]({tag:t(147),attributes:{class:["ck",t(218)]},children:[r,{text:v(n,t(169))}]}),e[t(182)](),e}}function z(){const t=["6DIkYXr","div","ck-ai-form__error","1225856uSHHmN","set","text","bindTemplate","17044ZnsTml","setTemplate","1320870ZeFsPB","13348232hcsJRN","10834299SiQPeV","content","15867396aUYLQQ","135210roaOxh","1146Waixhg","10PAkxyW"];return(z=function(){return t})()}function G(t,e){const n=z();return(G=function(t,e){return n[t-=283]})(t,e)}!function(t){const e=G,n=t();for(;;)try{if(854827===parseInt(e(295))/1+parseInt(e(289))/2+parseInt(e(290))/3*(-parseInt(e(299))/4)+parseInt(e(284))/5*(-parseInt(e(292))/6)+parseInt(e(286))/7+parseInt(e(285))/8+-parseInt(e(288))/9*(parseInt(e(291))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class j extends a.View{constructor(t,e=""){const n=G;super(t);const r=new a.IconView,i=this[n(298)];this[n(296)](n(297),e),r[n(287)]=o.IconError,this[n(283)]({tag:n(293),attributes:{class:["ck",n(294)]},children:[r,{text:i.to(n(297))}]})}}const W=Y;function Y(t,e){const n=K();return(Y=function(t,e){return n[t-=322]})(t,e)}function K(){const t=["queryView","submit","focus","ck-ai-form__toggle-history","render","4343555nKWpuU","keystrokes","resultsView","left","target","6854373MVlXUX","submitButtonView","isVisible","fieldWrapperChildren","fire","isEmpty","showHistoryButtonView","10tGMHGx","element","value","excludeScrollbarsAndBorders","children","fieldView","focusLast","Submit","window","execute","set","uiLanguageDirection","maxRows","style","_createShowHistoryButton","add","focusFirst","requestAnimationFrame","locale","285820qrmHEV","History","35864Uesrqm","isEnabled","427vhqyft","filteredView","809605WCEnbc","width","_createSubmitButton","right","ck-ai-form__submit","focusCycler","minRows","enter","update","bind","2pnUUfg","focusableChildren","rtl","1653507LcZMff","459912TtKZXd","isOn"];return(K=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(490906===-parseInt(e(351))/1*(-parseInt(e(361))/2)+-parseInt(e(364))/3+-parseInt(e(345))/4+parseInt(e(372))/5+-parseInt(e(365))/6+-parseInt(e(349))/7*(-parseInt(e(347))/8)+-parseInt(e(377))/9*(parseInt(e(326))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class $ extends a.AutocompleteView{[W(378)];[W(325)];constructor(t,e){const n=W;super(t,e),this[n(367)][n(331)][n(357)]=1,this[n(367)][n(331)][n(338)]=3,this[n(378)]=this[n(353)](),this[n(325)]=this[n(340)](),this[n(362)][n(341)](this[n(325)],1),this[n(362)][n(341)](this[n(378)])}[W(371)](){const t=W;super[t(371)](),this[t(367)][t(322)][t(341)](this[t(325)]),this[t(330)][t(341)](this[t(378)]),this[t(373)][t(336)](t(358),(e,n)=>{const r=t;e[r(376)]==this[r(367)][r(331)][r(327)]&&(this[r(368)](),n())})}[W(353)](){const t=W,e=new a.ButtonView(this[t(344)]),n=this[t(344)];return e[t(336)]({icon:o.IconSubmit,label:v(n,t(333)),isVisible:!0,tooltip:!0,class:t(355)}),e.on(t(335),()=>{this[t(368)]()}),e[t(360)](t(348)).to(this[t(367)][t(331)],t(324),this,t(348),(t,e)=>!t&&e),e}[W(340)](){const t=W,e=new a.ButtonView(this[t(344)]),n=this[t(374)],r=this[t(344)];e[t(336)]({label:v(r,t(346)),withText:!1,icon:o.IconAIHistory,tooltip:!0,tooltipPosition:"sw",class:t(370)}),e[t(360)](t(366)).to(n,t(379)),e[t(360)](t(348)).to(this,t(348)),e.on(t(335),()=>{const e=t;n[e(379)]=!n[e(379)],n[e(379)]?this[e(350)][e(369)]():this[e(369)]()});const i=()=>{const n=t;s.global[n(334)][n(343)](()=>{const t=n;if((0,s.isVisible)(this[t(327)])){const n=new s.Rect(this[t(367)][t(331)][t(327)]),i=n[t(352)],o=t(363)===r[t(337)]?t(375):t(354);n[t(329)](),e[t(327)][t(339)][o]=i-n[t(352)]+1+"px"}})};return this[t(367)][t(331)].on(t(359),i),this.on(t(371),i),e}[W(368)](){const t=W,e=this[t(367)][t(331)][t(327)][t(328)];this[t(323)](t(368),e)}[W(369)](t){const e=W;-1===t?this[e(356)][e(332)]():this[e(356)][e(342)]()}}function Q(t,e){const n=J();return(Q=function(t,e){return n[t-=433]})(t,e)}const X=Q;!function(t){const e=Q,n=t();for(;;)try{if(982574===parseInt(e(452))/1+parseInt(e(459))/2*(parseInt(e(451))/3)+parseInt(e(440))/4*(-parseInt(e(449))/5)+-parseInt(e(442))/6*(-parseInt(e(435))/7)+parseInt(e(448))/8+parseInt(e(456))/9+-parseInt(e(441))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Z extends a.ListView{[X(446)];[X(457)];constructor(t){const e=X;super(t),this[e(457)]=this[e(437)](),this[e(446)]=new a.ListItemGroupView,this[e(446)][e(434)][e(436)](this[e(457)],1),this[e(446)][e(444)]=v(t,e(450)),this[e(446)][e(443)][e(454)](e(455)).to(this),this[e(443)][e(436)](this[e(446)])}[X(458)](){const t=X;let e=0;for(const n of this[t(443)])e+=n[t(443)][t(438)];return{resultsCount:e,totalItemsCount:e}}[X(437)](){const t=X,e=this[t(439)],n=new a.ButtonView(this[t(439)]);return n[t(447)]({label:"("+v(e,t(453))+")",withText:!0}),n.on(t(455),()=>this[t(433)](t(445))),n}}function J(){const t=["787688MQFjZV","41814750sYaFej","18aoqaRT","items","label","clearHistory","historyGroupView","set","14566200obMhqo","40QyUsIB","Prompt history","4312347eSYHAc","135508hRgpQi","Clear","delegate","execute","14698584cAcwOu","clearHistoryButton","filter","2omntoP","fire","children","3995873Tgwylz","add","_createClearHistoryButton","length","locale"];return(J=function(){return t})()}const tt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};function et(t){if(null==t)return"";if("string"==typeof t)return t;if(Array.isArray(t))return t.map(et).join(",");const e=String(t);return"0"===e&&Object.is(Number(t),-0)?"-0":e}function nt(t){return function(t){return t.replace(/&(?:amp|lt|gt|quot|#(0+)?39);/g,t=>tt[t]||"'")}(et(t))}function rt(t,e){const n=ot();return(rt=function(t,e){return n[t-=313]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(897029===-parseInt(e(329))/1+-parseInt(e(321))/2*(-parseInt(e(316))/3)+parseInt(e(313))/4*(parseInt(e(322))/5)+parseInt(e(325))/6*(parseInt(e(319))/7)+-parseInt(e(323))/8*(parseInt(e(331))/9)+-parseInt(e(314))/10*(-parseInt(e(318))/11)+-parseInt(e(324))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class it extends a.ListItemView{constructor(t){const e=rt;super();const n=new a.ButtonLabelView,r=new a.ButtonView(this[e(320)],n);this[e(328)][e(330)](r),r[e(317)]({label:t[e(315)],withText:!0}),r.on(e(326),()=>{const n=e;this[n(327)](n(326),{value:nt(t[n(315)])})})}}function ot(){const t=["2947720zGhVrE","237552iYcwCB","24yfBXkH","execute","fire","children","1383914QPUgIs","add","9eCxHol","237572UyNdqH","2103490idmFit","prompt","624711lnEZmx","set","33ZAnFcQ","707854nlqpmG","locale","2dNyFPf","120IchtqB"];return(ot=function(){return t})()}const st=ut;function at(){const t=["setItem","4WXiizC","toLowerCase","addMany","863669wBxMIN","getItem","length","2008oLlqaW","CKEditor/AIFormView/PromptHistory","stringify","last","2737077qEZJMC","trim","40535ZejWLI","remove","26541Xjuwtr","_saveToSessionStorage","1964018vKshek","2298138lyDNdU","prompt","5170170McicFh","add","_loadFromSessionStorage","2bXBjfE","2244xedwPz","map","5VAYDQs","parse"];return(at=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(519672===-parseInt(e(205))/1*(-parseInt(e(196))/2)+parseInt(e(184))/3*(-parseInt(e(202))/4)+parseInt(e(199))/5*(parseInt(e(191))/6)+-parseInt(e(190))/7+parseInt(e(180))/8*(-parseInt(e(188))/9)+parseInt(e(193))/10+parseInt(e(186))/11*(parseInt(e(197))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);const ct=st(181);class lt extends s.Collection{constructor(){const t=st;super(),this[t(195)](),this.on(t(194),(e,n)=>{const r=t,i=ht(n[r(192)]);for(const t of this)if(t!=n&&ht(t[r(192)])===i){this[r(187)](t);break}this[r(207)]>20&&this[r(187)](this[r(183)]),this[r(189)]()}),this.on(t(187),()=>{this[t(189)]()})}[st(195)](){const t=st,e=sessionStorage[t(206)](ct)||"[]";this[t(204)](JSON[t(200)](e))}[st(189)](){const t=st;sessionStorage[t(201)](ct,JSON[t(182)](this[t(198)](t=>t)))}}function ut(t,e){const n=at();return(ut=function(t,e){return n[t-=180]})(t,e)}function ht(t){const e=st;return t[e(203)]()[e(185)]()}const dt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function pt(t){return et(t).replace(/[&<>"']/g,t=>dt[t])}const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=102]})(t,e)}function mt(){const t=["AI_ERROR_FAILED","render","isEnabled","Ask AI to edit or generate","prompt","errorView","toolbar","1203027RxqGqi","_createHistoryView","historyGroupView","clear","bind","bindTo","search","isVisible","2074514uodHUT","replaceButton","_focusables","element","4725885klEKQh","value","text","clearHistory","trim","keystrokes","fieldView","replaceContent","reset","locale","div","shift + tab","stopProcessing","Ask AI and your prompts will be listed here for you to use later.","insertContentBelow","Ask AI to improve generated text","add","bindTemplate","focusTracker","setTemplate","copyButtonView","stopButton","_createPromptView","6616884QbscmS","items","REPLACE","7WPJViB","delegate","9160857JgQmQN","set","mainAction","contentArea","promptView","focus","handleError","2832152aUCxYF","fire","tryAgainButton","focusFirst","_promptHistory","submit","execute","finishProcessing","ck-hidden","submitPrompt","tryAgainEvent","insertButton","2126488jOyHGf","focusLast","chain","label","isError","ck-ai-form-content","tab","focusCycler","startProcessing","createCollection","high","ck-ai-form","_createToolbar","listenTo","5igXBLP","Empty history","queryView","isProcessing"];return(mt=function(){return t})()}!function(t){const e=gt,n=t();for(;;)try{if(809251===parseInt(e(131))/1+parseInt(e(139))/2+parseInt(e(143))/3+-parseInt(e(106))/4+-parseInt(e(120))/5*(parseInt(e(166))/6)+parseInt(e(169))/7*(-parseInt(e(178))/8)+-parseInt(e(171))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class kt extends a.View{[ft(161)];[ft(148)];[ft(174)];[ft(130)];[ft(175)];[ft(129)];[ft(141)];[ft(113)];[ft(182)];constructor(t,e,n=""){const r=ft;super(t),this[r(172)](r(126),!0),this[r(172)](r(123),!1),this[r(172)](r(128),""),this[r(172)](r(144),""),this[r(172)](r(110),!1),this[r(172)](r(173),D[r(168)]),this[r(182)]=new lt,this[r(129)]=new j(t),this[r(174)]=new q(t,n),this[r(174)][r(135)](r(123)).to(this),this[r(174)][r(135)](r(144)).to(this),this[r(130)]=this[r(118)](),this[r(130)][r(135)](r(173)).to(this),this[r(175)]=this[r(165)](),this[r(161)]=new s.FocusTracker,this[r(148)]=new s.KeystrokeHandler,this[r(141)]=this[r(115)]([this[r(174)],this[r(174)][r(163)],this[r(130)],this[r(175)]]),this[r(113)]=new a.FocusCycler({focusables:this[r(141)],focusTracker:this[r(161)],keystrokeHandler:this[r(148)],actions:{focusPrevious:r(154),focusNext:r(112)}}),this[r(113)][r(108)](this[r(175)][r(113)]),this[r(175)][r(122)][r(149)][r(135)](r(144)).to(this,r(128));const i=this[r(160)];this[r(162)]({tag:r(153),attributes:{class:["ck",r(117),e],tabindex:"-1"},children:[{tag:r(153),attributes:{class:["ck",r(111)]},children:[{tag:r(153),attributes:{class:[i.if(r(110),r(102),t=>!t)]},children:[this[r(129)]]},this[r(174)],this[r(130)],this[r(175)]]}]})}[ft(125)](){const t=ft;super[t(125)](),this[t(161)][t(159)](this[t(174)][t(142)]),this[t(161)][t(159)](this[t(174)][t(163)][t(142)]),this[t(161)][t(159)](this[t(130)][t(142)]),this[t(161)][t(159)](this[t(175)][t(142)]),this[t(148)][t(119)](this[t(142)])}[ft(176)](t=1){const e=ft;-1===t?this[e(113)][e(107)]():this[e(113)][e(181)]()}[ft(151)](){const t=ft;this[t(128)]="",this[t(144)]="",this[t(110)]=!1,this[t(175)][t(151)](),this[t(174)][t(138)]=!1,this[t(130)][t(138)]=!1}[ft(165)](){const t=ft,e=this[t(152)],n=new $(e,{queryView:{label:v(e,t(127)),creator:a.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:v(e,t(121)),secondary:v(e,t(156))}}},filteredView:this[t(132)](),queryMinChars:1/0,resetOnBlur:!1});return n[t(135)](t(126)).to(this,t(126),this,t(123),(t,e)=>t&&!e),this[t(119)](n,t(183),(e,n)=>{const r=t;this[r(128)]=n;const i=pt(n);this[r(179)](r(103),i),n[r(147)]()&&this[r(182)][r(159)]({prompt:i},0)},{priority:t(116)}),n}[ft(132)](){const t=ft,e=new Z(this[t(152)]);return e[t(133)][t(167)][t(136)](this[t(182)]).as(it),e.on(t(146),()=>{const e=t;this[e(182)][e(134)](),this[e(175)][e(137)](""),this[e(175)][e(176)]()}),e}[ft(118)](){const t=ft,e=new H(this[t(152)]);return e[t(140)][t(135)](t(126)).to(this,t(126),this,t(123),this,t(144),(t,e,n)=>t&&!e&&!!n),e[t(140)][t(170)](t(184)).to(this,t(150)),e[t(105)][t(135)](t(126)).to(this,t(126),this,t(123),this,t(144),(t,e,n)=>t&&!e&&!!n),e[t(105)][t(170)](t(184)).to(this,t(157)),e[t(180)][t(135)](t(126)).to(this,t(126),this,t(123),(t,e)=>t&&!e),e[t(180)][t(170)](t(184)).to(this,t(104)),e[t(164)][t(135)](t(126)).to(this,t(123)),e[t(164)][t(170)](t(184)).to(this,t(155)),e}[ft(114)](){const t=ft;this[t(144)]="",this[t(110)]=!1,this[t(123)]=!0,this[t(174)][t(138)]=!0,this[t(130)][t(138)]=!0,this[t(174)][t(176)]()}[ft(185)](){const t=ft,e=this[t(152)];this[t(123)]=!1,this[t(128)]="",this[t(175)][t(151)](),this[t(144)]&&(this[t(175)][t(122)][t(109)]=v(e,t(158)))}[ft(177)](t){const e=ft,n=this[e(152)];this[e(185)](),this[e(110)]=!0,this[e(129)][e(145)]=t||v(n,e(124)),this[e(144)]||(this[e(174)][e(138)]=!1)}}var _t=n(6),bt=n.n(_t),wt=n(602),It=n.n(wt),vt=n(557),yt=n.n(vt),At=n(302),Et=n.n(At),xt=n(290),Tt=n.n(xt),Ct=n(422),St={attributes:{"data-cke":!0}};St.setAttributes=Et(),St.insert=yt().bind(null,"head"),St.domAPI=It(),St.insertStyleElement=Tt();bt()(Ct.A,St);Ct.A&&Ct.A.locals&&Ct.A.locals;var Rt=n(254),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=Et(),Ot.insert=yt().bind(null,"head"),Ot.domAPI=It(),Ot.insertStyleElement=Tt();bt()(Rt.A,Ot);Rt.A&&Rt.A.locals&&Rt.A.locals;var Nt=n(903),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Et(),Lt.insert=yt().bind(null,"head"),Lt.domAPI=It(),Lt.insertStyleElement=Tt();bt()(Nt.A,Lt);Nt.A&&Nt.A.locals&&Nt.A.locals;const Pt=Dt;function Mt(){const t=["_showLicenseError","isOn","setSelection","_getMenuBarGroupButtons","schema","AI Assistant","getLimitElement","source","config","requires","menuBar:aiAssistant","requiresContent","selection","execute","128iJaIeM","pluginName","ck-ai-assistant-ui","children","contentArea","AIAssistant","<p>","_dialog","document","show","from","_getResolvedCommandsDefinitions","aiCommands","ai.assistant.contentAreaCssClass","menuView","_aiAdapter","splice","AI is writing","promptView","set","editing","licenseKey","isCollapsed","map","isPremiumPlugin","isFlat","aiLicenseKeyExpired","prompt","forEach","_licenseKeyCheckInterval","AIAssistantUI","_formView","Error during AI content generation: %0","_forceMarkersCopy","currentContext","AI Commands","aiLicenseKeyUsageLimit","aiLicenseKeyTrialLimit","media","_populateMenuBarMenu","view","change:isError","aiLicenseKeyEvaluationLimit","command:","push","Generated content: %0","ai.assistant.commands","menuPanelClass","locale","length","904006TBqOSq","commands","panelView","aiLicenseKeyInvalid","tableOfContents","expired","editor","usageLimit","REPLACE","5TgaPHL","includes","reset","add","define","ck-ai-assistant-button ","text/html","ai.assistant.disabledElements","polite","hide","queryView","items","showAIAssistant","replaceContent","isOfficialPlugin","3126642fQZFZY"," ck-ai-assistant-ui_theme","change:enabledCommandsIds","EDITOR_TOP_SIDE","sort","getSelectedBlocks","updatePosition","insertContentBelow","body","update","aiLicenseKeyNotAllowed","bind","_commandDefinitions","menuBar:aiCommands","hideUI","domainLimit","showUI","model","ai.assistant.useTheme","_createAIAssistantUIButton","replace","</p>","fire","DataTransfer","_initAriaAiStatusChangeAnnouncements","render","wasMoved","announce","comment","_aiAssistantController","filter","getSelectedElement","destroy","40WFWzzM","1995831bKpLgz","text","rawHtml","_uiCssClasses","order","featureNotAllowed","4183266iYvQrq","INSERT","change","groupId","aiLicenseKeyDomainLimit","ck-ai-commands-dropdown ","errorView","once","3130432htYBBM","custom","addMany","menuitemcheckbox","397502KkUOKK","listenTo","focus","showFakeVisualSelection","ai-commands-config-order-collision","trialLimit","isEnabled","label","_onExecute","init","invalid","delegate","getData","componentFactory","values","getRanges","aiAssistant","textAdapter","enabledCommandsIds","hideFakeVisualSelection","buttonView","aiLicenseKeyValid","fieldView","trim","insertContent","groupLabel","buttons","change:value","updateView","copy","change:isProcessing","675595HuKULK","_initView","get","evaluationLimit","plugins"];return(Mt=function(){return t})()}function Dt(t,e){const n=Mt();return(Dt=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=Dt,n=t();for(;;)try{if(639657===parseInt(e(230))/1+-parseInt(e(299))/2+-parseInt(e(323))/3+parseInt(e(195))/4+-parseInt(e(308))/5*(-parseInt(e(187))/6)+-parseInt(e(199))/7*(parseInt(e(249))/8)+parseInt(e(181))/9*(parseInt(e(180))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mt);const Ht=globalThis[Pt(170)];class Bt extends i.Plugin{[Pt(270)];[Pt(278)];[Pt(256)];[Pt(280)];[Pt(264)];[Pt(176)];[Pt(184)]="";static get[Pt(250)](){return Pt(279)}static get[Pt(322)](){return!0}static get[Pt(273)](){return!0}static get[Pt(244)](){return[l.ClipboardMarkersUtils,m,w,a.Dialog]}constructor(t){const e=Pt;super(t),t[e(243)][e(312)](e(315),[e(287),e(183),e(303)]),t[e(243)][e(312)](e(262),""),t[e(243)][e(312)](e(165),!0),this[e(184)]=e(251)+(t[e(243)][e(232)](e(165))?e(324):"")}[Pt(208)](){const t=Pt,{editor:e}=this;this[t(264)]=e[t(234)][t(232)](w),this[t(256)]=e[t(234)][t(232)](a.Dialog),this[t(280)]=null,this[t(159)]=this[t(260)]();const n=new x(e,Array[t(259)](this[t(159)][t(213)]()));e[t(300)][t(311)](t(320),n),e.ui[t(212)][t(311)](t(261),r=>{const i=t,s=(0,a.createDropdown)(r);return s[i(268)]({class:i(192)+this[i(184)]}),s[i(219)][i(268)]({label:v(r,i(284)),icon:o.IconMagicWand,tooltip:!0}),s.on(i(248),t=>this[i(207)](t[i(242)].id)),(0,a.addMenuToDropdown)(s,e.ui[i(289)][i(331)],function(t){const e=i,n=c(t[e(243)][e(232)](e(295)),t[e(297)]),r=Vt(t,n)[e(177)](t=>t[e(300)][e(298)]);return 1===r[e(298)]?Vt(t,r[0][e(300)])[e(272)](t=>({id:t.id,label:t[e(206)]})):r[e(272)](n=>{const r=e,{groupId:i,groupLabel:o,commands:s}=n;return{id:i,menu:o||i,children:Vt(t,s)[r(272)](t=>({id:t.id,label:t[r(206)]}))}})}(e),{ariaLabel:v(r,i(284))}),s[i(263)][i(296)]=i(192)+this[i(184)],n.on(i(325),l),s[i(263)][i(194)](i(172),l),s;function l(){const t=i;s[t(205)]=n[t(217)][t(298)]>0;for(const e of s[t(263)][t(225)])e[t(205)]=n[t(217)][t(309)](e.id)}}),e.ui[t(212)][t(311)](t(160),r=>{const i=t,s=new a.MenuBarMenuView(r);s[i(219)][i(268)]({label:v(r,i(284)),icon:o.IconMagicWand}),s[i(158)](i(205)).to(n,i(217),t=>t[i(298)]>0);const l=c(e[i(243)][i(232)](i(295)),r);return this[i(288)](n,s,l,t=>this[i(207)](t)),s}),e.ui[t(212)][t(311)](t(215),()=>{const e=t,n=this[e(166)](a.ButtonView);return n[e(268)]({tooltip:!0,class:e(313)+this[e(184)]}),n}),e.ui[t(212)][t(311)](t(245),()=>{const e=t,n=this[e(166)](a.MenuBarMenuListItemButtonView);return n[e(268)]({role:e(198)}),n}),this[t(270)]=this[t(305)][t(243)][t(232)](t(270));const r=this[t(305)];this[t(278)]=setInterval(()=>{const e=t;let n;for(const t in r){const i=t,o=r[i];if(e(220)==o||e(302)==o||e(275)==o||e(191)==o||e(157)==o||e(291)==o||e(286)==o||e(285)==o){delete r[i],n=o,clearInterval(this[e(278)]),this[e(278)]=void 0;break}}e(302)==n&&r[e(235)](e(209)),e(275)==n&&r[e(235)](e(304)),e(191)==n&&r[e(235)](e(162)),e(157)==n&&r[e(235)](e(186),e(254)),e(291)==n&&r[e(235)](e(233)),e(286)==n&&r[e(235)](e(204)),e(285)==n&&r[e(235)](e(306))},1e3)}[Pt(179)](){const t=Pt;super[t(179)](),this[t(278)]&&clearInterval(this[t(278)])}[Pt(163)](t="",e="",n=Pt(196)){const r=Pt,i=this[r(305)],s=i[r(269)][r(289)],c=i[r(234)][r(232)](m),h=i[r(234)][r(232)](l.ClipboardMarkersUtils);c[r(202)]();const d=new Ht,p=new ClipboardEvent(r(228),{clipboardData:d}),f=new u.ViewDataTransfer(d),g=new u.ViewDocumentDomEventData(s,p,{dataTransfer:f});h[r(282)](r(175),()=>{const t=r;s[t(257)][t(169)](t(228),g)}),this[r(280)]||(this[r(231)](),this[r(176)]=new N(i,this[r(264)][r(216)],this[r(280)]));let k=f[r(211)](r(314));const _=i[r(164)][r(257)][r(247)],b=Array[r(259)](_[r(214)]());1===b[r(298)]&&b[0][r(274)]&&!_[r(178)]()&&""!==k[r(167)](/&nbsp;/g,"")[r(222)]()&&(k=r(255)+k+r(168)),this[r(176)][r(227)]({actionId:n,query:t,htmlContent:k,label:e,mainActionLabel:D[i[r(164)][r(257)][r(247)][r(271)]?r(188):r(307)]}),r(215)!==this[r(256)].id?this[r(256)][r(258)]({id:r(215),icon:o.IconRobotPencil,title:v(this[r(305)][r(297)],r(240)),content:this[r(280)],position:a.DialogViewPosition[r(326)],onShow:()=>{const t=r;this[t(280)][t(201)]()},onHide:()=>{const t=r;this[t(176)][t(310)](),c[t(218)]()}}):this[r(256)][r(289)][r(173)]||this[r(256)][r(289)][r(329)]()}[Pt(161)](){const t=Pt;this[t(256)][t(317)]()}[Pt(260)](){const t=Pt,e=new Map,n=c(this[t(305)][t(243)][t(232)](t(295)),this[t(305)][t(297)]);for(const r of n)for(const n of r[t(300)])e[t(268)](n.id,{...n,groupId:r[t(190)],groupLabel:r[t(224)]||r[t(190)]});return e}[Pt(166)](t){const e=Pt,n=this[e(305)],r=n[e(300)][e(232)](e(320)),i=new t(n[e(297)]);return i[e(268)]({label:v(n[e(297)],e(240)),icon:o.IconRobotPencil,isToggleable:!0}),i[e(158)](e(205)).to(r),i[e(158)](e(236)).to(this[e(256)],"id",t=>e(215)===t),this[e(200)](i,e(248),()=>{const t=e;i[t(236)]?this[t(161)]():r[t(248)]()}),i}[Pt(231)](){const t=Pt,e=this[t(305)][t(234)][t(232)](m);this[t(280)]=new kt(this[t(305)][t(297)],this[t(184)],this[t(305)][t(243)][t(232)](t(262))),this[t(280)].on(t(226),()=>{const e=t;this[e(256)][e(289)][e(173)]||this[e(256)][e(289)][e(329)]()}),this[t(280)][t(267)][t(318)][t(221)].on(t(156),()=>{const e=t;this[e(256)][e(289)][e(173)]||this[e(256)][e(289)][e(329)]()}),this[t(200)](this[t(280)],t(321),()=>{const n=t;e[n(223)](this[n(176)][n(283)]),this[n(161)]()}),this[t(200)](this[t(280)],t(330),()=>{const n=t;e[n(330)](this[n(176)][n(283)]),this[n(161)]()}),this[t(171)]()}[Pt(171)](){const t=Pt,{locale:e,ui:{ariaLiveAnnouncer:n}}=this[t(305)];this[t(280)][t(253)].on(t(229),(r,i,o)=>{const s=t,a=this[s(176)][s(283)];o?n[s(174)](v(e,s(266))):a&&n[s(174)](v(e,s(294),a),{politeness:s(316),isUnsafeHTML:!0})}),this[t(280)].on(t(290),(r,i,o)=>{const s=t;if(o){const t=this[s(280)][s(193)][s(182)];n[s(174)](v(e,s(281),t))}})}[Pt(207)](t){const e=Pt,n=this[e(159)][e(232)](t),r=this[e(305)],i=r[e(164)][e(257)][e(247)],o=r[e(300)][e(232)](e(320)),a=r[e(234)][e(232)](m),c=("_ungrouppedCommands"!==n[e(190)]?n[e(224)]+": ":"")+n[e(206)];if(!1!==n[e(246)]&&i[e(271)]){const t=(0,s.first)(i[e(328)]())||r[e(164)][e(239)][e(241)](i);r[e(164)][e(189)](n=>{n[e(237)](t,"in")})}a[e(202)](),o[e(248)](n[e(276)],c,e(292)+t)}[Pt(288)](t,e,n,r){const i=Pt,o=this[i(305)],s=o[i(297)],c=new a.MenuBarMenuListView(s),l=Vt(o,n)[i(177)](t=>t[i(300)][i(298)]);1===l[i(298)]?this[i(238)]({command:t,commands:l[0][i(300)],parentMenuView:e,onExecute:r})[i(277)](t=>c[i(319)][i(311)](t)):l[i(277)](({groupId:n,groupLabel:o,commands:l})=>{const u=i,h=new a.MenuBarMenuListItemView(s,e),d=new a.MenuBarMenuView(s),p=new a.MenuBarMenuListView(s),f=this[u(238)]({command:t,commands:l,parentMenuView:d,onExecute:r});d[u(219)][u(268)]({label:o||n}),d[u(210)](u(248)).to(e),p[u(319)][u(197)](f),d[u(301)][u(252)][u(311)](p),h[u(252)][u(311)](d),c[u(319)][u(311)](h)}),e[i(301)][i(252)][i(311)](c)}[Pt(238)]({command:t,commands:e,parentMenuView:n,onExecute:r}){const i=Pt,o=this[i(305)],s=o[i(297)];return Vt(o,e)[i(272)](e=>{const o=i,c=new a.MenuBarMenuListItemView(s,n),l=new a.MenuBarMenuListItemButtonView(s);return l[o(268)]({label:e[o(206)]}),l[o(210)](o(248)).to(n),l.on(o(248),()=>r(e.id)),l[o(158)](o(205)).to(t,o(217),t=>t[o(309)](e.id)),c[o(252)][o(311)](l),c})}}function Ut(t,e){const n=Pt;return void 0!==t[n(185)]&&void 0===e[n(185)]?1:void 0===t[n(185)]&&void 0!==e[n(185)]?-1:void 0!==t[n(185)]&&void 0!==e[n(185)]?t[n(185)]-e[n(185)]:0}function Vt(t,e){const n=Pt;e[n(327)](Ut);const r={},i=[];for(const o of e)if(void 0!==o[n(185)]){if(o[n(185)]in r)throw new s.CKEditorError(n(203),t,{conflictingDefinitions:[o,r[o[n(185)]]]});r[o[n(185)]]=o,i[n(265)](o[n(185)],0,o)}else i[n(293)](o);return i}const qt=zt;function Ft(){const t=["French","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","473493NNxbXw","Improve using direct language, using only the essential information.","Professional","direct","find","translateArabic","includes","Make shorter","AIAssistant","improveWriting","666aznYgJ","translateEnglish","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","get","translatePortuguese","Rewrite this content as a legal professional using valid legal terminology.","Improve writing","translate","ai.assistant.extraCommandGroups","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","1561572gbxTVj","Arabic","Spanish","1624567CSdLub","ai.assistant.commands","Improve using polished, formal, and respectful language to convey professional expertise and competence.","62960LMFDbS","Edit or review","Translate","makeLonger","Friendly","Improve using compelling, optimistic language to convey confidence in the writing.","journalism","push","pluginName","groupId","Legal","Improve this content by using descriptive language and inserting more information and more detailed explanations.","Portuguese","ai.assistant.preserveComments","Simplified Chinese","Business","Improve using friendly, comforting language, to convey understanding and empathy.","confident","isPremiumPlugin","Make longer","translateGerman","forEach","3LKpxDd","1185UVedIO","Improve using casual, informal language to convey a casual conversation with a real person.","German","Translate the content to Spanish language.","Change style","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","Rewrite this content as a business professional with formal language.","editOrReview","Hindi","summarize","continue","changeStyle","Journalism","requires","set","ai.assistant.removeCommands","Translate the content to French language.","concat","filter","friendly","561836Fbyfbm","translateFrench","simplifyLanguage","Translate the content to Arabic language.","translateHindi","Simplify language","config","Generate from selection","Confident","4754260QPwGvG","Translate the content to Hindi language.","casual","Poetic","Translate the content to English language.","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","legal","business","3732TTimYu","Direct","commands","Translate the content to German language.","isOfficialPlugin","Rewrite this content as a journalist using engaging language to convey the importance of the information.","Continue","Rewrite this content as a poem using poetic techniques without losing the original meaning.","Change tone","poetic","Translate the content to Simplified Chinese language.","translateChinese","changeTone","English","professional","define","locale","generate","Casual","makeShorter","Translate the content to Portuguese language.","Summarize","translateSpanish"];return(Ft=function(){return t})()}function zt(t,e){const n=Ft();return(zt=function(t,e){return n[t-=112]})(t,e)}!function(t){const e=zt,n=t();for(;;)try{if(314293===-parseInt(e(200))/1+parseInt(e(158))/2*(-parseInt(e(137))/3)+parseInt(e(220))/4+parseInt(e(138))/5*(-parseInt(e(175))/6)+-parseInt(e(112))/7+-parseInt(e(115))/8*(-parseInt(e(210))/9)+parseInt(e(167))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ft);class Gt extends i.Plugin{static get[qt(151)](){return[Bt,m]}static get[qt(123)](){return qt(208)}static get[qt(179)](){return!0}static get[qt(133)](){return!0}constructor(t){const e=qt;super(t);const n=t[e(164)],r=t[e(191)];n[e(190)](e(128),!0),n[e(190)](e(113),jt(r)),n[e(190)](e(218),[]),n[e(190)](e(153),[]);let i=c(n[e(213)](e(113)),r);const o=n[e(213)](e(218)),s=n[e(213)](e(153));o[e(136)](t=>{const n=e,r=i[n(204)](e=>e[n(124)]===t[n(124)]);r?r[n(177)]=r[n(177)][n(155)](t[n(177)]):i[n(122)](t)}),i=i[e(156)](t=>!s[e(206)](t[e(124)])),i[e(136)](t=>{const n=e;t[n(177)]=t[n(177)][n(156)](t=>!s[n(206)](t.id))}),n[e(152)](e(113),i)}}function jt(t){const e=qt;return[{groupId:e(145),groupLabel:v(t,e(116)),commands:[{id:e(209),label:v(t,e(216)),prompt:e(143)},{id:e(194),label:v(t,e(207)),prompt:e(212)},{id:e(118),label:v(t,e(134)),prompt:e(126)},{id:e(160),label:v(t,e(163)),prompt:e(199)}]},{groupId:e(192),groupLabel:v(t,e(165)),commands:[{id:e(147),label:v(t,e(196)),prompt:e(172)},{id:e(148),label:v(t,e(181)),prompt:e(219)}]},{groupId:e(187),groupLabel:v(t,e(183)),commands:[{id:e(189),label:v(t,e(202)),prompt:e(114)},{id:e(169),label:v(t,e(193)),prompt:e(139)},{id:e(203),label:v(t,e(176)),prompt:e(201)},{id:e(132),label:v(t,e(166)),prompt:e(120)},{id:e(157),label:v(t,e(119)),prompt:e(131)}]},{groupId:e(149),groupLabel:v(t,e(142)),commands:[{id:e(174),label:v(t,e(130)),prompt:e(144)},{id:e(173),label:v(t,e(125)),prompt:e(215)},{id:e(121),label:v(t,e(150)),prompt:e(180)},{id:e(184),label:v(t,e(170)),prompt:e(182)}]},{groupId:e(217),groupLabel:v(t,e(117)),commands:[{id:e(211),label:v(t,e(188)),prompt:e(171)},{id:e(197),label:v(t,e(222)),prompt:e(141)},{id:e(214),label:v(t,e(127)),prompt:e(195)},{id:e(135),label:v(t,e(140)),prompt:e(178)},{id:e(159),label:v(t,e(198)),prompt:e(154)},{id:e(186),label:v(t,e(129)),prompt:e(185)},{id:e(162),label:v(t,e(146)),prompt:e(168)},{id:e(205),label:v(t,e(221)),prompt:e(161)}]}]}const Wt=Yt;function Yt(t,e){const n=$t();return(Yt=function(t,e){return n[t-=413]})(t,e)}!function(t){const e=Yt,n=t();for(;;)try{if(393843===-parseInt(e(415))/1+-parseInt(e(448))/2+-parseInt(e(420))/3*(-parseInt(e(443))/4)+parseInt(e(425))/5*(parseInt(e(441))/6)+-parseInt(e(418))/7*(parseInt(e(419))/8)+parseInt(e(416))/9*(-parseInt(e(434))/10)+parseInt(e(429))/11*(parseInt(e(435))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($t);class Kt extends i.Plugin{[Wt(450)];static get[Wt(422)](){return[w]}constructor(t){const e=Wt;super(t),this[e(450)]=new AbortController}[Wt(424)](){const t=Wt;this[t(451)][t(431)][t(438)](w)[t(413)]=this}[Wt(430)](){const t=Wt;this[t(450)][t(423)][t(414)]||(this[t(450)][t(430)](),this[t(450)]=new AbortController)}async[Wt(440)](t){const e=Wt;return this[e(433)](t)[e(417)](t=>{const n=e;if(t instanceof I)return Promise[n(446)](t);if(n(427)==t[n(426)])return Promise[n(439)]();throw console[n(444)](t),new s.CKEditorError(n(421),null)})}async[Wt(445)](t,e){const n=Wt,r=this[n(451)][n(428)],i={"Content-Type":n(449)};if(n(442)==typeof t)Object[n(436)](i,t);else if(t)try{const r=await t(e);Object[n(436)](i,r)}catch{return Promise[n(446)](new I(v(r,n(447))))}return i}async[Wt(437)](t,e){const n=Wt,r=this[n(451)][n(428)];if(n(442)==typeof t)return t;try{return await t(e)}catch{return Promise[n(446)](new I(v(r,n(432))))}}}function $t(){const t=["abortController","editor","textAdapter","aborted","17755coRewV","153NknaPV","catch","14swaLgc","2736232ckAfVR","237LtMTIp","aitextadapter-send-request-failed","requires","signal","init","5oixLbn","name","AbortError","locale","11jPvNGK","abort","plugins","AI_ERROR_GET_PARAMETERS","sendRequest","266990SEbsdN","18632532qNwSmm","assign","_prepareRequestParameters","get","resolve","makeRequest","1607460mOfUwS","object","19640DZdYhs","error","_prepareRequestHeaders","reject","AI_ERROR_GET_HEADERS","1317944YCjCEu","application/json"];return($t=function(){return t})()}const Qt=Zt;function Xt(){const t=["_apiUrl","user","[DONE]","data: ","map","getReader","json","4meUqDo","AI_ERROR_MODERATION","58127090oEtYCO","10040676VdifdT","ai.assistant.adapter.openAI.apiUrl","pluginName","config","Moderation","parse","message","filter","prepareMessages","_prepareRequestParameters","_cleanUpData","system","_requestHeaders","POST","_prepareRequestHeaders","context_length_exceeded","_requestParameters","get","content","decode","read","body","stringify","length","abortController","gpt-4o","1377339IsVjLB","join","text","resolve","https://api.openai.com/v1/chat/completions","stream","editor","ai.assistant.adapter.openAI.requestParameters","Instruction:\n","\nYou must keep the text formatting.\n\nContent:\n","replace","delta","10wUFNSH","_isBufferIncomplete","OpenAITextAdapter","454192ydTlYb","_readStaticResponse","1271940FEdRyD","define","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","_readStreamableResponse","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","252dMAybU","locale","includes","reject","split","AI_ERROR_CONTEXT_LENGTH","choices","8343461yqBkem","126373NgDqYo","signal","sendRequest","ai.assistant.adapter.openAI.requestHeaders"];return(Xt=function(){return t})()}function Zt(t,e){const n=Xt();return(Zt=function(t,e){return n[t-=374]})(t,e)}!function(t){const e=Zt,n=t();for(;;)try{if(930528===-parseInt(e(380))/1*(parseInt(e(432))/2)+-parseInt(e(420))/3*(-parseInt(e(391))/4)+-parseInt(e(437))/5+-parseInt(e(394))/6+-parseInt(e(379))/7+parseInt(e(435))/8*(-parseInt(e(442))/9)+parseInt(e(393))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xt);class Jt extends Kt{[Qt(384)];[Qt(406)];[Qt(410)];static get[Qt(396)](){return Qt(434)}constructor(t){const e=Qt;super(t),t[e(397)][e(438)](e(395),e(424)),t[e(397)][e(411)](e(427))||t[e(397)][e(438)](e(427),{model:e(419),temperature:1,top_p:1,stream:!0}),this[e(384)]=t[e(397)][e(411)](e(395)),this[e(406)]=t[e(397)][e(411)](e(383))||{},this[e(410)]=t[e(397)][e(411)](e(427))}async[Qt(382)]({query:t,context:e,onData:n,actionId:r}){const i=Qt,o=this[i(426)][i(443)],s=await this[i(402)](t,e,r),a=await this[i(408)](this[i(406)],r),c=await this[i(403)](this[i(410)],r),l={messages:s,...c},u={method:i(407),headers:a,body:JSON[i(416)](l),signal:this[i(418)][i(381)]},h=await fetch(this[i(384)],u);if(h.ok)return c[i(425)]?await this[i(440)](h,n):await this[i(436)](h,n),Promise[i(423)]();{const t=await h[i(422)]();return t[i(374)](i(409))?Promise[i(375)](new I(v(o,i(377)))):t[i(374)](i(398))?Promise[i(375)](new I(v(o,i(392)))):Promise[i(375)](new Error(t))}}async[Qt(402)](t,e,n){const r=Qt;let i,o;return e?(i=r(439),o=r(428)+t+r(429)+e):(i=r(441),o=t),[{role:r(405),content:i},{role:r(385),content:o}]}async[Qt(440)](t,e){const n=Qt,r=t[n(415)][n(389)](),i=new TextDecoder;let o="",s="",a="",c=!1;for(;!c;){const{done:t,value:l}=await r[n(414)](),u=o+i[n(413)](l);let h="";c=t;try{h=this[n(404)](u),o=""}catch{o=u;continue}s+=h,!c&&this[n(433)](s)||s&&(a+=s,s="",e(a))}return Promise[n(423)]()}async[Qt(436)](t,e){const n=Qt;return e((await t[n(390)]())[n(378)][0][n(400)][n(412)]),Promise[n(423)]()}[Qt(433)](t){const e=Qt,n=t[e(376)]("<")[e(417)]!==t[e(376)](">")[e(417)],r=t[e(417)]<30;return n&&r}[Qt(404)](t){const e=Qt;return t[e(376)](/\n(?![^{]*\})/g)[e(388)](t=>t[e(430)](e(387),""))[e(401)](t=>t&&t[e(417)]>0&&e(386)!==t)[e(388)](t=>{const n=e,{choices:r}=JSON[n(399)](t);if(r[0]?.[n(431)]?.[n(412)])return r[0][n(431)][n(412)]})[e(401)](t=>t)[e(421)]("")}}class te{constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?":"!==t.protocol.slice(-1)?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?"/"!==t.path.charAt(0)?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const e=new te({...t,headers:{...t.headers}});var n;return e.query&&(e.query=(n=e.query,Object.keys(n).reduce((t,e)=>{const r=n[e];return{...t,[e]:Array.isArray(r)?[...r]:r}},{}))),e}static isInstance(t){if(!t)return!1;const e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return te.clone(this)}}const ee={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},ne=t=>({applyToStack:e=>{e.add((t=>e=>async n=>{if(!te.isInstance(n.request))return e(n);const{request:r}=n,{handlerProtocol:i=""}=t.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]=r.hostname+(r.port?":"+r.port:"");else if(!r.headers.host){let t=r.hostname;null!=r.port&&(t+=`:${r.port}`),r.headers.host=t}return e(n)})(t),ee)}}),re={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},ie="X-Amzn-Trace-Id",oe={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},se=t=>({applyToStack:e=>{e.add((t=>e=>async n=>{const{request:r}=n;if(!te.isInstance(r)||"node"!==t.runtime)return e(n);const i=Object.keys(r.headers??{}).find(t=>t.toLowerCase()===ie.toLowerCase())??ie;if(r.headers.hasOwnProperty(i))return e(n);const o=process.env.AWS_LAMBDA_FUNCTION_NAME,s=process.env._X_AMZN_TRACE_ID,a=t=>"string"==typeof t&&t.length>0;return a(o)&&a(s)&&(r.headers[ie]=s),e({...n,request:r})})(t),oe)}}),ae=t=>{if("function"==typeof t)return t;const e=Promise.resolve(t);return()=>e};const ce={},le=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),ue=(t,e=!1)=>{if(!e)return le.test(t);const n=t.split(".");for(const t of n)if(!ue(t))return!1;return!0},he=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),de=t=>he.test(t)||t.startsWith("[")&&t.endsWith("]"),pe=(t,e=!1)=>{if(e){for(const e of t.split("."))if(!pe(e))return!1;return!0}return!!ue(t)&&(!(t.length<3||t.length>63)&&(t===t.toLowerCase()&&!de(t)))};let fe=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"AWS ISOE (Europe) global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"AWS ISOF global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"amazonaws.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"EU (Germany)"}}}],"version":"1.1"}'),ge="";const me={isVirtualHostableS3Bucket:pe,parseArn:t=>{const e=t.split(":");if(e.length<6)return null;const[n,r,i,o,s,...a]=e;if("arn"!==n||""===r||""===i||""===a.join(":"))return null;return{partition:r,service:i,region:o,accountId:s,resourceId:a.map(t=>t.split("/")).flat()}},partition:t=>{const{partitions:e}=fe;for(const n of e){const{regions:e,outputs:r}=n;for(const[n,i]of Object.entries(e))if(n===t)return{...r,...i}}for(const n of e){const{regionRegex:e,outputs:r}=n;if(new RegExp(e).test(t))return{...r}}const n=e.find(t=>"aws"===t.id);if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};function ke(t,e,n){t.__aws_sdk_context?t.__aws_sdk_context.features||(t.__aws_sdk_context.features={}):t.__aws_sdk_context={features:{}},t.__aws_sdk_context.features[e]=n}ce.aws=me;const _e=/\d{12}\.ddb/;const be="user-agent",we="x-amz-user-agent",Ie=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,ve=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;const ye=t=>(e,n)=>async r=>{const{request:i}=r;if(!te.isInstance(i))return e(r);const{headers:o}=i,s=n?.userAgent?.map(Ae)||[],a=(await t.defaultUserAgentProvider()).map(Ae);await async function(t,e,n){const r=n.request;if("rpc-v2-cbor"===r?.headers?.["smithy-protocol"]&&ke(t,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof e.retryStrategy){const n=await e.retryStrategy();"function"==typeof n.acquireInitialRetryToken?n.constructor?.name?.includes("Adaptive")?ke(t,"RETRY_MODE_ADAPTIVE","F"):ke(t,"RETRY_MODE_STANDARD","E"):ke(t,"RETRY_MODE_LEGACY","D")}if("function"==typeof e.accountIdEndpointMode){const n=t.endpointV2;switch(String(n?.url?.hostname).match(_e)&&ke(t,"ACCOUNT_ID_ENDPOINT","O"),await(e.accountIdEndpointMode?.())){case"disabled":ke(t,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":ke(t,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":ke(t,"ACCOUNT_ID_MODE_REQUIRED","R")}}const i=t.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source){const e=i;e.accountId&&ke(t,"RESOLVED_ACCOUNT_ID","T");for(const[n,r]of Object.entries(e.$source??{}))ke(t,n,r)}}(n,t,r);const c=n;a.push(`m/${function(t){let e="";for(const n in t){const r=t[n];if(!(e.length+r.length+1<=1024))break;e.length?e+=","+r:e+=r}return e}(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const l=t?.customUserAgent?.map(Ae)||[],u=await t.userAgentAppId();u&&a.push(Ae([`app/${u}`]));const h=(ge?[ge]:[]).concat([...a,...s,...l]).join(" "),d=[...a.filter(t=>t.startsWith("aws-sdk-")),...l].join(" ");return"browser"!==t.runtime?(d&&(o[we]=o[we]?`${o[be]} ${d}`:d),o[be]=h):o[we]=h,e({...r,request:i})},Ae=t=>{const e=t[0].split("/").map(t=>t.replace(Ie,"-")).join("/"),n=t[1]?.replace(ve,"-"),r=e.indexOf("/"),i=e.substring(0,r);let o=e.substring(r+1);return"api"===i&&(o=o.toLowerCase()),[i,o,n].filter(t=>t&&t.length>0).reduce((t,e,n)=>{switch(n){case 0:return e;case 1:return`${t}/${e}`;default:return`${t}#${e}`}},"")},Ee={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},xe=t=>"string"==typeof t&&(t.startsWith("fips-")||t.endsWith("-fips")),Te=t=>xe(t)?["fips-aws-global","aws-fips"].includes(t)?"us-east-1":t.replace(/fips-(dkr-|prod-)?|-fips/,""):t,Ce="__smithy_context",Se=t=>t[Ce]||(t[Ce]={});const Re=(t,e)=>(n,r)=>async i=>{const o=((t,e)=>{if(!e||0===e.length)return t;const n=[];for(const r of e)for(const e of t)e.schemeId.split("#")[1]===r&&n.push(e);for(const e of t)n.find(({schemeId:t})=>t===e.schemeId)||n.push(e);return n})(t.httpAuthSchemeProvider(await e.httpAuthSchemeParametersProvider(t,r,i.input)),t.authSchemePreference?await t.authSchemePreference():[]),s=function(t){const e=new Map;for(const n of t)e.set(n.schemeId,n);return e}(t.httpAuthSchemes),a=Se(r),c=[];for(const n of o){const i=s.get(n.schemeId);if(!i){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const o=i.identityProvider(await e.identityProviderConfigProvider(t));if(!o){c.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:l={},signingProperties:u={}}=n.propertiesExtractor?.(t,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},l),n.signingProperties=Object.assign(n.signingProperties||{},u),a.selectedHttpAuthScheme={httpAuthOption:n,identity:await o(n.identityProperties),signer:i.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return n(i)},Oe={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class Ne{constructor(t){this.authSchemes=new Map;for(const[e,n]of Object.entries(t))void 0!==n&&this.authSchemes.set(e,n)}getIdentityProvider(t){return this.authSchemes.get(t)}}const Le=t=>t=>{throw t},Pe=(t,e)=>{},Me={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},De=t=>({applyToStack:t=>{t.addRelativeTo((t,e)=>async n=>{if(!te.isInstance(n.request))return t(n);const r=Se(e).selectedHttpAuthScheme;if(!r)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:i={}},identity:o,signer:s}=r,a=await t({...n,request:await s.sign(n.request,o,i)}).catch((s.errorHandler||Le)(i));return(s.successHandler||Pe)(a.response,i),a},Me)}}),He="content-length";const Be={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Ue=t=>({applyToStack:e=>{var n;e.add((n=t.bodyLengthChecker,t=>async e=>{const r=e.request;if(te.isInstance(r)){const{body:t,headers:e}=r;if(t&&-1===Object.keys(e).map(t=>t.toLowerCase()).indexOf(He))try{const e=n(t);r.headers={...r.headers,[He]:String(e)}}catch(t){}}return t({...e,request:r})}),Be)}}),Ve=t=>{if("function"==typeof t)return t;const e=Promise.resolve(t);return()=>e},qe=async t=>{};const Fe=t=>{if("string"==typeof t)return Fe(new URL(t));const{hostname:e,pathname:n,port:r,protocol:i,search:o}=t;let s;return o&&(s=function(t){const e={};if(t=t.replace(/^\?/,""))for(const n of t.split("&")){let[t,r=null]=n.split("=");t=decodeURIComponent(t),r&&(r=decodeURIComponent(r)),t in e?Array.isArray(e[t])?e[t].push(r):e[t]=[e[t],r]:e[t]=r}return e}(o)),{hostname:e,port:r?parseInt(r):void 0,protocol:i,path:n,query:s}},ze=t=>"object"==typeof t?"url"in t?Fe(t.url):t:Fe(t);var Ge;!function(t){t.STANDARD="standard",t.ADAPTIVE="adaptive"}(Ge||(Ge={}));const je=Ge.STANDARD,We=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],Ye=["TimeoutError","RequestTimeout","RequestTimeoutException"],Ke=[500,502,503,504],$e=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Qe=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],Xe=t=>429===t.$metadata?.httpStatusCode||We.includes(t.name)||1==t.$retryable?.throttling,Ze=(t,e=0)=>(t=>t.$metadata?.clockSkewCorrected)(t)||Ye.includes(t.name)||$e.includes(t?.code||"")||Qe.includes(t?.code||"")||Ke.includes(t.$metadata?.httpStatusCode||0)||(t=>{const e=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(t&&t instanceof TypeError)&&e.has(t.message)})(t)||void 0!==t.cause&&e<=10&&Ze(t.cause,e+1);class Je{constructor(t){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=t?.beta??.7,this.minCapacity=t?.minCapacity??1,this.minFillRate=t?.minFillRate??.5,this.scaleConstant=t?.scaleConstant??.4,this.smooth=t?.smooth??.8;const e=this.getCurrentTimeInSeconds();this.lastThrottleTime=e,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(t){if(this.enabled){if(this.refillTokenBucket(),t>this.currentCapacity){const e=(t-this.currentCapacity)/this.fillRate*1e3;await new Promise(t=>Je.setTimeoutFn(t,e))}this.currentCapacity=this.currentCapacity-t}}refillTokenBucket(){const t=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=t);const e=(t-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+e),this.lastTimestamp=t}updateClientSendingRate(t){let e;if(this.updateMeasuredRate(),Xe(t)){const t=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=t,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),e=this.cubicThrottle(t),this.enableTokenBucket()}else this.calculateTimeWindow(),e=this.cubicSuccess(this.getCurrentTimeInSeconds());const n=Math.min(e,2*this.measuredTxRate);this.updateTokenBucketRate(n)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(t){return this.getPrecise(t*this.beta)}cubicSuccess(t){return this.getPrecise(this.scaleConstant*Math.pow(t-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(t){this.refillTokenBucket(),this.fillRate=Math.max(t,this.minFillRate),this.maxCapacity=Math.max(t,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const t=this.getCurrentTimeInSeconds(),e=Math.floor(2*t)/2;if(this.requestCount++,e>this.lastTxRateBucket){const t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(t){return parseFloat(t.toFixed(8))}}Je.setTimeoutFn=setTimeout;const tn=({retryDelay:t,retryCount:e,retryCost:n})=>({getRetryCount:()=>e,getRetryDelay:()=>Math.min(2e4,t),getRetryCost:()=>n});class en{constructor(t){this.maxAttempts=t,this.mode=Ge.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let t=100;return{computeNextBackoffDelay:e=>Math.floor(Math.min(2e4,Math.random()*2**e*t)),setDelayBase:e=>{t=e}}})(),this.maxAttemptsProvider="function"==typeof t?t:async()=>t}async acquireInitialRetryToken(t){return tn({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(t,e){const n=await this.getMaxAttempts();if(this.shouldRetry(t,e,n)){const n=e.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===n?500:100);const r=this.retryBackoffStrategy.computeNextBackoffDelay(t.getRetryCount()),i=e.retryAfterHint?Math.max(e.retryAfterHint.getTime()-Date.now()||0,r):r,o=this.getCapacityCost(n);return this.capacity-=o,tn({retryDelay:i,retryCount:t.getRetryCount()+1,retryCost:o})}throw new Error("No retry token available")}recordSuccess(t){this.capacity=Math.max(500,this.capacity+(t.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(t){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(t,e,n){return t.getRetryCount()+1<n&&this.capacity>=this.getCapacityCost(e.errorType)&&this.isRetryableError(e.errorType)}getCapacityCost(t){return"TRANSIENT"===t?10:5}isRetryableError(t){return"THROTTLING"===t||"TRANSIENT"===t}}class nn{constructor(t,e){this.maxAttemptsProvider=t,this.mode=Ge.ADAPTIVE;const{rateLimiter:n}=e??{};this.rateLimiter=n??new Je,this.standardRetryStrategy=new en(t)}async acquireInitialRetryToken(t){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(t)}async refreshRetryTokenForRetry(t,e){return this.rateLimiter.updateClientSendingRate(e),this.standardRetryStrategy.refreshRetryTokenForRetry(t,e)}recordSuccess(t){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(t)}}class rn{constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const e=t;return"number"==typeof e.statusCode&&"object"==typeof e.headers}}class on{trace(){}debug(){}info(){}warn(){}error(){}}const sn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let an;const cn=new Uint8Array(16);function ln(){if(!an&&(an="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!an))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return an(cn)}const un=[];for(let t=0;t<256;++t)un.push((t+256).toString(16).slice(1));function hn(t,e=0){return un[t[e+0]]+un[t[e+1]]+un[t[e+2]]+un[t[e+3]]+"-"+un[t[e+4]]+un[t[e+5]]+"-"+un[t[e+6]]+un[t[e+7]]+"-"+un[t[e+8]]+un[t[e+9]]+"-"+un[t[e+10]]+un[t[e+11]]+un[t[e+12]]+un[t[e+13]]+un[t[e+14]]+un[t[e+15]]}const dn=function(t,e,n){if(sn.randomUUID&&!e&&!t)return sn.randomUUID();const r=(t=t||{}).random||(t.rng||ln)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return hn(r)},pn=t=>t?.body instanceof ReadableStream,fn=t=>t instanceof Error?t:t instanceof Object?Object.assign(new Error,t):"string"==typeof t?new Error(t):new Error(`AWS SDK error wrapper for ${t}`),gn=t=>void 0!==t.acquireInitialRetryToken&&void 0!==t.refreshRetryTokenForRetry&&void 0!==t.recordSuccess,mn=t=>{const e={error:t,errorType:kn(t)},n=wn(t.$response);return n&&(e.retryAfterHint=n),e},kn=t=>Xe(t)?"THROTTLING":Ze(t)?"TRANSIENT":(t=>{if(void 0!==t.$metadata?.httpStatusCode){const e=t.$metadata.httpStatusCode;return 500<=e&&e<=599&&!Ze(t)}return!1})(t)?"SERVER_ERROR":"CLIENT_ERROR",_n={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},bn=t=>({applyToStack:e=>{e.add((t=>(e,n)=>async r=>{let i=await t.retryStrategy();const o=await t.maxAttempts();if(!gn(i))return i?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",i.mode]]),i.retry(e,r);{let t=await i.acquireInitialRetryToken(n.partition_id),s=new Error,a=0,c=0;const{request:l}=r,u=te.isInstance(l);for(u&&(l.headers["amz-sdk-invocation-id"]=dn());;)try{u&&(l.headers["amz-sdk-request"]=`attempt=${a+1}; max=${o}`);const{response:n,output:s}=await e(r);return i.recordSuccess(t),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,{response:n,output:s}}catch(e){const r=mn(e);if(s=fn(e),u&&pn(l))throw(n.logger instanceof on?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),s;try{t=await i.refreshRetryTokenForRetry(t,r)}catch(t){throw s.$metadata||(s.$metadata={}),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,s}a=t.getRetryCount();const o=t.getRetryDelay();c+=o,await new Promise(t=>setTimeout(t,o))}}})(t),_n)}}),wn=t=>{if(!rn.isInstance(t))return;const e=Object.keys(t.headers).find(t=>"retry-after"===t.toLowerCase());if(!e)return;const n=t.headers[e],r=Number(n);if(!Number.isNaN(r))return new Date(1e3*r);return new Date(n)},In=(t,e)=>{const n=[];if(t&&n.push(t),e)for(const t of e)n.push(t);return n},vn=(t,e)=>`${t||"anonymous"}${e&&e.length>0?` (a.k.a. ${e.join(",")})`:""}`,yn=()=>{let t=[],e=[],n=!1;const r=new Set,i=n=>(t.forEach(t=>{n.add(t.middleware,{...t})}),e.forEach(t=>{n.addRelativeTo(t.middleware,{...t})}),n.identifyOnResolve?.(a.identifyOnResolve()),n),o=t=>{const e=[];return t.before.forEach(t=>{0===t.before.length&&0===t.after.length?e.push(t):e.push(...o(t))}),e.push(t),t.after.reverse().forEach(t=>{0===t.before.length&&0===t.after.length?e.push(t):e.push(...o(t))}),e},s=(n=!1)=>{const r=[],i=[],s={};t.forEach(t=>{const e={...t,before:[],after:[]};for(const t of In(e.name,e.aliases))s[t]=e;r.push(e)}),e.forEach(t=>{const e={...t,before:[],after:[]};for(const t of In(e.name,e.aliases))s[t]=e;i.push(e)}),i.forEach(t=>{if(t.toMiddleware){const e=s[t.toMiddleware];if(void 0===e){if(n)return;throw new Error(`${t.toMiddleware} is not found when adding ${vn(t.name,t.aliases)} middleware ${t.relation} ${t.toMiddleware}`)}"after"===t.relation&&e.after.push(t),"before"===t.relation&&e.before.push(t)}});const a=(c=r,c.sort((t,e)=>An[e.step]-An[t.step]||En[e.priority||"normal"]-En[t.priority||"normal"])).map(o).reduce((t,e)=>(t.push(...e),t),[]);var c;return a},a={add:(e,n={})=>{const{name:i,override:o,aliases:s}=n,a={step:"initialize",priority:"normal",middleware:e,...n},c=In(i,s);if(c.length>0){if(c.some(t=>r.has(t))){if(!o)throw new Error(`Duplicate middleware name '${vn(i,s)}'`);for(const e of c){const n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===n)continue;const r=t[n];if(r.step!==a.step||a.priority!==r.priority)throw new Error(`"${vn(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${vn(i,s)}" middleware with ${a.priority} priority in ${a.step} step.`);t.splice(n,1)}}for(const t of c)r.add(t)}t.push(a)},addRelativeTo:(t,n)=>{const{name:i,override:o,aliases:s}=n,a={middleware:t,...n},c=In(i,s);if(c.length>0){if(c.some(t=>r.has(t))){if(!o)throw new Error(`Duplicate middleware name '${vn(i,s)}'`);for(const t of c){const n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===n)continue;const r=e[n];if(r.toMiddleware!==a.toMiddleware||r.relation!==a.relation)throw new Error(`"${vn(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${vn(i,s)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);e.splice(n,1)}}for(const t of c)r.add(t)}e.push(a)},clone:()=>i(yn()),use:t=>{t.applyToStack(a)},remove:n=>"string"==typeof n?(n=>{let i=!1;const o=t=>{const e=In(t.name,t.aliases);if(e.includes(n)){i=!0;for(const t of e)r.delete(t);return!1}return!0};return t=t.filter(o),e=e.filter(o),i})(n):(n=>{let i=!1;const o=t=>{if(t.middleware===n){i=!0;for(const e of In(t.name,t.aliases))r.delete(e);return!1}return!0};return t=t.filter(o),e=e.filter(o),i})(n),removeByTag:n=>{let i=!1;const o=t=>{const{tags:e,name:o,aliases:s}=t;if(e&&e.includes(n)){const t=In(o,s);for(const e of t)r.delete(e);return i=!0,!1}return!0};return t=t.filter(o),e=e.filter(o),i},concat:t=>{const e=i(yn());return e.use(t),e.identifyOnResolve(n||e.identifyOnResolve()||(t.identifyOnResolve?.()??!1)),e},applyToStack:i,identify:()=>s(!0).map(t=>{const e=t.step??t.relation+" "+t.toMiddleware;return vn(t.name,t.aliases)+" - "+e}),identifyOnResolve:t=>("boolean"==typeof t&&(n=t),n),resolve:(t,e)=>{for(const n of s().map(t=>t.middleware).reverse())t=n(t,e);return n&&console.log(a.identify()),t}};return a},An={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},En={high:3,normal:2,low:1};class xn{constructor(t){this.config=t,this.middlewareStack=yn()}send(t,e,n){const r="function"!=typeof e?e:void 0,i="function"==typeof e?e:n;let o;if(void 0===r&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const e=this.handlers;e.has(t.constructor)?o=e.get(t.constructor):(o=t.resolveMiddleware(this.middlewareStack,this.config,r),e.set(t.constructor,o))}else delete this.handlers,o=t.resolveMiddleware(this.middlewareStack,this.config,r);if(!i)return o(t).then(t=>t.output);o(t).then(t=>i(null,t.output),t=>i(t)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const Tn=(Cn=3e5,t=>Sn(t)&&t.expiration.getTime()-Date.now()<Cn);var Cn;const Sn=t=>void 0!==t.expiration,Rn={},On={};for(let t=0;t<256;t++){let e=t.toString(16).toLowerCase();1===e.length&&(e=`0${e}`),Rn[t]=e,On[e]=t}function Nn(t){if(t.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const e=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2){const r=t.slice(n,n+2).toLowerCase();if(!(r in On))throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`);e[n/2]=On[r]}return e}function Ln(t){let e="";for(let n=0;n<t.byteLength;n++)e+=Rn[t[n]];return e}const Pn=t=>(new TextEncoder).encode(t),Mn=t=>"string"==typeof t?Pn(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t),Dn="X-Amz-Date",Hn="X-Amz-Signature",Bn="X-Amz-Security-Token",Un="authorization",Vn=Dn.toLowerCase(),qn=[Un,Vn,"date"],Fn=Hn.toLowerCase(),zn="x-amz-content-sha256",Gn=Bn.toLowerCase(),jn={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Wn=/^proxy-/,Yn=/^sec-/,Kn="AWS4-HMAC-SHA256",$n="AWS4-HMAC-SHA256-PAYLOAD",Qn="aws4_request",Xn={},Zn=[],Jn=(t,e,n)=>`${t}/${e}/${n}/${Qn}`,tr=(t,e,n)=>{const r=new t(e);return r.update(Mn(n)),r.digest()},er=({headers:t},e,n)=>{const r={};for(const i of Object.keys(t).sort()){if(null==t[i])continue;const o=i.toLowerCase();(o in jn||e?.has(o)||Wn.test(o)||Yn.test(o))&&(!n||n&&!n.has(o))||(r[o]=t[i].trim().replace(/\s+/g," "))}return r},nr=async({headers:t,body:e},n)=>{for(const e of Object.keys(t))if(e.toLowerCase()===zn)return t[e];if(null==e)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof e||ArrayBuffer.isView(e)||(r=e,"function"==typeof ArrayBuffer&&r instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(r))){const t=new n;return t.update(Mn(e)),Ln(await t.digest())}var r;return"UNSIGNED-PAYLOAD"};class rr{format(t){const e=[];for(const n of Object.keys(t)){const r=Pn(n);e.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let r=0;for(const t of e)n.set(t,r),r+=t.byteLength;return n}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":const e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,t.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(t.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+t.value.byteLength));i.setUint8(0,6),i.setUint16(1,t.value.byteLength,!1);const o=new Uint8Array(i.buffer);return o.set(t.value,3),o;case"string":const s=Pn(t.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const l=new Uint8Array(9);return l[0]=8,l.set(sr.fromNumber(t.value.valueOf()).bytes,1),l;case"uuid":if(!or.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const u=new Uint8Array(17);return u[0]=9,u.set(Nn(t.value.replace(/\-/g,"")),1),u}}}var ir;!function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"}(ir||(ir={}));const or=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class sr{constructor(t){if(this.bytes=t,8!==t.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const e=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(t));n>-1&&r>0;n--,r/=256)e[n]=r;return t<0&&ar(e),new sr(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&ar(t),parseInt(Ln(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function ar(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}const cr=t=>{t=te.clone(t);for(const e of Object.keys(t.headers))qn.indexOf(e.toLowerCase())>-1&&delete t.headers[e];return t},lr=t=>encodeURIComponent(t).replace(/[!'()*]/g,ur),ur=t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`,hr=t=>"number"==typeof t?new Date(1e3*t):"string"==typeof t?Number(t)?new Date(1e3*Number(t)):new Date(t):t;class dr{constructor({applyChecksum:t,credentials:e,region:n,service:r,sha256:i,uriEscapePath:o=!0}){this.service=r,this.sha256=i,this.uriEscapePath=o,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=Ve(n),this.credentialProvider=Ve(e)}createCanonicalRequest(t,e,n){const r=Object.keys(e).sort();return`${t.method}\n${this.getCanonicalPath(t)}\n${(({query:t={}})=>{const e=[],n={};for(const r of Object.keys(t)){if(r.toLowerCase()===Fn)continue;const i=lr(r);e.push(i);const o=t[r];"string"==typeof o?n[i]=`${i}=${lr(o)}`:Array.isArray(o)&&(n[i]=o.slice(0).reduce((t,e)=>t.concat([`${i}=${lr(e)}`]),[]).sort().join("&"))}return e.sort().map(t=>n[t]).filter(t=>t).join("&")})(t)}\n${r.map(t=>`${t}:${e[t]}`).join("\n")}\n\n${r.join(";")}\n${n}`}async createStringToSign(t,e,n,r){const i=new this.sha256;i.update(Mn(n));return`${r}\n${t}\n${e}\n${Ln(await i.digest())}`}getCanonicalPath({path:t}){if(this.uriEscapePath){const e=[];for(const n of t.split("/"))0!==n?.length&&"."!==n&&(".."===n?e.pop():e.push(n));const n=`${t?.startsWith("/")?"/":""}${e.join("/")}${e.length>0&&t?.endsWith("/")?"/":""}`;return lr(n).replace(/%2F/g,"/")}return t}validateResolvedCredentials(t){if("object"!=typeof t||"string"!=typeof t.accessKeyId||"string"!=typeof t.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(t){const e=(n=t,hr(n).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var n;return{longDate:e,shortDate:e.slice(0,8)}}getCanonicalHeaderList(t){return Object.keys(t).sort().join(";")}}class pr extends dr{constructor({applyChecksum:t,credentials:e,region:n,service:r,sha256:i,uriEscapePath:o=!0}){super({applyChecksum:t,credentials:e,region:n,service:r,sha256:i,uriEscapePath:o}),this.headerFormatter=new rr}async presign(t,e={}){const{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:i,unhoistableHeaders:o,signableHeaders:s,hoistableHeaders:a,signingRegion:c,signingService:l}=e,u=await this.credentialProvider();this.validateResolvedCredentials(u);const h=c??await this.regionProvider(),{longDate:d,shortDate:p}=this.formatDate(n);if(r>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const f=Jn(p,h,l??this.service),g=((t,e={})=>{const{headers:n,query:r={}}=te.clone(t);for(const t of Object.keys(n)){const i=t.toLowerCase();("x-amz-"===i.slice(0,6)&&!e.unhoistableHeaders?.has(i)||e.hoistableHeaders?.has(i))&&(r[t]=n[t],delete n[t])}return{...t,headers:n,query:r}})(cr(t),{unhoistableHeaders:o,hoistableHeaders:a});u.sessionToken&&(g.query[Bn]=u.sessionToken),g.query["X-Amz-Algorithm"]=Kn,g.query["X-Amz-Credential"]=`${u.accessKeyId}/${f}`,g.query[Dn]=d,g.query["X-Amz-Expires"]=r.toString(10);const m=er(g,i,s);return g.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(m),g.query[Hn]=await this.getSignature(d,f,this.getSigningKey(u,h,p,l),this.createCanonicalRequest(g,m,await nr(t,this.sha256))),g}async sign(t,e){return"string"==typeof t?this.signString(t,e):t.headers&&t.payload?this.signEvent(t,e):t.message?this.signMessage(t,e):this.signRequest(t,e)}async signEvent({headers:t,payload:e},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:o}){const s=i??await this.regionProvider(),{shortDate:a,longDate:c}=this.formatDate(n),l=Jn(a,s,o??this.service),u=await nr({headers:{},body:e},this.sha256),h=new this.sha256;h.update(t);const d=Ln(await h.digest()),p=[$n,c,l,r,d,u].join("\n");return this.signString(p,{signingDate:n,signingRegion:s,signingService:o})}async signMessage(t,{signingDate:e=new Date,signingRegion:n,signingService:r}){return this.signEvent({headers:this.headerFormatter.format(t.message.headers),payload:t.message.body},{signingDate:e,signingRegion:n,signingService:r,priorSignature:t.priorSignature}).then(e=>({message:t.message,signature:e}))}async signString(t,{signingDate:e=new Date,signingRegion:n,signingService:r}={}){const i=await this.credentialProvider();this.validateResolvedCredentials(i);const o=n??await this.regionProvider(),{shortDate:s}=this.formatDate(e),a=new this.sha256(await this.getSigningKey(i,o,s,r));return a.update(Mn(t)),Ln(await a.digest())}async signRequest(t,{signingDate:e=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:i,signingService:o}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const a=i??await this.regionProvider(),c=cr(t),{longDate:l,shortDate:u}=this.formatDate(e),h=Jn(u,a,o??this.service);c.headers[Vn]=l,s.sessionToken&&(c.headers[Gn]=s.sessionToken);const d=await nr(c,this.sha256);!((t,e)=>{t=t.toLowerCase();for(const n of Object.keys(e))if(t===n.toLowerCase())return!0;return!1})(zn,c.headers)&&this.applyChecksum&&(c.headers[zn]=d);const p=er(c,r,n),f=await this.getSignature(l,h,this.getSigningKey(s,a,u,o),this.createCanonicalRequest(c,p,d));return c.headers[Un]=`${Kn} Credential=${s.accessKeyId}/${h}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${f}`,c}async getSignature(t,e,n,r){const i=await this.createStringToSign(t,e,r,Kn),o=new this.sha256(await n);return o.update(Mn(i)),Ln(await o.digest())}getSigningKey(t,e,n,r){return(async(t,e,n,r,i)=>{const o=`${n}:${r}:${i}:${Ln(await tr(t,e.secretAccessKey,e.accessKeyId))}:${e.sessionToken}`;if(o in Xn)return Xn[o];for(Zn.push(o);Zn.length>50;)delete Xn[Zn.shift()];let s=`AWS4${e.secretAccessKey}`;for(const e of[n,r,i,Qn])s=await tr(t,s,e);return Xn[o]=s})(this.sha256,t,n,e,r||this.service)}}const fr=t=>{let e,n=t.credentials,r=!!t.credentials;Object.defineProperty(t,"credentials",{set(i){i&&i!==n&&i!==e&&(r=!0),n=i;const o=function(t,{credentials:e,credentialDefaultProvider:n}){let r;r=e?e?.memoized?e:((t,e,n)=>{if(void 0===t)return;const r="function"!=typeof t?async()=>Promise.resolve(t):t;let i,o,s,a=!1;const c=async t=>{o||(o=r(t));try{i=await o,s=!0,a=!1}finally{o=void 0}return i};return void 0===e?async t=>(s&&!t?.forceRefresh||(i=await c(t)),i):async t=>(s&&!t?.forceRefresh||(i=await c(t)),a?i:n(i)?e(i)?(await c(t),i):i:(a=!0,i))})(e,Tn,Sn):n?ae(n(Object.assign({},t,{parentClientConfig:t}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return r.memoized=!0,r}(t,{credentials:n,credentialDefaultProvider:t.credentialDefaultProvider}),s=function(t,e){if(e.configBound)return e;const n=async n=>e({...n,callerClientConfig:t});return n.memoized=e.memoized,n.configBound=!0,n}(t,o);r&&!s.attributed?(e=async t=>s(t).then(t=>function(t,e,n){return t.$source||(t.$source={}),t.$source[e]=n,t}(t,"CREDENTIALS_CODE","e")),e.memoized=s.memoized,e.configBound=s.configBound,e.attributed=!0):e=s},get:()=>e,enumerable:!0,configurable:!0}),t.credentials=n;const{signingEscapePath:i=!0,systemClockOffset:o=t.systemClockOffset||0,sha256:s}=t;let a;a=t.signer?ae(t.signer):t.regionInfoProvider?()=>ae(t.region)().then(async e=>[await t.regionInfoProvider(e,{useFipsEndpoint:await t.useFipsEndpoint(),useDualstackEndpoint:await t.useDualstackEndpoint()})||{},e]).then(([e,n])=>{const{signingRegion:r,signingService:o}=e;t.signingRegion=t.signingRegion||r||n,t.signingName=t.signingName||o||t.serviceId;const a={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:i};return new(t.signerConstructor||pr)(a)}):async e=>{const n=(e=Object.assign({},{name:"sigv4",signingName:t.signingName||t.defaultSigningName,signingRegion:await ae(t.region)(),properties:{}},e)).signingRegion,r=e.signingName;t.signingRegion=t.signingRegion||n,t.signingName=t.signingName||r||t.serviceId;const o={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:i};return new(t.signerConstructor||pr)(o)};return Object.assign(t,{systemClockOffset:o,signingEscapePath:i,signer:a})};const gr=async(t,e,n)=>({operation:Se(e).operation,region:await Ve(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const mr=t=>{const e=[];return t.operation,e.push(function(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:t.region},propertiesExtractor:(t,e)=>({signingProperties:{config:t,context:e}})}}(t)),e},kr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},_r="3.823.0";var br="undefined"!=typeof Buffer&&Buffer.from?function(t){return Buffer.from(t,"utf8")}:t=>(new TextEncoder).encode(t);function wr(t){return t instanceof Uint8Array?t:"string"==typeof t?br(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t)}function Ir(t){return"string"==typeof t?0===t.length:0===t.byteLength}var vr={name:"SHA-256"},yr={name:"HMAC",hash:vr},Ar=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Er={};function xr(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Er}var Tr=function(){function t(t){this.toHash=new Uint8Array(0),this.secret=t,this.reset()}return t.prototype.update=function(t){if(!Ir(t)){var e=wr(t),n=new Uint8Array(this.toHash.byteLength+e.byteLength);n.set(this.toHash,0),n.set(e,this.toHash.byteLength),this.toHash=n}},t.prototype.digest=function(){var t=this;return this.key?this.key.then(function(e){return xr().crypto.subtle.sign(yr,e,t.toHash).then(function(t){return new Uint8Array(t)})}):Ir(this.toHash)?Promise.resolve(Ar):Promise.resolve().then(function(){return xr().crypto.subtle.digest(vr,t.toHash)}).then(function(t){return Promise.resolve(new Uint8Array(t))})},t.prototype.reset=function(){var t=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(e,n){xr().crypto.subtle.importKey("raw",wr(t.secret),yr,!1,["sign"]).then(e,n)}),this.key.catch(function(){}))},t}();function Cr(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(s,a)}c((r=r.apply(t,e||[])).next())})}function Sr(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function Rr(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Or=64,Nr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Lr=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Pr=Math.pow(2,53)-1,Mr=function(){function t(){this.state=Int32Array.from(Lr),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return t.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var e=0,n=t.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>Pr)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=t[e++],n--,this.bufferLength===Or&&(this.hashBuffer(),this.bufferLength=0)},t.prototype.digest=function(){if(!this.finished){var t=8*this.bytesHashed,e=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(e.setUint8(this.bufferLength++,128),n%Or>=56){for(var r=this.bufferLength;r<Or;r++)e.setUint8(r,0);this.hashBuffer(),this.bufferLength=0}for(r=this.bufferLength;r<56;r++)e.setUint8(r,0);e.setUint32(56,Math.floor(t/4294967296),!0),e.setUint32(60,t),this.hashBuffer(),this.finished=!0}var i=new Uint8Array(32);for(r=0;r<8;r++)i[4*r]=this.state[r]>>>24&255,i[4*r+1]=this.state[r]>>>16&255,i[4*r+2]=this.state[r]>>>8&255,i[4*r+3]=this.state[r]>>>0&255;return i},t.prototype.hashBuffer=function(){for(var t=this.buffer,e=this.state,n=e[0],r=e[1],i=e[2],o=e[3],s=e[4],a=e[5],c=e[6],l=e[7],u=0;u<Or;u++){if(u<16)this.temp[u]=(255&t[4*u])<<24|(255&t[4*u+1])<<16|(255&t[4*u+2])<<8|255&t[4*u+3];else{var h=this.temp[u-2],d=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,p=((h=this.temp[u-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[u]=(d+this.temp[u-7]|0)+(p+this.temp[u-16]|0)}var f=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&a^~s&c)|0)+(l+(Nr[u]+this.temp[u]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&i^r&i)|0;l=c,c=a,a=s,s=o+f|0,o=i,i=r,r=n,n=f+g|0}e[0]+=n,e[1]+=r,e[2]+=i,e[3]+=o,e[4]+=s,e[5]+=a,e[6]+=c,e[7]+=l},t}(),Dr=function(){function t(t){this.secret=t,this.hash=new Mr,this.reset()}return t.prototype.update=function(t){if(!Ir(t)&&!this.error)try{this.hash.update(wr(t))}catch(t){this.error=t}},t.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},t.prototype.digest=function(){return Cr(this,void 0,void 0,function(){return Sr(this,function(t){return[2,this.digestSync()]})})},t.prototype.reset=function(){if(this.hash=new Mr,this.secret){this.outer=new Mr;var t=function(t){var e=wr(t);if(e.byteLength>Or){var n=new Mr;n.update(e),e=n.digest()}var r=new Uint8Array(Or);return r.set(e),r}(this.secret),e=new Uint8Array(Or);e.set(t);for(var n=0;n<Or;n++)t[n]^=54,e[n]^=92;this.hash.update(t),this.outer.update(e);for(n=0;n<t.byteLength;n++)t[n]=0}},t}();var Hr=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function Br(t){return t&&Hr.every(function(e){return"function"==typeof t[e]})}var Ur=function(){function t(t){!function(t){return!(!function(t){return"object"==typeof t&&"object"==typeof t.crypto&&"function"==typeof t.crypto.getRandomValues}(t)||"object"!=typeof t.crypto.subtle)&&Br(t.crypto.subtle)}(xr())?this.hash=new Dr(t):this.hash=new Tr(t)}return t.prototype.update=function(t,e){this.hash.update(wr(t))},t.prototype.digest=function(){return this.hash.digest()},t.prototype.reset=function(){this.hash.reset()},t}(),Vr=n(179),qr=n.n(Vr);const Fr=({serviceId:t,clientVersion:e})=>async n=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?qr().parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",e],["ua","2.1"],[`os/${r?.os?.name||"other"}`,r?.os?.version],["lang/js"],["md/browser",`${r?.browser?.name??"unknown"}_${r?.browser?.version??"unknown"}`]];t&&i.push([`api/${t}`,e]);const o=await(n?.userAgentAppId?.());return o&&i.push([`app/${o}`]),i};var zr;!function(t){t.ENV="env",t.CONFIG="shared config entry"}(zr||(zr={}));!function(){function t(){this.crc32=new jr}t.prototype.update=function(t){Ir(t)||this.crc32.update(wr(t))},t.prototype.digest=function(){return Cr(this,void 0,void 0,function(){return Sr(this,function(t){return[2,(e=this.crc32.digest(),new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))];var e})})},t.prototype.reset=function(){this.crc32=new jr}}();var Gr,jr=function(){function t(){this.checksum=4294967295}return t.prototype.update=function(t){var e,n;try{for(var r=Rr(t),i=r.next();!i.done;i=r.next()){var o=i.value;this.checksum=this.checksum>>>8^Wr[255&(this.checksum^o)]}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return this},t.prototype.digest=function(){return(4294967295^this.checksum)>>>0},t}(),Wr=function(t){if(!Uint32Array.from){for(var e=new Uint32Array(t.length),n=0;n<t.length;)e[n]=t[n],n+=1;return e}return Uint32Array.from(t)}([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class Yr{constructor(t){if(this.bytes=t,8!==t.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const e=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(t));n>-1&&r>0;n--,r/=256)e[n]=r;return t<0&&Kr(e),new Yr(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&Kr(t),parseInt(Ln(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function Kr(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}class $r{constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){const e=[];for(const n of Object.keys(t)){const r=this.fromUtf8(n);e.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let r=0;for(const t of e)n.set(t,r),r+=t.byteLength;return n}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":const e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,t.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(t.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+t.value.byteLength));i.setUint8(0,6),i.setUint16(1,t.value.byteLength,!1);const o=new Uint8Array(i.buffer);return o.set(t.value,3),o;case"string":const s=this.fromUtf8(t.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const l=new Uint8Array(9);return l[0]=8,l.set(Yr.fromNumber(t.value.valueOf()).bytes,1),l;case"uuid":if(!oi.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const u=new Uint8Array(17);return u[0]=9,u.set(Nn(t.value.replace(/\-/g,"")),1),u}}parse(t){const e={};let n=0;for(;n<t.byteLength;){const r=t.getUint8(n++),i=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,r));switch(n+=r,t.getUint8(n++)){case 0:e[i]={type:Qr,value:!0};break;case 1:e[i]={type:Qr,value:!1};break;case 2:e[i]={type:Xr,value:t.getInt8(n++)};break;case 3:e[i]={type:Zr,value:t.getInt16(n,!1)},n+=2;break;case 4:e[i]={type:Jr,value:t.getInt32(n,!1)},n+=4;break;case 5:e[i]={type:ti,value:new Yr(new Uint8Array(t.buffer,t.byteOffset+n,8))},n+=8;break;case 6:const r=t.getUint16(n,!1);n+=2,e[i]={type:ei,value:new Uint8Array(t.buffer,t.byteOffset+n,r)},n+=r;break;case 7:const o=t.getUint16(n,!1);n+=2,e[i]={type:ni,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,o))},n+=o;break;case 8:e[i]={type:ri,value:new Date(new Yr(new Uint8Array(t.buffer,t.byteOffset+n,8)).valueOf())},n+=8;break;case 9:const s=new Uint8Array(t.buffer,t.byteOffset+n,16);n+=16,e[i]={type:ii,value:`${Ln(s.subarray(0,4))}-${Ln(s.subarray(4,6))}-${Ln(s.subarray(6,8))}-${Ln(s.subarray(8,10))}-${Ln(s.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return e}}!function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"}(Gr||(Gr={}));const Qr="boolean",Xr="byte",Zr="short",Jr="integer",ti="long",ei="binary",ni="string",ri="timestamp",ii="uuid",oi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class si{constructor(t,e){this.headerMarshaller=new $r(t,e),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){const t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage:()=>t,isEndOfStream:()=>e}}getAvailableMessages(){const t=this.messageBuffer;this.messageBuffer=[];const e=this.isEndOfStream;return{getMessages:()=>t,isEndOfStream:()=>e}}encode({headers:t,body:e}){const n=this.headerMarshaller.format(t),r=n.byteLength+e.byteLength+16,i=new Uint8Array(r),o=new DataView(i.buffer,i.byteOffset,i.byteLength),s=new jr;return o.setUint32(0,r,!1),o.setUint32(4,n.byteLength,!1),o.setUint32(8,s.update(i.subarray(0,8)).digest(),!1),i.set(n,12),i.set(e,n.byteLength+12),o.setUint32(r-4,s.update(i.subarray(8,r-4)).digest(),!1),i}decode(t){const{headers:e,body:n}=function({byteLength:t,byteOffset:e,buffer:n}){if(t<16)throw new Error("Provided message too short to accommodate event stream message overhead");const r=new DataView(n,e,t),i=r.getUint32(0,!1);if(t!==i)throw new Error("Reported message length does not match received message length");const o=r.getUint32(4,!1),s=r.getUint32(8,!1),a=r.getUint32(t-4,!1),c=(new jr).update(new Uint8Array(n,e,8));if(s!==c.digest())throw new Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(n,e+8,t-12)),a!==c.digest())throw new Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(n,e+8+4,o),body:new Uint8Array(n,e+8+4+o,i-o-16)}}(t);return{headers:this.headerMarshaller.parse(e),body:n}}formatHeaders(t){return this.headerMarshaller.format(t)}}class ai{constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.messageStream){const e=await this.options.deserializer(t);void 0!==e&&(yield e)}}}class ci{constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.inputStream){const e=this.options.decoder.decode(t);yield e}}}class li{constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.messageStream){const e=this.options.encoder.encode(t);yield e}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class ui{constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const t of this.options.inputStream){const e=this.options.serializer(t);yield e}}}function hi(t,e){return async function(n){const{value:r}=n.headers[":message-type"];if("error"===r){const t=new Error(n.headers[":error-message"].value||"UnknownError");throw t.name=n.headers[":error-code"].value,t}if("exception"===r){const r=n.headers[":exception-type"].value,i={[r]:n},o=await t(i);if(o.$unknown){const t=new Error(e(n.body));throw t.name=r,t}throw o[r]}if("event"===r){const e={[n.headers[":event-type"].value]:n},r=await t(e);if(r.$unknown)return;return r}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class di{constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new si(t,e),this.utfEncoder=t}deserialize(t,e){const n=function(t){let e=0,n=0,r=null,i=null;const o=t=>{if("number"!=typeof t)throw new Error("Attempted to allocate an event message where size was not a number: "+t);e=t,n=4,r=new Uint8Array(t),new DataView(r.buffer).setUint32(0,t,!1)};return{[Symbol.asyncIterator]:async function*(){const s=t[Symbol.asyncIterator]();for(;;){const{value:t,done:a}=await s.next();if(a){if(!e)return;if(e!==n)throw new Error("Truncated event message received.");return void(yield r)}const c=t.length;let l=0;for(;l<c;){if(!r){const e=c-l;i||(i=new Uint8Array(4));const r=Math.min(4-n,e);if(i.set(t.slice(l,l+r),n),n+=r,l+=r,n<4)break;o(new DataView(i.buffer).getUint32(0,!1)),i=null}const s=Math.min(e-n,c-l);r.set(t.slice(l,l+s),n),n+=s,l+=s,e&&e===n&&(yield r,r=null,e=0,n=0)}}}}}(t);return new ai({messageStream:new ci({inputStream:n,decoder:this.eventStreamCodec}),deserializer:hi(e,this.utfEncoder)})}serialize(t,e){return new li({messageStream:new ui({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class pi{constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new di({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){const n=fi(t)?(r=t,{[Symbol.asyncIterator]:async function*(){const t=r.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}):t;var r;return this.universalMarshaller.deserialize(n,e)}serialize(t,e){const n=this.universalMarshaller.serialize(t,e);return"function"==typeof ReadableStream?(t=>{const e=t[Symbol.asyncIterator]();return new ReadableStream({async pull(t){const{done:n,value:r}=await e.next();if(n)return t.close();t.enqueue(r)}})})(n):n}}const fi=t=>"function"==typeof ReadableStream&&t instanceof ReadableStream,gi=t=>new pi(t);function mi(t,e){return new Request(t,e)}function ki(t=0){return new Promise((e,n)=>{t&&setTimeout(()=>{const e=new Error(`Request did not complete within ${t} ms`);e.name="TimeoutError",n(e)},t)})}const _i={supported:void 0};class bi{static create(t){return"function"==typeof t?.handle?t:new bi(t)}constructor(t){"function"==typeof t?this.configProvider=t().then(t=>t||{}):(this.config=t??{},this.configProvider=Promise.resolve(this.config)),void 0===_i.supported&&(_i.supported=Boolean("undefined"!=typeof Request&&"keepalive"in mi("https://[::1]")))}destroy(){}async handle(t,{abortSignal:e,requestTimeout:n}={}){this.config||(this.config=await this.configProvider);const r=n??this.config.requestTimeout,i=!0===this.config.keepAlive,o=this.config.credentials;if(e?.aborted){const t=new Error("Request aborted");return t.name="AbortError",Promise.reject(t)}let s=t.path;const a=function(t){const e=[];for(let n of Object.keys(t).sort()){const r=t[n];if(n=lr(n),Array.isArray(r))for(let t=0,i=r.length;t<i;t++)e.push(`${n}=${lr(r[t])}`);else{let t=n;(r||"string"==typeof r)&&(t+=`=${lr(r)}`),e.push(t)}}return e.join("&")}(t.query||{});a&&(s+=`?${a}`),t.fragment&&(s+=`#${t.fragment}`);let c="";if(null!=t.username||null!=t.password){c=`${t.username??""}:${t.password??""}@`}const{port:l,method:u}=t,h=`${t.protocol}//${c}${t.hostname}${l?`:${l}`:""}${s}`,d="GET"===u||"HEAD"===u?void 0:t.body,p={body:d,headers:new Headers(t.headers),method:u,credentials:o};this.config?.cache&&(p.cache=this.config.cache),d&&(p.duplex="half"),"undefined"!=typeof AbortController&&(p.signal=e),_i.supported&&(p.keepalive=i),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(t));let f=()=>{};const g=mi(h,p),m=[fetch(g).then(t=>{const e=t.headers,n={};for(const t of e.entries())n[t[0]]=t[1];return null!=t.body?{response:new rn({headers:n,reason:t.statusText,statusCode:t.status,body:t.body})}:t.blob().then(e=>({response:new rn({headers:n,reason:t.statusText,statusCode:t.status,body:e})}))}),ki(r)];return e&&m.push(new Promise((t,n)=>{const r=()=>{const t=new Error("Request aborted");t.name="AbortError",n(t)};if("function"==typeof e.addEventListener){const t=e;t.addEventListener("abort",r,{once:!0}),f=()=>t.removeEventListener("abort",r)}else e.onabort=r})),Promise.race(m).finally(f)}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[t]=e,n))}httpHandlerConfigs(){return this.config??{}}}const wi={},Ii=new Array(64);for(let t=0,e="A".charCodeAt(0),n="Z".charCodeAt(0);t+e<=n;t++){const n=String.fromCharCode(t+e);wi[n]=t,Ii[t]=n}for(let t=0,e="a".charCodeAt(0),n="z".charCodeAt(0);t+e<=n;t++){const n=String.fromCharCode(t+e),r=t+26;wi[n]=r,Ii[r]=n}for(let t=0;t<10;t++){wi[t.toString(10)]=t+52;const e=t.toString(10),n=t+52;wi[e]=n,Ii[n]=e}wi["+"]=62,Ii[62]="+",wi["/"]=63,Ii[63]="/";const vi=t=>{let e=t.length/4*3;"=="===t.slice(-2)?e-=2:"="===t.slice(-1)&&e--;const n=new ArrayBuffer(e),r=new DataView(n);for(let e=0;e<t.length;e+=4){let n=0,i=0;for(let r=e,o=e+3;r<=o;r++)if("="!==t[r]){if(!(t[r]in wi))throw new TypeError(`Invalid character ${t[r]} in base64 string.`);n|=wi[t[r]]<<6*(o-r),i+=6}else n>>=6;const o=e/4*3;n>>=i%8;const s=Math.floor(i/8);for(let t=0;t<s;t++){const e=8*(s-t-1);r.setUint8(o+t,(n&255<<e)>>e)}}return new Uint8Array(n)},yi=async t=>"function"==typeof Blob&&t instanceof Blob||"Blob"===t.constructor?.name?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await t.arrayBuffer()):async function(t){const e=await function(t){return new Promise((e,n)=>{const r=new FileReader;r.onloadend=()=>{if(2!==r.readyState)return n(new Error("Reader aborted too early"));const t=r.result??"",i=t.indexOf(","),o=i>-1?i+1:t.length;e(t.substring(o))},r.onabort=()=>n(new Error("Read aborted")),r.onerror=()=>n(r.error),r.readAsDataURL(t)})}(t),n=vi(e);return new Uint8Array(n)}(t):async function(t){const e=[],n=t.getReader();let r=!1,i=0;for(;!r;){const{done:t,value:o}=await n.read();o&&(e.push(o),i+=o.length),r=t}const o=new Uint8Array(i);let s=0;for(const t of e)o.set(t,s),s+=t.length;return o}(t);const Ai="function"==typeof TextEncoder?new TextEncoder:null,Ei=t=>{if("string"==typeof t){if(Ai)return Ai.encode(t).byteLength;let e=t.length;for(let n=e-1;n>=0;n--){const r=t.charCodeAt(n);r>127&&r<=2047?e++:r>2047&&r<=65535&&(e+=2),r>=56320&&r<=57343&&n--}return e}if("number"==typeof t.byteLength)return t.byteLength;if("number"==typeof t.size)return t.size;throw new Error(`Body Length computation failed for ${t}`)},xi=t=>new Date(Date.now()+t),Ti=t=>rn.isInstance(t)?t.headers?.date??t.headers?.Date:void 0,Ci=(t,e)=>{const n=Date.parse(t);return((t,e)=>Math.abs(xi(e).getTime()-t)>=3e5)(n,e)?n-Date.now():e},Si=(t,e)=>{if(!e)throw new Error(`Property \`${t}\` is not resolved for AWS SDK SigV4Auth`);return e};class Ri{async sign(t,e,n){if(!te.isInstance(t))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const r=await(async t=>{const e=Si("context",t.context),n=Si("config",t.config),r=e.endpointV2?.properties?.authSchemes?.[0],i=Si("signer",n.signer),o=await i(r),s=t?.signingRegion,a=t?.signingRegionSet,c=t?.signingName;return{config:n,signer:o,signingRegion:s,signingRegionSet:a,signingName:c}})(n),{config:i,signer:o}=r;let{signingRegion:s,signingName:a}=r;const c=n.context;if(c?.authSchemes?.length){const[t,e]=c.authSchemes;"sigv4a"===t?.name&&"sigv4"===e?.name&&(s=e?.signingRegion??s,a=e?.signingName??a)}return await o.sign(t,{signingDate:xi(i.systemClockOffset),signingRegion:s,signingService:a})}errorHandler(t){return e=>{const n=e.ServerTime??Ti(e.$response);if(n){const r=Si("config",t.config),i=r.systemClockOffset;r.systemClockOffset=Ci(n,r.systemClockOffset);r.systemClockOffset!==i&&e.$metadata&&(e.$metadata.clockSkewCorrected=!0)}throw e}}successHandler(t,e){const n=Ti(t);if(n){const t=Si("config",e.config);t.systemClockOffset=Ci(n,t.systemClockOffset)}}}function Oi(t){let e;e="string"==typeof t?Pn(t):t;const n="object"==typeof e&&"number"==typeof e.length,r="object"==typeof e&&"number"==typeof e.byteOffset&&"number"==typeof e.byteLength;if(!n&&!r)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let t=0;t<e.length;t+=3){let n=0,r=0;for(let i=t,o=Math.min(t+3,e.length);i<o;i++)n|=e[i]<<8*(o-i-1),r+=8;const o=Math.ceil(r/6);n<<=6*o-r;for(let t=1;t<=o;t++){const e=6*(o-t);i+=Ii[(n&63<<e)>>e]}i+="==".slice(0,4-o)}return i}const Ni=t=>{if("string"==typeof t)return t;if("object"!=typeof t||"number"!=typeof t.byteOffset||"number"!=typeof t.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(t)};const Li="endpoints";function Pi(t){return"object"!=typeof t||null==t?t:"ref"in t?`$${Pi(t.ref)}`:"fn"in t?`${t.fn}(${(t.argv||[]).map(Pi).join(", ")})`:JSON.stringify(t,null,2)}class Mi extends Error{constructor(t){super(t),this.name="EndpointError"}}const Di=(t,e)=>(t=>{const e=t.split("."),n=[];for(const r of e){const e=r.indexOf("[");if(-1!==e){if(r.indexOf("]")!==r.length-1)throw new Mi(`Path: '${t}' does not end with ']'`);const i=r.slice(e+1,-1);if(Number.isNaN(parseInt(i)))throw new Mi(`Invalid array index: '${i}' in path: '${t}'`);0!==e&&n.push(r.slice(0,e)),n.push(i)}else n.push(r)}return n})(e).reduce((n,r)=>{if("object"!=typeof n)throw new Mi(`Index '${r}' in '${e}' not found in '${JSON.stringify(t)}'`);return Array.isArray(n)?n[parseInt(r)]:n[r]},t);var Hi;!function(t){t.HTTP="http",t.HTTPS="https"}(Hi||(Hi={}));const Bi={[Hi.HTTP]:80,[Hi.HTTPS]:443},Ui={booleanEquals:(t,e)=>t===e,getAttr:Di,isSet:t=>null!=t,isValidHostLabel:ue,not:t=>!t,parseURL:t=>{const e=(()=>{try{if(t instanceof URL)return t;if("object"==typeof t&&"hostname"in t){const{hostname:e,port:n,protocol:r="",path:i="",query:o={}}=t,s=new URL(`${r}//${e}${n?`:${n}`:""}${i}`);return s.search=Object.entries(o).map(([t,e])=>`${t}=${e}`).join("&"),s}return new URL(t)}catch(t){return null}})();if(!e)return console.error(`Unable to parse ${JSON.stringify(t)} as a whatwg URL.`),null;const n=e.href,{host:r,hostname:i,pathname:o,protocol:s,search:a}=e;if(a)return null;const c=s.slice(0,-1);if(!Object.values(Hi).includes(c))return null;const l=de(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${Bi[c]}`)||"string"==typeof t&&t.includes(`${r}:${Bi[c]}`)?`:${Bi[c]}`:""}`,path:o,normalizedPath:o.endsWith("/")?o:`${o}/`,isIp:l}},stringEquals:(t,e)=>t===e,substring:(t,e,n,r)=>e>=n||t.length<n?null:r?t.substring(t.length-n,t.length-e):t.substring(e,n),uriEncode:t=>encodeURIComponent(t).replace(/[!*'()]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)},Vi=(t,e)=>{const n=[],r={...e.endpointParams,...e.referenceRecord};let i=0;for(;i<t.length;){const e=t.indexOf("{",i);if(-1===e){n.push(t.slice(i));break}n.push(t.slice(i,e));const o=t.indexOf("}",e);if(-1===o){n.push(t.slice(e));break}"{"===t[e+1]&&"}"===t[o+1]&&(n.push(t.slice(e+1,o)),i=o+2);const s=t.substring(e+1,o);if(s.includes("#")){const[t,e]=s.split("#");n.push(Di(r[t],e))}else n.push(r[s]);i=o+1}return n.join("")},qi=(t,e,n)=>{if("string"==typeof t)return Vi(t,n);if(t.fn)return Fi(t,n);if(t.ref)return(({ref:t},e)=>({...e.endpointParams,...e.referenceRecord}[t]))(t,n);throw new Mi(`'${e}': ${String(t)} is not a string, function or reference.`)},Fi=({fn:t,argv:e},n)=>{const r=e.map(t=>["boolean","number"].includes(typeof t)?t:qi(t,"arg",n)),i=t.split(".");return i[0]in ce&&null!=i[1]?ce[i[0]][i[1]](...r):Ui[t](...r)},zi=({assign:t,...e},n)=>{if(t&&t in n.referenceRecord)throw new Mi(`'${t}' is already defined in Reference Record.`);const r=Fi(e,n);return n.logger?.debug?.(`${Li} evaluateCondition: ${Pi(e)} = ${Pi(r)}`),{result:""===r||!!r,...null!=t&&{toAssign:{name:t,value:r}}}},Gi=(t=[],e)=>{const n={};for(const r of t){const{result:t,toAssign:i}=zi(r,{...e,referenceRecord:{...e.referenceRecord,...n}});if(!t)return{result:t};i&&(n[i.name]=i.value,e.logger?.debug?.(`${Li} assign: ${i.name} := ${Pi(i.value)}`))}return{result:!0,referenceRecord:n}},ji=(t,e)=>Object.entries(t).reduce((t,[n,r])=>({...t,[n]:r.map(t=>{const r=qi(t,"Header value entry",e);if("string"!=typeof r)throw new Mi(`Header '${n}' value '${r}' is not a string`);return r})}),{}),Wi=(t,e)=>{if(Array.isArray(t))return t.map(t=>Wi(t,e));switch(typeof t){case"string":return Vi(t,e);case"object":if(null===t)throw new Mi(`Unexpected endpoint property: ${t}`);return Yi(t,e);case"boolean":return t;default:throw new Mi("Unexpected endpoint property type: "+typeof t)}},Yi=(t,e)=>Object.entries(t).reduce((t,[n,r])=>({...t,[n]:Wi(r,e)}),{}),Ki=(t,e)=>{const n=qi(t,"Endpoint URL",e);if("string"==typeof n)try{return new URL(n)}catch(t){throw console.error(`Failed to construct URL with ${n}`,t),t}throw new Mi("Endpoint URL must be a string, got "+typeof n)},$i=(t,e)=>{const{conditions:n,endpoint:r}=t,{result:i,referenceRecord:o}=Gi(n,e);if(!i)return;const s={...e,referenceRecord:{...e.referenceRecord,...o}},{url:a,properties:c,headers:l}=r;return e.logger?.debug?.(`${Li} Resolving endpoint from template: ${Pi(r)}`),{...null!=l&&{headers:ji(l,s)},...null!=c&&{properties:Yi(c,s)},url:Ki(a,s)}},Qi=(t,e)=>{const{conditions:n,error:r}=t,{result:i,referenceRecord:o}=Gi(n,e);if(i)throw new Mi(qi(r,"Error",{...e,referenceRecord:{...e.referenceRecord,...o}}))},Xi=(t,e)=>{const{conditions:n,rules:r}=t,{result:i,referenceRecord:o}=Gi(n,e);if(i)return Zi(r,{...e,referenceRecord:{...e.referenceRecord,...o}})},Zi=(t,e)=>{for(const n of t)if("endpoint"===n.type){const t=$i(n,e);if(t)return t}else if("error"===n.type)Qi(n,e);else{if("tree"!==n.type)throw new Mi(`Unknown endpoint rule: ${n}`);{const t=Xi(n,e);if(t)return t}}throw new Mi("Rules evaluation failed")},Ji="required",to="fn",eo="argv",no="ref",ro=!0,io="isSet",oo="booleanEquals",so="error",ao="endpoint",co="tree",lo="PartitionResult",uo={[Ji]:!1,type:"String"},ho={[Ji]:!0,default:!1,type:"Boolean"},po={[no]:"Endpoint"},fo={[to]:oo,[eo]:[{[no]:"UseFIPS"},!0]},go={[to]:oo,[eo]:[{[no]:"UseDualStack"},!0]},mo={},ko={[to]:"getAttr",[eo]:[{[no]:lo},"supportsFIPS"]},_o={[to]:oo,[eo]:[!0,{[to]:"getAttr",[eo]:[{[no]:lo},"supportsDualStack"]}]},bo=[fo],wo=[go],Io=[{[no]:"Region"}],vo={version:"1.0",parameters:{Region:uo,UseDualStack:ho,UseFIPS:ho,Endpoint:uo},rules:[{conditions:[{[to]:io,[eo]:[po]}],rules:[{conditions:bo,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:so},{rules:[{conditions:wo,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:so},{endpoint:{url:po,properties:mo,headers:mo},type:ao}],type:co}],type:co},{rules:[{conditions:[{[to]:io,[eo]:Io}],rules:[{conditions:[{[to]:"aws.partition",[eo]:Io,assign:lo}],rules:[{conditions:[fo,go],rules:[{conditions:[{[to]:oo,[eo]:[ro,ko]},_o],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:mo,headers:mo},type:ao}],type:co}],type:co},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:so}],type:co},{conditions:bo,rules:[{conditions:[{[to]:oo,[eo]:[ko,ro]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:mo,headers:mo},type:ao}],type:co}],type:co},{error:"FIPS is enabled but this partition does not support FIPS",type:so}],type:co},{conditions:wo,rules:[{conditions:[_o],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:mo,headers:mo},type:ao}],type:co}],type:co},{error:"DualStack is enabled but this partition does not support DualStack",type:so}],type:co},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:mo,headers:mo},type:ao}],type:co}],type:co}],type:co},{error:"Invalid Configuration: Missing Region",type:so}],type:co}]},yo=new class{constructor({size:t,params:e}){this.data=new Map,this.parameters=[],this.capacity=t??50,e&&(this.parameters=e)}get(t,e){const n=this.hash(t);if(!1===n)return e();if(!this.data.has(n)){if(this.data.size>this.capacity+10){const t=this.data.keys();let e=0;for(;;){const{value:n,done:r}=t.next();if(this.data.delete(n),r||++e>10)break}}this.data.set(n,e())}return this.data.get(n)}size(){return this.data.size}hash(t){let e="";const{parameters:n}=this;if(0===n.length)return!1;for(const r of n){const n=String(t[r]??"");if(n.includes("|;"))return!1;e+=n+"|;"}return e}}({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ao=(t,e={})=>yo.get(t,()=>((t,e)=>{const{endpointParams:n,logger:r}=e,{parameters:i,rules:o}=t;e.logger?.debug?.(`${Li} Initial EndpointParams: ${Pi(n)}`);const s=Object.entries(i).filter(([,t])=>null!=t.default).map(([t,e])=>[t,e.default]);if(s.length>0)for(const[t,e]of s)n[t]=n[t]??e;const a=Object.entries(i).filter(([,t])=>t.required).map(([t])=>t);for(const t of a)if(null==n[t])throw new Mi(`Missing required parameter: '${t}'`);const c=Zi(o,{endpointParams:n,logger:r,referenceRecord:{}});return e.logger?.debug?.(`${Li} Resolved endpoint: ${Pi(c)}`),c})(vo,{endpointParams:t,logger:e.logger}));ce.aws=me;const Eo=t=>{switch(t){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},xo=["in-region","cross-region","mobile","standard","legacy"],To=()=>{const t="undefined"!=typeof window&&window?.navigator?.userAgent?qr().parse(window.navigator.userAgent):void 0,e=t?.platform?.type;return"tablet"===e||"mobile"===e},Co=t=>{const e=(({defaultsMode:t}={})=>((t,e,n)=>{let r,i,o,s=!1;const a=async()=>{i||(i=t());try{r=await i,o=!0,s=!1}finally{i=void 0}return r};return void 0===e?async t=>(o&&!t?.forceRefresh||(r=await a()),r):async t=>(o&&!t?.forceRefresh||(r=await a()),s?r:n&&!n(r)?(s=!0,r):e(r)?(await a(),r):r)})(async()=>{const e="function"==typeof t?await t():t;switch(e?.toLowerCase()){case"auto":return Promise.resolve(To()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(e?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${xo.join(", ")}, got ${e}`)}}))(t),n=()=>e().then(Eo),r=(t=>({apiVersion:"2023-09-30",base64Decoder:t?.base64Decoder??vi,base64Encoder:t?.base64Encoder??Oi,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Ao,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??mr,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new Ri}],logger:t?.logger??new on,serviceId:t?.serviceId??"Bedrock Runtime",urlParser:t?.urlParser??Fe,utf8Decoder:t?.utf8Decoder??Pn,utf8Encoder:t?.utf8Encoder??Ni}))(t);return{...r,...t,runtime:"browser",defaultsMode:e,bodyLengthChecker:t?.bodyLengthChecker??Ei,credentialDefaultProvider:t?.credentialDefaultProvider??(t=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:t?.defaultUserAgentProvider??Fr({serviceId:r.serviceId,clientVersion:_r}),eventStreamPayloadHandlerProvider:t?.eventStreamPayloadHandlerProvider??(()=>{return{handle:(t="event stream request is not supported in browser.",()=>{throw new Error(t)})};var t}),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??gi,maxAttempts:t?.maxAttempts??3,region:t?.region??(i="Region is missing",()=>Promise.reject(i)),requestHandler:bi.create(t?.requestHandler??n),retryMode:t?.retryMode??(async()=>(await n()).retryMode||je),sha256:t?.sha256??Ur,streamCollector:t?.streamCollector??yi,useDualstackEndpoint:t?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:t?.useFipsEndpoint??(()=>Promise.resolve(false))};var i};var So;!function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"}(So||(So={}));const Ro=t=>Object.assign((t=>{const e=[];for(const n in So){const r=So[n];void 0!==t[r]&&e.push({algorithmId:()=>r,checksumConstructor:()=>t[r]})}return{addChecksumAlgorithm(t){e.push(t)},checksumAlgorithms:()=>e}})(t),(t=>({setRetryStrategy(e){t.retryStrategy=e},retryStrategy:()=>t.retryStrategy}))(t)),Oo=(t,e)=>{const n=Object.assign((t=>({setRegion(e){t.region=e},region:()=>t.region}))(t),Ro(t),(t=>({setHttpHandler(e){t.httpHandler=e},httpHandler:()=>t.httpHandler,updateHttpClientConfig(e,n){t.httpHandler?.updateHttpClientConfig(e,n)},httpHandlerConfigs:()=>t.httpHandler.httpHandlerConfigs()}))(t),(t=>{const e=t.httpAuthSchemes;let n=t.httpAuthSchemeProvider,r=t.credentials;return{setHttpAuthScheme(t){const n=e.findIndex(e=>e.schemeId===t.schemeId);-1===n?e.push(t):e.splice(n,1,t)},httpAuthSchemes:()=>e,setHttpAuthSchemeProvider(t){n=t},httpAuthSchemeProvider:()=>n,setCredentials(t){r=t},credentials:()=>r}})(t));return e.forEach(t=>t.configure(n)),Object.assign(t,{region:n.region()},(r=n,Object.assign((t=>{const e={};return t.checksumAlgorithms().forEach(t=>{e[t.algorithmId()]=t.checksumConstructor()}),e})(r),(t=>{const e={};return e.retryStrategy=t.retryStrategy(),e})(r))),{httpHandler:n.httpHandler()},(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}))(n));var r};class No extends xn{config;constructor(...[t]){const e=Co(t||{});super(e),this.initConfig=e;const n=(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(e),r=function(t){const e=ae(t.userAgentAppId??void 0),{customUserAgent:n}=t;return Object.assign(t,{customUserAgent:"string"==typeof n?[[n]]:n,userAgentAppId:async()=>{const n=await e();if(!function(t){return void 0===t||"string"==typeof t&&t.length<=50}(n)){const e="NoOpLogger"!==t.logger?.constructor?.name&&t.logger?t.logger:console;"string"!=typeof n?e?.warn("userAgentAppId must be a string or undefined."):n.length>50&&e?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return n}})}(n),i=(t=>{const{retryStrategy:e,retryMode:n,maxAttempts:r}=t,i=Ve(r??3);return Object.assign(t,{maxAttempts:i,retryStrategy:async()=>e||(await Ve(n)()===Ge.ADAPTIVE?new nn(i):new en(i))})})(r),o=(t=>{const{region:e,useFipsEndpoint:n}=t;if(!e)throw new Error("Region is missing");return Object.assign(t,{region:async()=>{if("string"==typeof e)return Te(e);const t=await e();return Te(t)},useFipsEndpoint:async()=>{const t="string"==typeof e?e:await e();return!!xe(t)||("function"!=typeof n?Promise.resolve(!!n):n())}})})(i),s=(t=>{const e=t.tls??!0,{endpoint:n,useDualstackEndpoint:r,useFipsEndpoint:i}=t,o=null!=n?async()=>ze(await Ve(n)()):void 0,s=!!n,a=Object.assign(t,{endpoint:o,tls:e,isCustomEndpoint:s,useDualstackEndpoint:Ve(r??!1),useFipsEndpoint:Ve(i??!1)});let c;return a.serviceConfiguredEndpoint=async()=>(t.serviceId&&!c&&(c=qe(t.serviceId)),c),a})(o);var a;const c=(t=>{const e=fr(t);return Object.assign(e,{authSchemePreference:Ve(t.authSchemePreference??[])})})((a=s,Object.assign(a,{eventStreamMarshaller:a.eventStreamSerdeProvider(a)}))),l=function(t){const e=t.signer,n=t.signer,r=Object.assign(t,{eventSigner:e,messageSigner:n}),i=r.eventStreamPayloadHandlerProvider(r);return Object.assign(r,{eventStreamPayloadHandler:i})}(c),u=Oo(l,t?.extensions||[]);var h;this.config=u,this.middlewareStack.use((h=this.config,{applyToStack:t=>{t.add(ye(h),Ee)}})),this.middlewareStack.use(bn(this.config)),this.middlewareStack.use(Ue(this.config)),this.middlewareStack.use(ne(this.config)),this.middlewareStack.use((this.config,{applyToStack:t=>{t.add((t,e)=>async n=>{try{const r=await t(n),{clientName:i,commandName:o,logger:s,dynamoDbDocumentClientOptions:a={}}=e,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=a,u=c??e.inputFilterSensitiveLog,h=l??e.outputFilterSensitiveLog,{$metadata:d,...p}=r.output;return s?.info?.({clientName:i,commandName:o,input:u(n.input),output:h(p),metadata:d}),r}catch(t){const{clientName:r,commandName:i,logger:o,dynamoDbDocumentClientOptions:s={}}=e,{overrideInputFilterSensitiveLog:a}=s,c=a??e.inputFilterSensitiveLog;throw o?.error?.({clientName:r,commandName:i,input:c(n.input),error:t,metadata:t.$metadata}),t}},re)}})),this.middlewareStack.use(se(this.config)),this.middlewareStack.use(((t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(Re(t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n}),Oe)}}))(this.config,{httpAuthSchemeParametersProvider:gr,identityProviderConfigProvider:async t=>new Ne({"aws.auth#sigv4":t.credentials})})),this.middlewareStack.use(De(this.config))}destroy(){super.destroy()}}const Lo=(t,e)=>(e.find(([e])=>e.match(t))||[void 0,void 0])[1],Po={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Mo={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Do(t,e,n){return{applyToStack:r=>{r.add(((t,e)=>(n,r)=>async i=>{const{response:o}=await n(i);try{return{response:o,output:await e(o,t)}}catch(t){if(Object.defineProperty(t,"$response",{value:o}),!("$metadata"in t)){const e="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{t.message+="\n "+e}catch(t){r.logger&&"NoOpLogger"!==r.logger?.constructor?.name?r.logger?.warn?.(e):console.warn(e)}void 0!==t.$responseBodyText&&t.$response&&(t.$response.body=t.$responseBodyText);try{if(rn.isInstance(o)){const{headers:e={}}=o,n=Object.entries(e);t.$metadata={httpStatusCode:o.statusCode,requestId:Lo(/^x-[\w-]+-request-?id$/,n),extendedRequestId:Lo(/^x-[\w-]+-id-2$/,n),cfId:Lo(/^x-[\w-]+-cf-id$/,n)}}}catch(t){}}throw t}})(t,n),Po),r.add(((t,e)=>(n,r)=>async i=>{const o=t,s=r.endpointV2?.url&&o.urlParser?async()=>o.urlParser(r.endpointV2.url):o.endpoint;if(!s)throw new Error("No valid endpoint provider available.");const a=await e(i.input,{...t,endpoint:s});return n({...i,request:a})})(t,e),Mo)}}}const Ho=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Bo=/(\d+\.){3}\d+/,Uo=/\.\./,Vo=t=>Ho.test(t)&&!Bo.test(t)&&!Uo.test(t),qo=t=>{const[e,n,r,,,i]=t.split(":"),o="arn"===e&&t.split(":").length>=6,s=Boolean(o&&n&&r&&i);if(o&&!s)throw new Error(`Invalid ARN: ${t} was an invalid ARN.`);return s},Fo=(t,e,n)=>{const r=async()=>{const r=n[t]??n[e];return"function"==typeof r?r():r};return"credentialScope"===t||"CredentialScope"===e?async()=>{const t="function"==typeof n.credentials?await n.credentials():n.credentials;return t?.credentialScope??t?.CredentialScope}:"accountId"===t||"AccountId"===e?async()=>{const t="function"==typeof n.credentials?await n.credentials():n.credentials;return t?.accountId??t?.AccountId}:"endpoint"===t||"endpoint"===e?async()=>{if(!1===n.isCustomEndpoint)return;const t=await r();if(t&&"object"==typeof t){if("url"in t)return t.url.href;if("hostname"in t){const{protocol:e,hostname:n,port:r,path:i}=t;return`${e}//${n}${r?":"+r:""}${i}`}}return t}:r},zo=async(t,e,n)=>{const r={},i=e?.getEndpointParameterInstructions?.()||{};for(const[e,o]of Object.entries(i))switch(o.type){case"staticContextParams":r[e]=o.value;break;case"contextParams":r[e]=t[o.name];break;case"clientContextParams":case"builtInParams":r[e]=await Fo(o.name,e,n)();break;case"operationContextParams":r[e]=o.get(t);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(o))}return 0===Object.keys(i).length&&Object.assign(r,n),"s3"===String(n.serviceId).toLowerCase()&&await(async t=>{const e=t?.Bucket||"";if("string"==typeof t.Bucket&&(t.Bucket=e.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),qo(e)){if(!0===t.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!Vo(e)||-1!==e.indexOf(".")&&!String(t.Endpoint).startsWith("http:")||e.toLowerCase()!==e||e.length<3)&&(t.ForcePathStyle=!0);return t.DisableMultiRegionAccessPoints&&(t.disableMultiRegionAccessPoints=!0,t.DisableMRAP=!0),t})(r),r},Go=({config:t,instructions:e})=>(n,r)=>async i=>{t.isCustomEndpoint&&function(t,e,n){t.__smithy_context?t.__smithy_context.features||(t.__smithy_context.features={}):t.__smithy_context={features:{}},t.__smithy_context.features[e]=n}(r,"ENDPOINT_OVERRIDE","N");const o=await(async(t,e,n,r)=>{if(!n.isCustomEndpoint){let t;t=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await qe(n.serviceId),t&&(n.endpoint=()=>Promise.resolve(ze(t)),n.isCustomEndpoint=!0)}const i=await zo(t,e,n);if("function"!=typeof n.endpointProvider)throw new Error("config.endpointProvider is not set.");return n.endpointProvider(i,r)})(i.input,{getEndpointParameterInstructions:()=>e},{...t},r);r.endpointV2=o,r.authSchemes=o.properties?.authSchemes;const s=r.authSchemes?.[0];if(s){r.signing_region=s.signingRegion,r.signing_service=s.signingName;const t=Se(r),e=t?.selectedHttpAuthScheme?.httpAuthOption;e&&(e.signingProperties=Object.assign(e.signingProperties||{},{signing_region:s.signingRegion,signingRegion:s.signingRegion,signing_service:s.signingName,signingName:s.signingName,signingRegionSet:s.signingRegionSet},s.properties))}return n({...i})},jo={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Mo.name},Wo=(t,e)=>({applyToStack:n=>{n.addRelativeTo(Go({config:t,instructions:e}),jo)}}),Yo=t=>"function"==typeof t?t():t;class Ko{constructor(t,e=new Map){this.namespace=t,this.schemas=e}static for(t){return Ko.registries.has(t)||Ko.registries.set(t,new Ko(t)),Ko.registries.get(t)}register(t,e){const n=this.normalizeShapeId(t);Ko.for(this.getNamespace(t)).schemas.set(n,e)}getSchema(t){const e=this.normalizeShapeId(t);if(!this.schemas.has(e))throw new Error(`@smithy/core/schema - schema not found for ${e}`);return this.schemas.get(e)}getBaseException(){for(const[t,e]of this.schemas.entries())if(t.startsWith("smithy.ts.sdk.synthetic.")&&t.endsWith("ServiceException"))return e}find(t){return[...this.schemas.values()].find(t)}destroy(){Ko.registries.delete(this.namespace),this.schemas.clear()}normalizeShapeId(t){return t.includes("#")?t:this.namespace+"#"+t}getNamespace(t){return this.normalizeShapeId(t).split("#")[0]}}Ko.registries=new Map;class $o{static assign(t,e){const n=Object.assign(t,e);return Ko.for(n.namespace).register(n.name,n),n}static[Symbol.hasInstance](t){const e=this.prototype.isPrototypeOf(t);if(!e&&"object"==typeof t&&null!==t){return t.symbol===this.symbol}return e}getName(){return this.namespace+"#"+this.name}}class Qo extends $o{constructor(){super(...arguments),this.symbol=Qo.symbol}}Qo.symbol=Symbol.for("@smithy/lis");class Xo extends $o{constructor(){super(...arguments),this.symbol=Xo.symbol}}Xo.symbol=Symbol.for("@smithy/map");const Zo={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class Jo extends $o{constructor(){super(...arguments),this.symbol=Jo.symbol}}Jo.symbol=Symbol.for("@smithy/sim");class ts extends $o{constructor(){super(...arguments),this.symbol=ts.symbol}}ts.symbol=Symbol.for("@smithy/str");class es{constructor(t,e){this.ref=t,this.memberName=e,this.symbol=es.symbol;const n=[];let r=t,i=t;for(this._isMemberSchema=!1;Array.isArray(r);)n.push(r[1]),r=r[0],i=Yo(r),this._isMemberSchema=!0;if(n.length>0){this.memberTraits={};for(let t=n.length-1;t>=0;--t){const e=n[t];Object.assign(this.memberTraits,es.translateTraits(e))}}else this.memberTraits=0;if(i instanceof es)return Object.assign(this,i),this.memberTraits=Object.assign({},i.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=e??i.memberName);if(this.schema=Yo(i),this.schema&&"object"==typeof this.schema?this.traits=this.schema?.traits??{}:this.traits=0,this.name=(this.schema instanceof $o?this.schema.getName?.():void 0)??this.memberName??this.getSchemaName(),this._isMemberSchema&&!e)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](t){return $o[Symbol.hasInstance].bind(this)(t)}static of(t){if(t instanceof es)return t;if(Array.isArray(t)){const[e,n]=t;if(e instanceof es)return Object.assign(e.getMergedTraits(),es.translateTraits(n)),e;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}return new es(t)}static translateTraits(t){if("object"==typeof t)return t;t|=0;const e={};let n=0;for(const r of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(t>>n++&1)&&(e[r]=1);return e}getSchema(){return this.schema instanceof es?(Object.assign(this,{schema:this.schema.getSchema()}),this.schema):this.schema instanceof Jo?Yo(this.schema.schemaRef):Yo(this.schema)}getName(t=!1){return!t&&this.name&&this.name.includes("#")?this.name.split("#")[1]:this.name||void 0}getMemberName(){if(!this.isMemberSchema())throw new Error(`@smithy/core/schema - non-member schema: ${this.getName(!0)}`);return this.memberName}isMemberSchema(){return this._isMemberSchema}isUnitSchema(){return"unit"===this.getSchema()}isListSchema(){const t=this.getSchema();return"number"==typeof t?t>=Zo.LIST_MODIFIER&&t<Zo.MAP_MODIFIER:t instanceof Qo}isMapSchema(){const t=this.getSchema();return"number"==typeof t?t>=Zo.MAP_MODIFIER&&t<=255:t instanceof Xo}isStructSchema(){const t=this.getSchema();return null!==t&&"object"==typeof t&&"members"in t||t instanceof ts}isBlobSchema(){return this.getSchema()===Zo.BLOB||this.getSchema()===Zo.STREAMING_BLOB}isTimestampSchema(){const t=this.getSchema();return"number"==typeof t&&t>=Zo.TIMESTAMP_DEFAULT&&t<=Zo.TIMESTAMP_EPOCH_SECONDS}isDocumentSchema(){return this.getSchema()===Zo.DOCUMENT}isStringSchema(){return this.getSchema()===Zo.STRING}isBooleanSchema(){return this.getSchema()===Zo.BOOLEAN}isNumericSchema(){return this.getSchema()===Zo.NUMERIC}isBigIntegerSchema(){return this.getSchema()===Zo.BIG_INTEGER}isBigDecimalSchema(){return this.getSchema()===Zo.BIG_DECIMAL}isStreaming(){return!!this.getMergedTraits().streaming||this.getSchema()===Zo.STREAMING_BLOB}isIdempotencyToken(){return"number"==typeof this.traits?!(4&~this.traits):"object"==typeof this.traits&&!!this.traits.idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return es.translateTraits(this.memberTraits)}getOwnTraits(){return es.translateTraits(this.traits)}getKeySchema(){if(this.isDocumentSchema())return this.memberFrom([Zo.DOCUMENT,0],"key");if(!this.isMapSchema())throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const t=this.getSchema();return"number"==typeof t?this.memberFrom([63&t,0],"key"):this.memberFrom([t.keySchema,0],"key")}getValueSchema(){const t=this.getSchema();if("number"==typeof t){if(this.isMapSchema())return this.memberFrom([63&t,0],"value");if(this.isListSchema())return this.memberFrom([63&t,0],"member")}if(t&&"object"==typeof t){if(this.isStructSchema())throw new Error(`may not getValueSchema() on structure ${this.getName(!0)}`);const e=t;if("valueSchema"in e){if(this.isMapSchema())return this.memberFrom([e.valueSchema,0],"value");if(this.isListSchema())return this.memberFrom([e.valueSchema,0],"member")}}if(this.isDocumentSchema())return this.memberFrom([Zo.DOCUMENT,0],"value");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}hasMemberSchema(t){if(this.isStructSchema()){return this.getSchema().memberNames.includes(t)}return!1}getMemberSchema(t){if(this.isStructSchema()){const e=this.getSchema();if(!e.memberNames.includes(t))throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${t}.`);const n=e.memberNames.indexOf(t),r=e.memberList[n];return this.memberFrom(Array.isArray(r)?r:[r,0],t)}if(this.isDocumentSchema())return this.memberFrom([Zo.DOCUMENT,0],t);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no members.`)}getMemberSchemas(){const t={};try{for(const[e,n]of this.structIterator())t[e]=n}catch(t){}return t}getEventStreamMember(){if(this.isStructSchema())for(const[t,e]of this.structIterator())if(e.isStreaming()&&e.isStructSchema())return t;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const t=this.getSchema();for(let e=0;e<t.memberNames.length;++e)yield[t.memberNames[e],this.memberFrom([t.memberList[e],0],t.memberNames[e])]}memberFrom(t,e){return t instanceof es?Object.assign(t,{memberName:e,_isMemberSchema:!0}):new es(t,e)}getSchemaName(){const t=this.getSchema();if("number"==typeof t){const e=63&t,n=192&t,r=Object.entries(Zo).find(([,t])=>t===e)?.[0]??"Unknown";switch(n){case Zo.MAP_MODIFIER:return`${r}Map`;case Zo.LIST_MODIFIER:return`${r}List`;case 0:return r}}return"Unknown"}}es.symbol=Symbol.for("@smithy/nor");const ns="***SensitiveInformation***";function rs(t,e){if(null==e)return e;const n=es.of(t);if(n.getMergedTraits().sensitive)return ns;if(n.isListSchema()){if(!!n.getValueSchema().getMergedTraits().sensitive)return ns}else if(n.isMapSchema()){if(!!n.getKeySchema().getMergedTraits().sensitive||!!n.getValueSchema().getMergedTraits().sensitive)return ns}else if(n.isStructSchema()&&"object"==typeof e){const t=e,r={};for(const[e,i]of n.structIterator())null!=t[e]&&(r[e]=rs(i,t[e]));return r}return e}class is{constructor(){this.middlewareStack=yn()}static classBuilder(){return new os}resolveMiddlewareWithContext(t,e,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:l,CommandCtor:u}){for(const i of r.bind(this)(u,t,e,n))this.middlewareStack.use(i);const h=t.concat(this.middlewareStack),{logger:d}=e,p={logger:d,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[Ce]:{commandInstance:this,...c},...l},{requestHandler:f}=e;return h.resolve(t=>f.handle(t.request,n||{}),p)}}class os{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=void 0,this._outputFilterSensitiveLog=void 0,this._serializer=null,this._deserializer=null}init(t){this._init=t}ep(t){return this._ep=t,this}m(t){return this._middlewareFn=t,this}s(t,e,n={}){return this._smithyContext={service:t,operation:e,...n},this}c(t={}){return this._additionalContext=t,this}n(t,e){return this._clientName=t,this._commandName=e,this}f(t=t=>t,e=t=>t){return this._inputFilterSensitiveLog=t,this._outputFilterSensitiveLog=e,this}ser(t){return this._serializer=t,this}de(t){return this._deserializer=t,this}sc(t){return this._operationSchema=t,this._smithyContext.operationSchema=t,this}build(){const t=this;let e;return e=class extends is{static getEndpointParameterInstructions(){return t._ep}constructor(...[e]){super(),this.serialize=t._serializer,this.deserialize=t._deserializer,this.input=e??{},t._init(this),this.schema=t._operationSchema}resolveMiddleware(n,r,i){return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog??(t._operationSchema?rs.bind(null,t._operationSchema.input):t=>t),outputFilterSensitiveLog:t._outputFilterSensitiveLog??(t._operationSchema?rs.bind(null,t._operationSchema.output):t=>t),smithyContext:t._smithyContext,additionalContext:t._additionalContext})}}}}const ss="***SensitiveInformation***";class as extends Error{constructor(t){super(t.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=t.name,this.$fault=t.$fault,this.$metadata=t.$metadata}static isInstance(t){if(!t)return!1;const e=t;return as.prototype.isPrototypeOf(e)||Boolean(e.$fault)&&Boolean(e.$metadata)&&("client"===e.$fault||"server"===e.$fault)}static[Symbol.hasInstance](t){if(!t)return!1;const e=t;return this===as?as.isInstance(t):!!as.isInstance(t)&&(e.name&&this.name?this.prototype.isPrototypeOf(t)||e.name===this.name:this.prototype.isPrototypeOf(t))}}const cs=(t,e={})=>{Object.entries(e).filter(([,t])=>void 0!==t).forEach(([e,n])=>{null!=t[e]&&""!==t[e]||(t[e]=n)});const n=t.message||t.Message||"UnknownError";return t.message=n,delete t.Message,t};class ls extends as{constructor(t){super(t),Object.setPrototypeOf(this,ls.prototype)}}class us extends ls{name="AccessDeniedException";$fault="client";constructor(t){super({name:"AccessDeniedException",$fault:"client",...t}),Object.setPrototypeOf(this,us.prototype)}}var hs;!function(t){t.visit=(t,e)=>void 0!==t.s3OutputDataConfig?e.s3OutputDataConfig(t.s3OutputDataConfig):e._(t.$unknown[0],t.$unknown[1])}(hs||(hs={}));class ds extends ls{name="InternalServerException";$fault="server";constructor(t){super({name:"InternalServerException",$fault:"server",...t}),Object.setPrototypeOf(this,ds.prototype)}}class ps extends ls{name="ThrottlingException";$fault="client";constructor(t){super({name:"ThrottlingException",$fault:"client",...t}),Object.setPrototypeOf(this,ps.prototype)}}class fs extends ls{name="ValidationException";$fault="client";constructor(t){super({name:"ValidationException",$fault:"client",...t}),Object.setPrototypeOf(this,fs.prototype)}}class gs extends ls{name="ConflictException";$fault="client";constructor(t){super({name:"ConflictException",$fault:"client",...t}),Object.setPrototypeOf(this,gs.prototype)}}class ms extends ls{name="ResourceNotFoundException";$fault="client";constructor(t){super({name:"ResourceNotFoundException",$fault:"client",...t}),Object.setPrototypeOf(this,ms.prototype)}}class ks extends ls{name="ServiceQuotaExceededException";$fault="client";constructor(t){super({name:"ServiceQuotaExceededException",$fault:"client",...t}),Object.setPrototypeOf(this,ks.prototype)}}class _s extends ls{name="ServiceUnavailableException";$fault="server";constructor(t){super({name:"ServiceUnavailableException",$fault:"server",...t}),Object.setPrototypeOf(this,_s.prototype)}}var bs;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):e._(t.$unknown[0],t.$unknown[1])}(bs||(bs={}));var ws;!function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.image?e.image(t.image):e._(t.$unknown[0],t.$unknown[1])}(ws||(ws={}));var Is;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):void 0!==t.s3Location?e.s3Location(t.s3Location):e._(t.$unknown[0],t.$unknown[1])}(Is||(Is={}));var vs;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):e._(t.$unknown[0],t.$unknown[1])}(vs||(vs={}));var ys;!function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.image?e.image(t.image):e._(t.$unknown[0],t.$unknown[1])}(ys||(ys={}));var As,Es;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):void 0!==t.s3Location?e.s3Location(t.s3Location):e._(t.$unknown[0],t.$unknown[1])}(As||(As={})),function(t){t.visit=(t,e)=>void 0!==t.reasoningText?e.reasoningText(t.reasoningText):void 0!==t.redactedContent?e.redactedContent(t.redactedContent):e._(t.$unknown[0],t.$unknown[1])}(Es||(Es={}));var xs,Ts;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):void 0!==t.s3Location?e.s3Location(t.s3Location):e._(t.$unknown[0],t.$unknown[1])}(xs||(xs={})),function(t){t.visit=(t,e)=>void 0!==t.json?e.json(t.json):void 0!==t.text?e.text(t.text):void 0!==t.image?e.image(t.image):void 0!==t.document?e.document(t.document):void 0!==t.video?e.video(t.video):e._(t.$unknown[0],t.$unknown[1])}(Ts||(Ts={}));var Cs;!function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.image?e.image(t.image):void 0!==t.document?e.document(t.document):void 0!==t.video?e.video(t.video):void 0!==t.toolUse?e.toolUse(t.toolUse):void 0!==t.toolResult?e.toolResult(t.toolResult):void 0!==t.guardContent?e.guardContent(t.guardContent):void 0!==t.cachePoint?e.cachePoint(t.cachePoint):void 0!==t.reasoningContent?e.reasoningContent(t.reasoningContent):e._(t.$unknown[0],t.$unknown[1])}(Cs||(Cs={}));var Ss,Rs,Os,Ns,Ls,Ps;!function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):e._(t.$unknown[0],t.$unknown[1])}(Ss||(Ss={})),function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.guardContent?e.guardContent(t.guardContent):void 0!==t.cachePoint?e.cachePoint(t.cachePoint):e._(t.$unknown[0],t.$unknown[1])}(Rs||(Rs={})),function(t){t.visit=(t,e)=>void 0!==t.auto?e.auto(t.auto):void 0!==t.any?e.any(t.any):void 0!==t.tool?e.tool(t.tool):e._(t.$unknown[0],t.$unknown[1])}(Os||(Os={})),function(t){t.visit=(t,e)=>void 0!==t.json?e.json(t.json):e._(t.$unknown[0],t.$unknown[1])}(Ns||(Ns={})),function(t){t.visit=(t,e)=>void 0!==t.toolSpec?e.toolSpec(t.toolSpec):void 0!==t.cachePoint?e.cachePoint(t.cachePoint):e._(t.$unknown[0],t.$unknown[1])}(Ls||(Ls={})),function(t){t.visit=(t,e)=>void 0!==t.message?e.message(t.message):e._(t.$unknown[0],t.$unknown[1])}(Ps||(Ps={}));class Ms extends ls{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(t){super({name:"ModelErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,Ms.prototype),this.originalStatusCode=t.originalStatusCode,this.resourceName=t.resourceName}}class Ds extends ls{name="ModelNotReadyException";$fault="client";$retryable={};constructor(t){super({name:"ModelNotReadyException",$fault:"client",...t}),Object.setPrototypeOf(this,Ds.prototype)}}class Hs extends ls{name="ModelTimeoutException";$fault="client";constructor(t){super({name:"ModelTimeoutException",$fault:"client",...t}),Object.setPrototypeOf(this,Hs.prototype)}}var Bs,Us,Vs,qs;!function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.redactedContent?e.redactedContent(t.redactedContent):void 0!==t.signature?e.signature(t.signature):e._(t.$unknown[0],t.$unknown[1])}(Bs||(Bs={})),function(t){t.visit=(t,e)=>void 0!==t.text?e.text(t.text):void 0!==t.toolUse?e.toolUse(t.toolUse):void 0!==t.reasoningContent?e.reasoningContent(t.reasoningContent):e._(t.$unknown[0],t.$unknown[1])}(Us||(Us={})),function(t){t.visit=(t,e)=>void 0!==t.toolUse?e.toolUse(t.toolUse):e._(t.$unknown[0],t.$unknown[1])}(Vs||(Vs={}));class Fs extends ls{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(t){super({name:"ModelStreamErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,Fs.prototype),this.originalStatusCode=t.originalStatusCode,this.originalMessage=t.originalMessage}}!function(t){t.visit=(t,e)=>void 0!==t.messageStart?e.messageStart(t.messageStart):void 0!==t.contentBlockStart?e.contentBlockStart(t.contentBlockStart):void 0!==t.contentBlockDelta?e.contentBlockDelta(t.contentBlockDelta):void 0!==t.contentBlockStop?e.contentBlockStop(t.contentBlockStop):void 0!==t.messageStop?e.messageStop(t.messageStop):void 0!==t.metadata?e.metadata(t.metadata):void 0!==t.internalServerException?e.internalServerException(t.internalServerException):void 0!==t.modelStreamErrorException?e.modelStreamErrorException(t.modelStreamErrorException):void 0!==t.validationException?e.validationException(t.validationException):void 0!==t.throttlingException?e.throttlingException(t.throttlingException):void 0!==t.serviceUnavailableException?e.serviceUnavailableException(t.serviceUnavailableException):e._(t.$unknown[0],t.$unknown[1])}(qs||(qs={}));var zs,Gs,js;!function(t){t.visit=(t,e)=>void 0!==t.chunk?e.chunk(t.chunk):e._(t.$unknown[0],t.$unknown[1])}(zs||(zs={})),function(t){t.visit=(t,e)=>void 0!==t.chunk?e.chunk(t.chunk):void 0!==t.internalServerException?e.internalServerException(t.internalServerException):void 0!==t.modelStreamErrorException?e.modelStreamErrorException(t.modelStreamErrorException):void 0!==t.validationException?e.validationException(t.validationException):void 0!==t.throttlingException?e.throttlingException(t.throttlingException):void 0!==t.modelTimeoutException?e.modelTimeoutException(t.modelTimeoutException):void 0!==t.serviceUnavailableException?e.serviceUnavailableException(t.serviceUnavailableException):e._(t.$unknown[0],t.$unknown[1])}(Gs||(Gs={})),function(t){t.visit=(t,e)=>void 0!==t.chunk?e.chunk(t.chunk):void 0!==t.internalServerException?e.internalServerException(t.internalServerException):void 0!==t.modelStreamErrorException?e.modelStreamErrorException(t.modelStreamErrorException):void 0!==t.validationException?e.validationException(t.validationException):void 0!==t.throttlingException?e.throttlingException(t.throttlingException):void 0!==t.modelTimeoutException?e.modelTimeoutException(t.modelTimeoutException):void 0!==t.serviceUnavailableException?e.serviceUnavailableException(t.serviceUnavailableException):e._(t.$unknown[0],t.$unknown[1])}(js||(js={}));const Ws=t=>({...t,...t.body&&{body:ss}}),Ys=t=>({...t,...t.body&&{body:ss}}),Ks=t=>({...t,...t.body&&{body:ss}}),$s=t=>({...t,...t.body&&{body:"STREAMING_CONTENT"}});class Qs extends Uint8Array{static fromString(t,e="utf-8"){if("string"==typeof t)return function(t,e){return"base64"===e?Qs.mutate(vi(t)):Qs.mutate(Pn(t))}(t,e);throw new Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}static mutate(t){return Object.setPrototypeOf(t,Qs.prototype),t}transformToString(t="utf-8"){return function(t,e="utf-8"){return"base64"===e?Oi(t):Ni(t)}(this,t)}}const Xs=async(t=new Uint8Array,e)=>{if(t instanceof Uint8Array)return Qs.mutate(t);if(!t)return Qs.mutate(new Uint8Array);const n=e.streamCollector(t);return Qs.mutate(await n)},Zs=(t,e)=>((t,e)=>Xs(t,e).then(t=>e.utf8Encoder(t)))(t,e).then(t=>{if(t.length)try{return JSON.parse(t)}catch(e){throw"SyntaxError"===e?.name&&Object.defineProperty(e,"$responseBodyText",{value:t}),e}return{}}),Js=async(t,e)=>{const n=await Zs(t,e);return n.message=n.message??n.Message,n};function ta(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function ea(t,e){return new na(t,e)}class na{constructor(t,e){this.input=t,this.context=e,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:t,protocol:e="https",port:n,path:r}=await this.context.endpoint();this.path=r;for(const t of this.resolvePathStack)t(this.path);return new te({protocol:e,hostname:this.hostname||t,port:n,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(t){return this.hostname=t,this}bp(t){return this.resolvePathStack.push(e=>{this.path=`${e?.endsWith("/")?e.slice(0,-1):e||""}`+t}),this}p(t,e,n,r){return this.resolvePathStack.push(i=>{this.path=((t,e,n,r,i,o)=>{if(null==e||void 0===e[n])throw new Error("No value provided for input HTTP label: "+n+".");{const e=r();if(e.length<=0)throw new Error("Empty value provided for input HTTP label: "+n+".");t=t.replace(i,o?e.split("/").map(t=>ta(t)).join("/"):ta(e))}return t})(i,this.input,t,e,n,r)}),this}h(t){return this.headers=t,this}q(t){return this.query=t,this}b(t){return this.body=t,this}m(t){return this.method=t,this}}function ra(t,e,n){let r,i,o;if(void 0===e&&void 0===n)r={},o=t;else{if(r=t,"function"==typeof e)return i=e,o=n,oa(r,i,o);o=e}for(const t of Object.keys(o))Array.isArray(o[t])?sa(r,null,o,t):r[t]=o[t];return r}const ia=(t,e)=>{const n={};for(const r in e)sa(n,t,e,r);return n},oa=(t,e,n)=>ra(t,Object.entries(n).reduce((t,[n,r])=>(Array.isArray(r)?t[n]=r:t[n]="function"==typeof r?[e,r()]:[e,r],t),{})),sa=(t,e,n,r)=>{if(null!==e){let i=n[r];"function"==typeof i&&(i=[,i]);const[o=aa,s=ca,a=r]=i;return void(("function"==typeof o&&o(e[a])||"function"!=typeof o&&o)&&(t[r]=s(e[a])))}let[i,o]=n[r];if("function"==typeof o){let e;const n=void 0===i&&null!=(e=o()),s="function"==typeof i&&!!i(void 0)||"function"!=typeof i&&!!i;n?t[r]=e:s&&(t[r]=o())}else{const e=void 0===i&&null!=o,n="function"==typeof i&&!!i(o)||"function"!=typeof i&&!!i;(e||n)&&(t[r]=o)}},aa=t=>null!=t,ca=t=>t,la=t=>null!=t,ua=t=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}),ha=(Math.ceil(2**127*(2-2**-23)),t=>{if(null!=t){if(Number.isInteger(t)&&!Number.isNaN(t))return t;throw new TypeError(`Expected integer, got ${typeof t}: ${t}`)}}),da=t=>pa(t,32),pa=(t,e)=>{const n=ha(t);if(void 0!==n&&fa(n,e)!==n)throw new TypeError(`Expected ${e}-bit integer, got ${t}`);return n},fa=(t,e)=>{switch(e){case 32:return Int32Array.of(t)[0];case 16:return Int16Array.of(t)[0];case 8:return Int8Array.of(t)[0]}},ga=t=>{if(null!=t){if("string"==typeof t)return t;if(["boolean","number","bigint"].includes(typeof t))return ka.warn(ma(`Expected string, got ${typeof t}: ${t}`)),String(t);throw new TypeError(`Expected string, got ${typeof t}: ${t}`)}},ma=t=>String(new TypeError(t).stack||t).split("\n").slice(0,5).filter(t=>!t.includes("stackTraceWarning")).join("\n"),ka={warn:console.warn},_a=async(t,e)=>{const n=ea(t,e),r=ra({},la,{[$a]:t[Ka]||"application/octet-stream",[Ya]:t[Ya],[oc]:t[Ja],[nc]:t[Qa],[rc]:t[Xa],[ic]:t[Za]});let i;return n.bp("/model/{modelId}/invoke"),n.p("modelId",()=>t.modelId,"{modelId}",!1),void 0!==t.body&&(i=t.body),n.m("POST").h(r).b(i),n.build()},ba=async(t,e)=>{const n=ea(t,e),r=ra({},la,{[$a]:t[Ka]||"application/octet-stream",[tc]:t[Ya],[oc]:t[Ja],[nc]:t[Qa],[rc]:t[Xa],[ic]:t[Za]});let i;return n.bp("/model/{modelId}/invoke-with-response-stream"),n.p("modelId",()=>t.modelId,"{modelId}",!1),void 0!==t.body&&(i=t.body),n.m("POST").h(r).b(i),n.build()},wa=async(t,e)=>{if(200!==t.statusCode&&t.statusCode>=300)return va(t,e);const n=ra({$metadata:Wa(t),[Ka]:[,t.headers[$a]],[Za]:[,t.headers[ic]]}),r=await Xs(t.body,e);return n.body=r,n},Ia=async(t,e)=>{if(200!==t.statusCode&&t.statusCode>=300)return va(t,e);const n=ra({$metadata:Wa(t),[Ka]:[,t.headers[ec]],[Za]:[,t.headers[ic]]}),r=t.body;return n.body=Ha(r,e),n},va=async(t,e)=>{const n={...t,body:await Js(t.body,e)},r=((t,e)=>{const n=(t,e)=>Object.keys(t).find(t=>t.toLowerCase()===e.toLowerCase()),r=t=>{let e=t;return"number"==typeof e&&(e=e.toString()),e.indexOf(",")>=0&&(e=e.split(",")[0]),e.indexOf(":")>=0&&(e=e.split(":")[0]),e.indexOf("#")>=0&&(e=e.split("#")[1]),e},i=n(t.headers,"x-amzn-errortype");if(void 0!==i)return r(t.headers[i]);if(e&&"object"==typeof e){const t=n(e,"code");if(t&&void 0!==e[t])return r(e[t]);if(void 0!==e.__type)return r(e.__type)}})(t,n.body);switch(r){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await Ea(n,e);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await Ta(n,e);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await Na(n,e);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await La(n,e);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await Ma(n,e);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await Da(n,e);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await Ca(n,e);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await Sa(n,e);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await Oa(n,e);case"ServiceUnavailableException":case"com.amazonaws.bedrockruntime#ServiceUnavailableException":throw await Pa(n,e);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await Ra(n,e);case"ConflictException":case"com.amazonaws.bedrockruntime#ConflictException":throw await xa(n,e);default:const i=n.body;return ya({output:t,parsedBody:i,errorCode:r})}},ya=(Aa=ls,({output:t,parsedBody:e,errorCode:n})=>{(({output:t,parsedBody:e,exceptionCtor:n,errorCode:r})=>{const i=ua(t),o=i.httpStatusCode?i.httpStatusCode+"":void 0,s=new n({name:e?.code||e?.Code||r||o||"UnknownError",$fault:"client",$metadata:i});throw cs(s,e)})({output:t,parsedBody:e,exceptionCtor:Aa,errorCode:n})});var Aa;const Ea=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new us({$metadata:Wa(t),...n});return cs(o,t.body)},xa=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new gs({$metadata:Wa(t),...n});return cs(o,t.body)},Ta=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new ds({$metadata:Wa(t),...n});return cs(o,t.body)},Ca=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga,originalStatusCode:da,resourceName:ga});Object.assign(n,i);const o=new Ms({$metadata:Wa(t),...n});return cs(o,t.body)},Sa=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new Ds({$metadata:Wa(t),...n});return cs(o,t.body)},Ra=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga,originalMessage:ga,originalStatusCode:da});Object.assign(n,i);const o=new Fs({$metadata:Wa(t),...n});return cs(o,t.body)},Oa=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new Hs({$metadata:Wa(t),...n});return cs(o,t.body)},Na=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new ms({$metadata:Wa(t),...n});return cs(o,t.body)},La=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new ks({$metadata:Wa(t),...n});return cs(o,t.body)},Pa=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new _s({$metadata:Wa(t),...n});return cs(o,t.body)},Ma=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new ps({$metadata:Wa(t),...n});return cs(o,t.body)},Da=async(t,e)=>{const n=ra({}),r=t.body,i=ia(r,{message:ga});Object.assign(n,i);const o=new fs({$metadata:Wa(t),...n});return cs(o,t.body)},Ha=(t,e)=>e.eventStreamMarshaller.deserialize(t,async n=>null!=n.chunk?{chunk:await qa(n.chunk,e)}:null!=n.internalServerException?{internalServerException:await Ba(n.internalServerException,e)}:null!=n.modelStreamErrorException?{modelStreamErrorException:await Ua(n.modelStreamErrorException,e)}:null!=n.validationException?{validationException:await Ga(n.validationException,e)}:null!=n.throttlingException?{throttlingException:await za(n.throttlingException,e)}:null!=n.modelTimeoutException?{modelTimeoutException:await Va(n.modelTimeoutException,e)}:null!=n.serviceUnavailableException?{serviceUnavailableException:await Fa(n.serviceUnavailableException,e)}:{$unknown:t}),Ba=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Ta(n,e)},Ua=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Ra(n,e)},Va=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Oa(n,e)},qa=async(t,e)=>{const n={},r=await Zs(t.body,e);return Object.assign(n,ja(r,e)),n},Fa=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Pa(n,e)},za=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Ma(n,e)},Ga=async(t,e)=>{const n={...t,body:await Zs(t.body,e)};return Da(n,e)},ja=(t,e)=>ia(t,{bytes:e.base64Decoder}),Wa=t=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}),Ya="accept",Ka="contentType",$a="content-type",Qa="guardrailIdentifier",Xa="guardrailVersion",Za="performanceConfigLatency",Ja="trace",tc="x-amzn-bedrock-accept",ec="x-amzn-bedrock-content-type",nc="x-amzn-bedrock-guardrailidentifier",rc="x-amzn-bedrock-guardrailversion",ic="x-amzn-bedrock-performanceconfig-latency",oc="x-amzn-bedrock-trace";class sc extends(is.classBuilder().ep(kr).m(function(t,e,n,r){return[Do(n,this.serialize,this.deserialize),Wo(n,t.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModelWithResponseStream",{eventStream:{output:!0}}).n("BedrockRuntimeClient","InvokeModelWithResponseStreamCommand").f(Ks,$s).ser(ba).de(Ia).build()){}class ac extends(is.classBuilder().ep(kr).m(function(t,e,n,r){return[Do(n,this.serialize,this.deserialize),Wo(n,t.getEndpointParameterInstructions())]}).s("AmazonBedrockFrontendService","InvokeModel",{}).n("BedrockRuntimeClient","InvokeModelCommand").f(Ws,Ys).ser(_a).de(wa).build()){}const cc=uc;function lc(){const t=["231hiGbeC","split","generations","text","\n\nAssistant:","bedrock-2023-05-31","pluginName","completion","3168680wTDDel","meta.llama","AI_ERROR_UNSUPPORTED_MODEL","8952nEMqrr","ai.assistant.adapter.aws.requestParameters","read","_bedrockClientConfig","\n[/INST]","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","application/json","8352405tQZqQa","send","\nYou must keep the text formatting.\n\nContent:\n","sendRequest","anthropic.claude-v2","257830JxKjdG","2719005FieEfg","anthropic.claude","Instruction:\n","ai.assistant.adapter.aws.bedrockClientConfig","_processProxyRequest","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","ai.assistant.adapter.aws.apiUrl","_getGeneratedText","\n<</SYS>>\n[INST]\n","data","1090388OQvfdG","stringify","editor","decode","_prepareRequestParameters","bytes","getModelFamily","ai21.j2","Human:\n","ai.assistant.adapter.aws.requestHeaders","completions","signal","preparePrompt","_readStreamableResponse","_readAsyncIterableResponse","_apiUrl","getReader","filter","body","224412QKLOLS","utf-8","68rGaZqE","join","parse","get","_processAWSRequest","cohere.command","_requestHeaders","resolve","config","test","define","_prepareRequestHeaders","json","chunk","length","<<SYS>>\n","locale","abortController","_readStaticResponse","AWSTextAdapter","generation","_requestParameters","map","POST"];return(lc=function(){return t})()}function uc(t,e){const n=lc();return(uc=function(t,e){return n[t-=352]})(t,e)}!function(t){const e=uc,n=t();for(;;)try{if(827939===-parseInt(e(416))/1+parseInt(e(427))/2+parseInt(e(367))/3*(parseInt(e(369))/4)+parseInt(e(417))/5+-parseInt(e(404))/6*(-parseInt(e(393))/7)+-parseInt(e(401))/8+-parseInt(e(411))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lc);class hc extends Kt{[cc(363)];[cc(375)];[cc(407)];[cc(390)];static get[cc(399)](){return cc(388)}constructor(t){const e=cc;super(t),t[e(377)][e(372)](e(405))||t[e(377)][e(379)](e(405),{model:e(415),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:e(398),stream:!0}),this[e(363)]=t[e(377)][e(372)](e(423)),this[e(407)]=t[e(377)][e(372)](e(420)),this[e(375)]=t[e(377)][e(372)](e(357)),this[e(390)]=t[e(377)][e(372)](e(405))}async[cc(414)]({query:t,context:e,onData:n,actionId:r}){const i=cc,{model:o,stream:s,...a}=await this[i(352)](this[i(390)],r),c={prompt:await this[i(360)](t,e,o,r),...a};this[i(363)]?await this[i(421)](c,o,s,n,r):await this[i(373)](c,o,s,n)}async[cc(360)](t,e,n,r){const i=cc;let o,s;return e?(o=i(409),s=i(419)+t+i(413)+e):(o=i(422),s=t),i(402)==this[i(354)](n)?i(384)+o+i(425)+s+i(408):i(356)+o+"\n"+s+i(397)}[cc(354)](t){const e=cc;if(/^anthropic\.claude/[e(378)](t))return e(418);if(/^ai21\.j2/[e(378)](t))return e(355);if(/^cohere\.command/[e(378)](t))return e(374);if(/^meta\.llama/[e(378)](t))return e(402);throw new I(v(this[e(429)][e(385)],e(403),t))}async[cc(421)](t,e,n,r,i){const o=cc,s={method:o(392),headers:await this[o(380)](this[o(375)],i),body:JSON[o(428)]({...t,model:e,stream:n}),signal:this[o(386)][o(359)]},a=await fetch(this[o(363)],s);n?await this[o(361)](a,e,r):await this[o(387)](a,e,r)}async[cc(373)](t,e,n,r){const i=cc,o=new No(this[i(407)]),s={body:JSON[i(428)](t),contentType:i(410),accept:i(410),modelId:e};let a;if(n){const t=new sc(s);a=await o[i(412)](t,{abortSignal:this[i(386)][i(359)]}),await this[i(362)](a,e,r)}else{const t=new ac(s);a=await o[i(412)](t,{abortSignal:this[i(386)][i(359)]}),await this[i(387)](a,e,r)}}async[cc(362)](t,e,n){const r=cc,i=t[r(366)],o=new TextDecoder(r(368));let s="";for await(const t of i)if(t[r(382)]){const i=o[r(430)](t[r(382)][r(353)]),a=JSON[r(371)](i);s+=this[r(424)](a,e),n(s)}return Promise[r(376)]()}async[cc(361)](t,e,n){const r=cc,i=t[r(366)],o=new TextDecoder(r(368)),s=i[r(364)]();let a="",c="",l=!1;for(;!l;){const{done:t,value:i}=await s[r(406)]();if(l=t,l)break;const u=(a+o[r(430)](i))[r(394)]("\n")[r(391)](t=>{const e=r;try{return a="",JSON[e(371)](t)}catch{return a=t,null}})[r(365)](t=>null!==t);u[r(383)]&&(c+=u[r(391)](t=>this[r(424)](t,e))[r(370)](""),n(c))}return Promise[r(376)]()}async[cc(387)](t,e,n){const r=cc;let i;return i=t instanceof Response?await t[r(381)]():JSON[r(371)](new TextDecoder(r(368))[r(430)](t[r(366)])),n(this[r(424)](i,e)),Promise[r(376)]()}[cc(424)](t,e){const n=cc;switch(this[n(354)](e)){case n(418):return t[n(400)];case n(355):return t[n(358)][0][n(426)][n(396)];case n(374):return t[n(395)][0][n(396)];case n(402):return t[n(389)]}}}var dc=n(407),pc={attributes:{"data-cke":!0}};pc.setAttributes=Et(),pc.insert=yt().bind(null,"head"),pc.domAPI=It(),pc.insertStyleElement=Tt();bt()(dc.A,pc);dc.A&&dc.A.locals&&dc.A.locals;const fc=gc;function gc(t,e){const n=kc();return(gc=function(t,e){return n[t-=293]})(t,e)}!function(t){const e=gc,n=t();for(;;)try{if(147980===parseInt(e(304))/1+parseInt(e(296))/2*(parseInt(e(308))/3)+-parseInt(e(312))/4+-parseInt(e(309))/5*(parseInt(e(299))/6)+parseInt(e(298))/7*(-parseInt(e(294))/8)+parseInt(e(303))/9+parseInt(e(306))/10*(parseInt(e(313))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kc);class mc extends a.ButtonView{constructor(t,e={}){const n=gc;super(t),this[n(302)]=!0,this[n(300)](n(314),e[n(314)]||n(315));const r=this[n(301)];this[n(305)]({attributes:{class:[n(293),...(0,s.toArray)(e[n(307)]||[]),r.to(n(314),t=>n(311)+t),r.to(n(307))]}})}[fc(310)](){const t=fc;this[t(300)](t(295),!0)}[fc(297)](){const t=fc;this[t(300)](t(295),!1)}}function kc(){const t=["44601xYvHAQ","992295BIaGwp","show","ck-tab-button_","1117416oANwmV","4037uaCUbe","side","top","ck-tab-button","1240gaIjfq","isVisible","10gflPVd","hide","11473DnrJAt","6XLveAM","set","bindTemplate","isToggleable","943407CxEZfD","209634pgafoL","extendTemplate","13380bFmBOT","class"];return(kc=function(){return t})()}const _c=bc;function bc(t,e){const n=wc();return(bc=function(t,e){return n[t-=381]})(t,e)}function wc(){const t=["778768xGFJuo","set","hide","bindTemplate","3dvVFEN","304200bzVCnL","setTemplate","show","isVisible","div","233144FqMPbl","children","createCollection","ck-hidden","1498300QRQgIk","class","9321498EzBVWM","131250uGOXPz","509546CGoJNf","ck-tab-panel","60fzWlim"];return(wc=function(){return t})()}!function(t){const e=bc,n=t();for(;;)try{if(199040===-parseInt(e(398))/1+parseInt(e(390))/2*(-parseInt(e(397))/3)+-parseInt(e(393))/4+-parseInt(e(386))/5+parseInt(e(392))/6*(parseInt(e(389))/7)+parseInt(e(382))/8+parseInt(e(388))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wc);class Ic extends a.View{[_c(383)];constructor(t,e={}){const n=_c;super(t);const r=this[n(396)];this[n(394)](n(401),!1),this[n(383)]=this[n(384)](),this[n(399)]({tag:n(381),attributes:{class:[n(391),...(0,s.toArray)(e[n(387)]||[]),r.to(n(387)),r.if(n(401),n(385),t=>!t)]},children:this[n(383)]})}[_c(400)](){const t=_c;this[t(394)](t(401),!0)}[_c(395)](){const t=_c;this[t(394)](t(401),!1)}}var vc=n(921),yc={attributes:{"data-cke":!0}};yc.setAttributes=Et(),yc.insert=yt().bind(null,"head"),yc.domAPI=It(),yc.insertStyleElement=Tt();bt()(vc.A,yc);vc.A&&vc.A.locals&&vc.A.locals;const Ac=xc;function Ec(){const t=["content","keys","set","buttonLabel","10HeFUaq","locale","8525416yHxbcF","get","964316QceDvQ","render","37948842dybaaq","ck-tabs__panels-container_","addTab:","ui-tabsview-tab-not-found","5714037JegbwV","fire","_getButton","activeTab","ck-tabs__buttons-container_","ck-tabs__buttons-container","showTab","isVisible","bind","_hidePanel","button","isOn","side","_getPanel","buttonIcon","buttonViews","4974WOXara","label","left","execute","ck-reset","isMaximized","ck-tabs_","ck-tabs__panels-container","_tabs","panel","_setupButton","_showPanel","find","icon","getIndex","ck-tabs","show:","activateTab","activateTab:","panelViews","top","530EtrNIz","children","addTab","getTabIds","class","_showButton","add","hide:","hideTab","getTab","bindTemplate","length","right","ck-ai-tabs_maximized","hide","setTemplate","div","reduce","order","_hideButton","show","createCollection","177528OwOhFx","1163082eRNVWq"];return(Ec=function(){return t})()}function xc(t,e){const n=Ec();return(xc=function(t,e){return n[t-=455]})(t,e)}!function(t){const e=xc,n=t();for(;;)try{if(587572===-parseInt(e(480))/1+parseInt(e(523))/2*(-parseInt(e(502))/3)+parseInt(e(470))/4+-parseInt(e(476))/5*(parseInt(e(471))/6)+-parseInt(e(486))/7+-parseInt(e(478))/8+parseInt(e(482))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ec);Ac(522),Ac(504),Ac(460);class Tc extends a.View{[Ac(501)]=this[Ac(469)]();[Ac(521)]=this[Ac(469)]();[Ac(510)]=new Map;constructor(t,e={}){const n=Ac;super(t),this[n(474)](n(527),void 0),this[n(474)](n(489),null),this[n(474)](n(498),e[n(498)]||n(522)),this[n(474)](n(507),!1);const r=this[n(458)];this[n(463)]({tag:n(464),attributes:{class:["ck",n(506),n(517),...(0,s.toArray)(e[n(527)]||[]),r.to(n(498),t=>n(508)+t),r.to(n(527)),r.to(n(507),t=>t?n(461):"")],tabindex:"0"},children:[{tag:n(464),attributes:{class:["ck",n(491),r.to(n(498),t=>n(490)+t)]},children:this[n(501)]},{tag:n(464),attributes:{class:["ck",n(509),r.to(n(498),t=>n(483)+t)]},children:this[n(521)]},...(0,s.toArray)(e[n(524)]||[])]})}[Ac(526)](){const t=Ac;return[...this[t(510)][t(473)]()]}[Ac(457)](t){const e=Ac;return this[e(510)][e(479)](t)||null}[Ac(525)](t){const e=Ac,n=this[e(512)]({id:t.id,label:t[e(475)],icon:t[e(500)],order:t[e(466)]}),r=new Ic(this[e(477)]);return r[e(481)](),t[e(472)]&&r[e(524)][e(529)](t[e(472)]),this[e(521)][e(529)](r),this[e(510)][e(474)](t.id,{button:n,panel:r,order:void 0!==t[e(466)]?t[e(466)]:null}),this[e(487)](e(484)+t.id,{id:t.id,button:n,panel:r}),null===this[e(489)]?this[e(519)](t.id):this[e(495)](t.id),{button:n,panel:r}}[Ac(519)](t){const e=Ac;if(null!==t&&!this[e(457)](t))throw new s.CKEditorError(e(485),{tabs:this,tabId:t});this[e(489)]!==t&&(this[e(489)]&&this[e(495)](this[e(489)]),this[e(489)]=t,t&&this[e(513)](t),this[e(487)](e(520)+t,t))}[Ac(492)](t){const e=Ac;if(!this[e(457)](t))throw new s.CKEditorError(e(485),{tabs:this,tabId:t});this[e(513)](t),this[e(528)](t),this[e(487)](e(518)+t,t)}[Ac(456)](t){const e=Ac;if(!this[e(457)](t))throw new s.CKEditorError(e(485),{tabs:this,tabId:t});const n=this[e(489)];this[e(495)](t),this[e(467)](t);const r=this[e(526)]();n===t&&r[e(459)]>1&&this[e(519)](r[e(514)](e=>e!==t)),this[e(487)](e(455)+t,t)}[Ac(499)](t){const e=Ac,n=this[e(510)][e(479)](t);return n?n[e(511)]:null}[Ac(513)](t){const e=Ac;null!==this[e(489)]&&this[e(489)]!==t||this[e(499)](t)[e(468)]()}[Ac(495)](t){const e=Ac,n=this[e(499)](t);n[e(493)]&&(this[e(489)]===t&&(this[e(489)]=null),n[e(462)]())}[Ac(488)](t){const e=Ac,n=this[e(510)][e(479)](t);return n?n[e(496)]:null}[Ac(528)](t){const e=Ac;this[e(488)](t)[e(468)]()}[Ac(467)](t){const e=Ac;this[e(488)](t)[e(462)]()}[Ac(512)](t){const e=Ac,n=new mc(this[e(477)],{side:this[e(498)]}),r=this[e(501)];if(n[e(474)]({label:t[e(503)],icon:t[e(515)],tooltip:!0,withText:!0}),n[e(494)](e(497)).to(this,e(489),e=>e===t.id),n[e(494)](e(498)).to(this,e(498)),t[e(466)]){const i=[...this[e(510)]][e(465)]((n,r)=>{const i=e,o=r[0],{order:s}=r[1];return!s||s>t[i(466)]?n:s>=n[i(466)]?{id:o,order:s}:n},{id:"",order:0}),o=r[e(516)](this[e(488)](i.id));r[e(529)](n,o+1)}else r[e(529)](n);return n.on(e(505),()=>{this[e(519)](t.id)}),n}}var Cc=n(609),Sc={attributes:{"data-cke":!0}};Sc.setAttributes=Et(),Sc.insert=yt().bind(null,"head"),Sc.domAPI=It(),Sc.insertStyleElement=Tt();bt()(Cc.A,Sc);Cc.A&&Cc.A.locals&&Cc.A.locals;const Rc=Oc;function Oc(t,e){const n=Nc();return(Oc=function(t,e){return n[t-=399]})(t,e)}function Nc(){const t=["add","1981512DzetyL","right","19544560gvUAHr","buttonViews","custom","1717864LcbCOe","set","517675EjRNKK","2426326OCyJtd","1121997pKPxJz","10IOUEeU","side","636788JcphkE","9Xnmgdd","2cArbmF","withText","ck-ai-tabs","sidebar","overlay","type","left","ck-ai-tabs__overlay","bindTemplate","extendTemplate","ck-ai-tabs__sidebar"];return(Nc=function(){return t})()}!function(t){const e=Oc,n=t();for(;;)try{if(282251===-parseInt(e(399))/1+-parseInt(e(406))/2*(parseInt(e(401))/3)+-parseInt(e(404))/4*(parseInt(e(402))/5)+-parseInt(e(418))/6+-parseInt(e(400))/7+-parseInt(e(423))/8*(-parseInt(e(405))/9)+parseInt(e(420))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nc);const Lc=[Rc(410),Rc(409),Rc(422)],Pc=[Rc(412),Rc(419)];class Mc extends Tc{constructor(t,e={}){const n=Rc;super(t,e),this[n(424)](n(411),e[n(411)]||n(409)),this[n(424)](n(403),e[n(403)]||n(419));const r=this[n(414)];this[n(415)]({attributes:{class:[n(408),r.if(n(411),n(413),t=>n(410)===t),r.if(n(411),n(416),t=>n(409)===t)]}}),this[n(421)].on(n(417),(t,e)=>{const r=n;e[r(424)](r(407),!1)})}}const Dc=Hc;function Hc(t,e){const n=Bc();return(Hc=function(t,e){return n[t-=364]})(t,e)}function Bc(){const t=["add","focusTracker","ai-tabs-sidebar-container-element-not-found","ai-tabs-unsupported-ui-side","33LaNTbd","2127222mLuPjX","7365128iARQII","fire","custom","body","846hxLdhT","config","pluginName","1232lUFYRt","isOfficialPlugin","isPremiumPlugin","remove","element","render","bind","161390dFVUhB","switchType","includes","appendChild","resize","switchSide","get","27gRVCIj","isMaximized","ai-tabs-unsupported-ui-type","right","ai-tabs-configuration-not-found","container","type","resizedTabs","context","set","16065ZVWWqT","AITabs","2289252DCLerE","showResizeButton","side","overlay","ai.container","287365QbHMHv","destroy","4TzdDqQ","6573RTkiMY","view","sidebar","locale"];return(Bc=function(){return t})()}!function(t){const e=Hc,n=t();for(;;)try{if(553712===parseInt(e(384))/1*(-parseInt(e(386))/2)+parseInt(e(396))/3+-parseInt(e(404))/4*(parseInt(e(377))/5)+-parseInt(e(401))/6*(parseInt(e(387))/7)+parseInt(e(397))/8+-parseInt(e(367))/9*(-parseInt(e(411))/10)+parseInt(e(395))/11*(parseInt(e(379))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Bc);class Uc extends i.ContextPlugin{[Dc(388)];[Dc(372)]=null;[Dc(380)]=!0;static get[Dc(403)](){return Dc(378)}static get[Dc(405)](){return!0}static get[Dc(406)](){return!0}constructor(t){const e=Dc;super(t);const n=this[e(375)][e(402)][e(366)](e(383));if(this[e(376)](e(381),e(370)),!n)throw new s.CKEditorError(e(371));if(void 0!==n[e(380)]&&(this[e(380)]=n[e(380)]),e(389)!==n[e(373)]&&e(382)!==n[e(373)]||n[e(381)]&&(this[e(381)]=n[e(381)]),e(389)===n[e(373)]){if(this[e(372)]=n[e(408)],this[e(376)](e(373),e(389)),!this[e(372)])throw new s.CKEditorError(e(393))}else e(382)===n[e(373)]?(this[e(372)]=document[e(400)],this[e(376)](e(373),e(382))):(this[e(372)]=null,this[e(376)](e(373),e(399)));this[e(388)]=new Mc(this[e(375)][e(390)],{side:this[e(381)],type:this[e(373)]}),this[e(388)][e(409)](),this[e(388)][e(410)](e(381)).to(this,e(381)),this[e(388)][e(410)](e(373)).to(this,e(373)),this[e(372)]&&this[e(372)][e(414)](this[e(388)][e(408)]),this[e(375)]instanceof i.Editor&&this[e(375)].ui[e(392)][e(391)](this[e(388)][e(408)])}[Dc(412)](t){const e=Dc;if(t&&this[e(373)]!==t){if(!Lc[e(413)](t))throw new s.CKEditorError(e(369));this[e(373)]=t}}[Dc(365)](t){const e=Dc;if(t&&this[e(381)]!==t){if(!Pc[e(413)](t))throw new s.CKEditorError(e(394));this[e(381)]=t}}[Dc(364)](){const t=Dc;this[t(388)][t(368)]=!this[t(388)][t(368)],this[t(398)](t(374),this[t(388)][t(368)])}[Dc(385)](){const t=Dc;super[t(385)](),this[t(388)][t(385)](),this[t(388)][t(408)]&&this[t(388)][t(408)][t(407)]()}}class Vc extends Error{constructor(t,e){super(t),this.name="ParseError",this.type=e.type,this.field=e.field,this.value=e.value,this.line=e.line}}function qc(t){}function Fc(t){if("function"==typeof t)throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:e=qc,onError:n=qc,onRetry:r=qc,onComment:i}=t;let o,s="",a=!0,c="",l="";function u(t){if(""===t)return c.length>0&&e({id:o,event:l||void 0,data:c.endsWith("\n")?c.slice(0,-1):c}),o=void 0,c="",void(l="");if(t.startsWith(":"))return void(i&&i(t.slice(t.startsWith(": ")?2:1)));const n=t.indexOf(":");if(-1!==n){const e=t.slice(0,n),r=" "===t[n+1]?2:1;return void h(e,t.slice(n+r),t)}h(t,"",t)}function h(t,e,i){switch(t){case"event":l=e;break;case"data":c=`${c}${e}\n`;break;case"id":o=e.includes("\0")?void 0:e;break;case"retry":/^\d+$/.test(e)?r(parseInt(e,10)):n(new Vc(`Invalid \`retry\` value: "${e}"`,{type:"invalid-retry",value:e,line:i}));break;default:n(new Vc(`Unknown field "${t.length>20?`${t.slice(0,20)}…`:t}"`,{type:"unknown-field",field:t,value:e,line:i}))}}return{feed:function(t){const e=a?t.replace(/^\xEF\xBB\xBF/,""):t,[n,r]=function(t){const e=[];let n="",r=0;for(;r<t.length;){const i=t.indexOf("\r",r),o=t.indexOf("\n",r);let s=-1;if(-1!==i&&-1!==o?s=Math.min(i,o):-1!==i?s=i:-1!==o&&(s=o),-1===s){n=t.slice(r);break}{const n=t.slice(r,s);e.push(n),r=s+1,"\r"===t[r-1]&&"\n"===t[r]&&r++}}return[e,n]}(`${s}${e}`);for(const t of n)u(t);s=r,a=!1},reset:function(t={}){s&&t.consume&&u(s),a=!0,o=void 0,c="",l="",s=""}}}function zc(t,e,n){const r=t.t;switch(e){case"AI_SUGGESTION_HEADER_TITLE":return r({id:"AI_SUGGESTION_HEADER_TITLE",string:"Suggested content"});case"AI_SUGGESTION_BUTTON_SHOW_CHANGES":return r({id:"AI_SUGGESTION_BUTTON_SHOW_CHANGES",string:"Show changes"});case"AI_MINI_TOOLBAR_LIKE":return r({id:"AI_MINI_TOOLBAR_LIKE",string:"I like this response"});case"AI_MINI_TOOLBAR_DISLIKE":return r({id:"AI_MINI_TOOLBAR_DISLIKE",string:"I don't like this response"});case"AI_MINI_TOOLBAR_COPY":return r({id:"AI_MINI_TOOLBAR_COPY",string:"Copy to clipboard"});case"AI_SUGGESTION_CONTENT_PART_TITLE":return r({id:"AI_SUGGESTION_CONTENT_PART_TITLE",string:"Suggestion %0"},n);case"AI_SUGGESTION_CONTENT_PART_REJECTED":return r({id:"AI_SUGGESTION_CONTENT_PART_REJECTED",string:"Change was rejected"});case"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED":return r({id:"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED",string:"Change is already applied"});case"AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT":return r({id:"AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT",string:"Show in the text"});case"AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION":return r({id:"AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION",string:"Add as suggestion"});case"AI_SUGGESTION_CONTENT_PART_DELETE":return r({id:"AI_SUGGESTION_CONTENT_PART_DELETE",string:"Delete"});case"AI_DISCLAIMER_TEXT":return r({id:"AI_DISCLAIMER_TEXT",string:"AI can make mistakes. Please double-check responses."});case"AI_TABS_LABEL_MAXIMIZE":return r({id:"AI_TABS_LABEL_MAXIMIZE",string:"Maximize"});case"AI_TABS_LABEL_MINIMIZE":return r({id:"AI_TABS_LABEL_MINIMIZE",string:"Minimize"});case"AI_CHAT_HEADING":return r({id:"AI_CHAT_HEADING",string:"AI Chat"});case"AI_CHAT_UNTITLED_CONVERSATION":return r({id:"AI_CHAT_UNTITLED_CONVERSATION",string:"Untitled conversation"});case"AI_CHAT_LABEL_NEW_CHAT":return r({id:"AI_CHAT_LABEL_NEW_CHAT",string:"New chat"});case"AI_CHAT_STOP_GENERATING":return r({id:"AI_CHAT_STOP_GENERATING",string:"Stop generating"});case"AI_CHAT_IS_WRITING":return r({id:"AI_CHAT_IS_WRITING",string:"AI is writing..."});case"AI_CHAT_PROMPT_EMPTY_ERROR":return r({id:"AI_CHAT_PROMPT_EMPTY_ERROR",string:"This field cannot be empty."});case"AI_CHAT_LABEL_SUBMIT":return r({id:"AI_CHAT_LABEL_SUBMIT",string:"Submit"});case"AI_CHAT_WELCOME_MESSAGE":return r({id:"AI_CHAT_WELCOME_MESSAGE",string:"Hi, I'm your AI assistant. Think of me as your writing buddy, reviewer, or research partner. I can suggest changes to your document, help generate ideas, offer feedback, discuss attached files, and much more!"});case"AI_CHAT_ABORTED_MESSAGE":return r({id:"AI_CHAT_ABORTED_MESSAGE",string:"The request was aborted."});case"AI_CHAT_GENERIC_ERROR":return r({id:"AI_CHAT_GENERIC_ERROR",string:"Something went wrong while processing your request. Please try again."});case"AI_CHAT_UNABLE_TO_START_CONVERSATION":return r({id:"AI_CHAT_UNABLE_TO_START_CONVERSATION",string:"Unable to start conversation. Please make sure you are online and try again."});case"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE":return r({id:"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE",string:"Failed to upload files: %0. Please try again."},n);case"AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES":return r({id:"AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES",string:"Unable to load resources from %0. Please try again."},n);case"AI_CHAT_RESOURCE_LOAD_FAILED":return r({id:"AI_CHAT_RESOURCE_LOAD_FAILED",string:"Failed to load resource. Please try again."});case"AI_CHAT_CONTEXT_CURRENT_DOCUMENT":return r({id:"AI_CHAT_CONTEXT_CURRENT_DOCUMENT",string:"Current document"});case"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT":return r({id:"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT",string:"Remove from context"});case"AI_CHAT_CONTEXT_ADD_CONTEXT":return r({id:"AI_CHAT_CONTEXT_ADD_CONTEXT",string:"Add context"});case"AI_CHAT_CONTEXT_URL_LABEL":return r({id:"AI_CHAT_CONTEXT_URL_LABEL",string:"URL"});case"AI_CHAT_CONTEXT_FILE_LABEL":return r({id:"AI_CHAT_CONTEXT_FILE_LABEL",string:"File"});case"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL":return r({id:"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL",string:"Current context"});case"AI_CHAT_SEARCH_WEB":return r({id:"AI_CHAT_SEARCH_WEB",string:"Web search"});case"AI_CHAT_ENABLE_WEB_SEARCH":return r({id:"AI_CHAT_ENABLE_WEB_SEARCH",string:"Enable web search"});case"AI_CHAT_DISABLE_WEB_SEARCH":return r({id:"AI_CHAT_DISABLE_WEB_SEARCH",string:"Disable web search"});case"AI_CHAT_REASONING":return r({id:"AI_CHAT_REASONING",string:"Reasoning"});case"AI_CHAT_ENABLE_REASONING":return r({id:"AI_CHAT_ENABLE_REASONING",string:"Enable reasoning"});case"AI_CHAT_DISABLE_REASONING":return r({id:"AI_CHAT_DISABLE_REASONING",string:"Disable reasoning"});case"AI_CHAT_COMMANDS":return r({id:"AI_CHAT_COMMANDS",string:"Commands"});case"AI_CHAT_SEARCH_RESOURCES":return r({id:"AI_CHAT_SEARCH_RESOURCES",string:"Search resources"});case"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT":return r({id:"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT",string:"Back to context options"});case"AI_CHAT_CONTEXT_URL_ADD_URL":return r({id:"AI_CHAT_CONTEXT_URL_ADD_URL",string:"Add URL"});case"AI_CHAT_CONTEXT_URL_PLACEHOLDER":return r({id:"AI_CHAT_CONTEXT_URL_PLACEHOLDER",string:"Add URL..."});case"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL":return r({id:"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL",string:"Failed to upload URL: %0. Please try again."},n);case"AI_CHAT_CONTEXT_INVALID_DATA":return r({id:"AI_CHAT_CONTEXT_INVALID_DATA",string:"Invalid context data type for the selected resource."});case"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE":return r({id:"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE",string:"Unsupported resource type. Only files and URLs are supported."});case"AI_CHAT_CONTEXT_URL_EMPTY_ERROR":return r({id:"AI_CHAT_CONTEXT_URL_EMPTY_ERROR",string:"URL cannot be empty."});case"AI_CHAT_CONTEXT_URL_INVALID_ERROR":return r({id:"AI_CHAT_CONTEXT_URL_INVALID_ERROR",string:"Please enter a valid URL."});case"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR":return r({id:"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR",string:"AI is preparing a response..."});case"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH":return r({id:"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH",string:"AI is searching the web to provide the most accurate answer..."});case"AI_CHAT_FEED_LOADING_MESSAGE_REASONING":return r({id:"AI_CHAT_FEED_LOADING_MESSAGE_REASONING",string:"AI is performing deep research to provide the most accurate answer..."});case"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING":return r({id:"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING",string:"AI is performing deep research and searching the web to provide the most accurate answer..."});case"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH":return r({id:"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH",string:"Scanned the internet for insights"});case"AI_CHAT_FEED_REPLY_ITEM_USED_REASONING":return r({id:"AI_CHAT_FEED_REPLY_ITEM_USED_REASONING",string:"Thought for a few minutes"});case"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING":return r({id:"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING",string:"Took a moment to think and search the web"});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR":return r({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR",string:"Ask AI anything..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH":return r({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH",string:"Ask AI anything (web search enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING":return r({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING",string:"Ask AI anything (reasoning enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING":return r({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING",string:"Ask AI anything (web search and reasoning enabled)..."});case"AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT":return r({id:"AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT",string:"Show change in text",plural:"Show changes in text"},n);case"AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION":return r({id:"AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION",string:"Insert suggestion",plural:"Insert suggestions"},n);case"AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL":return r({id:"AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL",string:"Apply",plural:"Apply all"},n);case"AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP":return r({id:"AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP",string:"Apply suggestion",plural:"Apply all suggestions"},n);case"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP":return r({id:"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP",string:"More options"},n);case"AI_CHAT_MODEL_SELECTOR_GROUP":return r({id:"AI_CHAT_MODEL_SELECTOR_GROUP",string:"Models"});case"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP":return r({id:"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP",string:"Select a model"});case"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP":return r({id:"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP",string:"Start a new conversation to change a model"});case"AI_CHAT_CAPABILITIES_YES":return r({id:"AI_CHAT_CAPABILITIES_YES",string:"Yes"});case"AI_CHAT_CAPABILITIES_NO":return r({id:"AI_CHAT_CAPABILITIES_NO",string:"No"});case"AI_CHAT_CONTEXT_SOURCES_LABEL":return r({id:"AI_CHAT_CONTEXT_SOURCES_LABEL",string:"Sources"});case"AI_CHAT_HISTORY_HEADING":return r({id:"AI_CHAT_HISTORY_HEADING",string:"Chat History"});case"AI_CHAT_HISTORY_SEARCH_LABEL":return r({id:"AI_CHAT_HISTORY_SEARCH_LABEL",string:"Search history"});case"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY":return r({id:"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY",string:'No chats were found matching "%0".'},n);case"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY":return r({id:"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY",string:"Please try a different phrase or check the spelling."});case"AI_CHAT_HISTORY_EMPTY_MESSAGE":return r({id:"AI_CHAT_HISTORY_EMPTY_MESSAGE",string:"Your chat history is currently empty. After you create some conversations, you will be able to revisit them here."});case"AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON":return r({id:"AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON",string:"Go to chat"});case"AI_CHAT_HISTORY_PIN_BUTTON":return r({id:"AI_CHAT_HISTORY_PIN_BUTTON",string:"Pin"});case"AI_CHAT_HISTORY_SHOW_MORE_ITEMS":return r({id:"AI_CHAT_HISTORY_SHOW_MORE_ITEMS",string:"Show more items"});case"AI_CHAT_HISTORY_EDIT_NAME":return r({id:"AI_CHAT_HISTORY_EDIT_NAME",string:"Edit name"});case"AI_CHAT_HISTORY_REMOVE":return r({id:"AI_CHAT_HISTORY_REMOVE",string:"Remove"});case"AI_CHAT_HISTORY_REMOVE_CONFIRM":return r({id:"AI_CHAT_HISTORY_REMOVE_CONFIRM",string:"Do you want to remove this chat?"});case"AI_CHAT_HISTORY_ACCEPT":return r({id:"AI_CHAT_HISTORY_ACCEPT",string:"Accept"});case"AI_CHAT_HISTORY_CANCEL":return r({id:"AI_CHAT_HISTORY_CANCEL",string:"Cancel"});case"AI_CHAT_HISTORY_LOADING_REMOVING":return r({id:"AI_CHAT_HISTORY_LOADING_REMOVING",string:"Removing the chat..."});case"AI_CHAT_HISTORY_LOADING_RENAMING":return r({id:"AI_CHAT_HISTORY_LOADING_RENAMING",string:"Renaming the chat..."});case"AI_CHAT_HISTORY_LOADING_PINNING":return r({id:"AI_CHAT_HISTORY_LOADING_PINNING",string:"Pinning the chat..."});case"AI_CHAT_HISTORY_LOADING_UNPINNING":return r({id:"AI_CHAT_HISTORY_LOADING_UNPINNING",string:"Unpinning the chat..."});case"AI_CHAT_HISTORY_CATEGORY_PINNED":return r({id:"AI_CHAT_HISTORY_CATEGORY_PINNED",string:"Pinned"});case"AI_CHAT_HISTORY_CATEGORY_TODAY":return r({id:"AI_CHAT_HISTORY_CATEGORY_TODAY",string:"Today"});case"AI_CHAT_HISTORY_CATEGORY_YESTERDAY":return r({id:"AI_CHAT_HISTORY_CATEGORY_YESTERDAY",string:"Yesterday"});case"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS":return r({id:"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS",string:"Last 14 days"});case"AI_CHAT_HISTORY_CATEGORY_LATER":return r({id:"AI_CHAT_HISTORY_CATEGORY_LATER",string:"Later"});case"AI_CHAT_HISTORY_ERROR_UPDATE_TITLE":return r({id:"AI_CHAT_HISTORY_ERROR_UPDATE_TITLE",string:'Sorry, we couldn\'t change the "%0" chat name. Please try again in a moment.'},n);case"AI_CHAT_HISTORY_ERROR_UPDATE_PINNED":return r({id:"AI_CHAT_HISTORY_ERROR_UPDATE_PINNED",string:'Sorry, we couldn\'t %0 the "%1" chat. Please try again in a moment.'},n);case"AI_CHAT_HISTORY_ERROR_REMOVE_ITEM":return r({id:"AI_CHAT_HISTORY_ERROR_REMOVE_ITEM",string:'Sorry, we couldn\'t delete the "%0" chat. Please try again in a moment.'},n);case"AI_CHAT_HISTORY_ERROR_LOAD_ITEMS":return r({id:"AI_CHAT_HISTORY_ERROR_LOAD_ITEMS",string:"Sorry, we couldn't generate the chat history. Please try again in a moment."});case"AI_CHAT_HISTORY_ERROR_GENERIC":return r({id:"AI_CHAT_HISTORY_ERROR_GENERIC",string:"Something went wrong. Please try again in a moment."});case"AI_CHAT_HISTORY_PIN_ACTION":return r({id:"AI_CHAT_HISTORY_PIN_ACTION",string:"pin"});case"AI_CHAT_HISTORY_UNPIN_ACTION":return r({id:"AI_CHAT_HISTORY_UNPIN_ACTION",string:"unpin"});case"AI_BALLOON_APPLY_BUTTON":return r({id:"AI_BALLOON_APPLY_BUTTON",string:"Apply"});case"AI_BALLOON_SUGGEST_BUTTON":return r({id:"AI_BALLOON_SUGGEST_BUTTON",string:"Suggest"});case"AI_BALLOON_NEXT_TOOLTIP":return r({id:"AI_BALLOON_NEXT_TOOLTIP",string:"Next"});case"AI_BALLOON_PREVIOUS_TOOLTIP":return r({id:"AI_BALLOON_PREVIOUS_TOOLTIP",string:"Previous"});case"AI_SUGGESTION_NO_PARTS_WARNING":return r({id:"AI_SUGGESTION_NO_PARTS_WARNING",string:"The suggestion can’t be applied to the editor because the system can’t display it correctly.."});case"AI_SUGGESTION_EMPTY_PART_WARNING":return r({id:"AI_SUGGESTION_EMPTY_PART_WARNING",string:"Some suggestions can’t be applied to the editor because the system can’t display them correctly."});case"AI_ACTIONS_TRY_AGAIN":return r({id:"AI_ACTIONS_TRY_AGAIN",string:"Try again"});case"AI_MODEL_DESCRIPTION_AGENT-1":return r({id:"AI_MODEL_DESCRIPTION_AGENT-1",string:"Automatically selects the best model for speed, quality, and cost"});case"AI_MODEL_DESCRIPTION_GPT-5":return r({id:"AI_MODEL_DESCRIPTION_GPT-5",string:"OpenAI's flagship model for advanced reasoning, creativity, and complex tasks"});case"AI_MODEL_DESCRIPTION_GPT-5-MINI":return r({id:"AI_MODEL_DESCRIPTION_GPT-5-MINI",string:"A lightweight version of GPT-5 for faster, more cost-efficient responses"});case"AI_MODEL_DESCRIPTION_GPT-4.1":return r({id:"AI_MODEL_DESCRIPTION_GPT-4.1",string:"OpenAI's model for reliable reasoning, speed, and versatility"});case"AI_MODEL_DESCRIPTION_GPT-4.1-MINI":return r({id:"AI_MODEL_DESCRIPTION_GPT-4.1-MINI",string:"A lighter variant of GPT-4.1 that balances speed and cost while maintaining solid accuracy"});case"AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU":return r({id:"AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU",string:"Anthropic's fast, cost-efficient model for simpler tasks"});case"AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET":return r({id:"AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET",string:"Advanced model with strong reasoning and reliability for complex tasks"});case"AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO":return r({id:"AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO",string:"Google's advanced model for versatile problem-solving and research"});case"AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH":return r({id:"AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH",string:"Lightweight Gemini model for fast, cost-efficient interactions"});default:return e}}const Gc=jc;function jc(t,e){const n=Kc();return(jc=function(t,e){return n[t-=311]})(t,e)}var Wc,Yc;function Kc(){const t=["body","ai-request-failed","/conversations","text","_token","deleteFile","/web-resources","deleteWebResource","name","AI_MODEL_DESCRIPTION_","decode","_apiUrl","/documents","value","IMPROVE_WRITING","map","MAKE_SHORTER","_handleError","233303ubGiTV","PATCH","/actions/system/","stringify","DELETE","/actions/custom/calls","/files","releaseLock","FIX_GRAMMAR","executeCustomAction","read","223398QLCbIB","search","getReader","98265NlOJfV","context","55848csYcyn","TRANSLATE","make-shorter","signal","/files/","fix-grammar","data","_decoder","uploadFile","limit","executeAction","plugins","39320bpdJYK","get","MAKE_TONE_CASUAL","fetchConversationMessages","reset","261ODHvKK","length","feed","true","/documents/","ai-request-aborted","group","abortController","MAKE_LONGER","_sendApiRequest","isOfficialPlugin","fetchConversation","getModels","/reviews/system/","CloudServices","MAKE_TONE_FORMAL","uploadUrl","_getStreamReader","pluginName","request","init","deleteDocument","continue","items","/conversations?","improve-writing","queryAssistant","Bearer ","fetchDocument","attributes","/web-resources/","callCustomReview","GET","catch","keys","/messages","toString","translate","100","12dxielD","updateConversation","POST","application/json","callSystemReview","requires","parse","/conversations/","Content-Type","AIConnector","push","fetchConversations","startConversation","make-tone-casual","ai-missing-token","515940zcoaCe","/calls","json","/models/1","https://ai-assistant.cke-cs-staging.com/v1","append","AbortError","uploadDocument","CONTINUE","token","then","toUpperCase","excludeEmpty","236126PWoroW","locale","make-tone-formal","deleteConversation","isPremiumPlugin","/reviews/custom/calls","make-longer","file"];return(Kc=function(){return t})()}!function(t){const e=jc,n=t();for(;;)try{if(126032===-parseInt(e(436))/1+parseInt(e(399))/2+parseInt(e(313))/3*(-parseInt(e(371))/4)+parseInt(e(327))/5+parseInt(e(386))/6+parseInt(e(425))/7+parseInt(e(315))/8*(parseInt(e(332))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Kc),function(t){const e=jc;t[e(394)]=e(354),t[e(433)]=e(320),t[e(421)]=e(357),t[e(340)]=e(405),t[e(423)]=e(317),t[e(329)]=e(384),t[e(347)]=e(401),t[e(316)]=e(369)}(Wc||(Wc={}));class $c extends i.ContextPlugin{[Gc(418)];[Gc(411)];[Gc(322)];static get[Gc(376)](){return[Gc(346)]}static get[Gc(350)](){return Gc(380)}static get[Gc(342)](){return!0}static get[Gc(403)](){return!0}constructor(t){const e=Gc;super(t),this[e(418)]=e(390),this[e(411)]=null,this[e(322)]=new TextDecoder}[Gc(352)](){const t=Gc,e=this[t(314)][t(326)][t(328)](t(346));if(!e[t(395)])throw new s.CKEditorError(t(385),this);this[t(411)]=e[t(395)]}[Gc(383)](t,e){const n=Gc,r=this[n(341)](n(409),n(373),{id:t,group:e});return{getConversation:async()=>(await r[n(351)])[n(388)](),abortController:r[n(339)]}}[Gc(358)]({message:t,conversationId:e,parts:n,capabilities:r,model:i,quickActionData:o}){const s=Gc,a={...o&&{quickActionData:o}},c={prompt:t,content:n,model:i,...r&&{capabilities:r},...Object[s(366)](a)[s(333)]>0&&{attributes:a}},l=this[s(341)](s(378)+e+s(367),s(373),c);return{getStream:async()=>{const t=s,e=(await l[t(351)])[t(407)];return this[t(349)](e)},abortController:l[s(339)]}}[Gc(434)]({content:t,message:e,model:n,outputFormat:r}){const i=Gc,o={content:[{type:i(410),content:t}],prompt:e,model:n,outputFormat:r},s=this[i(341)](i(430),i(373),o);return{getStream:async()=>{const t=i,e=(await s[t(351)])[t(407)];return this[t(349)](e)},abortController:s[i(339)]}}[Gc(325)]({actionName:t,content:e,args:n}){const r=Gc,i={content:[{type:r(410),content:e}],args:n},o=this[r(341)](r(427)+t+r(387),r(373),i);return{getStream:async()=>{const t=r,e=(await o[t(351)])[t(407)];return this[t(349)](e)},abortController:o[r(339)]}}[Gc(323)](t,e,n){const r=Gc,i=new FormData;i[r(391)](r(406),e,e[r(415)]),n&&i[r(391)](r(361),JSON[r(428)](n));const o=this[r(341)](r(378)+t+r(431),r(373),i);return{getId:async()=>(await o[r(351)])[r(388)](),abortController:o[r(339)]}}[Gc(360)](t,e){const n=Gc,r=this[n(341)](n(378)+t+n(336)+e,n(364));return{getDocument:async()=>(await r[n(351)])[n(388)](),abortController:r[n(339)]}}[Gc(393)](t,e,n){const r=Gc,i={content:e};n&&(i[r(361)]=n);const o=this[r(341)](r(378)+t+r(419),r(373),i);return{getId:async()=>(await o[r(351)])[r(388)](),abortController:o[r(339)]}}[Gc(382)](t,e){const n=Gc,r=new URLSearchParams;r[n(391)](n(398),n(335)),r[n(391)](n(324),n(370)),r[n(391)](n(338),t),e&&r[n(391)](n(311),e);const i=this[n(341)](n(356)+r[n(368)](),n(364));return{getConversations:async()=>{const t=n,e=await i[t(351)];return(await e[t(388)]())[t(355)]},abortController:i[n(339)]}}[Gc(402)](t){const e=Gc,n=this[e(341)](e(378)+t,e(429));return{execute:async()=>{const t=e;await n[t(351)]},abortController:n[e(339)]}}[Gc(372)](t,e){const n=Gc,r=this[n(341)](n(378)+t,n(426),e);return{getResult:async()=>(await r[n(351)],e),abortController:r[n(339)]}}[Gc(343)](t){const e=Gc,n=this[e(341)](e(378)+t,e(364));return{getConversation:async()=>(await n[e(351)])[e(388)](),abortController:n[e(339)]}}[Gc(330)](t){const e=Gc,n=this[e(341)](e(378)+t+e(367),e(364));return{getMessages:async()=>{const t=e,r=await n[t(351)];return(await r[t(388)]())[t(355)]},abortController:n[e(339)]}}[Gc(348)](t,e,n){const r=Gc,i=this[r(341)](r(378)+t+r(413),r(373),{url:e,attributes:n});return{getId:async()=>(await i[r(351)])[r(388)](),abortController:i[r(339)]}}[Gc(344)](){const t=Gc,e=this[t(341)](t(389),t(364));return{list:async()=>{const n=t,r=await(await e[n(351)])[n(388)](),i=r[n(355)][n(422)](t=>({...t,description:zc(this[n(314)][n(400)],n(416)+t.id[n(397)]())}));return{...r,items:i}},abortController:e[t(339)]}}[Gc(412)](t,e){const n=Gc,r=this[n(341)](n(378)+t+n(319)+e,n(429));return{execute:async()=>{const t=n;await r[t(351)]},abortController:r[n(339)]}}[Gc(353)](t,e){const n=Gc,r=this[n(341)](n(378)+t+n(336)+e,n(429));return{execute:async()=>{const t=n;await r[t(351)]},abortController:r[n(339)]}}[Gc(414)](t,e){const n=Gc,r=this[n(341)](n(378)+t+n(362)+e,n(429));return{execute:async()=>{const t=n;await r[t(351)]},abortController:r[n(339)]}}[Gc(375)]({reviewName:t,content:e,args:n}){const r=Gc,i=this[r(341)](r(345)+t+r(387),r(373),{content:[{type:r(410),content:e}],args:n});return{getStream:async()=>{const t=r,e=(await i[t(351)])[t(407)];return this[t(349)](e)},abortController:i[r(339)]}}[Gc(363)]({content:t,prompt:e,model:n}){const r=Gc,i=this[r(341)](r(404),r(373),{content:[{type:r(410),content:t}],prompt:e,model:n});return{getStream:async()=>{const t=r,e=(await i[t(351)])[t(407)];return this[t(349)](e)},abortController:i[r(339)]}}[Gc(341)](t,e,n){const r=Gc,i=new AbortController,o=n instanceof FormData,a={Authorization:r(359)+this[r(411)]?.[r(420)]};n&&!o&&(a[r(379)]=r(374));const c={method:e,headers:a,signal:i[r(318)]};return n&&(c[r(407)]=o?n:JSON[r(428)](n)),{request:fetch(""+this[r(418)]+t,c)[r(365)](t=>{this[r(424)](t)})[r(396)](t=>{const e=r;if(!t.ok)throw new s.CKEditorError(e(408),this);return t}),abortController:i}}async*[Gc(349)](t){const e=Gc,n=[],r=t[e(312)](),i=Fc({onError:t=>{this[e(424)](t)},onEvent:t=>{const r=e;t[r(321)]=JSON[r(377)](t[r(321)]),n[r(381)](t)}});try{let t=!1;for(;!t;){const{done:o,value:s}=await r[e(435)]();o&&(t=!0),i[e(334)](this[e(322)][e(417)](s,{stream:!0})),yield*n,n[e(333)]=0}}catch(t){this[e(424)](t)}finally{r[e(432)](),i[e(331)]()}}[Gc(424)](t){const e=Gc;if(t instanceof s.CKEditorError)throw t;if(t instanceof Error&&e(392)===t[e(415)])throw new s.CKEditorError(e(337),this,{originalError:t});throw new s.CKEditorError(e(408),this,{originalError:t})}}function Qc(t,e){const n=Xc();return(Qc=function(t,e){return n[t-=324]})(t,e)}function Xc(){const t=["AI_TABS_LABEL_MAXIMIZE","set","2801337wbuCdz","isOn","ck-ai-tabs__resize ck-ai-button-tertiary-text","5288450CjodJT","AI_TABS_LABEL_MINIMIZE","2052032afIrAs","fire","bind","resizeTabs","264KfOcxT","isMaximized","125188ikSpOG","5855280DTuoVE","15HKgRPC","1mAGaMP","18kZbXlu","848986LXnBJW","label","icon","116408osAvNH","execute"];return(Xc=function(){return t})()}function Zc(t,e){const n=Qc,r=new a.ButtonView(t),i=zc(t,n(331)),s=zc(t,n(325));return r[n(326)]({withText:!1,icon:o.IconMaximize,tooltip:!0,class:n(329)}),r[n(334)](n(344)).to(e,n(337),t=>t?i:s),r[n(334)](n(345)).to(e,n(337),t=>t?o.IconMinimize:o.IconMaximize),r[n(334)](n(328)).to(e,n(337)),r.on(n(324),()=>{const t=n;e[t(333)](t(335))}),r}!function(t){const e=Qc,n=t();for(;;)try{if(614698===-parseInt(e(341))/1*(parseInt(e(343))/2)+-parseInt(e(340))/3*(parseInt(e(346))/4)+-parseInt(e(339))/5+parseInt(e(336))/6*(parseInt(e(338))/7)+parseInt(e(332))/8+-parseInt(e(342))/9*(-parseInt(e(330))/10)+parseInt(e(327))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xc),function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(Yc||(Yc={}));const Jc=Yc.Root,tl=Yc.Text,el=Yc.Directive,nl=Yc.Comment,rl=Yc.Script,il=Yc.Style,ol=Yc.Tag,sl=Yc.CDATA,al=Yc.Doctype;class cl{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return vl(this,t)}}class ll extends cl{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class ul extends ll{constructor(){super(...arguments),this.type=Yc.Text}get nodeType(){return 3}}class hl extends ll{constructor(){super(...arguments),this.type=Yc.Comment}get nodeType(){return 8}}class dl extends ll{constructor(t,e){super(e),this.name=t,this.type=Yc.Directive}get nodeType(){return 1}}class pl extends cl{constructor(t){super(),this.children=t}get firstChild(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class fl extends pl{constructor(){super(...arguments),this.type=Yc.CDATA}get nodeType(){return 4}}class gl extends pl{constructor(){super(...arguments),this.type=Yc.Root}get nodeType(){return 9}}class ml extends pl{constructor(t,e,n=[],r=("script"===t?Yc.Script:"style"===t?Yc.Style:Yc.Tag)){super(n),this.name=t,this.attribs=e,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var e,n;return{name:t,value:this.attribs[t],namespace:null===(e=this["x-attribsNamespace"])||void 0===e?void 0:e[t],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[t]}})}}function kl(t){return(e=t).type===Yc.Tag||e.type===Yc.Script||e.type===Yc.Style;var e}function _l(t){return t.type===Yc.Text}function bl(t){return t.type===Yc.Comment}function wl(t){return t.type===Yc.Root}function Il(t){return Object.prototype.hasOwnProperty.call(t,"children")}function vl(t,e=!1){let n;if(_l(t))n=new ul(t.data);else if(bl(t))n=new hl(t.data);else if(kl(t)){const r=e?yl(t.children):[],i=new ml(t.name,{...t.attribs},r);r.forEach(t=>t.parent=i),null!=t.namespace&&(i.namespace=t.namespace),t["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=i}else if(function(t){return t.type===Yc.CDATA}(t)){const r=e?yl(t.children):[],i=new fl(r);r.forEach(t=>t.parent=i),n=i}else if(wl(t)){const r=e?yl(t.children):[],i=new gl(r);r.forEach(t=>t.parent=i),t["x-mode"]&&(i["x-mode"]=t["x-mode"]),n=i}else{if(!function(t){return t.type===Yc.Directive}(t))throw new Error(`Not implemented yet: ${t.type}`);{const e=new dl(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),n=e}}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function yl(t){const e=t.map(t=>vl(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const Al={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class El{constructor(t,e,n){this.dom=[],this.root=new gl(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=Al),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:Al,this.elementCB=null!=n?n:null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new gl(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,e){const n=this.options.xmlMode?Yc.Tag:void 0,r=new ml(t,e,void 0,n);this.addNode(r),this.tagStack.push(r)}ontext(t){const{lastNode:e}=this;if(e&&e.type===Yc.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{const e=new ul(t);this.addNode(e),this.lastNode=e}}oncomment(t){if(this.lastNode&&this.lastNode.type===Yc.Comment)return void(this.lastNode.data+=t);const e=new hl(t);this.addNode(e),this.lastNode=e}oncommentend(){this.lastNode=null}oncdatastart(){const t=new ul(""),e=new fl([t]);this.addNode(e),t.parent=e,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,e){const n=new dl(t,e);this.addNode(n)}handleCallback(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t}addNode(t){const e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null}}const xl=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),Tl=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Cl;const Sl=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rl=null!==(Cl=String.fromCodePoint)&&void 0!==Cl?Cl:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function Ol(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=Sl.get(t))&&void 0!==e?e:t}var Nl;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(Nl||(Nl={}));var Ll,Pl,Ml;function Dl(t){return t>=Nl.ZERO&&t<=Nl.NINE}function Hl(t){return t>=Nl.UPPER_A&&t<=Nl.UPPER_F||t>=Nl.LOWER_A&&t<=Nl.LOWER_F}function Bl(t){return t===Nl.EQUALS||function(t){return t>=Nl.UPPER_A&&t<=Nl.UPPER_Z||t>=Nl.LOWER_A&&t<=Nl.LOWER_Z||Dl(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(Ll||(Ll={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(Pl||(Pl={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Ml||(Ml={}));class Ul{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=Pl.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ml.Strict}startEntity(t){this.decodeMode=t,this.state=Pl.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case Pl.EntityStart:return t.charCodeAt(e)===Nl.NUM?(this.state=Pl.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=Pl.NamedEntity,this.stateNamedEntity(t,e));case Pl.NumericStart:return this.stateNumericStart(t,e);case Pl.NumericDecimal:return this.stateNumericDecimal(t,e);case Pl.NumericHex:return this.stateNumericHex(t,e);case Pl.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Nl.LOWER_X?(this.state=Pl.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=Pl.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const i=n-e;this.result=this.result*Math.pow(r,i)+Number.parseInt(t.substr(e,i),r),this.consumed+=i}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!Dl(r)&&!Hl(r))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!Dl(r))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Nl.SEMI)this.consumed+=1;else if(this.decodeMode===Ml.Strict)return 0;return this.emitCodePoint(Ol(this.result),this.consumed),this.errors&&(t!==Nl.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Ll.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=Vl(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Ml.Attribute&&(0===i||Bl(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Ll.VALUE_LENGTH)>>14,0!==i){if(o===Nl.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ml.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&Ll.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~Ll.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Pl.NamedEntity:return 0===this.result||this.decodeMode===Ml.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Pl.NumericDecimal:return this.emitNumericEntity(0,2);case Pl.NumericHex:return this.emitNumericEntity(0,3);case Pl.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Pl.EntityStart:return 0}}}function Vl(t,e,n,r){const i=(e&Ll.BRANCH_LENGTH)>>7,o=e&Ll.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const e=r-o;return e<0||e>=i?-1:t[n+e]-1}let s=n,a=s+i-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(n<r)s=e+1;else{if(!(n>r))return t[e+i];a=e-1}}return-1}var ql,Fl,zl;function Gl(t){return t===ql.Space||t===ql.NewLine||t===ql.Tab||t===ql.FormFeed||t===ql.CarriageReturn}function jl(t){return t===ql.Slash||t===ql.Gt||Gl(t)}!function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"}(ql||(ql={})),function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.BeforeSpecialT=23]="BeforeSpecialT",t[t.SpecialStartSequence=24]="SpecialStartSequence",t[t.InSpecialTag=25]="InSpecialTag",t[t.InEntity=26]="InEntity"}(Fl||(Fl={})),function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"}(zl||(zl={}));const Wl={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class Yl{constructor({xmlMode:t=!1,decodeEntities:e=!0},n){this.cbs=n,this.state=Fl.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=Fl.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=e,this.entityDecoder=new Ul(t?Tl:xl,(t,e)=>this.emitCodePoint(t,e))}reset(){this.state=Fl.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Fl.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===ql.Lt||!this.decodeEntities&&this.fastForwardTo(ql.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Fl.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===ql.Amp&&this.startEntity()}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?jl(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=Fl.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===ql.Gt||Gl(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const t=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=t}return this.isSpecial=!1,this.sectionStart=e+2,void this.stateInClosingTagName(t)}this.sequenceIndex=0}(32|t)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Wl.TitleEnd?this.decodeEntities&&t===ql.Amp&&this.startEntity():this.fastForwardTo(ql.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(t===ql.Lt)}stateCDATASequence(t){t===Wl.Cdata[this.sequenceIndex]?++this.sequenceIndex===Wl.Cdata.length&&(this.state=Fl.InCommentLike,this.currentSequence=Wl.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=Fl.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Wl.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=Fl.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!jl(t):function(t){return t>=ql.LowerA&&t<=ql.LowerZ||t>=ql.UpperA&&t<=ql.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=Fl.SpecialStartSequence}stateBeforeTagName(t){if(t===ql.ExclamationMark)this.state=Fl.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===ql.Questionmark)this.state=Fl.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=Fl.InTagName:e===Wl.ScriptEnd[2]?this.state=Fl.BeforeSpecialS:e===Wl.TitleEnd[2]||e===Wl.XmpEnd[2]?this.state=Fl.BeforeSpecialT:this.state=Fl.InTagName}else t===ql.Slash?this.state=Fl.BeforeClosingTagName:(this.state=Fl.Text,this.stateText(t))}stateInTagName(t){jl(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Fl.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Gl(t)||(t===ql.Gt?this.state=Fl.Text:(this.state=this.isTagStartChar(t)?Fl.InClosingTagName:Fl.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===ql.Gt||Gl(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Fl.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===ql.Gt||this.fastForwardTo(ql.Gt))&&(this.state=Fl.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===ql.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Fl.InSpecialTag,this.sequenceIndex=0):this.state=Fl.Text,this.sectionStart=this.index+1):t===ql.Slash?this.state=Fl.InSelfClosingTag:Gl(t)||(this.state=Fl.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===ql.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Fl.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Gl(t)||(this.state=Fl.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===ql.Eq||jl(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=Fl.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===ql.Eq?this.state=Fl.BeforeAttributeValue:t===ql.Slash||t===ql.Gt?(this.cbs.onattribend(zl.NoValue,this.sectionStart),this.sectionStart=-1,this.state=Fl.BeforeAttributeName,this.stateBeforeAttributeName(t)):Gl(t)||(this.cbs.onattribend(zl.NoValue,this.sectionStart),this.state=Fl.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===ql.DoubleQuote?(this.state=Fl.InAttributeValueDq,this.sectionStart=this.index+1):t===ql.SingleQuote?(this.state=Fl.InAttributeValueSq,this.sectionStart=this.index+1):Gl(t)||(this.sectionStart=this.index,this.state=Fl.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===ql.DoubleQuote?zl.Double:zl.Single,this.index+1),this.state=Fl.BeforeAttributeName):this.decodeEntities&&t===ql.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,ql.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,ql.SingleQuote)}stateInAttributeValueNoQuotes(t){Gl(t)||t===ql.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(zl.Unquoted,this.index),this.state=Fl.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===ql.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===ql.OpeningSquareBracket?(this.state=Fl.CDATASequence,this.sequenceIndex=0):this.state=t===ql.Dash?Fl.BeforeComment:Fl.InDeclaration}stateInDeclaration(t){(t===ql.Gt||this.fastForwardTo(ql.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Fl.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===ql.Gt||this.fastForwardTo(ql.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Fl.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===ql.Dash?(this.state=Fl.InCommentLike,this.currentSequence=Wl.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Fl.InDeclaration}stateInSpecialComment(t){(t===ql.Gt||this.fastForwardTo(ql.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Fl.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const e=32|t;e===Wl.ScriptEnd[3]?this.startSpecial(Wl.ScriptEnd,4):e===Wl.StyleEnd[3]?this.startSpecial(Wl.StyleEnd,4):(this.state=Fl.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){switch(32|t){case Wl.TitleEnd[3]:this.startSpecial(Wl.TitleEnd,4);break;case Wl.TextareaEnd[3]:this.startSpecial(Wl.TextareaEnd,4);break;case Wl.XmpEnd[3]:this.startSpecial(Wl.XmpEnd,4);break;default:this.state=Fl.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=Fl.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ml.Strict:this.baseState===Fl.Text||this.baseState===Fl.InSpecialTag?Ml.Legacy:Ml.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,0===t&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Fl.Text||this.state===Fl.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==Fl.InAttributeValueDq&&this.state!==Fl.InAttributeValueSq&&this.state!==Fl.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case Fl.Text:this.stateText(t);break;case Fl.SpecialStartSequence:this.stateSpecialStartSequence(t);break;case Fl.InSpecialTag:this.stateInSpecialTag(t);break;case Fl.CDATASequence:this.stateCDATASequence(t);break;case Fl.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(t);break;case Fl.InAttributeName:this.stateInAttributeName(t);break;case Fl.InCommentLike:this.stateInCommentLike(t);break;case Fl.InSpecialComment:this.stateInSpecialComment(t);break;case Fl.BeforeAttributeName:this.stateBeforeAttributeName(t);break;case Fl.InTagName:this.stateInTagName(t);break;case Fl.InClosingTagName:this.stateInClosingTagName(t);break;case Fl.BeforeTagName:this.stateBeforeTagName(t);break;case Fl.AfterAttributeName:this.stateAfterAttributeName(t);break;case Fl.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(t);break;case Fl.BeforeAttributeValue:this.stateBeforeAttributeValue(t);break;case Fl.BeforeClosingTagName:this.stateBeforeClosingTagName(t);break;case Fl.AfterClosingTagName:this.stateAfterClosingTagName(t);break;case Fl.BeforeSpecialS:this.stateBeforeSpecialS(t);break;case Fl.BeforeSpecialT:this.stateBeforeSpecialT(t);break;case Fl.InAttributeValueNq:this.stateInAttributeValueNoQuotes(t);break;case Fl.InSelfClosingTag:this.stateInSelfClosingTag(t);break;case Fl.InDeclaration:this.stateInDeclaration(t);break;case Fl.BeforeDeclaration:this.stateBeforeDeclaration(t);break;case Fl.BeforeComment:this.stateBeforeComment(t);break;case Fl.InProcessingInstruction:this.stateInProcessingInstruction(t);break;case Fl.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===Fl.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===Fl.InCommentLike?this.currentSequence===Wl.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Fl.InTagName||this.state===Fl.BeforeAttributeName||this.state===Fl.BeforeAttributeValue||this.state===Fl.AfterAttributeName||this.state===Fl.InAttributeName||this.state===Fl.InAttributeValueSq||this.state===Fl.InAttributeValueDq||this.state===Fl.InAttributeValueNq||this.state===Fl.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==Fl.Text&&this.baseState!==Fl.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const Kl=new Set(["input","option","optgroup","select","button","datalist","textarea"]),$l=new Set(["p"]),Ql=new Set(["thead","tbody"]),Xl=new Set(["dd","dt"]),Zl=new Set(["rt","rp"]),Jl=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",$l],["h1",$l],["h2",$l],["h3",$l],["h4",$l],["h5",$l],["h6",$l],["select",Kl],["input",Kl],["output",Kl],["button",Kl],["datalist",Kl],["textarea",Kl],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Xl],["dt",Xl],["address",$l],["article",$l],["aside",$l],["blockquote",$l],["details",$l],["div",$l],["dl",$l],["fieldset",$l],["figcaption",$l],["figure",$l],["footer",$l],["form",$l],["header",$l],["hr",$l],["main",$l],["nav",$l],["ol",$l],["pre",$l],["section",$l],["table",$l],["ul",$l],["rt",Zl],["rp",Zl],["tbody",Ql],["tfoot",Ql]]),tu=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),eu=new Set(["math","svg"]),nu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),ru=/\s|\//;class iu{constructor(t,e={}){var n,r,i,o,s,a;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=t?t:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(n=e.lowerCaseTags)&&void 0!==n?n:this.htmlMode,this.lowerCaseAttributeNames=null!==(r=e.lowerCaseAttributeNames)&&void 0!==r?r:this.htmlMode,this.recognizeSelfClosing=null!==(i=e.recognizeSelfClosing)&&void 0!==i?i:!this.htmlMode,this.tokenizer=new(null!==(o=e.Tokenizer)&&void 0!==o?o:Yl)(this.options,this),this.foreignContext=[!this.htmlMode],null===(a=(s=this.cbs).onparserinit)||void 0===a||a.call(s,this)}ontext(t,e){var n,r;const i=this.getSlice(t,e);this.endIndex=e-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=e}ontextentity(t,e){var n,r;this.endIndex=e-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,Rl(t)),this.startIndex=e}isVoidElement(t){return this.htmlMode&&tu.has(t)}onopentagname(t,e){this.endIndex=e;let n=this.getSlice(t,e);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(t){var e,n,r,i;this.openTagStart=this.startIndex,this.tagname=t;const o=this.htmlMode&&Jl.get(t);if(o)for(;this.stack.length>0&&o.has(this.stack[0]);){const t=this.stack.shift();null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,t,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(eu.has(t)?this.foreignContext.unshift(!0):nu.has(t)&&this.foreignContext.unshift(!1))),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(e=this.cbs).onopentag)||void 0===n||n.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var n,r,i,o,s,a,c,l;this.endIndex=e;let u=this.getSlice(t,e);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(eu.has(u)||nu.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null===(o=(i=this.cbs).onopentagname)||void 0===o||o.call(i,"br"),null===(a=(s=this.cbs).onopentag)||void 0===a||a.call(s,"br",{},!0),null===(l=(c=this.cbs).onclosetag)||void 0===l||l.call(c,"br",!1));else{const t=this.stack.indexOf(u);if(-1!==t)for(let e=0;e<=t;e++){const i=this.stack.shift();null===(r=(n=this.cbs).onclosetag)||void 0===r||r.call(n,i,e!==t)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,n;const r=this.tagname;this.endOpenTag(t),this.stack[0]===r&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,r,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;const n=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=Rl(t)}onattribend(t,e){var n,r;this.endIndex=e,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,t===zl.Double?'"':t===zl.Single?"'":t===zl.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const e=t.search(ru);let n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${t}`,`!${n}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${t}`,`?${n}`)}this.startIndex=e+1}oncomment(t,e,n){var r,i,o,s;this.endIndex=e,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(t,e-n)),null===(s=(o=this.cbs).oncommentend)||void 0===s||s.call(o),this.startIndex=e+1}oncdata(t,e,n){var r,i,o,s,a,c,l,u,h,d;this.endIndex=e;const p=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(s=(o=this.cbs).ontext)||void 0===s||s.call(o,p),null===(c=(a=this.cbs).oncdataend)||void 0===c||c.call(a)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,`[CDATA[${p}]]`),null===(d=(h=this.cbs).oncommentend)||void 0===d||d.call(h)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t<this.stack.length;t++)this.cbs.onclosetag(this.stack[t],!0)}null===(e=(t=this.cbs).onend)||void 0===e||e.call(t)}reset(){var t,e,n,r;null===(e=(t=this.cbs).onreset)||void 0===e||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,e){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}end(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}const ou=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),su=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var au;const cu=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),lu=null!==(au=String.fromCodePoint)&&void 0!==au?au:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function uu(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=cu.get(t))&&void 0!==e?e:t}var hu;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(hu||(hu={}));var du,pu,fu;function gu(t){return t>=hu.ZERO&&t<=hu.NINE}function mu(t){return t>=hu.UPPER_A&&t<=hu.UPPER_F||t>=hu.LOWER_A&&t<=hu.LOWER_F}function ku(t){return t===hu.EQUALS||function(t){return t>=hu.UPPER_A&&t<=hu.UPPER_Z||t>=hu.LOWER_A&&t<=hu.LOWER_Z||gu(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(du||(du={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(pu||(pu={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(fu||(fu={}));class _u{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=pu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fu.Strict}startEntity(t){this.decodeMode=t,this.state=pu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case pu.EntityStart:return t.charCodeAt(e)===hu.NUM?(this.state=pu.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=pu.NamedEntity,this.stateNamedEntity(t,e));case pu.NumericStart:return this.stateNumericStart(t,e);case pu.NumericDecimal:return this.stateNumericDecimal(t,e);case pu.NumericHex:return this.stateNumericHex(t,e);case pu.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===hu.LOWER_X?(this.state=pu.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=pu.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const i=n-e;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(e,i),r),this.consumed+=i}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!gu(r)&&!mu(r))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!gu(r))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===hu.SEMI)this.consumed+=1;else if(this.decodeMode===fu.Strict)return 0;return this.emitCodePoint(uu(this.result),this.consumed),this.errors&&(t!==hu.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&du.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=wu(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===fu.Attribute&&(0===i||ku(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&du.VALUE_LENGTH)>>14,0!==i){if(o===hu.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==fu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&du.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~du.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case pu.NamedEntity:return 0===this.result||this.decodeMode===fu.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case pu.NumericDecimal:return this.emitNumericEntity(0,2);case pu.NumericHex:return this.emitNumericEntity(0,3);case pu.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pu.EntityStart:return 0}}}function bu(t){let e="";const n=new _u(t,t=>e+=lu(t));return function(t,r){let i=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(i,o),n.startEntity(r);const s=n.write(t,o+1);if(s<0){i=o+n.end();break}i=o+s,o=0===s?i+1:i}const s=e+t.slice(i);return e="",s}}function wu(t,e,n,r){const i=(e&du.BRANCH_LENGTH)>>7,o=e&du.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const e=r-o;return e<0||e>=i?-1:t[n+e]-1}let s=n,a=s+i-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(n<r)s=e+1;else{if(!(n>r))return t[e+i];a=e-1}}return-1}bu(ou),bu(su);function Iu(t){for(let e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}new Map(Iu([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(Iu([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(Iu([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(Iu([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));const vu=/["&'<>$\x80-\uFFFF]/g,yu=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Au=null!=String.prototype.codePointAt?(t,e)=>t.codePointAt(e):(t,e)=>55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function Eu(t){let e,n="",r=0;for(;null!==(e=vu.exec(t));){const i=e.index,o=t.charCodeAt(i),s=yu.get(o);void 0!==s?(n+=t.substring(r,i)+s,r=i+1):(n+=`${t.substring(r,i)}&#x${Au(t,i).toString(16)};`,r=vu.lastIndex+=Number(55296==(64512&o)))}return n+t.substr(r)}function xu(t,e){return function(n){let r,i=0,o="";for(;r=t.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=e.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}xu(/[&<>'"]/g,yu);const Tu=xu(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Cu=xu(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Su,Ru;!function(t){t[t.XML=0]="XML",t[t.HTML=1]="HTML"}(Su||(Su={})),function(t){t[t.UTF8=0]="UTF8",t[t.ASCII=1]="ASCII",t[t.Extensive=2]="Extensive",t[t.Attribute=3]="Attribute",t[t.Text=4]="Text"}(Ru||(Ru={}));const Ou=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),Nu=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),Lu=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Pu(t){return t.replace(/"/g,"&quot;")}const Mu=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Du(t,e={}){const n="length"in t?t:[t];let r="";for(let t=0;t<n.length;t++)r+=Bu(n[t],e);return r}const Hu=Du;function Bu(t,e){switch(t.type){case Jc:return Du(t.children,e);case al:case el:return`<${t.data}>`;case nl:return function(t){return`\x3c!--${t.data}--\x3e`}(t);case sl:return function(t){return`<![CDATA[${t.children[0].data}]]>`}(t);case rl:case il:case ol:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=Ou.get(t.name))&&void 0!==n?n:t.name,t.parent&&Uu.has(t.parent.name)&&(e={...e,xmlMode:!1}));!e.xmlMode&&Vu.has(t.name)&&(e={...e,xmlMode:"foreign"});let r=`<${t.name}`;const i=function(t,e){var n;if(!t)return;const r=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?Pu:e.xmlMode||"utf8"!==e.encodeEntities?Eu:Tu;return Object.keys(t).map(n=>{var i,o;const s=null!==(i=t[n])&&void 0!==i?i:"";return"foreign"===e.xmlMode&&(n=null!==(o=Nu.get(n))&&void 0!==o?o:n),e.emptyAttrs||e.xmlMode||""!==s?`${n}="${r(s)}"`:n}).join(" ")}(t.attribs,e);i&&(r+=` ${i}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&Mu.has(t.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",t.children.length>0&&(r+=Du(t.children,e)),!e.xmlMode&&Mu.has(t.name)||(r+=`</${t.name}>`));return r}(t,e);case tl:return function(t,e){var n;let r=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Lu.has(t.parent.name)||(r=e.xmlMode||"utf8"!==e.encodeEntities?Eu(r):Cu(r));return r}(t,e)}}const Uu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Vu=new Set(["svg","math"]);function qu(t){return Array.isArray(t)?t.map(qu).join(""):Il(t)&&!bl(t)?qu(t.children):_l(t)?t.data:""}function Fu(t){return Il(t)?t.children:[]}function zu(t){return t.parent||null}function Gu(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function ju(t,e){const n=e.prev=t.prev;n&&(n.next=e);const r=e.next=t.next;r&&(r.prev=e);const i=e.parent=t.parent;if(i){const n=i.children;n[n.lastIndexOf(t)]=e,t.parent=null}}function Wu(t,e){Gu(e);const{parent:n}=t,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(r),0,e)}}else n&&n.children.push(e)}function Yu(t,e){if(Gu(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){const n=t.children[1];n.prev=e,e.next=n}else e.next=null}function Ku(t,e){Gu(e);const{parent:n}=t;if(n){const r=n.children;r.splice(r.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}function $u(t,e,n,r){const i=[],o=[Array.isArray(e)?e:[e]],s=[0];for(;;){if(s[0]>=o[0].length){if(1===s.length)return i;o.shift(),s.shift();continue}const e=o[0][s[0]++];if(t(e)&&(i.push(e),--r<=0))return i;n&&Il(e)&&e.children.length>0&&(s.unshift(0),o.unshift(e.children))}}function Qu(t,e,n=!0){const r=Array.isArray(e)?e:[e];for(let e=0;e<r.length;e++){const i=r[e];if(kl(i)&&t(i))return i;if(n&&Il(i)&&i.children.length>0){const e=Qu(t,i.children,!0);if(e)return e}}return null}function Xu(t,e){const n=[],r=[Array.isArray(e)?e:[e]],i=[0];for(;;){if(i[0]>=r[0].length){if(1===r.length)return n;r.shift(),i.shift();continue}const e=r[0][i[0]++];kl(e)&&t(e)&&n.push(e),Il(e)&&e.children.length>0&&(i.unshift(0),r.unshift(e.children))}}var Zu;!function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"}(Zu||(Zu={}));function Ju(t,e){const n=new El(void 0,e);return new iu(n,e).end(t),n.root}function th(t){return Ju(t)}function eh(){const t=["cloneNode","parentNode","push","576LgERrd","20VPjsIP","reverse","836843WVUXUL","indexOf","77537itTsMf","forEach","afterend","3114034qZXtet","16760gDXXnD","6TjhLKR","map","afterbegin","replace","attribs","beforebegin","8IJepqY","777177pdILLB","316892IWGooX","826209CNVfbW","nextSibling","slice","beforeend"];return(eh=function(){return t})()}function nh(t){return Hu(t)}function rh(t,e){const n=eh();return(rh=function(t,e){return n[t-=229]})(t,e)}function ih(t,e,n){const r=rh,i=null!==e?n=>n[r(238)][t]===e:e=>Boolean(e[r(238)][t]);return Qu(t=>kl(t)&&i(t),n)}function oh(t,e,n){const r=rh,i=null!==e?n=>n[r(238)][t]===e:e=>Boolean(e[r(238)][t]);return Xu(t=>kl(t)&&i(t),n)}function sh(t,e){const n=rh;return t&&kl(t)?t[n(238)][e]:null}function ah(t,e,n){const r=rh;kl(t)&&(null===n?delete t[r(238)][e]:t[r(238)][e]=n)}function ch(t,e,n){const r=rh,i=e[r(247)](!0);r(239)===n?Ku(t,i):r(236)===n?Yu(t,i):r(246)===n?function(t,e){if(Gu(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null}(t,i):r(231)===n&&Wu(t,i)}function lh(t){const e=rh,n=[];let r=t;for(;r;)r=zu(r),r&&n[e(249)](r);return n}function uh(t){const e=rh;return t[e(237)](/^\s+/gm,"")[e(237)](/\s+$/gm,"")[e(237)](/\n*/g,"")[e(237)](/\s+/g," ")[e(237)](/>\s*</g,"><")}function hh(t){const e=rh;let n=0;for(;t[e(248)];)t=t[e(248)],n++;return n}function dh(t){const e=rh,n=[];let r=t[e(244)];for(;r;)n[e(249)](r),r=r[e(244)];n[e(230)](t=>{Gu(t)})}function ph(t){if(t)throw t}!function(t){const e=rh,n=t();for(;;)try{if(211678===parseInt(e(229))/1*(-parseInt(e(234))/2)+parseInt(e(241))/3+-parseInt(e(242))/4+parseInt(e(233))/5*(-parseInt(e(250))/6)+parseInt(e(253))/7*(parseInt(e(240))/8)+parseInt(e(243))/9*(parseInt(e(251))/10)+parseInt(e(232))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eh);var fh=n(461);function gh(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function mh(){const t=[],e={run:function(...e){let n=-1;const r=e.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...s){const a=t[++n];let c=-1;if(o)r(o);else{for(;++c<e.length;)null!==s[c]&&void 0!==s[c]||(s[c]=e[c]);e=s,a?function(t,e){let n;return r;function r(...e){const r=t.length>e.length;let s;r&&e.push(i);try{s=t.apply(this,e)}catch(t){if(r&&n)throw t;return i(t)}r||(s&&s.then&&"function"==typeof s.then?s.then(o,i):s instanceof Error?i(s):o(s))}function i(t,...r){n||(n=!0,e(t,...r))}function o(t){i(null,t)}}(a,i)(...s):r(null,...s)}}(null,...e)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}};return e}function kh(t){return t&&"object"==typeof t?"position"in t||"type"in t?bh(t.position):"start"in t||"end"in t?bh(t):"line"in t||"column"in t?_h(t):"":""}function _h(t){return wh(t&&t.line)+":"+wh(t&&t.column)}function bh(t){return _h(t&&t.start)+"-"+_h(t&&t.end)}function wh(t){return t&&"number"==typeof t?t:1}class Ih extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let r="",i={},o=!1;if(e&&(i="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof t?r=t:!i.cause&&t&&(o=!0,r=t.message,i.cause=t),!i.ruleId&&!i.source&&"string"==typeof n){const t=n.indexOf(":");-1===t?i.ruleId=n:(i.source=n.slice(0,t),i.ruleId=n.slice(t+1))}if(!i.place&&i.ancestors&&i.ancestors){const t=i.ancestors[i.ancestors.length-1];t&&(i.place=t.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=kh(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ih.prototype.file="",Ih.prototype.name="",Ih.prototype.reason="",Ih.prototype.message="",Ih.prototype.stack="",Ih.prototype.column=void 0,Ih.prototype.line=void 0,Ih.prototype.ancestors=void 0,Ih.prototype.cause=void 0,Ih.prototype.fatal=void 0,Ih.prototype.place=void 0,Ih.prototype.ruleId=void 0,Ih.prototype.source=void 0;const vh={basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');yh(t);let n,r=0,i=-1,o=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let s=-1,a=e.length-1;for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(t.codePointAt(o)===e.codePointAt(a--)?a<0&&(i=o):(a=-1,i=s));r===i?i=s:i<0&&(i=t.length);return t.slice(r,i)},dirname:function(t){if(yh(t),0===t.length)return".";let e,n=-1,r=t.length;for(;--r;)if(47===t.codePointAt(r)){if(e){n=r;break}}else e||(e=!0);return n<0?47===t.codePointAt(0)?"/":".":1===n&&47===t.codePointAt(0)?"//":t.slice(0,n)},extname:function(t){yh(t);let e,n=t.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=t.codePointAt(n);if(47!==a)r<0&&(e=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(e){i=n+1;break}}if(o<0||r<0||0===s||1===s&&o===r-1&&o===i+1)return"";return t.slice(o,r)},join:function(...t){let e,n=-1;for(;++n<t.length;)yh(t[n]),t[n]&&(e=void 0===e?t[n]:e+"/"+t[n]);return void 0===e?".":function(t){yh(t);const e=47===t.codePointAt(0);let n=function(t,e){let n,r,i="",o=0,s=-1,a=0,c=-1;for(;++c<=t.length;){if(c<t.length)n=t.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(s===c-1||1===a);else if(s!==c-1&&2===a){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),s=c,a=0;continue}}else if(i.length>0){i="",o=0,s=c,a=0;continue}e&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+t.slice(s+1,c):i=t.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!e);0!==n.length||e||(n=".");n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/");return e?"/"+n:n}(e)},sep:"/"};function yh(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const Ah={cwd:function(){return"/"}};function Eh(t){return Boolean(null!==t&&"object"==typeof t&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&void 0===t.auth)}function xh(t){if("string"==typeof t)t=new URL(t);else if(!Eh(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){const t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}const e=t.pathname;let n=-1;for(;++n<e.length;)if(37===e.codePointAt(n)&&50===e.codePointAt(n+1)){const t=e.codePointAt(n+2);if(70===t||102===t){const t=new TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}const Th=["history","path","basename","stem","extname","dirname"];class Ch{constructor(t){let e;e=t?Eh(t)?{path:t}:"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd="cwd"in e?"":Ah.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<Th.length;){const t=Th[r];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(n in e)Th.includes(n)||(this[n]=e[n])}get basename(){return"string"==typeof this.path?vh.basename(this.path):void 0}set basename(t){Rh(t,"basename"),Sh(t,"basename"),this.path=vh.join(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?vh.dirname(this.path):void 0}set dirname(t){Oh(this.basename,"dirname"),this.path=vh.join(t||"",this.basename)}get extname(){return"string"==typeof this.path?vh.extname(this.path):void 0}set extname(t){if(Sh(t,"extname"),Oh(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=vh.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Eh(t)&&(t=xh(t)),Rh(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?vh.basename(this.path,this.extname):void 0}set stem(t){Rh(t,"stem"),Sh(t,"stem"),this.path=vh.join(this.dirname||"",t+(this.extname||""))}fail(t,e,n){const r=this.message(t,e,n);throw r.fatal=!0,r}info(t,e,n){const r=this.message(t,e,n);return r.fatal=void 0,r}message(t,e,n){const r=new Ih(t,e,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(t||void 0).decode(this.value)}}function Sh(t,e){if(t&&t.includes(vh.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+vh.sep+"`")}function Rh(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function Oh(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}const Nh=function(t){const e=this.constructor.prototype,n=e[t],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,e),r},Lh={}.hasOwnProperty;class Ph extends Nh{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=mh()}copy(){const t=new Ph;let e=-1;for(;++e<this.attachers.length;){const n=this.attachers[e];t.use(...n)}return t.data(fh(!0,{},this.namespace)),t}data(t,e){return"string"==typeof t?2===arguments.length?(Bh("data",this.frozen),this.namespace[t]=e,this):Lh.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Bh("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[e,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=e.call(t,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const e=qh(t),n=this.parser||this.Parser;return Dh("parse",n),n(String(e),e)}process(t,e){const n=this;return this.freeze(),Dh("process",this.parser||this.Parser),Hh("process",this.compiler||this.Compiler),e?r(void 0,e):new Promise(r);function r(r,i){const o=qh(t),s=n.parse(o);function a(t,n){t||!n?i(t):r?r(n):e(void 0,n)}n.run(s,o,function(t,e,r){if(t||!e||!r)return a(t);const i=e,o=n.stringify(i,r);var s;"string"==typeof(s=o)||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(s)?r.value=o:r.result=o,a(t,r)})}}processSync(t){let e,n=!1;return this.freeze(),Dh("processSync",this.parser||this.Parser),Hh("processSync",this.compiler||this.Compiler),this.process(t,function(t,r){n=!0,ph(t),e=r}),Vh("processSync","process",n),e}run(t,e,n){Uh(t),this.freeze();const r=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const s=qh(e);r.run(t,s,function(e,r,s){const a=r||t;e?o(e):i?i(a):n(void 0,a,s)})}}runSync(t,e){let n,r=!1;return this.run(t,e,function(t,e){ph(t),n=e,r=!0}),Vh("runSync","run",r),n}stringify(t,e){this.freeze();const n=qh(e),r=this.compiler||this.Compiler;return Hh("stringify",r),Uh(t),r(t,n)}use(t,...e){const n=this.attachers,r=this.namespace;if(Bh("use",this.frozen),null==t);else if("function"==typeof t)a(t,e);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");Array.isArray(t)?s(t):o(t)}return this;function i(t){if("function"==typeof t)a(t,[]);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");if(Array.isArray(t)){const[e,...n]=t;a(e,n)}else o(t)}}function o(t){if(!("plugins"in t)&&!("settings"in t))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(t.plugins),t.settings&&(r.settings=fh(!0,r.settings,t.settings))}function s(t){let e=-1;if(null==t);else{if(!Array.isArray(t))throw new TypeError("Expected a list of plugins, not `"+t+"`");for(;++e<t.length;){i(t[e])}}}function a(t,e){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===t){i=r;break}if(-1===i)n.push([t,...e]);else if(e.length>0){let[r,...o]=e;const s=n[i][1];gh(s)&&gh(r)&&(r=fh(!0,s,r)),n[i]=[t,r,...o]}}}}const Mh=(new Ph).freeze();function Dh(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `parser`")}function Hh(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `compiler`")}function Bh(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Uh(t){if(!gh(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function Vh(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function qh(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new Ch(t)}function Fh(t,e){const n=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;-1!==i;)r++,i=n.indexOf(e,i+e.length);return r}const zh=ed(/[A-Za-z]/),Gh=ed(/[\dA-Za-z]/),jh=ed(/[#-'*+\--9=?A-Z^-~]/);function Wh(t){return null!==t&&(t<32||127===t)}const Yh=ed(/\d/),Kh=ed(/[\dA-Fa-f]/),$h=ed(/[!-/:-@[-`{-~]/);function Qh(t){return null!==t&&t<-2}function Xh(t){return null!==t&&(t<0||32===t)}function Zh(t){return-2===t||-1===t||32===t}const Jh=ed(/\p{P}|\p{S}/u),td=ed(/\s/);function ed(t){return function(e){return null!==e&&e>-1&&t.test(String.fromCharCode(e))}}const nd=function(t){if(null==t)return id;if("function"==typeof t)return rd(t);if("object"==typeof t)return Array.isArray(t)?function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=nd(t[n]);return rd(r);function r(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}}(t):function(t){const e=t;return rd(n);function n(n){const r=n;let i;for(i in t)if(r[i]!==e[i])return!1;return!0}}(t);if("string"==typeof t)return function(t){return rd(e);function e(e){return e&&e.type===t}}(t);throw new Error("Expected function, string, or object as test")};function rd(t){return function(e,n,r){return Boolean(od(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function id(){return!0}function od(t){return null!==t&&"object"==typeof t&&"type"in t}const sd=[],ad=!0,cd=!1;function ld(t,e,n,r){let i;"function"==typeof e&&"function"!=typeof n?(r=n,n=e):i=e;const o=nd(i),s=r?-1:1;!function t(i,a,c){const l=i&&"object"==typeof i?i:{};if("string"==typeof l.type){const t="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(t?"<"+t+">":"")+")"})}return u;function u(){let l,u,h,d=sd;if((!e||o(i,a,c[c.length-1]||void 0))&&(d=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[ad,t];return null==t?sd:[t]}(n(i,c)),d[0]===cd))return d;if("children"in i&&i.children){const e=i;if(e.children&&"skip"!==d[0])for(u=(r?e.children.length:-1)+s,h=c.concat(e);u>-1&&u<e.children.length;){const n=e.children[u];if(l=t(n,u,h)(),l[0]===cd)return l;u="number"==typeof l[1]?l[1]:u+s}}return d}}(t,void 0,[])()}function ud(t,e,n){const r=nd((n||{}).ignore||[]),i=function(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let r=-1;for(;++r<n.length;){const t=n[r];e.push([hd(t[0]),dd(t[1])])}return e}(e);let o=-1;for(;++o<i.length;)ld(t,"text",s);function s(t,e){let n,s=-1;for(;++s<e.length;){const t=e[s],i=n?n.children:void 0;if(r(t,i?i.indexOf(t):void 0,n))return;n=t}if(n)return function(t,e){const n=e[e.length-1],r=i[o][0],s=i[o][1];let a=0;const c=n.children,l=c.indexOf(t);let u=!1,h=[];r.lastIndex=0;let d=r.exec(t.value);for(;d;){const n=d.index,i={index:d.index,input:d.input,stack:[...e,t]};let o=s(...d,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&h.push({type:"text",value:t.value.slice(a,n)}),Array.isArray(o)?h.push(...o):o&&h.push(o),a=n+d[0].length,u=!0),!r.global)break;d=r.exec(t.value)}u?(a<t.value.length&&h.push({type:"text",value:t.value.slice(a)}),n.children.splice(l,1,...h)):h=[t];return l+h.length}(t,e)}}function hd(t){return"string"==typeof t?new RegExp(function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(t),"g"):t}function dd(t){return"function"==typeof t?t:function(){return t}}const pd="phrasing",fd=["autolink","link","image","label"];function gd(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function md(t){this.config.enter.autolinkProtocol.call(this,t)}function kd(t){this.config.exit.autolinkProtocol.call(this,t)}function _d(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function bd(t){this.config.exit.autolinkEmail.call(this,t)}function wd(t){this.exit(t)}function Id(t){ud(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,vd],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,yd]],{ignore:["link","linkReference"]})}function vd(t,e,n,r,i){let o="";if(!Ad(i))return!1;if(/^w/i.test(e)&&(n=e+n,e="",o="http://"),!function(t){const e=t.split(".");if(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))return!1;return!0}(n))return!1;const s=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")");const i=Fh(t,"(");let o=Fh(t,")");for(;-1!==r&&i>o;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[t,n]}(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function yd(t,e,n,r){return!(!Ad(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function Ad(t,e){const n=t.input.charCodeAt(t.index-1);return(0===t.index||td(n)||Jh(n))&&(!e||47!==n)}function Ed(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function xd(){this.buffer()}function Td(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function Cd(){this.buffer()}function Sd(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Rd(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ed(this.sliceSerialize(t)).toLowerCase(),n.label=e}function Od(t){this.exit(t)}function Nd(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ed(this.sliceSerialize(t)).toLowerCase(),n.label=e}function Ld(t){this.exit(t)}function Pd(t,e,n,r){const i=n.createTracker(r);let o=i.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(t),{after:"]",before:o})),a(),s(),o+=i.move("]"),o}function Md(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:function(t,n,r,i){const o=r.createTracker(i);let s=o.move("[^");const a=r.enter("footnoteDefinition"),c=r.enter("label");s+=o.move(r.safe(r.associationId(t),{before:s,after:"]"})),c(),s+=o.move("]:"),t.children&&t.children.length>0&&(o.shift(4),s+=o.move((e?"\n":" ")+r.indentLines(r.containerFlow(t,o.current()),e?Hd:Dd)));return a(),s},footnoteReference:Pd},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Dd(t,e,n){return 0===e?t:Hd(t,e,n)}function Hd(t,e,n){return(n?"":" ")+t}Pd.peek=function(){return"["};const Bd=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Ud(t){this.enter({type:"delete",children:[]},t)}function Vd(t){this.exit(t)}function qd(t,e,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let s=i.move("~~");return s+=n.containerPhrasing(t,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),o(),s}function Fd(t){return t.length}function zd(t){return null==t?"":String(t)}function Gd(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}function jd(t,e,n){return">"+(n?"":" ")+t}function Wd(t,e){return Yd(t,e.inConstruct,!0)&&!Yd(t,e.notInConstruct,!1)}function Yd(t,e,n){if("string"==typeof e&&(e=[e]),!e||0===e.length)return n;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function Kd(t,e,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&Wd(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function $d(t,e,n){return(n?"":" ")+t}function Qd(t){const e=t.options.quote||'"';if('"'!==e&&"'"!==e)throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function Xd(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Zd(t){return null===t||Xh(t)||td(t)?1:Jh(t)?2:void 0}function Jd(t,e,n){const r=Zd(t),i=Zd(e);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function tp(t,e,n,r){const i=function(t){const e=t.options.emphasis||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}(n),o=n.enter("emphasis"),s=n.createTracker(r),a=s.move(i);let c=s.move(n.containerPhrasing(t,{after:i,before:a,...s.current()}));const l=c.charCodeAt(0),u=Jd(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Xd(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=Jd(r.after.charCodeAt(0),h,i);d.inside&&(c=c.slice(0,-1)+Xd(h));const p=s.move(i);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}function ep(t,e,n,r){let i,o,s;"function"==typeof e&&"function"!=typeof n?(o=void 0,s=e,i=n):(o=e,s=n,i=r),ld(t,o,function(t,e){const n=e[e.length-1],r=n?n.children.indexOf(t):void 0;return s(t,r,n)},i)}qd.peek=function(){return"~"},tp.peek=function(t,e,n){return n.options.emphasis||"*"};const np={};function rp(t,e){const n=e||np;return ip(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function ip(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return op(t.children,e,n)}return Array.isArray(t)?op(t,e,n):""}function op(t,e,n){const r=[];let i=-1;for(;++i<t.length;)r[i]=ip(t[i],e,n);return r.join("")}function sp(t){return t.value||""}function ap(t,e,n,r){const i=Qd(n),o='"'===i?"Quote":"Apostrophe",s=n.enter("image");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("![");return l+=c.move(n.safe(t.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(t.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(t.url,{before:l,after:t.title?" ":")",...c.current()}))),a(),t.title&&(a=n.enter(`title${o}`),l+=c.move(" "+i),l+=c.move(n.safe(t.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),l+=c.move(")"),s(),l}function cp(t,e,n,r){const i=t.referenceType,o=n.enter("imageReference");let s=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(t.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),s();const u=n.stack;n.stack=[],s=n.enter("reference");const h=n.safe(n.associationId(t),{before:c,after:"]",...a.current()});return s(),n.stack=u,o(),"full"!==i&&l&&l===h?"shortcut"===i?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function lp(t,e,n){let r=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const t=n.unsafe[o],e=n.compilePattern(t);let i;if(t.atBreak)for(;i=e.exec(r);){let t=i.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(i.index+1)}}return i+r+i}function up(t,e){const n=rp(t);return Boolean(!e.options.resourceLink&&t.url&&!t.title&&t.children&&1===t.children.length&&"text"===t.children[0].type&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}function hp(t,e,n,r){const i=Qd(n),o='"'===i?"Quote":"Apostrophe",s=n.createTracker(r);let a,c;if(up(t,n)){const e=n.stack;n.stack=[],a=n.enter("autolink");let r=s.move("<");return r+=s.move(n.containerPhrasing(t,{before:r,after:">",...s.current()})),r+=s.move(">"),a(),n.stack=e,r}a=n.enter("link"),c=n.enter("label");let l=s.move("[");return l+=s.move(n.containerPhrasing(t,{before:l,after:"](",...s.current()})),l+=s.move("]("),c(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(c=n.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(n.safe(t.url,{before:l,after:">",...s.current()})),l+=s.move(">")):(c=n.enter("destinationRaw"),l+=s.move(n.safe(t.url,{before:l,after:t.title?" ":")",...s.current()}))),c(),t.title&&(c=n.enter(`title${o}`),l+=s.move(" "+i),l+=s.move(n.safe(t.title,{before:l,after:i,...s.current()})),l+=s.move(i),c()),l+=s.move(")"),a(),l}function dp(t,e,n,r){const i=t.referenceType,o=n.enter("linkReference");let s=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(t,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),s();const u=n.stack;n.stack=[],s=n.enter("reference");const h=n.safe(n.associationId(t),{before:c,after:"]",...a.current()});return s(),n.stack=u,o(),"full"!==i&&l&&l===h?"shortcut"===i?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function pp(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function fp(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}sp.peek=function(){return"<"},ap.peek=function(){return"!"},cp.peek=function(){return"!"},lp.peek=function(){return"`"},hp.peek=function(t,e,n){return up(t,n)?"<":"["},dp.peek=function(){return"["};const gp=nd(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mp(t,e,n,r){const i=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(n),o=n.enter("strong"),s=n.createTracker(r),a=s.move(i+i);let c=s.move(n.containerPhrasing(t,{after:i,before:a,...s.current()}));const l=c.charCodeAt(0),u=Jd(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Xd(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=Jd(r.after.charCodeAt(0),h,i);d.inside&&(c=c.slice(0,-1)+Xd(h));const p=s.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}mp.peek=function(t,e,n){return n.options.strong||"*"};const kp={blockquote:function(t,e,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const s=n.indentLines(n.containerFlow(t,o.current()),jd);return i(),s},break:Kd,code:function(t,e,n,r){const i=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(n),o=t.value||"",s="`"===i?"GraveAccent":"Tilde";if(function(t,e){return Boolean(!1===e.options.fences&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}(t,n)){const t=n.enter("codeIndented"),e=n.indentLines(o,$d);return t(),e}const a=n.createTracker(r),c=i.repeat(Math.max(function(t,e){const n=String(t);let r=n.indexOf(e),i=r,o=0,s=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>s&&(s=o):o=1,i=r+e.length,r=n.indexOf(e,i);return s}(o,i)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(t.lang){const e=n.enter(`codeFencedLang${s}`);u+=a.move(n.safe(t.lang,{before:u,after:" ",encode:["`"],...a.current()})),e()}if(t.lang&&t.meta){const e=n.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(n.safe(t.meta,{before:u,after:"\n",encode:["`"],...a.current()})),e()}return u+=a.move("\n"),o&&(u+=a.move(o+"\n")),u+=a.move(c),l(),u},definition:function(t,e,n,r){const i=Qd(n),o='"'===i?"Quote":"Apostrophe",s=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(t),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(t.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(t.url,{before:l,after:t.title?" ":"\n",...c.current()}))),a(),t.title&&(a=n.enter(`title${o}`),l+=c.move(" "+i),l+=c.move(n.safe(t.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),s(),l},emphasis:tp,hardBreak:Kd,heading:function(t,e,n,r){const i=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(r);if(function(t,e){let n=!1;return ep(t,function(t){if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return n=!0,cd}),Boolean((!t.depth||t.depth<3)&&rp(t)&&(e.options.setext||n))}(t,n)){const e=n.enter("headingSetext"),r=n.enter("phrasing"),s=n.containerPhrasing(t,{...o.current(),before:"\n",after:"\n"});return r(),e(),s+"\n"+(1===i?"=":"-").repeat(s.length-(Math.max(s.lastIndexOf("\r"),s.lastIndexOf("\n"))+1))}const s="#".repeat(i),a=n.enter("headingAtx"),c=n.enter("phrasing");o.move(s+" ");let l=n.containerPhrasing(t,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(l)&&(l=Xd(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,n.options.closeAtx&&(l+=" "+s),c(),a(),l},html:sp,image:ap,imageReference:cp,inlineCode:lp,link:hp,linkReference:dp,list:function(t,e,n,r){const i=n.enter("list"),o=n.bulletCurrent;let s=t.ordered?function(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}(n):pp(n);const a=t.ordered?"."===s?")":".":function(t){const e=pp(t),n=t.options.bulletOther;if(!n)return"*"===e?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!e||!n.bulletLastUsed)&&s===n.bulletLastUsed;if(!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==s&&"-"!==s||!e||e.children&&e.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),fp(n)===s&&e){let e=-1;for(;++e<t.children.length;){const n=t.children[e];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){c=!0;break}}}}c&&(s=a),n.bulletCurrent=s;const l=n.containerFlow(t,r);return n.bulletLastUsed=s,n.bulletCurrent=o,i(),l},listItem:function(t,e,n,r){const i=function(t){const e=t.options.listItemIndent||"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(n);let o=n.bulletCurrent||pp(n);e&&"list"===e.type&&e.ordered&&(o=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===n.options.incrementListMarker?0:e.children.indexOf(t))+o);let s=o.length+1;("tab"===i||"mixed"===i&&(e&&"list"===e.type&&e.spread||t.spread))&&(s=4*Math.ceil(s/4));const a=n.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(t,a.current()),function(t,e,n){if(e)return(n?"":" ".repeat(s))+t;return(n?o:o+" ".repeat(s-o.length))+t});return c(),l},paragraph:function(t,e,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(t,r);return o(),i(),s},root:function(t,e,n,r){const i=t.children.some(function(t){return gp(t)});return(i?n.containerPhrasing:n.containerFlow).call(n,t,r)},strong:mp,text:function(t,e,n,r){return n.safe(t.value,r)},thematicBreak:function(t,e,n){const r=(fp(n)+(n.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function _p(t){const e=t._align;this.enter({type:"table",align:e.map(function(t){return"none"===t?null:t}),children:[]},t),this.data.inTable=!0}function bp(t){this.exit(t),this.data.inTable=void 0}function wp(t){this.enter({type:"tableRow",children:[]},t)}function Ip(t){this.exit(t)}function vp(t){this.enter({type:"tableCell",children:[]},t)}function yp(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Ap));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Ap(t,e){return"|"===e?e:t}function Ep(t){const e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(t,e,n){let r=kp.inlineCode(t,e,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(t,e,n,r){return a(function(t,e,n){const r=t.children;let i=-1;const o=[],s=e.enter("table");for(;++i<r.length;)o[i]=c(r[i],e,n);return s(),o}(t,n,r),t.align)},tableCell:s,tableRow:function(t,e,n,r){const i=c(t,n,r),o=a([i]);return o.slice(0,o.indexOf("\n"))}}};function s(t,e,n,r){const i=n.enter("tableCell"),s=n.enter("phrasing"),a=n.containerPhrasing(t,{...r,before:o,after:o});return s(),i(),a}function a(t,e){return function(t,e){const n=e||{},r=(n.align||[]).concat(),i=n.stringLength||Fd,o=[],s=[],a=[],c=[];let l=0,u=-1;for(;++u<t.length;){const e=[],r=[];let o=-1;for(t[u].length>l&&(l=t[u].length);++o<t[u].length;){const s=zd(t[u][o]);if(!1!==n.alignDelimiters){const t=i(s);r[o]=t,(void 0===c[o]||t>c[o])&&(c[o]=t)}e.push(s)}s[u]=e,a[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++h<l;)o[h]=Gd(r[h]);else{const t=Gd(r);for(;++h<l;)o[h]=t}h=-1;const d=[],p=[];for(;++h<l;){const t=o[h];let e="",r="";99===t?(e=":",r=":"):108===t?e=":":114===t&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,c[h]-e.length-r.length);const s=e+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=e.length+i+r.length,i>c[h]&&(c[h]=i),p[h]=i),d[h]=s}s.splice(1,0,d),a.splice(1,0,p),u=-1;const f=[];for(;++u<s.length;){const t=s[u],e=a[u];h=-1;const r=[];for(;++h<l;){const i=t[h]||"";let s="",a="";if(!1!==n.alignDelimiters){const t=c[h]-(e[h]||0),n=o[h];114===n?s=" ".repeat(t):99===n?t%2?(s=" ".repeat(t/2+.5),a=" ".repeat(t/2-.5)):(s=" ".repeat(t/2),a=s):a=" ".repeat(t)}!1===n.delimiterStart||h||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===i||!1===n.delimiterStart&&!h||r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(i),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&h===l-1||r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(t,{align:e,alignDelimiters:r,padding:n,stringLength:i})}function c(t,e,n){const r=t.children;let i=-1;const o=[],a=e.enter("tableRow");for(;++i<r.length;)o[i]=s(r[i],0,e,n);return a(),o}}function xp(t){const e=this.stack[this.stack.length-2];e.type,e.checked="taskListCheckValueChecked"===t.type}function Tp(t){const e=this.stack[this.stack.length-2];if(e&&"listItem"===e.type&&"boolean"==typeof e.checked){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&"text"===n.type){const r=e.children;let i,o=-1;for(;++o<r.length;){const t=r[o];if("paragraph"===t.type){i=t;break}}i===t&&(n.value=n.value.slice(1),0===n.value.length?t.children.shift():t.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function Cp(t,e,n,r){const i=t.children[0],o="boolean"==typeof t.checked&&i&&"paragraph"===i.type,s="["+(t.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(s);let c=kp.listItem(t,e,n,{...r,...a.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+s})),c}function Sp(t,e,n,r){const i=t.length;let o,s=0;if(e=e<0?-e>i?0:i+e:e>i?i:e,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(e,0),t.splice(...o),s+=1e4,e+=1e4}function Rp(t,e){return t.length>0?(Sp(t,t.length,0,e),t):e}const Op={}.hasOwnProperty;function Np(t){const e={};let n=-1;for(;++n<t.length;)Lp(e,t[n]);return e}function Lp(t,e){let n;for(n in e){const r=(Op.call(t,n)?t[n]:void 0)||(t[n]={}),i=e[n];let o;if(i)for(o in i){Op.call(r,o)||(r[o]=[]);const t=i[o];Pp(r[o],Array.isArray(t)?t:t?[t]:[])}}}function Pp(t,e){let n=-1;const r=[];for(;++n<e.length;)("after"===e[n].add?t:r).push(e[n]);Sp(t,0,0,r)}const Mp={tokenize:function(t,e,n){let r=0;return function e(o){if((87===o||119===o)&&r<3)return r++,t.consume(o),e;if(46===o&&3===r)return t.consume(o),i;return n(o)};function i(t){return null===t?n(t):e(t)}},partial:!0},Dp={tokenize:function(t,e,n){let r,i,o;return s;function s(e){return 46===e||95===e?t.check(Bp,c,a)(e):null===e||Xh(e)||td(e)||45!==e&&Jh(e)?c(e):(o=!0,t.consume(e),s)}function a(e){return 95===e?r=!0:(i=r,r=void 0),t.consume(e),s}function c(t){return i||r||!o?n(t):e(t)}},partial:!0},Hp={tokenize:function(t,e){let n=0,r=0;return i;function i(s){return 40===s?(n++,t.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?t.check(Bp,e,o)(s):null===s||Xh(s)||td(s)?e(s):(t.consume(s),i)}function o(e){return 41===e&&r++,t.consume(e),i}},partial:!0},Bp={tokenize:function(t,e,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(t.consume(s),r):38===s?(t.consume(s),o):93===s?(t.consume(s),i):60===s||null===s||Xh(s)||td(s)?e(s):n(s)}function i(t){return null===t||40===t||91===t||Xh(t)||td(t)?e(t):r(t)}function o(t){return zh(t)?s(t):n(t)}function s(e){return 59===e?(t.consume(e),r):zh(e)?(t.consume(e),s):n(e)}},partial:!0},Up={tokenize:function(t,e,n){return function(e){return t.consume(e),r};function r(t){return Gh(t)?n(t):e(t)}},partial:!0},Vp={name:"wwwAutolink",tokenize:function(t,e,n){const r=this;return function(e){if(87!==e&&119!==e||!jp.call(r,r.previous)||$p(r.events))return n(e);return t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Mp,t.attempt(Dp,t.attempt(Hp,i),n),n)(e)};function i(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(n)}},previous:jp},qp={name:"protocolAutolink",tokenize:function(t,e,n){const r=this;let i="",o=!1;return function(e){if((72===e||104===e)&&Wp.call(r,r.previous)&&!$p(r.events))return t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(e),t.consume(e),s;return n(e)};function s(e){if(zh(e)&&i.length<5)return i+=String.fromCodePoint(e),t.consume(e),s;if(58===e){const n=i.toLowerCase();if("http"===n||"https"===n)return t.consume(e),a}return n(e)}function a(e){return 47===e?(t.consume(e),o?c:(o=!0,a)):n(e)}function c(e){return null===e||Wh(e)||Xh(e)||td(e)||Jh(e)?n(e):t.attempt(Dp,t.attempt(Hp,l),n)(e)}function l(n){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(n)}},previous:Wp},Fp={name:"emailAutolink",tokenize:function(t,e,n){const r=this;let i,o;return function(e){if(!Kp(e)||!Yp.call(r,r.previous)||$p(r.events))return n(e);return t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(e)};function s(e){return Kp(e)?(t.consume(e),s):64===e?(t.consume(e),a):n(e)}function a(e){return 46===e?t.check(Up,l,c)(e):45===e||95===e||Gh(e)?(o=!0,t.consume(e),a):l(e)}function c(e){return t.consume(e),i=!0,a}function l(s){return o&&i&&zh(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(s)):n(s)}},previous:Yp},zp={};let Gp=48;for(;Gp<123;)zp[Gp]=Fp,Gp++,58===Gp?Gp=65:91===Gp&&(Gp=97);function jp(t){return null===t||40===t||42===t||95===t||91===t||93===t||126===t||Xh(t)}function Wp(t){return!zh(t)}function Yp(t){return!(47===t||Kp(t))}function Kp(t){return 43===t||45===t||46===t||95===t||Gh(t)}function $p(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Qp(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(Zh(r))return t.enter(n),s(r);return e(r)};function s(r){return Zh(r)&&o++<i?(t.consume(r),s):(t.exit(n),e(r))}}zp[43]=Fp,zp[45]=Fp,zp[46]=Fp,zp[95]=Fp,zp[72]=[Fp,qp],zp[104]=[Fp,qp],zp[87]=[Fp,Vp],zp[119]=[Fp,Vp];const Xp={partial:!0,tokenize:function(t,e,n){return function(e){return Zh(e)?Qp(t,r,"linePrefix")(e):r(e)};function r(t){return null===t||Qh(t)?e(t):n(t)}}};const Zp={tokenize:function(t,e,n){const r=this;return Qp(t,function(t){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?e(t):n(t)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Jp(t,e,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const t=r.events[i][1];if("labelImage"===t.type){s=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(i){if(!s||!s._balanced)return n(i);const a=Ed(r.sliceSerialize({start:s.end,end:r.now()}));if(94!==a.codePointAt(0)||!o.includes(a.slice(1)))return n(i);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(i),t.exit("gfmFootnoteCallLabelMarker"),e(i)}}function tf(t,e){let n,r=t.length;for(;r--;)if("labelImage"===t[r][1].type&&"enter"===t[r][0]){n=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[t[r+1],t[r+2],["enter",i,e],t[r+3],t[r+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(r,t.length-r+1,...c),t}function ef(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),a};function a(e){return 94!==e?n(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(a){if(s>999||93===a&&!o||null===a||91===a||Xh(a))return n(a);if(93===a){t.exit("chunkString");const o=t.exit("gfmFootnoteCallString");return i.includes(Ed(r.sliceSerialize(o)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(a)}return Xh(a)||(o=!0),s++,t.consume(a),92===a?l:c}function l(e){return 91===e||92===e||93===e?(t.consume(e),s++,c):c(e)}}function nf(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s,a=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",l):n(e)}function l(e){if(a>999||93===e&&!s||null===e||91===e||Xh(e))return n(e);if(93===e){t.exit("chunkString");const n=t.exit("gfmFootnoteDefinitionLabelString");return o=Ed(r.sliceSerialize(n)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return Xh(e)||(s=!0),a++,t.consume(e),92===e?u:l}function u(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),i.includes(o)||i.push(o),Qp(t,d,"gfmFootnoteDefinitionWhitespace")):n(e)}function d(t){return e(t)}}function rf(t,e,n){return t.check(Xp,e,t.attempt(Zp,e,n))}function of(t){t.exit("gfmFootnoteDefinition")}function sf(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const o=t[i].resolveAll;o&&!r.includes(o)&&(e=o(e,n),r.push(o))}return e}function af(t){let e=(t||{}).singleTilde;const n={name:"strikethrough",tokenize:function(t,n,r){const i=this.previous,o=this.events;let s=0;return function(e){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(e);return t.enter("strikethroughSequenceTemporary"),a(e)};function a(o){const c=Zd(i);if(126===o)return s>1?r(o):(t.consume(o),s++,a);if(s<2&&!e)return r(o);const l=t.exit("strikethroughSequenceTemporary"),u=Zd(o);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(o)}},resolveAll:function(t,e){let n=-1;for(;++n<t.length;)if("enter"===t[n][0]&&"strikethroughSequenceTemporary"===t[n][1].type&&t[n][1]._close){let r=n;for(;r--;)if("exit"===t[r][0]&&"strikethroughSequenceTemporary"===t[r][1].type&&t[r][1]._open&&t[n][1].end.offset-t[n][1].start.offset===t[r][1].end.offset-t[r][1].start.offset){t[n][1].type="strikethroughSequence",t[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},t[r][1].start),end:Object.assign({},t[n][1].end)},o={type:"strikethroughText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},s=[["enter",i,e],["enter",t[r][1],e],["exit",t[r][1],e],["enter",o,e]],a=e.parser.constructs.insideSpan.null;a&&Sp(s,s.length,0,sf(a,t.slice(r+1,n),e)),Sp(s,s.length,0,[["exit",o,e],["enter",t[n][1],e],["exit",t[n][1],e],["exit",i,e]]),Sp(t,r-1,n-r+3,s),n=r+s.length-2;break}}n=-1;for(;++n<t.length;)"strikethroughSequenceTemporary"===t[n][1].type&&(t[n][1].type="data");return t}};return null==e&&(e=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class cf{constructor(){this.map=[]}add(t,e,n){!function(t,e,n,r){let i=0;if(0===n&&0===r.length)return;for(;i<t.map.length;){if(t.map[i][0]===e)return t.map[i][1]+=n,void t.map[i][2].push(...r);i+=1}t.map.push([e,n,r])}(this,t,e,n)}consume(t){if(this.map.sort(function(t,e){return t[0]-e[0]}),0===this.map.length)return;let e=this.map.length;const n=[];for(;e>0;)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push(t.slice()),t.length=0;let r=n.pop();for(;r;){for(const e of r)t.push(e);r=n.pop()}this.map.length=0}}function lf(t,e){let n=!1;const r=[];for(;e<t.length;){const i=t[e];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===t[e+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===t[e-1][1].type){const t=r.length-1;r[t]="left"===r[t]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);e+=1}return r}function uf(t,e,n){const r=this;let i,o=0,s=0;return function(t){let e=r.events.length-1;for(;e>-1;){const t=r.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const i=e>-1?r.events[e][1].type:null,o="tableHead"===i||"tableRow"===i?w:a;if(o===w&&r.parser.lazy[r.now().line])return n(t);return o(t)};function a(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){if(124===t)return c(t);return i=!0,s+=1,c(t)}(e)}function c(e){return null===e?n(e):Qh(e)?s>1?(s=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):n(e):Zh(e)?Qp(t,c,"whitespace")(e):(s+=1,i&&(i=!1,o+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),i=!0,c):(t.enter("data"),l(e)))}function l(e){return null===e||124===e||Xh(e)?(t.exit("data"),c(e)):(t.consume(e),92===e?u:l)}function u(e){return 92===e||124===e?(t.consume(e),l):l(e)}function h(e){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(e):(t.enter("tableDelimiterRow"),i=!1,Zh(e)?Qp(t,d,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):d(e))}function d(e){return 45===e||58===e?f(e):124===e?(i=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),p):b(e)}function p(e){return Zh(e)?Qp(t,f,"whitespace")(e):f(e)}function f(e){return 58===e?(s+=1,i=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),g):45===e?(s+=1,g(e)):null===e||Qh(e)?_(e):b(e)}function g(e){return 45===e?(t.enter("tableDelimiterFiller"),m(e)):b(e)}function m(e){return 45===e?(t.consume(e),m):58===e?(i=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),k):(t.exit("tableDelimiterFiller"),k(e))}function k(e){return Zh(e)?Qp(t,_,"whitespace")(e):_(e)}function _(n){return 124===n?d(n):(null===n||Qh(n))&&i&&o===s?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(n)):b(n)}function b(t){return n(t)}function w(e){return t.enter("tableRow"),I(e)}function I(n){return 124===n?(t.enter("tableCellDivider"),t.consume(n),t.exit("tableCellDivider"),I):null===n||Qh(n)?(t.exit("tableRow"),e(n)):Zh(n)?Qp(t,I,"whitespace")(n):(t.enter("data"),v(n))}function v(e){return null===e||124===e||Xh(e)?(t.exit("data"),I(e)):(t.consume(e),92===e?y:v)}function y(e){return 92===e||124===e?(t.consume(e),v):v(e)}}function hf(t,e){let n,r,i,o=-1,s=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const d=new cf;for(;++o<t.length;){const p=t[o],f=p[1];"enter"===p[0]?"tableHead"===f.type?(u=!1,0!==h&&(pf(d,e,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(o,0,[["enter",n,e]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(s=!0,i=void 0,c=[0,0,0,0],l=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(o,0,[["enter",r,e]])),a="tableDelimiterRow"===f.type?2:r?3:1):!a||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(s?s=!1:(0!==c[1]&&(l[0]=l[1],i=df(d,e,c,a,void 0,i)),c=l,l=[c[1],o,0,0])):(s=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],i=df(d,e,c,a,void 0,i),c=[0,0,0,0]),l[2]=o)):"tableHead"===f.type?(u=!0,h=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(h=o,0!==c[1]?(l[0]=l[1],i=df(d,e,c,a,o,i)):0!==l[1]&&(i=df(d,e,l,a,o,i)),a=0):!a||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(l[3]=o)}for(0!==h&&pf(d,e,h,n,r),d.consume(e.events),o=-1;++o<e.events.length;){const t=e.events[o];"enter"===t[0]&&"table"===t[1].type&&(t[1]._align=lf(e.events,o))}return t}function df(t,e,n,r,i,o){const s=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},ff(e.events,n[0])),t.add(n[0],0,[["exit",o,e]]));const a=ff(e.events,n[1]);if(o={type:s,start:Object.assign({},a),end:Object.assign({},a)},t.add(n[1],0,[["enter",o,e]]),0!==n[2]){const i=ff(e.events,n[2]),o=ff(e.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(t.add(n[2],0,[["enter",s,e]]),2!==r){const r=e.events[n[2]],i=e.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const e=n[2]+1,r=n[3]-n[2]-1;t.add(e,r,[])}}t.add(n[3]+1,0,[["exit",s,e]])}return void 0!==i&&(o.end=Object.assign({},ff(e.events,i)),t.add(i,0,[["exit",o,e]]),o=void 0),o}function pf(t,e,n,r,i){const o=[],s=ff(e.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,e])),r.end=Object.assign({},s),o.push(["exit",r,e]),t.add(n+1,0,o)}function ff(t,e){const n=t[e],r="enter"===n[0]?"start":"end";return n[1][r]}const gf={name:"tasklistCheck",tokenize:function(t,e,n){const r=this;return function(e){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(e);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),i};function i(e){return Xh(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),o):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),o):n(e)}function o(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):n(e)}function s(r){return Qh(r)?e(r):Zh(r)?t.check({tokenize:mf},e,n)(r):n(r)}}};function mf(t,e,n){return Qp(t,function(t){return null===t?n(t):e(t)},"whitespace")}const kf={};function _f(t){const e=t||kf,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(t){return Np([{text:zp},{document:{91:{name:"gfmFootnoteDefinition",tokenize:nf,continuation:{tokenize:rf},exit:of}},text:{91:{name:"gfmFootnoteCall",tokenize:ef},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Jp,resolveTo:tf}}},af(t),{flow:{null:{name:"table",tokenize:uf,resolveAll:hf}}},{text:{91:gf}}])}(e)),i.push([{transforms:[Id],enter:{literalAutolink:gd,literalAutolinkEmail:md,literalAutolinkHttp:md,literalAutolinkWww:md},exit:{literalAutolink:wd,literalAutolinkEmail:bd,literalAutolinkHttp:kd,literalAutolinkWww:_d}},{enter:{gfmFootnoteCallString:xd,gfmFootnoteCall:Td,gfmFootnoteDefinitionLabelString:Cd,gfmFootnoteDefinition:Sd},exit:{gfmFootnoteCallString:Rd,gfmFootnoteCall:Od,gfmFootnoteDefinitionLabelString:Nd,gfmFootnoteDefinition:Ld}},{canContainEols:["delete"],enter:{strikethrough:Ud},exit:{strikethrough:Vd}},{enter:{table:_p,tableData:vp,tableHeader:vp,tableRow:wp},exit:{codeText:yp,table:bp,tableData:Ip,tableHeader:Ip,tableRow:Ip}},{exit:{taskListCheckValueChecked:xp,taskListCheckValueUnchecked:xp,paragraph:Tp}}]),o.push(function(t){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:pd,notInConstruct:fd},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:pd,notInConstruct:fd},{character:":",before:"[ps]",after:"\\/",inConstruct:pd,notInConstruct:fd}]},Md(t),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Bd}],handlers:{delete:qd}},Ep(t),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Cp}}]}}(e))}class bf{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,e){const n=null==e?Number.POSITIVE_INFINITY:e;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,e,n){const r=e||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&wf(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),wf(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),wf(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&0===this.right.length||t<0&&0===this.left.length))if(t<this.left.length){const e=this.left.splice(t,Number.POSITIVE_INFINITY);wf(this.right,e.reverse())}else{const e=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);wf(this.left,e.reverse())}}}function wf(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function If(t){const e={};let n,r,i,o,s,a,c,l=-1;const u=new bf(t);for(;++l<u.length;){for(;l in e;)l=e[l];if(n=u.get(l),l&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(l-1)[1].type&&(a=n[1]._tokenizer.events,i=0,i<a.length&&"lineEndingBlank"===a[i][1].type&&(i+=2),i<a.length&&"content"===a[i][1].type))for(;++i<a.length&&"content"!==a[i][1].type;)"chunkText"===a[i][1].type&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,vf(u,l)),l=e[l],c=!0);else if(n[1]._container){for(i=l,r=void 0;i--;)if(o=u.get(i),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if("linePrefix"!==o[1].type&&"listItemIndent"!==o[1].type)break;r&&(n[1].end={...u.get(r)[1].start},s=u.slice(r,l),s.unshift(n),u.splice(r,l-r+1,s))}}return Sp(t,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function vf(t,e){const n=t.get(e)[1],r=t.get(e)[2];let i=e-1;const o=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,c=[],l={};let u,h,d=-1,p=n,f=0,g=0;const m=[g];for(;p;){for(;t.get(++i)[1]!==p;);o.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),h&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(g=d+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),d=m.length;d--;){const e=a.slice(m[d],m[d+1]),n=o.pop();c.push([n,n+e.length-1]),t.splice(n,2,e)}for(c.reverse(),d=-1;++d<c.length;)l[f+c[d][0]]=f+c[d][1],f+=c[d][1]-c[d][0]-1;return l}const yf={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void t.consume(n);return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Qp(t,e,"linePrefix")},function(e){return t.enter("paragraph"),r(e)});let n;return e;function r(e){const r=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(e)}function i(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):Qh(e)?(t.consume(e),t.exit("chunkText"),r):(t.consume(e),i)}}};const Af={tokenize:function(t){const e=this,n=[];let r,i,o,s=0;return a;function a(r){if(s<n.length){const i=n[s];return e.containerState=i[1],t.attempt(i[0].continuation,c,l)(r)}return l(r)}function c(t){if(s++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&_();const n=e.events.length;let i,o=n;for(;o--;)if("exit"===e.events[o][0]&&"chunkFlow"===e.events[o][1].type){i=e.events[o][1].end;break}k(s);let a=n;for(;a<e.events.length;)e.events[a][1].end={...i},a++;return Sp(e.events,o+1,0,e.events.slice(n)),e.events.length=a,l(t)}return a(t)}function l(i){if(s===n.length){if(!r)return d(i);if(r.currentConstruct&&r.currentConstruct.concrete)return f(i);e.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Ef,u,h)(i)}function u(t){return r&&_(),k(s),d(t)}function h(t){return e.parser.lazy[e.now().line]=s!==n.length,o=e.now().offset,f(t)}function d(n){return e.containerState={},t.attempt(Ef,p,f)(n)}function p(t){return s++,n.push([e.currentConstruct,e.containerState]),d(t)}function f(n){return null===n?(r&&_(),k(0),void t.consume(n)):(r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),g(n))}function g(n){return null===n?(m(t.exit("chunkFlow"),!0),k(0),void t.consume(n)):Qh(n)?(t.consume(n),m(t.exit("chunkFlow")),s=0,e.interrupt=void 0,a):(t.consume(n),g)}function m(t,n){const a=e.sliceStream(t);if(n&&a.push(null),t.previous=i,i&&(i.next=t),i=t,r.defineSkip(t.start),r.write(a),e.parser.lazy[t.start.line]){let t=r.events.length;for(;t--;)if(r.events[t][1].start.offset<o&&(!r.events[t][1].end||r.events[t][1].end.offset>o))return;const n=e.events.length;let i,a,c=n;for(;c--;)if("exit"===e.events[c][0]&&"chunkFlow"===e.events[c][1].type){if(i){a=e.events[c][1].end;break}i=!0}for(k(s),t=n;t<e.events.length;)e.events[t][1].end={...a},t++;Sp(e.events,c+1,0,e.events.slice(n)),e.events.length=t}}function k(r){let i=n.length;for(;i-- >r;){const r=n[i];e.containerState=r[1],r[0].exit.call(e,t)}n.length=r}function _(){r.write([null]),i=void 0,r=void 0,e.containerState._closeFlow=void 0}}},Ef={tokenize:function(t,e,n){return Qp(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const xf={resolve:function(t){return If(t),t},tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(e)};function r(e){return null===e?i(e):Qh(e)?t.check(Tf,o,i)(e):(t.consume(e),r)}function i(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function o(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Tf={partial:!0,tokenize:function(t,e,n){const r=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),Qp(t,i,"linePrefix")};function i(i){if(null===i||Qh(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}}};const Cf={tokenize:function(t){const e=this,n=t.attempt(Xp,function(r){if(null===r)return void t.consume(r);return t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n},t.attempt(this.parser.constructs.flowInitial,r,Qp(t,t.attempt(this.parser.constructs.flow,r,t.attempt(xf,r)),"linePrefix")));return n;function r(r){if(null!==r)return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(r)}}};const Sf={resolveAll:Lf()},Rf=Nf("string"),Of=Nf("text");function Nf(t){return{resolveAll:Lf("text"===t?Pf:void 0),tokenize:function(e){const n=this,r=this.parser.constructs[t],i=e.attempt(r,o,s);return o;function o(t){return c(t)?i(t):s(t)}function s(t){if(null!==t)return e.enter("data"),e.consume(t),a;e.consume(t)}function a(t){return c(t)?(e.exit("data"),i(t)):(e.consume(t),a)}function c(t){if(null===t)return!0;const e=r[t];let i=-1;if(e)for(;++i<e.length;){const t=e[i];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}}}}function Lf(t){return function(e,n){let r,i=-1;for(;++i<=e.length;)void 0===r?e[i]&&"data"===e[i][1].type&&(r=i,i++):e[i]&&"data"===e[i][1].type||(i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(e,n):e}}function Pf(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const r=t[n-1][1],i=e.sliceStream(r);let o,s=i.length,a=-1,c=0;for(;s--;){const t=i[s];if("string"==typeof t){for(a=t.length;32===t.charCodeAt(a-1);)c++,a--;if(a)break;a=-1}else if(-2===t)o=!0,c++;else if(-1!==t){s++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(c=0),c){const i={type:n===t.length||o||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(t.splice(n,0,["enter",i,e],["exit",i,e]),n+=2)}n++}return t}const Mf={name:"thematicBreak",tokenize:function(t,e,n){let r,i=0;return function(e){return t.enter("thematicBreak"),function(t){return r=t,o(t)}(e)};function o(o){return o===r?(t.enter("thematicBreakSequence"),s(o)):i>=3&&(null===o||Qh(o))?(t.exit("thematicBreak"),e(o)):n(o)}function s(e){return e===r?(t.consume(e),i++,s):(t.exit("thematicBreakSequence"),Zh(e)?Qp(t,o,"whitespace")(e):o(e))}}};const Df={continuation:{tokenize:function(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(Xp,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Qp(t,e,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!Zh(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(Bf,e,s)(n))}function s(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Qp(t,t.attempt(Df,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)},name:"list",tokenize:function(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(e){const i=r.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||e===r.containerState.marker:Yh(e)){if(r.containerState.type||(r.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===e||45===e?t.check(Mf,n,c)(e):c(e);if(!r.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),a(e)}return n(e)};function a(e){return Yh(e)&&++s<10?(t.consume(e),a):(!r.interrupt||s<2)&&(r.containerState.marker?e===r.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),c(e)):n(e)}function c(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||e,t.check(Xp,r.interrupt?n:l,t.attempt(Hf,h,u))}function l(t){return r.containerState.initialBlankLine=!0,o++,h(t)}function u(e){return Zh(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}}},Hf={partial:!0,tokenize:function(t,e,n){const r=this;return Qp(t,function(t){const i=r.events[r.events.length-1];return!Zh(t)&&i&&"listItemPrefixWhitespace"===i[1].type?e(t):n(t)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},Bf={partial:!0,tokenize:function(t,e,n){const r=this;return Qp(t,function(t){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(t):n(t)},"listItemIndent",r.containerState.size+1)}};const Uf={continuation:{tokenize:function(t,e,n){const r=this;return function(e){if(Zh(e))return Qp(t,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return i(e)};function i(r){return t.attempt(Uf,e,n)(r)}}},exit:function(t){t.exit("blockQuote")},name:"blockQuote",tokenize:function(t,e,n){const r=this;return function(e){if(62===e){const n=r.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),i}return n(e)};function i(n){return Zh(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}}};function Vf(t,e,n,r,i,o,s,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(e){if(60===e)return t.enter(r),t.enter(i),t.enter(o),t.consume(e),t.exit(o),h;if(null===e||32===e||41===e||Wh(e))return n(e);return t.enter(r),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),f(e)};function h(n){return 62===n?(t.enter(o),t.consume(n),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),d(n))}function d(e){return 62===e?(t.exit("chunkString"),t.exit(a),h(e)):null===e||60===e||Qh(e)?n(e):(t.consume(e),92===e?p:d)}function p(e){return 60===e||62===e||92===e?(t.consume(e),d):d(e)}function f(i){return u||null!==i&&41!==i&&!Xh(i)?u<l&&40===i?(t.consume(i),u++,f):41===i?(t.consume(i),u--,f):null===i||32===i||40===i||Wh(i)?n(i):(t.consume(i),92===i?g:f):(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(r),e(i))}function g(e){return 40===e||41===e||92===e?(t.consume(e),f):f(e)}}function qf(t,e,n,r,i,o){const s=this;let a,c=0;return function(e){return t.enter(r),t.enter(i),t.consume(e),t.exit(i),t.enter(o),l};function l(h){return c>999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):Qh(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),l):(t.enter("chunkString",{contentType:"string"}),u(h))}function u(e){return null===e||91===e||93===e||Qh(e)||c++>999?(t.exit("chunkString"),l(e)):(t.consume(e),a||(a=!Zh(e)),92===e?h:u)}function h(e){return 91===e||92===e||93===e?(t.consume(e),c++,u):u(e)}}function Ff(t,e,n,r,i,o){let s;return function(e){if(34===e||39===e||40===e)return t.enter(r),t.enter(i),t.consume(e),t.exit(i),s=40===e?41:e,a;return n(e)};function a(n){return n===s?(t.enter(i),t.consume(n),t.exit(i),t.exit(r),e):(t.enter(o),c(n))}function c(e){return e===s?(t.exit(o),a(s)):null===e?n(e):Qh(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),Qp(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),l(e))}function l(e){return e===s||null===e||Qh(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?u:l)}function u(e){return e===s||92===e?(t.consume(e),l):l(e)}}function zf(t,e){let n;return function r(i){if(Qh(i))return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r;if(Zh(i))return Qp(t,r,n?"linePrefix":"lineSuffix")(i);return e(i)}}const Gf={name:"definition",tokenize:function(t,e,n){const r=this;let i;return function(e){return t.enter("definition"),function(e){return qf.call(r,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function o(e){return i=Ed(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),s):n(e)}function s(e){return Xh(e)?zf(t,a)(e):a(e)}function a(e){return Vf(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function c(e){return t.attempt(jf,l,l)(e)}function l(e){return Zh(e)?Qp(t,u,"whitespace")(e):u(e)}function u(o){return null===o||Qh(o)?(t.exit("definition"),r.parser.defined.push(i),e(o)):n(o)}}},jf={partial:!0,tokenize:function(t,e,n){return function(e){return Xh(e)?zf(t,r)(e):n(e)};function r(e){return Ff(t,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function i(e){return Zh(e)?Qp(t,o,"whitespace")(e):o(e)}function o(t){return null===t||Qh(t)?e(t):n(t)}}};const Wf={name:"codeIndented",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("codeIndented"),Qp(t,i,"linePrefix",5)(e)};function i(t){const e=r.events[r.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?o(t):n(t)}function o(e){return null===e?a(e):Qh(e)?t.attempt(Yf,o,a)(e):(t.enter("codeFlowValue"),s(e))}function s(e){return null===e||Qh(e)?(t.exit("codeFlowValue"),o(e)):(t.consume(e),s)}function a(n){return t.exit("codeIndented"),e(n)}}},Yf={partial:!0,tokenize:function(t,e,n){const r=this;return i;function i(e){return r.parser.lazy[r.now().line]?n(e):Qh(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):Qp(t,o,"linePrefix",5)(e)}function o(t){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):Qh(t)?i(t):n(t)}}};const Kf={name:"headingAtx",resolve:function(t,e){let n,r,i=t.length-2,o=3;"whitespace"===t[o][1].type&&(o+=2);i-2>o&&"whitespace"===t[i][1].type&&(i-=2);"atxHeadingSequence"===t[i][1].type&&(o===i-1||i-4>o&&"whitespace"===t[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},r={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},Sp(t,o,i-o+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]]));return t},tokenize:function(t,e,n){let r=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),i(e)}(e)};function i(e){return 35===e&&r++<6?(t.consume(e),i):null===e||Xh(e)?(t.exit("atxHeadingSequence"),o(e)):n(e)}function o(n){return 35===n?(t.enter("atxHeadingSequence"),s(n)):null===n||Qh(n)?(t.exit("atxHeading"),e(n)):Zh(n)?Qp(t,o,"whitespace")(n):(t.enter("atxHeadingText"),a(n))}function s(e){return 35===e?(t.consume(e),s):(t.exit("atxHeadingSequence"),o(e))}function a(e){return null===e||35===e||Xh(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),a)}}};const $f={name:"setextUnderline",resolveTo:function(t,e){let n,r,i,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(r=o)}else"content"===t[o][1].type&&t.splice(o,1),i||"definition"!==t[o][1].type||(i=o);const s={type:"setextHeading",start:{...t[n][1].start},end:{...t[t.length-1][1].end}};t[r][1].type="setextHeadingText",i?(t.splice(r,0,["enter",s,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end={...t[i][1].end}):t[n][1]=s;return t.push(["exit",s,e]),t},tokenize:function(t,e,n){const r=this;let i;return function(e){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return t.enter("setextHeadingLine"),i=e,function(e){return t.enter("setextHeadingLineSequence"),o(e)}(e);return n(e)};function o(e){return e===i?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),Zh(e)?Qp(t,s,"lineSuffix")(e):s(e))}function s(r){return null===r||Qh(r)?(t.exit("setextHeadingLine"),e(r)):n(r)}}};const Qf=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xf=["pre","script","style","textarea"],Zf={concrete:!0,name:"htmlFlow",resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},tokenize:function(t,e,n){const r=this;let i,o,s,a,c;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),l}(e)};function l(a){return 33===a?(t.consume(a),u):47===a?(t.consume(a),o=!0,p):63===a?(t.consume(a),i=3,r.interrupt?e:P):zh(a)?(t.consume(a),s=String.fromCharCode(a),f):n(a)}function u(o){return 45===o?(t.consume(o),i=2,h):91===o?(t.consume(o),i=5,a=0,d):zh(o)?(t.consume(o),i=4,r.interrupt?e:P):n(o)}function h(i){return 45===i?(t.consume(i),r.interrupt?e:P):n(i)}function d(i){const o="CDATA[";return i===o.charCodeAt(a++)?(t.consume(i),6===a?r.interrupt?e:x:d):n(i)}function p(e){return zh(e)?(t.consume(e),s=String.fromCharCode(e),f):n(e)}function f(a){if(null===a||47===a||62===a||Xh(a)){const c=47===a,l=s.toLowerCase();return c||o||!Xf.includes(l)?Qf.includes(s.toLowerCase())?(i=6,c?(t.consume(a),g):r.interrupt?e(a):x(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?m(a):k(a)):(i=1,r.interrupt?e(a):x(a))}return 45===a||Gh(a)?(t.consume(a),s+=String.fromCharCode(a),f):n(a)}function g(i){return 62===i?(t.consume(i),r.interrupt?e:x):n(i)}function m(e){return Zh(e)?(t.consume(e),m):A(e)}function k(e){return 47===e?(t.consume(e),A):58===e||95===e||zh(e)?(t.consume(e),_):Zh(e)?(t.consume(e),k):A(e)}function _(e){return 45===e||46===e||58===e||95===e||Gh(e)?(t.consume(e),_):b(e)}function b(e){return 61===e?(t.consume(e),w):Zh(e)?(t.consume(e),b):k(e)}function w(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,I):Zh(e)?(t.consume(e),w):v(e)}function I(e){return e===c?(t.consume(e),c=null,y):null===e||Qh(e)?n(e):(t.consume(e),I)}function v(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||Xh(e)?b(e):(t.consume(e),v)}function y(t){return 47===t||62===t||Zh(t)?k(t):n(t)}function A(e){return 62===e?(t.consume(e),E):n(e)}function E(e){return null===e||Qh(e)?x(e):Zh(e)?(t.consume(e),E):n(e)}function x(e){return 45===e&&2===i?(t.consume(e),R):60===e&&1===i?(t.consume(e),O):62===e&&4===i?(t.consume(e),M):63===e&&3===i?(t.consume(e),P):93===e&&5===i?(t.consume(e),L):!Qh(e)||6!==i&&7!==i?null===e||Qh(e)?(t.exit("htmlFlowData"),T(e)):(t.consume(e),x):(t.exit("htmlFlowData"),t.check(Jf,D,T)(e))}function T(e){return t.check(tg,C,D)(e)}function C(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),S}function S(e){return null===e||Qh(e)?T(e):(t.enter("htmlFlowData"),x(e))}function R(e){return 45===e?(t.consume(e),P):x(e)}function O(e){return 47===e?(t.consume(e),s="",N):x(e)}function N(e){if(62===e){const n=s.toLowerCase();return Xf.includes(n)?(t.consume(e),M):x(e)}return zh(e)&&s.length<8?(t.consume(e),s+=String.fromCharCode(e),N):x(e)}function L(e){return 93===e?(t.consume(e),P):x(e)}function P(e){return 62===e?(t.consume(e),M):45===e&&2===i?(t.consume(e),P):x(e)}function M(e){return null===e||Qh(e)?(t.exit("htmlFlowData"),D(e)):(t.consume(e),M)}function D(n){return t.exit("htmlFlow"),e(n)}}},Jf={partial:!0,tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(Xp,e,n)}}},tg={partial:!0,tokenize:function(t,e,n){const r=this;return function(e){if(Qh(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i;return n(e)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}}};const eg={partial:!0,tokenize:function(t,e,n){const r=this;return function(e){if(null===e)return n(e);return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}}},ng={concrete:!0,name:"codeFenced",tokenize:function(t,e,n){const r=this,i={partial:!0,tokenize:function(t,e,n){let i=0;return s;function s(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),Zh(e)?Qp(t,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===o?(t.enter("codeFencedFenceSequence"),u(e)):n(e)}function u(e){return e===o?(i++,t.consume(e),u):i>=a?(t.exit("codeFencedFenceSequence"),Zh(e)?Qp(t,h,"whitespace")(e):h(e)):n(e)}function h(r){return null===r||Qh(r)?(t.exit("codeFencedFence"),e(r)):n(r)}}};let o,s=0,a=0;return function(e){return function(e){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(e)}(e)};function c(e){return e===o?(a++,t.consume(e),c):a<3?n(e):(t.exit("codeFencedFenceSequence"),Zh(e)?Qp(t,l,"whitespace")(e):l(e))}function l(n){return null===n||Qh(n)?(t.exit("codeFencedFence"),r.interrupt?e(n):t.check(eg,p,_)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),u(n))}function u(e){return null===e||Qh(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),l(e)):Zh(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Qp(t,h,"whitespace")(e)):96===e&&e===o?n(e):(t.consume(e),u)}function h(e){return null===e||Qh(e)?l(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(e))}function d(e){return null===e||Qh(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),l(e)):96===e&&e===o?n(e):(t.consume(e),d)}function p(e){return t.attempt(i,_,f)(e)}function f(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),g}function g(e){return s>0&&Zh(e)?Qp(t,m,"linePrefix",s+1)(e):m(e)}function m(e){return null===e||Qh(e)?t.check(eg,p,_)(e):(t.enter("codeFlowValue"),k(e))}function k(e){return null===e||Qh(e)?(t.exit("codeFlowValue"),m(e)):(t.consume(e),k)}function _(n){return t.exit("codeFenced"),e(n)}}};const rg=document.createElement("i");function ig(t){const e="&"+t+";";rg.innerHTML=e;const n=rg.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&(n!==e&&n)}const og={name:"characterReference",tokenize:function(t,e,n){const r=this;let i,o,s=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),a};function a(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),i=31,o=Gh,l(e))}function c(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),i=6,o=Kh,l):(t.enter("characterReferenceValue"),i=7,o=Yh,l(e))}function l(a){if(59===a&&s){const i=t.exit("characterReferenceValue");return o!==Gh||ig(r.sliceSerialize(i))?(t.enter("characterReferenceMarker"),t.consume(a),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(a)}return o(a)&&s++<i?(t.consume(a),l):n(a)}}};const sg={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),r};function r(r){return $h(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}};const ag={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Qp(t,e,"linePrefix")}}};const cg={name:"labelEnd",resolveAll:function(t){let e=-1;const n=[];for(;++e<t.length;){const r=t[e][1];if(n.push(t[e]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const t="labelImage"===r.type?4:2;r.type="data",e+=t}}t.length!==n.length&&Sp(t,0,t.length,n);return t},resolveTo:function(t,e){let n,r,i,o,s=t.length,a=0;for(;s--;)if(n=t[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===t[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=s);const c={type:"labelLink"===t[r][1].type?"link":"image",start:{...t[r][1].start},end:{...t[t.length-1][1].end}},l={type:"label",start:{...t[r][1].start},end:{...t[i][1].end}},u={type:"labelText",start:{...t[r+a+2][1].end},end:{...t[i-2][1].start}};return o=[["enter",c,e],["enter",l,e]],o=Rp(o,t.slice(r+1,r+a+3)),o=Rp(o,[["enter",u,e]]),o=Rp(o,sf(e.parser.constructs.insideSpan.null,t.slice(r+a+4,i-3),e)),o=Rp(o,[["exit",u,e],t[i-2],t[i-1],["exit",l,e]]),o=Rp(o,t.slice(i+1)),o=Rp(o,[["exit",c,e]]),Sp(t,r,t.length,o),t},tokenize:function(t,e,n){const r=this;let i,o,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){i=r.events[s][1];break}return function(e){if(!i)return n(e);if(i._inactive)return u(e);return o=r.parser.defined.includes(Ed(r.sliceSerialize({start:i.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),a};function a(e){return 40===e?t.attempt(lg,l,o?l:u)(e):91===e?t.attempt(ug,l,o?c:u)(e):o?l(e):u(e)}function c(e){return t.attempt(hg,l,u)(e)}function l(t){return e(t)}function u(t){return i._balanced=!0,n(t)}}},lg={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),r};function r(e){return Xh(e)?zf(t,i)(e):i(e)}function i(e){return 41===e?l(e):Vf(t,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function o(e){return Xh(e)?zf(t,a)(e):l(e)}function s(t){return n(t)}function a(e){return 34===e||39===e||40===e?Ff(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):l(e)}function c(e){return Xh(e)?zf(t,l)(e):l(e)}function l(r){return 41===r?(t.enter("resourceMarker"),t.consume(r),t.exit("resourceMarker"),t.exit("resource"),e):n(r)}}},ug={tokenize:function(t,e,n){const r=this;return function(e){return qf.call(r,t,i,o,"reference","referenceMarker","referenceString")(e)};function i(t){return r.parser.defined.includes(Ed(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},hg={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),r};function r(r){return 93===r?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}};const dg={name:"labelStartImage",resolveAll:cg.resolveAll,tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),i};function i(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),o):n(e)}function o(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}}};const pg={name:"attention",resolveAll:function(t,e){let n,r,i,o,s,a,c,l,u=-1;for(;++u<t.length;)if("enter"===t[u][0]&&"attentionSequence"===t[u][1].type&&t[u][1]._close)for(n=u;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[u][1]).charCodeAt(0)){if((t[n][1]._close||t[u][1]._open)&&(t[u][1].end.offset-t[u][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[u][1].end.offset-t[u][1].start.offset)%3))continue;a=t[n][1].end.offset-t[n][1].start.offset>1&&t[u][1].end.offset-t[u][1].start.offset>1?2:1;const h={...t[n][1].end},d={...t[u][1].start};fg(h,-a),fg(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:h,end:{...t[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...t[u][1].start},end:d},i={type:a>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[u][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},t[n][1].end={...o.start},t[u][1].start={...s.end},c=[],t[n][1].end.offset-t[n][1].start.offset&&(c=Rp(c,[["enter",t[n][1],e],["exit",t[n][1],e]])),c=Rp(c,[["enter",r,e],["enter",o,e],["exit",o,e],["enter",i,e]]),c=Rp(c,sf(e.parser.constructs.insideSpan.null,t.slice(n+1,u),e)),c=Rp(c,[["exit",i,e],["enter",s,e],["exit",s,e],["exit",r,e]]),t[u][1].end.offset-t[u][1].start.offset?(l=2,c=Rp(c,[["enter",t[u][1],e],["exit",t[u][1],e]])):l=0,Sp(t,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u<t.length;)"attentionSequence"===t[u][1].type&&(t[u][1].type="data");return t},tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Zd(r);let o;return function(e){return o=e,t.enter("attentionSequence"),s(e)};function s(a){if(a===o)return t.consume(a),s;const c=t.exit("attentionSequence"),l=Zd(a),u=!l||2===l&&i||n.includes(a),h=!i||2===i&&l||n.includes(r);return c._open=Boolean(42===o?u:u&&(i||!h)),c._close=Boolean(42===o?h:h&&(l||!u)),e(a)}}};function fg(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const gg={name:"autolink",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i};function i(e){return zh(e)?(t.consume(e),o):64===e?n(e):c(e)}function o(t){return 43===t||45===t||46===t||Gh(t)?(r=1,s(t)):c(t)}function s(e){return 58===e?(t.consume(e),r=0,a):(43===e||45===e||46===e||Gh(e))&&r++<32?(t.consume(e),s):(r=0,c(e))}function a(r){return 62===r?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(r),t.exit("autolinkMarker"),t.exit("autolink"),e):null===r||32===r||60===r||Wh(r)?n(r):(t.consume(r),a)}function c(e){return 64===e?(t.consume(e),l):jh(e)?(t.consume(e),c):n(e)}function l(t){return Gh(t)?u(t):n(t)}function u(n){return 46===n?(t.consume(n),r=0,l):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||Gh(e))&&r++<63){const n=45===e?h:u;return t.consume(e),n}return n(e)}}};const mg={name:"htmlText",tokenize:function(t,e,n){const r=this;let i,o,s;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),a};function a(e){return 33===e?(t.consume(e),c):47===e?(t.consume(e),w):63===e?(t.consume(e),_):zh(e)?(t.consume(e),y):n(e)}function c(e){return 45===e?(t.consume(e),l):91===e?(t.consume(e),o=0,p):zh(e)?(t.consume(e),k):n(e)}function l(e){return 45===e?(t.consume(e),d):n(e)}function u(e){return null===e?n(e):45===e?(t.consume(e),h):Qh(e)?(s=u,N(e)):(t.consume(e),u)}function h(e){return 45===e?(t.consume(e),d):u(e)}function d(t){return 62===t?O(t):45===t?h(t):u(t)}function p(e){const r="CDATA[";return e===r.charCodeAt(o++)?(t.consume(e),6===o?f:p):n(e)}function f(e){return null===e?n(e):93===e?(t.consume(e),g):Qh(e)?(s=f,N(e)):(t.consume(e),f)}function g(e){return 93===e?(t.consume(e),m):f(e)}function m(e){return 62===e?O(e):93===e?(t.consume(e),m):f(e)}function k(e){return null===e||62===e?O(e):Qh(e)?(s=k,N(e)):(t.consume(e),k)}function _(e){return null===e?n(e):63===e?(t.consume(e),b):Qh(e)?(s=_,N(e)):(t.consume(e),_)}function b(t){return 62===t?O(t):_(t)}function w(e){return zh(e)?(t.consume(e),I):n(e)}function I(e){return 45===e||Gh(e)?(t.consume(e),I):v(e)}function v(e){return Qh(e)?(s=v,N(e)):Zh(e)?(t.consume(e),v):O(e)}function y(e){return 45===e||Gh(e)?(t.consume(e),y):47===e||62===e||Xh(e)?A(e):n(e)}function A(e){return 47===e?(t.consume(e),O):58===e||95===e||zh(e)?(t.consume(e),E):Qh(e)?(s=A,N(e)):Zh(e)?(t.consume(e),A):O(e)}function E(e){return 45===e||46===e||58===e||95===e||Gh(e)?(t.consume(e),E):x(e)}function x(e){return 61===e?(t.consume(e),T):Qh(e)?(s=x,N(e)):Zh(e)?(t.consume(e),x):A(e)}function T(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),i=e,C):Qh(e)?(s=T,N(e)):Zh(e)?(t.consume(e),T):(t.consume(e),S)}function C(e){return e===i?(t.consume(e),i=void 0,R):null===e?n(e):Qh(e)?(s=C,N(e)):(t.consume(e),C)}function S(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||Xh(e)?A(e):(t.consume(e),S)}function R(t){return 47===t||62===t||Xh(t)?A(t):n(t)}function O(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):n(r)}function N(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),L}function L(e){return Zh(e)?Qp(t,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):P(e)}function P(e){return t.enter("htmlTextData"),s(e)}}};const kg={name:"labelStartLink",resolveAll:cg.resolveAll,tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),i};function i(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}}};const _g={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),r};function r(r){return Qh(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}};const bg={name:"codeText",previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(t){let e,n,r=t.length-4,i=3;if(!("lineEnding"!==t[i][1].type&&"space"!==t[i][1].type||"lineEnding"!==t[r][1].type&&"space"!==t[r][1].type))for(e=i;++e<r;)if("codeTextData"===t[e][1].type){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}e=i-1,r++;for(;++e<=r;)void 0===n?e!==r&&"lineEnding"!==t[e][1].type&&(n=e):e!==r&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},tokenize:function(t,e,n){let r,i,o=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),s(e)};function s(e){return 96===e?(t.consume(e),o++,s):(t.exit("codeTextSequence"),a(e))}function a(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),a):96===e?(i=t.enter("codeTextSequence"),r=0,l(e)):Qh(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||Qh(e)?(t.exit("codeTextData"),a(e)):(t.consume(e),c)}function l(n){return 96===n?(t.consume(n),r++,l):r===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(i.type="codeTextData",c(n))}}};const wg={42:Df,43:Df,45:Df,48:Df,49:Df,50:Df,51:Df,52:Df,53:Df,54:Df,55:Df,56:Df,57:Df,62:Uf},Ig={91:Gf},vg={[-2]:Wf,[-1]:Wf,32:Wf},yg={35:Kf,42:Mf,45:[$f,Mf],60:Zf,61:$f,95:Mf,96:ng,126:ng},Ag={38:og,92:sg},Eg={[-5]:ag,[-4]:ag,[-3]:ag,33:dg,38:og,42:pg,60:[gg,mg],91:kg,92:[_g,sg],93:cg,95:pg,96:bg},xg={null:[pg,Sf]},Tg={null:[42,95]},Cg={null:[]};function Sg(t,e,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let s=[],a=[],c=!0;const l={attempt:_(function(t,e){b(t,e.from)}),check:_(k),consume:function(t){Qh(t)?(r.line++,r.column=1,r.offset+=-3===t?2:1,w()):-1!==t&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=t,c=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=f(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(t){const e=a.pop();return e.end=f(),u.events.push(["exit",e,u]),e},interrupt:_(k,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(t){i[t.line]=t.column,w()},events:[],now:f,parser:t,previous:null,sliceSerialize:function(t,e){return function(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const o=t[n];let s;if("string"==typeof o)s=o;else switch(o){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=e?" ":"\t";break;case-1:if(!e&&i)continue;s=" ";break;default:s=String.fromCharCode(o)}i=-2===o,r.push(s)}return r.join("")}(p(t),e)},sliceStream:p,write:function(t){if(s=Rp(s,t),g(),null!==s[s.length-1])return[];return b(e,0),u.events=sf(o,u.events,u),u.events}};let h,d=e.tokenize.call(u,l);return e.resolveAll&&o.push(e),u;function p(t){return function(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,o=e.end._bufferIndex;let s;if(n===i)s=[t[n].slice(r,o)];else{if(s=t.slice(n,i),r>-1){const t=s[0];"string"==typeof t?s[0]=t.slice(r):s.shift()}o>0&&s.push(t[i].slice(0,o))}return s}(s,t)}function f(){const{_bufferIndex:t,_index:e,line:n,column:i,offset:o}=r;return{_bufferIndex:t,_index:e,line:n,column:i,offset:o}}function g(){let t;for(;r._index<s.length;){const e=s[r._index];if("string"==typeof e)for(t=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)m(e.charCodeAt(r._bufferIndex));else m(e)}}function m(t){c=void 0,h=t,d=d(t)}function k(t,e){e.restore()}function _(t,e){return function(n,i,o){let s,h,d,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(t){return e;function e(e){const n=null!==e&&t[e],r=null!==e&&t.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(e)}}(n);function g(t){return s=t,h=0,0===t.length?o:m(t[h])}function m(t){return function(n){p=function(){const t=f(),e=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(a);return{from:i,restore:s};function s(){r=t,u.previous=e,u.currentConstruct=n,u.events.length=i,a=o,w()}}(),d=t,t.partial||(u.currentConstruct=t);if(t.name&&u.parser.constructs.disable.null.includes(t.name))return _(n);return t.tokenize.call(e?Object.assign(Object.create(u),e):u,l,k,_)(n)}}function k(e){return c=!0,t(d,p),i}function _(t){return c=!0,p.restore(),++h<s.length?m(s[h]):o}}}function b(t,e){t.resolveAll&&!o.includes(t)&&o.push(t),t.resolve&&Sp(u.events,e,u.events.length-e,t.resolve(u.events.slice(e),u)),t.resolveTo&&(u.events=t.resolveTo(u.events,u))}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Rg=/[\0\t\n\r]/g;function Og(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Ng=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Lg(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Og(n.slice(e?2:1),e?16:10)}return ig(n)||t}const Pg={}.hasOwnProperty;function Mg(e,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(et),autolinkProtocol:E,autolinkEmail:E,atxHeading:o(X),blockQuote:o(W),characterEscape:E,characterReference:E,codeFenced:o(Y),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(Y,s),codeText:o(K,s),codeTextData:E,data:E,codeFlowValue:E,definition:o($),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Q),hardBreakEscape:o(Z),hardBreakTrailing:o(Z),htmlFlow:o(J,s),htmlFlowData:E,htmlText:o(J,s),htmlTextData:E,image:o(tt),label:s,link:o(et),listItem:o(rt),listItemValue:d,listOrdered:o(nt,h),listUnordered:o(nt),paragraph:o(it),reference:U,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(X),strong:o(ot),thematicBreak:o(at)},exit:{atxHeading:c(),atxHeadingSequence:I,autolink:c(),autolinkEmail:j,autolinkProtocol:G,blockQuote:c(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:F,characterReference:z,codeFenced:c(m),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:f,codeFlowValue:x,codeIndented:c(k),codeText:c(O),codeTextData:x,data:x,definition:c(),definitionDestinationString:w,definitionLabelString:_,definitionTitleString:b,emphasis:c(),hardBreakEscape:c(C),hardBreakTrailing:c(C),htmlFlow:c(S),htmlFlowData:x,htmlText:c(R),htmlTextData:x,image:c(L),label:M,labelText:P,lineEnding:T,link:c(N),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:V,resourceDestinationString:D,resourceTitleString:H,resource:B,setextHeading:c(A),setextHeadingLineSequence:y,setextHeadingText:v,strong:c(),thematicBreak:c()}};Hg(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(t){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:e,enter:a,exit:l,buffer:s,resume:u,data:n},c=[];let h=-1;for(;++h<t.length;)if("listOrdered"===t[h][1].type||"listUnordered"===t[h][1].type)if("enter"===t[h][0])c.push(h);else{h=i(t,c.pop(),h)}for(h=-1;++h<t.length;){const n=e[t[h][0]];Pg.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},o),t[h][1])}if(o.tokenStack.length>0){const t=o.tokenStack[o.tokenStack.length-1];(t[1]||Ug).call(o,void 0,t[0])}for(r.position={start:Dg(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Dg(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)r=e.transforms[h](r)||r;return r}function i(t,e,n){let r,i,o,s,a=e-1,c=-1,l=!1;for(;++a<=n;){const e=t[a];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?c++:c--,s=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||s||c||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!c&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===c&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let s=a;for(i=void 0;s--;){const e=t[s];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",l=!0),e[1].type="lineEnding",i=s}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||a,0,["exit",r,e[2]]),a++,n++}if("listItemPrefix"===e[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(a,0,["enter",i,e[2]]),a++,n++,o=void 0,s=!0}}}return t[e][1]._spread=l,n}function o(t,e){return n;function n(n){a.call(this,t(n),n),e&&e.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n||void 0]),t.position={start:Dg(e.start),end:void 0}}function c(t){return e;function e(e){t&&t.call(this,e),l.call(this,e)}}function l(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+kh({start:t.start,end:t.end})+"): it’s not open");if(r[0].type!==t.type)if(e)e.call(this,t,r[0]);else{(r[1]||Ug).call(this,t,r[0])}n.position.end=Dg(t.end)}function u(){return rp(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(t){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0}}function p(){const t=this.resume();this.stack[this.stack.length-1].lang=t}function f(){const t=this.resume();this.stack[this.stack.length-1].meta=t}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function m(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")}function _(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Ed(this.sliceSerialize(t)).toLowerCase()}function b(){const t=this.resume();this.stack[this.stack.length-1].title=t}function w(){const t=this.resume();this.stack[this.stack.length-1].url=t}function I(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}}function v(){this.data.setextHeadingSlurpLineEnding=!0}function y(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2}function A(){this.data.setextHeadingSlurpLineEnding=void 0}function E(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n=st(),n.position={start:Dg(t.start),end:void 0},e.push(n)),this.stack.push(n)}function x(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Dg(t.end)}function T(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=Dg(t.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(E.call(this,t),x.call(this,t))}function C(){this.data.atHardBreak=!0}function S(){const t=this.resume();this.stack[this.stack.length-1].value=t}function R(){const t=this.resume();this.stack[this.stack.length-1].value=t}function O(){const t=this.resume();this.stack[this.stack.length-1].value=t}function N(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}function L(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}function P(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace(Ng,Lg)}(e),n.identifier=Ed(e).toLowerCase()}function M(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e}function D(){const t=this.resume();this.stack[this.stack.length-1].url=t}function H(){const t=this.resume();this.stack[this.stack.length-1].title=t}function B(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function V(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Ed(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"}function q(t){this.data.characterReferenceType=t.type}function F(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let r;if(n)r=Og(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=ig(e)}this.stack[this.stack.length-1].value+=r}function z(t){this.stack.pop().position.end=Dg(t.end)}function G(t){x.call(this,t);this.stack[this.stack.length-1].url=this.sliceSerialize(t)}function j(t){x.call(this,t);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)}function W(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function $(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:0,children:[]}}function Z(){return{type:"break"}}function J(){return{type:"html",value:""}}function tt(){return{type:"image",title:null,url:"",alt:null}}function et(){return{type:"link",title:null,url:"",children:[]}}function nt(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}function rt(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}function it(){return{type:"paragraph",children:[]}}function ot(){return{type:"strong",children:[]}}function st(){return{type:"text",value:""}}function at(){return{type:"thematicBreak"}}}(r)(function(t){for(;!If(t););return t}(function(e){const n={constructs:Np([t,...(e||{}).extensions||[]]),content:r(yf),defined:[],document:r(Af),flow:r(Cf),lazy:{},string:r(Rf),text:r(Of)};return n;function r(t){return function(e){return Sg(n,t,e)}}}(r).document().write(function(){let t,e=1,n="",r=!0;return function(i,o,s){const a=[];let c,l,u,h,d;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(Rg.lastIndex=u,c=Rg.exec(i),h=c&&void 0!==c.index?c.index:i.length,d=i.charCodeAt(h),!c){n=i.slice(u);break}if(10===d&&u===h&&t)a.push(-3),t=void 0;else switch(t&&(a.push(-5),t=void 0),u<h&&(a.push(i.slice(u,h)),e+=h-u),d){case 0:a.push(65533),e++;break;case 9:for(l=4*Math.ceil(e/4),a.push(-2);e++<l;)a.push(-1);break;case 10:a.push(-4),e=1;break;default:t=!0,e=1}u=h+1}return s&&(t&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,n,!0))))}function Dg(t){return{line:t.line,column:t.column,offset:t.offset}}function Hg(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?Hg(t,r):Bg(t,r)}}function Bg(t,e){let n;for(n in e)if(Pg.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function Ug(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+kh({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+kh({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+kh({start:e.start,end:e.end})+") is still open")}function Vg(t){const e=this;e.parser=function(n){return Mg(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}const qg="object"==typeof self?self:globalThis,Fg=t=>((t,e)=>{const n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);const[o,s]=e[i];switch(o){case 0:case-1:return n(s,i);case 1:{const t=n([],i);for(const e of s)t.push(r(e));return t}case 2:{const t=n({},i);for(const[e,n]of s)t[r(e)]=r(n);return t}case 3:return n(new Date(s),i);case 4:{const{source:t,flags:e}=s;return n(new RegExp(t,e),i)}case 5:{const t=n(new Map,i);for(const[e,n]of s)t.set(r(e),r(n));return t}case 6:{const t=n(new Set,i);for(const e of s)t.add(r(e));return t}case 7:{const{name:t,message:e}=s;return n(new qg[t](e),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:t}=new Uint8Array(s);return n(new DataView(t),s)}}return n(new qg[o](s),i)};return r})(new Map,t)(0),zg="",{toString:Gg}={},{keys:jg}=Object,Wg=t=>{const e=typeof t;if("object"!==e||!t)return[0,e];const n=Gg.call(t).slice(8,-1);switch(n){case"Array":return[1,zg];case"Object":return[2,zg];case"Date":return[3,zg];case"RegExp":return[4,zg];case"Map":return[5,zg];case"Set":return[6,zg];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Yg=([t,e])=>0===t&&("function"===e||"symbol"===e),Kg=(t,{json:e,lossy:n}={})=>{const r=[];return((t,e,n,r)=>{const i=(t,e)=>{const i=r.push(t)-1;return n.set(e,i),i},o=r=>{if(n.has(r))return n.get(r);let[s,a]=Wg(r);switch(s){case 0:{let e=r;switch(a){case"bigint":s=8,e=r.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+a);e=null;break;case"undefined":return i([-1],r)}return i([s,e],r)}case 1:{if(a){let t=r;return"DataView"===a?t=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(t=new Uint8Array(r)),i([a,[...t]],r)}const t=[],e=i([s,t],r);for(const e of r)t.push(o(e));return e}case 2:{if(a)switch(a){case"BigInt":return i([a,r.toString()],r);case"Boolean":case"Number":case"String":return i([a,r.valueOf()],r)}if(e&&"toJSON"in r)return o(r.toJSON());const n=[],c=i([s,n],r);for(const e of jg(r))!t&&Yg(Wg(r[e]))||n.push([o(e),o(r[e])]);return c}case 3:return i([s,r.toISOString()],r);case 4:{const{source:t,flags:e}=r;return i([s,{source:t,flags:e}],r)}case 5:{const e=[],n=i([s,e],r);for(const[n,i]of r)(t||!Yg(Wg(n))&&!Yg(Wg(i)))&&e.push([o(n),o(i)]);return n}case 6:{const e=[],n=i([s,e],r);for(const n of r)!t&&Yg(Wg(n))||e.push(o(n));return n}}const{message:c}=r;return i([s,{name:a,message:c}],r)};return o})(!(e||n),!!e,new Map,r)(t),r},$g="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?Fg(Kg(t,e)):structuredClone(t):(t,e)=>Fg(Kg(t,e));function Qg(t){const e=[];let n=-1,r=0,i=0;for(;++n<t.length;){const o=t.charCodeAt(n);let s="";if(37===o&&Gh(t.charCodeAt(n+1))&&Gh(t.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const e=t.charCodeAt(n+1);o<56320&&e>56319&&e<57344?(s=String.fromCharCode(o,e),i=1):s="�"}else s=String.fromCharCode(o);s&&(e.push(t.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function Xg(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function Zg(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}const Jg=em("end"),tm=em("start");function em(t){return function(e){const n=e&&e.position&&e.position[t]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function nm(t,e){const n=e.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+r}];const i=t.all(e),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function rm(t){const e=t.spread;return null==e?t.children.length>1:e}function im(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),i=0;const o=[];for(;r;)o.push(om(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(om(e.slice(i),i>0,!1)),o.join("")}function om(t,e,n){let r=0,i=t.length;if(e){let e=t.codePointAt(r);for(;9===e||32===e;)r++,e=t.codePointAt(r)}if(n){let e=t.codePointAt(i-1);for(;9===e||32===e;)i--,e=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}const sm={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:"\n"}]},code:function(t,e){const n=e.value?e.value+"\n":"",r={};e.lang&&(r.className=["language-"+e.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i=t.applyData(e,i),i={type:"element",tagName:"pre",properties:{},children:[i]},t.patch(e,i),i},delete:function(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){const n="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),i=Qg(r.toLowerCase()),o=t.footnoteOrder.indexOf(r);let s,a=t.footnoteCounts.get(r);void 0===a?(a=0,t.footnoteOrder.push(r),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return t.patch(e,l),t.applyData(e,l)},heading:function(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return nm(t,e);const i={src:Qg(r.url||""),alt:e.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,o),t.applyData(e,o)},image:function(t,e){const n={src:Qg(e.url)};null!==e.alt&&void 0!==e.alt&&(n.alt=e.alt),null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return nm(t,e);const i={href:Qg(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)},link:function(t,e){const n={href:Qg(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)},listItem:function(t,e,n){const r=t.all(e),i=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;const n=t.children;let r=-1;for(;!e&&++r<n.length;)e=rm(n[r])}return e}(n):rm(e),o={},s=[];if("boolean"==typeof e.checked){const t=r[0];let n;t&&"element"===t.type&&"p"===t.tagName?n=t:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const t=r[a];(i||0!==a||"element"!==t.type||"p"!==t.tagName)&&s.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||i?s.push(t):s.push(...t.children)}const c=r[r.length-1];c&&(i||"element"!==c.type||"p"!==c.tagName)&&s.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:o,children:s};return t.patch(e,l),t.applyData(e,l)},list:function(t,e){const n={},r=t.all(e);let i=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++i<r.length;){const t=r[i];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)},paragraph:function(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},root:function(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)},strong:function(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},table:function(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=tm(e.children[1]),s=Jg(e.children[e.children.length-1]);o&&s&&(r.position={start:o,end:s}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)},tableCell:function(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},tableRow:function(t,e,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(e):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:e.children.length;let a=-1;const c=[];for(;++a<s;){const n=e.children[a],r={},s=o?o[a]:void 0;s&&(r.align=s);let l={type:"element",tagName:i,properties:r,children:[]};n&&(l.children=t.all(n),t.patch(n,l),l=t.applyData(n,l)),c.push(l)}const l={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,l),t.applyData(e,l)},text:function(t,e){const n={type:"text",value:im(String(e.value))};return t.patch(e,n),t.applyData(e,n)},thematicBreak:function(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)},toml:am,yaml:am,definition:am,footnoteDefinition:am};function am(){}const cm={}.hasOwnProperty,lm={};function um(t,e){t.position&&(e.position=function(t){const e=tm(t),n=Jg(t);if(e&&n)return{start:e,end:n}}(t))}function hm(t,e){let n=e;if(t&&t.data){const e=t.data.hName,r=t.data.hChildren,i=t.data.hProperties;if("string"==typeof e)if("element"===n.type)n.tagName=e;else{n={type:"element",tagName:e,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&i&&Object.assign(n.properties,$g(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function dm(t,e){const n=e.data||{},r=!("value"in e)||cm.call(n,"hProperties")||cm.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:t.all(e)}:{type:"text",value:e.value};return t.patch(e,r),t.applyData(e,r)}function pm(t,e){const n=[];let r=-1;for(e&&n.push({type:"text",value:"\n"});++r<t.length;)r&&n.push({type:"text",value:"\n"}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function fm(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function gm(t,e){const n=function(t,e){const n=e||lm,r=new Map,i=new Map,o=new Map,s={...sm,...n.handlers},a={all:function(t){const e=[];if("children"in t){const n=t.children;let r=-1;for(;++r<n.length;){const i=a.one(n[r],t);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=fm(i.value)),!Array.isArray(i)&&"element"===i.type)){const t=i.children[0];t&&"text"===t.type&&(t.value=fm(t.value))}Array.isArray(i)?e.push(...i):e.push(i)}}}return e},applyData:hm,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:s,one:function(t,e){const n=t.type,r=a.handlers[n];if(cm.call(a.handlers,n)&&r)return r(a,t,e);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in t){const{children:e,...n}=t,r=$g(n);return r.children=a.all(t),r}return $g(t)}return(a.options.unknownHandler||dm)(a,t,e)},options:n,patch:um,wrap:pm};return ep(t,function(t){if("definition"===t.type||"footnoteDefinition"===t.type){const e="definition"===t.type?r:i,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}}),a}(t,e),r=n.one(t,void 0),i=function(t){const e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||Xg,r=t.options.footnoteBackLabel||Zg,i=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let c=-1;for(;++c<t.footnoteOrder.length;){const i=t.footnoteById.get(t.footnoteOrder[c]);if(!i)continue;const o=t.all(i),s=String(i.identifier).toUpperCase(),l=Qg(s.toLowerCase());let u=0;const h=[],d=t.footnoteCounts.get(s);for(;void 0!==d&&++u<=d;){h.length>0&&h.push({type:"text",value:" "});let t="string"==typeof n?n:n(c,u);"string"==typeof t&&(t={type:"text",value:t}),h.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(t)?t:[t]})}const p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const t=p.children[p.children.length-1];t&&"text"===t.type?t.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...h)}else o.push(...h);const f={type:"element",tagName:"li",properties:{id:e+"fn-"+l},children:t.wrap(o,!0)};t.patch(i,f),a.push(f)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...$g(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function mm(t,e){return t&&"run"in t?async function(n,r){const i=gm(n,{file:r,...e});await t.run(i,r)}:function(n,r){return gm(n,{file:r,...t||e})}}function km(){return{type:"break"}}function _m(){return function(t){!function(t){ud(t,[/\r?\n|\r/g,km])}(t)}}class bm{constructor(t,e,n){this.normal=e,this.property=t,n&&(this.space=n)}}function wm(t,e){const n={},r={};for(const e of t)Object.assign(n,e.property),Object.assign(r,e.normal);return new bm(n,r,e)}function Im(t){return t.toLowerCase()}bm.prototype.normal={},bm.prototype.property={},bm.prototype.space=void 0;class vm{constructor(t,e){this.attribute=e,this.property=t}}vm.prototype.attribute="",vm.prototype.booleanish=!1,vm.prototype.boolean=!1,vm.prototype.commaOrSpaceSeparated=!1,vm.prototype.commaSeparated=!1,vm.prototype.defined=!1,vm.prototype.mustUseProperty=!1,vm.prototype.number=!1,vm.prototype.overloadedBoolean=!1,vm.prototype.property="",vm.prototype.spaceSeparated=!1,vm.prototype.space=void 0;let ym=0;const Am=Om(),Em=Om(),xm=Om(),Tm=Om(),Cm=Om(),Sm=Om(),Rm=Om();function Om(){return 2**++ym}const Nm=Object.keys(e);class Lm extends vm{constructor(t,n,r,i){let o=-1;if(super(t,n),Pm(this,"space",i),"number"==typeof r)for(;++o<Nm.length;){const t=Nm[o];Pm(this,Nm[o],(r&e[t])===e[t])}}}function Pm(t,e,n){n&&(t[e]=n)}function Mm(t){const e={},n={};for(const[r,i]of Object.entries(t.properties)){const o=new Lm(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[Im(r)]=r,n[Im(o.attribute)]=r}return new bm(e,n,t.space)}Lm.prototype.defined=!0;const Dm=Mm({properties:{ariaActiveDescendant:null,ariaAtomic:Em,ariaAutoComplete:null,ariaBusy:Em,ariaChecked:Em,ariaColCount:Tm,ariaColIndex:Tm,ariaColSpan:Tm,ariaControls:Cm,ariaCurrent:null,ariaDescribedBy:Cm,ariaDetails:null,ariaDisabled:Em,ariaDropEffect:Cm,ariaErrorMessage:null,ariaExpanded:Em,ariaFlowTo:Cm,ariaGrabbed:Em,ariaHasPopup:null,ariaHidden:Em,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Cm,ariaLevel:Tm,ariaLive:null,ariaModal:Em,ariaMultiLine:Em,ariaMultiSelectable:Em,ariaOrientation:null,ariaOwns:Cm,ariaPlaceholder:null,ariaPosInSet:Tm,ariaPressed:Em,ariaReadOnly:Em,ariaRelevant:null,ariaRequired:Em,ariaRoleDescription:Cm,ariaRowCount:Tm,ariaRowIndex:Tm,ariaRowSpan:Tm,ariaSelected:Em,ariaSetSize:Tm,ariaSort:null,ariaValueMax:Tm,ariaValueMin:Tm,ariaValueNow:Tm,ariaValueText:null,role:null},transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase()});function Hm(t,e){return e in t?t[e]:e}function Bm(t,e){return Hm(t,e.toLowerCase())}const Um=Mm({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sm,acceptCharset:Cm,accessKey:Cm,action:null,allow:null,allowFullScreen:Am,allowPaymentRequest:Am,allowUserMedia:Am,alt:null,as:null,async:Am,autoCapitalize:null,autoComplete:Cm,autoFocus:Am,autoPlay:Am,blocking:Cm,capture:null,charSet:null,checked:Am,cite:null,className:Cm,cols:Tm,colSpan:null,content:null,contentEditable:Em,controls:Am,controlsList:Cm,coords:Tm|Sm,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Am,defer:Am,dir:null,dirName:null,disabled:Am,download:xm,draggable:Em,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Am,formTarget:null,headers:Cm,height:Tm,hidden:xm,high:Tm,href:null,hrefLang:null,htmlFor:Cm,httpEquiv:Cm,id:null,imageSizes:null,imageSrcSet:null,inert:Am,inputMode:null,integrity:null,is:null,isMap:Am,itemId:null,itemProp:Cm,itemRef:Cm,itemScope:Am,itemType:Cm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Am,low:Tm,manifest:null,max:null,maxLength:Tm,media:null,method:null,min:null,minLength:Tm,multiple:Am,muted:Am,name:null,nonce:null,noModule:Am,noValidate:Am,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Am,optimum:Tm,pattern:null,ping:Cm,placeholder:null,playsInline:Am,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Am,referrerPolicy:null,rel:Cm,required:Am,reversed:Am,rows:Tm,rowSpan:Tm,sandbox:Cm,scope:null,scoped:Am,seamless:Am,selected:Am,shadowRootClonable:Am,shadowRootDelegatesFocus:Am,shadowRootMode:null,shape:null,size:Tm,sizes:null,slot:null,span:Tm,spellCheck:Em,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Tm,step:null,style:null,tabIndex:Tm,target:null,title:null,translate:null,type:null,typeMustMatch:Am,useMap:null,value:Em,width:Tm,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Cm,axis:null,background:null,bgColor:null,border:Tm,borderColor:null,bottomMargin:Tm,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Am,declare:Am,event:null,face:null,frame:null,frameBorder:null,hSpace:Tm,leftMargin:Tm,link:null,longDesc:null,lowSrc:null,marginHeight:Tm,marginWidth:Tm,noResize:Am,noHref:Am,noShade:Am,noWrap:Am,object:null,profile:null,prompt:null,rev:null,rightMargin:Tm,rules:null,scheme:null,scrolling:Em,standby:null,summary:null,text:null,topMargin:Tm,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Tm,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Am,disableRemotePlayback:Am,prefix:null,property:null,results:Tm,security:null,unselectable:null},space:"html",transform:Bm}),Vm=Mm({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Rm,accentHeight:Tm,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Tm,amplitude:Tm,arabicForm:null,ascent:Tm,attributeName:null,attributeType:null,azimuth:Tm,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Tm,by:null,calcMode:null,capHeight:Tm,className:Cm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Tm,diffuseConstant:Tm,direction:null,display:null,dur:null,divisor:Tm,dominantBaseline:null,download:Am,dx:null,dy:null,edgeMode:null,editable:null,elevation:Tm,enableBackground:null,end:null,event:null,exponent:Tm,externalResourcesRequired:null,fill:null,fillOpacity:Tm,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sm,g2:Sm,glyphName:Sm,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Tm,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Tm,horizOriginX:Tm,horizOriginY:Tm,id:null,ideographic:Tm,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Tm,k:Tm,k1:Tm,k2:Tm,k3:Tm,k4:Tm,kernelMatrix:Rm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Tm,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Tm,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Tm,overlineThickness:Tm,paintOrder:null,panose1:null,path:null,pathLength:Tm,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Cm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Tm,pointsAtY:Tm,pointsAtZ:Tm,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rm,rev:Rm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rm,requiredFeatures:Rm,requiredFonts:Rm,requiredFormats:Rm,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Tm,specularExponent:Tm,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Tm,strikethroughThickness:Tm,string:null,stroke:null,strokeDashArray:Rm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Tm,strokeOpacity:Tm,strokeWidth:null,style:null,surfaceScale:Tm,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rm,tabIndex:Tm,tableValues:null,target:null,targetX:Tm,targetY:Tm,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rm,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Tm,underlineThickness:Tm,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Tm,values:null,vAlphabetic:Tm,vMathematical:Tm,vectorEffect:null,vHanging:Tm,vIdeographic:Tm,version:null,vertAdvY:Tm,vertOriginX:Tm,vertOriginY:Tm,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Tm,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Hm}),qm=Mm({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase()}),Fm=Mm({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Bm}),zm=Mm({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase()}),Gm=wm([Dm,Um,qm,Fm,zm],"html"),jm=wm([Dm,Vm,qm,Fm,zm],"svg"),Wm=/[A-Z]/g,Ym=/-[a-z]/g,Km=/^data[-\w.:]+$/i;function $m(t,e){const n=Im(e);let r=e,i=vm;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Km.test(e)){if("-"===e.charAt(4)){const t=e.slice(5).replace(Ym,Xm);r="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{const t=e.slice(4);if(!Ym.test(t)){let n=t.replace(Wm,Qm);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}i=Lm}return new i(r,e)}function Qm(t){return"-"+t.toLowerCase()}function Xm(t){return t.charAt(1).toUpperCase()}const Zm="http://www.w3.org/1999/xhtml",Jm="http://www.w3.org/2000/svg",tk={}.hasOwnProperty;function ek(t,e){const n=function(t,e){switch(t.type){case"root":return function(t,e){const n=t.children||[];let r,i=0===n.length,o=-1;for(;++o<n.length;){const t=n[o];if("element"===t.type&&"html"===t.tagName){i=!0,r=String(t.properties&&t.properties.xmlns||"")||Zm;break}}const s=e.namespace||r;let a;a=i?e.doc.implementation.createDocument(s||null,""):e.fragment?e.doc.createDocumentFragment():e.doc.createElement("html");return nk(a,n,{...e,namespace:s,impliedNamespace:s}),a}(t,e);case"text":return function(t,e){return e.doc.createTextNode(t.value)}(t,e);case"doctype":return function(t,e){return e.doc.implementation.createDocumentType("html","","")}(0,e);case"comment":return function(t,e){return e.doc.createComment(t.value)}(t,e);default:return function(t,e){let n=e.impliedNamespace||e.namespace;const r=t.tagName||(n===Jm?"g":"div"),i=t.properties||{},o=t.children||[];void 0!==n&&n!==Zm||"svg"!==r||(n=Jm);const s=n?e.doc.createElementNS(n,r):e.doc.createElement(r);!function(t,e,n){let r;for(r in e)if(tk.call(e,r)){const i=$m(n,r);let o=e[r];Array.isArray(o)&&(o=o.join(i.commaSeparated?", ":" ")),i.mustUseProperty&&(t[i.property]=o),i.boolean||i.overloadedBoolean&&"boolean"==typeof o?o&&t.setAttribute(i.attribute,""):i.booleanish?t.setAttribute(i.attribute,String(o)):!0===o?t.setAttribute(i.attribute,""):(o||0===o||""===o)&&t.setAttribute(i.attribute,String(o))}}(s,i,n===Jm?jm:Gm);const a=e.impliedNamespace;return e.impliedNamespace=n,nk(s,o,e),e.impliedNamespace=a,s}(t,e)}}(t,e);return e.afterTransform&&e.afterTransform(t,n),n}function nk(t,e,n){let r=-1;for(;++r<e.length;)t.append(ek(e[r],n))}function rk(t){const e={...this.data("settings"),...t};!1!==e.fragment&&(e.fragment=!0),this.compiler=function(t){return ik(function(t,e){const n=e||{};return ek(t,{doc:n.document||document,fragment:n.fragment||!1,namespace:n.namespace||void 0,impliedNamespace:void 0,afterTransform:n.afterTransform||void 0})}(t,e))}}function ik(t){if("doctype"in t){return(t.doctype?ik(t.doctype):"")+(t.documentElement?ik(t.documentElement):"")}if("publicId"in t)return"<DOCTYPE html>";const e=document.createElement("template");return e.content.append(t),e.innerHTML}const ok=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],sk={}.hasOwnProperty;const ak=/["&'<>`]/g,ck=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lk=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,uk=/[|\\{}()[\]^$+*?.]/g,hk=new WeakMap;function dk(t,e){return t=t.replace(e.subset?function(t){let e=hk.get(t);e||(e=function(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(uk,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}(t),hk.set(t,e));return e}(e.subset):ak,n),e.subset||e.escapeOnly?t:t.replace(ck,function(t,n,r){return e.format(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),e)}).replace(lk,n);function n(t,n,r){return e.format(t.charCodeAt(0),r.charCodeAt(n+1),e)}}const pk=/[\dA-Fa-f]/;const fk=/\d/;const gk=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],mk={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},kk=["cent","copy","divide","gt","lt","not","para","times"],_k={}.hasOwnProperty,bk={};let wk;for(wk in mk)_k.call(mk,wk)&&(bk[mk[wk]]=wk);const Ik=/[^\dA-Za-z]/;function vk(t,e,n){let r,i=function(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!pk.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(t,e,n,r){const i=String.fromCharCode(t);if(_k.call(bk,i)){const t=bk[i],o="&"+t;return n&&gk.includes(t)&&!kk.includes(t)&&(!r||e&&61!==e&&Ik.test(String.fromCharCode(e)))?o:o+";"}return""}(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(t,e,n){const r="&#"+String(t);return n&&e&&!fk.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function yk(t,e){return dk(t,Object.assign({format:vk},e))}const Ak=/^>|^->|<!--|-->|--!>|<!-$/g,Ek=[">"],xk=["<",">"];function Tk(t){const e=[],n=String(t||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const t=n.slice(i,r).trim();!t&&o||e.push(t),i=r+1,r=n.indexOf(",",i)}return e}function Ck(t,e){const n=e||{};return(""===t[t.length-1]?[...t,""]:t).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}function Sk(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Rk(t){return t.join(" ").trim()}const Ok=/[ \t\n\f\r]/g;function Nk(t){return"object"==typeof t?"text"===t.type&&Lk(t.value):Lk(t)}function Lk(t){return""===t.replace(Ok,"")}const Pk=Hk(1),Mk=Hk(-1),Dk=[];function Hk(t){return function(e,n,r){const i=e?e.children:Dk;let o=(n||0)+t,s=i[o];if(!r)for(;s&&Nk(s);)o+=t,s=i[o];return s}}const Bk={}.hasOwnProperty;function Uk(t){return function(e,n,r){return Bk.call(t,e.tagName)&&t[e.tagName](e,n,r)}}const Vk=Uk({body:function(t,e,n){const r=Pk(n,e);return!r||"comment"!==r.type},caption:qk,colgroup:qk,dd:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(t,e,n){const r=Pk(n,e);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:qk,html:function(t,e,n){const r=Pk(n,e);return!r||"comment"!==r.type},li:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(t,e,n){const r=Pk(n,e);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:Fk,rt:Fk,tbody:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:zk,tfoot:function(t,e,n){return!Pk(n,e)},th:zk,thead:function(t,e,n){const r=Pk(n,e);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&"tr"===r.tagName}});function qk(t,e,n){const r=Pk(n,e,!0);return!r||"comment"!==r.type&&!("text"===r.type&&Nk(r.value.charAt(0)))}function Fk(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function zk(t,e,n){const r=Pk(n,e);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const Gk=Uk({body:function(t){const e=Pk(t,-1,!0);return!(e&&("comment"===e.type||"text"===e.type&&Nk(e.value.charAt(0))||"element"===e.type&&("meta"===e.tagName||"link"===e.tagName||"script"===e.tagName||"style"===e.tagName||"template"===e.tagName)))},colgroup:function(t,e,n){const r=Mk(n,e),i=Pk(t,-1,!0);if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&Vk(r,n.children.indexOf(r),n))return!1;return Boolean(i&&"element"===i.type&&"col"===i.tagName)},head:function(t){const e=new Set;for(const n of t.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(e.has(n.tagName))return!1;e.add(n.tagName)}const n=t.children[0];return!n||"element"===n.type},html:function(t){const e=Pk(t,-1);return!e||"comment"!==e.type},tbody:function(t,e,n){const r=Mk(n,e),i=Pk(t,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&Vk(r,n.children.indexOf(r),n))return!1;return Boolean(i&&"element"===i.type&&"tr"===i.tagName)}});const jk={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Wk(t,e,n){const r=$m(t.schema,e),i=t.settings.allowParseErrors&&"html"===t.schema.space?0:1,o=t.settings.allowDangerousCharacters?0:1;let s,a=t.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?!r.boolean&&!r.overloadedBoolean||"string"==typeof n&&n!==r.attribute&&""!==n||(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=yk(r.attribute,Object.assign({},t.settings.characterReferences,{subset:jk.name[i][o]}));return!0===n?c:(n=Array.isArray(n)?(r.commaSeparated?Ck:Rk)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n?c:(t.settings.preferUnquoted&&(s=yk(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:jk.unquoted[i][o]}))),s!==n&&(t.settings.quoteSmart&&Fh(n,a)>Fh(n,t.alternative)&&(a=t.alternative),s=a+yk(n,Object.assign({},t.settings.characterReferences,{subset:("'"===a?jk.single:jk.double)[i][o],attribute:!0}))+a),c+(s?"="+s:s)))}const Yk=["<","&"];function Kk(t,e,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?yk(t.value,Object.assign({},r.settings.characterReferences,{subset:Yk})):t.value}const $k=function(t,e){const n=e||{};function r(e,...n){let i=r.invalid;const o=r.handlers;if(e&&sk.call(e,t)){const n=String(e[t]);i=sk.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,e,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}("type",{invalid:function(t){throw new Error("Expected node, not `"+t+"`")},unknown:function(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(t,e,n,r){return r.settings.bogusComments?"<?"+yk(t.value,Object.assign({},r.settings.characterReferences,{subset:Ek}))+">":"\x3c!--"+t.value.replace(Ak,function(t){return yk(t,Object.assign({},r.settings.characterReferences,{subset:xk}))})+"--\x3e"},doctype:function(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(t,e,n,r){const i=r.schema,o="svg"!==i.space&&r.settings.omitOptionalTags;let s="svg"===i.space?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const a=[];let c;"html"===i.space&&"svg"===t.tagName&&(r.schema=jm);const l=function(t,e){const n=[];let r,i=-1;if(e)for(r in e)if(null!==e[r]&&void 0!==e[r]){const i=Wk(t,r,e[r]);i&&n.push(i)}for(;++i<n.length;){const e=t.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==e&&"'"!==e&&(n[i]+=" ")}return n.join("")}(r,t.properties),u=r.all("html"===i.space&&"template"===t.tagName?t.content:t);return r.schema=i,u&&(s=!1),!l&&o&&Gk(t,e,n)||(a.push("<",t.tagName,l?" "+l:""),s&&("svg"===i.space||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||"/"===c||c&&'"'!==c&&"'"!==c)&&a.push(" "),a.push("/")),a.push(">")),a.push(u),s||o&&Vk(t,e,n)||a.push("</"+t.tagName+">"),a.join("")},raw:function(t,e,n,r){return r.settings.allowDangerousHtml?t.value:Kk(t,0,n,r)},root:function(t,e,n,r){return r.all(t)},text:Kk}});const Qk={},Xk={},Zk=[];function Jk(t,e,n){return $k(t,e,n,this)}function t_(t){const e=[],n=t&&t.children||Zk;let r=-1;for(;++r<n.length;)e[r]=this.one(n[r],r,t);return e.join("")}const e_=/[#.]/g;function n_(t,e,n){const r=n?function(t){const e=new Map;for(const n of t)e.set(n.toLowerCase(),n);return e}(n):void 0;return function(n,i,...o){let s;if(null==n){s={type:"root",children:[]};const t=i;o.unshift(t)}else{s=function(t,e){const n=t||"",r={};let i,o,s=0;for(;s<n.length;){e_.lastIndex=s;const t=e_.exec(n),e=n.slice(s,t?t.index:n.length);e&&(i?"#"===i?r.id=e:Array.isArray(r.className)?r.className.push(e):r.className=[e]:o=e,s+=e.length),t&&(i=t[0],s++)}return{type:"element",tagName:o||e||"div",properties:r,children:[]}}(n,e);const a=s.tagName.toLowerCase(),c=r?r.get(a):void 0;if(s.tagName=c||a,function(t){if(null===t||"object"!=typeof t||Array.isArray(t))return!0;if("string"!=typeof t.type)return!1;const e=t,n=Object.keys(t);for(const t of n){const n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;const t=n;for(const e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}if("children"in t&&Array.isArray(t.children))return!0;return!1}(i))o.unshift(i);else for(const[e,n]of Object.entries(i))r_(t,s.properties,e,n)}for(const t of o)i_(s.children,t);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function r_(t,e,n,r){const i=$m(t,n);let o;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?Sk(r):i.commaSeparated?Tk(r):i.commaOrSpaceSeparated?Sk(Tk(r).join(" ")):o_(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(t){const e=[];for(const[n,r]of Object.entries(t))e.push([n,r].join(": "));return e.join("; ")}(r):String(r);if(Array.isArray(o)){const t=[];for(const e of o)t.push(o_(i,i.property,e));o=t}"className"===i.property&&Array.isArray(e.className)&&(o=e.className.concat(o)),e[i.property]=o}}function i_(t,e){if(null==e);else if("number"==typeof e||"string"==typeof e)t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const n of e)i_(t,n);else{if("object"!=typeof e||!("type"in e))throw new Error("Expected node, nodes, or string, got `"+e+"`");"root"===e.type?i_(t,e.children):t.push(e)}}function o_(t,e,n){if("string"==typeof n){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(""===n||Im(n)===Im(e)))return!0}return n}const s_=n_(Gm,"div"),a_=n_(jm,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function c_(t,e){const n=function(t,e){switch(t.nodeType){case 1:return function(t,e){const n=t.namespaceURI,r=n===Jm?a_:s_,i=n===Zm?t.tagName.toLowerCase():t.tagName,o=n===Zm&&"template"===i?t.content:t,s=t.getAttributeNames(),a={};let c=-1;for(;++c<s.length;)a[s[c]]=t.getAttribute(s[c])||"";return r(i,a,u_(o,e))}(t,e);case 3:return function(t){return{type:"text",value:t.nodeValue||""}}(t);case 8:return function(t){return{type:"comment",value:t.nodeValue||""}}(t);case 9:return l_(t,e);case 10:return{type:"doctype"};case 11:return l_(t,e);default:return}}(t,e);return n&&e.afterTransform&&e.afterTransform(t,n),n}function l_(t,e){return{type:"root",children:u_(t,e)}}function u_(t,e){const n=t.childNodes,r=[];let i=-1;for(;++i<n.length;){const t=c_(n[i],e);void 0!==t&&r.push(t)}return r}class h_{_processor;constructor(){this._processor=Mh().use(Vg).use(_f,{singleTilde:!0}).use(_m).use(mm,{allowDangerousHtml:!0}).use(p_).use(d_).use(rk)}parse(t){return this._processor.processSync(t).toString().replaceAll("\n</code>","</code>")}}function d_(){return t=>{ep(t,"element",t=>{"ul"!==t.tagName&&"ol"!==t.tagName&&"li"!==t.tagName||(t.children=t.children.filter(t=>"text"!==t.type||!!t.value.trim()),delete t.properties.className)})}}function p_(){return t=>{ep(t,["root","element"],t=>{if(!function(t){return("root"===t.type||"element"===t.type)&&t.children}(t))return;if(!t.children.some(t=>"raw"===t.type))return;const e=document.createElement("template");e.innerHTML=function(t,e){const n=e||Qk,r=n.quote||'"',i='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Jk,all:t_,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||ok,characterReferences:n.characterReferences||Xk,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?jm:Gm,quote:r,alternative:i}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}({type:"root",children:t.children},{allowDangerousHtml:!0}),t.children=Array.from(e.content.childNodes).map(t=>function(t,e){return c_(t,e||{})||{type:"root",children:[]}}(t))})}}function f_(t,e){const n=m_();return(f_=function(t,e){return n[t-=112]})(t,e)}const g_=f_;function m_(){const t=["66029hKtWNA","528396Ggfsok","_parseHTML","children","parse","1800139ahTAIv","convertMarkdownToHTML","35juMwnb","508824ZMIIMy","156tYDkLk","10PzUGvN","1660208iNdbvy","parseAndNormalizeHTML","7sEtrXx","_m2html","9AszQUC","</dummy>","6858MtWbUb","<dummy>","86212zyQpwZ","replace"];return(m_=function(){return t})()}!function(t){const e=f_,n=t();for(;;)try{if(135753===-parseInt(e(124))/1+-parseInt(e(112))/2*(-parseInt(e(120))/3)+parseInt(e(122))/4*(-parseInt(e(131))/5)+-parseInt(e(125))/6*(-parseInt(e(116))/7)+parseInt(e(114))/8*(parseInt(e(118))/9)+parseInt(e(113))/10*(-parseInt(e(129))/11)+parseInt(e(132))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m_);class k_ extends((0,s.ObservableMixin)()){[g_(117)];constructor(){const t=g_;super(),this[t(117)]=new h_}[g_(130)](t){const e=g_,n=this[e(117)][e(128)](t);return this[e(115)](n)}[g_(115)](t){return this[g_(126)](t)}[g_(126)](t){const e=g_,n=t[e(123)](/^\t+/gm," ")[e(123)](/\n*/g,"")[e(123)](/\s+/g," ")[e(123)](/<[^>]*?$/g,""),r=th(e(121)+n+e(119));return r[e(127)]=r[e(127)][0][e(127)],r}}const __=w_;function b_(){const t=["5411584OiXXsF","_findPrevElementWithDataId","data-wrapped-id","beforebegin","4TlyiUI","_insertNodes","from","_isExistingContentComment","parentNode","forEach","afterend","new-element","replaceRemovedWith","_hasWrappedParent","_markUnstableElements","7979570GGNzVa","_getNodeDataId","afterbegin","indexOf","length","_markLastTagElementUnstable","5zWgEDH","_touchedNodesState","lastTouchedId","removedIds","52vGfgyf","nodeType","cloneNode","markUnstableElements","14GuNdVm","match","nextSibling","_replaceNode","_findReferenceNode","_storeDeletedElementIds","_getUid","childNodes","includes","_markWrappedElements","merge","_existingDataIds","true","slice","data-removed","cutAfterLastChange","46945503DoWopC","_isNewNode","filter","1230918DlZgEO","markUnstableElementsDepth","645944QmwKWC","previousSibling","trim","_generateUid","data-id","push","modifiedIds","_findFallbackReferenceNode","_isExistingNode","newIds","reverse","_isDelNode","lastChild","map","has","_findNextElementWithDataId","splice","invalidIds","data-unstable","_removeSpecialComments","13421304tKBqGG","292917VwmzxC"];return(b_=function(){return t})()}function w_(t,e){const n=b_();return(w_=function(t,e){return n[t-=428]})(t,e)}!function(t){const e=w_,n=t();for(;;)try{if(975414===-parseInt(e(469))/1*(parseInt(e(443))/2)+-parseInt(e(464))/3*(parseInt(e(490))/4)+-parseInt(e(486))/5*(-parseInt(e(441))/6)+-parseInt(e(494))/7*(-parseInt(e(465))/8)+-parseInt(e(463))/9+-parseInt(e(480))/10+parseInt(e(438))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b_);class I_ extends((0,s.ObservableMixin)()){[__(446)];[__(487)]={newIds:[],modifiedIds:[],removedIds:[],invalidIds:[],lastTouchedId:null};[__(433)]=new Set;constructor(t){const e=__;super(),this[e(446)]=t||s.uid}[__(432)](t,e,n){const r=__,i=t[rh(247)](!0);if(0===e[r(429)][r(484)]){const t=[];return oh(r(447),r(476),i)[r(474)](e=>{const n=r,i=this[n(446)]();ah(e,n(447),i),t[n(448)](i)}),this[r(462)](i),{parsedContent:i,newNodeIds:t,modifiedNodeIds:[],removedNodeIds:[]}}n&&n[r(493)]&&this[r(485)](i),this[r(487)][r(452)]=[],this[r(487)][r(449)]=[],this[r(487)][r(489)]=[],this[r(487)][r(460)]=[],this[r(487)][r(488)]=null,this[r(433)]=new Set(oh(r(447),null,e)[r(456)](t=>sh(t,r(447)))[r(440)](t=>!!t));let o=-1,s=!1;const a=i[r(429)],c=Array[r(471)](a)[r(440)](t=>!(3===t[r(491)]&&""===nh(t)[r(445)]())),l=c[r(484)];for(let t=0;t<l;t++){const n=c[t],i=c[t+1];if(this[r(439)](n)){if(-1===o&&(o=t),this[r(431)](n),!this[r(439)](i)){const[i,a]=this[r(498)](n,s,e);if(i){const e=Array[r(471)](c)[r(435)](o,t+1);this[r(470)](i,e,a),o=-1}}}else if(this[r(472)](n))s=!0;else if(this[r(451)](n)){const t=sh(n,r(447));if(t&&this[r(433)][r(457)](t)){const i=ih(r(447),t,e);this[r(497)](i,n)}if(this[r(487)][r(489)][r(430)](t)){const e=this[r(487)][r(489)][r(483)](t);this[r(487)][r(489)][r(459)](e,1)}}else if(this[r(454)](n)){const t=sh(n,r(447));this[r(487)][r(449)][r(430)](t)||this[r(499)](n)}}for(const t of this[r(487)][r(489)]){const i=ih(r(447),t,e);if(i)if(n&&n[r(477)]){this[r(487)][r(488)]=t;const e=n[r(477)][r(492)](!0);ah(e,r(447),t),ah(e,r(436),r(434)),ju(i,e)}else Gu(i)}if(oh(r(467),null,e)[r(474)](t=>{const n=r,i=sh(t,n(467)),o=ih(n(447),i,e);var s,a;o&&(a=t,Gu(s=o),ju(a,s))}),oh(r(447),r(476),e)[r(474)](t=>{const e=r,n=this[e(428)](t);ah(t,e(447),n),this[e(487)][e(452)][e(448)](n)}),this[r(462)](e),n&&n[r(493)]&&this[r(479)](e,n[r(442)]||0),n&&n[r(437)]&&this[r(487)][r(488)]){let t=ih(r(447),this[r(487)][r(488)],e);for(;t;)dh(t),t=t[r(473)]}return{parsedContent:e,newNodeIds:this[r(487)][r(452)],modifiedNodeIds:this[r(487)][r(449)],removedNodeIds:this[r(487)][r(489)]}}[__(470)](t,e,n){const r=__;for(const t of e){const e=this[r(428)](t);ah(t,r(447),e),this[r(487)][r(452)][r(448)](e),this[r(487)][r(488)]=e}const i=r(482)===n||r(475)===n?e[r(453)]():e;for(const e of i)ch(t,e,n)}[__(497)](t,e){const n=__;if(!t)return;if(r=e,uh(nh(t))===uh(nh(r)))return;var r;const i=this[n(428)](t);ah(e,n(447),i),this[n(487)][n(449)][n(448)](i),this[n(487)][n(488)]=i,ju(t,e[n(492)](!0))}[__(498)](t,e,n){const r=__,i=this[r(466)](t,!1);if(i){const t=this[r(481)](i),e=ih(r(447),t,n);if(e)return[e,r(475)];this[r(487)][r(460)][r(448)](t)}const o=this[r(458)](t,!1);if(o){const t=this[r(481)](o),e=ih(r(447),t,n);if(e)return[e,r(468)];this[r(487)][r(460)][r(448)](t)}return e?t[r(496)]?this[r(450)](t,n):[n[r(429)][n[r(429)][r(484)]-1],r(475)]:[n[r(429)][0],r(468)]}[__(450)](t,e){const n=__,r=[],i=this[n(466)](t,!0);if(i){const t=this[n(481)](i),o=ih(n(447),t,e);o&&r[n(448)]([o,n(475)])}const o=this[n(458)](t,!0);if(o){const t=this[n(481)](o),i=ih(n(447),t,e);i&&r[n(448)]([i,n(468)])}return r[n(484)]>1?hh(r[0][0])<=hh(r[1][0])?r[0]:r[1]:1===r[n(484)]?r[0]:[e[n(455)],n(475)]}[__(458)](t,e){const n=__;let r=t[n(496)],i=null,o=!1;for(;r;){if(bl(r)){if(this[n(454)](r)&&(i=r),this[n(472)](r)&&e&&!o){o=!0,r=r[n(496)];continue}break}const t=sh(r,n(447));if(t&&n(476)!==t&&this[n(433)][n(457)](t)){i=r;break}r=r[n(496)]}return i}[__(466)](t,e){const n=__;let r=t[n(444)],i=null,o=!1;for(;r;){if(bl(r)){if(this[n(454)](r)&&(i=r),this[n(472)](r)&&e&&!o){o=!0,r=r[n(444)];continue}break}const t=sh(r,n(447));if(t&&n(476)!==t&&this[n(433)][n(457)](t)){i=r;break}r=r[n(444)]}return i}[__(431)](t){const e=__;kl(t)&&oh(e(447),null,t)[e(474)](t=>{const n=e;if(this[n(451)](t)&&!this[n(478)](t)){const e=sh(t,n(447));ah(t,n(467),e),ah(t,n(447),null)}})}[__(481)](t){const e=__;if(!t)return null;if(kl(t))return sh(t,e(447));if(bl(t)){const n=nh(t)[e(495)](/removed[\s*-]data-id="([^"]+)"/);if(n&&n[1])return n[1]}return null}[__(499)](t){const e=__;if(bl(t)){const n=nh(t)[e(495)](/removed[\s*-]data-id="([^"]+)"/);n&&n[1]&&this[e(487)][e(489)][e(448)](n[1])}}[__(428)](t){const e=__;return this[e(451)](t)?sh(t,e(447)):this[e(446)]()}[__(462)](t){const e=__;var n;(n=t,$u(t=>bl(t),n,!0,1/0))[e(440)](t=>this[e(454)](t)||this[e(472)](t))[e(474)](t=>{Gu(t)})}[__(485)](t){const e=__,n=t[e(429)],r=n[n[e(484)]-1];r&&kl(r)&&ah(r,e(461),e(434))}[__(479)](t,e){const n=__,r=ih(n(461),n(434),t);if(!r)return;const i=lh(r)[n(435)](0,-1),o=i[n(484)];let s=r;if(o>e){let t=o,a=null;for(;t>e&&t>=0;)t--,a=i[t];a&&(s=a,ah(r,n(461),null),ah(a,n(461),n(434)))}else if(o<e){let t=o,i=r;for(;t<e;){const e=i[n(429)][n(440)](t=>kl(t));if(0===e[n(484)])break;t++,i=e[e[n(484)]-1]}i&&(s=i,ah(r,n(461),null),ah(i,n(461),n(434)))}let a=s;for(;a;){for(;a[n(496)];)a=a[n(496)],kl(a)&&ah(a,n(461),n(434));a=a[n(473)]}}[__(439)](t){const e=__;return Boolean(e(476)===sh(t,e(447)))}[__(451)](t){const e=__;return Boolean((sh(t,e(447))||"")[e(484)]>0&&e(476)!==sh(t,e(447)))}[__(454)](t){const e=__;return!!t&&Boolean(bl(t)&&nh(t)[e(495)](/removed[\s*-]data-id="[^"]+"/))}[__(478)](t){const e=__;let n=t[e(473)];for(;n;){if(sh(n,e(467)))return!0;n=n[e(473)]}return!1}[__(472)](t){const e=__;return Boolean(bl(t)&&nh(t)[e(495)](/\s*existing[\s*-](content|document)\s*/g))}}const v_=A_;function y_(){const t=["stopListening","8036148HlHaKw","convertMarkdownToHTML","content","push","documentContextContent","conversation-title","1340WvfmKG","span","modified","cloneNode","changeGroups","data-unstable","map","updateChangeGroups","changes","7PvyFIU","forEach","25696FYcIuW","editor","length","every","type","merge","newNodeIds","change:content","replyChangeGroupStateUpdated","3762qfdKbM","modification-delta","8QwAiDK","set","new","modifiedNodeIds","onContentChange","aiResponseParser","reasoning","57145608MNZGHF","removedNodeIds","nextSibling","areActionsDisabled","done","replyContentUpdated","setChangeGroupState","95524UketRB","fire","index","context","node","1218810hvHoAx","data-id","interactionId","pending","text-delta","source","29lOBRUS","47230rFvwHP","includes","parsedContent","destroy","color: #808080; font-style: italic","aiResponseApplier","filter","state",'Removed content. Use "Show changes" to learn more.',"previousSibling","unshift","removed","parsedMergedContent","isDone","parseAndNormalizeHTML","sources","appendContent","2790252dLwrIH","values"];return(y_=function(){return t})()}function A_(t,e){const n=y_();return(A_=function(t,e){return n[t-=202]})(t,e)}!function(t){const e=A_,n=t();for(;;)try{if(674229===parseInt(e(264))/1*(-parseInt(e(265))/2)+parseInt(e(208))/3+parseInt(e(239))/4*(-parseInt(e(258))/5)+-parseInt(e(211))/6*(parseInt(e(226))/7)+parseInt(e(228))/8*(-parseInt(e(237))/9)+parseInt(e(217))/10*(-parseInt(e(253))/11)+parseInt(e(246))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y_);const E_=[v_(238),v_(262)],x_=[v_(245)],T_=v_(216);class C_ extends((0,s.ObservableMixin)()){id;[v_(260)];[v_(232)];[v_(206)]=[];[v_(267)]=new gl([]);[v_(203)]=new gl([]);[v_(221)]=[];[v_(249)]=!1;[v_(215)];[v_(244)];[v_(270)];[v_(229)];constructor({type:t,content:e="",isDone:n=!1,interactionId:r,areActionsDisabled:i,documentContextContent:o,editor:a}){const c=v_;super(),this.id=(0,s.uid)(),this[c(260)]=r,this[c(232)]=t,this[c(249)]=!!i,this[c(229)]=a,this[c(244)]=new k_,this[c(270)]=new I_,this[c(215)]=th(o||""),this[c(240)](c(204),n),this.on(c(235),()=>{this[c(243)]()}),this[c(240)](c(213),e)}[v_(207)](t){const e=v_;this[e(240)](e(213),this[e(213)]+t)}[v_(250)](){const t=v_;this[t(204)]||(this[t(240)](t(204),!0),this[t(243)]())}[v_(268)](){this[v_(210)]()}[v_(252)](t,e){const n=v_;this[n(221)][t][n(272)]=e,this[n(254)](n(236),{reply:this,index:t,state:e})}[v_(243)](){const t=v_;if(t(238)===this[t(232)]){this[t(267)]=this[t(244)][t(205)](this[t(213)]);const e=this[t(221)];this[t(224)]();const n=function(e,n){const r=t,i=[];for(const t of n){const n=e[t[r(255)]];n?n[r(225)][r(230)]!==t[r(225)][r(230)]?i[r(214)](t):n[r(225)][r(227)]((e,n)=>{const o=r,s=t[o(225)][n];e.id!==s.id&&i[o(214)](t)}):i[r(214)](t)}return i}(e,this[t(221)]);(n[t(230)]||this[t(204)])&&this[t(254)](t(251),this,n)}else this[t(267)]=this[t(244)][t(212)](this[t(213)]),this[t(254)](t(251),this)}[v_(224)](){const t=v_,e=new ml("p",{},[new ml(t(218),{style:t(269)},[new ul(t(273))])]),n=this[t(270)][t(233)](this[t(267)],this[t(215)][t(220)](!0),{markUnstableElements:!this[t(204)],replaceRemovedWith:e,cutAfterLastChange:!this[t(204)]});if(!n[t(242)][t(230)]&&!this[t(204)])return;this[t(203)]=n[t(267)];let r=[];if(Xu(e=>{const i=t,s=sh(e,i(259));if(!s||!o(s))return!1;const a=[e,...lh(e)].at(-2);if(e!=a){const t=sh(a,i(259));o(t)||(r[i(214)]({node:a,id:t,type:i(219)}),n[i(242)][i(214)](t))}else n[i(242)][i(266)](s)?r[i(214)]({node:e,type:i(219),id:s}):n[i(234)][i(266)](s)?r[i(214)]({node:e,type:i(241),id:s,anchorId:sh(e[i(274)],i(259))}):r[i(214)]({node:e,type:i(202),id:s});return!0},this[t(203)]),r=r[t(271)](({node:e})=>[...lh(e),e][t(231)](e=>!sh(e,t(222)))),0==r[t(230)])return;const i=[[r[0]]];for(let e=1;e<r[t(230)];e++){const n=i[i[t(230)]-1],o=n[n[t(230)]-1];r[e][t(257)][t(274)]==o[t(257)]&&t(219)!=r[e][t(232)]&&t(219)!=o[t(232)]?n[t(214)](r[e]):i[t(214)]([r[e]])}for(const e of i){const n=e[0],r=e[e[t(230)]-1],i=s(n[t(257)][t(274)]);i&&e[t(275)](i);const o=s(r[t(257)][t(248)]);o&&e[t(214)](o)}function o(e){const r=t;return n[r(242)][r(266)](e)||n[r(234)][r(266)](e)||n[r(247)][r(266)](e)}function s(e){const n=t;if(e&&sh(e,n(259))&&!sh(e,n(222))){const t=sh(e,n(259));if(!o(t))return{node:e,type:n(256),id:t}}return null}this[t(221)]=i[t(223)]((e,n)=>({changes:e,state:t(261),index:n}))}}function S_(t){const e=v_;return Object[e(209)](E_)[e(266)](t)}function R_(t){return x_[v_(266)](t)}function O_(t){return t===T_}function N_(t){return v_(263)===t}function L_(t,e){const n=M_();return(L_=function(t,e){return n[t-=463]})(t,e)}const P_=L_;function M_(){const t=["appendContent","interactionStopped","abortController","3501HADTNI","replyContentUpdated","interactionDestroyed","ai-interaction-invalid-event-type","delegate","length","interactionCreated","3444305USRSAD","10947566dgteLb","connector","event","content","conversationTitle","replyChangeGroupStateUpdated","done","170qLXmEn","2972TSIIjs","forEach","2812020OESXPL","873ezovyO","interactionFinished","sources","source","isStopped","currentRequest","12wJJqzg","45550cNRMwp","find","textDelta","data","currentReply","replies","stopListening","destroy","push","editor","stop","replyCreated","start","fire","getReply","2057IYIkMI","19605jGhmFY","getDocumentContext","interactionStarted","error","_finalizeInteraction","35240ZjOXRn","getStream","abort","createReply","setConversationTitle","splice","sendRequest","isDestroyed"];return(M_=function(){return t})()}!function(t){const e=L_,n=t();for(;;)try{if(972759===-parseInt(e(484))/1*(-parseInt(e(515))/2)+-parseInt(e(519))/3*(-parseInt(e(516))/4)+-parseInt(e(507))/5*(parseInt(e(467))/6)+parseInt(e(508))/7+parseInt(e(489))/8*(-parseInt(e(500))/9)+parseInt(e(468))/10*(parseInt(e(483))/11)+-parseInt(e(518))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M_);const D_=[P_(506),P_(486),P_(498),P_(520),P_(502),P_(479),P_(501),P_(513),P_(493),P_(487)];class H_ extends((0,s.EmitterMixin)()){id;[P_(473)]=[];[P_(472)];[P_(466)];[P_(509)];[P_(465)]=!1;[P_(496)]=!1;[P_(477)];constructor({connector:t,editor:e}){const n=P_;super(),this.id=(0,s.uid)(),this[n(509)]=t,this[n(465)]=!0,this[n(477)]=e}async[P_(480)](){const t=P_;let e;this[t(465)]=!1;try{this[t(466)]=await this[t(495)](),this[t(481)](t(486),this);const n=await this[t(466)][t(490)](),r=[];for await(const i of n){if(this[t(465)])return;O_(i[t(510)])&&this[t(493)](i[t(471)][t(512)],!0),N_(i[t(510)])?r[t(476)](i[t(471)][t(464)]):S_(i[t(510)])?(i[t(510)]!==e&&(this[t(472)]&&this[t(472)][t(514)](),this[t(472)]=this[t(492)]({type:i[t(510)],interactionId:this.id}),r[t(505)]>0&&(this[t(472)][t(463)]=r[t(494)](0)),e=i[t(510)]),this[t(472)][t(497)](i[t(471)][t(470)])):R_(i[t(510)])||(0,s.logWarning)(t(503),{chunk:i})}}finally{this[t(465)]||(this[t(488)](),this[t(481)](t(520),this))}}[P_(478)](){const t=P_;this[t(465)]||(this[t(488)](),this[t(481)](t(498),this))}[P_(482)](t){const e=P_;return this[e(473)][e(469)](e=>e.id===t)}[P_(475)](){const t=P_;this[t(496)]||(this[t(478)](),this[t(473)][t(517)](e=>e[t(475)]()),this[t(473)]=[],this[t(496)]=!0,this[t(481)](t(502),this),this[t(474)]())}[P_(492)](t){const e=P_,n=new C_({editor:this[e(477)],documentContextContent:this[e(485)]()?.[e(511)],...t});return this[e(473)][e(476)](n),n[e(504)](...D_).to(this),this[e(481)](e(479),n),n}[P_(493)](t,e=!1){const n=P_;this[n(481)](n(493),t,e)}[P_(488)](){const t=P_;this[t(465)]=!0,this[t(466)]&&this[t(466)][t(499)][t(491)](),this[t(472)]&&this[t(472)][t(514)](),this[t(466)]=this[t(472)]=void 0}}function B_(t,e){var n=j_();return(B_=function(t,e){return n[t-=430]})(t,e)}var U_,V_,q_,F_,z_,G_;function j_(){var t=["file","18986duQofA","FILE","1965456wHZRwu","1049965drXKAS","TEXT","selection","868257gPuKCl","MARKDOWN","2466340OoaVLN","32OhOgJc","53832rzwTju","web-resource","text","markdown","DOCUMENT","document","html","44JNvNtb","62IfTtCu","URL","HTML","SELECTION","82680uXHtnO"];return(j_=function(){return t})()}!function(t){for(var e=B_,n=t();;)try{if(303943===-parseInt(e(443))/1*(-parseInt(e(437))/2)+parseInt(e(453))/3*(-parseInt(e(436))/4)+-parseInt(e(441))/5+-parseInt(e(445))/6+parseInt(e(446))/7*(parseInt(e(452))/8)+-parseInt(e(449))/9+-parseInt(e(451))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j_),(V_=U_||(U_={}))[(q_=B_)(444)]=q_(442),V_[q_(433)]=q_(434),V_[q_(438)]=q_(430),V_[q_(447)]=q_(431),V_[q_(440)]=q_(448),(z_=F_||(F_={}))[(G_=B_)(447)]=G_(431),z_[G_(450)]=G_(432),z_[G_(439)]=G_(435);const W_=Y_;function Y_(t,e){const n=$_();return(Y_=function(t,e){return n[t-=170]})(t,e)}!function(t){const e=Y_,n=t();for(;;)try{if(725755===parseInt(e(179))/1*(parseInt(e(198))/2)+-parseInt(e(272))/3+parseInt(e(204))/4+-parseInt(e(271))/5+-parseInt(e(291))/6*(parseInt(e(196))/7)+-parseInt(e(176))/8+parseInt(e(281))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($_);const K_=[W_(295),W_(172),W_(213),W_(206),W_(303),W_(235),W_(241),W_(240),W_(273)];function $_(){const t=["fire","object with content and type properties","string","getSentContextItems","populateFromMessage","map","_startUploadOperation","addContextOptionsChanged","version","_createContextItemFromContent","addFilesToContext","isCurrentDocumentInConversation","resourceStateChanged","sourceResourcesLoaded","MARKDOWN","_setAddContextOptionsDefaultState","_removeContextItem","_toggleAddCurrentDocumentOptionVisibility","file-","data","type","files","forEach","end","Current document","document","_convertTextResourceToFile","TEXT","url","current-document","_finishUploadOperation","_addContextOptionsState","_mapContextItemToRequestData","removeFromContext","getDocument","isHidden","ai-request-aborted","ai-chat-file-upload-failed","abortController","File","find","sources","ai-chat-context-invalid-data","7089620mrspqI","2969412CXiosz","uploadProgressChanged","_config","text/html","set","from","ai-chat-url-upload-failed","url-","loadSourceResources","31306041QupsKA","files-","sessionId","ai-chat-document-upload-failed","startsWith","ai-chat-source-not-found","object","label","resourceId","uploadUrl","5687544bMWvFO","isReadOnly","addToConversationContext","stack","contextItemAdded","content","size","_updateResourceInContextState","get","all","selection","SELECTION","error","text/plain","filter","ai-chat-resource-load-failed","DOCUMENT","addCurrentDocumentToContext","uiId","addSelectionToContext","_ongoingUploadOperations","clearPendingContextItems","contextItemRemoved","text/markdown","urls","getResources","5349832ttfehi","_addToConversationContextItem","uploadFile","205661GkQMpQ","getData","FILE","isSelectionInContext","start","ai-chat-resource-no-data","_finishContextItemLoading","_ongoingUploads","_getCustomSourcesInitialState","resources","push","getId","attributes","_findSourceIdsByResourceId","updateCurrentDocument","message","URL","7ajnIqB","enabled","4BbHkPn","name","length","ai-chat-source-resources-load-failed","getPendingContextItems","_conversationContextItems","3441460VTFHTR","mapContextItemsToRequestData","contextSent","fetchDocument","_addContextItem","hidden","_pendingContextItems","has","_connector","contextItemLoadingEnded","_isResourceInContext","values","addUrlToContext","isCurrentDocumentInContext","removeSelectionFromContext","addResourceToContext","uploadDocument","HTML","abort","_ownerId","ai-chat-context-unsupported-type","delete","isInContext","init"];return($_=function(){return t})()}class Q_ extends((0,s.ObservableMixin)()){[W_(212)];[W_(274)];[W_(223)];constructor({connector:t,config:e,ownerId:n}){const r=W_;super(),this[r(212)]=t,this[r(274)]=e,this[r(223)]=n}[W_(227)](){const t=W_;this[t(210)]=new Map,this[t(203)]=new Map,this[t(186)]=new Map,this[t(170)]=new Map,this[t(243)]()}[W_(202)](){return this[W_(210)]}async[W_(232)](t){const e=W_,n=await this[e(237)](t);return this[e(177)](n),e(257)===n[e(309)]&&this[e(245)](),n}async[W_(237)](t){const e=W_;if(t[e(248)]===U_[e(307)]){const n=await this[e(212)][e(207)](this[e(223)],t.id)[e(262)]();return{id:e(257),uiId:e(257),label:e(252),type:t[e(248)],content:n[e(296)],hidden:this[e(203)][e(211)](e(257)),version:n[e(191)]?.[e(236)],sessionId:n[e(191)]?.[e(283)]}}return{id:t.id,uiId:t.id,label:t[e(191)]?.[e(288)]||t[e(199)]||t[e(256)]||t.id,type:t[e(248)],...t?.[e(191)]?.[e(289)]?{resourceId:t[e(191)]?.[e(289)]}:{}}}[W_(231)](){return new Map(this[W_(203)])}[W_(261)](t){const e=W_,n=this[e(210)][e(299)](t);n?.[e(292)]||this[e(244)](t)}[W_(171)](){const t=W_;if(0===this[t(210)][t(297)])return;for(const e of this[t(210)][t(215)]())this[t(244)](e[t(309)]);const e=this[t(203)][t(299)](t(257))||this[t(210)][t(299)](t(257));e&&this[t(208)]({...e,isReadOnly:!0,hidden:!0})}[W_(293)](t){const e=W_;for(const n of t[e(215)]())this[e(177)](n);this[e(171)](),this[e(228)](e(206),{contextItems:Array[e(277)](this[e(231)]()[e(215)]())})}[W_(217)](){const t=W_;return this[t(210)][t(211)](t(257))}[W_(182)](){const t=W_;return this[t(210)][t(211)](t(301))}[W_(239)](){const t=W_;return this[t(203)][t(211)](t(257))}static[W_(205)](t){const e=W_;return Array[e(277)](t[e(215)]())[e(233)](t=>this[e(260)](t))[e(305)](t=>null!==t)}async[W_(238)](t,e,n=U_[W_(181)]){const r=W_,i=r(282)+(0,s.uid)();this[r(234)](i);try{await Promise[r(300)](t[r(233)](async t=>{const i=r,o=i(246)+(0,s.uid)();try{this[i(208)]({type:n,label:e?.[i(288)]||t[i(199)],uiId:o,resourceId:e?.[i(289)]},!0);const r=this[i(212)][i(178)](this[i(223)],t,e);this[i(186)][i(276)](o,r[i(266)]);const{id:s}=await r[i(190)]();this[i(186)][i(225)](o),this[i(185)]({type:n,id:s,label:e?.[i(288)]||t[i(199)],uiId:o,resourceId:e?.[i(289)]},!1)}catch(e){if(this[i(186)][i(225)](o),!e[i(194)][i(285)](i(264))){const n=new s.CKEditorError(i(265),null,{fileName:t[i(199)]});n[i(294)]=e[i(294)],this[i(228)](i(303),{error:n,fileName:t[i(199)]})}this[i(244)](o)}}))}finally{this[r(258)](i)}}[W_(308)](t){const e=W_;if(this[e(217)]())return;const n={type:U_[e(307)],uiId:e(257),label:t,isReadOnly:this[e(203)][e(211)](e(257)),hidden:this[e(203)][e(211)](e(257))};this[e(208)](n)}async[W_(193)](t,e,n,r){const i=W_,o=this[i(210)][i(299)](i(257));if(o&&t){o[i(301)]=r?r[i(233)](t=>({start:t[i(183)],end:t[i(251)]})):[];try{if(o[i(236)]===e)return;const{id:r}=await this[i(212)][i(220)](this[i(223)],t,{version:e,sessionId:n})[i(190)]();o.id=r,o[i(296)]=t,o[i(236)]=e,o[i(283)]=n}catch(t){const e=new s.CKEditorError(i(284),null);e[i(294)]=t[i(294)],this[i(228)](i(303),{error:e})}}}[W_(310)](t){const e=W_;this[e(208)]({type:U_[e(302)],label:t,uiId:e(301),content:t})}[W_(218)](){const t=W_;this[t(244)](t(301))}async[W_(216)](t,e){const n=W_,r=n(279)+(0,s.uid)();this[n(234)](r);const i=n(279)+(0,s.uid)();try{this[n(208)]({type:U_[n(195)],label:e?.[n(288)]||t,uiId:i,resourceId:e?.[n(289)]},!0);const r=this[n(212)][n(290)](this[n(223)],t,e);this[n(186)][n(276)](i,r[n(266)]);const{id:o}=await r[n(190)]();this[n(186)][n(225)](i),this[n(185)]({type:U_[n(195)],id:o,label:e?.[n(288)]||t,uiId:i,resourceId:e?.[n(289)]},!1)}catch(e){this[n(186)][n(225)](i),e[n(194)][n(285)](n(264))||this[n(228)](n(303),{error:new s.CKEditorError(n(278),this,{url:t,originalError:e}),url:t}),this[n(244)](i)}finally{this[n(258)](r)}}async[W_(280)](t,e,n){const r=W_,i=this[r(259)][r(269)][r(268)](e=>e.id===t);if(!i)return this[r(228)](r(303),{error:new s.CKEditorError(r(286),this,{sourceId:t}),sourceId:t}),[];try{const o=(await i[r(175)](e))[r(233)](t=>{const e=this[r(214)](t.id);return{...t,isInContext:e}});return i[r(188)]=o,this[r(228)](r(241),{sourceId:t,source:i,resources:o,uid:n}),o}catch(e){return this[r(228)](r(303),{error:new s.CKEditorError(r(201),this,{sourceId:t,originalError:e}),sourceId:t,sourceLabel:i[r(288)]}),[]}}async[W_(219)](t,e){const n=W_;if(this[n(214)](e.id))return;let r=e[n(247)];if(!r&&t[n(180)])try{r=await t[n(180)](e.id)}catch(r){return void this[n(228)](n(303),{error:new s.CKEditorError(n(306),this,{resourceId:e.id,sourceId:t.id,originalError:r}),resourceId:e.id,sourceId:t.id})}if(r)switch(e[n(248)]){case U_[n(195)]:if(n(230)!=typeof r)return void this[n(228)](n(303),{error:new s.CKEditorError(n(270),this,{resourceId:e.id,sourceId:t.id,expectedType:n(230),actualType:typeof r}),resourceId:e.id,sourceId:t.id});await this[n(216)](r,{label:e[n(288)],resourceId:e.id});break;case U_[n(181)]:if(!(r instanceof File))return void this[n(228)](n(303),{error:new s.CKEditorError(n(270),this,{resourceId:e.id,sourceId:t.id,expectedType:n(267),actualType:typeof r}),resourceId:e.id,sourceId:t.id});await this[n(238)]([r],{label:e[n(288)],resourceId:e.id});break;case U_[n(255)]:if(n(287)!=typeof r||!(n(296)in r)||!(n(248)in r))return void this[n(228)](n(303),{error:new s.CKEditorError(n(270),this,{resourceId:e.id,sourceId:t.id,expectedType:n(229),actualType:typeof r}),resourceId:e.id,sourceId:t.id});r=Q_[n(254)](r,e[n(288)]),await this[n(238)]([r],{label:e[n(288)],resourceId:e.id},U_[n(255)]);break;default:this[n(228)](n(303),{error:new s.CKEditorError(n(224),this,{resourceId:e.id,sourceId:t.id,resourceType:e[n(248)]}),resourceId:e.id,sourceId:t.id})}else this[n(228)](n(303),{error:new s.CKEditorError(n(184),this,{resourceId:e.id,sourceId:t.id}),resourceId:e.id,sourceId:t.id})}static[W_(254)](t,e){const n=W_;switch(t[n(248)]){case F_[n(242)]:return new File([t[n(296)]],e,{type:n(173)});case F_[n(221)]:return new File([t[n(296)]],e,{type:n(275)});default:return new File([t[n(296)]],e,{type:n(304)})}}static[W_(260)](t){const e=W_;switch(t[e(248)]){case U_[e(181)]:return{type:U_[e(181)],id:t.id};case U_[e(195)]:return{type:U_[e(195)],id:t.id};case U_[e(307)]:return{type:U_[e(307)],id:t.id,...t[e(301)]?.[e(200)]&&{selection:t[e(301)]}};case U_[e(255)]:return{type:U_[e(181)],id:t.id};default:return null}}[W_(208)](t,e=!1){const n=W_;if(this[n(210)][n(276)](t[n(309)],t),t[n(209)]||this[n(228)](n(295),{contextItem:t,isLoading:e}),n(257)===t[n(309)]&&this[n(245)](),t[n(289)]){const e=this[n(192)](t[n(289)]);e&&e[n(250)](e=>{const r=n;this[r(298)](e,t[r(289)],!0)})}}[W_(244)](t){const e=W_,n=this[e(210)][e(299)](t),r=this[e(186)][e(299)](t);if(r&&(r[e(222)](),this[e(186)][e(225)](t)),n?.[e(289)]){const t=this[e(192)](n[e(289)]);t&&t[e(250)](t=>{const r=e;this[r(298)](t,n[r(289)],!1)})}this[e(210)][e(225)](t),this[e(228)](e(172),{uiId:t,type:n?.[e(248)]}),e(257)===t&&this[e(245)]()}[W_(185)](t,e){const n=W_;if(this[n(210)][n(211)](t[n(309)])&&(this[n(210)][n(276)](t[n(309)],t),this[n(228)](n(213),{contextItem:t,isLoading:e}),t[n(289)])){const e=this[n(192)](t[n(289)]);e&&e[n(250)](e=>{const r=n;this[r(298)](e,t[r(289)],!0)})}}[W_(177)](t){const e=W_;this[e(203)][e(276)](t[e(309)],t)}[W_(243)](){const t=W_;this[t(259)]={document:{enabled:!1!==this[t(274)]?.[t(253)]?.[t(197)],isHidden:!1},urls:{enabled:!1!==this[t(274)]?.[t(174)]?.[t(197)]},files:{enabled:!1!==this[t(274)]?.[t(249)]?.[t(197)]},sources:this[t(187)]()},this[t(228)](t(235),{options:this[t(259)]})}[W_(187)](){const t=W_;return this[t(274)]?.[t(269)]?.[t(233)](t=>({...t,resources:[]}))??[]}[W_(245)](){const t=W_,e=this[t(217)]()||this[t(239)]();this[t(259)][t(253)][t(263)]=e,this[t(228)](t(235),{options:this[t(259)]})}[W_(214)](t){const e=W_;for(const n of this[e(210)][e(215)]())if(n[e(289)]===t)return!0;for(const n of this[e(203)][e(215)]())if(n[e(289)]===t)return!0;return!1}[W_(192)](t){const e=W_,n=[];for(const r of this[e(259)][e(269)])r[e(188)][e(268)](e=>e.id===t)&&n[e(189)](r.id);return 0===n[e(200)]?null:n}[W_(298)](t,e,n){const r=W_,i=this[r(259)][r(269)][r(268)](e=>e.id===t);if(!i)return;const o=i[r(188)][r(268)](t=>t.id===e);o&&(o[r(226)]=n,this[r(228)](r(240),{sourceId:t,resourceId:e,isInContext:n}))}[W_(234)](t){const e=W_;this[e(170)][e(276)](t,!0),this[e(170)][e(297)]&&this[e(228)](e(273),{isUploadInProgress:!0})}[W_(258)](t){const e=W_;this[e(170)][e(225)](t),0===this[e(170)][e(297)]&&this[e(228)](e(273),{isUploadInProgress:!1})}}function X_(){const t=["4885760blOABF","_isWebSearchEnabled","15IZeKvm","getCapabilitiesRequestData","142916zrOGPB","fire","toggleReasoning","reasoning","1602195eKyEQv","isWebSearchEnabled","_isReasoningEnabled","reset","init","2918220AplAiE","webSearch","toggleWebSearch","capabilitiesUpdated","getCapabilitiesConfig","2050612IGVNOi","18FuaSbk","186382oMCDYG","setReasoning","5grFllQ","3310768EyKjfc","setWebSearch","isReasoningEnabled"];return(X_=function(){return t})()}function Z_(t,e){const n=X_();return(Z_=function(t,e){return n[t-=333]})(t,e)}const J_=Z_;!function(t){const e=Z_,n=t();for(;;)try{if(274802===-parseInt(e(348))/1+parseInt(e(358))/2*(-parseInt(e(356))/3)+parseInt(e(346))/4*(parseInt(e(350))/5)+-parseInt(e(341))/6+parseInt(e(336))/7+-parseInt(e(351))/8+parseInt(e(347))/9*(parseInt(e(354))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X_);const tb=[J_(344)];class eb extends((0,s.EmitterMixin)()){[J_(355)];[J_(338)];constructor(){const t=J_;super(),this[t(355)]=!1,this[t(338)]=!1}[J_(340)](){this[J_(339)]()}[J_(339)](){const t=J_;this[t(352)](!1),this[t(349)](!1)}[J_(345)](){const t=J_;return{isWebSearchEnabled:this[t(355)],isReasoningEnabled:this[t(338)]}}static[J_(357)](t){const e=J_,n={};return t&&t[e(337)]&&(n[e(342)]={}),t&&t[e(353)]&&(n[e(335)]={}),n}[J_(343)](){const t=J_;this[t(352)](!this[t(355)])}[J_(334)](){const t=J_;this[t(349)](!this[t(338)])}[J_(352)](t){const e=J_;t!==this[e(355)]&&(this[e(355)]=t,this[e(333)](e(344),this[e(345)]()))}[J_(349)](t){const e=J_;t!==this[e(338)]&&(this[e(338)]=t,this[e(333)](e(344),this[e(345)]()))}}function nb(t,e){var n=ib();return(nb=function(t,e){return n[t-=291]})(t,e)}var rb=nb;function ib(){var t=["model","3063510slMmTD","connector","112065NwXtnS","conversationId","getDocumentContext","queryAssistant","getCapabilitiesRequestData","sendRequest","80LAwaxB","5246647tDToJW","380IPksCE","quickActionData","userMessage","135171WgKDee","650925kMndMY","1agvmIR","contextItems","get","mapContextItemsToRequestData","3792220IVxfzB","104nrveTv","capabilities","current-document","563294ExAMOE"];return(ib=function(){return t})()}!function(t){for(var e=nb,n=t();;)try{if(500306===parseInt(e(296))/1*(-parseInt(e(304))/2)+-parseInt(e(308))/3*(-parseInt(e(314))/4)+-parseInt(e(300))/5+-parseInt(e(306))/6+-parseInt(e(315))/7+parseInt(e(301))/8*(-parseInt(e(294))/9)+-parseInt(e(291))/10*(-parseInt(e(295))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ib);class ob extends H_{[rb(293)];[rb(309)];[rb(297)]=new Map;[rb(305)];[rb(292)];constructor(t){var e=rb;super(t),this[e(309)]=t[e(309)],this[e(297)]=t[e(297)],this[e(302)]=t[e(302)],this[e(293)]=t[e(293)],this[e(305)]=t[e(305)],this[e(292)]=t[e(292)]}async[rb(313)](){var t=rb;return this[t(307)][t(311)]({message:this[t(293)],conversationId:this[t(309)],parts:Q_[t(299)](this[t(297)]),capabilities:eb[t(312)](this[t(302)]),model:this[t(305)],quickActionData:this[t(292)]})}[rb(310)](){var t=rb;return this[t(297)][t(298)](t(303))}}const sb=ab;function ab(t,e){const n=cb();return(ab=function(t,e){return n[t-=342]})(t,e)}function cb(){const t=["conversationId","getAll","getCapabilitiesConfig","currentInteraction","createInteraction","ai-chat-conversation-start-no-model-selected","isCurrentDocumentInContext","startConversation","chatModels","getCurrentDocumentContext","setModel","6305776UVauLV","model","addResourceToContext","reset","reasoning","user","ai-chat-conversation-init-from-id-failed","_extractContextItems","load","getInteraction","chatCapabilities","addCurrentDocumentToContext","delegate","getDefault","content","selectedModel","appendContent","isCurrentDocumentInConversation","removeInteraction","getEditor","getPendingContextItems","modelSelected","group","text-delta","createReply","loadSourceResources","chatContext","length","modification-delta","options","message","fetchConversationMessages","fetchConversation","ai-chat-handle-user-interaction-already-in-progress","fire","type","attributes","conversationInitialized","defaultModelId","1505442YVsIdJ","updateCurrentDocumentInContext","error","init","toLowerCase","addToConversationContext","getDocumentContext","addSelectionToContext","prompt","indexOf","setConversationTitle","removeSelectionFromContext","quickActionData","isAvailable","getMessages","getConversation","lastInteraction","currentReply","ai-chat-conversation-set-model-null","addUrlToContext","text","stack","interactionCreated","3096324mHWBnU","stop","hasOwn","ai-chat-conversation-set-model-not-available","addFilesToContext","contextItems","1742684eegQpQ","ai-chat-conversation-init-failed","destroy","810414ChuoNl","82EWZsDu","webSearch","isStarted","updateCurrentDocument","toggleReasoning","start","ai-chat-handle-user-conversation-not-initialized","conversationStarted","toggleWebSearch","push","title","splice","connector","interactions","capabilities","find","sessionId","_processMessagesToInteractions","2260650qIpEgy","15800VEMKAB","role","assistant","isSelectionInContext","populateFromMessage","set","ai-chat-conversation-start-failed","ai-chat-conversation-already-started","removeFromContext","handleUserInteraction"];return(cb=function(){return t})()}!function(t){const e=ab,n=t();for(;;)try{if(331836===-parseInt(e(365))/1*(parseInt(e(384))/2)+parseInt(e(444))/3+-parseInt(e(361))/4+-parseInt(e(383))/5+parseInt(e(364))/6+parseInt(e(355))/7+parseInt(e(405))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(cb);class lb extends((0,s.EmitterMixin)()){id;[sb(367)]=!1;[sb(378)]=[];[sb(397)];[sb(420)];[sb(377)];[sb(434)];constructor(t){const e=sb;super(),this[e(434)]=t,this[e(377)]=t[e(377)],this[e(402)]=t[e(402)],this.id=t[e(394)]}async[sb(447)](t){const e=sb;try{this[e(431)]=new Q_({connector:this[e(377)],config:t,ownerId:this.id}),this[e(431)][e(417)](...K_).to(this),this[e(431)][e(447)](),this[e(415)]=new eb,this[e(415)][e(417)](...tb).to(this),this[e(415)][e(447)]();const n=await this[e(402)][e(395)]();this[e(439)](e(442),{availableModels:n});const r=await this[e(402)][e(418)](this[e(434)][e(443)]);r&&await this[e(404)](r)}catch(t){const n=new s.CKEditorError(e(362),null,{message:t[e(435)]});n[e(353)]=t[e(353)],this[e(439)](e(446),{error:n})}}async[sb(370)](){const t=sb;if(this[t(367)])throw new s.CKEditorError(t(391),null,{conversation:this});if(!this[t(420)])throw new s.CKEditorError(t(399),null,{conversation:this});try{const{id:e}=await this[t(377)][t(401)](this.id,this[t(434)][t(427)])[t(347)]();this.id=e,this[t(367)]=!0,this[t(439)](t(372),{conversationId:this.id,selectedModel:this[t(420)]})}catch(e){const n=new s.CKEditorError(t(390),null,{message:e[t(435)]});n[t(353)]=e[t(353)],this[t(439)](t(446),{error:n})}}async[sb(413)](t,e){const n=sb;try{const r=await this[n(377)][n(437)](t)[n(347)](),i=await this[n(377)][n(436)](t)[n(346)](),o=i[0][n(406)];this[n(367)]=!0,this.id=r.id,n(375)in r?this[n(439)](n(342),r[n(375)],!0):this[n(439)](n(342),"",!0);const s=(await this[n(402)][n(395)]())[n(380)](t=>t.id[n(448)]()===o[n(448)]());return this[n(420)]=s,this[n(439)](n(426),{selectedModel:s,isDisabled:!0}),await this[n(382)](i,e,o),this[n(397)]=void 0,this}catch(e){const r=new s.CKEditorError(n(411),null,{message:e[n(435)],conversationId:t});throw r[n(353)]=e[n(353)],this[n(439)](n(446),{error:r}),r}}async[sb(382)](t,e,n){const r=sb;let i;for(const o of t)if(r(410)===o[r(385)]){const t=await this[r(412)](o),e={isReasoningEnabled:Object[r(357)](o[r(379)],r(409)),isWebSearchEnabled:Object[r(357)](o[r(379)],r(366))};i=this[r(398)]({userMessage:o[r(452)],contextItems:t,capabilities:e,modelId:n,quickActionData:o[r(441)]?.[r(344)]}),this[r(397)]=i,this[r(431)][r(449)](this[r(397)][r(360)])}else if(r(386)===o[r(385)]&&i)for(const t of o[r(419)]){const n=r(352)===t[r(440)]?r(428):r(433),o=i[r(450)]()?.[r(381)]!==e;i[r(349)]=i[r(429)]({type:n,isDone:!0,interactionId:i.id,areActionsDisabled:o}),i[r(349)][r(421)](t[r(419)])}}async[sb(412)](t){const e=sb,n=new Map;if(!t[e(419)])return n;for(const r of t[e(419)]){const t=await this[e(431)][e(388)](r);t&&n[e(389)](t.id,t)}return n}async[sb(393)]({userMessage:t,quickActionData:e}){const n=sb;if(!this[n(367)])throw new s.CKEditorError(n(371),null,{conversation:this});if(this[n(397)])throw new s.CKEditorError(n(438),null,{conversation:this});try{const r=this[n(431)][n(425)](),i=this[n(415)][n(396)](),o=this[n(420)].id;this[n(397)]=this[n(398)]({userMessage:t,contextItems:r,capabilities:i,modelId:o,quickActionData:e}),await this[n(397)][n(370)](),this[n(431)][n(449)](this[n(397)][n(360)])}catch(t){this[n(439)](n(446),{interactionId:this[n(397)]?this[n(397)].id:void 0,error:t})}finally{this[n(397)]?.[n(356)](),this[n(397)]=void 0}}[sb(398)]({userMessage:t,contextItems:e,capabilities:n,modelId:r,quickActionData:i}){const o=sb,s=new ob({userMessage:t,contextItems:e,capabilities:n,conversationId:this.id,connector:this[o(377)],editor:this[o(434)][o(424)]&&this[o(434)][o(424)](),model:r,quickActionData:i});return s[o(417)](...D_).to(this),this[o(378)][o(374)](s),this[o(439)](o(354),s),s}[sb(414)](t){const e=sb;return this[e(378)][e(380)](e=>e.id===t)}[sb(423)](t){const e=sb,n=this[e(414)](t);n&&(n[e(363)](),this[e(378)][e(376)](this[e(378)][e(453)](n),1))}get[sb(348)](){const t=sb;return this[t(378)][this[t(378)][t(432)]-1]}[sb(416)](t){const e=sb;this[e(431)][e(416)](t)}async[sb(445)]({content:t,version:e,sessionId:n,selections:r}){const i=sb;await this[i(431)][i(368)](t,e,n,r)}[sb(403)](){const t=sb;return this[t(397)]?.[t(450)]()?.[t(419)]||""}[sb(451)](t){const e=sb;this[e(431)][e(451)](t)}[sb(343)](){const t=sb;this[t(431)][t(343)]()}[sb(359)](t){const e=sb;this[e(431)][e(359)](t)}[sb(351)](t){const e=sb;this[e(431)][e(351)](t)}[sb(407)](t,e){const n=sb;this[n(431)][n(407)](t,e)}[sb(430)](t,e,n){const r=sb;return this[r(431)][r(430)](t,e,n)}[sb(392)](t){const e=sb;this[e(431)][e(392)](t)}[sb(373)](){const t=sb;this[t(415)][t(373)]()}[sb(369)](){const t=sb;this[t(415)][t(369)]()}[sb(400)](){const t=sb;return this[t(431)][t(400)]()}[sb(422)](){const t=sb;return this[t(431)][t(422)]()}[sb(387)](){const t=sb;return this[t(431)][t(387)]()}async[sb(404)](t){const e=sb;if(!t)throw new s.CKEditorError(e(350),null,{conversation:this});if(!1===await this[e(402)][e(345)](t))throw new s.CKEditorError(e(358),null,{conversation:this,model:t});t.id!==this[e(420)]?.id&&(this[e(420)]=t,this[e(415)][e(408)](),this[e(439)](e(426),{selectedModel:t}))}}function ub(){var t=["2960116NwuHmr","get","701uvkfWT","4768211OkEtoj","ai-get-editor-from-context-no-editor","length","3788850xkIkdy","2638HNldul","5990165IZixsh","8pgBMhR","5152086XwHHlP","17307162qdYRlT","AIChat: Multiple editor instances detected. Only the first editor instance will be used for AI operations. This configuration is not fully supported and may lead to unexpected behavior.","10WWIXpB","editors","warn"];return(ub=function(){return t})()}function hb(t,e){var n=ub();return(hb=function(t,e){return n[t-=291]})(t,e)}function db(t){var e=hb;if(t instanceof i.Editor)return t;if(t?.[e(304)]&&t[e(304)][e(291)](0))return t[e(304)][e(295)]>1&&console[e(305)](e(302)),t[e(304)][e(291)](0);throw new s.CKEditorError(e(294))}!function(t){for(var e=hb,n=t();;)try{if(662759===-parseInt(e(292))/1*(-parseInt(e(297))/2)+parseInt(e(296))/3+parseInt(e(306))/4+parseInt(e(298))/5+-parseInt(e(300))/6+-parseInt(e(293))/7*(parseInt(e(299))/8)+-parseInt(e(301))/9*(parseInt(e(303))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ub);const pb=gb;function fb(){const t=["for","has","emptyElement","ai-selection","createRangeIn","12yixFft","context","15nioxUN","2236818KFZIHy","_getMarkersInDocumentOrder","getMarkersGroup","afterInit","isAfter","ck-fake-ai-selection","$textProxy","indexOf","editors","5TASJeF","setAttribute","substring","_sessionId","toView","toData","pluginName","selection","data-id","RealTimeCollaborationClient","removeAllRanges","getDocumentData","177932WLQdaZ","floor",":start></","isOfficialPlugin","9625341YZjzbj","get","createUIElement","getWalker","_integrateEditor","showFakeVisualSelection","getLastMatchingPosition","editingDowncast","addMarker",":start>","_nextDataId","isBefore","containerElement","getRoot","257102tAYDij","markerToHighlight","from","7496hLJKAS","3vDAwAK","hideFakeVisualSelection","change","ck-ai-assistant-ui_theme","conversion","isAtEnd","random","end","_displayedFakeSelectionId","sessionId","length","model","add","getChildren","AIEditing","getSelectedContent","trim","_displayedFakeSelectionLocked","markers","name","version","join","editing","plugins","element",":end></","start","getSelection","fromCharCode","removeMarker","ready",":end>","ai-selection:","push","isContent","listenTo","schema","data","2834811vuRkoX","getStart","document","createRange","processor","sort","getSelectionText","_setDataIdsOnChildren","convertAiChatSelectionMarker","markerToElement","4750060gCAzmR","view","4545ZcFJHG","dataDowncast","modelToViewWithIds","markerName","isPremiumPlugin","isOpening"];return(fb=function(){return t})()}function gb(t,e){const n=fb();return(gb=function(t,e){return n[t-=374]})(t,e)}!function(t){const e=gb,n=t();for(;;)try{if(242868===parseInt(e(457))/1*(-parseInt(e(453))/2)+parseInt(e(413))/3*(-parseInt(e(435))/4)+parseInt(e(423))/5*(parseInt(e(414))/6)+parseInt(e(388))/7+parseInt(e(456))/8*(parseInt(e(400))/9)+parseInt(e(398))/10+-parseInt(e(439))/11*(parseInt(e(411))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fb);const mb=pb(409);class kb extends i.ContextPlugin{[pb(465)]=null;[pb(474)]=!1;[pb(426)];static get[pb(429)](){return pb(471)}static get[pb(438)](){return!0}static get[pb(404)](){return!0}get[pb(466)](){const t=pb;if(!this[t(426)]){const e=db(this[t(412)]),n=e[t(480)][t(407)](t(432))&&e[t(480)][t(440)](t(432))[t(466)];this[t(426)]=n||(0,s.uid)()}return this[t(426)]}[pb(434)](){const t=pb,e=db(this[t(412)]),n=e[t(468)],r=e[t(387)][t(427)](n[t(390)][t(452)](),{convertAiChatSelectionMarker:!0}),i=new u.ViewDowncastWriter(e[t(479)][t(399)][t(390)]);this[t(395)](r,i);let o=e[t(387)][t(392)][t(428)](r);const s=this[t(415)](),a=[];for(const e of s){const n="<"+e[t(476)]+t(437)+e[t(476)]+t(448),r=o[t(421)](n);o=o[t(425)](0,r)+o[t(425)](r+n[t(467)]);const i="<"+e[t(476)]+t(375)+e[t(476)]+t(381),s=o[t(421)](i);o=o[t(425)](0,s)+o[t(425)](s+i[t(467)]),a[t(383)]({markerName:e[t(476)],start:r,end:s,htmlFragment:o[t(425)](r,s)})}return{content:o,version:e[t(468)][t(390)][t(477)],sessionId:this[t(466)],selections:a}}async[pb(417)](){const t=pb;this[t(412)]instanceof i.Editor?this[t(443)](this[t(412)]):this[t(385)](this[t(412)][t(422)],t(469),(e,n)=>{const r=t;n.on(r(380),()=>{this[r(443)](n)})})}[pb(443)](t){const e=pb;t[e(461)][e(406)](e(446))[e(454)]({model:e(409),view:{classes:[e(419),e(460)],priority:12}}),t[e(461)][e(406)](e(401))[e(397)]({model:e(409),view:(t,{writer:n,options:r})=>r[e(396)]?n[e(441)](t[e(403)]+":"+(t[e(405)]?e(376):e(464))):null})}[pb(444)](t,e,n=!1,r=!1){const i=pb;if(this[i(474)]&&!r)return!1;this[i(465)]&&this[i(458)](this[i(465)]),this[i(465)]=e,this[i(474)]=n;const o=db(this[i(412)])[i(468)];return o[i(459)](e=>{const n=i;let r=0;for(let i of t){const t=n(382)+r;if(i[n(376)][n(462)]){const t=i[n(376)][n(445)](({item:t})=>!o[n(386)][n(384)](t),{boundaries:i});i=e[n(391)](t,i[n(464)])}e[n(447)](t,{usingOperation:!1,affectsData:!1,range:i}),r++}}),window[i(377)]()?.[i(433)](),!0}[pb(458)](t){const e=pb;if(this[e(465)]!=t)return!1;this[e(465)]=null,this[e(474)]=!1;const n=db(this[e(412)]),r=n[e(468)][e(475)][e(416)](e(409));return n[e(468)][e(459)](t=>{const n=e;for(const e of r)t[n(379)](e)}),!0}[pb(402)](t){const e=pb,n=db(this[e(412)]),r=n[e(387)][e(427)](t),i=new u.ViewDowncastWriter(n[e(479)][e(399)][e(390)]);return this[e(395)](r,i),r}[pb(395)](t,e){const n=pb;let r=!1;const i=new Set;for(const o of t[n(470)]()){const t=o.is(n(408))||o.is(n(451));o.is(n(374))&&((this[n(395)](o,e)||t)&&(e[n(424)](n(431),this[n(449)](i),o),r=!0))}return r}[pb(449)](t){const e=pb;let n;do{n="";for(let t=0;t<4;t++)n+=String[e(378)](97+Math[e(436)](26*Math[e(463)]()))}while(t[e(407)](n));return t[e(469)](n),n}[pb(394)](){const t=pb,{model:e}=db(this[t(412)]),n=e[t(390)][t(430)],r=e[t(472)](n),i=[],o=e[t(410)](r)[t(442)]();for(const{item:e}of o)e.is(t(420))?i[t(383)](e[t(387)]):e.is(t(374))&&i[t(467)]>0&&" "!==i[i[t(467)]-1]&&i[t(383)](" ");return'"'+i[t(478)]("")[t(473)]()+'"'}[pb(415)](){const t=pb,e=db(this[t(412)])[t(468)];return Array[t(455)](e[t(475)][t(416)](t(409)))[t(393)]((e,n)=>e[t(389)]()[t(450)](n[t(389)]())?-1:e[t(389)]()[t(418)](n[t(389)]())?1:0)}}const _b=wb;!function(t){const e=wb,n=t();for(;;)try{if(820479===parseInt(e(212))/1+parseInt(e(200))/2+parseInt(e(220))/3*(-parseInt(e(195))/4)+parseInt(e(213))/5*(-parseInt(e(208))/6)+-parseInt(e(224))/7*(parseInt(e(225))/8)+parseInt(e(199))/9*(parseInt(e(217))/10)+-parseInt(e(223))/11*(parseInt(e(218))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ib);class bb extends((0,s.EmitterMixin)()){[_b(214)]=[];[_b(206)];constructor({connector:t}){const e=_b;super(),this[e(206)]=t}async[_b(205)](){const t=_b;if(!this[t(214)][t(202)]){const e=this[t(206)][t(203)](),n=(await e[t(210)]())[t(216)][t(219)]((e,n)=>{const r=t,i=Object[r(211)](e[r(201)])[r(198)](t=>t[r(197)])[r(202)];return Object[r(211)](n[r(201)])[r(198)](t=>t[r(197)])[r(202)]-i});this[t(214)]=n}return this[t(214)]}async[_b(196)](t){const e=_b,n=await this[e(205)]();if(!n[e(202)])return null;if(t){const r=n[e(209)](e=>e.id===t);if(r)return r;(0,s.logWarning)(e(222),{defaultModelId:t,fallBackModelId:n[0].id})}return n[0]}async[_b(221)](t){const e=_b;return(await this[e(205)]())[e(215)](n=>n[e(207)]===t[e(207)]&&n[e(204)]===t[e(204)])}}function wb(t,e){const n=Ib();return(wb=function(t,e){return n[t-=195]})(t,e)}function Ib(){const t=["420405NErCAh","_modelList","some","items","20IabjdD","420dWiesp","sort","6HBwudy","isAvailable","ai-chat-default-model-id-unrecognized","112145hOrGKS","175KtwVDa","72784biDkUs","910092CguCVU","getDefault","enabled","filter","5332446VOnLTV","374994xDBpZA","capabilities","length","getModels","provider","getAll","_connector","name","6HcvmqY","find","list","values","571396pGhlAN"];return(Ib=function(){return t})()}function vb(){const t=["isEnabled","collaboration.channelId","noPermissions","comment:modify_all","addCommentThread","get","327152xSAGSG","setPermissions","6wIIPAC","pluginName","permissions-set-permissions-invalid-channel-id","plugins","10RyEuEI","17742IWmfJq","comment:admin","isOfficialPlugin","55989jdUmiK","forceDisabled","config","has","context","CommentsOnly","75oERORZ","disableReadOnlyMode","editors","includes","no-permissions","isPremiumPlugin","104463fBsVca","clearForceDisabled","comment:write","commands","1583648MGojXO","find","Permissions","26574oYqiQC","19336NkdmZH","329GiXNdu","enableReadOnlyMode","CommentsRepository","document:write"];return(vb=function(){return t})()}const yb=Ab;function Ab(t,e){const n=vb();return(Ab=function(t,e){return n[t-=273]})(t,e)}!function(t){const e=Ab,n=t();for(;;)try{if(113700===parseInt(e(295))/1*(parseInt(e(281))/2)+parseInt(e(274))/3+-parseInt(e(293))/4+-parseInt(e(309))/5*(-parseInt(e(300))/6)+-parseInt(e(283))/7*(parseInt(e(282))/8)+parseInt(e(303))/9*(parseInt(e(299))/10)+parseInt(e(278))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vb);i.ContextPlugin,yb(296),yb(302),yb(273),yb(294);function Eb(t,e){const n=t.t;switch(e){case"Anonymous":return n("Anonymous");case"Yes":return n("Yes");case"No":return n("No");case"Are you sure?":return n("Are you sure?");case"Today":return n("Today");case"Yesterday":return n("Yesterday");case"Last":return n("Last");case"Monday":return n("Monday");case"Tuesday":return n("Tuesday");case"Wednesday":return n("Wednesday");case"Thursday":return n("Thursday");case"Friday":return n("Friday");case"Saturday":return n("Saturday");case"Sunday":return n("Sunday");default:return""}}var xb=n(545),Tb={attributes:{"data-cke":!0}};Tb.setAttributes=Et(),Tb.insert=yt().bind(null,"head"),Tb.domAPI=It(),Tb.insertStyleElement=Tt();bt()(xb.A,Tb);xb.A&&xb.A.locals&&xb.A.locals;const Cb=Rb;function Sb(){const t=["test","getBackgroundColorClass","decorate","pluginName","requires","getOperationAuthor","_getNextColor","_myId","string","users","_id","avatar","_computeInitials","1040dOltxf","_addAnonymousUser","has","useAnonymousUser","isPremiumPlugin","users-add-invalid-id","4257dHoDmt","initials","config","fromCodePoint","getMarkerClass","length","ck-user__marker--","users.getInitialsCallback","_getInitial","isMe","15952aqTlec","users-me-already-defined","isOfficialPlugin","color","_isMe","ck-user__selection--","toUpperCase","define","isAnonymous","split","users.colorsCount","6756yXVGxq","add","anonymous-user","filter","_isAnonymous","get","18898bpPidZ","defineMe","users.anonymousUserId","_locale","2TghLqw","init","context","594nzuACT","locale","Users","ck-user__bg-color--","getUser","321150GPGUDY","_lastColor","9002LAITwz","trim","name","users-me-missing-user","Anonymous","addUser","users-add-duplicated-id","codePointAt","7707360nKzlHC","1544046EOfBVw","12904urwJhF","getSelectionClass"];return(Sb=function(){return t})()}function Rb(t,e){const n=Sb();return(Rb=function(t,e){return n[t-=144]})(t,e)}!function(t){const e=Rb,n=t();for(;;)try{if(578575===-parseInt(e(207))/1*(-parseInt(e(199))/2)+parseInt(e(146))/3+parseInt(e(178))/4*(parseInt(e(162))/5)+-parseInt(e(202))/6*(parseInt(e(209))/7)+parseInt(e(147))/8*(-parseInt(e(168))/9)+parseInt(e(145))/10+-parseInt(e(195))/11*(parseInt(e(189))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Sb);i.ContextPlugin,Cb(158),Cb(208),Cb(156),Cb(198),Cb(152),Cb(180),Cb(166),Cb(153),Cb(200),Cb(214),Cb(206),Cb(165),Cb(196),Cb(154),Cb(155),Cb(163);Cb(181),Cb(211),Cb(169),Cb(160),Cb(182),Cb(193),Cb(186),Cb(177),Cb(161),Cb(176);Cb(159),Cb(150),Cb(148),Cb(172);var Ob=n(910),Nb={attributes:{"data-cke":!0}};Nb.setAttributes=Et(),Nb.insert=yt().bind(null,"head"),Nb.domAPI=It(),Nb.insertStyleElement=Tt();bt()(Ob.A,Nb);Ob.A&&Ob.A.locals&&Ob.A.locals;const Lb=Pb;function Pb(t,e){const n=Mb();return(Pb=function(t,e){return n[t-=188]})(t,e)}function Mb(){const t=["avatar","isAnonymous","ck-user__notification","name","extendTemplate","ck-user__img","ck ck-user__name ck-user__name--hidden","11gnQBOi","div","setTemplate","3032365LFqMTn","33549720gtXxqi","ck-user__anonymous","ck-user__icon","ck-user__avatar","4615722EdbbmD","initials","128FUzNvz","content","699NBzzhV","notificationView","ck-user","ck-user_me","ck ck-user__name","6WujiQh","6524810DFAHIv","4127405zdQtvl","4KzlEle","push","553698MDksrr","1354GkXXCQ","isMe","url('"];return(Mb=function(){return t})()}!function(t){const e=Pb,n=t();for(;;)try{if(803654===-parseInt(e(201))/1*(-parseInt(e(212))/2)+-parseInt(e(197))/3*(parseInt(e(209))/4)+parseInt(e(208))/5*(-parseInt(e(206))/6)+-parseInt(e(192))/7+parseInt(e(199))/8*(parseInt(e(211))/9)+-parseInt(e(207))/10+parseInt(e(189))/11*(parseInt(e(193))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mb);a.View,Lb(218),Lb(202);function Db(){var t=["14WZubCx","30HzkIGe","644580iBVokS","131623IpcrtU","span","3578355iAYsNG","498248fwzzpb","675640XLaiKe","ck-aria-description","setTemplate","ck-aria-description-","23425NIQsqh","496320WxNyUV"];return(Db=function(){return t})()}function Hb(t,e){var n=Db();return(Hb=function(t,e){return n[t-=237]})(t,e)}!function(t){for(var e=Hb,n=t();;)try{if(215540===parseInt(e(248))/1+parseInt(e(239))/2+-parseInt(e(244))/3+parseInt(e(247))/4+-parseInt(e(243))/5*(-parseInt(e(246))/6)+parseInt(e(245))/7*(parseInt(e(238))/8)+-parseInt(e(237))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Db);a.View;var Bb=Ub;function Ub(t,e){var n=Fb();return(Ub=function(t,e){return n[t-=189]})(t,e)}!function(t){for(var e=Ub,n=t();;)try{if(506391===parseInt(e(203))/1+-parseInt(e(205))/2*(-parseInt(e(195))/3)+-parseInt(e(192))/4+parseInt(e(202))/5+-parseInt(e(189))/6+-parseInt(e(204))/7*(parseInt(e(200))/8)+-parseInt(e(199))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Fb);a.ButtonView,Bb(198);class Vb extends a.DropdownButtonView{[Bb(198)](){super[Bb(198)](),qb(this)}}function qb(t){var e=Bb;t[e(191)](t[e(196)],e(193),(t,n)=>{var r=e;n[r(190)](),n[r(194)]()}),t[e(191)](t[e(196)],e(201),()=>{var n=e;t[n(196)][n(197)]()})}function Fb(){var t=["706098urXaQs","12327BhlcKV","156038FVITyr","2420478cIocfn","stopPropagation","listenTo","1286508hGAtrT","mousedown","preventDefault","36IjxSuM","element","focus","render","4746294TcmjkR","688WLwqOi","mouseup","1339585YUMLnX"];return(Fb=function(){return t})()}class zb extends Error{}class Gb extends zb{constructor(){super("Zone is an abstract class")}}class jb{get type(){throw new Gb}get name(){throw new Gb}get ianaName(){return this.name}get isUniversal(){throw new Gb}offsetName(t,e){throw new Gb}formatOffset(t,e){throw new Gb}offset(t){throw new Gb}equals(t){throw new Gb}get isValid(){throw new Gb}}const Wb=new Map;const Yb={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Kb=new Map;class $b extends jb{static create(t){let e=Kb.get(t);return void 0===e&&Kb.set(t,e=new $b(t)),e}static resetCache(){Kb.clear(),Wb.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=$b.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return iw(t,e,n,this.name)}formatOffset(t,e){return sw(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=Wb.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Wb.set(t,e)),e}(this.name);let[r,i,o,s,a,c,l]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:i}=n[t],o=Yb[e];"era"===e?r[o]=i:Jb(o)||(r[o]=parseInt(i,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,o,s,a,c,l,u]=r;return[s,i,o,a,c,l,u]}(n,e);"BC"===s&&(r=1-Math.abs(r));let u=+e;const h=u%1e3;return u-=h>=0?h:1e3+h,(rw({year:r,month:i,day:o,hour:24===a?0:a,minute:c,second:l,millisecond:0})-u)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}new Map;new Map;new Map;new Map;new Map;let Qb=null;class Xb extends jb{static get utcInstance(){return null===Qb&&(Qb=new Xb(0)),Qb}static instance(t){return 0===t?Xb.utcInstance:new Xb(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Xb(ow(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sw(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sw(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sw(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}const Zb={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};Zb.hanidec.replace(/[\[|\]]/g,"").split("");new Map;function Jb(t){return void 0===t}function tw(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function ew(t){return Jb(t)||null===t||""===t?void 0:parseInt(t,10)}function nw(t){if(!Jb(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function rw(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function iw(t,e,n,r=null){const i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(n,s).formatToParts(i).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function ow(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function sw(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${tw(n,2)}:${tw(r,2)}`;case"narrow":return`${i}${n}${r>0?`:${r}`:""}`;case"techie":return`${i}${tw(n,2)}${tw(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}const aw=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function cw(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function lw(...t){return e=>t.reduce(([t,n,r],i)=>{const[o,s,a]=i(e,r);return[{...t,...o},s||n,a]},[{},null,1]).slice(0,2)}function uw(...t){return(e,n)=>{const r={};let i;for(i=0;i<t.length;i++)r[t[i]]=ew(e[n+i]);return[r,null,n+i]}}const hw=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,dw=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,pw=RegExp(`${dw.source}${`(?:${hw.source}?(?:\\[(${aw.source})\\])?)?`}`),fw=RegExp(`(?:T${pw.source})?`),gw=uw("weekYear","weekNumber","weekDay"),mw=uw("year","ordinal"),kw=RegExp(`${dw.source} ?(?:${hw.source}|(${aw.source}))?`),_w=RegExp(`(?: ${kw.source})?`);function bw(t,e,n){const r=t[e];return Jb(r)?n:ew(r)}function ww(t,e){return[{hours:bw(t,e,0),minutes:bw(t,e+1,0),seconds:bw(t,e+2,0),milliseconds:nw(t[e+3])},null,e+4]}function Iw(t,e){const n=!t[e]&&!t[e+1],r=ow(t[e+1],t[e+2]);return[{},n?null:Xb.instance(r),e+3]}function vw(t,e){return[{},t[e]?$b.create(t[e]):null,e+1]}RegExp(`^T?${dw.source}$`);cw(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,fw),cw(/(\d{4})-?W(\d\d)(?:-?(\d))?/,fw),cw(/(\d{4})-?(\d{3})/,fw),cw(pw),lw(function(t,e){return[{year:bw(t,e),month:bw(t,e+1,1),day:bw(t,e+2,1)},null,e+3]},ww,Iw,vw),lw(gw,ww,Iw,vw),lw(mw,ww,Iw,vw),lw(ww,Iw,vw);lw(ww);cw(/(\d{4})-(\d\d)-(\d\d)/,_w),cw(kw),lw(ww,Iw,vw);const yw={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Aw=365.2425,Ew=30.436875,xw=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];xw.slice(0).reverse();Symbol.for("nodejs.util.inspect.custom");Symbol.for("nodejs.util.inspect.custom");const Tw=`[ ${String.fromCharCode(160)}]`;new RegExp(Tw,"g");new Map;Symbol.for("nodejs.util.inspect.custom");function Cw(t,e){const n=Sw();return(Cw=function(t,e){return n[t-=417]})(t,e)}function Sw(){const t=["toFormat","6SBgSzu","'Yesterday' hh:mma","'Last' EEEE hh:mma","Last","4942408BexkEI","EEEE","diff","5545302KJDAIG","invalid-date-time-format","now","toJSDate","string","12489615JWaxwg","Today","'Today' hh:mma","floor","46058ZImXMR","1390776xzxPft","fromJSDate","Yesterday","dateTimeFormat","687288isQwWX","function","fromISO","LL-dd-yyyy hh:mma","hh:mma","days","3806080wsIcFC","25AcIdRx"];return(Sw=function(){return t})()}function Rw(t,e){const n=Ow();return(Rw=function(t,e){return n[t-=124]})(t,e)}function Ow(){const t=["4712031jeJwFB","8WhqclZ","view","from","mapper","1602256Btbmsb","2190726HzanUS","2864136bJYbTj","name","markerNameToElements","6274816zRnghA","2828035rHNifn","filter","map","domElement","sort","values","length","domConverter","push","getClientRects","mapViewToDom","6181819ymLhJw","item"];return(Ow=function(){return t})()}function Nw(t,e){const n=Lw();return(Nw=function(t,e){return n[t-=274]})(t,e)}!function(t){const e=Cw,n=t();for(;;)try{if(584757===-parseInt(e(446))/1*(-parseInt(e(434))/2)+parseInt(e(418))/3*(parseInt(e(435))/4)+parseInt(e(445))/5+parseInt(e(439))/6+-parseInt(e(425))/7+parseInt(e(422))/8+-parseInt(e(430))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Sw),function(t){const e=Rw,n=t();for(;;)try{if(850846===parseInt(e(124))/1+-parseInt(e(126))/2+-parseInt(e(143))/3+parseInt(e(129))/4+-parseInt(e(130))/5+parseInt(e(125))/6+parseInt(e(141))/7*(parseInt(e(144))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ow);function Lw(){const t=["1169xNcvQg","78511URnjfV","4448UOleEi","26165ztKvzN","401388itPhIy","replace","substring","match","indexOf","16uBJymH","pop","5550540jatWKo","length","join","slice","642koNxFu","11iPsRrj","push","split","912060bgnetJ","14GoXlUT","startsWith","...","9347316CuIieG"];return(Lw=function(){return t})()}!function(t){const e=Nw,n=t();for(;;)try{if(358923===-parseInt(e(289))/1*(-parseInt(e(284))/2)+-parseInt(e(292))/3*(parseInt(e(297))/4)+-parseInt(e(291))/5*(-parseInt(e(279))/6)+parseInt(e(288))/7*(-parseInt(e(290))/8)+parseInt(e(283))/9+parseInt(e(275))/10*(parseInt(e(280))/11)+-parseInt(e(287))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lw);var Pw=n(909),Mw={attributes:{"data-cke":!0}};Mw.setAttributes=Et(),Mw.insert=yt().bind(null,"head"),Mw.domAPI=It(),Mw.insertStyleElement=Tt();bt()(Pw.A,Mw);Pw.A&&Pw.A.locals&&Pw.A.locals;function Dw(){const t=["shift+tab","18743jHmTGV","ck-confirm-view-","element","submit","5pqNzfC","render","ck-confirm-view-inner","Yes","3326466eHkBrD","ck-confirm-view","bindTemplate","ck-confirm-view-actions","cancelView","27420030XwQiwn","112hPGmpp","focusCycler","focusables","extendTemplate","_createButtonView","label","cancel","16PYZWUZ","icon","9002340OWYITP","execute","756519FZisJB","tab","keystrokes","Are you sure?","focusTracker","presentation","12HYyeuM","7785820cqweYq","2826072RlhGmD","submitView","setTemplate","esc","createCollection","set","message","27IbXwIT","_setupKeyboardNavigation","forEach","div","fire","add","listenTo","focus","alertdialog"];return(Dw=function(){return t})()}const Hw=Bw;function Bw(t,e){const n=Dw();return(Bw=function(t,e){return n[t-=343]})(t,e)}!function(t){const e=Bw,n=t();for(;;)try{if(727770===-parseInt(e(365))/1*(parseInt(e(379))/2)+parseInt(e(390))/3*(-parseInt(e(386))/4)+parseInt(e(369))/5*(-parseInt(e(373))/6)+-parseInt(e(347))/7+parseInt(e(348))/8*(parseInt(e(355))/9)+parseInt(e(388))/10+parseInt(e(378))/11*(parseInt(e(346))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dw);class Uw extends a.View{[Hw(349)];[Hw(377)];[Hw(344)];[Hw(392)];[Hw(380)];[Hw(381)];constructor(t){const e=Hw;super(t);const n=this[e(375)];this[e(353)](e(354),Eb(t,e(343))),this[e(349)]=this[e(383)](t,Eb(t,e(372)),o.IconCheck,e(368)),this[e(377)]=this[e(383)](t,Eb(t,"No"),o.IconCancel,e(385)),this[e(381)]=this[e(352)]([this[e(349)],this[e(377)]]),this[e(344)]=new s.FocusTracker,this[e(392)]=new s.KeystrokeHandler,this[e(380)]=new a.FocusCycler({focusables:this[e(381)],focusTracker:this[e(344)],keystrokeHandler:this[e(392)],actions:{focusPrevious:e(364),focusNext:e(391)}}),this[e(350)]({tag:e(358),attributes:{class:["ck",e(374)],tabindex:-1,role:e(363)},children:[{tag:e(358),attributes:{class:e(371),role:e(345)},children:[{tag:"p",children:[{text:n.to(e(354))}]},{tag:e(358),attributes:{class:e(376)},children:[this[e(349)],this[e(377)]]}]}]})}[Hw(370)](){const t=Hw;super[t(370)](),this[t(356)]()}[Hw(362)](){const t=Hw;this[t(377)][t(367)][t(362)]({preventScroll:!0})}[Hw(383)](t,e,n,r){const i=Hw,o=new a.ButtonView(t);return o[i(384)]=e,o[i(387)]=n,o[i(382)]({attributes:{class:i(366)+r}}),o.on(i(389),()=>this[i(359)](r)),o}[Hw(356)](){const t=Hw;this[t(381)][t(357)](e=>{const n=t;this[n(392)][n(361)](e[n(367)]),this[n(344)][n(360)](e[n(367)])}),this[t(392)][t(353)](t(351),(e,n)=>{const r=t;this[r(359)](r(385)),n()})}}function Vw(t,e){var n=qw();return(Vw=function(t,e){return n[t-=305]})(t,e)}function qw(){var t=["isConfirm","75943eIrchd","add","40xRonAt","1868666KZvVKy","confirmView","element","showConfirm","once","fire","615zDIQEt","change:isConfirm","locale","removeConfirm","32Acacmt","remove","destroy","classList","focus","deregisterChild","cancel","471420ABEQcl","appendChild","submit","set","registerChild","1929987HSaXXa","render","message","cancelConfirm","_removeConfirm","4571466Imgaza","7138087rlGOLw","1THLDIA","6052pMCBEX","ck-confirm-view-active"];return(qw=function(){return t})()}function Fw(t,e){const n=zw();return(Fw=function(t,e){return n[t-=276]})(t,e)}function zw(){const t=["number","2285232nxfYZS","3867645iwJdfs","14AEnidz","4740570sOakrL","charCodeAt","object","77DgASKX","4ENfuaO","string","isArray","7422768AHSdCQ","1563173KrjRnn","4841400wZITTw","sign","keys","sort","toString","5QSvexj","1841794iwKzwo"];return(zw=function(){return t})()}function Gw(){const t=["find","_context","986760VMpMrO","removePlugins","210910xQwHhV","every","prototype","get","requires","length","extraPlugins","constructor","DocumentOutline","toolbar","pluginName","map","453469QVTxOq","config","names","set","from","plugins","165mJyzfi","498045oRuIvT","initialData","WebSocketGateway","concat","467775aigncF","includes","2EaDcjr","WProofreader","rootsAttributes","filter","has","Autosave","WordCount","string","RevisionTracker","builtinPlugins","context","1964KYqHcr","146752OxHZBR"];return(Gw=function(){return t})()}!function(t){for(var e=Vw,n=t();;)try{if(512496===parseInt(e(309))/1*(-parseInt(e(316))/2)+-parseInt(e(322))/3*(parseInt(e(310))/4)+parseInt(e(333))/5+-parseInt(e(307))/6+-parseInt(e(313))/7*(-parseInt(e(326))/8)+-parseInt(e(338))/9+parseInt(e(315))/10*(parseInt(e(308))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qw),function(t){const e=Fw,n=t();for(;;)try{if(816052===parseInt(e(289))/1+-parseInt(e(276))/2+parseInt(e(279))/3*(parseInt(e(285))/4)+-parseInt(e(295))/5*(-parseInt(e(290))/6)+-parseInt(e(280))/7*(-parseInt(e(278))/8)+parseInt(e(288))/9+-parseInt(e(281))/10*(parseInt(e(284))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zw);const jw=Ww;function Ww(t,e){const n=Gw();return(Ww=function(t,e){return n[t-=395]})(t,e)}!function(t){const e=Ww,n=t();for(;;)try{if(398632===parseInt(e(403))/1*(parseInt(e(416))/2)+parseInt(e(410))/3+parseInt(e(427))/4*(-parseInt(e(409))/5)+-parseInt(e(431))/6+parseInt(e(433))/7+-parseInt(e(428))/8+-parseInt(e(414))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Gw);jw(411),jw(426),jw(400),jw(418),jw(412),jw(424),jw(421),jw(422),jw(399),jw(417);function Yw(){const t=["18556TxxsjV","8525760yLMKol","markers","push","23090EPekfm","isEqual","end","change:range","containsPosition","40711437ADzkyH","13745776fzKphL","113aZbQGJ","start","document","2493183rCNAtl","1119678HfXLqm","selection","includes","focus","getRange","5etVMAx","length"];return(Yw=function(){return t})()}function Kw(t,e){const n=Yw();return(Kw=function(t,e){return n[t-=449]})(t,e)}!function(t){const e=Kw,n=t();for(;;)try{if(906650===parseInt(e(461))/1*(parseInt(e(454))/2)+parseInt(e(464))/3+parseInt(e(450))/4*(-parseInt(e(470))/5)+parseInt(e(451))/6+parseInt(e(465))/7+parseInt(e(460))/8+-parseInt(e(459))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yw);const $w=Qw;!function(t){const e=Qw,n=t();for(;;)try{if(364407===parseInt(e(214))/1+-parseInt(e(205))/2+parseInt(e(200))/3*(parseInt(e(195))/4)+-parseInt(e(189))/5*(-parseInt(e(198))/6)+parseInt(e(217))/7+parseInt(e(202))/8*(-parseInt(e(193))/9)+parseInt(e(196))/10*(-parseInt(e(197))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xw);$w(204);function Qw(t,e){const n=Xw();return(Qw=function(t,e){return n[t-=184]})(t,e)}function Xw(){const t=["focusFirst","4XIQEaA","10wqxzli","3801281QwJtxa","18TgVgUh","arrowup","33951WQeYtu","added","1816bQaOqP","fire","Ctrl+Shift+E","559320Xydrti","add","remove","removed","esc","arrowdown","keys","actions","escape","672060yTpUvr","unchain","listenTo","1006852ZYpRjL","enter","focus","from","element","focusTracker","keystrokes","focusCycler","isRendered","chain","target","set","503005GNBXTr","change","stopListening","reverse","5526utInRQ"];return(Xw=function(){return t})()}class Zw{diff(t,e,n={}){let r;"function"==typeof n?(r=n,n={}):"callback"in n&&(r=n.callback);const i=this.castInput(t,n),o=this.castInput(e,n),s=this.removeEmpty(this.tokenize(i,n)),a=this.removeEmpty(this.tokenize(o,n));return this.diffWithOptionsObj(s,a,n,r)}diffWithOptionsObj(t,e,n,r){var i;const o=t=>(t=this.postProcess(t,n),r?void setTimeout(function(){r(t)},0):t),s=e.length,a=t.length;let c=1,l=s+a;null!=n.maxEditLength&&(l=Math.min(l,n.maxEditLength));const u=null!==(i=n.timeout)&&void 0!==i?i:1/0,h=Date.now()+u,d=[{oldPos:-1,lastComponent:void 0}];let p=this.extractCommon(d[0],e,t,0,n);if(d[0].oldPos+1>=a&&p+1>=s)return o(this.buildValues(d[0].lastComponent,e,t));let f=-1/0,g=1/0;const m=()=>{for(let r=Math.max(f,-c);r<=Math.min(g,c);r+=2){let i;const c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){const t=l.oldPos-r;u=l&&0<=t&&t<s}const h=c&&c.oldPos+1<a;if(u||h){if(i=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),p=this.extractCommon(i,e,t,r,n),i.oldPos+1>=a&&p+1>=s)return o(this.buildValues(i.lastComponent,e,t))||!0;d[r]=i,i.oldPos+1>=a&&(g=Math.min(g,r-1)),p+1>=s&&(f=Math.max(f,r+1))}else d[r]=void 0}c++};if(r)!function t(){setTimeout(function(){if(c>l||Date.now()>h)return r(void 0);m()||t()},0)}();else for(;c<=l&&Date.now()<=h;){const t=m();if(t)return t}}addToPath(t,e,n,r,i){const o=t.lastComponent;return o&&!i.oneChangePerToken&&o.added===e&&o.removed===n?{oldPos:t.oldPos+r,lastComponent:{count:o.count+1,added:e,removed:n,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+r,lastComponent:{count:1,added:e,removed:n,previousComponent:o}}}extractCommon(t,e,n,r,i){const o=e.length,s=n.length;let a=t.oldPos,c=a-r,l=0;for(;c+1<o&&a+1<s&&this.equals(n[a+1],e[c+1],i);)c++,a++,l++,i.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(t.lastComponent={count:l,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=a,c}equals(t,e,n){return n.comparator?n.comparator(t,e):t===e||!!n.ignoreCase&&t.toLowerCase()===e.toLowerCase()}removeEmpty(t){const e=[];for(let n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e}castInput(t,e){return t}tokenize(t,e){return Array.from(t)}join(t){return t.join("")}postProcess(t,e){return t}get useLongestToken(){return!1}buildValues(t,e,n){const r=[];let i;for(;t;)r.push(t),i=t.previousComponent,delete t.previousComponent,t=i;r.reverse();const o=r.length;let s=0,a=0,c=0;for(;s<o;s++){const t=r[s];if(t.removed)t.value=this.join(n.slice(c,c+t.count)),c+=t.count;else{if(!t.added&&this.useLongestToken){let r=e.slice(a,a+t.count);r=r.map(function(t,e){const r=n[c+e];return r.length>t.length?r:t}),t.value=this.join(r)}else t.value=this.join(e.slice(a,a+t.count));a+=t.count,t.added||(c+=t.count)}}return r}}const Jw=new class extends Zw{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}};const tI=oI;!function(t){const e=oI,n=t();for(;;)try{if(719915===-parseInt(e(445))/1+parseInt(e(511))/2+parseInt(e(480))/3*(parseInt(e(573))/4)+parseInt(e(545))/5*(-parseInt(e(425))/6)+parseInt(e(407))/7*(parseInt(e(497))/8)+-parseInt(e(544))/9+parseInt(e(579))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rI);const eI=tI(570),nI=tI(483);function rI(){const t=["_operationsData","_getAttrsForOffsets","tokens","model","2242557rOgfYX","2380045zmAvpB","container","offsetSize","first","change","_getAttributeChanges","type","set","isInline","_calculateMarkersOperationsData","reduce","name","isPremiumPlugin","$markedRemove","range","_editor","$markedRemove:","added","remove","_findUnclosedBlockOpeningToken","rename","category","entries","_anchor","for","$elementId","start","_handleElementRename","123356MoexrN","sort","editor","viewItem","splice","root","18950590blGzXI","documentcompare-no-editor","graveyard","data","forEach","49rELMJg","setAttribute","_traverseOverItem","getAttributes","parent","parse","ready","$textProxy","text","startsWith","before","nextSibling","listenTo","length","getOperationsData","offset","elementEnd","get","12EVQzya","string","merge","solid","oldValue","main","previousPosition","_makeTokensFromTextByWords","startOffset","document","after","createPositionAt","block","pop","newName","split","_integrateEditor","marker","markers","maxOffset","1391317TwSxsQ","getChildAtOffset","_makeModelFromTokens","lowest","init","addAttributeCheck","isOfficialPlugin","_handleChanged","end","_markDeletions","upcast","_parents","_getElementCategory","_handleElementAttributeChanges","_handleTextAttributeChanges","oldName","_getPositionFromAnchorAndPath","getOperations","_path","slice","removed","NEGATIVE_INFINITY","anchor","_tokenizeModel","version","getRoot","conversion","limitId","pluginName","howMany","isLimit","index","filter","schema","markedRemove","93IWmSJH","elementId","getDiff","data-id","markDeletions","_createFromPositionAndShift","map","DocumentCompare","stringify","related","isMarkedRemoveOperation","isBlock","_diffModelTokens","_diffItems","_createAt","matchAll","getShiftedBy","234952lFPMEe","isContent","unshift","add","shift","_clone","context","flatMap","element","unchanged","push","getAttribute","unwrap","elementStart","511544uwJbNC","newValue","path","_handleUnchanged","getPath","attribute","key","writer","insert","fill","_createIn","from","value","editors","_calculateOperationsData","getItems","item","_handleUnwraps","modelRange","null","token","_handleWraps","model-diff-incorrect-matching-and-closing-tags","isStart","wrap","documentcompare-compare-no-root","_removeAttribute","_handleUnclosedBlockOpeningTags","clone"];return(rI=function(){return t})()}class iI extends i.ContextPlugin{static get[tI(473)](){return tI(487)}static get[tI(451)](){return!0}static get[tI(557)](){return!0}async[tI(449)](){const t=tI;this[t(503)]instanceof i.Editor?this[t(441)](this[t(503)]):this[t(419)](this[t(503)][t(524)],t(500),(e,n)=>{const r=t;n.on(r(413),()=>{this[r(441)](n)})})}get[tI(575)](){const t=tI;if(this[t(503)]instanceof i.Editor)return this[t(503)];{const e=this[t(503)][t(524)][t(548)];if(!e)throw new s.CKEditorError(t(403),this);return e}}[tI(482)](t,e,n={anchor:tI(430),markDeletions:!1}){const r=tI;let i,o;const a=this[r(575)];if(r(426)==typeof n[r(467)]){const t=a[r(543)][r(434)][r(470)](n[r(467)]);if(!t)throw new s.CKEditorError(r(536),this,{anchor:n[r(467)]});i=t,o=a[r(543)][r(436)](t,0)}else i=n[r(467)][r(539)](),o=n[r(467)][r(539)]();const c=a[r(405)][r(412)](t,i),l=a[r(405)][r(412)](e,i);return new sI(c,l,a,{anchor:o,markDeletions:n[r(484)]})}[tI(490)](t){const e=tI;return e(442)==t[e(551)]&&t[e(556)][e(416)](e(558))}[tI(441)](t){const e=tI;t[e(471)][e(569)](e(455))[e(500)](t=>{const n=e;t.on(n(505),(t,e,r)=>{const i=n;if(e[i(529)])for(const t of e[i(529)][i(526)]({shallow:!0})){if(t.is(i(414)))continue;const n=e[i(576)][i(508)](i(483));n&&r[i(518)][i(408)](i(570),n,t)}},{priority:n(448)})}),t[e(543)][e(478)][e(450)](()=>!0,e(570))}}function oI(t,e){const n=rI();return(oI=function(t,e){return n[t-=403]})(t,e)}class sI{[tI(560)];[tI(493)]=[];[tI(540)]=[];[tI(454)];[tI(568)];[tI(463)]=[0];[tI(456)]=[];constructor(t,e,n,r){const i=tI;this[i(560)]=n,this[i(454)]=!!r[i(484)],this[i(568)]=r[i(467)];const o=this[i(468)](t),s=this[i(468)](e);this[i(493)]=this[i(492)](o,s),this[i(525)](),this[i(454)]||this[i(554)](t[i(443)],e[i(443)])}[tI(421)](){return this[tI(540)]}[tI(462)](){const t=tI,e=this[t(560)][t(543)][t(434)],n=[];let r=e[t(469)];for(const i of this[t(540)])switch(i[t(551)]){case t(516):{const e=this[t(461)](this[t(568)],i[t(513)]),o=e[t(496)](i[t(474)]),s=new u.ModelRange(e,o),a=JSON[t(412)](i[t(429)]),c=JSON[t(412)](i[t(512)]);n[t(507)](new u.AttributeOperation(s,i[t(517)],a,c,r++));break}case t(519):{const e=this[t(461)](this[t(568)],i[t(513)]),o=this[t(447)](i[t(542)]);n[t(507)](new u.InsertOperation(e,o,r++));break}case t(563):{const o=this[t(461)](this[t(568)],i[t(513)]),s=new u.ModelPosition(e[t(404)],[0]);n[t(507)](new u.MoveOperation(o,i[t(474)],s,r++));break}case t(565):{const e=this[t(461)](this[t(568)],i[t(513)]);n[t(507)](new u.RenameOperation(e,i[t(460)],i[t(439)],r++));break}case t(440):{const e=this[t(461)](this[t(568)],i[t(513)]),o=this[t(461)](this[t(568)],i[t(513)][t(464)](0,-1));o[t(422)]++,n[t(507)](new u.SplitOperation(e,Number[t(466)],o,null,r++));break}case t(427):{const o=i[t(513)][t(464)](),s=o[t(464)](0,-1);s[s[t(420)]-1]++,s[t(507)](0);const a=this[t(461)](this[t(568)],s),c=this[t(461)](this[t(568)],o),l=new u.ModelPosition(e[t(404)],[0]);n[t(507)](new u.MergeOperation(a,Number[t(466)],c,l,r++));break}case t(442):case t(479):{let o=null;if(i[t(559)]){const e=this[t(461)](this[t(568)],i[t(559)][t(571)]),n=this[t(461)](this[t(568)],i[t(559)][t(453)]);o=new u.ModelRange(e,n)}const a=t(442)==i[t(551)]?i[t(556)]:t(561)+(0,s.uid)();n[t(507)](new u.MarkerOperation(a,null,o,e[t(543)][t(443)],!0,r++));break}case t(509):{const o=i[t(513)][t(464)]();o[t(507)](0);const s=i[t(513)][t(464)](),a=this[t(461)](this[t(568)],o),c=this[t(461)](this[t(568)],s),l=new u.ModelPosition(e[t(404)],[0]);n[t(507)](new u.MoveOperation(a,i[t(474)],c,r++)),n[t(507)](new u.MoveOperation(c[t(496)](i[t(474)]),1,l,r++));break}case t(535):{const e=this[t(461)](this[t(568)],i[t(559)][t(571)]),o=this[t(461)](this[t(568)],i[t(559)][t(453)]),s=i[t(531)][t(505)][t(502)](!1),a=i[t(559)][t(453)][t(464)]();a[t(507)](0);const c=this[t(461)](this[t(568)],a);n[t(507)](new u.InsertOperation(o,s,r++)),n[t(507)](new u.MoveOperation(e,o[t(422)]-e[t(422)],c,r++));break}}return n}[tI(468)](t){const e=tI,n=[],r=u.ModelRange[e(521)](t),i=new u.ModelTreeWalker({boundaries:r});let o="",a=null;const c=[""],l=new Map;for(const t of i)if(e(510)==t[e(551)]||e(423)==t[e(551)]){let r=c[0];""!==o&&(n[e(507)](...this[e(432)](o,a,r)),o="");const i=t[e(527)];let u;i[e(508)](e(570))?u=i[e(508)](e(570)):e(510)==t[e(551)]?(u=(0,s.uid)(),l[e(552)](i,u)):u=l[e(424)](i);const h=this[e(457)](i);e(428)==h&&(e(510)==t[e(551)]?(r=u||"",c[e(499)](r)):c[e(501)]());const d={type:e(505),element:i,elementId:u,category:h,isStart:e(510)==t[e(551)],limitId:r};n[e(507)](d)}else""==o&&(a=t[e(431)][e(539)]()),o+=t[e(527)][e(405)];return""!==o&&n[e(507)](...this[e(432)](o,a,c[0])),n}[tI(432)](t,e,n){const r=tI,i=t[r(495)](/(\s)/g),o=Array[r(522)](i)[r(486)](t=>t[r(476)]);o[r(507)](t[r(420)]),0==o[0]&&o[r(501)]();const s=[],a=e[r(411)];let c=0,l=e[r(422)];for(let i=0;i<o[r(420)];i++)s[r(507)]({type:r(415),data:t[r(464)](c,o[i]),parent:a,offset:l,limitId:n}),c=o[i],l=e[r(422)]+o[i];return s}[tI(457)](t){const e=tI,n=this[e(560)][e(543)][e(478)];return n[e(475)](t)||n[e(498)](t)||n[e(553)](t)?e(428):n[e(491)](t)?e(437):e(546)}[tI(492)](t,e){const n=tI,r=function(t,e,n){return Jw.diff(t,e,n)}(t,e,{comparator:aI});this[n(538)](r);const i=r[n(504)](t=>{const e=n,r=t[e(562)]?e(562):t[e(465)]?e(465):e(506);return t[e(523)][e(486)](t=>({token:t,change:r}))});let o=0;for(const e of i)n(562)!=e[n(549)]&&(n(506)==e[n(549)]&&(e[n(417)]=t[o]),o++);return i}[tI(538)](t){const e=tI;for(let n=0;n<t[e(420)]-1;n++)if(t[n][e(465)]&&t[n+1][e(562)]){const r=this[e(564)](t[n][e(523)]);if(null!==r){const i=this[e(564)](t[n+1][e(523)]),o=t[n][e(523)][e(577)](r),s=t[n+1][e(523)][e(577)](i),a=[s[e(501)]()];o[e(501)]();const c={value:o,removed:!0},l={value:s,added:!0},u={value:a};t[e(577)](n+2,0,u,c,l)}}}[tI(564)](t){const e=tI;let n=0,r=-1;for(let i=0;i<t[e(420)];i++){const o=t[i];e(505)==o[e(551)]&&e(437)==o[e(566)]&&(n+=o[e(534)]?1:-1,o[e(534)]&&(r=i))}return 0===n?null:r}[tI(525)](){const t=tI;this[t(528)](),this[t(463)]=[0],this[t(456)]=[];for(let e=0;e<this[t(493)][t(420)];e++){const n=this[t(493)][e][t(549)],r=[];r[t(507)](this[t(493)][e]);let i=e+1;for(;this[t(493)][i]&&this[t(493)][i][t(549)]==n;)r[t(507)](this[t(493)][i]),i++,e++;const o=r[t(486)](e=>e[t(531)]);if(t(506)==n)r[t(486)](e=>e[t(417)])[t(406)](e=>this[t(409)](e));else if(t(465)==n)if(this[t(454)]){const e=this[t(463)][t(464)]();o[t(406)](e=>this[t(409)](e));const n=this[t(463)][t(464)]();this[t(540)][t(507)]({type:t(479),range:{start:e,end:n}})}else this[t(452)](o,!0,this[t(463)][t(464)]());else{const e=o[t(477)](e=>t(505)!=e[t(551)]||t(546)!=e[t(566)]);this[t(452)](e,!1,this[t(463)])}}this[t(463)]=[0],this[t(456)]=[];for(let e=0;e<this[t(493)][t(420)];e++){const n=this[t(493)][e][t(549)],r=[];r[t(507)](this[t(493)][e]);let i=e+1;for(;this[t(493)][i]&&this[t(493)][i][t(549)]==n;)r[t(507)](this[t(493)][i]),i++,e++;const o=r[t(486)](e=>e[t(531)]);if(t(506)==n){const e=r[t(486)](e=>e[t(417)]);this[t(514)](e,o)}else o[t(406)](e=>{const r=t;(r(465)!=n||this[r(454)])&&this[r(409)](e)})}this[t(532)]()}[tI(554)](t,e){const n=tI,r={};for(const[e]of t)r[e]=null;for(const[t,n]of e)r[t]=n;const i=Object[n(567)](r)[n(486)](([t,e])=>({type:n(442),name:t,range:e?{start:e[n(571)][n(513)][n(464)](),end:e[n(453)][n(513)][n(464)]()}:null}));this[n(540)][n(507)](...i)}[tI(528)](){const t=tI,e=new Map,n=[],r=[0];for(let i=this[t(493)][t(420)]-1;i>=0;i--){const{token:o,before:s,change:a}=this[t(493)][i];if(t(505)!=o[t(551)]||t(546)!=o[t(566)]||t(562)==a)continue;const c=s?s[t(505)]:o[t(505)];if(o[t(534)]){const o=e[t(424)](c),s=this[t(493)][o];t(465)!=a&&t(465)!=s[t(549)]||(this[t(540)][t(507)]({type:t(509),path:c[t(515)](),howMany:c[t(444)]+r[0]}),r[t(501)](),r[0]+=c[t(444)]-1,n[t(507)](i),n[t(507)](o))}else e[t(552)](c,i),r[t(499)](0)}n[t(574)]((t,e)=>e-t),n[t(406)](e=>{const n=t,r=this[n(493)][e];n(465)==r[n(549)]?this[n(493)][n(577)](e,1):(r[n(549)]=n(562),delete r[n(417)])})}[tI(532)](){const t=tI;this[t(463)]=[0],this[t(456)]=[];const e=[];for(let n=0;n<this[t(493)][t(420)];n++){const{change:r,token:i}=this[t(493)][n];if(t(562)==r&&t(505)==i[t(551)]&&t(546)==i[t(566)]){if(i[t(534)])e[t(507)](this[t(463)][t(464)]());else if(!i[t(534)]){const n=e[t(438)]();this[t(540)][t(507)]({type:t(535),range:{start:n,end:this[t(463)][t(464)]()},token:i}),this[t(463)][this[t(463)][t(420)]-1]=n[this[t(463)][t(420)]-1]+1}}else(t(465)!=r||this[t(454)])&&this[t(409)](i)}}[tI(514)](t,e){const n=tI;for(let r=0;r<t[n(420)];r++){const i=t[r];if(n(505)==i[n(551)]&&i[n(534)]){const t=e[r];n(437)==i[n(566)]&&this[n(572)](i[n(505)],t[n(505)],this[n(463)]),this[n(458)](i[n(505)],t[n(505)],this[n(463)]),this[n(463)][n(507)](0),this[n(456)][n(507)](t)}else if(n(505)!=i[n(551)]||i[n(534)]){if(n(415)==i[n(551)]){const i=this[n(463)][n(464)](),o=[],s=[];for(;t[r]&&n(415)==t[r][n(551)];)o[n(507)](t[r]),s[n(507)](e[r]),this[n(463)][this[n(463)][n(420)]-1]+=t[r][n(405)][n(420)],r++;r--,this[n(459)](o,s,i)}}else this[n(463)][n(438)](),this[n(463)][this[n(463)][n(420)]-1]++,this[n(456)][n(438)]()}}[tI(452)](t,e,n){const r=tI,i=[],o=[],a=n[r(464)]();for(let s=0;s<t[r(420)];s++){const a=t[s],c=n[r(464)]();if(r(505)!=a[r(551)]||a[r(534)])r(505)==a[r(551)]&&a[r(534)]?(n[r(507)](0),e||this[r(456)][r(507)](a),o[r(507)]({before:c,after:n[r(464)](),index:s})):n[n[r(420)]-1]+=a[r(405)][r(420)];else{let t;n[r(438)](),n[n[r(420)]-1]++,t=e?this[r(456)][this[r(456)][r(420)]-1]:this[r(456)][r(438)](),o[r(420)]?o[r(438)]():i[r(507)]({before:c,after:n[r(464)](),index:s,related:t})}}if(o[r(420)]!==i[r(420)])throw new s.CKEditorError(r(533),null,{tokens:t,isRemove:e});const c=[{after:a[r(464)](),index:-1},...i,...o,{before:n[r(464)](),index:t[r(420)]}];if(e){for(let t=c[r(420)]-1;t>=1;t--){const e=c[t-1][r(435)],n=c[t][r(417)],i=n[n[r(420)]-1]-e[e[r(420)]-1];i&&(this[r(540)][r(507)]({type:r(563),path:e,howMany:i}),n[n[r(420)]-1]-=i)}for(const{before:t}of i)this[r(540)][r(507)]({type:r(427),path:t})}else for(let e=0;e<c[r(420)]-1;e++){const n=c[e][r(435)],s=c[e+1][r(417)],a=c[e][r(476)]+1,l=c[e+1][r(476)];if(a!==l&&this[r(540)][r(507)]({type:r(519),path:n,tokens:t[r(464)](a,l)}),e<i[r(420)]){this[r(540)][r(507)]({type:r(440),path:s});const n=t[o[o[r(420)]-1-e][r(476)]],a=i[e][r(435)],c=i[e][r(489)][r(505)];this[r(572)](c,n[r(505)],a),this[r(458)](c,n[r(505)],a)}}}[tI(409)](t){const e=tI;e(505)==t[e(551)]&&t[e(534)]?(this[e(463)][e(507)](0),this[e(456)][e(507)](t)):e(505)!=t[e(551)]||t[e(534)]?e(415)==t[e(551)]&&(this[e(463)][this[e(463)][e(420)]-1]+=t[e(405)][e(420)]):(this[e(463)][e(438)](),this[e(463)][this[e(463)][e(420)]-1]++,this[e(456)][e(438)]())}[tI(572)](t,e,n){const r=tI;t[r(556)]!=e[r(556)]&&this[r(540)][r(507)]({type:r(565),path:n[r(464)](),oldName:t[r(556)],newName:e[r(556)]})}[tI(458)](t,e,n){const r=tI,i=this[r(550)](t[r(410)](),e[r(410)]());for(const t in i){const{oldValue:e,newValue:o}=i[t];this[r(540)][r(507)]({type:r(516),path:n[r(464)](),howMany:1,key:t,oldValue:e,newValue:o})}}[tI(459)](t,e,n){const r=tI,i=this[r(540)],o=t[0][r(411)],s=t[0][r(422)],a=e[0][r(411)],c=e[0][r(422)],l=t[r(555)]((t,e)=>t+e[r(405)][r(420)],0),u=this[r(541)](o,s,l),h=this[r(541)](a,c,l),d={};for(let t=0;t<l;t++){const e=u[s+t],n=h[c+t],i=this[r(550)](e,n);for(const t in d)i[t]||p(t);for(const e in i){const{oldValue:n,newValue:o}=i[e],s=d[e];s?s[r(429)]==n&&s[r(512)]==o?s[r(420)]++:(p(e),d[e]={oldValue:n,newValue:o,start:t,length:1}):d[e]={oldValue:n,newValue:o,start:t,length:1}}}for(const t in d)p(t);function p(t){const e=r,o=d[t],s=n[e(464)]();s[s[e(420)]-1]+=o[e(571)],i[e(507)]({type:e(516),path:s,howMany:o[e(420)],key:t,oldValue:o[e(429)],newValue:o[e(512)]}),delete d[t]}}[tI(550)](t,e){const n=tI,r={};for(const[e,i]of t)r[e]={oldValue:JSON[n(488)](i),newValue:n(530)};for(const[t,i]of e){const e=JSON[n(488)](i);r[t]?r[t][n(429)]==e?delete r[t]:r[t][n(512)]=e:r[t]={oldValue:n(530),newValue:e}}return delete r[n(570)],r}[tI(541)](t,e,n){const r=tI,i=new Array(e+n);let o=t[r(446)](e),s=o[r(433)];for(;o&&s<e+n;){const t=Array[r(522)](o[r(410)]());i[r(520)](t,s,s+o[r(547)]),s+=o[r(547)],o=o[r(418)]}return i}[tI(461)](t,e){const n=tI,r=[...t[n(513)][n(464)](0,-1),t[n(422)]+e[0],...e[n(464)](1)];return new u.ModelPosition(t[n(578)],r)}[tI(447)](t){const e=tI,n=[];let r=null;for(const i of t)if(e(505)!=i[e(551)]||i[e(534)]||r!=i[e(505)]){if(!r)if(e(415)==i[e(551)]){const t=u.ModelPosition[e(494)](i[e(411)],i[e(422)]),r=u.ModelRange[e(485)](t,i[e(405)][e(420)]),o=Array[e(522)](r[e(526)]())[e(486)](t=>new u.ModelText(t[e(405)],t[e(410)]()));n[e(507)](...o)}else{r=i[e(505)];const t=i[e(505)][e(502)](!0);t[e(537)](e(570)),n[e(507)](t)}}else r=null;return n}}function aI(t,e){const n=tI;return t[n(551)]===e[n(551)]&&t[n(472)]===e[n(472)]&&(n(415)==t[n(551)]?t[n(405)]==e[n(405)]:function(t,e){const r=n;return t[r(534)]==e[r(534)]&&((!t[r(534)]||t[r(481)]==e[r(481)])&&(t[r(566)]==e[r(566)]&&(r(437)==t[r(566)]||(r(546)!=t[r(566)]||t[r(481)]==e[r(481)])&&t[r(505)][r(556)]==e[r(505)][r(556)])))}(t,e))}var cI=n(276),lI={attributes:{"data-cke":!0}};lI.setAttributes=Et(),lI.insert=yt().bind(null,"head"),lI.domAPI=It(),lI.insertStyleElement=Tt();bt()(cI.A,lI);cI.A&&cI.A.locals&&cI.A.locals;var uI=n(690),hI={attributes:{"data-cke":!0}};hI.setAttributes=Et(),hI.insert=yt().bind(null,"head"),hI.domAPI=It(),hI.insertStyleElement=Tt();bt()(uI.A,hI);uI.A&&uI.A.locals&&uI.A.locals;var dI=n(633),pI={attributes:{"data-cke":!0}};pI.setAttributes=Et(),pI.insert=yt().bind(null,"head"),pI.domAPI=It(),pI.insertStyleElement=Tt();bt()(dI.A,pI);dI.A&&dI.A.locals&&dI.A.locals;var fI=n(79),gI={attributes:{"data-cke":!0}};gI.setAttributes=Et(),gI.insert=yt().bind(null,"head"),gI.domAPI=It(),gI.insertStyleElement=Tt();bt()(fI.A,gI);fI.A&&fI.A.locals&&fI.A.locals;var mI=n(364),kI={attributes:{"data-cke":!0}};kI.setAttributes=Et(),kI.insert=yt().bind(null,"head"),kI.domAPI=It(),kI.insertStyleElement=Tt();bt()(mI.A,kI);mI.A&&mI.A.locals&&mI.A.locals;var _I=n(369),bI={attributes:{"data-cke":!0}};bI.setAttributes=Et(),bI.insert=yt().bind(null,"head"),bI.domAPI=It(),bI.insertStyleElement=Tt();bt()(_I.A,bI);_I.A&&_I.A.locals&&_I.A.locals;var wI=n(103),II={attributes:{"data-cke":!0}};II.setAttributes=Et(),II.insert=yt().bind(null,"head"),II.domAPI=It(),II.insertStyleElement=Tt();bt()(wI.A,II);wI.A&&wI.A.locals&&wI.A.locals;var vI=n(878),yI={attributes:{"data-cke":!0}};yI.setAttributes=Et(),yI.insert=yt().bind(null,"head"),yI.domAPI=It(),yI.insertStyleElement=Tt();bt()(vI.A,yI);vI.A&&vI.A.locals&&vI.A.locals;var AI=n(328),EI={attributes:{"data-cke":!0}};EI.setAttributes=Et(),EI.insert=yt().bind(null,"head"),EI.domAPI=It(),EI.insertStyleElement=Tt();bt()(AI.A,EI);AI.A&&AI.A.locals&&AI.A.locals;var xI=n(334),TI={attributes:{"data-cke":!0}};TI.setAttributes=Et(),TI.insert=yt().bind(null,"head"),TI.domAPI=It(),TI.insertStyleElement=Tt();bt()(xI.A,TI);xI.A&&xI.A.locals&&xI.A.locals;function CI(){var t=["660352ecNtOc","1327455pjbvps","2566562XkGGCg","318cYyPRl","72IxDvrU","6aHQBsj","132660BjRjzE","836080kQsJgu","2647088lVxSlJ","755170ZscWJT"];return(CI=function(){return t})()}function SI(t,e){var n=CI();return(SI=function(t,e){return n[t-=178]})(t,e)}function RI(){var t=["484679pltSFI","1267422wlxNPJ","5105370caRUgN","5BEVDOO","7136004sdNisC","287ankpRw","726726pILtaX","9632322BRJPbR","67688cYPwTT"];return(RI=function(){return t})()}function OI(t,e){var n=RI();return(OI=function(t,e){return n[t-=413]})(t,e)}function NI(){const t=["node","2636aGTOIY","2222178risAOv","11148QsJihr","data-id","new","removed","document","operationsA","map","previousSibling","length","15pFVIoJ","type","99APPlCA","version","56114qNtQwa","342816WoKHao","documentContextContent","632367wHfOyp","3RtPfwf","getOperations","shift","cloneNode","698090XHAevz","history","getDiff","filter","95bkkxzU","model","content","anchorId","getDocumentContext"];return(NI=function(){return t})()}function LI(t,e){const n=NI();return(LI=function(t,e){return n[t-=193]})(t,e)}function PI({editor:t,interaction:e,reply:n,groups:r,transform:i,documentCompare:o,documentCompareOptions:s}){const a=LI,c=e[a(195)]();if(!c)return[];const l=c[a(193)],h=c[a(211)],d=n[a(214)][a(219)](!0);for(const{changes:t}of r){const e=t[a(223)](t=>a(201)!=t[a(209)])[a(205)](t=>ih(a(200),t.id,d)),n=t[a(223)](t=>a(202)!=t[a(209)])[a(205)](t=>t[a(196)][a(219)](!0));let r=null;if(e[a(207)]){r=e[0][a(206)];for(let t=0;t<e[a(207)];t++)Gu(e[t])}if(n[a(207)]){r||(t[0][a(194)]?r=ih(a(200),t[0][a(194)],d):(r=n[a(218)](),Yu(d,r)));for(let t=0;t<n[a(207)];t++)Wu(r,n[t]),r=n[t]}}const p=nh(d),f=o[a(222)](l,p,s)[a(217)]();if(i){const e=t[a(225)][a(203)][a(221)][a(217)](h),n={document:t[a(225)][a(203)],useRelations:!1,padWithNoOps:!1};return(0,u.transformOperationSets)(f,e,n)[a(204)]}return f}function MI(){const t=["textNode","_applyOperationsAsSuggestions","applyOperation","getOperations","982140YdXIkK","createSelection","push","changeAttribute","isBlock","getMinimalFlatRanges","parent","removeAttribute","split","index","parse","children","setTo","node","nodeAfter","insert","createPositionFromPath","howMany","...","forward","removed","isMarkedRemoveOperation","getDiff","isDocumentOperation","start","data-id","length","plugins","sourcePosition","isObject","_getTransformedByDeletion","197755QAbQlG","stringify","batch","baseVersion","673128TzkVEx","targetPosition","629006XdTguv","markers","reverse","set","addAttribute","map","type","get","44hRyItU","path","DocumentCompare","addOperation","createRange","3795LqgXLu","data","changes","$text","merge","word","getFirstRange","$root","position","getMovedRangeStart","offset","8ZIcaUs","end","moveTargetPosition","schema","getShiftedBy","isBefore","createPositionAt","24aoKubQ","element","remove","cloneNode","_getTransformedByInsertion","root","97380TMMgpr","TrackChangesEditing","splitPosition","111469GOLLOy","backward","newRange","model","modifySelection","isAfter","nodeBefore","new","rename","focus","change","POSITIVE_INFINITY","range","slice"];return(MI=function(){return t})()}function DI({editor:t,changeGroups:e,documentContextContent:n,showDiff:r,trimUnchanged:i=!0}){const o=VI;return e[o(394)](e=>{const s=o,a=new gl([]),c=new gl([]);for(const t of e[s(404)])if(r&&s(372)==t[s(395)]||c[s(363)][s(354)](t[s(365)][s(423)](!0)),s(436)!=t[s(395)]&&(r||s(372)!=t[s(395)])){const e=Qu(e=>sh(e,s(377))==t.id,n,!0);e&&a[s(363)][s(354)](e[s(423)](!0))}const l=function(t,e,n,r,i=!0){const o=s,a=t[o(379)][o(396)](o(399)),c=t[o(379)][o(396)](o(427)),l=nh(e),h=nh(n),d=t[o(403)][o(362)](l,o(409)),p=t[o(432)][o(419)](d,0),f=a[o(374)](l,h,{anchor:p,markDeletions:r})[o(446)]();if(0==f[o(378)])return null;if(r?c[o(444)](f):t[o(432)][o(439)](e=>{const n=o;for(const r of f)if(n(422)==r[n(395)]){const i=r[n(380)],o=r[n(369)],s=new u._DetachOperation(i,o);e[n(385)][n(400)](s),t[n(432)][n(445)](s)}else r[n(386)]=null,r[n(375)]=!1,e[n(385)][n(400)](r),t[n(432)][n(445)](r)}),i){const e=HI(t,f,d);BI(t[o(432)],e),function(t,e){const n=o,r=e[n(408)]()[n(376)];let i=e[n(408)]()[n(414)];const s=r[n(425)];(i[n(443)]||i[n(366)]&&i[n(366)].is(n(405)))&&((0,u._insertIntoModelNodeList)(i,n(370)),i=i[n(417)](3)),(r[n(443)]||r[n(435)]&&r[n(435)].is(n(405)))&&((0,u._insertIntoModelNodeList)(r,n(370)),function(t,e){const r=n;for(let[n,i]of t[r(390)]){const o=i[r(424)](e,3,!1);i=o[0],t[r(390)][r(392)](n,i)}}(s,r),r[n(358)]==i[n(358)]&&(i=i[n(417)](3)));const a=t[n(401)](t[n(419)](s,0),r),c=t[n(401)](i,t[n(419)](s,n(414))),l=[...a[n(357)](),...c[n(357)]()];l[n(391)]();for(const t of l)(0,u._removeFromModelNodeList)(t),qI(s,t)}(t[o(432)],e)}return th(t[o(403)][o(384)](d,{showSuggestionHighlights:!0}))}(t,a,c,r,i);return{type:e[s(404)][0][s(395)],index:e[s(361)],content:l}})}function HI(t,e,n){const r=VI,i=t[r(379)][r(396)](r(399));let o=t[r(432)][r(419)](n,Number[r(440)]),s=t[r(432)][r(419)](n,0);for(const a of e){let e,c;if(i[r(373)](a))e=a[r(431)][r(376)],c=a[r(431)][r(414)];else switch(a[r(395)]){case r(437):e=a[r(410)],c=e[r(417)](1);break;case r(393):case r(359):case r(355):e=a[r(441)][r(376)],c=a[r(441)][r(414)];break;case r(367):e=a[r(410)],c=e[r(417)](a[r(369)]);break;case r(360):e=a[r(428)],c=a[r(415)];break;case r(406):{const i=a[r(388)][r(398)][r(442)](-1);e=t[r(432)][r(368)](n,i),c=e[r(417)](1);break}case r(422):{const t=a[r(369)],n=a[r(380)][r(424)](a[r(388)],t),i=a[r(411)]();r(422)==a[r(395)]?(e=n,c=n):(e=i,c=i[r(417)](t));break}}e&&e[r(418)](o)&&(o=e),c&&c[r(434)](s)&&(s=c)}return t[r(432)][r(353)](t[r(432)][r(401)](o,s))}function BI(t,e){const n=VI;UI(t,e,n(371));const r=e[n(408)]();e[n(364)]([]),e[n(364)](r,{backward:!0}),UI(t,e,n(430))}function UI(t,e,n){const r=VI;let i=20;for(;i;){t[r(433)](e,{unit:r(407),direction:n}),i--;const o=e[r(438)][r(371)==n?r(435):r(366)];if(o&&o.is(r(421))&&t[r(416)][r(356)](o)&&t[r(416)][r(381)](o))break}}function VI(t,e){const n=MI();return(VI=function(t,e){return n[t-=353]})(t,e)}function qI(t,e){const n=VI;for(let[r,i]of t[n(390)])i=i[n(382)](e[n(376)],e[n(414)][n(412)]-e[n(376)][n(412)]),t[n(390)][n(392)](r,i)}!function(t){for(var e=SI,n=t();;)try{if(921986===-parseInt(e(183))/1+-parseInt(e(184))/2+parseInt(e(187))/3*(parseInt(e(180))/4)+parseInt(e(178))/5*(parseInt(e(185))/6)+parseInt(e(182))/7+parseInt(e(179))/8+parseInt(e(186))/9*(parseInt(e(181))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(CI),function(t){for(var e=OI,n=t();;)try{if(973699===parseInt(e(418))/1+-parseInt(e(415))/2+parseInt(e(420))/3+-parseInt(e(413))/4+parseInt(e(421))/5*(parseInt(e(419))/6)+parseInt(e(414))/7*(-parseInt(e(417))/8)+parseInt(e(416))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(RI),function(t){const e=LI,n=t();for(;;)try{if(160648===parseInt(e(216))/1*(-parseInt(e(212))/2)+parseInt(e(208))/3*(-parseInt(e(197))/4)+-parseInt(e(224))/5*(parseInt(e(199))/6)+-parseInt(e(198))/7+parseInt(e(213))/8+-parseInt(e(215))/9+parseInt(e(220))/10*(parseInt(e(210))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(NI),function(t){const e=VI,n=t();for(;;)try{if(101320===parseInt(e(429))/1+parseInt(e(426))/2+parseInt(e(402))/3*(-parseInt(e(397))/4)+parseInt(e(383))/5*(-parseInt(e(420))/6)+parseInt(e(389))/7+parseInt(e(413))/8*(-parseInt(e(387))/9)+parseInt(e(447))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(MI);const FI='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.903 7.617a3.35 3.35 0 0 0 1.98 1.98L19 10.752l-3.117 1.153a3.35 3.35 0 0 0-1.98 1.98l-1.154 3.117-1.153-3.116a3.35 3.35 0 0 0-1.98-1.98L6.5 10.75l3.116-1.153a3.35 3.35 0 0 0 1.98-1.98L12.75 4.5zm-9.647 4.755c.15.404.469.723.872.872l1.372.507-1.372.507c-.403.15-.722.468-.872.872L3.75 16.5l-.507-1.371a1.48 1.48 0 0 0-.872-.872L1 13.75l1.37-.507a1.48 1.48 0 0 0 .873-.872L3.75 11zM6.441 2.87c.204.55.639.985 1.19 1.189L9.5 4.75l-1.87.691A2.02 2.02 0 0 0 6.44 6.63L5.75 8.5l-.692-1.87a2.01 2.01 0 0 0-1.19-1.189L2 4.751l1.869-.692a2.02 2.02 0 0 0 1.19-1.189L5.748 1z"/></svg>',zI='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M20 10.001c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10m-9.662 8.493a9 9 0 0 1-.676 0c-.838-1.316-1.492-2.931-1.877-4.743h4.43c-.385 1.812-1.039 3.427-1.877 4.743m1.815-.268c.671-1.327 1.184-2.84 1.497-4.475h3.98a8.52 8.52 0 0 1-5.477 4.475m6.046-5.975a8.5 8.5 0 0 0 .301-2.25 8.5 8.5 0 0 0-.301-2.25h-4.323a20.3 20.3 0 0 1 0 4.5zm-.569-6a8.52 8.52 0 0 0-5.477-4.475c.671 1.327 1.184 2.84 1.497 4.475zm-7.292-4.743c.838 1.316 1.492 2.93 1.877 4.743h-4.43c.385-1.812 1.039-3.427 1.877-4.743a9 9 0 0 1 .676 0m-2.49.268c-.672 1.327-1.185 2.84-1.498 4.475H2.37a8.52 8.52 0 0 1 5.477-4.475M1.8 7.751a8.5 8.5 0 0 0-.301 2.25c0 .779.105 1.533.301 2.25h4.323a20.3 20.3 0 0 1 0-4.5zm.569 6a8.52 8.52 0 0 0 5.477 4.475c-.671-1.327-1.184-2.84-1.497-4.475zm10.095-1.5h-4.93a18.5 18.5 0 0 1 0-4.5h4.93a18.5 18.5 0 0 1 0 4.5" clip-rule="evenodd"/></svg>',GI='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M6.972 16.615a1 1 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a1 1 0 0 1-.745.292"/></svg>',jI='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><g transform="scale(1.17647)"><g clip-path="url(#a)"><path d="M2.746 2.49a.75.75 0 0 1 1.06 0l1.25 1.248q.253-.158.514-.3c.906-.492 1.91-.843 2.922-.817 1 .026 1.993.395 2.895.893.906.5 1.758 1.152 2.486 1.788a23 23 0 0 1 2.424 2.481l.037.044.009.013.004.004a.6.6 0 0 1 .088.155l.015.04.017.071.008.043.002.066-.002.052-.008.051q-.005.033-.014.066l-.018.05q-.011.03-.025.06l-.009.014-.047.074-.002-.001.002.002h-.002l-.002.005-.01.012-.037.046-.137.17a22 22 0 0 1-2.289 2.382q-.352.312-.738.62l1.068 1.068a.749.749 0 0 1-.667 1.266.74.74 0 0 0-.213-.466l-10.4-10.4a.75.75 0 0 0-.395-.208.75.75 0 0 1 .214-.593M3.758 6.24a21 21 0 0 0-1.566 1.583l-.011.014a.556.556 0 0 0 .005.745c.412.45.997 1.05 1.684 1.651.689.602 1.47 1.196 2.276 1.641.811.448 1.612.725 2.346.744.442.011.91-.08 1.39-.253l.92.92c-.746.335-1.54.553-2.341.532-1-.025-1.993-.395-2.895-.892-.906-.5-1.758-1.152-2.486-1.788A23 23 0 0 1 .657 8.656L.62 8.612.611 8.6l-.004-.003v-.002a1 1 0 0 1-.051-.074l-.007-.012Q.53 8.472.517 8.434L.503 8.4l-.017-.073Q.482 8.306.48 8.284.475 8.251.478 8.22v-.051q.003-.032.01-.064l.01-.048q.011-.035.025-.068l.02-.046.01-.017.047-.073h.002L.6 7.852l.003-.004.01-.013.036-.046.137-.169a22 22 0 0 1 2.121-2.229zm5.148 5.149q-.21.03-.43.03a3.2 3.2 0 0 1-3.17-3.63zm-.445-7.57c-.722-.018-1.512.235-2.318.672l-.213.12.88.88a3.2 3.2 0 0 1 1.667-.472 3.2 3.2 0 0 1 3.2 3.2 3.2 3.2 0 0 1-.474 1.666l1.081 1.08c.275-.213.542-.436.796-.661a21 21 0 0 0 1.68-1.69l.013-.014a.557.557 0 0 0-.005-.746 22 22 0 0 0-1.684-1.65c-.689-.602-1.471-1.196-2.277-1.642-.811-.447-1.612-.724-2.346-.743m.976 2.16a1.2 1.2 0 0 0-1.177.962l1.413 1.413a1.2 1.2 0 0 0-.236-2.375"/></g><defs><clipPath id="a"><path d="M.477.22h16v16h-16z"/></clipPath></defs></g></svg>',WI=YI;function YI(t,e){const n=$I();return(YI=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=YI,n=t();for(;;)try{if(192507===-parseInt(e(288))/1*(-parseInt(e(263))/2)+parseInt(e(264))/3+parseInt(e(244))/4+-parseInt(e(272))/5+parseInt(e(262))/6+parseInt(e(271))/7+-parseInt(e(247))/8*(parseInt(e(255))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($I);class KI extends a.ToolbarView{[WI(250)];[WI(276)];[WI(285)];[WI(259)];[WI(274)];constructor(t,e={},n){const r=WI;super(t),this[r(281)](r(280),!1),this[r(274)]={showCopy:!1,showLike:!1,showDislike:!1,...e};const i=!(this[r(274)][r(279)]||this[r(274)][r(290)]||this[r(274)][r(278)]||this[r(274)][r(248)]||this[r(274)][r(286)]?.[r(251)]);this[r(268)]=r(i?256:241),this[r(274)][r(279)]&&(this[r(253)](),this[r(254)][r(267)](this[r(250)])),this[r(274)][r(290)]&&(this[r(261)](n),this[r(254)][r(267)](this[r(259)])),this[r(284)](),this[r(274)][r(278)]&&this[r(254)][r(267)](this[r(276)]),this[r(274)][r(248)]&&this[r(254)][r(267)](this[r(285)]),this[r(274)][r(286)]&&this[r(254)][r(242)](this[r(274)][r(286)])}[WI(284)](){const t=WI;this[t(276)]=new a.ButtonView(this[t(257)]),this[t(276)][t(281)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M6.05 8.609v8.38c0 1.11.903 2.01 2.017 2.01h7.553c.896 0 1.684-.588 1.936-1.445l2.361-8.041a2.012 2.012 0 0 0-1.935-2.575h-4.353l.788-2.618a2.01 2.01 0 0 0-1.294-2.485l-.698-.232a2.02 2.02 0 0 0-2.269.725l-3.72 5.098c-.25.344-.386.758-.386 1.183m1.513 8.38V8.61c0-.107.034-.21.096-.296l3.72-5.099a.505.505 0 0 1 .567-.18l.699.231a.5.5 0 0 1 .323.621l-1.177 3.912a.503.503 0 0 0 .483.647h5.708c.336 0 .578.322.484.644l-2.362 8.041a.504.504 0 0 1-.484.362H8.067a.503.503 0 0 1-.504-.503M3.328 6.937H1.714C.767 6.937 0 7.703 0 8.647v8.644C0 18.234.767 19 1.714 19h1.614c.946 0 1.714-.766 1.714-1.71V8.647c0-.943-.768-1.709-1.714-1.709m-1.815 1.71c0-.112.09-.202.201-.202h1.614c.111 0 .201.09.201.201v8.645a.2.2 0 0 1-.201.2H1.714a.2.2 0 0 1-.201-.2z" clip-rule="evenodd"/></svg>',label:zc(this[t(257)],t(269)),tooltip:!0}),this[t(276)][t(245)](t(270)).to(this,t(280),t=>!t),this[t(276)].on(t(273),()=>{const e=t;this[e(266)](e(275))}),this[t(285)]=new a.ButtonView(this[t(257)]),this[t(285)][t(281)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M13.95 11.89V3.51c0-1.11-.903-2.01-2.017-2.01H4.38c-.896 0-1.684.589-1.936 1.446l-2.361 8.04a2.012 2.012 0 0 0 1.935 2.576h4.353l-.788 2.618a2.01 2.01 0 0 0 1.294 2.485l.698.232a2.02 2.02 0 0 0 2.269-.725l3.72-5.099c.25-.343.386-.757.386-1.182m-1.513-8.38v8.38c0 .107-.034.21-.096.296l-3.72 5.1a.505.505 0 0 1-.567.18l-.699-.232a.5.5 0 0 1-.323-.62L8.209 12.7a.503.503 0 0 0-.483-.647H2.018a.503.503 0 0 1-.484-.643l2.362-8.042a.504.504 0 0 1 .484-.361h7.553c.278 0 .504.225.504.502m4.235 10.053h1.614c.947 0 1.714-.765 1.714-1.709V3.21c0-.944-.767-1.709-1.714-1.709h-1.614c-.946 0-1.714.765-1.714 1.709v8.644c0 .944.768 1.709 1.714 1.709m1.815-1.709c0 .111-.09.201-.201.201h-1.614a.2.2 0 0 1-.201-.2V3.208c0-.111.09-.201.201-.201h1.614a.2.2 0 0 1 .201.2z" clip-rule="evenodd"/></svg>',label:zc(this[t(257)],t(260)),tooltip:!0}),this[t(285)][t(245)](t(270)).to(this,t(280),t=>!t),this[t(285)].on(t(273),()=>{const e=t;this[e(266)](e(265))})}[WI(253)](){const t=WI;this[t(250)]=new a.ButtonView(this[t(257)]),this[t(250)][t(281)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7z"/></svg>',label:zc(this[t(257)],t(277)),class:t(249),tooltip:!0}),this[t(250)][t(245)](t(270)).to(this,t(280),t=>!t);const e=new a.IconView;e[t(281)]({content:GI}),e[t(283)]({attributes:{class:[t(246)]}}),this[t(250)].on(t(273),()=>{const e=t;this[e(250)][e(268)]=e(282),setTimeout(()=>{const t=e;this[t(250)][t(268)]=t(249)},2e3)}),this[t(250)][t(287)][t(267)](e)}[WI(261)](t){const e=WI;this[e(259)]=new a.ButtonView(this[e(257)]),this[e(259)][e(281)]({icon:jI,label:zc(this[e(257)],e(252)),withText:e(243)==this[e(274)][e(290)],isOn:t}),this[e(259)][e(245)](e(270)).to(this,e(280),t=>!t),this[e(259)].on(e(273),()=>{const t=e,n=!this[t(259)][t(289)];this[t(259)][t(281)]({isOn:n,icon:n?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><g transform="scale(1.17647)"><g fill-rule="evenodd" clip-path="url(#a)" clip-rule="evenodd"><path d="M8.476 5.02a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4m.96.96a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4"/><path d="M8.492 2.621c1 .026 1.993.396 2.895.893.906.5 1.759 1.152 2.486 1.789a23 23 0 0 1 2.424 2.48q.023.03.037.045l.009.012.003.003v.002q.058.071.088.155l.016.04.016.071.008.043a.6.6 0 0 1 0 .117q-.001.027-.007.052l-.014.066q-.008.024-.019.049-.01.03-.024.06l-.009.015-.047.074-.002-.002v.001l.001.002-.004.005-.01.012-.036.046-.137.169a22 22 0 0 1-2.29 2.382c-.727.648-1.583 1.307-2.493 1.8-.906.492-1.91.843-2.922.817-1-.025-1.993-.395-2.895-.893-.906-.5-1.759-1.151-2.486-1.787A23 23 0 0 1 .657 8.657L.62 8.613.61 8.6l-.002-.003-.001-.001a1 1 0 0 1-.052-.075L.55 8.51l-.033-.075L.503 8.4q-.011-.037-.016-.073-.006-.022-.008-.043l-.002-.065v-.052q.004-.03.011-.063l.01-.048.025-.068.02-.046.01-.018.047-.071v.001h.001v-.002l.004-.004.009-.013.037-.046q.047-.06.136-.168A22 22 0 0 1 3.075 5.24c.73-.649 1.585-1.308 2.495-1.802.906-.492 1.91-.842 2.922-.817m-.031 1.2c-.722-.019-1.512.234-2.318.672-.802.434-1.58 1.031-2.269 1.643-.686.61-1.27 1.226-1.682 1.69l-.012.013a.556.556 0 0 0 .006.745c.412.45.997 1.05 1.684 1.652.69.602 1.47 1.195 2.277 1.64.81.448 1.61.725 2.345.744.722.018 1.512-.235 2.318-.672.802-.435 1.582-1.03 2.27-1.643a21 21 0 0 0 1.68-1.69l.013-.014a.556.556 0 0 0-.006-.744c-.412-.45-.996-1.05-1.683-1.651-.69-.603-1.471-1.196-2.278-1.642-.81-.447-1.61-.725-2.345-.743"/></g><defs><clipPath id="a"><path d="M.477.22h16v16h-16z"/></clipPath></defs></g></svg>':jI}),this[t(266)](t(258),n)})}}function $I(){const t=["showCopy","isLoading","set","ck-ai-mini-toolbar-copy-button ck-ai-mini-toolbar-copy-button_copied","extendTemplate","_setupRatingButtons","dislikeButton","customView","children","151705OrfZKr","isOn","showChanges","ck-ai-mini-toolbar","addMany","full","731640DcvzLx","bind","ck-ai-mini-toolbar-copy-button__check-mark","2699888zcpfUU","showDislike","ck-ai-mini-toolbar-copy-button","copyButton","length","AI_SUGGESTION_BUTTON_SHOW_CHANGES","_setupCopyButton","items","9zKgtIT","ck-ai-mini-toolbar ck-hidden","locale","toggleShowChanges","showChangesButton","AI_MINI_TOOLBAR_DISLIKE","_setupShowChangesButton","2122416qZJcMm","2wQmJxS","136749Xxtsee","dislike","fire","add","class","AI_MINI_TOOLBAR_LIKE","isEnabled","1081577FUqKiH","1792260lwFGss","execute","_config","like","likeButton","AI_MINI_TOOLBAR_COPY","showLike"];return($I=function(){return t})()}const QI=XI;function XI(t,e){const n=ZI();return(XI=function(t,e){return n[t-=332]})(t,e)}function ZI(){const t=["render","1806572XCssmW","div","6FYIVVX","ck-ai-suggestion__header__show-changes-toggle","7885800ordcgg","2674cXBgug","AI_SUGGESTION_HEADER_TITLE","iconView","isVisible","toggleShowChanges","4441415ePDSBt","69hVUUhb","filter","AI_SUGGESTION_BUTTON_SHOW_CHANGES","975940ThrGpw","ck-hidden","bind","showChangesToggleView","icon","21128pujgBk","ck-ai-suggestion__header","remove","execute","span","content","fire","isShowChangesToggleVisible","setTemplate","isOn","10844yAIcEu","children","showDiff","121GZdaEf","showHeader","add","219494nFCnYm","set"];return(ZI=function(){return t})()}!function(t){const e=XI,n=t();for(;;)try{if(514678===-parseInt(e(342))/1+-parseInt(e(345))/2+-parseInt(e(356))/3*(parseInt(e(336))/4)+-parseInt(e(355))/5*(-parseInt(e(347))/6)+-parseInt(e(350))/7*(-parseInt(e(364))/8)+parseInt(e(349))/9+parseInt(e(359))/10*(-parseInt(e(339))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZI);class JI extends a.View{[QI(362)];constructor(t,e){const n=QI;super(t),this[n(343)](n(333),!0),this[n(362)]=new tv(t),this[n(362)][n(343)]({class:n(348),label:zc(t,n(358)),withText:!0}),this[n(362)][n(335)]=e[n(338)],this[n(362)][n(361)](n(353)).to(this,n(333)),this[n(362)][n(361)](n(363)).to(this[n(362)],n(335),t=>t?o.IconShowChangesOn:o.IconShowChangesOff),this[n(362)].on(n(367),()=>{const t=n;this[t(362)][t(335)]=!this[t(362)][t(335)],this[t(332)](t(354),{isOn:this[t(362)][t(335)]})});const r=new a.IconView;r[n(369)]=o.IconDocument,this[n(334)]({tag:n(346),attributes:{class:["ck",n(365),!1===e[n(340)]?n(360):null][n(357)](Boolean)},children:[r,{tag:n(368),children:[zc(t,n(351))]},this[n(362)]]})}}class tv extends a.ButtonView{[QI(344)](){const t=QI;super[t(344)](),this[t(337)][t(366)](this[t(352)]),this[t(337)][t(341)](this[t(352)])}}var ev;var nv="undefined"==typeof document?void 0:document,rv=!!nv&&"content"in nv.createElement("template"),iv=!!nv&&nv.createRange&&"createContextualFragment"in nv.createRange();function ov(t){return t=t.trim(),rv?function(t){var e=nv.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}(t):iv?function(t){return ev||(ev=nv.createRange()).selectNode(nv.body),ev.createContextualFragment(t).childNodes[0]}(t):function(t){var e=nv.createElement("body");return e.innerHTML=t,e.childNodes[0]}(t)}function sv(t,e){var n,r,i=t.nodeName,o=e.nodeName;return i===o||(n=i.charCodeAt(0),r=o.charCodeAt(0),n<=90&&r>=97?i===o.toUpperCase():r<=90&&n>=97&&o===i.toUpperCase())}function av(t,e,n){t[n]!==e[n]&&(t[n]=e[n],t[n]?t.setAttribute(n,""):t.removeAttribute(n))}var cv={OPTION:function(t,e){var n=t.parentNode;if(n){var r=n.nodeName.toUpperCase();"OPTGROUP"===r&&(r=(n=n.parentNode)&&n.nodeName.toUpperCase()),"SELECT"!==r||n.hasAttribute("multiple")||(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),n.selectedIndex=-1)}av(t,e,"selected")},INPUT:function(t,e){av(t,e,"checked"),av(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var n=e.value;t.value!==n&&(t.value=n);var r=t.firstChild;if(r){var i=r.nodeValue;if(i==n||!n&&i==t.placeholder)return;r.nodeValue=n}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var n,r,i=-1,o=0,s=t.firstChild;s;)if("OPTGROUP"===(r=s.nodeName&&s.nodeName.toUpperCase()))(s=(n=s).firstChild)||(s=n.nextSibling,n=null);else{if("OPTION"===r){if(s.hasAttribute("selected")){i=o;break}o++}!(s=s.nextSibling)&&n&&(s=n.nextSibling,n=null)}t.selectedIndex=i}}};function lv(){}function uv(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}var hv=function(t){return function(e,n,r){if(r||(r={}),"string"==typeof n)if("#document"===e.nodeName||"HTML"===e.nodeName||"BODY"===e.nodeName){var i=n;(n=nv.createElement("html")).innerHTML=i}else n=ov(n);else 11===n.nodeType&&(n=n.firstElementChild);var o=r.getNodeKey||uv,s=r.onBeforeNodeAdded||lv,a=r.onNodeAdded||lv,c=r.onBeforeElUpdated||lv,l=r.onElUpdated||lv,u=r.onBeforeNodeDiscarded||lv,h=r.onNodeDiscarded||lv,d=r.onBeforeElChildrenUpdated||lv,p=r.skipFromChildren||lv,f=r.addChild||function(t,e){return t.appendChild(e)},g=!0===r.childrenOnly,m=Object.create(null),k=[];function _(t){k.push(t)}function b(t,e){if(1===t.nodeType)for(var n=t.firstChild;n;){var r=void 0;e&&(r=o(n))?_(r):(h(n),n.firstChild&&b(n,e)),n=n.nextSibling}}function w(t,e,n){!1!==u(t)&&(e&&e.removeChild(t),h(t),b(t,n))}function I(t){if(1===t.nodeType||11===t.nodeType)for(var e=t.firstChild;e;){var n=o(e);n&&(m[n]=e),I(e),e=e.nextSibling}}function v(t){a(t);for(var e=t.firstChild;e;){var n=e.nextSibling,r=o(e);if(r){var i=m[r];i&&sv(e,i)?(e.parentNode.replaceChild(i,e),y(i,e)):v(e)}else v(e);e=n}}function y(e,n,r){var i=o(n);if(i&&delete m[i],!r){var a=c(e,n);if(!1===a)return;if(a instanceof HTMLElement&&I(e=a),t(e,n),l(e),!1===d(e,n))return}"TEXTAREA"!==e.nodeName?function(t,e){var n,r,i,a,c,l=p(t,e),u=e.firstChild,h=t.firstChild;t:for(;u;){for(a=u.nextSibling,n=o(u);!l&&h;){if(i=h.nextSibling,u.isSameNode&&u.isSameNode(h)){u=a,h=i;continue t}r=o(h);var d=h.nodeType,g=void 0;if(d===u.nodeType&&(1===d?(n?n!==r&&((c=m[n])?i===c?g=!1:(t.insertBefore(c,h),r?_(r):w(h,t,!0),r=o(h=c)):g=!1):r&&(g=!1),(g=!1!==g&&sv(h,u))&&y(h,u)):3!==d&&8!=d||(g=!0,h.nodeValue!==u.nodeValue&&(h.nodeValue=u.nodeValue))),g){u=a,h=i;continue t}r?_(r):w(h,t,!0),h=i}if(n&&(c=m[n])&&sv(c,u))l||f(t,c),y(c,u);else{var k=s(u);!1!==k&&(k&&(u=k),u.actualize&&(u=u.actualize(t.ownerDocument||nv)),f(t,u),v(u))}u=a,h=i}!function(t,e,n){for(;e;){var r=e.nextSibling;(n=o(e))?_(n):w(e,t,!0),e=r}}(t,h,r);var b=cv[t.nodeName];b&&b(t,e)}(e,n):cv.TEXTAREA(e,n)}I(e);var A,E,x=e,T=x.nodeType,C=n.nodeType;if(!g)if(1===T)1===C?sv(e,n)||(h(e),x=function(t,e){for(var n=t.firstChild;n;){var r=n.nextSibling;e.appendChild(n),n=r}return e}(e,(A=n.nodeName,(E=n.namespaceURI)&&"http://www.w3.org/1999/xhtml"!==E?nv.createElementNS(E,A):nv.createElement(A)))):x=n;else if(3===T||8===T){if(C===T)return x.nodeValue!==n.nodeValue&&(x.nodeValue=n.nodeValue),x;x=n}if(x===n)h(e);else{if(n.isSameNode&&n.isSameNode(x))return;if(y(x,n,g),k)for(var S=0,R=k.length;S<R;S++){var O=m[k[S]];O&&w(O,O.parentNode,!1)}}return!g&&x!==e&&e.parentNode&&(x.actualize&&(x=x.actualize(e.ownerDocument||nv)),e.parentNode.replaceChild(x,e)),x}}(function(t,e){var n,r,i,o,s=e.attributes;if(11!==e.nodeType&&11!==t.nodeType){for(var a=s.length-1;a>=0;a--)r=(n=s[a]).name,i=n.namespaceURI,o=n.value,i?(r=n.localName||r,t.getAttributeNS(i,r)!==o&&("xmlns"===n.prefix&&(r=n.name),t.setAttributeNS(i,r,o))):t.getAttribute(r)!==o&&t.setAttribute(r,o);for(var c=t.attributes,l=c.length-1;l>=0;l--)r=(n=c[l]).name,(i=n.namespaceURI)?(r=n.localName||r,e.hasAttributeNS(i,r)||t.removeAttributeNS(i,r)):e.hasAttribute(r)||t.removeAttribute(r)}});const dv=hv;function pv(){const t=["isWordSplitSource","abort","querySelectorAll","106afiqBQ","map","code","now","isStreaming","delay","bind","mark","textNodeStyle","14CyDoaS","push","forEach","cleanUpAnimations","3155040yUKmYs","from","4772YdJlaJ","addEventListener","join","del","replaceWith","366768YyImwn","1606580LjCNcM","splitTextNodeIntoWordNodes","shouldBeStreamed","children","759784HVOEjN","renderNode","sup","sub","document","isWordSplitResult","options","length","ins","15MLcPta","1903068NkfcgW","stop","childNodes","getParsedDocumentNodeList","includes","entries","match","nodesList","onStreamUpdate","html-streamer-current-index-out-of-bounds","reverse","span[data-ck-html-streamer-word-chunk]","strong","parent","1415262kQmUgF","timeoutAbortController","span","currentIndex","tagName","attribs","signal","div","stream"];return(pv=function(){return t})()}const fv=gv;function gv(t,e){const n=pv();return(gv=function(t,e){return n[t-=476]})(t,e)}!function(t){const e=gv,n=t();for(;;)try{if(280719===-parseInt(e(498))/1*(parseInt(e(483))/2)+-parseInt(e(517))/3*(parseInt(e(503))/4)+parseInt(e(504))/5+parseInt(e(532))/6*(parseInt(e(492))/7)+parseInt(e(508))/8+-parseInt(e(518))/9+parseInt(e(496))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pv);class mv{[fv(514)];[fv(487)]=!1;[fv(512)]=null;[fv(525)]=[];[fv(535)]=0;[fv(533)]=null;constructor(t){const e=fv;this[e(514)]={delay:t[e(488)]??20,textNodeStyle:t[e(491)],onStreamUpdate:t[e(526)]||(()=>{})}}async[fv(479)]({document:t,targetElement:e,abortSignal:n}){const r=fv;this[r(487)]&&this[r(519)](),n?.[r(499)](r(481),this[r(519)][r(489)](this)),this[r(512)]=vl(t,!0),this[r(525)]=this[r(521)](),this[r(487)]=!0,this[r(535)]>this[r(525)][r(515)]&&((0,s.logWarning)(r(527),{currentIndex:this[r(535)],nodeList:this[r(525)]}),this[r(535)]=this[r(525)][r(515)]);for(let t=0;t<this[r(535)];t++)this[r(525)][t][r(506)]=!0;let i=0;for(let t=this[r(535)];t<this[r(525)][r(515)];t++){const n=Date[r(486)](),o=this[r(525)][t],s=n-i;o[r(506)]=!0;let a=o[r(531)];for(;a;)a[r(506)]=!0,a=a[r(531)];if(s<this[r(514)][r(488)])try{const{promise:t,abortController:e}=wv(this[r(514)][r(488)]-s);this[r(533)]=e,await t}catch(t){return}dv(e,"<"+e[r(536)]+">"+this[r(509)](this[r(512)])+"</"+e[r(536)]+">",{childrenOnly:!0}),this[r(514)][r(526)]&&this[r(514)][r(526)](),this[r(535)]=t,i=Date[r(486)]()}this[r(487)]=!1}[fv(495)]({targetElement:t}){const e=fv;Array[e(497)](t[e(482)](e(529)))[e(528)]()[e(494)](t=>{const n=e;t[n(502)](t[n(520)][0])})}[fv(519)](){const t=fv;this[t(487)]=!1,this[t(533)]&&(this[t(533)][t(481)](),this[t(533)]=null)}[fv(509)](t){const e=fv;let n="";if(wl(t))for(const r of t[e(507)])n+=this[e(509)](r);else if(bv(t)){if(!t[e(506)])return"";const r=t,i=Object[e(523)](r[e(476)])[e(484)](([t,e])=>t+'="'+e+'"')[e(500)](" ");n+="<"+r[e(536)]+(i?" "+i:"")+">";for(const t of Fu(r))n+=this[e(509)](t);n+="</"+r[e(536)]+">"}else{if(!_v(t))return"";if(!t[e(506)])return"";!function(t){const n=e;return!(!t[n(531)]||!bv(t[n(531)]))&&(!!kv[n(522)](t[n(531)][n(536)])&&!qu(t)[n(524)](/^\s*[<>]\s*$/))}(t)?n+=Hu(t):n+=Hu(new ml(e(534),{"data-ck-html-streamer-word-chunk":"",style:this[e(514)][e(491)]},[t]))}return n}[fv(521)](){const t=fv,e=[];return function(t,e){const n=gv,r=t=>{const n=gv;if(e(t),t instanceof pl)for(let e=0;e<t[n(507)][n(515)];e++){const i=t[n(507)][e];r(i)}};for(let e=0;e<t[n(507)][n(515)];e++)r(t[n(507)][e])}(this[t(512)],n=>{const r=t;if(_v(n)){const t=this[r(505)](n);t[r(515)]&&e[r(493)](...t)}n[r(480)]||n[r(513)]||e[r(493)](n)}),e}[fv(505)](t){const e=fv;if(t[e(480)]||t[e(513)])return[];const n=qu(t)[e(524)](/(?:\s*\S+\s*)/g),r=[];if(n&&n[e(515)]>1){for(const i of n){const n=new ul(i);n[e(513)]=!0,Ku(t,n),r[e(493)](n)}t[e(480)]=!0,Gu(t)}return r}}const kv=["p","li","td","th",fv(534),"h1","h2","h3","h4","h5","h6","b",fv(530),"i","em",fv(490),fv(501),fv(516),fv(510),fv(511),"a",fv(485),fv(478)];function _v(t){return _l(t)}function bv(t){return kl(t)}function wv(t){const e=new AbortController;return{promise:new Promise((n,r)=>{const i=gv,o=setTimeout(n,t);e[i(477)][i(499)](i(481),()=>{clearTimeout(o),r()})}),abortController:e}}function Iv(t,e){const n=Av();return(Iv=function(t,e){return n[t-=415]})(t,e)}const vv=Iv;!function(t){const e=Iv,n=t();for(;;)try{if(700880===parseInt(e(416))/1*(-parseInt(e(435))/2)+parseInt(e(415))/3+parseInt(e(430))/4*(parseInt(e(420))/5)+-parseInt(e(419))/6*(-parseInt(e(422))/7)+parseInt(e(421))/8+parseInt(e(425))/9*(parseInt(e(429))/10)+parseInt(e(432))/11*(-parseInt(e(431))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Av);const yv=[vv(433),vv(427),vv(418),vv(417),vv(434),vv(424),vv(426),vv(423),vv(428)];function Av(){const t=["660723NHDGcQ","174821yuJoQc","rejectSuggestion","applySuggestion","12zlMJNK","163105QfMvFd","3730760hZVsem","2822869GCYSBq","like","mouseLeaveSuggestion","9zyJQnG","toggleSuggestionDisplayMode","insertSuggestion","dislike","132510mcWqGe","16cFqeyx","31212bTYjRF","1001MgkzXc","showChangeInText","mouseOverSuggestion","8DrRTHW"];return(Av=function(){return t})()}const Ev=xv;function xv(t,e){const n=Sv();return(xv=function(t,e){return n[t-=479]})(t,e)}!function(t){const e=xv,n=t();for(;;)try{if(668610===-parseInt(e(538))/1+-parseInt(e(520))/2+-parseInt(e(509))/3+-parseInt(e(517))/4*(parseInt(e(522))/5)+parseInt(e(481))/6+parseInt(e(496))/7*(-parseInt(e(504))/8)+-parseInt(e(519))/9*(-parseInt(e(483))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Sv);class Tv extends a.View{[Ev(508)];[Ev(493)];[Ev(550)];[Ev(545)];constructor(t,{part:e,areActionsDisabled:n}){const r=Ev;super(t),this[r(525)](r(544),e),this[r(525)](r(546),r(536)),this[r(525)](r(516),!1),this[r(528)](r(497)).to(this,r(546),t=>r(536)==t&&!n),this[r(493)]=this[r(526)](),this[r(508)]=new mv({textNodeStyle:r(489),delay:20}),this[r(550)]=new Cv(t,e),this[r(550)][r(528)](r(544)).to(this),this[r(550)][r(528)](r(497)).to(this),this[r(550)][r(528)](r(546)).to(this),this[r(550)][r(498)](...yv).to(this);const i=this[r(532)];this[r(545)]=new a.View,this[r(545)][r(521)]({tag:r(515),attributes:{class:["ck",r(502)]}}),this[r(493)][r(487)]([this[r(545)]]),this[r(521)]({tag:r(515),attributes:{class:["ck",r(540),i.to(r(546),t=>r(486)+t),i.to(r(497),t=>t?r(523):void 0),i.if(r(516),r(535),t=>!t)]},children:this[r(493)],on:{mouseenter:i.to(()=>{const t=r;this[t(497)]&&this[t(530)](t(488),{index:e[t(494)]})}),mouseleave:i.to(()=>{const t=r;this[t(497)]&&this[t(530)](t(514),{index:e[t(494)]})})}})}async[Ev(501)]({part:t,renderingStrategy:e,abortSignal:n}){const r=Ev;this[r(544)]=t,this[r(516)]=!!this[r(544)][r(524)],this[r(544)][r(524)]&&(r(531)===e?await this[r(508)][r(548)]({document:this[r(544)][r(524)],targetElement:this[r(545)][r(542)],abortSignal:n}):this[r(545)][r(542)][r(492)]=nh(this[r(544)][r(524)]))}[Ev(518)](t){const e=Ev;t?this[e(493)][e(495)](this[e(550)])||this[e(493)][e(484)](this[e(550)],0):this[e(493)][e(495)](this[e(550)])&&this[e(493)][e(529)](this[e(550)])}}class Cv extends a.View{[Ev(493)];[Ev(534)];[Ev(541)];[Ev(507)];constructor(t,e){const n=Ev;super(t),this[n(525)](n(544),e),this[n(525)](n(497),!0),this[n(525)](n(546),n(536));const r=new a.IconView;r[n(524)]=o.IconThreeStars,r[n(499)]({attributes:{class:[n(480)]}});const i=new a.ButtonView(t);i[n(525)]({label:zc(t,n(549)),tooltip:!0,withText:!1,icon:o.IconDocumentWithLoupe}),i[n(528)](n(497)).to(this),i.on(n(490),()=>{const t=n;this[t(530)](t(506),{index:e[t(494)]})});const s=new a.ButtonView(t);s[n(525)]({label:zc(t,n(482)),tooltip:!0,withText:!1,icon:o.IconAddComment}),s[n(528)](n(497)).to(this),s.on(n(490),()=>{const t=n;this[t(530)](t(500),{index:e[t(494)]})});const c=new a.ButtonView(t);c[n(525)]({label:zc(t,n(533)),tooltip:!0,withText:!1,icon:o.IconRemove}),c.on(n(490),()=>{const t=n;this[t(530)](t(539),{index:e[t(494)]})}),c[n(528)](n(497)).to(this),this[n(534)]=new a.ToolbarView(t),this[n(534)][n(491)][n(487)]([i,s,c]),this[n(541)]=new a.IconView,this[n(541)][n(524)]=o.IconDocumentWithCheckmark,this[n(541)][n(499)]({attributes:{class:[n(527)],"data-cke-tooltip-text":zc(t,n(510)),"data-cke-tooltip-position":"n"}}),this[n(507)]=new a.IconView,this[n(507)][n(524)]=o.IconDocumentWithCross,this[n(507)][n(499)]({attributes:{class:[n(505)],"data-cke-tooltip-text":zc(t,n(543)),"data-cke-tooltip-position":"n"}});const l=new a.View(t);l[n(521)]({tag:n(511),attributes:{class:["ck",n(479)]},children:[zc(t,n(513),(e[n(494)]+1)[n(547)]())]}),this[n(493)]=this[n(526)](),this[n(493)][n(487)]([r,l,this[n(534)]]),this[n(521)]({tag:n(515),attributes:{class:["ck",n(512)]},children:this[n(493)]}),this.on(n(485),(t,e,r,i)=>{const o=n;switch(i){case o(536):this[o(493)][o(529)](this[o(534)]);break;case o(537):this[o(493)][o(529)](this[o(541)]);break;case o(503):this[o(493)][o(529)](this[o(507)])}switch(r){case o(536):this[o(493)][o(484)](this[o(534)]);break;case o(537):this[o(493)][o(484)](this[o(541)]);break;case o(503):this[o(493)][o(484)](this[o(507)])}})}}function Sv(){const t=["toString","stream","AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT","headerView","ck-ai-suggestion__body__content-part__title__label","ck-ai-suggestion__body__content-part__icon-title","7283556QwwSSG","AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION","43972970uUIxid","add","change:state","ck-ai-suggestion__body__content-part_","addMany","mouseOverSuggestion","animation: ck-html-streamer-fade-in .5s","execute","items","innerHTML","children","index","has","1251628uavHJI","isEnabled","delegate","extendTemplate","insertSuggestion","updateContent","ck-ai-suggestion__body__content-part__content","rejected","32jhqsVl","ck-ai-suggestion__body__content-part__icon-rejected","showChangeInText","_iconStateRejected","htmlStreamer","2406324QCAood","AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED","span","ck-ai-suggestion__body__content-part__title","AI_SUGGESTION_CONTENT_PART_TITLE","mouseLeaveSuggestion","div","isVisible","4XKswvM","toggleHeader","9alCgnR","2153124EkLGGv","setTemplate","6450185VDyhXg","ck-ai-suggestion__body__content-part_active","content","set","createCollection","ck-ai-suggestion__body__content-part__icon-accepted","bind","remove","fire","streaming","bindTemplate","AI_SUGGESTION_CONTENT_PART_DELETE","_toolbarView","ck-hidden","pending","accepted","1058690XxBTXQ","rejectSuggestion","ck-ai-suggestion__body__content-part","_iconStateAccepted","element","AI_SUGGESTION_CONTENT_PART_REJECTED","partDefinition","contentView","state"];return(Sv=function(){return t})()}const Rv=Ov;function Ov(t,e){const n=Lv();return(Ov=function(t,e){return n[t-=266]})(t,e)}!function(t){const e=Ov,n=t();for(;;)try{if(426492===parseInt(e(267))/1+parseInt(e(266))/2+-parseInt(e(278))/3+parseInt(e(290))/4+parseInt(e(281))/5+parseInt(e(270))/6+-parseInt(e(285))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lv);class Nv extends((0,s.EmitterMixin)()){[Rv(273)]=[];[Rv(288)]=!1;[Rv(286)];async[Rv(279)](t){const e=Rv,n=this[e(274)](t);return this[e(273)][e(287)](n),this[e(277)](),n[e(291)]}[Rv(284)](){const t=Rv;this[t(288)]&&(this[t(286)][t(284)](),this[t(286)]=void 0,this[t(273)]=[],this[t(283)](t(275)),this[t(288)]=!1)}get[Rv(268)](){const t=Rv;return this[t(273)][t(282)]||this[t(288)]?new Promise(e=>{const n=t;this[n(289)](n(275),()=>{e()})}):Promise[t(272)]()}async[Rv(277)](){const t=Rv;if(!this[t(288)]){this[t(286)]=new AbortController,this[t(288)]=!0;try{for(;this[t(273)][t(282)]&&this[t(288)];){const e=this[t(273)][t(269)]();try{await e[t(280)](this[t(286)][t(271)]),e[t(272)]()}catch(n){e[t(276)](n)}}}finally{this[t(288)]=!1,this[t(286)]=void 0}this[t(283)](t(275))}}[Rv(274)](t){let e,n;const r=new Promise((t,r)=>{e=t,n=r});return{callback:t,resolve:e,reject:n,completePromise:r}}}function Lv(){const t=["length","fire","abort","10348170TVybWo","_abortController","push","isProcessing","once","1048616GkaNKj","completePromise","991088NWtrOR","679010DRaDUe","queueEmptyPromise","shift","3818250GoBrEt","signal","resolve","queue","createTask","_queueEmpty","reject","_processQueue","2544576wJhUGa","enqueue","callback","3399555RNiVqv"];return(Lv=function(){return t})()}const Pv=Mv;function Mv(t,e){const n=Dv();return(Mv=function(t,e){return n[t-=245]})(t,e)}function Dv(){const t=["9BSLJjX","566822DzcQru","htmlStreamer","414oOscWe","element","isDone","animation: ck-html-streamer-fade-in .5s","3217280opNttV","5820636uGiHmI","content","stream","removeAttribute","setTemplate","children","cleanUpAnimations","[data-id]","options","ck-ai-chat__feed__item_done","2408crmXYt","ck-hidden","37900GBniit","div","forEach","createCollection","4tnFmMm","66qxVuhc","ck-ai-chat__feed__item","streamIntoElement","9253782MWenId","293272KppYBc","bindTemplate","ck-ai-chat__feed__text-item","markAsDone","set","querySelectorAll","147hmINQH","data-id","isVisible"];return(Dv=function(){return t})()}!function(t){const e=Mv,n=t();for(;;)try{if(797052===parseInt(e(263))/1*(parseInt(e(278))/2)+-parseInt(e(277))/3*(-parseInt(e(268))/4)+parseInt(e(246))/5+parseInt(e(267))/6+parseInt(e(274))/7*(-parseInt(e(257))/8)+-parseInt(e(280))/9*(-parseInt(e(259))/10)+parseInt(e(264))/11*(-parseInt(e(247))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dv);class Hv extends a.View{[Pv(255)];[Pv(248)]="";[Pv(279)];[Pv(252)];constructor(t){const e=Pv;super();const n=this[e(269)];this[e(272)](e(282),!1),this[e(272)](e(276),!0),this[e(279)]=new mv({textNodeStyle:e(245),delay:20}),this[e(255)]=t,this[e(252)]=this[e(262)](),this[e(251)]({tag:e(260),attributes:{class:["ck",e(265),n.if(e(282),e(256)),n.if(e(276),e(258),t=>!t),e(270)],"data-cke-ai-id":this[e(255)].id},children:this[e(252)]})}[Pv(271)](){const t=Pv;this[t(279)][t(253)]({targetElement:this[t(281)]}),this[t(281)][t(273)](t(254))[t(261)](e=>{const n=t;e[n(250)](n(275))}),this[t(282)]=!0}async[Pv(266)](t,e,n){const r=Pv;await this[r(279)][r(249)]({document:t,targetElement:e,abortSignal:n})}}function Bv(t,e){var n=Vv();return(Bv=function(t,e){return n[t-=128]})(t,e)}var Uv=Bv;function Vv(){var t=["innerHTML","434391uCGITp","3QCezZf","render","setContent","961048KwXHAj","1307655oIRoyP","warning","ck-ai-chat-error_warning","level","markAsDone","383128lhOszW","110605PFPPbj","element","ck-ai-chat-error","initialContent","3431454vWKaJj","extendTemplate","1363999LdvaKf","8MjeVXm","options"];return(Vv=function(){return t})()}!function(t){for(var e=Bv,n=t();;)try{if(351551===-parseInt(e(141))/1+parseInt(e(145))/2+parseInt(e(142))/3*(parseInt(e(130))/4)+-parseInt(e(131))/5+parseInt(e(135))/6+-parseInt(e(137))/7*(parseInt(e(138))/8)+-parseInt(e(146))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Vv);class qv extends Hv{constructor(t){var e=Bv;super(t),this[e(136)]({attributes:{class:[e(133),e(147)===t[e(128)]?e(148):""]}})}[Uv(143)](){var t=Uv;super[t(143)](),this[t(144)](this[t(139)][t(134)]),this[t(129)]()}[Uv(144)](t){var e=Uv;this[e(132)][e(140)]=t}}const Fv=zv;function zv(t,e){const n=Gv();return(zv=function(t,e){return n[t-=194]})(t,e)}function Gv(){const t=["isVisible","ck-reset_all-excluded","partsCount","67688IqiMLb","createCollection","ck-content","10UghvRj","AI_SUGGESTION_NO_PARTS_WARNING","1507618YzhOsB","_emptyPartsWarningView","first","setContent","hasNonEmptyParts","set","warning","state","hasPendingParts","updatePartState","abort","getPartView","ck-ai-suggestion__body__content-parts","addEventListener","_updateContentPartsPromiseQueue","pending","content","updateContentParts","6277689TasiQp","_areActionsDisabled","ck-ai-suggestion__body","toggleHeader","length","AI_SUGGESTION_EMPTY_PART_WARNING","get","queueEmptyPromise","6fUKpaZ","locale","917608kAKDlr","from","_children","find","index","5855GpbfCp","44734xCiQul","474oJHKsb","430503FDlcXB","enqueue","add","empty-parts-warning","markAsDone","delegate","setTemplate","9bgNTkh","updateContent","some","div","partDefinition"];return(Gv=function(){return t})()}!function(t){const e=zv,n=t();for(;;)try{if(116736===parseInt(e(244))/1*(-parseInt(e(236))/2)+-parseInt(e(246))/3+parseInt(e(205))/4+-parseInt(e(243))/5*(parseInt(e(245))/6)+-parseInt(e(210))/7+parseInt(e(238))/8*(parseInt(e(197))/9)+parseInt(e(208))/10*(parseInt(e(228))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Gv);class jv extends a.View{[Fv(240)];[Fv(229)];[Fv(224)];[Fv(211)];constructor(t,{areActionsDisabled:e}){const n=Fv;super(t),this[n(229)]=e,this[n(215)](n(218),!1),this[n(240)]=this[n(206)](),this[n(224)]=new Nv,this[n(211)]=new qv({id:n(249),initialContent:zc(t,n(233)),level:n(216)}),this[n(211)][n(202)]=!1,this[n(196)]({tag:n(200),attributes:{class:["ck",n(203),n(230),n(207)]},children:[{tag:n(200),attributes:{class:["ck",n(222)]},children:this[n(240)]},this[n(211)]]})}get[Fv(204)](){const t=Fv;return this[t(240)][t(232)]}async[Fv(227)]({parts:t,renderingStrategy:e,abortSignal:n}){const r=Fv;for(const n of t)this[r(224)][r(247)](async t=>{const i=r;let o=this[i(240)][i(241)](t=>t[i(201)][i(242)]==n[i(242)]);o||(o=new Tv(this[i(237)],{part:n,areActionsDisabled:this[i(229)]}),o[i(195)](...yv).to(this),this[i(240)][i(248)](o),this[i(218)]=!0),2===this[i(240)][i(232)]&&this[i(240)][i(212)][i(231)](!0),o[i(231)](this[i(240)][i(232)]>1),await o[i(198)]({part:n,renderingStrategy:e,abortSignal:t})});return n?.[r(223)](r(220),()=>{const t=r;this[t(224)][t(220)]()}),this[r(224)][r(235)]}[Fv(219)](t,e){const n=Fv;this[n(240)][n(234)](t)[n(217)]=e,this[n(218)]=n(225)==e||Array[n(239)](this[n(240)])[n(199)](t=>n(225)==t[n(217)])}[Fv(221)](t){const e=Fv;return this[e(240)][e(234)](t)}[Fv(194)](){const t=Fv,e=!this[t(240)][t(241)](e=>!!e[t(201)][t(226)]),n=!!this[t(240)][t(241)](e=>!e[t(201)][t(226)]);this[t(211)][t(202)]=n,e?this[t(211)][t(213)](zc(this[t(237)],t(209))):this[t(211)][t(213)](zc(this[t(237)],t(233)))}get[Fv(214)](){const t=Fv;return!!this[t(240)][t(241)](e=>!!e[t(201)][t(226)])}}function Wv(t,e){const n=Kv();return(Wv=function(t,e){return n[t-=145]})(t,e)}!function(t){const e=Wv,n=t();for(;;)try{if(258172===parseInt(e(155))/1*(-parseInt(e(156))/2)+-parseInt(e(153))/3+parseInt(e(146))/4+-parseInt(e(154))/5+-parseInt(e(148))/6*(parseInt(e(152))/7)+parseInt(e(149))/8+parseInt(e(150))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Kv);class Yv extends a.SpinnerView{constructor(t=void 0){const e=Wv;super();const n=t?e(151)+t:"";this[e(147)]({tag:e(145),attributes:{class:[e(157),n]}})}}function Kv(){const t=["1937592ZaTDbN","9553203gdPXMS","ck-ai-spinner_","1154405kbZOCs","59019qkJjAs","1262995rtmBCd","107zckpaJ","7580haGoPI","ck-ai-spinner","span","508212WGqeBP","extendTemplate","18mLfIoF"];return(Kv=function(){return t})()}const $v=Xv;function Qv(){const t=["1267kOpthN","ck-ai-suggestion__loader-text","areChangesVisible","updateContentParts","isVisible","19hjRhve","3172864VQxlkS","_createLoaderView","ck ck-ai-web-source","Sources","setTemplate","bind","ck-rounded-corners","updateSources","ck-ai-suggestion__container","670270woeRLW","isShowChangesToggleVisible","isOn","6396260xheScm","bodyView","ck-hidden","div","map","4909518OpiHmg","title","setLoading","isLoading","headerView","children","locale","small","delegate","bindTemplate","add","createCollection","span","hasNonEmptyParts","content","extendTemplate","miniToolbarView","clearLoading","ck-ai-suggestion__loader","displayHeader","toggleShowChanges","fire","hideLoader","loaderView","set","18356zCJeiU","addMany","sourcesView","toggleSuggestionDisplayMode","markAsDone","35894vCgyUF","showLoader","AI_CHAT_IS_WRITING","ck-ai-web-sources","isLoaderVisible","updateContent","4782kHYcbf","99fBEASQ","ck-ai-web-sources__header"];return(Qv=function(){return t})()}function Xv(t,e){const n=Qv();return(Xv=function(t,e){return n[t-=455]})(t,e)}!function(t){const e=Xv,n=t();for(;;)try{if(276613===-parseInt(e(509))/1*(parseInt(e(495))/2)+parseInt(e(502))/3*(-parseInt(e(490))/4)+parseInt(e(457))/5+parseInt(e(501))/6*(parseInt(e(504))/7)+parseInt(e(510))/8+-parseInt(e(465))/9+parseInt(e(460))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Qv);class Zv extends a.View{[$v(461)];[$v(470)];[$v(469)];[$v(481)];[$v(488)];[$v(492)];constructor(t,{showDiff:e,areActionsDisabled:n,miniToolbarConfig:r,hideHeader:i,showLoader:o}){const s=$v;super(t),this[s(489)](s(506),!1),this[s(489)](s(499),!!o),this[s(489)](s(468),!1),this[s(470)]=this[s(476)](),i||(this[s(469)]=new JI(t,{showDiff:e}),this[s(469)].on(s(485),(t,e)=>{const n=s;this[n(506)]=e[n(459)],this[n(486)](n(493),{showDiff:e[n(459)]})}),this[s(470)][s(475)](this[s(469)])),this[s(461)]=new jv(t,{areActionsDisabled:n}),this[s(461)][s(473)](...yv).to(this),this[s(461)][s(480)]({attributes:{class:[this[s(474)].if(s(499),s(462))]}}),this[s(481)]=new KI(t,r,e),this[s(481)][s(473)](...yv).to(this),this[s(481)].on(s(485),(t,e)=>{const n=s;this[n(506)]=e,this[n(486)](n(493),{showDiff:e})}),this[s(481)][s(515)](s(468)).to(this),this[s(470)][s(475)](this[s(461)]),this[s(470)][s(475)](this[s(481)]),this[s(492)]=new Jv(this[s(471)]),this[s(470)][s(475)](this[s(492)]),o&&(this[s(488)]=this[s(511)](),this[s(470)][s(475)](this[s(488)])),this[s(514)]({tag:s(463),attributes:{class:["ck",s(456),s(516)]},children:this[s(470)]})}async[$v(500)](t){const e=$v;await this[e(461)][e(507)](t)}[$v(455)](t){const e=$v;this[e(492)][e(470)][e(491)](t[e(464)](t=>new ty(this[e(471)],t))),this[e(492)][e(484)]=!0}[$v(496)](){const t=$v;this[t(488)]&&(this[t(499)]=!0)}[$v(487)](){const t=$v;this[t(488)]&&(this[t(499)]=!1)}[$v(494)](){const t=$v;this[t(461)][t(494)](),this[t(469)]&&(this[t(469)][t(458)]=this[t(461)][t(478)])}[$v(467)](){this[$v(468)]=!0}[$v(482)](){this[$v(468)]=!1}[$v(511)](){const t=$v,e=new a.View(this[t(471)]),n=new Yv(t(472));n[t(508)]=!0;const r=new a.View(this[t(471)]);return r[t(514)]({tag:t(477),attributes:{class:["ck",t(505)]},children:[zc(this[t(471)],t(497))]}),e[t(514)]({tag:t(463),attributes:{class:["ck",t(483),this[t(474)].if(t(499),t(462),t=>!t)]},children:[n,r]}),e}}class Jv extends a.View{[$v(470)];constructor(t){const e=$v;super(t),this[e(470)]=this[e(476)](),this[e(489)](e(484),!1),this[e(514)]({tag:e(463),attributes:{class:["ck",e(498)]},children:this[e(470)]});const n=new a.View(this[e(471)]),r=new a.IconView;r[e(479)]=zI,n[e(514)]({tag:e(463),attributes:{class:["ck",e(503),this[e(474)].if(e(484),e(462),t=>!t)]},children:[r,{tag:e(477),children:[{text:e(513)}]}]}),this[e(470)][e(475)](n)}}class ty extends a.ButtonView{constructor(t,e){const n=$v;super(t),this[n(489)]({icon:zI,label:e[n(466)],tooltip:e[n(466)],class:[n(512)],withText:!0})}}const ey='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>';function ny(){const t=["_createButton","ck-ai-balloon__toolbar","29419NRONoW","extendTemplate","1396029yYTwSf","12MSvvlG","ck-ai-button-secondary","65656OkpJXS","84rUhCVX","349041hEcyQX","AI_BALLOON_APPLY_BUTTON","isEnabled","locale","applyButton","suggestButton","50nljmli","9hLZaNu","bind","134079OekZDQ","26drShry","1054032GJONoB","isLoading","ck-ai-button-primary","add","items","set","4856570sipKDk","AI_BALLOON_SUGGEST_BUTTON"];return(ny=function(){return t})()}const ry=iy;function iy(t,e){const n=ny();return(iy=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=iy,n=t();for(;;)try{if(437612===parseInt(e(501))/1*(parseInt(e(490))/2)+-parseInt(e(503))/3+-parseInt(e(506))/4*(-parseInt(e(514))/5)+-parseInt(e(507))/6*(-parseInt(e(508))/7)+parseInt(e(491))/8+-parseInt(e(515))/9*(parseInt(e(497))/10)+-parseInt(e(489))/11*(-parseInt(e(504))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ny);class oy extends a.ToolbarView{constructor(t,e=!0,n=!0){const r=iy;super(t),this[r(496)](r(492),!1),e&&(this[r(512)]=this[r(499)](zc(t,r(509)),r(493)),this[r(512)][r(488)](r(510)).to(this,r(492),t=>!t),this[r(495)][r(494)](this[r(512)])),n&&(this[r(513)]=this[r(499)](zc(t,r(498)),r(505)),this[r(513)][r(488)](r(510)).to(this,r(492),t=>!t),this[r(495)][r(494)](this[r(513)])),this[r(502)]({attributes:{class:[r(500)]}})}[ry(499)](t,e){const n=ry,r=new a.ButtonView(this[n(511)]);return r[n(496)]({label:t,class:e||"",isVisible:!0,withText:!0}),r}}function sy(){var t=["setTemplate","7568775JFxhTU","15199430YBIDiV","3807273mwWmTm","519436OsVHWV","ck-ai-balloon__disclaimer","div","1245himNWL","13868ozzjnv","22GdKDBK","AI_DISCLAIMER_TEXT","ck-ai-balloon__disclaimer-content","2ixOukj","233401hUDzZV","150TYvKdf","10745792ZAShUF"];return(sy=function(){return t})()}function ay(t,e){var n=sy();return(ay=function(t,e){return n[t-=114]})(t,e)}!function(t){for(var e=ay,n=t();;)try{if(719402===-parseInt(e(129))/1*(parseInt(e(121))/2)+-parseInt(e(128))/3+-parseInt(e(117))/4*(parseInt(e(116))/5)+-parseInt(e(123))/6*(-parseInt(e(122))/7)+-parseInt(e(124))/8+parseInt(e(126))/9+parseInt(e(127))/10*(parseInt(e(118))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sy);class cy extends a.View{constructor(t){var e=ay;super(t),this[e(125)]({tag:e(115),attributes:{class:["ck",e(114)]},children:[{tag:"p",attributes:{class:["ck",e(120)]},children:[{text:zc(t,e(119))}]}]})}}function ly(){const t=["setLoading","_mainView","10ZOwHET","1083372LAMZgZ","shift + tab","focusCycler","_addToolbar","setTemplate","_addDisclaimerView","showApplyButton","locale","2709735CEZuwX","element","children","listenTo","focusTracker","AI_BALLOON_NEXT_TOOLTIP","showSuggestButton","7390026UKiJhN","tab","set","6910RqDRQI","add","applyButton","view","fire","showPrevious","612941iHcIyz","mainView","applySuggestion","headerView","execute","disclaimerView","clearLoading","_addContentView","keystrokes","insertSuggestion","_createNextButtonView","_focusables","div","2TNunHp","isLoading","suggestButton","focusFirst","focus","showNext","_dialogContent","AI_BALLOON_PREVIOUS_TOOLTIP","setupRotator","8dbonPb","createCollection","clear","bind","516jXYZEk","focusLast","render","toolbar","ai-balloon-content","addMany","_createPreviousButtonView","2093724xUtlwg","2553067dhZEca"];return(ly=function(){return t})()}const uy=hy;function hy(t,e){const n=ly();return(hy=function(t,e){return n[t-=231]})(t,e)}!function(t){const e=hy,n=t();for(;;)try{if(640226===-parseInt(e(264))/1*(-parseInt(e(277))/2)+parseInt(e(240))/3+parseInt(e(235))/4+-parseInt(e(258))/5*(-parseInt(e(290))/6)+-parseInt(e(248))/7+parseInt(e(286))/8*(-parseInt(e(255))/9)+parseInt(e(239))/10*(parseInt(e(236))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ly);const dy=[uy(266),uy(273),uy(282),uy(263)];class py extends a.View{[uy(252)];[uy(272)];[uy(242)];[uy(275)];constructor(t,e){const n=uy;super(t),this[n(257)](n(278),!1),this[n(252)]=new s.FocusTracker,this[n(272)]=new s.KeystrokeHandler,this[n(275)]=this[n(287)](),this[n(242)]=new a.FocusCycler({focusables:this[n(275)],focusTracker:this[n(252)],keystrokeHandler:this[n(272)],actions:{focusPrevious:n(241),focusNext:n(256)}}),this[n(283)]=new a.ViewCollection,this[n(271)](e[n(265)]),this[n(245)](),this[n(243)](e[n(246)],e[n(254)]),this[n(231)][n(289)](n(278)).to(this),this[n(275)][n(288)](),this[n(275)][n(233)]([this[n(231)]]),this[n(244)]({tag:n(276),attributes:{class:n(232)},children:this[n(283)]})}[uy(292)](){const t=uy;super[t(292)]();for(const e of this[t(275)])this[t(252)][t(259)](e[t(249)]);this[t(272)][t(251)](this[t(249)])}[uy(281)](t){const e=uy;-1===t?this[e(242)][e(291)]():this[e(242)][e(280)]()}[uy(237)](){this[uy(278)]=!0}[uy(270)](){this[uy(278)]=!1}[uy(285)](t){const e=uy,n=this[e(274)](),r=this[e(234)]();t[e(261)][e(267)][e(250)][e(259)](n,2),t[e(261)][e(267)][e(250)][e(259)](r,0),this[e(275)][e(233)]([n,r]),this[e(252)][e(259)](n[e(249)]),this[e(252)][e(259)](r[e(249)])}[uy(271)](t){const e=uy;this[e(238)]=t,this[e(283)][e(259)](this[e(238)])}[uy(245)](){const t=uy;this[t(269)]=new cy(this[t(247)]),this[t(283)][t(259)](this[t(269)])}[uy(243)](t=!0,e=!0){const n=uy;this[n(231)]=new oy(this[n(247)],t,e),this[n(231)][n(260)]?.on(n(268),()=>{const t=n;this[t(262)](t(266))}),this[n(231)][n(279)]?.on(n(268),()=>{const t=n;this[t(262)](t(273))}),this[n(283)][n(259)](this[n(231)])}[uy(274)](){const t=uy,e=new a.ButtonView(this[t(247)]);return e[t(257)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382z"/></svg>',tooltip:zc(this[t(247)],t(253))}),e.on(t(268),()=>{const e=t;this[e(262)](e(282))}),e}[uy(234)](){const t=uy,e=new a.ButtonView(this[t(247)]);return e[t(257)]({icon:ey,tooltip:zc(this[t(247)],t(284))}),e.on(t(268),()=>{const e=t;this[e(262)](e(263))}),e}}var fy=n(660),gy={attributes:{"data-cke":!0}};gy.setAttributes=Et(),gy.insert=yt().bind(null,"head"),gy.domAPI=It(),gy.insertStyleElement=Tt();bt()(fy.A,gy);fy.A&&fy.A.locals&&fy.A.locals;function my(t,e){const n=_y();return(my=function(t,e){return n[t-=446]})(t,e)}const ky=my;function _y(){const t=["close","round","getBoundingClientRect","show","hideFakeVisualSelection","innerHeight","ai-balloon-","583382XyuBVi","2838695HVpHlO","showRotator","AIEditing","3402126eCbFzH","showFakeVisualSelection","_showDialog","locale","isOpen","markers","21UXzQCD","AIBalloon","index","bind","isOfficialPlugin","open","hide","height","isPremiumPlugin","editing","_calculateDialogPosition","width"," ai-balloon-rotator","ai-balloon","14210196evlXVS","_setupVisualSelection","icon","get","title","ai-balloon-selection","fire","delegate","requires","ranges","4OpQzKu","balloonView","562278QviBmC","length","model","getMarkersGroup","_calculateOptimalTopPosition","dialogClosed","context","Dialog","5570110qsejIg","2nnOjuw","_config","758864eYqOZC","plugins","pluginName","setupRotator","top","aiBalloon","9EZjlkz","ai-selection","left"];return(_y=function(){return t})()}!function(t){const e=my,n=t();for(;;)try{if(319839===parseInt(e(481))/1+-parseInt(e(463))/2*(-parseInt(e(454))/3)+parseInt(e(452))/4*(-parseInt(e(482))/5)+parseInt(e(485))/6+parseInt(e(491))/7*(parseInt(e(465))/8)+parseInt(e(471))/9*(parseInt(e(462))/10)+-parseInt(e(505))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_y);ky(459);class by extends i.ContextPlugin{static get[ky(450)](){return[$c,kb]}static get[ky(467)](){return ky(492)}static get[ky(495)](){return!0}static get[ky(499)](){return!0}[ky(489)]=!1;[ky(464)];[ky(496)](t){const e=ky,n=db(this[e(460)]);this[e(464)]=t,this[e(453)]=new py(n[e(488)],t),this[e(453)][e(449)](...dy).to(this),this[e(487)](t)}[ky(474)](){const t=ky;db(this[t(460)])[t(466)][t(508)](t(461))[t(497)]()}[ky(506)](t,e){const n=ky;this[n(460)][n(466)][n(508)](kb)[n(486)](t,n(480)+e,!0,!0)}[ky(487)](t){const e=ky,n=db(this[e(460)]);this[e(506)](t[e(451)],t[e(493)]),n[e(466)][e(508)](e(461))[e(477)]({title:t[e(446)],icon:t[e(507)],hasCloseButton:!0,id:e(470),position:this[e(501)][e(494)](this),className:e(504)+(t[e(483)]?e(503):""),content:this[e(453)],onShow:n=>{const r=e;t[r(483)]&&this[r(453)][r(468)](n),this[r(489)]=!0},onHide:()=>{const n=e;this[n(460)][n(466)][n(508)](n(484))[n(478)](n(480)+t[n(493)]),this[n(448)](n(459)),this[n(489)]=!1}})}[ky(501)](t,e){const n=ky,r=db(this[n(460)]);if(!e)return{left:0,top:0};const i=function(t,e){const n=Rw;if(0===e[n(136)])return null;const r=[],i=t[n(145)][n(137)];for(const o of e){const e=t[n(147)][n(128)](o[n(127)]);if(!e)continue;const s=Array[n(146)](e)[n(132)](t=>i[n(140)](t))[n(131)](t=>!!t);r[n(138)](...s)}if(0===r[n(136)])return null;const o=[];for(const t of r){const e=t[n(139)]()[n(142)](0);e&&o[n(138)]({x:e.x,y:e.y,domElement:t})}return 0===o[n(136)]?null:(o[n(134)]((t,e)=>t.y-e.y||t.x-e.x),o[n(132)](t=>t[n(133)]))}(r[n(500)],[...r[n(456)][n(490)][n(457)](n(472)),...r[n(456)][n(490)][n(457)](n(447))]);if(!i||0===i[n(455)])return{left:Math[n(475)](e[n(473)]+e[n(502)]/2-t[n(502)]/2),top:Math[n(475)](e[n(469)]+e[n(498)]/2-t[n(498)]/2)};const o=Math[n(475)](e[n(473)]+e[n(502)]/2-t[n(502)]/2),s=i[0][n(476)](),a=i[i[n(455)]-1][n(476)](),c=t[n(498)],l=this[n(464)][n(483)]?8:0;return{left:o,top:this[n(458)](s,a,c,l)}}[ky(458)](t,e,n,r=0){const i=ky,o=e[i(469)]+e[i(498)],s=t[i(469)]-n-r,a=window[i(479)]-o-10,c=t[i(469)]-r-10;let l;return l=a>=n?o+10:c>=n?s-10:t[i(469)]+(e[i(469)]+e[i(498)])/2-(n+r)/2,l}}const wy=Iy;function Iy(t,e){const n=vy();return(Iy=function(t,e){return n[t-=390]})(t,e)}function vy(){const t=["addSelectionToChatContext","resource","content","set","updateConversationTitle","requires","_showConversationHistory","isDisabled","getRoot","query","addFeedItemStaticMessage","addOperation","populateSourceResourceBalloon","_removeAISelectionMarkers","dialogClosed","ai-chat-url-upload-failed","rootName","delete","removeSelectionFromChatContext","1709970TxmxpL","replyContentUpdated","loadSourceResources","state","1155328jgpmqC","Liked response","mouseLeaveSuggestion","selectedModel","Suggestion ","AIChatController","remove","anchorId","startConversation","availableModels","39xGZXsl","locale","path","showFakeVisualSelection","isStarted","modification-delta","_getDocumentRangeForReplyChanges","document","viewRangeToDom","_applyOperationsAsSuggestions","source","options","start","children","capabilitiesUpdated","setAddContextOptions","getSelectionText","getAttribute","sourceId","conversationInitialized","stop","isOpen","DocumentCompare","hideFakeVisualSelection","isOfficialPlugin","addDocumentToContext","version","addSelectionToContext","getFirstRange","updateFeedItemAIReplySuggestionContent","_previewedChangeGroup","addFeedItemAIReply","range","stopInteraction","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL","createConversation","resize","_scrollToSuggestionRange","startsWith","type","indexOf","find","push","addFilesToContext","stopListening","streaming","createPositionFromPath","isCurrentDocumentInContext","chat","ai-chat-controller-mouse-over","like","handleUserInteraction","showPrevious","loadConversation","_toggleReasoning","root","showChangeInText","editors","resizeTabs","model","updateCurrentDocumentInContext","_batchToChanges","focusPromptInput","abortPromptStream","maxOffset","editing","clearConversationContextUI","_stopLastInteraction","length","removeFeedInteraction","setConversationContext","_applySuggestion","change","finishInteraction","setIsMaximized","split","string","has","addFileToContext","replyChangeGroupStateUpdated","contextItemRemoved","setConversationTitle","data","toLocaleLowerCase","TrackChangesEditing","setContextItemLoading","resourceStateChanged","documentContextContent","updateFeedItemAIReplySuggestionPartState","resetMessageInput","AI_CHAT_CONTEXT_INVALID_DATA","collaboration.channelId","resources","ai-chat-resource-load-failed","closeSourceResourceBalloon","message","24418hBumTO","ai.chat.models.displayedModels","startInteraction","view","AI_CHAT_RESOURCE_LOAD_FAILED","53276pqqwOl","history","addContextOptionsChanged","_aiEditing","getChild","sourcePosition","undo","main","error","applyOperation","interactionStarted","contextItems","text-delta","ai-conversation-","_insertSuggestion","AI_CHAT_UNTITLED_CONVERSATION","lastInteraction","sendMessage","contextItemAdded","context","addFeedItemError","rejected","redo","_setIsMaximized","Showing conversation history...","AIChatUI","interactionDestroyed","ai-chat-controller-no-active-conversation","_balloonShowDiff","getChildren","rejectSuggestion","slice","AI_CHAT_GENERIC_ERROR","toggleLoadingSkeleton","close","isDocumentOperation","addResourceToContext","load","add","updateFeedInteractionHeader","$graveyard","filter","removeContextItem","cloneNode","selectModel","config","ai-chat-context-unsupported-type","changes","uid","removeSelectionFromContext","parse","current-document","AIConnector","updateFeedItemAIReplyContent","mapper","getInteraction","AITabs","_toggleWebSearch","_updateReplyContent","scrollFeedToSuggestion","replies","end","indexes","interactionFinished","unshift","addContextItem","applySuggestion","getDocumentData","removeMarker","new","AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES","_filterModels","pending","_createFromRanges","handleRemovedConversation","isInContext","ai-request-aborted","isCurrentDocumentInConversation","alignToTop","addFeedItemAISuggestion","getPath","showNext","ai-chat-file-upload-failed","activeConversation","commands","getRanges","isLoading","_openBalloonFor","map","AIEditing","createPositionAt","getMarkersGroup","afterInit","markers","Failed to load conversation","ai.chat.models.defaultModelId","domConverter","uploadProgressChanged","sourceResourcesLoaded","pluginName","updateContent","AI_CHAT_ABORTED_MESSAGE","partIndex","toggleSuggestionDisplayMode","from","setChangeGroupState","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE","selection","interactionCreated","updateFeedItemAIReplySources","addCurrentDocumentToContext","160315NKaPAo","replyCreated","forEach","dislike","interactionId","ready","removeFromContext","253143ZPpatw","getDocumentContext","clearPendingContextUI","addFeedItemUserMessage","_logError","_aiChatModels","setModel","static","toggleReasoning","AI_CHAT_CONTEXT_UNSUPPORTED_TYPE","name","get","42SEJWSp","1489691OFYjiY","removed","ai-chat-source-resources-load-failed","toViewRange","nextSibling","getReply","changeGroups","provider","ai.chat.context","insertSuggestion","_flushLastInteractionUI","AI_CHAT_UNABLE_TO_START_CONVERSATION","data-id","open","createRange","addUrlToContext","howMany","updateResourceState","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","updateCapabilities","_removeFromContext","getGroupId","activateTab","getInteractionAndReplyById","resetConversationTitle","contextSent","setIsUploadInProgress","plugins","baseVersion","accepted","ai-chat-missing-channel-id","mouseOverSuggestion","revert","contextItem","resourceId","isUploadInProgress","getDiff","_aiConnector","17TaqPPG","getOperations","toggleWebSearch","getChildAtOffset","contextItemLoadingEnded","addFeedInteractionHeader","batch","Disliked response","node","uiId","_integrateEditor","_handleStartConversation","log","ai-chat-conversation-start-failed","sendUserMessage","modelSelected","resizedTabs","full","setFeedItemRenderingStrategy","listenTo","replyId","ai-chat-context-invalid-data","setSelectedModel","getTransformedByOperation","Undo","ai-chat-conversation-init-failed","sources","isPremiumPlugin","init","_handleUIUserMessage","_aiChatUi","showDiff"];return(vy=function(){return t})()}!function(t){const e=Iy,n=t();for(;;)try{if(115562===parseInt(e(400))/1*(-parseInt(e(561))/2)+parseInt(e(465))/3*(parseInt(e(566))/4)+parseInt(e(677))/5*(parseInt(e(696))/6)+parseInt(e(697))/7+-parseInt(e(455))/8+parseInt(e(684))/9+-parseInt(e(451))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vy);class yy extends i.ContextPlugin{[wy(569)];[wy(399)];[wy(430)];[wy(689)];[wy(526)]=new Map;[wy(495)]=null;[wy(594)]=!1;static get[wy(437)](){return[$c,by,iI]}static get[wy(665)](){return wy(460)}static get[wy(489)](){return!0}static get[wy(427)](){return!0}[wy(428)](){const t=wy;this[t(399)]=this[t(585)][t(724)][t(695)](t(618)),this[t(430)]=this[t(585)][t(724)][t(695)](t(591)),this[t(569)]=this[t(585)][t(724)][t(695)](t(655)),this[t(689)]=new bb({connector:this[t(399)]});const e=this[t(585)][t(724)][t(695)](t(622));this[t(419)](this[t(430)],t(463),()=>{this[t(411)]()}),this[t(419)](this[t(430)],t(414),(e,n)=>{this[t(429)]({userMessage:n})}),this[t(419)](e,t(416),(e,n)=>{this[t(589)](n)}),this[t(419)](this[t(430)],t(523),()=>{e[t(501)]()}),this[t(419)](this[t(430)],t(528),async()=>{const e=t;await this[e(532)](),await this[e(707)]()}),this[t(419)](this[t(430)],t(490),()=>{const e=t;this[e(649)]?.[e(676)](zc(this[e(585)][e(466)],e(715)))}),this[t(419)](this[t(430)],t(543),(e,n)=>{const r=t;this[r(649)]?.[r(508)](Array[r(670)](n))}),this[t(419)](this[t(430)],t(712),(e,n)=>{const r=t;this[r(649)]?.[r(712)](n)}),this[t(419)](this[t(430)],t(602),(e,n)=>{const r=t;this[r(649)]?.[r(602)](n[r(475)],n[r(433)])}),this[t(419)](this[t(430)],t(608),(e,n)=>{this[t(717)](n)}),this[t(419)](this[t(430)],t(453),(e,n)=>{const r=t;this[r(649)]?.[r(453)](n[r(483)],n[r(441)],n[r(614)])}),this[t(419)](this[t(430)],t(402),()=>{this[t(623)]()}),this[t(419)](this[t(430)],t(692),()=>{this[t(519)]()}),this[t(419)](this[t(430)],t(610),(e,n)=>{const r=t;this[r(649)]?.[r(690)](n)}),this[t(419)](this[t(430)],t(515),(e,{replyId:n})=>{const r=t;console[r(412)](r(456),n)}),this[t(419)](this[t(430)],t(680),(e,{replyId:n})=>{const r=t;console[r(412)](r(407),n)}),this[t(419)](this[t(430)],t(706),(e,n)=>{const r=t;this[r(585)][r(724)][r(695)](by)[r(600)](),this[r(580)](n)}),this[t(419)](this[t(430)],t(521),(e,{replyId:n,partIndex:r})=>{const i=t;this[i(594)]=this[i(430)][i(431)],this[i(653)](n,r)}),this[t(419)](this[t(430)],t(393),(e,{replyId:n,partIndex:r})=>{const i=t,o=this[i(471)](n,r);o&&i(606)!=o[i(497)][i(520)][i(448)]&&this[i(569)][i(468)]([o[i(497)]],i(514))}),this[t(419)](this[t(430)],t(457),()=>{const e=t;this[e(569)][e(488)](e(514))}),this[t(419)](this[t(430)],t(632),(e,n)=>{const r=t;this[r(585)][r(724)][r(695)](by)[r(600)](),this[r(536)](n)}),this[t(419)](this[t(430)],t(669),async(e,n)=>{const r=t,{reply:i}=this[r(720)](n[r(420)]),o=DI({editor:db(this[r(585)]),changeGroups:i[r(703)],documentContextContent:i[r(552)],showDiff:n[r(431)]});await this[r(430)][r(494)]({id:i.id,parts:o,renderingStrategy:r(691)})}),this[t(419)](this[t(430)],t(596),(e,{replyId:n,partIndex:r})=>{const i=t;this[i(495)]?.[i(420)]==n&&this[i(495)]?.[i(668)]==r&&this[i(585)][i(724)][i(695)](by)[i(600)]();const{reply:o}=this[i(720)](n);o[i(671)](r,i(587)),this[i(569)][i(488)](i(514))})}async[wy(658)](){const t=wy;this[t(585)]instanceof i.Editor?this[t(410)](this[t(585)]):this[t(419)](this[t(585)][t(522)],t(604),(e,n)=>{const r=t;n.on(r(682),()=>{this[r(410)](n)})}),await this[t(411)]()}[wy(580)](t){const e=wy,n=db(this[e(585)]);if(!n[e(724)][e(542)](e(549)))return;const r=this[e(585)][e(724)][e(695)](e(487)),{reply:i,interaction:o}=this[e(720)](t[e(420)]),s=this[e(471)](t[e(420)],t[e(668)]),a=void 0!==t[e(668)]?[i[e(703)][t[e(668)]]]:i[e(703)][e(607)](t=>e(638)==t[e(454)]),c=a[e(654)](t=>i[e(703)][e(505)](t));c[e(679)](t=>i[e(671)](t,e(391)));const l=PI({editor:n,reply:i,interaction:o,groups:a,transform:!0,documentCompare:r,documentCompareOptions:{anchor:e(573),markDeletions:!0}});let u;s&&this[e(502)](s[e(497)]),n[e(524)][e(537)](t=>{const r=e;u=t[r(406)],n[r(724)][r(695)](r(549))[r(474)](l),this[r(569)][r(488)](r(514))}),this[e(526)][e(435)](u,{interactionId:o.id,replyId:i.id,indexes:c[e(597)]()})}[wy(536)](t){const e=wy,n=db(this[e(585)]),r=this[e(585)][e(724)][e(695)](iI),{reply:i,interaction:o}=this[e(720)](t[e(420)]),s=this[e(471)](t[e(420)],t[e(668)]),a=void 0!==t[e(668)]?[i[e(703)][t[e(668)]]]:i[e(703)][e(607)](t=>e(638)==t[e(454)]),c=a[e(654)](t=>i[e(703)][e(505)](t));c[e(679)](t=>i[e(671)](t,e(391)));const l=PI({editor:n,reply:i,interaction:o,groups:a,transform:!0,documentCompare:r,documentCompareOptions:{anchor:e(573),markDeletions:!1}});let u;s&&this[e(502)](s[e(497)]),n[e(524)][e(537)](t=>{const r=e;u=t[r(406)];for(const e of l)e[r(390)]=n[r(524)][r(472)][r(491)],t[r(406)][r(443)](e),n[r(524)][r(575)](e)}),this[e(526)][e(435)](u,{interactionId:o.id,replyId:i.id,indexes:c[e(597)]()})}[wy(653)](t,e){const n=wy,r=db(this[n(585)]),i=this[n(471)](t,e),o=this[n(585)][n(724)][n(695)](by);if(!i)return void o[n(600)]();const{range:s,currentIndex:a,previousIndex:c,nextIndex:l}=i;if(this[n(495)]?.[n(420)]==t&&this[n(495)]?.[n(668)]==a)return;this[n(495)]={replyId:t,partIndex:a};const u=new Zv(r[n(466)],{showDiff:this[n(594)],areActionsDisabled:!1,miniToolbarConfig:{showChanges:n(417)},hideHeader:!0}),{reply:h}=this[n(720)](t),d=DI({editor:r,changeGroups:[h[n(703)][a]],documentContextContent:h[n(552)],showDiff:this[n(594)]});u[n(666)]({parts:d,renderingStrategy:n(691)});const p=a!==c;this[n(502)](s,!0),o[n(710)]({index:a,title:n(459)+(a+1),icon:FI,mainView:u,showRotator:p,showApplyButton:!0,showSuggestButton:!0,ranges:[s]}),this[n(430)][n(625)](t,a),this[n(419)](u,n(669),(e,{showDiff:i})=>{const o=n;this[o(594)]=i;const{reply:s}=this[o(720)](t),c=DI({editor:r,changeGroups:[s[o(703)][a]],documentContextContent:s[o(552)],showDiff:i});u[o(666)]({parts:c,renderingStrategy:o(691)})}),this[n(419)](o,n(632),()=>{const e=n;this[e(536)]({replyId:t,partIndex:a}),p?this[e(653)](t,l):o[e(600)]()}),this[n(419)](o,n(706),()=>{const e=n;this[e(580)]({replyId:t,partIndex:a}),p?this[e(653)](t,l):o[e(600)]()}),p&&(this[n(419)](o,n(647),()=>{this[n(653)](t,l)}),this[n(419)](o,n(517),()=>{this[n(653)](t,c)})),this[n(419)](o,n(446),()=>{const t=n;this[t(509)](o),this[t(509)](u),this[t(495)]=null})}[wy(471)](t,e){const n=wy,r=db(this[n(585)]),{reply:i,interaction:o}=this[n(720)](t),s=i[n(703)][n(607)](t=>n(638)==t[n(454)]),a=s[n(654)](t=>i[n(703)][n(505)](t));void 0===e&&(e=a[0]);const c=a[n(505)](e);if(-1==c)return null;const l=0==c?a[a[n(533)]-1]:a[c-1],h=c==a[n(533)]-1?a[0]:a[c+1],d=s[c],p=new gl([]),f=new gl([]);for(const t of d[n(613)])if(n(698)!=t[n(504)]&&f[n(478)][n(507)](t[n(408)][n(609)](!0)),n(635)!=t[n(504)]){const e=Qu(e=>sh(e,n(709))==t.id,i[n(552)],!0);p[n(478)][n(507)](e[n(609)](!0))}if(0==p[n(478)][n(533)])if(d[n(613)][0][n(462)]){const t=ih(n(709),d[n(613)][0][n(462)],i[n(552)]);p[n(478)][n(630)](t[n(609)](!0)),f[n(478)][n(630)](t[n(609)](!0)),t[n(701)]&&(p[n(478)][n(507)](t[n(701)][n(609)](!0)),f[n(478)][n(507)](t[n(701)][n(609)](!0)))}else{const t=i[n(552)][n(478)][0];if(!t)return null;p[n(478)][n(507)](t[n(609)](!0)),f[n(478)][n(507)](t[n(609)](!0))}const g=o[n(685)](),m=r[n(547)][n(616)](g[n(434)]),k=nh(p),_=r[n(547)][n(616)](k),b=r[n(547)][n(616)](k),w=r[n(524)][n(656)](_,0),I=nh(f),v={anchor:w,markDeletions:!1},y=r[n(724)][n(695)](iI)[n(398)](k,I,v)[n(401)]();if(!y[n(533)])return null;r[n(524)][n(537)](t=>{const e=n;for(const n of y)if(e(461)==n[e(504)]){const i=n[e(571)],o=n[e(713)],s=new u._DetachOperation(i,o);t[e(406)][e(443)](s),r[e(524)][e(575)](s)}else n[e(390)]=null,n[e(601)]=!1,t[e(406)][e(443)](n),r[e(524)][e(575)](n)});const A=HI(r,y,_);BI(r[n(524)],A);const E=A[n(493)]()[n(477)][n(467)][n(597)](),x=A[n(493)]()[n(627)][n(467)][n(597)](),T=[];let C=_,S=b;for(let t=0;t<x[n(533)];t++){const e=C[n(529)]-x[t];T[t]=S[n(529)]-e,C=C[n(403)](x[t]),S=S[n(403)](T[t])}const R=r[n(524)][n(711)](r[n(524)][n(511)](b,E),r[n(524)][n(511)](b,T)),O=b[n(570)](0)[n(482)](eI),N=Array[n(670)](m[n(595)]())[n(506)](t=>t[n(482)](eI)==O)[n(646)](),L=R[n(477)][n(467)][n(597)](),P=R[n(627)][n(467)][n(597)]();L[0]=N[0]+L[0],P[0]=N[0]+P[0];let M=r[n(524)][n(711)](r[n(524)][n(511)](r[n(524)][n(472)][n(440)](),L),r[n(524)][n(511)](r[n(524)][n(472)][n(440)](),P));const D=r[n(524)][n(472)][n(567)][n(401)](g[n(491)]);for(const t of D)M=u.ModelRange[n(639)](M[n(423)](t));return{range:M,previousIndex:l,nextIndex:h,currentIndex:e}}[wy(410)](t){const e=wy;if(!t[e(724)][e(542)](e(424)))return;const n=t[e(650)][e(695)](e(572)),r=t[e(650)][e(695)](e(588));this[e(419)](n,e(394),(t,n,r)=>{const i=e,o=this[i(526)][i(695)](n);if(!o)return;const s=this[i(649)][i(621)](o[i(681)])[i(702)](o[i(420)]);o[i(628)][i(679)](t=>s[i(671)](t,i(638))),this[i(526)][i(449)](n),this[i(526)][i(435)](r,o)}),this[e(419)](r,e(394),(t,n,r)=>{const i=e,o=this[i(526)][i(695)](n);if(!o)return;const s=this[i(649)][i(621)](o[i(681)])[i(702)](o[i(420)]);o[i(628)][i(679)](t=>s[i(671)](t,i(391))),this[i(526)][i(449)](n),this[i(526)][i(435)](r,o)})}async[wy(518)](t){const e=wy;this[e(585)][e(724)][e(695)](by)[e(600)](),this[e(430)][e(418)](e(691)),this[e(430)][e(599)](!0),await this[e(532)]();try{const n=this[e(585)][e(724)][e(695)](Uc);this[e(436)](" "),n[e(564)][e(719)](e(513)),await this[e(411)](t);const{sessionId:r}=this[e(569)][e(633)]();await this[e(649)][e(603)](t,r),this[e(649)][e(643)]()&&this[e(649)][e(676)](zc(this[e(585)][e(466)],e(715)))}catch(t){console[e(574)](e(660),t)}finally{this[e(430)][e(418)](e(510)),this[e(430)][e(599)](!1)}}[wy(640)](t){const e=wy;this[e(649)].id===t&&this[e(411)]()}async[wy(432)](){const t=wy,e=this[t(569)][t(481)]();this[t(649)]?.[t(492)](e),this[t(649)]?.[t(676)](zc(this[t(585)][t(466)],t(715)))}[wy(450)](){const t=wy;this[t(649)]?.[t(615)]()}[wy(527)](){const t=wy;this[t(430)][t(527)]()}async[wy(463)](){const t=wy;await this[t(411)]()}async[wy(583)]({message:t,quickActionData:e}){const n=wy;await this[n(429)]({userMessage:t,quickActionData:e})}[wy(718)](){const t=wy,e=this[t(585)][t(611)][t(695)](t(556));if(!e)throw new s.CKEditorError(t(392),this);return e}async[wy(411)](t){const e=wy,n=this[e(585)][e(724)][e(695)](by);n[e(486)]&&n[e(600)](),await this[e(532)]();const r=this[e(718)](),i=t||(0,s.uid)();this[e(649)]=new lb({connector:this[e(399)],chatModels:this[e(689)],defaultModelId:this[e(585)][e(611)][e(695)](e(661)),conversationId:i,group:r,getEditor:()=>db(this[e(585)])}),this[e(649)].on(e(484),(n,r)=>{const i=e;r[i(464)]=this[i(637)](r[i(464)],this[i(585)][i(611)][i(695)](i(562))),this[i(430)][i(500)](r),this[i(430)][i(554)](),this[i(430)][i(686)](),this[i(430)][i(531)](),t||(this[i(430)][i(721)](),this[i(649)]?.[i(676)](zc(this[i(585)][i(466)],i(715))))}),this[e(649)].on(e(663),(t,n)=>{const r=e;this[r(430)][r(723)](n[r(397)])}),this[e(649)].on(e(674),(t,n)=>{const r=e;this[r(430)][r(687)](n),this[r(430)][r(405)](n)}),this[e(649)].on(e(576),(t,n)=>{const r=e;this[r(430)][r(563)](n)}),this[e(649)].on(e(629),async()=>{const t=e;await this[t(430)][t(538)]()}),this[e(649)].on(e(592),(t,n)=>{const r=e;this[r(430)][r(534)](n.id)}),this[e(649)].on(e(546),(t,n,r)=>{this[e(436)](n,r)}),this[e(649)].on(e(678),(t,n)=>{const r=e;this[r(430)][r(605)]({isVisible:!0,id:n[r(681)]}),r(578)===n[r(504)]?this[r(430)][r(496)](n):this[r(430)][r(645)](n)}),this[e(649)].on(e(452),async(t,n,r)=>{const i=e;await this[i(624)]({reply:n,changeGroups:r})}),this[e(649)].on(e(544),(t,{reply:n,index:r,state:i})=>{const o=e;this[o(430)][o(553)]({id:n.id,index:r,state:i})}),this[e(649)].on(e(584),(t,n)=>{const r=e;if(this[r(430)][r(631)](n[r(395)],n[r(652)]),r(673)===n[r(395)][r(504)]){const t=[...db(this[r(585)])[r(524)][r(472)][r(673)][r(651)]()];this[r(569)][r(468)](t,r(579)+this[r(649)]?.id)}}),this[e(649)].on(e(545),(t,n)=>{const r=e;this[r(430)][r(608)](n[r(409)]),r(617)==n[r(409)]&&this[r(450)](),r(673)===n[r(504)]&&this[r(569)][r(488)](r(579)+this[r(649)]?.id)}),this[e(649)].on(e(404),(t,n)=>{const r=e;this[r(430)][r(550)](n[r(395)][r(409)],n[r(652)])}),this[e(649)].on(e(722),(t,n)=>{const r=e;this[r(430)][r(535)](n[r(577)])}),this[e(649)].on(e(568),(t,n)=>{const r=e;this[r(430)][r(480)](n[r(476)])}),this[e(649)].on(e(664),(t,n)=>{const r=e;this[r(430)][r(444)](n[r(483)],n[r(475)],n[r(557)],n[r(614)])}),this[e(649)].on(e(551),(t,n)=>{const r=e;this[r(430)][r(714)](n[r(483)],n[r(396)],n[r(641)])}),this[e(649)].on(e(479),(t,n)=>{const r=e;this[r(430)][r(716)](n)}),this[e(649)].on(e(415),(t,n)=>{const r=e;this[r(430)][r(422)](n[r(458)],n[r(439)])}),this[e(649)].on(e(574),(t,{error:n,interactionId:r,fileName:i,url:o,sourceId:a,sourceLabel:c})=>{const l=e,u=r?r+":"+(0,s.uid)():(0,s.uid)();n[l(560)][l(503)](l(642))?this[l(430)][l(442)]({staticMessage:zc(this[l(585)][l(466)],l(667)),id:u}):n[l(560)][l(503)](l(425))||n[l(560)][l(503)](l(413))?(this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(708)),id:u}),this[l(688)](n)):n[l(560)][l(503)](l(648))?this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(672),i),id:u}):n[l(560)][l(503)](l(447))?this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(499),o),id:u}):n[l(560)][l(503)](l(421))?this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(555)),id:u}):n[l(560)][l(503)](l(612))?this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(693)),id:u}):n[l(560)][l(503)](l(699))?(a&&this[l(430)][l(559)](a),this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(636),c||l(475)),id:u}),this[l(688)](n)):n[l(560)][l(503)](l(558))?(this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(565)),id:u}),this[l(688)](n)):(this[l(430)][l(586)]({errorMessage:zc(this[l(585)][l(466)],l(598)),id:u}),this[l(688)](n))}),await this[e(649)][e(428)](this[e(585)][e(611)][e(695)](e(705))),t||await this[e(649)][e(477)]()}async[wy(429)]({userMessage:t,quickActionData:e}){const n=wy;if(!this[n(649)])throw new s.CKEditorError(n(593));this[n(649)][n(512)]()&&await this[n(649)][n(525)](this[n(569)][n(633)]()),this[n(649)].id&&this[n(649)][n(469)]&&await this[n(649)][n(516)]({userMessage:t,quickActionData:e}),this[n(445)]()}[wy(445)](){const t=wy,e=db(this[t(585)])[t(524)],n=Array[t(670)](e[t(659)][t(657)](mb));e[t(537)](e=>{const r=t;n[r(679)](t=>e[r(634)](t))})}[wy(438)](){const t=wy;console[t(412)](t(590))}[wy(589)](t){const e=wy;this[e(430)][e(539)](t)}[wy(688)](t){const e=wy;(0,s.logError)(t[e(560)])}[wy(717)](t){const e=wy;this[e(649)]?.[e(683)](t)}[wy(623)](){const t=wy;this[t(649)]?.[t(402)]()}[wy(519)](){const t=wy;this[t(649)]?.[t(692)]()}[wy(720)](t){const e=wy,[n,r]=t[e(540)](":"),i=this[e(649)][e(621)](n),o=i[e(702)](r);return{interaction:i,reply:o}}[wy(502)](t,e=!1){const n=wy,r=db(this[n(585)]),i={target:r[n(530)][n(564)][n(662)][n(473)](r[n(530)][n(620)][n(700)](t)),viewportOffset:{top:150,left:0,bottom:50,right:0},ancestorOffset:20,alignToTop:e};e&&(i[n(644)]=!0),(0,s.scrollViewportToShowTarget)(i)}[wy(436)](t,e=!1){const n=wy;this[n(430)][n(546)](t||zc(this[n(585)][n(466)],n(581)),e)}[wy(637)](t,e){const n=wy;let r;if(e){r=[];const i=n(541)==typeof e?[e[n(548)]()]:e[n(654)](t=>t[n(548)]());for(const e of i)for(const i of t)(i.id[n(548)]()===e||i[n(694)][n(548)]()===e||i[n(704)][n(548)]()===e||i.id[n(548)]()[n(503)](e))&&r[n(507)](i)}else r=t;return r}async[wy(624)]({reply:t,changeGroups:e,renderingStrategy:n}){const r=wy,{id:i,isDone:o,type:s,parsedContent:a}=t;if(r(470)===s){const s=DI({editor:db(this[r(585)]),showDiff:this[r(430)][r(431)],changeGroups:e,documentContextContent:t[r(552)]});await this[r(430)][r(494)]({id:i,parts:s,renderingStrategy:n,isDone:o})}else r(578)===s&&await this[r(430)][r(619)]({id:i,parsedContent:a,renderingStrategy:n,isDone:o});o&&t[r(426)][r(533)]>0&&this[r(430)][r(675)](i,t[r(426)])}async[wy(532)](){const t=wy,e=this[t(649)]?.[t(582)];e&&(e[t(485)](),this[t(430)][t(498)](e))}async[wy(707)](){const t=wy,e=this[t(649)]?.[t(582)];if(e)for await(const n of e[t(626)])await this[t(624)]({reply:n,changeGroups:n[t(703)],renderingStrategy:t(691)})}}const Ay=Ey;function Ey(t,e){const n=xy();return(Ey=function(t,e){return n[t-=343]})(t,e)}function xy(){const t=["10481044LApwOi","toggleReasoning","1068129oRUlkc","addResourceToContext","addDocumentToContext","removeContextItem","24AAczZi","1095918qjKfqi","loadSourceResources","2WFvbvz","startConversation","toggleWebSearch","addFileToContext","resizeTabs","1848192BgSFhS","addUrlToContext","selectModel","4300680jwwhWF","sendUserMessage","6759294XICOsN","719304kdveeZ","abortPromptStream"];return(xy=function(){return t})()}!function(t){const e=Ey,n=t();for(;;)try{if(785100===-parseInt(e(351))/1+parseInt(e(362))/2*(-parseInt(e(360))/3)+parseInt(e(345))/4+-parseInt(e(348))/5+parseInt(e(350))/6+parseInt(e(353))/7+parseInt(e(359))/8*(-parseInt(e(355))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xy);const Ty=[...yv,Ay(363),Ay(344),Ay(349),Ay(352),Ay(357),Ay(343),Ay(346),Ay(356),Ay(358),Ay(361),Ay(364),Ay(354),Ay(347)],Cy=Sy;function Sy(t,e){const n=Ry();return(Sy=function(t,e){return n[t-=276]})(t,e)}function Ry(){const t=["balloonPanelClass","label","actionsDropdown","ck-ai-chat__feed__ai-suggestion__actions","left","9812bqprIF","1002NGhmDT","listenTo","381aIWxyG","source","9dOKDAH","AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL","7343pdrSLX","pin","listView","div","execute","isEnabled","AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP","bind","showChangeInText","10348KrRPeJ","delegate","esc","ltr","bindTemplate","ck-ai-chat__feed__ai-suggestion__actions__balloon","locale","bottom","_setUpKeystrokes","keystrokeHandler","hide","insertSuggestion","applySuggestion","open","updateLabels","unbind","isVisible","2995539HleWXb","balloonPanelView","arrowView","uiLanguageDirection","bodyCollection","add","19176nfeold","showChangeInTextModel","Apply","tooltip","keys","button","_setUpList","class","items","set","focus","2578kuFcwo","children","actionName","fire","listItemModels","attachToDom","7349750kqvtKn","1835MfZibs","width","destroy","detachFromDom","ck-hidden","AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT","505936HODfsl","element","AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION","content","insertSuggestionModel","createCollection","AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP","arrowless","setTemplate"];return(Ry=function(){return t})()}!function(t){const e=Sy,n=t();for(;;)try{if(517085===-parseInt(e(333))/1*(-parseInt(e(303))/2)+parseInt(e(286))/3+-parseInt(e(346))/4*(-parseInt(e(310))/5)+parseInt(e(331))/6*(parseInt(e(337))/7)+parseInt(e(316))/8+parseInt(e(335))/9*(-parseInt(e(309))/10)+-parseInt(e(330))/11*(parseInt(e(292))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ry);class Oy extends a.View{[Cy(327)];[Cy(304)];[Cy(293)];[Cy(320)];constructor(t){const e=Cy;super(t);const n=this[e(350)];this[e(301)](e(342),!0),this[e(301)](e(285),!0),this[e(293)]=new a.UIModel({label:zc(t,e(315)),icon:o.IconDocumentWithLoupe,withText:!0,type:e(297),actionName:e(345)}),this[e(320)]=new a.UIModel({label:zc(t,e(318)),icon:o.IconAddComment,withText:!0,type:e(297),actionName:e(280)}),this[e(327)]=new Ny(t,{listItemModels:[this[e(293)],this[e(320)]]}),this[e(327)].on(e(341),()=>{const t=e;this[t(306)](t(281))}),this[e(327)].on(e(345),()=>{const t=e;this[t(306)](t(345))}),this[e(327)].on(e(280),()=>{const t=e;this[t(306)](t(280))}),this[e(327)][e(301)]({label:e(294),tooltip:zc(this[e(352)],e(343)),withText:!0,class:e(328),balloonPanelClass:e(351)}),this[e(327)][e(344)](e(342)).to(this),this[e(304)]=this[e(321)]([this[e(327)]]),this[e(324)]({tag:e(340),attributes:{class:["ck",e(328),n.if(e(285),e(314),t=>!t)]},children:[this[e(327)]]})}[Cy(283)](t){const e=Cy,n=this[e(352)];this[e(327)][e(301)]({label:zc(n,e(336),t),tooltip:zc(n,e(343),t)}),this[e(293)][e(326)]=zc(n,e(315),t),this[e(320)][e(326)]=zc(n,e(318),t)}}class Ny extends a.SplitButtonView{[Cy(290)];[Cy(287)];[Cy(339)];[Cy(278)];constructor(t,e){const n=Cy;super(t),this[n(287)]=new a.BalloonPanelView(this[n(352)]),this[n(290)]=new a.BodyCollection(this[n(352)]),this[n(290)][n(308)](),this[n(301)](n(325),""),this[n(287)][n(344)](n(299)).to(this,n(325)),this[n(339)]=this[n(298)](e[n(307)]),this[n(290)][n(291)](this[n(287)]),this[n(287)][n(319)][n(291)](this[n(339)]),this[n(288)][n(284)](n(295)),this[n(288)][n(301)](n(295),zc(this[n(352)],n(322))),this[n(277)](),this.on(n(341),()=>{const t=n;this[t(287)][t(279)](),this[t(288)][t(302)]()}),this.on(n(282),()=>{const t=n;this[t(287)][t(285)]?(this[t(287)][t(279)](),this[t(288)][t(302)]()):(this[t(287)][t(338)]({target:this[t(317)],positions:[t(349)===this[t(352)][t(289)]?Ly:Py]}),this[t(339)][t(302)]())}),(0,a.clickOutsideHandler)({emitter:this[n(287)],callback:()=>{const t=n;this[t(287)][t(279)]()},activator:()=>this[n(287)][n(285)],contextElements:()=>[this[n(317)],this[n(287)][n(317)]]})}[Cy(298)](t){const e=Cy,n=this[e(352)],r=new a.ListView(n);for(const i of t){const t=new a.ListItemView(n),o=new a.ListItemButtonView(n);o[e(344)](...Object[e(296)](i)).to(i),o[e(347)](e(341)).to(r),t[e(304)][e(291)](o),r[e(300)][e(291)](t)}return r[e(300)][e(347)](e(341)).to(this),r.on(e(341),t=>{const n=e,r=t[n(334)];this[n(306)](r[n(305)]),this[n(287)][n(279)](),this[n(288)][n(302)]()}),r}[Cy(277)](){const t=Cy;this[t(278)]=new s.KeystrokeHandler,this[t(278)][t(332)](this[t(287)][t(317)]),this[t(278)][t(301)](t(348),(e,n)=>{const r=t;this[r(287)][r(279)](),this[r(288)][r(302)](),n()})}[Cy(312)](){const t=Cy;super[t(312)](),this[t(278)][t(312)](),this[t(287)][t(312)](),this[t(290)][t(313)]()}}function Ly(t){const e=Cy;return{top:t[e(276)],left:t[e(329)],name:e(323),config:{withArrow:!1}}}function Py(t,e){const n=Cy;return{top:t[n(276)],left:t[n(329)]-(e[n(311)]-t[n(311)]),name:n(323),config:{withArrow:!1}}}var My=Hy;function Dy(){var t=["markAsDone","getPartView","1492100QeOesv","mouseOverSuggestion","areActionsDisabled","bodyView","extendTemplate","rejectSuggestion","8tDyqPR","insertSuggestion","updatePartState","42303720RhqqXP","showDiff","showChangeInText","updateSources","children","containerView","323443yHXfYg","updateContent","dislike","30SjFcvJ","hasNonEmptyParts","isVisible","mouseLeaveSuggestion","12050712KAOsNd","fire","updateLabels","28elwEyP","applySuggestion","bind","actionsView","toggleSuggestionDisplayMode","addMany","679593TkpGTa","311155ChWSGL","1543216SsTLrV","hasPendingParts","like","partsCount","options","isEnabled","ck-ai-chat__feed__ai-suggestion"];return(Dy=function(){return t})()}function Hy(t,e){var n=Dy();return(Hy=function(t,e){return n[t-=331]})(t,e)}!function(t){for(var e=Hy,n=t();;)try{if(932972===parseInt(e(344))/1+-parseInt(e(371))/2+-parseInt(e(360))/3*(parseInt(e(335))/4)+parseInt(e(361))/5*(-parseInt(e(347))/6)+-parseInt(e(354))/7*(parseInt(e(362))/8)+-parseInt(e(351))/9+parseInt(e(338))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dy);class By extends Hv{[My(343)];[My(357)];constructor(t,e){var n=My;super(e),this[n(343)]=new Zv(t,{showDiff:e[n(339)],areActionsDisabled:e[n(331)]}),this[n(343)].on(n(358),(t,e)=>{var r=n;this[r(352)](r(358),{replyId:this[r(366)].id,showDiff:e[r(339)]})}),this[n(343)].on(n(364),()=>{var t=n;this[t(352)](t(364),{replyId:this[t(366)].id})}),this[n(343)].on(n(346),()=>{var t=n;this[t(352)](t(346),{replyId:this[t(366)].id})}),this[n(343)].on(n(340),(t,{index:e})=>{var r=n;this[r(352)](r(340),{replyId:this[r(366)].id,partIndex:e})}),this[n(343)].on(n(336),(t,{index:e})=>{var r=n;this[r(352)](r(336),{replyId:this[r(366)].id,partIndex:e})}),this[n(343)].on(n(334),(t,{index:e})=>{var r=n;this[r(352)](r(334),{replyId:this[r(366)].id,partIndex:e})}),this[n(343)].on(n(372),(t,{index:e})=>{var r=n;this[r(352)](r(372),{replyId:this[r(366)].id,partIndex:e})}),this[n(343)].on(n(350),(t,{index:e})=>{var r=n;this[r(352)](r(350),{replyId:this[r(366)].id,partIndex:e})}),this[n(357)]=new Oy(t),this[n(357)].on(n(340),()=>{var t=n;this[t(352)](t(340),{replyId:this[t(366)].id})}),this[n(357)].on(n(336),()=>{var t=n;this[t(352)](t(336),{replyId:this[t(366)].id})}),this[n(357)].on(n(355),()=>{var t=n;this[t(352)](t(355),{replyId:this[t(366)].id})}),e[n(331)]?this[n(357)][n(367)]=!1:this[n(357)][n(356)](n(367)).to(this[n(343)][n(332)],n(363)),this[n(342)][n(359)]([this[n(343)],this[n(357)]]),this[n(333)]({attributes:{class:[n(368)]}})}async[My(345)](t){var e=My;await this[e(343)][e(345)](t),this[e(357)][e(353)](this[e(343)][e(332)][e(365)])}[My(337)](t,e){var n=My;this[n(343)][n(332)][n(337)](t,e)}[My(341)](t){var e=My;this[e(343)][e(341)](t)}[My(370)](t){var e=My;return this[e(343)][e(332)][e(370)](t)}[My(369)](){var t=My;super[t(369)](),this[t(343)][t(369)](),this[t(357)][t(349)]=this[t(343)][t(332)][t(348)]}}const Uy=Vy;function Vy(t,e){const n=Fy();return(Vy=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=Vy,n=t();for(;;)try{if(927114===parseInt(e(516))/1*(-parseInt(e(503))/2)+-parseInt(e(522))/3+parseInt(e(511))/4*(-parseInt(e(523))/5)+parseInt(e(499))/6*(parseInt(e(517))/7)+-parseInt(e(489))/8+parseInt(e(521))/9*(parseInt(e(509))/10)+parseInt(e(496))/11*(parseInt(e(495))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Fy);class qy extends Hv{[Uy(497)];constructor(t){const e=Uy;super(t),this[e(504)]({attributes:{class:[e(490)]}}),this[e(497)]=new a.View,this[e(497)][e(505)]({tag:e(488),attributes:{class:["ck",e(491),e(518)]}}),this[e(508)][e(513)](this[e(497)])}async[Uy(492)](){const t=Uy;super[t(492)](),this[t(506)][t(502)]&&(await this[t(510)]({parsedContent:th(this[t(506)][t(502)]),renderingStrategy:t(515)}),this[t(500)]())}async[Uy(510)]({parsedContent:t,renderingStrategy:e,abortSignal:n}){const r=Uy;r(501)===e?await this[r(514)](t,this[r(497)][r(494)],n):this[r(497)][r(494)][r(520)]=Hu(t)}[Uy(512)](t){const e=Uy,n=new Jv(this[e(498)]);n[e(508)][e(519)](t[e(493)](t=>new ty(this[e(498)],t))),n[e(507)]=!0,this[e(508)][e(513)](n)}}function Fy(){const t=["81iNvXyP","5023821IQfUCP","1019375cnKYJR","div","7395672JnIetw","ck-ai-chat__feed__ai-reply","ck-reset_all-excluded","render","map","element","62580KPLCqc","4763lqaeXm","replyContainer","locale","138NWdOYs","markAsDone","streaming","initialContent","209176eksjyp","extendTemplate","setTemplate","options","displayHeader","children","1017370gaClBR","updateContent","12IzhCho","updateSources","add","streamIntoElement","static","2kqEbLv","357077xyaZXF","ck-ai-chat__feed__ai-reply-container","addMany","innerHTML"];return(Fy=function(){return t})()}const zy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M6.146 11.22a.75.75 0 0 1 1.061 0l3.677 3.678a.75.75 0 0 1-1.06 1.06l-2.397-2.396v5.689a.75.75 0 0 1-1.5 0v-5.69L3.53 15.959a.75.75 0 0 1-1.06-1.06z"/><path fill-rule="evenodd" d="M17.75 5.94v11.61a.95.95 0 0 1-.95.951h-6.3a.75.75 0 0 1 0-1.5h5.75v-10H11.7a.95.95 0 0 1-.95-.95V1.5h-6v8.66l-1.5 1.5V.95A.95.95 0 0 1 4.2 0h7.61zm-5.5-.439h2.94l-2.94-2.94z" clip-rule="evenodd"/></svg>',Gy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M2.75 1.701a.95.95 0 0 1 .95-.95h7.61l5.94 5.94V18.3a.95.95 0 0 1-.95.95H3.7a.95.95 0 0 1-.95-.95zm1.5.55v15.5h11.5v-10H11.2a.95.95 0 0 1-.95-.95v-4.55zm7.5 1.06 2.94 2.94h-2.94z" clip-rule="evenodd"/></svg>',jy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.8.8 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.7.7 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294zm5.494-5.335a.8.8 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.8.8 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955m-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184"/></svg>',Wy=Yy;function Yy(t,e){const n=Ky();return(Yy=function(t,e){return n[t-=394]})(t,e)}function Ky(){const t=["ck-ai-chat-context-chip_new-chip","ck-ai-chat-context-chip__label","_createTemplateAttributes","fire","small","ck-ai-chat-context-chip__type-icon","execute","addEventListener","locale","length","AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT","_setupRemoveButtonEvent","397194BlXZxK","2487zFIrox","itemType","content","ck-ai-chat-context-chip","webkitAnimationEnd","_createIconView","373942YHbdLE","ck-ai-chat-context-chip_document","remove","removeEventListener","set","tooltip","disableAnimationOnEnter","add","isVisible","classList","lastIndexOf","1416130iOjnyJ","extendTemplate","uiId","_createLoaderIcon","9DZnXXD","1281gfKTcW","slice","_handleAnimationEndOnce","bindTemplate","ck-ai-chat-context-chip_wide","bind","5YgOnir","9159yUaOWU","isLoading","removeContextItemChip","element","type","render","932TTKVLN","label","5399350RQUNqT","_createLabelElement","animationend","7288aEsPNX","_setupTemplate","document","_createRemoveButton","ck-hidden","_initializeProperties","span","_createTemplateChildren","_isAnimationOnEnterEnabled","setTemplate","selection","readonly","ck-ai-chat-context-controls__chip-tooltip","div"];return(Ky=function(){return t})()}!function(t){const e=Yy,n=t();for(;;)try{if(131670===parseInt(e(449))/1+-parseInt(e(426))/2+-parseInt(e(420))/3*(-parseInt(e(455))/4)+parseInt(e(448))/5*(-parseInt(e(419))/6)+-parseInt(e(442))/7*(parseInt(e(460))/8)+parseInt(e(441))/9*(-parseInt(e(437))/10)+parseInt(e(457))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ky);const $y={file:zy,document:Gy,"web-resource":jy,text:zy,selection:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M1.583.45a.95.95 0 0 0-.95.95v5.3h1.5V1.95h4.75V.45zm17.05.95a.95.95 0 0 0-.95-.95h-5.3v1.5h4.75V6.7h1.5zm0 16.1a.95.95 0 0 1-.95.95h-5.3v-1.5h4.75V12.2h1.5zm-18 0c0 .525.425.95.95.95h5.3v-1.5h-4.75V12.2h-1.5zm5-10.8a.75.75 0 1 0 0 1.5h8a.75.75 0 1 0 0-1.5zm0 4a.75.75 0 1 0 0 1.5h4a.75.75 0 1 0 0-1.5z"/></svg>'},Qy=Wy(423),Xy=Wy(446),Zy=Wy(427),Jy=Wy(408),tA=Wy(412),eA=Wy(405);class nA extends a.ButtonView{constructor(t,e,n,r,i=!1){const o=Wy;super(t),this[o(401)]=r,this[o(398)](e,n,i),this[o(394)]()}[Wy(454)](){const t=Wy;super[t(454)](),this[t(401)]&&this[t(452)]&&(this[t(452)][t(435)][t(433)](t(407)),this[t(444)](this[t(452)],()=>{const e=t;this[e(452)]&&this[e(452)][e(435)][e(428)](e(407))}))}[Wy(432)](){const t=Wy;this[t(401)]=!1,this[t(452)]&&this[t(452)][t(435)][t(428)](t(407))}[Wy(398)](t,e,n){const r=Wy;this[r(430)](r(456),t[r(456)]),this[r(430)](r(431),!0),this[r(430)](r(421),t[r(453)]),this[r(430)]("id",t[r(439)]),this[r(430)](r(404),e),this[r(430)](r(450),n)}[Wy(394)](){const t=Wy,e=this[t(425)](),n=this[t(396)](),r=this[t(445)];this[t(402)]({tag:t(406),attributes:this[t(409)](r),children:this[t(400)](e,n,r)})}[Wy(409)](t){const e=Wy;return{class:[Qy,t.if(e(421),Zy,t=>e(395)==t),t.if(e(421),Xy,t=>e(403)==t)],"data-cke-tooltip-text":t.to(e(456),rA),"data-cke-tooltip-position":"n","data-cke-tooltip-class":eA}}[Wy(400)](t,e,n){const r=Wy,i=this[r(458)](n),o=this[r(440)]();return this[r(404)]?[t,i]:[t,o,i,e]}[Wy(458)](t){const e=Wy;return{tag:e(399),attributes:{class:Jy},children:[{text:t.to(e(456))}]}}[Wy(396)](){const t=Wy,e=new a.ButtonView(this[t(415)]);return e[t(430)]({label:zc(this[t(415)],t(417)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m11.538 9.44 6.362 6.362a1.503 1.503 0 1 1-2.125 2.125L9.418 11.56l-6.365 6.365A1.5 1.5 0 1 1 .93 15.803L7.295 9.44.93 3.075A1.5 1.5 0 0 1 3.052.955L9.416 7.32 15.78.955a1.5 1.5 0 0 1 2.123 2.12z"/></svg>'}),this[t(418)](e),e}[Wy(418)](t){const e=Wy;t.on(e(413),()=>{const t=e;this[t(410)](t(451),this.id)})}[Wy(425)](){const t=Wy,e=this[t(445)],n=new a.IconView;return n[t(422)]=$y[this[t(421)]],n[t(438)]({attributes:{class:[tA,e.if(t(450),t(397),t=>t)]}}),n}[Wy(444)](t,e){const n=Wy;if(!t)return;const r=()=>{const n=Yy;e(),t[n(429)](n(459),r),t[n(429)](n(424),r)};t[n(414)](n(459),r),t[n(414)](n(424),r)}[Wy(440)](){const t=Wy,e=new Yv(t(411));return e[t(447)](t(434)).to(this,t(450),t=>t),e}}function rA(t){const e=Wy;if(!t)return t;if(t[e(416)]<=120)return t;const n=t[e(443)](0,120),r=n[e(436)](" ");return(r>0?n[e(443)](0,r):n)+"…"}const iA=cA;function oA(){const t=["textContent","_calculateContainerWidth","_createShowMoreButton","show","documentElement","element","0px","createElement","from","innerHTML","_createContainerElements","bottom","_createShowMoreButtonView","slice","6936yJYxBu","includes","_renderChipsAndCountRows","_bodyCollection","opacity","none","remove","4711qhMvqx","_restoreAncestorVisibility","zIndex","right","_checkAndHandleOverflow","424FZWGeT","disableAnimationOnEnter","execute","_parentView","block","cloneNode","innerHeight","_handleShowMoreButtonClick","ck-calculation-container","overflowChips","display","set","auto","_calculateOverflowInContainer","_createShowMoreBalloonPanelView","_visibleChips","label","innerWidth","32685ijpjBH","render","_targetContainer","_createMockButton","div","_makeAncestorsVisible","_locale","undefined","position","307221DjPNUz","top","content","maxVisibleRows","body","cssClasses","overflowContainer","block !important","300px","68967yaUpVV","_setupVisibilityObserver","classList","children","length","showMoreButtonView","some","50px","showBalloonPanel","calculationContainer","_distributeChips","_overflowChips","destroy","visible !important","parentElement","className","forEach","width","_config","pop","_intersectionObserver","583610SJAEeD","boxSizing","filter","border-box","style",".ck-ai-chat","_applyCalculationStyles","appendChild","-9999px","abs","_containerElement","_findTargetContainer","reorganizeChips","11183290ePLLhj","getComputedStyle","_updateBalloonContent","_updateOverflowUI","_showMoreButtonView","_ancestorsToRestore","setContainerElement","setTemplate","controlsButton","absolute","observe","left","tagName","439140EKjNMt","isVisible","querySelector","_createCalculationContainer","clientWidth","clear","isIntersecting","_showMoreBalloonPanelView","toLowerCase","_updateShowMoreButtonVisibility","hide","pointerEvents","height","_isContainerVisible","pin","isOn","showMoreLabelPrefix","add","_testButtonFit","visibility","showMoreButton","showMoreBalloon","button","push","isConnected","offsetWidth","+ 1","visible","rowDetectionTolerance","_applyOverflowResults","hideBalloonPanel","clientHeight","hidden","504hIOlbM","_repinBalloonPanel","getBoundingClientRect","_pendingCalculation","extendTemplate","disconnect"];return(oA=function(){return t})()}!function(t){const e=cA,n=t();for(;;)try{if(505566===-parseInt(e(489))/1+parseInt(e(463))/2+parseInt(e(581))/3+parseInt(e(554))/4*(parseInt(e(572))/5)+-parseInt(e(542))/6*(parseInt(e(549))/7)+-parseInt(e(522))/8*(parseInt(e(590))/9)+parseInt(e(476))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(oA);const sA={maxVisibleRows:2,rowDetectionTolerance:5,showMoreLabelPrefix:"+ ",viewportOffset:{top:100,bottom:10}},aA=iA(589);function cA(t,e){const n=oA();return(cA=function(t,e){return n[t-=451]})(t,e)}class lA{[iA(578)];[iA(460)];[iA(569)];[iA(453)];[iA(480)]=null;[iA(496)]=null;[iA(473)]=null;[iA(545)];[iA(557)]=null;[iA(462)]=null;[iA(525)]=!1;constructor(t,e,n,r,i){const o=iA;this[o(578)]=t,this[o(569)]=e,this[o(460)]={...sA,...n,cssClasses:{controlsButton:"",calculationContainer:o(562),...n[o(586)]}},this[o(453)]=new s.Collection,this[o(545)]=r,this[o(557)]=i||null}[iA(482)](t){const e=iA;this[e(462)]&&(this[e(462)][e(527)](),this[e(462)]=null),this[e(473)]=t,this[e(591)]()}get[iA(595)](){return this[iA(480)]}get[iA(563)](){return this[iA(453)]}[iA(475)](){requestAnimationFrame(()=>{this[cA(553)]()})}[iA(598)](){const t=iA;this[t(480)]&&this[t(496)]&&(this[t(478)](),this[t(480)][t(504)]=!0,this[t(496)][t(531)](),this[t(496)][t(503)]({target:this[t(480)][t(533)],limiter:document[t(491)](t(468))}))}[iA(519)](){const t=iA;this[t(480)]&&this[t(496)]&&(this[t(480)][t(504)]=!1,this[t(496)][t(499)]())}[iA(494)](){const t=iA;this[t(453)][t(494)](),this[t(519)](),this[t(498)](),this[t(480)]&&(this[t(480)][t(570)]=""),this[t(496)]&&this[t(496)][t(583)][t(494)]()}[iA(454)](){const t=iA;this[t(462)]&&(this[t(462)][t(527)](),this[t(462)]=null),this[t(480)]&&(this[t(480)][t(454)](),this[t(480)]=null),this[t(496)]&&(this[t(496)][t(454)](),this[t(496)]=null)}[iA(553)](){const t=iA;if(!this[t(473)])return;if(!this[t(502)]())return void(this[t(525)]=!0);this[t(525)]=!1;const e=[...this[t(569)],...this[t(453)]],n=this[t(492)](),r=this[t(567)](n,e),i=n[t(481)];i&&this[t(550)](i),n[t(548)](),this[t(518)](e,r)}[iA(530)](){const t=iA;this[t(480)]=this[t(540)](),this[t(496)]=this[t(568)](),this[t(480)][t(573)](),this[t(473)][t(470)](this[t(480)][t(533)]),this[t(480)].on(t(556),()=>{this[t(561)]()}),(0,a.clickOutsideHandler)({emitter:this[t(496)],contextElements:[this[t(496)][t(533)],this[t(480)][t(533)]],callback:()=>this[t(519)](),activator:()=>this[t(480)][t(504)]})}[iA(540)](){const t=iA,e=new a.ButtonView(this[t(578)]);e[t(565)]({label:"",withText:!0,isToggleable:!0});const n=[this[t(460)][t(586)][t(509)]];return this[t(460)][t(586)][t(484)]&&n[t(512)](this[t(460)][t(586)][t(484)]),e[t(526)]({attributes:{class:n}}),e}[iA(568)](){const t=iA,e=new a.BalloonPanelView(this[t(578)]);return e[t(526)]({attributes:{class:this[t(460)][t(586)][t(510)]}}),this[t(545)][t(506)](e),e}[iA(478)](){const t=iA;if(this[t(496)]&&(this[t(496)][t(583)][t(494)](),this[t(453)][t(594)]>0)){this[t(453)][t(458)](e=>{e[t(555)]()});const e=new a.View(this[t(578)]);e[t(483)]({tag:t(576),attributes:{class:this[t(460)][t(586)][t(587)]},children:this[t(453)]}),this[t(496)][t(583)][t(506)](e)}}[iA(561)](){const t=iA;this[t(480)][t(504)]?this[t(519)]():this[t(598)]()}[iA(498)](){const t=iA,e=this[t(453)][t(594)]>0;this[t(480)]?.[t(533)]&&(this[t(480)][t(533)][t(467)][t(564)]=e?"":t(547))}[iA(523)](){const t=iA;this[t(480)]?.[t(504)]&&this[t(496)]?.[t(490)]&&this[t(480)][t(533)]&&this[t(496)][t(503)]({target:this[t(480)][t(533)],limiter:document[t(491)](t(468))})}[iA(474)](t){const e=iA,n=this[e(473)]?.[e(488)][e(497)]()||e(576),r=this[e(473)]?.[e(592)];if(r){const i=r[0]||"",o=t[e(491)]("."+i),s=t[e(491)](n);return o||s||t}return t[e(491)](n)||t}[iA(529)](){const t=iA,e=this[t(557)]?.[t(533)]||this[t(473)];if(!e)return aA;const n=window[t(477)](e)[t(459)];if(t(566)===n||t(534)===n||!n){const n=e[t(456)];if(n){const e=window[t(477)](n);return t(566)!==e[t(459)]?e[t(459)]:aA}return aA}return n}[iA(469)](t,e){const n=iA;this[n(460)][n(586)][n(451)]&&t[n(592)][n(506)](this[n(460)][n(586)][n(451)]),t[n(467)][n(459)]=e,t[n(467)][n(580)]=n(485),t[n(467)][n(582)]=n(471),t[n(467)][n(487)]=n(471),t[n(467)][n(546)]="0",t[n(467)][n(500)]=n(547),t[n(467)][n(551)]="-1",t[n(467)][n(508)]=n(455),t[n(467)][n(564)]=n(588),t[n(467)][n(464)]=n(466)}[iA(550)](t){const e=iA;t[e(458)](({element:t,originalDisplay:n,originalVisibility:r})=>{const i=e;t[i(467)][i(564)]=n,t[i(467)][i(508)]=r})}[iA(577)](t){const e=iA,n=[];let r=t;for(;r&&r!==document[e(585)];){const t=window[e(477)](r);e(547)!==t[e(564)]&&e(521)!==t[e(508)]||(n[e(512)]({element:r,originalDisplay:r[e(467)][e(564)],originalVisibility:r[e(467)][e(508)]}),r[e(467)][e(564)]=e(558),r[e(467)][e(508)]=e(516)),r=r[e(456)]}return n}[iA(538)](){const t=iA;let e,n;return this[t(557)]?.[t(533)]?(e=this[t(557)][t(533)][t(559)](!0),n=this[t(474)](e)):(e=document[t(535)](t(576)),n=e),{calculationContainer:e,targetContainer:n}}[iA(492)](){const t=iA,{calculationContainer:e,targetContainer:n}=this[t(538)](),r=this[t(529)]();this[t(469)](e,r);const i=this[t(557)]?.[t(533)]||this[t(473)],o=i?.[t(456)];o?o[t(470)](e):document[t(585)][t(470)](e),e[t(574)]=n;const s=this[t(577)](o||null);return e[t(514)],e[t(481)]=s,e}[iA(567)](t,e){const n=iA,r=t[n(574)]||t,i=[],{rowCount:o}=this[n(544)](r,e);if(o<=this[n(460)][n(584)])return i;const s=e[n(541)]();for(;s[n(594)]>0;){if(this[n(507)](t,r,s)){const t=e[n(465)](t=>!s[n(543)](t));i[n(512)](...t);break}if(!s[n(461)]())break}return i}[iA(544)](t,e){const n=iA;t[n(537)]="",e[n(458)](e=>{const r=n;if(e[r(533)]){const n=e[r(533)][r(559)](!0);t[r(470)](n)}}),t[n(514)];const r=t[n(593)],i=[];return Array[n(536)](r)[n(458)](t=>{const e=n,r=t[e(524)]()[e(582)];i[e(596)](t=>Math[e(472)](t-r)<this[e(460)][e(517)])||i[e(512)](r)}),{rowCount:i[n(594)]}}[iA(575)](){const t=iA,e=document[t(535)](t(511));return e[t(457)]=this[t(460)][t(586)][t(509)],this[t(460)][t(586)][t(484)]&&e[t(592)][t(506)](this[t(460)][t(586)][t(484)]),e[t(528)]=t(515),e}[iA(507)](t,e,n){const r=iA;this[r(544)](e,n);const i=this[r(575)]();t[r(470)](i),t[r(514)];const o=[...e[r(593)],i],s=[];o[r(458)](t=>{const e=r,n=t[e(524)]()[e(582)];s[e(596)](t=>Math[e(472)](t-n)<this[e(460)][e(517)])||s[e(512)](n)});const a=s[r(594)];return i[r(548)](),a<=this[r(460)][r(584)]}[iA(452)](t,e){const n=iA;this[n(569)][n(494)](),this[n(453)][n(494)](),t[n(458)](t=>{const r=n;e[r(543)](t)?this[r(453)][r(506)](t):this[r(569)][r(506)](t)})}[iA(479)](t){const e=iA;if(t>0&&!this[e(480)]&&this[e(530)](),t>0&&this[e(480)]){const n=""+this[e(460)][e(505)]+(t<99?t:"99");this[e(480)][e(570)]=n}this[e(478)](),this[e(498)](),this[e(523)]()}[iA(518)](t,e){const n=iA;this[n(452)](t,e),this[n(479)](e[n(594)])}[iA(591)](){const t=iA;this[t(473)]&&t(579)!=typeof IntersectionObserver&&(this[t(462)]=new IntersectionObserver(e=>{const n=t;e[0][n(495)]&&this[n(525)]&&requestAnimationFrame(()=>{this[n(553)]()})},{threshold:.01,rootMargin:t(597)}),this[t(462)][t(486)](this[t(473)]))}[iA(502)](){const t=iA;if(!this[t(473)])return!1;if(!this[t(473)][t(513)])return!1;const e=this[t(473)][t(524)]();if(0===e[t(459)]||0===e[t(501)])return!1;const n=window[t(560)]||document[t(532)][t(520)],r=window[t(571)]||document[t(532)][t(493)];return e[t(539)]>=-200&&e[t(582)]<=n+200&&e[t(552)]>=-200&&e[t(487)]<=r+200}}function uA(t,e){const n=dA();return(uA=function(t,e){return n[t-=378]})(t,e)}const hA=uA;function dA(){const t=["ck-ai-chat-context-chips-wrapper-balloon","div","ck-reset_all","ck-ai-chat-context-chips-wrapper","createCollection","ck-ai-chat-controls-button","setTemplate","render","4016112KRwVSB","1938519qcvEJf","3930QgasxM","element","querySelector","140cIjQXW","12RZehCY","7378LzaZPL","43216WUYHld","ck-ai-chat__feed__context-chips","30087QyjVQU","destroy","5hhZGDI","_createContextChips","_bodyCollection","_contextChips","add","4421835yNKUtA","_overflowManager","ck-ai-chat-context-controls__show-more-balloon-panel","2815104kIdYCr","reorganizeChips","ck-ai-chat-controls_context_show-more-button","locale","setContainerElement"];return(dA=function(){return t})()}!function(t){const e=uA,n=t();for(;;)try{if(952793===-parseInt(e(399))/1*(-parseInt(e(400))/2)+-parseInt(e(394))/3+parseInt(e(393))/4*(parseInt(e(405))/5)+-parseInt(e(380))/6+-parseInt(e(398))/7*(-parseInt(e(401))/8)+-parseInt(e(403))/9*(-parseInt(e(395))/10)+-parseInt(e(410))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dA);const pA=hA(402),fA=hA(388),gA=hA(385),mA=hA(390),kA=hA(382),_A=hA(379);class bA extends a.View{[hA(408)]=this[hA(389)]();[hA(378)];[hA(407)];constructor(t,e,n){const r=hA;super(t),this[r(407)]=n,this[r(406)](e);const i={cssClasses:{showMoreButton:kA,showMoreBalloon:_A,overflowContainer:gA,controlsButton:mA}};this[r(378)]=new lA(t,this[r(408)],i,this[r(407)],this),this[r(391)]({tag:r(386),attributes:{class:[pA,"ck",r(387)]},children:[{tag:r(386),attributes:{class:fA},children:this[r(408)]}]})}[hA(392)](){const t=hA;super[t(392)]();const e=this[t(396)][t(397)]("."+fA);e&&(this[t(378)][t(384)](e),this[t(378)][t(381)]())}[hA(404)](){const t=hA;super[t(404)](),this[t(378)][t(404)]()}[hA(406)](t){const e=hA;for(const n of t){const t=new nA(this[e(383)],n,!0,!1);this[e(408)][e(409)](t)}}}var wA=IA;function IA(t,e){var n=yA();return(IA=function(t,e){return n[t-=382]})(t,e)}!function(t){for(var e=IA,n=t();;)try{if(196707===-parseInt(e(393))/1+-parseInt(e(387))/2*(parseInt(e(391))/3)+parseInt(e(405))/4*(parseInt(e(412))/5)+-parseInt(e(390))/6+-parseInt(e(400))/7*(-parseInt(e(413))/8)+-parseInt(e(398))/9*(parseInt(e(392))/10)+parseInt(e(403))/11*(parseInt(e(388))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yA);class vA extends Hv{[wA(396)]=null;[wA(394)];[wA(383)];[wA(399)];constructor(t,e,n){var r=wA;super(e),this[r(394)]=t,this[r(383)]=n,this[r(384)](),this[r(401)](),this[r(415)]({attributes:{class:[r(417)]}})}[wA(384)](){var t=wA;this[t(416)][t(385)]&&this[t(416)][t(385)][t(386)]>0&&(this[t(396)]=new bA(this[t(394)],this[t(416)][t(385)][t(409)](e=>!e[t(404)]),this[t(383)]),this[t(396)][t(415)]({attributes:{class:t(407)}}),this[t(414)][t(382)](this[t(396)]))}[wA(401)](){var t=wA;this[t(399)]=new a.View(this[t(394)]),this[t(399)][t(411)]({tag:t(408),attributes:{class:t(395)}}),this[t(414)][t(382)](this[t(399)])}[wA(406)](){var t=wA;super[t(406)](),this[t(399)][t(389)][t(410)]=this[t(416)][t(397)],this[t(402)]()}}function yA(){var t=["_locale","ck-ai-chat__feed__message-content","_contextChipsView","initialContent","1179zvoFwM","_messageContentView","6195XiolQO","_createMessageContentView","markAsDone","187zttLhb","hidden","916gumsnw","render","ck-ai-chat__feed__context-chips","div","filter","innerHTML","setTemplate","6620jHjRuV","944FhUyBK","children","extendTemplate","options","ck-ai-chat__feed__user-message","add","_bodyCollection","_createContextChipsView","contextItems","length","4IDdunY","377208OVvqTJ","element","1707984JgLyiN","244041MIPVML","10330vylpJY","162616hzYaSD"];return(yA=function(){return t})()}const AA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.91 18.255a.747.747 0 0 1 .663.746.747.747 0 0 1-.664.746l-.075.004H8.382a.745.745 0 0 1-.74-.75c0-.414.331-.75.74-.75h3.452z"/><path fill-rule="evenodd" d="M10.104 3.752c.807 0 1.59.193 2.415.548l.404.185c.913.452 1.62 1.026 2.129 1.77.578.848.852 1.85.95 2.991l.014.258c.031 1.26-.537 2.059-1.096 2.722-.562.665-1.05 1.151-1.322 1.935l-.053.161c-.204.698-.397 1.704-.504 2.314a1.34 1.34 0 0 1-1.308 1.114H8.476c-.65 0-1.196-.476-1.308-1.114a31 31 0 0 0-.354-1.743l-.15-.57c-.258-.882-.776-1.387-1.375-2.097-.596-.707-1.203-1.57-1.082-2.98l.045-.422c.126-.968.4-1.827.906-2.568.58-.851 1.422-1.478 2.533-1.956l.307-.126c.713-.274 1.401-.422 2.106-.422m0 1.5c-.492 0-1.001.102-1.582.325l-.254.104c-.927.398-1.513.87-1.894 1.43-.337.492-.551 1.106-.656 1.909l-.038.356c-.07.806.224 1.272.732 1.874.506.599 1.299 1.384 1.67 2.645l.084.307c.181.688.338 1.508.435 2.048h3.007c.112-.624.304-1.619.52-2.355l.075-.232c.394-1.127 1.12-1.852 1.594-2.413.476-.565.764-1.01.74-1.727l-.008-.147c-.084-.981-.308-1.702-.693-2.266-.334-.49-.824-.912-1.563-1.277l-.332-.152c-.688-.296-1.274-.43-1.837-.43" clip-rule="evenodd"/><path d="M3.597 13.637a.73.73 0 0 1 1.045 0 .76.76 0 0 1 0 1.06l-1.05 1.064-.056.052a.73.73 0 0 1-.99-.052.76.76 0 0 1-.05-1.004l.05-.057zm11.761 0a.73.73 0 0 1 1.045 0l1.05 1.063.05.057c.237.294.22.73-.05 1.004a.73.73 0 0 1-.99.052l-.055-.052-1.05-1.064a.76.76 0 0 1 0-1.06M2.472 8.257c.409 0 .74.336.74.75s-.331.75-.74.75L.99 9.756l-.075-.004a.746.746 0 0 1-.664-.746c0-.388.291-.708.664-.746l.075-.004zm16.614.003a.747.747 0 0 1 .664.746.746.746 0 0 1-.664.746l-.075.004h-1.483a.745.745 0 0 1-.74-.75c0-.413.331-.75.74-.75h1.483zM3.334 2.581c.27-.274.7-.29.99-.05l.055.05 1.048 1.065a.76.76 0 0 1 0 1.061.73.73 0 0 1-1.045 0L3.334 3.642l-.05-.057a.76.76 0 0 1 .05-1.004m12.343-.051a.73.73 0 0 1 .989.051.76.76 0 0 1 .05 1.004l-.05.057-1.048 1.065a.73.73 0 0 1-1.046 0 .76.76 0 0 1 0-1.06l1.049-1.066zM10.007.251c.383 0 .698.296.736.674l.003.076.001 1.505c0 .414-.33.75-.738.75a.745.745 0 0 1-.74-.75L9.268 1l.004-.076a.745.745 0 0 1 .735-.674"/></svg>';function EA(t,e){const n=TA();return(EA=function(t,e){return n[t-=470]})(t,e)}!function(t){const e=EA,n=t();for(;;)try{if(635638===parseInt(e(476))/1+-parseInt(e(470))/2*(-parseInt(e(489))/3)+-parseInt(e(481))/4+parseInt(e(479))/5+-parseInt(e(473))/6*(-parseInt(e(486))/7)+-parseInt(e(485))/8+-parseInt(e(483))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(TA);class xA extends Hv{constructor(t,e){const n=EA;super(e);const{isWebSearchEnabled:r,isReasoningEnabled:i}=e[n(475)],o=[];let s="";r&&i?(s=zc(t,n(471)),o[n(472)](CA(zI)),o[n(472)](CA(AA))):r?(s=zc(t,n(478)),o[n(472)](CA(zI))):i&&(s=zc(t,n(487)),o[n(472)](CA(AA))),this[n(490)]({attributes:{class:[n(477),s?"":n(488)]}});const c=new a.View;c[n(484)]({tag:n(493),attributes:{class:["ck",n(480)]},children:[...o,{tag:n(491),attributes:{class:[n(474)]},children:[s]}]}),this[n(494)][n(492)](c)}}function TA(){const t=["5072946LptRQf","ck-ai-chat__feed__interaction-header__capabilities__text","capabilities","1221966AdDZeR","ck-ai-chat__feed__interaction-header","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH","2653615AvrVNE","ck-ai-chat__feed__interaction-header__capabilities","2451872NFdYKi","content","13737240gZosCy","setTemplate","4250864UHqogf","7AxKToR","AI_CHAT_FEED_REPLY_ITEM_USED_REASONING","ck-hidden","36GnJIVq","extendTemplate","span","add","div","children","118024rlZwmk","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING","push"];return(TA=function(){return t})()}function CA(t){const e=EA,n=new a.IconView;return n[e(482)]=t,n}function SA(){const t=["stop","ArrowDown","_rafUpdate","8850985hFOPUx","_onUserEvent","7672DpvGxa","_stop","type","abortController","ArrowUp","33PXccHn","keydown","4148uJZmfO","isRunning","PageDown","1342230dlygcd","scrollHeight","scrollTo","destroy","147xrpybp","bind","_isAtBottom","start","3357aOKtYo","signal","6LIuscm","animationFrameId","auto","204pfgqfF","11911557qhMZOK","PageUp","Home","includes","addEventListener","isUserPaused","element","12rlkyEx","End","wheel","abort","pointerdown","deltaY","touchstart","8774125gtUuXL","key"];return(SA=function(){return t})()}const RA=OA;function OA(t,e){const n=SA();return(OA=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=OA,n=t();for(;;)try{if(937952===parseInt(e(143))/1*(-parseInt(e(136))/2)+parseInt(e(134))/3*(-parseInt(e(152))/4)+parseInt(e(122))/5*(-parseInt(e(149))/6)+parseInt(e(153))/7+parseInt(e(129))/8*(parseInt(e(147))/9)+parseInt(e(139))/10+-parseInt(e(127))/11*(-parseInt(e(115))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(SA);const NA=[RA(117),RA(121),RA(119),RA(135)],LA=[RA(133),RA(125),RA(154),RA(138),RA(155),RA(116)," "];class PA{[RA(114)];[RA(150)];[RA(137)];[RA(132)];[RA(158)];constructor(t){const e=RA;this[e(114)]=t,this[e(150)]=null,this[e(137)]=!1,this[e(132)]=new AbortController,this[e(158)]=!1;for(const t of NA){const n=e(135)!==t;this[e(114)][e(157)](t,this[e(128)][e(144)](this),{passive:n,signal:this[e(132)][e(148)]})}}[RA(146)](){const t=RA;this[t(137)]||(this[t(137)]=!0,this[t(158)]=!1,this[t(150)]=requestAnimationFrame(this[t(126)][t(144)](this)))}[RA(124)](){requestAnimationFrame(()=>{this[OA(130)]()})}[RA(142)](){const t=RA;this[t(130)](),this[t(132)][t(118)]()}[RA(130)](){const t=RA;null!==this[t(150)]&&(cancelAnimationFrame(this[t(150)]),this[t(150)]=null),this[t(137)]&&(this[t(137)]=!1),this[t(158)]=!1}[RA(128)](t){const e=RA;if(this[e(137)]){if(e(135)===t[e(131)]){const n=t[e(123)];if(!LA[e(156)](n))return}t instanceof WheelEvent?t[e(120)]<0?this[e(158)]=!0:this[e(158)]=!this[e(145)]():this[e(158)]=!0}}[RA(145)](){const t=RA,{scrollTop:e,scrollHeight:n,clientHeight:r}=this[t(114)];return n-e-r<=5}[RA(126)](){const t=RA;this[t(137)]&&(this[t(158)]||this[t(114)][t(141)]({top:this[t(114)][t(140)],behavior:t(151)}),this[t(150)]=requestAnimationFrame(this[t(126)][t(144)](this)))}}const MA=DA;function DA(t,e){const n=HA();return(DA=function(t,e){return n[t-=103]})(t,e)}function HA(){const t=["center","fill","2mIBxeH","; height: ","24px","right","2080533YoerkD","44px","ck-ai-skeleton__item","96pvkwol","150px","div","margin-left: auto; margin-right: auto; text-align: center;","66JSTmfq","margin-left: 0; margin-right: auto; text-align: left;","map","369035SzIkex","_createSkeletonItems","319928KwQvqn","1683351qgquSb","4779210igyxqh","setTemplate","width: ","left","ck-ai-skeleton","5169204qIofXZ","margin-left: auto; margin-right: 0; text-align: right;","width","42GsIPZR","40px","88px","250px","class","128px","attributes","72px","140px","1364687ThClMU","tag","height","align","100%"];return(HA=function(){return t})()}!function(t){const e=DA,n=t();for(;;)try{if(750846===-parseInt(e(122))/1+parseInt(e(129))/2*(-parseInt(e(133))/3)+-parseInt(e(110))/4+parseInt(e(143))/5*(parseInt(e(136))/6)+-parseInt(e(113))/7*(-parseInt(e(103))/8)+-parseInt(e(104))/9+parseInt(e(105))/10*(parseInt(e(140))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HA);class BA extends a.View{constructor(t,e){const n=DA;super(t),this[n(106)]({tag:n(138),attributes:{class:["ck",n(109)]},children:this[n(144)](e)})}[MA(144)](t){const e=MA,n=["ck",e(135)];return t[e(142)](t=>{const r=e;let i="";switch(t[r(119)][r(125)]){case r(132):i=r(111);break;case r(127):i=r(139);break;case r(108):i=r(141)}return{tag:t[r(123)],attributes:{class:[...n,t[r(119)][r(117)]?t[r(119)][r(117)]:""],style:r(107)+t[r(119)][r(112)]+r(130)+t[r(119)][r(124)]+";"+i}}})}}const UA={aiFeed:[{tag:MA(138),attributes:{width:MA(126),height:MA(120),align:MA(132)}},{tag:MA(138),attributes:{width:MA(116),height:MA(114),align:MA(132)}},{tag:MA(138),attributes:{width:MA(126),height:MA(115),align:MA(132)}},{tag:MA(138),attributes:{width:MA(137),height:MA(114),align:MA(132)}},{tag:MA(138),attributes:{width:MA(126),height:MA(121),align:MA(132)}},{tag:MA(138),attributes:{width:MA(116),height:MA(114),align:MA(132)}},{tag:MA(138),attributes:{width:MA(126),height:MA(115),align:MA(132)}}],aiHistory:VA(5,MA(126),MA(134),MA(132)),aiChatResources:VA(8,MA(126),MA(131),MA(132)),aiReviewChecks:[{tag:MA(138),attributes:{width:MA(118),height:MA(131),align:MA(108)}},{tag:MA(138),attributes:{width:MA(126),height:MA(131),align:MA(108)}},{tag:MA(138),attributes:{width:MA(118),height:MA(131),align:MA(108)}}]};function VA(t,e,n,r){const i=MA;return new Array(t)[i(128)](null)[i(142)](()=>({tag:i(138),attributes:{width:e,height:n,align:r}}))}function qA(t,e){const n=zA();return(qA=function(t,e){return n[t-=274]})(t,e)}const FA=qA;function zA(){const t=["5352nBhrNY","updateSuggestionPartState","updateContent","map","add","_createTemplateChildren","includes","27425LeiOKQ","markItemAsDone","updateSources","addItem","20sHehoQ","7900808pwXDBe","startAutoScroll","ai-chat-feed-view-item-not-a-suggestion-item","start","updateSuggestionItem","updateReplyItem","1367517ngnkCR","ck-hidden","scrollManager","extendTemplate","ai-chat-feed-view-item-not-a-suggestion-or-reply-item","ai-reply","element","ck-ai-chat__feed__items","ck-ai-chat__loader-text","loadingMessage","_bodyCollection","markAsDone","179430UUKzrg","getItemIds","toggleLoadingSkeleton","aiFeed","ai-suggestion-reply","interaction-header","ai-chat-feed-view-item-not-found","stop","delegate","removeItem","createCollection","stopAutoScroll","clear","find","bindTemplate","ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found","set","isLoadingSkeletonVisible","_createFeedItems","span","isVisible","_createLoaderChildren","destroy","render","966vWgyez","user-message","setLoadingMessage","isPending","getItemById","2571051YrRmUH","ck-ai-chat__feed","updatePartState","updateWebSources","options","ck-ai-chat__loader","setTemplate","div","_setupTemplate","ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item","children","getPartView","90SlTHmq","_createFeedLoader","remove","locale","scrollToSuggestion","ai-chat-feed-view-item-not-a-reply-item","_createSkeletonLoader","2105910uraoJf"];return(zA=function(){return t})()}!function(t){const e=qA,n=t();for(;;)try{if(865989===parseInt(e(304))/1+-parseInt(e(316))/2+parseInt(e(345))/3+-parseInt(e(297))/4*(parseInt(e(293))/5)+-parseInt(e(286))/6*(parseInt(e(340))/7)+parseInt(e(298))/8+parseInt(e(278))/9*(-parseInt(e(285))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zA);class GA extends a.View{[FA(276)];[FA(306)];[FA(314)];constructor(t,e){const n=FA;super(t),this[n(314)]=e,this[n(332)](n(343),!1),this[n(332)](n(313),""),this[n(332)](n(333),!1),this[n(276)]=this[n(326)](),this[n(276)][n(324)](...Ty).to(this),this[n(274)]()}[FA(339)](){const t=FA;super[t(339)](),this[t(306)]=new PA(this[t(310)])}[FA(338)](){const t=FA;super[t(338)](),this[t(306)][t(338)]()}[FA(328)](){const t=FA;this[t(276)][t(328)]()}[FA(296)](t,e){const n=FA;let r;r=n(309)===t?new qy(e):n(320)===t?new By(this[n(281)],e):n(341)===t?new vA(this[n(281)],e,this[n(314)]):n(321)===t?new xA(this[n(281)],e):new qv(e),this[n(276)][n(290)](r)}async[FA(303)]({id:t,parsedContent:e,renderingStrategy:n,abortSignal:r}){const i=FA,o=this[i(344)](t);if(!(o instanceof qy))throw new s.CKEditorError(i(283),null,{itemView:o,id:t,parsedContent:e});await o[i(288)]({parsedContent:e,renderingStrategy:n,abortSignal:r})}async[FA(348)](t,e){const n=FA,r=this[n(344)](t);if(r instanceof By)r[n(295)](e);else{if(!(r instanceof qy))throw new s.CKEditorError(n(308),null,{itemView:r,id:t,sources:e});r[n(295)](e)}}async[FA(302)]({id:t,parts:e,renderingStrategy:n,abortSignal:r}){const i=FA,o=this[i(344)](t);if(!(o instanceof By))throw new s.CKEditorError(i(300),null,{itemView:o,id:t,parts:e});await o[i(288)]({parts:e,renderingStrategy:n,abortSignal:r})}[FA(287)]({id:t,index:e,state:n}){const r=FA,i=this[r(344)](t);if(!(i instanceof By))throw new s.CKEditorError(r(300),this,{id:t});i[r(347)](e,n)}[FA(294)](t){const e=FA;this[e(344)](t)[e(315)]()}[FA(317)](){const t=FA;return this[t(276)][t(289)](e=>e[t(349)].id)}[FA(325)](t){const e=FA;this[e(276)][e(280)](this[e(344)](t))}[FA(282)](t,e){const n=FA,r=this[n(344)](t);if(!(r instanceof By))return void(0,s.logWarning)(n(275),{replyId:t,partIndex:e});const i=r[n(277)](e);i?(0,s.scrollViewportToShowTarget)({target:i[n(310)],ancestorOffset:20,alignToTop:!0,forceScroll:!0}):(0,s.logWarning)(n(331),{replyId:t,partIndex:e})}[FA(274)](){const t=FA;this[t(351)]({tag:t(352),attributes:{class:["ck",t(346)]},children:this[t(291)]()})}[FA(291)](){const t=FA,e=this[t(284)]();return[this[t(334)](),e,this[t(279)]()]}[FA(284)](){const t=FA,e=new BA(this[t(281)],UA[t(319)]);return e[t(307)]({attributes:{class:[this[t(330)].if(t(333),t(305),t=>!t)]}}),e}[FA(334)](){const t=FA,e=new a.View(this[t(281)]);return e[t(351)]({tag:t(352),attributes:{class:["ck",t(311),this[t(330)].if(t(333),t(305))]},children:this[t(276)]}),e}[FA(279)](){const t=FA,e=new a.View(this[t(281)]);return e[t(351)]({tag:t(352),attributes:{class:["ck",t(350),this[t(330)].if(t(343),t(305),t=>!t)]},children:this[t(337)]()}),e}[FA(337)](){const t=FA,e=new Yv;return e[t(336)]=!0,[e,{tag:t(335),attributes:{class:["ck",t(312)]},children:[{text:this[t(330)].to(t(313))}]}]}[FA(344)](t){const e=FA,n=this[e(276)][e(329)](n=>n[e(349)].id[e(292)](t));if(!n)throw new s.CKEditorError(e(322),this,{id:t});return n}[FA(342)](t){const e=FA;this[e(332)](e(313),t)}[FA(318)](t){const e=FA;this[e(332)](e(333),t)}[FA(299)](){const t=FA;this[t(306)][t(301)]()}[FA(327)](){const t=FA;this[t(306)][t(323)]()}}const jA=WA;function WA(t,e){const n=YA();return(WA=function(t,e){return n[t-=426]})(t,e)}function YA(){const t=["40RjqCdI","202790sdemQZ","items","567328wyHkGb","38928PCzkiT","1137695cVwNTc","35067EZnoHL","618138HNeDyy","filter","length","288627kcZNMe","26qKAmgu"];return(YA=function(){return t})()}!function(t){const e=WA,n=t();for(;;)try{if(148807===-parseInt(e(431))/1+parseInt(e(432))/2*(-parseInt(e(427))/3)+parseInt(e(436))/4+parseInt(e(426))/5+parseInt(e(437))/6+-parseInt(e(434))/7*(-parseInt(e(433))/8)+parseInt(e(428))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(YA);class KA extends a.ListView{[jA(429)](){const t=jA;let e=0;for(const n of this[t(435)])e+=n[t(435)][t(430)];return{resultsCount:e,totalItemsCount:e}}}const $A=XA;function QA(){const t=["window","MAX_ROWS","trim","placeholder","excludeScrollbarsAndBorders","render","1910985tCsrUr","enter","value","_queryViewResizeObserver","24MeucTT","submit","uiLanguageDirection","fieldWrapperChildren","minRows","target","add","176306eUxwUS","element","69559204hwsHmf","AI_CHAT_PROMPT_EMPTY_ERROR","_createSubmitButton","reset","fire","left","isUploadInProgress","fieldView","1200xaMEPd","bind","setPlaceholderText","isEmpty","requestAnimationFrame","setIsUploadInProgress","rtl","keystrokes","width","execute","ck-ai-chat__prompt-submit-button","AI_CHAT_LABEL_SUBMIT","78741mYgvMR","15060272nwArxq","maxRows","ck-ai-chat__prompt-input","locale","set","isEnabled","1075756oYBkmc","1422VmVQHW","errorText","submitButtonView","1863XOpilC","queryView","style","hasError","focusableChildren","extendTemplate","calc(","right","_setUpAddContextButtonPositioning","MIN_ROWS","destroy","sendUserMessage","_addContextButtonView","px - var(--ck-spacing-tiny))","7lyTkYC","update"];return(QA=function(){return t})()}function XA(t,e){const n=QA();return(XA=function(t,e){return n[t-=373]})(t,e)}!function(t){const e=XA,n=t();for(;;)try{if(975586===-parseInt(e(376))/1+parseInt(e(406))/2*(-parseInt(e(409))/3)+-parseInt(e(405))/4+parseInt(e(431))/5*(-parseInt(e(435))/6)+parseInt(e(423))/7*(-parseInt(e(399))/8)+-parseInt(e(398))/9*(parseInt(e(386))/10)+parseInt(e(378))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(QA);class ZA extends a.AutocompleteView{[$A(408)];static[$A(418)]=1;static[$A(426)]=12;[$A(421)];[$A(434)];constructor(t,e){const n=$A;super(t,{queryView:{label:"",creator:a.createLabeledTextarea,showIcon:!1,showResetButton:!1},filteredView:new KA(t),queryMinChars:1/0,resetOnBlur:!1}),this[n(403)](n(389),!0),this[n(403)](n(384),!1),this[n(421)]=e,this[n(434)]=null,this[n(410)][n(385)][n(373)]=ZA[n(418)],this[n(410)][n(385)][n(400)]=ZA[n(426)],this[n(410)][n(438)][n(375)](this[n(421)]),this[n(417)](),this[n(414)]({attributes:{class:["ck",n(401)]}}),this[n(408)]=this[n(380)](),this[n(408)][n(387)](n(404)).to(this,n(389),this,n(384),(t,e)=>!t&&!e),this[n(413)][n(375)](this[n(408)])}[$A(430)](){const t=$A;super[t(430)](),this[t(410)][t(438)][t(375)](this[t(408)]),this[t(393)][t(403)](t(432),(e,n)=>{const r=t;this[r(384)]||this[r(389)]||e[r(374)]==this[r(410)][r(385)][r(377)]&&(this[r(436)](),n())}),this[t(410)][t(385)].on(t(424),()=>{const e=t;this[e(389)]=""===this[e(410)][e(385)][e(377)][e(433)]?.[e(427)]()})}[$A(419)](){const t=$A;super[t(419)](),this[t(434)]&&this[t(434)][t(419)]()}[$A(436)](){const t=$A,e=this[t(410)][t(385)][t(377)][t(433)]?.[t(427)]();if(!e)return this[t(410)][t(407)]=zc(this[t(402)],t(379)),void(this[t(410)][t(385)][t(412)]=!0);this[t(410)][t(385)][t(412)]=!1,this[t(382)](t(420),e),this[t(410)][t(385)][t(381)]()}[$A(388)](t){const e=$A;this[e(410)][e(385)][e(403)](e(428),t)}[$A(380)](){const t=$A,e=new a.ButtonView(this[t(402)]);return e[t(403)]({icon:o.IconSubmit,label:zc(this[t(402)],t(397)),isVisible:!0,tooltip:!0,class:t(396),isEnabled:!1}),e.on(t(395),()=>{this[t(436)]()}),e}[$A(391)](t){this[$A(384)]=t}[$A(417)](){const t=$A,e=this[t(402)],n=()=>{const n=t;s.global[n(425)][n(390)](()=>{const t=n;if((0,s.isVisible)(this[t(377)])){const n=new s.Rect(this[t(410)][t(385)][t(377)]),r=new s.Rect(this[t(421)][t(377)]),i=n[t(394)],o=t(392)===e[t(437)]?t(416):t(383);n[t(429)]();const a=i-n[t(394)]+1;this[t(421)][t(377)][t(411)][o]=t(415)+(i-r[t(394)]-a)+t(422)}})};this[t(410)][t(385)].on(t(424),n),this.on(t(430),()=>{const e=t;n(),this[e(434)]=new s.ResizeObserver(this[e(410)][e(385)][e(377)],()=>{n()})})}}const JA=tE;function tE(t,e){const n=dE();return(tE=function(t,e){return n[t-=168]})(t,e)}!function(t){const e=tE,n=t();for(;;)try{if(968654===-parseInt(e(180))/1+-parseInt(e(187))/2+-parseInt(e(213))/3+parseInt(e(205))/4+-parseInt(e(189))/5*(parseInt(e(202))/6)+parseInt(e(238))/7*(-parseInt(e(182))/8)+parseInt(e(231))/9*(parseInt(e(172))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dE);const eE=JA(256),nE=JA(248),rE=JA(264),iE=JA(195),oE=JA(219),sE=JA(218),aE=JA(201),cE="n";class lE extends a.View{[JA(197)];[JA(261)];[JA(169)];[JA(174)];[JA(170)];[JA(226)];constructor(t){const e=JA;super(t),this[e(207)](e(198),!1),this[e(207)](e(224),!1),this[e(207)](e(216),!0),this[e(207)](e(192),!0),this[e(207)](e(260),""),this[e(207)](e(191),""),this[e(174)]=this[e(222)](),this[e(226)]=this[e(266)](),this[e(197)]=this[e(217)](),this[e(261)]=this[e(242)](),this[e(169)]=this[e(185)](),this[e(174)][e(253)][e(203)](e(249)).to(this,e(216),t=>t),this[e(174)][e(253)][e(203)](e(177)).to(this,e(192),t=>t?this[e(174)][e(253)][e(183)]:zc(this[e(176)],e(230))),this[e(174)][e(203)](e(237)).to(this,e(192),t=>t),this[e(197)][e(203)](e(200)).to(this,e(198),t=>t),this[e(197)][e(203)](e(241)).to(this,e(216),t=>!t),this[e(197)][e(203)](e(177)).to(this,e(198),t=>zc(this[e(176)],e(t?199:178))),this[e(261)][e(203)](e(200)).to(this,e(224),t=>t),this[e(261)][e(203)](e(241)).to(this,e(216),t=>!t),this[e(261)][e(203)](e(177)).to(this,e(224),t=>zc(this[e(176)],e(t?259:211))),this[e(181)]({tag:e(208),attributes:{class:[eE]},children:[this[e(174)],this[e(226)],this[e(197)],this[e(261)],this[e(169)]]}),this[e(170)]=new s.Collection,(0,a.addListToDropdown)(this[e(174)],this[e(170)])}[JA(236)](t,e){const n=JA;if(this[n(207)](n(216),!(e&&t[n(225)]<=1)),this[n(170)][n(228)](),t?.[n(225)])for(const e of t){const t=new a.UIModel({label:e[n(245)],withText:!0,role:n(235),id:e.id,model:e});t[n(203)](n(200)).to(this,n(260),t=>t===e.id),this[n(170)][n(204)]({type:n(175),model:t,labelView:new uE(this[n(176)],e)})}}[JA(190)](t){const e=JA;this[e(207)](e(198),t)}[JA(244)](t){const e=JA;this[e(207)](e(224),t)}[JA(196)](t){const e=JA;if(!t)return;this[e(260)]=t.id,this[e(191)]=t[e(245)]||t.id,this[e(174)][e(253)][e(207)](e(183),t[e(245)]),this[e(174)][e(253)][e(207)](e(177),t[e(245)]);const n=t[e(250)][e(223)]?.[e(186)]??!1;this[e(207)](e(198),!1),this[e(197)][e(207)](e(200),!1),this[e(197)][e(207)](e(237),n),this[e(197)][e(207)](e(249),n);const r=t[e(250)][e(209)]?.[e(186)]??!1;this[e(207)](e(224),!1),this[e(261)][e(207)](e(200),!1),this[e(261)][e(207)](e(237),r),this[e(261)][e(207)](e(249),r)}[JA(194)](){const t=JA;this[t(207)](t(192),!0),this[t(207)](t(216),!0)}[JA(246)](t){const e=JA;this[e(207)](e(192),!1),t&&this[e(207)](e(216),!1)}[JA(217)](){const t=JA,e=new a.ButtonView;return e[t(207)]({label:zc(this[t(176)],t(173)),icon:zI,class:nE,isToggleable:!0,tooltipPosition:cE}),e.on(t(168),()=>{const e=t;this[e(171)](e(257))}),e}[JA(242)](){const t=JA,e=new a.ButtonView;return e[t(207)]({label:zc(this[t(176)],t(234)),icon:AA,class:nE,isToggleable:!0,tooltipPosition:cE}),e.on(t(168),()=>{const e=t;this[e(171)](e(233))}),e}[JA(185)](){const t=JA,e=new a.ButtonView;return e[t(207)]({label:zc(this[t(176)],t(247)),icon:FI,withText:!0,class:nE,isToggleable:!0,tooltip:zc(this[t(176)],t(247)),tooltipPosition:cE}),e[t(252)]({attributes:{class:[rE]}}),e.on(t(168),()=>{const e=t;console[e(193)](e(265)),alert(e(265))}),e}[JA(222)](){const t=JA,e=(0,a.createDropdown)(this[t(176)]);return e[t(207)]({panelPosition:"ne",class:[iE]}),e[t(253)][t(207)]({label:zc(this[t(176)],t(239)),withText:!0,tooltip:!0,tooltipPosition:cE}),this[t(206)](e,t(168),e=>{const n=t;this[n(171)](n(229),e[n(263)][n(220)])}),e}[JA(266)](){const t=JA,e=new hE(this[t(176)]);return e[t(203)](t(179)).to(this,t(191),t=>t??""),e[t(203)](t(249)).to(this,t(216),this,t(191),(e,n)=>!e&&!n?.[t(212)]()[t(258)](t(240))),e}}class uE extends a.ButtonLabelView{constructor(t,e){const n=JA;super();const r=this[n(243)],i=this[n(255)]();this[n(181)]({tag:n(208),attributes:{class:["ck",n(262)],style:r.to(n(227)),id:r.to("id")},children:[{tag:n(208),attributes:{class:[oE]},children:[{text:r.to(n(179))}]},{tag:n(208),attributes:{class:[sE]},children:[{tag:n(251),children:[{text:e[n(188)]}]}]},{tag:n(208),attributes:{class:[aE]},children:i}]}),i[n(254)](this[n(210)](t,zI,n(173),e[n(250)][n(223)]?.[n(186)]??!1)),i[n(254)](this[n(210)](t,AA,n(234),e[n(250)][n(209)]?.[n(186)]??!1))}[JA(210)](t,e,n,r){const i=JA,o=new a.IconView;o[i(184)]=e;const s=new a.View(t);s[i(181)]({tag:i(251),children:[{text:zc(t,n)+": "}]});const c=new a.View(t);return c[i(181)]({tag:i(251),children:[{text:zc(t,i(r?214:221))}]}),[o,s,c]}}class hE extends a.View{constructor(t){const e=JA;super(t),this[e(207)](e(179),void 0),this[e(207)](e(249),!0);const n=this[e(243)];this[e(181)]({tag:e(251),attributes:{class:["ck",e(232),n.if(e(249),e(215),t=>!t)]},children:[{text:n.to(e(179))}]})}}function dE(){const t=["length","_modelNameView","style","clear","selectModel","AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP","41948415DxEaNV","ck-ai-chat-controls__model-name","toggleReasoning","AI_CHAT_REASONING","menuitemradio","setModelList","isEnabled","6459138DGbLNi","AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP","agent","withText","_createReasoningButton","bindTemplate","setReasoning","name","disableModelSelector","AI_CHAT_COMMANDS","ck-ai-chat-controls-button","isVisible","capabilities","span","extendTemplate","buttonView","addMany","createCollection","ck-ai-chat__prompt-capabilities","toggleWebSearch","startsWith","AI_CHAT_DISABLE_REASONING","activeModelId","_reasoningButton","ck-button__label","source","ck-ai-chat-controls-button--commands","Commands are not implemented yet.","_createModelNameView","execute","_commandsButton","_modelSelectionDropdownItems","fire","10RdTaWJ","AI_CHAT_SEARCH_WEB","_modelSelectionDropdown","button","locale","tooltip","AI_CHAT_ENABLE_WEB_SEARCH","text","16286GrbMZi","setTemplate","16aNXDvU","label","content","_createCommandsButton","enabled","1755824hXsCZR","description","1097735XrKXdk","setWebSearch","activeModelName","modelSelectorEnabled","log","enableModelSelector","ck-ai-chat-controls__model-selection","setModel","_webSearchButton","webSearchActive","AI_CHAT_DISABLE_WEB_SEARCH","isOn","ck-ai-chat-controls__model-selection__item-capabilities","24dwzPwp","bind","add","1092508BpfweA","listenTo","set","div","reasoning","_getCapabilityParts","AI_CHAT_ENABLE_REASONING","toLowerCase","1042662uklomG","AI_CHAT_CAPABILITIES_YES","ck-hidden","modelSelectorVisible","_createWebSearchButton","ck-ai-chat-controls__model-selection__item-description","ck-ai-chat-controls__model-selection__item-name","model","AI_CHAT_CAPABILITIES_NO","_createModelSelectionDropdown","webSearch","reasoningActive"];return(dE=function(){return t})()}const pE='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.587 17.028a1.88 1.88 0 0 1-1.882-1.881V1.976A1.88 1.88 0 0 1 2.587.094H17.64a1.88 1.88 0 0 1 1.881 1.882v13.17a1.88 1.88 0 0 1-1.881 1.882zm5.645-1.41h9.408a.47.47 0 0 0 .47-.471V1.976a.47.47 0 0 0-.47-.47H8.232zM6.82 1.504H2.587a.47.47 0 0 0-.47.47v13.172a.47.47 0 0 0 .47.47H6.82z"/></svg>';function fE(t,e){const n=gE();return(fE=function(t,e){return n[t-=110]})(t,e)}function gE(){const t=["ck-ai-header ck-ai-header_small ck-ai-header_context-url","ck-button-icon ck-button-back","children","esc","_setupEventHandlers","forEach","confirmButton","submitUrl","setTemplate","stop","value","div","execute","form","_createConfirmButton","AI_CHAT_CONTEXT_URL_PLACEHOLDER","tab","20ThWNOV","backButton","clearError","_handleSubmit","setError","trim","_setupKeystrokes","431420daFJZG","urlInputField","errorText","ck-button-icon","fire","10286871hXUWOG","_setupTemplate","focus","locale","AI_CHAT_CONTEXT_URL_INVALID_ERROR","AI_CHAT_CONTEXT_URL_LABEL","_createBackButton","listenTo","isEnabled","createCollection","length","_focusables","_isValidUrl","submit","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","AI_CHAT_CONTEXT_URL_EMPTY_ERROR","render","shift+tab","input","406320DjMiOX","focusCycler","set","focusTracker","_updateConfirmButtonState","ck-ai-chat-context-controls__url-input-section","1571788ZLvINP","element","clear","cancel","destroy","5440896JRJYXW","AI_CHAT_CONTEXT_URL_ADD_URL","ck-labeled-field-view_empty","1431942AEdZOo","add","keystrokes","refreshBalloon","_createUrlInputField","getValue","1503592KliHMO","fieldView","ck-ai-chat-context-controls__url-form"];return(gE=function(){return t})()}const mE=fE;!function(t){const e=fE,n=t();for(;;)try{if(834682===-parseInt(e(151))/1+-parseInt(e(175))/2+-parseInt(e(118))/3+-parseInt(e(110))/4*(-parseInt(e(144))/5)+-parseInt(e(115))/6+parseInt(e(156))/7+-parseInt(e(124))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gE);const kE=mE(126),_E=mE(180);class bE extends a.View{[mE(178)];[mE(120)];[mE(167)];[mE(176)];[mE(152)];[mE(145)];[mE(133)];constructor(t){const e=mE;super(t),this[e(178)]=new s.FocusTracker,this[e(120)]=new s.KeystrokeHandler,this[e(145)]=this[e(162)](),this[e(152)]=this[e(122)](),this[e(133)]=this[e(141)](),this[e(167)]=this[e(165)]([this[e(145)],this[e(152)],this[e(133)]]),this[e(176)]=new a.FocusCycler({focusables:this[e(167)],focusTracker:this[e(178)],keystrokeHandler:this[e(120)],actions:{focusPrevious:e(173),focusNext:e(143)}}),this[e(157)](),this[e(131)](),this[e(150)]()}[mE(172)](){const t=mE;super[t(172)](),this[t(167)][t(132)](e=>{const n=t;this[n(178)][n(119)](e[n(111)]),this[n(120)][n(163)](e[n(111)])}),(0,a.submitHandler)({view:this}),this[t(158)]()}[mE(114)](){const t=mE;super[t(114)](),this[t(178)][t(114)](),this[t(120)][t(114)]()}[mE(158)](){const t=mE;this[t(152)][t(158)]()}[mE(123)](){const t=mE;return this[t(152)][t(125)][t(111)]?.[t(137)]?.[t(149)]()||""}[mE(112)](){const t=mE;this[t(152)][t(125)][t(111)][t(137)]="",this[t(152)][t(153)]=null,this[t(133)][t(164)]=!1}[mE(148)](t){const e=mE;this[e(152)][e(153)]=t,this[e(179)](),this[e(155)](e(121))}[mE(146)](){const t=mE;this[t(152)][t(153)]=null,this[t(179)]()}[mE(162)](){const t=mE,e=new a.ButtonView(this[t(159)]);return e[t(177)]({icon:ey,tooltip:zc(this[t(159)],t(170)),tooltipPosition:"n",class:t(128)}),e}[mE(122)](){const t=mE,e=new a.LabeledFieldView(this[t(159)],a.createLabeledInputText);return e[t(177)]({label:zc(this[t(159)],t(161)),class:t(117)}),e[t(125)][t(177)]({placeholder:zc(this[t(159)],t(142))}),e}[mE(141)](){const t=mE,e=new a.ButtonView(this[t(159)]);return e[t(177)]({icon:GI,tooltip:zc(this[t(159)],t(116)),tooltipPosition:"n",class:t(154),type:t(169),isEnabled:!1}),e}[mE(157)](){const t=mE,e=new a.FormHeaderView(this[t(159)],{label:zc(this[t(159)],t(116)),class:t(127)});e[t(129)][t(119)](this[t(145)],0),this[t(135)]({tag:t(140),attributes:{class:kE,tabindex:"-1"},children:[e,{tag:t(138),attributes:{class:_E},children:[this[t(152)],this[t(133)]]}]})}[mE(131)](){const t=mE;this[t(145)].on(t(139),()=>{const e=t;this[e(112)](),this[e(155)](e(113))}),this[t(152)][t(125)].on(t(174),()=>{const e=t;this[e(146)](),this[e(179)](),this[e(155)](e(121))}),this.on(t(169),e=>{const n=t;e[n(136)](),this[n(147)]()})}[mE(150)](){const t=mE;this[t(120)][t(177)](t(130),(e,n)=>{const r=t;this[r(112)](),this[r(155)](r(113)),n()})}[mE(147)](){const t=mE,e=this[t(123)]()[t(149)]();e?this[t(168)](e)?(this[t(146)](),this[t(155)](t(134),e)):this[t(148)](zc(this[t(159)],t(160))):this[t(148)](zc(this[t(159)],t(171)))}[mE(179)](){const t=mE,e=this[t(123)]()[t(149)](),n=!!this[t(152)][t(153)];this[t(133)][t(164)]=e[t(166)]>0&&!n}[mE(168)](t){try{return!!new URL(t)}catch{return!1}}}const wE=IE;function IE(t,e){const n=vE();return(IE=function(t,e){return n[t-=338]})(t,e)}function vE(){const t=["label","27475900giJdpm","_updateIcon","isVisible","type","6wTKsaQ","FILE","_titleView","div","execute","isInContext","setTemplate","getResourceIcon","content","URL","11474430OeDTfl","updateResourceState","text","ck-ai-chat-resources__item__icon","_iconView","ck-hidden","_createTitleView","9470645wxtVZw","resource","1dzXEyp","render","ck-ai-chat-resources__item--in-context","_setupTemplate","trim","ck-ai-chat-resources__item","span","DOCUMENT","9007453PCpXfy","61011XPLOxm","104EtxZmN","803074GEqPoN","extendTemplate","highlightText","set","15644AdnYmQ","TEXT","bindTemplate","ck-ai-chat-resources__item-title","_createIconView"];return(vE=function(){return t})()}!function(t){const e=IE,n=t();for(;;)try{if(960693===parseInt(e(356))/1*(-parseInt(e(367))/2)+parseInt(e(381))/3*(parseInt(e(371))/4)+parseInt(e(354))/5+-parseInt(e(347))/6+-parseInt(e(364))/7+parseInt(e(366))/8*(-parseInt(e(365))/9)+parseInt(e(377))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vE);const yE=wE(361),AE=wE(358),EE=wE(374),xE=wE(350);class TE extends a.ListItemView{[wE(355)];[wE(339)];[wE(351)];constructor(t,e){const n=wE;super(t),this[n(355)]=e,this[n(370)](n(342),!!e[n(342)]),this[n(339)]=this[n(353)](),this[n(351)]=this[n(375)](),this[n(359)]()}[wE(357)](){super[wE(357)]()}[wE(344)](t){const e=wE;if(t[e(342)])return GI;switch(t[e(380)]){case U_[e(363)]:return Gy;case U_[e(346)]:return jy;case U_[e(338)]:case U_[e(372)]:return zy;default:return pE}}[wE(369)](t){const e=wE;if(!t||""===t[e(360)]())return void this[e(339)][e(369)](null);const n=new RegExp(function(t){return t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}(et(t)),"gi");this[e(339)][e(369)](n)}[wE(348)](t){const e=wE;this[e(355)][e(342)]=t,this[e(342)]=t,this[e(378)]()}[wE(353)](){const t=wE,e=new a.HighlightedTextView;return e[t(349)]=this[t(355)][t(376)],e[t(368)]({tag:t(362),attributes:{class:[EE]}}),e}[wE(375)](){const t=wE,e=new a.IconView;return e[t(345)]=this[t(344)](this[t(355)]),e}[wE(359)](){const t=wE,e=this[t(373)];this[t(343)]({tag:t(340),attributes:{class:[yE,e.if(t(379),t(352),t=>!t),e.if(t(342),AE)]},children:[{tag:t(340),attributes:{class:[xE]},children:[this[t(351)]]},this[t(339)]],on:{click:e.to(t(341))}})}[wE(378)](){const t=wE;this[t(351)][t(345)]=this[t(344)](this[t(355)])}}function CE(t,e){const n=RE();return(CE=function(t,e){return n[t-=278]})(t,e)}const SE=CE;function RE(){const t=["_handleResourceSelection","items","setResources","\\$&","8011355TdBGQn","ck-ai-chat-resources__list","replace","test","add","clear","filter","6ZVrOPc","2356376HOYkov","6486385XzZaaH","execute","4lektWq","_source","highlightText","resource","1204812EyycQz","fire","6ZaPwKu","9KkOjni","16014890DzMvyy","locale","extendTemplate","trim","forEach","updateResourceState","useDefaultFiltering","12hZzXuP","addResourceToContext","11802126KNmOwS","610814QRZmDe","label"];return(RE=function(){return t})()}!function(t){const e=CE,n=t();for(;;)try{if(856656===-parseInt(e(302))/1*(-parseInt(e(284))/2)+-parseInt(e(280))/3*(-parseInt(e(288))/4)+-parseInt(e(282))/5*(-parseInt(e(290))/6)+-parseInt(e(301))/7+parseInt(e(281))/8*(parseInt(e(291))/9)+-parseInt(e(292))/10+-parseInt(e(308))/11*(-parseInt(e(299))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(RE);const OE=SE(309);class NE extends a.ListView{[SE(285)];constructor(t,e){const n=SE;super(t),this[n(285)]=e,this[n(294)]({attributes:{class:[OE]}})}[SE(306)](t,e){const n=SE;this[n(305)][n(278)]();let r=t;if(this[n(285)][n(298)]&&e&&""!==e[n(295)]()){const i=new RegExp(e[n(310)](/[.*+?^${}()|[\]\\]/g,n(307)),"gi");r=t[n(279)](t=>i[n(311)](t[n(303)]))}for(const t of r){const e=new TE(this[n(293)],t);e.on(n(283),()=>{const e=n;this[e(304)](this[e(285)],t)}),this[n(305)][n(312)](e)}this[n(285)][n(298)]&&this[n(286)](e)}[SE(286)](t){const e=SE;this[e(285)][e(298)]&&this[e(305)][e(296)](n=>{n[e(286)](t)})}[SE(297)](t,e){const n=SE;for(const r of this[n(305)]){const i=r;i[n(287)].id===t&&i[n(297)](e)}}[SE(304)](t,e){const n=SE;this[n(289)](n(300),{source:t,resource:e})}}class LE extends a.LabeledFieldView{iconView;resetButtonView;_viewConfig;constructor(t){const e=t.t,n={showResetButton:!0,showIcon:!0,creator:a.createLabeledInputText,label:zc(t,"AI_CHAT_SEARCH_RESOURCES")};super(t,n.creator),this.label=n.label,this._viewConfig=n,this._viewConfig.showIcon&&this._setupSearchIcon(),this._viewConfig.showResetButton&&this._setupResetButton(t,e),this._setupEventListeners()}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&this.resetButtonView&&(this.resetButtonView.isVisible=!1),this.search("")}search(t){this.fire("search",t)}getQuery(){return this.fieldView.element?.value||""}_setupSearchIcon(){this.iconView=new a.IconView,this.iconView.content=o.IconLoupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})}_setupResetButton(t,e){this.resetButtonView=new a.ButtonView(t),this.resetButtonView.set({label:e("Clear"),icon:o.IconCancel,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",()=>{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",t=>!t),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}})}_setupEventListeners(){this.listenTo(this.fieldView,"input",()=>{this.search(this.fieldView.element.value)}),this.bind("isEnabled").to(this)}}const PE=ME;function ME(t,e){const n=HE();return(ME=function(t,e){return n[t-=107]})(t,e)}!function(t){const e=ME,n=t();for(;;)try{if(884394===parseInt(e(138))/1*(parseInt(e(120))/2)+-parseInt(e(148))/3*(parseInt(e(137))/4)+-parseInt(e(145))/5+parseInt(e(126))/6*(-parseInt(e(112))/7)+parseInt(e(115))/8+-parseInt(e(134))/9+-parseInt(e(127))/10*(-parseInt(e(141))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HE);class DE extends a.View{[PE(125)];[PE(132)];[PE(142)];[PE(114)];[PE(128)];[PE(121)]=null;constructor(t,e){const n=PE;super(t),this[n(114)]=e,this[n(116)](n(139),!0),this[n(125)]=this[n(136)]();const r=this[n(124)]();this[n(132)]=this[n(110)](),this[n(142)]=this[n(119)](),this[n(128)]=new a.ViewCollection([r,this[n(142)],this[n(132)]]),this[n(108)]({tag:n(144),attributes:{class:n(131)},children:this[n(128)]})}[PE(136)](){return new LE(this[PE(147)])}[PE(124)](){const t=PE,e=new a.View(this[t(147)]);return e[t(108)]({tag:t(144),attributes:{class:t(113)},children:[this[t(125)]]}),this[t(125)].on(t(118),(e,n)=>{const r=t;this[r(133)](n),this[r(114)][r(135)]&&this[r(132)][r(122)](n)}),e}[PE(110)](){const t=PE,e=new NE(this[t(147)],this[t(114)]);return e[t(109)](t(130)).to(this),e[t(143)]({attributes:{class:this[t(140)].if(t(139),t(129))}}),e}[PE(119)](){const t=PE,e=new BA(this[t(147)],UA[t(123)]);return e[t(143)]({attributes:{class:[this[t(140)].if(t(139),t(129),t=>!t)]}}),e}[PE(111)](){const t=PE;super[t(111)](),this[t(133)]("")}[PE(133)](t){const e=PE,n=(0,s.uid)();this[e(121)]=n,this[e(146)](e(150),{sourceId:this[e(114)].id,query:t,uid:n}),this[e(139)]=!0}[PE(107)](t,e){const n=PE;if(e&&e!==this[n(121)])return;const r=this[n(114)][n(135)]?this[n(125)][n(117)]():"";this[n(132)][n(107)](t,r),requestAnimationFrame(()=>{this[n(139)]=!1})}[PE(149)](t,e){const n=PE;this[n(132)][n(149)](t,e)}}function HE(){const t=["getQuery","search","_createSkeletonView","149054WOUMgv","_latestLoadResourcesUid","highlightText","aiChatResources","_createSearchSection","_searchView","2123064KYwlIU","50PjGDBx","children","ck-hidden","addResourceToContext","ck-ai-chat-resources","_resourcesListView","loadResources","1109448wJfmBe","useDefaultFiltering","_createSearchView","128aTZPJx","7GBBbzA","isLoading","bindTemplate","5468309oEtsPO","_skeletonLoader","extendTemplate","div","2795375WDdTNg","fire","locale","148779FoiUXu","updateResourceState","loadSourceResources","setResources","setTemplate","delegate","_createResourcesListView","render","14cylPbH","ck ck-search","_source","6832968DkPhcd","set"];return(HE=function(){return t})()}function BE(){const t=["loadSourceResources","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","ck-ai-header ck-ai-header_small ck-ai-header_source","onLoadSourceResources","get","2428419ahDpGU","_createSourceResourceBalloonPanel","children","resource","updateResourceState","isVisible","pin","delete","isAnyResourceBalloonVisible","addResourceToContext","67614QwbVEA","_locale","3227409CqcrTV","label","setResources","hide","_getResourcesViewFromBalloon","_config","_createBalloonResourcesView","onBackToContext","extendTemplate","content","_setupSingleResourceBalloonClickOutsideHandler","showSourceResourcesBalloon","getTargetElement","clear","328964LylwVb","source","add","_sourceResourceBalloons","_addSourceResourceContent","onResourceSelected","185672zqBzPQ","_bodyCollection","set","destroy","ck-button-icon ck-button-back","2117690JXQhZC","_createBalloonHeader","ck-ai-chat-context-controls__source-balloon-panel","execute","_createBackButton","3PKLPzH","getLimiterElement","6ZHEFNX","closeSourceResourceBalloon","10vPYhwi","values","element","show","onBalloonClosed","populateSourceResourceBalloon","2871456ufiExc"];return(BE=function(){return t})()}const UE=VE;function VE(t,e){const n=BE();return(VE=function(t,e){return n[t-=327]})(t,e)}!function(t){const e=VE,n=t();for(;;)try{if(219576===-parseInt(e(346))/1+parseInt(e(362))/2+-parseInt(e(378))/3*(-parseInt(e(368))/4)+-parseInt(e(373))/5*(-parseInt(e(380))/6)+-parseInt(e(336))/7+-parseInt(e(330))/8+-parseInt(e(348))/9*(-parseInt(e(382))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(BE);const qE=UE(375),FE=UE(372),zE=UE(333);class GE{[UE(365)]=new Map;[UE(369)];[UE(347)];[UE(353)];constructor(t,e,n){const r=UE;this[r(347)]=t,this[r(369)]=e,this[r(353)]=n}[UE(359)](t){const e=UE;let n=this[e(365)][e(335)](t.id);n||(n=this[e(337)](),this[e(365)][e(370)](t.id,n),this[e(358)](n)),this[e(366)](n,t),n[e(327)]();const r=this[e(353)][e(360)]();r&&n[e(342)]({target:r,limiter:this[e(353)][e(379)]()})}[UE(329)](t,e,n){const r=UE,i=this[r(365)][r(335)](t);if(!i)return;const o=this[r(352)](i);o&&o[r(350)](e,n)}[UE(381)](t){const e=UE,n=this[e(365)][e(335)](t);n&&requestAnimationFrame(()=>{const r=e;n[r(351)](),this[r(365)][r(343)](t),this[r(353)][r(328)]()})}[UE(344)](){const t=UE;for(const e of this[t(365)][t(383)]())if(e[t(341)])return!0;return!1}[UE(340)](t,e,n){const r=UE,i=this[r(365)][r(335)](t);if(!i||!i[r(341)])return;const o=this[r(353)][r(360)]();if(!o)return;i[r(342)]({target:o,limiter:this[r(353)][r(379)]()});const s=this[r(352)](i);s&&s[r(340)](e,n)}[UE(371)](){const t=UE;for(const e of this[t(365)][t(383)]())e[t(371)]();this[t(365)][t(361)]()}[UE(337)](){const t=UE,e=new a.BalloonPanelView(this[t(347)]);return e[t(356)]({attributes:{class:qE}}),this[t(369)][t(364)](e),e}[UE(366)](t,e){const n=UE;t[n(357)][n(361)]();const r=this[n(374)](t,e);t[n(357)][n(364)](r);const i=this[n(354)](e);t[n(357)][n(364)](i)}[UE(374)](t,e){const n=UE,r=this[n(377)](t),i=new a.FormHeaderView(this[n(347)],{label:e[n(349)],class:zE});return i[n(338)][n(364)](r,0),i}[UE(377)](t){const e=UE,n=new a.ButtonView(this[e(347)]);return n[e(370)]({icon:ey,tooltip:zc(this[e(347)],e(332)),tooltipPosition:"n",class:FE}),n.on(e(376),()=>{const n=e;t[n(351)](),this[n(353)][n(355)]()}),n}[UE(354)](t){const e=UE,n=new DE(this[e(347)],t);return n.on(e(331),(t,n)=>{const r=e;this[r(353)][r(334)](n)}),n.on(e(345),(n,r)=>{const i=e;this[i(353)][i(367)](r[i(363)],r[i(339)]),this[i(381)](t.id)}),n}[UE(352)](t){const e=UE,n=t[e(357)][e(335)](1);return n instanceof DE?n:null}[UE(358)](t){const e=UE;(0,a.clickOutsideHandler)({emitter:t,contextElements:[t[e(384)]],callback:()=>{const n=e;t[n(351)](),this[n(353)][n(328)]()},activator:()=>t[e(341)]})}}const jE=WE;function WE(t,e){const n=YE();return(WE=function(t,e){return n[t-=459]})(t,e)}function YE(){const t=["_setupAddContextBalloonClickOutsideHandler","isAnyResourceBalloonVisible","add","hide","_createBalloonButton","2960888Jmnytq","submitUrl","addContextItem","ck-ai-chat-context-chips-wrapper-balloon","document","div","__arrow","addUrlToContext","current","children","southArrowNorthWest","ck-ai-chat-context-controls__add-context-balloon-panel","urls","isVisible","southArrowNorthEast","clearConversationContextItems","reorganizeChips","locale","clearCurrentContextItems","northArrowSouthWest","updateResourceState","icon","_bindEventHandlers","5YsmKik","find","208252MGDFJx","arrowView","render","cancel","_overflowManager","_showSourceResourcesBalloon","northArrowSouthEast","_resourcesBalloonView","5081285aKCIAn","ck-ai-chat-controls-button","AI_CHAT_CONTEXT_ADD_CONTEXT","_createBaseBalloonPanel","_setupAllBalloonClickOutsideHandlers","_addContextToCollection","_currentContextsChips","addFileToContext","1318566ziasBJ","ck-ai-chat","addDocumentToContext","10ibUQMv","_toggleAddContextBalloon","ck-ai-chat-context-controls__balloon-button","_handleAddContextButtonClick","hideAddContextBalloonPanel","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","4816431BfGoEt","populateSourceResourceBalloon","addContextButtonView","southArrowNorth","bodyCollection","tooltip","isReadOnly","closeSourceResourceBalloon","_addContextBalloonPanelView","fire","ck-ai-chat-controls_context_show-more-button","removeContextItemChip","defaultPositions","_urlInputView","ck-ai-chat-context-controls__add-context-button","2363356sCidOc","showAddContextBalloonPanel","_createResourcesBalloonView","pin","setConversationContext","setContainerElement","_getLimiterElement","_createAddContextButtonView","_createArrowView","2065560VikAQa","bind","_addUrlContent","body","show","_setAddContextButtonEnabled","addResourceToContext","AI_CHAT_CONTEXT_URL_LABEL","northArrowSouth","_createUrlBalloonPanelView","ck-ai-chat-context-controls__url-balloon-panel","_createContextButton","menuitem","isEnabled","_handleUrlSubmit","7XaeefW","loadSourceResources","setTemplate","_conversationContextsChips","content","_urlBalloonPanelView","overflowChips","ck-ai-chat-context-controls","buttonView","setContextItemLoading","remove","label","AI_CHAT_CONTEXT_FILE_LABEL","source","isHidden","execute","sources","5GkZvoJ","setAddContextOptions","_addContextBalloonConfig","closest","isOn","_setBalloonPanelContent","_setupUrlBalloonClickOutsideHandler","ck-ai-chat-context-controls__balloon-button-source","ck-reset_all-excluded","_createAddContextBalloonPanelView","enabled","_removeContextFromCollection","ck-ai-chat-context-controls__pending-contexts","extendTemplate","hideUrlBalloonPanel","done","element","destroy","ck-ai-chat-context-controls__show-more-balloon-panel","conversation","createCollection","focus","showUrlBalloonPanel","removeContextItem","type","showSourceResourcesBalloon","balloonView","_setupTemplate","isLoading","files","refreshBalloon","set","clear"];return(YE=function(){return t})()}!function(t){const e=WE,n=t();for(;;)try{if(299296===parseInt(e(516))/1*(-parseInt(e(518))/2)+parseInt(e(534))/3+parseInt(e(558))/4*(-parseInt(e(599))/5)+parseInt(e(567))/6+parseInt(e(582))/7*(-parseInt(e(493))/8)+-parseInt(e(543))/9*(-parseInt(e(537))/10)+parseInt(e(526))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(YE);const KE=[jE(536),jE(533),jE(500),jE(573),jE(478),jE(583)],$E=jE(589),QE=jE(467),XE=jE(504),ZE=jE(557),JE=jE(577),tx=jE(539),ex=jE(462),nx=jE(527),rx=jE(496),ix=jE(553),ox=jE(473),sx=jE(535),ax=[a.BalloonPanelView[jE(555)][jE(512)],a.BalloonPanelView[jE(555)][jE(575)],a.BalloonPanelView[jE(555)][jE(524)],a.BalloonPanelView[jE(555)][jE(503)],a.BalloonPanelView[jE(555)][jE(546)],a.BalloonPanelView[jE(555)][jE(507)]];class cx extends a.View{[jE(545)];[jE(532)]=this[jE(475)]();[jE(585)]=this[jE(475)]();[jE(522)];[jE(551)];[jE(587)];[jE(556)];[jE(525)];[jE(601)];[jE(547)];constructor(t,e){const n=jE;super(t),this[n(547)]=e,this[n(532)]=this[n(475)](),this[n(585)]=this[n(475)](),this[n(545)]=this[n(565)](t),this[n(551)]=this[n(464)](t),this[n(587)]=this[n(576)](t),this[n(525)]=this[n(560)](t,e);const r={cssClasses:{showMoreButton:ix,showMoreBalloon:ox,overflowContainer:rx,controlsButton:nx}};this[n(522)]=new lA(t,this[n(532)],r,this[n(547)],this),this[n(601)]={buttonView:this[n(545)],balloonView:this[n(551)],hideMethod:this[n(541)][n(568)](this),showMethod:this[n(559)][n(568)](this)},this[n(482)](),this[n(515)]()}[jE(520)](){const t=jE;super[t(520)](),this[t(530)](),this[t(522)][t(563)](this[t(471)]),this[t(522)][t(509)]()}[jE(472)](){const t=jE;super[t(472)](),this[t(522)][t(472)](),this[t(525)][t(472)]()}[jE(495)](t,e){const n=jE,r=this[n(578)](t,n(501),!0,e);this[n(531)](r,this[n(532)]),this[n(522)][n(509)]()}[jE(478)](t){const e=jE;this[e(466)](t,this[e(532)]),this[e(466)](t,this[e(522)][e(588)]),this[e(522)][e(509)]()}[jE(591)](t,e){const n=jE;let r=this[n(532)][n(517)](e=>e.id===t);r||(r=this[n(522)][n(588)][n(517)](e=>e.id===t)),r&&(r[n(483)]=e)}[jE(562)](t){const e=jE;this[e(585)][e(487)]();for(const n of t){const t=this[e(578)](n,e(474),!1,!1);this[e(531)](t,this[e(585)])}}[jE(511)](){const t=jE;this[t(532)][t(487)](),this[t(522)][t(487)]()}[jE(508)](){const t=jE;this[t(585)][t(487)]()}[jE(513)](t,e,n){const r=jE;this[r(525)][r(513)](t,e,n)}[jE(541)](){this[jE(538)](!1)}[jE(559)](){this[jE(538)](!0)}[jE(469)](){const t=jE;this[t(587)][t(491)](),this[t(545)][t(459)]=!1,this[t(556)]&&this[t(556)][t(487)]()}[jE(477)](){const t=jE;this[t(587)][t(571)](),this[t(545)][t(459)]=!0}[jE(523)](t){const e=jE;this[e(525)][e(480)](t),this[e(545)][e(459)]=!0}[jE(544)](t,e,n,r){const i=jE;this[i(525)][i(544)](t,n,r)}[jE(550)](t){const e=jE;this[e(525)][e(550)](t),this[e(545)][e(459)]=!1}[jE(600)](t){const e=jE;this[e(460)](this[e(551)],this[e(510)],t),this[e(572)](t)}[jE(572)](t){const e=jE,n=!t[e(497)][e(596)]&&t[e(497)][e(465)],r=t[e(505)][e(465)],i=t[e(484)][e(465)];this[e(545)][e(580)]=n||r||i}[jE(482)](){const t=jE;this[t(584)]({tag:t(498),attributes:{class:[$E,t(463)]},children:[{tag:t(498),attributes:{class:QE},children:this[t(532)]}]})}[jE(515)](){const t=jE;this[t(545)].on(t(597),()=>{this[t(540)]()})}[jE(565)](t){const e=jE,n=new a.ButtonView(t);return n[e(486)]({label:zc(t,e(528)),class:nx+" "+ZE,icon:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M8.514.5c1.007 0 2.056.352 2.866.96.813.611 1.449 1.539 1.449 2.69v7.8c0 .777-.382 1.457-.888 1.93-.505.474-1.195.8-1.92.82-1.473.04-2.848-1.237-2.848-2.75v-3.7a.75.75 0 0 1 1.5 0v3.7c0 .642.65 1.268 1.306 1.25.312-.008.663-.157.938-.414.274-.256.412-.562.412-.836v-7.8c0-.556-.303-1.08-.85-1.49A3.4 3.4 0 0 0 8.513 2a3.4 3.4 0 0 0-1.946.65c-.556.41-.868.934-.868 1.5v.028l-.001.013-.002.055-.006.212-.02.787c-.015.67-.034 1.605-.046 2.663-.025 2.123-.025 4.729.074 6.704.058 1.155.628 1.948 1.466 2.478.864.547 2.017.81 3.135.81 1.114 0 2.092-.265 2.789-.785.671-.5 1.152-1.286 1.213-2.503a80 80 0 0 0 .074-5.299 82 82 0 0 0-.073-2.283L14.301 7v-.086A.75.75 0 0 1 15.8 6.91v.013l.002.033.005.127c.005.11.013.273.02.48.017.413.035 1.007.048 1.725a82 82 0 0 1-.075 5.4c-.082 1.63-.758 2.843-1.815 3.631-1.032.77-2.358 1.082-3.684 1.082-1.322 0-2.774-.306-3.939-1.044-1.191-.754-2.076-1.962-2.161-3.669-.101-2.024-.101-4.67-.076-6.796.012-1.066.03-2.006.047-2.68.007-.337.015-.608.02-.794l.006-.215.002-.056v-.02c.009-1.162.663-2.082 1.477-2.683A4.9 4.9 0 0 1 8.514.5"/></svg>',isToggleable:!0,tooltip:!0,tooltipPosition:"sw"}),n}[jE(464)](t){return this[jE(529)](t,XE)}[jE(576)](t){const e=jE,n=this[e(529)](t,JE);return this[e(569)](n,t),n}[jE(560)](t,e){const n=jE;return new GE(t,e,{onBackToContext:()=>{const t=WE;this[t(559)](),this[t(551)][t(561)]({target:this[t(545)][t(471)],limiter:this[t(564)](),positions:ax})},onResourceSelected:(t,e)=>{const n=WE;this[n(552)](n(573),{source:t,resource:e})},onLoadSourceResources:t=>{const e=WE;this[e(552)](e(583),t)},onBalloonClosed:()=>{const t=WE;this[t(545)][t(459)]=!1},getLimiterElement:()=>this[n(564)](),getTargetElement:()=>this[n(545)][n(471)]})}[jE(564)](){const t=jE;return this[t(471)]?.[t(602)]("."+sx)||document[t(570)]}[jE(529)](t,e){const n=jE,r=new a.BalloonPanelView(t);return r[n(468)]({attributes:{class:e}}),this[n(547)][n(490)](r),r}[jE(460)](t,e,n){const r=jE;if(t[r(586)][r(487)](),!n[r(497)][r(596)]&&n[r(497)][r(465)]){const n=this[r(492)](e,{label:zc(e,r(542)),icon:Gy});n.on(r(597),()=>{const t=r;this[t(552)](t(536)),this[t(541)]()}),t[r(586)][r(490)](n)}if(n[r(505)][r(465)]){const n=this[r(492)](e,{label:zc(e,r(574)),icon:jy});n.on(r(597),()=>{const t=r;this[t(541)](),this[t(477)](),this[t(587)][t(561)]({target:this[t(545)][t(471)],limiter:this[t(564)](),positions:ax}),this[t(556)][t(476)]()}),t[r(586)][r(490)](n)}if(n[r(484)][r(465)]){const n=new a.FileDialogButtonView(e);n[r(486)]({label:zc(e,r(594)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17.5 9.303V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6 6 0 0 0-1.5-1.228M16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10M15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1z"/></svg>',withText:!0,tooltip:!0,class:tx,allowMultipleFiles:!0}),n.on(r(470),(t,e)=>{const n=r;this[n(552)](n(533),e),this[n(541)]()}),n[r(548)]=!0,t[r(586)][r(490)](n)}for(const i of n[r(598)]){const n=this[r(492)](e,{label:i[r(593)],icon:i[r(514)]||pE,type:r(595)});t[r(586)][r(490)](n),n.on(r(597),()=>{const t=r;this[t(541)](),this[t(523)](i)})}}[jE(569)](t,e){const n=jE;this[n(556)]=new bE(e),this[n(556)].on(n(494),(t,e)=>{this[n(581)](e)}),this[n(556)].on(n(521),()=>{const t=n;this[t(469)](),this[t(559)](),this[t(551)][t(561)]({target:this[t(545)][t(471)],limiter:this[t(564)](),positions:ax})}),this[n(556)].on(n(485),()=>{const t=n;this[t(587)][t(506)]&&this[t(587)][t(561)]({target:this[t(545)][t(471)],limiter:this[t(564)](),positions:ax})}),t[n(586)][n(490)](this[n(556)])}[jE(492)](t,e){const n=jE,r=n(595)===e[n(479)]?new lx(t):new a.ButtonView(t);return r[n(486)]({label:e[n(593)],icon:e[n(514)],withText:!0,tooltip:!0,tooltipPosition:"sw",class:tx}),r}[jE(530)](){const t=jE;this[t(488)](),this[t(461)]()}[jE(461)](){const t=jE;(0,a.clickOutsideHandler)({emitter:this[t(587)],contextElements:[this[t(587)][t(471)]],callback:()=>{this[t(469)]()},activator:()=>this[t(587)][t(506)]})}[jE(538)](t){const e=jE,n=this[e(601)];n[e(590)][e(459)]=t,t?n[e(481)][e(571)]():n[e(481)][e(491)]()}[jE(488)](){const t=jE,{balloonView:e,buttonView:n,hideMethod:r}=this[t(601)];(0,a.clickOutsideHandler)({emitter:e,contextElements:[e[t(471)],n[t(471)]],callback:()=>{r()},activator:()=>n[t(459)]&&!this[t(587)][t(506)]&&!this[t(525)][t(489)]()})}[jE(578)](t,e,n=!1,r=!1){const i=jE,o=i(474)===e||!0===t[i(549)],s=new nA(this[i(510)],t,o,n,r);return o||s.on(i(554),()=>{const t=i;this[t(552)](t(478),s.id)}),s}[jE(531)](t,e){e[jE(490)](t,0)}[jE(466)](t,e){const n=jE,r=e[n(517)](e=>e.id===t);r&&e[n(592)](r)}[jE(540)](){const t=jE;this[t(545)][t(459)]?this[t(541)]():(this[t(559)](),this[t(551)][t(561)]({target:this[t(545)][t(471)],limiter:this[t(564)](),positions:ax}))}[jE(581)](t){const e=jE;this[e(556)][e(487)](),this[e(469)](),this[e(552)](e(500),t)}}class lx extends a.ButtonView{[jE(519)];constructor(t){const e=jE;super(t),this[e(486)]({withText:!0,role:e(579)}),this[e(519)]=this[e(566)](),this[e(468)]({attributes:{class:[ex]}})}[jE(520)](){const t=jE;super[t(520)](),this[t(502)][t(490)](this[t(519)])}[jE(566)](){const t=jE,e=new a.IconView;return e[t(586)]='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136z"/></svg>',e[t(468)]({attributes:{class:ex+t(499)}}),e}}function ux(t,e){const n=px();return(ux=function(t,e){return n[t-=161]})(t,e)}const hx=ux;!function(t){const e=ux,n=t();for(;;)try{if(422914===parseInt(e(170))/1+parseInt(e(187))/2*(parseInt(e(164))/3)+-parseInt(e(181))/4+parseInt(e(180))/5*(-parseInt(e(168))/6)+parseInt(e(182))/7*(parseInt(e(184))/8)+parseInt(e(173))/9*(parseInt(e(190))/10)+-parseInt(e(162))/11*(parseInt(e(166))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(px);class dx extends a.View{[hx(189)];[hx(161)];constructor(t){const e=hx;super(t),this[e(189)]=this[e(183)](),this[e(161)]=this[e(177)](),this[e(176)]({tag:e(165),attributes:{class:["ck",e(186),e(163)]},children:[this[e(161)],this[e(189)]]})}[hx(183)](){const t=hx,e=new a.ButtonView(this[t(167)]);return e[t(175)]({label:zc(this[t(167)],t(179)),withText:!0,class:t(188),icon:o.IconStop}),e.on(t(185),()=>{const e=t;this[e(169)](e(174))}),e}[hx(177)](){const t=hx,e=new a.View(this[t(167)]);return e[t(176)]({tag:t(165),attributes:{class:[t(171)]},children:[{tag:t(165),attributes:{class:[t(191)]},children:[{tag:t(165),attributes:{class:[t(172)]}},{tag:t(165),attributes:{class:[t(172)]}},{tag:t(165),attributes:{class:[t(172)]}}]},{text:zc(this[t(167)],t(178))}]}),e}}function px(){const t=["5SGKyaa","500916NVBTaL","7uuqWLk","_createCancelButtonView","6638200uAxkOD","execute","ck-ai-chat-controls-loader-wrapper","372PBNDMN","ai-chat-controls-loader__cancel-button","_cancelButtonView","266080TVisfk","ck-ai-chat-controls-loader-icon","_loaderView","329021xDgxlS","ck-reset_all","204dznoGF","div","168Sqkvoo","locale","4382526PhvTwI","fire","429167DEEBRJ","ck-ai-chat-controls-loader","ck-ai-chat-controls-loader-icon-dot","144ZVhSLc","abortPromptStream","set","setTemplate","_createLoaderView","AI_CHAT_IS_WRITING","AI_CHAT_STOP_GENERATING"];return(px=function(){return t})()}const fx=mx;function gx(){const t=["_promptCapabilitiesView","ck-hidden","_handlePromptInputFocus","form","492957aGeIVC","setAddContextOptions","112GHThfU","477354zjrrel","removeContextItem","_shouldRestorePromptInputFocus","updateResourceState","isLoading","change:isLoading","setConversationContext","589086XtjnKf","populateSourceResourceBalloon","setReasoning","abortPromptStream","_createContextPanelView","focus","setWebSearch","clearConversationContextItems","16YwYAuC","ck-ai-chat-controls","220BzaeJS","div","delegate","sendUserMessage","setModel","resetMessageInput","_createLoaderView","clearPendingContextUI","setModelList","element","setPlaceholderText","20165bVczud","toggleReasoning","setInputPlaceholder","setContextItemLoading","closeSourceResourceBalloon","clearConversationContextUI","disableModelSelector","bindTemplate","enableModelSelector","selectModel","toggleWebSearch","reset","setIsUploadInProgress","focusPromptInput","20923200HyEgal","addContextItem","low","addContextButtonView","_createPromptCapabilitiesView","2091523QkXqqT","_createPromptInputView","_promptInputView","setTemplate","_loaderView","clearCurrentContextItems","_contextPanelView","1263619jBLEwv"];return(gx=function(){return t})()}function mx(t,e){const n=gx();return(mx=function(t,e){return n[t-=323]})(t,e)}!function(t){const e=mx,n=t();for(;;)try{if(802044===parseInt(e(361))/1+parseInt(e(384))/2*(parseInt(e(366))/3)+parseInt(e(324))/4*(-parseInt(e(335))/5)+-parseInt(e(369))/6+-parseInt(e(354))/7+parseInt(e(368))/8*(parseInt(e(376))/9)+-parseInt(e(349))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gx);class kx extends a.View{[fx(360)];[fx(356)];[fx(362)];[fx(358)];[fx(371)];constructor(t,e){const n=fx;super(t),this[n(360)]=this[n(380)](t,e),this[n(356)]=this[n(355)](t),this[n(362)]=this[n(353)](t),this[n(358)]=this[n(330)](t),this[n(371)]=!1,this[n(356)][n(326)](n(327)).to(this),this[n(358)][n(326)](n(379)).to(this),this[n(362)][n(326)](n(345)).to(this),this[n(362)][n(326)](n(336)).to(this),this[n(362)][n(326)](n(344)).to(this),this[n(360)][n(326)](...KE).to(this);const r=this[n(342)];this[n(357)]({tag:n(365),attributes:{class:["ck",n(323)]},children:[{tag:n(325),attributes:{class:[r.if(n(373),n(363))]},children:[this[n(360)],this[n(356)],this[n(362)]]},{tag:n(325),attributes:{class:[r.if(n(373),n(363),t=>!t)]},children:[this[n(358)]]}]}),(0,a.clickOutsideHandler)({emitter:this[n(356)],activator:()=>this[n(373)],contextElements:()=>[this[n(333)]],callback:()=>{this[n(371)]=!1}}),this.on(n(374),this[n(364)],{priority:n(351)})}[fx(380)](t,e){return new cx(t,e)}[fx(355)](t){const e=fx;return new ZA(t,this[e(360)][e(352)])}[fx(353)](t){return new lE(t)}[fx(330)](t){return new dx(t)}[fx(364)](t,e,n){const r=fx;n?this[r(371)]=!0:this[r(371)]&&this[r(356)][r(381)]()}[fx(350)](t,e){const n=fx;this[n(360)][n(350)](t,e)}[fx(370)](t){const e=fx;this[e(360)][e(370)](t)}[fx(338)](t,e){const n=fx;this[n(360)][n(338)](t,e)}[fx(347)](t){const e=fx;this[e(356)][e(347)](t)}[fx(375)](t){const e=fx;this[e(360)][e(375)](t)}[fx(331)](){const t=fx;this[t(360)][t(359)]()}[fx(340)](){const t=fx;this[t(360)][t(383)]()}[fx(372)](t,e,n){const r=fx;this[r(360)][r(372)](t,e,n)}[fx(382)](t){const e=fx;this[e(362)][e(382)](t)}[fx(378)](t){const e=fx;this[e(362)][e(378)](t)}[fx(329)](){const t=fx;this[t(356)][t(346)]()}[fx(367)](t){const e=fx;this[e(360)][e(367)](t)}[fx(337)](t){const e=fx;this[e(356)][e(334)](t)}[fx(332)](t,e){const n=fx;this[n(362)][n(332)](t,e)}[fx(328)](t){const e=fx;this[e(362)][e(328)](t)}[fx(343)](){const t=fx;this[t(362)][t(343)]()}[fx(341)](t){const e=fx;this[e(362)][e(341)](t)}[fx(377)](t,e,n,r){const i=fx;this[i(360)][i(377)](t,e,n,r)}[fx(339)](t){const e=fx;this[e(360)][e(339)](t)}[fx(348)](){const t=fx;this[t(356)][t(381)]()}}const _x=bx;function bx(t,e){const n=wx();return(bx=function(t,e){return n[t-=216]})(t,e)}function wx(){const t=["132976sjARLi","ck-ai-header ck-ai-header_chat","ck-ai-chat__start-conversation","execute","11529744XybrXI","add","isMaximized","children","AI_CHAT_HEADING","resizeButton","604652ALlplk","startConversation","2599800NyNJJA","40371651VmReVW","_createStartConversationButton","120UVuDpT","11897277tzdnef","27716uteADU","locale","fire","18LIRBtK","set","conversationStartButton","AI_CHAT_LABEL_NEW_CHAT"];return(wx=function(){return t})()}!function(t){const e=bx,n=t();for(;;)try{if(975155===-parseInt(e(225))/1+-parseInt(e(235))/2*(-parseInt(e(221))/3)+-parseInt(e(218))/4*(parseInt(e(216))/5)+parseInt(e(229))/6+parseInt(e(217))/7+parseInt(e(237))/8+-parseInt(e(238))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wx);class Ix extends a.FormHeaderView{[_x(223)];[_x(234)];constructor(t,e){const n=_x;super(t,{label:zc(t,n(233)),class:n(226),icon:o.IconAIChat}),this[n(222)](n(231),!1),this[n(223)]=this[n(239)](t),this[n(232)][n(230)](this[n(223)]),e&&(this[n(234)]=Zc(t,this),this[n(232)][n(230)](this[n(234)]))}[_x(239)](t){const e=_x,n=new a.ButtonView(t);return n[e(222)]({label:zc(this[e(219)],e(224)),withText:!0,icon:o.IconPlus,class:e(227)}),n.on(e(228),()=>{const t=e;this[t(220)](t(236))}),n}}function vx(){var t=["44vdpXbt","3573XGhtAS","ck-ai-disclaimer","div","203WqmqkL","111544wFLAgA","8442WJhrmY","45078FvANNW","setTemplate","4216IPcqRh","AI_DISCLAIMER_TEXT","5650WHyHxG","51933DDnirC","3251540YGNNmg","ck-ai-disclaimer__content","2025526OOOhMS"];return(vx=function(){return t})()}function yx(t,e){var n=vx();return(yx=function(t,e){return n[t-=264]})(t,e)}!function(t){for(var e=yx,n=t();;)try{if(562760===-parseInt(e(266))/1+-parseInt(e(276))/2+-parseInt(e(273))/3*(-parseInt(e(277))/4)+-parseInt(e(274))/5+-parseInt(e(267))/6*(-parseInt(e(265))/7)+-parseInt(e(270))/8*(parseInt(e(278))/9)+parseInt(e(272))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vx);class Ax extends a.View{constructor(t){var e=yx;super(t),this[e(269)]({tag:e(264),attributes:{class:["ck",e(279)]},children:[{tag:"p",attributes:{class:["ck",e(275)]},children:[{text:zc(t,e(271))}]}]})}}var Ex=Tx;function xx(){var t=["66682UZQFME","36190BKOdOY","ck-rounded-corners","div","ck-ai-chat","chatHeader","1016NojyyG","2966274cJkGJB","uiLanguageDirection","636085bECBxi","chatDisclaimer","_bodyCollection","destroy","29GzSfnd","chatControls","attachToDom","chatFeed","3383328OJfbzS","ck-reset_all","setTemplate","4126030jhSyNV","closeSourceResourceBalloon","3JHCzfO","detachFromDom","populateSourceResourceBalloon","3824868BaYoRf","delegate"];return(xx=function(){return t})()}function Tx(t,e){var n=xx();return(Tx=function(t,e){return n[t-=137]})(t,e)}!function(t){for(var e=Tx,n=t();;)try{if(532942===-parseInt(e(162))/1*(-parseInt(e(149))/2)+parseInt(e(144))/3*(-parseInt(e(147))/4)+-parseInt(e(158))/5+parseInt(e(139))/6+-parseInt(e(150))/7*(parseInt(e(155))/8)+parseInt(e(156))/9+parseInt(e(142))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xx);class Cx extends a.View{[Ex(154)];[Ex(138)];[Ex(163)];[Ex(159)];[Ex(160)];constructor(t,e){var n=Ex;super(t),this[n(160)]=new a.BodyCollection(t),this[n(160)][n(137)](),this[n(154)]=new Ix(t,e),this[n(154)][n(148)](...Ty).to(this),this[n(138)]=new GA(t,this[n(160)]),this[n(138)][n(148)](...Ty).to(this),this[n(163)]=new kx(t,this[n(160)]),this[n(163)][n(148)](...Ty).to(this),this[n(159)]=new Ax(t),this[n(141)]({tag:n(152),attributes:{class:["ck",n(140),n(153),n(151)],dir:t[n(157)]},children:[this[n(154)],this[n(138)],this[n(163)],this[n(159)]]})}[Ex(146)](t,e,n,r){var i=Ex;this[i(163)][i(146)](t,e,n,r)}[Ex(143)](t){var e=Ex;this[e(163)][e(143)](t)}[Ex(161)](){var t=Ex;this[t(160)][t(145)](),super[t(161)]()}}var Sx=n(962),Rx={attributes:{"data-cke":!0}};Rx.setAttributes=Et(),Rx.insert=yt().bind(null,"head"),Rx.domAPI=It(),Rx.insertStyleElement=Tt();bt()(Sx.A,Rx);Sx.A&&Sx.A.locals&&Sx.A.locals;const Ox=Lx;function Nx(){const t=["view","updateSuggestionPartState","values","toggleLoadingSkeleton","ai-reply","addFeedItemAIReply","chat","updateCapabilities","isMaximized","scrollToSuggestion","focusPromptInput","enqueue","resetMessageInput","1632876DczJEL","removeFeedInteraction","contextItems","disableModelSelector","context","isPremiumPlugin","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH","updateFeedItemAIReplySources","setIsUploadInProgress","updateFeedItemAIReplySuggestionContent","isOfficialPlugin","AI_CHAT_WELCOME_MESSAGE","isPending","chatControls","forEach","enableModelSelector","chatHeader","startsWith","clearConversationContextUI","setLoadingMessage","areActionsDisabled","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR","setConversationContext","finishInteraction","37yitzpq","setModelList","then","startAutoScroll","interaction-header","setConversationTitle","1963TvWdUP","updateReplyItem","3145401CNVeUx","addFeedItemError","setContextItemLoading","toggleSuggestionDisplayMode","AITabs","setAddContextOptions","userMessage","_animateConversationTitle","addFeedItemAISuggestion","1266089lZGodS","_interactionPromiseResolver","conversation-start","setFeedItemRenderingStrategy","ai.chat.models.modelSelectorAlwaysVisible","removeItem","isWebSearchEnabled","stopInteraction","availableModels","setModel","streaming","updateFeedItemAIReplySuggestionPartState","isLoading","updateSuggestionItem","setSelectedModel","bind","45145Bqiktq","setReasoning","closeSourceResourceBalloon","setIsMaximized","isReasoningEnabled","scrollFeedToSuggestion","feedItemRenderingStrategy","user-message","stopAutoScroll","_titleAnimationInterval","AIChatUI","22404DZZZfk","updateFeedItemAIReplyContent","populateSourceResourceBalloon","updateWebSources","AI_CHAT_FEED_LOADING_MESSAGE_REGULAR","addFeedInteractionHeader","set","addTab","_promiseQueue","startInteraction","_getLoadingMessage","282HoGKwu","locale","markFeedItemAsDone","updateResourceState","config","removeContextItem","ai-suggestion-reply","addContextItem","destroy","setWebSearch","_view","markItemAsDone","4GXZJyi","setInputPlaceholder","plugins","30WvvICB","AI_CHAT_FEED_LOADING_MESSAGE_REASONING","isDone","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH","options","addFeedItemUserMessage","from","clear","434703sDfawO","_getInputPlaceholder","isBusy","showResizeButton","pluginName","46INHPmy","quickActionData","createConversation","abort","renderingStrategy","delegate","addItem","clearPendingContextUI","get","capabilities","children","showDiff","filter","getItemIds","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING","</p>","resetConversationTitle","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING","requires","displayedPrompt","chatFeed","<p>","find","queueEmptyPromise","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING","error-message","updateFeedInteractionHeader","addFeedItemStaticMessage","label","isVisible","AI_CHAT_HEADING","8NkdQPK","length","interactionId"];return(Nx=function(){return t})()}function Lx(t,e){const n=Nx();return(Lx=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=Lx,n=t();for(;;)try{if(227472===parseInt(e(217))/1*(parseInt(e(300))/2)+-parseInt(e(295))/3*(parseInt(e(284))/4)+parseInt(e(250))/5*(parseInt(e(272))/6)+parseInt(e(193))/7+parseInt(e(331))/8*(-parseInt(e(225))/9)+-parseInt(e(287))/10*(-parseInt(e(234))/11)+-parseInt(e(261))/12*(parseInt(e(223))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Nx);class Px extends i.ContextPlugin{static get[Ox(318)](){return[Uc]}[Ox(282)];static get[Ox(299)](){return Ox(260)}static get[Ox(203)](){return!0}static get[Ox(198)](){return!0}[Ox(256)]=Ox(244);[Ox(311)]=!0;[Ox(269)];[Ox(235)];[Ox(259)]=void 0;constructor(t){const e=Ox;super(t);const n=this[e(197)][e(286)][e(308)](e(229));this[e(267)](e(297),!1),this[e(269)]=new Nv,this[e(282)]=new Cx(this[e(197)][e(273)],n[e(298)]),this[e(282)][e(305)](...Ty).to(this),this[e(282)].on(e(228),(t,{showDiff:n})=>{this[e(311)]=n}),n[e(334)][e(268)]({id:e(340),buttonLabel:zc(this[e(197)][e(273)],e(330)),buttonIcon:o.IconAIChat,order:0,content:this[e(282)]}),this[e(282)][e(206)][e(249)](e(246)).to(this,e(297),t=>t),this[e(282)][e(320)][e(249)](e(205)).to(this,e(297),t=>t),this[e(282)][e(206)][e(285)](this[e(296)]())}[Ox(280)](){const t=Ox;super[t(280)](),this[t(259)]&&clearInterval(this[t(259)])}[Ox(302)](t){const e=Ox;this[e(282)][e(320)][e(294)](),this[e(282)][e(206)][e(208)](),this[e(282)][e(206)][e(218)](t[e(242)],!this[e(197)][e(276)][e(308)](e(238))),this[e(327)]({id:e(236),staticMessage:zc(this[e(197)][e(273)],e(204))})}[Ox(327)]({id:t,staticMessage:e}){const n=Ox;this[n(282)][n(320)][n(306)](n(338),{id:t,initialContent:n(321)+e+n(315)})}[Ox(292)](t){const e=Ox,n=t[e(301)]?.[e(319)]||t[e(231)];this[e(282)][e(320)][e(306)](e(257),{contextItems:Array[e(293)](t[e(195)][e(336)]()),initialContent:e(321)+n+e(315),id:t.id})}[Ox(226)]({errorMessage:t,id:e}){const n=Ox;this[n(282)][n(320)][n(306)](n(325),{initialContent:n(321)+t+n(315),id:e})}[Ox(339)](t){const e=Ox;return this[e(269)][e(345)](async()=>{const n=e;this[n(282)][n(320)][n(306)](n(338),{id:t[n(333)]+":"+t.id}),this[n(282)][n(320)][n(212)]("")})}async[Ox(233)](t){const e=Ox;return this[e(269)][e(345)](async()=>{const n=e;this[n(282)][n(320)][n(306)](n(278),{id:t[n(333)]+":"+t.id,areActionsDisabled:t[n(213)],showDiff:this[n(311)]}),this[n(282)][n(320)][n(212)]("")})}[Ox(266)](t){const e=Ox;this[e(282)][e(320)][e(306)](e(221),{id:t.id,capabilities:t[e(309)]})}[Ox(326)](t){const e=Ox,n=this[e(282)][e(320)][e(310)][e(322)](n=>n[e(291)].id==t.id&&n instanceof xA);n&&n[e(267)](e(329),t[e(329)])}async[Ox(262)](t){const e=Ox,n=t[e(304)]||this[e(256)];return this[e(269)][e(345)](async r=>{const i=e;await this[i(282)][i(320)][i(224)]({...t,abortSignal:r,renderingStrategy:n}),t[i(289)]&&this[i(274)](t.id)})}[Ox(200)](t,e){const n=Ox;this[n(282)][n(320)][n(264)](t,e)}async[Ox(202)](t){const e=Ox,n=t[e(304)]||this[e(256)];return this[e(269)][e(345)](async r=>{const i=e;await this[i(282)][i(320)][i(247)]({...t,abortSignal:r,renderingStrategy:n}),t[i(289)]&&this[i(274)](t.id)})}[Ox(245)](t){const e=Ox;this[e(282)][e(320)][e(335)](t)}[Ox(274)](t){const e=Ox;this[e(282)][e(320)][e(283)](t)}[Ox(194)](t){const e=Ox;this[e(282)][e(320)][e(313)]()[e(312)](n=>n[e(210)](t))[e(207)](t=>this[e(282)][e(320)][e(239)](t))}[Ox(270)](t){const e=Ox;this[e(282)][e(320)][e(212)](this[e(271)](t)),this[e(282)][e(206)][e(196)](!this[e(197)][e(276)][e(308)](e(238))),this[e(297)]=!0,this[e(282)][e(320)][e(220)]()}[Ox(241)](t){const e=Ox;this[e(269)][e(303)](),this[e(282)][e(320)][e(313)]()[e(312)](n=>n[e(210)](t.id))[e(207)](t=>this[e(274)](t)),this[e(297)]=!1,this[e(282)][e(320)][e(258)]()}async[Ox(216)](){const t=Ox;return this[t(269)][t(323)][t(219)](()=>{const e=t;this[e(297)]=!1,this[e(282)][e(320)][e(258)]()})}[Ox(279)](t,e){const n=Ox;this[n(282)][n(206)][n(279)](t,e)}[Ox(277)](t){const e=Ox;this[e(282)][e(206)][e(277)](t)}[Ox(227)](t,e){const n=Ox;this[n(282)][n(206)][n(227)](t,e)}[Ox(201)](t){const e=Ox;this[e(282)][e(206)][e(201)](t)}[Ox(215)](t){const e=Ox;this[e(282)][e(206)][e(215)](t)}[Ox(307)](){const t=Ox;this[t(282)][t(206)][t(307)]()}[Ox(211)](){const t=Ox;this[t(282)][t(206)][t(211)]()}[Ox(275)](t,e,n){const r=Ox;this[r(282)][r(206)][r(275)](t,e,n)}[Ox(192)](){const t=Ox;this[t(282)][t(206)][t(192)](),this[t(282)][t(206)][t(285)](this[t(296)]())}[Ox(230)](t){const e=Ox;this[e(282)][e(206)][e(230)](t)}[Ox(341)](t){const e=Ox;this[e(282)][e(206)][e(281)](t[e(240)]),this[e(282)][e(206)][e(251)](t[e(254)]),this[e(282)][e(206)][e(285)](this[e(296)](t))}[Ox(248)](t,e){const n=Ox;this[n(282)][n(206)][n(243)](t),e&&this[n(282)][n(206)][n(196)](!1)}[Ox(237)](t){this[Ox(256)]=t}[Ox(337)](t){const e=Ox;this[e(282)][e(320)][e(337)](t)}[Ox(316)](){const t=Ox;this[t(222)](zc(this[t(197)][t(273)],t(330)))}[Ox(222)](t,e=!1){const n=Ox;if(e&&!(0,s._isMotionReduced)()&&t[n(332)])return this[n(282)][n(209)][n(328)]="",void this[n(232)](t);this[n(282)][n(209)][n(328)]=t}[Ox(232)](t){const e=Ox;let n=0;clearInterval(this[e(259)]),this[e(259)]=setInterval(()=>{const r=e;this[r(282)][r(209)][r(328)]=this[r(282)][r(209)][r(328)]+t[n],n++,n===t[r(332)]&&clearInterval(this[r(259)])},30)}[Ox(253)](t){const e=Ox;this[e(282)][e(209)][e(342)]=t}[Ox(271)](t){const e=Ox,n=t[e(309)];return n[e(240)]&&n[e(254)]?zc(this[e(197)][e(273)],e(314)):n[e(240)]?zc(this[e(197)][e(273)],e(290)):n[e(254)]?zc(this[e(197)][e(273)],e(288)):zc(this[e(197)][e(273)],e(265))}[Ox(296)](t){const e=Ox;return t?t[e(240)]&&t[e(254)]?zc(this[e(197)][e(273)],e(324)):t[e(240)]?zc(this[e(197)][e(273)],e(199)):t[e(254)]?zc(this[e(197)][e(273)],e(317)):zc(this[e(197)][e(273)],e(214)):zc(this[e(197)][e(273)],e(214))}[Ox(263)](t,e,n,r){const i=Ox;this[i(282)][i(263)](t,e,n,r)}[Ox(252)](t){const e=Ox;this[e(282)][e(252)](t)}[Ox(344)](){const t=Ox;this[t(282)][t(206)][t(344)]()}[Ox(255)](t,e){const n=Ox;this[n(282)][n(320)][n(343)](t,e)}}const Mx=Hx;function Dx(){const t=["9370471HeLQHo","3FozpoW","21uqPkCM","ck-ai-chat-history__sections","11734LPGhQR","3779106KvoZvy","9JrOqLe","39FmbZKo","addMany","5BBcjIs","items","filter","extendTemplate","1602252ryTKLS","82ZhFCpz","7284770TGaiQT","8615196BOTDMm","sections","1554584QdVOXF"];return(Dx=function(){return t})()}function Hx(t,e){const n=Dx();return(Hx=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=Hx,n=t();for(;;)try{if(719890===-parseInt(e(267))/1*(-parseInt(e(258))/2)+parseInt(e(264))/3*(-parseInt(e(257))/4)+parseInt(e(272))/5*(parseInt(e(268))/6)+parseInt(e(265))/7*(parseInt(e(262))/8)+parseInt(e(269))/9*(parseInt(e(259))/10)+parseInt(e(263))/11+parseInt(e(260))/12*(-parseInt(e(270))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dx);class Bx extends a.ListView{[Mx(261)];constructor(t,e){const n=Mx;super(t),this[n(261)]=e,this[n(273)][n(271)](this[n(261)]),this[n(256)]({attributes:{class:[n(266)]}})}[Mx(274)](t){const e=Mx;let n=0,r=0;for(const i of this[e(261)]){const{resultsCount:o,totalItemsCount:s}=i[e(274)](t);n+=o,r+=s}return{resultsCount:n,totalItemsCount:r}}}const Ux=qx;!function(t){const e=qx,n=t();for(;;)try{if(422188===-parseInt(e(267))/1+parseInt(e(278))/2+parseInt(e(269))/3+-parseInt(e(282))/4*(-parseInt(e(280))/5)+-parseInt(e(288))/6*(-parseInt(e(265))/7)+-parseInt(e(292))/8*(parseInt(e(276))/9)+-parseInt(e(263))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Fx);class Vx extends a.ListItemView{[Ux(289)];[Ux(272)];[Ux(281)];constructor(t,{title:e,items:n}){const r=Ux;super(t);const i=this[r(279)];this[r(287)](r(290),!0),this[r(289)]=e,this[r(272)]=n;const o=new a.View(t);o[r(284)]({tag:r(270),attributes:{class:[r(285)]},children:[this[r(289)]]}),this[r(281)]=new a.ListView(t),this[r(281)][r(266)][r(271)](this[r(272)]),this[r(284)]({tag:"li",attributes:{class:[r(268),i.if(r(290),r(275),t=>!t)]},children:[o,this[r(281)]]})}[Ux(283)](t){const e=Ux,n=this[e(272)][e(286)];let r=0;for(const n of this[e(272)]){if(t){const r=n[e(274)](t);n[e(290)]=!!r,n[e(273)](t)}else n[e(290)]=!0,n[e(273)](null);n[e(290)]&&r++}return this[e(290)]=r>0,{resultsCount:r,totalItemsCount:n}}[Ux(291)](t){const e=Ux;return this[e(272)][e(264)](e=>e.id===t)}[Ux(295)](t){const e=Ux,n=this[e(272)][e(293)](t);-1!==n&&(this[e(272)][e(294)](n,1),this[e(281)][e(266)][e(277)](t))}}function qx(t,e){const n=Fx();return(qx=function(t,e){return n[t-=263]})(t,e)}function Fx(){const t=["2209752SSAkEB","remove","1246204jrRITX","bindTemplate","115rNqNlc","_itemsListView","142652mSgFOB","filter","setTemplate","ck-ai-chat-history__section-title","length","set","14538qSIxpa","title","isVisible","getItem","16JvcVmU","indexOf","splice","removeItem","11637150anfgMl","find","1029pgCgTz","items","189844pnZDxK","ck-ai-chat-history__section","1401813SyGMUI","div","addMany","itemsViews","highlightText","isMatching","ck-hidden"];return(Fx=function(){return t})()}function zx(t,e){var n=Gx();return(zx=function(t,e){return n[t-=461]})(t,e)}function Gx(){var t=["4OpGmmx","544434VmvjHH","9aKvkEO","749OPYbtg","132695AxPWZc","311UOqjrd","915880VolMVN","60656xqeKdn","138wCBSHN","1215930Scvkqj","8083404TrivEF","3124kwvOUt"];return(Gx=function(){return t})()}!function(t){for(var e=zx,n=t();;)try{if(434362===-parseInt(e(464))/1*(parseInt(e(470))/2)+-parseInt(e(468))/3*(-parseInt(e(471))/4)+-parseInt(e(463))/5*(-parseInt(e(467))/6)+-parseInt(e(462))/7*(parseInt(e(466))/8)+-parseInt(e(461))/9*(-parseInt(e(465))/10)+-parseInt(e(472))/11+parseInt(e(469))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Gx);const jx=Yx;function Wx(){const t=["AI_CHAT_HISTORY_LOADING_REMOVING","extendTemplate","_commitEditInputValue","bind","loadingState","isMatching","change:isEdit","createCollection","8fiyUSd","AI_CHAT_HISTORY_REMOVE","LOADING_LABELS","withText","key","ck-confirm-view-cancel","AI_CHAT_HISTORY_LOADING_PINNING","span","ck-ai-chat-history__item--edit","focus","string","_createMenuDropdownView","ck-ai-chat-history__item-actions","panelPosition","963rHYaOE","panelView","editConversationTitle","value","updateLoadingState","bindTemplate","fire","ck-ai-chat-history__item-check","clear","AI_CHAT_HISTORY_LOADING_RENAMING","AI_CHAT_HISTORY_PIN_BUTTON","updateTitle","locale","ck-ai-chat-history__item","ck-ai-loader__text","716030osqXeX","ck-ai-chat-history__item--active","AI_CHAT_HISTORY_LOADING_UNPINNING","4852elwoGj","match","ck-ai-chat-history__item-check-container","216ZIAref","isEdit","click","_createPinButtonView","isOn","ck-ai-chat-history__item-main-content","setTemplate","372156CuAurG","AI_CHAT_HISTORY_SHOW_MORE_ITEMS","actions","items","496gJusDT","_titleView","1325401ZazRVv","AI_CHAT_HISTORY_REMOVE_CONFIRM","add","ck-ai-chat-history__item-row","highlightText","ck-ai-loader","ck-ai-chat-history__item-content","isVisible","AI_CHAT_HISTORY_EDIT_NAME","showConfirm","execute","_createEditInputView","label","_createCheckView","listitem","tiny","_createSpinnerView","buttonView","selectConversation","children","pinned","ck-ai-chat-history__item-date","177300senqQo","Enter","_createCancelEditButtonView","ck-ai-chat-history__item-title","addMany","AI_CHAT_HISTORY_CANCEL","mainContent","ck-hidden","AI_CHAT_HISTORY_ACCEPT","element","setConversationPinned","ck-confirm-view-submit","removeConversation","div","35732yVrgbN","_createAcceptEditButtonView","text","then","set","edit:cancel"];return(Wx=function(){return t})()}function Yx(t,e){const n=Wx();return(Yx=function(t,e){return n[t-=369]})(t,e)}!function(t){const e=Yx,n=t();for(;;)try{if(114502===-parseInt(e(453))/1*(parseInt(e(369))/2)+parseInt(e(404))/3*(parseInt(e(401))/4)+-parseInt(e(439))/5+-parseInt(e(411))/6+parseInt(e(417))/7+-parseInt(e(415))/8*(-parseInt(e(383))/9)+parseInt(e(398))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wx);class Kx extends(function(t){var e=Vw;return class extends t{[e(319)](t,n){var r=e;return this[r(317)]=new Uw(this[r(324)]),this[r(317)][r(339)](),this[r(317)][r(340)]=t,this[r(317)][r(320)](r(332),()=>{this[r(306)]()}),this[r(317)][r(320)](r(335),()=>{this[r(306)]()}),n[r(334)](this[r(317)][r(318)]),n[r(329)][r(314)](r(311)),this[r(337)](this[r(317)]),this[r(317)][r(330)](),this[r(336)](r(312),!0),this.on(r(323),(t,e,i)=>{var o=r;i||n[o(329)][o(327)](o(311))}),new Promise(t=>this[r(317)].on(r(335),t))}[e(305)](){var t=e;this[t(312)]&&this[t(317)][t(321)](t(332))}[e(306)](){var t=e;this[t(318)]&&this[t(317)]&&this[t(317)][t(318)]&&(this[t(318)][t(330)](),this[t(317)][t(318)][t(327)](),this[t(331)](this[t(317)]),this[t(312)]=!1,this[t(321)](t(325)),this[t(317)][t(328)](),this[t(317)]=void 0)}}}(a.ListItemView)){id;static[jx(371)]={remove:jx(459),rename:jx(392),pin:jx(375),unpin:jx(400)};[jx(413)];[jx(445)];[jx(416)];constructor(t,e){const n=jx;super(t);const r=this[n(388)];this[n(457)](n(405),!1),this[n(457)](n(424),!0),this[n(457)](n(437),!!e[n(437)]),this[n(457)](n(463),null),this.id=e.id;const{title:i,createdAt:o,active:s=!1}=e;this[n(416)]=new a.HighlightedTextView,this[n(416)][n(455)]=i,this[n(416)][n(460)]({attributes:{class:[n(442)]}});const c=this[n(430)](),l=this[n(407)](t),u=this[n(380)](),h=this[n(428)](t,i),d=this[n(454)](t,h),p=this[n(441)](t,h);this[n(413)]=this[n(466)](),this[n(445)]=this[n(466)](),this[n(445)][n(419)](this[n(416)]),this[n(413)][n(419)](l),this[n(413)][n(419)](u),this.on(n(465),(t,e,r)=>{const i=n;this[i(413)][i(391)](),this[i(445)][i(391)](),r?(this[i(413)][i(419)](d),this[i(413)][i(419)](p),this[i(445)][i(419)](h),h[i(448)][i(378)]()):(this[i(413)][i(419)](l),this[i(413)][i(419)](u),this[i(445)][i(419)](this[i(416)]))}),this[n(410)]({tag:"li",attributes:{class:[n(396),s?n(399):"",r.if(n(424),n(446),t=>!t),r.if(n(405),n(377))],role:n(431)},children:[{tag:n(376),attributes:{class:[n(403)]},children:[{tag:n(452),attributes:{class:[n(390),r.if(n(463),n(446),t=>!!t)]},children:s?[c]:[]},{tag:n(452),attributes:{class:[n(422),r.if(n(463),n(446),t=>!t)]},children:[this[n(433)]()]}]},{tag:n(452),attributes:{class:[n(420)]},children:[{tag:n(452),attributes:{class:[n(423)]},on:{click:this[n(388)].to(n(406))},children:[{tag:n(452),attributes:{class:[n(409)]},children:[{tag:n(452),attributes:{class:[n(442),r.if(n(463),n(446),t=>!!t)]},children:this[n(445)]},{tag:n(452),attributes:{class:[n(397),r.if(n(463),n(446),t=>!t)]},children:[{text:r.to(n(463),t=>t?zc(this[n(395)],Kx[n(371)][t]):"")}]}]},{tag:n(376),attributes:{class:[n(438)]},children:[o]}]},{tag:n(452),attributes:{class:[n(381)]},children:this[n(413)]}]}]}),this.on(n(406),()=>{const t=n;this[t(405)]||this[t(389)](t(435),{id:this.id})})}[jx(394)](t){const e=jx;this[e(416)][e(455)]=t}[jx(387)](t,e){const n=jx;this[n(457)](n(463),e?t:null)}[jx(430)](){const t=jx,e=new a.IconView;return e[t(457)]({content:o.IconCheck}),e}[jx(407)](t){const e=jx,n=new a.ButtonView(t);return n[e(457)]({label:zc(t,e(393)),icon:o.IconPin,withText:!1,tooltip:!0}),n[e(462)](e(408)).to(this,e(437)),n.on(e(427),()=>{const t=e,n=!this[t(437)];this[t(389)](t(449),{id:this.id,pinned:n})}),n}[jx(380)](){const t=jx,e=(0,a.createDropdown)(this[t(395)],Vb),n=e[t(384)][t(436)];e[t(434)][t(457)]({label:zc(this[t(395)],t(412)),icon:o.IconThreeHorizontalDots}),e[t(382)]="sw";const r=new a.ButtonView(this[t(395)]);r[t(429)]=zc(this[t(395)],t(425)),r[t(372)]=!0,r.on(t(427),()=>{this[t(405)]=!0});const i=new a.ButtonView(this[t(395)]);i[t(429)]=zc(this[t(395)],t(370)),i[t(372)]=!0,i.on(t(427),()=>{const e=t;this[e(426)](zc(this[e(395)],e(418)),this[e(448)])[e(456)](()=>{const t=e;this[t(389)](t(451),{id:this.id})})});const s=new a.ListView(this[t(395)]),c=new a.ListItemView(this[t(395)]);c[t(436)][t(419)](r);const l=new a.ListItemView(this[t(395)]);return l[t(436)][t(419)](i),s[t(414)][t(443)]([c,l]),n[t(419)](s),e}[jx(428)](t,e){const n=jx,r=new a.InputTextView(t),i=r[n(388)];return r[n(386)]=e,r[n(460)]({on:{keydown:i.to(t=>{const e=n;e(440)==t[e(373)]&&this[e(461)](r)})}}),r}[jx(454)](t,e){const n=jx,r=new a.ButtonView(t);return r[n(457)]({icon:o.IconCheck,withText:!1,tooltip:zc(t,n(447))}),r[n(460)]({attributes:{class:[n(450)]}}),r.on(n(427),()=>{this[n(461)](e)}),r}[jx(461)](t){const e=jx,n=t[e(448)][e(386)]||"";this[e(416)][e(455)]=n,this[e(405)]=!1,this[e(389)](e(385),{id:this.id,title:n})}[jx(441)](t,e){const n=jx,r=new a.ButtonView(t);return r[n(457)]({icon:o.IconCancel,withText:!1,tooltip:zc(t,n(444))}),r[n(460)]({attributes:{class:[n(374)]}}),r.on(n(427),()=>{const t=n;this[t(405)]=!1,e[t(386)]=this[t(416)][t(455)]||"",this[t(389)](t(458))}),r}[jx(433)](){const t=jx,e=new Yv(t(432));return e[t(424)]=!0,e}[jx(464)](t){const e=jx;return this[e(416)]&&e(379)==typeof this[e(416)][e(455)]&&this[e(416)][e(455)][e(402)](t)?{title:!0}:null}[jx(421)](t){const e=jx;this[e(416)][e(421)](t)}}const $x=Qx;function Qx(t,e){const n=Xx();return(Qx=function(t,e){return n[t-=190]})(t,e)}function Xx(){const t=["_createSkeletonView","isSearchViewVisible","ck-reset_all","emptyView","9BiBTJb","div","updateTitle","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY","render","searchView","ck-ai-chat-history__empty-message","locale","isMaximized","3109616zYheBe","indexOf","AI_CHAT_HISTORY_SEARCH_LABEL","9vPYlMK","setTemplate","ck-ai-header ck-ai-header_history","ck-ai-chat-history","1242132hkRxBA","push","clear","AI_CHAT_HISTORY_EMPTY_MESSAGE","value","ck-ai-chat-history__open-chat-button","_createListItemViews","change:errorMessage","change:isLoading","sectionsView","some","912708pZxSLW","1EClijh","bindTemplate","delegate","search","getItem","_createEmptyStateView","bind","isEmptyViewVisible","updateItemLoadingState","ck-rounded-corners","ck-ai-chat-error__dismiss-button","ck-ai-chat-history__content","extendTemplate","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY","79656OwTiDp","ck-ai-chat-error","length","_createErrorView","575572zhWqPa","ck-hidden","_createSearchView","splice","errorView","removeHistoryItem","65YetwwI","remove","change:hasItems","addMany","set","20EGnbYA","ck-ai-chat-history__empty","ltr","AI_CHAT_HISTORY_HEADING","_refreshSearch","openChat","updateItemTitle","execute","queryView","_updateViewVisibility","hasItems","add","sections","AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON","3595249DyuzNY","children","fieldView","940090Dsxkzw","removeItem","resizeButton","errorMessage","itemsViews","skeletonView","88MtjBpl","updateLoadingState","updateHistoryItemsWithCategories","title","element","aiHistory","fire","isLoading","isVisible","items"];return(Xx=function(){return t})()}!function(t){const e=Qx,n=t();for(;;)try{if(602512===parseInt(e(282))/1*(-parseInt(e(270))/2)+parseInt(e(254))/3*(parseInt(e(206))/4)+parseInt(e(217))/5*(parseInt(e(281))/6)+parseInt(e(231))/7+-parseInt(e(263))/8*(-parseInt(e(266))/9)+-parseInt(e(234))/10*(parseInt(e(240))/11)+parseInt(e(202))/12*(parseInt(e(212))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xx);class Zx extends a.View{[$x(259)];[$x(210)];[$x(239)];[$x(253)];[$x(279)];[$x(236)];constructor(t,e){const n=$x;super(t),this[n(216)](n(227),!1),this[n(216)](n(247),!0),this[n(216)](n(237),""),this[n(216)](n(262),!1),this[n(216)](n(251),!1),this[n(216)](n(195),!1);const r=new a.FormHeaderView(t,{label:zc(t,n(220)),icon:o.IconAIHistory,class:n(268)});e&&(this[n(236)]=Zc(t,this),r[n(232)][n(228)](this[n(236)])),this[n(279)]=new Bx(t,[]),this[n(279)][n(190)](...iT).to(this),this[n(210)]=this[n(205)](),this[n(239)]=this[n(250)](),this[n(253)]=this[n(193)](),this[n(259)]=this[n(208)](),this.on(n(278),()=>this[n(226)]()),this.on(n(214),()=>this[n(226)]()),this.on(n(277),()=>this[n(226)]()),this[n(267)]({tag:n(255),attributes:{class:["ck",n(252),n(269),n(197)],dir:n(219)},children:[r,{tag:n(255),attributes:{class:[n(199)]},children:[this[n(239)],this[n(210)],this[n(253)],this[n(259)]]}]})}[$x(226)](){const t=$x;this[t(251)]=!this[t(247)]&&this[t(227)]&&!this[t(237)],this[t(195)]=!this[t(247)]&&!this[t(227)]&&!this[t(237)]}[$x(208)](){const t=$x,e=new a.SearchTextView(this[t(261)],{filteredView:this[t(279)],queryView:{label:zc(this[t(261)],t(265))},infoView:{text:{notFound:{primary:e=>zc(this[t(261)],t(257),e),secondary:zc(this[t(261)],t(201))}}}});return e.on(t(258),()=>{const e=t;this[e(259)][e(232)][e(228)](this[e(210)],1)}),e[t(200)]({attributes:{class:[this[t(283)].if(t(251),t(207),t=>!t)]}}),e}[$x(250)](){const t=$x,e=new BA(this[t(261)],UA[t(245)]);return e[t(200)]({attributes:{class:[this[t(283)].if(t(247),t(207),t=>!t)]}}),e}[$x(205)](){const t=$x,e=new a.View(this[t(261)]),n=new a.ButtonView(this[t(261)]);return n[t(216)]({withText:!1,icon:o.IconCancel,class:t(198)}),n[t(194)](t(248)).to(this,t(227),t=>!!t),n.on(t(224),()=>{this[t(237)]=""}),e[t(267)]({tag:t(255),attributes:{class:["ck",t(203),this[t(283)].if(t(237),t(207),t=>!t)]},children:[{tag:"p",children:[{text:this[t(283)].to(t(237))}]},n]}),e}[$x(193)](){const t=$x,e=new a.ButtonView(this[t(261)]);e[t(216)]({withText:!0,label:zc(this[t(261)],t(230)),class:t(275)}),e.on(t(224),()=>{const e=t;this[e(246)](e(222))});const n=new a.View(this[t(261)]);return n[t(267)]({tag:t(255),attributes:{class:[t(218),this[t(283)].if(t(195),t(207),t=>!t)]},children:[{tag:"p",attributes:{class:[t(260)]},children:[zc(this[t(261)],t(273))]},e]}),n}[$x(276)](t,e){const n=$x,r=[];for(const i of t){const t=new Kx(e,i);t[n(190)](...iT).to(this),r[n(271)](t)}return r}[$x(242)](t){const e=$x,n=this[e(261)]||"en",r=[];for(const i of t){const t=this[e(276)](i[e(249)],n);r[e(271)](new Vx(n,{title:i[e(243)],items:t}))}this[e(279)][e(229)]=r,this[e(279)][e(249)][e(272)](),this[e(279)][e(249)][e(215)](r),this[e(227)]=t[e(280)](t=>t[e(249)][e(204)]>0),this[e(221)]()}[$x(211)](t){const e=$x;for(const n of this[e(279)][e(229)]){const r=n[e(192)](t);if(r){if(n[e(235)](r),0===n[e(238)][e(204)]){const t=this[e(279)][e(229)][e(264)](n);-1!==t&&(this[e(279)][e(229)][e(209)](t,1),this[e(279)][e(249)][e(213)](n))}this[e(227)]=this[e(279)][e(229)][e(204)]>0,this[e(221)]();break}}}[$x(223)](t,e){const n=$x;for(const r of this[n(279)][n(229)]){const i=r[n(192)](t);if(i){i[n(256)](e);break}}}[$x(196)](t,e,n){const r=$x;for(const i of this[r(279)][r(229)]){const o=i[r(192)](t);if(o){o[r(241)](e,n);break}}}[$x(221)](){const t=$x;if(this[t(227)]){const e=this[t(259)][t(225)][t(233)]?.[t(244)]?.[t(274)]||"";this[t(259)][t(191)](e)}}}var Jx=n(864),tT={attributes:{"data-cke":!0}};tT.setAttributes=Et(),tT.insert=yt().bind(null,"head"),tT.domAPI=It(),tT.insertStyleElement=Tt();bt()(Jx.A,tT);Jx.A&&Jx.A.locals&&Jx.A.locals;const eT=nT;function nT(t,e){const n=rT();return(nT=function(t,e){return n[t-=316]})(t,e)}function rT(){const t=["resizeTabs","hideError","plugins","pluginName","5087544wPuBKL","removeConversation","9FwICfM","updateItems","isOfficialPlugin","637502huwijK","history","181599YLyfNQ","delegate","setLoadingSkeleton","openChat","errorMessage","5155493geHTZx","showConversationHistory","view","showResizeButton","AIChatHistoryUI","get","AI_CHAT_HISTORY_HEADING","addTab","isMaximized","context","isLoading","locale","editConversationTitle","AITabs","updateHistoryItemsWithCategories","updateItemLoadingState","setIsMaximized","selectConversation","15400608KgfMjQ","showError","requires","isPremiumPlugin","updateItemTitle","360880hXMWfI","removeHistoryItem","185110DgHdhL","setConversationPinned","_historyView"];return(rT=function(){return t})()}!function(t){const e=nT,n=t();for(;;)try{if(437139===parseInt(e(357))/1+-parseInt(e(355))/2+parseInt(e(352))/3*(parseInt(e(341))/4)+-parseInt(e(343))/5+-parseInt(e(350))/6+-parseInt(e(318))/7+parseInt(e(336))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rT);const iT=[eT(319),eT(351),eT(330),eT(344),eT(335),eT(316),eT(346)];class oT extends i.ContextPlugin{static get[eT(338)](){return[Uc]}[eT(345)];static get[eT(349)](){return eT(322)}static get[eT(354)](){return!0}static get[eT(339)](){return!0}constructor(t){const e=eT;super(t);const n=this[e(327)][e(348)][e(323)](e(331));this[e(345)]=new Zx(this[e(327)][e(329)],n[e(321)]),this[e(345)][e(358)](...iT).to(this),n[e(320)][e(325)]({id:e(356),buttonLabel:zc(this[e(327)][e(329)],e(324)),buttonIcon:o.IconAIHistory,order:0,content:this[e(345)]})}[eT(342)](t){const e=eT;this[e(345)][e(342)](t)}[eT(353)](t){const e=eT;this[e(345)][e(332)](t)}[eT(340)](t,e){const n=eT;this[n(345)][n(340)](t,e)}[eT(333)](t,e,n){const r=eT;this[r(345)][r(333)](t,e,n)}[eT(359)](t){const e=eT;this[e(345)][e(328)]=t}[eT(337)](t){const e=eT;this[e(345)][e(317)]=t}[eT(347)](){const t=eT;this[t(345)][t(317)]=""}[eT(334)](t){const e=eT;this[e(345)][e(326)]=t}}function sT(t,e){var n=cT();return(sT=function(t,e){return n[t-=475]})(t,e)}var aT=sT;function cT(){var t=["680727wNFere","2191338JjwBwm","16249750akoWYG","77awwjJx","4pMnkPr","719864LguVCU","pinned","updatedAt","set","1098770IkjqfI","322962LLFFCt","title","6223134YCmnGD","5EYnRTl","updatePinned","createdAt","updateTitle"];return(cT=function(){return t})()}!function(t){for(var e=sT,n=t();;)try{if(533867===-parseInt(e(486))/1*(parseInt(e(483))/2)+-parseInt(e(490))/3*(-parseInt(e(477))/4)+-parseInt(e(482))/5+-parseInt(e(485))/6+parseInt(e(476))/7*(parseInt(e(478))/8)+-parseInt(e(491))/9+parseInt(e(475))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(cT);class lT extends((0,s.ObservableMixin)()){id;[aT(488)];constructor({id:t,title:e,createdAt:n,updatedAt:r,pinned:i}){var o=aT;super(),this.id=t,this[o(488)]=new Date(n),this[o(481)](o(484),e),this[o(481)](o(480),r?new Date(r):null),this[o(481)](o(479),i||!1)}[aT(489)](t){var e=aT;this[e(481)](e(484),t),this[e(480)]=new Date}[aT(487)](t){var e=aT;this[e(481)](e(479),t),this[e(480)]=new Date}}const uT=hT;function hT(t,e){const n=dT();return(hT=function(t,e){return n[t-=479]})(t,e)}function dT(){const t=["getMonth","getTime","getItem","getResult","335545afRnIh","updatePinned","15mKTUZk","11QxECen","from","1404moVnNl","error","itemsLoaded","getItems","push","829480LVnjFi","findIndex","itemUpdated","fire","updateConversation","getFullYear","deleteConversation","updateItemTitle","updateItemPinned","5796eBNVhE","fetchConversations","execute","5877852YajsZE","init","find","282EysUmh","items","getConversations","225116ANefpa","9tiefBH","connector","pinned","loadItems","2514xIxbQw","addItem","filter","getDate","createdAt","removeItem","itemRemoved","5426504xWRfxh","splice","map","group","updateTitle"];return(dT=function(){return t})()}!function(t){const e=hT,n=t();for(;;)try{if(354352===parseInt(e(506))/1*(-parseInt(e(514))/2)+-parseInt(e(483))/3*(parseInt(e(509))/4)+-parseInt(e(481))/5+-parseInt(e(486))/6*(parseInt(e(500))/7)+parseInt(e(521))/8+-parseInt(e(510))/9*(-parseInt(e(491))/10)+parseInt(e(484))/11*(parseInt(e(503))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dT);class pT extends((0,s.EmitterMixin)()){[uT(507)]=[];[uT(511)];[uT(524)];constructor({connector:t,group:e}){const n=uT;super(),this[n(511)]=t,this[n(524)]=e}async[uT(504)](){const t=uT;try{const e=this[t(511)][t(501)](this[t(524)]),n=await e[t(508)]();this[t(513)](n)}catch(e){this[t(494)](t(487),{error:e,operation:t(504)})}}[uT(515)](t){const e=uT;this[e(507)][e(490)](t)}async[uT(519)](t){const e=uT,n=this[e(507)][e(492)](e=>e.id===t);if(-1===n)return!1;try{return await this[e(511)][e(497)](t)[e(502)](),this[e(507)][e(522)](n,1),this[e(494)](e(520),{itemId:t}),!0}catch(n){return this[e(494)](e(487),{error:n,operation:e(519),itemId:t}),!1}}[uT(479)](t){const e=uT;return this[e(507)][e(505)](e=>e.id===t)}async[uT(498)](t,e){const n=uT,r=this[n(479)](t);if(!r)return!1;try{return await this[n(511)][n(495)](t,{title:e})[n(480)](),r[n(525)](e),this[n(494)](n(493),{itemId:t,updates:{title:e}}),!0}catch(e){return this[n(494)](n(487),{error:e,operation:n(498),itemId:t}),!1}}async[uT(499)](t,e){const n=uT,r=this[n(479)](t);if(!r)return!1;try{return await this[n(511)][n(495)](t,{pinned:e})[n(480)](),r[n(482)](e),this[n(494)](n(493),{itemId:t,updates:{pinned:e}}),!0}catch(e){return this[n(494)](n(487),{error:e,operation:n(499),itemId:t}),!1}}[uT(513)](t){const e=uT;try{this[e(507)]=[],t[e(523)](t=>{this[e(515)](new lT(t))}),this[e(494)](e(488),{items:[...this[e(507)]]})}catch(t){this[e(494)](e(487),{error:t,operation:e(513)})}}[uT(489)](t={}){const e=uT,n=void 0!==t[e(512)]&&t[e(512)],r=t[e(485)]?new Date(t[e(485)][e(496)](),t[e(485)][e(526)](),t[e(485)][e(517)]()):null,i=t.to?new Date(t.to[e(496)](),t.to[e(526)](),t.to[e(517)]()):null;return this[e(507)][e(516)](t=>{const o=e;if(t[o(512)]!==n)return!1;if(i){const e=new Date(t[o(518)][o(496)](),t[o(518)][o(526)](),t[o(518)][o(517)]());return r?r[o(527)]()===i[o(527)]()?e[o(527)]()===r[o(527)]():e<i&&e>=r:e<i}return!0})}}const fT=mT;function gT(){const t=["AI_CHAT_HISTORY_PIN_ACTION","AI_CHAT_HISTORY_UNPIN_ACTION","_handleRemove","getGroupId","listenTo","chat","setDate","getItems","init","removeConversation","_setItemLoading","push","activateTab","context","updateItemLoadingState","isOfficialPlugin","_updateHistoryItemsUI","title","removeItem","history","_aiChatHistoryUi","openChat","updateItemTitle","itemId","AI_CHAT_HISTORY_ERROR_LOAD_ITEMS","change:activeConversation","76768NmVyCU","editConversationTitle","_clearItemLoading","loadItems","_handleTogglePin","47199LWkgQF","view","_handleHistoryErrorUI","getMonth","pinned","getDate","AIChatHistoryController","map","loadConversation","AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS","rename","AI_CHAT_HISTORY_ERROR_UPDATE_PINNED","plugins","_setIsMaximized","setIsMaximized","_showConversationHistory","createdAt","AI_CHAT_HISTORY_CATEGORY_LATER","AI_CHAT_HISTORY_CATEGORY_PINNED","resizeTabs","_aiChatController","handleRemovedConversation","AI_CHAT_HISTORY_ERROR_REMOVE_ITEM","_handleEditTitle","2VEqdTd","3218754LzmOxA","items","activateTab:history","itemUpdated","itemsLoaded","showError","getItem","updates","177852ihuGuW","setConversationPinned","updateItems","2682940CcPpJv","470KSPKRn","remove","itemRemoved","removeHistoryItem","_handleSelectConversation","requires","_aiConnector","getFullYear","setLoadingSkeleton","AI_CHAT_HISTORY_CATEGORY_TODAY","pluginName","AI_CHAT_UNTITLED_CONVERSATION","366uzIIAN","252JSedyT","pin","1188YthtCe","locale","AI_CHAT_HISTORY_ERROR_GENERIC","AI_CHAT_HISTORY_CATEGORY_YESTERDAY","toLocaleDateString","isPremiumPlugin","operation","unpin","resizedTabs","activeConversation","error","get","AI_CHAT_HISTORY_ERROR_UPDATE_TITLE","length","567XKGbqQ","_getCategorizedItems","_generateErrorMessage","updateItemPinned","selectConversation","resize"];return(gT=function(){return t})()}function mT(t,e){const n=gT();return(mT=function(t,e){return n[t-=287]})(t,e)}!function(t){const e=mT,n=t();for(;;)try{if(233476===parseInt(e(323))/1*(-parseInt(e(347))/2)+parseInt(e(356))/3+-parseInt(e(375))/4*(parseInt(e(360))/5)+-parseInt(e(372))/6*(-parseInt(e(389))/7)+-parseInt(e(318))/8*(-parseInt(e(373))/9)+parseInt(e(359))/10+-parseInt(e(348))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gT);class kT extends i.ContextPlugin{[fT(366)];[fT(312)];[fT(343)];static get[fT(365)](){return[$c,yy,oT,Uc]}static get[fT(370)](){return fT(329)}static get[fT(307)](){return!0}static get[fT(380)](){return!0}[fT(300)](){const t=fT;this[t(366)]=this[t(305)][t(335)][t(386)]($c),this[t(312)]=this[t(305)][t(335)][t(386)](oT),this[t(343)]=this[t(305)][t(335)][t(386)](yy);const e=this[t(305)][t(335)][t(386)](Uc),n=this[t(343)][t(295)]();this[t(311)]=new pT({connector:this[t(366)],group:n}),this[t(296)](this[t(312)],t(301),(e,n)=>{const r=t;this[r(302)](n.id,r(361)),this[r(294)](n.id)}),this[t(296)](this[t(312)],t(319),(e,n)=>{const r=t;this[r(302)](n.id,r(333)),this[r(346)](n.id,n[r(309)])}),this[t(296)](this[t(311)],t(351),(e,n)=>{const r=t;void 0!==n[r(355)][r(309)]&&this[r(312)][r(314)](n[r(315)],n[r(355)][r(309)]),void 0!==n[r(355)][r(327)]&&this[r(308)](),this[r(320)](n[r(315)])}),this[t(296)](this[t(311)],t(362),(e,n)=>{const r=t;this[r(343)][r(344)](n[r(315)]),this[r(312)][r(363)](n[r(315)]),this[r(320)](n[r(315)])}),this[t(296)](this[t(311)],t(352),()=>{this[t(308)]()}),this[t(296)](this[t(311)],t(385),(e,n)=>{const r=t;this[r(325)](n[r(385)],n[r(381)],n[r(315)])}),this[t(296)](this[t(312)],t(290),(e,n)=>{this[t(364)](n.id)}),this[t(296)](this[t(312)],t(357),(e,n)=>{const r=t,i=n[r(327)]?r(374):r(382);this[r(302)](n.id,i),this[r(322)](n.id,n[r(327)])}),this[t(296)](this[t(312)],t(313),()=>{const n=t;e[n(324)][n(304)](n(297))}),this[t(296)](this[t(343)],t(317),()=>{this[t(308)]()}),e[t(324)].on(t(350),()=>{this[t(338)]()}),this[t(296)](e,t(383),(e,n)=>{this[t(336)](n)}),this[t(296)](this[t(312)],t(342),()=>{e[t(291)]()})}async[fT(346)](t,e){const n=fT;await this[n(311)][n(314)](t,e)}async[fT(322)](t,e){const n=fT;await this[n(311)][n(289)](t,e)}async[fT(294)](t){const e=fT;await this[e(311)][e(310)](t)}async[fT(364)](t){const e=fT;await this[e(343)][e(331)](t)}async[fT(338)](){const t=fT;this[t(312)][t(353)](""),this[t(312)][t(368)](!0),await this[t(311)][t(300)](),this[t(312)][t(368)](!1)}[fT(308)](){const t=fT,e=this[t(343)][t(384)]?.id,n=this[t(287)]()[t(330)](n=>({title:n[t(309)],items:n[t(349)][t(330)](n=>({id:n.id,title:n[t(309)]||zc(this[t(305)][t(376)],t(371)),createdAt:new Date(n[t(339)])[t(379)](),active:n.id===e,pinned:n[t(327)]}))}));this[t(312)][t(358)](n)}[fT(302)](t,e){const n=fT;this[n(312)][n(306)](t,e,!0)}[fT(320)](t){const e=fT;this[e(312)][e(306)](t,null,!1)}[fT(325)](t,e,n){const r=fT,i=this[r(288)](e,n);this[r(312)][r(353)](i),n&&this[r(320)](n),this[r(312)][r(368)](!1)}[fT(288)](t,e){const n=fT,r=e?this[n(311)][n(354)](e):null,i=r?.[n(309)]||zc(this[n(305)][n(376)],n(371));switch(t){case n(314):return zc(this[n(305)][n(376)],n(387),i);case n(289):{const t=zc(this[n(305)][n(376)],r?.[n(327)]?n(293):n(292));return zc(this[n(305)][n(376)],n(334),[t,i])}case n(310):return zc(this[n(305)][n(376)],n(345),i);case n(300):case n(321):return zc(this[n(305)][n(376)],n(316));default:return zc(this[n(305)][n(376)],n(377))}}[fT(287)](){const t=fT,e=new Date,n=new Date(e[t(367)](),e[t(326)](),e[t(328)]()),r=new Date(n);r[t(298)](r[t(328)]()-1);const i=new Date(n);i[t(298)](i[t(328)]()-14);const o=this[t(311)][t(299)]({pinned:!0}),s=this[t(311)][t(299)]({from:n,to:n}),a=this[t(311)][t(299)]({from:r,to:r}),c=this[t(311)][t(299)]({from:i,to:r}),l=this[t(311)][t(299)]({to:i}),u=[];return o[t(388)]>0&&u[t(303)]({title:zc(this[t(305)][t(376)],t(341)),items:o}),s[t(388)]>0&&u[t(303)]({title:zc(this[t(305)][t(376)],t(369)),items:s}),a[t(388)]>0&&u[t(303)]({title:zc(this[t(305)][t(376)],t(378)),items:a}),c[t(388)]>0&&u[t(303)]({title:zc(this[t(305)][t(376)],t(332)),items:c}),l[t(388)]>0&&u[t(303)]({title:zc(this[t(305)][t(376)],t(340)),items:l}),u}[fT(336)](t){const e=fT;this[e(312)][e(337)](t)}}var _T=bT;function bT(t,e){var n=IT();return(bT=function(t,e){return n[t-=222]})(t,e)}!function(t){for(var e=bT,n=t();;)try{if(573262===parseInt(e(233))/1*(-parseInt(e(235))/2)+parseInt(e(222))/3*(-parseInt(e(230))/4)+-parseInt(e(223))/5+-parseInt(e(231))/6+-parseInt(e(224))/7+-parseInt(e(236))/8*(parseInt(e(228))/9)+parseInt(e(234))/10*(parseInt(e(237))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(IT);class wT extends i.ContextPlugin{static get[_T(232)](){return[kT,oT]}static get[_T(226)](){return _T(225)}static get[_T(227)](){return!0}static get[_T(229)](){return!0}}function IT(){var t=["AIChatHistory","pluginName","isOfficialPlugin","9ACgfzT","isPremiumPlugin","1269116yOSXRH","4814226jQAiyS","requires","70593IEAPYw","10MJOONw","6liZcWi","6975776KKzXna","49852407iQWOGO","9xCaENE","3927515wMPCjc","2347191Sqsrso"];return(IT=function(){return t})()}const vT=yT;function yT(t,e){const n=AT();return(yT=function(t,e){return n[t-=137]})(t,e)}function AT(){const t=["3512syIipv","isPremiumPlugin","2634XbcCgC","ai.chat.context","requires","sendMessage","isOfficialPlugin","3909212emJKms","startConversation","6092890jZnaLw","414578oZbAzK","1831563PCuyyO","AIChat","get","20594uYFQJv","4045ebwDZo","ai.chat.models","1815180zvADtD","33RKGWvM","addSelectionToChatContext","pluginName","removeSelectionFromChatContext","3SzDoql","plugins","define","context","focusPromptInput","config"];return(AT=function(){return t})()}!function(t){const e=yT,n=t();for(;;)try{if(668290===-parseInt(e(143))/1+-parseInt(e(150))/2*(parseInt(e(155))/3)+-parseInt(e(140))/4+-parseInt(e(148))/5*(parseInt(e(163))/6)+parseInt(e(147))/7*(parseInt(e(161))/8)+parseInt(e(144))/9+-parseInt(e(142))/10*(-parseInt(e(151))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(AT);class ET extends i.ContextPlugin{static get[vT(137)](){return[yy,kb,Px,wT]}static get[vT(153)](){return vT(145)}static get[vT(139)](){return!0}static get[vT(162)](){return!0}constructor(t){const e=vT;super(t);const n=t[e(160)];n[e(157)](e(164),{document:{enabled:!0},urls:{enabled:!0},files:{enabled:!0},sources:[]}),n[e(157)](e(149),{defaultModelId:void 0,modelSelectorAlwaysVisible:!0,displayedModels:void 0})}async[vT(152)](){const t=vT;await this[t(158)][t(156)][t(146)](yy)[t(152)]()}async[vT(141)](){const t=vT;await this[t(158)][t(156)][t(146)](yy)[t(141)]()}async[vT(138)]({message:t,quickActionData:e}){const n=vT;await this[n(158)][n(156)][n(146)](yy)[n(138)]({message:t,quickActionData:e})}[vT(154)](){const t=vT;this[t(158)][t(156)][t(146)](yy)[t(154)]()}[vT(159)](){const t=vT;this[t(158)][t(156)][t(146)](yy)[t(159)]()}}const xT='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.718 5.12c.285.77.893 1.378 1.663 1.663l2.618.97-2.618.968a2.82 2.82 0 0 0-1.663 1.664l-.969 2.617-.969-2.617A2.82 2.82 0 0 0 4.117 8.72l-2.618-.969 2.618-.969A2.82 2.82 0 0 0 5.78 5.12l.969-2.618zm10.609 9.086a.75.75 0 0 1 0 1.492l-.078.004h-8a.75.75 0 0 1 0-1.5h8zm-.077-4.504a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5zm.002-4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5zM3.461 12.749c.136.367.425.657.791.793l1.247.46-1.247.46a1.34 1.34 0 0 0-.79.793l-.463 1.247-.46-1.246a1.34 1.34 0 0 0-.793-.793l-1.247-.46 1.247-.461a1.34 1.34 0 0 0 .792-.793L3 11.502z"/></svg>';function TT(t,e,n){const r=t.t;switch(e){case"AI_QUICK_ACTIONS_HEADING":return r({id:"AI_QUICK_ACTIONS_HEADING",string:"AI Quick Actions"});case"AI_QUICK_ACTIONS_ASK_AI":return r({id:"AI_QUICK_ACTIONS_ASK_AI",string:"Ask AI"});case"AI_QUICK_ACTIONS_CHAT_COMMANDS":return r({id:"AI_QUICK_ACTIONS_CHAT_COMMANDS",string:"Chat commands"});case"AI_QUICK_ACTIONS_IMPROVE_WRITING":return r({id:"AI_QUICK_ACTIONS_IMPROVE_WRITING",string:"Improve writing"});case"AI_QUICK_ACTIONS_CONTINUE_WRITING":return r({id:"AI_QUICK_ACTIONS_CONTINUE_WRITING",string:"Continue writing"});case"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING":return r({id:"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING",string:"Fix grammar & spelling"});case"AI_QUICK_ACTIONS_ADJUST_LENGTH":return r({id:"AI_QUICK_ACTIONS_ADJUST_LENGTH",string:"Adjust length"});case"AI_QUICK_ACTIONS_CHANGE_TONE":return r({id:"AI_QUICK_ACTIONS_CHANGE_TONE",string:"Change tone"});case"AI_QUICK_ACTIONS_TRANSLATE":return r({id:"AI_QUICK_ACTIONS_TRANSLATE",string:"Translate"});case"AI_QUICK_ACTIONS_EXPLAIN":return r({id:"AI_QUICK_ACTIONS_EXPLAIN",string:"Explain"});case"AI_QUICK_ACTIONS_SUMMARIZE":return r({id:"AI_QUICK_ACTIONS_SUMMARIZE",string:"Summarize"});case"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS":return r({id:"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS",string:"Highlight key points"});case"AI_QUICK_ACTIONS_MAKE_SHORTER":return r({id:"AI_QUICK_ACTIONS_MAKE_SHORTER",string:"Make shorter"});case"AI_QUICK_ACTIONS_MAKE_LONGER":return r({id:"AI_QUICK_ACTIONS_MAKE_LONGER",string:"Make longer"});case"AI_QUICK_ACTIONS_MORE_CASUAL":return r({id:"AI_QUICK_ACTIONS_MORE_CASUAL",string:"More casual"});case"AI_QUICK_ACTIONS_MORE_DIRECT":return r({id:"AI_QUICK_ACTIONS_MORE_DIRECT",string:"More direct"});case"AI_QUICK_ACTIONS_MORE_FRIENDLY":return r({id:"AI_QUICK_ACTIONS_MORE_FRIENDLY",string:"More friendly"});case"AI_QUICK_ACTIONS_MORE_CONFIDENT":return r({id:"AI_QUICK_ACTIONS_MORE_CONFIDENT",string:"More confident"});case"AI_QUICK_ACTIONS_MORE_PROFESSIONAL":return r({id:"AI_QUICK_ACTIONS_MORE_PROFESSIONAL",string:"More professional"});case"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT":return r({id:"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT",string:"Adjust based on the rest of the document"});case"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH",string:"English"});case"AI_QUICK_ACTIONS_TRANSLATE_CHINESE":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_CHINESE",string:"Chinese (Simplified)"});case"AI_QUICK_ACTIONS_TRANSLATE_FRENCH":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_FRENCH",string:"French"});case"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE",string:"Japanese"});case"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE",string:"Portuguese"});case"AI_QUICK_ACTIONS_TRANSLATE_KOREAN":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_KOREAN",string:"Korean"});case"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN",string:"Italian"});case"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN":return r({id:"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN",string:"Russian"});case"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND":return r({id:"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND",string:"%0 plugin is required but not found."},n);case"AI_QUICK_ACTIONS_OTHER":return r({id:"AI_QUICK_ACTIONS_OTHER",string:"Other"});default:return e}}function CT(t,e){const n=RT();return(CT=function(t,e){return n[t-=356]})(t,e)}function ST(t,e,n=!1,r=!0){return()=>{const i=CT,o=t[i(372)],s=new a.ButtonView(o),c=s[i(363)];s[i(373)]({on:{mouseenter:c.to(()=>{s[i(369)]()})}});const l=e[i(374)]??e[i(362)]?.[i(374)];return s[i(367)]({label:e[i(359)],withText:n,role:i(364),icon:r?l??xT:void 0,tooltip:!n}),s.on(i(371),()=>{const n=i;t[n(379)][n(375)][n(369)](),t[n(370)][n(371)](n(358),e)}),s}}function RT(){const t=["focus","commands","execute","locale","extendTemplate","icon","view","6QFIIpW","2102045bcdGSJ","2877680QRjeVB","editing","4892169zVfPjG","4962006aRAqMj","aiQuickAction","displayedPrompt","12761480UhMuAc","620179ncDPeR","parent","bindTemplate","menuitem","24EoBnHK","168dhUlcr","set","30482mnVfts"];return(RT=function(){return t})()}function OT(t,e){const n=LT();return(OT=function(t,e){return n[t-=138]})(t,e)}!function(t){const e=CT,n=t();for(;;)try{if(932873===parseInt(e(365))/1*(-parseInt(e(368))/2)+parseInt(e(356))/3+-parseInt(e(378))/4+-parseInt(e(377))/5*(-parseInt(e(376))/6)+-parseInt(e(361))/7*(parseInt(e(366))/8)+parseInt(e(357))/9+parseInt(e(360))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(RT);const NT=OT;function LT(){const t=["ArrowRight","icon","add","ArrowLeft","show","div","_createActionButton","eastSouth","detachFromDom","bindTemplate","focus","ck-reset_all","forEach","_focusables","get","clear","role","hide","ck-ai-quick-actions","600989ZFLjpa","ck-ai-quick-actions-group-panel","_createListItems","setTemplate","_createActionGroupButton","set","bind","uiLanguageDirection","closest","_showNestedPanel","pin","4518505Duvvdo","keystrokes","label","ck-rounded-corners","_isMovingToNestedMenu",".ck-ai-quick-actions-group-list","24380dHpQGQ","ck-ai-quick-actions-group-button","_hideAllNestedPanels","192558JGwCZl","isOn","rtl","menuitem","optionsListView","content","ck-dropdown-menu-list","addEventListener","_hideNestedPanel","_setupGroupMenuBehavior","contains","25335tiliEt","menu","isVisible","children","extendTemplate","actions",".ck-ai-quick-actions-group-panel",".ck-ai-quick-actions-group-button","2832lWQILn","7YiuamL","addMany","focusTracker","destroy","items","_openNestedPanels","key","locale","element","ck-dropdown-menu__nested-menu__panel","render","ck-ai-quick-actions-group-list","_bodyCollection","delete","focusCycler","1164334BbCJIP","mouseleave","relatedTarget","_createGroupActionsList","23119960cSEGoU","99OQqBdN"];return(LT=function(){return t})()}!function(t){const e=OT,n=t();for(;;)try{if(538143===parseInt(e(214))/1+parseInt(e(189))/2+-parseInt(e(194))/3*(parseInt(e(151))/4)+parseInt(e(145))/5+parseInt(e(154))/6*(-parseInt(e(174))/7)+parseInt(e(173))/8*(parseInt(e(165))/9)+-parseInt(e(193))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(LT);const PT=NT(166),MT=NT(157);class DT extends a.View{[NT(186)];[NT(158)];[NT(176)];[NT(146)];[NT(208)];[NT(188)];[NT(179)]=new Set;constructor(t,e,n,r){const i=NT,o=t[i(181)];super(o),this[i(186)]=r;const c=this[i(216)](t,e,n);this[i(158)]=new a.ListView(o),this[i(158)][i(211)]=PT,this[i(158)][i(178)][i(175)](c),this[i(176)]=new s.FocusTracker,this[i(146)]=new s.KeystrokeHandler,this[i(208)]=c,this[i(188)]=new a.FocusCycler({focusables:this[i(208)],focusTracker:this[i(176)],keystrokeHandler:this[i(146)]}),this[i(217)]({tag:i(200),attributes:{class:["ck",i(206),i(213),i(148)],dir:o[i(141)]},children:[this[i(158)]]})}[NT(216)](t,e,n){const r=NT,i=new a.ViewCollection;return e[r(207)](e=>{const o=r;o(170)in e?i[o(197)](this[o(138)](t,e,n)):i[o(197)](this[o(201)](t,e))}),i}[NT(201)](t,e){const n=NT,r=new a.ListItemView(this[n(181)]),i=ST(t,e,!0)();return r[n(168)][n(197)](i),r}[NT(138)](t,e,n){const r=NT,i=new a.ListItemView(this[r(181)]),o=new a.DropdownMenuButtonView(this[r(181)]),s=o[r(204)],c=r(156)===n[r(181)][r(141)]?r(195):r(198),l=this[r(192)](t,e[r(170)],n);o[r(139)]({label:e[r(147)],withText:!0,role:MT,icon:e[r(196)]??xT}),o[r(169)]({on:{mouseenter:s.to(()=>{o[r(205)]()})}});const u=new a.BalloonPanelView(this[r(181)]);return u[r(169)]({attributes:{class:["ck",r(206),r(215),r(183)]},on:{keydown:s.to(t=>{const e=r;t[e(180)]==c&&(o[e(205)](),this[e(162)](u))})}}),o[r(140)](r(155)).to(u,r(167)),this[r(186)][r(197)](u),u[r(159)][r(197)](l),this[r(163)](o,u),i[r(168)][r(197)](o),i}[NT(192)](t,e,n){const r=NT,i=new a.ListView(this[r(181)]);return i[r(169)]({attributes:{class:["ck",r(206),r(185),r(160)]}}),e[r(207)](e=>{const o=r,s=new a.ListItemView(this[o(181)]),c=ST(t,e,!0,!1)();s[o(168)][o(197)](c),n[o(176)][o(197)](c),i[o(178)][o(197)](s)}),i}[NT(163)](t,e){const n=NT,r=t[n(204)],i=n(156)===t[n(181)][n(141)]?n(198):n(195);t[n(169)]({attributes:{class:[n(152)]},on:{mouseenter:r.to(()=>{this[n(143)](e,t)}),mouseleave:r.to(t=>{const r=n,i=t[r(191)];this[r(149)](i,e)||this[r(162)](e)}),keydown:r.to(r=>{const o=n;r[o(180)]==i&&(this[o(143)](e,t),e[o(159)][o(209)](0)[o(205)]())})}}),e.on(n(184),()=>{const r=n;e[r(182)]?.[r(161)](r(190),n=>{const i=r,o=n[i(191)];t[i(182)]?.[i(164)](o)||this[i(149)](o,e)||this[i(162)](e)})})}[NT(143)](t,e){const n=NT;this[n(179)][n(207)](e=>{const r=n;e!==t&&e[r(167)]&&e[r(212)]()}),t[n(199)](),t[n(144)]({positions:[a.DropdownMenuPanelPositioningFunctions[n(202)]],target:e[n(182)],fitInViewport:!0}),this[n(179)][n(197)](t)}[NT(162)](t){const e=NT;t[e(212)](),this[e(179)][e(187)](t)}[NT(153)](){const t=NT;this[t(179)][t(207)](e=>e[t(212)]()),this[t(179)][t(210)]()}[NT(149)](t,e){const n=NT;if(!t)return!1;if(e[n(182)]?.[n(164)](t))return!0;const r=t;return r[n(142)]&&(null!==r[n(142)](n(171))||null!==r[n(142)](n(150))||null!==r[n(142)](n(172)))}[NT(177)](){const t=NT;this[t(153)](),this[t(186)][t(203)](),super[t(177)]()}[NT(205)](){const t=NT;this[t(158)][t(205)]()}}function HT(){const t=["144NAPAru","91350DWlxHI","panelView","3749151lZZkzI","buttonView","2260602mVIwqJ","182RJlDKv","1040290YyOjfI","3446976ItfqBS","set","23115UJnfZt","icon","add","children","11825613uUzguj","8PElXWo","6ZREEXQ","label","6hTZopX","ck-ai-quick-actions-dropdown","22NNqRCF","locale"];return(HT=function(){return t})()}function BT(t,e){const n=HT();return(BT=function(t,e){return n[t-=386]})(t,e)}function UT(t,e,n,r){return()=>{const i=BT,o=t[i(400)],s=(0,a.createDropdown)(o);s[i(405)][i(388)]({icon:n[i(390)]??xT,label:n[i(396)],tooltip:!0}),s[i(388)]({class:i(398)});const c=new DT(t,e,s,r);return s[i(403)][i(392)][i(391)](c),s}}!function(t){const e=BT,n=t();for(;;)try{if(899381===-parseInt(e(389))/1*(parseInt(e(395))/2)+-parseInt(e(406))/3+parseInt(e(401))/4*(-parseInt(e(402))/5)+-parseInt(e(397))/6*(parseInt(e(404))/7)+parseInt(e(394))/8*(-parseInt(e(393))/9)+parseInt(e(386))/10*(parseInt(e(399))/11)+-parseInt(e(387))/12*(-parseInt(e(407))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HT);var VT=n(778),qT={attributes:{"data-cke":!0}};qT.setAttributes=Et(),qT.insert=yt().bind(null,"head"),qT.domAPI=It(),qT.insertStyleElement=Tt();bt()(VT.A,qT);VT.A&&VT.A.locals&&VT.A.locals;const FT=zT;function zT(t,e){const n=$T();return(zT=function(t,e){return n[t-=266]})(t,e)}!function(t){const e=zT,n=t();for(;;)try{if(743572===-parseInt(e(326))/1+parseInt(e(352))/2+-parseInt(e(304))/3*(parseInt(e(320))/4)+parseInt(e(279))/5*(-parseInt(e(382))/6)+parseInt(e(301))/7*(parseInt(e(337))/8)+-parseInt(e(290))/9+parseInt(e(331))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($T);const GT=FT(291),jT=FT(317),WT=FT(307);var YT,KT;function $T(){const t=["355416iGXAno","explain","get","AI_QUICK_ACTIONS_MORE_CASUAL","translate-to-french","continue-writing","translate-to-russian","_quickActionsDefinition","AI_QUICK_ACTIONS_SUMMARIZE","improve-writing","japanese","AIReviewMode","translate-to-korean","make-tone-professional","filter","editor","AI_QUICK_ACTIONS_TRANSLATE_KOREAN","isOfficialPlugin","fix-grammar-and-spelling","45lPuupJ","AI_QUICK_ACTIONS_TRANSLATE","DisplayNames","config","AI_QUICK_ACTIONS_MORE_CONFIDENT","_shouldIncludeAction","summarize","forEach","korean","french","aiQuickActions","510300NhtYJG","<task>For given selected part of HTML document you must explain the meaning of it's content clearly and in plain language.</task><rules>1. Identify what type of text it is:- If it looks like a definition explain the concept in simple terms.- If it looks like a description clarify what it is describing and why it matters.- If it contains technical terms or jargon break them down into everyday language.- If it looks instructional restate as clear steps someone can follow.- If it provides examples explain what the example shows and why it's relevant.- If it presents an argument or claim restate the claim neutrally and explain its purpose.- If it is narrative/story-like explain what event or situation is being described.- If it is data-driven (stats, figures, facts) explain what the data indicates.- If it is a quotation explain the meaning of the quote in context.- If it compares/contrasts things explain the key differences or similarities simply.- If it does not fit any of the categories above give a clear, plain-language explanation of its meaning, focusing on usefulness.2. Provide context if the meaning could be unclear without it. (e.g., explain where such a term might be used, or why it is important).3. Keep the explanation short but complete (2–5 sentences).Avoid overly technical detail unless it is necessary for understanding.4. Do not simply repeat the original text — restate and expand it in plain words.5. If possible, add a short example or analogy to make it easier to understand.6. Use the context of the whole document, but focus on the selected part when creating your explanation.7. Your explanation should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include explanation. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","add","pluginName","AI_QUICK_ACTIONS_TRANSLATE_JAPANESE","make-tone-confident","AIQuickActionsUI","english","AI_QUICK_ACTIONS_CONTINUE_WRITING","translate-to-italian","AI_QUICK_ACTIONS_ADJUST_LENGTH","7LShWIl","adjust-length","locale","681924czSGKQ","AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN","AI_QUICK_ACTIONS_CHANGE_TONE","<task>For the given selected part of an HTML document you must extract and present the key points from its content.</task><rules>1. Present the output as a clear, structured list (bullets or numbered).- Each point should be concise (one sentence or less).- Do not merge distinct ideas into one bullet.2. Identify what type of text it is and adapt the extraction style:- If it is descriptive capture the main attributes or features.- If it is argumentative extract the main claim and supporting reasons separately.- If it is narrative/story-like extract the main events in chronological order.- If it is data-driven (stats, figures, facts) highlight the most important facts or numbers.- If it is instructional list the steps or main actions in simplified form.- If it provides comparisons extract the contrasted items and their differences/similarities.- If it does not fit any category above extract the main ideas in plain, short statements.3. Keep the list between 3–7 items where possible.- If the text is very short, fewer items are fine.- If it is very long, focus on the most important ideas only.4. Do not copy long text fragments — restate in simple words.5. Do not add interpretation, evaluation, or commentary beyond the text.6. Ensure the list can stand alone without requiring the reader to see the original document.7. Use the context of the whole document, but focus on the selected part when creating your key points.8. Your key points should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on the provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include the extracted key points. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","AI_QUICK_ACTIONS_TRANSLATE_FRENCH","AI_QUICK_ACTIONS_OTHER","translate-to-portuguese","componentFactory","_initializeQuickActionsComponents","AI_QUICK_ACTIONS_TRANSLATE_ENGLISH","type","change-tone","AIActions","<task>For the given selected part of an HTML document you must summarize its content in a few sentences, keeping only the essential meaning.</task><rules>1. Your summary should be short and clear:- Aim for 2–4 sentences unless the text is extremely short.- Focus on capturing the main idea(s) without unnecessary detail.2. Identify what type of text it is and adapt the summary style:- If it is descriptive condense the description into its core idea.- If it is argumentative or opinion-based summarize the main claim and reasoning neutrally.- If it is narrative/story-like capture the main event or outcome without side details.- If it is data-driven (stats, figures, facts) summarize what the data shows in plain language.- If it is instructional restate the overall purpose of the steps without listing every step.- If it does not fit any of the categories above provide a general concise summary.3. Provide context if necessary for clarity:- Mention the subject or topic explicitly so the summary can stand alone.4. Do not simply copy sentences from the original text — rephrase in plain language.5. Avoid adding new information or interpretation not present in the text.6. Summarize in a way that would make sense to someone who has not read the original text.7. Use the context of the whole document, but focus on the selected part when creating your summary.8. Your summary should be written in %0 language.</rules><constraints>1. You MUST NOT perform any edits or modifications on the provided document.2. You MUST NOT include document modifications in your response.3. Your message should only include the summary. Do not add any additional text, flattery, questions or followup suggestions.</constraints>","has","AI_QUICK_ACTIONS_IMPROVE_WRITING","20xGJPAg","AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS","highlight-key-points","length","AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING","AI_QUICK_ACTIONS_MORE_FRIENDLY","1180712OjTlUI","AI_QUICK_ACTIONS_MORE_DIRECT","ask-ai","translate","ai.quickActions.extraCommands","14696380qvTxLd","getDefaultQuickActions","AI_QUICK_ACTIONS_EXPLAIN","replace","language","make-tone-direct","8901048FEoqok","find","AI_QUICK_ACTIONS_TRANSLATE_ITALIAN","chinese","_getDefaultAndCustomActions","make-shorter","CHAT","map","make-tone-friendly","translate-to-english","English","AI_QUICK_ACTIONS_CHAT_COMMANDS","AI_QUICK_ACTIONS_HEADING","russian","AI_QUICK_ACTIONS_ASK_AI","2136758TgQYFX","portuguese","attachToDom","plugins","requires","AI_QUICK_ACTIONS_MAKE_SHORTER","AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE","ai.quickActions.removeCommands","includes","REVIEW","AI_QUICK_ACTIONS_MORE_PROFESSIONAL","make-longer","translate-to-japanese","init","ACTION","uiLanguage","translate-to-chinese","AIChat","push","_prepareQuickActionsDefinition","AI_QUICK_ACTIONS_MAKE_LONGER","chat-commands","_initializeQuickActionsComponentsAndCommands","_initializeQuickActionsDropdown","other","make-tone-casual","actions","AI_QUICK_ACTIONS_TRANSLATE_CHINESE","isPremiumPlugin","italian"];return($T=function(){return t})()}!function(t){const e=FT;t[e(343)]=e(343),t[e(366)]=e(366),t[e(361)]=e(361)}(YT||(YT={})),function(t){const e=FT;t[e(343)]=e(369),t[e(366)]=e(316),t[e(361)]=e(271)}(KT||(KT={}));class QT extends i.Plugin{static get[FT(356)](){return[a.BalloonToolbar]}static get[FT(293)](){return FT(296)}static get[FT(277)](){return!0}static get[FT(380)](){return!0}[FT(365)](){const t=FT;this[t(371)](this[t(341)]()),this[t(374)]()}static[FT(332)](t){return function(t){const e=zT,n=new(Intl[e(281)])(["en"],{type:e(335)}).of(t[e(367)])||e(347);return[{id:e(328),displayedPrompt:TT(t,e(351)),type:YT[e(343)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.773 12.536a.75.75 0 0 1 .945.498l.018.051a9 9 0 0 0 .42.964c.317.62.799 1.397 1.473 2.072.701.7 1.38 1.191 1.88 1.505a8 8 0 0 0 .746.417l.037.016.005.003a.75.75 0 0 1-.522 1.404l-.072-.027-.01-.004-.018-.008-.058-.027a10 10 0 0 1-.905-.504 12.3 12.3 0 0 1-2.143-1.715c-.82-.82-1.388-1.744-1.748-2.451a10 10 0 0 1-.5-1.145l-.026-.075-.006-.021-.003-.007v-.003l-.001-.001L1 13.25l-.715.228a.75.75 0 0 1 .488-.942M13.314.953a.75.75 0 0 1 .913-.419l.072.028.009.004.018.007.059.028q.075.034.204.1c.172.09.413.223.701.404a12.3 12.3 0 0 1 2.143 1.715c.82.82 1.387 1.744 1.748 2.45a10 10 0 0 1 .499 1.145l.026.075.007.022.003.007v.003h.001c-.002.002-.043.015-.715.228l.715-.227a.751.751 0 0 1-1.43.455l-.004-.011-.017-.052a9 9 0 0 0-.42-.964c-.317-.619-.8-1.397-1.474-2.07a10.8 10.8 0 0 0-1.88-1.507 8 8 0 0 0-.746-.417l-.036-.015-.006-.003a.75.75 0 0 1-.39-.986M11.29 6.84a3.76 3.76 0 0 0 2.22 2.22L17 10.35l-3.49 1.292a3.76 3.76 0 0 0-2.219 2.22L10 17.35l-1.292-3.49a3.76 3.76 0 0 0-2.22-2.22L3 10.35l3.49-1.291A3.76 3.76 0 0 0 8.71 6.84L10 3.35zm6.009 8.66a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M14.8 18a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0M3.798 2.001a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m-2.499 2.5a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"/></svg>'},{id:e(373),label:TT(t,e(348)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M15.739 13.009c0-.416.44-.644.749-.422l.06.05 3.297 3.232.036.039a.53.53 0 0 1 0 .666l-.036.039-3.297 3.232c-.288.283-.747.098-.803-.292l-.006-.08v-1.468c-.343.04-.898.142-1.57.404l-.189.077c-.654.276-1.15.766-1.464 1.156l-.123.16a.48.48 0 0 1-.574.163.516.516 0 0 1-.314-.56l.064-.388c.074-.426.184-.955.335-1.474.196-.676.483-1.408.906-1.854l.113-.114c.986-.957 2.195-1.094 2.816-1.094zM.773 12.536a.75.75 0 0 1 .945.498l.018.052a9 9 0 0 0 .42.964c.316.619.8 1.396 1.473 2.07.701.702 1.38 1.193 1.88 1.507a8 8 0 0 0 .746.417l.037.015.005.003a.75.75 0 0 1-.522 1.404l-.072-.027-.01-.004-.018-.008-.058-.027a10 10 0 0 1-.905-.504 12.3 12.3 0 0 1-2.143-1.715c-.82-.82-1.388-1.744-1.748-2.45a10 10 0 0 1-.5-1.145l-.026-.076-.006-.021-.003-.007v-.003H.285a.75.75 0 0 1 .488-.943M11.29 6.84a3.76 3.76 0 0 0 2.22 2.218L17 10.35l-3.49 1.291a3.76 3.76 0 0 0-2.22 2.22L10 17.35l-1.291-3.49a3.76 3.76 0 0 0-2.22-2.22l-3.49-1.29 3.49-1.292a3.76 3.76 0 0 0 2.22-2.218l1.29-3.49zM13.314.953a.75.75 0 0 1 .913-.42l.072.028.01.004.018.008.058.027q.076.035.204.1c.172.09.413.223.702.404.576.362 1.348.92 2.142 1.715.82.82 1.388 1.744 1.748 2.451a10 10 0 0 1 .5 1.145l.026.075.006.021.003.007v.003l.001.001a.75.75 0 0 1-1.43.455l-.003-.01-.018-.052-.079-.21a9 9 0 0 0-.342-.754c-.315-.62-.798-1.397-1.472-2.071a10.8 10.8 0 0 0-1.88-1.506 8 8 0 0 0-.746-.417l-.037-.016-.005-.003a.75.75 0 0 1-.391-.985M2.05 3.75a.75.75 0 1 1-.002 1.502.75.75 0 0 1 .001-1.501M4.548 1.25a.75.75 0 1 1 0 1.501.75.75 0 0 1 0-1.5"/></svg>',actions:[{id:e(383),displayedPrompt:TT(t,e(333)),prompt:GT[e(334)]("%0",n),type:YT[e(343)]},{id:e(285),displayedPrompt:TT(t,e(268)),prompt:jT[e(334)]("%0",n),type:YT[e(343)]},{id:e(322),displayedPrompt:TT(t,e(321)),prompt:WT[e(334)]("%0",n),type:YT[e(343)]}]},{id:e(269),displayedPrompt:TT(t,e(319)),type:YT[e(366)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M14.832 15.502a.75.75 0 0 1 .754.749.75.75 0 0 1-.755.749H7.28a.753.753 0 0 1-.756-.749c0-.414.339-.749.756-.749zm1.237-12.5a.946.946 0 0 1 .851 1.322c-.69 1.575-1.272 2.683-1.893 3.406-.563.655-1.17 1.005-1.884 1.126-.449 1.736-1.662 2.854-2.73 3.527a8.8 8.8 0 0 1-2.038.937q-.092.029-.146.042l-.042.012-.013.003H8.17l-.002.002a.76.76 0 0 1-.917-.546.75.75 0 0 1 .55-.908l.002-.001.023-.006.104-.03a7.3 7.3 0 0 0 1.673-.77c.952-.6 1.888-1.526 2.14-2.92a.97.97 0 0 1 .91-.792l.168-.014c.382-.05.694-.212 1.056-.633.377-.438.782-1.133 1.293-2.229-2.808.253-5.14 2.025-6.952 4.332-1.991 2.537-3.253 5.6-3.728 7.563a.757.757 0 0 1-.911.553.75.75 0 0 1-.559-.903c.519-2.144 1.867-5.409 4.007-8.134 2.136-2.72 5.164-5.024 9.042-4.939M4.44 1.87c.205.55.64.985 1.19 1.189l1.87.691-1.87.691c-.55.204-.985.64-1.19 1.19L3.75 7.5l-.692-1.87a2.01 2.01 0 0 0-1.19-1.189L0 3.75l1.869-.691c.55-.204.985-.64 1.19-1.19L3.748 0z"/></svg>'},{id:e(387),displayedPrompt:TT(t,e(298)),type:YT[e(366)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.591 16.502c.421 0 .762.336.762.75s-.341.75-.762.75h-5.08a.757.757 0 0 1-.761-.751c0-.414.34-.749.761-.749zm3.302-8.942c0-1.009 1.135-1.576 1.952-1.056l.158.12 4.817 4.182c.576.5.572 1.386-.008 1.882L12.996 16.8c-.823.702-2.103.127-2.103-.945V14.46H2.511a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75h8.636c.701 0 1.27.56 1.27 1.25v1.098l4.176-3.568-4.175-3.627V9.28c0 .69-.57 1.25-1.271 1.25H2.511a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75h8.382zm6.047-5.689c.205.55.639.986 1.19 1.19l1.869.691-1.87.691c-.55.204-.984.64-1.188 1.19l-.692 1.869-.692-1.87a2.01 2.01 0 0 0-1.188-1.189l-1.87-.691 1.87-.691c.55-.204.984-.64 1.188-1.19l.691-1.869zM7.591 5.502c.421 0 .762.336.762.75s-.34.75-.762.75h-5.08a.756.756 0 0 1-.761-.75c0-.414.34-.75.761-.75z"/></svg>'},{id:e(278),displayedPrompt:TT(t,e(324)),type:YT[e(366)],icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17.413 12.037 10.487 19l-3.421-3.446 1.053-1.058 2.37 2.386 5.873-5.902z"/><path fill-rule="evenodd" d="m12.976 12.465-1.004 1.009-.737-1.995H5.378l-1.39 3.492H2.5L7.463 3H9.05zm-7.1-2.183h4.764L8.257 4.496z" clip-rule="evenodd"/><path d="M16.958 1.87c.203.55.634.985 1.182 1.189l1.859.691-1.86.691a2.01 2.01 0 0 0-1.181 1.19L16.27 7.5l-.689-1.87A2 2 0 0 0 14.4 4.442l-1.858-.691L14.4 3.06c.548-.204.98-.64 1.182-1.19L16.27 0z"/></svg>'},{id:e(302),label:TT(t,e(300)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m13.749 15.5.691-1.87c.204-.55.638-.984 1.189-1.188l1.87-.692-1.87-.692A2.01 2.01 0 0 1 14.44 9.87L13.75 8l-.692 1.87c-.204.55-.638.984-1.189 1.188l-1.87.692 1.87.692c.55.204.985.638 1.189 1.188zm.5-11.5a.75.75 0 0 1 0 1.5h-11a.75.75 0 0 1 0-1.5zm-4 4a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1 0-1.5zm-3 4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5z"/></svg>',actions:[{id:e(342),displayedPrompt:TT(t,e(357)),type:YT[e(366)]},{id:e(363),displayedPrompt:TT(t,e(372)),type:YT[e(366)]}]},{id:e(315),label:TT(t,e(306)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M11.282 2.775a4.274 4.274 0 0 1 5.466.466 4.23 4.23 0 0 1 .47 5.443.75.75 0 0 1-.113.907.75.75 0 0 1-.913.114 4.27 4.27 0 0 1-2.846.759l-2.625 2.362a1 1 0 0 1 .015.14v4.788a.75.75 0 0 1-1.5 0v-3.59l-2.678 2.41a1.26 1.26 0 0 1-1.083.298l-1.134-.226-1.062 1.058a.75.75 0 0 1-1.059-1.063l1.06-1.056-.224-1.121c-.078-.39.035-.792.3-1.085l6.14-6.752c-.09-.983.165-1.99.761-2.83a.75.75 0 0 1 .113-.906.75.75 0 0 1 .912-.116m-6.73 11.519.164.82a1 1 0 0 1 .097.097l.834.165 6.027-5.426a4.26 4.26 0 0 1-1.665-1.658zm6.779-9.39a2.73 2.73 0 0 0 .455 3.274 2.77 2.77 0 0 0 3.294.456zm4.359-.6a2.77 2.77 0 0 0-3.294-.456l3.748 3.728a2.73 2.73 0 0 0-.454-3.272" clip-rule="evenodd"/><path d="M4.44 1.87c.205.55.639.985 1.19 1.189l1.87.691-1.87.691c-.551.204-.985.64-1.19 1.19L3.75 7.5l-.693-1.87A2.01 2.01 0 0 0 1.87 4.442L0 3.751l1.87-.691c.55-.204.984-.64 1.188-1.19L3.75 0z"/></svg>',actions:[{id:e(377),displayedPrompt:TT(t,e(385)),type:YT[e(366)]},{id:e(336),displayedPrompt:TT(t,e(327)),type:YT[e(366)]},{id:e(345),displayedPrompt:TT(t,e(325)),type:YT[e(366)]},{id:e(295),displayedPrompt:TT(t,e(283)),type:YT[e(366)]},{id:e(273),displayedPrompt:TT(t,e(362)),type:YT[e(366)]}]},{id:e(329),label:TT(t,e(280)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M19 19h-1.486l-1.289-3.5h-5.85L8.989 19H7.501l4.957-12h1.586zm-8.13-4.7h4.76l-2.38-5.8z" clip-rule="evenodd"/><path d="M5.648.5c.414 0 .75.337.75.751v.95h4.35a.75.75 0 0 1 0 1.5H9.486c-.337 1.817-1.254 4.38-3.062 6.917.234.25.42.434.56.563a5 5 0 0 0 .293.253h.001a.75.75 0 0 1-.857 1.231H6.42l-.003-.002-.004-.003-.01-.008-.028-.02-.092-.072a7 7 0 0 1-.317-.278 12 12 0 0 1-.472-.463c-1.345 1.606-2.094 2.28-4.376 3.584a.75.75 0 0 1-.736-1.306c2.018-.997 2.852-1.878 4.11-3.42-.546-.738-.982-1.637-1.286-2.357a19 19 0 0 1-.563-1.516l-.008-.026-.002-.007-.001-.002-.019-.076A.75.75 0 0 1 4.04 6.26l.026.072.001.004.006.02.025.078.101.297c.09.255.22.61.388 1.005.233.553.525 1.152.852 1.67C6.86 7.313 7.63 5.146 7.953 3.7H.948a.75.75 0 0 1 0-1.5h3.95v-.949A.75.75 0 0 1 5.648.5m11.293 1.37c.204.55.638.984 1.189 1.188l1.869.692-1.87.691c-.55.204-.984.638-1.188 1.189L16.25 7.5l-.692-1.87a2.01 2.01 0 0 0-1.188-1.19l-1.87-.691 1.87-.692c.55-.204.985-.638 1.188-1.189L16.25 0z"/></svg>',actions:[{id:e(346),displayedPrompt:TT(t,e(313)),type:YT[e(366)],actionName:e(329),args:{language:e(297)}},{id:e(368),displayedPrompt:TT(t,e(379)),type:YT[e(366)],actionName:e(329),args:{language:e(340)}},{id:e(386),displayedPrompt:TT(t,e(308)),type:YT[e(366)],actionName:e(329),args:{language:e(288)}},{id:e(364),displayedPrompt:TT(t,e(294)),type:YT[e(366)],actionName:e(329),args:{language:e(270)}},{id:e(310),displayedPrompt:TT(t,e(358)),type:YT[e(366)],actionName:e(329),args:{language:e(353)}},{id:e(272),displayedPrompt:TT(t,e(276)),type:YT[e(366)],actionName:e(329),args:{language:e(287)}},{id:e(299),displayedPrompt:TT(t,e(339)),type:YT[e(366)],actionName:e(329),args:{language:e(381)}},{id:e(266),displayedPrompt:TT(t,e(305)),type:YT[e(366)],actionName:e(329),args:{language:e(350)}}]},{id:e(376),label:TT(t,e(309)),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m16.25 0 .69 1.87c.205.55.639.984 1.19 1.188L20 3.75l-1.87.692a2.02 2.02 0 0 0-1.19 1.188l-.69 1.87-.693-1.87a2.01 2.01 0 0 0-1.188-1.188l-1.87-.692 1.87-.692c.55-.204.985-.638 1.188-1.188z"/><path d="M10 1c.704 0 1.053-.003 1.474.09.445.099.635.613.426 1.019-.163.315-.523.465-.875.423C10.712 2.495 10.42 2.5 10 2.5a7.5 7.5 0 1 0 7.5 7.5c0-.26-.047-.582-.102-.89a.82.82 0 0 1 .458-.89c.456-.214 1.007.027 1.08.525.053.375.064.746.064 1.255a9 9 0 1 1-9-9"/><path d="M7.05 10a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m4.2 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m4.2 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0"/></svg>',actions:[]}]}(t)}[FT(341)](){const t=FT,e=QT[t(332)](this[t(275)][t(303)]),n=(this[t(275)][t(282)][t(384)](t(330))||[])[t(344)](t=>({...t,icon:void 0}));return e[t(338)](e=>t(376)===e.id)[t(378)][t(370)](...n),e}[FT(374)](){const t=FT,e=new a.BodyCollection(this[t(275)][t(303)]);e[t(354)](),this[t(375)](e),this[t(312)](e)}[FT(375)](t){const e=FT;this[e(275)].ui[e(311)][e(292)](e(289),UT(this[e(275)],this[e(267)],{icon:xT,label:TT(this[e(275)][e(303)],e(349))},t))}[FT(371)](t){const e=FT;this[e(267)]=t[e(344)](t=>{const n=e;if(n(378)in t){const e=t;return{...e,actions:e[n(378)][n(344)](t=>{const{actions:n,...r}=e;return{...t,parent:r}})[n(274)](t=>this[n(284)](t))}}return t})[e(274)](t=>e(378)in t?t[e(378)][e(323)]>0:this[e(284)](t))}[FT(284)](t){const e=FT,n=this[e(275)][e(282)][e(384)](e(359))||[];return this[e(275)][e(355)][e(318)](KT[t[e(314)]])&&!n[e(360)](t.id)}[FT(312)](t){const e=FT;this[e(267)][e(286)](n=>{const r=e;if(r(378)in n){const e=UT(this[r(275)],n[r(378)],n,t);this[r(275)].ui[r(311)][r(292)](n.id,e),n[r(378)][r(286)](t=>{const e=r,n=ST(this[e(275)],t);this[e(275)].ui[e(311)][e(292)](t.id,n)})}else{const t=ST(this[r(275)],n);this[r(275)].ui[r(311)][r(292)](n.id,t)}})}}function XT(t,e){const n=JT();return(XT=function(t,e){return n[t-=486]})(t,e)}const ZT=XT;function JT(){const t=["AIActions","icon","ACTION","actionName","AIChat","editor","execute","focusPromptInput","change","has","locale","get","ai-quick-actions-plugin-not-found","_expandSelectionIfCollapsed","CHAT","schema","handleAIReviewAction","selection","log","1bMrnWq","_handleAIActionsAction","plugins","_handleAIChatAction","executeAction","getSelectedBlocks","displayedPrompt","isCollapsed","model","sendMessage","_handleAIReviewAction","REVIEW","946632LzwRoU","type","AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND","prompt","5iLWuIb","startConversation","2270008yHCxEk","addSelectionToChatContext","192708XZXBlY","860702WpawkC","2223620XmEiKD","ask-ai","AIReviewMode","document","getLimitElement","setSelection","842664rNzpcG","args","2727567YcPIDg"];return(JT=function(){return t})()}!function(t){const e=XT,n=t();for(;;)try{if(229286===parseInt(e(520))/1*(-parseInt(e(491))/2)+parseInt(e(498))/3+-parseInt(e(490))/4+parseInt(e(486))/5*(parseInt(e(532))/6)+-parseInt(e(492))/7+parseInt(e(488))/8+parseInt(e(500))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(JT);class tC extends i.Command{[ZT(507)](t){const e=ZT;switch(t[e(533)]){case YT[e(515)]:if(!this[e(506)][e(522)][e(510)](e(505))){const t=TT(this[e(506)][e(511)],e(534),e(505));throw new s.CKEditorError(e(513),this[e(506)],{errorMessage:t})}this[e(523)](t);break;case YT[e(503)]:if(!this[e(506)][e(522)][e(510)](e(501))){const t=TT(this[e(506)][e(511)],e(534),e(501));throw new s.CKEditorError(e(513),this[e(506)],{errorMessage:t})}this[e(521)](t);break;case YT[e(531)]:if(!this[e(506)][e(522)][e(510)](e(494))){const t=TT(this[e(506)][e(511)],e(534),e(494));throw new s.CKEditorError(e(513),this[e(506)],{errorMessage:t})}this[e(530)](t)}}async[ZT(523)](t){const e=ZT,n=this[e(506)][e(522)][e(512)](e(505));e(493)===t.id?(this[e(514)](),await n[e(489)](),n[e(508)]()):(await n[e(487)](),await n[e(489)](),await n[e(529)]({message:t[e(535)]||t[e(526)],quickActionData:{id:t.id,displayedPrompt:t[e(526)]}}))}[ZT(514)](){const t=ZT,e=this[t(506)],n=e[t(528)][t(495)][t(518)];if(!n[t(527)])return;const r=(0,s.first)(n[t(525)]())||e[t(528)][t(516)][t(496)](n);e[t(528)][t(509)](e=>{e[t(497)](r,"in")})}async[ZT(521)](t){const e=ZT,n=this[e(506)][e(522)][e(512)](e(501)),r=t[e(535)]?{userMessage:t[e(535)],model:t[e(528)]}:{actionName:t[e(504)]||t.id,args:t[e(499)]};await n[e(524)](r,t[e(526)],t[e(502)])}async[ZT(530)](t){const e=ZT;console[e(519)](e(517),t)}}function eC(t,e){const n=iC();return(eC=function(t,e){return n[t-=284]})(t,e)}const nC=eC;!function(t){const e=eC,n=t();for(;;)try{if(768414===-parseInt(e(284))/1*(parseInt(e(297))/2)+parseInt(e(301))/3+-parseInt(e(291))/4*(-parseInt(e(309))/5)+parseInt(e(307))/6*(parseInt(e(293))/7)+parseInt(e(295))/8*(-parseInt(e(305))/9)+parseInt(e(310))/10*(-parseInt(e(304))/11)+parseInt(e(311))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iC);class rC extends i.Plugin{static get[nC(290)](){return nC(302)}static get[nC(292)](){return!0}static get[nC(308)](){return!0}[nC(306)](){const t=nC,e=this[t(312)],n=new tC(this[t(312)]);if(e[t(285)][t(294)](t(286),n),e[t(313)][t(303)](t(296))){const n=this[t(312)][t(313)][t(288)](t(296));e[t(289)][t(299)][t(314)].on(t(287),(e,r)=>{const i=t;r[i(300)]&&n[i(298)]()})}}}function iC(){const t=["4xwQVua","isOfficialPlugin","457009ZamPIy","add","64CSjYrX","AIChat","422aucEMi","removeSelectionFromChatContext","document","directChange","305355HWvUhz","AIQuickActionsEditing","has","110NkFzcT","874683TYbIwe","init","48cEoAxu","isPremiumPlugin","2371555hMRuMa","706000HPHIwr","23775252CIOUZq","editor","plugins","selection","3923lEfoWw","commands","aiQuickAction","change:range","get","model","pluginName"];return(iC=function(){return t})()}var oC=aC;function sC(){var t=["6352874DPaBJf","6359157FFvaBj","395VjTdYa","548871kLuVIv","177870QYIArC","98ZajNUR","pluginName","10PAKokD","40728arqbYw","isPremiumPlugin","define","2FVspmF","isOfficialPlugin","1685656ZdHvym","ai.quickActions","config","1359324hbLXZU","AIQuickActions","requires"];return(sC=function(){return t})()}function aC(t,e){var n=sC();return(aC=function(t,e){return n[t-=186]})(t,e)}!function(t){for(var e=aC,n=t();;)try{if(855971===-parseInt(e(193))/1*(-parseInt(e(201))/2)+parseInt(e(187))/3+parseInt(e(198))/4*(-parseInt(e(192))/5)+parseInt(e(194))/6*(-parseInt(e(195))/7)+-parseInt(e(203))/8+parseInt(e(191))/9*(parseInt(e(197))/10)+parseInt(e(190))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sC);class cC extends i.Plugin{static get[oC(189)](){return[QT,rC]}static get[oC(196)](){return oC(188)}static get[oC(202)](){return!0}static get[oC(199)](){return!0}constructor(t){var e=oC;super(t),t[e(186)][e(200)](e(204),{extraCommands:[],removeCommands:[]})}}const lC=uC;function uC(t,e){const n=hC();return(uC=function(t,e){return n[t-=428]})(t,e)}function hC(){const t=["changeGroups","24biciga","parsedMergedContent","push","25946gIddBi","99738YwCfRb","cloneNode","148GmmDoX","modified","1710ZulAwB","children","4794684IvLdCJ","updateChangeGroups","2322383WXkOog","parsedContent","pending","data-id","length","47673XiAGTm","8608WiBvvD","2121680RRhFuP","ai-actions-content"];return(hC=function(){return t})()}!function(t){const e=uC,n=t();for(;;)try{if(664884===-parseInt(e(434))/1+parseInt(e(449))/2+-parseInt(e(448))/3*(parseInt(e(437))/4)+-parseInt(e(428))/5+parseInt(e(441))/6+parseInt(e(443))/7*(-parseInt(e(431))/8)+-parseInt(e(435))/9*(-parseInt(e(439))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hC);class dC extends C_{[lC(442)](){const t=lC;if(this[t(432)]=this[t(444)][t(436)](!0),this[t(444)][t(440)][t(447)]>0){const e=[];for(const n of this[t(444)][t(440)])if(kl(n)){const r=sh(n,t(446));r&&e[t(433)]({node:n,type:t(438),id:r})}e[t(447)]>0?this[t(430)]=[{changes:e,state:t(445),index:0}]:this[t(430)]=[{changes:[{node:this[t(444)][t(440)][0],type:t(438),id:t(429)}],state:t(445),index:0}]}else this[t(430)]=[]}}const pC=fC;function fC(t,e){const n=mC();return(fC=function(t,e){return n[t-=460]})(t,e)}!function(t){const e=fC,n=t();for(;;)try{if(724078===parseInt(e(476))/1*(parseInt(e(462))/2)+parseInt(e(463))/3*(parseInt(e(486))/4)+-parseInt(e(484))/5*(parseInt(e(465))/6)+parseInt(e(485))/7+parseInt(e(464))/8+-parseInt(e(467))/9*(parseInt(e(487))/10)+-parseInt(e(470))/11*(parseInt(e(471))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mC);class gC extends H_{[pC(477)];[pC(490)];[pC(492)];[pC(478)];[pC(479)];[pC(461)];constructor(t){const e=pC;super(t),this[e(477)]=t[e(477)],this[e(490)]=t[e(490)],this[e(492)]=t[e(492)],this[e(478)]=t[e(478)],this[e(479)]=t[e(479)],this[e(461)]=t[e(461)]}async[pC(473)](){const t=pC;return this[t(492)]?this[t(483)][t(474)]({content:this[t(477)],actionName:this[t(492)],args:this[t(478)]}):this[t(483)][t(493)]({content:this[t(477)],message:this[t(479)],model:this[t(461)],outputFormat:t(488)})}[pC(466)](){const t=pC;return{type:U_[t(491)],content:this[t(477)],version:this[t(490)],label:t(472),uiId:t(469)}}[pC(475)](t){const e=pC,n=new dC({editor:this[e(468)],documentContextContent:this[e(477)],...t});return this[e(480)][e(489)](n),n[e(481)](...D_).to(this),this[e(482)](e(460),n),n}}function mC(){const t=["executeAction","createReply","670863lzOaGc","content","args","userMessage","replies","delegate","fire","connector","20RIDqaN","6759886HNkAXe","4ENQMRs","10eoMJFW","html","push","version","TEXT","actionName","executeCustomAction","replyCreated","model","2vFONgV","3326229bMMNAL","11583320QqRVTY","799362OqgyYl","getDocumentContext","8508906jzCSJl","editor","current-document","3047ZXhWmA","86244sydANE","Current document","sendRequest"];return(mC=function(){return t})()}const kC=_C;function _C(t,e){const n=bC();return(_C=function(t,e){return n[t-=271]})(t,e)}function bC(){const t=["_stopInteraction","getDocumentContext","TrackChangesEditing","isEnabled","executeAction","_customViews","documentFragment","Error updating content in toggleSuggestionDisplayMode:","baseVersion","Error updating content in replyContentUpdated:","_anchorOperation","error","updateContent","requires","toData","getLimitElement","streaming","_clearSuggestionContent","selection","insertSuggestion","isPremiumPlugin","queueEmptyPromise","_applyOperationsAsSuggestions","503172AiHgJW","stopListening","length","documentContextContent","isBusy","AI_ACTIONS_TRY_AGAIN","_previousInteractions","message","_appendChild","operationsA","226536uuDjKu","has","applyOperation","getSelectedContent","set","getFirstRange","setLoading","_children","ai-request-aborted","_setLoadingState","Error updating content in replyCreated:","change","TableSelection","No current interaction to refresh","end","AIConnector","enqueue","AIActions","bind","interactionFinished","ck-ai-custom-action-button","random","static","Error clearing loading state in interactionFinished:","hasPendingParts","getAncestors","getCommonAncestor","open","abort","path","data","listenTo","catch","applySuggestion","_clone","schema","12645780VrXLQg","_refreshInteraction","replyCreated","_interaction","stopInteraction","icon","942biAfEh","history","204bllffg","hideLoader","processor","replyContentUpdated","_promiseQueue","push","changeGroups","getRanges","_executeActionRegular","addOperation","map","8IyzcoZ","add","7615coKWpl","first","showLoader","186057tXJCMf","model","pluginName","_createInteraction","AIBalloon","isCollapsed","getSelectedBlocks","execute","_isAbortError","getOperations","editor","clearLoading","_clearLoadingState","isOfficialPlugin","focus","replies","document","_wrapWithCommonAncestors","_clearInteractionHistory","toggleSuggestionDisplayMode","get","getSelectionAsFragment","_currentInteractionParams","15039qPuSvh","stop","version","modelToViewWithIds","getSelectedTableCells","dialogClosed","locale","root","batch","_executeActionOnTable","slice","previousInteractions","main","startsWith","_insertSuggestion","bodyView","warn","_applySuggestion","Error refreshing interaction:","stickiness","_balloonShowDiff","_setupCustomViews","remove","start","_aiConnector","plugins","setSelection","716023PCaVhq","getFirstPosition","balloonView","close"];return(bC=function(){return t})()}!function(t){const e=_C,n=t();for(;;)try{if(168720===-parseInt(e(337))/1+-parseInt(e(327))/2+-parseInt(e(273))/3*(parseInt(e(381))/4)+parseInt(e(394))/5*(-parseInt(e(379))/6)+parseInt(e(300))/7*(-parseInt(e(392))/8)+-parseInt(e(397))/9+parseInt(e(373))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bC);class wC extends i.Plugin{static get[kC(317)](){return[$c,a.Dialog,kb,by,iI]}static get[kC(399)](){return kC(354)}static get[kC(410)](){return!0}static get[kC(324)](){return!0}[kC(297)];[kC(333)]=[];[kC(272)];[kC(293)]=!1;[kC(309)]=new a.ViewCollection;[kC(385)];constructor(t){const e=kC;super(t),this[e(297)]=this[e(407)][e(298)][e(417)](e(352)),this[e(341)](e(331),!1),this[e(385)]=new Nv,this[e(294)]()}[kC(377)](){this[kC(304)]()}get[kC(284)](){return this[kC(333)]}async[kC(308)](t,e,n){const r=kC;return this[r(407)][r(298)][r(338)](r(349))&&this[r(407)][r(298)][r(417)](r(349))[r(277)]()?this[r(282)](t,e,n):this[r(389)](t,e,n)}[kC(389)](t,e,n){const r=kC,i=this[r(407)][r(298)][r(417)](kb),o=this[r(407)][r(298)][r(417)](by),a=this[r(407)][r(398)][r(413)][r(322)];if(a[r(402)]){const t=(0,s.first)(a[r(403)]())||this[r(407)][r(398)][r(372)][r(319)](a);this[r(407)][r(398)][r(348)](e=>{e[r(299)](t,"in")})}const c=this[r(414)](this[r(407)][r(398)][r(340)](a),a),l=i[r(276)](c),u=this[r(407)][r(367)][r(383)][r(318)](l),h=this[r(407)][r(398)][r(413)][r(275)],d=[...a[r(388)]()],p=new Zv(this[r(407)][r(279)],{showDiff:!1,areActionsDisabled:!1,hideHeader:!0,showLoader:!0,miniToolbarConfig:{showChanges:r(378),customView:this[r(309)]}});o[r(364)]({index:1e3*Math[r(358)]()%1e3,title:e,icon:n||xT,mainView:p,showRotator:!1,showApplyButton:!0,showSuggestButton:!0,ranges:d}),this[r(346)](p,o);const f=a[r(301)]();return this[r(368)](o,r(370),()=>{this[r(290)](f)}),this[r(368)](o,r(323),()=>{this[r(287)](f)}),this[r(368)](o,r(278),()=>{const t=r;this[t(304)](),this[t(415)](),this[t(328)](o)}),this[r(400)](u,h,p,o,t)}[kC(282)](t,e,n){const r=kC,i=this[r(407)][r(298)][r(417)](kb),o=this[r(407)][r(298)][r(417)](by),s=this[r(407)][r(398)][r(413)][r(322)],a=this[r(407)][r(298)][r(417)](r(349))[r(271)](),c=i[r(276)](a),l=this[r(407)][r(367)][r(383)][r(318)](c),u=this[r(407)][r(398)][r(413)][r(275)],h=[...s[r(388)]()],d=new Zv(this[r(407)][r(279)],{showDiff:!1,areActionsDisabled:!1,hideHeader:!0,showLoader:!0,miniToolbarConfig:{showChanges:r(378),customView:this[r(309)]}});o[r(364)]({index:0,title:e,icon:n||xT,mainView:d,showRotator:!1,showApplyButton:!0,showSuggestButton:!0,ranges:h}),this[r(346)](d,o);const p=s[r(301)]();return this[r(368)](o,r(370),()=>{this[r(290)](p)}),this[r(368)](o,r(323),()=>{this[r(287)](p)}),this[r(368)](o,r(278),()=>{const t=r;this[t(385)][t(365)](),this[t(331)]=!1,this[t(328)](o)}),this[r(400)](l,u,d,o,t)}[kC(414)](t,e){const n=kC,r=e[n(342)]()[n(363)](),i=r.is(n(310))?[]:r[n(362)]({includeSelf:!0})[n(283)](1);if(i[n(329)]){const e=i[n(391)](t=>t[n(371)](!1));for(let t=1;t<e[n(329)];t++)e[t-1][n(335)](e[t]);return e[e[n(329)]-1][n(335)](t),new u.ModelDocumentFragment(e[0])}return t}async[kC(400)](t,e,n,r,i){const o=kC,s=this[o(407)];this[o(272)]={action:i,content:t,version:e,mainView:n,aiBalloon:r},this[o(376)]=new gC({connector:this[o(297)],editor:s,content:t,version:e,...i});const a=(t,e,n=this[o(293)],r=o(320))=>this[o(385)][o(353)](async i=>{const a=o;try{const o=DI({editor:s,changeGroups:t[a(387)],documentContextContent:t[a(330)],showDiff:n,trimUnchanged:!1});await e[a(316)]({parts:o,renderingStrategy:r,abortSignal:i})}catch(t){if(this[a(405)](t))return;throw t}});this[o(376)].on(o(375),(t,e)=>{const r=o;n[r(382)](),a(e,n)[r(369)](t=>{const e=r;this[e(405)](t)||console[e(315)](e(347),t)})}),this[o(376)].on(o(384),(t,e)=>{const r=o;a(e,n)[r(369)](t=>{const e=r;this[e(405)](t)||console[e(315)](e(313),t)})}),this[o(376)].on(o(356),async()=>{const t=o;try{await this[t(409)](n,r)}catch(e){this[t(405)](e)||console[t(315)](t(360),e)}}),this[o(368)](n,o(416),(t,{showDiff:e})=>{const r=o;this[r(293)]=e;const i=this[r(376)][r(412)][this[r(376)][r(412)][r(329)]-1];i&&a(i,n,e,r(359))[r(369)](t=>{const e=r;this[e(405)](t)||console[e(315)](e(311),t)})}),this[o(346)](n,r);try{return await this[o(376)][o(296)]()}catch(t){if(this[o(405)](t))return;throw t}}[kC(287)](t){const e=kC,n=this[e(407)],r=this[e(407)][e(298)][e(417)](iI),i=this[e(376)],o=this[e(376)][e(412)][this[e(376)][e(412)][e(329)]-1],s=o[e(387)],a=PI({editor:n,reply:o,interaction:i,groups:s,transform:!1,documentCompare:r,documentCompareOptions:{anchor:e(285),markDeletions:!0}});for(const n of a)this[e(314)](t,n);const c=i[e(305)]()[e(275)],l=n[e(398)][e(413)][e(380)][e(406)](c),h={document:n[e(398)][e(413)],useRelations:!1,padWithNoOps:!1},d=(0,u.transformOperationSets)(a,l,h)[e(336)];n[e(398)][e(348)](t=>{const r=e;t[r(299)](n[r(398)][r(413)][r(322)][r(411)]),n[r(298)][r(417)](r(306))[r(326)](d)}),this[e(407)][e(298)][e(417)](e(401))[e(303)]()}[kC(290)](t){const e=kC,n=this[e(407)],r=this[e(407)][e(298)][e(417)](iI),i=this[e(376)],o=this[e(376)][e(412)][this[e(376)][e(412)][e(329)]-1],s=o[e(387)],a=PI({editor:n,reply:o,interaction:i,groups:s,transform:!1,documentCompare:r,documentCompareOptions:{anchor:e(285),markDeletions:!1}});for(const n of a)this[e(314)](t,n);const c=i[e(305)]()[e(275)],l=n[e(398)][e(413)][e(380)][e(406)](c),h={document:n[e(398)][e(413)],useRelations:!1,padWithNoOps:!1},d=(0,u.transformOperationSets)(a,l,h)[e(336)];n[e(398)][e(348)](t=>{const r=e;t[r(299)](n[r(398)][r(413)][r(322)][r(411)]);for(const e of d)e[r(312)]=n[r(398)][r(413)][r(275)],t[r(281)][r(390)](e),n[r(398)][r(339)](e)}),this[e(407)][e(298)][e(417)](e(401))[e(303)]()}[kC(314)](t,e){const n=kC;for(const t in e){const i=e[t];i instanceof u.ModelRange?e[t]=new u.ModelRange(r(i[n(296)]),r(i[n(351)])):i instanceof u.ModelPosition&&(e[t]=r(i))}function r(e){const r=n;if(e[r(280)]!=t[r(280)])return e;const i=e[r(366)][r(283)]();for(let e=0;e<t[r(366)][r(329)]&&e<i[r(329)];e++){const n=0!=i[e];if(i[e]+=t[r(366)][e],n)break}return new u.ModelPosition(e[r(280)],i,e[r(292)])}}[kC(374)](){const t=kC;if(!this[t(272)])return void console[t(289)](t(350));this[t(376)]&&(this[t(333)][t(386)](this[t(376)]),this[t(304)]());const{action:e,content:n,version:r,mainView:i,aiBalloon:o}=this[t(272)];this[t(321)](i),i[t(396)](),this[t(400)](n,r,i,o,e)[t(369)](e=>{const n=t;this[n(405)](e)||console[n(315)](n(291),e)})}[kC(321)](t){const e=kC,n=t[e(288)][e(344)];for(;n[e(329)]>0;)n[e(295)](n[e(395)]);t[e(288)][e(361)]=!1}[kC(405)](t){const e=kC;return!!t[e(334)]&&t[e(334)][e(286)](e(345))}[kC(415)](){const t=kC;this[t(333)]=[],this[t(272)]=void 0}[kC(304)](){const t=kC;this[t(376)]&&this[t(376)][t(274)](),this[t(385)][t(365)](),this[t(331)]=!1}[kC(294)](){const t=kC,e=new a.ButtonView(this[t(407)][t(279)]);e[t(341)]({icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.106 4.946c.272.274.27.712.033 1.016a6.1 6.1 0 0 0-1.291 3.764c0 3.375 2.722 6.111 6.08 6.111q.418 0 .822-.057l-.964-.968-.048-.054a.71.71 0 0 1 .048-.943.7.7 0 0 1 .939-.05l.053.05 1.984 1.994c.143.144.21.335.204.523a.7.7 0 0 1-.156.495l-.048.053-1.984 1.994a.7.7 0 0 1-.992 0 .71.71 0 0 1 0-.997l.645-.647a8 8 0 0 1-.504.018c-4.132 0-7.482-3.368-7.482-7.522 0-1.803.632-3.458 1.684-4.754.248-.304.701-.304.977-.026M9.057.464a.7.7 0 0 1 .992 0 .71.71 0 0 1 0 .997l-.966.97q.46-.058.938-.058c4.132 0 7.483 3.367 7.483 7.521a7.5 7.5 0 0 1-1.685 4.754c-.247.304-.7.304-.977.026-.271-.273-.27-.712-.032-1.016a6.1 6.1 0 0 0 1.29-3.764c0-3.375-2.721-6.11-6.079-6.111a6 6 0 0 0-.673.039l.701.705.049.053a.71.71 0 0 1-.049.944.7.7 0 0 1-.939.048l-.053-.048L7.073 3.53a.7.7 0 0 1-.203-.524.7.7 0 0 1 .155-.495l.048-.053z"/></svg>',label:zc(this[t(407)][t(279)],t(332)),tooltip:!0,class:t(357)}),e[t(355)](t(307)).to(this,t(331),t=>!t),e.on(t(404),()=>{this[t(374)]()}),this[t(309)][t(393)](e)}[kC(346)](t,e){const n=kC;t[n(343)](),e[n(302)][n(343)](),this[n(331)]=!0}async[kC(409)](t,e){const n=kC;await this[n(385)][n(325)],this[n(331)]=!1,t[n(408)](),e[n(302)][n(408)]()}}var IC=yC;function vC(){var t=["title","784536cHOHhD","1097432PxjEiQ","options","1291825WdzOvX","6YTdaTJ","useArgs","1175427TphgJT","7177700wWMHRR","16UyhKTg","isParameterized","1342665qDIkch","description","71xmTlxO","7778ixhxxZ"];return(vC=function(){return t})()}function yC(t,e){var n=vC();return(yC=function(t,e){return n[t-=377]})(t,e)}!function(t){for(var e=yC,n=t();;)try{if(274784===-parseInt(e(388))/1*(-parseInt(e(389))/2)+-parseInt(e(386))/3+-parseInt(e(391))/4+-parseInt(e(379))/5*(parseInt(e(380))/6)+parseInt(e(377))/7*(parseInt(e(384))/8)+-parseInt(e(382))/9+parseInt(e(383))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vC);class AC{id;[IC(390)];[IC(387)];[IC(385)];[IC(381)];[IC(378)];constructor({id:t,title:e,description:n,isParameterized:r,useArgs:i,options:o}){var s=IC;this.id=t,this[s(390)]=e,this[s(387)]=n,this[s(385)]=r,this[s(381)]=i,this[s(378)]=o}}var EC=TC;function xC(){var t=["models","2645419JLjLSu","_models","45gKnUGG","453834jQzQoT","159564KhHIaR","1031310TrqtWr","385509NwKJar","506KzwSxh","2073584fitnji","90020JcZKgH","4dVNmIw","1sgTTRU"];return(xC=function(){return t})()}function TC(t,e){var n=xC();return(TC=function(t,e){return n[t-=183]})(t,e)}!function(t){for(var e=TC,n=t();;)try{if(224507===-parseInt(e(184))/1*(-parseInt(e(189))/2)+parseInt(e(192))/3*(parseInt(e(183))/4)+parseInt(e(188))/5*(-parseInt(e(190))/6)+parseInt(e(186))/7+parseInt(e(194))/8+-parseInt(e(191))/9+parseInt(e(195))/10*(-parseInt(e(193))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xC);class CC extends AC{[EC(187)]=[];get[EC(185)](){return this[EC(187)]}set[EC(185)](t){this[EC(187)]=t}}const SC=RC;function RC(t,e){const n=OC();return(RC=function(t,e){return n[t-=479]})(t,e)}function OC(){const t=["Correctness","5409WFpsKR","Friendly","casual","japanese","length","spanish","Adjust length","Spanish","_getAvailableReviewChecks","Direct","Enhance the overall readability of the text.","confident","Ensure the text is factually accurate and free of errors.","10XtXVhG","getCheckById","shorter","professional","portuguese","Casual","translate","readability","Italian","dropdown","label","correctness","friendly","Shorter","Chinese (Simplified)","_checks","English","clarity",": \n","130kxrWuL","direct","5520072gAfLNR","find","useArgs","Readability","make-tone","Translate the text into another language.","732QDcnVX","options","4957316WrjtmJ","Korean","30KktIWI","checks","1012914dZtTRW","Japanese","reduce","title","Confident","getExpandedChecks","French","4037094ueNJXQ","korean","German","Adjust tone and style","english","Translate","Russian","_getExpandedReviewChecks","french","longer","data","Clarity","2764kufpmB","Type a custom command to review the content exactly as you need.","isParameterized","Improve the clarity and readability of the text.","map","Choose tone and style to change content as you need.","Portuguese","Longer","german","Refine text length to match your needs.","chinese","language","join","custom","italian","Professional","Select language","flatMap","9371JORAqy","make","489764bamuRP","russian","Custom command"];return(OC=function(){return t})()}!function(t){const e=RC,n=t();for(;;)try{if(804181===parseInt(e(545))/1*(parseInt(e(494))/2)+parseInt(e(551))/3*(parseInt(e(527))/4)+parseInt(e(564))/5*(parseInt(e(508))/6)+-parseInt(e(504))/7+parseInt(e(496))/8+parseInt(e(515))/9*(parseInt(e(506))/10)+-parseInt(e(547))/11*(parseInt(e(502))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(OC);const NC=[{id:SC(540),title:SC(549),description:SC(528),isParameterized:!0},{id:SC(486),title:SC(550),description:SC(563),isParameterized:!1},{id:SC(492),title:SC(526),description:SC(530),isParameterized:!1},{id:SC(482),title:SC(499),description:SC(561),isParameterized:!1},{id:SC(546),title:SC(557),description:SC(536),isParameterized:!0,options:[{formType:SC(484),label:SC(557),default:SC(524),data:[{label:SC(534),id:SC(524)},{label:SC(488),id:SC(566)}]}]},{id:SC(500),title:SC(518),description:SC(532),isParameterized:!0,options:[{formType:SC(484),label:SC(518),default:SC(553),data:[{label:SC(480),id:SC(553)},{label:SC(560),id:SC(495)},{label:SC(552),id:SC(487)},{label:SC(512),id:SC(562)},{label:SC(542),id:SC(567)}]}]},{id:SC(481),title:SC(520),description:SC(501),isParameterized:!0,useArgs:!0,options:[{formType:SC(484),label:SC(543),default:SC(556),argsKey:SC(538),data:[{label:SC(491),id:SC(519)},{label:SC(558),id:SC(556)},{label:SC(514),id:SC(523)},{label:SC(517),id:SC(535)},{label:SC(489),id:SC(537)},{label:SC(509),id:SC(554)},{label:SC(521),id:SC(548)},{label:SC(533),id:SC(479)},{label:SC(505),id:SC(516)},{label:SC(483),id:SC(541)}]}]}];class LC extends((0,s.ObservableMixin)()){[SC(490)];constructor(){const t=SC;super(),this[t(490)]=this[t(559)]()}get[SC(507)](){return this[SC(490)]}get[SC(513)](){return this[SC(522)]()}[SC(565)](t){const e=SC;return this[e(513)][e(497)](e=>e.id===t)}[SC(559)](){const t=SC;return NC[t(531)](e=>t(540)===e.id?new CC(e):new AC(e))}[SC(522)](){const t=SC;return NC[t(544)](e=>{const n=t;if(e?.[n(498)])return[e];if(e[n(529)]&&e[n(503)]?.[n(555)]){return e[n(503)][n(531)](t=>t[n(525)]||[])[n(510)]((t,e)=>t[n(544)](t=>e[n(531)](e=>[...t,e])),[[]])[n(531)](t=>{const r=n,i=t[r(531)](t=>t.id)[r(539)]("-"),o=t[r(531)](t=>t[r(485)])[r(539)](", ");return{...e,id:e.id+"-"+i,title:e[r(511)]+r(493)+o,selectedOptions:t}})}return[e]})}}function PC(t,e){var n=DC();return(PC=function(t,e){return n[t-=122]})(t,e)}var MC=PC;function DC(){var t=["507258QFXZfo","2213525gEiLfd","15949716dbnHlX","900008zabrTS","3843324hEzzox","documentVersion","2288IHCWgG","1320kKhEks","22561ANWBdS","1070FxeNpZ","contentNew","2iKsShk","contentInitial","28KDFgUB","6OXqxZt"];return(DC=function(){return t})()}!function(t){for(var e=PC,n=t();;)try{if(323989===parseInt(e(124))/1*(-parseInt(e(128))/2)+-parseInt(e(135))/3*(parseInt(e(134))/4)+-parseInt(e(129))/5*(parseInt(e(127))/6)+-parseInt(e(126))/7*(parseInt(e(131))/8)+parseInt(e(132))/9+-parseInt(e(122))/10*(-parseInt(e(136))/11)+parseInt(e(130))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(DC);class HC extends((0,s.EmitterMixin)()){id;[MC(123)];[MC(125)];[MC(133)];constructor({id:t,contentNew:e,contentInitial:n,documentVersion:r}){var i=MC;super(),this.id=t,this[i(123)]=e,this[i(125)]=n,this[i(133)]=r}}var BC=UC;function UC(t,e){var n=VC();return(UC=function(t,e){return n[t-=113]})(t,e)}function VC(){var t=["operations","13003wgTmDx","_editorOperations","parent","2260247TMcKUS","contentDiffed","7926177zllWvL","2329905rAfhtl","active","set","12ZsDFtT","operationsIsolated","90708WkkuPW","context","status","916tiMCOk","3133bCuOTl","9BcHsLe","6jfxyWi","_data","16095HDJtDQ","50XFEpkS","2817896rjPOor"];return(VC=function(){return t})()}!function(t){for(var e=UC,n=t();;)try{if(651680===-parseInt(e(124))/1*(parseInt(e(133))/2)+parseInt(e(130))/3+parseInt(e(115))/4*(-parseInt(e(120))/5)+parseInt(e(118))/6*(parseInt(e(129))/7)+parseInt(e(122))/8*(parseInt(e(117))/9)+-parseInt(e(121))/10*(-parseInt(e(127))/11)+-parseInt(e(135))/12*(parseInt(e(116))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(VC);class qC extends((0,s.ObservableMixin)()){id;[BC(126)];[BC(119)];[BC(125)]=[];constructor(t,e,n){var r=BC;super(),this.id=t,this[r(126)]=n,this[r(119)]=e,this[r(132)](r(114),r(131))}get[BC(128)](){var t=BC;return this[t(119)][t(113)]()}get[BC(123)](){var t=BC;return this[t(119)][t(123)]}get[BC(134)](){var t=BC;return this[t(119)][t(134)]}}const FC=zC;function zC(t,e){const n=GC();return(zC=function(t,e){return n[t-=245]})(t,e)}function GC(){const t=["reviewCheckResultReady","rejected","dataId","operation","error-chunk","addResultChanges","active","507ZWpHUY","documentData","1290zfEcOn","elements","ready","isChangeActive","data","getActiveChanges","_checkIfFinished","getStream","10bPlBpA","push","forEach","Not implemented.","_changes","status","3145880wTqejV","abort","markChangeAsAccepted","start","loading","error-general","448108ggCwmk","getContent","_results","clear","filter","_activeRequest","_createApiRequest","size","markChangeAsRejected","reviewCheckResultAccepted","_aiConnector","finished","accepted","processedResultsCount","reviewCheckResultAdded","7bAeqGr","7359561cSLSOb","fire","find","abortController","_currentError","markAllChangesAsAccepted","_addReviewCheckResult","_sourceCheck","reviewCheckRunUpdated","2343561UxEotJ","aborted","length","unmodified","_documentData","726090dtXzQt","initialized","330VswdOU","textDelta","reviewCheckResultRejected","set","60395eKlRxR","error","change:status","restart","_reviewArgs","get","version"];return(GC=function(){return t})()}!function(t){const e=zC,n=t();for(;;)try{if(418770===parseInt(e(257))/1*(-parseInt(e(259))/2)+-parseInt(e(309))/3+parseInt(e(279))/4+-parseInt(e(315))/5*(-parseInt(e(311))/6)+-parseInt(e(294))/7*(parseInt(e(273))/8)+-parseInt(e(295))/9*(-parseInt(e(267))/10)+-parseInt(e(304))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GC);class jC extends((0,s.ObservableMixin)()){id=(0,s.uid)();[FC(281)]=new Map;[FC(271)]=[];[FC(308)];[FC(302)];[FC(289)];[FC(247)];[FC(284)]=null;[FC(299)];constructor(t,e,n,r){const i=FC;super(),this[i(308)]=t,this[i(302)]=e,this[i(289)]=n,this[i(247)]=r,this.on(i(245),(t,e,n)=>{const r=i;this[r(296)](r(303),{status:n,run:this,error:this[r(299)]})}),this[i(314)](i(272),i(310))}get[FC(258)](){return this[FC(308)]}get[FC(292)](){const t=FC;return this[t(281)][t(286)]}async[FC(276)](){const t=FC;this[t(272)]=t(277),this[t(299)]=void 0;try{this[t(284)]=this[t(285)]();const e=await this[t(284)][t(266)]();this[t(272)]=t(263);for await(const n of e)t(307)!==n[t(263)][t(253)]&&(t(316)!==n[t(263)][t(253)]?this[t(301)](n[t(263)][t(252)],n[t(263)][t(312)]):this[t(272)]=t(254));t(254)!==this[t(272)]&&(this[t(272)]=t(261))}catch(e){this[t(299)]=e,this[t(272)]=t(278)}finally{this[t(284)]=null}}async[FC(246)](){const t=FC;this[t(281)][t(282)](),this[t(271)][t(306)]=0,this[t(299)]=void 0,await this[t(276)]()}[FC(255)](t,e){const n=FC,r=this[n(281)][n(248)](t);if(!r)return;const i=[];e[n(269)]((t,e)=>{const o=n,s=new qC(r.id+"-"+e,t,r);s.on(o(245),()=>{const t=o;t(291)===s[t(272)]?this[t(296)](t(288),{change:s}):t(251)===s[t(272)]&&this[t(296)](t(313),{change:s})}),this[o(271)][o(268)](s),i[o(268)](s)}),this[n(296)](n(250),{changes:i,result:r,source:this})}[FC(274)](){const t=FC;this[t(284)]&&(this[t(284)][t(298)][t(274)](),this[t(284)]=null,this[t(272)]=t(305))}[FC(262)](t){const e=FC,n=this[e(271)][e(297)](e=>e.id===t);return!(!n||e(256)!==n[e(272)])}[FC(264)](){const t=FC;return this[t(271)][t(283)](e=>t(256)===e[t(272)])}[FC(300)](){const t=FC;for(const e of this[t(271)])t(256)===e[t(272)]&&(e[t(272)]=t(291));this[t(265)]()}[FC(275)](t){const e=FC,n=this[e(271)][e(297)](e=>e.id===t);n&&e(256)===n[e(272)]&&(n[e(272)]=e(291)),this[e(265)]()}[FC(287)](t){const e=FC,n=this[e(271)][e(297)](e=>e.id===t);n&&e(256)===n[e(272)]&&(n[e(272)]=e(251)),this[e(265)]()}[FC(301)](t,e){const n=FC,r=this[n(308)][n(260)][n(248)](t);if(!r)return;const i=r[n(280)]();if(i===e)return;const o=new HC({id:t,contentInitial:i,contentNew:e,documentVersion:this[n(308)][n(249)]});this[n(281)][n(314)](o.id,o),this[n(296)](n(293),{result:o,source:this})}[FC(265)](){const t=FC;t(261)===this[t(272)]&&0===this[t(271)][t(283)](e=>t(256)===e[t(272)])[t(306)]&&(this[t(272)]=t(290))}[FC(285)](){throw new Error(FC(270))}}var WC=KC;function YC(){var t=["callSystemReview","28432SCgPFO","_createApiRequest","content","3406081wwVdjL","_aiConnector","5817zXDOZQ","4073880SxQKPv","1265208EQuwYx","1804SuDyKa","_sourceCheck","_documentData","26QwfITY","164178JdnYrs","_reviewArgs","1340oOAvMh","3151140NGYYrm"];return(YC=function(){return t})()}function KC(t,e){var n=YC();return(KC=function(t,e){return n[t-=407]})(t,e)}!function(t){for(var e=KC,n=t();;)try{if(437317===parseInt(e(417))/1*(parseInt(e(423))/2)+parseInt(e(411))/3*(parseInt(e(414))/4)+parseInt(e(421))/5+parseInt(e(412))/6+parseInt(e(409))/7+-parseInt(e(413))/8+parseInt(e(418))/9*(-parseInt(e(420))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(YC);class $C extends jC{[WC(407)](){var t=WC;return this[t(410)][t(422)]({reviewName:this[t(415)].id,content:this[t(416)][t(408)],args:this[t(419)]})}}var QC=XC;function XC(t,e){var n=JC();return(XC=function(t,e){return n[t-=278]})(t,e)}!function(t){for(var e=XC,n=t();;)try{if(830587===parseInt(e(279))/1*(parseInt(e(281))/2)+-parseInt(e(283))/3+-parseInt(e(288))/4+parseInt(e(292))/5+parseInt(e(278))/6*(-parseInt(e(280))/7)+parseInt(e(287))/8*(parseInt(e(293))/9)+parseInt(e(282))/10*(parseInt(e(294))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(JC);class ZC extends jC{[QC(290)];[QC(284)];constructor(t,e,n,r,i){var o=QC;super(n,r,i),this[o(290)]=t,this[o(284)]=e}[QC(286)](){var t=QC;return this[t(289)][t(291)]({content:this[t(285)][t(295)],prompt:this[t(290)],model:this[t(284)]})}}function JC(){var t=["6221560wXzEfN","_aiConnector","_prompt","callCustomReview","6631555WxNEZC","12392379RLLURM","11wBfwUJ","content","41862HqWdlB","526744uYOfby","1211bHxGzb","2etJEpk","4583710wwlalr","286077fzypMW","_model","_documentData","_createApiRequest","8axCbZZ"];return(JC=function(){return t})()}const tS=nS;function eS(){const t=["339689XnZhqH","3382920HPfOqC","10840VxLuNp","getAll","22cAwQWi","_modelList","4zQUzVm","61792819slxGhd","list","11664derSwZ","54dOyqIU","1397815RjscDC","length","getModels","63002usrkpA","_connector","4345992FvOKHw","items"];return(eS=function(){return t})()}function nS(t,e){const n=eS();return(nS=function(t,e){return n[t-=341]})(t,e)}!function(t){const e=nS,n=t();for(;;)try{if(931808===-parseInt(e(351))/1*(parseInt(e(341))/2)+-parseInt(e(353))/3+-parseInt(e(343))/4*(parseInt(e(348))/5)+parseInt(e(347))/6*(-parseInt(e(355))/7)+-parseInt(e(356))/8+-parseInt(e(346))/9*(parseInt(e(357))/10)+parseInt(e(344))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eS);class rS extends((0,s.EmitterMixin)()){[tS(342)]=[];[tS(352)];constructor({connector:t}){const e=tS;super(),this[e(352)]=t}async[tS(358)](){const t=tS;if(!this[t(342)][t(349)])try{const e=this[t(352)][t(350)](),n=await e[t(345)]();this[t(342)]=n[t(354)]}catch{}return this[t(342)]}}function iS(){const t=["leaveReviewMode","aireviewmode-source-check-not-found","72776eBIfIM","finishReview","documentData","ck-ai-review-mode-highlights","data","remove","2103CKySVu","loading","contentNew","_currentReviewCheckRun","status","updateChangeState","AIReviewModeController","reviewCheckRunUpdated","2ImAZrh","classList","changes","setAvailableChecks","showActionsWhenResultIsReady","48LGXepl","56cnuCvS","isOfficialPlugin","_aiConnector","_onDiffChange","context","checks","_aiReviewModeUi","_onReviewModeRunLeave","acceptChange","12rcgzDN","_isDiffOn","prompt","rejected","isChangeActive","markChangeAsRejected","abortReviewStream","AIConnector","applyChange","getDocumentData","pluginName","plugins","switchToEdit","runReviewCheck","reviewCheckResultAccepted","reviewCheckResultReady","markChangeAsAccepted","restart","rejectChange","title","error-chunk","_logError","4366531MtadwO","showGeneralErrorView","showReviewCompletedView","_aiReviewModeEditing","resetActiveStateInResults","clearAllMarkers","change","ck-ai-review-mode-diff","3179840qWoQOX","models","scrollToSuggestionInDocument","contentInitial","includes","markAllChangesAsAccepted","440601EBBrFl","scrollToChangeInEditorContent","dismissChange","7120Beswcv","showCheckRunResults","showReviewCheckList","stopListening","leaveReviewModeResultList","addResultChanges","switchToReadOnly","1008pZgbsX","markChangePositionInEditorContent","get","ai-request-aborted","model","acceptAllChanges","toggleDiff","getActiveChanges","6123375aWUjOg","showCheckRunResult","abort","setCheckResultTitle","custom","finished","requires","source","init","args","getContentElement","message","getReviewCheckList","aireviewmode-check-run-failed","error-general","reviewCheckResultAdded","111676mcNLSl","showChunkErrorView","ready","aireviewmode-no-current-check-run","accepted","add","start","fire","getCheckById","isPremiumPlugin","result","setItemAsActive","listenTo","diffContent","getAll","reviewCheckResultRejected","10CjmxOt","_aiReviewCheckList","find","isCustom","AIReviewModeEditing","AIReviewModeUI","length","retryReview"];return(iS=function(){return t})()}const oS=sS;function sS(t,e){const n=iS();return(sS=function(t,e){return n[t-=352]})(t,e)}!function(t){const e=sS,n=t();for(;;)try{if(811465===-parseInt(e(402))/1*(parseInt(e(362))/2)+parseInt(e(394))/3*(parseInt(e(456))/4)+-parseInt(e(447))/5*(-parseInt(e(417))/6)+parseInt(e(453))/7*(-parseInt(e(407))/8)+parseInt(e(471))/9*(parseInt(e(378))/10)+parseInt(e(388))/11*(-parseInt(e(463))/12)+parseInt(e(439))/13*(-parseInt(e(408))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iS);class aS extends i.ContextPlugin{[oS(410)];[oS(414)];[oS(442)];[oS(379)];[oS(397)];[oS(418)]=!1;static get[oS(352)](){return[$c]}static get[oS(427)](){return oS(400)}static get[oS(409)](){return!0}static get[oS(371)](){return!0}[oS(354)](){const t=oS;this[t(410)]=this[t(412)][t(428)][t(465)](t(424)),this[t(414)]=this[t(412)][t(428)][t(465)](t(383)),this[t(442)]=this[t(412)][t(428)][t(465)](t(382)),this[t(379)]=new LC,this[t(374)](this[t(414)],t(358),async()=>{const e=t,n=new rS({connector:this[e(410)]});this[e(379)][e(413)][e(380)](t=>e(475)===t.id)[e(448)]=await n[e(376)](),this[e(414)][e(405)](this[e(379)][e(413)])}),this[t(374)](this[t(414)],t(430),async(e,n)=>{const r=t,i=this[r(379)][r(370)](n.id);if(i){this[r(411)](this[r(418)]),this[r(414)][r(474)](i[r(436)]),n[r(381)]?this[r(397)]=new ZC(n[r(355)][r(419)],n[r(355)][r(467)],this[r(442)][r(426)](),i,this[r(410)]):this[r(397)]=new $C(this[r(442)][r(426)](),i,this[r(410)],n[r(355)]),this[r(397)].on(r(401),(t,e)=>{const n=r;n(392)===e[n(398)]||n(395)===e[n(398)]?(this[n(442)][n(462)](),this[n(414)][n(457)](e)):n(476)===e[n(398)]?this[n(414)][n(441)]():n(364)===e[n(398)]?this[n(414)][n(406)]():n(360)===e[n(398)]?this[n(414)][n(440)]():n(437)===e[n(398)]&&this[n(414)][n(363)]()}),this[r(397)].on(r(361),(t,e)=>{const n=r;if(!this[n(397)])throw new s.CKEditorError(n(365),this);const i=this[n(442)][n(375)](e[n(372)][n(450)],e[n(372)][n(396)]);e[n(353)][n(461)](e[n(372)].id,i)}),this[r(397)].on(r(432),(t,e)=>{const n=r;for(const t of e[n(404)])this[n(414)][n(472)](t);this[n(442)][n(464)](e[n(404)],e[n(353)][n(390)])}),this[r(397)].on(r(431),(t,e)=>{const n=r;this[n(414)][n(399)](e[n(445)].id,n(366))}),this[r(397)].on(r(377),(t,e)=>{const n=r;this[n(414)][n(399)](e[n(445)].id,n(420))});try{await this[r(397)][r(368)]()}catch(t){t instanceof Error&&t[r(357)][r(451)](r(466))||(t instanceof s.CKEditorError?this[r(438)](t):this[r(438)](new s.CKEditorError(r(359),this,{error:t})))}}else this[r(438)](new s.CKEditorError(r(387),this,{checkId:n.id}))}),this[t(374)](this[t(414)],t(386),()=>{this[t(415)]()}),this[t(374)](this[t(414)],t(460),()=>{this[t(415)](!0)}),this[t(374)](this[t(414)],t(423),async()=>{this[t(415)](!0)}),this[t(374)](this[t(414)],t(468),async()=>{const e=t;if(!this[e(397)])return;const n=this[e(397)][e(470)]();if(n[e(384)]){for(const t of n)this[e(442)][e(425)](t.id);this[e(397)][e(452)]()}}),this[t(374)](this[t(414)],t(416),async(e,n)=>{const r=t;this[r(397)]&&this[r(397)][r(421)](n.id)&&(this[r(442)][r(425)](n.id),this[r(397)][r(433)](n.id))}),this[t(374)](this[t(414)],t(455),async(e,n)=>{const r=t;this[r(397)]&&this[r(397)][r(421)](n.id)&&(this[r(442)][r(435)](n.id),this[r(397)][r(422)](n.id))}),this[t(374)](this[t(414)],t(469),(e,n)=>{const r=t;this[r(418)]=n.on,this[r(411)](this[r(418)])}),this[t(374)](this[t(414)],t(389),()=>{const e=t;this[e(414)][e(369)](e(358))}),this[t(374)](this[t(414)],t(385),async()=>{const e=t;this[e(397)]&&this[e(397)][e(434)]()}),this[t(374)](this[t(414)],t(449),async(e,n)=>{const r=t,{source:i}=n;this[r(414)][r(443)](),i[r(373)](),this[r(442)][r(454)]({id:n.id})})}[oS(415)](t=!1){const e=oS;this[e(397)]&&(this[e(397)][e(473)](),this[e(397)][e(459)](),this[e(397)]=void 0),t&&this[e(414)][e(458)](),this[e(442)][e(444)](),this[e(442)][e(429)]();const n=this[e(442)][e(356)]();n&&(n[e(403)][e(393)](e(446)),n[e(403)][e(393)](e(391)))}[oS(411)](t){const e=oS,n=this[e(442)][e(356)]();n&&(n[e(403)][e(393)](e(446)),n[e(403)][e(393)](e(391)),n[e(403)][e(367)](e(t?446:391)))}[oS(438)](t){const e=oS;(0,s.logError)(t[e(357)]),this[e(414)][e(440)]()}}const cS=lS;function lS(t,e){const n=hS();return(lS=function(t,e){return n[t-=124]})(t,e)}!function(t){const e=lS,n=t();for(;;)try{if(691229===parseInt(e(131))/1*(-parseInt(e(132))/2)+-parseInt(e(126))/3*(parseInt(e(153))/4)+-parseInt(e(125))/5+parseInt(e(157))/6+-parseInt(e(150))/7+parseInt(e(161))/8*(parseInt(e(147))/9)+-parseInt(e(166))/10*(-parseInt(e(134))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hS);class uS extends a.View{[cS(128)];[cS(156)];[cS(158)];constructor(t,e){const n=cS;super(t),this[n(156)]=e[n(138)]||(e[n(129)][n(149)]>0?e[n(129)][0].id:""),this[n(158)]=e[n(129)][n(163)](t=>t.id===this[n(156)])?.[n(162)]||"",this[n(133)](n(145),""),this[n(128)]=(0,a.createDropdown)(this[n(135)]);const r=this[n(140)](e[n(129)]);(0,a.addListToDropdown)(this[n(128)],r,{role:n(164),ariaLabel:e[n(162)]}),this[n(128)][n(144)][n(133)]({label:this[n(158)],withText:!0}),this[n(128)][n(155)]({on:{click:this[n(142)].to(t=>{t[n(137)]()})}}),this[n(165)](this[n(128)],n(136),t=>{const e=n;this[e(145)]=t[e(146)][e(130)].id,this[e(128)][e(144)][e(162)]=t[e(146)][e(130)][e(162)]}),this[n(154)]({tag:n(152),attributes:{class:["ck",n(139),n(160),n(159)]},children:[this[n(128)]]})}[cS(148)](){const t=cS;this[t(145)]=this[t(156)],this[t(128)][t(144)][t(162)]=this[t(158)]}[cS(140)](t=[]){const e=cS,n=new s.Collection;this[e(148)]();for(const r of t){const t=new a.UIModel({label:r[e(162)],withText:!0,role:e(124),id:r.id,model:r});t[e(143)](e(151)).to(this,e(145),e=>e===t.id);const i={type:e(127),model:t};n[e(141)](i)}return n}}function hS(){const t=["data","model","4HMVXFI","531112wZaaLO","set","187BnNYsS","locale","execute","stopPropagation","default","ck-reset_all","_prepareListOptions","add","bindTemplate","bind","buttonView","formValue","source","2951253yCwoYl","resetToDefault","length","5637394IJbZzF","isOn","div","2591032ByrzJQ","setTemplate","extendTemplate","_defaultValue","5687040cAlFUj","_defaultLabel","ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown","ck-ai-review-mode__check-list-item-parameterized-form-element","16XvUPMF","label","find","menu","listenTo","1543210twQOBS","menuitemradio","5102890OuzUrC","3geCATf","button","_dropdownView"];return(hS=function(){return t})()}const dS=pS;function pS(t,e){const n=fS();return(pS=function(t,e){return n[t-=155]})(t,e)}function fS(){const t=["_formItem","div","bind","value","135vpfrdu","28tYONsw","formType","155094ZFadIv","formValue","2xdIcoT","argsKey","locale","24452CAZmKK","ck-ai-review-mode__form-item","resetToDefault","ck-form__row_with-submit","541890ILULur","setTemplate","dropdown","368759adocge","356144psArXZ","add","children","set","ck-reset_all","2893550jPSQhl","1510467tljnzl","740IHzZRF"];return(fS=function(){return t})()}!function(t){const e=pS,n=t();for(;;)try{if(458114===-parseInt(e(161))/1+parseInt(e(179))/2*(parseInt(e(168))/3)+-parseInt(e(182))/4*(parseInt(e(169))/5)+-parseInt(e(177))/6+parseInt(e(175))/7*(parseInt(e(162))/8)+-parseInt(e(174))/9*(-parseInt(e(158))/10)+parseInt(e(167))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fS);class gS extends a.ListItemView{[dS(170)]=null;constructor(t,e,n){const r=dS;super(t),this[r(180)]=e?.[r(180)],r(160)===e[r(176)]&&(this[r(170)]=new uS(this[r(181)],e)),this[r(165)](r(173),""),this[r(172)](r(173)).to(this[r(170)],r(178));const i=new a.FormRowView(this[r(181)],{children:[this[r(170)]],class:[n?r(157):""]});n&&i[r(164)][r(163)](n),this[r(159)]({tag:r(171),attributes:{class:["ck",r(155),r(166)]},children:[i]})}[dS(156)](){const t=dS;this[t(170)][t(156)]()}}var mS=_S;function kS(){var t=["MIN_ROWS","3736eIvYaw","set","minRows","isEmpty","maxRows","ck-review-mode__prompt-input","50xeeeBK","element","5647383SdxWBa","185lEqWzh","758128MoqDZx","1874076uFTTst","MAX_ROWS","4tEnBeV","84246qvrrty","placeholder","trim","value","12546kBEXgc","update","setPlaceholderText","994334PagbIb","bindTemplate","ai-review-mode-prompt-input","extendTemplate","render","stopPropagation","147180ghngvl"];return(kS=function(){return t})()}function _S(t,e){var n=kS();return(_S=function(t,e){return n[t-=498]})(t,e)}!function(t){for(var e=_S,n=t();;)try{if(532635===-parseInt(e(513))/1*(parseInt(e(514))/2)+-parseInt(e(511))/3+-parseInt(e(510))/4+parseInt(e(509))/5*(parseInt(e(498))/6)+parseInt(e(508))/7+-parseInt(e(500))/8*(parseInt(e(518))/9)+-parseInt(e(506))/10*(-parseInt(e(521))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(kS);class bS extends a.TextareaView{static[mS(499)]=1;static[mS(512)]=12;constructor(t){var e=mS;super(t),this[e(501)](e(503),!0),this[e(502)]=bS[e(499)],this[e(504)]=bS[e(512)],this[e(524)]({attributes:{id:e(523),class:["ck",e(505)]}}),this[e(524)]({on:{click:this[e(522)].to(t=>{t[e(526)]()})}})}[mS(525)](){var t=mS;super[t(525)](),this.on(t(519),()=>{var e=t;this[e(503)]=""===this[e(507)][e(517)]?.[e(516)]()})}[mS(520)](t){var e=mS;this[e(501)](e(515),t)}}const wS=IS;function IS(t,e){const n=vS();return(IS=function(t,e){return n[t-=460]})(t,e)}function vS(){const t=["submitButtonView","cancelCustomCheck","locale","element","608076EWypmw","source","_modelSelectionDropdownItems","prompt","Review","clear","1183932IxqpMv","model","models","add","log","232vACybs","value","224ECJLIk","fire","_check","_modelSelectionDropdown","86770PSCOQr","cancelButtonView","stopPropagation","input","runReviewCheck","ck-ai-review-mode__check-list-item-custom-actions-footer","modelId","1699fjaIGk","listenTo","setTemplate","extendTemplate","buttonView","_setModelList","ck-ai-review-mode__check-list-item-custom-actions","name","12PBvoGn","bindTemplate","_createSubmitButtonView","55307PzhnHx","label","menuitemradio","353094zfTSsc","Custom check canceled","execute","_createModelSelectionDropdown","length","set","div","button","bind","ck-ai-button-primary","_createCancelButtonView","ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons","877180rzvOEA","Cancel","isOn","ck-ai-button-tertiary-filled","custom","promptInputView"];return(vS=function(){return t})()}!function(t){const e=IS,n=t();for(;;)try{if(118381===-parseInt(e(480))/1*(parseInt(e(469))/2)+-parseInt(e(494))/3+-parseInt(e(488))/4*(-parseInt(e(473))/5)+parseInt(e(516))/6+parseInt(e(491))/7*(parseInt(e(467))/8)+parseInt(e(462))/9+-parseInt(e(506))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vS);class yS extends a.View{[wS(512)];[wS(474)];[wS(511)];[wS(472)];[wS(518)];[wS(471)];constructor(t,e){const n=wS;super(t),this[n(471)]=e,this[n(499)](n(519),""),this[n(499)](n(479),""),this[n(512)]=this[n(490)](),this[n(474)]=this[n(504)](),this[n(511)]=new bS(t),this[n(511)][n(502)](n(468)).to(this,n(519)),this[n(511)].on(n(476),()=>{const t=n;this[t(519)]=this[t(511)][t(515)][t(468)]}),this[n(472)]=this[n(497)](),this[n(518)]=new s.Collection,this[n(485)](),(0,a.addListToDropdown)(this[n(472)],this[n(518)]);const r=new a.View(t);r[n(482)]({tag:n(500),attributes:{class:[n(478)]},children:[this[n(472)],{tag:n(500),attributes:{class:[n(505)]},children:[this[n(474)],this[n(512)]]}]}),this[n(482)]({tag:n(500),attributes:{class:[n(486)]},children:[new a.FormRowView(this[n(514)],{children:[this[n(511)]]}),new a.FormRowView(this[n(514)],{children:[r]})]})}[wS(490)](){const t=wS,e=new a.ButtonView(this[t(514)]);return e[t(499)]({label:t(460),withText:!0,class:t(503)}),e[t(483)]({on:{click:this[t(489)].to(e=>{e[t(475)]()})}}),e.on(t(496),()=>{const e=t;this[e(470)](e(477),{id:e(510),args:{prompt:this[e(519)],model:this[e(479)]},isCustom:!0})}),e}[wS(504)](){const t=wS,e=new a.ButtonView(this[t(514)]);return e[t(499)]({label:t(507),withText:!0,class:t(509)}),e.on(t(496),()=>{const e=t;console[e(466)](e(495)),this[e(519)]="",this[e(470)](e(513))}),e}[wS(485)](){const t=wS;this[t(518)][t(461)]();const e=this[t(471)][t(464)];if(e?.[t(498)])for(const n of e){const e=new a.UIModel({label:n[t(487)],withText:!0,role:t(493),id:n.id,model:n});e[t(502)](t(508)).to(this,t(479),t=>t===n.id),this[t(518)][t(465)]({type:t(501),model:e,labelView:new a.ButtonLabelView})}}[wS(497)](){const t=wS,e=(0,a.createDropdown)(this[t(514)]);return e[t(499)]({panelPosition:"se"}),e[t(483)]({on:{click:this[t(489)].to(e=>{e[t(475)]()})}}),e[t(484)][t(499)]({label:this[t(471)][t(464)][0][t(487)],withText:!0,tooltip:!0}),this[t(481)](e,t(496),n=>{const r=t;this[r(479)]=n[r(517)][r(463)].id,e[r(484)][r(492)]=n[r(517)][r(492)]}),e}}function AS(){const t=["element","join","span","ck-ai-review-mode__check-list-item-description","isParameterized","ck-ai-review-mode__check-list-item_rendered","isParametrizedViewOpen","description","isItemParametrized","4494765dkoKsL","4cFpYkC","runReviewCheck","push","ck-ai-review-mode__check-list-item","ck-ai-review-mode__check-list-item-title","8564650tgbyEp","setCustomCheckModel","locale","ck-ai-review-mode__check-list-item-parameterized","_createFormView","_formItemsCollection","title","bindTemplate","_createCustomView","stopPropagation","ck-ai-review-mode__check-list-item-title-text","2775249BPszxJ","6055360rROBCe","1465008QfdIPi","ck-ai-review-mode__check-list-item-title-icon","isArray","argsKey","custom","Submit","execute","resetToDefault","ck-ai-review-mode__check-list-item-parameterized-form","length","1170492iUdHSn","forEach","ck-ai-review-mode__check-list-item-parameterized_custom","isListItemRendered","render","ck-ai-review-mode__check-list-item-main-content","cancelCustomCheck","extendTemplate","content","_createParameterizedView","delegate","div","18NqaOSm","ck-ai-review-mode__check-list-item_selected","ck-ai-button-primary","set","fire","ck-hidden","value","65499Qsofpo","click","add","useArgs","_createIconView","options","726Zbgame","setTemplate","ck-ai-review-mode__check-list-item-content"];return(AS=function(){return t})()}function ES(t,e){const n=AS();return(ES=function(t,e){return n[t-=283]})(t,e)}const xS=ES;!function(t){const e=ES,n=t();for(;;)try{if(640305===parseInt(e(299))/1+-parseInt(e(289))/2+-parseInt(e(287))/3*(-parseInt(e(337))/4)+-parseInt(e(336))/5+parseInt(e(324))/6*(parseInt(e(318))/7)+parseInt(e(288))/8+-parseInt(e(311))/9*(parseInt(e(342))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(AS);class TS extends a.ListItemView{[xS(347)]=new a.ViewCollection;constructor(t,e,n){const r=xS;super(t),this[r(314)](r(333),!1),this[r(314)](r(302),!1),this[r(314)](r(335),e[r(331)]);const i=this[r(322)]();this[r(325)]({tag:r(310),attributes:{class:[r(340),this[r(283)].if(r(333),r(312),t=>t),this[r(283)].if(r(302),r(332),t=>t)],style:{"--ck-ai-check-list-item-index":n}},on:{click:this[r(283)].to(r(319))},children:[{tag:r(310),attributes:{class:[r(326)]},children:[{tag:r(310),attributes:{class:[r(304)]},children:[{tag:r(310),attributes:{class:[r(341)]},children:[{tag:r(329),attributes:{class:[r(286)]},children:[{text:e[r(348)]}]},i]},{tag:r(310),attributes:{class:[r(330)]},children:[{text:e[r(334)]}]}]}]},...e[r(331)]?[this[r(308)](e)]:[],...r(293)===e.id?[this[r(284)](e)]:[]]}),this.on(r(319),()=>{const t=r;e[t(331)]?this[t(333)]=!this[t(333)]:this[t(315)](t(338),{id:e.id})}),requestAnimationFrame(()=>{this[r(302)]=!0})}[xS(303)](){const t=xS;super[t(303)](),this[t(335)]&&(0,a.clickOutsideHandler)({emitter:this,activator:()=>!0===this[t(333)],contextElements:[this[t(327)]],callback:()=>{this[t(333)]=!1}})}[xS(296)](){const t=xS;this[t(333)]=!1,this[t(347)][t(300)](e=>{e[t(296)]()})}[xS(322)](){const t=xS,e=new a.IconView;return e[t(307)]=o.IconChevronRight,e[t(306)]({attributes:{class:[t(290)]}}),e}[xS(308)](t){const e=xS,n=new a.View,r=this[e(346)](t);return n[e(325)]({tag:e(310),attributes:{class:[e(345),this[e(283)].if(e(333),e(316),t=>!t)]},children:[r]}),n}[xS(346)](t){const e=xS,n=new a.View,r=Array[e(291)](t[e(323)])?t[e(323)]:[],i=new a.ButtonView(this[e(344)]);i[e(314)]({label:e(294),withText:!0,class:e(313)}),i[e(306)]({on:{click:this[e(283)].to(t=>{t[e(285)]()})}}),i.on(e(295),()=>{const n=e,r=[];let i;this[n(347)][n(300)](e=>{const o=n;r[o(339)](e[o(317)]),t[o(321)]&&t[o(323)]&&(i={[e[o(292)]]:e[o(317)]})});const o=t[n(321)]?t.id:[t.id,...r][n(328)]("-");this[n(315)](n(338),{id:o,args:i})});const o=r[e(298)];return r[e(300)]((t,n)=>{const r=e,s=n===o-1;this[r(347)][r(320)](new gS(this[r(344)],t,s?i:null))}),n[e(325)]({tag:e(310),attributes:{class:[e(297)]},children:this[e(347)]}),n}[xS(284)](t){const e=xS,n=new yS(this[e(344)],t);return n[e(306)]({attributes:{class:[e(345),e(301),this[e(283)].if(e(333),e(316),t=>!t)]}}),n[e(309)](e(338)).to(this),n[e(309)](e(305)).to(this),n[e(309)](e(343)).to(this),n}}var CS=n(54),SS={attributes:{"data-cke":!0}};SS.setAttributes=Et(),SS.insert=yt().bind(null,"head"),SS.domAPI=It(),SS.insertStyleElement=Tt();bt()(CS.A,SS);CS.A&&CS.A.locals&&CS.A.locals;const RS=OS;function OS(t,e){const n=NS();return(OS=function(t,e){return n[t-=150]})(t,e)}function NS(){const t=["_checkViews","div","437193ikcWxe","locale","ck-hidden","4656760GaCHhm","4yAmidA","2657925SmpQev","setCustomCheckModel","entries","length","setChecks","setTemplate","710jaudYR","isVisible","resetAllParameterizedChecks","282318JsWfqR","add","1886792OTwVHb","resetToDefault","66245MDvdiT","hasChecks","2779609JDQsYm","clear","delegate","cancelCustomCheck","ck-ai-review-mode__check-list","runReviewCheck","bindTemplate","444YlTqJo"];return(NS=function(){return t})()}!function(t){const e=OS,n=t();for(;;)try{if(510446===-parseInt(e(161))/1*(parseInt(e(171))/2)+-parseInt(e(162))/3+parseInt(e(173))/4+-parseInt(e(175))/5*(parseInt(e(154))/6)+-parseInt(e(177))/7+-parseInt(e(160))/8+parseInt(e(157))/9*(parseInt(e(168))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(NS);class LS extends a.ListItemView{[RS(155)];constructor(t){const e=RS;super(t),this[e(155)]=new a.ViewCollection;const n=this[e(153)];this[e(167)]({tag:e(156),attributes:{class:[e(151),n.if(e(169),e(159),t=>!t)]},children:this[e(155)]})}[RS(166)](t){const e=RS;this[e(155)][e(178)]();for(const[n,r]of t[e(164)]()){const t=new TS(this[e(158)],r,n);t[e(179)](e(152)).to(this),t[e(179)](e(150)).to(this),t[e(179)](e(163)).to(this),this[e(155)][e(172)](t)}}[RS(176)](){const t=RS;return this[t(155)][t(165)]>0}[RS(170)](){const t=RS;for(const e of this[t(155)])e instanceof TS&&e[t(174)]()}}function PS(t,e){const{t:n}=t;switch(e){case"AI_REVIEW_MODE_STOP_GENERATING":return n({id:"AI_REVIEW_MODE_STOP_GENERATING",string:"Stop generating"});case"AI_REVIEW_MODE_HIDE_CHANGES":return n({id:"AI_REVIEW_MODE_HIDE_CHANGES",string:"Hide changes"});case"AI_REVIEW_MODE_SHOW_CHANGES":return n({id:"AI_REVIEW_MODE_SHOW_CHANGES",string:"Show changes"});case"AI_REVIEW_MODE_ACCEPT_ALL":return n({id:"AI_REVIEW_MODE_ACCEPT_ALL",string:"Accept all"});case"AI_REVIEW_MODE_EXIT_REVIEW":return n({id:"AI_REVIEW_MODE_EXIT_REVIEW",string:"Exit review"});case"AI_REVIEW_MODE_ACCEPT_CHANGE":return n({id:"AI_REVIEW_MODE_ACCEPT_CHANGE",string:"Accept"});case"AI_REVIEW_MODE_DISMISS_CHANGE":return n({id:"AI_REVIEW_MODE_DISMISS_CHANGE",string:"Dismiss"});case"AI_REVIEW_MODE_LEARN_MORE":return n({id:"AI_REVIEW_MODE_LEARN_MORE",string:"Learn more"});case"AI_REVIEW_MODE_COMPLETED_TEXT":return n({id:"AI_REVIEW_MODE_COMPLETED_TEXT",string:"There's nothing left to review. You can now return to the command list."});case"AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL":return n({id:"AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL",string:"Finish Review"});case"AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE":return n({id:"AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE",string:"Review complete. Finish when ready."});case"AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE":return n({id:"AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE",string:"Sorry, we couldn't generate the whole review properly. Please try again in a moment."});case"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE":return n({id:"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE",string:"Not everything went through, but the completed items are listed below."});default:return e}}const MS=DS;function DS(t,e){const n=HS();return(DS=function(t,e){return n[t-=157]})(t,e)}function HS(){const t=["ck-ai-review-mode__check-run-result_active","1443000muZjOY","div","AI_REVIEW_MODE_ACCEPT_CHANGE","ck-ai-review-mode__check-run-result","AI_REVIEW_MODE_LEARN_MORE","1032695NNIjCk","819144lgtPLB","bindTemplate","6jmyYZu","dismissButtonView","isOn","setItemAsActive","resultResponseView","ck-ai-button-tertiary-filled ck-ai-review-mode__check-run-result-info-button ck-hidden","_createAcceptButtonView","menuitemcheckbox","dismissChange","_createInfoButtonView","58659rgYpsg","ck-ai-review-mode__check-run-result-footer","log","stopPropagation","bind","acceptChange","setTemplate","extendTemplate","execute","18czcyiU","ck-ai-review-mode__check-run-result-action-buttons","854252ROAUqk","Toggle info view","AI_REVIEW_MODE_DISMISS_CHANGE","ck-ai-button-secondary ck-ai-review-mode__check-run-result-accept-button","64XcaQMZ","isActive","locale","click","_createResultResponseView","acceptButtonView","infoButtonView","setItemAsInactive","108526hFlAYg","ck-ai-button-tertiary-filled ck-ai-review-mode__check-run-result-dismiss-button","ck-ai-review-mode__check-run-result-response","fire","239121adEkRP","set","isInfoToggleOn","scrollToSuggestionInDocument","_createDismissButtonView"];return(HS=function(){return t})()}!function(t){const e=DS,n=t();for(;;)try{if(107994===parseInt(e(194))/1+parseInt(e(180))/2*(parseInt(e(171))/3)+-parseInt(e(159))/4+parseInt(e(158))/5*(-parseInt(e(161))/6)+-parseInt(e(182))/7+parseInt(e(186))/8*(parseInt(e(198))/9)+parseInt(e(204))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(HS);class BS extends a.View{[MS(165)];[MS(191)];[MS(162)];[MS(192)];constructor(t,e){const n=MS;super(t),this.id=e,this[n(165)]=this[n(190)](),this[n(191)]=this[n(167)](e),this[n(162)]=this[n(202)](e),this[n(192)]=this[n(170)](),this[n(199)](n(200),!1),this[n(199)](n(187),!1),this[n(177)]({tag:n(205),attributes:{class:[n(207),this[n(160)].if(n(187),n(203))]},on:{click:this[n(160)].to(n(189))},children:[this[n(165)],{tag:n(205),attributes:{class:[n(172)]},children:[{tag:n(205),attributes:{class:[n(181)]},children:[this[n(191)],this[n(162)]]},this[n(192)]]}]}),this.on(n(189),()=>{const t=n;this[t(197)](t(201),{id:e,source:this})})}[MS(164)](){this[MS(187)]=!0}[MS(193)](){this[MS(187)]=!1}[MS(190)](){const t=MS,e=new a.View(this[t(188)]);return e[t(177)]({tag:t(205),attributes:{class:[t(196)]}}),e}[MS(167)](t){const e=MS,n=new a.ButtonView(this[e(188)]);return n[e(199)]({label:PS(this[e(188)],e(206)),withText:!0,class:e(185)}),n[e(178)]({on:{click:this[e(160)].to(n=>{const r=e;this[r(197)](r(176),{id:t}),n[r(174)]()})}}),n}[MS(202)](t){const e=MS,n=new a.ButtonView(this[e(188)]);return n[e(199)]({label:PS(this[e(188)],e(184)),withText:!0,class:e(195)}),n[e(178)]({on:{click:this[e(160)].to(n=>{const r=e;this[r(197)](r(169),{id:t}),n[r(174)]()})}}),n}[MS(170)](){const t=MS,e=new a.ButtonView(this[t(188)]);return e[t(199)]({label:PS(this[t(188)],t(157)),icon:o.IconInfo,tooltip:!0,isToggleable:!0,role:t(168),class:t(166)}),e[t(175)](t(163)).to(this,t(200),t=>t),e.on(t(179),()=>{const e=t;console[e(173)](e(183)),this[e(200)]=!this[e(200)]}),e}}var US=n(639),VS={attributes:{"data-cke":!0}};VS.setAttributes=Et(),VS.insert=yt().bind(null,"head"),VS.domAPI=It(),VS.insertStyleElement=Tt();bt()(US.A,VS);US.A&&US.A.locals&&US.A.locals;class qS extends a.ListItemView{_resultViews;resultsHeader;reviewDisclaimer;_cancelButtonView;_acceptAllButtonView;_exitReviewButtonView;_toggleDiffButtonView;_errorMessageView;constructor(t){super(t),this._resultViews=new a.ViewCollection,this._cancelButtonView=this._createCancelButtonView(),this._acceptAllButtonView=this._createAcceptAllButtonView(),this._exitReviewButtonView=this._createExitReviewButtonView(),this._toggleDiffButtonView=this._createToggleDiffButtonView(),this.resultsHeader=this._createResultHeaderView(),this._errorMessageView=this._createErrorView(),this.reviewDisclaimer=new Ax(t),this.set("isLoading",!1),this.set("isToggleDiffOn",!1),this.set("isResultReady",!1),this.set("headerTitle",""),this.set("isError",!1),this.set("showErrorMessage",!1),this.set("errorType","general");const e=this._createCombinedSkeletonLoader(),n=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-run",n.if("isVisible","ck-hidden",t=>!t)]},children:[this.resultsHeader,{tag:"div",attributes:{class:["ck-ai-review-mode__check-run-results-wrapper"]},children:[this._errorMessageView,{tag:"div",attributes:{class:["ck-ai-review-mode__check-run-results-container",this.bindTemplate.if("isLoading","ck-hidden",t=>t)]},children:this._resultViews},e]},this.reviewDisclaimer]})}clearResults(){this._resultViews.clear()}getResults(){return this._resultViews}addResult(t){const e=new BS(this.locale,t.id);e.delegate("acceptChange","dismissChange","scrollToSuggestionInDocument").to(this),this._resultViews.add(e),e.resultResponseView.element.innerHTML=t.contentDiffed}hideResult(t){const e=this._resultViews.find(e=>e.id===t);e&&(e.element?.classList.add("ck-ai-review-mode__check-run-result_removing"),e.element?.addEventListener("animationend",()=>{this._resultViews.remove(e),e.destroy()},{once:!0}))}setTitle(t){this.headerTitle=t}showChunkErrorMessage(){this.errorType="chunk",this.showErrorMessage=!0}showGeneralErrorMessage(){this.isError=!0,this.errorType="general",this.showErrorMessage=!0}resetErrorState(){this.isError=!1,this.errorType="general",this.showErrorMessage=!1}_createSkeletonLoader(){return new BA(this.locale,UA.aiReviewChecks)}_createCombinedSkeletonLoader(){const t=new a.View(this.locale),e=[];for(let t=0;t<16;t++){const t=this._createSkeletonLoader();t.extendTemplate({attributes:{class:["ck-ai-review-mode__check-run-skeleton-item"]}}),e.push(t)}return t.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-run-skeleton-container",this.bindTemplate.if("isLoading","ck-hidden",t=>!t)]},children:e}),t}_createErrorView(){const t=new a.View(this.locale),e=new a.ButtonView(this.locale),n=this.locale.t;return t.delegate("retryReview").to(this),e.set({label:n("Try again"),withText:!0,class:"ck-ai-button-secondary ck-ai-review-mode__check-run-error-retry-button"}),e.on("execute",()=>{this.fire("retryReview")}),t.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-run-error-container",this.bindTemplate.if("showErrorMessage","ck-hidden",t=>!t),this.bindTemplate.if("errorType","ck-ai-review-mode__check-run-error-container_border-bottom",t=>"chunk"===t)]},children:[{tag:"div",attributes:{class:["ck","ck-ai-chat-error","ck-ai-chat-error_full-width","ck-ai-review-mode__check-run-error-message",this.bindTemplate.if("errorType","ck-ai-chat-error_warning",t=>"chunk"===t)]},children:[{tag:"p",attributes:{class:["ck-ai-chat-error__content",this.bindTemplate.if("errorType","ck-hidden",t=>"general"!==t)]},children:[{text:PS(this.locale,"AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE")}]},{tag:"p",attributes:{class:["ck-ai-chat-error__content",this.bindTemplate.if("errorType","ck-hidden",t=>"chunk"!==t)]},children:[{text:PS(this.locale,"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE")}]}]},e]}),t}_createCancelButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:PS(this.locale,"AI_REVIEW_MODE_STOP_GENERATING"),withText:!0,class:["ai-chat-controls-loader__cancel-button"],icon:o.IconStop}),t.extendTemplate({attributes:{class:[this.bindTemplate.if("isResultReady","ck-hidden",t=>t)]}}),t.on("execute",()=>{this.fire("abortReviewStream")}),t}_createToggleDiffButtonView(){const t=new a.ButtonView(this.locale);t.set({tooltip:!0,isToggleable:!0,role:"menuitemcheckbox"}),t.bind("isEnabled").to(this,"isError",t=>!t),t.extendTemplate({attributes:{class:["ck-ai-button-secondary","ck-ai-review-mode__check-run-toggle-diff-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t)]}});const e=PS(this.locale,"AI_REVIEW_MODE_HIDE_CHANGES"),n=PS(this.locale,"AI_REVIEW_MODE_SHOW_CHANGES");return t.bind("isOn").to(this,"isToggleDiffOn",t=>t),t.bind("icon").to(this,"isToggleDiffOn",t=>t?o.IconEye:o.IconEyeCrossedOut),t.bind("label").to(this,"isToggleDiffOn",t=>t?e:n),t.on("execute",()=>{this.isToggleDiffOn=!this.isToggleDiffOn,this.fire("toggleDiff",{on:this.isToggleDiffOn})}),t}_createAcceptAllButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:PS(this.locale,"AI_REVIEW_MODE_ACCEPT_ALL"),withText:!0}),t.bind("isEnabled").to(this,"isError",t=>!t),t.extendTemplate({attributes:{class:["ck-ai-button-primary","ck-ai-review-mode__check-run-accept-all-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t)]}}),t.on("execute",()=>{this.fire("acceptAllChanges")}),t}_createExitReviewButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:PS(this.locale,"AI_REVIEW_MODE_EXIT_REVIEW"),withText:!0}),t.extendTemplate({attributes:{class:["ck-ai-button-tertiary-filled","ck-ai-review-mode__check-run-exit-button",this.bindTemplate.if("isResultReady","ck-hidden",t=>!t)]}}),t.on("execute",()=>{this.fire("leaveReviewModeResultList")}),t}_createResultHeaderView(){const t=new a.View(this.locale),e=new Yv;return e.bind("isVisible").to(this,"isResultReady",t=>!t),t.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-run-results-header"]},children:[{tag:"span",attributes:{class:["ck-ai-review-mode__check-run-results-header-title"]},children:[{text:this.bindTemplate.to("headerTitle")}]},{tag:"div",attributes:{class:["ck-ai-review-mode__check-run-results-header-buttons"]},children:[e,this._cancelButtonView,this._acceptAllButtonView,this._exitReviewButtonView,this._toggleDiffButtonView]}]}),t}}var FS=n(691),zS={attributes:{"data-cke":!0}};zS.setAttributes=Et(),zS.insert=yt().bind(null,"head"),zS.domAPI=It(),zS.insertStyleElement=Tt();bt()(FS.A,zS);FS.A&&FS.A.locals&&FS.A.locals;function GS(){const t=["450PRYwRt","isVisible","resultsHeader","ck-ai-review-mode__review-completed-content","AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL","1304TKLPJw","locale","AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE","_createResultHeaderView","span","1278yDsvff","execute","setTemplate","ck-ai-review-mode__review-completed-content-text","4800eXwkXi","25150lDCgOe","12dZYrIH","_finishReviewButtonView","ck-ai-button-primary","2248192WibcHp","AI_REVIEW_MODE_COMPLETED_TEXT","7jKPbNm","_createFinishReviewButtonView","bindTemplate","11543499kJRLuB","set","342834EdlWFD","1244172SgVHYP","ck-ai-review-mode__review-completed","div","958WbWsvr","ck-ai-review-mode__review-completed-content-icon","finishReview","ck-ai-review-mode__review-completed-header","ck-hidden","ck-ai-review-mode__review-completed-header-buttons","ck-ai-review-mode__review-completed-header-title","fire"];return(GS=function(){return t})()}const jS=WS;function WS(t,e){const n=GS();return(WS=function(t,e){return n[t-=227]})(t,e)}!function(t){const e=WS,n=t();for(;;)try{if(187025===parseInt(e(263))/1*(-parseInt(e(255))/2)+-parseInt(e(251))/3+parseInt(e(230))/4*(parseInt(e(239))/5)+-parseInt(e(252))/6+parseInt(e(246))/7*(-parseInt(e(244))/8)+parseInt(e(235))/9*(-parseInt(e(240))/10)+parseInt(e(249))/11*(parseInt(e(241))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GS);class YS extends a.ListItemView{[jS(227)];[jS(242)];constructor(t){const e=jS;super(t),this[e(242)]=this[e(247)](),this[e(227)]=this[e(233)]();const n=this[e(248)];this[e(237)]({tag:e(254),attributes:{class:[e(253),n.if(e(264),e(259),t=>!t)]},children:[this[e(227)],{tag:e(254),attributes:{class:[e(228)]},children:[{tag:e(234),attributes:{class:[e(256)]},children:[{text:"🎉"}]},{tag:"p",attributes:{class:[e(238)]},children:[{text:PS(t,e(245))}]}]}]})}[jS(247)](){const t=jS,e=new a.ButtonView(this[t(231)]);return e[t(250)]({label:PS(this[t(231)],t(229)),withText:!0,class:t(243)}),e.on(t(236),()=>{const e=t;this[e(262)](e(257))}),e}[jS(233)](){const t=jS,e=new a.View(this[t(231)]);return e[t(237)]({tag:t(254),attributes:{class:[t(258)]},children:[{tag:t(234),attributes:{class:[t(261)]},children:[{text:PS(this[t(231)],t(232))}]},{tag:t(254),attributes:{class:[t(260)]},children:[this[t(242)]]}]}),e}}var KS=QS;function $S(){var t=["showReviewCompletedView","ck-rounded-corners","reviewCheckListView","6143088VdjvXB","isResultReady","ck-ai-header ck-ai-header_review-mode","delegate","setTemplate","16wvZgot","isLoading","11clOzHP","Review Mode","reviewCompletedView","isVisible","showActionsWhenResultIsReady","clearResults","addResult","2364588cmcPKo","addCheckRunResult","44645zNIcUg","div","reviewCheckResultsView","918743CVzKWk","ck-reset_all","ltr","24owqEPo","1609108IHFTMh","showGeneralErrorMessage","ck-ai-review-mode","showReviewCheckResultsView","showGeneralErrorView","resetErrorState","showChunkErrorMessage","showReviewCheckListView","finishReview","10181680LltnBc","reviewModeHeader","ck-content ","hideActionsWhenResultIsReady","set","resetAllParameterizedChecks","404346uzJnwK","324EQZJEz","showChunkErrorView"];return($S=function(){return t})()}function QS(t,e){var n=$S();return(QS=function(t,e){return n[t-=348]})(t,e)}!function(t){for(var e=QS,n=t();;)try{if(818763===parseInt(e(350))/1+-parseInt(e(354))/2+parseInt(e(369))/3*(parseInt(e(380))/4)+-parseInt(e(391))/5*(parseInt(e(370))/6)+parseInt(e(375))/7+-parseInt(e(353))/8*(-parseInt(e(389))/9)+parseInt(e(363))/10*(-parseInt(e(382))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($S);class XS extends a.View{[KS(364)];[KS(374)];[KS(349)];[KS(384)];constructor(t){var e=KS;super(t),this[e(364)]=new a.FormHeaderView(t,{label:e(383),icon:o.IconAIReview,class:e(377)}),this[e(374)]=new LS(t),this[e(374)][e(378)](...rR).to(this),this[e(349)]=new qS(t),this[e(349)][e(378)](...rR).to(this),this[e(384)]=new YS(t),this[e(384)][e(378)](e(362)).to(this),this[e(374)][e(367)](e(385),!1),this[e(349)][e(367)](e(385),!1),this[e(349)][e(367)](e(381),!1),this[e(349)][e(367)](e(376),!1),this[e(384)][e(367)](e(385),!1),this[e(379)]({tag:e(348),attributes:{class:["ck",e(365),e(351),e(356),e(373)],dir:e(352)},children:[this[e(364)],this[e(374)],this[e(349)],this[e(384)]]})}[KS(361)](){var t=KS;this[t(374)][t(368)](),this[t(374)][t(367)](t(385),!0),this[t(349)][t(367)](t(385),!1),this[t(384)][t(367)](t(385),!1)}[KS(357)](){var t=KS;this[t(366)](),this[t(349)][t(359)](),this[t(374)][t(367)](t(385),!1),this[t(349)][t(367)](t(385),!0),this[t(349)][t(387)](),this[t(349)][t(367)](t(381),!0)}[KS(390)](t){var e=KS;this[e(349)][e(388)](t),this[e(349)][e(367)](e(381),!1)}[KS(372)](){var t=KS;this[t(374)][t(367)](t(385),!1),this[t(349)][t(367)](t(385),!1),this[t(384)][t(367)](t(385),!0)}[KS(386)](){var t=KS;this[t(349)][t(376)]=!0}[KS(366)](){var t=KS;this[t(349)][t(376)]=!1}[KS(358)](){var t=KS;this[t(349)][t(367)](t(381),!1),this[t(386)](),this[t(349)][t(355)]()}[KS(371)](){var t=KS;this[t(349)][t(367)](t(381),!1),this[t(386)](),this[t(349)][t(360)]()}}var ZS=n(176),JS={attributes:{"data-cke":!0}};JS.setAttributes=Et(),JS.insert=yt().bind(null,"head"),JS.domAPI=It(),JS.insertStyleElement=Tt();bt()(ZS.A,JS);ZS.A&&ZS.A.locals&&ZS.A.locals;const tR=nR;function eR(){const t=["setChecks","updateChangeState","plugins","runCustomCheckReview","toggleDiff","1432ZxNfRH","init","abortReviewStream","137cPFaAt","cancelCustomCheck","isOfficialPlugin","showCheckRunResults","leaveReviewMode","acceptAllChanges","isPremiumPlugin","runReviewCheck","_reviewModeView","reviewMode","hideResult","leaveReviewModeResultList","showGeneralErrorView","activateTab","dismissChange","showReviewCheckList","showReviewCheckResultsView","setItemAsInactive","showReviewCompletedView","scrollToSuggestionInDocument","showChunkErrorView","setTitle","1350524TRhonC","9541CEffVh","hideActionsWhenResultIsReady","205068PVwQhi","acceptChange","getReviewCheckList","2650liFgxV","3aganft","reviewCheckResultsView","retryReview","error-chunk","addTab","showActionsWhenResultIsReady","error-general","pluginName","learnMore","view","setCheckResultTitle","hasChecks","locale","showCheckRunResult","1024137jzikjk","showReviewCheckListView","getResults","setAvailableChecks","Review Mode","rejected","AITabs","accepted","delegate","setCustomCheckModel","forEach","context","fire","1507495DhAAlg","reviewCheckListView","get","AIReviewModeUI","requires","status","addCheckRunResult","resetActiveStateInResults","10883270CQjlzR","finishReview"];return(eR=function(){return t})()}function nR(t,e){const n=eR();return(nR=function(t,e){return n[t-=130]})(t,e)}!function(t){const e=nR,n=t();for(;;)try{if(171666===-parseInt(e(179))/1*(parseInt(e(133))/2)+parseInt(e(134))/3*(-parseInt(e(201))/4)+-parseInt(e(161))/5+parseInt(e(130))/6+parseInt(e(202))/7*(-parseInt(e(176))/8)+parseInt(e(148))/9+parseInt(e(169))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(eR);const rR=[tR(132),tR(186),tR(174),tR(180),tR(157),tR(178),tR(175),tR(184),tR(190),tR(198),tR(131),tR(193),tR(142),tR(170),tR(136)];class iR extends i.ContextPlugin{[tR(187)];static get[tR(165)](){return[Uc]}static get[tR(141)](){return tR(164)}static get[tR(181)](){return!0}static get[tR(185)](){return!0}constructor(t){const e=tR;super(t),this[e(187)]=new XS(this[e(159)][e(146)]),this[e(187)][e(156)](...rR).to(this)}[tR(177)](){const t=tR,e=this[t(159)][t(173)][t(163)](t(154));e[t(143)].on(t(192),(e,n)=>{const r=t;r(188)===n?this[r(160)](r(132)):this[r(160)](r(183))}),e[t(143)][t(138)]({id:t(188),buttonLabel:t(152),buttonIcon:o.IconAIReview,order:0,content:this[t(187)]})}[tR(151)](t){const e=tR;this[e(187)][e(162)][e(145)]()||this[e(187)][e(162)][e(171)](t),this[e(187)][e(149)]()}[tR(194)](){const t=tR;this[t(160)](t(132))}[tR(182)](t){const e=tR;t&&(e(140)!==t[e(166)]?e(137)!==t[e(166)]?this[e(187)][e(195)]():this[e(199)]():this[e(191)]())}[tR(147)](t){const e=tR;this[e(187)][e(167)](t)}[tR(191)](){const t=tR;this[t(187)][t(191)]()}[tR(199)](){const t=tR;this[t(187)][t(199)]()}[tR(144)](t){const e=tR;this[e(187)][e(135)][e(200)](t)}[tR(168)](){const t=tR;this[t(187)][t(135)][t(150)]()[t(158)](e=>e[t(196)]())}[tR(172)](t,e){const n=tR;n(155)!==e&&n(153)!==e||this[n(187)][n(135)][n(189)](t)}[tR(197)](){const t=tR;this[t(187)][t(197)]()}[tR(139)](){const t=tR;this[t(187)][t(139)]()}[tR(203)](){const t=tR;this[t(187)][t(203)]()}}function oR(){const t=["htmlProcessor","getShiftedBy","remove-context","DocumentCompare","No element found for ID: ","_findAdjacentContextDistance","innerHTML","getRange","data",'[data-id="',"start","oldRange","log","offset","index","dataDowncast","getDocumentData","hasContentAfter","ai-review-mode","nodes","rejectChange","addMarker","enableReadOnlyMode","_getMarkersDataForGroup","documentFragment","isTouching","_getTopElement","AIEditing","jumpTo","_getOperationEnd","htmlWriter","createPositionAt","clear","insert","model:$text","ck-ai_review-mode-marker_context-","editingDowncast","context","33642895LBlbtr","elements","baseVersion","applyOperation","afterInit","_getChangeContext","929982CjOfQe","forward","getPath","newRange","marker","toData","deleteContent","getHtml","markerName","clone","_groupAdjacentOperations","_createGetContentUsingDataIdFn","getDiff","map","add","ck-ai_review-mode-marker_add","parse","text","isAtStart","keys","getChildren","push","_createGetContentFn","stringify","from","7856fUYpLB","createDocumentFragment","operationsA","ck-ai_review-mode-marker_context-start","markerToHighlight","type","end","suggestion:deletion:id:authorId:","operationsIsolated","startsWith","isPremiumPlugin","getRoots","hasClass","getChild","isInline","addOperation","9OYGKmn","change","delete","domConverter","createSelection","getOperations","howMany","document","_markers","set","backward","path","AIReviewModeEditing","downcast","pluginName","ck-ai_review-mode-marker_hide","span","79FFadVO","_removeChildren","_changePosition","parent","createPositionAfter","5esMeAG","reviewmode-","remove-only","applyChange","requires","markers","length","position","removeMarker","$documentFragment","_changePositionOwnerDocument","_appendChild","switchToEdit","exec","getAttribute","markChangePositionInEditorContent","_shiftOperation","3866991SHFJCC","plugins","append","toView","ck-ai_review-mode-marker_underline","switchToReadOnly","warn","createRawElement","ellipsisBefore","scrollToChangeInEditorContent","diffContent","every","schema","ck-ai_review-mode-marker_context-end","isAtEnd","version","_translateOperationToEditorContent","remove-text","history","createUIElement","affectsData","createText","isOfficialPlugin","element","querySelector","_nextDataId","hasContentBefore","concat","filter","values","ck-ai_review-mode-marker_strikethrough","11701310KrBaAC","model","_changeRangeOwnerDocument","clearAllMarkers","groupId","disableReadOnlyMode","1610VtYykp","for","name","insertContent","_changeOperationOwnerDocument","processor","7343zZvSEb","ellipsisAfter","attributeToAttribute","_insertMarkers","markerToElement","suggestion-context","$textProxy","_setAttribute","$markedRemove","Scroll to change in editor content","viewToDom","offsetSize","createRange","caption","_getOperationStart","_changeRange","getContentElement","isOpening","getRoot","get","outerHTML","_createGetContextFn","_clone","4168396DoTPmn","childCount","isDocumentOperation","suggestion:insertion:id:authorId:","batch","toDomElement","conversion"];return(oR=function(){return t})()}const sR=aR;function aR(t,e){const n=oR();return(aR=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=aR,n=t();for(;;)try{if(702700===-parseInt(e(364))/1*(parseInt(e(423))/2)+-parseInt(e(386))/3+parseInt(e(255))/4*(parseInt(e(369))/5)+parseInt(e(306))/6+parseInt(e(429))/7*(-parseInt(e(331))/8)+parseInt(e(347))/9*(-parseInt(e(417))/10)+parseInt(e(300))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(oR);const cR=sR(370);class lR extends i.ContextPlugin{static get[sR(361)](){return sR(359)}static get[sR(373)](){return[iI,kb]}static get[sR(408)](){return!0}static get[sR(341)](){return!0}[sR(355)]=new Map;[sR(304)](){const t=sR,e=db(this[t(299)]);e[t(261)][t(424)](t(298))[t(433)]({model:cR+t(295),view:(e,{writer:n})=>{const r=t,i=this[r(355)][r(251)](e[r(314)]);return n[r(405)](r(363),{class:r(321)},function(t){const e=r,n=this[e(260)](t);return n[e(268)]=i?.[e(323)]||"",n})}}),e[t(261)][t(424)](t(277))[t(433)]({model:cR+t(434),view:(e,{writer:n})=>n[t(393)](t(363),{class:t(297)+(e[t(249)]?t(272):t(337))})}),e[t(261)][t(424)](t(298))[t(335)]({model:cR+t(371),view:()=>({classes:t(416)})}),e[t(261)][t(424)](t(298))[t(335)]({model:cR+t(264),view:()=>({classes:t(390)})}),e[t(261)][t(424)](t(298))[t(335)]({model:cR+t(403),view:()=>({classes:t(362)})}),e[t(261)][t(424)](t(360))[t(431)]({model:eI,view:nI})}[sR(278)](){const t=sR,e=this[t(299)][t(387)][t(251)](t(289)),n=db(this[t(299)]),r=n[t(418)],i=new u.ModelDocumentFragment;for(const e of r[t(354)][t(250)]()[t(326)]()){const n=e[t(254)](!0);i[t(380)](n)}for(const e of r[t(374)])i[t(374)][t(356)](e[t(425)],this[t(419)](e[t(269)]()[t(315)](),i));const o=new u.ModelTreeWalker({ignoreElementEnd:!0,startPosition:r[t(293)](i,0)}),s=new Set,a=new Map;for(const{item:i}of o){if(!i.is(t(435)))continue;const c=i[t(367)];if((!c||!c.is(t(409),t(245)))&&c&&c.is(t(409))){let i=c[t(383)](eI);i||(i=e[t(411)](s),c[t(436)](eI,i)),s[t(320)](i);const l=this[t(288)](c);a[t(356)](i,{path:c[t(308)](),getContent:this[t(317)](l[t(254)](!0),i,n[t(270)])}),o[t(290)](r[t(368)](c))}}return{content:n[t(270)][t(428)][t(311)](n[t(270)][t(389)](i)),version:n[t(418)][t(354)][t(401)],elements:a}}[sR(396)](t,e){const n=sR,r=db(this[n(299)]),i=r[n(270)][n(322)](t,n(378)),o=r[n(418)][n(293)](i,0),s=this[n(299)][n(387)][n(251)](n(265))[n(318)](t,e,{anchor:o,markDeletions:!0})[n(352)]()[n(414)](t=>n(295)===t[n(336)]||n(310)===t[n(336)]&&t[n(425)][n(340)](n(437))),a=this[n(316)](s),c=[];let l=0;return r[n(418)][n(348)](t=>{const e=n;for(let n=0;n<a[e(375)];n++){const o=a[n],s=t[e(332)]();for(const n of i[e(326)]())t[e(388)](n[e(254)](!0),s);for(const n of o[e(339)])if(e(295)===n[e(336)]){const i=n;i[e(302)]=null,i[e(257)]=!1,this[e(427)](i,s),t[e(259)][e(346)](n),r[e(418)][e(303)](n);const o=e(258)+l++,a=r[e(418)][e(244)](i[e(376)],i[e(376)][e(263)](i[e(353)]));s[e(374)][e(356)](o,a)}else if(e(310)===n[e(336)]&&n[e(425)][e(340)](e(437))){const t=n,r=e(338)+l++;this[e(427)](t,s),s[e(374)][e(356)](r,t[e(309)])}const h=this[e(305)](this[e(379)](this[e(246)](o[e(339)][0]),s),this[e(379)](this[e(291)](o[e(339)][o[e(339)][e(375)]-1]),s));s[e(374)][e(356)](cR+e(434),new u.ModelRange(h[e(272)],h[e(337)])),c[e(327)]({...o,context:this[e(253)](s,r[e(270)],{ellipsisBefore:h[e(412)],ellipsisAfter:h[e(279)]}),content:this[e(328)](s,r[e(270)])})}}),c}[sR(384)](t,e){const n=sR,r=t[0][n(367)].id,i=e[n(301)][n(251)](r);if(!i)return void console[n(392)](n(266)+r);const o=i[n(358)],s=db(this[n(299)]),a=s[n(418)][n(354)][n(404)][n(352)](e[n(401)]),c=[];for(const e of t){const t=e[n(339)][n(319)](t=>this[n(402)](t,o,s[n(418)][n(354)][n(342)]()[0]));if(!t||!t[n(375)])continue;const r=t[n(397)](t=>n(310)===t[n(336)]&&t[n(425)][n(340)](n(437))),i={document:s[n(418)][n(354)],useRelations:!1,padWithNoOps:!1},l=(0,u.transformOperationSets)(t,a,i)[n(333)];for(const t of l)if(n(295)===t[n(336)]){const r=t,i=r[n(281)];let o="";for(const t of i)t&&t.is(n(296))&&(o+=t[n(270)]);c[n(327)]({start:r[n(376)],end:r[n(376)],type:n(295),groupId:e.id,text:o})}else if(n(310)===t[n(336)]&&t[n(425)][n(340)](n(437))){const i=t;let o=n(403);if(r){const t=this[n(267)](i[n(309)][n(272)],n(357),s[n(418)][n(398)]),r=this[n(267)](i[n(309)][n(337)],n(307),s[n(418)][n(398)]);if(t||r){const o=i[n(309)][n(272)][n(263)](-t),s=i[n(309)][n(337)][n(263)](r);c[n(327)]({start:o,end:s,groupId:e.id,type:n(264)})}else o=n(371)}c[n(327)]({start:i[n(309)][n(272)],end:i[n(309)][n(337)],groupId:e.id,type:o})}}this[n(432)](c)}[sR(420)](){const t=sR;db(this[t(299)])[t(418)][t(348)](e=>{const n=t;for(const t of this[n(355)][n(325)]())e[n(377)](t)}),this[t(355)][t(294)]()}[sR(391)](){const t=sR;db(this[t(299)])[t(284)](t(280))}[sR(381)](){const t=sR;db(this[t(299)])[t(422)](t(280))}[sR(372)](t){const e=sR,n=db(this[e(299)]),r=n[e(418)],i=this[e(285)](t);r[e(348)](t=>{const o=e;for(const e of i){const i=n[o(418)][o(374)][o(251)](e.id);i&&(o(295)===e[o(336)]?r[o(426)](t[o(407)](e[o(323)]||""),i[o(269)]()[o(272)]):o(403)!==e[o(336)]&&o(371)!==e[o(336)]||r[o(312)](r[o(351)](i[o(269)]())),t[o(377)](e.id),this[o(355)][o(349)](e.id))}})}[sR(282)](t){const e=sR,n=db(this[e(299)]),r=this[e(285)](t);n[e(418)][e(348)](t=>{const n=e;for(const e of r)t[n(377)](e.id),this[n(355)][n(349)](e.id)})}[sR(248)](){const t=sR,e=db(this[t(299)]);return e&&e.ui&&e.ui[t(409)]?e.ui[t(409)]:null}[sR(402)](t,e,n){const r=sR;if(r(295)===t[r(336)]){const i=t;return new u.InsertOperation(this[r(366)](i[r(376)],e[r(413)](i[r(376)][r(275)]),n),i[r(281)],i[r(302)])}if(r(310)===t[r(336)]&&t[r(425)][r(340)](r(437))){const i=t;return new u.MarkerOperation(i[r(425)],i[r(273)],this[r(247)](i[r(309)],e[r(413)](i[r(309)][r(272)][r(275)]),e[r(413)](i[r(309)][r(337)][r(275)]),n),i[r(355)],i[r(406)],i[r(302)])}return t}[sR(316)](t){const e=sR;if(!t[e(375)])return[];const n=[];let r=0,i=0,o=[];for(let s=0;s<=t[e(375)];s++){const a=t[s],c=t[s-1];!a||c&&!this[e(291)](c)[e(287)](this[e(246)](a))?(n[e(327)]({operations:o,operationsIsolated:o[e(319)](t=>this[e(385)](t[e(315)](),-i)),groupOffset:r}),o=a?[a]:[],i+=r,r=0):o[e(327)](a),a&&e(295)===a[e(336)]&&(r+=a[e(353)])}return n}[sR(395)](t){const e=sR;console[e(274)](e(241),t.id)}[sR(267)](t,e,n,r=1){const i=sR,o=new u.ModelTreeWalker({startPosition:t,direction:e});let s=0;for(let a=0;a<r;a++){let r=0,a=!1,c=i(307)===e?/^\W*\w+/:/\w+\W*$/;for(const{item:t}of o)if(t.is(i(435))){const n=c[i(382)](t[i(270)]);if(n&&n[i(375)]){if(r+=i(307)===e?n[i(276)]+n[0][i(375)]:t[i(270)][i(375)]-n[i(276)],n[0][i(375)]!==t[i(270)][i(375)])break;a=!0,c=i(307)===e?/^\w+/:/\w+$/}else{if(a)break;r+=t[i(243)]}}else if(t.is(i(409))){n[i(345)](t)&&!a&&(r+=1);break}s+=r,o[i(290)](t[i(263)](i(307)===e?s:-s))}return s}[sR(305)](t,e){const n=sR,r=db(this[n(299)])[n(418)][n(398)],i=this[n(267)](t,n(357),r,6),o=this[n(267)](e,n(307),r,6),s=t[n(263)](-i),a=e[n(263)](o);return{start:s,end:a,hasContentBefore:!s[n(324)],hasContentAfter:!a[n(400)]}}[sR(432)](t){const e=sR;db(this[e(299)])[e(418)][e(348)](n=>{const r=e;for(const e of t){const t=""+cR+e[r(336)]+":"+e[r(421)]+"_"+(0,s.uid)();this[r(355)][r(356)](t,{id:t,groupId:e[r(421)],type:e[r(336)],text:e[r(323)]}),n[r(283)](t,{usingOperation:!1,affectsData:!1,range:n[r(244)](e[r(272)],e[r(337)])})}})}[sR(253)](t,e,n){let r="";return()=>{const i=aR;if(!r){const o=e[i(389)](t,{showSuggestionHighlights:!0}),s=o[i(344)](0);if(!s)return"";let a=!1;const c=[];for(const t of s[i(326)]())t.is(i(409),i(363))&&t[i(343)](i(399))&&(a=!1),a&&c[i(327)](t),t.is(i(409),i(363))&&t[i(343)](i(334))&&(a=!0);s[i(365)](0,s[i(256)]),n?.[i(394)]&&s[i(380)]("…"),s[i(380)](c),n?.[i(430)]&&s[i(380)]("…");const l=e[i(262)][i(350)][i(242)](o),u=e[i(262)][i(292)][i(313)](l);r=u}return r}}[sR(328)](t,e){const n=sR;let r="";return()=>(r||(r=e[n(329)](t,{showSuggestionHighlights:!0})),r)}[sR(317)](t,e,n){let r="";return()=>{const i=aR;if(!r){const o=n[i(389)](new u.ModelDocumentFragment(t)),s=n[i(262)][i(350)][i(242)](o)[i(410)](i(271)+e+'"]');r=s?.[i(252)]||""}return r}}[sR(285)](t){const e=sR;return Array[e(330)](this[e(355)][e(415)]())[e(414)](n=>n[e(421)]===t)}[sR(246)](t){const e=sR;return e(295)===t[e(336)]?t[e(376)]:t[e(309)][e(272)]}[sR(291)](t,e=!1){const n=sR;return n(295)===t[n(336)]?e?t[n(376)]:t[n(376)][n(263)](t[n(353)]):t[n(309)][n(337)]}[sR(385)](t,e){const n=sR;return n(295)===t[n(336)]?t[n(376)]=t[n(376)][n(263)](e):n(310)===t[n(336)]&&t[n(309)]&&(t[n(309)]=new u.ModelRange(t[n(309)][n(272)][n(263)](e),t[n(309)][n(337)][n(263)](e))),t}[sR(427)](t,e){const n=sR;n(295)===t[n(336)]?t[n(376)]=this[n(379)](t[n(376)],e):n(310)===t[n(336)]&&t[n(309)]&&(t[n(309)]=this[n(419)](t[n(309)],e))}[sR(379)](t,e){const n=sR;return new u.ModelPosition(e,t[n(358)])}[sR(419)](t,e){const n=sR;return new u.ModelRange(this[n(379)](t[n(272)],e),this[n(379)](t[n(337)],e))}[sR(366)](t,e,n){return new u.ModelPosition(n,[...e])}[sR(247)](t,e,n,r){const i=sR;return new u.ModelRange(this[i(366)](t[i(272)],e,r),this[i(366)](t[i(337)],n,r))}[sR(288)](t){const e=sR;let n=t;for(;n[e(367)]&&!n[e(367)].is(e(286));)n=n[e(367)];return n}}function uR(t,e){var n=hR();return(uR=function(t,e){return n[t-=358]})(t,e)}function hR(){var t=["isPremiumPlugin","requires","5282778kqdlGB","3703NNckdu","pluginName","756986YbOhLo","isOfficialPlugin","5TjIFZI","504096Osoubs","1139084GzajHe","7720950yLRVKY","1456XbXXDb","AIReviewMode","18198BwudSM","57717SJvhkz"];return(hR=function(){return t})()}var dR=uR;!function(t){for(var e=uR,n=t();;)try{if(962865===parseInt(e(370))/1+parseInt(e(358))/2+-parseInt(e(367))/3+parseInt(e(359))/4*(-parseInt(e(372))/5)+parseInt(e(363))/6*(parseInt(e(368))/7)+parseInt(e(361))/8*(parseInt(e(364))/9)+-parseInt(e(360))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hR);class pR extends i.ContextPlugin{static get[dR(366)](){return[aS,iR,lR]}static get[dR(369)](){return dR(362)}static get[dR(371)](){return!0}static get[dR(365)](){return!0}}function fR(){var t=["6739800RsTMJw","18391648akzjqo","130252keOCKE","846371txmtgI","15382utRSMk","132IWaLdT","70iHDgPK","2170427RCuxsp","1954647vBaHxO","18XCfFaw","40cecKvl"];return(fR=function(){return t})()}function gR(t,e){var n=fR();return(gR=function(t,e){return n[t-=266]})(t,e)}!function(t){for(var e=gR,n=t();;)try{if(549559===-parseInt(e(267))/1+parseInt(e(268))/2*(-parseInt(e(269))/3)+parseInt(e(266))/4*(-parseInt(e(270))/5)+parseInt(e(273))/6*(parseInt(e(271))/7)+parseInt(e(274))/8*(-parseInt(e(272))/9)+parseInt(e(275))/10+parseInt(e(276))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fR)})(),(window.CKEditor5=window.CKEditor5||{}).ai=r})();