@ckeditor/ckeditor5-ai 46.1.1 → 47.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +18 -5
- package/README.md +10 -9
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +24 -3
- package/dist/index-content.css +0 -1
- package/dist/index-editor.css +2742 -0
- package/dist/index.css +3141 -0
- package/dist/index.js +4 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +163 -1
- package/lang/translations/af.po +612 -0
- package/lang/translations/ar.po +628 -0
- package/lang/translations/ast.po +612 -0
- package/lang/translations/az.po +612 -0
- package/lang/translations/be.po +616 -0
- package/lang/translations/bg.po +612 -0
- package/lang/translations/bn.po +612 -0
- package/lang/translations/bs.po +616 -0
- package/lang/translations/ca.po +612 -0
- package/lang/translations/cs.po +616 -0
- package/lang/translations/da.po +612 -0
- package/lang/translations/de-ch.po +612 -0
- package/lang/translations/de.po +612 -0
- package/lang/translations/el.po +612 -0
- package/lang/translations/en-au.po +612 -0
- package/lang/translations/en-gb.po +612 -0
- package/lang/translations/en.po +612 -0
- package/lang/translations/eo.po +612 -0
- package/lang/translations/es-co.po +612 -0
- package/lang/translations/es.po +612 -0
- package/lang/translations/et.po +612 -0
- package/lang/translations/eu.po +612 -0
- package/lang/translations/fa.po +608 -0
- package/lang/translations/fi.po +612 -0
- package/lang/translations/fr.po +612 -0
- package/lang/translations/gl.po +612 -0
- package/lang/translations/gu.po +612 -0
- package/lang/translations/he.po +612 -0
- package/lang/translations/hi.po +612 -0
- package/lang/translations/hr.po +616 -0
- package/lang/translations/hu.po +612 -0
- package/lang/translations/hy.po +612 -0
- package/lang/translations/id.po +608 -0
- package/lang/translations/it.po +612 -0
- package/lang/translations/ja.po +608 -0
- package/lang/translations/jv.po +612 -0
- package/lang/translations/kk.po +612 -0
- package/lang/translations/km.po +608 -0
- package/lang/translations/kn.po +612 -0
- package/lang/translations/ko.po +608 -0
- package/lang/translations/ku.po +612 -0
- package/lang/translations/lt.po +616 -0
- package/lang/translations/lv.po +616 -0
- package/lang/translations/ms.po +608 -0
- package/lang/translations/nb.po +612 -0
- package/lang/translations/ne.po +612 -0
- package/lang/translations/nl.po +612 -0
- package/lang/translations/no.po +612 -0
- package/lang/translations/oc.po +612 -0
- package/lang/translations/pl.po +616 -0
- package/lang/translations/pt-br.po +612 -0
- package/lang/translations/pt.po +612 -0
- package/lang/translations/ro.po +616 -0
- package/lang/translations/ru.po +616 -0
- package/lang/translations/si.po +612 -0
- package/lang/translations/sk.po +616 -0
- package/lang/translations/sl.po +620 -0
- package/lang/translations/sq.po +612 -0
- package/lang/translations/sr-latn.po +616 -0
- package/lang/translations/sr.po +616 -0
- package/lang/translations/sv.po +612 -0
- package/lang/translations/th.po +608 -0
- package/lang/translations/ti.po +612 -0
- package/lang/translations/tk.po +612 -0
- package/lang/translations/tr.po +612 -0
- package/lang/translations/tt.po +608 -0
- package/lang/translations/ug.po +608 -0
- package/lang/translations/uk.po +616 -0
- package/lang/translations/ur.po +612 -0
- package/lang/translations/uz.po +612 -0
- package/lang/translations/vi.po +608 -0
- package/lang/translations/zh-cn.po +608 -0
- package/lang/translations/zh.po +608 -0
- package/package.json +23 -11
- package/src/aiactions/aiactions.d.ts +48 -0
- package/src/aiactions/aiactions.js +23 -0
- package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
- package/src/aiactions/model/aiactionsinteraction.js +23 -0
- package/src/aiactions/model/aiactionsreply.d.ts +15 -0
- package/src/aiactions/model/aiactionsreply.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
- package/src/aiassistant/adapters/aitextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
- package/src/aiassistant/adapters/awstextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
- package/src/aiassistant/adapters/openaitextadapter.js +23 -0
- package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
- package/src/aiassistant/aiassistant.js +23 -0
- package/src/aiassistant/aiassistantediting.js +23 -0
- package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
- package/src/aiassistant/aiassistantui.js +23 -0
- package/src/{legacyerrors.js → aiassistant/legacyerrors.js} +1 -1
- package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
- package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
- package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
- package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
- package/src/aiassistant/ui/form/prompthistory.js +23 -0
- package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
- package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
- package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +72 -0
- package/src/aiballoon/aiballoon.js +23 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
- package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
- package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
- package/src/aiballoon/ui/aiballoonview.js +23 -0
- package/src/aichat/aichat.d.ts +79 -0
- package/src/aichat/aichat.js +23 -0
- package/src/aichat/aichatcontroller.d.ts +68 -0
- package/src/aichat/aichatcontroller.js +23 -0
- package/src/aichat/aichatui.d.ts +297 -0
- package/src/aichat/aichatui.js +23 -0
- package/src/aichat/model/aichatcontext.d.ts +360 -0
- package/src/aichat/model/aichatcontext.js +23 -0
- package/src/aichat/model/aichatconversation.d.ts +270 -0
- package/src/aichat/model/aichatconversation.js +23 -0
- package/src/aichat/model/aichatinteraction.d.ts +46 -0
- package/src/aichat/model/aichatinteraction.js +23 -0
- package/src/aichat/model/aichatmodels.d.ts +77 -0
- package/src/aichat/model/aichatmodels.js +23 -0
- package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
- package/src/aichat/ui/aichatcontrolsview.js +23 -0
- package/src/aichat/ui/aichatfeedview.d.ts +114 -0
- package/src/aichat/ui/aichatfeedview.js +23 -0
- package/src/aichat/ui/aichatheaderview.d.ts +29 -0
- package/src/aichat/ui/aichatheaderview.js +23 -0
- package/src/aichat/ui/aichatview.d.ts +37 -0
- package/src/aichat/ui/aichatview.js +23 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
- package/src/aichat/utils/eventnames.d.ts +5 -0
- package/src/aichat/utils/eventnames.js +23 -0
- package/src/aichat/utils/promisequeue.d.ts +32 -0
- package/src/aichat/utils/promisequeue.js +23 -0
- package/src/aichat/utils/scrollmanager.d.ts +23 -0
- package/src/aichat/utils/scrollmanager.js +23 -0
- package/src/aichathistory/aichathistory.d.ts +30 -0
- package/src/aichathistory/aichathistory.js +23 -0
- package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
- package/src/aichathistory/aichathistorycontroller.js +23 -0
- package/src/aichathistory/aichathistoryui.d.ts +112 -0
- package/src/aichathistory/aichathistoryui.js +23 -0
- package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
- package/src/aichathistory/model/aichathistoryconversations.js +23 -0
- package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
- package/src/aichathistory/model/aichathistoryitem.js +23 -0
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
- package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
- package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
- package/src/aichathistory/ui/aichathistorylistview.js +23 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
- package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
- package/src/aichathistory/ui/aichathistoryview.js +23 -0
- package/src/aiconfig.d.ts +92 -30
- package/src/aicore/aiconnector.d.ts +302 -0
- package/src/aicore/aiconnector.js +23 -0
- package/src/aicore/aiediting.d.ts +61 -0
- package/src/aicore/aiediting.js +23 -0
- package/src/aicore/model/aicapabilities.d.ts +55 -0
- package/src/aicore/model/aicapabilities.js +23 -0
- package/src/aicore/model/aicontext.d.ts +53 -0
- package/src/aicore/model/aicontext.js +23 -0
- package/src/aicore/model/aiinteraction.d.ts +135 -0
- package/src/aicore/model/aiinteraction.js +23 -0
- package/src/aicore/model/aireply.d.ts +178 -0
- package/src/aicore/model/aireply.js +23 -0
- package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
- package/src/aicore/pipeline/airesponseapplier.js +24 -0
- package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
- package/src/aicore/pipeline/airesponseparser.js +24 -0
- package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
- package/src/aicore/ui/aidisclaimerview.js +23 -0
- package/src/aicore/ui/aiskeleton.d.ts +37 -0
- package/src/aicore/ui/aiskeleton.js +23 -0
- package/src/aicore/ui/aispinner.d.ts +14 -0
- package/src/aicore/ui/aispinner.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
- package/src/aicore/utils/common-translations.d.ts +9 -0
- package/src/aicore/utils/common-translations.js +23 -0
- package/src/aicore/utils/createresizebutton.d.ts +12 -0
- package/src/aicore/utils/createresizebutton.js +23 -0
- package/src/aicore/utils/documentposition.d.ts +41 -0
- package/src/aicore/utils/documentposition.js +23 -0
- package/src/aicore/utils/documentrange.d.ts +46 -0
- package/src/aicore/utils/documentrange.js +23 -0
- package/src/aicore/utils/eventnames.d.ts +9 -0
- package/src/aicore/utils/eventnames.js +23 -0
- package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
- package/src/aicore/utils/geteditorfromcontext.js +23 -0
- package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
- package/src/aicore/utils/getoperationsfromreply.js +23 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
- package/src/aicore/utils/htmlparser.d.ts +35 -0
- package/src/aicore/utils/htmlparser.js +23 -0
- package/src/aicore/utils/htmlstreamer.d.ts +123 -0
- package/src/aicore/utils/htmlstreamer.js +23 -0
- package/src/aiquickactions/aiquickactions.d.ts +41 -0
- package/src/aiquickactions/aiquickactions.js +23 -0
- package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
- package/src/aiquickactions/aiquickactionscommand.js +23 -0
- package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
- package/src/aiquickactions/aiquickactionsediting.js +23 -0
- package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
- package/src/aiquickactions/aiquickactionsui.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
- package/src/aiquickactions/utils/common-translations.d.ts +9 -0
- package/src/aiquickactions/utils/common-translations.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +30 -0
- package/src/aireviewmode/aireviewmode.js +23 -0
- package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
- package/src/aireviewmode/aireviewmodecontroller.js +23 -0
- package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
- package/src/aireviewmode/aireviewmodeediting.js +23 -0
- package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
- package/src/aireviewmode/aireviewmodeui.js +23 -0
- package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
- package/src/aireviewmode/model/aireviewcheck.js +23 -0
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
- package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
- package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
- package/src/aireviewmode/model/aireviewchecklist.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
- package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +102 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
- package/src/aireviewmode/model/aireviewmodels.js +23 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
- package/src/aireviewmode/utils/common-translations.d.ts +9 -0
- package/src/aireviewmode/utils/common-translations.js +23 -0
- package/src/aitabs/aitabs.d.ts +92 -0
- package/src/aitabs/aitabs.js +23 -0
- package/src/aitabs/aitabsmainview.d.ts +45 -0
- package/src/aitabs/aitabsmainview.js +23 -0
- package/src/aitabs/tabs/aitabsview.d.ts +147 -0
- package/src/aitabs/tabs/aitabsview.js +23 -0
- package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
- package/src/aitabs/tabs/tabbuttonview.js +23 -0
- package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
- package/src/aitabs/tabs/tabpanelview.js +23 -0
- package/src/augmentation.d.ts +22 -6
- package/src/index.d.ts +40 -9
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +207 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
- package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
- package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
- package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
- package/theme/aichat/aichat-controls/prompt-input.css +55 -0
- package/theme/aichat/aichat-controls.css +154 -0
- package/theme/aichat/aichat.css +68 -0
- package/theme/aichat/aichatfeed.css +376 -0
- package/theme/aichat/aichathistory.css +235 -0
- package/theme/aichat/aiminitoolbar.css +94 -0
- package/theme/aichat/aisuggestioncontainer.css +203 -0
- package/theme/aiquickactions/aiquickactions.css +43 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +255 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
- package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
- package/theme/aireviewmode/aireviewmode.css +73 -0
- package/theme/aitabs/aitabsview.css +64 -0
- package/theme/aitabs/tabs/tabbuttonview.css +74 -0
- package/theme/aitabs/tabs/tabsview.css +78 -0
- package/theme/common/aibutton.css +145 -0
- package/theme/common/aichaterror.css +61 -0
- package/theme/common/aidisclaimer.css +29 -0
- package/theme/common/aiheader.css +88 -0
- package/theme/common/aiskeleton.css +54 -0
- package/theme/common/aispinner.css +58 -0
- package/src/adapters/aiadapter.js +0 -23
- package/src/adapters/aitextadapter.js +0 -23
- package/src/adapters/awstextadapter.js +0 -23
- package/src/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant.js +0 -23
- package/src/aiassistantediting.js +0 -23
- package/src/aiassistantui.js +0 -23
- package/src/ui/aiassistantcontroller.js +0 -24
- package/src/ui/form/aiformcontentarea.js +0 -23
- package/src/ui/form/aiformerrorview.js +0 -23
- package/src/ui/form/aiformpromptview.js +0 -23
- package/src/ui/form/aiformtoolbarview.js +0 -23
- package/src/ui/form/aiformview.js +0 -23
- package/src/ui/form/aihistorylistitemview.js +0 -23
- package/src/ui/form/aihistorylistview.js +0 -23
- package/src/ui/form/prompthistory.js +0 -23
- package/src/ui/showaiassistantcommand.js +0 -23
- /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
- /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
- /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
- /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
- /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
- /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={"&":"&","<":"<",">":">",""":'"',"'":"'"};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={"&":"&","<":"<",">":">",'"':""","'":"'"};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)](/ /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,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],l=i.base?c[0]+i.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=r(p,i);i.byIndex=a,e.splice(a,0,{identifier:h,updater:f,references:1})}s.push(h)}return s}function r(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,r){var o=i(t=t||[],r=r||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=n(o[s]);e[a].references--}for(var c=i(t,r),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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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-ai-check-list-model-dropdown-width:426px;--ck-ai-check-list-model-dropdown-max-height:340px;--ck-ai-check-list-model-dropdown-arrow-drop-shadow:0 -2px 0px var(--ck-color-shadow-drop)}.ck.ck-ai-review-mode *{font-family:var(--ck-ai-chat-font-family)!important}.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-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-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:hover,.ck.ck-ai-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item:hover .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:hover .ck-ai-review-mode__check-list-item-title-text{cursor:pointer}.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-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-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)}.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-model-dropdown>.ck.ck-button.ck-dropdown__button{font-size:.9em}.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-model-dropdown>.ck.ck-button.ck-dropdown__button.ck-on,.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-model-dropdown>.ck.ck-button.ck-dropdown__button:active{background-color:var(--ck-ai-button-secondary-active-background-color);color:var(--ck-ai-background-color-action-button)}.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-model-dropdown>.ck.ck-button.ck-dropdown__button>.ck.ck-button__label{width:auto}.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-model-dropdown .ck-dropdown__panel{bottom:auto;padding-top:var(--ck-spacing-standard);top:calc(100% + var(--ck-balloon-arrow-height));width:var(--ck-ai-check-list-model-dropdown-width)}.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-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:after,.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-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:before{border-color:transparent transparent var(--ck-color-panel-background) transparent;border-style:solid;border-width:0 var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-half-width);content:"";height:0;left:calc(var(--ck-balloon-arrow-half-width)*2);position:absolute;top:calc(var(--ck-balloon-arrow-height)*-1 + 2px);width: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-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se:before{filter:drop-shadow(var(--ck-ai-check-list-model-dropdown-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1);z-index:var(--ck-balloon-panel-arrow-z-index)}.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-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se: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-review-mode .ck-ai-review-mode__check-list>.ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se>.ck-list{max-height:var(--ck-ai-check-list-model-dropdown-max-height);overflow-y:scroll}.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-model-dropdown .ck-dropdown__panel>.ck.ck-list{gap:var(--ck-spacing-standard)}.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-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button{align-items:baseline}.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-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-list-item-button__check-holder{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-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai-review-mode__check-list-item-model-dropdown-name{font-weight:500;line-height:1.3}.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-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai-review-mode__check-list-item-model-dropdown-description{line-height:1.3;padding-top: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-model-dropdown .ck-dropdown__panel>.ck.ck-list>.ck.ck-list__item>.ck.ck-button.ck-list-item-button .ck-ai-review-mode__check-list-item-model-dropdown-description>span{color:var(--ck-ai-chat-color-icon);line-height:1;white-space:normal}',""]);const a=s},79:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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 i=n(18),r=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,i){void 0===i&&(i=!1);var r=t.getVersionPrecision(e),o=t.getVersionPrecision(n),s=Math.max(r,o),a=0,c=t.map([e,n],function(e){var n=s-t.getVersionPrecision(e),i=e+new Array(n+1).join(".0");return t.map(i.split("."),function(t){return new Array(20-t.length).join("0")+t}).reverse()});for(i&&(a=s-Math.min(r,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,i=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n+=1)i.push(e(t[n]));return i},t.find=function(t,e){var n,i;if(Array.prototype.find)return Array.prototype.find.call(t,e);for(n=0,i=t.length;n<i;n+=1){var r=t[n];if(e(r,n))return r}},t.assign=function(t){for(var e,n,i=t,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;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){i[e]=t[e]})};for(e=0,n=o.length;e<n;e+=1)a();return t},t.getBrowserAlias=function(t){return i.BROWSER_ALIASES_MAP[t]},t.getBrowserTypeByAlias=function(t){return i.BROWSER_MAP[t]||""},t}();e.default=r,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 i,r=(i=n(91))&&i.__esModule?i:{default:i},o=n(18);function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=function(){function t(){}var e,n,i;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 r.default(t,e)},t.parse=function(t){return new r.default(t).getResult()},e=t,i=[{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),i&&s(e,i),t}();e.default=a,t.exports=e.default},91:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=c(n(92)),r=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(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.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(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.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={},i=0,r={},o=0;if(Object.keys(t).forEach(function(e){var s=t[e];"string"==typeof s?(r[e]=s,o+=1):"object"==typeof s&&(n[e]=s,i+=1)}),i>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(r),p=a.default.find(d,function(t){return e.isBrowser(t,!0)});if(void 0!==p)return this.compareVersion(r[p])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),i=t.toLowerCase(),r=a.default.getBrowserTypeByAlias(i);return e&&r&&(i=r.toLowerCase()),i===n},e.compareVersion=function(t){var e=[0],n=t,i=!1,r=this.getBrowserVersion();if("string"==typeof r)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(i=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(i=!0,n=t.substr(1)),e.indexOf(a.default.compareVersions(r,n,i))>-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 i,r=(i=n(17))&&i.__esModule?i:{default:i},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||r.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=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=r.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=r.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=r.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=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=r.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=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(o,t)||r.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=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=r.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=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=r.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=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=r.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=r.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=r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=r.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(e,t),version:r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),s=[{test:[/Roku\/DVP/],describe:function(t){var e=r.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=r.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=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=r.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=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=r.default.getMacOSVersionName(e),i={name:o.OS_MAP.MacOS,version:e};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=r.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=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=r.default.getAndroidVersionName(e),i={name:o.OS_MAP.Android,version:e};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=r.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=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||r.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=r.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=r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},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=r.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=r.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=r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},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=r.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=r.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=r.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=r.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=r.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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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,i=Object.defineProperty,r=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 i,r=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(i in t);return void 0===i||e.call(t,i)},a=function(t,e){i&&"__proto__"===e.name?i(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(r)return r(t,n).value}return t[n]};t.exports=function t(){var e,n,i,r,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)i=c(h,n),h!==(r=c(e,n))&&(f&&r&&(s(r)||(l=o(r)))?(l?(l=!1,u=i&&o(i)?i:[]):u=i&&s(i)?i:{},a(h,{name:n,newValue:t(f,u,r)})):void 0!==r&&a(h,{name:n,newValue:r}));return h}},545:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=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(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.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 i(t,e,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.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 r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,n=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},609:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)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]);i&&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),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o),a=n(725),c=n.n(a),l=new URL(n(774),n.b),u=s()(r()),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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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 i=n(933),r=n.n(i),o=n(718),s=n.n(o)()(r());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(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,exports:{}};return t[i].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 i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},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 i={};(()=>{"use strict";n.r(i),n.d(i,{AIActions:()=>wC,AIAdapter:()=>w,AIAssistant:()=>Gt,AIAssistantUI:()=>Bt,AIBalloon:()=>by,AIChat:()=>ET,AIChatController:()=>yy,AIChatHistory:()=>bT,AIChatHistoryController:()=>kT,AIChatHistoryUI:()=>oT,AIChatUI:()=>Lx,AIConnector:()=>Kc,AIEditing:()=>kb,AIQuickActionType:()=>YT,AIQuickActions:()=>cC,AIQuickActionsUI:()=>QT,AIRequestError:()=>v,AIReviewCheck:()=>yC,AIReviewCheckResult:()=>HC,AIReviewCheckRun:()=>GC,AIReviewMode:()=>cR,AIReviewModeController:()=>aS,AIReviewModeEditing:()=>rR,AIReviewModeUI:()=>ZS,AITabs:()=>Uc,AITextAdapter:()=>$t,AWSTextAdapter:()=>hc,OpenAITextAdapter:()=>Zt,ShowAIAssistantCommand:()=>E,createResizeButton:()=>Jc,getDefaultAICommands:()=>jt});var t={};n.r(t),n.d(t,{attentionMarkers:()=>Tm,contentInitial:()=>vm,disable:()=>Cm,document:()=>wm,flow:()=>ym,flowInitial:()=>Im,insideSpan:()=>xm,string:()=>Am,text:()=>Em});var e={};n.r(e),n.d(e,{boolean:()=>Ag,booleanish:()=>Eg,commaOrSpaceSeparated:()=>Rg,commaSeparated:()=>Sg,number:()=>Tg,overloadedBoolean:()=>xg,spaceSeparated:()=>Cg});var r=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);function h(){const t=["45912IbljDe","createPositionAfter","isContent","ck-fake-ai-selection","1902vvqzfP","config","getMarkersGroup","getLastPosition","getChildren","markerRange","213DJDJxF","DataTransfer","paste","length","14ynkrFp","from","join","14uGyDwL","lowest","insertContent","editing","createRange","get","getFirstRange","forEach","ck-fake-ai-selection_collapsed","deleteContent","AIAssistantEditing","text/html","getColumnIndexes","document","setData","1323696iEuKpt","pluginName","start","fire","pop","getChild","span","removeMarker","schema","_getAISelection","addClass","init","insertContentBelow","getRange","off","has","resultRange","parse","isAtEnd","_resetContentOfSelectedTableCells","hideFakeVisualSelection","map","getSelectedBlocks","43811ShoZIF","once","table","data","filter","ck-ai-assistant-ui_theme","setSelection","TableUtils","isCollapsed","href","_getTableRowCountFromContent","markerToHighlight","markerToElement","addMarker","getRanges","updateMarker","selection","element","canEditAt","editor","36mwLJFK","ai.assistant.useTheme","createUIElement","40mpHyQK","getRows","getSelectedTableCells","getLastMatchingPosition","findAncestor","last","editingDowncast","change","1507tPOoqg","1922769scRNxL","createPositionAt","for","first","50068sTbDPS","fromCharCode","contentInsertion","isPremiumPlugin","isOfficialPlugin","createSelection","afterInit","_pasteHTMLUsingClipboard","_getDefaultInsertBelowPosition","showFakeVisualSelection","insertRows","conversion","9035SceLqf","plugins","markers","_prepareTableInsertBelowPosition","getRowIndexes","_createEmptyTableRows","end","model","push","ai-ui","21469318ziOeEH"];return(h=function(){return t})()}const d=m;!function(t){const e=m,n=t();for(;;)try{if(546478===-parseInt(e(566))/1*(parseInt(e(586))/2)+parseInt(e(521))/3*(-parseInt(e(488))/4)+-parseInt(e(500))/5*(-parseInt(e(515))/6)+-parseInt(e(525))/7*(parseInt(e(543))/8)+parseInt(e(484))/9*(parseInt(e(589))/10)+parseInt(e(483))/11*(-parseInt(e(511))/12)+-parseInt(e(510))/13*(-parseInt(e(528))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);const p=globalThis[d(522)],f=d(509);function m(t,e){const n=h();return(m=function(t,e){return n[t-=479]})(t,e)}class g extends r.Plugin{static get[d(544)](){return d(538)}static get[d(492)](){return!0}static get[d(491)](){return!0}[d(554)](){const t=d,{editor:e}=this,n=[t(514)];e[t(516)][t(533)](t(587))&&n[t(508)](t(571)),e[t(499)][t(486)](t(481))[t(577)]({model:f,view:{classes:n,priority:12}}),e[t(499)][t(486)](t(481))[t(578)]({model:f,view:(e,{writer:n})=>{const i=t;if(!e[i(520)][i(574)])return null;const r=n[i(588)](i(549));return n[i(553)]([i(514),i(536)],r),r}})}[d(494)](){!async function(t){const e=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])](),i=t[g([101,100,105,116,111,114])],r=new(window[g([80,114,111,109,105,115,101])])(t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)}),o={[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=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),r[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(t=>{let e=0;i[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,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])](()=>t)}function l(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(t)):null}function u(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function h(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(t){const e=m;return t[e(564)](t=>String[e(489)](t))[e(527)]("")}!function(t){const n=function(){const t=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 i=0;i<t[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=e[g([108,101,110,103,116,104])]&&(r-=e[g([108,101,110,103,116,104])]),n+=e[r]}return n}();i[n]=g([97,105,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await r,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,i[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 t,e=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([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[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],h(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));a(),i[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 l=!1;const u=(0,s.uid)();function f(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])](t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?d(h(u+e))!=t[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])](t=>(o(),t),()=>{const t=s();return null==t?(o(),g([86,97,108,105,100])):g(n-t>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 r=36e5;function o(){const e=g([108,108,99,116,45])+d(h(t)),i=p(d(window[g([77,97,116,104])][g([99,101,105,108])](n/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function s(){const e=g([108,108,99,116,45])+d(h(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[g([111,110])](g([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(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])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{f(t[g([114,101,116,117,114,110])])&&(l=!0,m(t[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),r[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return i[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(){i[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])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return e(r),await n(r,o,s),t}catch{return!1}function e(e){const n=l(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),t=>t[g([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+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]),o,{[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,r,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([65,73])))}()?function(){const e=[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])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1758758400;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=m,n=t[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:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(575)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](t=>t[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](t=>t[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(r[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[g([115,111,109,101])](t=>r[g([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===g([42])))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&f?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),f[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||f||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)}[d(497)](){const t=d,e=this[t(585)][t(507)];e[t(482)](n=>{const i=t,r=e[i(541)][i(582)][i(580)]();let o=0;for(const t of r){const r=f+":"+o;if(e[i(502)][i(558)](r))n[i(581)](r,{range:t});else if(t[i(545)][i(561)]){const o=t[i(545)][i(592)](({item:t})=>!e[i(551)][i(513)](t),{boundaries:t});n[i(579)](r,{usingOperation:!1,affectsData:!1,range:n[i(532)](o,t[i(506)])})}else n[i(579)](r,{usingOperation:!1,affectsData:!1,range:t});o++}})}[d(563)](){const t=d,e=this[t(585)][t(507)],n=Array[t(526)](this[t(585)][t(507)][t(502)][t(517)](f));n[t(524)]&&e[t(482)](e=>{const i=t;n[i(535)](t=>{e[i(550)](t)})})}[d(530)](t,e){const n=d,i=this[n(552)](),r=e||i[n(534)]();this[n(585)][n(507)][n(584)](r)&&this[n(585)][n(507)][n(482)](o=>{const s=n;this[s(563)](),e||this[s(562)](o,i),this[s(495)]({insertAt:r,writer:o,html:t})})}[d(555)](t){const e=d,{model:n}=this[e(585)],i=this[e(552)]();n[e(482)](()=>{const n=e,r=this[n(503)](t,i)||this[n(496)](i);this[n(530)](t,r)})}[d(552)](){const t=d,e=this[t(585)][t(507)],n=Array[t(526)](e[t(502)][t(517)](f))[t(564)](e=>e[t(556)]());return e[t(493)](n)}[d(495)]({writer:t,html:e,insertAt:n}){const i=d,{view:r}=this[i(585)][i(531)],o=this[i(585)][i(501)][i(533)](l.ClipboardPipeline),s=new p;s[i(542)](i(539),e);const a=new ClipboardEvent(i(523),{clipboardData:s}),c=new u.ViewDocumentDomEventData(r,a,{dataTransfer:new u.ViewDataTransfer(s)});t[i(572)](n);const h=(e,n)=>{const r=i;n[r(559)]&&t[r(572)](n[r(559)])};o[i(567)](i(490),h,{priority:i(529)}),r[i(541)][i(546)](i(523),c),o[i(557)](i(490),h)}[d(496)](t){const e=d,{model:n}=this[e(585)],i=Array[e(526)](t[e(565)]());return i[e(524)]?n[e(512)](i[e(547)]()):t[e(518)]()}[d(503)](t,e){const n=d,{model:i,plugins:r}=this[n(585)];if(r[n(558)](n(573))){const o=r[n(533)](n(573))[n(591)](e);if(o[n(524)]){const e=this[n(576)](t),r=this[n(505)](o,e);return i[n(485)](r,0)}}return null}[d(576)](t){const e=d,n=this[e(585)][e(501)][e(533)](e(573)),i=this[e(585)][e(569)][e(560)](t),r=Array[e(526)](i[e(519)]())[e(570)](t=>t.is(e(583),e(568)));let o=0;return r[e(535)](t=>{o+=n[e(590)](t)}),o}[d(505)](t,e){const n=d,i=this[n(585)][n(501)][n(533)](n(573)),r=i[n(504)](t),o=i[n(540)](t),s=r[n(480)]+1,a=o[n(487)],c=t[0][n(479)](n(568));for(let t=0;t<e;t++)i[n(498)](c,{at:s});return c[n(548)](s)[n(548)](a)}[d(562)](t,e){const n=d,{plugins:i}=this[n(585)],{model:r}=t;i[n(558)](n(573))&&i[n(533)](n(573))[n(591)](e)[n(524)]&&r[n(537)](e)}}var k=b;function _(){var t=["8065vVqTLj","8592920gSRIUO","aiadapter-text-adapter-not-set","pluginName","30nwMxEa","23725JehEBa","AIAdapter","7ofeJrD","AIRequestError","textAdapter","8836998XPyIIg","188334HBONxd","3669561oeETQQ","9AtNZIb","5463997XXBMdc","afterInit","1080pCvpzB","isPremiumPlugin","name","isOfficialPlugin"];return(_=function(){return t})()}function b(t,e){var n=_();return(b=function(t,e){return n[t-=357]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(739434===-parseInt(e(363))/1+parseInt(e(369))/2*(-parseInt(e(371))/3)+parseInt(e(374))/4*(-parseInt(e(358))/5)+-parseInt(e(368))/6*(-parseInt(e(365))/7)+-parseInt(e(359))/8+-parseInt(e(370))/9+parseInt(e(362))/10*(parseInt(e(372))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class w extends r.Plugin{static get[k(361)](){return k(364)}static get[k(357)](){return!0}static get[k(375)](){return!0}[k(373)](){var t=k;if(!this[t(367)])throw new s.CKEditorError(t(360),null)}}class v extends Error{constructor(t){var e=k;super(t),this[e(376)]=e(366)}}function I(t,e,n){const i=t.t;switch(e){case"Edit or review":return i("Edit or review");case"Improve writing":return i("Improve writing");case"Make shorter":return i("Make shorter");case"Make longer":return i("Make longer");case"Simplify language":return i("Simplify language");case"Generate from selection":return i("Generate from selection");case"Summarize":return i("Summarize");case"Continue":return i("Continue");case"Change tone":return i("Change tone");case"Professional":return i("Professional");case"Casual":return i("Casual");case"Direct":return i("Direct");case"Confident":return i("Confident");case"Friendly":return i("Friendly");case"Change style":return i("Change style");case"Business":return i("Business");case"Legal":return i("Legal");case"Journalism":return i("Journalism");case"Poetic":return i("Poetic");case"Translate":return i("Translate");case"English":return i("English");case"Spanish":return i("Spanish");case"German":return i("German");case"Portuguese":return i("Portuguese");case"French":return i("French");case"Simplified Chinese":return i("Simplified Chinese");case"Hindi":return i("Hindi");case"Arabic":return i("Arabic");case"AI Assistant":return i("AI Assistant");case"AI Commands":return i("AI Commands");case"Ask AI to edit or generate":return i("Ask AI to edit or generate");case"Ask AI to improve generated text":return i("Ask AI to improve generated text");case"Copy":return i("Copy");case"Submit":return i("Submit");case"Insert below":return i("Insert below");case"Try again":return i("Try again");case"Stop":return i("Stop");case"AI is writing...":return i("AI is writing...");case"AI is writing":return i("AI is writing");case"Generated content: %0":return i("Generated content: %0",n);case"Error during AI content generation: %0":return i("Error during AI content generation: %0",n);case"History":return i("History");case"Empty history":return i("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return i("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return i("Prompt history");case"Clear":return i("Clear");case"AI_REPLACE_CONTENT":return i({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return i({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return i({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return i({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return i({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},n);case"AI_ERROR_CONTEXT_LENGTH":return i({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return i({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return i({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return e}}const y=A;function A(t,e){const n=x();return(A=function(t,e){return n[t-=198]})(t,e)}!function(t){const e=A,n=t();for(;;)try{if(897425===-parseInt(e(214))/1*(parseInt(e(239))/2)+parseInt(e(221))/3*(-parseInt(e(230))/4)+parseInt(e(218))/5*(parseInt(e(225))/6)+-parseInt(e(238))/7+-parseInt(e(226))/8*(parseInt(e(216))/9)+parseInt(e(198))/10*(parseInt(e(240))/11)+parseInt(e(236))/12*(parseInt(e(215))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class E extends r.Command{[y(234)];constructor(t,e){const n=y;super(t),this[n(234)]=e,this[n(232)](n(237),[]),this.on(n(200),(t,e,i)=>{const r=n;this[r(209)]&&(this[r(237)]=T(this[r(234)],i))}),this[n(232)](n(205),!1),this.on(n(201),(t,e,i)=>{const r=n;this[r(237)]=i?T(this[r(234)],this[r(205)]):[]})}[y(208)](){const t=y,e=this[t(203)][t(199)];this[t(205)]=function(e){const n=t,i=e[n(227)][n(210)];return i[n(229)]?0!==[...i[n(241)]()][n(219)]&&![...i[n(241)]()][0][n(211)]:!!e[n(224)](i[n(231)]())}(e);const n=e[t(227)][t(210)],i=this[t(203)][t(213)][t(204)](t(202));for(const e of n[t(228)]())for(const n of e[t(244)]())if(n.is(t(220))&&i[t(212)](n[t(207)]))return void(this[t(209)]=!1);this[t(209)]=!0}[y(206)](t="",e="",n=y(243)){const i=y;this[i(203)][i(217)][i(204)](Bt)[i(242)](t,e,n)}}function x(){const t=["_hasContext","execute","name","refresh","isEnabled","selection","isEmpty","includes","config","1onDoQA","1310296FhCnGk","1656099kMmvBF","plugins","115JKUmkN","length","element","22191ksroRr","requiresContent","from","hasContent","1614xXExvi","72JdvCar","document","getRanges","isCollapsed","68QPMhDT","getFirstRange","set","add","_commandDefinitions","values","432wNxkKO","enabledCommandsIds","12223071dbSIYg","1064050QOVpBS","7275136WFEgMo","getSelectedBlocks","showUI","custom","getItems","20WAasXe","model","change:_hasContext","change:isEnabled","ai.assistant.disabledElements","editor","get"];return(x=function(){return t})()}function T(t,e){const n=y,i=new Set;for(const r of t[n(235)]())(e||!1===r[n(222)])&&i[n(233)](r.id);return Array[n(223)](i)}const C=S;function S(t,e){const n=R();return(S=function(t,e){return n[t-=138]})(t,e)}function R(){const t=["length","createElement","destroy","submitPrompt","_normalizeResponseHeadings","8YbLthO","finally","rename","childNodes","currentResponse","markers","finishProcessing","exec","message","once","568405dqZcem","render","body","remove","previousQuery","domConverter","stopListening","_domParser","toView","trim","updateView","<h1></h1>","endsWith","element","ai.assistant.preserveComments","handleError","editor","_sanitizationContainer","345258nZUSAH","htmlProcessor","5892089aRArmE","reverse","reset","previousActionId","makeRequest","data","stopProcessing","isProcessing","textAdapter","text/html","match","startsWith","_parseAndNormalizeContent","18FTtTNS","querySelector","132960SFHhHC","innerHTML","div","set:currentContext","name","tryAgainEvent","stringify","parseFromString","ELEMENT_NODE","_xmlSerializer","processor","47784LqenTO","custom","listenTo","substring","226196Ukgdkd","previousLabel","_sanitizeHTML","config","previousContext","serializeToString","nodeType","then","document","viewToDom","view","initialContext","push","```html","catch","268957FXgbkA","startProcessing","prompt","clear","_handleQuery","editing","mainAction","get","setContentOf","set","value","_stripMarkdownSyntax","from","toModel","_isH1TagSupportEnabled","200ZBCdxe","currentContext","abort","isRendered","```","473SqaGAn"];return(R=function(){return t})()}!function(t){const e=S,n=t();for(;;)try{if(529051===parseInt(e(223))/1+parseInt(e(208))/2+-parseInt(e(204))/3*(-parseInt(e(238))/4)+parseInt(e(158))/5*(-parseInt(e(191))/6)+-parseInt(e(178))/7*(parseInt(e(148))/8)+-parseInt(e(176))/9+parseInt(e(193))/10*(parseInt(e(142))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);const O=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class N extends((0,s.ObservableMixin)()){[C(174)];[C(186)];[C(218)];[C(175)];[C(165)];[C(202)];constructor(t,e,n){const i=C;super(),this[i(174)]=t,this[i(186)]=e,this[i(175)]=document[i(144)](i(195)),this[i(165)]=new DOMParser,this[i(202)]=new XMLSerializer,this[i(218)]=n,this[i(232)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(i(196),(t,e,n)=>{const r=i;this[r(218)][r(233)]=this[r(210)](n)}),this[i(206)](this[i(218)],i(146),(t,e)=>{const n=i,r=this[n(138)]||this[n(219)];this[n(227)](e,r,n(205))}),this[i(206)](this[i(218)],i(198),()=>{const t=i;this[t(218)][t(225)]=this[t(209)],this[t(227)](this[t(162)],this[t(212)],this[t(181)],this[t(209)])}),this[i(206)](this[i(218)],i(184),()=>{this[i(184)]()})}[C(145)](){this[C(164)]()}async[C(168)]({actionId:t,query:e,htmlContent:n,label:i,mainActionLabel:r}){const o=C;this[o(218)][o(225)]=i,this[o(218)][o(229)]=r,this[o(219)]=n,e&&(this[o(218)][o(140)]?this[o(227)](e,n,t,i):this[o(218)][o(157)](o(159),()=>{this[o(227)](e,n,t,i)}))}[C(184)](){const t=C;this[t(185)]&&(this[t(185)]=!1,this[t(218)][t(154)](),this[t(186)][t(139)]())}[C(180)](){const t=C;this[t(219)]="",this[t(138)]="",this[t(152)]="",this[t(212)]="",this[t(162)]="",this[t(209)]="",this[t(181)]=void 0,this[t(218)][t(180)](),this[t(184)]()}async[C(227)](t,e,n,i){const r=C;return this[r(185)]=!0,this[r(218)][r(224)](),this[r(212)]=e,this[r(162)]=t,this[r(209)]=i||t,this[r(181)]=n,new Promise(i=>{const o=r;this[o(186)][o(182)]({query:t,context:e,onData:t=>{const e=o;this[e(152)]=t,this[e(138)]=this[e(190)](this[e(152)])},actionId:n})[o(215)](()=>{const t=o;!this[t(138)]&&this[t(152)]&&(this[t(138)]=this[t(190)](this[t(152)],!0))})[o(222)](t=>{const e=o;t instanceof v?this[e(218)][e(173)](t[e(156)]):this[e(218)][e(173)](),i()})[o(149)](()=>{this[o(184)](),i()})})}[C(190)](t,e=!1){const n=C,i=O[n(155)](t);t=i?t[n(207)](i[1][n(143)]):t[n(143)]<100&&!e?"":this[n(234)](t);const r=this[n(165)][n(200)](t,n(187));if(i){const t=Array[n(235)](r[n(160)][n(151)]);t[n(179)]();for(const e of t){if(e[n(214)]==Node[n(201)])break;e[n(161)]()}}const o=this[n(174)][n(183)][n(203)][n(166)](this[n(202)][n(213)](r[n(160)]));this[n(237)]()||this[n(147)](o);const s=this[n(174)][n(211)][n(230)](n(172)),a=this[n(174)][n(183)][n(236)](o);return s||a[n(153)][n(226)](),this[n(174)][n(183)][n(199)](a)}[C(147)](t){const e=C,n=new u.ViewUpcastWriter(this[e(174)][e(228)][e(218)][e(216)]),i=new u.Matcher({name:/^h[1-5]$/}),r=[];let o=!1;for(const n of t)n.is(e(171))&&i[e(188)](n)&&(r[e(220)](n),"h1"==n[e(197)]&&(o=!0));if(o)for(const t of r)n[e(150)]("h"+(parseInt(t[e(197)][1])+1),t)}[C(237)](){const t=C,{data:e,editing:n}=this[t(174)],i=e[t(177)][t(166)](t(169)),r=e[t(166)](e[t(236)](i));return!!n[t(218)][t(163)][t(217)](r)[t(192)]("h1")}[C(210)](t){const e=C;return this[e(174)][e(228)][e(218)][e(163)][e(231)](this[e(175)],t),this[e(175)][e(194)]}[C(234)](t){const e=C,n=t[e(167)]();return n[e(189)](e(221))?n[e(170)](e(141))?n[e(207)](7,n[e(143)]-3):n[e(207)](7):t}}const M=P;function L(){const t=["32bUlKiA","items","2963124OEQLoP","ck-button-action","654577AMwFGW","tryAgainButton","bind","193527vXGjve","locale","isVisible","replaceButton","1378010GSgdkD","replace","insert","Insert below","extendTemplate","addMany","Stop","label","toUpperCase","set","insertButton","AI_","mainAction","ck-hidden","_CONTENT","671850JztxvP","440424ExXScM","REPLACE","bindTemplate","_createButton","12Rzaakz","4621554gYQFwc","Try again","4BmEDss","ck-ai-form__toolbar","stopButton"];return(L=function(){return t})()}function P(t,e){const n=L();return(P=function(t,e){return n[t-=364]})(t,e)}!function(t){const e=P,n=t();for(;;)try{if(267918===parseInt(e(395))/1+-parseInt(e(385))/2*(parseInt(e(378))/3)+-parseInt(e(382))/4*(parseInt(e(377))/5)+parseInt(e(390))/6+-parseInt(e(392))/7*(parseInt(e(388))/8)+parseInt(e(383))/9+parseInt(e(399))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);const D={REPLACE:M(400),INSERT:M(364)};class H extends a.ToolbarView{constructor(t){const e=M;super(t),this[e(371)](e(397),!1),this[e(371)](e(374),D[e(379)]),this[e(398)]=this[e(381)]("",e(391)),this[e(398)][e(394)](e(369)).to(this,e(374),n=>I(t,e(373)+n[e(370)]()+e(376))),this[e(372)]=this[e(381)](I(t,e(365))),this[e(393)]=this[e(381)](I(t,e(384))),this[e(387)]=this[e(381)](I(t,e(368)));const n=this[e(380)];this[e(366)]({attributes:{class:[e(386),n.if(e(397),e(375),t=>!t)]}}),this[e(389)][e(367)]([this[e(398)],this[e(372)],this[e(393)],this[e(387)]])}[M(381)](t,e){const n=M,i=new a.ButtonView(this[n(396)]);return i[n(371)]({label:t,class:e||"",isVisible:!0,withText:!0}),i}}const B=U;function U(t,e){const n=V();return(U=function(t,e){return n[t-=308]})(t,e)}function V(){const t=["-9999px","<span>]</span>","loaderView","scrollHeight","wheel","createElement","ck-ai-form__content-area--processing","Copy","setStartAfter","icon","body","remove","ck-ai-form__copy-button-wrapper","isVisible","ck-content","div","firstElementChild","3139455tQFtMI","bindTemplate"," ck-ai-form__copy-button--copied","text/plain",".ck-ai-form__loader","ck-ai-form__content-area-wrapper","change:value","copyButtonView","createRange","setContent","setEndBefore","isProcessing","position","appendChild","querySelector","1173216OxGfAP","element","347515BNiTgW","addRange","clipboard","ClipboardItem","execute","833360bnDVol","innerHTML","ck-ai-form__loader","set","528aoCgfJ","change:isProcessing","value","_createLoader","_copyHTMLToClipboard","absolute","appendLoader","isEnabled","1306299FKFdGH","scrollTo","1293585rwONhS","locale","265542XhEAxS","focus","lastElementChild","AI is writing...","ck-hidden","getSelection","style","smooth","bind","text/html","class","copy","execCommand","ck-ai-form__content-area","mousedown","ck-reset_all-excluded","textContent","ck-ai-form__content-field","removeAllRanges","contentFieldView","write","listenTo","_createCopyButton","setTemplate","render","<span>[</span>","ck-ai-form__copy-button","left"];return(V=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(743552===-parseInt(e(385))/1+-parseInt(e(373))/2+-parseInt(e(387))/3+parseInt(e(366))/4+-parseInt(e(351))/5+-parseInt(e(389))/6+parseInt(e(368))/7*(parseInt(e(377))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class F extends a.View{[B(325)];[B(358)];constructor(t,e=""){const n=B;super(t),this[n(376)]({value:null,isVisible:!1,isProcessing:!1});const i=this[n(352)];this[n(325)]=new q(t,e),this[n(358)]=this[n(328)](),this[n(329)]({tag:n(349),attributes:{class:["ck",n(356),i.if(n(347),n(310),t=>!t)],tabindex:"-1"},children:[{tag:n(349),attributes:{class:["ck",n(319),i.if(n(362),n(340))]},children:[this[n(325)],{tag:n(349),attributes:{class:["ck",n(346)]},children:[this[n(358)]]}]}]})}[B(330)](){const t=B;super[t(330)](),this[t(379)]&&this[t(325)][t(360)](this[t(379)]);let e=!1;this.on(t(357),(n,i,r)=>{const o=t,s=!this[o(325)][o(367)][o(365)](o(355));this[o(325)][o(360)](r),this[o(362)]&&s&&!e&&this[o(367)][o(386)]({top:this[o(367)][o(337)],behavior:o(313)})}),this.on(t(378),(n,i,r)=>{const o=t;e=!1,r?(this[o(379)]=null,this[o(325)][o(383)]()):this[o(379)]||this[o(325)][o(360)]("")}),this[t(327)](this[t(367)],t(338),()=>{e=!0}),this[t(327)](this[t(367)],t(320),()=>{e=!0})}[B(390)](){const t=B;this[t(367)][t(390)]()}[B(328)](){const t=B,e=this[t(388)],n=new a.ButtonView(this[t(388)]),i=t(332);return n[t(376)]({label:I(e,t(341)),icon:o.IconCopy,class:i,tooltip:!0}),n[t(314)](t(347)).to(this,t(379),t=>!!t),n[t(314)](t(384)).to(this,t(362),t=>!t),n.on(t(372),()=>{const e=t;this[e(381)](this[e(325)][e(367)]),n[e(343)]=o.IconCheck,n[e(316)]=i+e(353),this[e(390)](),setTimeout(()=>{const t=e;n[t(343)]=o.IconCopy,n[t(316)]=i},1e3)}),n}[B(381)](t){const e=B,{window:n,document:i}=s.global;if(n[e(371)]){const{Blob:i,ClipboardItem:r}=n,o=[new r({"text/html":new i([t[e(374)]],{type:e(315)}),"text/plain":new i([t[e(322)]||""],{type:e(354)})})];navigator[e(370)][e(326)](o)}else{const r=i[e(339)](e(349));r[e(312)][e(363)]=e(382),r[e(312)][e(333)]=e(334),r[e(374)]=e(331)+t[e(374)]+e(335),i[e(344)][e(364)](r);const o=i[e(359)]();o[e(342)](r[e(350)]),o[e(361)](r[e(308)]);const s=n[e(311)]();s[e(324)](),s[e(369)](o),i[e(318)](e(317)),r[e(345)]()}}}class q extends a.View{constructor(t,e=""){const n=B;super(t),this[n(336)]=this[n(380)](),this[n(329)]({tag:n(349),attributes:{class:["ck",n(348),e,n(321),n(323)]}})}[B(360)](t){const e=B;this[e(367)][e(374)]=t}[B(383)](){const t=B;this[t(367)][t(364)](this[t(336)][t(367)])}[B(380)](){const t=B,e=new a.View,n=this[t(388)],i=new a.SpinnerView;return i[t(347)]=!0,e[t(329)]({tag:t(349),attributes:{class:["ck",t(375)]},children:[i,{text:I(n,t(309))}]}),e[t(330)](),e}}function z(t,e){const n=G();return(z=function(t,e){return n[t-=460]})(t,e)}function G(){const t=["60fXajTF","setTemplate","343773KurnMP","bindTemplate","259715GmZSTr","283740wpThme","28432cQzHCQ","ck-ai-form__error","6444nxTcbW","set","1425156WXkuPU","content","2vNvgWl","div","81869eCoikL","text","287QzdYoq"];return(G=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(178213===-parseInt(e(474))/1*(-parseInt(e(472))/2)+-parseInt(e(465))/3+parseInt(e(468))/4+parseInt(e(464))/5+-parseInt(e(470))/6+-parseInt(e(476))/7*(-parseInt(e(466))/8)+-parseInt(e(462))/9*(-parseInt(e(460))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class j extends a.View{constructor(t,e=""){const n=z;super(t);const i=new a.IconView,r=this[n(463)];this[n(469)](n(475),e),i[n(471)]=o.IconError,this[n(461)]({tag:n(473),attributes:{class:["ck",n(467)]},children:[i,{text:r.to(n(475))}]})}}const W=Y;function Y(t,e){const n=$();return(Y=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(947024===-parseInt(e(395))/1*(-parseInt(e(438))/2)+-parseInt(e(386))/3*(-parseInt(e(412))/4)+-parseInt(e(410))/5*(-parseInt(e(411))/6)+parseInt(e(381))/7+parseInt(e(388))/8+parseInt(e(383))/9+-parseInt(e(435))/10*(parseInt(e(403))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class K extends a.AutocompleteView{[W(385)];[W(429)];constructor(t,e){const n=W;super(t,e),this[n(404)][n(390)][n(400)]=1,this[n(404)][n(390)][n(414)]=3,this[n(385)]=this[n(392)](),this[n(429)]=this[n(396)](),this[n(433)][n(427)](this[n(429)],1),this[n(433)][n(427)](this[n(385)])}[W(405)](){const t=W;super[t(405)](),this[t(404)][t(399)][t(427)](this[t(429)]),this[t(413)][t(427)](this[t(385)]),this[t(384)][t(391)](t(408),(e,n)=>{const i=t;e[i(418)]==this[i(404)][i(390)][i(424)]&&(this[i(406)](),n())})}[W(392)](){const t=W,e=new a.ButtonView(this[t(423)]),n=this[t(423)];return e[t(391)]({icon:o.IconSubmit,label:I(n,t(421)),isVisible:!0,tooltip:!0,class:t(401)}),e.on(t(382),()=>{this[t(406)]()}),e[t(431)](t(415)).to(this[t(404)][t(390)],t(387),this,t(415),(t,e)=>!t&&e),e}[W(396)](){const t=W,e=new a.ButtonView(this[t(423)]),n=this[t(426)],i=this[t(423)];e[t(391)]({label:I(i,t(398)),withText:!1,icon:o.IconAIHistory,tooltip:!0,tooltipPosition:"sw",class:t(393)}),e[t(431)](t(397)).to(n,t(409)),e[t(431)](t(415)).to(this,t(415)),e.on(t(382),()=>{const e=t;n[e(409)]=!n[e(409)],n[e(409)]?this[e(434)][e(407)]():this[e(407)]()});const r=()=>{const n=t;s.global[n(394)][n(419)](()=>{const t=n;if((0,s.isVisible)(this[t(424)])){const n=new s.Rect(this[t(404)][t(390)][t(424)]),r=n[t(437)],o=t(402)===i[t(389)]?t(428):t(430);n[t(436)](),e[t(424)][t(422)][o]=r-n[t(437)]+1+"px"}})};return this[t(404)][t(390)].on(t(417),r),this.on(t(405),r),e}[W(406)](){const t=W,e=this[t(404)][t(390)][t(424)][t(425)];this[t(380)](t(406),e)}[W(407)](t){const e=W;-1===t?this[e(432)][e(420)]():this[e(432)][e(416)]()}}function $(){const t=["_createShowHistoryButton","isOn","History","fieldWrapperChildren","minRows","ck-ai-form__submit","rtl","11eTYmrv","queryView","render","submit","focus","enter","isVisible","257995UcqIbl","174McHnWR","4NTaVXH","children","maxRows","isEnabled","focusFirst","update","target","requestAnimationFrame","focusLast","Submit","style","locale","element","value","resultsView","add","left","showHistoryButtonView","right","bind","focusCycler","focusableChildren","filteredView","29263240pfDNdF","excludeScrollbarsAndBorders","width","7594uCiBQL","fire","3543435OJrdCX","execute","10872927PgSjLO","keystrokes","submitButtonView","235857xgDDQW","isEmpty","55248XmxpIO","uiLanguageDirection","fieldView","set","_createSubmitButton","ck-ai-form__toggle-history","window","152jcGbCN"];return($=function(){return t})()}const Q=J;function X(){const t=["add","label","2729652gGfXAI","clearHistory","length","5105wQERqt","8xCgJjO","filter","Prompt history","592684sDvWFN","9YSCmxF","fire","historyGroupView","Clear","1640555yfARoV","set","clearHistoryButton","items","2735334LyKzkx","locale","3VZjSRL","execute","1842140MvwXpf","_createClearHistoryButton","delegate","3147364tpzVJt","126BZYyPj","children"];return(X=function(){return t})()}function J(t,e){const n=X();return(J=function(t,e){return n[t-=203]})(t,e)}!function(t){const e=J,n=t();for(;;)try{if(379851===parseInt(e(206))/1*(parseInt(e(227))/2)+parseInt(e(221))/3*(-parseInt(e(210))/4)+-parseInt(e(215))/5+parseInt(e(203))/6+parseInt(e(219))/7*(-parseInt(e(207))/8)+parseInt(e(211))/9*(parseInt(e(223))/10)+parseInt(e(226))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class Z extends a.ListView{[Q(213)];[Q(217)];constructor(t){const e=Q;super(t),this[e(217)]=this[e(224)](),this[e(213)]=new a.ListItemGroupView,this[e(213)][e(228)][e(229)](this[e(217)],1),this[e(213)][e(230)]=I(t,e(209)),this[e(213)][e(218)][e(225)](e(222)).to(this),this[e(218)][e(229)](this[e(213)])}[Q(208)](){const t=Q;let e=0;for(const n of this[t(218)])e+=n[t(218)][t(205)];return{resultsCount:e,totalItemsCount:e}}[Q(224)](){const t=Q,e=this[t(220)],n=new a.ButtonView(this[t(220)]);return n[t(216)]({label:"("+I(e,t(214))+")",withText:!0}),n.on(t(222),()=>this[t(212)](t(204))),n}}const tt={"&":"&","<":"<",">":">",""":'"',"'":"'"};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 it(t,e){const n=ot();return(it=function(t,e){return n[t-=141]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(832242===parseInt(e(141))/1*(-parseInt(e(152))/2)+parseInt(e(155))/3+-parseInt(e(154))/4+parseInt(e(144))/5+-parseInt(e(156))/6+-parseInt(e(143))/7+parseInt(e(148))/8*(parseInt(e(149))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class rt extends a.ListItemView{constructor(t){const e=it;super();const n=new a.ButtonLabelView,i=new a.ButtonView(this[e(153)],n);this[e(142)][e(147)](i),i[e(146)]({label:t[e(151)],withText:!0}),i.on(e(150),()=>{const n=e;this[n(145)](n(150),{value:nt(t[n(151)])})})}}function ot(){const t=["fire","set","add","35520Uqfmst","5895JTDLvm","execute","prompt","2vGkjfU","locale","3140768JNGerD","222744KdUNrz","6845268RmhAfZ","1043864dVVadR","children","1223537CWtBru","4972595htRgwX"];return(ot=function(){return t})()}const st=lt;!function(t){const e=lt,n=t();for(;;)try{if(943320===-parseInt(e(118))/1+parseInt(e(130))/2+parseInt(e(125))/3*(parseInt(e(114))/4)+-parseInt(e(131))/5+-parseInt(e(119))/6*(parseInt(e(123))/7)+parseInt(e(117))/8+-parseInt(e(126))/9*(-parseInt(e(111))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);const at=st(124);function ct(){const t=["stringify","addMany","trim","_saveToSessionStorage","getItem","6300AXVfTa","prompt","add","7444460QOwymx","remove","map","4182720VilJRV","394908SadURR","198TaBUxE","parse","length","_loadFromSessionStorage","225729pOKdJL","CKEditor/AIFormView/PromptHistory","3DHFxxN","4023ZSwkuE","toLowerCase","last","setItem","1477170LMfgUn","5008855xUYonK"];return(ct=function(){return t})()}function lt(t,e){const n=ct();return(lt=function(t,e){return n[t-=106]})(t,e)}class ut extends s.Collection{constructor(){const t=st;super(),this[t(122)](),this.on(t(113),(e,n)=>{const i=t,r=ht(n[i(112)]);for(const t of this)if(t!=n&&ht(t[i(112)])===r){this[i(115)](t);break}this[i(121)]>20&&this[i(115)](this[i(128)]),this[i(109)]()}),this.on(t(115),()=>{this[t(109)]()})}[st(122)](){const t=st,e=sessionStorage[t(110)](at)||"[]";this[t(107)](JSON[t(120)](e))}[st(109)](){const t=st;sessionStorage[t(129)](at,JSON[t(106)](this[t(116)](t=>t)))}}function ht(t){const e=st;return t[e(127)]()[e(108)]()}const dt={"&":"&","<":"<",">":">",'"':""","'":"'"};function pt(t){return et(t).replace(/[&<>"']/g,t=>dt[t])}const ft=gt;function mt(){const t=["setTemplate","toolbar","isVisible","reset","ck-hidden","historyGroupView","1737FFXmEK","listenTo","160CrypcZ","createCollection","Ask AI to improve generated text","delegate","promptView","insertButton","high","focusTracker","submit","queryView","bind","tryAgainEvent","isError","1041250njUbTo","clearHistory","set","div","prompt","fieldView","Empty history","search","REPLACE","focusFirst","focus","errorView","80psPhdi","_createPromptView","Ask AI and your prompts will be listed here for you to use later.","tryAgainButton","value","_createToolbar","label","_focusables","isEnabled","bindTemplate","fire","keystrokes","render","1722453fUqanC","AI_ERROR_FAILED","submitPrompt","element","661190xOLXDY","mainAction","clear","bindTo","trim","2cqwquI","focusLast","focusCycler","text","1660846mtpDFc","startProcessing","stopProcessing","ck-ai-form-content","replaceButton","locale","_createHistoryView","2493396tqGfdB","31616DRGgbt","ck-ai-form","contentArea","Ask AI to edit or generate","replaceContent","_promptHistory","shift + tab","handleError","finishProcessing","stopButton","isProcessing","copyButtonView","insertContentBelow","execute","tab","items","chain","144876TEBwzV","add"];return(mt=function(){return t})()}function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=216]})(t,e)}!function(t){const e=gt,n=t();for(;;)try{if(532764===-parseInt(e(282))/1*(-parseInt(e(287))/2)+-parseInt(e(278))/3+-parseInt(e(298))/4+-parseInt(e(240))/5*(-parseInt(e(230))/6)+-parseInt(e(253))/7+-parseInt(e(299))/8*(parseInt(e(238))/9)+-parseInt(e(265))/10*(-parseInt(e(291))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class kt extends a.View{[ft(247)];[ft(276)];[ft(301)];[ft(233)];[ft(244)];[ft(264)];[ft(272)];[ft(289)];[ft(218)];constructor(t,e,n=""){const i=ft;super(t),this[i(255)](i(273),!0),this[i(255)](i(223),!1),this[i(255)](i(257),""),this[i(255)](i(269),""),this[i(255)](i(252),!1),this[i(255)](i(283),D[i(261)]),this[i(218)]=new ut,this[i(264)]=new j(t),this[i(301)]=new F(t,n),this[i(301)][i(250)](i(223)).to(this),this[i(301)][i(250)](i(269)).to(this),this[i(233)]=this[i(270)](),this[i(233)][i(250)](i(283)).to(this),this[i(244)]=this[i(266)](),this[i(247)]=new s.FocusTracker,this[i(276)]=new s.KeystrokeHandler,this[i(272)]=this[i(241)]([this[i(301)],this[i(301)][i(224)],this[i(233)],this[i(244)]]),this[i(289)]=new a.FocusCycler({focusables:this[i(272)],focusTracker:this[i(247)],keystrokeHandler:this[i(276)],actions:{focusPrevious:i(219),focusNext:i(227)}}),this[i(289)][i(229)](this[i(244)][i(289)]),this[i(244)][i(249)][i(258)][i(250)](i(269)).to(this,i(257));const r=this[i(274)];this[i(232)]({tag:i(256),attributes:{class:["ck",i(300),e],tabindex:"-1"},children:[{tag:i(256),attributes:{class:["ck",i(294)]},children:[{tag:i(256),attributes:{class:[r.if(i(252),i(236),t=>!t)]},children:[this[i(264)]]},this[i(301)],this[i(233)],this[i(244)]]}]})}[ft(277)](){const t=ft;super[t(277)](),this[t(247)][t(231)](this[t(301)][t(281)]),this[t(247)][t(231)](this[t(301)][t(224)][t(281)]),this[t(247)][t(231)](this[t(233)][t(281)]),this[t(247)][t(231)](this[t(244)][t(281)]),this[t(276)][t(239)](this[t(281)])}[ft(263)](t=1){const e=ft;-1===t?this[e(289)][e(288)]():this[e(289)][e(262)]()}[ft(235)](){const t=ft;this[t(257)]="",this[t(269)]="",this[t(252)]=!1,this[t(244)][t(235)](),this[t(301)][t(234)]=!1,this[t(233)][t(234)]=!1}[ft(266)](){const t=ft,e=this[t(296)],n=new K(e,{queryView:{label:I(e,t(216)),creator:a.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:I(e,t(259)),secondary:I(e,t(267))}}},filteredView:this[t(297)](),queryMinChars:1/0,resetOnBlur:!1});return n[t(250)](t(273)).to(this,t(273),this,t(223),(t,e)=>t&&!e),this[t(239)](n,t(248),(e,n)=>{const i=t;this[i(257)]=n;const r=pt(n);this[i(275)](i(280),r),n[i(286)]()&&this[i(218)][i(231)]({prompt:r},0)},{priority:t(246)}),n}[ft(297)](){const t=ft,e=new Z(this[t(296)]);return e[t(237)][t(228)][t(285)](this[t(218)]).as(rt),e.on(t(254),()=>{const e=t;this[e(218)][e(284)](),this[e(244)][e(260)](""),this[e(244)][e(263)]()}),e}[ft(270)](){const t=ft,e=new H(this[t(296)]);return e[t(295)][t(250)](t(273)).to(this,t(273),this,t(223),this,t(269),(t,e,n)=>t&&!e&&!!n),e[t(295)][t(243)](t(226)).to(this,t(217)),e[t(245)][t(250)](t(273)).to(this,t(273),this,t(223),this,t(269),(t,e,n)=>t&&!e&&!!n),e[t(245)][t(243)](t(226)).to(this,t(225)),e[t(268)][t(250)](t(273)).to(this,t(273),this,t(223),(t,e)=>t&&!e),e[t(268)][t(243)](t(226)).to(this,t(251)),e[t(222)][t(250)](t(273)).to(this,t(223)),e[t(222)][t(243)](t(226)).to(this,t(293)),e}[ft(292)](){const t=ft;this[t(269)]="",this[t(252)]=!1,this[t(223)]=!0,this[t(301)][t(234)]=!0,this[t(233)][t(234)]=!0,this[t(301)][t(263)]()}[ft(221)](){const t=ft,e=this[t(296)];this[t(223)]=!1,this[t(257)]="",this[t(244)][t(235)](),this[t(269)]&&(this[t(244)][t(249)][t(271)]=I(e,t(242)))}[ft(220)](t){const e=ft,n=this[e(296)];this[e(221)](),this[e(252)]=!0,this[e(264)][e(290)]=t||I(n,e(279)),this[e(269)]||(this[e(301)][e(234)]=!1)}}var _t=n(6),bt=n.n(_t),wt=n(602),vt=n.n(wt),It=n(557),yt=n.n(It),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=vt(),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=vt(),Ot.insertStyleElement=Tt();bt()(Rt.A,Ot);Rt.A&&Rt.A.locals&&Rt.A.locals;var Nt=n(903),Mt={attributes:{"data-cke":!0}};Mt.setAttributes=Et(),Mt.insert=yt().bind(null,"head"),Mt.domAPI=vt(),Mt.insertStyleElement=Tt();bt()(Nt.A,Mt);Nt.A&&Nt.A.locals&&Nt.A.locals;const Lt=Pt;function Pt(t,e){const n=Ht();return(Pt=function(t,e){return n[t-=243]})(t,e)}!function(t){const e=Pt,n=t();for(;;)try{if(104568===-parseInt(e(343))/1*(-parseInt(e(413))/2)+-parseInt(e(303))/3+-parseInt(e(246))/4+-parseInt(e(404))/5*(-parseInt(e(281))/6)+-parseInt(e(407))/7*(parseInt(e(395))/8)+-parseInt(e(403))/9+-parseInt(e(300))/10*(-parseInt(e(384))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ht);const Dt=globalThis[Lt(335)];function Ht(){const t=["updateView","textAdapter","aiLicenseKeyUsageLimit","panelView","change:enabledCommandsIds","66dQnXXW","domainLimit","rawHtml","_uiCssClasses","push","showUI","buttons","invalid","getSelectedBlocks","aiAssistant","show","8BorFsV","media","aiLicenseKeyEvaluationLimit","groupLabel","document","isFlat","featureNotAllowed","values","1647342dqDsnD","8510RWqiny","text","execute","388507DEFeiQ","copy","map","children","aiLicenseKeyNotAllowed","model","2safRNo","command:","showFakeVisualSelection","evaluationLimit","splice","init","_dialog","_showLicenseError","menuitemcheckbox","insertContentBelow","99440ZpQwND","editor","length","menuBar:aiAssistant","updatePosition","change:isError","getData","_getMenuBarGroupButtons","errorView","menuPanelClass","plugins","polite","prompt","announce","hideFakeVisualSelection","AI Assistant","change:value","trialLimit","bind","ai-commands-config-order-collision","label","focus","aiLicenseKeyTrialLimit","sort","_licenseKeyCheckInterval","_createAIAssistantUIButton","queryView","change:isProcessing","AIAssistantUI","ck-ai-commands-dropdown ","expired","setSelection","insertContent","promptView","includes","210brwqui","ai.assistant.disabledElements","config","selection","_initView","reset","AI is writing","</p>","trim","<p>","define","usageLimit","requires","ai.assistant.commands","forEach"," ck-ai-assistant-ui_theme","delegate","isOfficialPlugin","tableOfContents","622130iezQeY","editing","requiresContent","314655pFIVRq","custom","replace","_populateMenuBarMenu","once","groupId","AI Commands","_getResolvedCommandsDefinitions","update","filter","_formView","Error during AI content generation: %0","isPremiumPlugin","isCollapsed","AIAssistant","showAIAssistant","add","EDITOR_TOP_SIDE","getLimitElement","aiLicenseKeyExpired","ai.assistant.useTheme","pluginName","licenseKey","view","aiLicenseKeyDomainLimit","menuView","componentFactory","locale","getRanges","render","source","_forceMarkersCopy","DataTransfer","text/html","INSERT","wasMoved","schema","destroy","comment","menuBar:aiCommands","40004ouFidY","from","ck-ai-assistant-ui","_commandDefinitions","currentContext","hideUI","hide","_aiAssistantController","aiLicenseKeyInvalid","listenTo","change","fire","ai.assistant.contentAreaCssClass","isOn","Generated content: %0","replaceContent","_onExecute","ck-ai-assistant-button ","contentArea","REPLACE","addMany","aiLicenseKeyValid","_initAriaAiStatusChangeAnnouncements","commands","_aiAdapter","order","enabledCommandsIds","isEnabled","set","items","buttonView","body","get","getSelectedElement","aiCommands","fieldView"];return(Ht=function(){return t})()}class Bt extends r.Plugin{[Lt(325)];[Lt(270)];[Lt(419)];[Lt(313)];[Lt(367)];[Lt(350)];[Lt(387)]="";static get[Lt(324)](){return Lt(274)}static get[Lt(298)](){return!0}static get[Lt(315)](){return!0}static get[Lt(293)](){return[l.ClipboardMarkersUtils,g,w,a.Dialog]}constructor(t){const e=Lt;super(t),t[e(283)][e(291)](e(282),[e(396),e(386),e(299)]),t[e(283)][e(291)](e(355),""),t[e(283)][e(291)](e(323),!0),this[e(387)]=e(345)+(t[e(283)][e(375)](e(323))?e(296):"")}[Lt(418)](){const t=Lt,{editor:e}=this;this[t(367)]=e[t(256)][t(375)](w),this[t(419)]=e[t(256)][t(375)](a.Dialog),this[t(313)]=null,this[t(346)]=this[t(310)]();const n=new E(e,Array[t(344)](this[t(346)][t(402)]()));e[t(366)][t(319)](t(318),n),e.ui[t(329)][t(319)](t(377),i=>{const r=t,s=(0,a.createDropdown)(i);return s[r(371)]({class:r(275)+this[r(387)]}),s[r(373)][r(371)]({label:I(i,r(309)),icon:o.IconMagicWand,tooltip:!0}),s.on(r(406),t=>this[r(359)](t[r(333)].id)),(0,a.addMenuToDropdown)(s,e.ui[r(326)][r(374)],function(t){const e=r,n=c(t[e(283)][e(375)](e(294)),t[e(330)]),i=Vt(t,n)[e(312)](t=>t[e(366)][e(248)]);return 1===i[e(248)]?Vt(t,i[0][e(366)])[e(409)](t=>({id:t.id,label:t[e(266)]})):i[e(409)](n=>{const i=e,{groupId:r,groupLabel:o,commands:s}=n;return{id:r,menu:o||r,children:Vt(t,s)[i(409)](t=>({id:t.id,label:t[i(266)]}))}})}(e),{ariaLabel:I(i,r(309))}),s[r(328)][r(255)]=r(275)+this[r(387)],n.on(r(383),l),s[r(328)][r(307)](r(332),l),s;function l(){const t=r;s[t(370)]=n[t(369)][t(248)]>0;for(const e of s[t(328)][t(390)])e[t(370)]=n[t(369)][t(280)](e.id)}}),e.ui[t(329)][t(319)](t(342),i=>{const r=t,s=new a.MenuBarMenuView(i);s[r(373)][r(371)]({label:I(i,r(309)),icon:o.IconMagicWand}),s[r(264)](r(370)).to(n,r(369),t=>t[r(248)]>0);const l=c(e[r(283)][r(375)](r(294)),i);return this[r(306)](n,s,l,t=>this[r(359)](t)),s}),e.ui[t(329)][t(319)](t(393),()=>{const e=t,n=this[e(271)](a.ButtonView);return n[e(371)]({tooltip:!0,class:e(360)+this[e(387)]}),n}),e.ui[t(329)][t(319)](t(249),()=>{const e=t,n=this[e(271)](a.MenuBarMenuListItemButtonView);return n[e(371)]({role:e(244)}),n}),this[t(325)]=this[t(247)][t(283)][t(375)](t(325));const i=this[t(247)];this[t(270)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,o=i[r];if(e(364)==o||e(351)==o||e(322)==o||e(327)==o||e(411)==o||e(397)==o||e(268)==o||e(381)==o){delete i[r],n=o,clearInterval(this[e(270)]),this[e(270)]=void 0;break}}e(351)==n&&i[e(243)](e(391)),e(322)==n&&i[e(243)](e(276)),e(327)==n&&i[e(243)](e(385)),e(411)==n&&i[e(243)](e(401),e(317)),e(397)==n&&i[e(243)](e(416)),e(268)==n&&i[e(243)](e(263)),e(381)==n&&i[e(243)](e(292))},1e3)}[Lt(340)](){const t=Lt;super[t(340)](),this[t(270)]&&clearInterval(this[t(270)])}[Lt(389)](t="",e="",n=Lt(304)){const i=Lt,r=this[i(247)],s=r[i(301)][i(326)],c=r[i(256)][i(375)](g),h=r[i(256)][i(375)](l.ClipboardMarkersUtils);c[i(415)]();const d=new Dt,p=new ClipboardEvent(i(408),{clipboardData:d}),f=new u.ViewDataTransfer(d),m=new u.ViewDocumentDomEventData(s,p,{dataTransfer:f});h[i(334)](i(341),()=>{const t=i;s[t(399)][t(354)](t(408),m)}),this[i(313)]||(this[i(285)](),this[i(350)]=new N(r,this[i(367)][i(380)],this[i(313)]));let k=f[i(252)](i(336));const _=r[i(412)][i(399)][i(284)],b=Array[i(344)](_[i(331)]());1===b[i(248)]&&b[0][i(400)]&&!_[i(376)]()&&""!==k[i(305)](/ /g,"")[i(289)]()&&(k=i(290)+k+i(288)),this[i(350)][i(379)]({actionId:n,query:t,htmlContent:k,label:e,mainActionLabel:D[r[i(412)][i(399)][i(284)][i(316)]?i(337):i(362)]}),i(393)!==this[i(419)].id?this[i(419)][i(394)]({id:i(393),icon:o.IconRobotPencil,title:I(this[i(247)][i(330)],i(261)),content:this[i(313)],position:a.DialogViewPosition[i(320)],onShow:()=>{const t=i;this[t(313)][t(267)]()},onHide:()=>{const t=i;this[t(350)][t(286)](),c[t(260)]()}}):this[i(419)][i(326)][i(338)]||this[i(419)][i(326)][i(250)]()}[Lt(348)](){const t=Lt;this[t(419)][t(349)]()}[Lt(310)](){const t=Lt,e=new Map,n=c(this[t(247)][t(283)][t(375)](t(294)),this[t(247)][t(330)]);for(const i of n)for(const n of i[t(366)])e[t(371)](n.id,{...n,groupId:i[t(308)],groupLabel:i[t(398)]||i[t(308)]});return e}[Lt(271)](t){const e=Lt,n=this[e(247)],i=n[e(366)][e(375)](e(318)),r=new t(n[e(330)]);return r[e(371)]({label:I(n[e(330)],e(261)),icon:o.IconRobotPencil,isToggleable:!0}),r[e(264)](e(370)).to(i),r[e(264)](e(356)).to(this[e(419)],"id",t=>e(393)===t),this[e(352)](r,e(406),()=>{const t=e;r[t(356)]?this[t(348)]():i[t(406)]()}),r}[Lt(285)](){const t=Lt,e=this[t(247)][t(256)][t(375)](g);this[t(313)]=new kt(this[t(247)][t(330)],this[t(387)],this[t(247)][t(283)][t(375)](t(355))),this[t(313)].on(t(262),()=>{const e=t;this[e(419)][e(326)][e(338)]||this[e(419)][e(326)][e(250)]()}),this[t(313)][t(279)][t(272)][t(378)].on(t(311),()=>{const e=t;this[e(419)][e(326)][e(338)]||this[e(419)][e(326)][e(250)]()}),this[t(352)](this[t(313)],t(358),()=>{const n=t;e[n(278)](this[n(350)][n(347)]),this[n(348)]()}),this[t(352)](this[t(313)],t(245),()=>{const n=t;e[n(245)](this[n(350)][n(347)]),this[n(348)]()}),this[t(365)]()}[Lt(365)](){const t=Lt,{locale:e,ui:{ariaLiveAnnouncer:n}}=this[t(247)];this[t(313)][t(361)].on(t(273),(i,r,o)=>{const s=t,a=this[s(350)][s(347)];o?n[s(259)](I(e,s(287))):a&&n[s(259)](I(e,s(357),a),{politeness:s(257),isUnsafeHTML:!0})}),this[t(313)].on(t(251),(i,r,o)=>{const s=t;if(o){const t=this[s(313)][s(254)][s(405)];n[s(259)](I(e,s(314),t))}})}[Lt(359)](t){const e=Lt,n=this[e(346)][e(375)](t),i=this[e(247)],r=i[e(412)][e(399)][e(284)],o=i[e(366)][e(375)](e(318)),a=i[e(256)][e(375)](g),c=("_ungrouppedCommands"!==n[e(308)]?n[e(398)]+": ":"")+n[e(266)];if(!1!==n[e(302)]&&r[e(316)]){const t=(0,s.first)(r[e(392)]())||i[e(412)][e(339)][e(321)](r);i[e(412)][e(353)](n=>{n[e(277)](t,"in")})}a[e(415)](),o[e(406)](n[e(258)],c,e(414)+t)}[Lt(306)](t,e,n,i){const r=Lt,o=this[r(247)],s=o[r(330)],c=new a.MenuBarMenuListView(s),l=Vt(o,n)[r(312)](t=>t[r(366)][r(248)]);1===l[r(248)]?this[r(253)]({command:t,commands:l[0][r(366)],parentMenuView:e,onExecute:i})[r(295)](t=>c[r(372)][r(319)](t)):l[r(295)](({groupId:n,groupLabel:o,commands:l})=>{const u=r,h=new a.MenuBarMenuListItemView(s,e),d=new a.MenuBarMenuView(s),p=new a.MenuBarMenuListView(s),f=this[u(253)]({command:t,commands:l,parentMenuView:d,onExecute:i});d[u(373)][u(371)]({label:o||n}),d[u(297)](u(406)).to(e),p[u(372)][u(363)](f),d[u(382)][u(410)][u(319)](p),h[u(410)][u(319)](d),c[u(372)][u(319)](h)}),e[r(382)][r(410)][r(319)](c)}[Lt(253)]({command:t,commands:e,parentMenuView:n,onExecute:i}){const r=Lt,o=this[r(247)],s=o[r(330)];return Vt(o,e)[r(409)](e=>{const o=r,c=new a.MenuBarMenuListItemView(s,n),l=new a.MenuBarMenuListItemButtonView(s);return l[o(371)]({label:e[o(266)]}),l[o(297)](o(406)).to(n),l.on(o(406),()=>i(e.id)),l[o(264)](o(370)).to(t,o(369),t=>t[o(280)](e.id)),c[o(410)][o(319)](l),c})}}function Ut(t,e){const n=Lt;return void 0!==t[n(368)]&&void 0===e[n(368)]?1:void 0===t[n(368)]&&void 0!==e[n(368)]?-1:void 0!==t[n(368)]&&void 0!==e[n(368)]?t[n(368)]-e[n(368)]:0}function Vt(t,e){const n=Lt;e[n(269)](Ut);const i={},r=[];for(const o of e)if(void 0!==o[n(368)]){if(o[n(368)]in i)throw new s.CKEditorError(n(265),t,{conflictingDefinitions:[o,i[o[n(368)]]]});i[o[n(368)]]=o,r[n(417)](o[n(368)],0,o)}else r[n(388)](o);return r}const Ft=zt;function qt(){const t=["354752leCcEO","ai.assistant.preserveComments","Continue","changeStyle","Direct","Translate the content to Portuguese language.","locale","makeLonger","Translate the content to Hindi language.","requires","journalism","Improve writing","191213lMzmls","legal","groupId","Improve using friendly, comforting language, to convey understanding and empathy.","get","push","define","Simplified Chinese","Poetic","changeTone","Legal","translate","48839iLjPnd","Improve using compelling, optimistic language to convey confidence in the writing.","Improve using polished, formal, and respectful language to convey professional expertise and competence.","summarize","Rewrite this content as a poem using poetic techniques without losing the original meaning.","Make shorter","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","Translate the content to Spanish language.","Confident","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","2179512iRVzsB","isPremiumPlugin","improveWriting","includes","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","commands","Generate from selection","find","3294950rdtwHW","277046WuXrqN","Rewrite this content as a business professional with formal language.","friendly","Improve using casual, informal language to convey a casual conversation with a real person.","poetic","Improve this content by using descriptive language and inserting more information and more detailed explanations.","translateArabic","Translate the content to English language.","Rewrite this content as a journalist using engaging language to convey the importance of the information.","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","German","casual","translateSpanish","Portuguese","Translate the content to German language.","Hindi","translatePortuguese","continue","set","Professional","direct","translateFrench","1146AidkAn","editOrReview","Improve using direct language, using only the essential information.","ai.assistant.commands","English","makeShorter","Casual","AIAssistant","confident","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","config","Translate the content to French language.","Journalism","Make longer","translateHindi","isOfficialPlugin","Friendly","forEach","4YCMmoM","Change style","Translate the content to Arabic language.","generate","Simplify language","35700HYTsoJ","French","ai.assistant.extraCommandGroups","ai.assistant.removeCommands","Translate","filter","3WEunZX","Business","pluginName","translateGerman","translateEnglish","business","Spanish","Rewrite this content as a legal professional using valid legal terminology.","Change tone","171beCsUF","professional","concat","translateChinese","simplifyLanguage","Edit or review","Summarize","Arabic","Translate the content to Simplified Chinese language."];return(qt=function(){return t})()}function zt(t,e){const n=qt();return(zt=function(t,e){return n[t-=263]})(t,e)}!function(t){const e=zt,n=t();for(;;)try{if(971254===parseInt(e(286))/1*(parseInt(e(347))/2)+-parseInt(e(338))/3*(-parseInt(e(275))/4)+parseInt(e(280))/5+parseInt(e(369))/6*(-parseInt(e(328))/7)+parseInt(e(304))/8*(parseInt(e(295))/9)+parseInt(e(346))/10+-parseInt(e(316))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qt);class Gt extends r.Plugin{static get[Ft(313)](){return[Bt,g]}static get[Ft(288)](){return Ft(264)}static get[Ft(272)](){return!0}static get[Ft(339)](){return!0}constructor(t){const e=Ft;super(t);const n=t[e(267)],i=t[e(310)];n[e(322)](e(305),!0),n[e(322)](e(372),jt(i)),n[e(322)](e(282),[]),n[e(322)](e(283),[]);let r=c(n[e(320)](e(372)),i);const o=n[e(320)](e(282)),s=n[e(320)](e(283));o[e(274)](t=>{const n=e,i=r[n(345)](e=>e[n(318)]===t[n(318)]);i?i[n(343)]=i[n(343)][n(297)](t[n(343)]):r[n(321)](t)}),r=r[e(285)](t=>!s[e(341)](t[e(318)])),r[e(274)](t=>{const n=e;t[n(343)]=t[n(343)][n(285)](t=>!s[n(341)](t.id))}),n[e(365)](e(372),r)}}function jt(t){const e=Ft;return[{groupId:e(370),groupLabel:I(t,e(300)),commands:[{id:e(340),label:I(t,e(315)),prompt:e(342)},{id:e(374),label:I(t,e(333)),prompt:e(356)},{id:e(311),label:I(t,e(270)),prompt:e(352)},{id:e(299),label:I(t,e(279)),prompt:e(266)}]},{groupId:e(278),groupLabel:I(t,e(344)),commands:[{id:e(331),label:I(t,e(301)),prompt:e(337)},{id:e(364),label:I(t,e(306)),prompt:e(334)}]},{groupId:e(325),groupLabel:I(t,e(294)),commands:[{id:e(296),label:I(t,e(366)),prompt:e(330)},{id:e(358),label:I(t,e(263)),prompt:e(350)},{id:e(367),label:I(t,e(308)),prompt:e(371)},{id:e(265),label:I(t,e(336)),prompt:e(329)},{id:e(349),label:I(t,e(273)),prompt:e(319)}]},{groupId:e(307),groupLabel:I(t,e(276)),commands:[{id:e(291),label:I(t,e(287)),prompt:e(348)},{id:e(317),label:I(t,e(326)),prompt:e(293)},{id:e(314),label:I(t,e(269)),prompt:e(355)},{id:e(351),label:I(t,e(324)),prompt:e(332)}]},{groupId:e(327),groupLabel:I(t,e(284)),commands:[{id:e(290),label:I(t,e(373)),prompt:e(354)},{id:e(359),label:I(t,e(292)),prompt:e(335)},{id:e(363),label:I(t,e(360)),prompt:e(309)},{id:e(289),label:I(t,e(357)),prompt:e(361)},{id:e(368),label:I(t,e(281)),prompt:e(268)},{id:e(298),label:I(t,e(323)),prompt:e(303)},{id:e(271),label:I(t,e(362)),prompt:e(312)},{id:e(353),label:I(t,e(302)),prompt:e(277)}]}]}function Wt(){const t=["_prepareRequestParameters","65XUNMhY","AI_ERROR_GET_PARAMETERS","editor","assign","16gJMYPf","object","textAdapter","_prepareRequestHeaders","abort","aitextadapter-send-request-failed","catch","160hKSWiH","makeRequest","plugins","6PNKMVE","application/json","1557963VKJuVx","1964753OWDUcW","10yUEGoc","13356SAjoOF","get","init","aborted","reject","name","1769570Mavydv","resolve","error","sendRequest","AbortError","286965WRXlxo","AI_ERROR_GET_HEADERS","abortController","signal","10882XPZLqH","2420376KcrFcR","requires","locale"];return(Wt=function(){return t})()}const Yt=Kt;function Kt(t,e){const n=Wt();return(Kt=function(t,e){return n[t-=197]})(t,e)}!function(t){const e=Kt,n=t();for(;;)try{if(257685===parseInt(e(216))/1*(parseInt(e(211))/2)+parseInt(e(235))/3*(-parseInt(e(227))/4)+parseInt(e(207))/5*(parseInt(e(230))/6)+-parseInt(e(233))/7+-parseInt(e(220))/8*(-parseInt(e(232))/9)+parseInt(e(234))/10*(parseInt(e(202))/11)+-parseInt(e(212))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Wt);class $t extends r.Plugin{[Yt(209)];static get[Yt(213)](){return[w]}constructor(t){const e=Yt;super(t),this[e(209)]=new AbortController}[Yt(198)](){const t=Yt;this[t(218)][t(229)][t(197)](w)[t(222)]=this}[Yt(224)](){const t=Yt;this[t(209)][t(210)][t(199)]||(this[t(209)][t(224)](),this[t(209)]=new AbortController)}async[Yt(228)](t){const e=Yt;return this[e(205)](t)[e(226)](t=>{const n=e;if(t instanceof v)return Promise[n(200)](t);if(n(206)==t[n(201)])return Promise[n(203)]();throw console[n(204)](t),new s.CKEditorError(n(225),null)})}async[Yt(223)](t,e){const n=Yt,i=this[n(218)][n(214)],r={"Content-Type":n(231)};if(n(221)==typeof t)Object[n(219)](r,t);else if(t)try{const i=await t(e);Object[n(219)](r,i)}catch{return Promise[n(200)](new v(I(i,n(208))))}return r}async[Yt(215)](t,e){const n=Yt,i=this[n(218)][n(214)];if(n(221)==typeof t)return t;try{return await t(e)}catch{return Promise[n(200)](new v(I(i,n(217))))}}}function Qt(t,e){const n=Jt();return(Qt=function(t,e){return n[t-=492]})(t,e)}const Xt=Qt;function Jt(){const t=["stringify","_requestParameters","read","body","get","ai.assistant.adapter.openAI.requestHeaders","923037zOgHUJ","[DONE]","_requestHeaders","editor","data: ","_prepareRequestHeaders","filter","user","content","abortController","join","64fXZsgX","map","ai.assistant.adapter.openAI.apiUrl","Moderation","text","gpt-4o","config","1864Ywiloh","delta","85390bHHTnv","1707654IBUxBe","context_length_exceeded","json","https://api.openai.com/v1/chat/completions","AI_ERROR_CONTEXT_LENGTH","AI_ERROR_MODERATION","133092YAByQT","prepareMessages","_readStaticResponse","signal","define","split","choices","sendRequest","\nYou must keep the text formatting.\n\nContent:\n","message","_readStreamableResponse","_isBufferIncomplete","resolve","_apiUrl","_prepareRequestParameters","_cleanUpData","571534utscRw","stream","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.","locale","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.","3185451CBrCQb","Instruction:\n","length","OpenAITextAdapter","POST","parse","pluginName","includes","ai.assistant.adapter.openAI.requestParameters","replace","reject","system","getReader","5243HRQTCm","decode"];return(Jt=function(){return t})()}!function(t){const e=Qt,n=t();for(;;)try{if(186721===parseInt(e(533))/1+parseInt(e(549))/2+parseInt(e(506))/3+parseInt(e(517))/4*(parseInt(e(526))/5)+-parseInt(e(527))/6+parseInt(e(498))/7*(-parseInt(e(524))/8)+-parseInt(e(554))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Jt);class Zt extends $t{[Xt(546)];[Xt(508)];[Xt(501)];static get[Xt(560)](){return Xt(557)}constructor(t){const e=Xt;super(t),t[e(523)][e(537)](e(519),e(530)),t[e(523)][e(504)](e(493))||t[e(523)][e(537)](e(493),{model:e(522),temperature:1,top_p:1,stream:!0}),this[e(546)]=t[e(523)][e(504)](e(519)),this[e(508)]=t[e(523)][e(504)](e(505))||{},this[e(501)]=t[e(523)][e(504)](e(493))}async[Xt(540)]({query:t,context:e,onData:n,actionId:i}){const r=Xt,o=this[r(509)][r(552)],s=await this[r(534)](t,e,i),a=await this[r(511)](this[r(508)],i),c=await this[r(547)](this[r(501)],i),l={messages:s,...c},u={method:r(558),headers:a,body:JSON[r(500)](l),signal:this[r(515)][r(536)]},h=await fetch(this[r(546)],u);if(h.ok)return c[r(550)]?await this[r(543)](h,n):await this[r(535)](h,n),Promise[r(545)]();{const t=await h[r(521)]();return t[r(492)](r(528))?Promise[r(495)](new v(I(o,r(531)))):t[r(492)](r(520))?Promise[r(495)](new v(I(o,r(532)))):Promise[r(495)](new Error(t))}}async[Xt(534)](t,e,n){const i=Xt;let r,o;return e?(r=i(553),o=i(555)+t+i(541)+e):(r=i(551),o=t),[{role:i(496),content:r},{role:i(513),content:o}]}async[Xt(543)](t,e){const n=Xt,i=t[n(503)][n(497)](),r=new TextDecoder;let o="",s="",a="",c=!1;for(;!c;){const{done:t,value:l}=await i[n(502)](),u=o+r[n(499)](l);let h="";c=t;try{h=this[n(548)](u),o=""}catch{o=u;continue}s+=h,!c&&this[n(544)](s)||s&&(a+=s,s="",e(a))}return Promise[n(545)]()}async[Xt(535)](t,e){const n=Xt;return e((await t[n(529)]())[n(539)][0][n(542)][n(514)]),Promise[n(545)]()}[Xt(544)](t){const e=Xt,n=t[e(538)]("<")[e(556)]!==t[e(538)](">")[e(556)],i=t[e(556)]<30;return n&&i}[Xt(548)](t){const e=Xt;return t[e(538)](/\n(?![^{]*\})/g)[e(518)](t=>t[e(494)](e(510),""))[e(512)](t=>t&&t[e(556)]>0&&e(507)!==t)[e(518)](t=>{const n=e,{choices:i}=JSON[n(559)](t);if(i[0]?.[n(525)]?.[n(514)])return i[0][n(525)][n(514)]})[e(512)](t=>t)[e(516)]("")}}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 i=n[e];return{...t,[e]:Array.isArray(i)?[...i]:i}},{}))),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:i}=n,{handlerProtocol:r=""}=t.requestHandler.metadata||{};if(r.indexOf("h2")>=0&&!i.headers[":authority"])delete i.headers.host,i.headers[":authority"]=i.hostname+(i.port?":"+i.port:"");else if(!i.headers.host){let t=i.hostname;null!=i.port&&(t+=`:${i.port}`),i.headers.host=t}return e(n)})(t),ee)}}),ie={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},re="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:i}=n;if(!te.isInstance(i)||"node"!==t.runtime)return e(n);const r=Object.keys(i.headers??{}).find(t=>t.toLowerCase()===re.toLowerCase())??re;if(i.headers.hasOwnProperty(r))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)&&(i.headers[re]=s),e({...n,request:i})})(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"}'),me="";const ge={isVirtualHostableS3Bucket:pe,parseArn:t=>{const e=t.split(":");if(e.length<6)return null;const[n,i,r,o,s,...a]=e;if("arn"!==n||""===i||""===r||""===a.join(":"))return null;return{partition:i,service:r,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:i}=n;for(const[n,r]of Object.entries(e))if(n===t)return{...i,...r}}for(const n of e){const{regionRegex:e,outputs:i}=n;if(new RegExp(e).test(t))return{...i}}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=ge;const _e=/\d{12}\.ddb/;const be="user-agent",we="x-amz-user-agent",ve=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Ie=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;const ye=t=>(e,n)=>async i=>{const{request:r}=i;if(!te.isInstance(r))return e(i);const{headers:o}=r,s=n?.userAgent?.map(Ae)||[],a=(await t.defaultUserAgentProvider()).map(Ae);await async function(t,e,n){const i=n.request;if("rpc-v2-cbor"===i?.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 r=t.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){const e=r;e.accountId&&ke(t,"RESOLVED_ACCOUNT_ID","T");for(const[n,i]of Object.entries(e.$source??{}))ke(t,n,i)}}(n,t,i);const c=n;a.push(`m/${function(t){let e="";for(const n in t){const i=t[n];if(!(e.length+i.length+1<=1024))break;e.length?e+=","+i:e+=i}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=(me?[me]:[]).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({...i,request:r})},Ae=t=>{const e=t[0].split("/").map(t=>t.replace(ve,"-")).join("/"),n=t[1]?.replace(Ie,"-"),i=e.indexOf("/"),r=e.substring(0,i);let o=e.substring(i+1);return"api"===r&&(o=o.toLowerCase()),[r,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,i)=>async r=>{const o=((t,e)=>{if(!e||0===e.length)return t;const n=[];for(const i of e)for(const e of t)e.schemeId.split("#")[1]===i&&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,i,r.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(i),c=[];for(const n of o){const r=s.get(n.schemeId);if(!r){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const o=r.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,i)||{};n.identityProperties=Object.assign(n.identityProperties||{},l),n.signingProperties=Object.assign(n.signingProperties||{},u),a.selectedHttpAuthScheme={httpAuthOption:n,identity:await o(n.identityProperties),signer:r.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return n(r)},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 Me=t=>t=>{throw t},Le=(t,e)=>{},Pe={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 i=Se(e).selectedHttpAuthScheme;if(!i)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:r={}},identity:o,signer:s}=i,a=await t({...n,request:await s.sign(n.request,o,r)}).catch((s.errorHandler||Me)(r));return(s.successHandler||Le)(a.response,r),a},Pe)}}),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 i=e.request;if(te.isInstance(i)){const{body:t,headers:e}=i;if(t&&-1===Object.keys(e).map(t=>t.toLowerCase()).indexOf(He))try{const e=n(t);i.headers={...i.headers,[He]:String(e)}}catch(t){}}return t({...e,request:i})}),Be)}}),Ve=t=>{if("function"==typeof t)return t;const e=Promise.resolve(t);return()=>e},Fe=async t=>{};const qe=t=>{if("string"==typeof t)return qe(new URL(t));const{hostname:e,pathname:n,port:i,protocol:r,search:o}=t;let s;return o&&(s=function(t){const e={};if(t=t.replace(/^\?/,""))for(const n of t.split("&")){let[t,i=null]=n.split("=");t=decodeURIComponent(t),i&&(i=decodeURIComponent(i)),t in e?Array.isArray(e[t])?e[t].push(i):e[t]=[e[t],i]:e[t]=i}return e}(o)),{hostname:e,port:i?parseInt(i):void 0,protocol:r,path:n,query:s}},ze=t=>"object"==typeof t?"url"in t?qe(t.url):t:qe(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,Je=(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&&Je(t.cause,e+1);class Ze{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=>Ze.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))}}Ze.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 i=this.retryBackoffStrategy.computeNextBackoffDelay(t.getRetryCount()),r=e.retryAfterHint?Math.max(e.retryAfterHint.getTime()-Date.now()||0,i):i,o=this.getCapacityCost(n);return this.capacity-=o,tn({retryDelay:r,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 Ze,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 i=(t=t||{}).random||(t.rng||ln)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=i[t];return e}return hn(i)},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}`),mn=t=>void 0!==t.acquireInitialRetryToken&&void 0!==t.refreshRetryTokenForRetry&&void 0!==t.recordSuccess,gn=t=>{const e={error:t,errorType:kn(t)},n=wn(t.$response);return n&&(e.retryAfterHint=n),e},kn=t=>Xe(t)?"THROTTLING":Je(t)?"TRANSIENT":(t=>{if(void 0!==t.$metadata?.httpStatusCode){const e=t.$metadata.httpStatusCode;return 500<=e&&e<=599&&!Je(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 i=>{let r=await t.retryStrategy();const o=await t.maxAttempts();if(!mn(r))return r?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",r.mode]]),r.retry(e,i);{let t=await r.acquireInitialRetryToken(n.partition_id),s=new Error,a=0,c=0;const{request:l}=i,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(i);return r.recordSuccess(t),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,{response:n,output:s}}catch(e){const i=gn(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 r.refreshRetryTokenForRetry(t,i)}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],i=Number(n);if(!Number.isNaN(i))return new Date(1e3*i);return new Date(n)},vn=(t,e)=>{const n=[];if(t&&n.push(t),e)for(const t of e)n.push(t);return n},In=(t,e)=>`${t||"anonymous"}${e&&e.length>0?` (a.k.a. ${e.join(",")})`:""}`,yn=()=>{let t=[],e=[],n=!1;const i=new Set,r=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 i=[],r=[],s={};t.forEach(t=>{const e={...t,before:[],after:[]};for(const t of vn(e.name,e.aliases))s[t]=e;i.push(e)}),e.forEach(t=>{const e={...t,before:[],after:[]};for(const t of vn(e.name,e.aliases))s[t]=e;r.push(e)}),r.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 ${In(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=i,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:r,override:o,aliases:s}=n,a={step:"initialize",priority:"normal",middleware:e,...n},c=vn(r,s);if(c.length>0){if(c.some(t=>i.has(t))){if(!o)throw new Error(`Duplicate middleware name '${In(r,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 i=t[n];if(i.step!==a.step||a.priority!==i.priority)throw new Error(`"${In(i.name,i.aliases)}" middleware with ${i.priority} priority in ${i.step} step cannot be overridden by "${In(r,s)}" middleware with ${a.priority} priority in ${a.step} step.`);t.splice(n,1)}}for(const t of c)i.add(t)}t.push(a)},addRelativeTo:(t,n)=>{const{name:r,override:o,aliases:s}=n,a={middleware:t,...n},c=vn(r,s);if(c.length>0){if(c.some(t=>i.has(t))){if(!o)throw new Error(`Duplicate middleware name '${In(r,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 i=e[n];if(i.toMiddleware!==a.toMiddleware||i.relation!==a.relation)throw new Error(`"${In(i.name,i.aliases)}" middleware ${i.relation} "${i.toMiddleware}" middleware cannot be overridden by "${In(r,s)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);e.splice(n,1)}}for(const t of c)i.add(t)}e.push(a)},clone:()=>r(yn()),use:t=>{t.applyToStack(a)},remove:n=>"string"==typeof n?(n=>{let r=!1;const o=t=>{const e=vn(t.name,t.aliases);if(e.includes(n)){r=!0;for(const t of e)i.delete(t);return!1}return!0};return t=t.filter(o),e=e.filter(o),r})(n):(n=>{let r=!1;const o=t=>{if(t.middleware===n){r=!0;for(const e of vn(t.name,t.aliases))i.delete(e);return!1}return!0};return t=t.filter(o),e=e.filter(o),r})(n),removeByTag:n=>{let r=!1;const o=t=>{const{tags:e,name:o,aliases:s}=t;if(e&&e.includes(n)){const t=vn(o,s);for(const e of t)i.delete(e);return r=!0,!1}return!0};return t=t.filter(o),e=e.filter(o),r},concat:t=>{const e=r(yn());return e.use(t),e.identifyOnResolve(n||e.identifyOnResolve()||(t.identifyOnResolve?.()??!1)),e},applyToStack:r,identify:()=>s(!0).map(t=>{const e=t.step??t.relation+" "+t.toMiddleware;return In(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 i="function"!=typeof e?e:void 0,r="function"==typeof e?e:n;let o;if(void 0===i&&!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,i),e.set(t.constructor,o))}else delete this.handlers,o=t.resolveMiddleware(this.middlewareStack,this.config,i);if(!r)return o(t).then(t=>t.output);o(t).then(t=>r(null,t.output),t=>r(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 i=t.slice(n,n+2).toLowerCase();if(!(i in On))throw new Error(`Cannot decode unrecognized sequence ${i} as hexadecimal`);e[n/2]=On[i]}return e}function Mn(t){let e="";for(let n=0;n<t.byteLength;n++)e+=Rn[t[n]];return e}const Ln=t=>(new TextEncoder).encode(t),Pn=t=>"string"==typeof t?Ln(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(),Fn=[Un,Vn,"date"],qn=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={},Jn=[],Zn=(t,e,n)=>`${t}/${e}/${n}/${Qn}`,ti=(t,e,n)=>{const i=new t(e);return i.update(Pn(n)),i.digest()},ei=({headers:t},e,n)=>{const i={};for(const r of Object.keys(t).sort()){if(null==t[r])continue;const o=r.toLowerCase();(o in jn||e?.has(o)||Wn.test(o)||Yn.test(o))&&(!n||n&&!n.has(o))||(i[o]=t[r].trim().replace(/\s+/g," "))}return i},ni=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)||(i=e,"function"==typeof ArrayBuffer&&i instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(i))){const t=new n;return t.update(Pn(e)),Mn(await t.digest())}var i;return"UNSIGNED-PAYLOAD"};class ii{format(t){const e=[];for(const n of Object.keys(t)){const i=Ln(n);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let i=0;for(const t of e)n.set(t,i),i+=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 i=new Uint8Array(9);return i[0]=5,i.set(t.value.bytes,1),i;case"binary":const r=new DataView(new ArrayBuffer(3+t.value.byteLength));r.setUint8(0,6),r.setUint16(1,t.value.byteLength,!1);const o=new Uint8Array(r.buffer);return o.set(t.value,3),o;case"string":const s=Ln(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(si.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}}}var ri;!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"}(ri||(ri={}));const 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){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,i=Math.abs(Math.round(t));n>-1&&i>0;n--,i/=256)e[n]=i;return t<0&&ai(e),new si(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&ai(t),parseInt(Mn(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function ai(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}const ci=t=>{t=te.clone(t);for(const e of Object.keys(t.headers))Fn.indexOf(e.toLowerCase())>-1&&delete t.headers[e];return t},li=t=>encodeURIComponent(t).replace(/[!'()*]/g,ui),ui=t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`,hi=t=>"number"==typeof t?new Date(1e3*t):"string"==typeof t?Number(t)?new Date(1e3*Number(t)):new Date(t):t;class di{constructor({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:o=!0}){this.service=i,this.sha256=r,this.uriEscapePath=o,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=Ve(n),this.credentialProvider=Ve(e)}createCanonicalRequest(t,e,n){const i=Object.keys(e).sort();return`${t.method}\n${this.getCanonicalPath(t)}\n${(({query:t={}})=>{const e=[],n={};for(const i of Object.keys(t)){if(i.toLowerCase()===qn)continue;const r=li(i);e.push(r);const o=t[i];"string"==typeof o?n[r]=`${r}=${li(o)}`:Array.isArray(o)&&(n[r]=o.slice(0).reduce((t,e)=>t.concat([`${r}=${li(e)}`]),[]).sort().join("&"))}return e.sort().map(t=>n[t]).filter(t=>t).join("&")})(t)}\n${i.map(t=>`${t}:${e[t]}`).join("\n")}\n\n${i.join(";")}\n${n}`}async createStringToSign(t,e,n,i){const r=new this.sha256;r.update(Pn(n));return`${i}\n${t}\n${e}\n${Mn(await r.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 li(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,hi(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 pi extends di{constructor({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:o=!0}){super({applyChecksum:t,credentials:e,region:n,service:i,sha256:r,uriEscapePath:o}),this.headerFormatter=new ii}async presign(t,e={}){const{signingDate:n=new Date,expiresIn:i=3600,unsignableHeaders:r,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(i>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const f=Zn(p,h,l??this.service),m=((t,e={})=>{const{headers:n,query:i={}}=te.clone(t);for(const t of Object.keys(n)){const r=t.toLowerCase();("x-amz-"===r.slice(0,6)&&!e.unhoistableHeaders?.has(r)||e.hoistableHeaders?.has(r))&&(i[t]=n[t],delete n[t])}return{...t,headers:n,query:i}})(ci(t),{unhoistableHeaders:o,hoistableHeaders:a});u.sessionToken&&(m.query[Bn]=u.sessionToken),m.query["X-Amz-Algorithm"]=Kn,m.query["X-Amz-Credential"]=`${u.accessKeyId}/${f}`,m.query[Dn]=d,m.query["X-Amz-Expires"]=i.toString(10);const g=ei(m,r,s);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[Hn]=await this.getSignature(d,f,this.getSigningKey(u,h,p,l),this.createCanonicalRequest(m,g,await ni(t,this.sha256))),m}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:i,signingRegion:r,signingService:o}){const s=r??await this.regionProvider(),{shortDate:a,longDate:c}=this.formatDate(n),l=Zn(a,s,o??this.service),u=await ni({headers:{},body:e},this.sha256),h=new this.sha256;h.update(t);const d=Mn(await h.digest()),p=[$n,c,l,i,d,u].join("\n");return this.signString(p,{signingDate:n,signingRegion:s,signingService:o})}async signMessage(t,{signingDate:e=new Date,signingRegion:n,signingService:i}){return this.signEvent({headers:this.headerFormatter.format(t.message.headers),payload:t.message.body},{signingDate:e,signingRegion:n,signingService:i,priorSignature:t.priorSignature}).then(e=>({message:t.message,signature:e}))}async signString(t,{signingDate:e=new Date,signingRegion:n,signingService:i}={}){const r=await this.credentialProvider();this.validateResolvedCredentials(r);const o=n??await this.regionProvider(),{shortDate:s}=this.formatDate(e),a=new this.sha256(await this.getSigningKey(r,o,s,i));return a.update(Pn(t)),Mn(await a.digest())}async signRequest(t,{signingDate:e=new Date,signableHeaders:n,unsignableHeaders:i,signingRegion:r,signingService:o}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const a=r??await this.regionProvider(),c=ci(t),{longDate:l,shortDate:u}=this.formatDate(e),h=Zn(u,a,o??this.service);c.headers[Vn]=l,s.sessionToken&&(c.headers[Gn]=s.sessionToken);const d=await ni(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=ei(c,i,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,i){const r=await this.createStringToSign(t,e,i,Kn),o=new this.sha256(await n);return o.update(Pn(r)),Mn(await o.digest())}getSigningKey(t,e,n,i){return(async(t,e,n,i,r)=>{const o=`${n}:${i}:${r}:${Mn(await ti(t,e.secretAccessKey,e.accessKeyId))}:${e.sessionToken}`;if(o in Xn)return Xn[o];for(Jn.push(o);Jn.length>50;)delete Xn[Jn.shift()];let s=`AWS4${e.secretAccessKey}`;for(const e of[n,i,r,Qn])s=await ti(t,s,e);return Xn[o]=s})(this.sha256,t,n,e,i||this.service)}}const fi=t=>{let e,n=t.credentials,i=!!t.credentials;Object.defineProperty(t,"credentials",{set(r){r&&r!==n&&r!==e&&(i=!0),n=r;const o=function(t,{credentials:e,credentialDefaultProvider:n}){let i;i=e?e?.memoized?e:((t,e,n)=>{if(void 0===t)return;const i="function"!=typeof t?async()=>Promise.resolve(t):t;let r,o,s,a=!1;const c=async t=>{o||(o=i(t));try{r=await o,s=!0,a=!1}finally{o=void 0}return r};return void 0===e?async t=>(s&&!t?.forceRefresh||(r=await c(t)),r):async t=>(s&&!t?.forceRefresh||(r=await c(t)),a?r:n(r)?e(r)?(await c(t),r):r:(a=!0,r))})(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 i.memoized=!0,i}(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);i&&!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:r=!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:i,signingService:o}=e;t.signingRegion=t.signingRegion||i||n,t.signingName=t.signingName||o||t.serviceId;const a={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:r};return new(t.signerConstructor||pi)(a)}):async e=>{const n=(e=Object.assign({},{name:"sigv4",signingName:t.signingName||t.defaultSigningName,signingRegion:await ae(t.region)(),properties:{}},e)).signingRegion,i=e.signingName;t.signingRegion=t.signingRegion||n,t.signingName=t.signingName||i||t.serviceId;const o={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:r};return new(t.signerConstructor||pi)(o)};return Object.assign(t,{systemClockOffset:o,signingEscapePath:r,signer:a})};const mi=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 gi=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},ki={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},_i="3.823.0";var bi="undefined"!=typeof Buffer&&Buffer.from?function(t){return Buffer.from(t,"utf8")}:t=>(new TextEncoder).encode(t);function wi(t){return t instanceof Uint8Array?t:"string"==typeof t?bi(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t)}function vi(t){return"string"==typeof t?0===t.length:0===t.byteLength}var Ii={name:"SHA-256"},yi={name:"HMAC",hash:Ii},Ai=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 Ei={};function xi(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Ei}var Ti=function(){function t(t){this.toHash=new Uint8Array(0),this.secret=t,this.reset()}return t.prototype.update=function(t){if(!vi(t)){var e=wi(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 xi().crypto.subtle.sign(yi,e,t.toHash).then(function(t){return new Uint8Array(t)})}):vi(this.toHash)?Promise.resolve(Ai):Promise.resolve().then(function(){return xi().crypto.subtle.digest(Ii,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){xi().crypto.subtle.importKey("raw",wi(t.secret),yi,!1,["sign"]).then(e,n)}),this.key.catch(function(){}))},t}();function Ci(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{c(i.next(t))}catch(t){o(t)}}function a(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(s,a)}c((i=i.apply(t,e||[])).next())})}function Si(t,e){var n,i,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function Ri(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Oi=64,Ni=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]),Mi=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Li=Math.pow(2,53)-1,Pi=function(){function t(){this.state=Int32Array.from(Mi),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>Li)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=t[e++],n--,this.bufferLength===Oi&&(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%Oi>=56){for(var i=this.bufferLength;i<Oi;i++)e.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(i=this.bufferLength;i<56;i++)e.setUint8(i,0);e.setUint32(56,Math.floor(t/4294967296),!0),e.setUint32(60,t),this.hashBuffer(),this.finished=!0}var r=new Uint8Array(32);for(i=0;i<8;i++)r[4*i]=this.state[i]>>>24&255,r[4*i+1]=this.state[i]>>>16&255,r[4*i+2]=this.state[i]>>>8&255,r[4*i+3]=this.state[i]>>>0&255;return r},t.prototype.hashBuffer=function(){for(var t=this.buffer,e=this.state,n=e[0],i=e[1],r=e[2],o=e[3],s=e[4],a=e[5],c=e[6],l=e[7],u=0;u<Oi;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+(Ni[u]+this.temp[u]|0)|0)|0,m=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&r^i&r)|0;l=c,c=a,a=s,s=o+f|0,o=r,r=i,i=n,n=f+m|0}e[0]+=n,e[1]+=i,e[2]+=r,e[3]+=o,e[4]+=s,e[5]+=a,e[6]+=c,e[7]+=l},t}(),Di=function(){function t(t){this.secret=t,this.hash=new Pi,this.reset()}return t.prototype.update=function(t){if(!vi(t)&&!this.error)try{this.hash.update(wi(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 Ci(this,void 0,void 0,function(){return Si(this,function(t){return[2,this.digestSync()]})})},t.prototype.reset=function(){if(this.hash=new Pi,this.secret){this.outer=new Pi;var t=function(t){var e=wi(t);if(e.byteLength>Oi){var n=new Pi;n.update(e),e=n.digest()}var i=new Uint8Array(Oi);return i.set(e),i}(this.secret),e=new Uint8Array(Oi);e.set(t);for(var n=0;n<Oi;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 Hi=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function Bi(t){return t&&Hi.every(function(e){return"function"==typeof t[e]})}var Ui=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)&&Bi(t.crypto.subtle)}(xi())?this.hash=new Di(t):this.hash=new Ti(t)}return t.prototype.update=function(t,e){this.hash.update(wi(t))},t.prototype.digest=function(){return this.hash.digest()},t.prototype.reset=function(){this.hash.reset()},t}(),Vi=n(179),Fi=n.n(Vi);const qi=({serviceId:t,clientVersion:e})=>async n=>{const i="undefined"!=typeof window&&window?.navigator?.userAgent?Fi().parse(window.navigator.userAgent):void 0,r=[["aws-sdk-js",e],["ua","2.1"],[`os/${i?.os?.name||"other"}`,i?.os?.version],["lang/js"],["md/browser",`${i?.browser?.name??"unknown"}_${i?.browser?.version??"unknown"}`]];t&&r.push([`api/${t}`,e]);const o=await(n?.userAgentAppId?.());return o&&r.push([`app/${o}`]),r};var zi;!function(t){t.ENV="env",t.CONFIG="shared config entry"}(zi||(zi={}));!function(){function t(){this.crc32=new ji}t.prototype.update=function(t){vi(t)||this.crc32.update(wi(t))},t.prototype.digest=function(){return Ci(this,void 0,void 0,function(){return Si(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 ji}}();var Gi,ji=function(){function t(){this.checksum=4294967295}return t.prototype.update=function(t){var e,n;try{for(var i=Ri(t),r=i.next();!r.done;r=i.next()){var o=r.value;this.checksum=this.checksum>>>8^Wi[255&(this.checksum^o)]}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return this},t.prototype.digest=function(){return(4294967295^this.checksum)>>>0},t}(),Wi=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 Yi{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,i=Math.abs(Math.round(t));n>-1&&i>0;n--,i/=256)e[n]=i;return t<0&&Ki(e),new Yi(e)}valueOf(){const t=this.bytes.slice(0),e=128&t[0];return e&&Ki(t),parseInt(Mn(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function Ki(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,0===t[e]);e--);}class $i{constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){const e=[];for(const n of Object.keys(t)){const i=this.fromUtf8(n);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[n]))}const n=new Uint8Array(e.reduce((t,e)=>t+e.byteLength,0));let i=0;for(const t of e)n.set(t,i),i+=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 i=new Uint8Array(9);return i[0]=5,i.set(t.value.bytes,1),i;case"binary":const r=new DataView(new ArrayBuffer(3+t.value.byteLength));r.setUint8(0,6),r.setUint16(1,t.value.byteLength,!1);const o=new Uint8Array(r.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(Yi.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}}parse(t){const e={};let n=0;for(;n<t.byteLength;){const i=t.getUint8(n++),r=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,i));switch(n+=i,t.getUint8(n++)){case 0:e[r]={type:Qi,value:!0};break;case 1:e[r]={type:Qi,value:!1};break;case 2:e[r]={type:Xi,value:t.getInt8(n++)};break;case 3:e[r]={type:Ji,value:t.getInt16(n,!1)},n+=2;break;case 4:e[r]={type:Zi,value:t.getInt32(n,!1)},n+=4;break;case 5:e[r]={type:tr,value:new Yi(new Uint8Array(t.buffer,t.byteOffset+n,8))},n+=8;break;case 6:const i=t.getUint16(n,!1);n+=2,e[r]={type:er,value:new Uint8Array(t.buffer,t.byteOffset+n,i)},n+=i;break;case 7:const o=t.getUint16(n,!1);n+=2,e[r]={type:nr,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+n,o))},n+=o;break;case 8:e[r]={type:ir,value:new Date(new Yi(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[r]={type:rr,value:`${Mn(s.subarray(0,4))}-${Mn(s.subarray(4,6))}-${Mn(s.subarray(6,8))}-${Mn(s.subarray(8,10))}-${Mn(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"}(Gi||(Gi={}));const Qi="boolean",Xi="byte",Ji="short",Zi="integer",tr="long",er="binary",nr="string",ir="timestamp",rr="uuid",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,e){this.headerMarshaller=new $i(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),i=n.byteLength+e.byteLength+16,r=new Uint8Array(i),o=new DataView(r.buffer,r.byteOffset,r.byteLength),s=new ji;return o.setUint32(0,i,!1),o.setUint32(4,n.byteLength,!1),o.setUint32(8,s.update(r.subarray(0,8)).digest(),!1),r.set(n,12),r.set(e,n.byteLength+12),o.setUint32(i-4,s.update(r.subarray(8,i-4)).digest(),!1),r}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 i=new DataView(n,e,t),r=i.getUint32(0,!1);if(t!==r)throw new Error("Reported message length does not match received message length");const o=i.getUint32(4,!1),s=i.getUint32(8,!1),a=i.getUint32(t-4,!1),c=(new ji).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,r-o-16)}}(t);return{headers:this.headerMarshaller.parse(e),body:n}}formatHeaders(t){return this.headerMarshaller.format(t)}}class ar{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 cr{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 lr{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 ur{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 hr(t,e){return async function(n){const{value:i}=n.headers[":message-type"];if("error"===i){const t=new Error(n.headers[":error-message"].value||"UnknownError");throw t.name=n.headers[":error-code"].value,t}if("exception"===i){const i=n.headers[":exception-type"].value,r={[i]:n},o=await t(r);if(o.$unknown){const t=new Error(e(n.body));throw t.name=i,t}throw o[i]}if("event"===i){const e={[n.headers[":event-type"].value]:n},i=await t(e);if(i.$unknown)return;return i}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class dr{constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new sr(t,e),this.utfEncoder=t}deserialize(t,e){const n=function(t){let e=0,n=0,i=null,r=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,i=new Uint8Array(t),new DataView(i.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 i)}const c=t.length;let l=0;for(;l<c;){if(!i){const e=c-l;r||(r=new Uint8Array(4));const i=Math.min(4-n,e);if(r.set(t.slice(l,l+i),n),n+=i,l+=i,n<4)break;o(new DataView(r.buffer).getUint32(0,!1)),r=null}const s=Math.min(e-n,c-l);i.set(t.slice(l,l+s),n),n+=s,l+=s,e&&e===n&&(yield i,i=null,e=0,n=0)}}}}}(t);return new ar({messageStream:new cr({inputStream:n,decoder:this.eventStreamCodec}),deserializer:hr(e,this.utfEncoder)})}serialize(t,e){return new lr({messageStream:new ur({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class pr{constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new dr({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){const n=fr(t)?(i=t,{[Symbol.asyncIterator]:async function*(){const t=i.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}):t;var i;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:i}=await e.next();if(n)return t.close();t.enqueue(i)}})})(n):n}}const fr=t=>"function"==typeof ReadableStream&&t instanceof ReadableStream,mr=t=>new pr(t);function gr(t,e){return new Request(t,e)}function kr(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 _r={supported:void 0};class br{static create(t){return"function"==typeof t?.handle?t:new br(t)}constructor(t){"function"==typeof t?this.configProvider=t().then(t=>t||{}):(this.config=t??{},this.configProvider=Promise.resolve(this.config)),void 0===_r.supported&&(_r.supported=Boolean("undefined"!=typeof Request&&"keepalive"in gr("https://[::1]")))}destroy(){}async handle(t,{abortSignal:e,requestTimeout:n}={}){this.config||(this.config=await this.configProvider);const i=n??this.config.requestTimeout,r=!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 i=t[n];if(n=li(n),Array.isArray(i))for(let t=0,r=i.length;t<r;t++)e.push(`${n}=${li(i[t])}`);else{let t=n;(i||"string"==typeof i)&&(t+=`=${li(i)}`),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),_r.supported&&(p.keepalive=r),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(t));let f=()=>{};const m=gr(h,p),g=[fetch(m).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})}))}),kr(i)];return e&&g.push(new Promise((t,n)=>{const i=()=>{const t=new Error("Request aborted");t.name="AbortError",n(t)};if("function"==typeof e.addEventListener){const t=e;t.addEventListener("abort",i,{once:!0}),f=()=>t.removeEventListener("abort",i)}else e.onabort=i})),Promise.race(g).finally(f)}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[t]=e,n))}httpHandlerConfigs(){return this.config??{}}}const wr={},vr=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);wr[n]=t,vr[t]=n}for(let t=0,e="a".charCodeAt(0),n="z".charCodeAt(0);t+e<=n;t++){const n=String.fromCharCode(t+e),i=t+26;wr[n]=i,vr[i]=n}for(let t=0;t<10;t++){wr[t.toString(10)]=t+52;const e=t.toString(10),n=t+52;wr[e]=n,vr[n]=e}wr["+"]=62,vr[62]="+",wr["/"]=63,vr[63]="/";const Ir=t=>{let e=t.length/4*3;"=="===t.slice(-2)?e-=2:"="===t.slice(-1)&&e--;const n=new ArrayBuffer(e),i=new DataView(n);for(let e=0;e<t.length;e+=4){let n=0,r=0;for(let i=e,o=e+3;i<=o;i++)if("="!==t[i]){if(!(t[i]in wr))throw new TypeError(`Invalid character ${t[i]} in base64 string.`);n|=wr[t[i]]<<6*(o-i),r+=6}else n>>=6;const o=e/4*3;n>>=r%8;const s=Math.floor(r/8);for(let t=0;t<s;t++){const e=8*(s-t-1);i.setUint8(o+t,(n&255<<e)>>e)}}return new Uint8Array(n)},yr=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 i=new FileReader;i.onloadend=()=>{if(2!==i.readyState)return n(new Error("Reader aborted too early"));const t=i.result??"",r=t.indexOf(","),o=r>-1?r+1:t.length;e(t.substring(o))},i.onabort=()=>n(new Error("Read aborted")),i.onerror=()=>n(i.error),i.readAsDataURL(t)})}(t),n=Ir(e);return new Uint8Array(n)}(t):async function(t){const e=[],n=t.getReader();let i=!1,r=0;for(;!i;){const{done:t,value:o}=await n.read();o&&(e.push(o),r+=o.length),i=t}const o=new Uint8Array(r);let s=0;for(const t of e)o.set(t,s),s+=t.length;return o}(t);const Ar="function"==typeof TextEncoder?new TextEncoder:null,Er=t=>{if("string"==typeof t){if(Ar)return Ar.encode(t).byteLength;let e=t.length;for(let n=e-1;n>=0;n--){const i=t.charCodeAt(n);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=2),i>=56320&&i<=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}`)},xr=t=>new Date(Date.now()+t),Tr=t=>rn.isInstance(t)?t.headers?.date??t.headers?.Date:void 0,Cr=(t,e)=>{const n=Date.parse(t);return((t,e)=>Math.abs(xr(e).getTime()-t)>=3e5)(n,e)?n-Date.now():e},Sr=(t,e)=>{if(!e)throw new Error(`Property \`${t}\` is not resolved for AWS SDK SigV4Auth`);return e};class Rr{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 i=await(async t=>{const e=Sr("context",t.context),n=Sr("config",t.config),i=e.endpointV2?.properties?.authSchemes?.[0],r=Sr("signer",n.signer),o=await r(i),s=t?.signingRegion,a=t?.signingRegionSet,c=t?.signingName;return{config:n,signer:o,signingRegion:s,signingRegionSet:a,signingName:c}})(n),{config:r,signer:o}=i;let{signingRegion:s,signingName:a}=i;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:xr(r.systemClockOffset),signingRegion:s,signingService:a})}errorHandler(t){return e=>{const n=e.ServerTime??Tr(e.$response);if(n){const i=Sr("config",t.config),r=i.systemClockOffset;i.systemClockOffset=Cr(n,i.systemClockOffset);i.systemClockOffset!==r&&e.$metadata&&(e.$metadata.clockSkewCorrected=!0)}throw e}}successHandler(t,e){const n=Tr(t);if(n){const t=Sr("config",e.config);t.systemClockOffset=Cr(n,t.systemClockOffset)}}}function Or(t){let e;e="string"==typeof t?Ln(t):t;const n="object"==typeof e&&"number"==typeof e.length,i="object"==typeof e&&"number"==typeof e.byteOffset&&"number"==typeof e.byteLength;if(!n&&!i)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let r="";for(let t=0;t<e.length;t+=3){let n=0,i=0;for(let r=t,o=Math.min(t+3,e.length);r<o;r++)n|=e[r]<<8*(o-r-1),i+=8;const o=Math.ceil(i/6);n<<=6*o-i;for(let t=1;t<=o;t++){const e=6*(o-t);r+=vr[(n&63<<e)>>e]}r+="==".slice(0,4-o)}return r}const Nr=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 Mr="endpoints";function Lr(t){return"object"!=typeof t||null==t?t:"ref"in t?`$${Lr(t.ref)}`:"fn"in t?`${t.fn}(${(t.argv||[]).map(Lr).join(", ")})`:JSON.stringify(t,null,2)}class Pr extends Error{constructor(t){super(t),this.name="EndpointError"}}const Dr=(t,e)=>(t=>{const e=t.split("."),n=[];for(const i of e){const e=i.indexOf("[");if(-1!==e){if(i.indexOf("]")!==i.length-1)throw new Pr(`Path: '${t}' does not end with ']'`);const r=i.slice(e+1,-1);if(Number.isNaN(parseInt(r)))throw new Pr(`Invalid array index: '${r}' in path: '${t}'`);0!==e&&n.push(i.slice(0,e)),n.push(r)}else n.push(i)}return n})(e).reduce((n,i)=>{if("object"!=typeof n)throw new Pr(`Index '${i}' in '${e}' not found in '${JSON.stringify(t)}'`);return Array.isArray(n)?n[parseInt(i)]:n[i]},t);var Hr;!function(t){t.HTTP="http",t.HTTPS="https"}(Hr||(Hr={}));const Br={[Hr.HTTP]:80,[Hr.HTTPS]:443},Ur={booleanEquals:(t,e)=>t===e,getAttr:Dr,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:i="",path:r="",query:o={}}=t,s=new URL(`${i}//${e}${n?`:${n}`:""}${r}`);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:i,hostname:r,pathname:o,protocol:s,search:a}=e;if(a)return null;const c=s.slice(0,-1);if(!Object.values(Hr).includes(c))return null;const l=de(r);return{scheme:c,authority:`${i}${n.includes(`${i}:${Br[c]}`)||"string"==typeof t&&t.includes(`${i}:${Br[c]}`)?`:${Br[c]}`:""}`,path:o,normalizedPath:o.endsWith("/")?o:`${o}/`,isIp:l}},stringEquals:(t,e)=>t===e,substring:(t,e,n,i)=>e>=n||t.length<n?null:i?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()}`)},Vr=(t,e)=>{const n=[],i={...e.endpointParams,...e.referenceRecord};let r=0;for(;r<t.length;){const e=t.indexOf("{",r);if(-1===e){n.push(t.slice(r));break}n.push(t.slice(r,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)),r=o+2);const s=t.substring(e+1,o);if(s.includes("#")){const[t,e]=s.split("#");n.push(Dr(i[t],e))}else n.push(i[s]);r=o+1}return n.join("")},Fr=(t,e,n)=>{if("string"==typeof t)return Vr(t,n);if(t.fn)return qr(t,n);if(t.ref)return(({ref:t},e)=>({...e.endpointParams,...e.referenceRecord}[t]))(t,n);throw new Pr(`'${e}': ${String(t)} is not a string, function or reference.`)},qr=({fn:t,argv:e},n)=>{const i=e.map(t=>["boolean","number"].includes(typeof t)?t:Fr(t,"arg",n)),r=t.split(".");return r[0]in ce&&null!=r[1]?ce[r[0]][r[1]](...i):Ur[t](...i)},zr=({assign:t,...e},n)=>{if(t&&t in n.referenceRecord)throw new Pr(`'${t}' is already defined in Reference Record.`);const i=qr(e,n);return n.logger?.debug?.(`${Mr} evaluateCondition: ${Lr(e)} = ${Lr(i)}`),{result:""===i||!!i,...null!=t&&{toAssign:{name:t,value:i}}}},Gr=(t=[],e)=>{const n={};for(const i of t){const{result:t,toAssign:r}=zr(i,{...e,referenceRecord:{...e.referenceRecord,...n}});if(!t)return{result:t};r&&(n[r.name]=r.value,e.logger?.debug?.(`${Mr} assign: ${r.name} := ${Lr(r.value)}`))}return{result:!0,referenceRecord:n}},jr=(t,e)=>Object.entries(t).reduce((t,[n,i])=>({...t,[n]:i.map(t=>{const i=Fr(t,"Header value entry",e);if("string"!=typeof i)throw new Pr(`Header '${n}' value '${i}' is not a string`);return i})}),{}),Wr=(t,e)=>{if(Array.isArray(t))return t.map(t=>Wr(t,e));switch(typeof t){case"string":return Vr(t,e);case"object":if(null===t)throw new Pr(`Unexpected endpoint property: ${t}`);return Yr(t,e);case"boolean":return t;default:throw new Pr("Unexpected endpoint property type: "+typeof t)}},Yr=(t,e)=>Object.entries(t).reduce((t,[n,i])=>({...t,[n]:Wr(i,e)}),{}),Kr=(t,e)=>{const n=Fr(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 Pr("Endpoint URL must be a string, got "+typeof n)},$r=(t,e)=>{const{conditions:n,endpoint:i}=t,{result:r,referenceRecord:o}=Gr(n,e);if(!r)return;const s={...e,referenceRecord:{...e.referenceRecord,...o}},{url:a,properties:c,headers:l}=i;return e.logger?.debug?.(`${Mr} Resolving endpoint from template: ${Lr(i)}`),{...null!=l&&{headers:jr(l,s)},...null!=c&&{properties:Yr(c,s)},url:Kr(a,s)}},Qr=(t,e)=>{const{conditions:n,error:i}=t,{result:r,referenceRecord:o}=Gr(n,e);if(r)throw new Pr(Fr(i,"Error",{...e,referenceRecord:{...e.referenceRecord,...o}}))},Xr=(t,e)=>{const{conditions:n,rules:i}=t,{result:r,referenceRecord:o}=Gr(n,e);if(r)return Jr(i,{...e,referenceRecord:{...e.referenceRecord,...o}})},Jr=(t,e)=>{for(const n of t)if("endpoint"===n.type){const t=$r(n,e);if(t)return t}else if("error"===n.type)Qr(n,e);else{if("tree"!==n.type)throw new Pr(`Unknown endpoint rule: ${n}`);{const t=Xr(n,e);if(t)return t}}throw new Pr("Rules evaluation failed")},Zr="required",to="fn",eo="argv",no="ref",io=!0,ro="isSet",oo="booleanEquals",so="error",ao="endpoint",co="tree",lo="PartitionResult",uo={[Zr]:!1,type:"String"},ho={[Zr]:!0,default:!1,type:"Boolean"},po={[no]:"Endpoint"},fo={[to]:oo,[eo]:[{[no]:"UseFIPS"},!0]},mo={[to]:oo,[eo]:[{[no]:"UseDualStack"},!0]},go={},ko={[to]:"getAttr",[eo]:[{[no]:lo},"supportsFIPS"]},_o={[to]:oo,[eo]:[!0,{[to]:"getAttr",[eo]:[{[no]:lo},"supportsDualStack"]}]},bo=[fo],wo=[mo],vo=[{[no]:"Region"}],Io={version:"1.0",parameters:{Region:uo,UseDualStack:ho,UseFIPS:ho,Endpoint:uo},rules:[{conditions:[{[to]:ro,[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:go,headers:go},type:ao}],type:co}],type:co},{rules:[{conditions:[{[to]:ro,[eo]:vo}],rules:[{conditions:[{[to]:"aws.partition",[eo]:vo,assign:lo}],rules:[{conditions:[fo,mo],rules:[{conditions:[{[to]:oo,[eo]:[io,ko]},_o],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:go,headers:go},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,io]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:go,headers:go},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:go,headers:go},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:go,headers:go},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:i}=t.next();if(this.data.delete(n),i||++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 i of n){const n=String(t[i]??"");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:i}=e,{parameters:r,rules:o}=t;e.logger?.debug?.(`${Mr} Initial EndpointParams: ${Lr(n)}`);const s=Object.entries(r).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(r).filter(([,t])=>t.required).map(([t])=>t);for(const t of a)if(null==n[t])throw new Pr(`Missing required parameter: '${t}'`);const c=Jr(o,{endpointParams:n,logger:i,referenceRecord:{}});return e.logger?.debug?.(`${Mr} Resolved endpoint: ${Lr(c)}`),c})(Io,{endpointParams:t,logger:e.logger}));ce.aws=ge;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?Fi().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 i,r,o,s=!1;const a=async()=>{r||(r=t());try{i=await r,o=!0,s=!1}finally{r=void 0}return i};return void 0===e?async t=>(o&&!t?.forceRefresh||(i=await a()),i):async t=>(o&&!t?.forceRefresh||(i=await a()),s?i:n&&!n(i)?(s=!0,i):e(i)?(await a(),i):i)})(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),i=(t=>({apiVersion:"2023-09-30",base64Decoder:t?.base64Decoder??Ir,base64Encoder:t?.base64Encoder??Or,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Ao,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??gi,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new Rr}],logger:t?.logger??new on,serviceId:t?.serviceId??"Bedrock Runtime",urlParser:t?.urlParser??qe,utf8Decoder:t?.utf8Decoder??Ln,utf8Encoder:t?.utf8Encoder??Nr}))(t);return{...i,...t,runtime:"browser",defaultsMode:e,bodyLengthChecker:t?.bodyLengthChecker??Er,credentialDefaultProvider:t?.credentialDefaultProvider??(t=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:t?.defaultUserAgentProvider??qi({serviceId:i.serviceId,clientVersion:_i}),eventStreamPayloadHandlerProvider:t?.eventStreamPayloadHandlerProvider??(()=>{return{handle:(t="event stream request is not supported in browser.",()=>{throw new Error(t)})};var t}),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??mr,maxAttempts:t?.maxAttempts??3,region:t?.region??(r="Region is missing",()=>Promise.reject(r)),requestHandler:br.create(t?.requestHandler??n),retryMode:t?.retryMode??(async()=>(await n()).retryMode||je),sha256:t?.sha256??Ui,streamCollector:t?.streamCollector??yr,useDualstackEndpoint:t?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:t?.useFipsEndpoint??(()=>Promise.resolve(false))};var r};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 i=So[n];void 0!==t[i]&&e.push({algorithmId:()=>i,checksumConstructor:()=>t[i]})}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,i=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){i=t},credentials:()=>i}})(t));return e.forEach(t=>t.configure(n)),Object.assign(t,{region:n.region()},(i=n,Object.assign((t=>{const e={};return t.checksumAlgorithms().forEach(t=>{e[t.algorithmId()]=t.checksumConstructor()}),e})(i),(t=>{const e={};return e.retryStrategy=t.retryStrategy(),e})(i))),{httpHandler:n.httpHandler()},(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}))(n));var i};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),i=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),r=(t=>{const{retryStrategy:e,retryMode:n,maxAttempts:i}=t,r=Ve(i??3);return Object.assign(t,{maxAttempts:r,retryStrategy:async()=>e||(await Ve(n)()===Ge.ADAPTIVE?new nn(r):new en(r))})})(i),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())}})})(r),s=(t=>{const e=t.tls??!0,{endpoint:n,useDualstackEndpoint:i,useFipsEndpoint:r}=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(i??!1),useFipsEndpoint:Ve(r??!1)});let c;return a.serviceConfiguredEndpoint=async()=>(t.serviceId&&!c&&(c=Fe(t.serviceId)),c),a})(o);var a;const c=(t=>{const e=fi(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,i=Object.assign(t,{eventSigner:e,messageSigner:n}),r=i.eventStreamPayloadHandlerProvider(i);return Object.assign(i,{eventStreamPayloadHandler:r})}(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 i=await t(n),{clientName:r,commandName:o,logger:s,dynamoDbDocumentClientOptions:a={}}=e,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=a,u=c??e.inputFilterSensitiveLog,h=l??e.outputFilterSensitiveLog,{$metadata:d,...p}=i.output;return s?.info?.({clientName:r,commandName:o,input:u(n.input),output:h(p),metadata:d}),i}catch(t){const{clientName:i,commandName:r,logger:o,dynamoDbDocumentClientOptions:s={}}=e,{overrideInputFilterSensitiveLog:a}=s,c=a??e.inputFilterSensitiveLog;throw o?.error?.({clientName:i,commandName:r,input:c(n.input),error:t,metadata:t.$metadata}),t}},ie)}})),this.middlewareStack.use(se(this.config)),this.middlewareStack.use(((t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n})=>({applyToStack:i=>{i.addRelativeTo(Re(t,{httpAuthSchemeParametersProvider:e,identityProviderConfigProvider:n}),Oe)}}))(this.config,{httpAuthSchemeParametersProvider:mi,identityProviderConfigProvider:async t=>new Ne({"aws.auth#sigv4":t.credentials})})),this.middlewareStack.use(De(this.config))}destroy(){super.destroy()}}const Mo=(t,e)=>(e.find(([e])=>e.match(t))||[void 0,void 0])[1],Lo={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Po={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Do(t,e,n){return{applyToStack:i=>{i.add(((t,e)=>(n,i)=>async r=>{const{response:o}=await n(r);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){i.logger&&"NoOpLogger"!==i.logger?.constructor?.name?i.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:Mo(/^x-[\w-]+-request-?id$/,n),extendedRequestId:Mo(/^x-[\w-]+-id-2$/,n),cfId:Mo(/^x-[\w-]+-cf-id$/,n)}}}catch(t){}}throw t}})(t,n),Lo),i.add(((t,e)=>(n,i)=>async r=>{const o=t,s=i.endpointV2?.url&&o.urlParser?async()=>o.urlParser(i.endpointV2.url):o.endpoint;if(!s)throw new Error("No valid endpoint provider available.");const a=await e(r.input,{...t,endpoint:s});return n({...r,request:a})})(t,e),Po)}}}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),Fo=t=>{const[e,n,i,,,r]=t.split(":"),o="arn"===e&&t.split(":").length>=6,s=Boolean(o&&n&&i&&r);if(o&&!s)throw new Error(`Invalid ARN: ${t} was an invalid ARN.`);return s},qo=(t,e,n)=>{const i=async()=>{const i=n[t]??n[e];return"function"==typeof i?i():i};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 i();if(t&&"object"==typeof t){if("url"in t)return t.url.href;if("hostname"in t){const{protocol:e,hostname:n,port:i,path:r}=t;return`${e}//${n}${i?":"+i:""}${r}`}}return t}:i},zo=async(t,e,n)=>{const i={},r=e?.getEndpointParameterInstructions?.()||{};for(const[e,o]of Object.entries(r))switch(o.type){case"staticContextParams":i[e]=o.value;break;case"contextParams":i[e]=t[o.name];break;case"clientContextParams":case"builtInParams":i[e]=await qo(o.name,e,n)();break;case"operationContextParams":i[e]=o.get(t);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(o))}return 0===Object.keys(r).length&&Object.assign(i,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("?"))),Fo(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})(i),i},Go=({config:t,instructions:e})=>(n,i)=>async r=>{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}(i,"ENDPOINT_OVERRIDE","N");const o=await(async(t,e,n,i)=>{if(!n.isCustomEndpoint){let t;t=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await Fe(n.serviceId),t&&(n.endpoint=()=>Promise.resolve(ze(t)),n.isCustomEndpoint=!0)}const r=await zo(t,e,n);if("function"!=typeof n.endpointProvider)throw new Error("config.endpointProvider is not set.");return n.endpointProvider(r,i)})(r.input,{getEndpointParameterInstructions:()=>e},{...t},i);i.endpointV2=o,i.authSchemes=o.properties?.authSchemes;const s=i.authSchemes?.[0];if(s){i.signing_region=s.signingRegion,i.signing_service=s.signingName;const t=Se(i),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({...r})},jo={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Po.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 Jo={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 Zo extends $o{constructor(){super(...arguments),this.symbol=Zo.symbol}}Zo.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 i=t,r=t;for(this._isMemberSchema=!1;Array.isArray(i);)n.push(i[1]),i=i[0],r=Yo(i),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(r instanceof es)return Object.assign(this,r),this.memberTraits=Object.assign({},r.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=e??r.memberName);if(this.schema=Yo(r),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 i of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(t>>n++&1)&&(e[i]=1);return e}getSchema(){return this.schema instanceof es?(Object.assign(this,{schema:this.schema.getSchema()}),this.schema):this.schema instanceof Zo?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>=Jo.LIST_MODIFIER&&t<Jo.MAP_MODIFIER:t instanceof Qo}isMapSchema(){const t=this.getSchema();return"number"==typeof t?t>=Jo.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()===Jo.BLOB||this.getSchema()===Jo.STREAMING_BLOB}isTimestampSchema(){const t=this.getSchema();return"number"==typeof t&&t>=Jo.TIMESTAMP_DEFAULT&&t<=Jo.TIMESTAMP_EPOCH_SECONDS}isDocumentSchema(){return this.getSchema()===Jo.DOCUMENT}isStringSchema(){return this.getSchema()===Jo.STRING}isBooleanSchema(){return this.getSchema()===Jo.BOOLEAN}isNumericSchema(){return this.getSchema()===Jo.NUMERIC}isBigIntegerSchema(){return this.getSchema()===Jo.BIG_INTEGER}isBigDecimalSchema(){return this.getSchema()===Jo.BIG_DECIMAL}isStreaming(){return!!this.getMergedTraits().streaming||this.getSchema()===Jo.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([Jo.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([Jo.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),i=e.memberList[n];return this.memberFrom(Array.isArray(i)?i:[i,0],t)}if(this.isDocumentSchema())return this.memberFrom([Jo.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,i=Object.entries(Jo).find(([,t])=>t===e)?.[0]??"Unknown";switch(n){case Jo.MAP_MODIFIER:return`${i}Map`;case Jo.LIST_MODIFIER:return`${i}List`;case 0:return i}}return"Unknown"}}es.symbol=Symbol.for("@smithy/nor");const ns="***SensitiveInformation***";function is(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,i={};for(const[e,r]of n.structIterator())null!=t[e]&&(i[e]=is(r,t[e]));return i}return e}class rs{constructor(){this.middlewareStack=yn()}static classBuilder(){return new os}resolveMiddlewareWithContext(t,e,n,{middlewareFn:i,clientName:r,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:l,CommandCtor:u}){for(const r of i.bind(this)(u,t,e,n))this.middlewareStack.use(r);const h=t.concat(this.middlewareStack),{logger:d}=e,p={logger:d,clientName:r,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 rs{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,i,r){return this.resolveMiddlewareWithContext(n,i,r,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog??(t._operationSchema?is.bind(null,t._operationSchema.input):t=>t),outputFilterSensitiveLog:t._outputFilterSensitiveLog??(t._operationSchema?is.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 ms extends ls{name="ConflictException";$fault="client";constructor(t){super({name:"ConflictException",$fault:"client",...t}),Object.setPrototypeOf(this,ms.prototype)}}class gs extends ls{name="ResourceNotFoundException";$fault="client";constructor(t){super({name:"ResourceNotFoundException",$fault:"client",...t}),Object.setPrototypeOf(this,gs.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 vs;!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])}(vs||(vs={}));var Is;!function(t){t.visit=(t,e)=>void 0!==t.bytes?e.bytes(t.bytes):e._(t.$unknown[0],t.$unknown[1])}(Is||(Is={}));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,Ms,Ls;!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])}(Ms||(Ms={})),function(t){t.visit=(t,e)=>void 0!==t.message?e.message(t.message):e._(t.$unknown[0],t.$unknown[1])}(Ls||(Ls={}));class Ps extends ls{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(t){super({name:"ModelErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,Ps.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,Fs;!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 qs extends ls{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(t){super({name:"ModelStreamErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,qs.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])}(Fs||(Fs={}));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(Ir(t)):Qs.mutate(Ln(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?Or(t):Nr(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)},Js=(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{}}),Zs=async(t,e)=>{const n=await Js(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:i}=await this.context.endpoint();this.path=i;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,i){return this.resolvePathStack.push(r=>{this.path=((t,e,n,i,r,o)=>{if(null==e||void 0===e[n])throw new Error("No value provided for input HTTP label: "+n+".");{const e=i();if(e.length<=0)throw new Error("Empty value provided for input HTTP label: "+n+".");t=t.replace(r,o?e.split("/").map(t=>ta(t)).join("/"):ta(e))}return t})(r,this.input,t,e,n,i)}),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 ia(t,e,n){let i,r,o;if(void 0===e&&void 0===n)i={},o=t;else{if(i=t,"function"==typeof e)return r=e,o=n,oa(i,r,o);o=e}for(const t of Object.keys(o))Array.isArray(o[t])?sa(i,null,o,t):i[t]=o[t];return i}const ra=(t,e)=>{const n={};for(const i in e)sa(n,t,e,i);return n},oa=(t,e,n)=>ia(t,Object.entries(n).reduce((t,[n,i])=>(Array.isArray(i)?t[n]=i:t[n]="function"==typeof i?[e,i()]:[e,i],t),{})),sa=(t,e,n,i)=>{if(null!==e){let r=n[i];"function"==typeof r&&(r=[,r]);const[o=aa,s=ca,a=i]=r;return void(("function"==typeof o&&o(e[a])||"function"!=typeof o&&o)&&(t[i]=s(e[a])))}let[r,o]=n[i];if("function"==typeof o){let e;const n=void 0===r&&null!=(e=o()),s="function"==typeof r&&!!r(void 0)||"function"!=typeof r&&!!r;n?t[i]=e:s&&(t[i]=o())}else{const e=void 0===r&&null!=o,n="function"==typeof r&&!!r(o)||"function"!=typeof r&&!!r;(e||n)&&(t[i]=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]}},ma=t=>{if(null!=t){if("string"==typeof t)return t;if(["boolean","number","bigint"].includes(typeof t))return ka.warn(ga(`Expected string, got ${typeof t}: ${t}`)),String(t);throw new TypeError(`Expected string, got ${typeof t}: ${t}`)}},ga=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),i=ia({},la,{[$a]:t[Ka]||"application/octet-stream",[Ya]:t[Ya],[oc]:t[Za],[nc]:t[Qa],[ic]:t[Xa],[rc]:t[Ja]});let r;return n.bp("/model/{modelId}/invoke"),n.p("modelId",()=>t.modelId,"{modelId}",!1),void 0!==t.body&&(r=t.body),n.m("POST").h(i).b(r),n.build()},ba=async(t,e)=>{const n=ea(t,e),i=ia({},la,{[$a]:t[Ka]||"application/octet-stream",[tc]:t[Ya],[oc]:t[Za],[nc]:t[Qa],[ic]:t[Xa],[rc]:t[Ja]});let r;return n.bp("/model/{modelId}/invoke-with-response-stream"),n.p("modelId",()=>t.modelId,"{modelId}",!1),void 0!==t.body&&(r=t.body),n.m("POST").h(i).b(r),n.build()},wa=async(t,e)=>{if(200!==t.statusCode&&t.statusCode>=300)return Ia(t,e);const n=ia({$metadata:Wa(t),[Ka]:[,t.headers[$a]],[Ja]:[,t.headers[rc]]}),i=await Xs(t.body,e);return n.body=i,n},va=async(t,e)=>{if(200!==t.statusCode&&t.statusCode>=300)return Ia(t,e);const n=ia({$metadata:Wa(t),[Ka]:[,t.headers[ec]],[Ja]:[,t.headers[rc]]}),i=t.body;return n.body=Ha(i,e),n},Ia=async(t,e)=>{const n={...t,body:await Zs(t.body,e)},i=((t,e)=>{const n=(t,e)=>Object.keys(t).find(t=>t.toLowerCase()===e.toLowerCase()),i=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},r=n(t.headers,"x-amzn-errortype");if(void 0!==r)return i(t.headers[r]);if(e&&"object"==typeof e){const t=n(e,"code");if(t&&void 0!==e[t])return i(e[t]);if(void 0!==e.__type)return i(e.__type)}})(t,n.body);switch(i){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 Ma(n,e);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await Pa(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 La(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 r=n.body;return ya({output:t,parsedBody:r,errorCode:i})}},ya=(Aa=ls,({output:t,parsedBody:e,errorCode:n})=>{(({output:t,parsedBody:e,exceptionCtor:n,errorCode:i})=>{const r=ua(t),o=r.httpStatusCode?r.httpStatusCode+"":void 0,s=new n({name:e?.code||e?.Code||i||o||"UnknownError",$fault:"client",$metadata:r});throw cs(s,e)})({output:t,parsedBody:e,exceptionCtor:Aa,errorCode:n})});var Aa;const Ea=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new us({$metadata:Wa(t),...n});return cs(o,t.body)},xa=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new ms({$metadata:Wa(t),...n});return cs(o,t.body)},Ta=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new ds({$metadata:Wa(t),...n});return cs(o,t.body)},Ca=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma,originalStatusCode:da,resourceName:ma});Object.assign(n,r);const o=new Ps({$metadata:Wa(t),...n});return cs(o,t.body)},Sa=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new Ds({$metadata:Wa(t),...n});return cs(o,t.body)},Ra=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma,originalMessage:ma,originalStatusCode:da});Object.assign(n,r);const o=new qs({$metadata:Wa(t),...n});return cs(o,t.body)},Oa=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new Hs({$metadata:Wa(t),...n});return cs(o,t.body)},Na=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new gs({$metadata:Wa(t),...n});return cs(o,t.body)},Ma=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new ks({$metadata:Wa(t),...n});return cs(o,t.body)},La=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new _s({$metadata:Wa(t),...n});return cs(o,t.body)},Pa=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);const o=new ps({$metadata:Wa(t),...n});return cs(o,t.body)},Da=async(t,e)=>{const n=ia({}),i=t.body,r=ra(i,{message:ma});Object.assign(n,r);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 Fa(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 qa(n.serviceUnavailableException,e)}:{$unknown:t}),Ba=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return Ta(n,e)},Ua=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return Ra(n,e)},Va=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return Oa(n,e)},Fa=async(t,e)=>{const n={},i=await Js(t.body,e);return Object.assign(n,ja(i,e)),n},qa=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return La(n,e)},za=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return Pa(n,e)},Ga=async(t,e)=>{const n={...t,body:await Js(t.body,e)};return Da(n,e)},ja=(t,e)=>ra(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",Ja="performanceConfigLatency",Za="trace",tc="x-amzn-bedrock-accept",ec="x-amzn-bedrock-content-type",nc="x-amzn-bedrock-guardrailidentifier",ic="x-amzn-bedrock-guardrailversion",rc="x-amzn-bedrock-performanceconfig-latency",oc="x-amzn-bedrock-trace";class sc extends(rs.classBuilder().ep(ki).m(function(t,e,n,i){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(va).build()){}class ac extends(rs.classBuilder().ep(ki).m(function(t,e,n,i){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=lc;function lc(t,e){const n=uc();return(lc=function(t,e){return n[t-=333]})(t,e)}function uc(){const t=["get","_requestHeaders","2562405dSMDyn","\n[/INST]","\n<</SYS>>\n[INST]\n","_processProxyRequest","data","locale","length","filter","parse","_readStreamableResponse","pluginName","ai21.j2","POST","meta.llama","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.","resolve","application/json","51111FPZmYD","_readAsyncIterableResponse","getReader","5945690YzmPXE","10UenRjo","test","_getGeneratedText","\n\nAssistant:","read","AWSTextAdapter","_processAWSRequest","AI_ERROR_UNSUPPORTED_MODEL","split","_readStaticResponse","bytes","utf-8","completion","anthropic.claude","_requestParameters","send","8104GhWgCv","getModelFamily","define","chunk","_apiUrl","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.","\nYou must keep the text formatting.\n\nContent:\n","join","signal","86574oGzlVW","body","abortController","ai.assistant.adapter.aws.apiUrl","ai.assistant.adapter.aws.bedrockClientConfig","preparePrompt","9012906heOJCq","_prepareRequestParameters","decode","507268tTDMdD","completions","Instruction:\n","<<SYS>>\n","text","generation","ai.assistant.adapter.aws.requestHeaders","anthropic.claude-v2","stringify","map","ai.assistant.adapter.aws.requestParameters","_bedrockClientConfig","sendRequest","cohere.command","bedrock-2023-05-31","_prepareRequestHeaders","Human:\n","7069643TjRACe","json","config","generations","editor"];return(uc=function(){return t})()}!function(t){const e=lc,n=t();for(;;)try{if(891401===-parseInt(e(353))/1*(parseInt(e(407))/2)+-parseInt(e(386))/3+parseInt(e(362))/4+-parseInt(e(406))/5+-parseInt(e(359))/6+-parseInt(e(379))/7+parseInt(e(344))/8*(parseInt(e(403))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(uc);class hc extends $t{[cc(348)];[cc(385)];[cc(373)];[cc(342)];static get[cc(396)](){return cc(333)}constructor(t){const e=cc;super(t),t[e(381)][e(384)](e(372))||t[e(381)][e(346)](e(372),{model:e(369),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:e(376),stream:!0}),this[e(348)]=t[e(381)][e(384)](e(356)),this[e(373)]=t[e(381)][e(384)](e(357)),this[e(385)]=t[e(381)][e(384)](e(368)),this[e(342)]=t[e(381)][e(384)](e(372))}async[cc(374)]({query:t,context:e,onData:n,actionId:i}){const r=cc,{model:o,stream:s,...a}=await this[r(360)](this[r(342)],i),c={prompt:await this[r(358)](t,e,o,i),...a};this[r(348)]?await this[r(389)](c,o,s,n,i):await this[r(334)](c,o,s,n)}async[cc(358)](t,e,n,i){const r=cc;let o,s;return e?(o=r(349),s=r(364)+t+r(350)+e):(o=r(400),s=t),r(399)==this[r(345)](n)?r(365)+o+r(388)+s+r(387):r(378)+o+"\n"+s+r(410)}[cc(345)](t){const e=cc;if(/^anthropic\.claude/[e(408)](t))return e(341);if(/^ai21\.j2/[e(408)](t))return e(397);if(/^cohere\.command/[e(408)](t))return e(375);if(/^meta\.llama/[e(408)](t))return e(399);throw new v(I(this[e(383)][e(391)],e(335),t))}async[cc(389)](t,e,n,i,r){const o=cc,s={method:o(398),headers:await this[o(377)](this[o(385)],r),body:JSON[o(370)]({...t,model:e,stream:n}),signal:this[o(355)][o(352)]},a=await fetch(this[o(348)],s);n?await this[o(395)](a,e,i):await this[o(337)](a,e,i)}async[cc(334)](t,e,n,i){const r=cc,o=new No(this[r(373)]),s={body:JSON[r(370)](t),contentType:r(402),accept:r(402),modelId:e};let a;if(n){const t=new sc(s);a=await o[r(343)](t,{abortSignal:this[r(355)][r(352)]}),await this[r(404)](a,e,i)}else{const t=new ac(s);a=await o[r(343)](t,{abortSignal:this[r(355)][r(352)]}),await this[r(337)](a,e,i)}}async[cc(404)](t,e,n){const i=cc,r=t[i(354)],o=new TextDecoder(i(339));let s="";for await(const t of r)if(t[i(347)]){const r=o[i(361)](t[i(347)][i(338)]),a=JSON[i(394)](r);s+=this[i(409)](a,e),n(s)}return Promise[i(401)]()}async[cc(395)](t,e,n){const i=cc,r=t[i(354)],o=new TextDecoder(i(339)),s=r[i(405)]();let a="",c="",l=!1;for(;!l;){const{done:t,value:r}=await s[i(411)]();if(l=t,l)break;const u=(a+o[i(361)](r))[i(336)]("\n")[i(371)](t=>{const e=i;try{return a="",JSON[e(394)](t)}catch{return a=t,null}})[i(393)](t=>null!==t);u[i(392)]&&(c+=u[i(371)](t=>this[i(409)](t,e))[i(351)](""),n(c))}return Promise[i(401)]()}async[cc(337)](t,e,n){const i=cc;let r;return r=t instanceof Response?await t[i(380)]():JSON[i(394)](new TextDecoder(i(339))[i(361)](t[i(354)])),n(this[i(409)](r,e)),Promise[i(401)]()}[cc(409)](t,e){const n=cc;switch(this[n(345)](e)){case n(341):return t[n(340)];case n(397):return t[n(363)][0][n(390)][n(366)];case n(375):return t[n(382)][0][n(366)];case n(399):return t[n(367)]}}}var dc=n(407),pc={attributes:{"data-cke":!0}};pc.setAttributes=Et(),pc.insert=yt().bind(null,"head"),pc.domAPI=vt(),pc.insertStyleElement=Tt();bt()(dc.A,pc);dc.A&&dc.A.locals&&dc.A.locals;const fc=gc;!function(t){const e=gc,n=t();for(;;)try{if(760866===-parseInt(e(477))/1*(parseInt(e(489))/2)+parseInt(e(486))/3+-parseInt(e(495))/4*(-parseInt(e(485))/5)+-parseInt(e(479))/6+parseInt(e(490))/7*(-parseInt(e(480))/8)+parseInt(e(484))/9+-parseInt(e(493))/10*(-parseInt(e(494))/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(483)]=!0,this[n(491)](n(478),e[n(478)]||n(481));const i=this[n(492)];this[n(497)]({attributes:{class:[n(487),...(0,s.toArray)(e[n(499)]||[]),i.to(n(478),t=>n(496)+t),i.to(n(499))]}})}[fc(498)](){const t=fc;this[t(491)](t(488),!0)}[fc(482)](){const t=fc;this[t(491)](t(488),!1)}}function gc(t,e){const n=kc();return(gc=function(t,e){return n[t-=477]})(t,e)}function kc(){const t=["2643045ENYbkO","ck-tab-button","isVisible","8EUArBa","182uqrWfs","set","bindTemplate","10YacDUR","13533542EmEPqd","412JiFjyK","ck-tab-button_","extendTemplate","show","class","311791AANLUg","side","7496868mchFWy","111640ZkmQGW","top","hide","isToggleable","3867903LKwuoF","52390tNpFgr"];return(kc=function(){return t})()}function _c(t,e){const n=wc();return(_c=function(t,e){return n[t-=408]})(t,e)}const bc=_c;function wc(){const t=["set","333146ZdQYzV","65979zCoQRt","show","setTemplate","6IIWlCw","ck-hidden","hide","ck-tab-panel","createCollection","1017ntoeXF","bindTemplate","32uCavtF","228GtIUvB","1vsEmjy","class","div","isVisible","825015MFFLPN","110136PsgCem","children","18238aZDRmu","3760aEzTZb","383474KgLUYB"];return(wc=function(){return t})()}!function(t){const e=_c,n=t();for(;;)try{if(103631===-parseInt(e(431))/1*(-parseInt(e(418))/2)+-parseInt(e(419))/3*(parseInt(e(429))/4)+parseInt(e(411))/5+parseInt(e(422))/6*(-parseInt(e(416))/7)+parseInt(e(412))/8+-parseInt(e(427))/9*(parseInt(e(415))/10)+-parseInt(e(414))/11*(-parseInt(e(430))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wc);class vc extends a.View{[bc(413)];constructor(t,e={}){const n=bc;super(t);const i=this[n(428)];this[n(417)](n(410),!1),this[n(413)]=this[n(426)](),this[n(421)]({tag:n(409),attributes:{class:[n(425),...(0,s.toArray)(e[n(408)]||[]),i.to(n(408)),i.if(n(410),n(423),t=>!t)]},children:this[n(413)]})}[bc(420)](){const t=bc;this[t(417)](t(410),!0)}[bc(424)](){const t=bc;this[t(417)](t(410),!1)}}var Ic=n(921),yc={attributes:{"data-cke":!0}};yc.setAttributes=Et(),yc.insert=yt().bind(null,"head"),yc.domAPI=vt(),yc.insertStyleElement=Tt();bt()(Ic.A,yc);Ic.A&&Ic.A.locals&&Ic.A.locals;const Ac=Ec;function Ec(t,e){const n=xc();return(Ec=function(t,e){return n[t-=150]})(t,e)}function xc(){const t=["fire","_showPanel","addTab:","getTab","getTabIds","ck-ai-tabs_maximized","activeTab","bindTemplate","keys","show:","ck-tabs__buttons-container_","content","ck-tabs__panels-container","panelViews","3017310iIBcZi","_hideButton","248368kfhmcy","ck-tabs__panels-container_","label","_hidePanel","setTemplate","ck-tabs__buttons-container","isVisible","side","top","button","bind","order","1218116XCUjnE","1181040pyLNlf","showTab","hide","createCollection","ck-tabs_","_setupButton","hideTab","reduce","children","panel","ck-tabs","find","3752096hIGobT","div","ui-tabsview-tab-not-found","show","isMaximized","buttonLabel","activateTab","locale","addTab","1oDMPSi","_tabs","activateTab:","set","left","getIndex","execute","right","add","_getPanel","icon","render","6232793TvFSqb","get","buttonIcon","3188043oWmyLC","isOn","buttonViews","_showButton","hide:","ck-reset","_getButton","length","class"];return(xc=function(){return t})()}!function(t){const e=Ec,n=t();for(;;)try{if(551363===parseInt(e(223))/1*(parseInt(e(201))/2)+parseInt(e(164))/3+-parseInt(e(214))/4+parseInt(e(202))/5+parseInt(e(187))/6+-parseInt(e(161))/7+-parseInt(e(189))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xc);Ac(197),Ac(153),Ac(156);class Tc extends a.View{[Ac(166)]=this[Ac(205)]();[Ac(186)]=this[Ac(205)]();[Ac(150)]=new Map;constructor(t,e={}){const n=Ac;super(t),this[n(152)](n(172),void 0),this[n(152)](n(179),null),this[n(152)](n(196),e[n(196)]||n(197)),this[n(152)](n(218),!1);const i=this[n(180)];this[n(193)]({tag:n(215),attributes:{class:["ck",n(169),n(212),...(0,s.toArray)(e[n(172)]||[]),i.to(n(196),t=>n(206)+t),i.to(n(172)),i.to(n(218),t=>t?n(178):"")],tabindex:"0"},children:[{tag:n(215),attributes:{class:["ck",n(194),i.to(n(196),t=>n(183)+t)]},children:this[n(166)]},{tag:n(215),attributes:{class:["ck",n(185),i.to(n(196),t=>n(190)+t)]},children:this[n(186)]},...(0,s.toArray)(e[n(210)]||[])]})}[Ac(177)](){const t=Ac;return[...this[t(150)][t(181)]()]}[Ac(176)](t){const e=Ac;return this[e(150)][e(162)](t)||null}[Ac(222)](t){const e=Ac,n=this[e(207)]({id:t.id,label:t[e(219)],icon:t[e(163)],order:t[e(200)]}),i=new vc(this[e(221)]);return i[e(160)](),t[e(184)]&&i[e(210)][e(157)](t[e(184)]),this[e(186)][e(157)](i),this[e(150)][e(152)](t.id,{button:n,panel:i,order:void 0!==t[e(200)]?t[e(200)]:null}),this[e(173)](e(175)+t.id,{id:t.id,button:n,panel:i}),null===this[e(179)]?this[e(220)](t.id):this[e(192)](t.id),{button:n,panel:i}}[Ac(220)](t){const e=Ac;if(null!==t&&!this[e(176)](t))throw new s.CKEditorError(e(216),{tabs:this,tabId:t});this[e(179)]!==t&&(this[e(179)]&&this[e(192)](this[e(179)]),this[e(179)]=t,t&&this[e(174)](t),this[e(173)](e(151)+t,t))}[Ac(203)](t){const e=Ac;if(!this[e(176)](t))throw new s.CKEditorError(e(216),{tabs:this,tabId:t});this[e(174)](t),this[e(167)](t),this[e(173)](e(182)+t,t)}[Ac(208)](t){const e=Ac;if(!this[e(176)](t))throw new s.CKEditorError(e(216),{tabs:this,tabId:t});const n=this[e(179)];this[e(192)](t),this[e(188)](t);const i=this[e(177)]();n===t&&i[e(171)]>1&&this[e(220)](i[e(213)](e=>e!==t)),this[e(173)](e(168)+t,t)}[Ac(158)](t){const e=Ac,n=this[e(150)][e(162)](t);return n?n[e(211)]:null}[Ac(174)](t){const e=Ac;null!==this[e(179)]&&this[e(179)]!==t||this[e(158)](t)[e(217)]()}[Ac(192)](t){const e=Ac,n=this[e(158)](t);n[e(195)]&&(this[e(179)]===t&&(this[e(179)]=null),n[e(204)]())}[Ac(170)](t){const e=Ac,n=this[e(150)][e(162)](t);return n?n[e(198)]:null}[Ac(167)](t){const e=Ac;this[e(170)](t)[e(217)]()}[Ac(188)](t){const e=Ac;this[e(170)](t)[e(204)]()}[Ac(207)](t){const e=Ac,n=new mc(this[e(221)],{side:this[e(196)]}),i=this[e(166)];if(n[e(152)]({label:t[e(191)],icon:t[e(159)],tooltip:!0,withText:!0}),n[e(199)](e(165)).to(this,e(179),e=>e===t.id),n[e(199)](e(196)).to(this,e(196)),t[e(200)]){const r=[...this[e(150)]][e(209)]((n,i)=>{const r=e,o=i[0],{order:s}=i[1];return!s||s>t[r(200)]?n:s>=n[r(200)]?{id:o,order:s}:n},{id:"",order:0}),o=i[e(154)](this[e(170)](r.id));i[e(157)](n,o+1)}else i[e(157)](n);return n.on(e(155),()=>{this[e(220)](t.id)}),n}}var Cc=n(609),Sc={attributes:{"data-cke":!0}};Sc.setAttributes=Et(),Sc.insert=yt().bind(null,"head"),Sc.domAPI=vt(),Sc.insertStyleElement=Tt();bt()(Cc.A,Sc);Cc.A&&Cc.A.locals&&Cc.A.locals;const Rc=Nc;function Oc(){const t=["14qYEgqQ","ck-ai-tabs","bindTemplate","custom","1463530UmVHrE","extendTemplate","ck-ai-tabs__sidebar","6hhWdqv","131306wXpyhd","type","2701845hweLXt","withText","add","ck-ai-tabs__overlay","40418QmaqtF","buttonViews","left","69SXBDhd","side","overlay","1387888GPDbNI","set","sidebar","right","7918220qbvPkd","48964EedqYy"];return(Oc=function(){return t})()}function Nc(t,e){const n=Oc();return(Nc=function(t,e){return n[t-=358]})(t,e)}!function(t){const e=Nc,n=t();for(;;)try{if(173314===-parseInt(e(371))/1*(-parseInt(e(383))/2)+-parseInt(e(374))/3*(-parseInt(e(382))/4)+-parseInt(e(361))/5*(-parseInt(e(364))/6)+-parseInt(e(365))/7+-parseInt(e(377))/8+parseInt(e(367))/9+-parseInt(e(381))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Oc);const Mc=[Rc(376),Rc(379),Rc(360)],Lc=[Rc(373),Rc(380)];class Pc extends Tc{constructor(t,e={}){const n=Rc;super(t,e),this[n(378)](n(366),e[n(366)]||n(379)),this[n(378)](n(375),e[n(375)]||n(380));const i=this[n(359)];this[n(362)]({attributes:{class:[n(358),i.if(n(366),n(370),t=>n(376)===t),i.if(n(366),n(363),t=>n(379)===t)]}}),this[n(372)].on(n(369),(t,e)=>{const i=n;e[i(378)](i(368),!1)})}}const Dc=Bc;function Hc(){const t=["36ObjUrU","isPremiumPlugin","overlay","get","element","sidebar","bind","config","destroy","ai-tabs-configuration-not-found","focusTracker","switchSide","654rBeZFl","showResizeButton","includes","3630072QHZLBf","339441MdFbyS","510462atOnRb","ai-tabs-unsupported-ui-side","context","ai-tabs-unsupported-ui-type","1917KlfPCs","set","resize","20797iBmWAY","332945FntGCw","add","render","AITabs","body","42znWiXW","type","view","locale","custom","isMaximized","ai.container","pluginName","isOfficialPlugin","switchType","container","side","remove","resizedTabs","right","appendChild","fire","ai-tabs-sidebar-container-element-not-found","22211400cEzinu"];return(Hc=function(){return t})()}function Bc(t,e){const n=Hc();return(Bc=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=Bc,n=t();for(;;)try{if(642069===parseInt(e(219))/1*(-parseInt(e(210))/2)+-parseInt(e(214))/3*(parseInt(e(198))/4)+-parseInt(e(223))/5*(-parseInt(e(228))/6)+-parseInt(e(222))/7+-parseInt(e(213))/8+parseInt(e(215))/9+parseInt(e(197))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Hc);class Uc extends r.ContextPlugin{[Dc(230)];[Dc(238)]=null;[Dc(211)]=!0;static get[Dc(235)](){return Dc(226)}static get[Dc(236)](){return!0}static get[Dc(199)](){return!0}constructor(t){const e=Dc;super(t);const n=this[e(217)][e(205)][e(201)](e(234));if(this[e(220)](e(239),e(193)),!n)throw new s.CKEditorError(e(207));if(void 0!==n[e(211)]&&(this[e(211)]=n[e(211)]),e(203)!==n[e(229)]&&e(200)!==n[e(229)]||n[e(239)]&&(this[e(239)]=n[e(239)]),e(203)===n[e(229)]){if(this[e(238)]=n[e(202)],this[e(220)](e(229),e(203)),!this[e(238)])throw new s.CKEditorError(e(196))}else e(200)===n[e(229)]?(this[e(238)]=document[e(227)],this[e(220)](e(229),e(200))):(this[e(238)]=null,this[e(220)](e(229),e(232)));this[e(230)]=new Pc(this[e(217)][e(231)],{side:this[e(239)],type:this[e(229)]}),this[e(230)][e(225)](),this[e(230)][e(204)](e(239)).to(this,e(239)),this[e(230)][e(204)](e(229)).to(this,e(229)),this[e(238)]&&this[e(238)][e(194)](this[e(230)][e(202)]),this[e(217)]instanceof r.Editor&&this[e(217)].ui[e(208)][e(224)](this[e(230)][e(202)])}[Dc(237)](t){const e=Dc;if(t&&this[e(229)]!==t){if(!Mc[e(212)](t))throw new s.CKEditorError(e(218));this[e(229)]=t}}[Dc(209)](t){const e=Dc;if(t&&this[e(239)]!==t){if(!Lc[e(212)](t))throw new s.CKEditorError(e(216));this[e(239)]=t}}[Dc(221)](){const t=Dc;this[t(230)][t(233)]=!this[t(230)][t(233)],this[t(195)](t(192),this[t(230)][t(233)])}[Dc(206)](){const t=Dc;super[t(206)](),this[t(230)][t(206)](),this[t(230)][t(202)]&&this[t(230)][t(202)][t(240)]()}}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 Fc(t){}function qc(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=Fc,onError:n=Fc,onRetry:i=Fc,onComment:r}=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(r&&r(t.slice(t.startsWith(": ")?2:1)));const n=t.indexOf(":");if(-1!==n){const e=t.slice(0,n),i=" "===t[n+1]?2:1;return void h(e,t.slice(n+i),t)}h(t,"",t)}function h(t,e,r){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)?i(parseInt(e,10)):n(new Vc(`Invalid \`retry\` value: "${e}"`,{type:"invalid-retry",value:e,line:r}));break;default:n(new Vc(`Unknown field "${t.length>20?`${t.slice(0,20)}…`:t}"`,{type:"unknown-field",field:t,value:e,line:r}))}}return{feed:function(t){const e=a?t.replace(/^\xEF\xBB\xBF/,""):t,[n,i]=function(t){const e=[];let n="",i=0;for(;i<t.length;){const r=t.indexOf("\r",i),o=t.indexOf("\n",i);let s=-1;if(-1!==r&&-1!==o?s=Math.min(r,o):-1!==r?s=r:-1!==o&&(s=o),-1===s){n=t.slice(i);break}{const n=t.slice(i,s);e.push(n),i=s+1,"\r"===t[i-1]&&"\n"===t[i]&&i++}}return[e,n]}(`${s}${e}`);for(const t of n)u(t);s=i,a=!1},reset:function(t={}){s&&t.consume&&u(s),a=!0,o=void 0,c="",l="",s=""}}}function zc(t,e,n){const i=t.t;switch(e){case"AI_SUGGESTION_HEADER_TITLE":return i({id:"AI_SUGGESTION_HEADER_TITLE",string:"Suggested content"});case"AI_SUGGESTION_BUTTON_SHOW_CHANGES":return i({id:"AI_SUGGESTION_BUTTON_SHOW_CHANGES",string:"Show changes"});case"AI_MINI_TOOLBAR_LIKE":return i({id:"AI_MINI_TOOLBAR_LIKE",string:"I like this response"});case"AI_MINI_TOOLBAR_DISLIKE":return i({id:"AI_MINI_TOOLBAR_DISLIKE",string:"I don't like this response"});case"AI_MINI_TOOLBAR_COPY":return i({id:"AI_MINI_TOOLBAR_COPY",string:"Copy to clipboard"});case"AI_SUGGESTION_CONTENT_PART_TITLE":return i({id:"AI_SUGGESTION_CONTENT_PART_TITLE",string:"Suggestion %0"},n);case"AI_SUGGESTION_CONTENT_PART_REJECTED":return i({id:"AI_SUGGESTION_CONTENT_PART_REJECTED",string:"Change was rejected"});case"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED":return i({id:"AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED",string:"Change is already applied"});case"AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT":return i({id:"AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT",string:"Show in the text"});case"AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION":return i({id:"AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION",string:"Add as suggestion"});case"AI_SUGGESTION_CONTENT_PART_DELETE":return i({id:"AI_SUGGESTION_CONTENT_PART_DELETE",string:"Delete"});case"AI_DISCLAIMER_TEXT":return i({id:"AI_DISCLAIMER_TEXT",string:"AI can make mistakes. Please double-check responses."});case"AI_TABS_LABEL_MAXIMIZE":return i({id:"AI_TABS_LABEL_MAXIMIZE",string:"Maximize"});case"AI_TABS_LABEL_MINIMIZE":return i({id:"AI_TABS_LABEL_MINIMIZE",string:"Minimize"});case"AI_CHAT_HEADING":return i({id:"AI_CHAT_HEADING",string:"AI Chat"});case"AI_CHAT_UNTITLED_CONVERSATION":return i({id:"AI_CHAT_UNTITLED_CONVERSATION",string:"Untitled conversation"});case"AI_CHAT_LABEL_NEW_CHAT":return i({id:"AI_CHAT_LABEL_NEW_CHAT",string:"New chat"});case"AI_CHAT_STOP_GENERATING":return i({id:"AI_CHAT_STOP_GENERATING",string:"Stop generating"});case"AI_CHAT_IS_WRITING":return i({id:"AI_CHAT_IS_WRITING",string:"AI is writing..."});case"AI_CHAT_PROMPT_EMPTY_ERROR":return i({id:"AI_CHAT_PROMPT_EMPTY_ERROR",string:"This field cannot be empty."});case"AI_CHAT_LABEL_SUBMIT":return i({id:"AI_CHAT_LABEL_SUBMIT",string:"Submit"});case"AI_CHAT_WELCOME_MESSAGE":return i({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 i({id:"AI_CHAT_ABORTED_MESSAGE",string:"The request was aborted."});case"AI_CHAT_GENERIC_ERROR":return i({id:"AI_CHAT_GENERIC_ERROR",string:"Something went wrong while processing your request. Please try again."});case"AI_CHAT_UNABLE_TO_START_CONVERSATION":return i({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 i({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 i({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 i({id:"AI_CHAT_RESOURCE_LOAD_FAILED",string:"Failed to load resource. Please try again."});case"AI_CHAT_CONTEXT_CURRENT_DOCUMENT":return i({id:"AI_CHAT_CONTEXT_CURRENT_DOCUMENT",string:"Current document"});case"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT":return i({id:"AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT",string:"Remove from context"});case"AI_CHAT_CONTEXT_ADD_CONTEXT":return i({id:"AI_CHAT_CONTEXT_ADD_CONTEXT",string:"Add context"});case"AI_CHAT_CONTEXT_URL_LABEL":return i({id:"AI_CHAT_CONTEXT_URL_LABEL",string:"URL"});case"AI_CHAT_CONTEXT_FILE_LABEL":return i({id:"AI_CHAT_CONTEXT_FILE_LABEL",string:"File"});case"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL":return i({id:"AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL",string:"Current context"});case"AI_CHAT_SEARCH_WEB":return i({id:"AI_CHAT_SEARCH_WEB",string:"Web search"});case"AI_CHAT_ENABLE_WEB_SEARCH":return i({id:"AI_CHAT_ENABLE_WEB_SEARCH",string:"Enable web search"});case"AI_CHAT_DISABLE_WEB_SEARCH":return i({id:"AI_CHAT_DISABLE_WEB_SEARCH",string:"Disable web search"});case"AI_CHAT_REASONING":return i({id:"AI_CHAT_REASONING",string:"Reasoning"});case"AI_CHAT_ENABLE_REASONING":return i({id:"AI_CHAT_ENABLE_REASONING",string:"Enable reasoning"});case"AI_CHAT_DISABLE_REASONING":return i({id:"AI_CHAT_DISABLE_REASONING",string:"Disable reasoning"});case"AI_CHAT_COMMANDS":return i({id:"AI_CHAT_COMMANDS",string:"Commands"});case"AI_CHAT_SEARCH_RESOURCES":return i({id:"AI_CHAT_SEARCH_RESOURCES",string:"Search resources"});case"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT":return i({id:"AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT",string:"Back to context options"});case"AI_CHAT_CONTEXT_URL_ADD_URL":return i({id:"AI_CHAT_CONTEXT_URL_ADD_URL",string:"Add URL"});case"AI_CHAT_CONTEXT_URL_PLACEHOLDER":return i({id:"AI_CHAT_CONTEXT_URL_PLACEHOLDER",string:"Add URL..."});case"AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL":return i({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 i({id:"AI_CHAT_CONTEXT_INVALID_DATA",string:"Invalid context data type for the selected resource."});case"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE":return i({id:"AI_CHAT_CONTEXT_UNSUPPORTED_TYPE",string:"Unsupported resource type. Only files and URLs are supported."});case"AI_CHAT_CONTEXT_URL_EMPTY_ERROR":return i({id:"AI_CHAT_CONTEXT_URL_EMPTY_ERROR",string:"URL cannot be empty."});case"AI_CHAT_CONTEXT_URL_INVALID_ERROR":return i({id:"AI_CHAT_CONTEXT_URL_INVALID_ERROR",string:"Please enter a valid URL."});case"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR":return i({id:"AI_CHAT_FEED_LOADING_MESSAGE_REGULAR",string:"AI is preparing a response..."});case"AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH":return i({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 i({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 i({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 i({id:"AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH",string:"Scanned the internet for insights"});case"AI_CHAT_FEED_REPLY_ITEM_USED_REASONING":return i({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 i({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 i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR",string:"Ask AI anything..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH",string:"Ask AI anything (web search enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING":return i({id:"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING",string:"Ask AI anything (reasoning enabled)..."});case"AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING":return i({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 i({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 i({id:"AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION",string:"Insert suggestion",plural:"Insert suggestions"},n);case"AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL":return i({id:"AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL",string:"Apply",plural:"Apply all"},n);case"AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP":return i({id:"AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP",string:"Apply suggestion",plural:"Apply all suggestions"},n);case"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP":return i({id:"AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP",string:"More options"},n);case"AI_CHAT_MODEL_SELECTOR_GROUP":return i({id:"AI_CHAT_MODEL_SELECTOR_GROUP",string:"Models"});case"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP":return i({id:"AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP",string:"Select a model"});case"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP":return i({id:"AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP",string:"Start a new conversation to change a model"});case"AI_CHAT_CAPABILITIES_YES":return i({id:"AI_CHAT_CAPABILITIES_YES",string:"Yes"});case"AI_CHAT_CAPABILITIES_NO":return i({id:"AI_CHAT_CAPABILITIES_NO",string:"No"});case"AI_CHAT_CONTEXT_SOURCES_LABEL":return i({id:"AI_CHAT_CONTEXT_SOURCES_LABEL",string:"Sources"});case"AI_CHAT_HISTORY_HEADING":return i({id:"AI_CHAT_HISTORY_HEADING",string:"Chat History"});case"AI_CHAT_HISTORY_SEARCH_LABEL":return i({id:"AI_CHAT_HISTORY_SEARCH_LABEL",string:"Search history"});case"AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY":return i({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 i({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 i({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 i({id:"AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON",string:"Go to chat"});case"AI_CHAT_HISTORY_PIN_BUTTON":return i({id:"AI_CHAT_HISTORY_PIN_BUTTON",string:"Pin"});case"AI_CHAT_HISTORY_SHOW_MORE_ITEMS":return i({id:"AI_CHAT_HISTORY_SHOW_MORE_ITEMS",string:"Show more items"});case"AI_CHAT_HISTORY_EDIT_NAME":return i({id:"AI_CHAT_HISTORY_EDIT_NAME",string:"Edit name"});case"AI_CHAT_HISTORY_REMOVE":return i({id:"AI_CHAT_HISTORY_REMOVE",string:"Remove"});case"AI_CHAT_HISTORY_REMOVE_CONFIRM":return i({id:"AI_CHAT_HISTORY_REMOVE_CONFIRM",string:"Do you want to remove this chat?"});case"AI_CHAT_HISTORY_ACCEPT":return i({id:"AI_CHAT_HISTORY_ACCEPT",string:"Accept"});case"AI_CHAT_HISTORY_CANCEL":return i({id:"AI_CHAT_HISTORY_CANCEL",string:"Cancel"});case"AI_CHAT_HISTORY_LOADING_REMOVING":return i({id:"AI_CHAT_HISTORY_LOADING_REMOVING",string:"Removing the chat..."});case"AI_CHAT_HISTORY_LOADING_RENAMING":return i({id:"AI_CHAT_HISTORY_LOADING_RENAMING",string:"Renaming the chat..."});case"AI_CHAT_HISTORY_LOADING_PINNING":return i({id:"AI_CHAT_HISTORY_LOADING_PINNING",string:"Pinning the chat..."});case"AI_CHAT_HISTORY_LOADING_UNPINNING":return i({id:"AI_CHAT_HISTORY_LOADING_UNPINNING",string:"Unpinning the chat..."});case"AI_CHAT_HISTORY_CATEGORY_PINNED":return i({id:"AI_CHAT_HISTORY_CATEGORY_PINNED",string:"Pinned"});case"AI_CHAT_HISTORY_CATEGORY_TODAY":return i({id:"AI_CHAT_HISTORY_CATEGORY_TODAY",string:"Today"});case"AI_CHAT_HISTORY_CATEGORY_YESTERDAY":return i({id:"AI_CHAT_HISTORY_CATEGORY_YESTERDAY",string:"Yesterday"});case"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS":return i({id:"AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS",string:"Last 14 days"});case"AI_CHAT_HISTORY_CATEGORY_LATER":return i({id:"AI_CHAT_HISTORY_CATEGORY_LATER",string:"Later"});case"AI_CHAT_HISTORY_ERROR_UPDATE_TITLE":return i({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 i({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 i({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 i({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 i({id:"AI_CHAT_HISTORY_ERROR_GENERIC",string:"Something went wrong. Please try again in a moment."});case"AI_CHAT_HISTORY_PIN_ACTION":return i({id:"AI_CHAT_HISTORY_PIN_ACTION",string:"pin"});case"AI_CHAT_HISTORY_UNPIN_ACTION":return i({id:"AI_CHAT_HISTORY_UNPIN_ACTION",string:"unpin"});case"AI_BALLOON_APPLY_BUTTON":return i({id:"AI_BALLOON_APPLY_BUTTON",string:"Apply"});case"AI_BALLOON_SUGGEST_BUTTON":return i({id:"AI_BALLOON_SUGGEST_BUTTON",string:"Suggest"});case"AI_BALLOON_NEXT_TOOLTIP":return i({id:"AI_BALLOON_NEXT_TOOLTIP",string:"Next"});case"AI_BALLOON_PREVIOUS_TOOLTIP":return i({id:"AI_BALLOON_PREVIOUS_TOOLTIP",string:"Previous"});case"AI_SUGGESTION_NO_PARTS_WARNING":return i({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 i({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 i({id:"AI_ACTIONS_TRY_AGAIN",string:"Try again"});case"AI_MODEL_DESCRIPTION_AGENT-1":return i({id:"AI_MODEL_DESCRIPTION_AGENT-1",string:"Automatically selects the best model for speed, quality, and cost"});case"AI_MODEL_DESCRIPTION_GPT-5":return i({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 i({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 i({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 i({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 i({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 i({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 i({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 i({id:"AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH",string:"Lightweight Gemini model for fast, cost-efficient interactions"});default:return e}}const Gc=Yc;var jc,Wc;function Yc(t,e){const n=$c();return(Yc=function(t,e){return n[t-=324]})(t,e)}!function(t){const e=Yc,n=t();for(;;)try{if(262570===-parseInt(e(340))/1*(parseInt(e(407))/2)+-parseInt(e(411))/3+parseInt(e(453))/4+parseInt(e(372))/5*(-parseInt(e(362))/6)+-parseInt(e(441))/7+-parseInt(e(335))/8*(-parseInt(e(419))/9)+parseInt(e(417))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($c),function(t){const e=Yc;t[e(387)]=e(408),t[e(375)]=e(367),t[e(434)]=e(386),t[e(420)]=e(361),t[e(384)]=e(332),t[e(406)]=e(392),t[e(410)]=e(450),t[e(401)]=e(366)}(jc||(jc={}));class Kc extends r.ContextPlugin{[Gc(342)];[Gc(391)];[Gc(423)];static get[Gc(405)](){return[Gc(326)]}static get[Gc(421)](){return Gc(344)}static get[Gc(336)](){return!0}static get[Gc(333)](){return!0}constructor(t){const e=Gc;super(t),this[e(363)][e(330)][e(338)](e(416),e(373)),this[e(342)]=this[e(363)][e(330)][e(358)](e(416)),this[e(391)]=null,this[e(423)]=new TextDecoder}[Gc(445)](){const t=Gc,e=this[t(363)][t(446)][t(358)](t(326));if(!e[t(351)])throw new s.CKEditorError(t(442),this);this[t(391)]=e[t(351)]}[Gc(356)](t,e){const n=Gc,i=this[n(414)](n(324),n(396),{id:t,group:e});return{getConversation:async()=>(await i[n(349)])[n(448)](),abortController:i[n(402)]}}[Gc(343)]({message:t,conversationId:e,parts:n,capabilities:i,model:r,quickActionData:o}){const s=Gc,a={...o&&{quickActionData:o}},c={prompt:t,content:n,model:r,...i&&{capabilities:i},...Object[s(329)](a)[s(341)]>0&&{attributes:a}},l=this[s(414)](s(381)+e+s(364),s(396),c);return{getStream:async()=>{const t=s,e=(await l[t(349)])[t(331)];return this[t(347)](e)},abortController:l[s(402)]}}[Gc(369)]({content:t,message:e,model:n,outputFormat:i}){const r=Gc,o={content:[{type:r(447),content:t}],prompt:e,model:n,outputFormat:i},s=this[r(414)](r(354),r(396),o);return{getStream:async()=>{const t=r,e=(await s[t(349)])[t(331)];return this[t(347)](e)},abortController:s[r(402)]}}[Gc(440)]({actionName:t,content:e,args:n}){const i=Gc,r={content:[{type:i(447),content:e}],args:n},o=this[i(414)](i(429)+t+i(394),i(396),r);return{getStream:async()=>{const t=i,e=(await o[t(349)])[t(331)];return this[t(347)](e)},abortController:o[i(402)]}}[Gc(370)](t,e,n){const i=Gc,r=new FormData;r[i(451)](i(430),e,e[i(339)]),n&&r[i(451)](i(328),JSON[i(435)](n));const o=this[i(414)](i(381)+t+i(432),i(396),r);return{getId:async()=>(await o[i(349)])[i(448)](),abortController:o[i(402)]}}[Gc(433)](t,e){const n=Gc,i=this[n(414)](n(381)+t+n(443)+e,n(371));return{getDocument:async()=>(await i[n(349)])[n(448)](),abortController:i[n(402)]}}[Gc(374)](t,e,n){const i=Gc,r={content:e};n&&(r[i(328)]=n);const o=this[i(414)](i(381)+t+i(428),i(396),r);return{getId:async()=>(await o[i(349)])[i(448)](),abortController:o[i(402)]}}[Gc(399)](t,e){const n=Gc,i=new URLSearchParams;i[n(451)](n(431),n(380)),i[n(451)](n(409),n(327)),i[n(451)](n(379),t),e&&i[n(451)](n(348),e);const r=this[n(414)](n(427)+i[n(439)](),n(371));return{getConversations:async()=>{const t=n,e=await r[t(349)];return(await e[t(448)]())[t(376)]},abortController:r[n(402)]}}[Gc(425)](t){const e=Gc,n=this[e(414)](e(381)+t,e(412));return{execute:async()=>{const t=e;await n[t(349)]},abortController:n[e(402)]}}[Gc(404)](t,e){const n=Gc,i=this[n(414)](n(381)+t,n(422),e);return{getResult:async()=>(await i[n(349)],e),abortController:i[n(402)]}}[Gc(360)](t){const e=Gc,n=this[e(414)](e(381)+t,e(371));return{getConversation:async()=>(await n[e(349)])[e(448)](),abortController:n[e(402)]}}[Gc(353)](t){const e=Gc,n=this[e(414)](e(381)+t+e(364),e(371));return{getMessages:async()=>{const t=e,i=await n[t(349)];return(await i[t(448)]())[t(376)]},abortController:n[e(402)]}}[Gc(395)](t,e,n){const i=Gc,r=this[i(414)](i(381)+t+i(400),i(396),{url:e,attributes:n});return{getId:async()=>(await r[i(349)])[i(448)](),abortController:r[i(402)]}}[Gc(383)](){const t=Gc,e=this[t(414)](t(352),t(371));return{list:async()=>{const n=t,i=await(await e[n(349)])[n(448)](),r=i[n(376)][n(398)](t=>({...t,description:zc(this[n(363)][n(397)],n(377)+t.id[n(437)]())}));return{...i,items:r}},abortController:e[t(402)]}}[Gc(368)](t,e){const n=Gc,i=this[n(414)](n(381)+t+n(357)+e,n(412));return{execute:async()=>{const t=n;await i[t(349)]},abortController:i[n(402)]}}[Gc(355)](t,e){const n=Gc,i=this[n(414)](n(381)+t+n(443)+e,n(412));return{execute:async()=>{const t=n;await i[t(349)]},abortController:i[n(402)]}}[Gc(415)](t,e){const n=Gc,i=this[n(414)](n(381)+t+n(389)+e,n(412));return{execute:async()=>{const t=n;await i[t(349)]},abortController:i[n(402)]}}[Gc(436)]({reviewName:t,content:e,args:n}){const i=Gc,r=this[i(414)](i(438)+t+i(394),i(396),{content:[{type:i(447),content:e}],args:n});return{getStream:async()=>{const t=i,e=(await r[t(349)])[t(331)];return this[t(347)](e)},abortController:r[i(402)]}}[Gc(382)]({content:t,prompt:e,model:n}){const i=Gc,r=this[i(414)](i(345),i(396),{content:[{type:i(447),content:t}],prompt:e,model:n});return{getStream:async()=>{const t=i,e=(await r[t(349)])[t(331)];return this[t(347)](e)},abortController:r[i(402)]}}[Gc(414)](t,e,n){const i=Gc,r=new AbortController,o=n instanceof FormData,a={Authorization:i(452)+this[i(391)]?.[i(346)]};n&&!o&&(a[i(350)]=i(424));const c={method:e,headers:a,signal:r[i(393)]};return n&&(c[i(331)]=o?n:JSON[i(435)](n)),{request:fetch(""+this[i(342)]+t,c)[i(403)](t=>{this[i(337)](t)})[i(388)](t=>{const e=i;if(!t.ok)throw new s.CKEditorError(e(359),this);return t}),abortController:r}}async*[Gc(347)](t){const e=Gc,n=[],i=t[e(449)](),r=qc({onError:t=>{this[e(337)](t)},onEvent:t=>{const i=e;t[i(413)]=JSON[i(385)](t[i(413)]),n[i(334)](t)}});try{let t=!1;for(;!t;){const{done:o,value:s}=await i[e(444)]();o&&(t=!0),r[e(418)](this[e(423)][e(378)](s,{stream:!0})),yield*n,n[e(341)]=0}}catch(t){this[e(337)](t)}finally{i[e(390)](),r[e(325)]()}}[Gc(337)](t){const e=Gc;if(t instanceof s.CKEditorError)throw t;if(t instanceof Error&&e(426)===t[e(339)])throw new s.CKEditorError(e(365),this,{originalError:t});throw new s.CKEditorError(e(359),this,{originalError:t})}}function $c(){const t=["limit","MAKE_TONE_FORMAL","1485783yHRSOy","DELETE","data","_sendApiRequest","deleteWebResource","ai.serviceUrl","5317670pOzXok","feed","189hoWZXY","MAKE_LONGER","pluginName","PATCH","_decoder","application/json","deleteConversation","AbortError","/conversations?","/documents","/actions/system/","file","excludeEmpty","/files","fetchDocument","IMPROVE_WRITING","stringify","callSystemReview","toUpperCase","/reviews/system/","toString","executeAction","1274413RDNtbD","ai-missing-token","/documents/","read","init","plugins","text","json","getReader","make-tone-formal","append","Bearer ","2051564PWYwuY","/conversations","reset","CloudServices","100","attributes","keys","config","body","make-shorter","isPremiumPlugin","push","178088LTOkyJ","isOfficialPlugin","_handleError","define","name","199603DnQdkk","length","_apiUrl","queryAssistant","AIConnector","/reviews/custom/calls","value","_getStreamReader","search","request","Content-Type","token","/models/1","fetchConversationMessages","/actions/custom/calls","deleteDocument","startConversation","/files/","get","ai-request-failed","fetchConversation","make-longer","79866xEEJbO","context","/messages","ai-request-aborted","translate","fix-grammar","deleteFile","executeCustomAction","uploadFile","GET","65MMyaKR","https://ai.cke-cs.com/v1","uploadDocument","FIX_GRAMMAR","items","AI_MODEL_DESCRIPTION_","decode","group","true","/conversations/","callCustomReview","getModels","MAKE_SHORTER","parse","improve-writing","CONTINUE","then","/web-resources/","releaseLock","_token","make-tone-casual","signal","/calls","uploadUrl","POST","locale","map","fetchConversations","/web-resources","TRANSLATE","abortController","catch","updateConversation","requires","MAKE_TONE_CASUAL","4VJVsnD","continue"];return($c=function(){return t})()}function Qc(t,e){const n=Xc();return(Qc=function(t,e){return n[t-=500]})(t,e)}function Xc(){const t=["196763xrKsyU","bind","1848548KHrufY","isMaximized","AI_TABS_LABEL_MINIMIZE","248658oIdRcE","102WfnbsV","2QuEXpa","set","2436656xSrhFz","AI_TABS_LABEL_MAXIMIZE","2736495QikiYW","execute","fire","isOn","icon","481266uolhuu","resizeTabs","3499885kFupbW","ck-ai-tabs__resize ck-ai-button-tertiary-text","label"];return(Xc=function(){return t})()}function Jc(t,e){const n=Qc,i=new a.ButtonView(t),r=zc(t,n(508)),s=zc(t,n(514));return i[n(512)]({withText:!1,icon:o.IconMaximize,tooltip:!0,class:n(502)}),i[n(505)](n(503)).to(e,n(507),t=>t?r:s),i[n(505)](n(519)).to(e,n(507),t=>t?o.IconMinimize:o.IconMaximize),i[n(505)](n(518)).to(e,n(507)),i.on(n(516),()=>{const t=n;e[t(517)](t(500))}),i}!function(t){const e=Qc,n=t();for(;;)try{if(456860===parseInt(e(509))/1+parseInt(e(511))/2*(-parseInt(e(520))/3)+-parseInt(e(506))/4+parseInt(e(501))/5+-parseInt(e(510))/6*(parseInt(e(504))/7)+parseInt(e(513))/8+parseInt(e(515))/9)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"}(Wc||(Wc={}));const Zc=Wc.Root,tl=Wc.Text,el=Wc.Directive,nl=Wc.Comment,il=Wc.Script,rl=Wc.Style,ol=Wc.Tag,sl=Wc.CDATA,al=Wc.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 Il(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=Wc.Text}get nodeType(){return 3}}class hl extends ll{constructor(){super(...arguments),this.type=Wc.Comment}get nodeType(){return 8}}class dl extends ll{constructor(t,e){super(e),this.name=t,this.type=Wc.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=Wc.CDATA}get nodeType(){return 4}}class ml extends pl{constructor(){super(...arguments),this.type=Wc.Root}get nodeType(){return 9}}class gl extends pl{constructor(t,e,n=[],i=("script"===t?Wc.Script:"style"===t?Wc.Style:Wc.Tag)){super(n),this.name=t,this.attribs=e,this.type=i}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===Wc.Tag||e.type===Wc.Script||e.type===Wc.Style;var e}function _l(t){return t.type===Wc.Text}function bl(t){return t.type===Wc.Comment}function wl(t){return t.type===Wc.Root}function vl(t){return Object.prototype.hasOwnProperty.call(t,"children")}function Il(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 i=e?yl(t.children):[],r=new gl(t.name,{...t.attribs},i);i.forEach(t=>t.parent=r),null!=t.namespace&&(r.namespace=t.namespace),t["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=r}else if(function(t){return t.type===Wc.CDATA}(t)){const i=e?yl(t.children):[],r=new fl(i);i.forEach(t=>t.parent=r),n=r}else if(wl(t)){const i=e?yl(t.children):[],r=new ml(i);i.forEach(t=>t.parent=r),t["x-mode"]&&(r["x-mode"]=t["x-mode"]),n=r}else{if(!function(t){return t.type===Wc.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=>Il(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 ml(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 ml(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?Wc.Tag:void 0,i=new gl(t,e,void 0,n);this.addNode(i),this.tagStack.push(i)}ontext(t){const{lastNode:e}=this;if(e&&e.type===Wc.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===Wc.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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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 Ml,Ll,Pl;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"}(Ml||(Ml={})),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"}(Ll||(Ll={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Pl||(Pl={}));class Ul{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=Ll.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Pl.Strict}startEntity(t){this.decodeMode=t,this.state=Ll.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case Ll.EntityStart:return t.charCodeAt(e)===Nl.NUM?(this.state=Ll.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=Ll.NamedEntity,this.stateNamedEntity(t,e));case Ll.NumericStart:return this.stateNumericStart(t,e);case Ll.NumericDecimal:return this.stateNumericDecimal(t,e);case Ll.NumericHex:return this.stateNumericHex(t,e);case Ll.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Nl.LOWER_X?(this.state=Ll.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=Ll.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+Number.parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!Dl(i)&&!Hl(i))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(i,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!Dl(i))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(i,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===Pl.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 i=n[this.treeIndex],r=(i&Ml.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=Vl(n,i,this.treeIndex+Math.max(1,r),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Pl.Attribute&&(0===r||Bl(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&Ml.VALUE_LENGTH)>>14,0!==r){if(o===Nl.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Pl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&Ml.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~Ml.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case Ll.NamedEntity:return 0===this.result||this.decodeMode===Pl.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Ll.NumericDecimal:return this.emitNumericEntity(0,2);case Ll.NumericHex:return this.emitNumericEntity(0,3);case Ll.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ll.EntityStart:return 0}}}function Vl(t,e,n,i){const r=(e&Ml.BRANCH_LENGTH)>>7,o=e&Ml.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(n<i)s=e+1;else{if(!(n>i))return t[e+r];a=e-1}}return-1}var Fl,ql,zl;function Gl(t){return t===Fl.Space||t===Fl.NewLine||t===Fl.Tab||t===Fl.FormFeed||t===Fl.CarriageReturn}function jl(t){return t===Fl.Slash||t===Fl.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"}(Fl||(Fl={})),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"}(ql||(ql={})),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=ql.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=ql.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=ql.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=ql.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===Fl.Lt||!this.decodeEntities&&this.fastForwardTo(Fl.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=ql.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Fl.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=ql.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Fl.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===Fl.Amp&&this.startEntity():this.fastForwardTo(Fl.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(t===Fl.Lt)}stateCDATASequence(t){t===Wl.Cdata[this.sequenceIndex]?++this.sequenceIndex===Wl.Cdata.length&&(this.state=ql.InCommentLike,this.currentSequence=Wl.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=ql.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=ql.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>=Fl.LowerA&&t<=Fl.LowerZ||t>=Fl.UpperA&&t<=Fl.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=ql.SpecialStartSequence}stateBeforeTagName(t){if(t===Fl.ExclamationMark)this.state=ql.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===Fl.Questionmark)this.state=ql.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=ql.InTagName:e===Wl.ScriptEnd[2]?this.state=ql.BeforeSpecialS:e===Wl.TitleEnd[2]||e===Wl.XmpEnd[2]?this.state=ql.BeforeSpecialT:this.state=ql.InTagName}else t===Fl.Slash?this.state=ql.BeforeClosingTagName:(this.state=ql.Text,this.stateText(t))}stateInTagName(t){jl(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=ql.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Gl(t)||(t===Fl.Gt?this.state=ql.Text:(this.state=this.isTagStartChar(t)?ql.InClosingTagName:ql.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===Fl.Gt||Gl(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=ql.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===Fl.Gt||this.fastForwardTo(Fl.Gt))&&(this.state=ql.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===Fl.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=ql.InSpecialTag,this.sequenceIndex=0):this.state=ql.Text,this.sectionStart=this.index+1):t===Fl.Slash?this.state=ql.InSelfClosingTag:Gl(t)||(this.state=ql.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===Fl.Gt?(this.cbs.onselfclosingtag(this.index),this.state=ql.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Gl(t)||(this.state=ql.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===Fl.Eq||jl(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=ql.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===Fl.Eq?this.state=ql.BeforeAttributeValue:t===Fl.Slash||t===Fl.Gt?(this.cbs.onattribend(zl.NoValue,this.sectionStart),this.sectionStart=-1,this.state=ql.BeforeAttributeName,this.stateBeforeAttributeName(t)):Gl(t)||(this.cbs.onattribend(zl.NoValue,this.sectionStart),this.state=ql.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===Fl.DoubleQuote?(this.state=ql.InAttributeValueDq,this.sectionStart=this.index+1):t===Fl.SingleQuote?(this.state=ql.InAttributeValueSq,this.sectionStart=this.index+1):Gl(t)||(this.sectionStart=this.index,this.state=ql.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===Fl.DoubleQuote?zl.Double:zl.Single,this.index+1),this.state=ql.BeforeAttributeName):this.decodeEntities&&t===Fl.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,Fl.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,Fl.SingleQuote)}stateInAttributeValueNoQuotes(t){Gl(t)||t===Fl.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(zl.Unquoted,this.index),this.state=ql.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===Fl.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===Fl.OpeningSquareBracket?(this.state=ql.CDATASequence,this.sequenceIndex=0):this.state=t===Fl.Dash?ql.BeforeComment:ql.InDeclaration}stateInDeclaration(t){(t===Fl.Gt||this.fastForwardTo(Fl.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=ql.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===Fl.Gt||this.fastForwardTo(Fl.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=ql.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===Fl.Dash?(this.state=ql.InCommentLike,this.currentSequence=Wl.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=ql.InDeclaration}stateInSpecialComment(t){(t===Fl.Gt||this.fastForwardTo(Fl.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=ql.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=ql.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=ql.InTagName,this.stateInTagName(t)}}startEntity(){this.baseState=this.state,this.state=ql.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Pl.Strict:this.baseState===ql.Text||this.baseState===ql.InSpecialTag?Pl.Legacy:Pl.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===ql.Text||this.state===ql.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==ql.InAttributeValueDq&&this.state!==ql.InAttributeValueSq&&this.state!==ql.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 ql.Text:this.stateText(t);break;case ql.SpecialStartSequence:this.stateSpecialStartSequence(t);break;case ql.InSpecialTag:this.stateInSpecialTag(t);break;case ql.CDATASequence:this.stateCDATASequence(t);break;case ql.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(t);break;case ql.InAttributeName:this.stateInAttributeName(t);break;case ql.InCommentLike:this.stateInCommentLike(t);break;case ql.InSpecialComment:this.stateInSpecialComment(t);break;case ql.BeforeAttributeName:this.stateBeforeAttributeName(t);break;case ql.InTagName:this.stateInTagName(t);break;case ql.InClosingTagName:this.stateInClosingTagName(t);break;case ql.BeforeTagName:this.stateBeforeTagName(t);break;case ql.AfterAttributeName:this.stateAfterAttributeName(t);break;case ql.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(t);break;case ql.BeforeAttributeValue:this.stateBeforeAttributeValue(t);break;case ql.BeforeClosingTagName:this.stateBeforeClosingTagName(t);break;case ql.AfterClosingTagName:this.stateAfterClosingTagName(t);break;case ql.BeforeSpecialS:this.stateBeforeSpecialS(t);break;case ql.BeforeSpecialT:this.stateBeforeSpecialT(t);break;case ql.InAttributeValueNq:this.stateInAttributeValueNoQuotes(t);break;case ql.InSelfClosingTag:this.stateInSelfClosingTag(t);break;case ql.InDeclaration:this.stateInDeclaration(t);break;case ql.BeforeDeclaration:this.stateBeforeDeclaration(t);break;case ql.BeforeComment:this.stateBeforeComment(t);break;case ql.InProcessingInstruction:this.stateInProcessingInstruction(t);break;case ql.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===ql.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===ql.InCommentLike?this.currentSequence===Wl.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===ql.InTagName||this.state===ql.BeforeAttributeName||this.state===ql.BeforeAttributeValue||this.state===ql.AfterAttributeName||this.state===ql.InAttributeName||this.state===ql.InAttributeValueSq||this.state===ql.InAttributeValueDq||this.state===ql.InAttributeValueNq||this.state===ql.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==ql.Text&&this.baseState!==ql.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"]),Jl=new Set(["rt","rp"]),Zl=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",Jl],["rp",Jl],["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"]),iu=/\s|\//;class ru{constructor(t,e={}){var n,i,r,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!==(i=e.lowerCaseAttributeNames)&&void 0!==i?i:this.htmlMode,this.recognizeSelfClosing=null!==(r=e.recognizeSelfClosing)&&void 0!==r?r:!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,i;const r=this.getSlice(t,e);this.endIndex=e-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,r),this.startIndex=e}ontextentity(t,e){var n,i;this.endIndex=e-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.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,i,r;this.openTagStart=this.startIndex,this.tagname=t;const o=this.htmlMode&&Zl.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===(r=(i=this.cbs).onopentagname)||void 0===r||r.call(i,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,i,r,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=(r=this.cbs).onopentagname)||void 0===o||o.call(r,"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 r=this.stack.shift();null===(i=(n=this.cbs).onclosetag)||void 0===i||i.call(n,r,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 i=this.tagname;this.endOpenTag(t),this.stack[0]===i&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,i,!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,i;this.endIndex=e,null===(i=(n=this.cbs).onattribute)||void 0===i||i.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(iu);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 i,r,o,s;this.endIndex=e,null===(r=(i=this.cbs).oncomment)||void 0===r||r.call(i,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 i,r,o,s,a,c,l,u,h,d;this.endIndex=e;const p=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(r=(i=this.cbs).oncdatastart)||void 0===r||r.call(i),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,i;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===(i=(n=this.cbs).onparserinit)||void 0===i||i.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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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 mu(t){return t>=hu.ZERO&&t<=hu.NINE}function gu(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||mu(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,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!mu(i)&&!gu(i))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(i,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const i=t.charCodeAt(e);if(!mu(i))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(i,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 i=n[this.treeIndex],r=(i&du.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=wu(n,i,this.treeIndex+Math.max(1,r),o),this.treeIndex<0)return 0===this.result||this.decodeMode===fu.Attribute&&(0===r||ku(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&du.VALUE_LENGTH)>>14,0!==r){if(o===hu.SEMI)return this.emitNamedEntityData(this.treeIndex,r,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,i=(n[e]&du.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~du.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[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,i){let r=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(r,o),n.startEntity(i);const s=n.write(t,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}const s=e+t.slice(r);return e="",s}}function wu(t,e,n,i){const r=(e&du.BRANCH_LENGTH)>>7,o=e&du.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(n<i)s=e+1;else{if(!(n>i))return t[e+r];a=e-1}}return-1}bu(ou),bu(su);function vu(t){for(let e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}new Map(vu([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(vu([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(vu([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(vu([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));const Iu=/["&'<>$\x80-\uFFFF]/g,yu=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),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="",i=0;for(;null!==(e=Iu.exec(t));){const r=e.index,o=t.charCodeAt(r),s=yu.get(o);void 0!==s?(n+=t.substring(i,r)+s,i=r+1):(n+=`${t.substring(i,r)}&#x${Au(t,r).toString(16)};`,i=Iu.lastIndex+=Number(55296==(64512&o)))}return n+t.substr(i)}function xu(t,e){return function(n){let i,r=0,o="";for(;i=t.exec(n);)r!==i.index&&(o+=n.substring(r,i.index)),o+=e.get(i[0].charCodeAt(0)),r=i.index+1;return o+n.substring(r)}}xu(/[&<>'"]/g,yu);const Tu=xu(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Cu=xu(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));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])),Mu=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Lu(t){return t.replace(/"/g,""")}const Pu=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 i="";for(let t=0;t<n.length;t++)i+=Bu(n[t],e);return i}const Hu=Du;function Bu(t,e){switch(t.type){case Zc: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 il:case rl: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 i=`<${t.name}`;const r=function(t,e){var n;if(!t)return;const i=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?Lu:e.xmlMode||"utf8"!==e.encodeEntities?Eu:Tu;return Object.keys(t).map(n=>{var r,o;const s=null!==(r=t[n])&&void 0!==r?r:"";return"foreign"===e.xmlMode&&(n=null!==(o=Nu.get(n))&&void 0!==o?o:n),e.emptyAttrs||e.xmlMode||""!==s?`${n}="${i(s)}"`:n}).join(" ")}(t.attribs,e);r&&(i+=` ${r}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&Pu.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=Du(t.children,e)),!e.xmlMode&&Pu.has(t.name)||(i+=`</${t.name}>`));return i}(t,e);case tl:return function(t,e){var n;let i=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Mu.has(t.parent.name)||(i=e.xmlMode||"utf8"!==e.encodeEntities?Eu(i):Cu(i));return i}(t,e)}}const Uu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Vu=new Set(["svg","math"]);function Fu(t){return Array.isArray(t)?t.map(Fu).join(""):vl(t)&&!bl(t)?Fu(t.children):_l(t)?t.data:""}function qu(t){return vl(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 i=e.next=t.next;i&&(i.prev=e);const r=e.parent=t.parent;if(r){const n=r.children;n[n.lastIndexOf(t)]=e,t.parent=null}}function Wu(t,e){Gu(e);const{parent:n}=t,i=t.next;if(e.next=i,e.prev=t,t.next=e,e.parent=n,i){if(i.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(i),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 i=n.children;i.splice(i.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,i){const r=[],o=[Array.isArray(e)?e:[e]],s=[0];for(;;){if(s[0]>=o[0].length){if(1===s.length)return r;o.shift(),s.shift();continue}const e=o[0][s[0]++];if(t(e)&&(r.push(e),--i<=0))return r;n&&vl(e)&&e.children.length>0&&(s.unshift(0),o.unshift(e.children))}}function Qu(t,e,n=!0){const i=Array.isArray(e)?e:[e];for(let e=0;e<i.length;e++){const r=i[e];if(kl(r)&&t(r))return r;if(n&&vl(r)&&r.children.length>0){const e=Qu(t,r.children,!0);if(e)return e}}return null}function Xu(t,e){const n=[],i=[Array.isArray(e)?e:[e]],r=[0];for(;;){if(r[0]>=i[0].length){if(1===i.length)return n;i.shift(),r.shift();continue}const e=i[0][r[0]++];kl(e)&&t(e)&&n.push(e),vl(e)&&e.children.length>0&&(r.unshift(0),i.unshift(e.children))}}var Ju;!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"}(Ju||(Ju={}));function Zu(t,e){const n=new El(void 0,e);return new ru(n,e).end(t),n.root}function th(t){return Zu(t)}function eh(t){return Hu(t)}function nh(t,e,n){const i=rh,r=null!==e?n=>n[i(305)][t]===e:e=>Boolean(e[i(305)][t]);return Qu(t=>kl(t)&&r(t),n)}function ih(t,e,n){const i=rh,r=null!==e?n=>n[i(305)][t]===e:e=>Boolean(e[i(305)][t]);return Xu(t=>kl(t)&&r(t),n)}function rh(t,e){const n=lh();return(rh=function(t,e){return n[t-=296]})(t,e)}function oh(t,e){const n=rh;return t&&kl(t)?t[n(305)][e]:null}function sh(t,e,n){const i=rh;kl(t)&&(null===n?delete t[i(305)][e]:t[i(305)][e]=n)}function ah(t,e,n){const i=rh,r=e[i(309)](!0);i(301)===n?Ku(t,r):i(314)===n?Yu(t,r):i(316)===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,r):i(320)===n&&Wu(t,r)}function ch(t){const e=rh,n=[];let i=t;for(;i;)i=zu(i),i&&n[e(303)](i);return n}function lh(){const t=["4586725YaWyHo","beforeend","parentNode","2620280MCtzcF","forEach","afterend","28206bKJbjX","map","nextSibling","148468twgGrb","slice","beforebegin","replace","push","2562cwYAKV","attribs","6843740RlsEHS","reverse","10vyqbWs","cloneNode","indexOf","1747717fSznbt","42NdsCrQ","9026226QxEsFR","afterbegin"];return(lh=function(){return t})()}function uh(t){const e=rh;return t[e(302)](/^\s+/gm,"")[e(302)](/\s+$/gm,"")[e(302)](/\n*/g,"")[e(302)](/\s+/g," ")[e(302)](/>\s*</g,"><")}function hh(t){const e=rh;let n=0;for(;t[e(317)];)t=t[e(317)],n++;return n}function dh(t){const e=rh,n=[];let i=t[e(298)];for(;i;)n[e(303)](i),i=i[e(298)];n[e(319)](t=>{Gu(t)})}function ph(t){if(t)throw t}!function(t){const e=rh,n=t();for(;;)try{if(874652===-parseInt(e(311))/1+-parseInt(e(299))/2*(-parseInt(e(312))/3)+parseInt(e(306))/4+parseInt(e(315))/5+-parseInt(e(296))/6*(parseInt(e(304))/7)+-parseInt(e(318))/8+-parseInt(e(313))/9*(-parseInt(e(308))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lh);var fh=n(461);function mh(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 gh(){const t=[],e={run:function(...e){let n=-1;const i=e.pop();if("function"!=typeof i)throw new TypeError("Expected function as last argument, not "+i);!function r(o,...s){const a=t[++n];let c=-1;if(o)i(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 i;function i(...e){const i=t.length>e.length;let s;i&&e.push(r);try{s=t.apply(this,e)}catch(t){if(i&&n)throw t;return r(t)}i||(s&&s.then&&"function"==typeof s.then?s.then(o,r):s instanceof Error?r(s):o(s))}function r(t,...i){n||(n=!0,e(t,...i))}function o(t){r(null,t)}}(a,r)(...s):i(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 vh extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let i="",r={},o=!1;if(e&&(r="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?i=t:!r.cause&&t&&(o=!0,i=t.message,r.cause=t),!r.ruleId&&!r.source&&"string"==typeof n){const t=n.indexOf(":");-1===t?r.ruleId=n:(r.source=n.slice(0,t),r.ruleId=n.slice(t+1))}if(!r.place&&r.ancestors&&r.ancestors){const t=r.ancestors[r.ancestors.length-1];t&&(r.place=t.position)}const s=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=kh(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}vh.prototype.file="",vh.prototype.name="",vh.prototype.reason="",vh.prototype.message="",vh.prototype.stack="",vh.prototype.column=void 0,vh.prototype.line=void 0,vh.prototype.ancestors=void 0,vh.prototype.cause=void 0,vh.prototype.fatal=void 0,vh.prototype.place=void 0,vh.prototype.ruleId=void 0,vh.prototype.source=void 0;const Ih={basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');yh(t);let n,i=0,r=-1,o=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;o--;)if(47===t.codePointAt(o)){if(n){i=o+1;break}}else r<0&&(n=!0,r=o+1);return r<0?"":t.slice(i,r)}if(e===t)return"";let s=-1,a=e.length-1;for(;o--;)if(47===t.codePointAt(o)){if(n){i=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(t.codePointAt(o)===e.codePointAt(a--)?a<0&&(r=o):(a=-1,r=s));i===r?r=s:r<0&&(r=t.length);return t.slice(i,r)},dirname:function(t){if(yh(t),0===t.length)return".";let e,n=-1,i=t.length;for(;--i;)if(47===t.codePointAt(i)){if(e){n=i;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,i=-1,r=0,o=-1,s=0;for(;n--;){const a=t.codePointAt(n);if(47!==a)i<0&&(e=!0,i=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(e){r=n+1;break}}if(o<0||i<0||0===s||1===s&&o===i-1&&o===r+1)return"";return t.slice(o,i)},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,i,r="",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(r.length<2||2!==o||46!==r.codePointAt(r.length-1)||46!==r.codePointAt(r.length-2))if(r.length>2){if(i=r.lastIndexOf("/"),i!==r.length-1){i<0?(r="",o=0):(r=r.slice(0,i),o=r.length-1-r.lastIndexOf("/")),s=c,a=0;continue}}else if(r.length>0){r="",o=0,s=c,a=0;continue}e&&(r=r.length>0?r+"/..":"..",o=2)}else r.length>0?r+="/"+t.slice(s+1,c):r=t.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===n&&a>-1?a++:a=-1}return r}(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,i=-1;for(;++i<Th.length;){const t=Th[i];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?Ih.basename(this.path):void 0}set basename(t){Rh(t,"basename"),Sh(t,"basename"),this.path=Ih.join(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?Ih.dirname(this.path):void 0}set dirname(t){Oh(this.basename,"dirname"),this.path=Ih.join(t||"",this.basename)}get extname(){return"string"==typeof this.path?Ih.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=Ih.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?Ih.basename(this.path,this.extname):void 0}set stem(t){Rh(t,"stem"),Sh(t,"stem"),this.path=Ih.join(this.dirname||"",t+(this.extname||""))}fail(t,e,n){const i=this.message(t,e,n);throw i.fatal=!0,i}info(t,e,n){const i=this.message(t,e,n);return i.fatal=void 0,i}message(t,e,n){const i=new vh(t,e,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}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(Ih.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ih.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],i=function(){return n.apply(i,arguments)};return Object.setPrototypeOf(i,e),i},Mh={}.hasOwnProperty;class Lh 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=gh()}copy(){const t=new Lh;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):Mh.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 i=e.call(t,...n);"function"==typeof i&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const e=Fh(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?i(void 0,e):new Promise(i);function i(i,r){const o=Fh(t),s=n.parse(o);function a(t,n){t||!n?r(t):i?i(n):e(void 0,n)}n.run(s,o,function(t,e,i){if(t||!e||!i)return a(t);const r=e,o=n.stringify(r,i);var s;"string"==typeof(s=o)||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(s)?i.value=o:i.result=o,a(t,i)})}}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,i){n=!0,ph(t),e=i}),Vh("processSync","process",n),e}run(t,e,n){Uh(t),this.freeze();const i=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?r(void 0,n):new Promise(r);function r(r,o){const s=Fh(e);i.run(t,s,function(e,i,s){const a=i||t;e?o(e):r?r(a):n(void 0,a,s)})}}runSync(t,e){let n,i=!1;return this.run(t,e,function(t,e){ph(t),n=e,i=!0}),Vh("runSync","run",i),n}stringify(t,e){this.freeze();const n=Fh(e),i=this.compiler||this.Compiler;return Hh("stringify",i),Uh(t),i(t,n)}use(t,...e){const n=this.attachers,i=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 r(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&&(i.settings=fh(!0,i.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;){r(t[e])}}}function a(t,e){let i=-1,r=-1;for(;++i<n.length;)if(n[i][0]===t){r=i;break}if(-1===r)n.push([t,...e]);else if(e.length>0){let[i,...o]=e;const s=n[r][1];mh(s)&&mh(i)&&(i=fh(!0,s,i)),n[r]=[t,i,...o]}}}}const Ph=(new Lh).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(!mh(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 Fh(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new Ch(t)}function qh(t,e){const n=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let i=0,r=n.indexOf(e);for(;-1!==r;)i++,r=n.indexOf(e,r+e.length);return i}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 Jh(t){return-2===t||-1===t||32===t}const Zh=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 rd;if("function"==typeof t)return id(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 id(i);function i(...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 id(n);function n(n){const i=n;let r;for(r in t)if(i[r]!==e[r])return!1;return!0}}(t);if("string"==typeof t)return function(t){return id(e);function e(e){return e&&e.type===t}}(t);throw new Error("Expected function, string, or object as test")};function id(t){return function(e,n,i){return Boolean(od(e)&&t.call(this,e,"number"==typeof n?n:void 0,i||void 0))}}function rd(){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,i){let r;"function"==typeof e&&"function"!=typeof n?(i=n,n=e):r=e;const o=nd(r),s=i?-1:1;!function t(r,a,c){const l=r&&"object"==typeof r?r:{};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 ("+r.type+(t?"<"+t+">":"")+")"})}return u;function u(){let l,u,h,d=sd;if((!e||o(r,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(r,c)),d[0]===cd))return d;if("children"in r&&r.children){const e=r;if(e.children&&"skip"!==d[0])for(u=(i?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 i=nd((n||{}).ignore||[]),r=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 i=-1;for(;++i<n.length;){const t=n[i];e.push([hd(t[0]),dd(t[1])])}return e}(e);let o=-1;for(;++o<r.length;)ld(t,"text",s);function s(t,e){let n,s=-1;for(;++s<e.length;){const t=e[s],r=n?n.children:void 0;if(i(t,r?r.indexOf(t):void 0,n))return;n=t}if(n)return function(t,e){const n=e[e.length-1],i=r[o][0],s=r[o][1];let a=0;const c=n.children,l=c.indexOf(t);let u=!1,h=[];i.lastIndex=0;let d=i.exec(t.value);for(;d;){const n=d.index,r={index:d.index,input:d.input,stack:[...e,t]};let o=s(...d,r);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?i.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),!i.global)break;d=i.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 md(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function gd(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 vd(t){ud(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Id],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,yd]],{ignore:["link","linkReference"]})}function Id(t,e,n,i,r){let o="";if(!Ad(r))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],i=n.indexOf(")");const r=qh(t,"(");let o=qh(t,")");for(;-1!==i&&r>o;)t+=n.slice(0,i+1),n=n.slice(i+1),i=n.indexOf(")"),o++;return[t,n]}(n+i);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,i){return!(!Ad(i,!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)||Zh(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 Md(t){this.exit(t)}function Ld(t,e,n,i){const r=n.createTracker(i);let o=r.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return o+=r.move(n.safe(n.associationId(t),{after:"]",before:o})),a(),s(),o+=r.move("]"),o}function Pd(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:function(t,n,i,r){const o=i.createTracker(r);let s=o.move("[^");const a=i.enter("footnoteDefinition"),c=i.enter("label");s+=o.move(i.safe(i.associationId(t),{before:s,after:"]"})),c(),s+=o.move("]:"),t.children&&t.children.length>0&&(o.shift(4),s+=o.move((e?"\n":" ")+i.indentLines(i.containerFlow(t,o.current()),e?Hd:Dd)));return a(),s},footnoteReference:Ld},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}Ld.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 Fd(t,e,n,i){const r=n.createTracker(i),o=n.enter("strikethrough");let s=r.move("~~");return s+=n.containerPhrasing(t,{...r.current(),before:s,after:"~"}),s+=r.move("~~"),o(),s}function qd(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 i=-1;for(;++i<e.length;)if(t.includes(e[i]))return!0;return!1}function Kd(t,e,n,i){let r=-1;for(;++r<n.unsafe.length;)if("\n"===n.unsafe[r].character&&Wd(n.stack,n.unsafe[r]))return/[ \t]/.test(i.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 Jd(t){return null===t||Xh(t)||td(t)?1:Zh(t)?2:void 0}function Zd(t,e,n){const i=Jd(t),r=Jd(e);return void 0===i?void 0===r?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===i?void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function tp(t,e,n,i){const r=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(i),a=s.move(r);let c=s.move(n.containerPhrasing(t,{after:r,before:a,...s.current()}));const l=c.charCodeAt(0),u=Zd(i.before.charCodeAt(i.before.length-1),l,r);u.inside&&(c=Xd(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=Zd(i.after.charCodeAt(0),h,r);d.inside&&(c=c.slice(0,-1)+Xd(h));const p=s.move(r);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}function ep(t,e,n,i){let r,o,s;"function"==typeof e&&"function"!=typeof n?(o=void 0,s=e,r=n):(o=e,s=n,r=i),ld(t,o,function(t,e){const n=e[e.length-1],i=n?n.children.indexOf(t):void 0;return s(t,i,n)},r)}Fd.peek=function(){return"~"},tp.peek=function(t,e,n){return n.options.emphasis||"*"};const np={};function ip(t,e){const n=e||np;return rp(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function rp(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 i=[];let r=-1;for(;++r<t.length;)i[r]=rp(t[r],e,n);return i.join("")}function sp(t){return t.value||""}function ap(t,e,n,i){const r=Qd(n),o='"'===r?"Quote":"Apostrophe",s=n.enter("image");let a=n.enter("label");const c=n.createTracker(i);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(" "+r),l+=c.move(n.safe(t.title,{before:l,after:r,...c.current()})),l+=c.move(r),a()),l+=c.move(")"),s(),l}function cp(t,e,n,i){const r=t.referenceType,o=n.enter("imageReference");let s=n.enter("label");const a=n.createTracker(i);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"!==r&&l&&l===h?"shortcut"===r?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function lp(t,e,n){let i=t.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(i);)r+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<n.unsafe.length;){const t=n.unsafe[o],e=n.compilePattern(t);let r;if(t.atBreak)for(;r=e.exec(i);){let t=r.index;10===i.charCodeAt(t)&&13===i.charCodeAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(r.index+1)}}return r+i+r}function up(t,e){const n=ip(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,i){const r=Qd(n),o='"'===r?"Quote":"Apostrophe",s=n.createTracker(i);let a,c;if(up(t,n)){const e=n.stack;n.stack=[],a=n.enter("autolink");let i=s.move("<");return i+=s.move(n.containerPhrasing(t,{before:i,after:">",...s.current()})),i+=s.move(">"),a(),n.stack=e,i}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(" "+r),l+=s.move(n.safe(t.title,{before:l,after:r,...s.current()})),l+=s.move(r),c()),l+=s.move(")"),a(),l}function dp(t,e,n,i){const r=t.referenceType,o=n.enter("linkReference");let s=n.enter("label");const a=n.createTracker(i);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"!==r&&l&&l===h?"shortcut"===r?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 mp=nd(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function gp(t,e,n,i){const r=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(i),a=s.move(r+r);let c=s.move(n.containerPhrasing(t,{after:r,before:a,...s.current()}));const l=c.charCodeAt(0),u=Zd(i.before.charCodeAt(i.before.length-1),l,r);u.inside&&(c=Xd(l)+c.slice(1));const h=c.charCodeAt(c.length-1),d=Zd(i.after.charCodeAt(0),h,r);d.inside&&(c=c.slice(0,-1)+Xd(h));const p=s.move(r+r);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},a+c+p}gp.peek=function(t,e,n){return n.options.strong||"*"};const kp={blockquote:function(t,e,n,i){const r=n.enter("blockquote"),o=n.createTracker(i);o.move("> "),o.shift(2);const s=n.indentLines(n.containerFlow(t,o.current()),jd);return r(),s},break:Kd,code:function(t,e,n,i){const r=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="`"===r?"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(i),c=r.repeat(Math.max(function(t,e){const n=String(t);let i=n.indexOf(e),r=i,o=0,s=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==i;)i===r?++o>s&&(s=o):o=1,r=i+e.length,i=n.indexOf(e,r);return s}(o,r)+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,i){const r=Qd(n),o='"'===r?"Quote":"Apostrophe",s=n.enter("definition");let a=n.enter("label");const c=n.createTracker(i);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(" "+r),l+=c.move(n.safe(t.title,{before:l,after:r,...c.current()})),l+=c.move(r),a()),s(),l},emphasis:tp,hardBreak:Kd,heading:function(t,e,n,i){const r=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(i);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)&&ip(t)&&(e.options.setext||n))}(t,n)){const e=n.enter("headingSetext"),i=n.enter("phrasing"),s=n.containerPhrasing(t,{...o.current(),before:"\n",after:"\n"});return i(),e(),s+"\n"+(1===r?"=":"-").repeat(s.length-(Math.max(s.lastIndexOf("\r"),s.lastIndexOf("\n"))+1))}const s="#".repeat(r),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,i){const r=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,i);return n.bulletLastUsed=s,n.bulletCurrent=o,r(),l},listItem:function(t,e,n,i){const r=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"===r||"mixed"===r&&(e&&"list"===e.type&&e.spread||t.spread))&&(s=4*Math.ceil(s/4));const a=n.createTracker(i);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,i){const r=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(t,i);return o(),r(),s},root:function(t,e,n,i){const r=t.children.some(function(t){return mp(t)});return(r?n.containerPhrasing:n.containerFlow).call(n,t,i)},strong:gp,text:function(t,e,n,i){return n.safe(t.value,i)},thematicBreak:function(t,e,n){const i=(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?i.slice(0,-1):i}};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 vp(t){this.exit(t)}function Ip(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,i=e.tablePipeAlign,r=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 i=kp.inlineCode(t,e,n);n.stack.includes("tableCell")&&(i=i.replace(/\|/g,"\\$&"));return i},table:function(t,e,n,i){return a(function(t,e,n){const i=t.children;let r=-1;const o=[],s=e.enter("table");for(;++r<i.length;)o[r]=c(i[r],e,n);return s(),o}(t,n,i),t.align)},tableCell:s,tableRow:function(t,e,n,i){const r=c(t,n,i),o=a([r]);return o.slice(0,o.indexOf("\n"))}}};function s(t,e,n,i){const r=n.enter("tableCell"),s=n.enter("phrasing"),a=n.containerPhrasing(t,{...i,before:o,after:o});return s(),r(),a}function a(t,e){return function(t,e){const n=e||{},i=(n.align||[]).concat(),r=n.stringLength||qd,o=[],s=[],a=[],c=[];let l=0,u=-1;for(;++u<t.length;){const e=[],i=[];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=r(s);i[o]=t,(void 0===c[o]||t>c[o])&&(c[o]=t)}e.push(s)}s[u]=e,a[u]=i}let h=-1;if("object"==typeof i&&"length"in i)for(;++h<l;)o[h]=Gd(i[h]);else{const t=Gd(i);for(;++h<l;)o[h]=t}h=-1;const d=[],p=[];for(;++h<l;){const t=o[h];let e="",i="";99===t?(e=":",i=":"):108===t?e=":":114===t&&(i=":");let r=!1===n.alignDelimiters?1:Math.max(1,c[h]-e.length-i.length);const s=e+"-".repeat(r)+i;!1!==n.alignDelimiters&&(r=e.length+r+i.length,r>c[h]&&(c[h]=r),p[h]=r),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 i=[];for(;++h<l;){const r=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||i.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===r||!1===n.delimiterStart&&!h||i.push(" "),!1!==n.alignDelimiters&&i.push(s),i.push(r),!1!==n.alignDelimiters&&i.push(a),!1!==n.padding&&i.push(" "),!1===n.delimiterEnd&&h===l-1||i.push("|")}f.push(!1===n.delimiterEnd?i.join("").replace(/ +$/,""):i.join(""))}return f.join("\n")}(t,{align:e,alignDelimiters:i,padding:n,stringLength:r})}function c(t,e,n){const i=t.children;let r=-1;const o=[],a=e.enter("tableRow");for(;++r<i.length;)o[r]=s(i[r],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 i=e.children;let r,o=-1;for(;++o<i.length;){const t=i[o];if("paragraph"===t.type){r=t;break}}r===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,i){const r=t.children[0],o="boolean"==typeof t.checked&&r&&"paragraph"===r.type,s="["+(t.checked?"x":" ")+"] ",a=n.createTracker(i);o&&a.move(s);let c=kp.listItem(t,e,n,{...i,...a.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+s})),c}function Sp(t,e,n,i){const r=t.length;let o,s=0;if(e=e<0?-e>r?0:r+e:e>r?r:e,n=n>0?n:0,i.length<1e4)o=Array.from(i),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);s<i.length;)o=i.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;)Mp(e,t[n]);return e}function Mp(t,e){let n;for(n in e){const i=(Op.call(t,n)?t[n]:void 0)||(t[n]={}),r=e[n];let o;if(r)for(o in r){Op.call(i,o)||(i[o]=[]);const t=r[o];Lp(i[o],Array.isArray(t)?t:t?[t]:[])}}}function Lp(t,e){let n=-1;const i=[];for(;++n<e.length;)("after"===e[n].add?t:i).push(e[n]);Sp(t,0,0,i)}const Pp={tokenize:function(t,e,n){let i=0;return function e(o){if((87===o||119===o)&&i<3)return i++,t.consume(o),e;if(46===o&&3===i)return t.consume(o),r;return n(o)};function r(t){return null===t?n(t):e(t)}},partial:!0},Dp={tokenize:function(t,e,n){let i,r,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&&Zh(e)?c(e):(o=!0,t.consume(e),s)}function a(e){return 95===e?i=!0:(r=i,i=void 0),t.consume(e),s}function c(t){return r||i||!o?n(t):e(t)}},partial:!0},Hp={tokenize:function(t,e){let n=0,i=0;return r;function r(s){return 40===s?(n++,t.consume(s),r):41===s&&i<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),r)}function o(e){return 41===e&&i++,t.consume(e),r}},partial:!0},Bp={tokenize:function(t,e,n){return i;function i(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),i):38===s?(t.consume(s),o):93===s?(t.consume(s),r):60===s||null===s||Xh(s)||td(s)?e(s):n(s)}function r(t){return null===t||40===t||91===t||Xh(t)||td(t)?e(t):i(t)}function o(t){return zh(t)?s(t):n(t)}function s(e){return 59===e?(t.consume(e),i):zh(e)?(t.consume(e),s):n(e)}},partial:!0},Up={tokenize:function(t,e,n){return function(e){return t.consume(e),i};function i(t){return Gh(t)?n(t):e(t)}},partial:!0},Vp={name:"wwwAutolink",tokenize:function(t,e,n){const i=this;return function(e){if(87!==e&&119!==e||!jp.call(i,i.previous)||$p(i.events))return n(e);return t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Pp,t.attempt(Dp,t.attempt(Hp,r),n),n)(e)};function r(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(n)}},previous:jp},Fp={name:"protocolAutolink",tokenize:function(t,e,n){const i=this;let r="",o=!1;return function(e){if((72===e||104===e)&&Wp.call(i,i.previous)&&!$p(i.events))return t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),r+=String.fromCodePoint(e),t.consume(e),s;return n(e)};function s(e){if(zh(e)&&r.length<5)return r+=String.fromCodePoint(e),t.consume(e),s;if(58===e){const n=r.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)||Zh(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},qp={name:"emailAutolink",tokenize:function(t,e,n){const i=this;let r,o;return function(e){if(!Kp(e)||!Yp.call(i,i.previous)||$p(i.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),r=!0,a}function l(s){return o&&r&&zh(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(s)):n(s)}},previous:Yp},zp={};let Gp=48;for(;Gp<123;)zp[Gp]=qp,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 i=t[e][1];if(("labelLink"===i.type||"labelImage"===i.type)&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Qp(t,e,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let o=0;return function(i){if(Jh(i))return t.enter(n),s(i);return e(i)};function s(i){return Jh(i)&&o++<r?(t.consume(i),s):(t.exit(n),e(i))}}zp[43]=qp,zp[45]=qp,zp[46]=qp,zp[95]=qp,zp[72]=[qp,Fp],zp[104]=[qp,Fp],zp[87]=[qp,Vp],zp[119]=[qp,Vp];const Xp={partial:!0,tokenize:function(t,e,n){return function(e){return Jh(e)?Qp(t,i,"linePrefix")(e):i(e)};function i(t){return null===t||Qh(t)?e(t):n(t)}}};const Jp={tokenize:function(t,e,n){const i=this;return Qp(t,function(t){const r=i.events[i.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?e(t):n(t)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Zp(t,e,n){const i=this;let r=i.events.length;const o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s;for(;r--;){const t=i.events[r][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(r){if(!s||!s._balanced)return n(r);const a=Ed(i.sliceSerialize({start:s.end,end:i.now()}));if(94!==a.codePointAt(0)||!o.includes(a.slice(1)))return n(r);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(r),t.exit("gfmFootnoteCallLabelMarker"),e(r)}}function tf(t,e){let n,i=t.length;for(;i--;)if("labelImage"===t[i][1].type&&"enter"===t[i][0]){n=t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+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[i+1],t[i+2],["enter",r,e],t[i+3],t[i+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",r,e]];return t.splice(i,t.length-i+1,...c),t}function ef(t,e,n){const i=this,r=i.parser.gfmFootnotes||(i.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 r.includes(Ed(i.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 i=this,r=i.parser.gfmFootnotes||(i.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(i.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"),r.includes(o)||r.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(Jp,e,n))}function of(t){t.exit("gfmFootnoteDefinition")}function sf(t,e,n){const i=[];let r=-1;for(;++r<t.length;){const o=t[r].resolveAll;o&&!i.includes(o)&&(e=o(e,n),i.push(o))}return e}function af(t){let e=(t||{}).singleTilde;const n={name:"strikethrough",tokenize:function(t,n,i){const r=this.previous,o=this.events;let s=0;return function(e){if(126===r&&"characterEscape"!==o[o.length-1][1].type)return i(e);return t.enter("strikethroughSequenceTemporary"),a(e)};function a(o){const c=Jd(r);if(126===o)return s>1?i(o):(t.consume(o),s++,a);if(s<2&&!e)return i(o);const l=t.exit("strikethroughSequenceTemporary"),u=Jd(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 i=n;for(;i--;)if("exit"===t[i][0]&&"strikethroughSequenceTemporary"===t[i][1].type&&t[i][1]._open&&t[n][1].end.offset-t[n][1].start.offset===t[i][1].end.offset-t[i][1].start.offset){t[n][1].type="strikethroughSequence",t[i][1].type="strikethroughSequence";const r={type:"strikethrough",start:Object.assign({},t[i][1].start),end:Object.assign({},t[n][1].end)},o={type:"strikethroughText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[n][1].start)},s=[["enter",r,e],["enter",t[i][1],e],["exit",t[i][1],e],["enter",o,e]],a=e.parser.constructs.insideSpan.null;a&&Sp(s,s.length,0,sf(a,t.slice(i+1,n),e)),Sp(s,s.length,0,[["exit",o,e],["enter",t[n][1],e],["exit",t[n][1],e],["exit",r,e]]),Sp(t,i-1,n-i+3,s),n=i+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,i){let r=0;if(0===n&&0===i.length)return;for(;r<t.map.length;){if(t.map[r][0]===e)return t.map[r][1]+=n,void t.map[r][2].push(...i);r+=1}t.map.push([e,n,i])}(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 i=n.pop();for(;i;){for(const e of i)t.push(e);i=n.pop()}this.map.length=0}}function lf(t,e){let n=!1;const i=[];for(;e<t.length;){const r=t[e];if(n){if("enter"===r[0])"tableContent"===r[1].type&&i.push("tableDelimiterMarker"===t[e+1][1].type?"left":"none");else if("tableContent"===r[1].type){if("tableDelimiterMarker"===t[e-1][1].type){const t=i.length-1;i[t]="left"===i[t]?"center":"right"}}else if("tableDelimiterRow"===r[1].type)break}else"enter"===r[0]&&"tableDelimiterRow"===r[1].type&&(n=!0);e+=1}return i}function uf(t,e,n){const i=this;let r,o=0,s=0;return function(t){let e=i.events.length-1;for(;e>-1;){const t=i.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const r=e>-1?i.events[e][1].type:null,o="tableHead"===r||"tableRow"===r?w:a;if(o===w&&i.parser.lazy[i.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 r=!0,s+=1,c(t)}(e)}function c(e){return null===e?n(e):Qh(e)?s>1?(s=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):n(e):Jh(e)?Qp(t,c,"whitespace")(e):(s+=1,r&&(r=!1,o+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),r=!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 i.interrupt=!1,i.parser.lazy[i.now().line]?n(e):(t.enter("tableDelimiterRow"),r=!1,Jh(e)?Qp(t,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):d(e))}function d(e){return 45===e||58===e?f(e):124===e?(r=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),p):b(e)}function p(e){return Jh(e)?Qp(t,f,"whitespace")(e):f(e)}function f(e){return 58===e?(s+=1,r=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),m):45===e?(s+=1,m(e)):null===e||Qh(e)?_(e):b(e)}function m(e){return 45===e?(t.enter("tableDelimiterFiller"),g(e)):b(e)}function g(e){return 45===e?(t.consume(e),g):58===e?(r=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),k):(t.exit("tableDelimiterFiller"),k(e))}function k(e){return Jh(e)?Qp(t,_,"whitespace")(e):_(e)}function _(n){return 124===n?d(n):(null===n||Qh(n))&&r&&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"),v(e)}function v(n){return 124===n?(t.enter("tableCellDivider"),t.consume(n),t.exit("tableCellDivider"),v):null===n||Qh(n)?(t.exit("tableRow"),e(n)):Jh(n)?Qp(t,v,"whitespace")(n):(t.enter("data"),I(n))}function I(e){return null===e||124===e||Xh(e)?(t.exit("data"),v(e)):(t.consume(e),92===e?y:I)}function y(e){return 92===e||124===e?(t.consume(e),I):I(e)}}function hf(t,e){let n,i,r,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,i),i=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,r=void 0,c=[0,0,0,0],l=[0,o+1,0,0],u&&(u=!1,i={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(o,0,[["enter",i,e]])),a="tableDelimiterRow"===f.type?2:i?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],r=df(d,e,c,a,void 0,r)),c=l,l=[c[1],o,0,0])):(s=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],r=df(d,e,c,a,void 0,r),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],r=df(d,e,c,a,o,r)):0!==l[1]&&(r=df(d,e,l,a,o,r)),a=0):!a||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(l[3]=o)}for(0!==h&&pf(d,e,h,n,i),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,i,r,o){const s=1===i?"tableHeader":2===i?"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 r=ff(e.events,n[2]),o=ff(e.events,n[3]),s={type:"tableContent",start:Object.assign({},r),end:Object.assign({},o)};if(t.add(n[2],0,[["enter",s,e]]),2!==i){const i=e.events[n[2]],r=e.events[n[3]];if(i[1].end=Object.assign({},r[1].end),i[1].type="chunkText",i[1].contentType="text",n[3]>n[2]+1){const e=n[2]+1,i=n[3]-n[2]-1;t.add(e,i,[])}}t.add(n[3]+1,0,[["exit",s,e]])}return void 0!==r&&(o.end=Object.assign({},ff(e.events,r)),t.add(r,0,[["exit",o,e]]),o=void 0),o}function pf(t,e,n,i,r){const o=[],s=ff(e.events,n);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),i.end=Object.assign({},s),o.push(["exit",i,e]),t.add(n+1,0,o)}function ff(t,e){const n=t[e],i="enter"===n[0]?"start":"end";return n[1][i]}const mf={name:"tasklistCheck",tokenize:function(t,e,n){const i=this;return function(e){if(null!==i.previous||!i._gfmTasklistFirstContentOfListItem)return n(e);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),r};function r(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(i){return Qh(i)?e(i):Jh(i)?t.check({tokenize:gf},e,n)(i):n(i)}}};function gf(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(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),r=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.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:Zp,resolveTo:tf}}},af(t),{flow:{null:{name:"table",tokenize:uf,resolveAll:hf}}},{text:{91:mf}}])}(e)),r.push([{transforms:[vd],enter:{literalAutolink:md,literalAutolinkEmail:gd,literalAutolinkHttp:gd,literalAutolinkWww:gd},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:Md}},{canContainEols:["delete"],enter:{strikethrough:Ud},exit:{strikethrough:Vd}},{enter:{table:_p,tableData:Ip,tableHeader:Ip,tableRow:wp},exit:{codeText:yp,table:bp,tableData:vp,tableHeader:vp,tableRow:vp}},{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}]},Pd(t),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Bd}],handlers:{delete:Fd}},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 i=e||0;this.setCursor(Math.trunc(t));const r=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&wf(this.left,n),r.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 vf(t){const e={};let n,i,r,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,r=0,r<a.length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,If(u,l)),l=e[l],c=!0);else if(n[1]._container){for(r=l,i=void 0;r--;)if(o=u.get(r),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(i&&(u.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=r);else if("linePrefix"!==o[1].type&&"listItemIndent"!==o[1].type)break;i&&(n[1].end={...u.get(i)[1].start},s=u.slice(i,l),s.unshift(n),u.splice(i,l-i+1,s))}}return Sp(t,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function If(t,e){const n=t.get(e)[1],i=t.get(e)[2];let r=e-1;const o=[];let s=n._tokenizer;s||(s=i.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,m=0;const g=[m];for(;p;){for(;t.get(++r)[1]!==p;);o.push(r),p._tokenizer||(u=i.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&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){const e=a.slice(g[d],g[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"),i(e)});let n;return e;function i(e){const i=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=i),n=i,r(e)}function r(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):Qh(e)?(t.consume(e),t.exit("chunkText"),i):(t.consume(e),r)}}};const Af={tokenize:function(t){const e=this,n=[];let i,r,o,s=0;return a;function a(i){if(s<n.length){const r=n[s];return e.containerState=r[1],t.attempt(r[0].continuation,c,l)(i)}return l(i)}function c(t){if(s++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&_();const n=e.events.length;let r,o=n;for(;o--;)if("exit"===e.events[o][0]&&"chunkFlow"===e.events[o][1].type){r=e.events[o][1].end;break}k(s);let a=n;for(;a<e.events.length;)e.events[a][1].end={...r},a++;return Sp(e.events,o+1,0,e.events.slice(n)),e.events.length=a,l(t)}return a(t)}function l(r){if(s===n.length){if(!i)return d(r);if(i.currentConstruct&&i.currentConstruct.concrete)return f(r);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Ef,u,h)(r)}function u(t){return i&&_(),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?(i&&_(),k(0),void t.consume(n)):(i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:r}),m(n))}function m(n){return null===n?(g(t.exit("chunkFlow"),!0),k(0),void t.consume(n)):Qh(n)?(t.consume(n),g(t.exit("chunkFlow")),s=0,e.interrupt=void 0,a):(t.consume(n),m)}function g(t,n){const a=e.sliceStream(t);if(n&&a.push(null),t.previous=r,r&&(r.next=t),r=t,i.defineSkip(t.start),i.write(a),e.parser.lazy[t.start.line]){let t=i.events.length;for(;t--;)if(i.events[t][1].start.offset<o&&(!i.events[t][1].end||i.events[t][1].end.offset>o))return;const n=e.events.length;let r,a,c=n;for(;c--;)if("exit"===e.events[c][0]&&"chunkFlow"===e.events[c][1].type){if(r){a=e.events[c][1].end;break}r=!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(i){let r=n.length;for(;r-- >i;){const i=n[r];e.containerState=i[1],i[0].exit.call(e,t)}n.length=i}function _(){i.write([null]),r=void 0,i=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 vf(t),t},tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(e)};function i(e){return null===e?r(e):Qh(e)?t.check(Tf,o,r)(e):(t.consume(e),i)}function r(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,i}}},Tf={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),Qp(t,r,"linePrefix")};function r(r){if(null===r||Qh(r))return n(r);const o=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(r):t.interrupt(i.parser.constructs.flow,n,e)(r)}}};const Cf={tokenize:function(t){const e=this,n=t.attempt(Xp,function(i){if(null===i)return void t.consume(i);return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n},t.attempt(this.parser.constructs.flowInitial,i,Qp(t,t.attempt(this.parser.constructs.flow,i,t.attempt(xf,i)),"linePrefix")));return n;function i(i){if(null!==i)return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(i)}}};const Sf={resolveAll:Mf()},Rf=Nf("string"),Of=Nf("text");function Nf(t){return{resolveAll:Mf("text"===t?Lf:void 0),tokenize:function(e){const n=this,i=this.parser.constructs[t],r=e.attempt(i,o,s);return o;function o(t){return c(t)?r(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"),r(t)):(e.consume(t),a)}function c(t){if(null===t)return!0;const e=i[t];let r=-1;if(e)for(;++r<e.length;){const t=e[r];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}}}}function Mf(t){return function(e,n){let i,r=-1;for(;++r<=e.length;)void 0===i?e[r]&&"data"===e[r][1].type&&(i=r,r++):e[r]&&"data"===e[r][1].type||(r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),r=i+2),i=void 0);return t?t(e,n):e}}function Lf(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 i=t[n-1][1],r=e.sliceStream(i);let o,s=r.length,a=-1,c=0;for(;s--;){const t=r[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 r={type:n===t.length||o||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};i.end={...r.start},i.start.offset===i.end.offset?Object.assign(i,r):(t.splice(n,0,["enter",r,e],["exit",r,e]),n+=2)}n++}return t}const Pf={name:"thematicBreak",tokenize:function(t,e,n){let i,r=0;return function(e){return t.enter("thematicBreak"),function(t){return i=t,o(t)}(e)};function o(o){return o===i?(t.enter("thematicBreakSequence"),s(o)):r>=3&&(null===o||Qh(o))?(t.exit("thematicBreak"),e(o)):n(o)}function s(e){return e===i?(t.consume(e),r++,s):(t.exit("thematicBreakSequence"),Jh(e)?Qp(t,o,"whitespace")(e):o(e))}}};const Df={continuation:{tokenize:function(t,e,n){const i=this;return i.containerState._closeFlow=void 0,t.check(Xp,r,o);function r(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Qp(t,e,"listItemIndent",i.containerState.size+1)(n)}function o(n){return i.containerState.furtherBlankLines||!Jh(n)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,s(n)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Bf,e,s)(n))}function s(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,Qp(t,t.attempt(Df,e,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)},name:"list",tokenize:function(t,e,n){const i=this,r=i.events[i.events.length-1];let o=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,s=0;return function(e){const r=i.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||e===i.containerState.marker:Yh(e)){if(i.containerState.type||(i.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(Pf,n,c)(e):c(e);if(!i.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):(!i.interrupt||s<2)&&(i.containerState.marker?e===i.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"),i.containerState.marker=i.containerState.marker||e,t.check(Xp,i.interrupt?n:l,t.attempt(Hf,h,u))}function l(t){return i.containerState.initialBlankLine=!0,o++,h(t)}function u(e){return Jh(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return i.containerState.size=o+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}}},Hf={partial:!0,tokenize:function(t,e,n){const i=this;return Qp(t,function(t){const r=i.events[i.events.length-1];return!Jh(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):n(t)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},Bf={partial:!0,tokenize:function(t,e,n){const i=this;return Qp(t,function(t){const r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?e(t):n(t)},"listItemIndent",i.containerState.size+1)}};const Uf={continuation:{tokenize:function(t,e,n){const i=this;return function(e){if(Jh(e))return Qp(t,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return r(e)};function r(i){return t.attempt(Uf,e,n)(i)}}},exit:function(t){t.exit("blockQuote")},name:"blockQuote",tokenize:function(t,e,n){const i=this;return function(e){if(62===e){const n=i.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),r}return n(e)};function r(n){return Jh(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}}};function Vf(t,e,n,i,r,o,s,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(e){if(60===e)return t.enter(i),t.enter(r),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(i),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(r),t.exit(i),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(r){return u||null!==r&&41!==r&&!Xh(r)?u<l&&40===r?(t.consume(r),u++,f):41===r?(t.consume(r),u--,f):null===r||32===r||40===r||Wh(r)?n(r):(t.consume(r),92===r?m:f):(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(i),e(r))}function m(e){return 40===e||41===e||92===e?(t.consume(e),f):f(e)}}function Ff(t,e,n,i,r,o){const s=this;let a,c=0;return function(e){return t.enter(i),t.enter(r),t.consume(e),t.exit(r),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(r),t.consume(h),t.exit(r),t.exit(i),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=!Jh(e)),92===e?h:u)}function h(e){return 91===e||92===e||93===e?(t.consume(e),c++,u):u(e)}}function qf(t,e,n,i,r,o){let s;return function(e){if(34===e||39===e||40===e)return t.enter(i),t.enter(r),t.consume(e),t.exit(r),s=40===e?41:e,a;return n(e)};function a(n){return n===s?(t.enter(r),t.consume(n),t.exit(r),t.exit(i),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 i(r){if(Qh(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),n=!0,i;if(Jh(r))return Qp(t,i,n?"linePrefix":"lineSuffix")(r);return e(r)}}const Gf={name:"definition",tokenize:function(t,e,n){const i=this;let r;return function(e){return t.enter("definition"),function(e){return Ff.call(i,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function o(e){return r=Ed(i.sliceSerialize(i.events[i.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 Jh(e)?Qp(t,u,"whitespace")(e):u(e)}function u(o){return null===o||Qh(o)?(t.exit("definition"),i.parser.defined.push(r),e(o)):n(o)}}},jf={partial:!0,tokenize:function(t,e,n){return function(e){return Xh(e)?zf(t,i)(e):n(e)};function i(e){return qf(t,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return Jh(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 i=this;return function(e){return t.enter("codeIndented"),Qp(t,r,"linePrefix",5)(e)};function r(t){const e=i.events[i.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 i=this;return r;function r(e){return i.parser.lazy[i.now().line]?n(e):Qh(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):Qp(t,o,"linePrefix",5)(e)}function o(t){const o=i.events[i.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):Qh(t)?r(t):n(t)}}};const Kf={name:"headingAtx",resolve:function(t,e){let n,i,r=t.length-2,o=3;"whitespace"===t[o][1].type&&(o+=2);r-2>o&&"whitespace"===t[r][1].type&&(r-=2);"atxHeadingSequence"===t[r][1].type&&(o===r-1||r-4>o&&"whitespace"===t[r-2][1].type)&&(r-=o+1===r?2:4);r>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[r][1].end},i={type:"chunkText",start:t[o][1].start,end:t[r][1].end,contentType:"text"},Sp(t,o,r-o+1,[["enter",n,e],["enter",i,e],["exit",i,e],["exit",n,e]]));return t},tokenize:function(t,e,n){let i=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&i++<6?(t.consume(e),r):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)):Jh(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,i,r,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(i=o)}else"content"===t[o][1].type&&t.splice(o,1),r||"definition"!==t[o][1].type||(r=o);const s={type:"setextHeading",start:{...t[n][1].start},end:{...t[t.length-1][1].end}};t[i][1].type="setextHeadingText",r?(t.splice(i,0,["enter",s,e]),t.splice(r+1,0,["exit",t[n][1],e]),t[n][1].end={...t[r][1].end}):t[n][1]=s;return t.push(["exit",s,e]),t},tokenize:function(t,e,n){const i=this;let r;return function(e){let s,a=i.events.length;for(;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){s="paragraph"===i.events[a][1].type;break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),o(e)}(e);return n(e)};function o(e){return e===r?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),Jh(e)?Qp(t,s,"lineSuffix")(e):s(e))}function s(i){return null===i||Qh(i)?(t.exit("setextHeadingLine"),e(i)):n(i)}}};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"],Jf={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 i=this;let r,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),r=3,i.interrupt?e:L):zh(a)?(t.consume(a),s=String.fromCharCode(a),f):n(a)}function u(o){return 45===o?(t.consume(o),r=2,h):91===o?(t.consume(o),r=5,a=0,d):zh(o)?(t.consume(o),r=4,i.interrupt?e:L):n(o)}function h(r){return 45===r?(t.consume(r),i.interrupt?e:L):n(r)}function d(r){const o="CDATA[";return r===o.charCodeAt(a++)?(t.consume(r),6===a?i.interrupt?e:x:d):n(r)}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())?(r=6,c?(t.consume(a),m):i.interrupt?e(a):x(a)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(a):o?g(a):k(a)):(r=1,i.interrupt?e(a):x(a))}return 45===a||Gh(a)?(t.consume(a),s+=String.fromCharCode(a),f):n(a)}function m(r){return 62===r?(t.consume(r),i.interrupt?e:x):n(r)}function g(e){return Jh(e)?(t.consume(e),g):A(e)}function k(e){return 47===e?(t.consume(e),A):58===e||95===e||zh(e)?(t.consume(e),_):Jh(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):Jh(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,v):Jh(e)?(t.consume(e),w):I(e)}function v(e){return e===c?(t.consume(e),c=null,y):null===e||Qh(e)?n(e):(t.consume(e),v)}function I(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),I)}function y(t){return 47===t||62===t||Jh(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):Jh(e)?(t.consume(e),E):n(e)}function x(e){return 45===e&&2===r?(t.consume(e),R):60===e&&1===r?(t.consume(e),O):62===e&&4===r?(t.consume(e),P):63===e&&3===r?(t.consume(e),L):93===e&&5===r?(t.consume(e),M):!Qh(e)||6!==r&&7!==r?null===e||Qh(e)?(t.exit("htmlFlowData"),T(e)):(t.consume(e),x):(t.exit("htmlFlowData"),t.check(Zf,D,T)(e))}function T(e){return t.check(tm,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),L):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),P):x(e)}return zh(e)&&s.length<8?(t.consume(e),s+=String.fromCharCode(e),N):x(e)}function M(e){return 93===e?(t.consume(e),L):x(e)}function L(e){return 62===e?(t.consume(e),P):45===e&&2===r?(t.consume(e),L):x(e)}function P(e){return null===e||Qh(e)?(t.exit("htmlFlowData"),D(e)):(t.consume(e),P)}function D(n){return t.exit("htmlFlow"),e(n)}}},Zf={partial:!0,tokenize:function(t,e,n){return function(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Xp,e,n)}}},tm={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){if(Qh(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return n(e)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}}};const em={partial:!0,tokenize:function(t,e,n){const i=this;return function(e){if(null===e)return n(e);return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}}},nm={concrete:!0,name:"codeFenced",tokenize:function(t,e,n){const i=this,r={partial:!0,tokenize:function(t,e,n){let r=0;return s;function s(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),Jh(e)?Qp(t,l,"linePrefix",i.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?(r++,t.consume(e),u):r>=a?(t.exit("codeFencedFenceSequence"),Jh(e)?Qp(t,h,"whitespace")(e):h(e)):n(e)}function h(i){return null===i||Qh(i)?(t.exit("codeFencedFence"),e(i)):n(i)}}};let o,s=0,a=0;return function(e){return function(e){const n=i.events[i.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"),Jh(e)?Qp(t,l,"whitespace")(e):l(e))}function l(n){return null===n||Qh(n)?(t.exit("codeFencedFence"),i.interrupt?e(n):t.check(em,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)):Jh(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(r,_,f)(e)}function f(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),m}function m(e){return s>0&&Jh(e)?Qp(t,g,"linePrefix",s+1)(e):g(e)}function g(e){return null===e||Qh(e)?t.check(em,p,_)(e):(t.enter("codeFlowValue"),k(e))}function k(e){return null===e||Qh(e)?(t.exit("codeFlowValue"),g(e)):(t.consume(e),k)}function _(n){return t.exit("codeFenced"),e(n)}}};const im=document.createElement("i");function rm(t){const e="&"+t+";";im.innerHTML=e;const n=im.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&(n!==e&&n)}const om={name:"characterReference",tokenize:function(t,e,n){const i=this;let r,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"),r=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"),r=6,o=Kh,l):(t.enter("characterReferenceValue"),r=7,o=Yh,l(e))}function l(a){if(59===a&&s){const r=t.exit("characterReferenceValue");return o!==Gh||rm(i.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(a),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(a)}return o(a)&&s++<r?(t.consume(a),l):n(a)}}};const sm={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),i};function i(i){return $h(i)?(t.enter("characterEscapeValue"),t.consume(i),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(i)}}};const am={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Qp(t,e,"linePrefix")}}};const cm={name:"labelEnd",resolveAll:function(t){let e=-1;const n=[];for(;++e<t.length;){const i=t[e][1];if(n.push(t[e]),"labelImage"===i.type||"labelLink"===i.type||"labelEnd"===i.type){const t="labelImage"===i.type?4:2;i.type="data",e+=t}}t.length!==n.length&&Sp(t,0,t.length,n);return t},resolveTo:function(t,e){let n,i,r,o,s=t.length,a=0;for(;s--;)if(n=t[s][1],i){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(r){if("enter"===t[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(i=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(r=s);const c={type:"labelLink"===t[i][1].type?"link":"image",start:{...t[i][1].start},end:{...t[t.length-1][1].end}},l={type:"label",start:{...t[i][1].start},end:{...t[r][1].end}},u={type:"labelText",start:{...t[i+a+2][1].end},end:{...t[r-2][1].start}};return o=[["enter",c,e],["enter",l,e]],o=Rp(o,t.slice(i+1,i+a+3)),o=Rp(o,[["enter",u,e]]),o=Rp(o,sf(e.parser.constructs.insideSpan.null,t.slice(i+a+4,r-3),e)),o=Rp(o,[["exit",u,e],t[r-2],t[r-1],["exit",l,e]]),o=Rp(o,t.slice(r+1)),o=Rp(o,[["exit",c,e]]),Sp(t,i,t.length,o),t},tokenize:function(t,e,n){const i=this;let r,o,s=i.events.length;for(;s--;)if(("labelImage"===i.events[s][1].type||"labelLink"===i.events[s][1].type)&&!i.events[s][1]._balanced){r=i.events[s][1];break}return function(e){if(!r)return n(e);if(r._inactive)return u(e);return o=i.parser.defined.includes(Ed(i.sliceSerialize({start:r.end,end:i.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(lm,l,o?l:u)(e):91===e?t.attempt(um,l,o?c:u)(e):o?l(e):u(e)}function c(e){return t.attempt(hm,l,u)(e)}function l(t){return e(t)}function u(t){return r._balanced=!0,n(t)}}},lm={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),i};function i(e){return Xh(e)?zf(t,r)(e):r(e)}function r(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?qf(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):l(e)}function c(e){return Xh(e)?zf(t,l)(e):l(e)}function l(i){return 41===i?(t.enter("resourceMarker"),t.consume(i),t.exit("resourceMarker"),t.exit("resource"),e):n(i)}}},um={tokenize:function(t,e,n){const i=this;return function(e){return Ff.call(i,t,r,o,"reference","referenceMarker","referenceString")(e)};function r(t){return i.parser.defined.includes(Ed(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},hm={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),i};function i(i){return 93===i?(t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),t.exit("reference"),e):n(i)}}};const dm={name:"labelStartImage",resolveAll:cm.resolveAll,tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(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 i.parser.constructs?n(t):e(t)}}};const pm={name:"attention",resolveAll:function(t,e){let n,i,r,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};fm(h,-a),fm(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},r={type:a>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[u][1].start}},i={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",i,e],["enter",o,e],["exit",o,e],["enter",r,e]]),c=Rp(c,sf(e.parser.constructs.insideSpan.null,t.slice(n+1,u),e)),c=Rp(c,[["exit",r,e],["enter",s,e],["exit",s,e],["exit",i,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,i=this.previous,r=Jd(i);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=Jd(a),u=!l||2===l&&r||n.includes(a),h=!r||2===r&&l||n.includes(i);return c._open=Boolean(42===o?u:u&&(r||!h)),c._close=Boolean(42===o?h:h&&(l||!u)),e(a)}}};function fm(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const mm={name:"autolink",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(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)?(i=1,s(t)):c(t)}function s(e){return 58===e?(t.consume(e),i=0,a):(43===e||45===e||46===e||Gh(e))&&i++<32?(t.consume(e),s):(i=0,c(e))}function a(i){return 62===i?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(i),t.exit("autolinkMarker"),t.exit("autolink"),e):null===i||32===i||60===i||Wh(i)?n(i):(t.consume(i),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),i=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))&&i++<63){const n=45===e?h:u;return t.consume(e),n}return n(e)}}};const gm={name:"htmlText",tokenize:function(t,e,n){const i=this;let r,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 i="CDATA[";return e===i.charCodeAt(o++)?(t.consume(e),6===o?f:p):n(e)}function f(e){return null===e?n(e):93===e?(t.consume(e),m):Qh(e)?(s=f,N(e)):(t.consume(e),f)}function m(e){return 93===e?(t.consume(e),g):f(e)}function g(e){return 62===e?O(e):93===e?(t.consume(e),g):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),v):n(e)}function v(e){return 45===e||Gh(e)?(t.consume(e),v):I(e)}function I(e){return Qh(e)?(s=I,N(e)):Jh(e)?(t.consume(e),I):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)):Jh(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)):Jh(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),r=e,C):Qh(e)?(s=T,N(e)):Jh(e)?(t.consume(e),T):(t.consume(e),S)}function C(e){return e===r?(t.consume(e),r=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(i){return 62===i?(t.consume(i),t.exit("htmlTextData"),t.exit("htmlText"),e):n(i)}function N(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),M}function M(e){return Jh(e)?Qp(t,L,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):L(e)}function L(e){return t.enter("htmlTextData"),s(e)}}};const km={name:"labelStartLink",resolveAll:cm.resolveAll,tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}}};const _m={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),i};function i(i){return Qh(i)?(t.exit("hardBreakEscape"),e(i)):n(i)}}};const bm={name:"codeText",previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(t){let e,n,i=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[i][1].type&&"space"!==t[i][1].type))for(e=r;++e<i;)if("codeTextData"===t[e][1].type){t[r][1].type="codeTextPadding",t[i][1].type="codeTextPadding",r+=2,i-=2;break}e=r-1,i++;for(;++e<=i;)void 0===n?e!==i&&"lineEnding"!==t[e][1].type&&(n=e):e!==i&&"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),i-=e-n-2,e=n+2),n=void 0);return t},tokenize:function(t,e,n){let i,r,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?(r=t.enter("codeTextSequence"),i=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),i++,l):i===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(r.type="codeTextData",c(n))}}};const wm={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},vm={91:Gf},Im={[-2]:Wf,[-1]:Wf,32:Wf},ym={35:Kf,42:Pf,45:[$f,Pf],60:Jf,61:$f,95:Pf,96:nm,126:nm},Am={38:om,92:sm},Em={[-5]:am,[-4]:am,[-3]:am,33:dm,38:om,42:pm,60:[mm,gm],91:km,92:[_m,sm],93:cm,95:pm,96:bm},xm={null:[pm,Sf]},Tm={null:[42,95]},Cm={null:[]};function Sm(t,e,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const r={},o=[];let s=[],a=[],c=!0;const l={attempt:_(function(t,e){b(t,e.from)}),check:_(k),consume:function(t){Qh(t)?(i.line++,i.column=1,i.offset+=-3===t?2:1,w()):-1!==t&&(i.column++,i.offset++);i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===s[i._index].length&&(i._bufferIndex=-1,i._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){r[t.line]=t.column,w()},events:[],now:f,parser:t,previous:null,sliceSerialize:function(t,e){return function(t,e){let n=-1;const i=[];let r;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&&r)continue;s=" ";break;default:s=String.fromCharCode(o)}r=-2===o,i.push(s)}return i.join("")}(p(t),e)},sliceStream:p,write:function(t){if(s=Rp(s,t),m(),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,i=e.start._bufferIndex,r=e.end._index,o=e.end._bufferIndex;let s;if(n===r)s=[t[n].slice(i,o)];else{if(s=t.slice(n,r),i>-1){const t=s[0];"string"==typeof t?s[0]=t.slice(i):s.shift()}o>0&&s.push(t[r].slice(0,o))}return s}(s,t)}function f(){const{_bufferIndex:t,_index:e,line:n,column:r,offset:o}=i;return{_bufferIndex:t,_index:e,line:n,column:r,offset:o}}function m(){let t;for(;i._index<s.length;){const e=s[i._index];if("string"==typeof e)for(t=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===t&&i._bufferIndex<e.length;)g(e.charCodeAt(i._bufferIndex));else g(e)}}function g(t){c=void 0,h=t,d=d(t)}function k(t,e){e.restore()}function _(t,e){return function(n,r,o){let s,h,d,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(t){return e;function e(e){const n=null!==e&&t[e],i=null!==e&&t.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(i)?i:i?[i]:[]])(e)}}(n);function m(t){return s=t,h=0,0===t.length?o:g(t[h])}function g(t){return function(n){p=function(){const t=f(),e=u.previous,n=u.currentConstruct,r=u.events.length,o=Array.from(a);return{from:r,restore:s};function s(){i=t,u.previous=e,u.currentConstruct=n,u.events.length=r,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),r}function _(t){return c=!0,p.restore(),++h<s.length?g(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(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}const Rm=/[\0\t\n\r]/g;function Om(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 Nm=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Mm(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Om(n.slice(e?2:1),e?16:10)}return rm(n)||t}const Lm={}.hasOwnProperty;function Pm(e,n,i){return"string"!=typeof n&&(i=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(J),hardBreakTrailing:o(J),htmlFlow:o(Z,s),htmlFlowData:E,htmlText:o(Z,s),htmlTextData:E,image:o(tt),label:s,link:o(et),listItem:o(it),listItemValue:d,listOrdered:o(nt,h),listUnordered:o(nt),paragraph:o(rt),reference:U,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(X),strong:o(ot),thematicBreak:o(at)},exit:{atxHeading:c(),atxHeadingSequence:v,autolink:c(),autolinkEmail:j,autolinkProtocol:G,blockQuote:c(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:F,characterReferenceMarkerNumeric:F,characterReferenceValue:q,characterReference:z,codeFenced:c(g),codeFencedFence:m,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(M),label:P,labelText:L,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:I,strong:c(),thematicBreak:c()}};Hm(e,(t||{}).mdastExtensions||[]);const n={};return i;function i(t){let i={type:"root",children:[]};const o={stack:[i],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=r(t,c.pop(),h)}for(h=-1;++h<t.length;){const n=e[t[h][0]];Lm.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]||Um).call(o,void 0,t[0])}for(i.position={start:Dm(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Dm(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i}function r(t,e,n){let i,r,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]&&(!i||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(i){let s=a;for(r=void 0;s--;){const e=t[s];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;r&&(t[r][1].type="lineEndingBlank",l=!0),e[1].type="lineEnding",r=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&&(!r||o<r)&&(i._spread=!0),i.end=Object.assign({},r?t[r][1].start:e[1].end),t.splice(r||a,0,["exit",i,e[2]]),a++,n++}if("listItemPrefix"===e[1].type){const r={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};i=r,t.splice(a,0,["enter",r,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:Dm(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(),i=this.tokenStack.pop();if(!i)throw new Error("Cannot close `"+t.type+"` ("+kh({start:t.start,end:t.end})+"): it’s not open");if(i[0].type!==t.type)if(e)e.call(this,t,i[0]);else{(i[1]||Um).call(this,t,i[0])}n.position.end=Dm(t.end)}function u(){return ip(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 m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){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 v(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}}function I(){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:Dm(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=Dm(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=Dm(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 M(){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(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace(Nm,Mm)}(e),n.identifier=Ed(e).toLowerCase()}function P(){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 F(t){this.data.characterReferenceType=t.type}function q(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let i;if(n)i=Om(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{i=rm(e)}this.stack[this.stack.length-1].value+=i}function z(t){this.stack.pop().position.end=Dm(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 J(){return{type:"break"}}function Z(){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 it(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}function rt(){return{type:"paragraph",children:[]}}function ot(){return{type:"strong",children:[]}}function st(){return{type:"text",value:""}}function at(){return{type:"thematicBreak"}}}(i)(function(t){for(;!vf(t););return t}(function(e){const n={constructs:Np([t,...(e||{}).extensions||[]]),content:i(yf),defined:[],document:i(Af),flow:i(Cf),lazy:{},string:i(Rf),text:i(Of)};return n;function i(t){return function(e){return Sm(n,t,e)}}}(i).document().write(function(){let t,e=1,n="",i=!0;return function(r,o,s){const a=[];let c,l,u,h,d;for(r=n+("string"==typeof r?r.toString():new TextDecoder(o||void 0).decode(r)),u=0,n="",i&&(65279===r.charCodeAt(0)&&u++,i=void 0);u<r.length;){if(Rm.lastIndex=u,c=Rm.exec(r),h=c&&void 0!==c.index?c.index:r.length,d=r.charCodeAt(h),!c){n=r.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(r.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 Dm(t){return{line:t.line,column:t.column,offset:t.offset}}function Hm(t,e){let n=-1;for(;++n<e.length;){const i=e[n];Array.isArray(i)?Hm(t,i):Bm(t,i)}}function Bm(t,e){let n;for(n in e)if(Lm.call(e,n))switch(n){case"canContainEols":{const i=e[n];i&&t[n].push(...i);break}case"transforms":{const i=e[n];i&&t[n].push(...i);break}case"enter":case"exit":{const i=e[n];i&&Object.assign(t[n],i);break}}}function Um(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 Vm(t){const e=this;e.parser=function(n){return Pm(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}const Fm="object"==typeof self?self:globalThis,qm=t=>((t,e)=>{const n=(e,n)=>(t.set(n,e),e),i=r=>{if(t.has(r))return t.get(r);const[o,s]=e[r];switch(o){case 0:case-1:return n(s,r);case 1:{const t=n([],r);for(const e of s)t.push(i(e));return t}case 2:{const t=n({},r);for(const[e,n]of s)t[i(e)]=i(n);return t}case 3:return n(new Date(s),r);case 4:{const{source:t,flags:e}=s;return n(new RegExp(t,e),r)}case 5:{const t=n(new Map,r);for(const[e,n]of s)t.set(i(e),i(n));return t}case 6:{const t=n(new Set,r);for(const e of s)t.add(i(e));return t}case 7:{const{name:t,message:e}=s;return n(new Fm[t](e),r)}case 8:return n(BigInt(s),r);case"BigInt":return n(Object(BigInt(s)),r);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 Fm[o](s),r)};return i})(new Map,t)(0),zm="",{toString:Gm}={},{keys:jm}=Object,Wm=t=>{const e=typeof t;if("object"!==e||!t)return[0,e];const n=Gm.call(t).slice(8,-1);switch(n){case"Array":return[1,zm];case"Object":return[2,zm];case"Date":return[3,zm];case"RegExp":return[4,zm];case"Map":return[5,zm];case"Set":return[6,zm];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Ym=([t,e])=>0===t&&("function"===e||"symbol"===e),Km=(t,{json:e,lossy:n}={})=>{const i=[];return((t,e,n,i)=>{const r=(t,e)=>{const r=i.push(t)-1;return n.set(e,r),r},o=i=>{if(n.has(i))return n.get(i);let[s,a]=Wm(i);switch(s){case 0:{let e=i;switch(a){case"bigint":s=8,e=i.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+a);e=null;break;case"undefined":return r([-1],i)}return r([s,e],i)}case 1:{if(a){let t=i;return"DataView"===a?t=new Uint8Array(i.buffer):"ArrayBuffer"===a&&(t=new Uint8Array(i)),r([a,[...t]],i)}const t=[],e=r([s,t],i);for(const e of i)t.push(o(e));return e}case 2:{if(a)switch(a){case"BigInt":return r([a,i.toString()],i);case"Boolean":case"Number":case"String":return r([a,i.valueOf()],i)}if(e&&"toJSON"in i)return o(i.toJSON());const n=[],c=r([s,n],i);for(const e of jm(i))!t&&Ym(Wm(i[e]))||n.push([o(e),o(i[e])]);return c}case 3:return r([s,i.toISOString()],i);case 4:{const{source:t,flags:e}=i;return r([s,{source:t,flags:e}],i)}case 5:{const e=[],n=r([s,e],i);for(const[n,r]of i)(t||!Ym(Wm(n))&&!Ym(Wm(r)))&&e.push([o(n),o(r)]);return n}case 6:{const e=[],n=r([s,e],i);for(const n of i)!t&&Ym(Wm(n))||e.push(o(n));return n}}const{message:c}=i;return r([s,{name:a,message:c}],i)};return o})(!(e||n),!!e,new Map,i)(t),i},$m="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?qm(Km(t,e)):structuredClone(t):(t,e)=>qm(Km(t,e));function Qm(t){const e=[];let n=-1,i=0,r=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)))r=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),r=1):s="�"}else s=String.fromCharCode(o);s&&(e.push(t.slice(i,n),encodeURIComponent(s)),i=n+r+1,s=""),r&&(n+=r,r=0)}return e.join("")+t.slice(i)}function Xm(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 Jm(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}const Zm=eg("end"),tg=eg("start");function eg(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 ng(t,e){const n=e.referenceType;let i="]";if("collapsed"===n?i+="[]":"full"===n&&(i+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+i}];const r=t.all(e),o=r[0];o&&"text"===o.type?o.value="["+o.value:r.unshift({type:"text",value:"["});const s=r[r.length-1];return s&&"text"===s.type?s.value+=i:r.push({type:"text",value:i}),r}function ig(t){const e=t.spread;return null==e?t.children.length>1:e}function rg(t){const e=String(t),n=/\r?\n|\r/g;let i=n.exec(e),r=0;const o=[];for(;i;)o.push(og(e.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(e);return o.push(og(e.slice(r),r>0,!1)),o.join("")}function og(t,e,n){let i=0,r=t.length;if(e){let e=t.codePointAt(i);for(;9===e||32===e;)i++,e=t.codePointAt(i)}if(n){let e=t.codePointAt(r-1);for(;9===e||32===e;)r--,e=t.codePointAt(r-1)}return r>i?t.slice(i,r):""}const sg={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":"",i={};e.lang&&(i.className=["language-"+e.lang]);let r={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return e.meta&&(r.data={meta:e.meta}),t.patch(e,r),r=t.applyData(e,r),r={type:"element",tagName:"pre",properties:{},children:[r]},t.patch(e,r),r},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-",i=String(e.identifier).toUpperCase(),r=Qm(i.toLowerCase()),o=t.footnoteOrder.indexOf(i);let s,a=t.footnoteCounts.get(i);void 0===a?(a=0,t.footnoteOrder.push(i),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(i,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(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(),i=t.definitionById.get(n);if(!i)return ng(t,e);const r={src:Qm(i.url||""),alt:e.alt};null!==i.title&&void 0!==i.title&&(r.title=i.title);const o={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,o),t.applyData(e,o)},image:function(t,e){const n={src:Qm(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 i={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,i),t.applyData(e,i)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const i={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,i),t.applyData(e,i)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),i=t.definitionById.get(n);if(!i)return ng(t,e);const r={href:Qm(i.url||"")};null!==i.title&&void 0!==i.title&&(r.title=i.title);const o={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)},link:function(t,e){const n={href:Qm(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);const i={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)},listItem:function(t,e,n){const i=t.all(e),r=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;const n=t.children;let i=-1;for(;!e&&++i<n.length;)e=ig(n[i])}return e}(n):ig(e),o={},s=[];if("boolean"==typeof e.checked){const t=i[0];let n;t&&"element"===t.type&&"p"===t.tagName?n=t:(n={type:"element",tagName:"p",properties:{},children:[]},i.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<i.length;){const t=i[a];(r||0!==a||"element"!==t.type||"p"!==t.tagName)&&s.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||r?s.push(t):s.push(...t.children)}const c=i[i.length-1];c&&(r||"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={},i=t.all(e);let r=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++r<i.length;){const t=i[r];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(i,!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),i=n.shift(),r=[];if(i){const n={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],n),r.push(n)}if(n.length>0){const i={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=tg(e.children[1]),s=Zm(e.children[e.children.length-1]);o&&s&&(i.position={start:o,end:s}),r.push(i)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(r,!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 i=n?n.children:void 0,r=0===(i?i.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],i={},s=o?o[a]:void 0;s&&(i.align=s);let l={type:"element",tagName:r,properties:i,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:rg(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:ag,yaml:ag,definition:ag,footnoteDefinition:ag};function ag(){}const cg={}.hasOwnProperty,lg={};function ug(t,e){t.position&&(e.position=function(t){const e=tg(t),n=Zm(t);if(e&&n)return{start:e,end:n}}(t))}function hg(t,e){let n=e;if(t&&t.data){const e=t.data.hName,i=t.data.hChildren,r=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&&r&&Object.assign(n.properties,$m(r)),"children"in n&&n.children&&null!=i&&(n.children=i)}return n}function dg(t,e){const n=e.data||{},i=!("value"in e)||cg.call(n,"hProperties")||cg.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:t.all(e)}:{type:"text",value:e.value};return t.patch(e,i),t.applyData(e,i)}function pg(t,e){const n=[];let i=-1;for(e&&n.push({type:"text",value:"\n"});++i<t.length;)i&&n.push({type:"text",value:"\n"}),n.push(t[i]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function fg(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function mg(t,e){const n=function(t,e){const n=e||lg,i=new Map,r=new Map,o=new Map,s={...sg,...n.handlers},a={all:function(t){const e=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const r=a.one(n[i],t);if(r){if(i&&"break"===n[i-1].type&&(Array.isArray(r)||"text"!==r.type||(r.value=fg(r.value)),!Array.isArray(r)&&"element"===r.type)){const t=r.children[0];t&&"text"===t.type&&(t.value=fg(t.value))}Array.isArray(r)?e.push(...r):e.push(r)}}}return e},applyData:hg,definitionById:i,footnoteById:r,footnoteCounts:o,footnoteOrder:[],handlers:s,one:function(t,e){const n=t.type,i=a.handlers[n];if(cg.call(a.handlers,n)&&i)return i(a,t,e);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in t){const{children:e,...n}=t,i=$m(n);return i.children=a.all(t),i}return $m(t)}return(a.options.unknownHandler||dg)(a,t,e)},options:n,patch:ug,wrap:pg};return ep(t,function(t){if("definition"===t.type||"footnoteDefinition"===t.type){const e="definition"===t.type?i:r,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}}),a}(t,e),i=n.one(t,void 0),r=function(t){const e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||Xm,i=t.options.footnoteBackLabel||Jm,r=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 r=t.footnoteById.get(t.footnoteOrder[c]);if(!r)continue;const o=t.all(r),s=String(r.identifier).toUpperCase(),l=Qm(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 i?i:i(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(r,f),a.push(f)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...$m(s),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&o.children.push({type:"text",value:"\n"},r),o}function gg(t,e){return t&&"run"in t?async function(n,i){const r=mg(n,{file:i,...e});await t.run(r,i)}:function(n,i){return mg(n,{file:i,...t||e})}}function kg(){return{type:"break"}}function _g(){return function(t){!function(t){ud(t,[/\r?\n|\r/g,kg])}(t)}}class bg{constructor(t,e,n){this.normal=e,this.property=t,n&&(this.space=n)}}function wg(t,e){const n={},i={};for(const e of t)Object.assign(n,e.property),Object.assign(i,e.normal);return new bg(n,i,e)}function vg(t){return t.toLowerCase()}bg.prototype.normal={},bg.prototype.property={},bg.prototype.space=void 0;class Ig{constructor(t,e){this.attribute=e,this.property=t}}Ig.prototype.attribute="",Ig.prototype.booleanish=!1,Ig.prototype.boolean=!1,Ig.prototype.commaOrSpaceSeparated=!1,Ig.prototype.commaSeparated=!1,Ig.prototype.defined=!1,Ig.prototype.mustUseProperty=!1,Ig.prototype.number=!1,Ig.prototype.overloadedBoolean=!1,Ig.prototype.property="",Ig.prototype.spaceSeparated=!1,Ig.prototype.space=void 0;let yg=0;const Ag=Og(),Eg=Og(),xg=Og(),Tg=Og(),Cg=Og(),Sg=Og(),Rg=Og();function Og(){return 2**++yg}const Ng=Object.keys(e);class Mg extends Ig{constructor(t,n,i,r){let o=-1;if(super(t,n),Lg(this,"space",r),"number"==typeof i)for(;++o<Ng.length;){const t=Ng[o];Lg(this,Ng[o],(i&e[t])===e[t])}}}function Lg(t,e,n){n&&(t[e]=n)}function Pg(t){const e={},n={};for(const[i,r]of Object.entries(t.properties)){const o=new Mg(i,t.transform(t.attributes||{},i),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),e[i]=o,n[vg(i)]=i,n[vg(o.attribute)]=i}return new bg(e,n,t.space)}Mg.prototype.defined=!0;const Dg=Pg({properties:{ariaActiveDescendant:null,ariaAtomic:Eg,ariaAutoComplete:null,ariaBusy:Eg,ariaChecked:Eg,ariaColCount:Tg,ariaColIndex:Tg,ariaColSpan:Tg,ariaControls:Cg,ariaCurrent:null,ariaDescribedBy:Cg,ariaDetails:null,ariaDisabled:Eg,ariaDropEffect:Cg,ariaErrorMessage:null,ariaExpanded:Eg,ariaFlowTo:Cg,ariaGrabbed:Eg,ariaHasPopup:null,ariaHidden:Eg,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Cg,ariaLevel:Tg,ariaLive:null,ariaModal:Eg,ariaMultiLine:Eg,ariaMultiSelectable:Eg,ariaOrientation:null,ariaOwns:Cg,ariaPlaceholder:null,ariaPosInSet:Tg,ariaPressed:Eg,ariaReadOnly:Eg,ariaRelevant:null,ariaRequired:Eg,ariaRoleDescription:Cg,ariaRowCount:Tg,ariaRowIndex:Tg,ariaRowSpan:Tg,ariaSelected:Eg,ariaSetSize:Tg,ariaSort:null,ariaValueMax:Tg,ariaValueMin:Tg,ariaValueNow:Tg,ariaValueText:null,role:null},transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase()});function Hg(t,e){return e in t?t[e]:e}function Bg(t,e){return Hg(t,e.toLowerCase())}const Ug=Pg({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sg,acceptCharset:Cg,accessKey:Cg,action:null,allow:null,allowFullScreen:Ag,allowPaymentRequest:Ag,allowUserMedia:Ag,alt:null,as:null,async:Ag,autoCapitalize:null,autoComplete:Cg,autoFocus:Ag,autoPlay:Ag,blocking:Cg,capture:null,charSet:null,checked:Ag,cite:null,className:Cg,cols:Tg,colSpan:null,content:null,contentEditable:Eg,controls:Ag,controlsList:Cg,coords:Tg|Sg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ag,defer:Ag,dir:null,dirName:null,disabled:Ag,download:xg,draggable:Eg,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ag,formTarget:null,headers:Cg,height:Tg,hidden:xg,high:Tg,href:null,hrefLang:null,htmlFor:Cg,httpEquiv:Cg,id:null,imageSizes:null,imageSrcSet:null,inert:Ag,inputMode:null,integrity:null,is:null,isMap:Ag,itemId:null,itemProp:Cg,itemRef:Cg,itemScope:Ag,itemType:Cg,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ag,low:Tg,manifest:null,max:null,maxLength:Tg,media:null,method:null,min:null,minLength:Tg,multiple:Ag,muted:Ag,name:null,nonce:null,noModule:Ag,noValidate:Ag,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:Ag,optimum:Tg,pattern:null,ping:Cg,placeholder:null,playsInline:Ag,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ag,referrerPolicy:null,rel:Cg,required:Ag,reversed:Ag,rows:Tg,rowSpan:Tg,sandbox:Cg,scope:null,scoped:Ag,seamless:Ag,selected:Ag,shadowRootClonable:Ag,shadowRootDelegatesFocus:Ag,shadowRootMode:null,shape:null,size:Tg,sizes:null,slot:null,span:Tg,spellCheck:Eg,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Tg,step:null,style:null,tabIndex:Tg,target:null,title:null,translate:null,type:null,typeMustMatch:Ag,useMap:null,value:Eg,width:Tg,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Cg,axis:null,background:null,bgColor:null,border:Tg,borderColor:null,bottomMargin:Tg,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ag,declare:Ag,event:null,face:null,frame:null,frameBorder:null,hSpace:Tg,leftMargin:Tg,link:null,longDesc:null,lowSrc:null,marginHeight:Tg,marginWidth:Tg,noResize:Ag,noHref:Ag,noShade:Ag,noWrap:Ag,object:null,profile:null,prompt:null,rev:null,rightMargin:Tg,rules:null,scheme:null,scrolling:Eg,standby:null,summary:null,text:null,topMargin:Tg,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Tg,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ag,disableRemotePlayback:Ag,prefix:null,property:null,results:Tg,security:null,unselectable:null},space:"html",transform:Bg}),Vg=Pg({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:Rg,accentHeight:Tg,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Tg,amplitude:Tg,arabicForm:null,ascent:Tg,attributeName:null,attributeType:null,azimuth:Tg,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Tg,by:null,calcMode:null,capHeight:Tg,className:Cg,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:Tg,diffuseConstant:Tg,direction:null,display:null,dur:null,divisor:Tg,dominantBaseline:null,download:Ag,dx:null,dy:null,edgeMode:null,editable:null,elevation:Tg,enableBackground:null,end:null,event:null,exponent:Tg,externalResourcesRequired:null,fill:null,fillOpacity:Tg,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:Sg,g2:Sg,glyphName:Sg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Tg,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Tg,horizOriginX:Tg,horizOriginY:Tg,id:null,ideographic:Tg,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Tg,k:Tg,k1:Tg,k2:Tg,k3:Tg,k4:Tg,kernelMatrix:Rg,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Tg,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:Tg,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:Tg,overlineThickness:Tg,paintOrder:null,panose1:null,path:null,pathLength:Tg,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Cg,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Tg,pointsAtY:Tg,pointsAtZ:Tg,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rg,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rg,rev:Rg,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rg,requiredFeatures:Rg,requiredFonts:Rg,requiredFormats:Rg,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:Tg,specularExponent:Tg,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Tg,strikethroughThickness:Tg,string:null,stroke:null,strokeDashArray:Rg,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Tg,strokeOpacity:Tg,strokeWidth:null,style:null,surfaceScale:Tg,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rg,tabIndex:Tg,tableValues:null,target:null,targetX:Tg,targetY:Tg,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rg,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Tg,underlineThickness:Tg,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Tg,values:null,vAlphabetic:Tg,vMathematical:Tg,vectorEffect:null,vHanging:Tg,vIdeographic:Tg,version:null,vertAdvY:Tg,vertOriginX:Tg,vertOriginY:Tg,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Tg,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Hg}),Fg=Pg({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()}),qg=Pg({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Bg}),zg=Pg({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase()}),Gg=wg([Dg,Ug,Fg,qg,zg],"html"),jg=wg([Dg,Vg,Fg,qg,zg],"svg"),Wg=/[A-Z]/g,Yg=/-[a-z]/g,Kg=/^data[-\w.:]+$/i;function $g(t,e){const n=vg(e);let i=e,r=Ig;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Kg.test(e)){if("-"===e.charAt(4)){const t=e.slice(5).replace(Yg,Xg);i="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{const t=e.slice(4);if(!Yg.test(t)){let n=t.replace(Wg,Qg);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}r=Mg}return new r(i,e)}function Qg(t){return"-"+t.toLowerCase()}function Xg(t){return t.charAt(1).toUpperCase()}const Jg="http://www.w3.org/1999/xhtml",Zg="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 i,r=0===n.length,o=-1;for(;++o<n.length;){const t=n[o];if("element"===t.type&&"html"===t.tagName){r=!0,i=String(t.properties&&t.properties.xmlns||"")||Jg;break}}const s=e.namespace||i;let a;a=r?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 i=t.tagName||(n===Zg?"g":"div"),r=t.properties||{},o=t.children||[];void 0!==n&&n!==Jg||"svg"!==i||(n=Zg);const s=n?e.doc.createElementNS(n,i):e.doc.createElement(i);!function(t,e,n){let i;for(i in e)if(tk.call(e,i)){const r=$g(n,i);let o=e[i];Array.isArray(o)&&(o=o.join(r.commaSeparated?", ":" ")),r.mustUseProperty&&(t[r.property]=o),r.boolean||r.overloadedBoolean&&"boolean"==typeof o?o&&t.setAttribute(r.attribute,""):r.booleanish?t.setAttribute(r.attribute,String(o)):!0===o?t.setAttribute(r.attribute,""):(o||0===o||""===o)&&t.setAttribute(r.attribute,String(o))}}(s,r,n===Zg?jg:Gg);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 i=-1;for(;++i<e.length;)t.append(ek(e[i],n))}function ik(t){const e={...this.data("settings"),...t};!1!==e.fragment&&(e.fragment=!0),this.compiler=function(t){return rk(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 rk(t){if("doctype"in t){return(t.doctype?rk(t.doctype):"")+(t.documentElement?rk(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,i){return e.format(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536,i.charCodeAt(n+2),e)}).replace(lk,n);function n(t,n,i){return e.format(t.charCodeAt(0),i.charCodeAt(n+1),e)}}const pk=/[\dA-Fa-f]/;const fk=/\d/;const mk=["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"],gk={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 gk)_k.call(gk,wk)&&(bk[gk[wk]]=wk);const vk=/[^\dA-Za-z]/;function Ik(t,e,n){let i,r=function(t,e,n){const i="&#x"+t.toString(16).toUpperCase();return n&&e&&!pk.test(String.fromCharCode(e))?i:i+";"}(t,e,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(i=function(t,e,n,i){const r=String.fromCharCode(t);if(_k.call(bk,r)){const t=bk[r],o="&"+t;return n&&mk.includes(t)&&!kk.includes(t)&&(!i||e&&61!==e&&vk.test(String.fromCharCode(e)))?o:o+";"}return""}(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const i=function(t,e,n){const i="&#"+String(t);return n&&e&&!fk.test(String.fromCharCode(e))?i:i+";"}(t,e,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function yk(t,e){return dk(t,Object.assign({format:Ik},e))}const Ak=/^>|^->|<!--|-->|--!>|<!-$/g,Ek=[">"],xk=["<",">"];function Tk(t){const e=[],n=String(t||"");let i=n.indexOf(","),r=0,o=!1;for(;!o;){-1===i&&(i=n.length,o=!0);const t=n.slice(r,i).trim();!t&&o||e.push(t),r=i+1,i=n.indexOf(",",r)}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&&Mk(t.value):Mk(t)}function Mk(t){return""===t.replace(Ok,"")}const Lk=Hk(1),Pk=Hk(-1),Dk=[];function Hk(t){return function(e,n,i){const r=e?e.children:Dk;let o=(n||0)+t,s=r[o];if(!i)for(;s&&Nk(s);)o+=t,s=r[o];return s}}const Bk={}.hasOwnProperty;function Uk(t){return function(e,n,i){return Bk.call(t,e.tagName)&&t[e.tagName](e,n,i)}}const Vk=Uk({body:function(t,e,n){const i=Lk(n,e);return!i||"comment"!==i.type},caption:Fk,colgroup:Fk,dd:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName)},dt:function(t,e,n){const i=Lk(n,e);return Boolean(i&&"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName))},head:Fk,html:function(t,e,n){const i=Lk(n,e);return!i||"comment"!==i.type},li:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&"li"===i.tagName},optgroup:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&"optgroup"===i.tagName},option:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&("option"===i.tagName||"optgroup"===i.tagName)},p:function(t,e,n){const i=Lk(n,e);return i?"element"===i.type&&("address"===i.tagName||"article"===i.tagName||"aside"===i.tagName||"blockquote"===i.tagName||"details"===i.tagName||"div"===i.tagName||"dl"===i.tagName||"fieldset"===i.tagName||"figcaption"===i.tagName||"figure"===i.tagName||"footer"===i.tagName||"form"===i.tagName||"h1"===i.tagName||"h2"===i.tagName||"h3"===i.tagName||"h4"===i.tagName||"h5"===i.tagName||"h6"===i.tagName||"header"===i.tagName||"hgroup"===i.tagName||"hr"===i.tagName||"main"===i.tagName||"menu"===i.tagName||"nav"===i.tagName||"ol"===i.tagName||"p"===i.tagName||"pre"===i.tagName||"section"===i.tagName||"table"===i.tagName||"ul"===i.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:qk,rt:qk,tbody:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName)},td:zk,tfoot:function(t,e,n){return!Lk(n,e)},th:zk,thead:function(t,e,n){const i=Lk(n,e);return Boolean(i&&"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName))},tr:function(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&"tr"===i.tagName}});function Fk(t,e,n){const i=Lk(n,e,!0);return!i||"comment"!==i.type&&!("text"===i.type&&Nk(i.value.charAt(0)))}function qk(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&("rp"===i.tagName||"rt"===i.tagName)}function zk(t,e,n){const i=Lk(n,e);return!i||"element"===i.type&&("td"===i.tagName||"th"===i.tagName)}const Gk=Uk({body:function(t){const e=Lk(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 i=Pk(n,e),r=Lk(t,-1,!0);if(n&&i&&"element"===i.type&&"colgroup"===i.tagName&&Vk(i,n.children.indexOf(i),n))return!1;return Boolean(r&&"element"===r.type&&"col"===r.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=Lk(t,-1);return!e||"comment"!==e.type},tbody:function(t,e,n){const i=Pk(n,e),r=Lk(t,-1);if(n&&i&&"element"===i.type&&("thead"===i.tagName||"tbody"===i.tagName)&&Vk(i,n.children.indexOf(i),n))return!1;return Boolean(r&&"element"===r.type&&"tr"===r.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 i=$g(t.schema,e),r=t.settings.allowParseErrors&&"html"===t.schema.space?0:1,o=t.settings.allowDangerousCharacters?0:1;let s,a=t.quote;if(!i.overloadedBoolean||n!==i.attribute&&""!==n?!i.boolean&&!i.overloadedBoolean||"string"==typeof n&&n!==i.attribute&&""!==n||(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=yk(i.attribute,Object.assign({},t.settings.characterReferences,{subset:jk.name[r][o]}));return!0===n?c:(n=Array.isArray(n)?(i.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[r][o]}))),s!==n&&(t.settings.quoteSmart&&qh(n,a)>qh(n,t.alternative)&&(a=t.alternative),s=a+yk(n,Object.assign({},t.settings.characterReferences,{subset:("'"===a?jk.single:jk.double)[r][o],attribute:!0}))+a),c+(s?"="+s:s)))}const Yk=["<","&"];function Kk(t,e,n,i){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?yk(t.value,Object.assign({},i.settings.characterReferences,{subset:Yk})):t.value}const $k=function(t,e){const n=e||{};function i(e,...n){let r=i.invalid;const o=i.handlers;if(e&&sk.call(e,t)){const n=String(e[t]);r=sk.call(o,n)?o[n]:i.unknown}if(r)return r.call(this,e,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}("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,i){return i.settings.bogusComments?"<?"+yk(t.value,Object.assign({},i.settings.characterReferences,{subset:Ek}))+">":"\x3c!--"+t.value.replace(Ak,function(t){return yk(t,Object.assign({},i.settings.characterReferences,{subset:xk}))})+"--\x3e"},doctype:function(t,e,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"},element:function(t,e,n,i){const r=i.schema,o="svg"!==r.space&&i.settings.omitOptionalTags;let s="svg"===r.space?i.settings.closeEmptyElements:i.settings.voids.includes(t.tagName.toLowerCase());const a=[];let c;"html"===r.space&&"svg"===t.tagName&&(i.schema=jg);const l=function(t,e){const n=[];let i,r=-1;if(e)for(i in e)if(null!==e[i]&&void 0!==e[i]){const r=Wk(t,i,e[i]);r&&n.push(r)}for(;++r<n.length;){const e=t.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&'"'!==e&&"'"!==e&&(n[r]+=" ")}return n.join("")}(i,t.properties),u=i.all("html"===r.space&&"template"===t.tagName?t.content:t);return i.schema=r,u&&(s=!1),!l&&o&&Gk(t,e,n)||(a.push("<",t.tagName,l?" "+l:""),s&&("svg"===r.space||i.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!i.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,i){return i.settings.allowDangerousHtml?t.value:Kk(t,0,n,i)},root:function(t,e,n,i){return i.all(t)},text:Kk}});const Qk={},Xk={},Jk=[];function Zk(t,e,n){return $k(t,e,n,this)}function t_(t){const e=[],n=t&&t.children||Jk;let i=-1;for(;++i<n.length;)e[i]=this.one(n[i],i,t);return e.join("")}const e_=/[#.]/g;function n_(t,e,n){const i=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,r,...o){let s;if(null==n){s={type:"root",children:[]};const t=r;o.unshift(t)}else{s=function(t,e){const n=t||"",i={};let r,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&&(r?"#"===r?i.id=e:Array.isArray(i.className)?i.className.push(e):i.className=[e]:o=e,s+=e.length),t&&(r=t[0],s++)}return{type:"element",tagName:o||e||"div",properties:i,children:[]}}(n,e);const a=s.tagName.toLowerCase(),c=i?i.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}(r))o.unshift(r);else for(const[e,n]of Object.entries(r))i_(t,s.properties,e,n)}for(const t of o)r_(s.children,t);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function i_(t,e,n,i){const r=$g(t,n);let o;if(null!=i){if("number"==typeof i){if(Number.isNaN(i))return;o=i}else o="boolean"==typeof i?i:"string"==typeof i?r.spaceSeparated?Sk(i):r.commaSeparated?Tk(i):r.commaOrSpaceSeparated?Sk(Tk(i).join(" ")):o_(r,r.property,i):Array.isArray(i)?[...i]:"style"===r.property?function(t){const e=[];for(const[n,i]of Object.entries(t))e.push([n,i].join(": "));return e.join("; ")}(i):String(i);if(Array.isArray(o)){const t=[];for(const e of o)t.push(o_(r,r.property,e));o=t}"className"===r.property&&Array.isArray(e.className)&&(o=e.className.concat(o)),e[r.property]=o}}function r_(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)r_(t,n);else{if("object"!=typeof e||!("type"in e))throw new Error("Expected node, nodes, or string, got `"+e+"`");"root"===e.type?r_(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||vg(n)===vg(e)))return!0}return n}const s_=n_(Gg,"div"),a_=n_(jg,"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,i=n===Zg?a_:s_,r=n===Jg?t.tagName.toLowerCase():t.tagName,o=n===Jg&&"template"===r?t.content:t,s=t.getAttributeNames(),a={};let c=-1;for(;++c<s.length;)a[s[c]]=t.getAttribute(s[c])||"";return i(r,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,i=[];let r=-1;for(;++r<n.length;){const t=c_(n[r],e);void 0!==t&&i.push(t)}return i}class h_{_processor;constructor(){this._processor=Ph().use(Vm).use(_f,{singleTilde:!0}).use(_g).use(gg,{allowDangerousHtml:!0}).use(p_).use(d_).use(ik)}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,i=n.quote||'"',r='"'===i?"'":'"';if('"'!==i&&"'"!==i)throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");return{one:Zk,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?jg:Gg,quote:i,alternative:r}.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))})}}const f_=m_;function m_(t,e){const n=g_();return(m_=function(t,e){return n[t-=119]})(t,e)}function g_(){const t=["2440194nEyhUE","_parseHTML","4858WBOVzu","7775748azIVRw","1972014EqPQga","parseAndNormalizeHTML","convertMarkdownToHTML","1sMJqJj","<dummy>","parse","</dummy>","children","1789252dizQmK","_m2html","1688sIjRGV","3851725wZkdQA","3424458JTwbHr","replace"];return(g_=function(){return t})()}!function(t){const e=m_,n=t();for(;;)try{if(598996===-parseInt(e(132))/1*(-parseInt(e(129))/2)+parseInt(e(123))/3+-parseInt(e(119))/4+-parseInt(e(122))/5+parseInt(e(125))/6+parseInt(e(127))/7*(parseInt(e(121))/8)+-parseInt(e(128))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g_);class k_ extends((0,s.ObservableMixin)()){[f_(120)];constructor(){const t=f_;super(),this[t(120)]=new h_}[f_(131)](t){const e=f_,n=this[e(120)][e(134)](t);return this[e(130)](n)}[f_(130)](t){return this[f_(126)](t)}[f_(126)](t){const e=f_,n=t[e(124)](/^\t+/gm," ")[e(124)](/\n*/g,"")[e(124)](/\s+/g," ")[e(124)](/<[^>]*?$/g,""),i=th(e(133)+n+e(135));return i[e(136)]=i[e(136)][0][e(136)],i}}function __(t,e){const n=w_();return(__=function(t,e){return n[t-=432]})(t,e)}const b_=__;function w_(){const t=["from","_isExistingContentComment","_markUnstableElements","13645vhVxEH","afterbegin","trim","nodeType","_existingDataIds","_markLastTagElementUnstable","_getNodeDataId","data-removed","_storeDeletedElementIds","markUnstableElements","true","_isNewNode","6zviGHK","includes","_replaceNode","_generateUid","lastTouchedId","reverse","_insertNodes","_markWrappedElements","357316qXeZjY","2068926Kafrdz","11HAkEag","filter","previousSibling","5224328wRCGdO","_isExistingNode","_touchedNodesState","_findFallbackReferenceNode","_findPrevElementWithDataId","forEach","_isDelNode","afterend","splice","replaceRemovedWith","parentNode","beforebegin","data-id","newIds","nextSibling","merge","data-unstable","childNodes","22856436jCUsZK","74JiHMbL","4200PNZNSV","_hasWrappedParent","match","modifiedIds","invalidIds","10wqvYhD","push","has","lastChild","map","length","data-wrapped-id","markUnstableElementsDepth","slice","indexOf","_findReferenceNode","9297FZLEBX","_findNextElementWithDataId","cutAfterLastChange","_getUid","new-element","_removeSpecialComments","4208155FDfuzo","removedIds","cloneNode"];return(w_=function(){return t})()}!function(t){const e=__,n=t();for(;;)try{if(403118===-parseInt(e(461))/1*(parseInt(e(432))/2)+-parseInt(e(482))/3+-parseInt(e(481))/4*(-parseInt(e(438))/5)+-parseInt(e(473))/6*(-parseInt(e(455))/7)+-parseInt(e(486))/8+parseInt(e(449))/9*(-parseInt(e(433))/10)+-parseInt(e(483))/11*(-parseInt(e(504))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w_);class v_ extends((0,s.ObservableMixin)()){[b_(476)];[b_(488)]={newIds:[],modifiedIds:[],removedIds:[],invalidIds:[],lastTouchedId:null};[b_(465)]=new Set;constructor(t){const e=b_;super(),this[e(476)]=t||s.uid}[b_(501)](t,e,n){const i=b_,r=t[rh(309)](!0);if(0===e[i(503)][i(443)]){const t=[];return ih(i(498),i(453),r)[i(491)](e=>{const n=i,r=this[n(476)]();sh(e,n(498),r),t[n(439)](r)}),this[i(454)](r),{parsedContent:r,newNodeIds:t,modifiedNodeIds:[],removedNodeIds:[]}}n&&n[i(470)]&&this[i(466)](r),this[i(488)][i(499)]=[],this[i(488)][i(436)]=[],this[i(488)][i(456)]=[],this[i(488)][i(437)]=[],this[i(488)][i(477)]=null,this[i(465)]=new Set(ih(i(498),null,e)[i(442)](t=>oh(t,i(498)))[i(484)](t=>!!t));let o=-1,s=!1;const a=r[i(503)],c=Array[i(458)](a)[i(484)](t=>!(3===t[i(464)]&&""===eh(t)[i(463)]())),l=c[i(443)];for(let t=0;t<l;t++){const n=c[t],r=c[t+1];if(this[i(472)](n)){if(-1===o&&(o=t),this[i(480)](n),!this[i(472)](r)){const[r,a]=this[i(448)](n,s,e);if(r){const e=Array[i(458)](c)[i(446)](o,t+1);this[i(479)](r,e,a),o=-1}}}else if(this[i(459)](n))s=!0;else if(this[i(487)](n)){const t=oh(n,i(498));if(t&&this[i(465)][i(440)](t)){const r=nh(i(498),t,e);this[i(475)](r,n)}if(this[i(488)][i(456)][i(474)](t)){const e=this[i(488)][i(456)][i(447)](t);this[i(488)][i(456)][i(494)](e,1)}}else if(this[i(492)](n)){const t=oh(n,i(498));this[i(488)][i(436)][i(474)](t)||this[i(469)](n)}}for(const t of this[i(488)][i(456)]){const r=nh(i(498),t,e);if(r)if(n&&n[i(495)]){this[i(488)][i(477)]=t;const e=n[i(495)][i(457)](!0);sh(e,i(498),t),sh(e,i(468),i(471)),ju(r,e)}else Gu(r)}if(ih(i(444),null,e)[i(491)](t=>{const n=i,r=oh(t,n(444)),o=nh(n(498),r,e);var s,a;o&&(a=t,Gu(s=o),ju(a,s))}),ih(i(498),i(453),e)[i(491)](t=>{const e=i,n=this[e(452)](t);sh(t,e(498),n),this[e(488)][e(499)][e(439)](n)}),this[i(454)](e),n&&n[i(470)]&&this[i(460)](e,n[i(445)]||0),n&&n[i(451)]&&this[i(488)][i(477)]){let t=nh(i(498),this[i(488)][i(477)],e);for(;t;)dh(t),t=t[i(496)]}return{parsedContent:e,newNodeIds:this[i(488)][i(499)],modifiedNodeIds:this[i(488)][i(436)],removedNodeIds:this[i(488)][i(456)]}}[b_(479)](t,e,n){const i=b_;for(const t of e){const e=this[i(452)](t);sh(t,i(498),e),this[i(488)][i(499)][i(439)](e),this[i(488)][i(477)]=e}const r=i(462)===n||i(493)===n?e[i(478)]():e;for(const e of r)ah(t,e,n)}[b_(475)](t,e){const n=b_;if(!t)return;if(i=e,uh(eh(t))===uh(eh(i)))return;var i;const r=this[n(452)](t);sh(e,n(498),r),this[n(488)][n(436)][n(439)](r),this[n(488)][n(477)]=r,ju(t,e[n(457)](!0))}[b_(448)](t,e,n){const i=b_,r=this[i(490)](t,!1);if(r){const t=this[i(467)](r),e=nh(i(498),t,n);if(e)return[e,i(493)];this[i(488)][i(437)][i(439)](t)}const o=this[i(450)](t,!1);if(o){const t=this[i(467)](o),e=nh(i(498),t,n);if(e)return[e,i(497)];this[i(488)][i(437)][i(439)](t)}return e?t[i(500)]?this[i(489)](t,n):[n[i(503)][n[i(503)][i(443)]-1],i(493)]:[n[i(503)][0],i(497)]}[b_(489)](t,e){const n=b_,i=[],r=this[n(490)](t,!0);if(r){const t=this[n(467)](r),o=nh(n(498),t,e);o&&i[n(439)]([o,n(493)])}const o=this[n(450)](t,!0);if(o){const t=this[n(467)](o),r=nh(n(498),t,e);r&&i[n(439)]([r,n(497)])}return i[n(443)]>1?hh(i[0][0])<=hh(i[1][0])?i[0]:i[1]:1===i[n(443)]?i[0]:[e[n(441)],n(493)]}[b_(450)](t,e){const n=b_;let i=t[n(500)],r=null,o=!1;for(;i;){if(bl(i)){if(this[n(492)](i)&&(r=i),this[n(459)](i)&&e&&!o){o=!0,i=i[n(500)];continue}break}const t=oh(i,n(498));if(t&&n(453)!==t&&this[n(465)][n(440)](t)){r=i;break}i=i[n(500)]}return r}[b_(490)](t,e){const n=b_;let i=t[n(485)],r=null,o=!1;for(;i;){if(bl(i)){if(this[n(492)](i)&&(r=i),this[n(459)](i)&&e&&!o){o=!0,i=i[n(485)];continue}break}const t=oh(i,n(498));if(t&&n(453)!==t&&this[n(465)][n(440)](t)){r=i;break}i=i[n(485)]}return r}[b_(480)](t){const e=b_;kl(t)&&ih(e(498),null,t)[e(491)](t=>{const n=e;if(this[n(487)](t)&&!this[n(434)](t)){const e=oh(t,n(498));sh(t,n(444),e),sh(t,n(498),null)}})}[b_(467)](t){const e=b_;if(!t)return null;if(kl(t))return oh(t,e(498));if(bl(t)){const n=eh(t)[e(435)](/removed[\s*-]data-id="([^"]+)"/);if(n&&n[1])return n[1]}return null}[b_(469)](t){const e=b_;if(bl(t)){const n=eh(t)[e(435)](/removed[\s*-]data-id="([^"]+)"/);n&&n[1]&&this[e(488)][e(456)][e(439)](n[1])}}[b_(452)](t){const e=b_;return this[e(487)](t)?oh(t,e(498)):this[e(476)]()}[b_(454)](t){const e=b_;var n;(n=t,$u(t=>bl(t),n,!0,1/0))[e(484)](t=>this[e(492)](t)||this[e(459)](t))[e(491)](t=>{Gu(t)})}[b_(466)](t){const e=b_,n=t[e(503)],i=n[n[e(443)]-1];i&&kl(i)&&sh(i,e(502),e(471))}[b_(460)](t,e){const n=b_,i=nh(n(502),n(471),t);if(!i)return;const r=ch(i)[n(446)](0,-1),o=r[n(443)];let s=i;if(o>e){let t=o,a=null;for(;t>e&&t>=0;)t--,a=r[t];a&&(s=a,sh(i,n(502),null),sh(a,n(502),n(471)))}else if(o<e){let t=o,r=i;for(;t<e;){const e=r[n(503)][n(484)](t=>kl(t));if(0===e[n(443)])break;t++,r=e[e[n(443)]-1]}r&&(s=r,sh(i,n(502),null),sh(r,n(502),n(471)))}let a=s;for(;a;){for(;a[n(500)];)a=a[n(500)],kl(a)&&sh(a,n(502),n(471));a=a[n(496)]}}[b_(472)](t){const e=b_;return Boolean(e(453)===oh(t,e(498)))}[b_(487)](t){const e=b_;return Boolean((oh(t,e(498))||"")[e(443)]>0&&e(453)!==oh(t,e(498)))}[b_(492)](t){const e=b_;return!!t&&Boolean(bl(t)&&eh(t)[e(435)](/removed[\s*-]data-id="[^"]+"/))}[b_(434)](t){const e=b_;let n=t[e(496)];for(;n;){if(oh(n,e(444)))return!0;n=n[e(496)]}return!1}[b_(459)](t){const e=b_;return Boolean(bl(t)&&eh(t)[e(435)](/\s*existing[\s*-](content|document)\s*/g))}}const I_=y_;function y_(t,e){const n=E_();return(y_=function(t,e){return n[t-=235]})(t,e)}!function(t){const e=y_,n=t();for(;;)try{if(837315===-parseInt(e(279))/1+-parseInt(e(297))/2+-parseInt(e(242))/3+parseInt(e(238))/4*(-parseInt(e(237))/5)+parseInt(e(235))/6*(-parseInt(e(298))/7)+-parseInt(e(274))/8*(-parseInt(e(249))/9)+parseInt(e(270))/10*(parseInt(e(256))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(E_);const A_=[I_(239),I_(258)];function E_(){const t=["color: #808080; font-style: italic","updateChangeGroups","cloneNode","change:content","state","content","isDone","data-id","context","every","removedNodeIds","onContentChange","previousSibling","aiResponseParser","pending","merge","set","2373190FYQfOK","76503TFReoE","span","modified","conversation-title","node","removed","interactionId","newNodeIds","data-unstable","parseAndNormalizeHTML","252pJrckc","changeGroups","468070eMIIBp","16WMhDOJ","modification-delta","forEach","setChangeGroupState","1523619CAomlS","type","source","modifiedNodeIds","replyChangeGroupStateUpdated","replyContentUpdated","destroy","27SKDrdw","stopListening","map","changes","parsedContent","editor","done","55sPawoo","areActionsDisabled","text-delta",'Removed content. Use "Show changes" to learn more.',"convertMarkdownToHTML","push","documentContextContent","nextSibling","length","appendContent","fire","index","values","reasoning","7654470rBXEcA","new","filter","sources","3191336WEXSGt","parsedMergedContent","aiResponseApplier","includes","unshift","1658729iFfFqp"];return(E_=function(){return t})()}const x_=[I_(269)],T_=I_(301);class C_ extends((0,s.ObservableMixin)()){id;[I_(304)];[I_(243)];[I_(273)]=[];[I_(253)]=new ml([]);[I_(275)]=new ml([]);[I_(236)]=[];[I_(257)]=!1;[I_(262)];[I_(293)];[I_(276)];[I_(254)];constructor({type:t,content:e="",isDone:n=!1,interactionId:i,areActionsDisabled:r,documentContextContent:o,editor:a}){const c=I_;super(),this.id=(0,s.uid)(),this[c(304)]=i,this[c(243)]=t,this[c(257)]=!!r,this[c(254)]=a,this[c(293)]=new k_,this[c(276)]=new v_,this[c(262)]=th(o||""),this[c(296)](c(286),n),this.on(c(283),()=>{this[c(291)]()}),this[c(296)](c(285),e)}[I_(265)](t){const e=I_;this[e(296)](e(285),this[e(285)]+t)}[I_(255)](){const t=I_;this[t(286)]||(this[t(296)](t(286),!0),this[t(291)]())}[I_(248)](){this[I_(250)]()}[I_(241)](t,e){const n=I_;this[n(236)][t][n(284)]=e,this[n(266)](n(246),{reply:this,index:t,state:e})}[I_(291)](){const t=I_;if(t(239)===this[t(243)]){this[t(253)]=this[t(293)][t(307)](this[t(285)]);const e=this[t(236)];this[t(281)]();const n=function(e,n){const i=t,r=[];for(const t of n){const n=e[t[i(267)]];n?n[i(252)][i(264)]!==t[i(252)][i(264)]?r[i(261)](t):n[i(252)][i(240)]((e,n)=>{const o=i,s=t[o(252)][n];e.id!==s.id&&r[o(261)](t)}):r[i(261)](t)}return r}(e,this[t(236)]);(n[t(264)]||this[t(286)])&&this[t(266)](t(247),this,n)}else this[t(253)]=this[t(293)][t(260)](this[t(285)]),this[t(266)](t(247),this)}[I_(281)](){const t=I_,e=new gl("p",{},[new gl(t(299),{style:t(280)},[new ul(t(259))])]),n=this[t(276)][t(295)](this[t(253)],this[t(262)][t(282)](!0),{markUnstableElements:!this[t(286)],replaceRemovedWith:e,cutAfterLastChange:!this[t(286)]});if(!n[t(245)][t(264)]&&!this[t(286)])return;this[t(275)]=n[t(253)];let i=[];if(Xu(e=>{const r=t,s=oh(e,r(287));if(!s||!o(s))return!1;const a=[e,...ch(e)].at(-2);if(e!=a){const t=oh(a,r(287));o(t)||(i[r(261)]({node:a,id:t,type:r(300)}),n[r(245)][r(261)](t))}else n[r(245)][r(277)](s)?i[r(261)]({node:e,type:r(300),id:s}):n[r(305)][r(277)](s)?i[r(261)]({node:e,type:r(271),id:s,anchorId:oh(e[r(292)],r(287))}):i[r(261)]({node:e,type:r(303),id:s});return!0},this[t(275)]),i=i[t(272)](({node:e})=>[...ch(e),e][t(289)](e=>!oh(e,t(306)))),0==i[t(264)])return;const r=[[i[0]]];for(let e=1;e<i[t(264)];e++){const n=r[r[t(264)]-1],o=n[n[t(264)]-1];i[e][t(302)][t(292)]==o[t(302)]&&t(300)!=i[e][t(243)]&&t(300)!=o[t(243)]?n[t(261)](i[e]):r[t(261)]([i[e]])}for(const e of r){const n=e[0],i=e[e[t(264)]-1],r=s(n[t(302)][t(292)]);r&&e[t(278)](r);const o=s(i[t(302)][t(263)]);o&&e[t(261)](o)}function o(e){const i=t;return n[i(245)][i(277)](e)||n[i(305)][i(277)](e)||n[i(290)][i(277)](e)}function s(e){const n=t;if(e&&oh(e,n(287))&&!oh(e,n(306))){const t=oh(e,n(287));if(!o(t))return{node:e,type:n(288),id:t}}return null}this[t(236)]=r[t(251)]((e,n)=>({changes:e,state:t(294),index:n}))}}function S_(t){const e=I_;return Object[e(268)](A_)[e(277)](t)}function R_(t){return x_[I_(277)](t)}function O_(t){return t===T_}function N_(t){return I_(244)===t}const M_=P_;function L_(){const t=["sendRequest","getStream","done","interactionDestroyed","textDelta","event","delegate","31472BmYbSU","stopListening","replies","find","length","appendContent","isDestroyed","getReply","isStopped","setConversationTitle","replyChangeGroupStateUpdated","interactionStarted","splice","start","replyCreated","abort","ai-chat-interaction-error","currentReply","interactionStopped","7VQtFJL","replyContentUpdated","destroy","content","createReply","sources","ai-interaction-invalid-event-type","currentRequest","connector","571899VgDkqF","_finalizeInteraction","abortController","31817ZTgLKU","305284Sujsgc","fire","interactionCreated","data","interactionFinished","conversationTitle","editor","18YETsTM","stop","forEach","6745475ZFlPpO","error","source","push","getDocumentContext","540174MxlrIa","10792528KJnFtT"];return(L_=function(){return t})()}function P_(t,e){const n=L_();return(P_=function(t,e){return n[t-=215]})(t,e)}!function(t){const e=P_,n=t();for(;;)try{if(955418===parseInt(e(224))/1+-parseInt(e(225))/2+-parseInt(e(221))/3+parseInt(e(249))/4+-parseInt(e(235))/5+parseInt(e(240))/6*(-parseInt(e(268))/7)+-parseInt(e(241))/8*(-parseInt(e(232))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L_);const D_=[M_(227),M_(260),M_(267),M_(229),M_(245),M_(263),M_(269),M_(259),M_(258),M_(236)];class H_ extends((0,s.EmitterMixin)()){id;[M_(251)]=[];[M_(266)];[M_(219)];[M_(220)];[M_(257)]=!1;[M_(255)]=!1;[M_(231)];constructor({connector:t,editor:e}){const n=M_;super(),this.id=(0,s.uid)(),this[n(220)]=t,this[n(257)]=!0,this[n(231)]=e}async[M_(262)](){const t=M_;let e;this[t(257)]=!1;try{this[t(219)]=await this[t(242)](),this[t(226)](t(260),this);const n=await this[t(219)][t(243)](),i=[];for await(const r of n){if(this[t(257)])return;if(t(236)===r[t(247)])return void this[t(226)](t(236),{error:new s.CKEditorError(t(265),this)});O_(r[t(247)])&&this[t(258)](r[t(228)][t(230)],!0),N_(r[t(247)])?i[t(238)](r[t(228)][t(237)]):S_(r[t(247)])?(r[t(247)]!==e&&(this[t(266)]&&this[t(266)][t(244)](),this[t(266)]=this[t(216)]({type:r[t(247)],interactionId:this.id}),i[t(253)]>0&&(this[t(266)][t(217)]=i[t(261)](0)),e=r[t(247)]),this[t(266)][t(254)](r[t(228)][t(246)])):R_(r[t(247)])||(0,s.logWarning)(t(218),{chunk:r})}}finally{this[t(257)]||(this[t(222)](),this[t(226)](t(229),this))}}[M_(233)](){const t=M_;this[t(257)]||(this[t(222)](),this[t(226)](t(267),this))}[M_(256)](t){const e=M_;return this[e(251)][e(252)](e=>e.id===t)}[M_(270)](){const t=M_;this[t(255)]||(this[t(233)](),this[t(251)][t(234)](e=>e[t(270)]()),this[t(251)]=[],this[t(255)]=!0,this[t(226)](t(245),this),this[t(250)]())}[M_(216)](t){const e=M_,n=new C_({editor:this[e(231)],documentContextContent:this[e(239)]()?.[e(215)],...t});return this[e(251)][e(238)](n),n[e(248)](...D_).to(this),this[e(226)](e(263),n),n}[M_(258)](t,e=!1){const n=M_;this[n(226)](n(258),t,e)}[M_(222)](){const t=M_;this[t(257)]=!0,this[t(219)]&&this[t(219)][t(223)][t(264)](),this[t(266)]&&this[t(266)][t(244)](),this[t(219)]=this[t(266)]=void 0}}function B_(t,e){var n=j_();return(B_=function(t,e){return n[t-=129]})(t,e)}var U_,V_,F_,q_,z_,G_;function j_(){var t=["MARKDOWN","1711054fouvrU","text","selection","file","FILE","1607712shoeFv","SELECTION","28zGtmoU","4557460VwyBxt","markdown","95XKYCuy","921054BmSYaF","HTML","TEXT","html","9Mzgxvt","142356IbJXnX","92360eHxFfs","web-resource","document","URL","DOCUMENT","3946356MiFWcL"];return(j_=function(){return t})()}!function(t){for(var e=B_,n=t();;)try{if(532005===-parseInt(e(139))/1+-parseInt(e(152))/2+-parseInt(e(144))/3+parseInt(e(145))/4*(parseInt(e(138))/5)+parseInt(e(150))/6+-parseInt(e(135))/7*(-parseInt(e(133))/8)+-parseInt(e(143))/9*(-parseInt(e(136))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j_),(V_=U_||(U_={}))[(F_=B_)(132)]=F_(131),V_[F_(149)]=F_(147),V_[F_(148)]=F_(146),V_[F_(141)]=F_(129),V_[F_(134)]=F_(130),(z_=q_||(q_={}))[(G_=B_)(141)]=G_(129),z_[G_(151)]=G_(137),z_[G_(140)]=G_(142);const W_=$_;function Y_(){const t=["_finishUploadOperation","contextSent","push","_mapContextItemToRequestData","fetchDocument","sources","startsWith","URL","filter","_ongoingUploads","18982908hJVMzS","getPendingContextItems","addToConversationContext","uiId","_createContextItemFromContent","ai-chat-document-upload-failed","_connector","find","356FLcUtq","addContextOptionsChanged","url-","ai-chat-resource-load-failed","getResources","ai-chat-resource-no-data","fire","_updateResourceInContextState","updateCurrentDocument","files-","334TkMcGk","ai-chat-context-unsupported-type","has","_config","_addToConversationContextItem","from","_addContextItem","attributes","sourceResourcesLoaded","uploadFile","hidden","text/markdown","uploadUrl","_ongoingUploadOperations","addUrlToContext","object","size","urls","addResourceToContext","document","enabled","loadSourceResources","label","object with content and type properties","Current document","isCurrentDocumentInContext","getId","message","error","_getCustomSourcesInitialState","ai-chat-source-resources-load-failed","_convertTextResourceToFile","length","addSelectionToContext","5571800NtGOZq","text/plain","contextItemAdded","isInContext","_conversationContextItems","removeFromContext","text/html","files","_isResourceInContext","delete","mapContextItemsToRequestData","abortController","start","init","isHidden","_finishContextItemLoading","map","SELECTION","abort","stack","FILE","isSelectionInContext","data","_toggleAddCurrentDocumentOptionVisibility","type","selection","getSentContextItems","10482192PTAAyZ","contextItemRemoved","_pendingContextItems","File","getDocument","file-","51702ewTBcV","end","contextItemLoadingEnded","HTML","_removeContextItem","DOCUMENT","_findSourceIdsByResourceId","resources","TEXT","forEach","isCurrentDocumentInConversation","removeSelectionFromContext","ai-chat-url-upload-failed","getData","content","name","resourceId","populateFromMessage","ai-request-aborted","version","ai-chat-file-upload-failed","ai-chat-context-invalid-data","_addContextOptionsState","addFilesToContext","_ownerId","get","clearPendingContextItems","uploadDocument","2179380NggdRJ","uploadProgressChanged","ai-chat-source-not-found","_setAddContextOptionsDefaultState","set","addCurrentDocumentToContext","all","values","MARKDOWN","7200640yycfNy","_startUploadOperation","current-document","sessionId","3032sANylb","resourceStateChanged","string","url","isReadOnly"];return(Y_=function(){return t})()}!function(t){const e=$_,n=t();for(;;)try{if(805813===parseInt(e(454))/1*(parseInt(e(562))/2)+parseInt(e(521))/3*(-parseInt(e(444))/4)+-parseInt(e(558))/5+parseInt(e(549))/6+parseInt(e(515))/7+-parseInt(e(488))/8+parseInt(e(577))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y_);const K_=[W_(490),W_(516),W_(523),W_(568),W_(482),W_(445),W_(462),W_(563),W_(550)];function $_(t,e){const n=Y_();return($_=function(t,e){return n[t-=437]})(t,e)}class Q_ extends((0,s.ObservableMixin)()){[W_(442)];[W_(457)];[W_(545)];constructor({connector:t,config:e,ownerId:n}){const i=W_;super(),this[i(442)]=t,this[i(457)]=e,this[i(545)]=n}[W_(501)](){const t=W_;this[t(517)]=new Map,this[t(492)]=new Map,this[t(576)]=new Map,this[t(467)]=new Map,this[t(552)]()}[W_(437)](){return this[W_(517)]}async[W_(538)](t){const e=W_,n=await this[e(440)](t);return this[e(458)](n),e(560)===n[e(439)]&&this[e(511)](),n}async[W_(440)](t){const e=W_;if(t[e(512)]===U_[e(526)]){const n=await this[e(442)][e(571)](this[e(545)],t.id)[e(519)]();return{id:e(560),uiId:e(560),label:e(478),type:t[e(512)],content:n[e(535)],hidden:this[e(492)][e(456)](e(560)),version:n[e(461)]?.[e(540)],sessionId:n[e(461)]?.[e(561)]}}return{id:t.id,uiId:t.id,label:t[e(461)]?.[e(476)]||t[e(536)]||t[e(565)]||t.id,type:t[e(512)],...t?.[e(461)]?.[e(537)]?{resourceId:t[e(461)]?.[e(537)]}:{}}}[W_(514)](){return new Map(this[W_(492)])}[W_(493)](t){const e=W_,n=this[e(517)][e(546)](t);n?.[e(566)]||this[e(525)](t)}[W_(547)](){const t=W_;if(0===this[t(517)][t(470)])return;for(const e of this[t(517)][t(556)]())this[t(525)](e[t(439)]);const e=this[t(492)][t(546)](t(560))||this[t(517)][t(546)](t(560));e&&this[t(460)]({...e,isReadOnly:!0,hidden:!0})}[W_(438)](t){const e=W_;for(const n of t[e(556)]())this[e(458)](n);this[e(547)](),this[e(450)](e(568),{contextItems:Array[e(459)](this[e(514)]()[e(556)]())})}[W_(479)](){const t=W_;return this[t(517)][t(456)](t(560))}[W_(509)](){const t=W_;return this[t(517)][t(456)](t(513))}[W_(531)](){const t=W_;return this[t(492)][t(456)](t(560))}static[W_(498)](t){const e=W_;return Array[e(459)](t[e(556)]())[e(504)](t=>this[e(570)](t))[e(575)](t=>null!==t)}async[W_(544)](t,e,n=U_[W_(508)]){const i=W_,r=i(453)+(0,s.uid)();this[i(559)](r);try{await Promise[i(555)](t[i(504)](async t=>{const r=i,o=r(520)+(0,s.uid)(),a=pt(t[r(536)]);try{this[r(460)]({type:n,label:e?.[r(476)]||a,uiId:o,resourceId:e?.[r(537)]},!0);const i=this[r(442)][r(463)](this[r(545)],t,e);this[r(576)][r(553)](o,i[r(499)]);const{id:s}=await i[r(480)]();this[r(576)][r(497)](o),this[r(503)]({type:n,id:s,label:e?.[r(476)]||a,uiId:o,resourceId:e?.[r(537)]},!1)}catch(t){if(this[r(576)][r(497)](o),!t[r(481)][r(573)](r(539))){const e=new s.CKEditorError(r(541),null,{fileName:a});e[r(507)]=t[r(507)],this[r(450)](r(482),{error:e,fileName:a})}this[r(525)](o)}}))}finally{this[i(567)](r)}}[W_(554)](t){const e=W_;if(this[e(479)]())return;const n={type:U_[e(526)],uiId:e(560),label:t,isReadOnly:this[e(492)][e(456)](e(560)),hidden:this[e(492)][e(456)](e(560))};this[e(460)](n)}async[W_(452)](t,e,n,i){const r=W_,o=this[r(517)][r(546)](r(560));if(o&&t){o[r(513)]=i?i[r(504)](t=>({start:t[r(500)],end:t[r(522)]})):[];try{if(o[r(540)]===e)return;const{id:i}=await this[r(442)][r(548)](this[r(545)],t,{version:e,sessionId:n})[r(480)]();o.id=i,o[r(535)]=t,o[r(540)]=e,o[r(561)]=n}catch(t){const e=new s.CKEditorError(r(441),null);e[r(507)]=t[r(507)],this[r(450)](r(482),{error:e})}}}[W_(487)](t){const e=W_;this[e(460)]({type:U_[e(505)],label:t,uiId:e(513),content:t})}[W_(532)](){const t=W_;this[t(525)](t(513))}async[W_(468)](t,e){const n=W_,i=n(446)+(0,s.uid)();this[n(559)](i);const r=n(446)+(0,s.uid)();try{this[n(460)]({type:U_[n(574)],label:e?.[n(476)]||t,uiId:r,resourceId:e?.[n(537)]},!0);const i=this[n(442)][n(466)](this[n(545)],t,e);this[n(576)][n(553)](r,i[n(499)]);const{id:o}=await i[n(480)]();this[n(576)][n(497)](r),this[n(503)]({type:U_[n(574)],id:o,label:e?.[n(476)]||t,uiId:r,resourceId:e?.[n(537)]},!1)}catch(e){this[n(576)][n(497)](r),e[n(481)][n(573)](n(539))||this[n(450)](n(482),{error:new s.CKEditorError(n(533),this,{url:t,originalError:e}),url:t}),this[n(525)](r)}finally{this[n(567)](i)}}async[W_(475)](t,e,n){const i=W_,r=this[i(543)][i(572)][i(443)](e=>e.id===t);if(!r)return this[i(450)](i(482),{error:new s.CKEditorError(i(551),this,{sourceId:t}),sourceId:t}),[];try{const o=(await r[i(448)](e))[i(504)](t=>{const e=this[i(496)](t.id);return{...t,isInContext:e}});return r[i(528)]=o,this[i(450)](i(462),{sourceId:t,source:r,resources:o,uid:n}),o}catch(e){return this[i(450)](i(482),{error:new s.CKEditorError(i(484),this,{sourceId:t,originalError:e}),sourceId:t,sourceLabel:r[i(476)]}),[]}}async[W_(472)](t,e){const n=W_;if(this[n(496)](e.id))return;let i=e[n(510)];if(!i&&t[n(534)])try{i=await t[n(534)](e.id)}catch(i){return void this[n(450)](n(482),{error:new s.CKEditorError(n(447),this,{resourceId:e.id,sourceId:t.id,originalError:i}),resourceId:e.id,sourceId:t.id})}if(i)switch(e[n(512)]){case U_[n(574)]:if(n(564)!=typeof i)return void this[n(450)](n(482),{error:new s.CKEditorError(n(542),this,{resourceId:e.id,sourceId:t.id,expectedType:n(564),actualType:typeof i}),resourceId:e.id,sourceId:t.id});await this[n(468)](i,{label:e[n(476)],resourceId:e.id});break;case U_[n(508)]:if(!(i instanceof File))return void this[n(450)](n(482),{error:new s.CKEditorError(n(542),this,{resourceId:e.id,sourceId:t.id,expectedType:n(518),actualType:typeof i}),resourceId:e.id,sourceId:t.id});await this[n(544)]([i],{label:e[n(476)],resourceId:e.id});break;case U_[n(529)]:if(n(469)!=typeof i||!(n(535)in i)||!(n(512)in i))return void this[n(450)](n(482),{error:new s.CKEditorError(n(542),this,{resourceId:e.id,sourceId:t.id,expectedType:n(477),actualType:typeof i}),resourceId:e.id,sourceId:t.id});i=Q_[n(485)](i,e[n(476)]),await this[n(544)]([i],{label:e[n(476)],resourceId:e.id},U_[n(529)]);break;default:this[n(450)](n(482),{error:new s.CKEditorError(n(455),this,{resourceId:e.id,sourceId:t.id,resourceType:e[n(512)]}),resourceId:e.id,sourceId:t.id})}else this[n(450)](n(482),{error:new s.CKEditorError(n(449),this,{resourceId:e.id,sourceId:t.id}),resourceId:e.id,sourceId:t.id})}static[W_(485)](t,e){const n=W_;switch(t[n(512)]){case q_[n(557)]:return new File([t[n(535)]],e,{type:n(465)});case q_[n(524)]:return new File([t[n(535)]],e,{type:n(494)});default:return new File([t[n(535)]],e,{type:n(489)})}}static[W_(570)](t){const e=W_;switch(t[e(512)]){case U_[e(508)]:return{type:U_[e(508)],id:t.id};case U_[e(574)]:return{type:U_[e(574)],id:t.id};case U_[e(526)]:return{type:U_[e(526)],id:t.id,...t[e(513)]?.[e(486)]&&{selection:t[e(513)]}};case U_[e(529)]:return{type:U_[e(508)],id:t.id};default:return null}}[W_(460)](t,e=!1){const n=W_;if(this[n(517)][n(553)](t[n(439)],t),t[n(464)]||this[n(450)](n(490),{contextItem:t,isLoading:e}),n(560)===t[n(439)]&&this[n(511)](),t[n(537)]){const e=this[n(527)](t[n(537)]);e&&e[n(530)](e=>{const i=n;this[i(451)](e,t[i(537)],!0)})}}[W_(525)](t){const e=W_,n=this[e(517)][e(546)](t),i=this[e(576)][e(546)](t);if(i&&(i[e(506)](),this[e(576)][e(497)](t)),n?.[e(537)]){const t=this[e(527)](n[e(537)]);t&&t[e(530)](t=>{const i=e;this[i(451)](t,n[i(537)],!1)})}this[e(517)][e(497)](t),this[e(450)](e(516),{uiId:t,type:n?.[e(512)]}),e(560)===t&&this[e(511)]()}[W_(503)](t,e){const n=W_;if(this[n(517)][n(456)](t[n(439)])&&(this[n(517)][n(553)](t[n(439)],t),this[n(450)](n(523),{contextItem:t,isLoading:e}),t[n(537)])){const e=this[n(527)](t[n(537)]);e&&e[n(530)](e=>{const i=n;this[i(451)](e,t[i(537)],!0)})}}[W_(458)](t){const e=W_;this[e(492)][e(553)](t[e(439)],t)}[W_(552)](){const t=W_;this[t(543)]={document:{enabled:!1!==this[t(457)]?.[t(473)]?.[t(474)],isHidden:!1},urls:{enabled:!1!==this[t(457)]?.[t(471)]?.[t(474)]},files:{enabled:!1!==this[t(457)]?.[t(495)]?.[t(474)]},sources:this[t(483)]()},this[t(450)](t(445),{options:this[t(543)]})}[W_(483)](){const t=W_;return this[t(457)]?.[t(572)]?.[t(504)](t=>({...t,resources:[]}))??[]}[W_(511)](){const t=W_,e=this[t(479)]()||this[t(531)]();this[t(543)][t(473)][t(502)]=e,this[t(450)](t(445),{options:this[t(543)]})}[W_(496)](t){const e=W_;for(const n of this[e(517)][e(556)]())if(n[e(537)]===t)return!0;for(const n of this[e(492)][e(556)]())if(n[e(537)]===t)return!0;return!1}[W_(527)](t){const e=W_,n=[];for(const i of this[e(543)][e(572)])i[e(528)][e(443)](e=>e.id===t)&&n[e(569)](i.id);return 0===n[e(486)]?null:n}[W_(451)](t,e,n){const i=W_,r=this[i(543)][i(572)][i(443)](e=>e.id===t);if(!r)return;const o=r[i(528)][i(443)](t=>t.id===e);o&&(o[i(491)]=n,this[i(450)](i(563),{sourceId:t,resourceId:e,isInContext:n}))}[W_(559)](t){const e=W_;this[e(467)][e(553)](t,!0),this[e(467)][e(470)]&&this[e(450)](e(550),{isUploadInProgress:!0})}[W_(567)](t){const e=W_;this[e(467)][e(497)](t),0===this[e(467)][e(470)]&&this[e(450)](e(550),{isUploadInProgress:!1})}}const X_=tb;function J_(){const t=["19040360WRzpUe","188VgzOTw","reasoning","toggleReasoning","1692800ZghZnV","710490aniMRM","493157ShXguQ","8UzLAOt","fire","16nHDsXe","setReasoning","10902rTKBQh","capabilitiesUpdated","reset","getCapabilitiesConfig","isWebSearchEnabled","_isReasoningEnabled","toggleWebSearch","setWebSearch","getCapabilitiesRequestData","init","3989316PBTEBa","isReasoningEnabled","2223927BWQhTZ","webSearch","_isWebSearchEnabled"];return(J_=function(){return t})()}!function(t){const e=tb,n=t();for(;;)try{if(548451===parseInt(e(501))/1*(-parseInt(e(511))/2)+-parseInt(e(505))/3+-parseInt(e(507))/4*(-parseInt(e(504))/5)+-parseInt(e(495))/6+-parseInt(e(506))/7*(-parseInt(e(509))/8)+-parseInt(e(497))/9+parseInt(e(500))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J_);const Z_=[X_(512)];function tb(t,e){const n=J_();return(tb=function(t,e){return n[t-=494]})(t,e)}class eb extends((0,s.EmitterMixin)()){[X_(499)];[X_(516)];constructor(){const t=X_;super(),this[t(499)]=!1,this[t(516)]=!1}[X_(494)](){this[X_(513)]()}[X_(513)](){const t=X_;this[t(518)](!1),this[t(510)](!1)}[X_(514)](){const t=X_;return{isWebSearchEnabled:this[t(499)],isReasoningEnabled:this[t(516)]}}static[X_(519)](t){const e=X_,n={};return t&&t[e(515)]&&(n[e(498)]={}),t&&t[e(496)]&&(n[e(502)]={}),n}[X_(517)](){const t=X_;this[t(518)](!this[t(499)])}[X_(503)](){const t=X_;this[t(510)](!this[t(516)])}[X_(518)](t){const e=X_;t!==this[e(499)]&&(this[e(499)]=t,this[e(508)](e(512),this[e(514)]()))}[X_(510)](t){const e=X_;t!==this[e(516)]&&(this[e(516)]=t,this[e(508)](e(512),this[e(514)]()))}}function nb(t,e){var n=rb();return(nb=function(t,e){return n[t-=112]})(t,e)}var ib=nb;function rb(){var t=["quickActionData","model","2270586imdGwq","userMessage","sendRequest","connector","8850233lRIGKm","258fuCvEK","8ERoyhy","getDocumentContext","8852hhLkAI","932343BKPwIo","3404115gLEjMY","conversationId","contextItems","getCapabilitiesRequestData","mapContextItemsToRequestData","get","current-document","31938ognQQC","20CJfoCN","20373580BcvACs","queryAssistant","capabilities"];return(rb=function(){return t})()}!function(t){for(var e=nb,n=t();;)try{if(736714===parseInt(e(133))/1+-parseInt(e(124))/2+parseInt(e(129))/3*(-parseInt(e(132))/4)+parseInt(e(118))/5*(-parseInt(e(117))/6)+-parseInt(e(128))/7*(parseInt(e(130))/8)+parseInt(e(134))/9+parseInt(e(119))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rb);class ob extends H_{[ib(125)];[ib(135)];[ib(112)]=new Map;[ib(123)];[ib(122)];constructor(t){var e=ib;super(t),this[e(135)]=t[e(135)],this[e(112)]=t[e(112)],this[e(121)]=t[e(121)],this[e(125)]=t[e(125)],this[e(123)]=t[e(123)],this[e(122)]=t[e(122)]}async[ib(126)](){var t=ib;return this[t(127)][t(120)]({message:this[t(125)],conversationId:this[t(135)],parts:Q_[t(114)](this[t(112)]),capabilities:eb[t(113)](this[t(121)]),model:this[t(123)],quickActionData:this[t(122)]})}[ib(131)](){var t=ib;return this[t(112)][t(115)](t(116))}}function sb(){const t=["ai-chat-conversation-init-failed","removeInteraction","1840890PoNgNS","conversationInitialized","webSearch","text","lastInteraction","push","updateCurrentDocument","getCurrentDocumentContext","stack","getPendingContextItems","stop","ai-chat-handle-user-conversation-not-initialized","modification-delta","populateFromMessage","currentReply","_processMessagesToInteractions","toLowerCase","conversationStarted","startConversation","addFilesToContext","ai-chat-conversation-init-from-id-failed","indexOf","toggleReasoning","fetchConversation","getDocumentContext","isStarted","getAll","interactions","assistant","isCurrentDocumentInContext","ai-chat-conversation-set-model-null","user","group","setModel","666700GaMNcI","toggleWebSearch","ai-chat-conversation-set-model-not-available","addCurrentDocumentToContext","text-delta","modelSelected","quickActionData","role","currentInteraction","reset","set","createReply","getInteraction","model","fetchConversationMessages","selectedModel","removeFromContext","type","2205705WBSyUt","connector","appendContent","chatModels","error","329975JpDHJN","handleUserInteraction","isCurrentDocumentInConversation","_extractContextItems","ai-chat-conversation-start-no-model-selected","destroy","ai-chat-conversation-start-failed","getCapabilitiesConfig","contextItems","attributes","addToConversationContext","addUrlToContext","638982woLWjp","delegate","ai-chat-conversation-already-started","loadSourceResources","init","conversationId","reasoning","addSelectionToContext","removeSelectionFromContext","prompt","isAvailable","chatCapabilities","content","load","1778433hokdqB","message","chatContext","getConversation","setConversationTitle","capabilities","splice","interactionCreated","updateCurrentDocumentInContext","start","getDefault","defaultModelId","hasOwn","getEditor","title","isSelectionInContext","length","find","ai-chat-handle-user-interaction-already-in-progress","createInteraction","getMessages","fire","sessionId","addResourceToContext","1973475pcocPX","options"];return(sb=function(){return t})()}const ab=cb;function cb(t,e){const n=sb();return(cb=function(t,e){return n[t-=171]})(t,e)}!function(t){const e=cb,n=t();for(;;)try{if(303939===parseInt(e(234))/1+-parseInt(e(246))/2+parseInt(e(260))/3+parseInt(e(211))/4+-parseInt(e(229))/5+-parseInt(e(177))/6+parseInt(e(173))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sb);class lb extends((0,s.EmitterMixin)()){id;[ab(202)]=!1;[ab(204)]=[];[ab(219)];[ab(226)];[ab(230)];[ab(174)];constructor(t){const e=ab;super(),this[e(174)]=t,this[e(230)]=t[e(230)],this[e(232)]=t[e(232)],this.id=t[e(251)]}async[ab(250)](t){const e=ab;try{this[e(262)]=new Q_({connector:this[e(230)],config:t,ownerId:this.id}),this[e(262)][e(247)](...K_).to(this),this[e(262)][e(250)](),this[e(257)]=new eb,this[e(257)][e(247)](...Z_).to(this),this[e(257)][e(250)]();const n=await this[e(232)][e(203)]();this[e(281)](e(178),{availableModels:n});const i=await this[e(232)][e(270)](this[e(174)][e(271)]);i&&await this[e(210)](i)}catch(t){const n=new s.CKEditorError(e(175),null,{message:t[e(261)]});n[e(185)]=t[e(185)],this[e(281)](e(233),{error:n})}}async[ab(269)](){const t=ab;if(this[t(202)])throw new s.CKEditorError(t(248),null,{conversation:this});if(!this[t(226)])throw new s.CKEditorError(t(238),null,{conversation:this});try{const{id:e}=await this[t(230)][t(195)](this.id,this[t(174)][t(209)])[t(263)]();this.id=e,this[t(202)]=!0,this[t(281)](t(194),{conversationId:this.id,selectedModel:this[t(226)]})}catch(e){const n=new s.CKEditorError(t(240),null,{message:e[t(261)]});n[t(185)]=e[t(185)],this[t(281)](t(233),{error:n})}}async[ab(259)](t,e){const n=ab;try{const i=await this[n(230)][n(200)](t)[n(263)](),r=await this[n(230)][n(225)](t)[n(280)](),o=r[0][n(224)];this[n(202)]=!0,this.id=i.id,n(274)in i?this[n(281)](n(264),i[n(274)],!0):this[n(281)](n(264),"",!0);const s=(await this[n(232)][n(203)]())[n(277)](t=>t.id[n(193)]()===o[n(193)]());return this[n(226)]=s,this[n(281)](n(216),{selectedModel:s,isDisabled:!0}),await this[n(192)](r,e,o),this[n(219)]=void 0,this}catch(e){const i=new s.CKEditorError(n(197),null,{message:e[n(261)],conversationId:t});throw i[n(185)]=e[n(185)],this[n(281)](n(233),{error:i}),i}}async[ab(192)](t,e,n){const i=ab;let r;for(const o of t)if(i(208)===o[i(218)]){const t=await this[i(237)](o),e={isReasoningEnabled:Object[i(272)](o[i(265)],i(252)),isWebSearchEnabled:Object[i(272)](o[i(265)],i(179))};r=this[i(279)]({userMessage:o[i(255)],contextItems:t,capabilities:e,modelId:n,quickActionData:o[i(243)]?.[i(217)]}),this[i(219)]=r,this[i(262)][i(244)](this[i(219)][i(242)])}else if(i(205)===o[i(218)]&&r)for(const t of o[i(258)]){const n=i(180)===t[i(228)]?i(215):i(189),o=r[i(201)]()?.[i(171)]!==e;r[i(191)]=r[i(222)]({type:n,isDone:!0,interactionId:r.id,areActionsDisabled:o}),r[i(191)][i(231)](t[i(258)])}}async[ab(237)](t){const e=ab,n=new Map;if(!t[e(258)])return n;for(const i of t[e(258)]){const t=await this[e(262)][e(190)](i);t&&n[e(221)](t.id,t)}return n}async[ab(235)]({userMessage:t,quickActionData:e}){const n=ab;if(!this[n(202)])throw new s.CKEditorError(n(188),null,{conversation:this});if(this[n(219)])throw new s.CKEditorError(n(278),null,{conversation:this});try{const i=this[n(262)][n(186)](),r=this[n(257)][n(241)](),o=this[n(226)].id;this[n(219)]=this[n(279)]({userMessage:t,contextItems:i,capabilities:r,modelId:o,quickActionData:e}),await this[n(219)][n(269)](),this[n(262)][n(244)](this[n(219)][n(242)])}catch(t){this[n(281)](n(233),{interactionId:this[n(219)]?this[n(219)].id:void 0,error:t})}finally{this[n(219)]?.[n(187)](),this[n(219)]=void 0}}[ab(279)]({userMessage:t,contextItems:e,capabilities:n,modelId:i,quickActionData:r}){const o=ab,s=new ob({userMessage:t,contextItems:e,capabilities:n,conversationId:this.id,connector:this[o(230)],editor:this[o(174)][o(273)]&&this[o(174)][o(273)](),model:i,quickActionData:r});return s[o(247)](...D_).to(this),this[o(204)][o(182)](s),this[o(281)](o(267),s),s}[ab(223)](t){const e=ab;return this[e(204)][e(277)](e=>e.id===t)}[ab(176)](t){const e=ab,n=this[e(223)](t);n&&(n[e(239)](),this[e(204)][e(266)](this[e(204)][e(198)](n),1))}get[ab(181)](){const t=ab;return this[t(204)][this[t(204)][t(276)]-1]}[ab(214)](t){const e=ab;this[e(262)][e(214)](t)}async[ab(268)]({content:t,version:e,sessionId:n,selections:i}){const r=ab;await this[r(262)][r(183)](t,e,n,i)}[ab(184)](){const t=ab;return this[t(219)]?.[t(201)]()?.[t(258)]||""}[ab(253)](t){const e=ab;this[e(262)][e(253)](t)}[ab(254)](){const t=ab;this[t(262)][t(254)]()}[ab(196)](t){const e=ab;this[e(262)][e(196)](t)}[ab(245)](t){const e=ab;this[e(262)][e(245)](t)}[ab(172)](t,e){const n=ab;this[n(262)][n(172)](t,e)}[ab(249)](t,e,n){const i=ab;return this[i(262)][i(249)](t,e,n)}[ab(227)](t){const e=ab;this[e(262)][e(227)](t)}[ab(212)](){const t=ab;this[t(257)][t(212)]()}[ab(199)](){const t=ab;this[t(257)][t(199)]()}[ab(206)](){const t=ab;return this[t(262)][t(206)]()}[ab(236)](){const t=ab;return this[t(262)][t(236)]()}[ab(275)](){const t=ab;return this[t(262)][t(275)]()}async[ab(210)](t){const e=ab;if(!t)throw new s.CKEditorError(e(207),null,{conversation:this});if(!1===await this[e(232)][e(256)](t))throw new s.CKEditorError(e(213),null,{conversation:this,model:t});t.id!==this[e(226)]?.id&&(this[e(226)]=t,this[e(257)][e(220)](),this[e(281)](e(216),{selectedModel:t}))}}function ub(){var t=["900700eYEpVm","6308630cTcjoc","28EDWRzF","110BdGMNw","12ASDMat","22zoxfVx","5002608YqRFLo","get","1579834dLJDgF","229380VofMEy","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.","length","2764064LhOPyW","2232248AbKAWb","ai-get-editor-from-context-no-editor","9XYOTrr","editors","warn"];return(ub=function(){return t})()}function hb(t,e){var n=ub();return(hb=function(t,e){return n[t-=478]})(t,e)}function db(t){var e=hb;if(t instanceof r.Editor)return t;if(t?.[e(481)]&&t[e(481)][e(490)](0))return t[e(481)][e(494)]>1&&console[e(482)](e(493)),t[e(481)][e(490)](0);throw new s.CKEditorError(e(479))}!function(t){for(var e=hb,n=t();;)try{if(947419===parseInt(e(491))/1+parseInt(e(483))/2*(-parseInt(e(487))/3)+parseInt(e(495))/4+-parseInt(e(486))/5*(parseInt(e(492))/6)+parseInt(e(485))/7*(parseInt(e(478))/8)+parseInt(e(480))/9*(-parseInt(e(484))/10)+parseInt(e(488))/11*(parseInt(e(489))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ub);const pb=mb;function fb(){const t=["2000384edgBop","markerName","isOfficialPlugin","schema","sort","createRange","markerToElement","convertAiChatSelectionMarker","has","from","1438XIKNFX","14rQmAsb","trim",":start>","11862hEvPZw","ck-fake-ai-selection","getDocumentData","selection","indexOf","_displayedFakeSelectionLocked","removeMarker","sessionId","_setDataIdsOnChildren","createUIElement","171300TWytWk","toData","isBefore","16095453NhtMOp","_getMarkersInDocumentOrder","setAttribute","substring","showFakeVisualSelection","modelToViewWithIds","_nextDataId","getSelection","$textProxy","ai-selection:","removeAllRanges","786ucFFRZ","document","ai-selection","add","plugins","isPremiumPlugin","editors","floor","604QpSPTh","listenTo","markerToHighlight","RealTimeCollaborationClient","isOpening","version","isContent","fromCharCode","createRangeIn","getSelectionText",":end>",":start></","addMarker","toView","length","join","12435hZPCyo","getRoot","pluginName","get","_sessionId","isAfter","containerElement","ready","afterInit","editing","getLastMatchingPosition","getChildren","element","markers","getStart","AIEditing",":end></","for","20GNOxAV","context","start","isAtEnd","data","view","random","model","processor","conversion","push","editingDowncast","data-id","dataDowncast","end","110624agoAfx","_displayedFakeSelectionId","hideFakeVisualSelection","ck-ai-assistant-ui_theme","getWalker","emptyElement","change","name","getMarkersGroup","_integrateEditor","getSelectedContent"];return(fb=function(){return t})()}function mb(t,e){const n=fb();return(mb=function(t,e){return n[t-=231]})(t,e)}!function(t){const e=mb,n=t();for(;;)try{if(285174===parseInt(e(336))/1*(-parseInt(e(266))/2)+parseInt(e(244))/3+-parseInt(e(326))/4+parseInt(e(282))/5*(-parseInt(e(258))/6)+-parseInt(e(231))/7*(-parseInt(e(315))/8)+parseInt(e(234))/9*(-parseInt(e(300))/10)+parseInt(e(247))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fb);const gb=pb(260);class kb extends r.ContextPlugin{[pb(316)]=null;[pb(239)]=!1;[pb(286)];static get[pb(284)](){return pb(297)}static get[pb(328)](){return!0}static get[pb(263)](){return!0}get[pb(241)](){const t=pb;if(!this[t(286)]){const e=db(this[t(301)]),n=e[t(262)][t(334)](t(269))&&e[t(262)][t(285)](t(269))[t(241)];this[t(286)]=n||(0,s.uid)()}return this[t(286)]}[pb(236)](){const t=pb,e=db(this[t(301)]),n=e[t(307)],i=e[t(304)][t(279)](n[t(259)][t(283)](),{convertAiChatSelectionMarker:!0}),r=new u.ViewDowncastWriter(e[t(291)][t(305)][t(259)]);this[t(242)](i,r);let o=e[t(304)][t(308)][t(245)](i);const s=this[t(248)](),a=[];for(const e of s){const n="<"+e[t(322)]+t(277)+e[t(322)]+t(233),i=o[t(238)](n);o=o[t(250)](0,i)+o[t(250)](i+n[t(280)]);const r="<"+e[t(322)]+t(298)+e[t(322)]+t(276),s=o[t(238)](r);o=o[t(250)](0,s)+o[t(250)](s+r[t(280)]),a[t(310)]({markerName:e[t(322)],start:i,end:s,htmlFragment:o[t(250)](i,s)})}return{content:o,version:e[t(307)][t(259)][t(271)],sessionId:this[t(241)],selections:a}}async[pb(290)](){const t=pb;this[t(301)]instanceof r.Editor?this[t(324)](this[t(301)]):this[t(267)](this[t(301)][t(264)],t(261),(e,n)=>{const i=t;n.on(i(289),()=>{this[i(324)](n)})})}[pb(324)](t){const e=pb;t[e(309)][e(299)](e(311))[e(268)]({model:e(260),view:{classes:[e(235),e(318)],priority:12}}),t[e(309)][e(299)](e(313))[e(332)]({model:e(260),view:(t,{writer:n,options:i})=>i[e(333)]?n[e(243)](t[e(327)]+":"+(t[e(270)]?e(302):e(314))):null})}[pb(251)](t,e,n=!1,i=!1){const r=pb;if(this[r(239)]&&!i)return!1;this[r(316)]&&this[r(317)](this[r(316)]),this[r(316)]=e,this[r(239)]=n;const o=db(this[r(301)])[r(307)];return o[r(321)](e=>{const n=r;let i=0;for(let r of t){const t=n(256)+i;if(r[n(302)][n(303)]){const t=r[n(302)][n(292)](({item:t})=>!o[n(329)][n(272)](t),{boundaries:r});r=e[n(331)](t,r[n(314)])}e[n(278)](t,{usingOperation:!1,affectsData:!1,range:r}),i++}}),window[r(254)]()?.[r(257)](),!0}[pb(317)](t){const e=pb;if(this[e(316)]!=t)return!1;this[e(316)]=null,this[e(239)]=!1;const n=db(this[e(301)]),i=n[e(307)][e(295)][e(323)](e(260));return n[e(307)][e(321)](t=>{const n=e;for(const e of i)t[n(240)](e)}),!0}[pb(252)](t){const e=pb,n=db(this[e(301)]),i=n[e(304)][e(279)](t),r=new u.ViewDowncastWriter(n[e(291)][e(305)][e(259)]);return this[e(242)](i,r),i}[pb(242)](t,e){const n=pb;let i=!1;const r=new Set;for(const o of t[n(293)]()){const t=o.is(n(320))||o.is(n(288));o.is(n(294))&&((this[n(242)](o,e)||t)&&(e[n(249)](n(312),this[n(253)](r),o),i=!0))}return i}[pb(253)](t){const e=pb;let n;do{n="";for(let t=0;t<4;t++)n+=String[e(273)](97+Math[e(265)](26*Math[e(306)]()))}while(t[e(334)](n));return t[e(261)](n),n}[pb(275)](){const t=pb,{model:e}=db(this[t(301)]),n=e[t(259)][t(237)],i=e[t(325)](n),r=[],o=e[t(274)](i)[t(319)]();for(const{item:e}of o)e.is(t(255))?r[t(310)](e[t(304)]):e.is(t(294))&&r[t(280)]>0&&" "!==r[r[t(280)]-1]&&r[t(310)](" ");return'"'+r[t(281)]("")[t(232)]()+'"'}[pb(248)](){const t=pb,e=db(this[t(301)])[t(307)];return Array[t(335)](e[t(295)][t(323)](t(260)))[t(330)]((e,n)=>e[t(296)]()[t(246)](n[t(296)]())?-1:e[t(296)]()[t(287)](n[t(296)]())?1:0)}}const _b=wb;function bb(){const t=["13196IGjPQt","items","length","some","find","getAll","45CHayiN","1260335KoYzzj","list","6906672stdmsQ","7EsXthu","357615JVbVyF","265546yyoPZl","getModels","isAvailable","filter","capabilities","_connector","getDefault","2881422cOJGzz","values","provider","1466356dFYdpT","enabled","ai-chat-default-model-id-unrecognized","name","_modelList","sort"];return(bb=function(){return t})()}function wb(t,e){const n=bb();return(wb=function(t,e){return n[t-=451]})(t,e)}!function(t){const e=wb,n=t();for(;;)try{if(593356===parseInt(e(472))/1+parseInt(e(460))/2*(parseInt(e(466))/3)+-parseInt(e(454))/4+parseInt(e(467))/5+parseInt(e(451))/6*(-parseInt(e(470))/7)+parseInt(e(469))/8+-parseInt(e(471))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bb);class vb extends((0,s.EmitterMixin)()){[_b(458)]=[];[_b(477)];constructor({connector:t}){const e=_b;super(),this[e(477)]=t}async[_b(465)](){const t=_b;if(!this[t(458)][t(462)]){const e=this[t(477)][t(473)](),n=(await e[t(468)]())[t(461)][t(459)]((e,n)=>{const i=t,r=Object[i(452)](e[i(476)])[i(475)](t=>t[i(455)])[i(462)];return Object[i(452)](n[i(476)])[i(475)](t=>t[i(455)])[i(462)]-r});this[t(458)]=n}return this[t(458)]}async[_b(478)](t){const e=_b,n=await this[e(465)]();if(!n[e(462)])return null;if(t){const i=n[e(464)](e=>e.id===t);if(i)return i;(0,s.logWarning)(e(456),{defaultModelId:t,fallBackModelId:n[0].id})}return n[0]}async[_b(474)](t){const e=_b;return(await this[e(465)]())[e(463)](n=>n[e(457)]===t[e(457)]&&n[e(453)]===t[e(453)])}}const Ib=yb;function yb(t,e){const n=Ab();return(yb=function(t,e){return n[t-=277]})(t,e)}function Ab(){const t=["Permissions","clearForceDisabled","6BTsSMo","CommentsOnly","isEnabled","includes","comment:admin","comment:write","get","plugins","setPermissions","enableReadOnlyMode","addCommentThread","no-permissions","496GjDhnw","noPermissions","permissions-set-permissions-invalid-channel-id","1500093nmkpBI","isOfficialPlugin","config","CommentsRepository","has","disableReadOnlyMode","pluginName","isPremiumPlugin","31329rDRaSd","collaboration.channelId","1200295vLOwZd","3703830bNJqJm","743196rgUfTF","1261320WZysWk","editors","forceDisabled","comment:modify_all","11586LWfOCV","commands","3Whgzuq","context","find","document:write"];return(Ab=function(){return t})()}!function(t){const e=yb,n=t();for(;;)try{if(129668===parseInt(e(306))/1*(-parseInt(e(314))/2)+-parseInt(e(308))/3*(parseInt(e(301))/4)+-parseInt(e(299))/5+-parseInt(e(302))/6+parseInt(e(289))/7+-parseInt(e(286))/8*(-parseInt(e(297))/9)+parseInt(e(300))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ab);r.ContextPlugin,Ib(295),Ib(290),Ib(296),Ib(282);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=vt(),Tb.insertStyleElement=Tt();bt()(xb.A,Tb);xb.A&&xb.A.locals&&xb.A.locals;const Cb=Rb;function Sb(){const t=["getSelectionClass","config","init","154880fUqODO","isMe","Users","users-add-duplicated-id","_id","_myId","getMarkerClass","avatar","users-me-already-defined","requires","codePointAt","users-me-missing-user","get","users.colorsCount","split","test","4jToMwU","197583QNskid","30oHEiAt","initials","ck-user__bg-color--","ck-user__selection--","length","isPremiumPlugin","string","ck-user__marker--","getBackgroundColorClass","define","_isMe","users.getInitialsCallback","577475aAZfPM","getUser","context","trim","users-add-invalid-id","361335NRVlTx","_locale","filter","name","has","Anonymous","259QfXnrx","25710ZfvRoS","locale","decorate","_computeInitials","addUser","_addAnonymousUser","isOfficialPlugin","1437237yUifgl","defineMe","getOperationAuthor","_getInitial","isAnonymous","anonymous-user","_isAnonymous","783328NZeMAj","users.anonymousUserId","add","_getNextColor","useAnonymousUser","pluginName","color","fromCodePoint","toUpperCase","_lastColor","users"];return(Sb=function(){return t})()}function Rb(t,e){const n=Sb();return(Rb=function(t,e){return n[t-=291]})(t,e)}!function(t){const e=Rb,n=t();for(;;)try{if(220928===parseInt(e(335))/1+parseInt(e(334))/2*(-parseInt(e(353))/3)+-parseInt(e(318))/4+-parseInt(e(348))/5+-parseInt(e(360))/6*(parseInt(e(359))/7)+parseInt(e(304))/8+parseInt(e(297))/9*(parseInt(e(336))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Sb);r.ContextPlugin,Cb(314),Cb(313),Cb(323),Cb(354),Cb(309),Cb(296),Cb(341),Cb(327),Cb(317),Cb(294),Cb(349),Cb(308),Cb(298),Cb(299),Cb(307),Cb(295);Cb(310),Cb(356),Cb(337),Cb(325),Cb(346),Cb(303),Cb(301),Cb(319),Cb(293),Cb(300);Cb(322),Cb(344),Cb(315),Cb(324);var Ob=n(910),Nb={attributes:{"data-cke":!0}};Nb.setAttributes=Et(),Nb.insert=yt().bind(null,"head"),Nb.domAPI=vt(),Nb.insertStyleElement=Tt();bt()(Ob.A,Nb);Ob.A&&Ob.A.locals&&Ob.A.locals;const Mb=Pb;function Lb(){const t=["avatar","isMe","ck-user__anonymous","1421176GOytQn","765QFXEgN","div","50QaRvxD","270UoSujd","ck-user","extendTemplate","name","content","173644vcawge","push","url('","setTemplate","ck ck-user__name","1027974IGAxcj","ck-user__icon","2262139yADkYt","201987vcpTRy","20vTaVJF","ck-user__avatar","notificationView","ck-user_me","559530hNkUgS","ck-user__img","isAnonymous","ck-user__notification","ck ck-user__name ck-user__name--hidden","initials","7aezRIb"];return(Lb=function(){return t})()}function Pb(t,e){const n=Lb();return(Pb=function(t,e){return n[t-=385]})(t,e)}!function(t){const e=Pb,n=t();for(;;)try{if(139401===parseInt(e(390))/1*(-parseInt(e(393))/2)+-parseInt(e(411))/3+-parseInt(e(398))/4*(-parseInt(e(407))/5)+-parseInt(e(403))/6*(-parseInt(e(385))/7)+parseInt(e(389))/8+parseInt(e(406))/9*(parseInt(e(392))/10)+-parseInt(e(405))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lb);a.View,Mb(396),Mb(409);function Db(t,e){var n=Hb();return(Db=function(t,e){return n[t-=306]})(t,e)}!function(t){for(var e=Db,n=t();;)try{if(676388===parseInt(e(315))/1*(parseInt(e(313))/2)+-parseInt(e(317))/3+-parseInt(e(316))/4*(-parseInt(e(312))/5)+parseInt(e(318))/6+parseInt(e(319))/7*(-parseInt(e(306))/8)+-parseInt(e(314))/9+parseInt(e(310))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Hb);a.View;function Hb(){var t=["8958915MvnNHz","1023wpRIqW","12KheOKg","914505WQyAQn","5555274wgZVTR","1722iYqJyE","11144nwhIXL","ck-aria-description-","setTemplate","span","2756990AxmhUW","ck-aria-description","1738465EuAlKp","146jJcawE"];return(Hb=function(){return t})()}var Bb=Ub;function Ub(t,e){var n=qb();return(Ub=function(t,e){return n[t-=153]})(t,e)}!function(t){for(var e=Ub,n=t();;)try{if(355003===-parseInt(e(171))/1*(-parseInt(e(158))/2)+parseInt(e(168))/3*(-parseInt(e(154))/4)+-parseInt(e(157))/5+-parseInt(e(155))/6*(-parseInt(e(166))/7)+parseInt(e(165))/8*(parseInt(e(163))/9)+-parseInt(e(156))/10*(-parseInt(e(159))/11)+-parseInt(e(164))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qb);a.ButtonView,Bb(160);class Vb extends a.DropdownButtonView{[Bb(160)](){super[Bb(160)](),Fb(this)}}function Fb(t){var e=Bb;t[e(167)](t[e(172)],e(169),(t,n)=>{var i=e;n[i(162)](),n[i(153)]()}),t[e(167)](t[e(172)],e(170),()=>{var n=e;t[n(172)][n(161)]()})}function qb(){var t=["351398pHPkTA","815727OWPMne","render","focus","stopPropagation","49203TSwApS","2344080Gdfezh","584JnZkHK","7nLfCqK","listenTo","5325oPeCQF","mousedown","mouseup","2Ncbgot","element","preventDefault","532DGQbxR","184890ovQRDZ","50hOReHo","1828355BMwMIs"];return(qb=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 rw(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[i,r,o,s,a,c,l]=n.formatToParts?function(t,e){const n=t.formatToParts(e),i=[];for(let t=0;t<n.length;t++){const{type:e,value:r}=n[t],o=Yb[e];"era"===e?i[o]=r:Zb(o)||(i[o]=parseInt(r,10))}return i}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,o,s,a,c,l,u]=i;return[s,r,o,a,c,l,u]}(n,e);"BC"===s&&(i=1-Math.abs(i));let u=+e;const h=u%1e3;return u-=h>=0?h:1e3+h,(iw({year:i,month:r,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 Jb={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};Jb.hanidec.replace(/[\[|\]]/g,"").split("");new Map;function Zb(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 Zb(t)||null===t||""===t?void 0:parseInt(t,10)}function nw(t){if(!Zb(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function iw(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 rw(t,e,n,i=null){const r=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(o.timeZone=i);const s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(n,s).formatToParts(r).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 i=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-i:i)}function sw(t,e){const n=Math.trunc(Math.abs(t/60)),i=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${tw(n,2)}:${tw(i,2)}`;case"narrow":return`${r}${n}${i>0?`:${i}`:""}`;case"techie":return`${r}${tw(n,2)}${tw(i,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,i],r)=>{const[o,s,a]=r(e,i);return[{...t,...o},s||n,a]},[{},null,1]).slice(0,2)}function uw(...t){return(e,n)=>{const i={};let r;for(r=0;r<t.length;r++)i[t[r]]=ew(e[n+r]);return[i,null,n+r]}}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})?`),mw=uw("weekYear","weekNumber","weekDay"),gw=uw("year","ordinal"),kw=RegExp(`${dw.source} ?(?:${hw.source}|(${aw.source}))?`),_w=RegExp(`(?: ${kw.source})?`);function bw(t,e,n){const i=t[e];return Zb(i)?n:ew(i)}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 vw(t,e){const n=!t[e]&&!t[e+1],i=ow(t[e+1],t[e+2]);return[{},n?null:Xb.instance(i),e+3]}function Iw(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,vw,Iw),lw(mw,ww,vw,Iw),lw(gw,ww,vw,Iw),lw(ww,vw,Iw);lw(ww);cw(/(\d{4})-(\d\d)-(\d\d)/,_w),cw(kw),lw(ww,vw,Iw);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(){const t=["floor","hh:mma","Yesterday","4543429PUFgFM","diff","'Today' hh:mma","2790528AIfDnR","invalid-date-time-format","369336SqUdui","'Last' EEEE hh:mma","toFormat","Today","10cAsqwN","1362RfhRwS","fromJSDate","toJSDate","4552074uacEhQ","14590HMguDD","function","days","126cClxoy","EEEE","string","dateTimeFormat","now","LL-dd-yyyy hh:mma","'Yesterday' hh:mma","3994mUqrTl","16IjfMrP","fromISO","Last","3376408jhDDKM"];return(Cw=function(){return t})()}function Sw(t,e){const n=Cw();return(Sw=function(t,e){return n[t-=442]})(t,e)}function Rw(){const t=["1308816hIQAUe","getClientRects","values","mapper","push","42FzmXkC","30cHGnVm","markerNameToElements","2443275xgIMiv","item","18687460htbpYI","138DiDCEk","3280784xyrEjP","from","view","map","2EditBJ","domElement","domConverter","name","219224HCSJDE","filter","length","sort","mapViewToDom","17474aPoLnh","120115ZKvuQP"];return(Rw=function(){return t})()}function Ow(t,e){const n=Rw();return(Ow=function(t,e){return n[t-=205]})(t,e)}function Nw(t,e){const n=Mw();return(Nw=function(t,e){return n[t-=445]})(t,e)}function Mw(){const t=["244erQKZE","1698919GsGtVg","indexOf","6014165kfIvkN","substring","push","32LTLUKR","pop","slice","15290lvnyHS","12859FjuGyJ","1164nJLDXN","147308swTUMv","257101bvCyuD","length","16734WIlHdW","split","match","...","6EJMNNN","replace","startsWith","1262340UKMTik","4loKZAX","join"];return(Mw=function(){return t})()}!function(t){const e=Sw,n=t();for(;;)try{if(354103===-parseInt(e(457))/1*(-parseInt(e(450))/2)+-parseInt(e(470))/3*(-parseInt(e(458))/4)+parseInt(e(447))/5*(parseInt(e(443))/6)+-parseInt(e(461))/7+parseInt(e(468))/8+-parseInt(e(446))/9*(parseInt(e(442))/10)+-parseInt(e(465))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Cw),function(t){const e=Ow,n=t();for(;;)try{if(568886===parseInt(e(218))/1*(parseInt(e(227))/2)+-parseInt(e(210))/3+parseInt(e(214))/4+parseInt(e(228))/5*(-parseInt(e(213))/6)+-parseInt(e(207))/7*(parseInt(e(222))/8)+parseInt(e(229))/9*(-parseInt(e(208))/10)+parseInt(e(212))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Rw);!function(t){const e=Nw,n=t();for(;;)try{if(897482===-parseInt(e(455))/1+parseInt(e(454))/2*(parseInt(e(469))/3)+parseInt(e(452))/4*(parseInt(e(457))/5)+parseInt(e(448))/6*(parseInt(e(466))/7)+-parseInt(e(460))/8*(-parseInt(e(451))/9)+-parseInt(e(463))/10*(parseInt(e(464))/11)+-parseInt(e(465))/12*(-parseInt(e(467))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mw);var Lw=n(909),Pw={attributes:{"data-cke":!0}};Pw.setAttributes=Et(),Pw.insert=yt().bind(null,"head"),Pw.domAPI=vt(),Pw.insertStyleElement=Tt();bt()(Lw.A,Pw);Lw.A&&Lw.A.locals&&Lw.A.locals;const Dw=Hw;function Hw(t,e){const n=Bw();return(Hw=function(t,e){return n[t-=191]})(t,e)}function Bw(){const t=["alertdialog","10YsmQKP","render","6UWpNjT","focusTracker","setTemplate","bindTemplate","label","1274259bLJrsB","element","forEach","add","ck-confirm-view","ck-confirm-view-","icon","execute","Yes","40062KDUvhr","submitView","extendTemplate","492paacpv","_setupKeyboardNavigation","2993769bKKAMx","cancelView","keystrokes","2YRgWoa","div","cancel","set","message","shift+tab","648294oMiQsS","_createButtonView","ck-confirm-view-inner","focus","Are you sure?","focusCycler","listenTo","tab","1815464bpMCut","ck-confirm-view-actions","354433LYAIBh","esc","submit","focusables","1329565cskOdx","presentation","fire","createCollection","8myIvqW"];return(Bw=function(){return t})()}!function(t){const e=Hw,n=t();for(;;)try{if(325006===-parseInt(e(234))/1*(-parseInt(e(218))/2)+-parseInt(e(224))/3+parseInt(e(232))/4+-parseInt(e(238))/5*(parseInt(e(196))/6)+-parseInt(e(201))/7*(-parseInt(e(192))/8)+parseInt(e(215))/9*(-parseInt(e(194))/10)+-parseInt(e(210))/11*(-parseInt(e(213))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Bw);class Uw extends a.View{[Dw(211)];[Dw(216)];[Dw(197)];[Dw(217)];[Dw(229)];[Dw(237)];constructor(t){const e=Dw;super(t);const n=this[e(199)];this[e(221)](e(222),Eb(t,e(228))),this[e(211)]=this[e(225)](t,Eb(t,e(209)),o.IconCheck,e(236)),this[e(216)]=this[e(225)](t,Eb(t,"No"),o.IconCancel,e(220)),this[e(237)]=this[e(191)]([this[e(211)],this[e(216)]]),this[e(197)]=new s.FocusTracker,this[e(217)]=new s.KeystrokeHandler,this[e(229)]=new a.FocusCycler({focusables:this[e(237)],focusTracker:this[e(197)],keystrokeHandler:this[e(217)],actions:{focusPrevious:e(223),focusNext:e(231)}}),this[e(198)]({tag:e(219),attributes:{class:["ck",e(205)],tabindex:-1,role:e(193)},children:[{tag:e(219),attributes:{class:e(226),role:e(239)},children:[{tag:"p",children:[{text:n.to(e(222))}]},{tag:e(219),attributes:{class:e(233)},children:[this[e(211)],this[e(216)]]}]}]})}[Dw(195)](){const t=Dw;super[t(195)](),this[t(214)]()}[Dw(227)](){const t=Dw;this[t(216)][t(202)][t(227)]({preventScroll:!0})}[Dw(225)](t,e,n,i){const r=Dw,o=new a.ButtonView(t);return o[r(200)]=e,o[r(207)]=n,o[r(212)]({attributes:{class:r(206)+i}}),o.on(r(208),()=>this[r(240)](i)),o}[Dw(214)](){const t=Dw;this[t(237)][t(203)](e=>{const n=t;this[n(217)][n(230)](e[n(202)]),this[n(197)][n(204)](e[n(202)])}),this[t(217)][t(221)](t(235),(e,n)=>{const i=t;this[i(240)](i(220)),n()})}}function Vw(t,e){var n=Fw();return(Vw=function(t,e){return n[t-=474]})(t,e)}function Fw(){var t=["appendChild","cancel","11CPPuoX","_removeConfirm","40512cKvWpy","deregisterChild","showConfirm","isConfirm","confirmView","removeConfirm","1662829STZImb","128815pYTaVP","once","2301cWUPpS","add","9888ICaokB","118XiiWqN","ck-confirm-view-active","destroy","focus","element","set","classList","render","message","fire","6SYwcTS","14039883mWnRsT","locale","4iXYbxb","6233530ySqjfr","remove","6791710EOuHHO","cancelConfirm","registerChild","change:isConfirm","8oYvVCf","submit"];return(Fw=function(){return t})()}function qw(){const t=["number","5ufNbGr","1500490bASSVp","string","toString","object","50409OsbEwt","19129770kxiADm","keys","2175224snjXCD","14khLRmI","1549112aQJFQp","sort","36QNBOjh","7WlBIDv","sign","isArray","30201PeBwsD","2632224xCGYHD","charCodeAt"];return(qw=function(){return t})()}function zw(t,e){const n=qw();return(zw=function(t,e){return n[t-=132]})(t,e)}!function(t){for(var e=Vw,n=t();;)try{if(887238===parseInt(e(511))/1+parseInt(e(478))/2*(parseInt(e(504))/3)+parseInt(e(491))/4*(-parseInt(e(494))/5)+-parseInt(e(488))/6*(-parseInt(e(510))/7)+parseInt(e(498))/8*(parseInt(e(489))/9)+-parseInt(e(492))/10*(parseInt(e(502))/11)+-parseInt(e(477))/12*(-parseInt(e(475))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Fw),function(t){const e=zw,n=t();for(;;)try{if(329943===parseInt(e(142))/1+-parseInt(e(146))/2*(parseInt(e(133))/3)+-parseInt(e(145))/4*(parseInt(e(137))/5)+-parseInt(e(134))/6+-parseInt(e(150))/7*(-parseInt(e(147))/8)+-parseInt(e(149))/9*(parseInt(e(138))/10)+parseInt(e(143))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(qw);const Gw=jw;function jw(t,e){const n=Ww();return(jw=function(t,e){return n[t-=298]})(t,e)}!function(t){const e=jw,n=t();for(;;)try{if(530978===-parseInt(e(306))/1+parseInt(e(342))/2*(-parseInt(e(307))/3)+-parseInt(e(340))/4*(parseInt(e(337))/5)+parseInt(e(322))/6*(-parseInt(e(323))/7)+-parseInt(e(335))/8*(parseInt(e(308))/9)+-parseInt(e(311))/10*(-parseInt(e(319))/11)+-parseInt(e(313))/12*(-parseInt(e(315))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ww);Gw(314),Gw(299),Gw(309),Gw(334),Gw(298),Gw(318),Gw(343),Gw(328),Gw(327),Gw(333);function Ww(){const t=["DocumentOutline","WordCount","includes","builtinPlugins","removePlugins","every","WProofreader","rootsAttributes","8aECJSf","string","4626415qAOiaV","find","concat","4CnVKwk","set","2MlgbGa","Autosave","WebSocketGateway","context","requires","plugins","_context","constructor","prototype","length","107936kaOara","1390797chhTJr","7212123JeCWik","toolbar","map","80sekCVl","names","26387832wMoXxe","initialData","13frYWEs","config","get","RevisionTracker","983785RkMVSe","filter","from","1434IWxFyu","2499lSXWsF","has","extraPlugins","pluginName"];return(Ww=function(){return t})()}function Yw(){const t=["getRange","push","selection","2NwFJbF","6DYtMRv","11LJHPIA","4574927OeyLrr","224120LNovkT","24nhYNCM","884664XgnyFd","start","change:range","document","3197816PGeOAg","includes","1628073jtXQtb","length","12419530gzydil","end","isEqual","markers","1395980MHEABs","containsPosition","focus"];return(Yw=function(){return t})()}function Kw(t,e){const n=Yw();return(Kw=function(t,e){return n[t-=289]})(t,e)}!function(t){const e=Kw,n=t();for(;;)try{if(403789===parseInt(e(292))/1+-parseInt(e(312))/2*(parseInt(e(294))/3)+parseInt(e(298))/4+-parseInt(e(306))/5+-parseInt(e(289))/6*(-parseInt(e(291))/7)+-parseInt(e(293))/8*(-parseInt(e(300))/9)+parseInt(e(302))/10*(-parseInt(e(290))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yw);const $w=Xw;function Qw(){const t=["added","4yHqSNj","reverse","listenTo","Ctrl+Shift+E","fire","chain","set","stopListening","922804MFYMym","3IdVHTi","3776448ZokFXk","change","escape","378950edBFWz","756924TkktyW","isRendered","actions","focusTracker","3740RhIQow","arrowdown","8341553NgxsJS","focus","unchain","esc","14022NhVUjm","1560720TMTnYC","from","focusCycler","target","30tGDTIw","add","focusFirst","keys","remove","element","keystrokes","removed","arrowup","enter"];return(Qw=function(){return t})()}!function(t){const e=Xw,n=t();for(;;)try{if(459290===parseInt(e(207))/1*(parseInt(e(180))/2)+parseInt(e(216))/3*(-parseInt(e(215))/4)+-parseInt(e(192))/5+parseInt(e(196))/6*(parseInt(e(181))/7)+-parseInt(e(177))/8+parseInt(e(191))/9*(-parseInt(e(185))/10)+parseInt(e(187))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Qw);$w(210);function Xw(t,e){const n=Qw();return(Xw=function(t,e){return n[t-=177]})(t,e)}class Jw{diff(t,e,n={}){let i;"function"==typeof n?(i=n,n={}):"callback"in n&&(i=n.callback);const r=this.castInput(t,n),o=this.castInput(e,n),s=this.removeEmpty(this.tokenize(r,n)),a=this.removeEmpty(this.tokenize(o,n));return this.diffWithOptionsObj(s,a,n,i)}diffWithOptionsObj(t,e,n,i){var r;const o=t=>(t=this.postProcess(t,n),i?void setTimeout(function(){i(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!==(r=n.timeout)&&void 0!==r?r: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,m=1/0;const g=()=>{for(let i=Math.max(f,-c);i<=Math.min(m,c);i+=2){let r;const c=d[i-1],l=d[i+1];c&&(d[i-1]=void 0);let u=!1;if(l){const t=l.oldPos-i;u=l&&0<=t&&t<s}const h=c&&c.oldPos+1<a;if(u||h){if(r=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),p=this.extractCommon(r,e,t,i,n),r.oldPos+1>=a&&p+1>=s)return o(this.buildValues(r.lastComponent,e,t))||!0;d[i]=r,r.oldPos+1>=a&&(m=Math.min(m,i-1)),p+1>=s&&(f=Math.max(f,i+1))}else d[i]=void 0}c++};if(i)!function t(){setTimeout(function(){if(c>l||Date.now()>h)return i(void 0);g()||t()},0)}();else for(;c<=l&&Date.now()<=h;){const t=g();if(t)return t}}addToPath(t,e,n,i,r){const o=t.lastComponent;return o&&!r.oneChangePerToken&&o.added===e&&o.removed===n?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:e,removed:n,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:e,removed:n,previousComponent:o}}}extractCommon(t,e,n,i,r){const o=e.length,s=n.length;let a=t.oldPos,c=a-i,l=0;for(;c+1<o&&a+1<s&&this.equals(n[a+1],e[c+1],r);)c++,a++,l++,r.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return l&&!r.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 i=[];let r;for(;t;)i.push(t),r=t.previousComponent,delete t.previousComponent,t=r;i.reverse();const o=i.length;let s=0,a=0,c=0;for(;s<o;s++){const t=i[s];if(t.removed)t.value=this.join(n.slice(c,c+t.count)),c+=t.count;else{if(!t.added&&this.useLongestToken){let i=e.slice(a,a+t.count);i=i.map(function(t,e){const i=n[c+e];return i.length>t.length?i:t}),t.value=this.join(i)}else t.value=this.join(e.slice(a,a+t.count));a+=t.count,t.added||(c+=t.count)}}return i}}const Zw=new class extends Jw{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}};function tv(){const t=["merge","_anchor","3978210htouST","getAttribute","parse","isBlock","isInline","pop","marker","wrap","unwrap","isPremiumPlugin","graveyard","elementEnd","unshift","offset","lowest","getOperationsData","anchor","root","index","writer","isOfficialPlugin","string","4LNsLAs","1746516KonlVM","1719214mlaGyE","_getElementCategory","limitId","from","editors","matchAll","main","path","clone","_getAttrsForOffsets","set","upcast","_diffItems","value","after","$elementId","328626CtFNjr","model-diff-incorrect-matching-and-closing-tags","reduce","split","end","_handleElementAttributeChanges","3102576YByNTp","_integrateEditor","elementStart","_traverseOverItem","attribute","type","filter","init","model","_operationsData","get","675640rZBgQL","document","_handleElementRename","unchanged","key","flatMap","_handleWraps","listenTo","_handleUnclosedBlockOpeningTags","version","stringify","_handleUnchanged","before","name","modelRange","_makeModelFromTokens","_path","fill","markDeletions","container","newValue","forEach","_calculateMarkersOperationsData","related","tokens","range","setAttribute","newName","data-id","startOffset","_handleUnwraps","markers","add","context","insert","DocumentCompare","_handleChanged","_handleTextAttributeChanges","removed","_createFromPositionAndShift","solid","_tokenizeModel","addAttributeCheck","oldValue","editor","token","slice","markedRemove","getDiff","_editor","for","$markedRemove","_removeAttribute","change","_parents","_findUnclosedBlockOpeningToken","viewItem","previousPosition","_createIn","getChildAtOffset","documentcompare-compare-no-root","_clone","category","maxOffset","ready","_calculateOperationsData","push","element","98464xTLGdP","getPath","entries","isMarkedRemoveOperation","isLimit","pluginName","text","shift","getAttributes","getItems","item","8tWwbUJ","createPositionAt","_markDeletions","documentcompare-no-editor","_getPositionFromAnchorAndPath","start","howMany","_diffModelTokens","added","offsetSize","NEGATIVE_INFINITY","data","map","nextSibling","getOperations","first","getRoot","isStart","getShiftedBy","oldName","conversion","elementId","parent","$markedRemove:","splice","block","schema","startsWith","length","rename","remove","45hIbFrn","_makeTokensFromTextByWords","_getAttributeChanges","isContent","null","$textProxy","_createAt","sort"];return(tv=function(){return t})()}function ev(t,e){const n=tv();return(ev=function(t,e){return n[t-=385]})(t,e)}const nv=ev;!function(t){const e=ev,n=t();for(;;)try{if(337102===-parseInt(e(497))/1+parseInt(e(394))/2*(-parseInt(e(412))/3)+-parseInt(e(395))/4+-parseInt(e(429))/5+-parseInt(e(418))/6+parseInt(e(396))/7*(-parseInt(e(508))/8)+parseInt(e(539))/9*(parseInt(e(549))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tv);const iv=nv(411),rv=nv(457);class ov extends r.ContextPlugin{static get[nv(502)](){return nv(464)}static get[nv(392)](){return!0}static get[nv(558)](){return!0}async[nv(425)](){const t=nv;this[t(462)]instanceof r.Editor?this[t(419)](this[t(462)]):this[t(436)](this[t(462)][t(400)],t(461),(e,n)=>{const i=t;n.on(i(493),()=>{this[i(419)](n)})})}get[nv(473)](){const t=nv;if(this[t(462)]instanceof r.Editor)return this[t(462)];{const e=this[t(462)][t(400)][t(523)];if(!e)throw new s.CKEditorError(t(511),this);return e}}[nv(477)](t,e,n={anchor:nv(402),markDeletions:!1}){const i=nv;let r,o;const a=this[i(473)];if(i(393)==typeof n[i(388)]){const t=a[i(426)][i(430)][i(524)](n[i(388)]);if(!t)throw new s.CKEditorError(i(489),this,{anchor:n[i(388)]});r=t,o=a[i(426)][i(509)](t,0)}else r=n[i(388)][i(404)](),o=n[i(388)][i(404)]();const c=a[i(519)][i(551)](t,r),l=a[i(519)][i(551)](e,r);return new sv(c,l,a,{anchor:o,markDeletions:n[i(447)]})}[nv(500)](t){const e=nv;return e(555)==t[e(423)]&&t[e(442)][e(535)](e(480))}[nv(419)](t){const e=nv;t[e(528)][e(479)](e(407))[e(461)](t=>{const n=e;t.on(n(496),(t,e,i)=>{const r=n;if(e[r(443)])for(const t of e[r(443)][r(506)]({shallow:!0})){if(t.is(r(544)))continue;const n=e[r(485)][r(550)](r(457));n&&i[r(391)][r(455)](r(411),n,t)}},{priority:n(386)})}),t[e(426)][e(534)][e(471)](()=>!0,e(411))}}class sv{[nv(478)];[nv(408)]=[];[nv(427)]=[];[nv(510)];[nv(548)];[nv(445)]=[0];[nv(483)]=[];constructor(t,e,n,i){const r=nv;this[r(478)]=n,this[r(510)]=!!i[r(447)],this[r(548)]=i[r(388)];const o=this[r(470)](t),s=this[r(470)](e);this[r(408)]=this[r(515)](o,s),this[r(494)](),this[r(510)]||this[r(451)](t[r(460)],e[r(460)])}[nv(387)](){return this[nv(427)]}[nv(522)](){const t=nv,e=this[t(478)][t(426)][t(430)],n=[];let i=e[t(438)];for(const r of this[t(427)])switch(r[t(423)]){case t(422):{const e=this[t(512)](this[t(548)],r[t(403)]),o=e[t(526)](r[t(514)]),s=new u.ModelRange(e,o),a=JSON[t(551)](r[t(472)]),c=JSON[t(551)](r[t(449)]);n[t(495)](new u.AttributeOperation(s,r[t(433)],a,c,i++));break}case t(463):{const e=this[t(512)](this[t(548)],r[t(403)]),o=this[t(444)](r[t(453)]);n[t(495)](new u.InsertOperation(e,o,i++));break}case t(538):{const o=this[t(512)](this[t(548)],r[t(403)]),s=new u.ModelPosition(e[t(559)],[0]);n[t(495)](new u.MoveOperation(o,r[t(514)],s,i++));break}case t(537):{const e=this[t(512)](this[t(548)],r[t(403)]);n[t(495)](new u.RenameOperation(e,r[t(527)],r[t(456)],i++));break}case t(415):{const e=this[t(512)](this[t(548)],r[t(403)]),o=this[t(512)](this[t(548)],r[t(403)][t(475)](0,-1));o[t(385)]++,n[t(495)](new u.SplitOperation(e,Number[t(518)],o,null,i++));break}case t(547):{const o=r[t(403)][t(475)](),s=o[t(475)](0,-1);s[s[t(536)]-1]++,s[t(495)](0);const a=this[t(512)](this[t(548)],s),c=this[t(512)](this[t(548)],o),l=new u.ModelPosition(e[t(559)],[0]);n[t(495)](new u.MergeOperation(a,Number[t(518)],c,l,i++));break}case t(555):case t(476):{let o=null;if(r[t(454)]){const e=this[t(512)](this[t(548)],r[t(454)][t(513)]),n=this[t(512)](this[t(548)],r[t(454)][t(416)]);o=new u.ModelRange(e,n)}const a=t(555)==r[t(423)]?r[t(442)]:t(531)+(0,s.uid)();n[t(495)](new u.MarkerOperation(a,null,o,e[t(426)][t(460)],!0,i++));break}case t(557):{const o=r[t(403)][t(475)]();o[t(495)](0);const s=r[t(403)][t(475)](),a=this[t(512)](this[t(548)],o),c=this[t(512)](this[t(548)],s),l=new u.ModelPosition(e[t(559)],[0]);n[t(495)](new u.MoveOperation(a,r[t(514)],c,i++)),n[t(495)](new u.MoveOperation(c[t(526)](r[t(514)]),1,l,i++));break}case t(556):{const e=this[t(512)](this[t(548)],r[t(454)][t(513)]),o=this[t(512)](this[t(548)],r[t(454)][t(416)]),s=r[t(474)][t(496)][t(490)](!1),a=r[t(454)][t(416)][t(475)]();a[t(495)](0);const c=this[t(512)](this[t(548)],a);n[t(495)](new u.InsertOperation(o,s,i++)),n[t(495)](new u.MoveOperation(e,o[t(385)]-e[t(385)],c,i++));break}}return n}[nv(470)](t){const e=nv,n=[],i=u.ModelRange[e(487)](t),r=new u.ModelTreeWalker({boundaries:i});let o="",a=null;const c=[""],l=new Map;for(const t of r)if(e(420)==t[e(423)]||e(560)==t[e(423)]){let i=c[0];""!==o&&(n[e(495)](...this[e(540)](o,a,i)),o="");const r=t[e(507)];let u;r[e(550)](e(411))?u=r[e(550)](e(411)):e(420)==t[e(423)]?(u=(0,s.uid)(),l[e(406)](r,u)):u=l[e(428)](r);const h=this[e(397)](r);e(469)==h&&(e(420)==t[e(423)]?(i=u||"",c[e(561)](i)):c[e(504)]());const d={type:e(496),element:r,elementId:u,category:h,isStart:e(420)==t[e(423)],limitId:i};n[e(495)](d)}else""==o&&(a=t[e(486)][e(404)]()),o+=t[e(507)][e(519)];return""!==o&&n[e(495)](...this[e(540)](o,a,c[0])),n}[nv(540)](t,e,n){const i=nv,r=t[i(401)](/(\s)/g),o=Array[i(399)](r)[i(520)](t=>t[i(390)]);o[i(495)](t[i(536)]),0==o[0]&&o[i(504)]();const s=[],a=e[i(530)];let c=0,l=e[i(385)];for(let r=0;r<o[i(536)];r++)s[i(495)]({type:i(503),data:t[i(475)](c,o[r]),parent:a,offset:l,limitId:n}),c=o[r],l=e[i(385)]+o[r];return s}[nv(397)](t){const e=nv,n=this[e(478)][e(426)][e(534)];return n[e(501)](t)||n[e(542)](t)||n[e(553)](t)?e(469):n[e(552)](t)?e(533):e(448)}[nv(515)](t,e){const n=nv,i=function(t,e,n){return Zw.diff(t,e,n)}(t,e,{comparator:av});this[n(437)](i);const r=i[n(434)](t=>{const e=n,i=t[e(516)]?e(516):t[e(467)]?e(467):e(432);return t[e(409)][e(520)](t=>({token:t,change:i}))});let o=0;for(const e of r)n(516)!=e[n(482)]&&(n(432)==e[n(482)]&&(e[n(441)]=t[o]),o++);return r}[nv(437)](t){const e=nv;for(let n=0;n<t[e(536)]-1;n++)if(t[n][e(467)]&&t[n+1][e(516)]){const i=this[e(484)](t[n][e(409)]);if(null!==i){const r=this[e(484)](t[n+1][e(409)]),o=t[n][e(409)][e(532)](i),s=t[n+1][e(409)][e(532)](r),a=[s[e(504)]()];o[e(504)]();const c={value:o,removed:!0},l={value:s,added:!0},u={value:a};t[e(532)](n+2,0,u,c,l)}}}[nv(484)](t){const e=nv;let n=0,i=-1;for(let r=0;r<t[e(536)];r++){const o=t[r];e(496)==o[e(423)]&&e(533)==o[e(491)]&&(n+=o[e(525)]?1:-1,o[e(525)]&&(i=r))}return 0===n?null:i}[nv(494)](){const t=nv;this[t(459)](),this[t(445)]=[0],this[t(483)]=[];for(let e=0;e<this[t(408)][t(536)];e++){const n=this[t(408)][e][t(482)],i=[];i[t(495)](this[t(408)][e]);let r=e+1;for(;this[t(408)][r]&&this[t(408)][r][t(482)]==n;)i[t(495)](this[t(408)][r]),r++,e++;const o=i[t(520)](e=>e[t(474)]);if(t(432)==n)i[t(520)](e=>e[t(441)])[t(450)](e=>this[t(421)](e));else if(t(467)==n)if(this[t(510)]){const e=this[t(445)][t(475)]();o[t(450)](e=>this[t(421)](e));const n=this[t(445)][t(475)]();this[t(427)][t(495)]({type:t(476),range:{start:e,end:n}})}else this[t(465)](o,!0,this[t(445)][t(475)]());else{const e=o[t(424)](e=>t(496)!=e[t(423)]||t(448)!=e[t(491)]);this[t(465)](e,!1,this[t(445)])}}this[t(445)]=[0],this[t(483)]=[];for(let e=0;e<this[t(408)][t(536)];e++){const n=this[t(408)][e][t(482)],i=[];i[t(495)](this[t(408)][e]);let r=e+1;for(;this[t(408)][r]&&this[t(408)][r][t(482)]==n;)i[t(495)](this[t(408)][r]),r++,e++;const o=i[t(520)](e=>e[t(474)]);if(t(432)==n){const e=i[t(520)](e=>e[t(441)]);this[t(440)](e,o)}else o[t(450)](e=>{const i=t;(i(467)!=n||this[i(510)])&&this[i(421)](e)})}this[t(435)]()}[nv(451)](t,e){const n=nv,i={};for(const[e]of t)i[e]=null;for(const[t,n]of e)i[t]=n;const r=Object[n(499)](i)[n(520)](([t,e])=>({type:n(555),name:t,range:e?{start:e[n(513)][n(403)][n(475)](),end:e[n(416)][n(403)][n(475)]()}:null}));this[n(427)][n(495)](...r)}[nv(459)](){const t=nv,e=new Map,n=[],i=[0];for(let r=this[t(408)][t(536)]-1;r>=0;r--){const{token:o,before:s,change:a}=this[t(408)][r];if(t(496)!=o[t(423)]||t(448)!=o[t(491)]||t(516)==a)continue;const c=s?s[t(496)]:o[t(496)];if(o[t(525)]){const o=e[t(428)](c),s=this[t(408)][o];t(467)!=a&&t(467)!=s[t(482)]||(this[t(427)][t(495)]({type:t(557),path:c[t(498)](),howMany:c[t(492)]+i[0]}),i[t(504)](),i[0]+=c[t(492)]-1,n[t(495)](r),n[t(495)](o))}else e[t(406)](c,r),i[t(561)](0)}n[t(546)]((t,e)=>e-t),n[t(450)](e=>{const n=t,i=this[n(408)][e];n(467)==i[n(482)]?this[n(408)][n(532)](e,1):(i[n(482)]=n(516),delete i[n(441)])})}[nv(435)](){const t=nv;this[t(445)]=[0],this[t(483)]=[];const e=[];for(let n=0;n<this[t(408)][t(536)];n++){const{change:i,token:r}=this[t(408)][n];if(t(516)==i&&t(496)==r[t(423)]&&t(448)==r[t(491)]){if(r[t(525)])e[t(495)](this[t(445)][t(475)]());else if(!r[t(525)]){const n=e[t(554)]();this[t(427)][t(495)]({type:t(556),range:{start:n,end:this[t(445)][t(475)]()},token:r}),this[t(445)][this[t(445)][t(536)]-1]=n[this[t(445)][t(536)]-1]+1}}else(t(467)!=i||this[t(510)])&&this[t(421)](r)}}[nv(440)](t,e){const n=nv;for(let i=0;i<t[n(536)];i++){const r=t[i];if(n(496)==r[n(423)]&&r[n(525)]){const t=e[i];n(533)==r[n(491)]&&this[n(431)](r[n(496)],t[n(496)],this[n(445)]),this[n(417)](r[n(496)],t[n(496)],this[n(445)]),this[n(445)][n(495)](0),this[n(483)][n(495)](t)}else if(n(496)!=r[n(423)]||r[n(525)]){if(n(503)==r[n(423)]){const r=this[n(445)][n(475)](),o=[],s=[];for(;t[i]&&n(503)==t[i][n(423)];)o[n(495)](t[i]),s[n(495)](e[i]),this[n(445)][this[n(445)][n(536)]-1]+=t[i][n(519)][n(536)],i++;i--,this[n(466)](o,s,r)}}else this[n(445)][n(554)](),this[n(445)][this[n(445)][n(536)]-1]++,this[n(483)][n(554)]()}}[nv(465)](t,e,n){const i=nv,r=[],o=[],a=n[i(475)]();for(let s=0;s<t[i(536)];s++){const a=t[s],c=n[i(475)]();if(i(496)!=a[i(423)]||a[i(525)])i(496)==a[i(423)]&&a[i(525)]?(n[i(495)](0),e||this[i(483)][i(495)](a),o[i(495)]({before:c,after:n[i(475)](),index:s})):n[n[i(536)]-1]+=a[i(519)][i(536)];else{let t;n[i(554)](),n[n[i(536)]-1]++,t=e?this[i(483)][this[i(483)][i(536)]-1]:this[i(483)][i(554)](),o[i(536)]?o[i(554)]():r[i(495)]({before:c,after:n[i(475)](),index:s,related:t})}}if(o[i(536)]!==r[i(536)])throw new s.CKEditorError(i(413),null,{tokens:t,isRemove:e});const c=[{after:a[i(475)](),index:-1},...r,...o,{before:n[i(475)](),index:t[i(536)]}];if(e){for(let t=c[i(536)]-1;t>=1;t--){const e=c[t-1][i(410)],n=c[t][i(441)],r=n[n[i(536)]-1]-e[e[i(536)]-1];r&&(this[i(427)][i(495)]({type:i(538),path:e,howMany:r}),n[n[i(536)]-1]-=r)}for(const{before:t}of r)this[i(427)][i(495)]({type:i(547),path:t})}else for(let e=0;e<c[i(536)]-1;e++){const n=c[e][i(410)],s=c[e+1][i(441)],a=c[e][i(390)]+1,l=c[e+1][i(390)];if(a!==l&&this[i(427)][i(495)]({type:i(463),path:n,tokens:t[i(475)](a,l)}),e<r[i(536)]){this[i(427)][i(495)]({type:i(415),path:s});const n=t[o[o[i(536)]-1-e][i(390)]],a=r[e][i(410)],c=r[e][i(452)][i(496)];this[i(431)](c,n[i(496)],a),this[i(417)](c,n[i(496)],a)}}}[nv(421)](t){const e=nv;e(496)==t[e(423)]&&t[e(525)]?(this[e(445)][e(495)](0),this[e(483)][e(495)](t)):e(496)!=t[e(423)]||t[e(525)]?e(503)==t[e(423)]&&(this[e(445)][this[e(445)][e(536)]-1]+=t[e(519)][e(536)]):(this[e(445)][e(554)](),this[e(445)][this[e(445)][e(536)]-1]++,this[e(483)][e(554)]())}[nv(431)](t,e,n){const i=nv;t[i(442)]!=e[i(442)]&&this[i(427)][i(495)]({type:i(537),path:n[i(475)](),oldName:t[i(442)],newName:e[i(442)]})}[nv(417)](t,e,n){const i=nv,r=this[i(541)](t[i(505)](),e[i(505)]());for(const t in r){const{oldValue:e,newValue:o}=r[t];this[i(427)][i(495)]({type:i(422),path:n[i(475)](),howMany:1,key:t,oldValue:e,newValue:o})}}[nv(466)](t,e,n){const i=nv,r=this[i(427)],o=t[0][i(530)],s=t[0][i(385)],a=e[0][i(530)],c=e[0][i(385)],l=t[i(414)]((t,e)=>t+e[i(519)][i(536)],0),u=this[i(405)](o,s,l),h=this[i(405)](a,c,l),d={};for(let t=0;t<l;t++){const e=u[s+t],n=h[c+t],r=this[i(541)](e,n);for(const t in d)r[t]||p(t);for(const e in r){const{oldValue:n,newValue:o}=r[e],s=d[e];s?s[i(472)]==n&&s[i(449)]==o?s[i(536)]++:(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=i,o=d[t],s=n[e(475)]();s[s[e(536)]-1]+=o[e(513)],r[e(495)]({type:e(422),path:s,howMany:o[e(536)],key:t,oldValue:o[e(472)],newValue:o[e(449)]}),delete d[t]}}[nv(541)](t,e){const n=nv,i={};for(const[e,r]of t)i[e]={oldValue:JSON[n(439)](r),newValue:n(543)};for(const[t,r]of e){const e=JSON[n(439)](r);i[t]?i[t][n(472)]==e?delete i[t]:i[t][n(449)]=e:i[t]={oldValue:n(543),newValue:e}}return delete i[n(411)],i}[nv(405)](t,e,n){const i=nv,r=new Array(e+n);let o=t[i(488)](e),s=o[i(458)];for(;o&&s<e+n;){const t=Array[i(399)](o[i(505)]());r[i(446)](t,s,s+o[i(517)]),s+=o[i(517)],o=o[i(521)]}return r}[nv(512)](t,e){const n=nv,i=[...t[n(403)][n(475)](0,-1),t[n(385)]+e[0],...e[n(475)](1)];return new u.ModelPosition(t[n(389)],i)}[nv(444)](t){const e=nv,n=[];let i=null;for(const r of t)if(e(496)!=r[e(423)]||r[e(525)]||i!=r[e(496)]){if(!i)if(e(503)==r[e(423)]){const t=u.ModelPosition[e(545)](r[e(530)],r[e(385)]),i=u.ModelRange[e(468)](t,r[e(519)][e(536)]),o=Array[e(399)](i[e(506)]())[e(520)](t=>new u.ModelText(t[e(519)],t[e(505)]()));n[e(495)](...o)}else{i=r[e(496)];const t=r[e(496)][e(490)](!0);t[e(481)](e(411)),n[e(495)](t)}}else i=null;return n}}function av(t,e){const n=nv;return t[n(423)]===e[n(423)]&&t[n(398)]===e[n(398)]&&(n(503)==t[n(423)]?t[n(519)]==e[n(519)]:function(t,e){const i=n;return t[i(525)]==e[i(525)]&&((!t[i(525)]||t[i(529)]==e[i(529)])&&(t[i(491)]==e[i(491)]&&(i(533)==t[i(491)]||(i(448)!=t[i(491)]||t[i(529)]==e[i(529)])&&t[i(496)][i(442)]==e[i(496)][i(442)])))}(t,e))}var cv=n(276),lv={attributes:{"data-cke":!0}};lv.setAttributes=Et(),lv.insert=yt().bind(null,"head"),lv.domAPI=vt(),lv.insertStyleElement=Tt();bt()(cv.A,lv);cv.A&&cv.A.locals&&cv.A.locals;var uv=n(690),hv={attributes:{"data-cke":!0}};hv.setAttributes=Et(),hv.insert=yt().bind(null,"head"),hv.domAPI=vt(),hv.insertStyleElement=Tt();bt()(uv.A,hv);uv.A&&uv.A.locals&&uv.A.locals;var dv=n(633),pv={attributes:{"data-cke":!0}};pv.setAttributes=Et(),pv.insert=yt().bind(null,"head"),pv.domAPI=vt(),pv.insertStyleElement=Tt();bt()(dv.A,pv);dv.A&&dv.A.locals&&dv.A.locals;var fv=n(79),mv={attributes:{"data-cke":!0}};mv.setAttributes=Et(),mv.insert=yt().bind(null,"head"),mv.domAPI=vt(),mv.insertStyleElement=Tt();bt()(fv.A,mv);fv.A&&fv.A.locals&&fv.A.locals;var gv=n(364),kv={attributes:{"data-cke":!0}};kv.setAttributes=Et(),kv.insert=yt().bind(null,"head"),kv.domAPI=vt(),kv.insertStyleElement=Tt();bt()(gv.A,kv);gv.A&&gv.A.locals&&gv.A.locals;var _v=n(369),bv={attributes:{"data-cke":!0}};bv.setAttributes=Et(),bv.insert=yt().bind(null,"head"),bv.domAPI=vt(),bv.insertStyleElement=Tt();bt()(_v.A,bv);_v.A&&_v.A.locals&&_v.A.locals;var wv=n(103),vv={attributes:{"data-cke":!0}};vv.setAttributes=Et(),vv.insert=yt().bind(null,"head"),vv.domAPI=vt(),vv.insertStyleElement=Tt();bt()(wv.A,vv);wv.A&&wv.A.locals&&wv.A.locals;var Iv=n(878),yv={attributes:{"data-cke":!0}};yv.setAttributes=Et(),yv.insert=yt().bind(null,"head"),yv.domAPI=vt(),yv.insertStyleElement=Tt();bt()(Iv.A,yv);Iv.A&&Iv.A.locals&&Iv.A.locals;var Av=n(328),Ev={attributes:{"data-cke":!0}};Ev.setAttributes=Et(),Ev.insert=yt().bind(null,"head"),Ev.domAPI=vt(),Ev.insertStyleElement=Tt();bt()(Av.A,Ev);Av.A&&Av.A.locals&&Av.A.locals;var xv=n(334),Tv={attributes:{"data-cke":!0}};Tv.setAttributes=Et(),Tv.insert=yt().bind(null,"head"),Tv.domAPI=vt(),Tv.insertStyleElement=Tt();bt()(xv.A,Tv);xv.A&&xv.A.locals&&xv.A.locals;function Cv(t,e){var n=Sv();return(Cv=function(t,e){return n[t-=424]})(t,e)}function Sv(){var t=["2390670BvAXsS","38wipUUv","4379340cfDmBA","692256xCCoFP","4353tcTgBf","7NeHlba","5047384AJViZw","1987371nLPLdz","2374842SCgosp"];return(Sv=function(){return t})()}function Rv(){var t=["1480065sYfLeG","3023528rdosQf","189wpOQyy","6DRNBLL","10712PIkHfg","384632FkGIWm","3829MKvMvt","2041434LAMVLg","839870BOWxBs","611872FDBoJh"];return(Rv=function(){return t})()}function Ov(t,e){var n=Rv();return(Ov=function(t,e){return n[t-=300]})(t,e)}function Nv(t,e){const n=Mv();return(Nv=function(t,e){return n[t-=457]})(t,e)}function Mv(){const t=["2340822tupRgy","4sJqFZb","length","anchorId","new","removed","680KOqPzA","node","model","cloneNode","operationsA","documentContextContent","getOperations","shift","content","previousSibling","49868ISWAJK","data-id","264478iWHJnF","history","816507yTxCtY","3017hQmLef","getDocumentContext","filter","getDiff","map","document","1291848VsYoTK","type","version","651290SLNlmI"];return(Mv=function(){return t})()}function Lv({editor:t,interaction:e,reply:n,groups:i,transform:r,documentCompare:o,documentCompareOptions:s}){const a=Nv,c=e[a(486)]();if(!c)return[];const l=c[a(478)],h=c[a(462)],d=n[a(475)][a(473)](!0);for(const{changes:t}of i){const e=t[a(487)](t=>a(468)!=t[a(461)])[a(458)](t=>nh(a(481),t.id,d)),n=t[a(487)](t=>a(469)!=t[a(461)])[a(458)](t=>t[a(471)][a(473)](!0));let i=null;if(e[a(466)]){i=e[0][a(479)];for(let t=0;t<e[a(466)];t++)Gu(e[t])}if(n[a(466)]){i||(t[0][a(467)]?i=nh(a(481),t[0][a(467)],d):(i=n[a(477)](),Yu(d,i)));for(let t=0;t<n[a(466)];t++)Wu(i,n[t]),i=n[t]}}const p=eh(d),f=o[a(457)](l,p,s)[a(476)]();if(r){const e=t[a(472)][a(459)][a(483)][a(476)](h),n={document:t[a(472)][a(459)],useRelations:!1,padWithNoOps:!1};return(0,u.transformOperationSets)(f,e,n)[a(474)]}return f}function Pv(t,e){const n=Hv();return(Pv=function(t,e){return n[t-=426]})(t,e)}function Dv({editor:t,changeGroups:e,documentContextContent:n,showDiff:i,trimUnchanged:r=!0}){const o=Pv;return e[o(485)](e=>{const s=o,a=new ml([]),c=new ml([]);for(const t of e[s(483)])if(i&&s(450)==t[s(478)]||c[s(427)][s(499)](t[s(505)][s(509)](!0)),s(504)!=t[s(478)]&&(i||s(450)!=t[s(478)])){const e=Qu(e=>oh(e,s(465))==t.id,n,!0);e&&a[s(427)][s(499)](e[s(509)](!0))}const l=function(t,e,n,i,r=!0){const o=s,a=t[o(444)][o(479)](o(471)),c=t[o(444)][o(479)](o(466)),l=eh(e),h=eh(n),d=t[o(473)][o(461)](l,o(467)),p=t[o(494)][o(481)](d,0),f=a[o(436)](l,h,{anchor:p,markDeletions:i})[o(451)]();if(0==f[o(492)])return null;if(i?c[o(445)](f):t[o(494)][o(507)](e=>{const n=o;for(const i of f)if(n(506)==i[n(478)]){const r=i[n(519)],o=i[n(430)],s=new u._DetachOperation(r,o);e[n(518)][n(503)](s),t[n(494)][n(462)](s)}else i[n(459)]=null,i[n(455)]=!1,e[n(518)][n(503)](i),t[n(494)][n(462)](i)}),r){const e=Bv(t,f,d);Uv(t[o(494)],e),function(t,e){const n=o,i=e[n(493)]()[n(488)];let r=e[n(493)]()[n(512)];const s=i[n(470)];(r[n(482)]||r[n(500)]&&r[n(500)].is(n(439)))&&((0,u._insertIntoModelNodeList)(r,n(429)),r=r[n(474)](3)),(i[n(482)]||i[n(452)]&&i[n(452)].is(n(439)))&&((0,u._insertIntoModelNodeList)(i,n(429)),function(t,e){const i=n;for(let[n,r]of t[i(484)]){const o=r[i(443)](e,3,!1);r=o[0],t[i(484)][i(446)](n,r)}}(s,i),i[n(487)]==r[n(487)]&&(r=r[n(474)](3)));const a=t[n(431)](t[n(481)](s,0),i),c=t[n(431)](r,t[n(481)](s,n(512))),l=[...a[n(460)](),...c[n(460)]()];l[n(432)]();for(const t of l)(0,u._removeFromModelNodeList)(t),Fv(s,t)}(t[o(494)],e)}return th(t[o(473)][o(475)](d,{showSuggestionHighlights:!0}))}(t,a,c,i,r);return{type:e[s(483)][0][s(478)],index:e[s(438)],content:l}})}function Hv(){const t=["_applyOperationsAsSuggestions","set","6706728oKFpsR","merge","backward","removed","getOperations","nodeBefore","63870BougfO","newRange","isDocumentOperation","word","isBlock","6fMiFYm","baseVersion","getMinimalFlatRanges","parse","applyOperation","targetPosition","rename","data-id","TrackChangesEditing","$root","isMarkedRemoveOperation","forward","root","DocumentCompare","position","data","getShiftedBy","stringify","POSITIVE_INFINITY","29883627PMFpGY","type","get","4810064oIHUaG","createPositionAt","textNode","changes","markers","map","removeAttribute","parent","start","splitPosition","schema","createPositionFromPath","length","getFirstRange","model","455YvAuir","4697028WZvzKg","377458zLxHOB","addAttribute","push","nodeAfter","insert","_getTransformedByDeletion","addOperation","new","node","remove","change","createSelection","cloneNode","isAfter","setTo","end","isObject","focus","offset","getMovedRangeStart","changeAttribute","batch","sourcePosition","isBefore","children","slice","...","howMany","createRange","reverse","modifySelection","661581fTnrLm","moveTargetPosition","getDiff","split","index","$text","element","path","range","_getTransformedByInsertion","plugins"];return(Hv=function(){return t})()}function Bv(t,e,n){const i=Pv,r=t[i(444)][i(479)](i(471));let o=t[i(494)][i(481)](n,Number[i(476)]),s=t[i(494)][i(481)](n,0);for(const a of e){let e,c;if(r[i(468)](a))e=a[i(454)][i(488)],c=a[i(454)][i(512)];else switch(a[i(478)]){case i(464):e=a[i(472)],c=e[i(474)](1);break;case i(498):case i(486):case i(517):e=a[i(442)][i(488)],c=a[i(442)][i(512)];break;case i(501):e=a[i(472)],c=e[i(474)](a[i(430)]);break;case i(437):e=a[i(489)],c=a[i(435)];break;case i(448):{const r=a[i(463)][i(441)][i(428)](-1);e=t[i(494)][i(491)](n,r),c=e[i(474)](1);break}case i(506):{const t=a[i(430)],n=a[i(519)][i(443)](a[i(463)],t),r=a[i(516)]();i(506)==a[i(478)]?(e=n,c=n):(e=r,c=r[i(474)](t));break}}e&&e[i(426)](o)&&(o=e),c&&c[i(510)](s)&&(s=c)}return t[i(494)][i(508)](t[i(494)][i(431)](o,s))}function Uv(t,e){const n=Pv;Vv(t,e,n(469));const i=e[n(493)]();e[n(511)]([]),e[n(511)](i,{backward:!0}),Vv(t,e,n(449))}function Vv(t,e,n){const i=Pv;let r=20;for(;r;){t[i(433)](e,{unit:i(456),direction:n}),r--;const o=e[i(514)][i(469)==n?i(452):i(500)];if(o&&o.is(i(440))&&t[i(490)][i(457)](o)&&t[i(490)][i(513)](o))break}}function Fv(t,e){const n=Pv;for(let[i,r]of t[n(484)])r=r[n(502)](e[n(488)],e[n(512)][n(515)]-e[n(488)][n(515)]),t[n(484)][n(446)](i,r)}!function(t){for(var e=Cv,n=t();;)try{if(838847===-parseInt(e(424))/1+parseInt(e(431))/2*(-parseInt(e(425))/3)+parseInt(e(432))/4+parseInt(e(430))/5+parseInt(e(429))/6+-parseInt(e(426))/7*(parseInt(e(427))/8)+parseInt(e(428))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Sv),function(t){for(var e=Ov,n=t();;)try{if(447715===-parseInt(e(306))/1+-parseInt(e(302))/2+parseInt(e(304))/3+-parseInt(e(308))/4+parseInt(e(307))/5*(parseInt(e(300))/6)+-parseInt(e(303))/7*(parseInt(e(301))/8)+parseInt(e(309))/9*(parseInt(e(305))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Rv),function(t){const e=Nv,n=t();for(;;)try{if(406061===parseInt(e(482))/1+parseInt(e(480))/2+parseInt(e(460))/3+parseInt(e(465))/4*(parseInt(e(463))/5)+-parseInt(e(464))/6+-parseInt(e(485))/7*(-parseInt(e(470))/8)+-parseInt(e(484))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mv),function(t){const e=Pv,n=t();for(;;)try{if(678886===parseInt(e(434))/1+-parseInt(e(497))/2*(-parseInt(e(458))/3)+-parseInt(e(480))/4+-parseInt(e(495))/5*(parseInt(e(453))/6)+-parseInt(e(496))/7+-parseInt(e(447))/8+parseInt(e(477))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Hv);const qv='<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>',zv='<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>',Gv='<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>',jv='<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>';function Wv(t,e){const n=Kv();return(Wv=function(t,e){return n[t-=351]})(t,e)}const Yv=Wv;function Kv(){const t=["showChanges","dislike","like","ck-ai-mini-toolbar ck-hidden","length","showDislike","dislikeButton","addMany","set","5330423osqgoy","likeButton","_config","ck-ai-mini-toolbar","AI_MINI_TOOLBAR_DISLIKE","full","5583dMVMAK","AI_MINI_TOOLBAR_LIKE","fire","isOn","locale","children","customView","toggleShowChanges","isEnabled","isLoading","2164AsyeXw","items","_setupRatingButtons","805299Nlmwwx","_setupCopyButton","bind","copyButton","showLike","showChangesButton","679080xZInQE","execute","ck-ai-mini-toolbar-copy-button","AI_MINI_TOOLBAR_COPY","add","2739610gHNDWY","showCopy","37228248XWvPlF","class","_setupShowChangesButton","ck-ai-mini-toolbar-copy-button ck-ai-mini-toolbar-copy-button_copied","extendTemplate","3392730qoJkxN","ck-ai-mini-toolbar-copy-button__check-mark","AI_SUGGESTION_BUTTON_SHOW_CHANGES"];return(Kv=function(){return t})()}!function(t){const e=Wv,n=t();for(;;)try{if(627025===-parseInt(e(368))/1+-parseInt(e(374))/2+-parseInt(e(355))/3*(parseInt(e(365))/4)+-parseInt(e(379))/5+-parseInt(e(386))/6+-parseInt(e(398))/7+parseInt(e(381))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Kv);class $v extends a.ToolbarView{[Yv(371)];[Yv(399)];[Yv(395)];[Yv(373)];[Yv(351)];constructor(t,e={},n){const i=Yv;super(t),this[i(397)](i(364),!1),this[i(351)]={showCopy:!1,showLike:!1,showDislike:!1,...e};const r=!(this[i(351)][i(380)]||this[i(351)][i(389)]||this[i(351)][i(372)]||this[i(351)][i(394)]||this[i(351)][i(361)]?.[i(393)]);this[i(382)]=i(r?392:352),this[i(351)][i(380)]&&(this[i(369)](),this[i(366)][i(378)](this[i(371)])),this[i(351)][i(389)]&&(this[i(383)](n),this[i(366)][i(378)](this[i(373)])),this[i(367)](),this[i(351)][i(372)]&&this[i(366)][i(378)](this[i(399)]),this[i(351)][i(394)]&&this[i(366)][i(378)](this[i(395)]),this[i(351)][i(361)]&&this[i(366)][i(396)](this[i(351)][i(361)])}[Yv(367)](){const t=Yv;this[t(399)]=new a.ButtonView(this[t(359)]),this[t(399)][t(397)]({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(359)],t(356)),tooltip:!0}),this[t(399)][t(370)](t(363)).to(this,t(364),t=>!t),this[t(399)].on(t(375),()=>{const e=t;this[e(357)](e(391))}),this[t(395)]=new a.ButtonView(this[t(359)]),this[t(395)][t(397)]({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(359)],t(353)),tooltip:!0}),this[t(395)][t(370)](t(363)).to(this,t(364),t=>!t),this[t(395)].on(t(375),()=>{const e=t;this[e(357)](e(390))})}[Yv(369)](){const t=Yv;this[t(371)]=new a.ButtonView(this[t(359)]),this[t(371)][t(397)]({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(359)],t(377)),class:t(376),tooltip:!0}),this[t(371)][t(370)](t(363)).to(this,t(364),t=>!t);const e=new a.IconView;e[t(397)]({content:Gv}),e[t(385)]({attributes:{class:[t(387)]}}),this[t(371)].on(t(375),()=>{const e=t;this[e(371)][e(382)]=e(384),setTimeout(()=>{const t=e;this[t(371)][t(382)]=t(376)},2e3)}),this[t(371)][t(360)][t(378)](e)}[Yv(383)](t){const e=Yv;this[e(373)]=new a.ButtonView(this[e(359)]),this[e(373)][e(397)]({icon:jv,label:zc(this[e(359)],e(388)),withText:e(354)==this[e(351)][e(389)],isOn:t}),this[e(373)][e(370)](e(363)).to(this,e(364),t=>!t),this[e(373)].on(e(375),()=>{const t=e,n=!this[t(373)][t(358)];this[t(373)][t(397)]({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>':jv}),this[t(357)](t(362),n)})}}const Qv=Jv;function Xv(){const t=["filter","236485MLgacH","span","children","9438qUnacb","749915QkPMeq","AI_SUGGESTION_BUTTON_SHOW_CHANGES","ck-ai-suggestion__header__show-changes-toggle","ck-ai-suggestion__header","toggleShowChanges","isVisible","fire","setTemplate","remove","6tDyHfm","content","iconView","execute","ck-hidden","9onOTCB","div","isShowChangesToggleVisible","14270ywsugu","AI_SUGGESTION_HEADER_TITLE","set","11544neUNpA","icon","bind","render","116049LtKSoe","showHeader","isOn","4703517xVhKTe","56ylEPLA","4335992bninLV","2BTVFmx","add","showChangesToggleView","3531YWfZMC","showDiff"];return(Xv=function(){return t})()}function Jv(t,e){const n=Xv();return(Jv=function(t,e){return n[t-=494]})(t,e)}!function(t){const e=Jv,n=t();for(;;)try{if(344647===-parseInt(e(521))/1*(parseInt(e(515))/2)+-parseInt(e(509))/3*(-parseInt(e(513))/4)+parseInt(e(525))/5*(parseInt(e(494))/6)+parseInt(e(512))/7+parseInt(e(514))/8*(-parseInt(e(499))/9)+parseInt(e(502))/10*(parseInt(e(518))/11)+parseInt(e(505))/12*(-parseInt(e(524))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xv);class Zv extends a.View{[Qv(517)];constructor(t,e){const n=Qv;super(t),this[n(504)](n(501),!0),this[n(517)]=new tI(t),this[n(517)][n(504)]({class:n(527),label:zc(t,n(526)),withText:!0}),this[n(517)][n(511)]=e[n(519)],this[n(517)][n(507)](n(530)).to(this,n(501)),this[n(517)][n(507)](n(506)).to(this[n(517)],n(511),t=>t?o.IconShowChangesOn:o.IconShowChangesOff),this[n(517)].on(n(497),()=>{const t=n;this[t(517)][t(511)]=!this[t(517)][t(511)],this[t(531)](t(529),{isOn:this[t(517)][t(511)]})});const i=new a.IconView;i[n(495)]=o.IconDocument,this[n(532)]({tag:n(500),attributes:{class:["ck",n(528),!1===e[n(510)]?n(498):null][n(520)](Boolean)},children:[i,{tag:n(522),children:[zc(t,n(503))]},this[n(517)]]})}}class tI extends a.ButtonView{[Qv(508)](){const t=Qv;super[t(508)](),this[t(523)][t(533)](this[t(496)]),this[t(523)][t(516)](this[t(496)])}}var eI;var nI="undefined"==typeof document?void 0:document,iI=!!nI&&"content"in nI.createElement("template"),rI=!!nI&&nI.createRange&&"createContextualFragment"in nI.createRange();function oI(t){return t=t.trim(),iI?function(t){var e=nI.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}(t):rI?function(t){return eI||(eI=nI.createRange()).selectNode(nI.body),eI.createContextualFragment(t).childNodes[0]}(t):function(t){var e=nI.createElement("body");return e.innerHTML=t,e.childNodes[0]}(t)}function sI(t,e){var n,i,r=t.nodeName,o=e.nodeName;return r===o||(n=r.charCodeAt(0),i=o.charCodeAt(0),n<=90&&i>=97?r===o.toUpperCase():i<=90&&n>=97&&o===r.toUpperCase())}function aI(t,e,n){t[n]!==e[n]&&(t[n]=e[n],t[n]?t.setAttribute(n,""):t.removeAttribute(n))}var cI={OPTION:function(t,e){var n=t.parentNode;if(n){var i=n.nodeName.toUpperCase();"OPTGROUP"===i&&(i=(n=n.parentNode)&&n.nodeName.toUpperCase()),"SELECT"!==i||n.hasAttribute("multiple")||(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),n.selectedIndex=-1)}aI(t,e,"selected")},INPUT:function(t,e){aI(t,e,"checked"),aI(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 i=t.firstChild;if(i){var r=i.nodeValue;if(r==n||!n&&r==t.placeholder)return;i.nodeValue=n}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var n,i,r=-1,o=0,s=t.firstChild;s;)if("OPTGROUP"===(i=s.nodeName&&s.nodeName.toUpperCase()))(s=(n=s).firstChild)||(s=n.nextSibling,n=null);else{if("OPTION"===i){if(s.hasAttribute("selected")){r=o;break}o++}!(s=s.nextSibling)&&n&&(s=n.nextSibling,n=null)}t.selectedIndex=r}}};function lI(){}function uI(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}var hI=function(t){return function(e,n,i){if(i||(i={}),"string"==typeof n)if("#document"===e.nodeName||"HTML"===e.nodeName||"BODY"===e.nodeName){var r=n;(n=nI.createElement("html")).innerHTML=r}else n=oI(n);else 11===n.nodeType&&(n=n.firstElementChild);var o=i.getNodeKey||uI,s=i.onBeforeNodeAdded||lI,a=i.onNodeAdded||lI,c=i.onBeforeElUpdated||lI,l=i.onElUpdated||lI,u=i.onBeforeNodeDiscarded||lI,h=i.onNodeDiscarded||lI,d=i.onBeforeElChildrenUpdated||lI,p=i.skipFromChildren||lI,f=i.addChild||function(t,e){return t.appendChild(e)},m=!0===i.childrenOnly,g=Object.create(null),k=[];function _(t){k.push(t)}function b(t,e){if(1===t.nodeType)for(var n=t.firstChild;n;){var i=void 0;e&&(i=o(n))?_(i):(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 v(t){if(1===t.nodeType||11===t.nodeType)for(var e=t.firstChild;e;){var n=o(e);n&&(g[n]=e),v(e),e=e.nextSibling}}function I(t){a(t);for(var e=t.firstChild;e;){var n=e.nextSibling,i=o(e);if(i){var r=g[i];r&&sI(e,r)?(e.parentNode.replaceChild(r,e),y(r,e)):I(e)}else I(e);e=n}}function y(e,n,i){var r=o(n);if(r&&delete g[r],!i){var a=c(e,n);if(!1===a)return;if(a instanceof HTMLElement&&v(e=a),t(e,n),l(e),!1===d(e,n))return}"TEXTAREA"!==e.nodeName?function(t,e){var n,i,r,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(r=h.nextSibling,u.isSameNode&&u.isSameNode(h)){u=a,h=r;continue t}i=o(h);var d=h.nodeType,m=void 0;if(d===u.nodeType&&(1===d?(n?n!==i&&((c=g[n])?r===c?m=!1:(t.insertBefore(c,h),i?_(i):w(h,t,!0),i=o(h=c)):m=!1):i&&(m=!1),(m=!1!==m&&sI(h,u))&&y(h,u)):3!==d&&8!=d||(m=!0,h.nodeValue!==u.nodeValue&&(h.nodeValue=u.nodeValue))),m){u=a,h=r;continue t}i?_(i):w(h,t,!0),h=r}if(n&&(c=g[n])&&sI(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||nI)),f(t,u),I(u))}u=a,h=r}!function(t,e,n){for(;e;){var i=e.nextSibling;(n=o(e))?_(n):w(e,t,!0),e=i}}(t,h,i);var b=cI[t.nodeName];b&&b(t,e)}(e,n):cI.TEXTAREA(e,n)}v(e);var A,E,x=e,T=x.nodeType,C=n.nodeType;if(!m)if(1===T)1===C?sI(e,n)||(h(e),x=function(t,e){for(var n=t.firstChild;n;){var i=n.nextSibling;e.appendChild(n),n=i}return e}(e,(A=n.nodeName,(E=n.namespaceURI)&&"http://www.w3.org/1999/xhtml"!==E?nI.createElementNS(E,A):nI.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,m),k)for(var S=0,R=k.length;S<R;S++){var O=g[k[S]];O&&w(O,O.parentNode,!1)}}return!m&&x!==e&&e.parentNode&&(x.actualize&&(x=x.actualize(e.ownerDocument||nI)),e.parentNode.replaceChild(x,e)),x}}(function(t,e){var n,i,r,o,s=e.attributes;if(11!==e.nodeType&&11!==t.nodeType){for(var a=s.length-1;a>=0;a--)i=(n=s[a]).name,r=n.namespaceURI,o=n.value,r?(i=n.localName||i,t.getAttributeNS(r,i)!==o&&("xmlns"===n.prefix&&(i=n.name),t.setAttributeNS(r,i,o))):t.getAttribute(i)!==o&&t.setAttribute(i,o);for(var c=t.attributes,l=c.length-1;l>=0;l--)i=(n=c[l]).name,(r=n.namespaceURI)?(i=n.localName||i,e.hasAttributeNS(r,i)||t.removeAttributeNS(r,i)):e.hasAttribute(i)||t.removeAttribute(i)}});const dI=hI,pI=fI;function fI(t,e){const n=mI();return(fI=function(t,e){return n[t-=155]})(t,e)}function mI(){const t=["now","1421665NAPxhD","children","includes","sup","stop","cleanUpAnimations","join","div","2602278vcQtRN","parent","abort","querySelectorAll","match","currentIndex","stream","bind","addEventListener","1192yiZzhp","splitTextNodeIntoWordNodes","2284320qrtEBF","isWordSplitResult","175IuFPiK","sub","tagName","childNodes","delay","entries","html-streamer-current-index-out-of-bounds","ins","11078HiFDJD","reverse","4VyvHWw","options","shouldBeStreamed","7409129YfBCgS","mark","from","24435UrAXWC","length","replaceWith","textNodeStyle","code","del","map","span[data-ck-html-streamer-word-chunk]","push","36744490ngZPiP","span","isStreaming","strong","attribs","renderNode","isWordSplitSource","timeoutAbortController","nodesList","getParsedDocumentNodeList","signal","forEach","onStreamUpdate","document"];return(mI=function(){return t})()}!function(t){const e=fI,n=t();for(;;)try{if(630082===-parseInt(e(213))/1*(parseInt(e(160))/2)+-parseInt(e(211))/3*(parseInt(e(162))/4)+-parseInt(e(192))/5+parseInt(e(200))/6+-parseInt(e(165))/7+-parseInt(e(209))/8*(parseInt(e(168))/9)+parseInt(e(177))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mI);class gI{[pI(163)];[pI(179)]=!1;[pI(190)]=null;[pI(185)]=[];[pI(205)]=0;[pI(184)]=null;constructor(t){const e=pI;this[e(163)]={delay:t[e(156)]??20,textNodeStyle:t[e(171)],onStreamUpdate:t[e(189)]||(()=>{})}}async[pI(206)]({document:t,targetElement:e,abortSignal:n}){const i=pI;this[i(179)]&&this[i(196)](),n?.[i(208)](i(202),this[i(196)][i(207)](this)),this[i(190)]=Il(t,!0),this[i(185)]=this[i(186)](),this[i(179)]=!0,this[i(205)]>this[i(185)][i(169)]&&((0,s.logWarning)(i(158),{currentIndex:this[i(205)],nodeList:this[i(185)]}),this[i(205)]=this[i(185)][i(169)]);for(let t=0;t<this[i(205)];t++)this[i(185)][t][i(164)]=!0;let r=0;for(let t=this[i(205)];t<this[i(185)][i(169)];t++){const n=Date[i(191)](),o=this[i(185)][t],s=n-r;o[i(164)]=!0;let a=o[i(201)];for(;a;)a[i(164)]=!0,a=a[i(201)];if(s<this[i(163)][i(156)])try{const{promise:t,abortController:e}=wI(this[i(163)][i(156)]-s);this[i(184)]=e,await t}catch(t){return}dI(e,"<"+e[i(215)]+">"+this[i(182)](this[i(190)])+"</"+e[i(215)]+">",{childrenOnly:!0}),this[i(163)][i(189)]&&this[i(163)][i(189)](),this[i(205)]=t,r=Date[i(191)]()}this[i(179)]=!1}[pI(197)]({targetElement:t}){const e=pI;Array[e(167)](t[e(203)](e(175)))[e(161)]()[e(188)](t=>{const n=e;t[n(170)](t[n(155)][0])})}[pI(196)](){const t=pI;this[t(179)]=!1,this[t(184)]&&(this[t(184)][t(202)](),this[t(184)]=null)}[pI(182)](t){const e=pI;let n="";if(wl(t))for(const i of t[e(193)])n+=this[e(182)](i);else if(bI(t)){if(!t[e(164)])return"";const i=t,r=Object[e(157)](i[e(181)])[e(174)](([t,e])=>t+'="'+e+'"')[e(198)](" ");n+="<"+i[e(215)]+(r?" "+r:"")+">";for(const t of qu(i))n+=this[e(182)](t);n+="</"+i[e(215)]+">"}else{if(!_I(t))return"";if(!t[e(164)])return"";!function(t){const n=e;return!(!t[n(201)]||!bI(t[n(201)]))&&(!!kI[n(194)](t[n(201)][n(215)])&&!Fu(t)[n(204)](/^\s*[<>]\s*$/))}(t)?n+=Hu(t):n+=Hu(new gl(e(178),{"data-ck-html-streamer-word-chunk":"",style:this[e(163)][e(171)]},[t]))}return n}[pI(186)](){const t=pI,e=[];return function(t,e){const n=fI,i=t=>{const n=fI;if(e(t),t instanceof pl)for(let e=0;e<t[n(193)][n(169)];e++){const r=t[n(193)][e];i(r)}};for(let e=0;e<t[n(193)][n(169)];e++)i(t[n(193)][e])}(this[t(190)],n=>{const i=t;if(_I(n)){const t=this[i(210)](n);t[i(169)]&&e[i(176)](...t)}n[i(183)]||n[i(212)]||e[i(176)](n)}),e}[pI(210)](t){const e=pI;if(t[e(183)]||t[e(212)])return[];const n=Fu(t)[e(204)](/(?:\s*\S+\s*)/g),i=[];if(n&&n[e(169)]>1){for(const r of n){const n=new ul(r);n[e(212)]=!0,Ku(t,n),i[e(176)](n)}t[e(183)]=!0,Gu(t)}return i}}const kI=["p","li","td","th",pI(178),"h1","h2","h3","h4","h5","h6","b",pI(180),"i","em",pI(166),pI(173),pI(159),pI(195),pI(214),"a",pI(172),pI(199)];function _I(t){return _l(t)}function bI(t){return kl(t)}function wI(t){const e=new AbortController;return{promise:new Promise((n,i)=>{const r=fI,o=setTimeout(n,t);e[r(187)][r(208)](r(202),()=>{clearTimeout(o),i()})}),abortController:e}}function vI(){const t=["29yKpKkb","1055368DwMzxt","2379036NazcFS","8FoTKCL","mouseLeaveSuggestion","25126hnkokQ","110zOATQK","4610ICuFSr","30ASKZil","toggleSuggestionDisplayMode","showChangeInText","36279jbWFtu","1468579uMMnsb","117545UzKEPY","like","dislike","rejectSuggestion","applySuggestion","insertSuggestion","mouseOverSuggestion","1168323DOBdkT"];return(vI=function(){return t})()}const II=yI;function yI(t,e){const n=vI();return(yI=function(t,e){return n[t-=251]})(t,e)}!function(t){const e=yI,n=t();for(;;)try{if(941507===-parseInt(e(252))/1*(-parseInt(e(257))/2)+parseInt(e(251))/3+-parseInt(e(253))/4+-parseInt(e(265))/5*(-parseInt(e(260))/6)+parseInt(e(264))/7*(parseInt(e(255))/8)+-parseInt(e(263))/9*(parseInt(e(259))/10)+-parseInt(e(258))/11*(-parseInt(e(254))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vI);const AI=[II(262),II(270),II(269),II(268),II(271),II(256),II(261),II(266),II(267)],EI=CI;function xI(){const t=["AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED","6OYNyzd","AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT","1008942gFZoZz","insertSuggestion","609965uOUJSe","execute","remove","div","2911139Heugbf","276346kNQGiL","isVisible","ck-ai-suggestion__body__content-part__title","items","element","children","AI_SUGGESTION_CONTENT_PART_TITLE","ck-ai-suggestion__body__content-part","contentView","extendTemplate","bind","mouseOverSuggestion","state","index","accepted","bindTemplate","fire","rejectSuggestion","stream","toString","delegate","addMany","set","innerHTML","ck-hidden","AI_SUGGESTION_CONTENT_PART_REJECTED","4OaLycJ","ck-ai-suggestion__body__content-part__icon-rejected","has","_iconStateRejected","isEnabled","toggleHeader","htmlStreamer","10LmeplR","pending","add","updateContent","70962opaRWF","9DYbucQ","rejected","AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION","ck-ai-suggestion__body__content-part__title__label","ck-ai-suggestion__body__content-part_active","2187512fatIMd","AI_SUGGESTION_CONTENT_PART_DELETE","ck-ai-suggestion__body__content-part__content","mouseLeaveSuggestion","_toolbarView","change:state","showChangeInText","content","145646xijxfC","createCollection","ck-ai-suggestion__body__content-part__icon-accepted","span","ck-ai-suggestion__body__content-part_","animation: ck-html-streamer-fade-in .5s","setTemplate","partDefinition","ck-ai-suggestion__body__content-part__icon-title","headerView","streaming","_iconStateAccepted"];return(xI=function(){return t})()}!function(t){const e=CI,n=t();for(;;)try{if(213348===parseInt(e(279))/1+parseInt(e(330))/2+-parseInt(e(316))/3+parseInt(e(305))/4*(parseInt(e(347))/5)+parseInt(e(343))/6*(-parseInt(e(351))/7)+parseInt(e(322))/8*(parseInt(e(317))/9)+parseInt(e(312))/10*(-parseInt(e(345))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xI);class TI extends a.View{[EI(311)];[EI(284)];[EI(339)];[EI(287)];constructor(t,{part:e,areActionsDisabled:n}){const i=EI;super(t),this[i(301)](i(337),e),this[i(301)](i(291),i(313)),this[i(301)](i(280),!1),this[i(289)](i(309)).to(this,i(291),t=>i(313)==t&&!n),this[i(284)]=this[i(331)](),this[i(311)]=new gI({textNodeStyle:i(335),delay:20}),this[i(339)]=new SI(t,e),this[i(339)][i(289)](i(337)).to(this),this[i(339)][i(289)](i(309)).to(this),this[i(339)][i(289)](i(291)).to(this),this[i(339)][i(299)](...AI).to(this);const r=this[i(294)];this[i(287)]=new a.View,this[i(287)][i(336)]({tag:i(350),attributes:{class:["ck",i(324)]}}),this[i(284)][i(300)]([this[i(287)]]),this[i(336)]({tag:i(350),attributes:{class:["ck",i(286),r.to(i(291),t=>i(334)+t),r.to(i(309),t=>t?i(321):void 0),r.if(i(280),i(303),t=>!t)]},children:this[i(284)],on:{mouseenter:r.to(()=>{const t=i;this[t(309)]&&this[t(295)](t(290),{index:e[t(292)]})}),mouseleave:r.to(()=>{const t=i;this[t(309)]&&this[t(295)](t(325),{index:e[t(292)]})})}})}async[EI(315)]({part:t,renderingStrategy:e,abortSignal:n}){const i=EI;this[i(337)]=t,this[i(280)]=!!this[i(337)][i(329)],this[i(337)][i(329)]&&(i(340)===e?await this[i(311)][i(297)]({document:this[i(337)][i(329)],targetElement:this[i(287)][i(283)],abortSignal:n}):this[i(287)][i(283)][i(302)]=eh(this[i(337)][i(329)]))}[EI(310)](t){const e=EI;t?this[e(284)][e(307)](this[e(339)])||this[e(284)][e(314)](this[e(339)],0):this[e(284)][e(307)](this[e(339)])&&this[e(284)][e(349)](this[e(339)])}}function CI(t,e){const n=xI();return(CI=function(t,e){return n[t-=279]})(t,e)}class SI extends a.View{[EI(284)];[EI(326)];[EI(341)];[EI(308)];constructor(t,e){const n=EI;super(t),this[n(301)](n(337),e),this[n(301)](n(309),!0),this[n(301)](n(291),n(313));const i=new a.IconView;i[n(329)]=o.IconThreeStars,i[n(288)]({attributes:{class:[n(338)]}});const r=new a.ButtonView(t);r[n(301)]({label:zc(t,n(344)),tooltip:!0,withText:!1,icon:o.IconDocumentWithLoupe}),r[n(289)](n(309)).to(this),r.on(n(348),()=>{const t=n;this[t(295)](t(328),{index:e[t(292)]})});const s=new a.ButtonView(t);s[n(301)]({label:zc(t,n(319)),tooltip:!0,withText:!1,icon:o.IconAddComment}),s[n(289)](n(309)).to(this),s.on(n(348),()=>{const t=n;this[t(295)](t(346),{index:e[t(292)]})});const c=new a.ButtonView(t);c[n(301)]({label:zc(t,n(323)),tooltip:!0,withText:!1,icon:o.IconRemove}),c.on(n(348),()=>{const t=n;this[t(295)](t(296),{index:e[t(292)]})}),c[n(289)](n(309)).to(this),this[n(326)]=new a.ToolbarView(t),this[n(326)][n(282)][n(300)]([r,s,c]),this[n(341)]=new a.IconView,this[n(341)][n(329)]=o.IconDocumentWithCheckmark,this[n(341)][n(288)]({attributes:{class:[n(332)],"data-cke-tooltip-text":zc(t,n(342)),"data-cke-tooltip-position":"n"}}),this[n(308)]=new a.IconView,this[n(308)][n(329)]=o.IconDocumentWithCross,this[n(308)][n(288)]({attributes:{class:[n(306)],"data-cke-tooltip-text":zc(t,n(304)),"data-cke-tooltip-position":"n"}});const l=new a.View(t);l[n(336)]({tag:n(333),attributes:{class:["ck",n(320)]},children:[zc(t,n(285),(e[n(292)]+1)[n(298)]())]}),this[n(284)]=this[n(331)](),this[n(284)][n(300)]([i,l,this[n(326)]]),this[n(336)]({tag:n(350),attributes:{class:["ck",n(281)]},children:this[n(284)]}),this.on(n(327),(t,e,i,r)=>{const o=n;switch(r){case o(313):this[o(284)][o(349)](this[o(326)]);break;case o(293):this[o(284)][o(349)](this[o(341)]);break;case o(318):this[o(284)][o(349)](this[o(308)])}switch(i){case o(313):this[o(284)][o(314)](this[o(326)]);break;case o(293):this[o(284)][o(314)](this[o(341)]);break;case o(318):this[o(284)][o(314)](this[o(308)])}})}}const RI=NI;function OI(){const t=["2580mPOaqX","9785094KODZgi","_processQueue","callback","length","_queueEmpty","_abortController","once","queue","enqueue","abort","134eYLLMI","3ddXjAB","3321682skVoSy","shift","createTask","reject","fire","48QEezkR","resolve","1070HTHTfY","isProcessing","2375432PMbuKr","2770skNOBF","push","17001KlFVEY","313552faDoes","signal","completePromise","queueEmptyPromise"];return(OI=function(){return t})()}function NI(t,e){const n=OI();return(NI=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=NI,n=t();for(;;)try{if(376840===parseInt(e(184))/1*(-parseInt(e(166))/2)+parseInt(e(185))/3*(parseInt(e(165))/4)+parseInt(e(163))/5*(parseInt(e(161))/6)+-parseInt(e(156))/7+parseInt(e(169))/8+parseInt(e(168))/9*(-parseInt(e(173))/10)+parseInt(e(174))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(OI);class MI extends((0,s.EmitterMixin)()){[RI(181)]=[];[RI(164)]=!1;[RI(179)];async[RI(182)](t){const e=RI,n=this[e(158)](t);return this[e(181)][e(167)](n),this[e(175)](),n[e(171)]}[RI(183)](){const t=RI;this[t(164)]&&(this[t(179)][t(183)](),this[t(179)]=void 0,this[t(181)]=[],this[t(160)](t(178)),this[t(164)]=!1)}get[RI(172)](){const t=RI;return this[t(181)][t(177)]||this[t(164)]?new Promise(e=>{const n=t;this[n(180)](n(178),()=>{e()})}):Promise[t(162)]()}async[RI(175)](){const t=RI;if(!this[t(164)]){this[t(179)]=new AbortController,this[t(164)]=!0;try{for(;this[t(181)][t(177)]&&this[t(164)];){const e=this[t(181)][t(157)]();try{await e[t(176)](this[t(179)][t(170)]),e[t(162)]()}catch(n){e[t(159)](n)}}}finally{this[t(164)]=!1,this[t(179)]=void 0}this[t(160)](t(178))}}[RI(158)](t){let e,n;const i=new Promise((t,i)=>{e=t,n=i});return{callback:t,resolve:e,reject:n,completePromise:i}}}const LI=DI;function PI(){const t=["isDone","removeAttribute","88zBumMd","ck-ai-chat__feed__item_done","ck-ai-chat__feed__item","isVisible","streamIntoElement","set","ck-ai-chat__feed__text-item","623556ddznFV","8205183LPGmFp","ck-hidden","bindTemplate","cleanUpAnimations","options","stream","1599027hwlYFp","createCollection","children","element","div","markAsDone","content","forEach","data-id","2935920oYedId","4PuDqkU","1500245tYNWqD","1733652yqfmts","1000517wetBZl","setTemplate","querySelectorAll","htmlStreamer","animation: ck-html-streamer-fade-in .5s","[data-id]"];return(PI=function(){return t})()}function DI(t,e){const n=PI();return(DI=function(t,e){return n[t-=432]})(t,e)}!function(t){const e=DI,n=t();for(;;)try{if(655330===parseInt(e(443))/1+parseInt(e(442))/2+parseInt(e(465))/3+parseInt(e(440))/4*(-parseInt(e(441))/5)+parseInt(e(439))/6+-parseInt(e(459))/7+-parseInt(e(451))/8*(parseInt(e(458))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PI);class HI extends a.View{[LI(463)];[LI(436)]="";[LI(446)];[LI(432)];constructor(t){const e=LI;super();const n=this[e(461)];this[e(456)](e(449),!1),this[e(456)](e(454),!0),this[e(446)]=new gI({textNodeStyle:e(447),delay:20}),this[e(463)]=t,this[e(432)]=this[e(466)](),this[e(444)]({tag:e(434),attributes:{class:["ck",e(453),n.if(e(449),e(452)),n.if(e(454),e(460),t=>!t),e(457)],"data-cke-ai-id":this[e(463)].id},children:this[e(432)]})}[LI(435)](){const t=LI;this[t(446)][t(462)]({targetElement:this[t(433)]}),this[t(433)][t(445)](t(448))[t(437)](e=>{const n=t;e[n(450)](n(438))}),this[t(449)]=!0}async[LI(455)](t,e,n){const i=LI;await this[i(446)][i(464)]({document:t,targetElement:e,abortSignal:n})}}var BI=UI;function UI(t,e){var n=VI();return(UI=function(t,e){return n[t-=219]})(t,e)}function VI(){var t=["300572lVrAMu","warning","8xHhscc","markAsDone","render","ck-ai-chat-error","setContent","1122464zMkuLT","extendTemplate","innerHTML","1956504xyFYWu","options","9606gJPqxT","level","element","initialContent","17552070yfGzNk","ck-ai-chat-error_warning","2868784blRtoE","2769102VDuckb","3555KHRWrb"];return(VI=function(){return t})()}!function(t){for(var e=UI,n=t();;)try{if(777880===parseInt(e(232))/1+parseInt(e(230))/2+-parseInt(e(221))/3+parseInt(e(229))/4+parseInt(e(231))/5*(parseInt(e(223))/6)+-parseInt(e(239))/7+-parseInt(e(234))/8*(parseInt(e(227))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(VI);class FI extends HI{constructor(t){var e=UI;super(t),this[e(219)]({attributes:{class:[e(237),e(233)===t[e(224)]?e(228):""]}})}[BI(236)](){var t=BI;super[t(236)](),this[t(238)](this[t(222)][t(226)]),this[t(235)]()}[BI(238)](t){var e=BI;this[e(225)][e(220)]=t}}const qI=GI;function zI(){const t=["3242692NVPkvs","14307821kPwOIQ","7BvLhub","AI_SUGGESTION_EMPTY_PART_WARNING","7286870jTMStg","markAsDone","_updateContentPartsPromiseQueue","length","delegate","get","ck-ai-suggestion__body","setTemplate","createCollection","empty-parts-warning","ck-reset_all-excluded","35064hdiumU","enqueue","632stirTv","_emptyPartsWarningView","add","some","warning","find","div","3621108DHQsqG","updatePartState","index","hasNonEmptyParts","content","_children","_areActionsDisabled","partsCount","state","partDefinition","first","isVisible","hasPendingParts","AI_SUGGESTION_NO_PARTS_WARNING","addEventListener","updateContentParts","locale","3HbxOzB","116602yZEUiN","3359830NgfHkL","updateContent","set","12ZJiXXM","ck-ai-suggestion__body__content-parts","getPartView","setContent","toggleHeader","pending","ck-content","7bKYeRT","abort","from","queueEmptyPromise"];return(zI=function(){return t})()}function GI(t,e){const n=zI();return(GI=function(t,e){return n[t-=292]})(t,e)}!function(t){const e=GI,n=t();for(;;)try{if(408794===-parseInt(e(346))/1*(-parseInt(e(329))/2)+-parseInt(e(328))/3*(parseInt(e(344))/4)+-parseInt(e(330))/5+-parseInt(e(311))/6*(-parseInt(e(340))/7)+-parseInt(e(304))/8*(-parseInt(e(302))/9)+-parseInt(e(348))/10+-parseInt(e(345))/11*(-parseInt(e(333))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zI);class jI extends a.View{[qI(316)];[qI(317)];[qI(293)];[qI(305)];constructor(t,{areActionsDisabled:e}){const n=qI;super(t),this[n(317)]=e,this[n(332)](n(323),!1),this[n(316)]=this[n(299)](),this[n(293)]=new MI,this[n(305)]=new FI({id:n(300),initialContent:zc(t,n(347)),level:n(308)}),this[n(305)][n(322)]=!1,this[n(298)]({tag:n(310),attributes:{class:["ck",n(301),n(297),n(339)]},children:[{tag:n(310),attributes:{class:["ck",n(334)]},children:this[n(316)]},this[n(305)]]})}get[qI(318)](){const t=qI;return this[t(316)][t(294)]}async[qI(326)]({parts:t,renderingStrategy:e,abortSignal:n}){const i=qI;for(const n of t)this[i(293)][i(303)](async t=>{const r=i;let o=this[r(316)][r(309)](t=>t[r(320)][r(313)]==n[r(313)]);o||(o=new TI(this[r(327)],{part:n,areActionsDisabled:this[r(317)]}),o[r(295)](...AI).to(this),this[r(316)][r(306)](o),this[r(323)]=!0),2===this[r(316)][r(294)]&&this[r(316)][r(321)][r(337)](!0),o[r(337)](this[r(316)][r(294)]>1),await o[r(331)]({part:n,renderingStrategy:e,abortSignal:t})});return n?.[i(325)](i(341),()=>{const t=i;this[t(293)][t(341)]()}),this[i(293)][i(343)]}[qI(312)](t,e){const n=qI;this[n(316)][n(296)](t)[n(319)]=e,this[n(323)]=n(338)==e||Array[n(342)](this[n(316)])[n(307)](t=>n(338)==t[n(319)])}[qI(335)](t){const e=qI;return this[e(316)][e(296)](t)}[qI(292)](){const t=qI,e=!this[t(316)][t(309)](e=>!!e[t(320)][t(315)]),n=!!this[t(316)][t(309)](e=>!e[t(320)][t(315)]);this[t(305)][t(322)]=n,e?this[t(305)][t(336)](zc(this[t(327)],t(324))):this[t(305)][t(336)](zc(this[t(327)],t(347)))}get[qI(314)](){const t=qI;return!!this[t(316)][t(309)](e=>!!e[t(320)][t(315)])}}function WI(){const t=["span","817101iKAruJ","1428867sEdIjN","extendTemplate","ck-ai-spinner_","3048708ppmJbD","10673416jaWbdV","1261985RXfVMK","ck-ai-spinner","19146nfDrqf","490638GKjKyl","1603gpwOfZ"];return(WI=function(){return t})()}function YI(t,e){const n=WI();return(YI=function(t,e){return n[t-=446]})(t,e)}!function(t){const e=YI,n=t();for(;;)try{if(464211===-parseInt(e(448))/1+-parseInt(e(457))/2+parseInt(e(449))/3+-parseInt(e(452))/4+-parseInt(e(454))/5+parseInt(e(456))/6*(parseInt(e(446))/7)+parseInt(e(453))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(WI);class KI extends a.SpinnerView{constructor(t=void 0){const e=YI;super();const n=t?e(451)+t:"";this[e(450)]({tag:e(447),attributes:{class:[e(455),n]}})}}const $I=QI;function QI(t,e){const n=XI();return(QI=function(t,e){return n[t-=419]})(t,e)}function XI(){const t=["add","878101FQnpzM","div","bind","span","miniToolbarView","extendTemplate","isLoaderVisible","ck-ai-suggestion__loader","isLoading","isShowChangesToggleVisible","ck-rounded-corners","delegate","small","22565rRrLcG","showLoader","bindTemplate","1734008xJgRWP","locale","map","_createLoaderView","fire","headerView","ck-hidden","bodyView","1383612HCqvPL","2713112MNJMXJ","Sources","ck-ai-web-sources__header","toggleSuggestionDisplayMode","updateContentParts","toggleShowChanges","161729MecnIb","1076706ODtaLD","ck-ai-web-sources","ck-ai-suggestion__loader-text","content","sourcesView","setTemplate","ck ck-ai-web-source","hasNonEmptyParts","areChangesVisible","AI_CHAT_IS_WRITING","loaderView","948KGfyOa","set","updateContent","markAsDone","setLoading","children","isVisible","createCollection","clearLoading","title","updateSources","hideLoader","addMany","ck-ai-suggestion__container","isOn"];return(XI=function(){return t})()}!function(t){const e=QI,n=t();for(;;)try{if(408668===-parseInt(e(422))/1+parseInt(e(423))/2+-parseInt(e(474))/3+-parseInt(e(466))/4+-parseInt(e(463))/5*(-parseInt(e(434))/6)+-parseInt(e(450))/7+parseInt(e(475))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(XI);class JI extends a.View{[$I(473)];[$I(439)];[$I(471)];[$I(454)];[$I(433)];[$I(427)];constructor(t,{showDiff:e,areActionsDisabled:n,miniToolbarConfig:i,hideHeader:r,showLoader:o}){const s=$I;super(t),this[s(435)](s(431),!1),this[s(435)](s(456),!!o),this[s(435)](s(458),!1),this[s(439)]=this[s(441)](),r||(this[s(471)]=new Zv(t,{showDiff:e}),this[s(471)].on(s(421),(t,e)=>{const n=s;this[n(431)]=e[n(448)],this[n(470)](n(419),{showDiff:e[n(448)]})}),this[s(439)][s(449)](this[s(471)])),this[s(473)]=new jI(t,{areActionsDisabled:n}),this[s(473)][s(461)](...AI).to(this),this[s(473)][s(455)]({attributes:{class:[this[s(465)].if(s(456),s(472))]}}),this[s(454)]=new $v(t,i,e),this[s(454)][s(461)](...AI).to(this),this[s(454)].on(s(421),(t,e)=>{const n=s;this[n(431)]=e,this[n(470)](n(419),{showDiff:e})}),this[s(454)][s(452)](s(458)).to(this),this[s(439)][s(449)](this[s(473)]),this[s(439)][s(449)](this[s(454)]),this[s(427)]=new ZI(this[s(467)]),this[s(439)][s(449)](this[s(427)]),o&&(this[s(433)]=this[s(469)](),this[s(439)][s(449)](this[s(433)])),this[s(428)]({tag:s(451),attributes:{class:["ck",s(447),s(460)]},children:this[s(439)]})}async[$I(436)](t){const e=$I;await this[e(473)][e(420)](t)}[$I(444)](t){const e=$I;this[e(427)][e(439)][e(446)](t[e(468)](t=>new ty(this[e(467)],t))),this[e(427)][e(440)]=!0}[$I(464)](){const t=$I;this[t(433)]&&(this[t(456)]=!0)}[$I(445)](){const t=$I;this[t(433)]&&(this[t(456)]=!1)}[$I(437)](){const t=$I;this[t(473)][t(437)](),this[t(471)]&&(this[t(471)][t(459)]=this[t(473)][t(430)])}[$I(438)](){this[$I(458)]=!0}[$I(442)](){this[$I(458)]=!1}[$I(469)](){const t=$I,e=new a.View(this[t(467)]),n=new KI(t(462));n[t(440)]=!0;const i=new a.View(this[t(467)]);return i[t(428)]({tag:t(453),attributes:{class:["ck",t(425)]},children:[zc(this[t(467)],t(432))]}),e[t(428)]({tag:t(451),attributes:{class:["ck",t(457),this[t(465)].if(t(456),t(472),t=>!t)]},children:[n,i]}),e}}class ZI extends a.View{[$I(439)];constructor(t){const e=$I;super(t),this[e(439)]=this[e(441)](),this[e(435)](e(440),!1),this[e(428)]({tag:e(451),attributes:{class:["ck",e(424),this[e(465)].if(e(440),e(472),t=>!t)]},children:this[e(439)]});const n=new a.View(this[e(467)]),i=new a.IconView;i[e(426)]=zv,n[e(428)]({tag:e(451),attributes:{class:["ck",e(477)]},children:[i,{tag:e(453),children:[{text:e(476)}]}]}),this[e(439)][e(449)](n)}}class ty extends a.ButtonView{constructor(t,e){const n=$I;super(t),this[n(435)]({icon:zv,label:e[n(443)],tooltip:e[n(443)],class:[n(429)],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=["1519917ymSpNW","bind","4qXhjQU","ck-ai-balloon__toolbar","8113239JxeLBl","8854085LqvtIi","ck-ai-button-secondary","suggestButton","63915434IyPsrF","isLoading","applyButton","ck-ai-button-primary","AI_BALLOON_APPLY_BUTTON","set","add","20EhVZxx","locale","13145072GKnWoI","_createButton","24iZRSdg","isEnabled","1554418WLRMnv","2oxvCBe","1659297BiDVzL","items","AI_BALLOON_SUGGEST_BUTTON","extendTemplate"];return(ny=function(){return t})()}const iy=ry;function ry(t,e){const n=ny();return(ry=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=ry,n=t();for(;;)try{if(903828===-parseInt(e(276))/1+-parseInt(e(277))/2*(parseInt(e(278))/3)+-parseInt(e(257))/4*(parseInt(e(260))/5)+parseInt(e(274))/6*(-parseInt(e(282))/7)+parseInt(e(272))/8+parseInt(e(259))/9*(-parseInt(e(270))/10)+parseInt(e(263))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ny);class oy extends a.ToolbarView{constructor(t,e=!0,n=!0){const i=ry;super(t),this[i(268)](i(264),!1),e&&(this[i(265)]=this[i(273)](zc(t,i(267)),i(266)),this[i(265)][i(256)](i(275)).to(this,i(264),t=>!t),this[i(279)][i(269)](this[i(265)])),n&&(this[i(262)]=this[i(273)](zc(t,i(280)),i(261)),this[i(262)][i(256)](i(275)).to(this,i(264),t=>!t),this[i(279)][i(269)](this[i(262)])),this[i(281)]({attributes:{class:[i(258)]}})}[iy(273)](t,e){const n=iy,i=new a.ButtonView(this[n(271)]);return i[n(268)]({label:t,class:e||"",isVisible:!0,withText:!0}),i}}function sy(){var t=["ck-ai-balloon__disclaimer","ck-ai-balloon__disclaimer-content","17943IUvIoT","94RuKilu","3069AsROUm","div","AI_DISCLAIMER_TEXT","2976810zjikBw","13320734DacJQc","setTemplate","1492413tsLMfr","2456hOREKS","29819300hcQoRp","26568acYlsF","8835kmQsIT"];return(sy=function(){return t})()}function ay(t,e){var n=sy();return(ay=function(t,e){return n[t-=290]})(t,e)}!function(t){for(var e=ay,n=t();;)try{if(960052===-parseInt(e(291))/1+-parseInt(e(299))/2*(-parseInt(e(298))/3)+-parseInt(e(292))/4*(parseInt(e(295))/5)+-parseInt(e(303))/6+parseInt(e(304))/7+-parseInt(e(294))/8*(parseInt(e(300))/9)+parseInt(e(293))/10)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(290)]({tag:e(301),attributes:{class:["ck",e(296)]},children:[{tag:"p",attributes:{class:["ck",e(297)]},children:[{text:zc(t,e(302))}]}]})}}const ly=uy;function uy(t,e){const n=hy();return(uy=function(t,e){return n[t-=292]})(t,e)}function hy(){const t=["_addContentView","isLoading","element","suggestButton","headerView","showPrevious","toolbar","_addToolbar","view","456GVyTgD","showNext","focusTracker","listenTo","3007998hBegJI","focusLast","focus","fire","2736820JVOISK","add","setTemplate","130095hQZQdk","focusCycler","_mainView","tab","set","createCollection","_focusables","AI_BALLOON_NEXT_TOOLTIP","1629420ZFBLfz","5yApZot","insertSuggestion","keystrokes","applySuggestion","showApplyButton","focusFirst","285210ddiFEW","1414195JiOjhK","setupRotator","addMany","setLoading","shift + tab","_createPreviousButtonView","locale","bind","disclaimerView","execute","children","_dialogContent","applyButton","_createNextButtonView","clear","6827676rEPqvk","ai-balloon-content","clearLoading","mainView","div","showSuggestButton","_addDisclaimerView","AI_BALLOON_PREVIOUS_TOOLTIP","render"];return(hy=function(){return t})()}!function(t){const e=uy,n=t();for(;;)try{if(686954===parseInt(e(316))/1*(parseInt(e(322))/2)+-parseInt(e(315))/3+parseInt(e(304))/4+-parseInt(e(323))/5+-parseInt(e(338))/6+parseInt(e(300))/7+-parseInt(e(296))/8*(-parseInt(e(307))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hy);const dy=[ly(319),ly(317),ly(297),ly(292)];class py extends a.View{[ly(298)];[ly(318)];[ly(308)];[ly(313)];constructor(t,e){const n=ly;super(t),this[n(311)](n(348),!1),this[n(298)]=new s.FocusTracker,this[n(318)]=new s.KeystrokeHandler,this[n(313)]=this[n(312)](),this[n(308)]=new a.FocusCycler({focusables:this[n(313)],focusTracker:this[n(298)],keystrokeHandler:this[n(318)],actions:{focusPrevious:n(327),focusNext:n(310)}}),this[n(334)]=new a.ViewCollection,this[n(347)](e[n(341)]),this[n(344)](),this[n(294)](e[n(320)],e[n(343)]),this[n(293)][n(330)](n(348)).to(this),this[n(313)][n(337)](),this[n(313)][n(325)]([this[n(293)]]),this[n(306)]({tag:n(342),attributes:{class:n(339)},children:this[n(334)]})}[ly(346)](){const t=ly;super[t(346)]();for(const e of this[t(313)])this[t(298)][t(305)](e[t(349)]);this[t(318)][t(299)](this[t(349)])}[ly(302)](t){const e=ly;-1===t?this[e(308)][e(301)]():this[e(308)][e(321)]()}[ly(326)](){this[ly(348)]=!0}[ly(340)](){this[ly(348)]=!1}[ly(324)](t){const e=ly,n=this[e(336)](),i=this[e(328)]();t[e(295)][e(351)][e(333)][e(305)](n,2),t[e(295)][e(351)][e(333)][e(305)](i,0),this[e(313)][e(325)]([n,i]),this[e(298)][e(305)](n[e(349)]),this[e(298)][e(305)](i[e(349)])}[ly(347)](t){const e=ly;this[e(309)]=t,this[e(334)][e(305)](this[e(309)])}[ly(344)](){const t=ly;this[t(331)]=new cy(this[t(329)]),this[t(334)][t(305)](this[t(331)])}[ly(294)](t=!0,e=!0){const n=ly;this[n(293)]=new oy(this[n(329)],t,e),this[n(293)][n(335)]?.on(n(332),()=>{const t=n;this[t(303)](t(319))}),this[n(293)][n(350)]?.on(n(332),()=>{const t=n;this[t(303)](t(317))}),this[n(334)][n(305)](this[n(293)])}[ly(336)](){const t=ly,e=new a.ButtonView(this[t(329)]);return e[t(311)]({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(329)],t(314))}),e.on(t(332),()=>{const e=t;this[e(303)](e(297))}),e}[ly(328)](){const t=ly,e=new a.ButtonView(this[t(329)]);return e[t(311)]({icon:ey,tooltip:zc(this[t(329)],t(345))}),e.on(t(332),()=>{const e=t;this[e(303)](e(292))}),e}}var fy=n(660),my={attributes:{"data-cke":!0}};my.setAttributes=Et(),my.insert=yt().bind(null,"head"),my.domAPI=vt(),my.insertStyleElement=Tt();bt()(fy.A,my);fy.A&&fy.A.locals&&fy.A.locals;function gy(t,e){const n=_y();return(gy=function(t,e){return n[t-=285]})(t,e)}const ky=gy;function _y(){const t=["6566645juuvrS","ranges","top","delegate","isOpen","plugins","icon","411633JURaWD","ai-balloon-"," ai-balloon-rotator","351504yeTBsx","AIEditing","1574080pPpwHX","_calculateOptimalTopPosition","hideFakeVisualSelection","ai-balloon","requires","3844164lkfYSz","_config","show","length","close","_calculateDialogPosition","editing","locale","model","title","left","index","1885140Zmdizu","open","setupRotator","get","height","6654aWPUNh","width","round","showFakeVisualSelection","aiBalloon","isPremiumPlugin","22aSpmHM","balloonView","pluginName","261tnqxEI","AIBalloon","dialogClosed","context","_setupVisualSelection","bind","9345xFkaGz","showRotator","ai-selection","innerHeight","fire","_showDialog","getBoundingClientRect","ai-balloon-selection","Dialog","isOfficialPlugin","getMarkersGroup","hide","markers"];return(_y=function(){return t})()}!function(t){const e=gy,n=t();for(;;)try{if(791232===parseInt(e(337))/1+-parseInt(e(303))/2*(-parseInt(e(332))/3)+-parseInt(e(342))/4+-parseInt(e(325))/5+parseInt(e(297))/6*(-parseInt(e(312))/7)+-parseInt(e(335))/8*(-parseInt(e(306))/9)+parseInt(e(292))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_y);ky(308);class by extends r.ContextPlugin{static get[ky(341)](){return[Kc,kb]}static get[ky(305)](){return ky(307)}static get[ky(321)](){return!0}static get[ky(302)](){return!0}[ky(329)]=!1;[ky(343)];[ky(293)](t){const e=ky,n=db(this[e(309)]);this[e(343)]=t,this[e(304)]=new py(n[e(287)],t),this[e(304)][e(328)](...dy).to(this),this[e(317)](t)}[ky(346)](){const t=ky;db(this[t(309)])[t(330)][t(295)](t(320))[t(323)]()}[ky(310)](t,e){const n=ky;this[n(309)][n(330)][n(295)](kb)[n(300)](t,n(333)+e,!0,!0)}[ky(317)](t){const e=ky,n=db(this[e(309)]);this[e(310)](t[e(326)],t[e(291)]),n[e(330)][e(295)](e(320))[e(344)]({title:t[e(289)],icon:t[e(331)],hasCloseButton:!0,id:e(301),position:this[e(285)][e(311)](this),className:e(340)+(t[e(313)]?e(334):""),content:this[e(304)],onShow:n=>{const i=e;t[i(313)]&&this[i(304)][i(294)](n),this[i(329)]=!0},onHide:()=>{const n=e;this[n(309)][n(330)][n(295)](n(336))[n(339)](n(333)+t[n(291)]),this[n(316)](n(308)),this[n(329)]=!1}})}[ky(285)](t,e){const n=ky,i=db(this[n(309)]);if(!e)return{left:0,top:0};const r=function(t,e){const n=Ow;if(0===e[n(224)])return null;const i=[],r=t[n(216)][n(220)];for(const o of e){const e=t[n(205)][n(209)](o[n(221)]);if(!e)continue;const s=Array[n(215)](e)[n(217)](t=>r[n(226)](t))[n(223)](t=>!!t);i[n(206)](...s)}if(0===i[n(224)])return null;const o=[];for(const t of i){const e=t[n(230)]()[n(211)](0);e&&o[n(206)]({x:e.x,y:e.y,domElement:t})}return 0===o[n(224)]?null:(o[n(225)]((t,e)=>t.y-e.y||t.x-e.x),o[n(217)](t=>t[n(219)]))}(i[n(286)],[...i[n(288)][n(324)][n(322)](n(314)),...i[n(288)][n(324)][n(322)](n(319))]);if(!r||0===r[n(345)])return{left:Math[n(299)](e[n(290)]+e[n(298)]/2-t[n(298)]/2),top:Math[n(299)](e[n(327)]+e[n(296)]/2-t[n(296)]/2)};const o=Math[n(299)](e[n(290)]+e[n(298)]/2-t[n(298)]/2),s=r[0][n(318)](),a=r[r[n(345)]-1][n(318)](),c=t[n(296)],l=this[n(343)][n(313)]?8:0;return{left:o,top:this[n(338)](s,a,c,l)}}[ky(338)](t,e,n,i=0){const r=ky,o=e[r(327)]+e[r(296)],s=t[r(327)]-n-i,a=window[r(315)]-o-10,c=t[r(327)]-i-10;let l;return l=a>=n?o+10:c>=n?s-10:t[r(327)]+(e[r(327)]+e[r(296)])/2-(n+i)/2,l}}const wy=Iy;function vy(){const t=["addSelectionToContext","chat","getSelectionText","replyChangeGroupStateUpdated","getGroupId","partIndex","selectedModel","contextSent","closeSourceResourceBalloon","createRange","addResourceToContext","_handleStartConversation","addFeedItemError","delete","setConversationContext","text-delta","_previewedChangeGroup","toggleReasoning","push","removeContextItem","ai-chat-url-upload-failed","toLocaleLowerCase","uid","ai.chat.models.displayedModels","get","resources","resourceStateChanged","rejectSuggestion","interactionId","_applyOperationsAsSuggestions","history","accepted","path","close","interactionStarted","isUploadInProgress","remove","cloneNode","insertSuggestion","selectModel","rootName","editors","addCurrentDocumentToContext","addContextItem","startConversation","createPositionAt","updateConversationTitle","isDocumentOperation","root","isInContext","updateFeedItemAIReplySuggestionPartState","_stopLastInteraction","init","log","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","find","load","AI_CHAT_UNABLE_TO_START_CONVERSATION","ai-conversation-","AIConnector","getRanges","contextItemRemoved","Undo","filter","abortPromptStream","ai-chat-source-resources-load-failed","8tjdDwF","start","applySuggestion","AIChatController","source","AIEditing","ai-chat-missing-channel-id","AI_CHAT_RESOURCE_LOAD_FAILED","content","1822146yvufCW","documentContextContent","isOpen","getOperations","addOperation","_balloonShowDiff","main","setContextItemLoading","344BYExuk","full","sourceResourcesLoaded","getDocumentData","getChild","getRoot","finishInteraction","ai-chat-resource-load-failed","Showing conversation history...","ai-chat-controller-no-active-conversation","_integrateEditor","ai-request-aborted","_aiConnector","createConversation","resetConversationTitle","data","_flushLastInteractionUI","anchorId","requires","ai.chat.models.defaultModelId","plugins","version","contextItemAdded","indexes","provider","dialogClosed","interactionCreated","changes","addFileToContext","has","focusPromptInput","view","AI_CHAT_GENERIC_ERROR","AIChatUI","viewRangeToDom","addFeedInteractionHeader","AITabs","isLoading","160430gqxXyP","editing","removeMarker","Disliked response","resizeTabs","type","stopListening","unshift","mouseOverSuggestion","278859UFwDzM","2766MqaIfD","isPremiumPlugin","removeFeedInteraction","isDisabled","slice","length","setChangeGroupState","createPositionFromPath","updateFeedItemAIReplySources","ai-chat-file-upload-failed","rejected","resizedTabs","resetMessageInput","static","getInteractionAndReplyById","_createFromRanges","pluginName","forEach","247968DerriV","startsWith","12690QZrVAK","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE","dislike","341IMEeyd","AI_CHAT_ABORTED_MESSAGE","data-id","addFeedItemUserMessage","nextSibling","addUrlToContext","toViewRange","config","handleRemovedConversation","_setIsMaximized","24074gKJIzD","updateCurrentDocumentInContext","getMarkersGroup","pending","_toggleWebSearch","getChildren","lastInteraction","sendUserMessage","_batchToChanges","_showConversationHistory","collaboration.channelId","replyContentUpdated","baseVersion","capabilitiesUpdated","getAttribute","error","removed","updateFeedItemAIReplySuggestionContent","startInteraction","mapper","interactionDestroyed","sendMessage","document","sourcePosition","stopInteraction","new","updateContent","ready","howMany","revert","model","ai-chat-context-invalid-data","_scrollToSuggestionRange","streaming","getDiff","getFirstRange","toggleSuggestionDisplayMode","replyCreated","change","string","interactionFinished","isCurrentDocumentInConversation","updateResourceState","contextItems","hideFakeVisualSelection","sources","_handleUIUserMessage","_aiChatUi","_aiEditing","end","getTransformedByOperation","addFeedItemAIReply","stop","_toggleReasoning","modification-delta","maxOffset","mouseLeaveSuggestion","toggleLoadingSkeleton","isStarted","options","clearPendingContextUI","getChildAtOffset","loadConversation","TrackChangesEditing","domConverter","setModel","sourceId","afterInit","$graveyard","listenTo","isOfficialPlugin","setAddContextOptions","node","Failed to load conversation","_removeAISelectionMarkers","ai-chat-conversation-init-failed","state","scrollFeedToSuggestion","uiId","applyOperation","showChangeInText","locale","addContextOptionsChanged","isCurrentDocumentInContext","AI_CHAT_CONTEXT_INVALID_DATA","addFeedItemAISuggestion","Suggestion ","setSelectedModel","updateFeedItemAIReplyContent","Liked response","parse","getInteraction","replies","updateCapabilities","contextItemLoadingEnded","activeConversation","name","batch","loadSourceResources","removeFromContext","selection","addDocumentToContext","context","AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES","_aiChatModels","indexOf","removeSelectionFromChatContext","AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL","45840312PTBByQ","showFakeVisualSelection","undo","setIsUploadInProgress","commands","resize","setConversationTitle","setIsMaximized","DocumentCompare","showNext","addFilesToContext","AI_CHAT_UNTITLED_CONVERSATION","resourceId","split","activateTab","updateFeedInteractionHeader","resource","setFeedItemRenderingStrategy","ai-chat-controller-mouse-over","markers","_insertSuggestion","_updateReplyContent","getReply","getDocumentContext","_logError","111nbDjhr","query","showPrevious","like","_applySuggestion","availableModels","current-document","add","modelSelected","_openBalloonFor","open","addFeedItemStaticMessage","populateSourceResourceBalloon","changeGroups","removeSelectionFromContext","addSelectionToChatContext","uploadProgressChanged","_getDocumentRangeForReplyChanges","getPath","ai-chat-context-unsupported-type","_removeFromContext","replyId","clearConversationContextUI","ai-chat-conversation-start-failed","showDiff","redo","set","handleUserInteraction","message","conversationInitialized","map","range","ai.chat.context","AI_CHAT_CONTEXT_UNSUPPORTED_TYPE","toggleWebSearch","_filterModels","alignToTop","from","children","contextItem"];return(vy=function(){return t})()}function Iy(t,e){const n=vy();return(Iy=function(t,e){return n[t-=325]})(t,e)}!function(t){const e=Iy,n=t();for(;;)try{if(717267===-parseInt(e(616))/1*(parseInt(e(483))/2)+parseInt(e(394))/3*(-parseInt(e(385))/4)+parseInt(e(470))/5*(parseInt(e(450))/6)+-parseInt(e(449))/7+-parseInt(e(402))/8*(parseInt(e(468))/9)+-parseInt(e(440))/10*(parseInt(e(473))/11)+parseInt(e(591))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vy);class yy extends r.ContextPlugin{[wy(531)];[wy(414)];[wy(530)];[wy(587)];[wy(491)]=new Map;[wy(335)]=null;[wy(399)]=!1;static get[wy(420)](){return[Kc,by,ov]}static get[wy(466)](){return wy(388)}static get[wy(553)](){return!0}static get[wy(451)](){return!0}[wy(371)](){const t=wy;this[t(414)]=this[t(585)][t(422)][t(343)](t(378)),this[t(530)]=this[t(585)][t(422)][t(343)](t(435)),this[t(531)]=this[t(585)][t(422)][t(343)](t(390)),this[t(587)]=new vb({connector:this[t(414)]});const e=this[t(585)][t(422)][t(343)](t(438));this[t(552)](this[t(530)],t(363),()=>{this[t(330)]()}),this[t(552)](this[t(530)],t(490),(e,n)=>{this[t(529)]({userMessage:n})}),this[t(552)](e,t(461),(e,n)=>{this[t(482)](n)}),this[t(552)](this[t(530)],t(444),()=>{e[t(596)]()}),this[t(552)](this[t(530)],t(383),async()=>{const e=t;await this[e(370)](),await this[e(418)]()}),this[t(552)](this[t(530)],t(584),()=>{const e=t;this[e(578)]?.[e(361)](zc(this[e(585)][e(564)],e(373)))}),this[t(552)](this[t(530)],t(430),(e,n)=>{const i=t;this[i(578)]?.[i(601)](Array[i(653)](n))}),this[t(552)](this[t(530)],t(478),(e,n)=>{const i=t;this[i(578)]?.[i(478)](n)}),this[t(552)](this[t(530)],t(329),(e,n)=>{const i=t;this[i(578)]?.[i(329)](n[i(389)],n[i(607)])}),this[t(552)](this[t(530)],t(338),(e,n)=>{this[t(636)](n)}),this[t(552)](this[t(530)],t(581),(e,n)=>{const i=t;this[i(578)]?.[i(581)](n[i(549)],n[i(617)],n[i(341)])}),this[t(552)](this[t(530)],t(650),()=>{this[t(487)]()}),this[t(552)](this[t(530)],t(336),()=>{this[t(536)]()}),this[t(552)](this[t(530)],t(358),(e,n)=>{const i=t;this[i(578)]?.[i(548)](n)}),this[t(552)](this[t(530)],t(619),(e,{replyId:n})=>{const i=t;console[i(372)](i(572),n)}),this[t(552)](this[t(530)],t(472),(e,{replyId:n})=>{const i=t;console[i(372)](i(443),n)}),this[t(552)](this[t(530)],t(357),(e,n)=>{const i=t;this[i(585)][i(422)][i(343)](by)[i(352)](),this[i(611)](n)}),this[t(552)](this[t(530)],t(563),(e,{replyId:n,partIndex:i})=>{const r=t;this[r(399)]=this[r(530)][r(640)],this[r(625)](n,i)}),this[t(552)](this[t(530)],t(448),(e,{replyId:n,partIndex:i})=>{const r=t,o=this[r(633)](n,i);o&&r(551)!=o[r(647)][r(367)][r(359)]&&this[r(531)][r(592)]([o[r(647)]],r(609))}),this[t(552)](this[t(530)],t(539),()=>{const e=t;this[e(531)][e(527)](e(609))}),this[t(552)](this[t(530)],t(387),(e,n)=>{const i=t;this[i(585)][i(422)][i(343)](by)[i(352)](),this[i(620)](n)}),this[t(552)](this[t(530)],t(519),async(e,n)=>{const i=t,{reply:r}=this[i(464)](n[i(637)]),o=Dv({editor:db(this[i(585)]),changeGroups:r[i(629)],documentContextContent:r[i(395)],showDiff:n[i(640)]});await this[i(530)][i(500)]({id:r.id,parts:o,renderingStrategy:i(463)})}),this[t(552)](this[t(530)],t(346),(e,{replyId:n,partIndex:i})=>{const r=t;this[r(335)]?.[r(637)]==n&&this[r(335)]?.[r(661)]==i&&this[r(585)][r(422)][r(343)](by)[r(352)]();const{reply:o}=this[r(464)](n);o[r(456)](i,r(460)),this[r(531)][r(527)](r(609))})}async[wy(550)](){const t=wy;this[t(585)]instanceof r.Editor?this[t(412)](this[t(585)]):this[t(552)](this[t(585)][t(360)],t(623),(e,n)=>{const i=t;n.on(i(510),()=>{this[i(412)](n)})}),await this[t(330)]()}[wy(611)](t){const e=wy,n=db(this[e(585)]);if(!n[e(422)][e(431)](e(546)))return;const i=this[e(585)][e(422)][e(343)](e(599)),{reply:r,interaction:o}=this[e(464)](t[e(637)]),s=this[e(633)](t[e(637)],t[e(661)]),a=void 0!==t[e(661)]?[r[e(629)][t[e(661)]]]:r[e(629)][e(382)](t=>e(486)==t[e(559)]),c=a[e(646)](t=>r[e(629)][e(588)](t));c[e(467)](t=>r[e(456)](t,e(350)));const l=Lv({editor:n,reply:r,interaction:o,groups:a,transform:!0,documentCompare:i,documentCompareOptions:{anchor:e(400),markDeletions:!0}});let u;s&&this[e(515)](s[e(647)]),n[e(513)][e(521)](t=>{const i=e;u=t[i(580)],n[i(422)][i(343)](i(546))[i(348)](l),this[i(531)][i(527)](i(609))}),this[e(491)][e(642)](u,{interactionId:o.id,replyId:r.id,indexes:c[e(454)]()})}[wy(620)](t){const e=wy,n=db(this[e(585)]),i=this[e(585)][e(422)][e(343)](ov),{reply:r,interaction:o}=this[e(464)](t[e(637)]),s=this[e(633)](t[e(637)],t[e(661)]),a=void 0!==t[e(661)]?[r[e(629)][t[e(661)]]]:r[e(629)][e(382)](t=>e(486)==t[e(559)]),c=a[e(646)](t=>r[e(629)][e(588)](t));c[e(467)](t=>r[e(456)](t,e(350)));const l=Lv({editor:n,reply:r,interaction:o,groups:a,transform:!0,documentCompare:i,documentCompareOptions:{anchor:e(400),markDeletions:!1}});let u;s&&this[e(515)](s[e(647)]),n[e(513)][e(521)](t=>{const i=e;u=t[i(580)];for(const e of l)e[i(495)]=n[i(513)][i(505)][i(423)],t[i(580)][i(398)](e),n[i(513)][i(562)](e)}),this[e(491)][e(642)](u,{interactionId:o.id,replyId:r.id,indexes:c[e(454)]()})}[wy(625)](t,e){const n=wy,i=db(this[n(585)]),r=this[n(633)](t,e),o=this[n(585)][n(422)][n(343)](by);if(!r)return void o[n(352)]();const{range:s,currentIndex:a,previousIndex:c,nextIndex:l}=r;if(this[n(335)]?.[n(637)]==t&&this[n(335)]?.[n(661)]==a)return;this[n(335)]={replyId:t,partIndex:a};const u=new JI(i[n(564)],{showDiff:this[n(399)],areActionsDisabled:!1,miniToolbarConfig:{showChanges:n(403)},hideHeader:!0}),{reply:h}=this[n(464)](t),d=Dv({editor:i,changeGroups:[h[n(629)][a]],documentContextContent:h[n(395)],showDiff:this[n(399)]});u[n(509)]({parts:d,renderingStrategy:n(463)});const p=a!==c;this[n(515)](s,!0),o[n(626)]({index:a,title:n(569)+(a+1),icon:qv,mainView:u,showRotator:p,showApplyButton:!0,showSuggestButton:!0,ranges:[s]}),this[n(530)][n(560)](t,a),this[n(552)](u,n(519),(e,{showDiff:r})=>{const o=n;this[o(399)]=r;const{reply:s}=this[o(464)](t),c=Dv({editor:i,changeGroups:[s[o(629)][a]],documentContextContent:s[o(395)],showDiff:r});u[o(509)]({parts:c,renderingStrategy:o(463)})}),this[n(552)](o,n(387),()=>{const e=n;this[e(620)]({replyId:t,partIndex:a}),p?this[e(625)](t,l):o[e(352)]()}),this[n(552)](o,n(357),()=>{const e=n;this[e(611)]({replyId:t,partIndex:a}),p?this[e(625)](t,l):o[e(352)]()}),p&&(this[n(552)](o,n(600),()=>{this[n(625)](t,l)}),this[n(552)](o,n(618),()=>{this[n(625)](t,c)})),this[n(552)](o,n(427),()=>{const t=n;this[t(446)](o),this[t(446)](u),this[t(335)]=null})}[wy(633)](t,e){const n=wy,i=db(this[n(585)]),{reply:r,interaction:o}=this[n(464)](t),s=r[n(629)][n(382)](t=>n(486)==t[n(559)]),a=s[n(646)](t=>r[n(629)][n(588)](t));void 0===e&&(e=a[0]);const c=a[n(588)](e);if(-1==c)return null;const l=0==c?a[a[n(455)]-1]:a[c-1],h=c==a[n(455)]-1?a[0]:a[c+1],d=s[c],p=new ml([]),f=new ml([]);for(const t of d[n(429)])if(n(499)!=t[n(445)]&&f[n(654)][n(337)](t[n(555)][n(356)](!0)),n(508)!=t[n(445)]){const e=Qu(e=>oh(e,n(475))==t.id,r[n(395)],!0);p[n(654)][n(337)](e[n(356)](!0))}if(0==p[n(654)][n(455)])if(d[n(429)][0][n(419)]){const t=nh(n(475),d[n(429)][0][n(419)],r[n(395)]);p[n(654)][n(447)](t[n(356)](!0)),f[n(654)][n(447)](t[n(356)](!0)),t[n(477)]&&(p[n(654)][n(337)](t[n(477)][n(356)](!0)),f[n(654)][n(337)](t[n(477)][n(356)](!0)))}else{const t=r[n(395)][n(654)][0];if(!t)return null;p[n(654)][n(337)](t[n(356)](!0)),f[n(654)][n(337)](t[n(356)](!0))}const m=o[n(614)](),g=i[n(417)][n(573)](m[n(393)]),k=eh(p),_=i[n(417)][n(573)](k),b=i[n(417)][n(573)](k),w=i[n(513)][n(364)](_,0),v=eh(f),I={anchor:w,markDeletions:!1},y=i[n(422)][n(343)](ov)[n(517)](k,v,I)[n(397)]();if(!y[n(455)])return null;i[n(513)][n(521)](t=>{const e=n;for(const n of y)if(e(355)==n[e(445)]){const r=n[e(506)],o=n[e(511)],s=new u._DetachOperation(r,o);t[e(580)][e(398)](s),i[e(513)][e(562)](s)}else n[e(495)]=null,n[e(366)]=!1,t[e(580)][e(398)](n),i[e(513)][e(562)](n)});const A=Bv(i,y,_);Uv(i[n(513)],A);const E=A[n(518)]()[n(386)][n(351)][n(454)](),x=A[n(518)]()[n(532)][n(351)][n(454)](),T=[];let C=_,S=b;for(let t=0;t<x[n(455)];t++){const e=C[n(538)]-x[t];T[t]=S[n(538)]-e,C=C[n(544)](x[t]),S=S[n(544)](T[t])}const R=i[n(513)][n(328)](i[n(513)][n(457)](b,E),i[n(513)][n(457)](b,T)),O=b[n(406)](0)[n(497)](iv),N=Array[n(653)](g[n(488)]())[n(374)](t=>t[n(497)](iv)==O)[n(634)](),M=R[n(386)][n(351)][n(454)](),L=R[n(532)][n(351)][n(454)]();M[0]=N[0]+M[0],L[0]=N[0]+L[0];let P=i[n(513)][n(328)](i[n(513)][n(457)](i[n(513)][n(505)][n(407)](),M),i[n(513)][n(457)](i[n(513)][n(505)][n(407)](),L));const D=i[n(513)][n(505)][n(349)][n(397)](m[n(423)]);for(const t of D)P=u.ModelRange[n(465)](P[n(533)](t));return{range:P,previousIndex:l,nextIndex:h,currentIndex:e}}[wy(412)](t){const e=wy;if(!t[e(422)][e(431)](e(381)))return;const n=t[e(595)][e(343)](e(593)),i=t[e(595)][e(343)](e(641));this[e(552)](n,e(512),(t,n,i)=>{const r=e,o=this[r(491)][r(343)](n);if(!o)return;const s=this[r(578)][r(574)](o[r(347)])[r(613)](o[r(637)]);o[r(425)][r(467)](t=>s[r(456)](t,r(486))),this[r(491)][r(332)](n),this[r(491)][r(642)](i,o)}),this[e(552)](i,e(512),(t,n,i)=>{const r=e,o=this[r(491)][r(343)](n);if(!o)return;const s=this[r(578)][r(574)](o[r(347)])[r(613)](o[r(637)]);o[r(425)][r(467)](t=>s[r(456)](t,r(350))),this[r(491)][r(332)](n),this[r(491)][r(642)](i,o)})}async[wy(545)](t){const e=wy;this[e(585)][e(422)][e(343)](by)[e(352)](),this[e(530)][e(608)](e(463)),this[e(530)][e(540)](!0),await this[e(370)]();try{const n=this[e(585)][e(422)][e(343)](Uc);this[e(365)](" "),n[e(433)][e(605)](e(657)),await this[e(330)](t);const{sessionId:i}=this[e(531)][e(405)]();await this[e(578)][e(375)](t,i),this[e(578)][e(524)]()&&this[e(578)][e(361)](zc(this[e(585)][e(564)],e(373)))}catch(t){console[e(498)](e(556),t)}finally{this[e(530)][e(608)](e(516)),this[e(530)][e(540)](!1)}}[wy(481)](t){const e=wy;this[e(578)].id===t&&this[e(330)]()}async[wy(631)](){const t=wy,e=this[t(531)][t(658)]();this[t(578)]?.[t(656)](e),this[t(578)]?.[t(361)](zc(this[t(585)][t(564)],t(373)))}[wy(589)](){const t=wy;this[t(578)]?.[t(630)]()}[wy(432)](){const t=wy;this[t(530)][t(432)]()}async[wy(363)](){const t=wy;await this[t(330)]()}async[wy(504)]({message:t,quickActionData:e}){const n=wy;await this[n(529)]({userMessage:t,quickActionData:e})}[wy(660)](){const t=wy,e=this[t(585)][t(480)][t(343)](t(493));if(!e)throw new s.CKEditorError(t(391),this);return e}async[wy(330)](t){const e=wy,n=this[e(585)][e(422)][e(343)](by);let i;n[e(396)]&&n[e(352)](),i=t||!this[e(578)]?this[e(585)][e(480)][e(343)](e(421)):this[e(578)][e(325)].id,await this[e(370)]();const r=this[e(660)](),o=t||(0,s.uid)();this[e(578)]=new lb({connector:this[e(414)],chatModels:this[e(587)],defaultModelId:i,conversationId:o,group:r,getEditor:()=>db(this[e(585)])}),this[e(578)].on(e(645),(n,i)=>{const r=e;i[r(621)]=this[r(651)](i[r(621)],this[r(585)][r(480)][r(343)](r(342))),this[r(530)][r(415)](i),this[r(530)][r(462)](),this[r(530)][r(543)](),this[r(530)][r(638)](),t||(this[r(530)][r(416)](),this[r(578)]?.[r(361)](zc(this[r(585)][r(564)],r(373))))}),this[e(578)].on(e(632),(t,n)=>{const i=e;this[i(530)][i(594)](n[i(354)])}),this[e(578)].on(e(428),(t,n)=>{const i=e;this[i(530)][i(476)](n),this[i(530)][i(437)](n)}),this[e(578)].on(e(353),(t,n)=>{const i=e;this[i(530)][i(501)](n)}),this[e(578)].on(e(523),async()=>{const t=e;await this[t(530)][t(408)]()}),this[e(578)].on(e(503),(t,n)=>{const i=e;this[i(530)][i(452)](n.id)}),this[e(578)].on(e(597),(t,n,i)=>{this[e(365)](n,i)}),this[e(578)].on(e(520),(t,n)=>{const i=e;this[i(530)][i(606)]({isVisible:!0,id:n[i(347)]}),i(334)===n[i(445)]?this[i(530)][i(534)](n):this[i(530)][i(568)](n)}),this[e(578)].on(e(494),async(t,n,i)=>{const r=e;await this[r(612)]({reply:n,changeGroups:i})}),this[e(578)].on(e(659),(t,{reply:n,index:i,state:r})=>{const o=e;this[o(530)][o(369)]({id:n.id,index:i,state:r})}),this[e(578)].on(e(424),(t,n)=>{const i=e;if(this[i(530)][i(362)](n[i(655)],n[i(439)]),i(583)===n[i(655)][i(445)]){const t=[...db(this[i(585)])[i(513)][i(505)][i(583)][i(379)]()];this[i(531)][i(592)](t,i(377)+this[i(578)]?.id)}}),this[e(578)].on(e(380),(t,n)=>{const i=e;this[i(530)][i(338)](n[i(561)]),i(622)==n[i(561)]&&this[i(589)](),i(583)===n[i(445)]&&this[i(531)][i(527)](i(377)+this[i(578)]?.id)}),this[e(578)].on(e(577),(t,n)=>{const i=e;this[i(530)][i(401)](n[i(655)][i(561)],n[i(439)])}),this[e(578)].on(e(326),(t,n)=>{const i=e;this[i(530)][i(333)](n[i(526)])}),this[e(578)].on(e(565),(t,n)=>{const i=e;this[i(530)][i(554)](n[i(542)])}),this[e(578)].on(e(404),(t,n)=>{const i=e;this[i(530)][i(628)](n[i(549)],n[i(389)],n[i(344)],n[i(341)])}),this[e(578)].on(e(345),(t,n)=>{const i=e;this[i(530)][i(525)](n[i(549)],n[i(603)],n[i(368)])}),this[e(578)].on(e(496),(t,n)=>{const i=e;this[i(530)][i(576)](n)}),this[e(578)].on(e(624),(t,n)=>{const i=e;this[i(530)][i(570)](n[i(325)],n[i(453)])}),this[e(578)].on(e(498),(t,{error:n,interactionId:i,fileName:r,url:o,sourceId:a,sourceLabel:c})=>{const l=e,u=i?i+":"+(0,s.uid)():(0,s.uid)();n[l(644)][l(469)](l(413))?this[l(530)][l(627)]({staticMessage:zc(this[l(585)][l(564)],l(474)),id:u}):n[l(644)][l(469)](l(558))||n[l(644)][l(469)](l(639))?(this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(376)),id:u}),this[l(615)](n)):n[l(644)][l(469)](l(459))?this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(471),r),id:u}):n[l(644)][l(469)](l(339))?this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(590),o),id:u}):n[l(644)][l(469)](l(514))?this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(567)),id:u}):n[l(644)][l(469)](l(635))?this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(649)),id:u}):n[l(644)][l(469)](l(384))?(a&&this[l(530)][l(327)](a),this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(586),c||l(389)),id:u}),this[l(615)](n)):n[l(644)][l(469)](l(409))?(this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(392)),id:u}),this[l(615)](n)):(this[l(530)][l(331)]({errorMessage:zc(this[l(585)][l(564)],l(434)),id:u}),this[l(615)](n))}),await this[e(578)][e(371)](this[e(585)][e(480)][e(343)](e(648))),t||await this[e(578)][e(386)]()}async[wy(529)]({userMessage:t,quickActionData:e}){const n=wy;if(!this[n(578)])throw new s.CKEditorError(n(411));this[n(578)][n(566)]()&&await this[n(578)][n(484)](this[n(531)][n(405)]()),this[n(578)].id&&this[n(578)][n(541)]&&await this[n(578)][n(643)]({userMessage:t,quickActionData:e}),this[n(557)]()}[wy(557)](){const t=wy,e=db(this[t(585)])[t(513)],n=Array[t(653)](e[t(610)][t(485)](gb));e[t(521)](e=>{const i=t;n[i(467)](t=>e[i(442)](t))})}[wy(492)](){const t=wy;console[t(372)](t(410))}[wy(482)](t){const e=wy;this[e(530)][e(598)](t)}[wy(615)](t){const e=wy;(0,s.logError)(t[e(644)])}[wy(636)](t){const e=wy;this[e(578)]?.[e(582)](t)}[wy(487)](){const t=wy;this[t(578)]?.[t(650)]()}[wy(536)](){const t=wy;this[t(578)]?.[t(336)]()}[wy(464)](t){const e=wy,[n,i]=t[e(604)](":"),r=this[e(578)][e(574)](n),o=r[e(613)](i);return{interaction:r,reply:o}}[wy(515)](t,e=!1){const n=wy,i=db(this[n(585)]),r={target:i[n(441)][n(433)][n(547)][n(436)](i[n(441)][n(502)][n(479)](t)),viewportOffset:{top:150,left:0,bottom:50,right:0},ancestorOffset:20,alignToTop:e};e&&(r[n(652)]=!0),(0,s.scrollViewportToShowTarget)(r)}[wy(365)](t,e=!1){const n=wy;this[n(530)][n(597)](t||zc(this[n(585)][n(564)],n(602)),e)}[wy(651)](t,e){const n=wy;let i;if(e){i=[];const r=n(522)==typeof e?[e[n(340)]()]:e[n(646)](t=>t[n(340)]());for(const e of r)for(const r of t)(r.id[n(340)]()===e||r[n(579)][n(340)]()===e||r[n(426)][n(340)]()===e||r.id[n(340)]()[n(469)](e))&&i[n(337)](r)}else i=t;return i}async[wy(612)]({reply:t,changeGroups:e,renderingStrategy:n}){const i=wy,{id:r,isDone:o,type:s,parsedContent:a}=t;if(i(537)===s){const s=Dv({editor:db(this[i(585)]),showDiff:this[i(530)][i(640)],changeGroups:e,documentContextContent:t[i(395)]});await this[i(530)][i(500)]({id:r,parts:s,renderingStrategy:n,isDone:o})}else i(334)===s&&await this[i(530)][i(571)]({id:r,parsedContent:a,renderingStrategy:n,isDone:o});o&&t[i(528)][i(455)]>0&&this[i(530)][i(458)](r,t[i(528)])}async[wy(370)](){const t=wy,e=this[t(578)]?.[t(489)];e&&(e[t(535)](),this[t(530)][t(507)](e))}async[wy(418)](){const t=wy,e=this[t(578)]?.[t(489)];if(e)for await(const n of e[t(575)])await this[t(612)]({reply:n,changeGroups:n[t(629)],renderingStrategy:t(463)})}}function Ay(t,e){const n=Ey();return(Ay=function(t,e){return n[t-=407]})(t,e)}function Ey(){const t=["selectModel","9328143NEAClM","toggleReasoning","24buxXRy","abortPromptStream","resizeTabs","2227393ZtJQOZ","startConversation","10cxzXKZ","removeContextItem","toggleWebSearch","addDocumentToContext","5UmzmJL","54888axIqoV","4QSfrhO","addFileToContext","addUrlToContext","1930362KbOsKV","loadSourceResources","addResourceToContext","sendUserMessage","1820250tkJGpL","303276fufvvb","8UCMoCT","6271704QBluyx"];return(Ey=function(){return t})()}const xy=Ay;!function(t){const e=Ay,n=t();for(;;)try{if(527582===parseInt(e(423))/1+-parseInt(e(418))/2+parseInt(e(414))/3*(parseInt(e(415))/4)+-parseInt(e(413))/5*(parseInt(e(425))/6)+-parseInt(e(407))/7*(-parseInt(e(424))/8)+parseInt(e(422))/9*(parseInt(e(409))/10)+-parseInt(e(427))/11*(-parseInt(e(429))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ey);const Ty=[...AI,xy(408),xy(431),xy(421),xy(430),xy(412),xy(416),xy(417),xy(420),xy(410),xy(419),xy(411),xy(428),xy(426)];function Cy(){const t=["execute","children","updateLabels","AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP","add","content","insertSuggestion","button","destroy","insertSuggestionModel","set","ck-ai-chat__feed__ai-suggestion__actions__balloon","left","showChangeInText","actionsDropdown","bindTemplate","open","Apply","bind","isEnabled","AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP","listenTo","applySuggestion","uiLanguageDirection","319041PLuzuX","3MhRCWY","ck-ai-chat__feed__ai-suggestion__actions","attachToDom","_setUpList","showChangeInTextModel","_setUpKeystrokes","AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL","keystrokeHandler","1031742HUwGDW","listItemModels","width","2444676BgTMNP","fire","bodyCollection","balloonPanelView","arrowless","1322293Vhajqz","source","listView","balloonPanelClass","class","actionName","bottom","createCollection","246259hLXgVz","AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION","focus","216kgYRzz","ltr","ck-hidden","hide","AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT","locale","1243488DqKyrl","unbind","510290TNQoXt","pin","keys","setTemplate","tooltip","arrowView","detachFromDom","div","element","isVisible","esc","label","delegate","items"];return(Cy=function(){return t})()}const Sy=My;!function(t){const e=My,n=t();for(;;)try{if(260150===parseInt(e(315))/1+-parseInt(e(299))/2+parseInt(e(291))/3*(-parseInt(e(250))/4)+parseInt(e(252))/5+-parseInt(e(302))/6+parseInt(e(307))/7+-parseInt(e(318))/8*(-parseInt(e(290))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Cy);class Ry extends a.View{[Sy(280)];[Sy(267)];[Sy(295)];[Sy(275)];constructor(t){const e=Sy;super(t);const n=this[e(281)];this[e(276)](e(285),!0),this[e(276)](e(261),!0),this[e(295)]=new a.UIModel({label:zc(t,e(322)),icon:o.IconDocumentWithLoupe,withText:!0,type:e(273),actionName:e(279)}),this[e(275)]=new a.UIModel({label:zc(t,e(316)),icon:o.IconAddComment,withText:!0,type:e(273),actionName:e(272)}),this[e(280)]=new Oy(t,{listItemModels:[this[e(295)],this[e(275)]]}),this[e(280)].on(e(266),()=>{const t=e;this[t(303)](t(288))}),this[e(280)].on(e(279),()=>{const t=e;this[t(303)](t(279))}),this[e(280)].on(e(272),()=>{const t=e;this[t(303)](t(272))}),this[e(280)][e(276)]({label:e(283),tooltip:zc(this[e(249)],e(286)),withText:!0,class:e(292),balloonPanelClass:e(277)}),this[e(280)][e(284)](e(285)).to(this),this[e(267)]=this[e(314)]([this[e(280)]]),this[e(255)]({tag:e(259),attributes:{class:["ck",e(292),n.if(e(261),e(320),t=>!t)]},children:[this[e(280)]]})}[Sy(268)](t){const e=Sy,n=this[e(249)];this[e(280)][e(276)]({label:zc(n,e(297),t),tooltip:zc(n,e(286),t)}),this[e(295)][e(263)]=zc(n,e(322),t),this[e(275)][e(263)]=zc(n,e(316),t)}}class Oy extends a.SplitButtonView{[Sy(304)];[Sy(305)];[Sy(309)];[Sy(298)];constructor(t,e){const n=Sy;super(t),this[n(305)]=new a.BalloonPanelView(this[n(249)]),this[n(304)]=new a.BodyCollection(this[n(249)]),this[n(304)][n(293)](),this[n(276)](n(310),""),this[n(305)][n(284)](n(311)).to(this,n(310)),this[n(309)]=this[n(294)](e[n(300)]),this[n(304)][n(270)](this[n(305)]),this[n(305)][n(271)][n(270)](this[n(309)]),this[n(257)][n(251)](n(256)),this[n(257)][n(276)](n(256),zc(this[n(249)],n(269))),this[n(296)](),this.on(n(266),()=>{const t=n;this[t(305)][t(321)](),this[t(257)][t(317)]()}),this.on(n(282),()=>{const t=n;this[t(305)][t(261)]?(this[t(305)][t(321)](),this[t(257)][t(317)]()):(this[t(305)][t(253)]({target:this[t(260)],positions:[t(319)===this[t(249)][t(289)]?Ny:Ly]}),this[t(309)][t(317)]())}),(0,a.clickOutsideHandler)({emitter:this[n(305)],callback:()=>{const t=n;this[t(305)][t(321)]()},activator:()=>this[n(305)][n(261)],contextElements:()=>[this[n(260)],this[n(305)][n(260)]]})}[Sy(294)](t){const e=Sy,n=this[e(249)],i=new a.ListView(n);for(const r of t){const t=new a.ListItemView(n),o=new a.ListItemButtonView(n);o[e(284)](...Object[e(254)](r)).to(r),o[e(264)](e(266)).to(i),t[e(267)][e(270)](o),i[e(265)][e(270)](t)}return i[e(265)][e(264)](e(266)).to(this),i.on(e(266),t=>{const n=e,i=t[n(308)];this[n(303)](i[n(312)]),this[n(305)][n(321)](),this[n(257)][n(317)]()}),i}[Sy(296)](){const t=Sy;this[t(298)]=new s.KeystrokeHandler,this[t(298)][t(287)](this[t(305)][t(260)]),this[t(298)][t(276)](t(262),(e,n)=>{const i=t;this[i(305)][i(321)](),this[i(257)][i(317)](),n()})}[Sy(274)](){const t=Sy;super[t(274)](),this[t(298)][t(274)](),this[t(305)][t(274)](),this[t(304)][t(258)]()}}function Ny(t){const e=Sy;return{top:t[e(313)],left:t[e(278)],name:e(306),config:{withArrow:!1}}}function My(t,e){const n=Cy();return(My=function(t,e){return n[t-=249]})(t,e)}function Ly(t,e){const n=Sy;return{top:t[n(313)],left:t[n(278)]-(e[n(301)]-t[n(301)]),name:n(306),config:{withArrow:!1}}}function Py(t,e){var n=Hy();return(Py=function(t,e){return n[t-=279]})(t,e)}var Dy=Py;function Hy(){var t=["showDiff","updateContent","1420xCxBfB","fire","546zHAMih","addMany","ck-ai-chat__feed__ai-suggestion","547128RReNzL","areActionsDisabled","partsCount","getPartView","updateLabels","insertSuggestion","mouseOverSuggestion","23796svtXgT","rejectSuggestion","2209203XbAurq","hasNonEmptyParts","2KpIHvC","markAsDone","options","1114602AjERrR","updatePartState","hasPendingParts","bind","7322950mrGnHU","toggleSuggestionDisplayMode","extendTemplate","bodyView","updateSources","like","isEnabled","actionsView","containerView","4508DuHgIk","applySuggestion","400073IgteGH","showChangeInText","dislike","mouseLeaveSuggestion","children","isVisible"];return(Hy=function(){return t})()}!function(t){for(var e=Py,n=t();;)try{if(205668===parseInt(e(303))/1+-parseInt(e(285))/2*(-parseInt(e(288))/3)+parseInt(e(301))/4*(-parseInt(e(311))/5)+parseInt(e(281))/6*(parseInt(e(313))/7)+-parseInt(e(316))/8+parseInt(e(283))/9+-parseInt(e(292))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Hy);class By extends HI{[Dy(300)];[Dy(299)];constructor(t,e){var n=Dy;super(e),this[n(300)]=new JI(t,{showDiff:e[n(309)],areActionsDisabled:e[n(317)]}),this[n(300)].on(n(293),(t,e)=>{var i=n;this[i(312)](i(293),{replyId:this[i(287)].id,showDiff:e[i(309)]})}),this[n(300)].on(n(297),()=>{var t=n;this[t(312)](t(297),{replyId:this[t(287)].id})}),this[n(300)].on(n(305),()=>{var t=n;this[t(312)](t(305),{replyId:this[t(287)].id})}),this[n(300)].on(n(304),(t,{index:e})=>{var i=n;this[i(312)](i(304),{replyId:this[i(287)].id,partIndex:e})}),this[n(300)].on(n(279),(t,{index:e})=>{var i=n;this[i(312)](i(279),{replyId:this[i(287)].id,partIndex:e})}),this[n(300)].on(n(282),(t,{index:e})=>{var i=n;this[i(312)](i(282),{replyId:this[i(287)].id,partIndex:e})}),this[n(300)].on(n(280),(t,{index:e})=>{var i=n;this[i(312)](i(280),{replyId:this[i(287)].id,partIndex:e})}),this[n(300)].on(n(306),(t,{index:e})=>{var i=n;this[i(312)](i(306),{replyId:this[i(287)].id,partIndex:e})}),this[n(299)]=new Ry(t),this[n(299)].on(n(304),()=>{var t=n;this[t(312)](t(304),{replyId:this[t(287)].id})}),this[n(299)].on(n(279),()=>{var t=n;this[t(312)](t(279),{replyId:this[t(287)].id})}),this[n(299)].on(n(302),()=>{var t=n;this[t(312)](t(302),{replyId:this[t(287)].id})}),e[n(317)]?this[n(299)][n(298)]=!1:this[n(299)][n(291)](n(298)).to(this[n(300)][n(295)],n(290)),this[n(307)][n(314)]([this[n(300)],this[n(299)]]),this[n(294)]({attributes:{class:[n(315)]}})}async[Dy(310)](t){var e=Dy;await this[e(300)][e(310)](t),this[e(299)][e(320)](this[e(300)][e(295)][e(318)])}[Dy(289)](t,e){var n=Dy;this[n(300)][n(295)][n(289)](t,e)}[Dy(296)](t){var e=Dy;this[e(300)][e(296)](t)}[Dy(319)](t){var e=Dy;return this[e(300)][e(295)][e(319)](t)}[Dy(286)](){var t=Dy;super[t(286)](),this[t(300)][t(286)](),this[t(299)][t(308)]=this[t(300)][t(295)][t(284)]}}function Uy(){const t=["updateContent","map","1059510gKboXd","setTemplate","locale","innerHTML","1088220UzicJX","ck-ai-chat__feed__ai-reply","updateSources","children","element","29871072BIoxjv","9253896djTinG","2476545OkpZiO","isVisible","replyContainer","static","add","8jnjQyl","markAsDone","1249464gWlTsW","options","extendTemplate","ck-reset_all-excluded","render","streaming","ck-ai-chat__feed__ai-reply-container","streamIntoElement","initialContent","div","3418756TPqWfx","addMany"];return(Uy=function(){return t})()}const Vy=Fy;function Fy(t,e){const n=Uy();return(Fy=function(t,e){return n[t-=432]})(t,e)}!function(t){const e=Fy,n=t();for(;;)try{if(995990===parseInt(e(440))/1+parseInt(e(436))/2+-parseInt(e(458))/3+parseInt(e(456))/4*(parseInt(e(451))/5)+parseInt(e(450))/6+-parseInt(e(444))/7+-parseInt(e(449))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Uy);class qy extends HI{[Vy(453)];constructor(t){const e=Vy;super(t),this[e(460)]({attributes:{class:[e(445)]}}),this[e(453)]=new a.View,this[e(453)][e(441)]({tag:e(435),attributes:{class:["ck",e(461),e(432)]}}),this[e(447)][e(455)](this[e(453)])}async[Vy(462)](){const t=Vy;super[t(462)](),this[t(459)][t(434)]&&(await this[t(438)]({parsedContent:th(this[t(459)][t(434)]),renderingStrategy:t(454)}),this[t(457)]())}async[Vy(438)]({parsedContent:t,renderingStrategy:e,abortSignal:n}){const i=Vy;i(463)===e?await this[i(433)](t,this[i(453)][i(448)],n):this[i(453)][i(448)][i(443)]=Hu(t)}[Vy(446)](t){const e=Vy,n=new ZI(this[e(442)]);n[e(447)][e(437)](t[e(439)](t=>new ty(this[e(442)],t))),n[e(452)]=!0,this[e(447)][e(455)](n)}}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>';function Wy(t,e){const n=Yy();return(Wy=function(t,e){return n[t-=238]})(t,e)}function Yy(){const t=["fire","ck-ai-chat-context-chip","itemType","div","disableAnimationOnEnter","small","removeEventListener","content","_createLabelElement","execute","span","5Qkyiap","_createIconView","addEventListener","ck-ai-chat-context-chip_wide","22131307irkiBw","uiId","extendTemplate","9UVubdt","945366ogxUDL","937308PUgRXf","type","_createLoaderIcon","_initializeProperties","_isAnimationOnEnterEnabled","locale","remove","576nYNBDz","render","tooltip","72140qsHsFo","setTemplate","selection","_createTemplateAttributes","_createTemplateChildren","ck-ai-chat-context-controls__chip-tooltip","webkitAnimationEnd","_setupTemplate","classList","_setupRemoveButtonEvent","slice","set","isVisible","ck-hidden","removeContextItemChip","element","1133100xtccZT","312956AFduMu","isLoading","ck-ai-chat-context-chip_document","_createRemoveButton","length","readonly","32hjvAgo","add","bind","lastIndexOf","ck-ai-chat-context-chip__label","ck-ai-chat-context-chip_new-chip","animationend","_handleAnimationEndOnce","label","bindTemplate","AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT","document","ck-ai-chat-context-chip__type-icon","607614uZATKB"];return(Yy=function(){return t})()}const Ky=Wy;!function(t){const e=Wy,n=t();for(;;)try{if(469803===-parseInt(e(286))/1+parseInt(e(266))/2+parseInt(e(238))/3*(-parseInt(e(240))/4)+parseInt(e(298))/5*(-parseInt(e(239))/6)+parseInt(e(267))/7*(-parseInt(e(273))/8)+-parseInt(e(247))/9*(parseInt(e(250))/10)+parseInt(e(302))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Yy);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=Ky(288),Xy=Ky(301),Jy=Ky(269),Zy=Ky(277),tA=Ky(285),eA=Ky(255);class nA extends a.ButtonView{constructor(t,e,n,i,r=!1){const o=Ky;super(t),this[o(244)]=i,this[o(243)](e,n,r),this[o(257)]()}[Ky(248)](){const t=Ky;super[t(248)](),this[t(244)]&&this[t(265)]&&(this[t(265)][t(258)][t(274)](t(278)),this[t(280)](this[t(265)],()=>{const e=t;this[e(265)]&&this[e(265)][e(258)][e(246)](e(278))}))}[Ky(291)](){const t=Ky;this[t(244)]=!1,this[t(265)]&&this[t(265)][t(258)][t(246)](t(278))}[Ky(243)](t,e,n){const i=Ky;this[i(261)](i(281),t[i(281)]),this[i(261)](i(249),!0),this[i(261)](i(289),t[i(241)]),this[i(261)]("id",t[i(303)]),this[i(261)](i(272),e),this[i(261)](i(268),n)}[Ky(257)](){const t=Ky,e=this[t(299)](),n=this[t(270)](),i=this[t(282)];this[t(251)]({tag:t(290),attributes:this[t(253)](i),children:this[t(254)](e,n,i)})}[Ky(253)](t){const e=Ky;return{class:[Qy,t.if(e(289),Jy,t=>e(284)==t),t.if(e(289),Xy,t=>e(252)==t)],"data-cke-tooltip-text":t.to(e(281),iA),"data-cke-tooltip-position":"n","data-cke-tooltip-class":eA}}[Ky(254)](t,e,n){const i=Ky,r=this[i(295)](n),o=this[i(242)]();return this[i(272)]?[t,r]:[t,o,r,e]}[Ky(295)](t){const e=Ky;return{tag:e(297),attributes:{class:Zy},children:[{text:t.to(e(281))}]}}[Ky(270)](){const t=Ky,e=new a.ButtonView(this[t(245)]);return e[t(261)]({label:zc(this[t(245)],t(283)),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(259)](e),e}[Ky(259)](t){const e=Ky;t.on(e(296),()=>{const t=e;this[t(287)](t(264),this.id)})}[Ky(299)](){const t=Ky,e=this[t(282)],n=new a.IconView;return n[t(294)]=$y[this[t(289)]],n[t(304)]({attributes:{class:[tA,e.if(t(268),t(263),t=>t)]}}),n}[Ky(280)](t,e){const n=Ky;if(!t)return;const i=()=>{const n=Wy;e(),t[n(293)](n(279),i),t[n(293)](n(256),i)};t[n(300)](n(279),i),t[n(300)](n(256),i)}[Ky(242)](){const t=Ky,e=new KI(t(292));return e[t(275)](t(262)).to(this,t(268),t=>t),e}}function iA(t){const e=Ky;if(!t)return t;if(t[e(271)]<=120)return t;const n=t[e(260)](0,120),i=n[e(276)](" ");return(i>0?n[e(260)](0,i):n)+"…"}const rA=oA;function oA(t,e){const n=sA();return(oA=function(t,e){return n[t-=127]})(t,e)}function sA(){const t=["clear","height","setContainerElement","abs","cloneNode","_updateOverflowUI","innerWidth","_config","6613792PAhtyM","button","div","querySelector","extendTemplate","showMoreButtonView","_targetContainer","body","_restoreAncestorVisibility","_intersectionObserver","observe","slice","left","getBoundingClientRect","block !important","from","_createContainerElements","opacity","isConnected","destroy","10130bhdaAK","bottom","parentElement","_containerElement","_createShowMoreButtonView","style","_renderChipsAndCountRows","289iGMqud","_overflowChips","push","_testButtonFit","_findTargetContainer","display","label","visible","_createShowMoreButton","_bodyCollection","50px","clientWidth","execute","pointerEvents","clientHeight","isVisible","showMoreButton","_showMoreBalloonPanelView","show","includes","overflowChips","_locale","_showMoreButtonView","disableAnimationOnEnter","position","pin","_calculateOverflowInContainer","_applyCalculationStyles","boxSizing","visibility","children","_pendingCalculation","visible !important","isOn","innerHTML","_ancestorsToRestore","zIndex","undefined","_calculateContainerWidth","border-box","isIntersecting","classList","none","6WDTUId","0px","innerHeight","_updateShowMoreButtonVisibility","showMoreBalloon","disconnect","filter","absolute","toLowerCase","_visibleChips","_createCalculationContainer","_handleShowMoreButtonClick",".ck-ai-chat","_checkAndHandleOverflow","300px","_createShowMoreBalloonPanelView","some","forEach","showMoreLabelPrefix","maxVisibleRows","_isContainerVisible","appendChild","pop","hideBalloonPanel","_makeAncestorsVisible","5307621ZNPhaL","overflowContainer","_distributeChips","offsetWidth","set","block","-9999px","textContent","reorganizeChips","3221730FsMOXh","setTemplate","10298652HggtsX","rowDetectionTolerance","showBalloonPanel","_createMockButton","controlsButton","className","render","cssClasses","_parentView","content","top","add","documentElement","hidden","remove","auto","_repinBalloonPanel","createElement","tagName","width","right","calculationContainer","element","_updateBalloonContent","9653247IGopaQ","+ 1","getComputedStyle","hide","_setupVisibilityObserver","_applyOverflowResults","ck-calculation-container","7070388CDnuEv","length"];return(sA=function(){return t})()}!function(t){const e=oA,n=t();for(;;)try{if(985700===parseInt(e(265))/1*(parseInt(e(258))/2)+parseInt(e(186))/3+parseInt(e(228))/4+-parseInt(e(195))/5+parseInt(e(161))/6*(-parseInt(e(197))/7)+-parseInt(e(238))/8+-parseInt(e(221))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(sA);const aA={maxVisibleRows:2,rowDetectionTolerance:5,showMoreLabelPrefix:"+ ",viewportOffset:{top:100,bottom:10}},cA=rA(175);class lA{[rA(139)];[rA(237)];[rA(170)];[rA(266)];[rA(140)]=null;[rA(135)]=null;[rA(261)]=null;[rA(127)];[rA(205)]=null;[rA(247)]=null;[rA(149)]=!1;constructor(t,e,n,i,r){const o=rA;this[o(139)]=t,this[o(170)]=e,this[o(237)]={...aA,...n,cssClasses:{controlsButton:"",calculationContainer:o(227),...n[o(204)]}},this[o(266)]=new s.Collection,this[o(127)]=i,this[o(205)]=r||null}[rA(232)](t){const e=rA;this[e(247)]&&(this[e(247)][e(166)](),this[e(247)]=null),this[e(261)]=t,this[e(225)]()}get[rA(243)](){return this[rA(140)]}get[rA(138)](){return this[rA(266)]}[rA(194)](){requestAnimationFrame(()=>{this[oA(174)]()})}[rA(199)](){const t=rA;this[t(140)]&&this[t(135)]&&(this[t(220)](),this[t(140)][t(151)]=!0,this[t(135)][t(136)](),this[t(135)][t(143)]({target:this[t(140)][t(219)],limiter:document[t(241)](t(173))}))}[rA(184)](){const t=rA;this[t(140)]&&this[t(135)]&&(this[t(140)][t(151)]=!1,this[t(135)][t(224)]())}[rA(230)](){const t=rA;this[t(266)][t(230)](),this[t(184)](),this[t(164)](),this[t(140)]&&(this[t(140)][t(271)]=""),this[t(135)]&&this[t(135)][t(206)][t(230)]()}[rA(257)](){const t=rA;this[t(247)]&&(this[t(247)][t(166)](),this[t(247)]=null),this[t(140)]&&(this[t(140)][t(257)](),this[t(140)]=null),this[t(135)]&&(this[t(135)][t(257)](),this[t(135)]=null)}[rA(174)](){const t=rA;if(!this[t(261)])return;if(!this[t(181)]())return void(this[t(149)]=!0);this[t(149)]=!1;const e=[...this[t(170)],...this[t(266)]],n=this[t(171)](),i=this[t(144)](n,e),r=n[t(153)];r&&this[t(246)](r),n[t(211)](),this[t(226)](e,i)}[rA(273)](){const t=rA;this[t(140)]=this[t(262)](),this[t(135)]=this[t(176)](),this[t(140)][t(203)](),this[t(261)][t(182)](this[t(140)][t(219)]),this[t(140)].on(t(130),()=>{this[t(172)]()}),(0,a.clickOutsideHandler)({emitter:this[t(135)],contextElements:[this[t(135)][t(219)],this[t(140)][t(219)]],callback:()=>this[t(184)](),activator:()=>this[t(140)][t(151)]})}[rA(262)](){const t=rA,e=new a.ButtonView(this[t(139)]);e[t(190)]({label:"",withText:!0,isToggleable:!0});const n=[this[t(237)][t(204)][t(134)]];return this[t(237)][t(204)][t(201)]&&n[t(267)](this[t(237)][t(204)][t(201)]),e[t(242)]({attributes:{class:n}}),e}[rA(176)](){const t=rA,e=new a.BalloonPanelView(this[t(139)]);return e[t(242)]({attributes:{class:this[t(237)][t(204)][t(165)]}}),this[t(127)][t(208)](e),e}[rA(220)](){const t=rA;if(this[t(135)]&&(this[t(135)][t(206)][t(230)](),this[t(266)][t(229)]>0)){this[t(266)][t(178)](e=>{e[t(141)]()});const e=new a.View(this[t(139)]);e[t(196)]({tag:t(240),attributes:{class:this[t(237)][t(204)][t(187)]},children:this[t(266)]}),this[t(135)][t(206)][t(208)](e)}}[rA(172)](){const t=rA;this[t(140)][t(151)]?this[t(184)]():this[t(199)]()}[rA(164)](){const t=rA,e=this[t(266)][t(229)]>0;this[t(140)]?.[t(219)]&&(this[t(140)][t(219)][t(263)][t(270)]=e?"":t(160))}[rA(213)](){const t=rA;this[t(140)]?.[t(151)]&&this[t(135)]?.[t(133)]&&this[t(140)][t(219)]&&this[t(135)][t(143)]({target:this[t(140)][t(219)],limiter:document[t(241)](t(173))})}[rA(269)](t){const e=rA,n=this[e(261)]?.[e(215)][e(169)]()||e(240),i=this[e(261)]?.[e(159)];if(i){const r=i[0]||"",o=t[e(241)]("."+r),s=t[e(241)](n);return o||s||t}return t[e(241)](n)||t}[rA(156)](){const t=rA,e=this[t(205)]?.[t(219)]||this[t(261)];if(!e)return cA;const n=window[t(223)](e)[t(216)];if(t(212)===n||t(162)===n||!n){const n=e[t(260)];if(n){const e=window[t(223)](n);return t(212)!==e[t(216)]?e[t(216)]:cA}return cA}return n}[rA(145)](t,e){const n=rA;this[n(237)][n(204)][n(218)]&&t[n(159)][n(208)](this[n(237)][n(204)][n(218)]),t[n(263)][n(216)]=e,t[n(263)][n(142)]=n(168),t[n(263)][n(207)]=n(192),t[n(263)][n(250)]=n(192),t[n(263)][n(255)]="0",t[n(263)][n(131)]=n(160),t[n(263)][n(154)]="-1",t[n(263)][n(147)]=n(150),t[n(263)][n(270)]=n(252),t[n(263)][n(146)]=n(157)}[rA(246)](t){const e=rA;t[e(178)](({element:t,originalDisplay:n,originalVisibility:i})=>{const r=e;t[r(263)][r(270)]=n,t[r(263)][r(147)]=i})}[rA(185)](t){const e=rA,n=[];let i=t;for(;i&&i!==document[e(245)];){const t=window[e(223)](i);e(160)!==t[e(270)]&&e(210)!==t[e(147)]||(n[e(267)]({element:i,originalDisplay:i[e(263)][e(270)],originalVisibility:i[e(263)][e(147)]}),i[e(263)][e(270)]=e(191),i[e(263)][e(147)]=e(272)),i=i[e(260)]}return n}[rA(254)](){const t=rA;let e,n;return this[t(205)]?.[t(219)]?(e=this[t(205)][t(219)][t(234)](!0),n=this[t(269)](e)):(e=document[t(214)](t(240)),n=e),{calculationContainer:e,targetContainer:n}}[rA(171)](){const t=rA,{calculationContainer:e,targetContainer:n}=this[t(254)](),i=this[t(156)]();this[t(145)](e,i);const r=this[t(205)]?.[t(219)]||this[t(261)],o=r?.[t(260)];o?o[t(182)](e):document[t(245)][t(182)](e),e[t(244)]=n;const s=this[t(185)](o||null);return e[t(189)],e[t(153)]=s,e}[rA(144)](t,e){const n=rA,i=t[n(244)]||t,r=[],{rowCount:o}=this[n(264)](i,e);if(o<=this[n(237)][n(180)])return r;const s=e[n(249)]();for(;s[n(229)]>0;){if(this[n(268)](t,i,s)){const t=e[n(167)](t=>!s[n(137)](t));r[n(267)](...t);break}if(!s[n(183)]())break}return r}[rA(264)](t,e){const n=rA;t[n(152)]="",e[n(178)](e=>{const i=n;if(e[i(219)]){const n=e[i(219)][i(234)](!0);t[i(182)](n)}}),t[n(189)];const i=t[n(148)],r=[];return Array[n(253)](i)[n(178)](t=>{const e=n,i=t[e(251)]()[e(207)];r[e(177)](t=>Math[e(233)](t-i)<this[e(237)][e(198)])||r[e(267)](i)}),{rowCount:r[n(229)]}}[rA(200)](){const t=rA,e=document[t(214)](t(239));return e[t(202)]=this[t(237)][t(204)][t(134)],this[t(237)][t(204)][t(201)]&&e[t(159)][t(208)](this[t(237)][t(204)][t(201)]),e[t(193)]=t(222),e}[rA(268)](t,e,n){const i=rA;this[i(264)](e,n);const r=this[i(200)]();t[i(182)](r),t[i(189)];const o=[...e[i(148)],r],s=[];o[i(178)](t=>{const e=i,n=t[e(251)]()[e(207)];s[e(177)](t=>Math[e(233)](t-n)<this[e(237)][e(198)])||s[e(267)](n)});const a=s[i(229)];return r[i(211)](),a<=this[i(237)][i(180)]}[rA(188)](t,e){const n=rA;this[n(170)][n(230)](),this[n(266)][n(230)](),t[n(178)](t=>{const i=n;e[i(137)](t)?this[i(266)][i(208)](t):this[i(170)][i(208)](t)})}[rA(235)](t){const e=rA;if(t>0&&!this[e(140)]&&this[e(273)](),t>0&&this[e(140)]){const n=""+this[e(237)][e(179)]+(t<99?t:"99");this[e(140)][e(271)]=n}this[e(220)](),this[e(164)](),this[e(213)]()}[rA(226)](t,e){const n=rA;this[n(188)](t,e),this[n(235)](e[n(229)])}[rA(225)](){const t=rA;this[t(261)]&&t(155)!=typeof IntersectionObserver&&(this[t(247)]=new IntersectionObserver(e=>{const n=t;e[0][n(158)]&&this[n(149)]&&requestAnimationFrame(()=>{this[n(174)]()})},{threshold:.01,rootMargin:t(128)}),this[t(247)][t(248)](this[t(261)]))}[rA(181)](){const t=rA;if(!this[t(261)])return!1;if(!this[t(261)][t(256)])return!1;const e=this[t(261)][t(251)]();if(0===e[t(216)]||0===e[t(231)])return!1;const n=window[t(163)]||document[t(209)][t(132)],i=window[t(236)]||document[t(209)][t(129)];return e[t(259)]>=-200&&e[t(207)]<=n+200&&e[t(217)]>=-200&&e[t(250)]<=i+200}}const uA=hA;function hA(t,e){const n=dA();return(hA=function(t,e){return n[t-=364]})(t,e)}function dA(){const t=["ck-ai-chat__feed__context-chips","_overflowManager","ck-ai-chat-context-chips-wrapper-balloon","274626IIynWM","render","ck-ai-chat-context-chips-wrapper","setTemplate","1488282rrhBtZ","296Zpqfzd","60klSFES","element","15988PWKeTG","_bodyCollection","_contextChips","destroy","3143734UwKPoN","div","42006rMDSTU","224ByWuze","reorganizeChips","1658LHSGZG","querySelector","ck-ai-chat-controls_context_show-more-button","_createContextChips","add","ck-ai-chat-context-controls__show-more-balloon-panel","ck-ai-chat-controls-button","createCollection","20SXnxyM","locale","setContainerElement","ck-reset_all","641845AVAXYM"];return(dA=function(){return t})()}!function(t){const e=hA,n=t();for(;;)try{if(141386===-parseInt(e(386))/1*(parseInt(e(374))/2)+parseInt(e(383))/3*(-parseInt(e(375))/4)+-parseInt(e(365))/5+parseInt(e(373))/6+-parseInt(e(377))/7*(parseInt(e(384))/8)+-parseInt(e(369))/9+parseInt(e(394))/10*(parseInt(e(381))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dA);const pA=uA(366),fA=uA(371),mA=uA(368),gA=uA(392),kA=uA(388),_A=uA(391);class bA extends a.View{[uA(379)]=this[uA(393)]();[uA(367)];[uA(378)];constructor(t,e,n){const i=uA;super(t),this[i(378)]=n,this[i(389)](e);const r={cssClasses:{showMoreButton:kA,showMoreBalloon:_A,overflowContainer:mA,controlsButton:gA}};this[i(367)]=new lA(t,this[i(379)],r,this[i(378)],this),this[i(372)]({tag:i(382),attributes:{class:[pA,"ck",i(364)]},children:[{tag:i(382),attributes:{class:fA},children:this[i(379)]}]})}[uA(370)](){const t=uA;super[t(370)]();const e=this[t(376)][t(387)]("."+fA);e&&(this[t(367)][t(396)](e),this[t(367)][t(385)]())}[uA(380)](){const t=uA;super[t(380)](),this[t(367)][t(380)]()}[uA(389)](t){const e=uA;for(const n of t){const t=new nA(this[e(395)],n,!0,!1);this[e(379)][e(390)](t)}}}function wA(){var t=["5396415pjwOJZ","children","div","innerHTML","9888ooVTHt","ck-ai-chat__feed__user-message","element","4VRHDlH","_messageContentView","4956870szPQOb","filter","_bodyCollection","ck-ai-chat__feed__context-chips","_locale","render","initialContent","add","803467Hjbftu","30Ryirqq","setTemplate","260883DkgZrA","contextItems","extendTemplate","18iOiTbM","hidden","_createContextChipsView","_contextChipsView","_createMessageContentView","options","length","1344348fwoguL","markAsDone","ck-ai-chat__feed__message-content","4708024HyLTir"];return(wA=function(){return t})()}var vA=IA;function IA(t,e){var n=wA();return(IA=function(t,e){return n[t-=178]})(t,e)}!function(t){for(var e=IA,n=t();;)try{if(724491===parseInt(e(185))/1*(-parseInt(e(188))/2)+-parseInt(e(201))/3+-parseInt(e(211))/4+-parseInt(e(181))/5+parseInt(e(199))/6*(parseInt(e(198))/7)+-parseInt(e(180))/8*(-parseInt(e(204))/9)+parseInt(e(190))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(wA);class yA extends HI{[vA(207)]=null;[vA(194)];[vA(192)];[vA(189)];constructor(t,e,n){var i=vA;super(e),this[i(194)]=t,this[i(192)]=n,this[i(206)](),this[i(208)](),this[i(203)]({attributes:{class:[i(186)]}})}[vA(206)](){var t=vA;this[t(209)][t(202)]&&this[t(209)][t(202)][t(210)]>0&&(this[t(207)]=new bA(this[t(194)],this[t(209)][t(202)][t(191)](e=>!e[t(205)]),this[t(192)]),this[t(207)][t(203)]({attributes:{class:t(193)}}),this[t(182)][t(197)](this[t(207)]))}[vA(208)](){var t=vA;this[t(189)]=new a.View(this[t(194)]),this[t(189)][t(200)]({tag:t(183),attributes:{class:t(179)}}),this[t(182)][t(197)](this[t(189)])}[vA(195)](){var t=vA;super[t(195)](),this[t(189)][t(187)][t(184)]=this[t(209)][t(196)],this[t(178)]()}}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=xA();return(EA=function(t,e){return n[t-=254]})(t,e)}function xA(){const t=["capabilities","100869BMTgeg","setTemplate","38IPkcIY","add","push","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING","ck-ai-chat__feed__interaction-header","AI_CHAT_FEED_REPLY_ITEM_USED_REASONING","ck-ai-chat__feed__interaction-header__capabilities__text","ck-ai-chat__feed__interaction-header__capabilities","2847720ppsZwi","extendTemplate","ck-hidden","284304QSXlnC","2801680QNaQYN","804028YvnfZJ","content","61SsZnsi","1550780fXZWKC","children","AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH","div","span"];return(xA=function(){return t})()}!function(t){const e=EA,n=t();for(;;)try{if(304752===-parseInt(e(260))/1*(parseInt(e(269))/2)+parseInt(e(267))/3+-parseInt(e(258))/4+parseInt(e(257))/5+parseInt(e(256))/6+parseInt(e(261))/7+-parseInt(e(277))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xA);class TA extends HI{constructor(t,e){const n=EA;super(e);const{isWebSearchEnabled:i,isReasoningEnabled:r}=e[n(266)],o=[];let s="";i&&r?(s=zc(t,n(272)),o[n(271)](CA(zv)),o[n(271)](CA(AA))):i?(s=zc(t,n(263)),o[n(271)](CA(zv))):r&&(s=zc(t,n(274)),o[n(271)](CA(AA))),this[n(254)]({attributes:{class:[n(273),s?"":n(255)]}});const c=new a.View;c[n(268)]({tag:n(264),attributes:{class:["ck",n(276)]},children:[...o,{tag:n(265),attributes:{class:[n(275)]},children:[s]}]}),this[n(262)][n(270)](c)}}function CA(t){const e=EA,n=new a.IconView;return n[e(259)]=t,n}function SA(t,e){const n=LA();return(SA=function(t,e){return n[t-=273]})(t,e)}const RA=SA;!function(t){const e=SA,n=t();for(;;)try{if(395408===parseInt(e(285))/1*(-parseInt(e(295))/2)+-parseInt(e(283))/3+parseInt(e(281))/4+parseInt(e(314))/5*(-parseInt(e(286))/6)+-parseInt(e(299))/7*(parseInt(e(279))/8)+parseInt(e(297))/9*(-parseInt(e(275))/10)+-parseInt(e(313))/11*(-parseInt(e(306))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(LA);const OA=[RA(287),RA(274),RA(300),RA(280)],NA=[RA(276),RA(278),RA(298),RA(309),RA(311),RA(304)," "];class MA{[RA(288)];[RA(312)];[RA(296)];[RA(289)];[RA(317)];constructor(t){const e=RA;this[e(288)]=t,this[e(312)]=null,this[e(296)]=!1,this[e(289)]=new AbortController,this[e(317)]=!1;for(const t of OA){const n=e(280)!==t;this[e(288)][e(273)](t,this[e(282)][e(292)](this),{passive:n,signal:this[e(289)][e(290)]})}}[RA(308)](){const t=RA;this[t(296)]||(this[t(296)]=!0,this[t(317)]=!1,this[t(312)]=requestAnimationFrame(this[t(301)][t(292)](this)))}[RA(315)](){requestAnimationFrame(()=>{this[SA(294)]()})}[RA(316)](){const t=RA;this[t(294)](),this[t(289)][t(291)]()}[RA(294)](){const t=RA;null!==this[t(312)]&&(cancelAnimationFrame(this[t(312)]),this[t(312)]=null),this[t(296)]&&(this[t(296)]=!1),this[t(317)]=!1}[RA(282)](t){const e=RA;if(this[e(296)]){if(e(280)===t[e(310)]){const n=t[e(302)];if(!NA[e(303)](n))return}t instanceof WheelEvent?t[e(284)]<0?this[e(317)]=!0:this[e(317)]=!this[e(277)]():this[e(317)]=!0}}[RA(277)](){const t=RA,{scrollTop:e,scrollHeight:n,clientHeight:i}=this[t(288)];return n-e-i<=5}[RA(301)](){const t=RA;this[t(296)]&&(this[t(317)]||this[t(288)][t(305)]({top:this[t(288)][t(293)],behavior:t(307)}),this[t(312)]=requestAnimationFrame(this[t(301)][t(292)](this)))}}function LA(){const t=["animationFrameId","2717198RhGsDh","229445BfjhEM","stop","destroy","isUserPaused","addEventListener","touchstart","3970oTUTGk","ArrowUp","_isAtBottom","ArrowDown","746056IcACvB","keydown","2098536MnGdei","_onUserEvent","1321494JpIbzU","deltaY","2EeikaD","90MlQage","wheel","element","abortController","signal","abort","bind","scrollHeight","_stop","43418kGaBAF","isRunning","8469egRXWT","PageUp","42ILfdWl","pointerdown","_rafUpdate","key","includes","End","scrollTo","96bFfKcN","auto","start","PageDown","type","Home"];return(LA=function(){return t})()}function PA(){const t=["11114QDQidI","7EUkzpQ","32TijRNv","88px","class","attributes","map","setTemplate","272SaJcUm","ck-ai-skeleton","center","_createSkeletonItems","width","3057552atHddT","128px","40px","100%","2804772rtwDtc","3559740bUecwM","width: ","44px","ck-ai-skeleton__item","140px","869CpEjqa","margin-left: auto; margin-right: auto; text-align: center;","4024550LkGHGM","24px","tag","right","250px","left","72px","159260NNTSPz","margin-left: auto; margin-right: 0; text-align: right;","div","margin-left: 0; margin-right: auto; text-align: left;","fill","height","align","; height: ","2911914hVCYzU","150px"];return(PA=function(){return t})()}const DA=UA;!function(t){const e=UA,n=t();for(;;)try{if(787275===-parseInt(e(321))/1*(parseInt(e(313))/2)+parseInt(e(311))/3+parseInt(e(289))/4+parseInt(e(296))/5+parseInt(e(288))/6*(-parseInt(e(314))/7)+-parseInt(e(315))/8*(-parseInt(e(326))/9)+parseInt(e(303))/10*(-parseInt(e(294))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PA);class HA extends a.View{constructor(t,e){const n=UA;super(t),this[n(320)]({tag:n(305),attributes:{class:["ck",n(322)]},children:this[n(324)](e)})}[DA(324)](t){const e=DA,n=["ck",e(292)];return t[e(319)](t=>{const i=e;let r="";switch(t[i(318)][i(309)]){case i(299):r=i(304);break;case i(323):r=i(295);break;case i(301):r=i(306)}return{tag:t[i(298)],attributes:{class:[...n,t[i(318)][i(317)]?t[i(318)][i(317)]:""],style:i(290)+t[i(318)][i(325)]+i(310)+t[i(318)][i(308)]+";"+r}}})}}const BA={aiFeed:[{tag:DA(305),attributes:{width:DA(329),height:DA(302),align:DA(299)}},{tag:DA(305),attributes:{width:DA(300),height:DA(328),align:DA(299)}},{tag:DA(305),attributes:{width:DA(329),height:DA(316),align:DA(299)}},{tag:DA(305),attributes:{width:DA(312),height:DA(328),align:DA(299)}},{tag:DA(305),attributes:{width:DA(329),height:DA(293),align:DA(299)}},{tag:DA(305),attributes:{width:DA(300),height:DA(328),align:DA(299)}},{tag:DA(305),attributes:{width:DA(329),height:DA(316),align:DA(299)}}],aiHistory:VA(5,DA(329),DA(291),DA(299)),aiChatResources:VA(8,DA(329),DA(297),DA(299)),aiReviewChecks:[{tag:DA(305),attributes:{width:DA(327),height:DA(297),align:DA(301)}},{tag:DA(305),attributes:{width:DA(329),height:DA(297),align:DA(301)}},{tag:DA(305),attributes:{width:DA(327),height:DA(297),align:DA(301)}}]};function UA(t,e){const n=PA();return(UA=function(t,e){return n[t-=288]})(t,e)}function VA(t,e,n,i){const r=DA;return new Array(t)[r(307)](null)[r(319)](()=>({tag:r(305),attributes:{width:e,height:n,align:i}}))}const FA=qA;function qA(t,e){const n=zA();return(qA=function(t,e){return n[t-=162]})(t,e)}function zA(){const t=["isVisible","188170HdeIdm","ai-chat-feed-view-item-not-a-reply-item","startAutoScroll","getItemIds","_createTemplateChildren","ck-ai-chat__loader","bindTemplate","addItem","ai-suggestion-reply","span","_createLoaderChildren","setTemplate","start","locale","updateWebSources","scrollManager","stop","_createFeedItems","set","77SULhNd","ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item","loadingMessage","delegate","11806454cvDcLz","isPending","ai-reply","removeItem","_bodyCollection","getPartView","interaction-header","ai-chat-feed-view-item-not-a-suggestion-item","isLoadingSkeletonVisible","remove","children","_setupTemplate","6YvixoA","ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found","includes","ck-ai-chat__loader-text","updatePartState","options","getItemById","updateSuggestionPartState","extendTemplate","ck-ai-chat__feed__items","updateReplyItem","updateContent","ai-chat-feed-view-item-not-found","find","ck-hidden","394wCDrVD","toggleLoadingSkeleton","add","_createSkeletonLoader","9VJCRvs","2735192ruEtUa","markAsDone","updateSuggestionItem","ai-chat-feed-view-item-not-a-suggestion-or-reply-item","aiFeed","317088KROAXj","2089178UybRsd","12idwNRc","clear","setLoadingMessage","stopAutoScroll","destroy","render","18712jeVZRp","scrollToSuggestion","div","ck-ai-chat__feed","map","createCollection","25FYFaUt","updateSources","user-message","markItemAsDone","element","_createFeedLoader"];return(zA=function(){return t})()}!function(t){const e=qA,n=t();for(;;)try{if(269889===-parseInt(e(167))/1*(parseInt(e(198))/2)+-parseInt(e(208))/3+-parseInt(e(216))/4*(parseInt(e(222))/5)+-parseInt(e(183))/6*(parseInt(e(209))/7)+-parseInt(e(203))/8+-parseInt(e(202))/9*(parseInt(e(229))/10)+-parseInt(e(171))/11*(-parseInt(e(210))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(zA);class GA extends a.View{[FA(181)];[FA(163)];[FA(175)];constructor(t,e){const n=FA;super(t),this[n(175)]=e,this[n(166)](n(172),!1),this[n(166)](n(169),""),this[n(166)](n(179),!1),this[n(181)]=this[n(221)](),this[n(181)][n(170)](...Ty).to(this),this[n(182)]()}[FA(215)](){const t=FA;super[t(215)](),this[t(163)]=new MA(this[t(226)])}[FA(214)](){const t=FA;super[t(214)](),this[t(163)][t(214)]()}[FA(211)](){const t=FA;this[t(181)][t(211)]()}[FA(236)](t,e){const n=FA;let i;i=n(173)===t?new qy(e):n(237)===t?new By(this[n(242)],e):n(224)===t?new yA(this[n(242)],e,this[n(175)]):n(177)===t?new TA(this[n(242)],e):new FI(e),this[n(181)][n(200)](i)}async[FA(193)]({id:t,parsedContent:e,renderingStrategy:n,abortSignal:i}){const r=FA,o=this[r(189)](t);if(!(o instanceof qy))throw new s.CKEditorError(r(230),null,{itemView:o,id:t,parsedContent:e});await o[r(194)]({parsedContent:e,renderingStrategy:n,abortSignal:i})}async[FA(162)](t,e){const n=FA,i=this[n(189)](t);if(i instanceof By)i[n(223)](e);else{if(!(i instanceof qy))throw new s.CKEditorError(n(206),null,{itemView:i,id:t,sources:e});i[n(223)](e)}}async[FA(205)]({id:t,parts:e,renderingStrategy:n,abortSignal:i}){const r=FA,o=this[r(189)](t);if(!(o instanceof By))throw new s.CKEditorError(r(178),null,{itemView:o,id:t,parts:e});await o[r(194)]({parts:e,renderingStrategy:n,abortSignal:i})}[FA(190)]({id:t,index:e,state:n}){const i=FA,r=this[i(189)](t);if(!(r instanceof By))throw new s.CKEditorError(i(178),this,{id:t});r[i(187)](e,n)}[FA(225)](t){const e=FA;this[e(189)](t)[e(204)]()}[FA(232)](){const t=FA;return this[t(181)][t(220)](e=>e[t(188)].id)}[FA(174)](t){const e=FA;this[e(181)][e(180)](this[e(189)](t))}[FA(217)](t,e){const n=FA,i=this[n(189)](t);if(!(i instanceof By))return void(0,s.logWarning)(n(168),{replyId:t,partIndex:e});const r=i[n(176)](e);r?(0,s.scrollViewportToShowTarget)({target:r[n(226)],ancestorOffset:20,alignToTop:!0,forceScroll:!0}):(0,s.logWarning)(n(184),{replyId:t,partIndex:e})}[FA(182)](){const t=FA;this[t(240)]({tag:t(218),attributes:{class:["ck",t(219)]},children:this[t(233)]()})}[FA(233)](){const t=FA,e=this[t(201)]();return[this[t(165)](),e,this[t(227)]()]}[FA(201)](){const t=FA,e=new HA(this[t(242)],BA[t(207)]);return e[t(191)]({attributes:{class:[this[t(235)].if(t(179),t(197),t=>!t)]}}),e}[FA(165)](){const t=FA,e=new a.View(this[t(242)]);return e[t(240)]({tag:t(218),attributes:{class:["ck",t(192),this[t(235)].if(t(179),t(197))]},children:this[t(181)]}),e}[FA(227)](){const t=FA,e=new a.View(this[t(242)]);return e[t(240)]({tag:t(218),attributes:{class:["ck",t(234),this[t(235)].if(t(172),t(197),t=>!t)]},children:this[t(239)]()}),e}[FA(239)](){const t=FA,e=new KI;return e[t(228)]=!0,[e,{tag:t(238),attributes:{class:["ck",t(186)]},children:[{text:this[t(235)].to(t(169))}]}]}[FA(189)](t){const e=FA,n=this[e(181)][e(196)](n=>n[e(188)].id[e(185)](t));if(!n)throw new s.CKEditorError(e(195),this,{id:t});return n}[FA(212)](t){const e=FA;this[e(166)](e(169),t)}[FA(199)](t){const e=FA;this[e(166)](e(179),t)}[FA(231)](){const t=FA;this[t(163)][t(241)]()}[FA(213)](){const t=FA;this[t(163)][t(164)]()}}const jA=WA;function WA(t,e){const n=YA();return(WA=function(t,e){return n[t-=415]})(t,e)}function YA(){const t=["967842EBwDta","80emSdUt","filter","43446csczMa","length","32AJjrwQ","231975TjONwq","239618aLtxvw","8218760VNswpR","items","31393CcWffz","14XBTHBx","612324Zrqlcj"];return(YA=function(){return t})()}!function(t){const e=WA,n=t();for(;;)try{if(342445===parseInt(e(427))/1+-parseInt(e(424))/2+parseInt(e(420))/3*(parseInt(e(418))/4)+-parseInt(e(423))/5+parseInt(e(416))/6*(-parseInt(e(415))/7)+-parseInt(e(422))/8*(parseInt(e(417))/9)+parseInt(e(425))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(YA);class KA extends a.ListView{[jA(419)](){const t=jA;let e=0;for(const n of this[t(426)])e+=n[t(426)][t(421)];return{resultsCount:e,totalItemsCount:e}}}const $A=XA;function QA(){const t=["sendUserMessage","rtl","execute","requestAnimationFrame","render","7TCbtyh","style","isEnabled","2aAILXE","204XZRFZq","setIsUploadInProgress","placeholder","MAX_ROWS","isUploadInProgress","uiLanguageDirection","909GBZObN","value","ck-ai-chat__prompt-input","reset","element","queryView","AI_CHAT_LABEL_SUBMIT","calc(","right","trim","3898167rEyTlM","width","hasError","minRows","_addContextButtonView","maxRows","enter","_createSubmitButton","fieldView","_queryViewResizeObserver","ck-ai-chat__prompt-submit-button","fieldWrapperChildren","extendTemplate","2244bLTOem","setPlaceholderText","isEmpty","add","51786vjTCjt","_setUpAddContextButtonPositioning","fire","submit","window","update","keystrokes","submitButtonView","px - var(--ck-spacing-tiny))","41970kEKYag","target","locale","excludeScrollbarsAndBorders","559057myOEBR","33YjVxcB","1139388GXeIdX","bind","6689656tyqbeT","set","errorText","AI_CHAT_PROMPT_EMPTY_ERROR","destroy","focusableChildren","MIN_ROWS","left","135cymzCv"];return(QA=function(){return t})()}function XA(t,e){const n=QA();return(XA=function(t,e){return n[t-=243]})(t,e)}!function(t){const e=XA,n=t();for(;;)try{if(460268===parseInt(e(296))/1*(parseInt(e(249))/2)+parseInt(e(279))/3*(-parseInt(e(250))/4)+-parseInt(e(308))/5*(parseInt(e(283))/6)+-parseInt(e(246))/7*(parseInt(e(300))/8)+-parseInt(e(256))/9*(-parseInt(e(292))/10)+-parseInt(e(297))/11*(-parseInt(e(298))/12)+parseInt(e(266))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(QA);class JA extends a.AutocompleteView{[$A(290)];static[$A(306)]=1;static[$A(253)]=12;[$A(270)];[$A(275)];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(301)](n(281),!0),this[n(301)](n(254),!1),this[n(270)]=e,this[n(275)]=null,this[n(261)][n(274)][n(269)]=JA[n(306)],this[n(261)][n(274)][n(271)]=JA[n(253)],this[n(261)][n(277)][n(282)](this[n(270)]),this[n(284)](),this[n(278)]({attributes:{class:["ck",n(258)]}}),this[n(290)]=this[n(273)](),this[n(290)][n(299)](n(248)).to(this,n(281),this,n(254),(t,e)=>!t&&!e),this[n(305)][n(282)](this[n(290)])}[$A(245)](){const t=$A;super[t(245)](),this[t(261)][t(277)][t(282)](this[t(290)]),this[t(289)][t(301)](t(272),(e,n)=>{const i=t;this[i(254)]||this[i(281)]||e[i(293)]==this[i(261)][i(274)][i(260)]&&(this[i(286)](),n())}),this[t(261)][t(274)].on(t(288),()=>{const e=t;this[e(281)]=""===this[e(261)][e(274)][e(260)][e(257)]?.[e(265)]()})}[$A(304)](){const t=$A;super[t(304)](),this[t(275)]&&this[t(275)][t(304)]()}[$A(286)](){const t=$A,e=this[t(261)][t(274)][t(260)][t(257)]?.[t(265)]();if(!e)return this[t(261)][t(302)]=zc(this[t(294)],t(303)),void(this[t(261)][t(274)][t(268)]=!0);this[t(261)][t(274)][t(268)]=!1;const n=pt(e);this[t(285)](t(309),n),this[t(261)][t(274)][t(259)]()}[$A(280)](t){const e=$A;this[e(261)][e(274)][e(301)](e(252),t)}[$A(273)](){const t=$A,e=new a.ButtonView(this[t(294)]);return e[t(301)]({icon:o.IconSubmit,label:zc(this[t(294)],t(262)),isVisible:!0,tooltip:!0,class:t(276),isEnabled:!1}),e.on(t(243),()=>{this[t(286)]()}),e}[$A(251)](t){this[$A(254)]=t}[$A(284)](){const t=$A,e=this[t(294)],n=()=>{const n=t;s.global[n(287)][n(244)](()=>{const t=n;if((0,s.isVisible)(this[t(260)])){const n=new s.Rect(this[t(261)][t(274)][t(260)]),i=new s.Rect(this[t(270)][t(260)]),r=n[t(267)],o=t(310)===e[t(255)]?t(264):t(307);n[t(295)]();const a=r-n[t(267)]+1;this[t(270)][t(260)][t(247)][o]=t(263)+(r-i[t(267)]-a)+t(291)}})};this[t(261)][t(274)].on(t(288),n),this.on(t(245),()=>{const e=t;n(),this[e(275)]=new s.ResizeObserver(this[e(261)][e(274)][e(260)],()=>{n()})})}}const ZA=tE;function tE(t,e){const n=uE();return(tE=function(t,e){return n[t-=277]})(t,e)}!function(t){const e=tE,n=t();for(;;)try{if(599517===parseInt(e(284))/1*(-parseInt(e(335))/2)+-parseInt(e(299))/3*(parseInt(e(303))/4)+-parseInt(e(362))/5+parseInt(e(353))/6+parseInt(e(357))/7*(parseInt(e(310))/8)+-parseInt(e(340))/9+-parseInt(e(304))/10*(-parseInt(e(298))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(uE);const eE=ZA(356),nE=ZA(291),iE=ZA(322),rE=ZA(334),oE=ZA(327),sE=ZA(297),aE=ZA(283),cE="n";class lE extends a.View{[ZA(338)];[ZA(324)];[ZA(321)];[ZA(302)];[ZA(280)];[ZA(364)];constructor(t){const e=ZA;super(t),this[e(313)](e(366),!1),this[e(313)](e(337),!1),this[e(313)](e(325),!0),this[e(313)](e(348),!0),this[e(313)](e(374),""),this[e(313)](e(286),""),this[e(302)]=this[e(320)](),this[e(364)]=this[e(361)](),this[e(338)]=this[e(300)](),this[e(324)]=this[e(354)](),this[e(321)]=this[e(312)](),this[e(302)][e(339)][e(288)](e(323)).to(this,e(325),t=>t),this[e(302)][e(339)][e(288)](e(347)).to(this,e(348),t=>t?this[e(302)][e(339)][e(344)]:zc(this[e(326)],e(360))),this[e(302)][e(288)](e(309)).to(this,e(348),t=>t),this[e(338)][e(288)](e(311)).to(this,e(366),t=>t),this[e(338)][e(288)](e(296)).to(this,e(325),t=>!t),this[e(338)][e(288)](e(347)).to(this,e(366),t=>zc(this[e(326)],e(t?350:319))),this[e(324)][e(288)](e(311)).to(this,e(337),t=>t),this[e(324)][e(288)](e(296)).to(this,e(325),t=>!t),this[e(324)][e(288)](e(347)).to(this,e(337),t=>zc(this[e(326)],e(t?373:372))),this[e(282)]({tag:e(369),attributes:{class:[eE]},children:[this[e(302)],this[e(364)],this[e(338)],this[e(324)],this[e(321)]]}),this[e(280)]=new s.Collection,(0,a.addListToDropdown)(this[e(302)],this[e(280)])}[ZA(346)](t,e){const n=ZA;if(this[n(313)](n(325),!(e&&t[n(330)]<=1)),this[n(280)][n(279)](),t?.[n(330)])for(const e of t){const t=new a.UIModel({label:e[n(329)],withText:!0,role:n(305),id:e.id,model:e});t[n(288)](n(311)).to(this,n(374),t=>t===e.id),this[n(280)][n(293)]({type:n(371),model:t,labelView:new hE(this[n(326)],e)})}}[ZA(352)](t){const e=ZA;this[e(313)](e(366),t)}[ZA(328)](t){const e=ZA;this[e(313)](e(337),t)}[ZA(315)](t){const e=ZA;if(!t)return;this[e(374)]=t.id,this[e(286)]=t[e(329)]||t.id,this[e(302)][e(339)][e(313)](e(344),t[e(329)]),this[e(302)][e(339)][e(313)](e(347),t[e(329)]);const n=t[e(307)][e(317)]?.[e(363)]??!1;this[e(313)](e(366),!1),this[e(338)][e(313)](e(311),!1),this[e(338)][e(313)](e(309),n),this[e(338)][e(313)](e(323),n);const i=t[e(307)][e(370)]?.[e(363)]??!1;this[e(313)](e(337),!1),this[e(324)][e(313)](e(311),!1),this[e(324)][e(313)](e(309),i),this[e(324)][e(313)](e(323),i)}[ZA(294)](){const t=ZA;this[t(313)](t(348),!0),this[t(313)](t(325),!0)}[ZA(331)](t){const e=ZA;this[e(313)](e(348),!1),t&&this[e(313)](e(325),!1)}[ZA(300)](){const t=ZA,e=new a.ButtonView;return e[t(313)]({label:zc(this[t(326)],t(367)),icon:zv,class:nE,isToggleable:!0,tooltipPosition:cE}),e.on(t(287),()=>{const e=t;this[e(355)](e(290))}),e}[ZA(354)](){const t=ZA,e=new a.ButtonView;return e[t(313)]({label:zc(this[t(326)],t(351)),icon:AA,class:nE,isToggleable:!0,tooltipPosition:cE}),e.on(t(287),()=>{const e=t;this[e(355)](e(375))}),e}[ZA(312)](){const t=ZA,e=new a.ButtonView;return e[t(313)]({label:zc(this[t(326)],t(349)),icon:qv,withText:!0,class:nE,isToggleable:!0,tooltip:zc(this[t(326)],t(349)),tooltipPosition:cE}),e[t(301)]({attributes:{class:[iE]}}),e.on(t(287),()=>{const e=t;console[e(341)](e(277)),alert(e(277))}),e}[ZA(320)](){const t=ZA,e=(0,a.createDropdown)(this[t(326)]);return e[t(313)]({panelPosition:"ne",class:[rE]}),e[t(339)][t(313)]({label:zc(this[t(326)],t(359)),withText:!0,tooltip:!0,tooltipPosition:cE}),this[t(318)](e,t(287),e=>{const n=t;this[n(355)](n(281),e[n(345)][n(336)])}),e}[ZA(361)](){const t=ZA,e=new dE(this[t(326)]);return e[t(288)](t(278)).to(this,t(286),t=>t??""),e[t(288)](t(323)).to(this,t(325),this,t(286),(e,n)=>!e&&!n?.[t(292)]()[t(368)](t(343))),e}}function uE(){const t=["ck-ai-chat-controls__model-name","toggleWebSearch","ck-ai-chat-controls-button","toLowerCase","add","enableModelSelector","ck-button__label","withText","ck-ai-chat-controls__model-selection__item-description","21319771ldjVfY","829119ZuWAlH","_createWebSearchButton","extendTemplate","_modelSelectionDropdown","4sJWuAT","10KGiMFe","menuitemradio","_getCapabilityParts","capabilities","AI_CHAT_CAPABILITIES_NO","isEnabled","106648LKPPoX","isOn","_createCommandsButton","set","addMany","setModel","style","webSearch","listenTo","AI_CHAT_ENABLE_WEB_SEARCH","_createModelSelectionDropdown","_commandsButton","ck-ai-chat-controls-button--commands","isVisible","_reasoningButton","modelSelectorVisible","locale","ck-ai-chat-controls__model-selection__item-name","setReasoning","name","length","disableModelSelector","createCollection","AI_CHAT_CAPABILITIES_YES","ck-ai-chat-controls__model-selection","22kwjoDq","model","reasoningActive","_webSearchButton","buttonView","8997633ySDlTC","log","span","agent","label","source","setModelList","tooltip","modelSelectorEnabled","AI_CHAT_COMMANDS","AI_CHAT_DISABLE_WEB_SEARCH","AI_CHAT_REASONING","setWebSearch","3261198uDgMTo","_createReasoningButton","fire","ck-ai-chat__prompt-capabilities","231RtAPzX","bindTemplate","AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP","AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP","_createModelNameView","4081330NBYpfe","enabled","_modelNameView","content","webSearchActive","AI_CHAT_SEARCH_WEB","startsWith","div","reasoning","button","AI_CHAT_ENABLE_REASONING","AI_CHAT_DISABLE_REASONING","activeModelId","toggleReasoning","ck-hidden","Commands are not implemented yet.","text","clear","_modelSelectionDropdownItems","selectModel","setTemplate","ck-ai-chat-controls__model-selection__item-capabilities","20884QUxWku","description","activeModelName","execute","bind"];return(uE=function(){return t})()}class hE extends a.ButtonLabelView{constructor(t,e){const n=ZA;super();const i=this[n(358)],r=this[n(332)]();this[n(282)]({tag:n(369),attributes:{class:["ck",n(295)],style:i.to(n(316)),id:i.to("id")},children:[{tag:n(369),attributes:{class:[oE]},children:[{text:i.to(n(278))}]},{tag:n(369),attributes:{class:[sE]},children:[{tag:n(342),children:[{text:e[n(285)]}]}]},{tag:n(369),attributes:{class:[aE]},children:r}]}),r[n(314)](this[n(306)](t,zv,n(367),e[n(307)][n(317)]?.[n(363)]??!1)),r[n(314)](this[n(306)](t,AA,n(351),e[n(307)][n(370)]?.[n(363)]??!1))}[ZA(306)](t,e,n,i){const r=ZA,o=new a.IconView;o[r(365)]=e;const s=new a.View(t);s[r(282)]({tag:r(342),children:[{text:zc(t,n)+": "}]});const c=new a.View(t);return c[r(282)]({tag:r(342),children:[{text:zc(t,r(i?333:308))}]}),[o,s,c]}}class dE extends a.View{constructor(t){const e=ZA;super(t),this[e(313)](e(278),void 0),this[e(313)](e(323),!0);const n=this[e(358)];this[e(282)]({tag:e(342),attributes:{class:["ck",e(289),n.if(e(323),e(376),t=>!t)]},children:[{text:n.to(e(278))}]})}}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>',fE=gE;function mE(){const t=["form","ck-ai-chat-context-controls__url-input-section","errorText","_setupEventHandlers","302247GATVdt","AI_CHAT_CONTEXT_URL_EMPTY_ERROR","input","submit","656fwKVJm","render","ck-labeled-field-view_empty","setTemplate","ck-button-icon ck-button-back","backButton","2061635HZHkpU","keystrokes","fire","esc","focusTracker","_createUrlInputField","31503pbwbZF","refreshBalloon","forEach","91646zmwvPj","destroy","20cXTLiW","cancel","createCollection","_createBackButton","length","ck-ai-header ck-ai-header_small ck-ai-header_context-url","value","AI_CHAT_CONTEXT_URL_LABEL","add","ck-ai-chat-context-controls__url-form","children","clearError","5915cfkXVf","_handleSubmit","clear","AI_CHAT_CONTEXT_URL_INVALID_ERROR","focus","execute","shift+tab","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","_focusables","element","submitUrl","AI_CHAT_CONTEXT_URL_ADD_URL","fieldView","isEnabled","stop","AI_CHAT_CONTEXT_URL_PLACEHOLDER","_createConfirmButton","_updateConfirmButtonState","getValue","12WzozHL","locale","_setupKeystrokes","setError","4065831SmYPHk","trim","focusCycler","_isValidUrl","confirmButton","709482FxJALm","ck-button-icon","div","52OWlWCo","listenTo","tab","set","_setupTemplate","7dqRUil","urlInputField"];return(mE=function(){return t})()}function gE(t,e){const n=mE();return(gE=function(t,e){return n[t-=362]})(t,e)}!function(t){const e=gE,n=t();for(;;)try{if(208745===-parseInt(e(403))/1*(-parseInt(e(428))/2)+parseInt(e(425))/3*(-parseInt(e(398))/4)+parseInt(e(419))/5+parseInt(e(395))/6+-parseInt(e(367))/7*(parseInt(e(413))/8)+parseInt(e(409))/9*(-parseInt(e(430))/10)+-parseInt(e(390))/11*(parseInt(e(386))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mE);const kE=fE(364),_E=fE(406);class bE extends a.View{[fE(423)];[fE(420)];[fE(375)];[fE(392)];[fE(404)];[fE(418)];[fE(394)];constructor(t){const e=fE;super(t),this[e(423)]=new s.FocusTracker,this[e(420)]=new s.KeystrokeHandler,this[e(418)]=this[e(433)](),this[e(404)]=this[e(424)](),this[e(394)]=this[e(383)](),this[e(375)]=this[e(432)]([this[e(418)],this[e(404)],this[e(394)]]),this[e(392)]=new a.FocusCycler({focusables:this[e(375)],focusTracker:this[e(423)],keystrokeHandler:this[e(420)],actions:{focusPrevious:e(373),focusNext:e(400)}}),this[e(402)](),this[e(408)](),this[e(388)]()}[fE(414)](){const t=fE;super[t(414)](),this[t(375)][t(427)](e=>{const n=t;this[n(423)][n(363)](e[n(376)]),this[n(420)][n(399)](e[n(376)])}),(0,a.submitHandler)({view:this}),this[t(371)]()}[fE(429)](){const t=fE;super[t(429)](),this[t(423)][t(429)](),this[t(420)][t(429)]()}[fE(371)](){const t=fE;this[t(404)][t(371)]()}[fE(385)](){const t=fE;return this[t(404)][t(379)][t(376)]?.[t(436)]?.[t(391)]()||""}[fE(369)](){const t=fE;this[t(404)][t(379)][t(376)][t(436)]="",this[t(404)][t(407)]=null,this[t(394)][t(380)]=!1}[fE(389)](t){const e=fE;this[e(404)][e(407)]=t,this[e(384)](),this[e(421)](e(426))}[fE(366)](){const t=fE;this[t(404)][t(407)]=null,this[t(384)]()}[fE(433)](){const t=fE,e=new a.ButtonView(this[t(387)]);return e[t(401)]({icon:ey,tooltip:zc(this[t(387)],t(374)),tooltipPosition:"n",class:t(417)}),e}[fE(424)](){const t=fE,e=new a.LabeledFieldView(this[t(387)],a.createLabeledInputText);return e[t(401)]({label:zc(this[t(387)],t(362)),class:t(415)}),e[t(379)][t(401)]({placeholder:zc(this[t(387)],t(382))}),e}[fE(383)](){const t=fE,e=new a.ButtonView(this[t(387)]);return e[t(401)]({icon:Gv,tooltip:zc(this[t(387)],t(378)),tooltipPosition:"n",class:t(396),type:t(412),isEnabled:!1}),e}[fE(402)](){const t=fE,e=new a.FormHeaderView(this[t(387)],{label:zc(this[t(387)],t(378)),class:t(435)});e[t(365)][t(363)](this[t(418)],0),this[t(416)]({tag:t(405),attributes:{class:kE,tabindex:"-1"},children:[e,{tag:t(397),attributes:{class:_E},children:[this[t(404)],this[t(394)]]}]})}[fE(408)](){const t=fE;this[t(418)].on(t(372),()=>{const e=t;this[e(369)](),this[e(421)](e(431))}),this[t(404)][t(379)].on(t(411),()=>{const e=t;this[e(366)](),this[e(384)](),this[e(421)](e(426))}),this.on(t(412),e=>{const n=t;e[n(381)](),this[n(368)]()})}[fE(388)](){const t=fE;this[t(420)][t(401)](t(422),(e,n)=>{const i=t;this[i(369)](),this[i(421)](i(431)),n()})}[fE(368)](){const t=fE,e=this[t(385)]()[t(391)]();e?this[t(393)](e)?(this[t(366)](),this[t(421)](t(377),e)):this[t(389)](zc(this[t(387)],t(370))):this[t(389)](zc(this[t(387)],t(410)))}[fE(384)](){const t=fE,e=this[t(385)]()[t(391)](),n=!!this[t(404)][t(407)];this[t(394)][t(380)]=e[t(434)]>0&&!n}[fE(393)](t){try{return!!new URL(t)}catch{return!1}}}function wE(t,e){const n=xE();return(wE=function(t,e){return n[t-=140]})(t,e)}const vE=wE;!function(t){const e=wE,n=t();for(;;)try{if(178302===parseInt(e(176))/1+parseInt(e(165))/2+-parseInt(e(150))/3+parseInt(e(148))/4+parseInt(e(163))/5+parseInt(e(180))/6*(parseInt(e(166))/7)+-parseInt(e(159))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xE);const IE=vE(151),yE=vE(144),AE=vE(155),EE=vE(143);function xE(){const t=["bindTemplate","422864HsRlPE","801325AXcZSp","span","_setupTemplate","execute","text","div","DOCUMENT","highlightText","getResourceIcon","_createIconView","120100AELIFh","resource","extendTemplate","ck-hidden","6gLAwGv","setTemplate","set","_createTitleView","_iconView","ck-ai-chat-resources__item__icon","ck-ai-chat-resources__item--in-context","isInContext","trim","isVisible","523756CUyokk","label","817755MMmakk","ck-ai-chat-resources__item","content","_titleView","FILE","ck-ai-chat-resources__item-title","TEXT","updateResourceState","_updateIcon","1321984qBAodw","type","URL","render","195945tfyFTl"];return(xE=function(){return t})()}class TE extends a.ListItemView{[vE(177)];[vE(153)];[vE(142)];constructor(t,e){const n=vE;super(t),this[n(177)]=e,this[n(140)](n(145),!!e[n(145)]),this[n(153)]=this[n(141)](),this[n(142)]=this[n(175)](),this[n(168)]()}[vE(162)](){super[vE(162)]()}[vE(174)](t){const e=vE;if(t[e(145)])return Gv;switch(t[e(160)]){case U_[e(172)]:return Gy;case U_[e(161)]:return jy;case U_[e(154)]:case U_[e(156)]:return zy;default:return pE}}[vE(173)](t){const e=vE;if(!t||""===t[e(146)]())return void this[e(153)][e(173)](null);const n=new RegExp(function(t){return t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}(et(t)),"gi");this[e(153)][e(173)](n)}[vE(157)](t){const e=vE;this[e(177)][e(145)]=t,this[e(145)]=t,this[e(158)]()}[vE(141)](){const t=vE,e=new a.HighlightedTextView;return e[t(170)]=this[t(177)][t(149)],e[t(178)]({tag:t(167),attributes:{class:[AE]}}),e}[vE(175)](){const t=vE,e=new a.IconView;return e[t(152)]=this[t(174)](this[t(177)]),e}[vE(168)](){const t=vE,e=this[t(164)];this[t(181)]({tag:t(171),attributes:{class:[IE,e.if(t(147),t(179),t=>!t),e.if(t(145),yE)]},children:[{tag:t(171),attributes:{class:[EE]},children:[this[t(142)]]},this[t(153)]],on:{click:e.to(t(169))}})}[vE(158)](){const t=vE;this[t(142)][t(152)]=this[t(174)](this[t(177)])}}function CE(t,e){const n=NE();return(CE=function(t,e){return n[t-=106]})(t,e)}const SE=CE;!function(t){const e=CE,n=t();for(;;)try{if(970808===-parseInt(e(125))/1*(-parseInt(e(120))/2)+parseInt(e(129))/3*(parseInt(e(115))/4)+parseInt(e(123))/5*(parseInt(e(134))/6)+-parseInt(e(112))/7+-parseInt(e(122))/8*(parseInt(e(106))/9)+parseInt(e(137))/10*(-parseInt(e(111))/11)+parseInt(e(118))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(NE);const RE=SE(138);class OE extends a.ListView{[SE(117)];constructor(t,e){const n=SE;super(t),this[n(117)]=e,this[n(124)]({attributes:{class:[RE]}})}[SE(127)](t,e){const n=SE;this[n(133)][n(116)]();let i=t;if(this[n(117)][n(131)]&&e&&""!==e[n(139)]()){const r=new RegExp(e[n(108)](/[.*+?^${}()|[\]\\]/g,n(140)),"gi");i=t[n(126)](t=>r[n(136)](t[n(109)]))}for(const t of i){const e=new TE(this[n(130)],t);e.on(n(121),()=>{const e=n;this[e(128)](this[e(117)],t)}),this[n(133)][n(110)](e)}this[n(117)][n(131)]&&this[n(119)](e)}[SE(119)](t){const e=SE;this[e(117)][e(131)]&&this[e(133)][e(114)](n=>{n[e(119)](t)})}[SE(132)](t,e){const n=SE;for(const i of this[n(133)]){const r=i;r[n(107)].id===t&&r[n(132)](e)}}[SE(128)](t,e){const n=SE;this[n(113)](n(135),{source:t,resource:e})}}function NE(){const t=["clear","_source","5305236sxTjNC","highlightText","2119486Eqtsjr","execute","1771896ZvTGvG","44490gzLAvP","extendTemplate","1EVSyxu","filter","setResources","_handleResourceSelection","3OwjiWz","locale","useDefaultFiltering","updateResourceState","items","936fHwKLK","addResourceToContext","test","1370OKKTPF","ck-ai-chat-resources__list","trim","\\$&","27YlJcck","resource","replace","label","add","79871pcCVAO","2907709JSHRFJ","fire","forEach","621916lLLhct"];return(NE=function(){return t})()}class ME 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 LE=DE;function PE(){const t=["bindTemplate","addResourceToContext","4258035OgRDKs","_searchView","_createResourcesListView","_source","265068xUqluY","_latestLoadResourcesUid","locale","updateResourceState","76662ULbdPp","69363darlyt","setResources","_createSearchSection","aiChatResources","fire","useDefaultFiltering","661720Pgsbxi","extendTemplate","isLoading","1415ydDpIa","setTemplate","12GPqVZL","_createSearchView","search","children","highlightText","ck ck-search","ck-hidden","loadSourceResources","_resourcesListView","render","loadResources","delegate","set","div","_skeletonLoader","ck-ai-chat-resources","6186TNMBhZ","getQuery","_createSkeletonView","260786iCuLvy"];return(PE=function(){return t})()}function DE(t,e){const n=PE();return(DE=function(t,e){return n[t-=182]})(t,e)}!function(t){const e=DE,n=t();for(;;)try{if(146731===-parseInt(e(202))/1+-parseInt(e(191))/2+parseInt(e(214))/3*(parseInt(e(198))/4)+-parseInt(e(212))/5*(parseInt(e(188))/6)+-parseInt(e(203))/7+-parseInt(e(209))/8+parseInt(e(194))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PE);class HE extends a.View{[LE(195)];[LE(222)];[LE(186)];[LE(197)];[LE(217)];[LE(199)]=null;constructor(t,e){const n=LE;super(t),this[n(197)]=e,this[n(184)](n(211),!0),this[n(195)]=this[n(215)]();const i=this[n(205)]();this[n(222)]=this[n(196)](),this[n(186)]=this[n(190)](),this[n(217)]=new a.ViewCollection([i,this[n(186)],this[n(222)]]),this[n(213)]({tag:n(185),attributes:{class:n(187)},children:this[n(217)]})}[LE(215)](){return new ME(this[LE(200)])}[LE(205)](){const t=LE,e=new a.View(this[t(200)]);return e[t(213)]({tag:t(185),attributes:{class:t(219)},children:[this[t(195)]]}),this[t(195)].on(t(216),(e,n)=>{const i=t;this[i(182)](n),this[i(197)][i(208)]&&this[i(222)][i(218)](n)}),e}[LE(196)](){const t=LE,e=new OE(this[t(200)],this[t(197)]);return e[t(183)](t(193)).to(this),e[t(210)]({attributes:{class:this[t(192)].if(t(211),t(220))}}),e}[LE(190)](){const t=LE,e=new HA(this[t(200)],BA[t(206)]);return e[t(210)]({attributes:{class:[this[t(192)].if(t(211),t(220),t=>!t)]}}),e}[LE(223)](){const t=LE;super[t(223)](),this[t(182)]("")}[LE(182)](t){const e=LE,n=(0,s.uid)();this[e(199)]=n,this[e(207)](e(221),{sourceId:this[e(197)].id,query:t,uid:n}),this[e(211)]=!0}[LE(204)](t,e){const n=LE;if(e&&e!==this[n(199)])return;const i=this[n(197)][n(208)]?this[n(195)][n(189)]():"";this[n(222)][n(204)](t,i),requestAnimationFrame(()=>{this[n(211)]=!1})}[LE(201)](t,e){const n=LE;this[n(222)][n(201)](t,e)}}const BE=UE;function UE(t,e){const n=VE();return(UE=function(t,e){return n[t-=430]})(t,e)}function VE(){const t=["hide","loadSourceResources","onResourceSelected","_config","2436QPYUTV","get","getTargetElement","_sourceResourceBalloons","onBackToContext","4559npPtzf","showSourceResourcesBalloon","pin","source","set","_createBalloonHeader","populateSourceResourceBalloon","52911TvsFLM","402QjWJPU","isAnyResourceBalloonVisible","496MchrkB","show","label","onBalloonClosed","90QAkxzB","279516IdBTbm","_setupSingleResourceBalloonClickOutsideHandler","delete","isVisible","29436zbcCcx","resource","execute","clear","ck-button-icon ck-button-back","onLoadSourceResources","1850TCqjcO","ck-ai-header ck-ai-header_small ck-ai-header_source","_createBalloonResourcesView","getLimiterElement","element","_bodyCollection","content","AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT","_locale","setResources","_createSourceResourceBalloonPanel","4315OshgCp","addResourceToContext","_createBackButton","updateResourceState","destroy","children","add","_getResourcesViewFromBalloon","closeSourceResourceBalloon","values","2385152NyAToB","_addSourceResourceContent","774BQCCar","429DcXGBb","extendTemplate","ck-ai-chat-context-controls__source-balloon-panel"];return(VE=function(){return t})()}!function(t){const e=UE,n=t();for(;;)try{if(254039===-parseInt(e(458))/1*(parseInt(e(472))/2)+parseInt(e(445))/3*(-parseInt(e(453))/4)+parseInt(e(433))/5*(parseInt(e(466))/6)+-parseInt(e(443))/7+parseInt(e(468))/8*(-parseInt(e(465))/9)+parseInt(e(483))/10*(parseInt(e(477))/11)+-parseInt(e(473))/12*(-parseInt(e(446))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(VE);const FE=BE(448),qE=BE(481),zE=BE(484);class GE{[BE(456)]=new Map;[BE(488)];[BE(430)];[BE(452)];constructor(t,e,n){const i=BE;this[i(430)]=t,this[i(488)]=e,this[i(452)]=n}[BE(459)](t){const e=BE;let n=this[e(456)][e(454)](t.id);n||(n=this[e(432)](),this[e(456)][e(462)](t.id,n),this[e(474)](n)),this[e(444)](n,t),n[e(469)]();const i=this[e(452)][e(455)]();i&&n[e(460)]({target:i,limiter:this[e(452)][e(486)]()})}[BE(464)](t,e,n){const i=BE,r=this[i(456)][i(454)](t);if(!r)return;const o=this[i(440)](r);o&&o[i(431)](e,n)}[BE(441)](t){const e=BE,n=this[e(456)][e(454)](t);n&&requestAnimationFrame(()=>{const i=e;n[i(449)](),this[i(456)][i(475)](t),this[i(452)][i(471)]()})}[BE(467)](){const t=BE;for(const e of this[t(456)][t(442)]())if(e[t(476)])return!0;return!1}[BE(436)](t,e,n){const i=BE,r=this[i(456)][i(454)](t);if(!r||!r[i(476)])return;const o=this[i(452)][i(455)]();if(!o)return;r[i(460)]({target:o,limiter:this[i(452)][i(486)]()});const s=this[i(440)](r);s&&s[i(436)](e,n)}[BE(437)](){const t=BE;for(const e of this[t(456)][t(442)]())e[t(437)]();this[t(456)][t(480)]()}[BE(432)](){const t=BE,e=new a.BalloonPanelView(this[t(430)]);return e[t(447)]({attributes:{class:FE}}),this[t(488)][t(439)](e),e}[BE(444)](t,e){const n=BE;t[n(489)][n(480)]();const i=this[n(463)](t,e);t[n(489)][n(439)](i);const r=this[n(485)](e);t[n(489)][n(439)](r)}[BE(463)](t,e){const n=BE,i=this[n(435)](t),r=new a.FormHeaderView(this[n(430)],{label:e[n(470)],class:zE});return r[n(438)][n(439)](i,0),r}[BE(435)](t){const e=BE,n=new a.ButtonView(this[e(430)]);return n[e(462)]({icon:ey,tooltip:zc(this[e(430)],e(490)),tooltipPosition:"n",class:qE}),n.on(e(479),()=>{const n=e;t[n(449)](),this[n(452)][n(457)]()}),n}[BE(485)](t){const e=BE,n=new HE(this[e(430)],t);return n.on(e(450),(t,n)=>{const i=e;this[i(452)][i(482)](n)}),n.on(e(434),(n,i)=>{const r=e;this[r(452)][r(451)](i[r(461)],i[r(478)]),this[r(441)](t.id)}),n}[BE(440)](t){const e=BE,n=t[e(489)][e(454)](1);return n instanceof HE?n:null}[BE(474)](t){const e=BE;(0,a.clickOutsideHandler)({emitter:t,contextElements:[t[e(487)]],callback:()=>{const n=e;t[n(449)](),this[n(452)][n(471)]()},activator:()=>t[e(476)]})}}const jE=YE;function WE(){const t=["bodyCollection","ck-ai-chat-context-controls","_urlInputView","conversation","southArrowNorthWest","addFileToContext","source","ck-ai-chat-context-controls__balloon-button","northArrowSouthEast","refreshBalloon","addContextButtonView","overflowChips","_setupTemplate","ck-ai-chat-controls-button","locale","fire","southArrowNorthEast","balloonView","focus","content","element","_addContextBalloonPanelView","setContextItemLoading","submitUrl","addUrlToContext","__arrow","_handleAddContextButtonClick","isEnabled","_resourcesBalloonView","label","defaultPositions","children","done","setTemplate","setAddContextOptions","southArrowNorth","set","_createUrlBalloonPanelView","showSourceResourcesBalloon","_createBaseBalloonPanel","AI_CHAT_CONTEXT_URL_LABEL","document","type","_createContextButton","_toggleAddContextBalloon","16XtePJW","removeContextItemChip","_createAddContextBalloonPanelView","_createBalloonButton","_addUrlContent","isAnyResourceBalloonVisible","_currentContextsChips","execute","closest","isLoading","_setBalloonPanelContent","hideUrlBalloonPanel","showAddContextBalloonPanel","find","addResourceToContext","buttonView","ck-ai-chat-controls_context_show-more-button","clear","ck-ai-chat","updateResourceState","clearConversationContextItems","_bindEventHandlers","_handleUrlSubmit","sources","_createResourcesBalloonView","6656184ttEvCx","ck-reset_all-excluded","cancel","14hnSVYf","setConversationContext","69730bLqEaA","loadSourceResources","enabled","ck-ai-chat-context-controls__pending-contexts","711PeBHcF","isVisible","ck-ai-chat-context-controls__show-more-balloon-panel","hide","_getLimiterElement","ck-ai-chat-context-controls__balloon-button-source","isOn","_setupAddContextBalloonClickOutsideHandler","ck-ai-chat-context-chips-wrapper-balloon","removeContextItem","setContainerElement","populateSourceResourceBalloon","96862EjZFUP","ck-ai-chat-context-controls__url-balloon-panel","tooltip","northArrowSouth","remove","_createArrowView","6046821GaktGZ","current","_showSourceResourcesBalloon","showUrlBalloonPanel","hideAddContextBalloonPanel","isHidden","AI_CHAT_CONTEXT_CURRENT_DOCUMENT","body","urls","8QMrNAj","_conversationContextsChips","6747140lriVuq","_addContextBalloonConfig","menuitem","_overflowManager","extendTemplate","reorganizeChips","pin","northArrowSouthWest","arrowView","destroy","_createAddContextButtonView","ck-ai-chat-context-controls__add-context-balloon-panel","createCollection","addDocumentToContext","clearCurrentContextItems","closeSourceResourceBalloon","AI_CHAT_CONTEXT_FILE_LABEL","_setAddContextButtonEnabled","10878896aEUOSy","_urlBalloonPanelView","addContextItem","ck-ai-chat-context-controls__add-context-button","files","_removeContextFromCollection","_setupAllBalloonClickOutsideHandlers","render","_setupUrlBalloonClickOutsideHandler","div","_addContextToCollection","icon","1131459VZEhHW","show","isReadOnly","AI_CHAT_CONTEXT_ADD_CONTEXT","add","bind"];return(WE=function(){return t})()}function YE(t,e){const n=WE();return(YE=function(t,e){return n[t-=438]})(t,e)}!function(t){const e=YE,n=t();for(;;)try{if(964770===-parseInt(e(510))/1*(-parseInt(e(528))/2)+-parseInt(e(575))/3*(parseInt(e(482))/4)+parseInt(e(545))/5+-parseInt(e(507))/6+-parseInt(e(563))/7*(-parseInt(e(543))/8)+-parseInt(e(516))/9*(-parseInt(e(512))/10)+-parseInt(e(534))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(WE);const KE=[jE(558),jE(442),jE(461),jE(496),jE(525),jE(513)],$E=jE(438),QE=jE(515),XE=jE(556),JE=jE(566),ZE=jE(529),tx=jE(444),ex=jE(521),nx=jE(450),ix=jE(524),rx=jE(498),ox=jE(518),sx=jE(500),ax=[a.BalloonPanelView[jE(467)][jE(552)],a.BalloonPanelView[jE(467)][jE(531)],a.BalloonPanelView[jE(467)][jE(445)],a.BalloonPanelView[jE(467)][jE(441)],a.BalloonPanelView[jE(467)][jE(472)],a.BalloonPanelView[jE(467)][jE(453)]];class cx extends a.View{[jE(447)];[jE(488)]=this[jE(557)]();[jE(544)]=this[jE(557)]();[jE(548)];[jE(458)];[jE(564)];[jE(439)];[jE(465)];[jE(546)];[jE(581)];constructor(t,e){const n=jE;super(t),this[n(581)]=e,this[n(488)]=this[n(557)](),this[n(544)]=this[n(557)](),this[n(447)]=this[n(555)](t),this[n(458)]=this[n(484)](t),this[n(564)]=this[n(474)](t),this[n(465)]=this[n(506)](t,e);const i={cssClasses:{showMoreButton:rx,showMoreBalloon:ox,overflowContainer:ix,controlsButton:nx}};this[n(548)]=new lA(t,this[n(488)],i,this[n(581)],this),this[n(546)]={buttonView:this[n(447)],balloonView:this[n(458)],hideMethod:this[n(538)][n(580)](this),showMethod:this[n(494)][n(580)](this)},this[n(449)](),this[n(503)]()}[jE(570)](){const t=jE;super[t(570)](),this[t(569)](),this[t(548)][t(526)](this[t(457)]),this[t(548)][t(550)]()}[jE(554)](){const t=jE;super[t(554)](),this[t(548)][t(554)](),this[t(465)][t(554)]()}[jE(565)](t,e){const n=jE,i=this[n(480)](t,n(535),!0,e);this[n(573)](i,this[n(488)]),this[n(548)][n(550)]()}[jE(525)](t){const e=jE;this[e(568)](t,this[e(488)]),this[e(568)](t,this[e(548)][e(448)]),this[e(548)][e(550)]()}[jE(459)](t,e){const n=jE;let i=this[n(488)][n(495)](e=>e.id===t);i||(i=this[n(548)][n(448)][n(495)](e=>e.id===t)),i&&(i[n(491)]=e)}[jE(511)](t){const e=jE;this[e(544)][e(499)]();for(const n of t){const t=this[e(480)](n,e(440),!1,!1);this[e(573)](t,this[e(544)])}}[jE(559)](){const t=jE;this[t(488)][t(499)](),this[t(548)][t(499)]()}[jE(502)](){const t=jE;this[t(544)][t(499)]()}[jE(501)](t,e,n){const i=jE;this[i(465)][i(501)](t,e,n)}[jE(538)](){this[jE(481)](!1)}[jE(494)](){this[jE(481)](!0)}[jE(493)](){const t=jE;this[t(564)][t(519)](),this[t(447)][t(522)]=!1,this[t(439)]&&this[t(439)][t(499)]()}[jE(537)](){const t=jE;this[t(564)][t(576)](),this[t(447)][t(522)]=!0}[jE(536)](t){const e=jE;this[e(465)][e(475)](t),this[e(447)][e(522)]=!0}[jE(527)](t,e,n,i){const r=jE;this[r(465)][r(527)](t,n,i)}[jE(560)](t){const e=jE;this[e(465)][e(560)](t),this[e(447)][e(522)]=!1}[jE(471)](t){const e=jE;this[e(492)](this[e(458)],this[e(451)],t),this[e(562)](t)}[jE(562)](t){const e=jE,n=!t[e(478)][e(539)]&&t[e(478)][e(514)],i=t[e(542)][e(514)],r=t[e(567)][e(514)];this[e(447)][e(464)]=n||i||r}[jE(449)](){const t=jE;this[t(470)]({tag:t(572),attributes:{class:[$E,t(508)]},children:[{tag:t(572),attributes:{class:QE},children:this[t(488)]}]})}[jE(503)](){const t=jE;this[t(447)].on(t(489),()=>{this[t(463)]()})}[jE(555)](t){const e=jE,n=new a.ButtonView(t);return n[e(473)]({label:zc(t,e(578)),class:nx+" "+JE,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(484)](t){return this[jE(476)](t,XE)}[jE(474)](t){const e=jE,n=this[e(476)](t,ZE);return this[e(486)](n,t),n}[jE(506)](t,e){const n=jE;return new GE(t,e,{onBackToContext:()=>{const t=YE;this[t(494)](),this[t(458)][t(551)]({target:this[t(447)][t(457)],limiter:this[t(520)](),positions:ax})},onResourceSelected:(t,e)=>{const n=YE;this[n(452)](n(496),{source:t,resource:e})},onLoadSourceResources:t=>{const e=YE;this[e(452)](e(513),t)},onBalloonClosed:()=>{const t=YE;this[t(447)][t(522)]=!1},getLimiterElement:()=>this[n(520)](),getTargetElement:()=>this[n(447)][n(457)]})}[jE(520)](){const t=jE;return this[t(457)]?.[t(490)]("."+sx)||document[t(541)]}[jE(476)](t,e){const n=jE,i=new a.BalloonPanelView(t);return i[n(549)]({attributes:{class:e}}),this[n(581)][n(579)](i),i}[jE(492)](t,e,n){const i=jE;if(t[i(456)][i(499)](),!n[i(478)][i(539)]&&n[i(478)][i(514)]){const n=this[i(485)](e,{label:zc(e,i(540)),icon:Gy});n.on(i(489),()=>{const t=i;this[t(452)](t(558)),this[t(538)]()}),t[i(456)][i(579)](n)}if(n[i(542)][i(514)]){const n=this[i(485)](e,{label:zc(e,i(477)),icon:jy});n.on(i(489),()=>{const t=i;this[t(538)](),this[t(537)](),this[t(564)][t(551)]({target:this[t(447)][t(457)],limiter:this[t(520)](),positions:ax}),this[t(439)][t(455)]()}),t[i(456)][i(579)](n)}if(n[i(567)][i(514)]){const n=new a.FileDialogButtonView(e);n[i(473)]({label:zc(e,i(561)),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(i(469),(t,e)=>{const n=i;this[n(452)](n(442),e),this[n(538)]()}),n[i(530)]=!0,t[i(456)][i(579)](n)}for(const r of n[i(505)]){const n=this[i(485)](e,{label:r[i(466)],icon:r[i(574)]||pE,type:i(443)});t[i(456)][i(579)](n),n.on(i(489),()=>{const t=i;this[t(538)](),this[t(536)](r)})}}[jE(486)](t,e){const n=jE;this[n(439)]=new bE(e),this[n(439)].on(n(460),(t,e)=>{this[n(504)](e)}),this[n(439)].on(n(509),()=>{const t=n;this[t(493)](),this[t(494)](),this[t(458)][t(551)]({target:this[t(447)][t(457)],limiter:this[t(520)](),positions:ax})}),this[n(439)].on(n(446),()=>{const t=n;this[t(564)][t(517)]&&this[t(564)][t(551)]({target:this[t(447)][t(457)],limiter:this[t(520)](),positions:ax})}),t[n(456)][n(579)](this[n(439)])}[jE(485)](t,e){const n=jE,i=n(443)===e[n(479)]?new lx(t):new a.ButtonView(t);return i[n(473)]({label:e[n(466)],icon:e[n(574)],withText:!0,tooltip:!0,tooltipPosition:"sw",class:tx}),i}[jE(569)](){const t=jE;this[t(523)](),this[t(571)]()}[jE(571)](){const t=jE;(0,a.clickOutsideHandler)({emitter:this[t(564)],contextElements:[this[t(564)][t(457)]],callback:()=>{this[t(493)]()},activator:()=>this[t(564)][t(517)]})}[jE(481)](t){const e=jE,n=this[e(546)];n[e(497)][e(522)]=t,t?n[e(454)][e(576)]():n[e(454)][e(519)]()}[jE(523)](){const t=jE,{balloonView:e,buttonView:n,hideMethod:i}=this[t(546)];(0,a.clickOutsideHandler)({emitter:e,contextElements:[e[t(457)],n[t(457)]],callback:()=>{i()},activator:()=>n[t(522)]&&!this[t(564)][t(517)]&&!this[t(465)][t(487)]()})}[jE(480)](t,e,n=!1,i=!1){const r=jE,o=r(440)===e||!0===t[r(577)],s=new nA(this[r(451)],t,o,n,i);return o||s.on(r(483),()=>{const t=r;this[t(452)](t(525),s.id)}),s}[jE(573)](t,e){e[jE(579)](t,0)}[jE(568)](t,e){const n=jE,i=e[n(495)](e=>e.id===t);i&&e[n(532)](i)}[jE(463)](){const t=jE;this[t(447)][t(522)]?this[t(538)]():(this[t(494)](),this[t(458)][t(551)]({target:this[t(447)][t(457)],limiter:this[t(520)](),positions:ax}))}[jE(504)](t){const e=jE;this[e(439)][e(499)](),this[e(493)](),this[e(452)](e(461),t)}}class lx extends a.ButtonView{[jE(553)];constructor(t){const e=jE;super(t),this[e(473)]({withText:!0,role:e(547)}),this[e(553)]=this[e(533)](),this[e(549)]({attributes:{class:[ex]}})}[jE(570)](){const t=jE;super[t(570)](),this[t(468)][t(579)](this[t(553)])}[jE(533)](){const t=jE,e=new a.IconView;return e[t(456)]='<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(549)]({attributes:{class:ex+t(462)}}),e}}const ux=dx;function hx(){const t=["_cancelButtonView","fire","AI_CHAT_IS_WRITING","setTemplate","1346456gEXESb","_loaderView","91STQJUT","1130ElzCIg","ck-ai-chat-controls-loader-wrapper","32220kyYRHX","ck-ai-chat-controls-loader-icon-dot","set","AI_CHAT_STOP_GENERATING","77ZBdRTg","650344WIRvzT","50zCYEsn","execute","712482vNtRaH","abortPromptStream","1757292wMkBfa","ck-reset_all","ck-ai-chat-controls-loader-icon","_createLoaderView","locale","856353VKhLwv","1771056pCHvgF","ck-ai-chat-controls-loader","2UEyWJY","div","ai-chat-controls-loader__cancel-button","_createCancelButtonView"];return(hx=function(){return t})()}function dx(t,e){const n=hx();return(dx=function(t,e){return n[t-=236]})(t,e)}!function(t){const e=dx,n=t();for(;;)try{if(620205===-parseInt(e(236))/1*(-parseInt(e(239))/2)+parseInt(e(237))/3+-parseInt(e(247))/4+parseInt(e(258))/5*(parseInt(e(260))/6)+-parseInt(e(249))/7*(parseInt(e(257))/8)+-parseInt(e(252))/9*(-parseInt(e(250))/10)+parseInt(e(256))/11*(-parseInt(e(262))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(hx);class px extends a.View{[ux(243)];[ux(248)];constructor(t){const e=ux;super(t),this[e(243)]=this[e(242)](),this[e(248)]=this[e(265)](),this[e(246)]({tag:e(240),attributes:{class:["ck",e(251),e(263)]},children:[this[e(248)],this[e(243)]]})}[ux(242)](){const t=ux,e=new a.ButtonView(this[t(266)]);return e[t(254)]({label:zc(this[t(266)],t(255)),withText:!0,class:t(241),icon:o.IconStop}),e.on(t(259),()=>{const e=t;this[e(244)](e(261))}),e}[ux(265)](){const t=ux,e=new a.View(this[t(266)]);return e[t(246)]({tag:t(240),attributes:{class:[t(238)]},children:[{tag:t(240),attributes:{class:[t(264)]},children:[{tag:t(240),attributes:{class:[t(253)]}},{tag:t(240),attributes:{class:[t(253)]}},{tag:t(240),attributes:{class:[t(253)]}}]},{text:zc(this[t(266)],t(245))}]}),e}}function fx(t,e){const n=gx();return(fx=function(t,e){return n[t-=436]})(t,e)}const mx=fx;function gx(){const t=["sendUserMessage","28507790bWUFbU","32LAsTGL","addContextButtonView","_createLoaderView","_createPromptCapabilitiesView","focusPromptInput","321211ZywmXr","disableModelSelector","closeSourceResourceBalloon","setWebSearch","form","focus","setContextItemLoading","element","_promptCapabilitiesView","clearPendingContextUI","clearConversationContextItems","enableModelSelector","210Rnmolr","bindTemplate","toggleReasoning","setReasoning","addContextItem","div","setInputPlaceholder","removeContextItem","_handlePromptInputFocus","_createPromptInputView","ck-hidden","isLoading","selectModel","populateSourceResourceBalloon","low","setTemplate","5143869ANRxHV","52IlJXZn","1234280oNTYVA","692258XaSmSL","clearConversationContextUI","_promptInputView","toggleWebSearch","resetMessageInput","_contextPanelView","clearCurrentContextItems","setModelList","_shouldRestorePromptInputFocus","updateResourceState","setPlaceholderText","setIsUploadInProgress","setConversationContext","delegate","105333sAIukS","setModel","_createContextPanelView","94135hlNdKf","change:isLoading","abortPromptStream","_loaderView","ck-ai-chat-controls","reset","setAddContextOptions"];return(gx=function(){return t})()}!function(t){const e=fx,n=t();for(;;)try{if(473202===-parseInt(e(462))/1+-parseInt(e(491))/2*(parseInt(e(445))/3)+-parseInt(e(492))/4+parseInt(e(448))/5*(-parseInt(e(474))/6)+-parseInt(e(493))/7*(-parseInt(e(457))/8)+-parseInt(e(490))/9+parseInt(e(456))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gx);class kx extends a.View{[mx(436)];[mx(495)];[mx(470)];[mx(451)];[mx(439)];constructor(t,e){const n=mx;super(t),this[n(436)]=this[n(447)](t,e),this[n(495)]=this[n(483)](t),this[n(470)]=this[n(460)](t),this[n(451)]=this[n(459)](t),this[n(439)]=!1,this[n(495)][n(444)](n(455)).to(this),this[n(451)][n(444)](n(450)).to(this),this[n(470)][n(444)](n(496)).to(this),this[n(470)][n(444)](n(476)).to(this),this[n(470)][n(444)](n(486)).to(this),this[n(436)][n(444)](...KE).to(this);const i=this[n(475)];this[n(489)]({tag:n(466),attributes:{class:["ck",n(452)]},children:[{tag:n(479),attributes:{class:[i.if(n(485),n(484))]},children:[this[n(436)],this[n(495)],this[n(470)]]},{tag:n(479),attributes:{class:[i.if(n(485),n(484),t=>!t)]},children:[this[n(451)]]}]}),(0,a.clickOutsideHandler)({emitter:this[n(495)],activator:()=>this[n(485)],contextElements:()=>[this[n(469)]],callback:()=>{this[n(439)]=!1}}),this.on(n(449),this[n(482)],{priority:n(488)})}[mx(447)](t,e){return new cx(t,e)}[mx(483)](t){const e=mx;return new JA(t,this[e(436)][e(458)])}[mx(460)](t){return new lE(t)}[mx(459)](t){return new px(t)}[mx(482)](t,e,n){const i=mx;n?this[i(439)]=!0:this[i(439)]&&this[i(495)][i(467)]()}[mx(478)](t,e){const n=mx;this[n(436)][n(478)](t,e)}[mx(481)](t){const e=mx;this[e(436)][e(481)](t)}[mx(468)](t,e){const n=mx;this[n(436)][n(468)](t,e)}[mx(442)](t){const e=mx;this[e(495)][e(442)](t)}[mx(443)](t){const e=mx;this[e(436)][e(443)](t)}[mx(471)](){const t=mx;this[t(436)][t(437)]()}[mx(494)](){const t=mx;this[t(436)][t(472)]()}[mx(440)](t,e,n){const i=mx;this[i(436)][i(440)](t,e,n)}[mx(465)](t){const e=mx;this[e(470)][e(465)](t)}[mx(477)](t){const e=mx;this[e(470)][e(477)](t)}[mx(497)](){const t=mx;this[t(495)][t(453)]()}[mx(454)](t){const e=mx;this[e(436)][e(454)](t)}[mx(480)](t){const e=mx;this[e(495)][e(441)](t)}[mx(438)](t,e){const n=mx;this[n(470)][n(438)](t,e)}[mx(446)](t){const e=mx;this[e(470)][e(446)](t)}[mx(473)](){const t=mx;this[t(470)][t(473)]()}[mx(463)](t){const e=mx;this[e(470)][e(463)](t)}[mx(487)](t,e,n,i){const r=mx;this[r(436)][r(487)](t,e,n,i)}[mx(464)](t){const e=mx;this[e(436)][e(464)](t)}[mx(461)](){const t=mx;this[t(495)][t(467)]()}}const _x=wx;function bx(){const t=["30jUfrcb","AI_CHAT_HEADING","ck-ai-header ck-ai-header_chat","1773EsRBRJ","fire","1238784ObzNdk","startConversation","add","conversationStartButton","188596OUEDEB","24177caapnM","locale","_createStartConversationButton","120KIEiEg","isMaximized","ck-ai-chat__start-conversation","16AyLtXG","48IiOoSG","set","children","resizeButton","1658489XoPezg","execute","AI_CHAT_LABEL_NEW_CHAT","21950KOpmZK","430793Vjudpj","667645ssenhN"];return(bx=function(){return t})()}function wx(t,e){const n=bx();return(wx=function(t,e){return n[t-=435]})(t,e)}!function(t){const e=wx,n=t();for(;;)try{if(334312===-parseInt(e(446))/1+parseInt(e(437))/2*(parseInt(e(457))/3)+-parseInt(e(456))/4*(parseInt(e(447))/5)+-parseInt(e(452))/6+-parseInt(e(441))/7*(-parseInt(e(436))/8)+parseInt(e(450))/9*(parseInt(e(444))/10)+parseInt(e(445))/11*(parseInt(e(460))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bx);class vx extends a.FormHeaderView{[_x(455)];[_x(440)];constructor(t,e){const n=_x;super(t,{label:zc(t,n(448)),class:n(449),icon:o.IconAIChat}),this[n(438)](n(461),!1),this[n(455)]=this[n(459)](t),this[n(439)][n(454)](this[n(455)]),e&&(this[n(440)]=Jc(t,this),this[n(439)][n(454)](this[n(440)]))}[_x(459)](t){const e=_x,n=new a.ButtonView(t);return n[e(438)]({label:zc(this[e(458)],e(443)),withText:!0,icon:o.IconPlus,class:e(435)}),n.on(e(442),()=>{const t=e;this[t(451)](t(453))}),n}}function Ix(){var t=["ck-ai-disclaimer","446456bqndsY","90657vgtnqH","3669306eVmDFA","1590wdLyEA","setTemplate","24160YFbMwD","217UXYcCG","AI_DISCLAIMER_TEXT","ck-ai-disclaimer__content","978211MexDAk","15qHXmEi","58634301Ntowsi","div","243UOUYTx","1869572jvRyMy"];return(Ix=function(){return t})()}function yx(t,e){var n=Ix();return(yx=function(t,e){return n[t-=157]})(t,e)}!function(t){for(var e=yx,n=t();;)try{if(965091===-parseInt(e(158))/1+-parseInt(e(163))/2+parseInt(e(162))/3*(-parseInt(e(170))/4)+parseInt(e(159))/5*(-parseInt(e(167))/6)+-parseInt(e(171))/7*(parseInt(e(165))/8)+-parseInt(e(166))/9*(-parseInt(e(168))/10)+parseInt(e(160))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ix);class Ax extends a.View{constructor(t){var e=yx;super(t),this[e(169)]({tag:e(161),attributes:{class:["ck",e(164)]},children:[{tag:"p",attributes:{class:["ck",e(157)]},children:[{text:zc(t,e(172))}]}]})}}function Ex(){var t=["_bodyCollection","1565139hFIcBU","detachFromDom","3304KzvXdF","div","setTemplate","closeSourceResourceBalloon","ck-rounded-corners","chatHeader","destroy","2DTofOH","ck-reset_all","chatFeed","120686NNPIsc","delegate","3364695GcEOIi","ck-ai-chat","194260BnqnGx","385KgrpSK","1147165GxiKWL","4353400FqNlGm","chatDisclaimer","chatControls","populateSourceResourceBalloon","8PLTMyx","attachToDom","uiLanguageDirection","3732FNKuLh"];return(Ex=function(){return t})()}var xx=Tx;function Tx(t,e){var n=Ex();return(Tx=function(t,e){return n[t-=124]})(t,e)}!function(t){for(var e=Tx,n=t();;)try{if(328189===-parseInt(e(147))/1+-parseInt(e(144))/2*(-parseInt(e(135))/3)+parseInt(e(130))/4*(parseInt(e(125))/5)+parseInt(e(133))/6*(-parseInt(e(137))/7)+-parseInt(e(126))/8+-parseInt(e(149))/9+-parseInt(e(151))/10*(-parseInt(e(124))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ex);class Cx extends a.View{[xx(142)];[xx(146)];[xx(128)];[xx(127)];[xx(134)];constructor(t,e){var n=xx;super(t),this[n(134)]=new a.BodyCollection(t),this[n(134)][n(131)](),this[n(142)]=new vx(t,e),this[n(142)][n(148)](...Ty).to(this),this[n(146)]=new GA(t,this[n(134)]),this[n(146)][n(148)](...Ty).to(this),this[n(128)]=new kx(t,this[n(134)]),this[n(128)][n(148)](...Ty).to(this),this[n(127)]=new Ax(t),this[n(139)]({tag:n(138),attributes:{class:["ck",n(145),n(150),n(141)],dir:t[n(132)]},children:[this[n(142)],this[n(146)],this[n(128)],this[n(127)]]})}[xx(129)](t,e,n,i){var r=xx;this[r(128)][r(129)](t,e,n,i)}[xx(140)](t){var e=xx;this[e(128)][e(140)](t)}[xx(143)](){var t=xx;this[t(134)][t(136)](),super[t(143)]()}}var Sx=n(962),Rx={attributes:{"data-cke":!0}};Rx.setAttributes=Et(),Rx.insert=yt().bind(null,"head"),Rx.domAPI=vt(),Rx.insertStyleElement=Tt();bt()(Sx.A,Rx);Sx.A&&Sx.A.locals&&Sx.A.locals;const Ox=Nx;function Nx(t,e){const n=Mx();return(Nx=function(t,e){return n[t-=220]})(t,e)}function Mx(){const t=["delegate","AI_CHAT_FEED_LOADING_MESSAGE_REASONING","toggleSuggestionDisplayMode","setReasoning","destroy","renderingStrategy","_getLoadingMessage","clear","setSelectedModel","isBusy","getItemIds","requires","feedItemRenderingStrategy","updateFeedItemAIReplyContent","isReasoningEnabled","updateSuggestionPartState","markItemAsDone","2ChWhLg","8519700UvdMEm","_interactionPromiseResolver","interaction-header","abort","pluginName","isPremiumPlugin","updateWebSources","isVisible","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH","42759040PikOvV","chat","AIChatUI","updateResourceState","closeSourceResourceBalloon","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH","plugins","setConversationTitle","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR","options","set","streaming","stopInteraction","children","_titleAnimationInterval","ai-reply","setIsMaximized","context","14qPrtcW","finishInteraction","4489880lksqrB","<p>","values","addFeedItemAIReply","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING","_animateConversationTitle","chatHeader","setInputPlaceholder","updateSuggestionItem","setFeedItemRenderingStrategy","error-message","label","updateFeedInteractionHeader","clearPendingContextUI","removeItem","interactionId","AI_CHAT_WELCOME_MESSAGE","_view","updateFeedItemAIReplySources","removeContextItem","addFeedInteractionHeader","setAddContextOptions","updateReplyItem","AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING","isMaximized","5cbpgAZ","scrollToSuggestion","addItem","</p>","disableModelSelector","availableModels","startsWith","config","scrollFeedToSuggestion","enqueue","toggleLoadingSkeleton","setLoadingMessage","addContextItem","createConversation","ai-suggestion-reply","locale","stopAutoScroll","areActionsDisabled","ai.chat.models.modelSelectorAlwaysVisible","AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING","capabilities","conversation-start","1129285fauleh","resetMessageInput","length","bind","clearConversationContextUI","addFeedItemError","find","chatControls","quickActionData","isLoading","updateFeedItemAIReplySuggestionPartState","focusPromptInput","enableModelSelector","updateFeedItemAIReplySuggestionContent","forEach","then","startAutoScroll","filter","isWebSearchEnabled","displayedPrompt","populateSourceResourceBalloon","from","updateCapabilities","isDone","_getInputPlaceholder","3442653DuaHSl","setIsUploadInProgress","get","setConversationContext","contextItems","1292073OOHlVf","7391484aDNBan","addFeedItemAISuggestion","AITabs","addFeedItemUserMessage","setModelList","view","setWebSearch","isPending","setContextItemLoading","chatFeed","startInteraction","AI_CHAT_HEADING","userMessage","setModel","addFeedItemStaticMessage","removeFeedInteraction","_promiseQueue","user-message","AI_CHAT_FEED_LOADING_MESSAGE_REGULAR","isOfficialPlugin","showDiff","markFeedItemAsDone","resetConversationTitle","showResizeButton","addTab","queueEmptyPromise"];return(Mx=function(){return t})()}!function(t){const e=Nx,n=t();for(;;)try{if(953094===parseInt(e(276))/1*(-parseInt(e(350))/2)+-parseInt(e(306))/3+-parseInt(e(307))/4+parseInt(e(254))/5*(-parseInt(e(351))/6)+parseInt(e(227))/7*(parseInt(e(229))/8)+parseInt(e(301))/9+parseInt(e(360))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Mx);class Lx extends r.ContextPlugin{static get[Ox(344)](){return[Uc]}[Ox(246)];static get[Ox(355)](){return Ox(362)}static get[Ox(326)](){return!0}static get[Ox(356)](){return!0}[Ox(345)]=Ox(220);[Ox(327)]=!0;[Ox(323)];[Ox(352)];[Ox(223)]=void 0;constructor(t){const e=Ox;super(t);const n=this[e(226)][e(366)][e(303)](e(309));this[e(370)](e(342),!1),this[e(323)]=new MI,this[e(246)]=new Cx(this[e(226)][e(269)],n[e(330)]),this[e(246)][e(333)](...Ty).to(this),this[e(246)].on(e(335),(t,{showDiff:n})=>{this[e(327)]=n}),n[e(312)][e(331)]({id:e(361),buttonLabel:zc(this[e(226)][e(269)],e(318)),buttonIcon:o.IconAIChat,order:0,content:this[e(246)]}),this[e(246)][e(283)][e(279)](e(285)).to(this,e(342),t=>t),this[e(246)][e(316)][e(279)](e(314)).to(this,e(342),t=>t),this[e(246)][e(283)][e(236)](this[e(300)]())}[Ox(337)](){const t=Ox;super[t(337)](),this[t(223)]&&clearInterval(this[t(223)])}[Ox(267)](t){const e=Ox;this[e(246)][e(316)][e(340)](),this[e(246)][e(283)][e(288)](),this[e(246)][e(283)][e(311)](t[e(259)],!this[e(226)][e(261)][e(303)](e(272))),this[e(321)]({id:e(275),staticMessage:zc(this[e(226)][e(269)],e(245))})}[Ox(321)]({id:t,staticMessage:e}){const n=Ox;this[n(246)][n(316)][n(256)](n(224),{id:t,initialContent:n(230)+e+n(257)})}[Ox(310)](t){const e=Ox,n=t[e(284)]?.[e(295)]||t[e(319)];this[e(246)][e(316)][e(256)](e(324),{contextItems:Array[e(297)](t[e(305)][e(231)]()),initialContent:e(230)+n+e(257),id:t.id})}[Ox(281)]({errorMessage:t,id:e}){const n=Ox;this[n(246)][n(316)][n(256)](n(239),{initialContent:n(230)+t+n(257),id:e})}[Ox(232)](t){const e=Ox;return this[e(323)][e(263)](async()=>{const n=e;this[n(246)][n(316)][n(256)](n(224),{id:t[n(244)]+":"+t.id}),this[n(246)][n(316)][n(265)]("")})}async[Ox(308)](t){const e=Ox;return this[e(323)][e(263)](async()=>{const n=e;this[n(246)][n(316)][n(256)](n(268),{id:t[n(244)]+":"+t.id,areActionsDisabled:t[n(271)],showDiff:this[n(327)]}),this[n(246)][n(316)][n(265)]("")})}[Ox(249)](t){const e=Ox;this[e(246)][e(316)][e(256)](e(353),{id:t.id,capabilities:t[e(274)]})}[Ox(241)](t){const e=Ox,n=this[e(246)][e(316)][e(222)][e(282)](n=>n[e(369)].id==t.id&&n instanceof TA);n&&n[e(370)](e(358),t[e(358)])}async[Ox(346)](t){const e=Ox,n=t[e(338)]||this[e(345)];return this[e(323)][e(263)](async i=>{const r=e;await this[r(246)][r(316)][r(251)]({...t,abortSignal:i,renderingStrategy:n}),t[r(299)]&&this[r(328)](t.id)})}[Ox(247)](t,e){const n=Ox;this[n(246)][n(316)][n(357)](t,e)}async[Ox(289)](t){const e=Ox,n=t[e(338)]||this[e(345)];return this[e(323)][e(263)](async i=>{const r=e;await this[r(246)][r(316)][r(237)]({...t,abortSignal:i,renderingStrategy:n}),t[r(299)]&&this[r(328)](t.id)})}[Ox(286)](t){const e=Ox;this[e(246)][e(316)][e(348)](t)}[Ox(328)](t){const e=Ox;this[e(246)][e(316)][e(349)](t)}[Ox(322)](t){const e=Ox;this[e(246)][e(316)][e(343)]()[e(293)](n=>n[e(260)](t))[e(290)](t=>this[e(246)][e(316)][e(243)](t))}[Ox(317)](t){const e=Ox;this[e(246)][e(316)][e(265)](this[e(339)](t)),this[e(246)][e(283)][e(258)](!this[e(226)][e(261)][e(303)](e(272))),this[e(342)]=!0,this[e(246)][e(316)][e(292)]()}[Ox(221)](t){const e=Ox;this[e(323)][e(354)](),this[e(246)][e(316)][e(343)]()[e(293)](n=>n[e(260)](t.id))[e(290)](t=>this[e(328)](t)),this[e(342)]=!1,this[e(246)][e(316)][e(270)]()}async[Ox(228)](){const t=Ox;return this[t(323)][t(332)][t(291)](()=>{const e=t;this[e(342)]=!1,this[e(246)][e(316)][e(270)]()})}[Ox(266)](t,e){const n=Ox;this[n(246)][n(283)][n(266)](t,e)}[Ox(248)](t){const e=Ox;this[e(246)][e(283)][e(248)](t)}[Ox(315)](t,e){const n=Ox;this[n(246)][n(283)][n(315)](t,e)}[Ox(302)](t){const e=Ox;this[e(246)][e(283)][e(302)](t)}[Ox(304)](t){const e=Ox;this[e(246)][e(283)][e(304)](t)}[Ox(242)](){const t=Ox;this[t(246)][t(283)][t(242)]()}[Ox(280)](){const t=Ox;this[t(246)][t(283)][t(280)]()}[Ox(363)](t,e,n){const i=Ox;this[i(246)][i(283)][i(363)](t,e,n)}[Ox(277)](){const t=Ox;this[t(246)][t(283)][t(277)](),this[t(246)][t(283)][t(236)](this[t(300)]())}[Ox(250)](t){const e=Ox;this[e(246)][e(283)][e(250)](t)}[Ox(298)](t){const e=Ox;this[e(246)][e(283)][e(313)](t[e(294)]),this[e(246)][e(283)][e(336)](t[e(347)]),this[e(246)][e(283)][e(236)](this[e(300)](t))}[Ox(341)](t,e){const n=Ox;this[n(246)][n(283)][n(320)](t),e&&this[n(246)][n(283)][n(258)](!1)}[Ox(238)](t){this[Ox(345)]=t}[Ox(264)](t){const e=Ox;this[e(246)][e(316)][e(264)](t)}[Ox(329)](){const t=Ox;this[t(367)](zc(this[t(226)][t(269)],t(318)))}[Ox(367)](t,e=!1){const n=Ox;if(e&&!(0,s._isMotionReduced)()&&t[n(278)])return this[n(246)][n(235)][n(240)]="",void this[n(234)](t);this[n(246)][n(235)][n(240)]=t}[Ox(234)](t){const e=Ox;let n=0;clearInterval(this[e(223)]),this[e(223)]=setInterval(()=>{const i=e;this[i(246)][i(235)][i(240)]=this[i(246)][i(235)][i(240)]+t[n],n++,n===t[i(278)]&&clearInterval(this[i(223)])},30)}[Ox(225)](t){const e=Ox;this[e(246)][e(235)][e(253)]=t}[Ox(339)](t){const e=Ox,n=t[e(274)];return n[e(294)]&&n[e(347)]?zc(this[e(226)][e(269)],e(252)):n[e(294)]?zc(this[e(226)][e(269)],e(365)):n[e(347)]?zc(this[e(226)][e(269)],e(334)):zc(this[e(226)][e(269)],e(325))}[Ox(300)](t){const e=Ox;return t?t[e(294)]&&t[e(347)]?zc(this[e(226)][e(269)],e(273)):t[e(294)]?zc(this[e(226)][e(269)],e(359)):t[e(347)]?zc(this[e(226)][e(269)],e(233)):zc(this[e(226)][e(269)],e(368)):zc(this[e(226)][e(269)],e(368))}[Ox(296)](t,e,n,i){const r=Ox;this[r(246)][r(296)](t,e,n,i)}[Ox(364)](t){const e=Ox;this[e(246)][e(364)](t)}[Ox(287)](){const t=Ox;this[t(246)][t(283)][t(287)]()}[Ox(262)](t,e){const n=Ox;this[n(246)][n(316)][n(255)](t,e)}}const Px=Dx;function Dx(t,e){const n=Hx();return(Dx=function(t,e){return n[t-=113]})(t,e)}function Hx(){const t=["ck-ai-chat-history__sections","658554kOfOdI","items","extendTemplate","3832356oxjGfW","510udTTwP","16730470azVEbi","19344FXtyul","2543975fgMYZA","2132700PCgqvM","sections","7290DZdiTb","2331rKevql","addMany","filter","7EcrxNc"];return(Hx=function(){return t})()}!function(t){const e=Dx,n=t();for(;;)try{if(357999===-parseInt(e(121))/1+parseInt(e(125))/2*(-parseInt(e(115))/3)+-parseInt(e(113))/4+parseInt(e(128))/5+parseInt(e(124))/6*(-parseInt(e(119))/7)+parseInt(e(127))/8*(parseInt(e(116))/9)+parseInt(e(126))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Hx);class Bx extends a.ListView{[Px(114)];constructor(t,e){const n=Px;super(t),this[n(114)]=e,this[n(122)][n(117)](this[n(114)]),this[n(123)]({attributes:{class:[n(120)]}})}[Px(118)](t){const e=Px;let n=0,i=0;for(const r of this[e(114)]){const{resultsCount:o,totalItemsCount:s}=r[e(118)](t);n+=o,i+=s}return{resultsCount:n,totalItemsCount:i}}}function Ux(){const t=["length","find","126hdKdBg","set","9XZQhlv","bindTemplate","7274561rHvXft","itemsViews","isVisible","isMatching","757030UBlEuT","ck-ai-chat-history__section","filter","div","ck-hidden","_itemsListView","997100YEzYMy","splice","addMany","indexOf","highlightText","getItem","setTemplate","144152xjdwyT","removeItem","items","46277OzfmLe","remove","ck-ai-chat-history__section-title","4150068FDqNXW","1940XQEOaJ","524825ANloBO","title","30kahKMN"];return(Ux=function(){return t})()}const Vx=Fx;function Fx(t,e){const n=Ux();return(Fx=function(t,e){return n[t-=464]})(t,e)}!function(t){const e=Fx,n=t();for(;;)try{if(599504===parseInt(e(465))/1+-parseInt(e(493))/2*(-parseInt(e(487))/3)+-parseInt(e(478))/4+parseInt(e(480))/5*(-parseInt(e(482))/6)+-parseInt(e(489))/7+-parseInt(e(472))/8*(-parseInt(e(485))/9)+-parseInt(e(479))/10*(-parseInt(e(475))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Ux);class qx extends a.ListItemView{[Vx(481)];[Vx(490)];[Vx(464)];constructor(t,{title:e,items:n}){const i=Vx;super(t);const r=this[i(488)];this[i(486)](i(491),!0),this[i(481)]=e,this[i(490)]=n;const o=new a.View(t);o[i(471)]({tag:i(496),attributes:{class:[i(477)]},children:[this[i(481)]]}),this[i(464)]=new a.ListView(t),this[i(464)][i(474)][i(467)](this[i(490)]),this[i(471)]({tag:"li",attributes:{class:[i(494),r.if(i(491),i(497),t=>!t)]},children:[o,this[i(464)]]})}[Vx(495)](t){const e=Vx,n=this[e(490)][e(483)];let i=0;for(const n of this[e(490)]){if(t){const i=n[e(492)](t);n[e(491)]=!!i,n[e(469)](t)}else n[e(491)]=!0,n[e(469)](null);n[e(491)]&&i++}return this[e(491)]=i>0,{resultsCount:i,totalItemsCount:n}}[Vx(470)](t){const e=Vx;return this[e(490)][e(484)](e=>e.id===t)}[Vx(473)](t){const e=Vx,n=this[e(490)][e(468)](t);-1!==n&&(this[e(490)][e(466)](n,1),this[e(464)][e(474)][e(476)](t))}}function zx(t,e){var n=Gx();return(zx=function(t,e){return n[t-=183]})(t,e)}function Gx(){var t=["264242cNiKEZ","4309784gHdvMW","261geipwd","768310yzqGEc","48604InCVUi","584761BzCcwe","32460bldTGN","117Appkxk","335eUPdQS","3711463UdVRdH"];return(Gx=function(){return t})()}!function(t){for(var e=zx,n=t();;)try{if(330866===-parseInt(e(187))/1+-parseInt(e(192))/2+parseInt(e(189))/3*(-parseInt(e(186))/4)+-parseInt(e(190))/5*(-parseInt(e(188))/6)+-parseInt(e(191))/7+-parseInt(e(183))/8+parseInt(e(184))/9*(parseInt(e(185))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Gx);const jx=Yx;function Wx(){const t=["ck-confirm-view-submit","936444vAdUbp","listitem","AI_CHAT_HISTORY_LOADING_RENAMING","ck-ai-chat-history__item-main-content","_createPinButtonView","40tEtMVH","1990LkDnWA","_createCancelEditButtonView","edit:cancel","isOn","match","loadingState","16198xUbmmJ","48663gMLSab","add","clear","_commitEditInputValue","ck-hidden","ck-ai-chat-history__item-content","_createMenuDropdownView","tiny","AI_CHAT_HISTORY_LOADING_UNPINNING","AI_CHAT_HISTORY_EDIT_NAME","createCollection","isMatching","ck-ai-chat-history__item-check","LOADING_LABELS","key","panelPosition","bind","panelView","ck-ai-chat-history__item-row","AI_CHAT_HISTORY_LOADING_PINNING","focus","ck-ai-loader","AI_CHAT_HISTORY_LOADING_REMOVING","addMany","ck-ai-chat-history__item-actions","div","AI_CHAT_HISTORY_REMOVE","set","text","value","ck-ai-chat-history__item","bindTemplate","children","146aJptbp","ck-ai-chat-history__item-date","Enter","change:isEdit","fire","buttonView","label","isEdit","ck-ai-loader__text","actions","228MtzNmN","element","updateTitle","AI_CHAT_HISTORY_CANCEL","showConfirm","11480SahPao","_createAcceptEditButtonView","AI_CHAT_HISTORY_ACCEPT","AI_CHAT_HISTORY_SHOW_MORE_ITEMS","highlightText","click","extendTemplate","_titleView","_createSpinnerView","ck-ai-chat-history__item-check-container","ck-confirm-view-cancel","span","1177rTKwfJ","AI_CHAT_HISTORY_REMOVE_CONFIRM","editConversationTitle","AI_CHAT_HISTORY_PIN_BUTTON","string","pinned","items","updateLoadingState","357012lICpwo","locale","ck-ai-chat-history__item--active","ck-ai-chat-history__item-title","1116AvgBgc","_createEditInputView","2547mRNXqX","_createCheckView","isVisible","removeConversation","setTemplate","execute","withText","selectConversation","setConversationPinned","then","mainContent","ck-ai-chat-history__item--edit"];return(Wx=function(){return t})()}function Yx(t,e){const n=Wx();return(Yx=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=Yx,n=t();for(;;)try{if(203881===parseInt(e(500))/1*(-parseInt(e(559))/2)+parseInt(e(494))/3+-parseInt(e(498))/4*(-parseInt(e(519))/5)+-parseInt(e(569))/6*(-parseInt(e(525))/7)+-parseInt(e(518))/8*(-parseInt(e(526))/9)+-parseInt(e(574))/10*(-parseInt(e(586))/11)+-parseInt(e(513))/12)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(506)](t,n){var i=e;return this[i(508)]=new Uw(this[i(490)]),this[i(508)][i(485)](),this[i(508)][i(486)]=t,this[i(508)][i(474)](i(501),()=>{this[i(503)]()}),this[i(508)][i(474)](i(499),()=>{this[i(503)]()}),n[i(500)](this[i(508)][i(482)]),n[i(484)][i(476)](i(479)),this[i(496)](this[i(508)]),this[i(508)][i(481)](),this[i(483)](i(507),!0),this.on(i(497),(t,e,r)=>{var o=i;r||n[o(484)][o(493)](o(479))}),new Promise(t=>this[i(508)].on(i(499),t))}[e(495)](){var t=e;this[t(507)]&&this[t(508)][t(487)](t(501))}[e(503)](){var t=e;this[t(482)]&&this[t(508)]&&this[t(508)][t(482)]&&(this[t(482)][t(481)](),this[t(508)][t(482)][t(493)](),this[t(505)](this[t(508)]),this[t(507)]=!1,this[t(487)](t(509)),this[t(508)][t(480)](),this[t(508)]=void 0)}}}(a.ListItemView)){id;static[jx(539)]={remove:jx(548),rename:jx(515),pin:jx(545),unpin:jx(534)};[jx(568)];[jx(510)];[jx(581)];constructor(t,e){const n=jx;super(t);const i=this[n(557)];this[n(553)](n(566),!1),this[n(553)](n(502),!0),this[n(553)](n(491),!!e[n(491)]),this[n(553)](n(524),null),this.id=e.id;const{title:r,createdAt:o,active:s=!1}=e;this[n(581)]=new a.HighlightedTextView,this[n(581)][n(554)]=r,this[n(581)][n(580)]({attributes:{class:[n(497)]}});const c=this[n(501)](),l=this[n(517)](t),u=this[n(532)](),h=this[n(499)](t,r),d=this[n(575)](t,h),p=this[n(520)](t,h);this[n(568)]=this[n(536)](),this[n(510)]=this[n(536)](),this[n(510)][n(527)](this[n(581)]),this[n(568)][n(527)](l),this[n(568)][n(527)](u),this.on(n(562),(t,e,i)=>{const r=n;this[r(568)][r(528)](),this[r(510)][r(528)](),i?(this[r(568)][r(527)](d),this[r(568)][r(527)](p),this[r(510)][r(527)](h),h[r(570)][r(546)]()):(this[r(568)][r(527)](l),this[r(568)][r(527)](u),this[r(510)][r(527)](this[r(581)]))}),this[n(504)]({tag:"li",attributes:{class:[n(556),s?n(496):"",i.if(n(502),n(530),t=>!t),i.if(n(566),n(511))],role:n(514)},children:[{tag:n(585),attributes:{class:[n(583)]},children:[{tag:n(551),attributes:{class:[n(538),i.if(n(524),n(530),t=>!!t)]},children:s?[c]:[]},{tag:n(551),attributes:{class:[n(547),i.if(n(524),n(530),t=>!t)]},children:[this[n(582)]()]}]},{tag:n(551),attributes:{class:[n(544)]},children:[{tag:n(551),attributes:{class:[n(531)]},on:{click:this[n(557)].to(n(579))},children:[{tag:n(551),attributes:{class:[n(516)]},children:[{tag:n(551),attributes:{class:[n(497),i.if(n(524),n(530),t=>!!t)]},children:this[n(510)]},{tag:n(551),attributes:{class:[n(567),i.if(n(524),n(530),t=>!t)]},children:[{text:i.to(n(524),t=>t?zc(this[n(495)],Kx[n(539)][t]):"")}]}]},{tag:n(585),attributes:{class:[n(560)]},children:[o]}]},{tag:n(551),attributes:{class:[n(550)]},children:this[n(568)]}]}]}),this.on(n(579),()=>{const t=n;this[t(566)]||this[t(563)](t(507),{id:this.id})})}[jx(571)](t){const e=jx;this[e(581)][e(554)]=pt(t)}[jx(493)](t,e){const n=jx;this[n(553)](n(524),e?t:null)}[jx(501)](){const t=jx,e=new a.IconView;return e[t(553)]({content:o.IconCheck}),e}[jx(517)](t){const e=jx,n=new a.ButtonView(t);return n[e(553)]({label:zc(t,e(489)),icon:o.IconPin,withText:!1,tooltip:!0}),n[e(542)](e(522)).to(this,e(491)),n.on(e(505),()=>{const t=e,n=!this[t(491)];this[t(563)](t(508),{id:this.id,pinned:n})}),n}[jx(532)](){const t=jx,e=(0,a.createDropdown)(this[t(495)],Vb),n=e[t(543)][t(558)];e[t(564)][t(553)]({label:zc(this[t(495)],t(577)),icon:o.IconThreeHorizontalDots}),e[t(541)]="sw";const i=new a.ButtonView(this[t(495)]);i[t(565)]=zc(this[t(495)],t(535)),i[t(506)]=!0,i.on(t(505),()=>{this[t(566)]=!0});const r=new a.ButtonView(this[t(495)]);r[t(565)]=zc(this[t(495)],t(552)),r[t(506)]=!0,r.on(t(505),()=>{const e=t;this[e(573)](zc(this[e(495)],e(587)),this[e(570)])[e(509)](()=>{const t=e;this[t(563)](t(503),{id:this.id})})});const s=new a.ListView(this[t(495)]),c=new a.ListItemView(this[t(495)]);c[t(558)][t(527)](i);const l=new a.ListItemView(this[t(495)]);return l[t(558)][t(527)](r),s[t(492)][t(549)]([c,l]),n[t(527)](s),e}[jx(499)](t,e){const n=jx,i=new a.InputTextView(t),r=i[n(557)];return i[n(555)]=e,i[n(580)]({on:{keydown:r.to(t=>{const e=n;e(561)==t[e(540)]&&this[e(529)](i)})}}),i}[jx(575)](t,e){const n=jx,i=new a.ButtonView(t);return i[n(553)]({icon:o.IconCheck,withText:!1,tooltip:zc(t,n(576))}),i[n(580)]({attributes:{class:[n(512)]}}),i.on(n(505),()=>{this[n(529)](e)}),i}[jx(529)](t){const e=jx,n=t[e(570)][e(555)]||"";this[e(581)][e(554)]=n,this[e(566)]=!1,this[e(563)](e(488),{id:this.id,title:n})}[jx(520)](t,e){const n=jx,i=new a.ButtonView(t);return i[n(553)]({icon:o.IconCancel,withText:!1,tooltip:zc(t,n(572))}),i[n(580)]({attributes:{class:[n(584)]}}),i.on(n(505),()=>{const t=n;this[t(566)]=!1,e[t(555)]=this[t(581)][t(554)]||"",this[t(563)](t(521))}),i}[jx(582)](){const t=jx,e=new KI(t(533));return e[t(502)]=!0,e}[jx(537)](t){const e=jx;return this[e(581)]&&e(490)==typeof this[e(581)][e(554)]&&this[e(581)][e(554)][e(523)](t)?{title:!0}:null}[jx(578)](t){const e=jx;this[e(581)][e(578)](t)}}const $x=Qx;function Qx(t,e){const n=Xx();return(Qx=function(t,e){return n[t-=372]})(t,e)}function Xx(){const t=["fieldView","_createErrorView","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY","locale","push","139237rCjCZC","delegate","add","isSearchViewVisible","AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY","removeItem","div","ck-ai-chat-error","updateItemTitle","fire","errorMessage","ltr","search","skeletonView","extendTemplate","clear","isMaximized","searchView","updateItemLoadingState","AI_CHAT_HISTORY_EMPTY_MESSAGE","48tBzBEc","_updateViewVisibility","splice","getItem","bindTemplate","itemsViews","38970FuOeRG","resizeButton","hasItems","isVisible","ck-hidden","212879PuPQoQ","remove","6eOifzh","updateHistoryItemsWithCategories","indexOf","isEmptyViewVisible","some","1334943FXBaoB","addMany","AI_CHAT_HISTORY_HEADING","render","updateLoadingState","2JDcyzv","execute","emptyView","_createSkeletonView","title","sections","_createListItemViews","change:errorMessage","_createSearchView","queryView","ck-ai-chat-history__open-chat-button","8rYoWTg","1397420cvnRYx","updateTitle","ck-ai-header ck-ai-header_history","ck-ai-chat-history","items","_refreshSearch","change:hasItems","set","change:isLoading","3473844ObyIVr","bind","element","children","length","ck-reset_all","errorView","isLoading","ck-ai-chat-error__dismiss-button","ck-rounded-corners","_createEmptyStateView","AI_CHAT_HISTORY_SEARCH_LABEL","value","openChat","AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON","ck-ai-chat-history__empty-message","removeHistoryItem","ck-ai-chat-history__empty","sectionsView","ck-ai-chat-history__content","aiHistory","257644gJQcqU","setTemplate"];return(Xx=function(){return t})()}!function(t){const e=Qx,n=t();for(;;)try{if(183181===parseInt(e(456))/1*(-parseInt(e(376))/2)+parseInt(e(458))/3*(parseInt(e(418))/4)+parseInt(e(388))/5+parseInt(e(445))/6*(parseInt(e(425))/7)+-parseInt(e(387))/8*(-parseInt(e(463))/9)+-parseInt(e(451))/10+-parseInt(e(397))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Xx);class Jx extends a.View{[$x(442)];[$x(403)];[$x(438)];[$x(378)];[$x(415)];[$x(452)];constructor(t,e){const n=$x;super(t),this[n(395)](n(453),!1),this[n(395)](n(404),!0),this[n(395)](n(435),""),this[n(395)](n(441),!1),this[n(395)](n(428),!1),this[n(395)](n(461),!1);const i=new a.FormHeaderView(t,{label:zc(t,n(373)),icon:o.IconAIHistory,class:n(390)});e&&(this[n(452)]=Jc(t,this),i[n(400)][n(427)](this[n(452)])),this[n(415)]=new Bx(t,[]),this[n(415)][n(426)](...rT).to(this),this[n(403)]=this[n(421)](),this[n(438)]=this[n(379)](),this[n(378)]=this[n(407)](),this[n(442)]=this[n(384)](),this.on(n(396),()=>this[n(446)]()),this.on(n(394),()=>this[n(446)]()),this.on(n(383),()=>this[n(446)]()),this[n(419)]({tag:n(431),attributes:{class:["ck",n(402),n(391),n(406)],dir:n(436)},children:[i,{tag:n(431),attributes:{class:[n(416)]},children:[this[n(438)],this[n(403)],this[n(378)],this[n(442)]]}]})}[$x(446)](){const t=$x;this[t(428)]=!this[t(404)]&&this[t(453)]&&!this[t(435)],this[t(461)]=!this[t(404)]&&!this[t(453)]&&!this[t(435)]}[$x(384)](){const t=$x,e=new a.SearchTextView(this[t(423)],{filteredView:this[t(415)],queryView:{label:zc(this[t(423)],t(408))},infoView:{text:{notFound:{primary:e=>zc(this[t(423)],t(422),e),secondary:zc(this[t(423)],t(429))}}}});return e.on(t(374),()=>{const e=t;this[e(442)][e(400)][e(427)](this[e(403)],1)}),e[t(439)]({attributes:{class:[this[t(449)].if(t(428),t(455),t=>!t)]}}),e}[$x(379)](){const t=$x,e=new HA(this[t(423)],BA[t(417)]);return e[t(439)]({attributes:{class:[this[t(449)].if(t(404),t(455),t=>!t)]}}),e}[$x(421)](){const t=$x,e=new a.View(this[t(423)]),n=new a.ButtonView(this[t(423)]);return n[t(395)]({withText:!1,icon:o.IconCancel,class:t(405)}),n[t(398)](t(454)).to(this,t(453),t=>!!t),n.on(t(377),()=>{this[t(435)]=""}),e[t(419)]({tag:t(431),attributes:{class:["ck",t(432),this[t(449)].if(t(435),t(455),t=>!t)]},children:[{tag:"p",children:[{text:this[t(449)].to(t(435))}]},n]}),e}[$x(407)](){const t=$x,e=new a.ButtonView(this[t(423)]);e[t(395)]({withText:!0,label:zc(this[t(423)],t(411)),class:t(386)}),e.on(t(377),()=>{const e=t;this[e(434)](e(410))});const n=new a.View(this[t(423)]);return n[t(419)]({tag:t(431),attributes:{class:[t(414),this[t(449)].if(t(461),t(455),t=>!t)]},children:[{tag:"p",attributes:{class:[t(412)]},children:[zc(this[t(423)],t(444))]},e]}),n}[$x(382)](t,e){const n=$x,i=[];for(const r of t){const t=new Kx(e,r);t[n(426)](...rT).to(this),i[n(424)](t)}return i}[$x(459)](t){const e=$x,n=this[e(423)]||"en",i=[];for(const r of t){const t=this[e(382)](r[e(392)],n);i[e(424)](new qx(n,{title:r[e(380)],items:t}))}this[e(415)][e(381)]=i,this[e(415)][e(392)][e(440)](),this[e(415)][e(392)][e(372)](i),this[e(453)]=t[e(462)](t=>t[e(392)][e(401)]>0),this[e(393)]()}[$x(413)](t){const e=$x;for(const n of this[e(415)][e(381)]){const i=n[e(448)](t);if(i){if(n[e(430)](i),0===n[e(450)][e(401)]){const t=this[e(415)][e(381)][e(460)](n);-1!==t&&(this[e(415)][e(381)][e(447)](t,1),this[e(415)][e(392)][e(457)](n))}this[e(453)]=this[e(415)][e(381)][e(401)]>0,this[e(393)]();break}}}[$x(433)](t,e){const n=$x;for(const i of this[n(415)][n(381)]){const r=i[n(448)](t);if(r){r[n(389)](e);break}}}[$x(443)](t,e,n){const i=$x;for(const r of this[i(415)][i(381)]){const o=r[i(448)](t);if(o){o[i(375)](e,n);break}}}[$x(393)](){const t=$x;if(this[t(453)]){const e=this[t(442)][t(385)][t(420)]?.[t(399)]?.[t(409)]||"";this[t(442)][t(437)](e)}}}var Zx=n(864),tT={attributes:{"data-cke":!0}};tT.setAttributes=Et(),tT.insert=yt().bind(null,"head"),tT.domAPI=vt(),tT.insertStyleElement=Tt();bt()(Zx.A,tT);Zx.A&&Zx.A.locals&&Zx.A.locals;function eT(t,e){const n=iT();return(eT=function(t,e){return n[t-=191]})(t,e)}const nT=eT;function iT(){const t=["locale","showConversationHistory","showResizeButton","24883690qBwpbe","editConversationTitle","updateItems","resizeTabs","history","updateItemLoadingState","showError","AI_CHAT_HISTORY_HEADING","33288LLVYcp","3457fkEVDH","hideError","plugins","removeConversation","isMaximized","158lKquQz","removeHistoryItem","7401861ZvkucU","selectConversation","setIsMaximized","69PQjgpr","isPremiumPlugin","pluginName","addTab","AITabs","updateHistoryItemsWithCategories","isLoading","openChat","updateItemTitle","109905KmSuze","AIChatHistoryUI","context","errorMessage","66WoqyFj","get","6082076awSzFe","11lJaLsg","_historyView","setConversationPinned","setLoadingSkeleton","view","delegate","requires","isOfficialPlugin","152996lHOHKJ"];return(iT=function(){return t})()}!function(t){const e=eT,n=t();for(;;)try{if(601710===parseInt(e(202))/1*(parseInt(e(207))/2)+-parseInt(e(212))/3*(-parseInt(e(236))/4)+parseInt(e(221))/5*(parseInt(e(225))/6)+parseInt(e(227))/7+parseInt(e(201))/8+parseInt(e(209))/9+parseInt(e(193))/10*(-parseInt(e(228))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iT);const rT=[nT(191),nT(205),nT(194),nT(230),nT(210),nT(219),nT(196)];class oT extends r.ContextPlugin{static get[nT(234)](){return[Uc]}[nT(229)];static get[nT(214)](){return nT(222)}static get[nT(235)](){return!0}static get[nT(213)](){return!0}constructor(t){const e=nT;super(t);const n=this[e(223)][e(204)][e(226)](e(216));this[e(229)]=new Jx(this[e(223)][e(237)],n[e(192)]),this[e(229)][e(233)](...rT).to(this),n[e(232)][e(215)]({id:e(197),buttonLabel:zc(this[e(223)][e(237)],e(200)),buttonIcon:o.IconAIHistory,order:0,content:this[e(229)]})}[nT(208)](t){const e=nT;this[e(229)][e(208)](t)}[nT(195)](t){const e=nT;this[e(229)][e(217)](t)}[nT(220)](t,e){const n=nT;this[n(229)][n(220)](t,e)}[nT(198)](t,e,n){const i=nT;this[i(229)][i(198)](t,e,n)}[nT(231)](t){const e=nT;this[e(229)][e(218)]=t}[nT(199)](t){const e=nT;this[e(229)][e(224)]=t}[nT(203)](){const t=nT;this[t(229)][t(224)]=""}[nT(211)](t){const e=nT;this[e(229)][e(206)]=t}}var sT=cT;function aT(){var t=["4ZsbUQa","updatePinned","title","849258bIZQhv","407319IsNIuJ","createdAt","296420bYFYVj","2310925LVGCkp","72kVdyci","10dTKfDU","updatedAt","set","pinned","updateTitle","3103614PHLWpL","824263zogsIR","30488qzxmmU","7GUWhwx"];return(aT=function(){return t})()}function cT(t,e){var n=aT();return(cT=function(t,e){return n[t-=388]})(t,e)}!function(t){for(var e=cT,n=t();;)try{if(514938===parseInt(e(397))/1+-parseInt(e(400))/2+-parseInt(e(398))/3+parseInt(e(394))/4*(-parseInt(e(401))/5)+-parseInt(e(390))/6*(-parseInt(e(393))/7)+parseInt(e(392))/8*(-parseInt(e(402))/9)+-parseInt(e(403))/10*(parseInt(e(391))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aT);class lT extends((0,s.ObservableMixin)()){id;[sT(399)];constructor({id:t,title:e,createdAt:n,updatedAt:i,pinned:r}){var o=sT;super(),this.id=t,this[o(399)]=new Date(n),this[o(405)](o(396),e),this[o(405)](o(404),i?new Date(i):null),this[o(405)](o(388),r||!1)}[sT(389)](t){var e=sT;this[e(405)](e(396),pt(t)),this[e(404)]=new Date}[sT(395)](t){var e=sT;this[e(405)](e(388),t),this[e(404)]=new Date}}function uT(t,e){const n=dT();return(uT=function(t,e){return n[t-=176]})(t,e)}const hT=uT;function dT(){const t=["addItem","145RTpYiG","getResult","updateItemTitle","connector","494110pgCnzV","2798667dLNLLv","209ANDqUR","6HTBNcW","error","updatePinned","removeItem","getConversations","group","init","40XJTaXs","23jmKDky","createdAt","getItems","105062XVNsXG","getFullYear","2069556bPSNCr","6925583ZrHdvM","54382356mplfwJ","filter","5416cEFRgl","getMonth","updateTitle","items","pinned","push","getTime","fire","fetchConversations","itemRemoved","from","splice","map","13TruQIa","loadItems","getItem","itemsLoaded","getDate","updateConversation","findIndex","deleteConversation","execute","itemUpdated","updateItemPinned","find"];return(dT=function(){return t})()}!function(t){const e=uT,n=t();for(;;)try{if(809929===-parseInt(e(210))/1*(-parseInt(e(213))/2)+parseInt(e(215))/3+-parseInt(e(219))/4*(parseInt(e(195))/5)+parseInt(e(202))/6*(parseInt(e(216))/7)+-parseInt(e(209))/8*(-parseInt(e(200))/9)+-parseInt(e(199))/10*(-parseInt(e(201))/11)+parseInt(e(217))/12*(-parseInt(e(182))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dT);class pT extends((0,s.EmitterMixin)()){[hT(222)]=[];[hT(198)];[hT(207)];constructor({connector:t,group:e}){const n=hT;super(),this[n(198)]=t,this[n(207)]=e}async[hT(208)](){const t=hT;try{const e=this[t(198)][t(177)](this[t(207)]),n=await e[t(206)]();this[t(183)](n)}catch(e){this[t(176)](t(203),{error:e,operation:t(208)})}}[hT(194)](t){const e=hT;this[e(222)][e(224)](t)}async[hT(205)](t){const e=hT,n=this[e(222)][e(188)](e=>e.id===t);if(-1===n)return!1;try{return await this[e(198)][e(189)](t)[e(190)](),this[e(222)][e(180)](n,1),this[e(176)](e(178),{itemId:t}),!0}catch(n){return this[e(176)](e(203),{error:n,operation:e(205),itemId:t}),!1}}[hT(184)](t){const e=hT;return this[e(222)][e(193)](e=>e.id===t)}async[hT(197)](t,e){const n=hT,i=this[n(184)](t);if(!i)return!1;try{return await this[n(198)][n(187)](t,{title:e})[n(196)](),i[n(221)](e),this[n(176)](n(191),{itemId:t,updates:{title:e}}),!0}catch(e){return this[n(176)](n(203),{error:e,operation:n(197),itemId:t}),!1}}async[hT(192)](t,e){const n=hT,i=this[n(184)](t);if(!i)return!1;try{return await this[n(198)][n(187)](t,{pinned:e})[n(196)](),i[n(204)](e),this[n(176)](n(191),{itemId:t,updates:{pinned:e}}),!0}catch(e){return this[n(176)](n(203),{error:e,operation:n(192),itemId:t}),!1}}[hT(183)](t){const e=hT;try{this[e(222)]=[],t[e(181)](t=>{this[e(194)](new lT(t))}),this[e(176)](e(185),{items:[...this[e(222)]]})}catch(t){this[e(176)](e(203),{error:t,operation:e(183)})}}[hT(212)](t={}){const e=hT,n=void 0!==t[e(223)]&&t[e(223)],i=t[e(179)]?new Date(t[e(179)][e(214)](),t[e(179)][e(220)](),t[e(179)][e(186)]()):null,r=t.to?new Date(t.to[e(214)](),t.to[e(220)](),t.to[e(186)]()):null;return this[e(222)][e(218)](t=>{const o=e;if(t[o(223)]!==n)return!1;if(r){const e=new Date(t[o(211)][o(214)](),t[o(211)][o(220)](),t[o(211)][o(186)]());return i?i[o(225)]()===r[o(225)]()?e[o(225)]()===i[o(225)]():e<r&&e>=i:e<r}return!0})}}const fT=gT;function mT(){const t=["21ywXIfs","editConversationTitle","getItem","activateTab:history","getDate","view","remove","items","1076034QQPHWn","updateItemLoadingState","init","get","unpin","itemId","resizedTabs","resizeTabs","createdAt","_clearItemLoading","AI_CHAT_HISTORY_CATEGORY_LATER","rename","14LgOjlM","_generateErrorMessage","openChat","AI_CHAT_HISTORY_CATEGORY_PINNED","requires","activeConversation","_aiConnector","title","_handleTogglePin","_handleHistoryErrorUI","AI_CHAT_HISTORY_CATEGORY_TODAY","10bGtwhy","AI_CHAT_HISTORY_ERROR_REMOVE_ITEM","plugins","removeHistoryItem","getItems","AI_CHAT_HISTORY_PIN_ACTION","selectConversation","_handleSelectConversation","context","_updateHistoryItemsUI","map","pluginName","setDate","setConversationPinned","history","resize","itemRemoved","106202jvsrdc","357348LBOIpo","setLoadingSkeleton","change:activeConversation","error","pin","itemsLoaded","getFullYear","handleRemovedConversation","itemUpdated","loadItems","toLocaleDateString","isPremiumPlugin","operation","setIsMaximized","removeConversation","updateItemPinned","locale","listenTo","AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS","AI_CHAT_HISTORY_ERROR_UPDATE_PINNED","AI_CHAT_HISTORY_ERROR_LOAD_ITEMS","_getCategorizedItems","chat","isOfficialPlugin","_handleRemove","_aiChatController","updateItems","10830483jEXCkD","1895904lQLjya","AI_CHAT_UNTITLED_CONVERSATION","_handleEditTitle","length","_setIsMaximized","getGroupId","442265rTaEiP","pinned","AI_CHAT_HISTORY_UNPIN_ACTION","_aiChatHistoryUi","removeItem","_showConversationHistory","1173612ZMpSXl","AI_CHAT_HISTORY_CATEGORY_YESTERDAY","push","showError","AI_CHAT_HISTORY_ERROR_GENERIC","_setItemLoading","getMonth","loadConversation","AIChatHistoryController","activateTab","updateItemTitle","AI_CHAT_HISTORY_ERROR_UPDATE_TITLE","updates"];return(mT=function(){return t})()}function gT(t,e){const n=mT();return(gT=function(t,e){return n[t-=179]})(t,e)}!function(t){const e=gT,n=t();for(;;)try{if(214166===-parseInt(e(179))/1+-parseInt(e(280))/2*(parseInt(e(232))/3)+-parseInt(e(219))/4+-parseInt(e(213))/5+-parseInt(e(240))/6*(-parseInt(e(252))/7)+-parseInt(e(207))/8+parseInt(e(206))/9*(parseInt(e(263))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mT);class kT extends r.ContextPlugin{[fT(258)];[fT(216)];[fT(204)];static get[fT(256)](){return[Kc,yy,oT,Uc]}static get[fT(274)](){return fT(227)}static get[fT(202)](){return!0}static get[fT(190)](){return!0}[fT(242)](){const t=fT;this[t(258)]=this[t(271)][t(265)][t(243)](Kc),this[t(216)]=this[t(271)][t(265)][t(243)](oT),this[t(204)]=this[t(271)][t(265)][t(243)](yy);const e=this[t(271)][t(265)][t(243)](Uc),n=this[t(204)][t(212)]();this[t(277)]=new pT({connector:this[t(258)],group:n}),this[t(196)](this[t(216)],t(193),(e,n)=>{const i=t;this[i(224)](n.id,i(238)),this[i(203)](n.id)}),this[t(196)](this[t(216)],t(233),(e,n)=>{const i=t;this[i(224)](n.id,i(251)),this[i(209)](n.id,n[i(259)])}),this[t(196)](this[t(277)],t(187),(e,n)=>{const i=t;void 0!==n[i(231)][i(259)]&&this[i(216)][i(229)](n[i(245)],n[i(231)][i(259)]),void 0!==n[i(231)][i(214)]&&this[i(272)](),this[i(249)](n[i(245)])}),this[t(196)](this[t(277)],t(279),(e,n)=>{const i=t;this[i(204)][i(186)](n[i(245)]),this[i(216)][i(266)](n[i(245)]),this[i(249)](n[i(245)])}),this[t(196)](this[t(277)],t(184),()=>{this[t(272)]()}),this[t(196)](this[t(277)],t(182),(e,n)=>{const i=t;this[i(261)](n[i(182)],n[i(191)],n[i(245)])}),this[t(196)](this[t(216)],t(269),(e,n)=>{this[t(270)](n.id)}),this[t(196)](this[t(216)],t(276),(e,n)=>{const i=t,r=n[i(214)]?i(183):i(244);this[i(224)](n.id,r),this[i(260)](n.id,n[i(214)])}),this[t(196)](this[t(216)],t(254),()=>{const n=t;e[n(237)][n(228)](n(201))}),this[t(196)](this[t(204)],t(181),()=>{this[t(272)]()}),e[t(237)].on(t(235),()=>{this[t(218)]()}),this[t(196)](e,t(246),(e,n)=>{this[t(211)](n)}),this[t(196)](this[t(216)],t(247),()=>{e[t(278)]()})}async[fT(209)](t,e){const n=fT;await this[n(277)][n(229)](t,e)}async[fT(260)](t,e){const n=fT;await this[n(277)][n(194)](t,e)}async[fT(203)](t){const e=fT;await this[e(277)][e(217)](t)}async[fT(270)](t){const e=fT;await this[e(204)][e(226)](t)}async[fT(218)](){const t=fT;this[t(216)][t(222)](""),this[t(216)][t(180)](!0),await this[t(277)][t(242)](),this[t(216)][t(180)](!1)}[fT(272)](){const t=fT,e=this[t(204)][t(257)]?.id,n=this[t(200)]()[t(273)](n=>({title:n[t(259)],items:n[t(239)][t(273)](n=>({id:n.id,title:n[t(259)]||zc(this[t(271)][t(195)],t(208)),createdAt:new Date(n[t(248)])[t(189)](),active:n.id===e,pinned:n[t(214)]}))}));this[t(216)][t(205)](n)}[fT(224)](t,e){const n=fT;this[n(216)][n(241)](t,e,!0)}[fT(249)](t){const e=fT;this[e(216)][e(241)](t,null,!1)}[fT(261)](t,e,n){const i=fT,r=this[i(253)](e,n);this[i(216)][i(222)](r),n&&this[i(249)](n),this[i(216)][i(180)](!1)}[fT(253)](t,e){const n=fT,i=e?this[n(277)][n(234)](e):null,r=i?.[n(259)]||zc(this[n(271)][n(195)],n(208));switch(t){case n(229):return zc(this[n(271)][n(195)],n(230),r);case n(194):{const t=zc(this[n(271)][n(195)],i?.[n(214)]?n(215):n(268));return zc(this[n(271)][n(195)],n(198),[t,r])}case n(217):return zc(this[n(271)][n(195)],n(264),r);case n(242):case n(188):return zc(this[n(271)][n(195)],n(199));default:return zc(this[n(271)][n(195)],n(223))}}[fT(200)](){const t=fT,e=new Date,n=new Date(e[t(185)](),e[t(225)](),e[t(236)]()),i=new Date(n);i[t(275)](i[t(236)]()-1);const r=new Date(n);r[t(275)](r[t(236)]()-14);const o=this[t(277)][t(267)]({pinned:!0}),s=this[t(277)][t(267)]({from:n,to:n}),a=this[t(277)][t(267)]({from:i,to:i}),c=this[t(277)][t(267)]({from:r,to:i}),l=this[t(277)][t(267)]({to:r}),u=[];return o[t(210)]>0&&u[t(221)]({title:zc(this[t(271)][t(195)],t(255)),items:o}),s[t(210)]>0&&u[t(221)]({title:zc(this[t(271)][t(195)],t(262)),items:s}),a[t(210)]>0&&u[t(221)]({title:zc(this[t(271)][t(195)],t(220)),items:a}),c[t(210)]>0&&u[t(221)]({title:zc(this[t(271)][t(195)],t(197)),items:c}),l[t(210)]>0&&u[t(221)]({title:zc(this[t(271)][t(195)],t(250)),items:l}),u}[fT(211)](t){const e=fT;this[e(216)][e(192)](t)}}var _T=wT;!function(t){for(var e=wT,n=t();;)try{if(332840===-parseInt(e(404))/1*(-parseInt(e(414))/2)+-parseInt(e(405))/3*(parseInt(e(400))/4)+-parseInt(e(403))/5+-parseInt(e(413))/6*(parseInt(e(409))/7)+-parseInt(e(410))/8*(parseInt(e(407))/9)+-parseInt(e(398))/10*(parseInt(e(399))/11)+parseInt(e(408))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(vT);class bT extends r.ContextPlugin{static get[_T(401)](){return[kT,oT]}static get[_T(412)](){return _T(402)}static get[_T(406)](){return!0}static get[_T(411)](){return!0}}function wT(t,e){var n=vT();return(wT=function(t,e){return n[t-=398]})(t,e)}function vT(){var t=["8oIpLqY","isPremiumPlugin","pluginName","104070jcPRng","2NkKEJI","231600AReaze","33oVjoxG","4bWxhpB","requires","AIChatHistory","1637510qKwBik","422473cSCFRi","1392837dKznvp","isOfficialPlugin","2492703XFGKUH","12999420PdehcV","14FxiFem"];return(vT=function(){return t})()}const IT=AT;function yT(){const t=["isOfficialPlugin","requires","6604506tlNkBM","pluginName","AIChat","964GTDHAl","5028760xTlmje","plugins","startConversation","7vgMWnS","3233274GyHFtL","addSelectionToChatContext","44664860xexTbN","48358noxspF","focusPromptInput","context","config","2521145GuwjIL","sendMessage","ai.chat.models","get","ai.chat.context","removeSelectionFromChatContext","define","29WAUNFL","7971oEVwpT","isPremiumPlugin"];return(yT=function(){return t})()}function AT(t,e){const n=yT();return(AT=function(t,e){return n[t-=158]})(t,e)}!function(t){const e=AT,n=t();for(;;)try{if(719421===parseInt(e(177))/1*(-parseInt(e(166))/2)+-parseInt(e(178))/3*(parseInt(e(158))/4)+-parseInt(e(170))/5+-parseInt(e(163))/6+-parseInt(e(162))/7*(parseInt(e(159))/8)+-parseInt(e(182))/9+parseInt(e(165))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(yT);class ET extends r.ContextPlugin{static get[IT(181)](){return[yy,kb,Lx,bT]}static get[IT(183)](){return IT(184)}static get[IT(180)](){return!0}static get[IT(179)](){return!0}constructor(t){const e=IT;super(t);const n=t[e(169)];n[e(176)](e(174),{document:{enabled:!0},urls:{enabled:!0},files:{enabled:!0},sources:[]}),n[e(176)](e(172),{defaultModelId:void 0,modelSelectorAlwaysVisible:!0,displayedModels:void 0})}async[IT(164)](){const t=IT;await this[t(168)][t(160)][t(173)](yy)[t(164)]()}async[IT(161)](){const t=IT;await this[t(168)][t(160)][t(173)](yy)[t(161)]()}async[IT(171)]({message:t,quickActionData:e}){const n=IT;await this[n(168)][n(160)][n(173)](yy)[n(171)]({message:t,quickActionData:e})}[IT(175)](){const t=IT;this[t(168)][t(160)][t(173)](yy)[t(175)]()}[IT(167)](){const t=IT;this[t(168)][t(160)][t(173)](yy)[t(167)]()}}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 i=t.t;switch(e){case"AI_QUICK_ACTIONS_HEADING":return i({id:"AI_QUICK_ACTIONS_HEADING",string:"AI Quick Actions"});case"AI_QUICK_ACTIONS_ASK_AI":return i({id:"AI_QUICK_ACTIONS_ASK_AI",string:"Ask AI"});case"AI_QUICK_ACTIONS_CHAT_COMMANDS":return i({id:"AI_QUICK_ACTIONS_CHAT_COMMANDS",string:"Chat commands"});case"AI_QUICK_ACTIONS_IMPROVE_WRITING":return i({id:"AI_QUICK_ACTIONS_IMPROVE_WRITING",string:"Improve writing"});case"AI_QUICK_ACTIONS_CONTINUE_WRITING":return i({id:"AI_QUICK_ACTIONS_CONTINUE_WRITING",string:"Continue writing"});case"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING":return i({id:"AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING",string:"Fix grammar & spelling"});case"AI_QUICK_ACTIONS_ADJUST_LENGTH":return i({id:"AI_QUICK_ACTIONS_ADJUST_LENGTH",string:"Adjust length"});case"AI_QUICK_ACTIONS_CHANGE_TONE":return i({id:"AI_QUICK_ACTIONS_CHANGE_TONE",string:"Change tone"});case"AI_QUICK_ACTIONS_TRANSLATE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE",string:"Translate"});case"AI_QUICK_ACTIONS_EXPLAIN":return i({id:"AI_QUICK_ACTIONS_EXPLAIN",string:"Explain"});case"AI_QUICK_ACTIONS_SUMMARIZE":return i({id:"AI_QUICK_ACTIONS_SUMMARIZE",string:"Summarize"});case"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS":return i({id:"AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS",string:"Highlight key points"});case"AI_QUICK_ACTIONS_MAKE_SHORTER":return i({id:"AI_QUICK_ACTIONS_MAKE_SHORTER",string:"Make shorter"});case"AI_QUICK_ACTIONS_MAKE_LONGER":return i({id:"AI_QUICK_ACTIONS_MAKE_LONGER",string:"Make longer"});case"AI_QUICK_ACTIONS_MORE_CASUAL":return i({id:"AI_QUICK_ACTIONS_MORE_CASUAL",string:"More casual"});case"AI_QUICK_ACTIONS_MORE_DIRECT":return i({id:"AI_QUICK_ACTIONS_MORE_DIRECT",string:"More direct"});case"AI_QUICK_ACTIONS_MORE_FRIENDLY":return i({id:"AI_QUICK_ACTIONS_MORE_FRIENDLY",string:"More friendly"});case"AI_QUICK_ACTIONS_MORE_CONFIDENT":return i({id:"AI_QUICK_ACTIONS_MORE_CONFIDENT",string:"More confident"});case"AI_QUICK_ACTIONS_MORE_PROFESSIONAL":return i({id:"AI_QUICK_ACTIONS_MORE_PROFESSIONAL",string:"More professional"});case"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT":return i({id:"AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT",string:"Adjust based on the rest of the document"});case"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_ENGLISH",string:"English"});case"AI_QUICK_ACTIONS_TRANSLATE_CHINESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_CHINESE",string:"Chinese (Simplified)"});case"AI_QUICK_ACTIONS_TRANSLATE_FRENCH":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_FRENCH",string:"French"});case"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_JAPANESE",string:"Japanese"});case"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE",string:"Portuguese"});case"AI_QUICK_ACTIONS_TRANSLATE_KOREAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_KOREAN",string:"Korean"});case"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_ITALIAN",string:"Italian"});case"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN":return i({id:"AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN",string:"Russian"});case"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND":return i({id:"AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND",string:"%0 plugin is required but not found."},n);case"AI_QUICK_ACTIONS_OTHER":return i({id:"AI_QUICK_ACTIONS_OTHER",string:"Other"});default:return e}}function CT(t,e){const n=ST();return(CT=function(t,e){return n[t-=229]})(t,e)}function ST(){const t=["1013132JfhUWd","commands","icon","focus","2200644tSiwlv","38810eHwgTs","extendTemplate","displayedPrompt","menuitem","execute","5kFNfSS","set","parent","3407aQiEZB","869019PCOeQg","19831BGMfLy","200vUGxQi","bindTemplate","view","locale","editing","187zVbDBh","152QewQCg","207546QdjbiR","aiQuickAction"];return(ST=function(){return t})()}function RT(t,e,n=!1,i=!0){return()=>{const r=CT,o=t[r(247)],s=new a.ButtonView(o),c=s[r(245)];s[r(234)]({on:{mouseenter:c.to(()=>{s[r(231)]()})}});const l=e[r(230)]??e[r(240)]?.[r(230)];return s[r(239)]({label:e[r(235)],withText:n,role:r(236),icon:i?l??xT:void 0,tooltip:!n}),s.on(r(237),()=>{const n=r;t[n(248)][n(246)][n(231)](),t[n(229)][n(237)](n(252),e)}),s}}!function(t){const e=CT,n=t();for(;;)try{if(153017===parseInt(e(241))/1*(parseInt(e(250))/2)+parseInt(e(242))/3+-parseInt(e(253))/4+parseInt(e(238))/5*(-parseInt(e(251))/6)+parseInt(e(243))/7*(parseInt(e(244))/8)+-parseInt(e(232))/9+parseInt(e(233))/10*(parseInt(e(249))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ST);const OT=NT;function NT(t,e){const n=PT();return(NT=function(t,e){return n[t-=498]})(t,e)}!function(t){const e=NT,n=t();for(;;)try{if(818268===-parseInt(e(508))/1+-parseInt(e(562))/2+parseInt(e(574))/3+parseInt(e(512))/4*(-parseInt(e(525))/5)+parseInt(e(528))/6+-parseInt(e(566))/7*(-parseInt(e(571))/8)+-parseInt(e(518))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(PT);const MT=OT(526),LT=OT(502);function PT(){const t=["231471GMrMXq","optionsListView","closest","eastSouth",".ck-ai-quick-actions-group-button","add","focusCycler","5UxDgbL","menu",".ck-ai-quick-actions-group-panel","9794844GiZVNB","clear","children","ck-dropdown-menu__nested-menu__panel","ck-ai-quick-actions","addMany","items","element","setTemplate","ArrowLeft","icon","forEach","ck-ai-quick-actions-group-list","label","locale","_createGroupActionsList","rtl","ck-reset_all","render","_createListItems","ck-ai-quick-actions-group-panel","ArrowRight","delete","_focusables","_openNestedPanels","extendTemplate","bindTemplate","relatedTarget","_hideNestedPanel","ck-rounded-corners","_bodyCollection","isVisible","show","set","850762pROAie","content","div","_hideAllNestedPanels","7FieTdz","focusTracker","mouseleave","_isMovingToNestedMenu","addEventListener","6281600aMtNKF","detachFromDom","hide","3542790iXxwNE","pin","_setupGroupMenuBehavior","_createActionGroupButton","destroy","bind","_createActionButton","menuitem","role","actions","contains","get","isOn","821755IPdVaS","focus","key","_showNestedPanel","6029924weDSAR","uiLanguageDirection","ck-ai-quick-actions-group-button","ck-dropdown-menu-list","keystrokes",".ck-ai-quick-actions-group-list"];return(PT=function(){return t})()}class DT extends a.View{[OT(558)];[OT(519)];[OT(567)];[OT(516)];[OT(551)];[OT(524)];[OT(552)]=new Set;constructor(t,e,n,i){const r=OT,o=t[r(542)];super(o),this[r(558)]=i;const c=this[r(547)](t,e,n);this[r(519)]=new a.ListView(o),this[r(519)][r(503)]=MT,this[r(519)][r(534)][r(533)](c),this[r(567)]=new s.FocusTracker,this[r(516)]=new s.KeystrokeHandler,this[r(551)]=c,this[r(524)]=new a.FocusCycler({focusables:this[r(551)],focusTracker:this[r(567)],keystrokeHandler:this[r(516)]}),this[r(536)]({tag:r(564),attributes:{class:["ck",r(545),r(532),r(557)],dir:o[r(513)]},children:[this[r(519)]]})}[OT(547)](t,e,n){const i=OT,r=new a.ViewCollection;return e[i(539)](e=>{const o=i;o(504)in e?r[o(523)](this[o(498)](t,e,n)):r[o(523)](this[o(501)](t,e))}),r}[OT(501)](t,e){const n=OT,i=new a.ListItemView(this[n(542)]),r=RT(t,e,!0)();return i[n(530)][n(523)](r),i}[OT(498)](t,e,n){const i=OT,r=new a.ListItemView(this[i(542)]),o=new a.DropdownMenuButtonView(this[i(542)]),s=o[i(554)],c=i(544)===n[i(542)][i(513)]?i(549):i(537),l=this[i(543)](t,e[i(504)],n);o[i(561)]({label:e[i(541)],withText:!0,role:LT,icon:e[i(538)]??xT}),o[i(553)]({on:{mouseenter:s.to(()=>{o[i(509)]()})}});const u=new a.BalloonPanelView(this[i(542)]);return u[i(553)]({attributes:{class:["ck",i(545),i(548),i(531)]},on:{keydown:s.to(t=>{const e=i;t[e(510)]==c&&(o[e(509)](),this[e(556)](u))})}}),o[i(500)](i(507)).to(u,i(559)),this[i(558)][i(523)](u),u[i(563)][i(523)](l),this[i(576)](o,u),r[i(530)][i(523)](o),r}[OT(543)](t,e,n){const i=OT,r=new a.ListView(this[i(542)]);return r[i(553)]({attributes:{class:["ck",i(545),i(540),i(515)]}}),e[i(539)](e=>{const o=i,s=new a.ListItemView(this[o(542)]),c=RT(t,e,!0,!1)();s[o(530)][o(523)](c),n[o(567)][o(523)](c),r[o(534)][o(523)](s)}),r}[OT(576)](t,e){const n=OT,i=t[n(554)],r=n(544)===t[n(542)][n(513)]?n(537):n(549);t[n(553)]({attributes:{class:[n(514)]},on:{mouseenter:i.to(()=>{this[n(511)](e,t)}),mouseleave:i.to(t=>{const i=n,r=t[i(555)];this[i(569)](r,e)||this[i(556)](e)}),keydown:i.to(i=>{const o=n;i[o(510)]==r&&(this[o(511)](e,t),e[o(563)][o(506)](0)[o(509)]())})}}),e.on(n(546),()=>{const i=n;e[i(535)]?.[i(570)](i(568),n=>{const r=i,o=n[r(555)];t[r(535)]?.[r(505)](o)||this[r(569)](o,e)||this[r(556)](e)})})}[OT(511)](t,e){const n=OT;this[n(552)][n(539)](e=>{const i=n;e!==t&&e[i(559)]&&e[i(573)]()}),t[n(560)](),t[n(575)]({positions:[a.DropdownMenuPanelPositioningFunctions[n(521)]],target:e[n(535)],fitInViewport:!0}),this[n(552)][n(523)](t)}[OT(556)](t){const e=OT;t[e(573)](),this[e(552)][e(550)](t)}[OT(565)](){const t=OT;this[t(552)][t(539)](e=>e[t(573)]()),this[t(552)][t(529)]()}[OT(569)](t,e){const n=OT;if(!t)return!1;if(e[n(535)]?.[n(505)](t))return!0;const i=t;return i[n(520)]&&(null!==i[n(520)](n(527))||null!==i[n(520)](n(517))||null!==i[n(520)](n(522)))}[OT(499)](){const t=OT;this[t(565)](),this[t(558)][t(572)](),super[t(499)]()}[OT(509)](){const t=OT;this[t(519)][t(509)]()}}function HT(t,e){const n=BT();return(HT=function(t,e){return n[t-=438]})(t,e)}function BT(){const t=["901989nIMnJb","ck-ai-quick-actions-dropdown","children","1498880whTXmv","panelView","28izcltn","locale","228RDOYnF","429987wGRCZm","112003bdznLm","buttonView","label","icon","4817400ZDIfdU","8RoHRAf","1297615oUKBYX","set","10361943RgXRki","add","12uTZMKl","4PFqKrb"];return(BT=function(){return t})()}function UT(t,e,n,i){return()=>{const r=HT,o=t[r(455)],s=(0,a.createDropdown)(o);s[r(438)][r(444)]({icon:n[r(440)]??xT,label:n[r(439)],tooltip:!0}),s[r(444)]({class:r(450)});const c=new DT(t,e,s,i);return s[r(453)][r(451)][r(446)](c),s}}!function(t){const e=HT,n=t();for(;;)try{if(998793===parseInt(e(458))/1*(parseInt(e(454))/2)+-parseInt(e(457))/3*(parseInt(e(448))/4)+-parseInt(e(443))/5*(-parseInt(e(447))/6)+-parseInt(e(441))/7+parseInt(e(442))/8*(parseInt(e(445))/9)+parseInt(e(452))/10+-parseInt(e(449))/11*(parseInt(e(456))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(BT);var VT=n(778),FT={attributes:{"data-cke":!0}};FT.setAttributes=Et(),FT.insert=yt().bind(null,"head"),FT.domAPI=vt(),FT.insertStyleElement=Tt();bt()(VT.A,FT);VT.A&&VT.A.locals&&VT.A.locals;const qT=zT;function zT(t,e){const n=$T();return(zT=function(t,e){return n[t-=169]})(t,e)}!function(t){const e=zT,n=t();for(;;)try{if(512874===parseInt(e(196))/1+-parseInt(e(287))/2+-parseInt(e(271))/3*(parseInt(e(229))/4)+parseInt(e(266))/5*(parseInt(e(214))/6)+-parseInt(e(193))/7*(parseInt(e(224))/8)+-parseInt(e(194))/9*(parseInt(e(253))/10)+parseInt(e(280))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($T);const GT=qT(181),jT=qT(169),WT=qT(273);var YT,KT;function $T(){const t=["457046RItBZB","other","AI_QUICK_ACTIONS_IMPROVE_WRITING","config","italian","<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>","ai.quickActions.removeCommands","AI_QUICK_ACTIONS_TRANSLATE_ENGLISH","length","ask-ai","make-tone-professional","isPremiumPlugin","highlight-key-points","adjust-length","translate-to-english","_initializeQuickActionsComponentsAndCommands","AI_QUICK_ACTIONS_MORE_DIRECT","<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>","AI_QUICK_ACTIONS_CHANGE_TONE","AIQuickActionsUI","_getDefaultAndCustomActions","AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN","add","make-tone-friendly","ACTION","requires","find","AI_QUICK_ACTIONS_CHAT_COMMANDS","AI_QUICK_ACTIONS_TRANSLATE_KOREAN","1694OrMaLH","18EyFzuu","translate-to-chinese","80207PKHabC","AI_QUICK_ACTIONS_MORE_PROFESSIONAL","_shouldIncludeAction","_prepareQuickActionsDefinition","AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING","AI_QUICK_ACTIONS_MAKE_LONGER","AI_QUICK_ACTIONS_MORE_FRIENDLY","AI_QUICK_ACTIONS_TRANSLATE_CHINESE","AI_QUICK_ACTIONS_ADJUST_LENGTH","fix-grammar","make-longer","chat-commands","locale","filter","summarize","AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS","pluginName","English","1524816YJvrsm","includes","AI_QUICK_ACTIONS_MORE_CASUAL","AI_QUICK_ACTIONS_OTHER","explain","get","improve-writing","english","type","push","19160CfQDAh","AI_QUICK_ACTIONS_EXPLAIN","AI_QUICK_ACTIONS_TRANSLATE","AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE","AIReviewMode","20StupGE","has","translate-to-japanese","_initializeQuickActionsDropdown","forEach","attachToDom","portuguese","_initializeQuickActionsComponents","AI_QUICK_ACTIONS_TRANSLATE_ITALIAN","CHAT","make-tone-confident","REVIEW","translate","DisplayNames","AI_QUICK_ACTIONS_MAKE_SHORTER","japanese","continue","make-tone-casual","AI_QUICK_ACTIONS_HEADING","replace","translate-to-french","translate-to-russian","french","translate-to-portuguese","727480npGZdK","init","AIActions","actions","AI_QUICK_ACTIONS_TRANSLATE_FRENCH","korean","chinese","editor","AI_QUICK_ACTIONS_TRANSLATE_JAPANESE","AI_QUICK_ACTIONS_CONTINUE_WRITING","AIChat","translate-to-korean","translate-to-italian","10vuHVGo","_quickActionsDefinition","uiLanguage","componentFactory","AI_QUICK_ACTIONS_ASK_AI","578373eaNrUg","language","<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>","make-tone-direct","map","isOfficialPlugin","change-tone","ai.quickActions.extraCommands","AI_QUICK_ACTIONS_SUMMARIZE","20261549RXpUDU","make-shorter","AI_QUICK_ACTIONS_MORE_CONFIDENT","russian","aiQuickActions","getDefaultQuickActions","plugins"];return($T=function(){return t})()}!function(t){const e=qT;t[e(238)]=e(238),t[e(188)]=e(188),t[e(240)]=e(240)}(YT||(YT={})),function(t){const e=qT;t[e(238)]=e(263),t[e(188)]=e(255),t[e(240)]=e(228)}(KT||(KT={}));class QT extends r.Plugin{static get[qT(189)](){return[a.BalloonToolbar]}static get[qT(212)](){return qT(183)}static get[qT(276)](){return!0}static get[qT(175)](){return!0}[qT(254)](){const t=qT;this[t(199)](this[t(184)]()),this[t(179)]()}static[qT(285)](t){return function(t){const e=zT,n=new(Intl[e(242)])(["en"],{type:e(272)}).of(t[e(268)])||e(213);return[{id:e(173),displayedPrompt:TT(t,e(270)),type:YT[e(238)],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(207),label:TT(t,e(191)),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(218),displayedPrompt:TT(t,e(225)),prompt:GT[e(248)]("%0",n),type:YT[e(238)]},{id:e(210),displayedPrompt:TT(t,e(279)),prompt:jT[e(248)]("%0",n),type:YT[e(238)]},{id:e(176),displayedPrompt:TT(t,e(211)),prompt:WT[e(248)]("%0",n),type:YT[e(238)]}]},{id:e(220),displayedPrompt:TT(t,e(289)),type:YT[e(188)],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(245),displayedPrompt:TT(t,e(262)),type:YT[e(188)],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(205),displayedPrompt:TT(t,e(200)),type:YT[e(188)],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(177),label:TT(t,e(204)),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(281),displayedPrompt:TT(t,e(243)),type:YT[e(188)]},{id:e(206),displayedPrompt:TT(t,e(201)),type:YT[e(188)]}]},{id:e(277),label:TT(t,e(182)),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(246),displayedPrompt:TT(t,e(216)),type:YT[e(188)]},{id:e(274),displayedPrompt:TT(t,e(180)),type:YT[e(188)]},{id:e(187),displayedPrompt:TT(t,e(202)),type:YT[e(188)]},{id:e(239),displayedPrompt:TT(t,e(282)),type:YT[e(188)]},{id:e(174),displayedPrompt:TT(t,e(197)),type:YT[e(188)]}]},{id:e(241),label:TT(t,e(226)),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(178),displayedPrompt:TT(t,e(171)),type:YT[e(188)],actionName:e(241),args:{language:e(221)}},{id:e(195),displayedPrompt:TT(t,e(203)),type:YT[e(188)],actionName:e(241),args:{language:e(259)}},{id:e(249),displayedPrompt:TT(t,e(257)),type:YT[e(188)],actionName:e(241),args:{language:e(251)}},{id:e(231),displayedPrompt:TT(t,e(261)),type:YT[e(188)],actionName:e(241),args:{language:e(244)}},{id:e(252),displayedPrompt:TT(t,e(227)),type:YT[e(188)],actionName:e(241),args:{language:e(235)}},{id:e(264),displayedPrompt:TT(t,e(192)),type:YT[e(188)],actionName:e(241),args:{language:e(258)}},{id:e(265),displayedPrompt:TT(t,e(237)),type:YT[e(188)],actionName:e(241),args:{language:e(291)}},{id:e(250),displayedPrompt:TT(t,e(185)),type:YT[e(188)],actionName:e(241),args:{language:e(283)}}]},{id:e(288),label:TT(t,e(217)),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)}[qT(184)](){const t=qT,e=QT[t(285)](this[t(260)][t(208)]),n=(this[t(260)][t(290)][t(219)](t(278))||[])[t(275)](t=>({...t,icon:void 0}));return e[t(190)](e=>t(288)===e.id)[t(256)][t(223)](...n),e}[qT(179)](){const t=qT,e=new a.BodyCollection(this[t(260)][t(208)]);e[t(234)](),this[t(232)](e),this[t(236)](e)}[qT(232)](t){const e=qT;this[e(260)].ui[e(269)][e(186)](e(284),UT(this[e(260)],this[e(267)],{icon:xT,label:TT(this[e(260)][e(208)],e(247))},t))}[qT(199)](t){const e=qT;this[e(267)]=t[e(275)](t=>{const n=e;if(n(256)in t){const e=t;return{...e,actions:e[n(256)][n(275)](t=>{const{actions:n,...i}=e;return{...t,parent:i}})[n(209)](t=>this[n(198)](t))}}return t})[e(209)](t=>e(256)in t?t[e(256)][e(172)]>0:this[e(198)](t))}[qT(198)](t){const e=qT,n=this[e(260)][e(290)][e(219)](e(170))||[];return this[e(260)][e(286)][e(230)](KT[t[e(222)]])&&!n[e(215)](t.id)}[qT(236)](t){const e=qT;this[e(267)][e(233)](n=>{const i=e;if(i(256)in n){const e=UT(this[i(260)],n[i(256)],n,t);this[i(260)].ui[i(269)][i(186)](n.id,e),n[i(256)][i(233)](t=>{const e=i,n=RT(this[e(260)],t);this[e(260)].ui[e(269)][e(186)](t.id,n)})}else{const t=RT(this[i(260)],n);this[i(260)].ui[i(269)][i(186)](n.id,t)}})}}const XT=JT;function JT(t,e){const n=ZT();return(JT=function(t,e){return n[t-=227]})(t,e)}function ZT(){const t=["chat","81zLXyBw","startConversation","78609ypENDO","_handleAIChatAction","REVIEW","actionName","handleAIReviewAction","sendMessage","AIChat","getSelectedBlocks","3426czFLTm","AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND","activateTab","setSelection","locale","document","7835CTysAy","prompt","schema","AITabs","ask-ai","CHAT","displayedPrompt","executeAction","log","15259nUoxdo","editor","_expandSelectionIfCollapsed","124HrARJY","model","plugins","_handleAIReviewAction","icon","addSelectionToChatContext","selection","3729540ydVMew","isCollapsed","view","args","492792chhUNO","AIActions","change","ai-quick-actions-plugin-not-found","4603797hJZVOC","type","AIChatController","8hbsSrh","removeSelectionFromChatContext","_handleAIActionsAction","focusPromptInput","getLimitElement","execute","180089KQTjRS","ACTION","get","AIReviewMode","has"];return(ZT=function(){return t})()}!function(t){const e=JT,n=t();for(;;)try{if(461663===-parseInt(e(254))/1*(-parseInt(e(275))/2)+-parseInt(e(231))/3*(-parseInt(e(257))/4)+parseInt(e(245))/5*(-parseInt(e(239))/6)+-parseInt(e(281))/7+-parseInt(e(268))/8*(-parseInt(e(229))/9)+parseInt(e(264))/10+-parseInt(e(272))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZT);class tC extends r.Command{[XT(280)](t){const e=XT;switch(t[e(273)]){case YT[e(250)]:if(!this[e(255)][e(259)][e(227)](e(237))){const t=TT(this[e(255)][e(243)],e(240),e(237));throw new s.CKEditorError(e(271),this[e(255)],{errorMessage:t})}this[e(232)](t);break;case YT[e(282)]:if(!this[e(255)][e(259)][e(227)](e(269))){const t=TT(this[e(255)][e(243)],e(240),e(269));throw new s.CKEditorError(e(271),this[e(255)],{errorMessage:t})}this[e(277)](t);break;case YT[e(233)]:if(!this[e(255)][e(259)][e(227)](e(284))){const t=TT(this[e(255)][e(243)],e(240),e(284));throw new s.CKEditorError(e(271),this[e(255)],{errorMessage:t})}this[e(260)](t)}}async[XT(232)](t){const e=XT,n=this[e(255)][e(259)][e(283)](e(237)),i=this[e(255)][e(259)][e(283)](e(274));this[e(255)][e(259)][e(283)](e(248))[e(266)][e(241)](e(228)),e(249)===t.id?(i[e(276)](),this[e(256)](),await n[e(262)](),n[e(278)]()):(await n[e(230)](),await n[e(262)](),await n[e(236)]({message:t[e(246)]||t[e(251)],quickActionData:{id:t.id,displayedPrompt:t[e(251)]}}))}[XT(256)](){const t=XT,e=this[t(255)],n=e[t(258)][t(244)][t(263)];if(!n[t(265)])return;const i=(0,s.first)(n[t(238)]())||e[t(258)][t(247)][t(279)](n);e[t(258)][t(270)](e=>{e[t(242)](i,"in")})}async[XT(277)](t){const e=XT,n=this[e(255)][e(259)][e(283)](e(269)),i=t[e(246)]?{userMessage:t[e(246)],model:t[e(258)]}:{actionName:t[e(234)]||t.id,args:t[e(267)]};await n[e(252)](i,t[e(251)],t[e(261)])}async[XT(260)](t){const e=XT;console[e(253)](e(235),t)}}const eC=nC;function nC(t,e){const n=rC();return(nC=function(t,e){return n[t-=393]})(t,e)}!function(t){const e=nC,n=t();for(;;)try{if(479982===-parseInt(e(399))/1*(parseInt(e(414))/2)+parseInt(e(405))/3*(parseInt(e(406))/4)+-parseInt(e(404))/5*(parseInt(e(419))/6)+parseInt(e(394))/7*(-parseInt(e(398))/8)+parseInt(e(393))/9*(-parseInt(e(417))/10)+parseInt(e(409))/11+parseInt(e(396))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rC);class iC extends r.Plugin{static get[eC(421)](){return eC(422)}static get[eC(401)](){return!0}static get[eC(411)](){return!0}[eC(416)](){const t=eC,e=this[t(397)],n=new tC(this[t(397)]);if(e[t(407)][t(395)](t(415),n),e[t(400)][t(420)](t(408))){const n=this[t(397)][t(400)][t(412)](t(408));e[t(402)][t(410)][t(413)].on(t(423),(e,i)=>{const r=t;i[r(403)]&&n[r(418)]()})}}}function rC(){const t=["plugins","isOfficialPlugin","model","directChange","1453055UyUCkm","1902741kKwLRm","4PtXuKG","commands","AIChat","1131119kpmBBJ","document","isPremiumPlugin","get","selection","1336748EWwBGv","aiQuickAction","init","44900sVsxbY","removeSelectionFromChatContext","12dyKAom","has","pluginName","AIQuickActionsEditing","change:range","360NcmdOn","5700198gbSJSX","add","23836992uCqHFR","editor","8dncgYR","1txsxEO"];return(rC=function(){return t})()}var oC=sC;function sC(t,e){var n=aC();return(sC=function(t,e){return n[t-=312]})(t,e)}function aC(){var t=["5DsTXwu","config","156XPgNEB","2929912GAZKDv","requires","28292319ABrXnJ","pluginName","212GstFdw","isPremiumPlugin","4398489pmEdeI","10268839HslQfP","isOfficialPlugin","673548ssCSEI","8AetNuW","ai.quickActions","1964796bNQrmX","define","10iFGntH","AIQuickActions"];return(aC=function(){return t})()}!function(t){for(var e=sC,n=t();;)try{if(774881===-parseInt(e(324))/1*(-parseInt(e(319))/2)+parseInt(e(329))/3+-parseInt(e(320))/4+parseInt(e(317))/5*(-parseInt(e(313))/6)+parseInt(e(327))/7*(-parseInt(e(330))/8)+-parseInt(e(326))/9*(-parseInt(e(315))/10)+parseInt(e(322))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aC);class cC extends r.Plugin{static get[oC(321)](){return[QT,iC]}static get[oC(323)](){return oC(316)}static get[oC(328)](){return!0}static get[oC(325)](){return!0}constructor(t){var e=oC;super(t),t[e(318)][e(314)](e(312),{extraCommands:[],removeCommands:[]})}}function lC(){const t=["20123379bCBOYv","8409mELceA","children","ai-actions-content","updateChangeGroups","11692816tDrbJi","changeGroups","3188912BBITnK","data-id","7IPoQUL","23975ZZcVyZ","cloneNode","parsedContent","push","pending","length","254dCGmFR","parsedMergedContent","4717686KtgQHS","1201277pofteN","modified"];return(lC=function(){return t})()}const uC=hC;function hC(t,e){const n=lC();return(hC=function(t,e){return n[t-=242]})(t,e)}!function(t){const e=hC,n=t();for(;;)try{if(767187===parseInt(e(244))/1+parseInt(e(262))/2*(parseInt(e(247))/3)+-parseInt(e(253))/4+-parseInt(e(256))/5+-parseInt(e(243))/6*(-parseInt(e(255))/7)+parseInt(e(251))/8+-parseInt(e(246))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lC);class dC extends C_{[uC(250)](){const t=uC;if(this[t(242)]=this[t(258)][t(257)](!0),this[t(258)][t(248)][t(261)]>0){const e=[];for(const n of this[t(258)][t(248)])if(kl(n)){const i=oh(n,t(254));i&&e[t(259)]({node:n,type:t(245),id:i})}e[t(261)]>0?this[t(252)]=[{changes:e,state:t(260),index:0}]:this[t(252)]=[{changes:[{node:this[t(258)][t(248)][0],type:t(245),id:t(249)}],state:t(260),index:0}]}else this[t(252)]=[]}}const pC=fC;function fC(t,e){const n=mC();return(fC=function(t,e){return n[t-=146]})(t,e)}function mC(){const t=["1443778JYiixd","fire","delegate","1575575MzBOSf","actionName","current-document","connector","getDocumentContext","args","version","328815oBKGVl","2016eJOMpP","1448SkydnP","executeAction","userMessage","replies","TEXT","34769OgYUnO","sendRequest","push","editor","createReply","html","model","replyCreated","executeCustomAction","content","Current document","8546695pbSQHz","4683549kxIiSl","6551844lmkUVz"];return(mC=function(){return t})()}!function(t){const e=fC,n=t();for(;;)try{if(860342===-parseInt(e(153))/1+-parseInt(e(150))/2+parseInt(e(148))/3+-parseInt(e(149))/4+-parseInt(e(147))/5+-parseInt(e(161))/6*(parseInt(e(167))/7)+-parseInt(e(162))/8*(-parseInt(e(160))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mC);class gC extends H_{[pC(176)];[pC(159)];[pC(154)];[pC(158)];[pC(164)];[pC(173)];constructor(t){const e=pC;super(t),this[e(176)]=t[e(176)],this[e(159)]=t[e(159)],this[e(154)]=t[e(154)],this[e(158)]=t[e(158)],this[e(164)]=t[e(164)],this[e(173)]=t[e(173)]}async[pC(168)](){const t=pC;return this[t(154)]?this[t(156)][t(163)]({content:this[t(176)],actionName:this[t(154)],args:this[t(158)]}):this[t(156)][t(175)]({content:this[t(176)],message:this[t(164)],model:this[t(173)],outputFormat:t(172)})}[pC(157)](){const t=pC;return{type:U_[t(166)],content:this[t(176)],version:this[t(159)],label:t(146),uiId:t(155)}}[pC(171)](t){const e=pC,n=new dC({editor:this[e(170)],documentContextContent:this[e(176)],...t});return this[e(165)][e(169)](n),n[e(152)](...D_).to(this),this[e(151)](e(174),n),n}}const kC=bC;function _C(){const t=["44NUlAqS","requires","_wrapWithCommonAncestors","93422zxVdXy","documentContextContent","_setupCustomViews","304KeLDNI","hasPendingParts","stop","_customViews","_balloonShowDiff","getFirstPosition","clearLoading","_applyOperationsAsSuggestions","updateContent","13632410RITpQE","toggleSuggestionDisplayMode","_clearLoadingState","_isAbortError","icon","close","processor","interactionFinished","_insertSuggestion","schema","replyContentUpdated","3517602vDswcS","replies","AIBalloon","root","isOfficialPlugin","isCollapsed","batch","data","message","catch","plugins","insertSuggestion","showLoader","694kjxJpE","getOperations","remove","first","addOperation","document","locale","isEnabled","previousInteractions","getSelectedContent","isBusy","model","getCommonAncestor","287465XoHsGr","1912MJJlvn","balloonView","startsWith","push","random","change","getDocumentContext","map","6973875XCRGge","set","add","Error refreshing interaction:","Error updating content in toggleSuggestionDisplayMode:","Error updating content in replyCreated:","_children","Error clearing loading state in interactionFinished:","warn","AIConnector","replyCreated","bodyView","pluginName","_clearInteractionHistory","setSelection","_applySuggestion","_interaction","stickiness","history","_clone","stopInteraction","getSelectionAsFragment","toData","documentFragment","listenTo","_currentInteractionParams","AI_ACTIONS_TRY_AGAIN","getAncestors","modelToViewWithIds","executeAction","get","getFirstRange","TrackChangesEditing","static","queueEmptyPromise","_aiConnector","slice","_clearSuggestionContent","end","focus","_anchorOperation","isPremiumPlugin","_appendChild","ai-request-aborted","getLimitElement","selection","_promiseQueue","error","_stopInteraction","_setLoadingState","TableSelection","Error updating content in replyContentUpdated:","731238kNlaYb","abort","baseVersion","_createInteraction","dialogClosed","getSelectedTableCells","changeGroups","path","No current interaction to refresh","_previousInteractions","ck-ai-custom-action-button","_executeActionOnTable","streaming","has","hideLoader","getSelectedBlocks","version","_executeActionRegular","main","applySuggestion","enqueue","getRanges","open","_refreshInteraction","execute","start","operationsA","applyOperation","setLoading","stopListening","length","editor","bind","AIActions"];return(_C=function(){return t})()}function bC(t,e){const n=_C();return(bC=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=bC,n=t();for(;;)try{if(392698===-parseInt(e(328))/1*(parseInt(e(342))/2)+-parseInt(e(402))/3+-parseInt(e(436))/4*(-parseInt(e(341))/5)+parseInt(e(315))/6+parseInt(e(439))/7*(-parseInt(e(442))/8)+-parseInt(e(350))/9+parseInt(e(451))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_C);class wC extends r.Plugin{static get[kC(437)](){return[Kc,a.Dialog,kb,by,ov]}static get[kC(362)](){return kC(435)}static get[kC(319)](){return!0}static get[kC(391)](){return!0}[kC(385)];[kC(411)]=[];[kC(375)];[kC(446)]=!1;[kC(445)]=new a.ViewCollection;[kC(396)];constructor(t){const e=kC;super(t),this[e(385)]=this[e(433)][e(325)][e(380)](e(359)),this[e(351)](e(338),!1),this[e(396)]=new MI,this[e(441)]()}[kC(370)](){this[kC(398)]()}get[kC(336)](){return this[kC(411)]}async[kC(379)](t,e,n){const i=kC;return this[i(433)][i(325)][i(415)](i(400))&&this[i(433)][i(325)][i(380)](i(400))[i(407)]()?this[i(413)](t,e,n):this[i(419)](t,e,n)}[kC(419)](t,e,n){const i=kC,r=this[i(433)][i(325)][i(380)](kb),o=this[i(433)][i(325)][i(380)](by),a=this[i(433)][i(339)][i(333)][i(395)];if(a[i(320)]){const t=(0,s.first)(a[i(417)]())||this[i(433)][i(339)][i(313)][i(394)](a);this[i(433)][i(339)][i(347)](e=>{e[i(364)](t,"in")})}const c=this[i(438)](this[i(433)][i(339)][i(337)](a),a),l=r[i(378)](c),u=this[i(433)][i(322)][i(457)][i(372)](l),h=this[i(433)][i(339)][i(333)][i(418)],d=[...a[i(423)]()],p=new JI(this[i(433)][i(334)],{showDiff:!1,areActionsDisabled:!1,hideHeader:!0,showLoader:!0,miniToolbarConfig:{showChanges:i(455),customView:this[i(445)]}});o[i(424)]({index:1e3*Math[i(346)]()%1e3,title:e,icon:n||xT,mainView:p,showRotator:!1,showApplyButton:!0,showSuggestButton:!0,ranges:d}),this[i(399)](p,o);const f=a[i(447)]();return this[i(374)](o,i(421),()=>{this[i(365)](f)}),this[i(374)](o,i(326),()=>{this[i(312)](f)}),this[i(374)](o,i(406),()=>{const t=i;this[t(398)](),this[t(363)](),this[t(431)](o)}),this[i(405)](u,h,p,o,t)}[kC(413)](t,e,n){const i=kC,r=this[i(433)][i(325)][i(380)](kb),o=this[i(433)][i(325)][i(380)](by),s=this[i(433)][i(339)][i(333)][i(395)],a=this[i(433)][i(325)][i(380)](i(400))[i(371)](),c=r[i(378)](a),l=this[i(433)][i(322)][i(457)][i(372)](c),u=this[i(433)][i(339)][i(333)][i(418)],h=[...s[i(423)]()],d=new JI(this[i(433)][i(334)],{showDiff:!1,areActionsDisabled:!1,hideHeader:!0,showLoader:!0,miniToolbarConfig:{showChanges:i(455),customView:this[i(445)]}});o[i(424)]({index:0,title:e,icon:n||xT,mainView:d,showRotator:!1,showApplyButton:!0,showSuggestButton:!0,ranges:h}),this[i(399)](d,o);const p=s[i(447)]();return this[i(374)](o,i(421),()=>{this[i(365)](p)}),this[i(374)](o,i(326),()=>{this[i(312)](p)}),this[i(374)](o,i(406),()=>{const t=i;this[t(396)][t(403)](),this[t(338)]=!1,this[t(431)](o)}),this[i(405)](l,u,d,o,t)}[kC(438)](t,e){const n=kC,i=e[n(381)]()[n(340)](),r=i.is(n(373))?[]:i[n(377)]({includeSelf:!0})[n(386)](1);if(r[n(432)]){const e=r[n(349)](t=>t[n(369)](!1));for(let t=1;t<e[n(432)];t++)e[t-1][n(392)](e[t]);return e[e[n(432)]-1][n(392)](t),new u.ModelDocumentFragment(e[0])}return t}async[kC(405)](t,e,n,i,r){const o=kC,s=this[o(433)];this[o(375)]={action:r,content:t,version:e,mainView:n,aiBalloon:i},this[o(366)]=new gC({connector:this[o(385)],editor:s,content:t,version:e,...r});const a=(t,e,n=!1,i=o(414))=>this[o(396)][o(422)](async r=>{const a=o;try{const o=Dv({editor:s,changeGroups:t[a(408)],documentContextContent:t[a(440)],showDiff:n,trimUnchanged:!1});await e[a(450)]({parts:o,renderingStrategy:i,abortSignal:r})}catch(t){if(this[a(454)](t))return;throw t}});this[o(366)].on(o(360),(t,e)=>{const i=o;n[i(416)](),a(e,n)[i(324)](t=>{const e=i;this[e(454)](t)||console[e(397)](e(355),t)})}),this[o(366)].on(o(314),(t,e)=>{const i=o;a(e,n)[i(324)](t=>{const e=i;this[e(454)](t)||console[e(397)](e(401),t)})}),this[o(366)].on(o(311),async()=>{const t=o;try{await this[t(453)](n,i)}catch(e){this[t(454)](e)||console[t(397)](t(357),e)}}),this[o(374)](n,o(452),(t,{showDiff:e})=>{const i=o;this[i(446)]=e;const r=this[i(366)][i(316)][this[i(366)][i(316)][i(432)]-1];r&&a(r,n,e,i(383))[i(324)](t=>{const e=i;this[e(454)](t)||console[e(397)](e(354),t)})}),this[o(399)](n,i);try{return await this[o(366)][o(427)]()}catch(t){if(this[o(454)](t))return;throw t}}[kC(312)](t){const e=kC,n=this[e(433)],i=this[e(433)][e(325)][e(380)](ov),r=this[e(366)],o=this[e(366)][e(316)][this[e(366)][e(316)][e(432)]-1],s=o[e(408)],a=Lv({editor:n,reply:o,interaction:r,groups:s,transform:!1,documentCompare:i,documentCompareOptions:{anchor:e(420),markDeletions:!0}});for(const n of a)this[e(390)](t,n);const c=r[e(348)]()[e(418)],l=n[e(339)][e(333)][e(368)][e(329)](c),h={document:n[e(339)][e(333)],useRelations:!1,padWithNoOps:!1},d=(0,u.transformOperationSets)(a,l,h)[e(428)];n[e(339)][e(347)](t=>{const i=e;t[i(364)](n[i(339)][i(333)][i(395)][i(389)]),n[i(325)][i(380)](i(382))[i(449)](d)}),this[e(433)][e(325)][e(380)](e(317))[e(456)]()}[kC(365)](t){const e=kC,n=this[e(433)],i=this[e(433)][e(325)][e(380)](ov),r=this[e(366)],o=this[e(366)][e(316)][this[e(366)][e(316)][e(432)]-1],s=o[e(408)],a=Lv({editor:n,reply:o,interaction:r,groups:s,transform:!1,documentCompare:i,documentCompareOptions:{anchor:e(420),markDeletions:!1}});for(const n of a)this[e(390)](t,n);const c=r[e(348)]()[e(418)],l=n[e(339)][e(333)][e(368)][e(329)](c),h={document:n[e(339)][e(333)],useRelations:!1,padWithNoOps:!1},d=(0,u.transformOperationSets)(a,l,h)[e(428)];n[e(339)][e(347)](t=>{const i=e;t[i(364)](n[i(339)][i(333)][i(395)][i(389)]);for(const e of d)e[i(404)]=n[i(339)][i(333)][i(418)],t[i(321)][i(332)](e),n[i(339)][i(429)](e)}),this[e(433)][e(325)][e(380)](e(317))[e(456)]()}[kC(390)](t,e){const n=kC;for(const t in e){const r=e[t];r instanceof u.ModelRange?e[t]=new u.ModelRange(i(r[n(427)]),i(r[n(388)])):r instanceof u.ModelPosition&&(e[t]=i(r))}function i(e){const i=n;if(e[i(318)]!=t[i(318)])return e;const r=e[i(409)][i(386)]();for(let e=0;e<t[i(409)][i(432)]&&e<r[i(432)];e++){const n=0!=r[e];if(r[e]+=t[i(409)][e],n)break}return new u.ModelPosition(e[i(318)],r,e[i(367)])}}[kC(425)](){const t=kC;if(!this[t(375)])return void console[t(358)](t(410));this[t(366)]&&(this[t(411)][t(345)](this[t(366)]),this[t(398)]());const{action:e,content:n,version:i,mainView:r,aiBalloon:o}=this[t(375)];this[t(387)](r),r[t(327)](),this[t(405)](n,i,r,o,e)[t(324)](e=>{const n=t;this[n(454)](e)||console[n(397)](n(353),e)})}[kC(387)](t){const e=kC,n=t[e(361)][e(356)];for(;n[e(432)]>0;)n[e(330)](n[e(331)]);t[e(361)][e(443)]=!1}[kC(454)](t){const e=kC;return!!t[e(323)]&&t[e(323)][e(344)](e(393))}[kC(363)](){const t=kC;this[t(411)]=[],this[t(375)]=void 0}[kC(398)](){const t=kC;this[t(366)]&&this[t(366)][t(444)](),this[t(396)][t(403)](),this[t(338)]=!1}[kC(441)](){const t=kC,e=new a.ButtonView(this[t(433)][t(334)]);e[t(351)]({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(433)][t(334)],t(376)),tooltip:!0,class:t(412)}),e[t(434)](t(335)).to(this,t(338),t=>!t),e.on(t(426),()=>{this[t(425)]()}),this[t(445)][t(352)](e)}[kC(399)](t,e){const n=kC;t[n(430)](),e[n(343)][n(430)](),this[n(338)]=!0}async[kC(453)](t,e){const n=kC;await this[n(396)][n(384)],this[n(338)]=!1,t[n(448)](),e[n(343)][n(448)]()}}function vC(t,e){var n=AC();return(vC=function(t,e){return n[t-=215]})(t,e)}var IC=vC;!function(t){for(var e=vC,n=t();;)try{if(736651===parseInt(e(225))/1+-parseInt(e(221))/2+-parseInt(e(218))/3+parseInt(e(219))/4*(-parseInt(e(220))/5)+parseInt(e(224))/6+-parseInt(e(222))/7+parseInt(e(227))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(AC);class yC{id;[IC(217)];[IC(226)];[IC(223)];[IC(215)];[IC(216)];constructor({id:t,title:e,description:n,isParameterized:i,useArgs:r,options:o}){var s=IC;this.id=t,this[s(217)]=e,this[s(226)]=n,this[s(223)]=i,this[s(215)]=r,this[s(216)]=o}}function AC(){var t=["1452087PYIhKZ","description","7748352BiHCDC","useArgs","options","title","3490458qIkADo","30596joTblc","845mhgcGl","97290aULZPW","1789410yIUvRV","isParameterized","6458772eZbUkV"];return(AC=function(){return t})()}var EC=TC;function xC(){var t=["15987422wVdsKT","models","333zzFjeK","12WsYmLm","8438408FhCLjM","1711697SLGuPK","2ROKewu","_models","7092005YpUTrB","1570830nQzriR","24BGeLcU","3696742oyUfXn","8DTWUhj","82990ojdSDl"];return(xC=function(){return t})()}function TC(t,e){var n=xC();return(TC=function(t,e){return n[t-=343]})(t,e)}!function(t){for(var e=TC,n=t();;)try{if(962040===parseInt(e(353))/1*(parseInt(e(354))/2)+-parseInt(e(343))/3*(-parseInt(e(346))/4)+parseInt(e(356))/5+parseInt(e(351))/6*(-parseInt(e(345))/7)+parseInt(e(352))/8+-parseInt(e(350))/9*(parseInt(e(347))/10)+parseInt(e(348))/11*(-parseInt(e(344))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xC);class CC extends yC{[EC(355)]=[];get[EC(349)](){return this[EC(355)]}set[EC(349)](t){this[EC(355)]=t}}const SC=RC;function RC(t,e){const n=OC();return(RC=function(t,e){return n[t-=282]})(t,e)}function OC(){const t=["english","Ensure the text is factually accurate and free of errors.","Japanese","Direct","data","Russian","Shorter","join","German","reduce","checks","Clarity","japanese","dropdown","clarity","russian","isParameterized","_getExpandedReviewChecks","Spanish","Translate the text into another language.","custom","2IrOhqw","spanish","3490nhDtxg","getCheckById","make-tone","shorter","Casual","Choose tone and style to change content as you need.","direct","friendly","make","Type a custom command to review the content exactly as you need.","map","Adjust tone and style","Select language","Korean","French","correctness","german","Portuguese","1916789XaVPqv","readability","Custom command","941508vgocAt","Longer","language","longer","5950314yfMLBn","2526BJIVhk","translate","Translate","label","4eKLdOD","Improve the clarity and readability of the text.","Enhance the overall readability of the text.","Italian","chinese","french","Adjust length","confident",": \n","8237240QQLCqa","7855tirJbN","Refine text length to match your needs.","English","Readability","length","Chinese (Simplified)","Friendly","flatMap","_checks","find","284379ZCRrSL","options","korean","useArgs","Confident","12034gqoYDj","title","_getAvailableReviewChecks","casual","Correctness","Professional","portuguese","italian","professional","getExpandedChecks"];return(OC=function(){return t})()}!function(t){const e=RC,n=t();for(;;)try{if(648742===parseInt(e(330))/1*(-parseInt(e(307))/2)+parseInt(e(359))/3*(-parseInt(e(339))/4)+-parseInt(e(349))/5*(parseInt(e(335))/6)+parseInt(e(327))/7+parseInt(e(348))/8+parseInt(e(334))/9+-parseInt(e(309))/10*(-parseInt(e(364))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(OC);const NC=[{id:SC(306),title:SC(329),description:SC(318),isParameterized:!0},{id:SC(324),title:SC(368),description:SC(287),isParameterized:!1},{id:SC(300),title:SC(297),description:SC(340),isParameterized:!1},{id:SC(328),title:SC(352),description:SC(341),isParameterized:!1},{id:SC(317),title:SC(345),description:SC(350),isParameterized:!0,options:[{formType:SC(299),label:SC(345),default:SC(333),data:[{label:SC(331),id:SC(333)},{label:SC(292),id:SC(312)}]}]},{id:SC(311),title:SC(320),description:SC(314),isParameterized:!0,options:[{formType:SC(299),label:SC(320),default:SC(367),data:[{label:SC(313),id:SC(367)},{label:SC(289),id:SC(315)},{label:SC(355),id:SC(316)},{label:SC(363),id:SC(346)},{label:SC(369),id:SC(284)}]}]},{id:SC(336),title:SC(337),description:SC(305),isParameterized:!0,useArgs:!0,options:[{formType:SC(299),label:SC(321),default:SC(308),argsKey:SC(332),data:[{label:SC(351),id:SC(286)},{label:SC(304),id:SC(308)},{label:SC(323),id:SC(344)},{label:SC(294),id:SC(325)},{label:SC(354),id:SC(343)},{label:SC(288),id:SC(298)},{label:SC(291),id:SC(301)},{label:SC(326),id:SC(282)},{label:SC(322),id:SC(361)},{label:SC(342),id:SC(283)}]}]}];class MC extends((0,s.ObservableMixin)()){[SC(357)];constructor(){const t=SC;super(),this[t(357)]=this[t(366)]()}get[SC(296)](){return this[SC(357)]}get[SC(285)](){return this[SC(303)]()}[SC(310)](t){const e=SC;return this[e(285)][e(358)](e=>e.id===t)}[SC(366)](){const t=SC;return NC[t(319)](e=>t(306)===e.id?new CC(e):new yC(e))}[SC(303)](){const t=SC;return NC[t(356)](e=>{const n=t;if(e?.[n(362)])return[e];if(e[n(302)]&&e[n(360)]?.[n(353)]){return e[n(360)][n(319)](t=>t[n(290)]||[])[n(295)]((t,e)=>t[n(356)](t=>e[n(319)](e=>[...t,e])),[[]])[n(319)](t=>{const i=n,r=t[i(319)](t=>t.id)[i(293)]("-"),o=t[i(319)](t=>t[i(338)])[i(293)](", ");return{...e,id:e.id+"-"+r,title:e[i(365)]+i(347)+o,selectedOptions:t}})}return[e]})}}function LC(){var t=["contentInitial","1273070LxJIFJ","contentNew","documentVersion","1923365dNWVnB","4eNTOWN","6071283yvRBmE","8362145AjGclQ","8nBiVEQ","6FKyAYb","1475978ywKGCM","34522xutNVN","32KCPRpp","1268181RFpfBI"];return(LC=function(){return t})()}var PC=DC;function DC(t,e){var n=LC();return(DC=function(t,e){return n[t-=157]})(t,e)}!function(t){for(var e=DC,n=t();;)try{if(337853===-parseInt(e(163))/1*(-parseInt(e(164))/2)+parseInt(e(165))/3*(parseInt(e(157))/4)+-parseInt(e(170))/5*(parseInt(e(161))/6)+-parseInt(e(162))/7+-parseInt(e(160))/8*(parseInt(e(158))/9)+-parseInt(e(167))/10+parseInt(e(159))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(LC);class HC extends((0,s.EmitterMixin)()){id;[PC(168)];[PC(166)];[PC(169)];constructor({id:t,contentNew:e,contentInitial:n,documentVersion:i}){var r=PC;super(),this.id=t,this[r(168)]=e,this[r(166)]=n,this[r(169)]=i}}var BC=UC;function UC(t,e){var n=VC();return(UC=function(t,e){return n[t-=131]})(t,e)}function VC(){var t=["status","3xPwbrY","377126dmOidX","1354940QGvOyY","2021224DrovSg","contentDiffed","parent","context","2721645WIlLbx","set","operationsIsolated","_data","active","operations","16dZJbFL","6421478wYNWoW","3843822nudrwY","_editorOperations","197207weWvRZ"];return(VC=function(){return t})()}!function(t){for(var e=UC,n=t();;)try{if(710219===-parseInt(e(140))/1+parseInt(e(143))/2+-parseInt(e(142))/3*(parseInt(e(145))/4)+parseInt(e(144))/5+parseInt(e(138))/6+parseInt(e(137))/7+-parseInt(e(136))/8*(parseInt(e(149))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(VC);class FC extends((0,s.ObservableMixin)()){id;[BC(147)];[BC(133)];[BC(139)]=[];constructor(t,e,n){var i=BC;super(),this.id=t,this[i(147)]=n,this[i(133)]=e,this[i(131)](i(141),i(134))}get[BC(146)](){var t=BC;return this[t(133)][t(148)]()}get[BC(135)](){var t=BC;return this[t(133)][t(135)]}get[BC(132)](){var t=BC;return this[t(133)][t(132)]}}const qC=zC;function zC(t,e){const n=jC();return(zC=function(t,e){return n[t-=146]})(t,e)}!function(t){const e=zC,n=t();for(;;)try{if(340856===-parseInt(e(217))/1+parseInt(e(148))/2*(parseInt(e(189))/3)+parseInt(e(210))/4*(-parseInt(e(218))/5)+parseInt(e(161))/6*(-parseInt(e(175))/7)+parseInt(e(215))/8+parseInt(e(190))/9+-parseInt(e(213))/10*(-parseInt(e(204))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(jC);class GC extends((0,s.ObservableMixin)()){id=(0,s.uid)();[qC(180)]=new Map;[qC(164)]=[];[qC(156)];[qC(194)];[qC(155)];[qC(149)];[qC(221)]=null;[qC(202)];constructor(t,e,n,i){const r=qC;super(),this[r(156)]=t,this[r(194)]=e,this[r(155)]=n,this[r(149)]=i,this.on(r(195),(t,e,n)=>{const i=r;this[i(176)](i(172),{status:n,run:this,error:this[i(202)]})}),this[r(188)](r(158),r(187))}get[qC(184)](){return this[qC(156)]}get[qC(163)](){const t=qC;return this[t(180)][t(191)]}async[qC(160)](){const t=qC;this[t(158)]=t(197),this[t(202)]=void 0;try{this[t(221)]=this[t(152)]();const e=await this[t(221)][t(169)]();this[t(158)]=t(157);for await(const n of e)t(206)!==n[t(157)][t(185)]&&(t(146)!==n[t(157)][t(185)]?this[t(178)](n[t(157)][t(170)],n[t(157)][t(214)]):this[t(158)]=t(183));t(183)!==this[t(158)]&&(this[t(158)]=t(177))}catch(e){this[t(202)]=e,e instanceof Error&&e[t(171)][t(212)](t(186))?this[t(158)]=t(196):this[t(158)]=t(198)}finally{this[t(221)]=null}}async[qC(192)](){const t=qC;this[t(180)][t(173)](),this[t(164)][t(167)]=0,this[t(202)]=void 0,await this[t(160)]()}[qC(209)](t,e){const n=qC,i=this[n(180)][n(219)](t);if(!i)return;const r=[];e[n(199)]((t,e)=>{const o=n,s=new FC(i.id+"-"+e,t,i);s.on(o(195),()=>{const t=o;t(216)===s[t(158)]?this[t(176)](t(147),{change:s}):t(205)===s[t(158)]&&this[t(176)](t(165),{change:s})}),this[o(164)][o(200)](s),r[o(200)](s)}),this[n(176)](n(166),{changes:r,result:i,source:this})}[qC(211)](){const t=qC;this[t(221)]&&(this[t(221)][t(154)][t(211)](),this[t(221)]=null,this[t(158)]=t(196))}[qC(174)](t){const e=qC,n=this[e(164)][e(159)](e=>e.id===t);return!(!n||e(150)!==n[e(158)])}[qC(193)](){const t=qC;return this[t(164)][t(153)](e=>t(150)===e[t(158)])}[qC(207)](){const t=qC;for(const e of this[t(164)])t(150)===e[t(158)]&&(e[t(158)]=t(216));this[t(203)]()}[qC(151)](t){const e=qC,n=this[e(164)][e(159)](e=>e.id===t);n&&e(150)===n[e(158)]&&(n[e(158)]=e(216)),this[e(203)]()}[qC(162)](t){const e=qC,n=this[e(164)][e(159)](e=>e.id===t);n&&e(150)===n[e(158)]&&(n[e(158)]=e(205)),this[e(203)]()}[qC(168)](){const t=qC;this[t(158)]=t(177)}[qC(178)](t,e){const n=qC,i=this[n(156)][n(220)][n(219)](t);if(!i)return;const r=i[n(201)]();if(r===e)return;const o=new HC({id:t,contentInitial:r,contentNew:e,documentVersion:this[n(156)][n(179)]});this[n(180)][n(188)](o.id,o),this[n(176)](n(182),{result:o,source:this})}[qC(203)](){const t=qC;t(177)===this[t(158)]&&0===this[t(164)][t(153)](e=>t(150)===e[t(158)])[t(167)]&&(this[t(158)]=t(181))}[qC(152)](){throw new Error(qC(208))}}function jC(){const t=["getContent","_currentError","_checkIfFinished","2178946BVISTk","rejected","unmodified","markAllChangesAsAccepted","Not implemented.","addResultChanges","4ftoXPG","abort","includes","10sJIaJS","textDelta","3050544ttFMwN","accepted","166677IqwsZt","2222245hSlFnS","get","elements","_activeRequest","error","reviewCheckResultAccepted","2OqFUca","_reviewArgs","active","markChangeAsAccepted","_createApiRequest","filter","abortController","_aiConnector","_documentData","data","status","find","start","11988hCTTWr","markChangeAsRejected","processedResultsCount","_changes","reviewCheckResultRejected","reviewCheckResultReady","length","forceReadyState","getStream","dataId","message","reviewCheckRunUpdated","clear","isChangeActive","315wGeLuw","fire","ready","_addReviewCheckResult","version","_results","finished","reviewCheckResultAdded","error-chunk","documentData","operation","ai-request-aborted","initialized","set","437787QOHcly","2849031uCnLEL","size","restart","getActiveChanges","_sourceCheck","change:status","aborted","loading","error-general","forEach","push"];return(jC=function(){return t})()}var WC=YC;function YC(t,e){var n=KC();return(YC=function(t,e){return n[t-=317]})(t,e)}function KC(){var t=["670628KTpfSE","_aiConnector","_documentData","_sourceCheck","callSystemReview","7KuILCM","278949Zmaena","94212UwFfTJ","content","1201488SEciaz","_reviewArgs","_createApiRequest","196825XSNkJZ","5wnccmt","4009432CvNWsZ","198222BsSYkD"];return(KC=function(){return t})()}!function(t){for(var e=YC,n=t();;)try{if(453389===-parseInt(e(329))/1+parseInt(e(332))/2+parseInt(e(323))/3+parseInt(e(317))/4+-parseInt(e(330))/5*(parseInt(e(326))/6)+-parseInt(e(322))/7*(-parseInt(e(331))/8)+-parseInt(e(324))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(KC);class $C extends GC{[WC(328)](){var t=WC;return this[t(318)][t(321)]({reviewName:this[t(320)].id,content:this[t(319)][t(325)],args:this[t(327)]})}}function QC(t,e){var n=ZC();return(QC=function(t,e){return n[t-=158]})(t,e)}var XC=QC;!function(t){for(var e=QC,n=t();;)try{if(672381===-parseInt(e(173))/1*(parseInt(e(170))/2)+-parseInt(e(172))/3+-parseInt(e(171))/4+parseInt(e(158))/5*(parseInt(e(163))/6)+-parseInt(e(166))/7+-parseInt(e(161))/8+parseInt(e(165))/9*(parseInt(e(164))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ZC);class JC extends GC{[XC(162)];[XC(169)];constructor(t,e,n,i,r){var o=XC;super(n,i,r),this[o(162)]=t,this[o(169)]=e}[XC(159)](){var t=XC;return this[t(168)][t(174)]({content:this[t(160)][t(167)],prompt:this[t(162)],model:this[t(169)]})}}function ZC(){var t=["_model","12790bZsyWE","1744136aNBghh","3621546bvUSHy","10cSfDff","callCustomReview","397470eeEOGC","_createApiRequest","_documentData","8536288xFjcbd","_prompt","18HzCLFH","30rzXITd","11648178jQHIjM","4722375jeKSHf","content","_aiConnector"];return(ZC=function(){return t})()}const tS=nS;!function(t){const e=nS,n=t();for(;;)try{if(544260===-parseInt(e(503))/1+parseInt(e(495))/2+parseInt(e(499))/3*(-parseInt(e(502))/4)+parseInt(e(497))/5+-parseInt(e(493))/6+-parseInt(e(492))/7*(-parseInt(e(494))/8)+parseInt(e(498))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(iS);class eS extends((0,s.EmitterMixin)()){[tS(504)]=[];[tS(505)];constructor({connector:t}){const e=tS;super(),this[e(505)]=t}async[tS(507)](){const t=tS;if(!this[t(504)][t(501)])try{const e=this[t(505)][t(500)](),n=await e[t(496)]();this[t(504)]=n[t(506)]}catch{}return this[t(504)]}}function nS(t,e){const n=iS();return(nS=function(t,e){return n[t-=492]})(t,e)}function iS(){const t=["list","2800170lJXoKP","8872713JeVryc","306081cmSJCD","getModels","length","8uCCUYZ","644290pIMNcW","_modelList","_connector","items","getAll","13237mXyFNA","4039590KrpHzT","1976yFyKJm","105802wvAjBK"];return(iS=function(){return t})()}const rS=sS;function oS(){const t=["setAvailableChecks","finished","acceptAllChanges","aireviewmode-check-run-failed","dismissChange","args","model","reviewCheckRunUpdated","isOfficialPlugin","isCustom","status","abortReviewStream","showReviewCompletedView","markChangePositionInEditorContent","listenTo","getDocumentData","rejectChange","get","switchToReadOnly","init","markAllChangesAsAccepted","error-chunk","_aiReviewCheckList","reviewCheckResultReady","getContentElement","aireviewmode-no-current-check-run","ck-ai-review-mode-highlights","start","AIReviewModeController","aireviewmode-source-check-not-found","map","showChunkErrorView","requires","toggleDiff","markChangeAsAccepted","isChangeActive","_currentReviewCheckRun","loading","_onReviewModeRunLeave","restart","checks","aborted","_onDiffChange","pluginName","accepted","75970qQcifa","AIConnector","result","8LOgukh","runReviewCheck","967014uezPPB","showActionsWhenResultIsReady","showCheckRunResult","contentNew","length","_isDiffOn","models","abort","message","_aiReviewModeUi","markChangeAsRejected","_aiConnector","clearAllMarkers","scrollToChangeInEditorContent","prompt","classList","147558IhTHie","resetActiveStateInResults","retryReview","scrollToSuggestionInDocument","rejected","_aiReviewModeEditing","switchToEdit","AIReviewModeEditing","title","getReviewCheckList","showCheckRunResults","find","AIReviewModeUI","showReviewCheckList","includes","error-general","contentInitial","reviewCheckResultAdded","forceReadyState","406178BnTULa","add","diffContent","plugins","isPremiumPlugin","source","context","ready","change","stopListening","setCheckResultTitle","getActiveChanges","getCheckById","setItemAsActive","addResultChanges","custom","remove","888453ruzCaw","reviewCheckResultRejected","reviewCheckResultAccepted","showGeneralErrorView","ai-request-aborted","leaveReviewModeResultList","data","getAll","finishReview","processedResultsCount","leaveReviewMode","ck-ai-review-mode-diff","changes","documentData","updateChangeState","1795710IXGmKf","_logError","applyChange","40XHFmRx","acceptChange","319043Reizsm"];return(oS=function(){return t})()}function sS(t,e){const n=oS();return(sS=function(t,e){return n[t-=270]})(t,e)}!function(t){const e=sS,n=t();for(;;)try{if(173042===parseInt(e(288))/1+-parseInt(e(374))/2+-parseInt(e(355))/3+parseInt(e(337))/4*(parseInt(e(334))/5)+-parseInt(e(339))/6+-parseInt(e(283))/7+parseInt(e(286))/8*(parseInt(e(391))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(oS);class aS extends r.ContextPlugin{[rS(350)];[rS(348)];[rS(360)];[rS(311)];[rS(325)];[rS(344)]=!1;static get[rS(321)](){return[Kc]}static get[rS(332)](){return rS(317)}static get[rS(297)](){return!0}static get[rS(378)](){return!0}[rS(308)](){const t=rS;this[t(350)]=this[t(380)][t(377)][t(306)](t(335)),this[t(348)]=this[t(380)][t(377)][t(306)](t(367)),this[t(360)]=this[t(380)][t(377)][t(306)](t(362)),this[t(311)]=new MC,this[t(303)](this[t(348)],t(364),async()=>{const e=t,n=new eS({connector:this[e(350)]});this[e(311)][e(329)][e(366)](t=>e(389)===t.id)[e(345)]=await n[e(275)](),this[e(348)][e(289)](this[e(311)][e(329)])}),this[t(303)](this[t(348)],t(338),async(e,n)=>{const i=t,r=this[i(311)][i(386)](n.id);if(r){this[i(331)](this[i(344)]),n[i(298)]?(this[i(348)][i(384)](n[i(294)][i(353)]),this[i(325)]=new JC(n[i(294)][i(353)],n[i(294)][i(295)],this[i(360)][i(304)](),r,this[i(350)])):(this[i(348)][i(384)](r[i(363)]),this[i(325)]=new $C(this[i(360)][i(304)](),r,this[i(350)],n[i(294)])),this[i(325)].on(i(296),(t,e)=>{const n=i;n(274)===e[n(299)]||n(326)===e[n(299)]?(this[n(360)][n(307)](),this[n(348)][n(365)](e)):n(290)===e[n(299)]?this[n(348)][n(301)]():n(381)===e[n(299)]?this[n(348)][n(340)]():n(370)===e[n(299)]?this[n(348)][n(271)]():n(310)===e[n(299)]?this[n(348)][n(320)]():n(330)===e[n(299)]&&(this[n(325)]&&this[n(325)][n(277)]>0?setTimeout(()=>{const t=n;this[t(325)]?.[t(373)]()},0):this[n(327)](!0))}),this[i(325)].on(i(372),(t,e)=>{const n=i;if(!this[n(325)])throw new s.CKEditorError(n(314),this);const r=this[n(360)][n(376)](e[n(336)][n(371)],e[n(336)][n(342)]);e[n(379)][n(388)](e[n(336)].id,r)}),this[i(325)].on(i(312),(t,e)=>{const n=i;for(const t of e[n(280)])this[n(348)][n(341)](t);this[n(360)][n(302)](e[n(280)],e[n(379)][n(281)])}),this[i(325)].on(i(270),(t,e)=>{const n=i;this[n(348)][n(282)](e[n(382)].id,n(333))}),this[i(325)].on(i(392),(t,e)=>{const n=i;this[n(348)][n(282)](e[n(382)].id,n(359))});try{await this[i(325)][i(316)]()}catch(t){t instanceof Error&&t[i(347)][i(369)](i(272))||(t instanceof s.CKEditorError?this[i(284)](t):this[i(284)](new s.CKEditorError(i(292),this,{error:t})))}}else this[i(284)](new s.CKEditorError(i(318),this,{checkId:n.id}))}),this[t(303)](this[t(348)],t(278),()=>{this[t(327)]()}),this[t(303)](this[t(348)],t(273),()=>{this[t(327)](!0)}),this[t(303)](this[t(348)],t(300),()=>{const e=t;this[e(325)]&&this[e(325)][e(346)]()}),this[t(303)](this[t(348)],t(276),()=>{this[t(327)](!0)}),this[t(303)](this[t(348)],t(291),async()=>{const e=t;if(!this[e(325)])return;const n=this[e(325)][e(385)]();n[e(343)]&&(this[e(360)][e(285)](n[e(319)](t=>t.id)),this[e(325)][e(309)]())}),this[t(303)](this[t(348)],t(287),async(e,n)=>{const i=t;this[i(325)]&&this[i(325)][i(324)](n.id)&&(this[i(360)][i(285)]([n.id]),this[i(325)][i(323)](n.id))}),this[t(303)](this[t(348)],t(293),async(e,n)=>{const i=t;this[i(325)]&&this[i(325)][i(324)](n.id)&&(this[i(360)][i(305)](n.id),this[i(325)][i(349)](n.id))}),this[t(303)](this[t(348)],t(322),(e,n)=>{const i=t;this[i(344)]=n.on,this[i(331)](this[i(344)])}),this[t(303)](this[t(348)],t(357),async()=>{const e=t;this[e(325)]&&this[e(325)][e(328)]()}),this[t(303)](this[t(348)],t(358),async(e,n)=>{const i=t,{source:r}=n;this[i(348)][i(356)](),r[i(387)](),this[i(360)][i(352)]({id:n.id})})}[rS(327)](t=!1){const e=rS;this[e(325)]&&(this[e(325)][e(346)](),this[e(325)][e(383)](),this[e(325)]=void 0),t&&this[e(348)][e(368)](),this[e(360)][e(351)](),this[e(360)][e(361)]();const n=this[e(360)][e(313)]();n&&(n[e(354)][e(390)](e(279)),n[e(354)][e(390)](e(315)))}[rS(331)](t){const e=rS,n=this[e(360)][e(313)]();n&&(n[e(354)][e(390)](e(279)),n[e(354)][e(390)](e(315)),n[e(354)][e(375)](e(t?279:315)))}[rS(284)](t){const e=rS;(0,s.logError)(t[e(347)]),this[e(348)][e(271)]()}}const cS=uS;function lS(){const t=["7MAReTd","bindTemplate","_dropdownView","1128304KUFspU","isOn","listenTo","72hfiUTY","setTemplate","data","set","18tnbyXb","12340viIbBB","ck-reset_all","29668BemETj","find","_defaultValue","resetToDefault","length","model","656840wBfLRY","formValue","765FvyaQG","add","ck-ai-review-mode__check-list-item-parameterized-form-element","1071191dStxkP","1788966hucjXM","ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown","46714TgrsIn","div","button","stopPropagation","_defaultLabel","locale","buttonView","14maWqmh","default","execute","source","label","extendTemplate","_prepareListOptions","bind","menuitemradio","menu"];return(lS=function(){return t})()}function uS(t,e){const n=lS();return(uS=function(t,e){return n[t-=467]})(t,e)}!function(t){const e=uS,n=t();for(;;)try{if(180595===-parseInt(e(485))/1*(-parseInt(e(492))/2)+-parseInt(e(468))/3*(-parseInt(e(471))/4)+parseInt(e(477))/5+parseInt(e(483))/6+parseInt(e(502))/7*(-parseInt(e(505))/8)+parseInt(e(479))/9*(parseInt(e(469))/10)+parseInt(e(482))/11*(-parseInt(e(508))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lS);class hS extends a.View{[cS(504)];[cS(473)];[cS(489)];constructor(t,e){const n=cS;super(t),this[n(473)]=e[n(493)]||(e[n(510)][n(475)]>0?e[n(510)][0].id:""),this[n(489)]=e[n(510)][n(472)](t=>t.id===this[n(473)])?.[n(496)]||"",this[n(467)](n(478),""),this[n(504)]=(0,a.createDropdown)(this[n(490)]);const i=this[n(498)](e[n(510)]);(0,a.addListToDropdown)(this[n(504)],i,{role:n(501),ariaLabel:e[n(496)]}),this[n(504)][n(491)][n(467)]({label:this[n(489)],withText:!0}),this[n(504)][n(497)]({on:{click:this[n(503)].to(t=>{t[n(488)]()})}}),this[n(507)](this[n(504)],n(494),t=>{const e=n;this[e(478)]=t[e(495)][e(476)].id,this[e(504)][e(491)][e(496)]=t[e(495)][e(476)][e(496)]}),this[n(509)]({tag:n(486),attributes:{class:["ck",n(470),n(481),n(484)]},children:[this[n(504)]]})}[cS(474)](){const t=cS;this[t(478)]=this[t(473)],this[t(504)][t(491)][t(496)]=this[t(489)]}[cS(498)](t=[]){const e=cS,n=new s.Collection;this[e(474)]();for(const i of t){const t=new a.UIModel({label:i[e(496)],withText:!0,role:e(500),id:i.id,model:i});t[e(499)](e(506)).to(this,e(478),e=>e===t.id);const r={type:e(487),model:t};n[e(480)](r)}return n}}function dS(t,e){const n=fS();return(dS=function(t,e){return n[t-=222]})(t,e)}const pS=dS;function fS(){const t=["3996kevvZm","ck-ai-review-mode__form-item","36203687wFfKTh","_formItem","div","18300xTetaB","12HMxuRh","10KbbFxU","42SQpoMj","561FJYAJS","ck-reset_all","59689tVfyrt","locale","add","formValue","13361238bVgYWr","2143575BwTxIw","formType","resetToDefault","dropdown","1705iNFArA","bind","children","ck-form__row_with-submit","set","argsKey","24qgmmfc","value","5972967PwGDae","setTemplate"];return(fS=function(){return t})()}!function(t){const e=dS,n=t();for(;;)try{if(801947===-parseInt(e(227))/1*(parseInt(e(224))/2)+-parseInt(e(225))/3*(parseInt(e(251))/4)+-parseInt(e(236))/5*(parseInt(e(246))/6)+parseInt(e(244))/7+parseInt(e(242))/8*(parseInt(e(232))/9)+parseInt(e(223))/10*(-parseInt(e(231))/11)+parseInt(e(222))/12*(parseInt(e(248))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(fS);class mS extends a.ListItemView{[pS(249)]=null;constructor(t,e,n){const i=pS;super(t),this[i(241)]=e?.[i(241)],i(235)===e[i(233)]&&(this[i(249)]=new hS(this[i(228)],e)),this[i(240)](i(243),""),this[i(237)](i(243)).to(this[i(249)],i(230));const r=new a.FormRowView(this[i(228)],{children:[this[i(249)]],class:[n?i(239):""]});n&&r[i(238)][i(229)](n),this[i(245)]({tag:i(250),attributes:{class:["ck",i(247),i(226)]},children:[r]})}[pS(234)](){const t=pS;this[t(249)][t(234)]()}}var gS=kS;function kS(t,e){var n=_S();return(kS=function(t,e){return n[t-=356]})(t,e)}function _S(){var t=["trim","9zoocam","set","475218rWGlXD","setPlaceholderText","ai-review-mode-prompt-input","minRows","1294412Tucbov","value","placeholder","5rpJPQg","element","bindTemplate","render","extendTemplate","MIN_ROWS","1bsSKJM","5203230lqZbwt","1905312uGmmGo","update","2147206YlLuXd","2813184BrtFcs","MAX_ROWS","isEmpty","ck-review-mode__prompt-input","maxRows","6526480FRWiVU","stopPropagation"];return(_S=function(){return t})()}!function(t){for(var e=kS,n=t();;)try{if(582189===-parseInt(e(362))/1*(-parseInt(e(366))/2)+-parseInt(e(364))/3+parseInt(e(367))/4+parseInt(e(356))/5*(-parseInt(e(377))/6)+-parseInt(e(381))/7+-parseInt(e(372))/8+parseInt(e(375))/9*(parseInt(e(363))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_S);class bS extends a.TextareaView{static[gS(361)]=1;static[gS(368)]=12;constructor(t){var e=gS;super(t),this[e(376)](e(369),!0),this[e(380)]=bS[e(361)],this[e(371)]=bS[e(368)],this[e(360)]({attributes:{id:e(379),class:["ck",e(370)]}}),this[e(360)]({on:{click:this[e(358)].to(t=>{t[e(373)]()})}})}[gS(359)](){var t=gS;super[t(359)](),this.on(t(365),()=>{var e=t;this[e(369)]=""===this[e(357)][e(382)]?.[e(374)]()})}[gS(378)](t){var e=gS;this[e(376)](e(383),t)}}class wS extends a.View{submitButtonView;cancelButtonView;promptInputView;_modelSelectionDropdown;_modelSelectionDropdownItems;_check;_defaultValue;_defaultLabel;constructor(t,e){super(t),this._check=e,this.set("prompt",""),this.set("modelId",""),this._defaultValue=e.models&&e.models.length>0?e.models[0].id:"",this._defaultLabel=e.models&&e.models.length>0?e.models[0].name:"",this.submitButtonView=this._createSubmitButtonView(),this.cancelButtonView=this._createCancelButtonView(),this.promptInputView=new bS(t),this.promptInputView.bind("value").to(this,"prompt"),this.promptInputView.on("input",()=>{this.prompt=this.promptInputView.element.value}),this._modelSelectionDropdown=this._createModelSelectionDropdown(),this._modelSelectionDropdownItems=new s.Collection,this._setModelList(),(0,a.addListToDropdown)(this._modelSelectionDropdown,this._modelSelectionDropdownItems);const n=new a.View(t);n.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-custom-actions-footer"]},children:[this._modelSelectionDropdown,{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons"]},children:[this.cancelButtonView,this.submitButtonView]}]}),this.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-custom-actions"]},children:[new a.FormRowView(this.locale,{children:[this.promptInputView]}),new a.FormRowView(this.locale,{children:[n]})]})}resetToDefault(){this.prompt="",this.modelId=this._defaultValue,this._modelSelectionDropdown.buttonView.label=this._defaultLabel}_createSubmitButtonView(){const t=new a.ButtonView(this.locale),e=this.locale.t;return t.set({label:e("Submit"),withText:!0,class:"ck-ai-button-primary"}),t.extendTemplate({on:{click:this.bindTemplate.to(t=>{t.stopPropagation()})}}),t.on("execute",()=>{this.fire("runReviewCheck",{id:"custom",args:{prompt:this.prompt,model:this.modelId},isCustom:!0})}),t}_createCancelButtonView(){const t=new a.ButtonView(this.locale),e=this.locale.t;return t.set({label:e("Cancel"),withText:!0,class:"ck-ai-button-tertiary-filled"}),t.on("execute",()=>{this.resetToDefault()}),t}_setModelList(){this._modelSelectionDropdownItems.clear();const t=this._check.models;if(this.resetToDefault(),t?.length)for(const e of t){const t=new a.UIModel({label:e.name,withText:!0,role:"menuitemradio",id:e.id,model:e});t.bind("isOn").to(this,"modelId",t=>t===e.id),this._modelSelectionDropdownItems.add({type:"button",model:t,labelView:new vS(this.locale,e)})}}_createModelSelectionDropdown(){const t=(0,a.createDropdown)(this.locale);return t.set({panelPosition:"se",class:"ck-ai-review-mode__check-list-item-model-dropdown"}),t.extendTemplate({on:{click:this.bindTemplate.to(t=>{t.stopPropagation()})}}),t.buttonView.set({label:this._check.models[0].name,withText:!0,tooltip:!0}),this.listenTo(t,"execute",e=>{this.modelId=e.source.model.id,t.buttonView.label=e.source.label}),t}}class vS extends a.ButtonLabelView{constructor(t,e){super();const n=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-button__label"],style:n.to("style"),id:n.to("id")},children:[{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-model-dropdown-name"]},children:[{text:n.to("text")}]},{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-model-dropdown-description"]},children:[{tag:"span",children:[{text:e.description}]}]}]})}}class IS extends a.ListItemView{_formItemsCollection=new a.ViewCollection;_customCheckView=null;constructor(t,e,n){super(t),this.set("isParametrizedViewOpen",!1),this.set("isListItemRendered",!1),this.set("isItemParametrized",e.isParameterized);const i=this._createIconView();this.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item",this.bindTemplate.if("isParametrizedViewOpen","ck-ai-review-mode__check-list-item_selected",t=>t),this.bindTemplate.if("isListItemRendered","ck-ai-review-mode__check-list-item_rendered",t=>t)],style:{"--ck-ai-check-list-item-index":n}},on:{click:this.bindTemplate.to("click")},children:[{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-content"]},children:[{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-main-content"]},children:[{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-title"]},children:[{tag:"span",attributes:{class:["ck-ai-review-mode__check-list-item-title-text"]},children:[{text:e.title}]},i]},{tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-description"]},children:[{text:e.description}]}]}]},...e.isParameterized?[this._createParameterizedView(e)]:[],..."custom"===e.id?[this._createCustomView(e)]:[]]}),this.on("click",()=>{e.isParameterized?this.isParametrizedViewOpen=!0:this.fire("runReviewCheck",{id:e.id})}),requestAnimationFrame(()=>{this.isListItemRendered=!0})}render(){super.render(),this.isItemParametrized&&(0,a.clickOutsideHandler)({emitter:this,activator:()=>!0===this.isParametrizedViewOpen,contextElements:[this.element],callback:()=>{this.isParametrizedViewOpen=!1}})}resetToDefault(){this.isParametrizedViewOpen=!1,this._formItemsCollection.forEach(t=>{t.resetToDefault()}),this._customCheckView&&this._customCheckView.resetToDefault()}_createIconView(){const t=new a.IconView;return t.content=o.IconChevronRight,t.extendTemplate({attributes:{class:["ck-ai-review-mode__check-list-item-title-icon"]}}),t}_createParameterizedView(t){const e=new a.View,n=this._createFormView(t);return e.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-parameterized",this.bindTemplate.if("isParametrizedViewOpen","ck-hidden",t=>!t)]},children:[n]}),e}_createFormView(t){const e=new a.View,n=Array.isArray(t.options)?t.options:[],i=new a.ButtonView(this.locale),r=this.locale.t;i.set({label:r("Submit"),withText:!0,class:"ck-ai-button-primary"}),i.extendTemplate({on:{click:this.bindTemplate.to(t=>{t.stopPropagation()})}}),i.on("execute",()=>{const e=[];let n;this._formItemsCollection.forEach(i=>{e.push(i.value),t.useArgs&&t.options&&(n={[i.argsKey]:i.value})});const i=t.useArgs?t.id:[t.id,...e].join("-");this.fire("runReviewCheck",{id:i,args:n})});const o=n.length;return n.forEach((t,e)=>{const n=e===o-1;this._formItemsCollection.add(new mS(this.locale,t,n?i:null))}),e.setTemplate({tag:"div",attributes:{class:["ck-ai-review-mode__check-list-item-parameterized-form"]},children:this._formItemsCollection}),e}_createCustomView(t){return this._customCheckView=new wS(this.locale,t),this._customCheckView.extendTemplate({attributes:{class:["ck-ai-review-mode__check-list-item-parameterized","ck-ai-review-mode__check-list-item-parameterized_custom",this.bindTemplate.if("isParametrizedViewOpen","ck-hidden",t=>!t)]}}),this._customCheckView.delegate("runReviewCheck").to(this),this._customCheckView}}var yS=n(54),AS={attributes:{"data-cke":!0}};AS.setAttributes=Et(),AS.insert=yt().bind(null,"head"),AS.domAPI=vt(),AS.insertStyleElement=Tt();bt()(yS.A,AS);yS.A&&yS.A.locals&&yS.A.locals;const ES=TS;function xS(){const t=["_checkViews","bindTemplate","1362810GomNCk","clear","isVisible","delegate","1120624rhNfeB","entries","resetAllParameterizedChecks","ck-hidden","28CIkIMa","add","resetToDefault","length","140aunRBW","runReviewCheck","locale","781811VDbOoL","hasChecks","2130808XwLfrA","390BSwTsI","5532PyQHRc","setTemplate","setChecks","div","816714oXiEJX","795110lVSQMN","ck-ai-review-mode__check-list"];return(xS=function(){return t})()}function TS(t,e){const n=xS();return(TS=function(t,e){return n[t-=438]})(t,e)}!function(t){const e=TS,n=t();for(;;)try{if(434446===-parseInt(e(449))/1+-parseInt(e(453))/2*(-parseInt(e(452))/3)+parseInt(e(451))/4+-parseInt(e(458))/5+-parseInt(e(462))/6+-parseInt(e(442))/7*(parseInt(e(438))/8)+-parseInt(e(457))/9*(-parseInt(e(446))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(xS);class CS extends a.ListItemView{[ES(460)];constructor(t){const e=ES;super(t),this[e(460)]=new a.ViewCollection;const n=this[e(461)];this[e(454)]({tag:e(456),attributes:{class:[e(459),n.if(e(464),e(441),t=>!t)]},children:this[e(460)]})}[ES(455)](t){const e=ES;this[e(460)][e(463)]();for(const[n,i]of t[e(439)]()){const t=new IS(this[e(448)],i,n);t[e(465)](e(447)).to(this),this[e(460)][e(443)](t)}}[ES(450)](){const t=ES;return this[t(460)][t(445)]>0}[ES(440)](){const t=ES;for(const e of this[t(460)])e instanceof IS&&e[t(444)]()}}function SS(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."});case"AI_REVIEW_MODE":return n({id:"AI_REVIEW_MODE",string:"Review Mode"});default:return e}}const RS=NS;function OS(){const t=["setItemAsInactive","set","ck-ai-review-mode__check-run-result-response","_createInfoButtonView","ck-ai-button-secondary ck-ai-review-mode__check-run-result-accept-button","ck-ai-button-tertiary-filled ck-ai-review-mode__check-run-result-info-button ck-hidden","locale","setTemplate","594291kEuQQk","ck-ai-review-mode__check-run-result-action-buttons","acceptChange","_createResultResponseView","650FtIFUh","2695384BsqQMj","Toggle info view","1083jtPMKu","AI_REVIEW_MODE_LEARN_MORE","click","extendTemplate","178xYyTLB","AI_REVIEW_MODE_DISMISS_CHANGE","bind","4BDaDrS","dismissChange","infoButtonView","scrollToSuggestionInDocument","resultResponseView","2235730VFOvLr","log","bindTemplate","_createDismissButtonView","setItemAsActive","dismissButtonView","5SNrcRq","isInfoToggleOn","ck-ai-review-mode__check-run-result","fire","menuitemcheckbox","stopPropagation","execute","ck-ai-review-mode__check-run-result_active","div","_createAcceptButtonView","ck-ai-review-mode__check-run-result-footer","1718322MpXvmg","isOn","AI_REVIEW_MODE_ACCEPT_CHANGE","isActive","ck-ai-button-tertiary-filled ck-ai-review-mode__check-run-result-dismiss-button","58860DMyuDn","14648887kglYWp","acceptButtonView"];return(OS=function(){return t})()}function NS(t,e){const n=OS();return(NS=function(t,e){return n[t-=157]})(t,e)}!function(t){const e=NS,n=t();for(;;)try{if(330567===parseInt(e(173))/1*(parseInt(e(177))/2)+-parseInt(e(166))/3*(-parseInt(e(180))/4)+parseInt(e(191))/5*(parseInt(e(202))/6)+parseInt(e(185))/7+parseInt(e(171))/8+-parseInt(e(207))/9*(-parseInt(e(170))/10)+-parseInt(e(208))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(OS);class MS extends a.View{[RS(184)];[RS(157)];[RS(190)];[RS(182)];constructor(t,e){const n=RS;super(t),this.id=e,this[n(184)]=this[n(169)](),this[n(157)]=this[n(200)](e),this[n(190)]=this[n(188)](e),this[n(182)]=this[n(161)](),this[n(159)](n(192),!1),this[n(159)](n(205),!1),this[n(165)]({tag:n(199),attributes:{class:[n(193),this[n(187)].if(n(205),n(198))]},on:{click:this[n(187)].to(n(175))},children:[this[n(184)],{tag:n(199),attributes:{class:[n(201)]},children:[{tag:n(199),attributes:{class:[n(167)]},children:[this[n(157)],this[n(190)]]},this[n(182)]]}]}),this.on(n(175),()=>{const t=n;this[t(194)](t(183),{id:e,source:this})})}[RS(189)](){this[RS(205)]=!0}[RS(158)](){this[RS(205)]=!1}[RS(169)](){const t=RS,e=new a.View(this[t(164)]);return e[t(165)]({tag:t(199),attributes:{class:[t(160)]}}),e}[RS(200)](t){const e=RS,n=new a.ButtonView(this[e(164)]);return n[e(159)]({label:SS(this[e(164)],e(204)),withText:!0,class:e(162)}),n[e(176)]({on:{click:this[e(187)].to(n=>{const i=e;this[i(194)](i(168),{id:t}),n[i(196)]()})}}),n}[RS(188)](t){const e=RS,n=new a.ButtonView(this[e(164)]);return n[e(159)]({label:SS(this[e(164)],e(178)),withText:!0,class:e(206)}),n[e(176)]({on:{click:this[e(187)].to(n=>{const i=e;this[i(194)](i(181),{id:t}),n[i(196)]()})}}),n}[RS(161)](){const t=RS,e=new a.ButtonView(this[t(164)]);return e[t(159)]({label:SS(this[t(164)],t(174)),icon:o.IconInfo,tooltip:!0,isToggleable:!0,role:t(195),class:t(163)}),e[t(179)](t(203)).to(this,t(192),t=>t),e.on(t(197),()=>{const e=t;console[e(186)](e(172)),this[e(192)]=!this[e(192)]}),e}}var LS=n(639),PS={attributes:{"data-cke":!0}};PS.setAttributes=Et(),PS.insert=yt().bind(null,"head"),PS.domAPI=vt(),PS.insertStyleElement=Tt();bt()(LS.A,PS);LS.A&&LS.A.locals&&LS.A.locals;class DS 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 MS(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 HA(this.locale,BA.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:SS(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:SS(this.locale,"AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE")}]}]},e]}),t}_createCancelButtonView(){const t=new a.ButtonView(this.locale);return t.set({label:SS(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=SS(this.locale,"AI_REVIEW_MODE_HIDE_CHANGES"),n=SS(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:SS(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:SS(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 KI;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 HS=n(691),BS={attributes:{"data-cke":!0}};BS.setAttributes=Et(),BS.insert=yt().bind(null,"head"),BS.domAPI=vt(),BS.insertStyleElement=Tt();bt()(HS.A,BS);HS.A&&HS.A.locals&&HS.A.locals;const US=VS;function VS(t,e){const n=FS();return(VS=function(t,e){return n[t-=246]})(t,e)}function FS(){const t=["setTemplate","_finishReviewButtonView","execute","2319jLgdpa","266lZYsWm","1333362xHdeRD","span","ck-hidden","247780myFvoE","3632490jnlEnX","37580LTEtiA","set","resultsHeader","ck-ai-review-mode__review-completed-header","6828jqRysT","div","108104AMCekg","ck-ai-review-mode__review-completed-content-text","locale","ck-ai-review-mode__review-completed-content","2981xPROsR","AI_REVIEW_MODE_COMPLETED_TEXT","fire","ck-ai-review-mode__review-completed","ck-ai-review-mode__review-completed-header-title","369GcpfxP","ck-ai-review-mode__review-completed-header-buttons","21KwlJzi","_createFinishReviewButtonView","_createResultHeaderView","ck-ai-review-mode__review-completed-content-icon","AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE","ck-ai-button-primary","AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL","30RiAqgQ","bindTemplate","isVisible","finishReview"];return(FS=function(){return t})()}!function(t){const e=VS,n=t();for(;;)try{if(428755===-parseInt(e(267))/1+parseInt(e(263))/2*(parseInt(e(262))/3)+-parseInt(e(269))/4*(parseInt(e(255))/5)+parseInt(e(264))/6*(parseInt(e(248))/7)+-parseInt(e(275))/8*(parseInt(e(246))/9)+parseInt(e(268))/10+parseInt(e(279))/11*(parseInt(e(273))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(FS);class qS extends a.ListItemView{[US(271)];[US(260)];constructor(t){const e=US;super(t),this[e(260)]=this[e(249)](),this[e(271)]=this[e(250)]();const n=this[e(256)];this[e(259)]({tag:e(274),attributes:{class:[e(282),n.if(e(257),e(266),t=>!t)]},children:[this[e(271)],{tag:e(274),attributes:{class:[e(278)]},children:[{tag:e(265),attributes:{class:[e(251)]},children:[{text:"🎉"}]},{tag:"p",attributes:{class:[e(276)]},children:[{text:SS(t,e(280))}]}]}]})}[US(249)](){const t=US,e=new a.ButtonView(this[t(277)]);return e[t(270)]({label:SS(this[t(277)],t(254)),withText:!0,class:t(253)}),e.on(t(261),()=>{const e=t;this[e(281)](e(258))}),e}[US(250)](){const t=US,e=new a.View(this[t(277)]);return e[t(259)]({tag:t(274),attributes:{class:[t(272)]},children:[{tag:t(265),attributes:{class:[t(283)]},children:[{text:SS(this[t(277)],t(252))}]},{tag:t(274),attributes:{class:[t(247)]},children:[this[t(260)]]}]}),e}}var zS=jS;function GS(){var t=["showActionsWhenResultIsReady","2519826aJdEnP","1102531jPawHV","ck-rounded-corners","2375836BOpFEl","ck-ai-review-mode","addCheckRunResult","5BWKPTr","ltr","1013888IGASGQ","resetErrorState","ck-ai-header ck-ai-header_review-mode","reviewCheckListView","setTemplate","ck-content ","reviewModeHeader","showReviewCompletedView","ck-reset_all","11MopTol","showGeneralErrorView","14605320IJBhgq","finishReview","showReviewCheckListView","4275585umLpdZ","div","isLoading","showChunkErrorMessage","455MEYQux","3CJysIY","addResult","delegate","isVisible","AI_REVIEW_MODE","hideActionsWhenResultIsReady","108440aZRToj","set","showChunkErrorView","resetAllParameterizedChecks","reviewCompletedView","showGeneralErrorMessage","reviewCheckResultsView","clearResults","showReviewCheckResultsView","isResultReady"];return(GS=function(){return t})()}function jS(t,e){var n=GS();return(jS=function(t,e){return n[t-=358]})(t,e)}!function(t){for(var e=jS,n=t();;)try{if(699937===parseInt(e(393))/1+parseInt(e(400))/2+parseInt(e(375))/3*(-parseInt(e(395))/4)+parseInt(e(398))/5*(-parseInt(e(392))/6)+-parseInt(e(374))/7*(parseInt(e(381))/8)+-parseInt(e(370))/9+-parseInt(e(367))/10*(-parseInt(e(365))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(GS);class WS extends a.View{[zS(362)];[zS(359)];[zS(387)];[zS(385)];constructor(t){var e=zS;super(t),this[e(362)]=new a.FormHeaderView(t,{label:SS(t,e(379)),icon:o.IconAIReview,class:e(358)}),this[e(359)]=new CS(t),this[e(359)][e(377)](...JS).to(this),this[e(387)]=new DS(t),this[e(387)][e(377)](...JS).to(this),this[e(385)]=new qS(t),this[e(385)][e(377)](e(368)).to(this),this[e(359)][e(382)](e(378),!1),this[e(387)][e(382)](e(378),!1),this[e(387)][e(382)](e(372),!1),this[e(387)][e(382)](e(390),!1),this[e(385)][e(382)](e(378),!1),this[e(360)]({tag:e(371),attributes:{class:["ck",e(361),e(364),e(396),e(394)],dir:e(399)},children:[this[e(362)],this[e(359)],this[e(387)],this[e(385)]]})}[zS(369)](){var t=zS;this[t(359)][t(384)](),this[t(359)][t(382)](t(378),!0),this[t(387)][t(382)](t(378),!1),this[t(385)][t(382)](t(378),!1)}[zS(389)](){var t=zS;this[t(380)](),this[t(387)][t(401)](),this[t(359)][t(382)](t(378),!1),this[t(387)][t(382)](t(378),!0),this[t(387)][t(388)](),this[t(387)][t(382)](t(372),!0)}[zS(397)](t){var e=zS;this[e(387)][e(376)](t),this[e(387)][e(382)](e(372),!1)}[zS(363)](){var t=zS;this[t(359)][t(382)](t(378),!1),this[t(387)][t(382)](t(378),!1),this[t(385)][t(382)](t(378),!0)}[zS(391)](){var t=zS;this[t(387)][t(390)]=!0}[zS(380)](){var t=zS;this[t(387)][t(390)]=!1}[zS(366)](){var t=zS;this[t(387)][t(382)](t(372),!1),this[t(391)](),this[t(387)][t(386)]()}[zS(383)](){var t=zS;this[t(387)][t(382)](t(372),!1),this[t(391)](),this[t(387)][t(373)]()}}var YS=n(176),KS={attributes:{"data-cke":!0}};KS.setAttributes=Et(),KS.insert=yt().bind(null,"head"),KS.domAPI=vt(),KS.insertStyleElement=Tt();bt()(YS.A,KS);YS.A&&YS.A.locals&&YS.A.locals;const $S=QS;function QS(t,e){const n=XS();return(QS=function(t,e){return n[t-=109]})(t,e)}function XS(){const t=["reviewCheckResultsView","showReviewCheckList","pluginName","abortReviewStream","acceptAllChanges","AIReviewModeUI","activateTab","learnMore","error-chunk","17861580bjkftD","1GOkMvi","reviewMode","showCheckRunResults","124625ehtMyW","getReviewCheckList","8WCTfZN","setAvailableChecks","setTitle","delegate","showReviewCheckListView","AITabs","10EcnTax","finishReview","isOfficialPlugin","leaveReviewModeResultList","showChunkErrorView","63mrgfEK","acceptChange","408SdeKrD","leaveReviewMode","7226829mdZmIb","_reviewModeView","9384781pCWLKg","rejected","runReviewCheck","addCheckRunResult","getResults","dismissChange","reviewCheckListView","setItemAsInactive","setChecks","view","addTab","forEach","context","hasChecks","2876270DPLGNH","requires","resetActiveStateInResults","showReviewCheckResultsView","updateChangeState","toggleDiff","accepted","showActionsWhenResultIsReady","plugins","hideActionsWhenResultIsReady","showReviewCompletedView","status","fire","24KWBSRP","showCheckRunResult","init","setCheckResultTitle","51676ECyoYY","locale","showGeneralErrorView","scrollToSuggestionInDocument","error-general","get","AI_REVIEW_MODE","hideResult","isPremiumPlugin","8889946Fobgvb","retryReview"];return(XS=function(){return t})()}!function(t){const e=QS,n=t();for(;;)try{if(862334===parseInt(e(136))/1*(parseInt(e(172))/2)+-parseInt(e(152))/3*(-parseInt(e(115))/4)+parseInt(e(139))/5*(-parseInt(e(154))/6)+parseInt(e(158))/7*(-parseInt(e(141))/8)+parseInt(e(156))/9*(-parseInt(e(147))/10)+parseInt(e(135))/11+-parseInt(e(111))/12*(-parseInt(e(124))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(XS);const JS=[$S(140),$S(160),$S(129),$S(177),$S(130),$S(150),$S(118),$S(153),$S(163),$S(133),$S(148),$S(125)];class ZS extends r.ContextPlugin{[$S(157)];static get[$S(173)](){return[Uc]}static get[$S(128)](){return $S(131)}static get[$S(149)](){return!0}static get[$S(123)](){return!0}constructor(t){const e=$S;super(t),this[e(157)]=new WS(this[e(170)][e(116)]),this[e(157)][e(144)](...JS).to(this)}[$S(113)](){const t=$S,e=this[t(170)][t(180)][t(120)](t(146));e[t(167)].on(t(132),(e,n)=>{const i=t;i(137)===n?this[i(110)](i(140)):this[i(110)](i(155))}),e[t(167)][t(168)]({id:t(137),buttonLabel:SS(this[t(170)][t(116)],t(121)),buttonIcon:o.IconAIReview,order:0,content:this[t(157)]})}[$S(142)](t){const e=$S;this[e(157)][e(164)][e(171)]()||this[e(157)][e(164)][e(166)](t),this[e(157)][e(145)]()}[$S(127)](){const t=$S;this[t(110)](t(140))}[$S(138)](t){const e=$S;t&&(e(119)!==t[e(109)]?e(134)!==t[e(109)]?this[e(157)][e(175)]():this[e(151)]():this[e(117)]())}[$S(112)](t){const e=$S;this[e(157)][e(161)](t)}[$S(117)](){const t=$S;this[t(157)][t(117)]()}[$S(151)](){const t=$S;this[t(157)][t(151)]()}[$S(114)](t){const e=$S;this[e(157)][e(126)][e(143)](t)}[$S(174)](){const t=$S;this[t(157)][t(126)][t(162)]()[t(169)](e=>e[t(165)]())}[$S(176)](t,e){const n=$S;n(178)!==e&&n(159)!==e||this[n(157)][n(126)][n(122)](t)}[$S(182)](){const t=$S;this[t(157)][t(182)]()}[$S(179)](){const t=$S;this[t(157)][t(179)]()}[$S(181)](){const t=$S;this[t(157)][t(181)]()}}function tR(){const t=["328347SmageU","element","applyChange","processor","markChangePositionInEditorContent","startsWith","ck-ai_review-mode-marker_context-start","operationsIsolated","outerHTML","_insertMarkers","map","caption","values","change","remove-only","getPath","_groupAdjacentOperations","847fIAzDD","concat","isOfficialPlugin","getRoots","nodes","toData","Scroll to change in editor content","ck-ai_review-mode-marker_strikethrough","hasContentAfter","data","switchToReadOnly","remove-context","addOperation","_shiftOperation","isOpening","end","exec","name","markerToElement","createUIElement","filter","isTouching","4137054tQPYPF","markers","DocumentCompare","offset","toView","suggestion:insertion:id:authorId:","delete","ck-ai_review-mode-marker_underline","stringify","_setAttribute","deleteContent","No element found for ID: ","htmlWriter","_createGetContextFn","baseVersion","_appendChild","offsetSize","isPremiumPlugin",'[data-id="',"373591bTsoXQ","getAttribute","diffContent","push","_changeRangeOwnerDocument","documentFragment","applyOperation","warn","get","model","innerHTML","domConverter","_removeChildren","suggestion-context","type","rejectChange","context","parse","editingDowncast","getHtml","index","reviewmode-","getShiftedBy","jumpTo","isAtEnd","version","createPositionAfter","_getMarkersDataForGroup","length","querySelector","affectsData","88xykHqt","_createGetContentFn","_changePositionOwnerDocument","isAtStart","flat","_getOperationStart","batch","412uYoxuW","marker","backward","ck-ai_review-mode-marker_context-end","clear","model:$text","createRawElement","getOperations","ck-ai_review-mode-marker_hide","removeMarker","isInline","schema","_getTopElement","_nextDataId","getDocumentData","getContentElement","_markers","dataDowncast","ai-review-mode","$textProxy","$markedRemove","insertContent","enableReadOnlyMode","set","newRange","ck-ai_review-mode-marker_context-","start","hasClass","createDocumentFragment","pluginName","span","position","history","_changeOperationOwnerDocument","elements","_changeRange","conversion","downcast","getChildren","htmlProcessor","document","addMarker","disableReadOnlyMode","for","every","insert","hasContentBefore","getChild","isDocumentOperation","_clone","remove-text","forward","clone","4066908KfYEte","getDiff","AIEditing","log","32961CxOsKh","7TAQhry","oldRange","requires","_getChangeContext","clearAllMarkers","getRoot","from","2pWpxCT","4486105rzqMWc","viewToDom","ck-ai_review-mode-marker_add","suggestion:deletion:id:authorId:","_getOperationEnd","createRange","_translateOperationToEditorContent","createSelection","append","afterInit","markerName","childCount","createText","16130YkAzKH","_createGetContentUsingDataIdFn","parent","ellipsisAfter","createPositionAt","_changePosition","groupId","ellipsisBefore","howMany","text","plugins","_findAdjacentContextDistance","add","toDomElement","$documentFragment","keys","AIReviewModeEditing","attributeToAttribute","getRange","scrollToChangeInEditorContent","markerToHighlight","switchToEdit","path","operationsA"];return(tR=function(){return t})()}const eR=nR;function nR(t,e){const n=tR();return(nR=function(t,e){return n[t-=329]})(t,e)}!function(t){const e=nR,n=t();for(;;)try{if(612155===parseInt(e(515))/1*(-parseInt(e(419))/2)+-parseInt(e(411))/3*(-parseInt(e(354))/4)+-parseInt(e(420))/5+parseInt(e(496))/6*(parseInt(e(412))/7)+parseInt(e(347))/8*(-parseInt(e(457))/9)+-parseInt(e(433))/10*(-parseInt(e(474))/11)+parseInt(e(407))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tR);const iR=eR(337);class rR extends r.ContextPlugin{static get[eR(383)](){return eR(449)}static get[eR(414)](){return[ov,kb]}static get[eR(476)](){return!0}static get[eR(513)](){return!0}[eR(370)]=new Map;[eR(429)](){const t=eR,e=db(this[t(332)]);e[t(390)][t(397)](t(334))[t(492)]({model:iR+t(399),view:(e,{writer:n})=>{const i=t,r=this[i(370)][i(523)](e[i(430)]);return n[i(493)](i(384),{class:i(422)},function(t){const e=i,n=this[e(446)](t);return n[e(525)]=r?.[e(442)]||"",n})}}),e[t(390)][t(397)](t(371))[t(492)]({model:iR+t(329),view:(e,{writer:n})=>n[t(360)](t(384),{class:t(379)+(e[t(488)]?t(380):t(489))})}),e[t(390)][t(397)](t(334))[t(453)]({model:iR+t(471),view:()=>({classes:t(481)})}),e[t(390)][t(397)](t(334))[t(453)]({model:iR+t(485),view:()=>({classes:t(503)})}),e[t(390)][t(397)](t(334))[t(453)]({model:iR+t(404),view:()=>({classes:t(362)})}),e[t(390)][t(397)](t(391))[t(450)]({model:iv,view:rv})}[eR(368)](){const t=eR,e=this[t(332)][t(443)][t(523)](t(409)),n=db(this[t(332)]),i=n[t(524)],r=new u.ModelDocumentFragment;for(const e of i[t(394)][t(417)]()[t(392)]()){const n=e[t(403)](!0);r[t(511)](n)}for(const e of i[t(497)])r[t(497)][t(377)](e[t(491)],this[t(519)](e[t(451)]()[t(406)](),r));const o=new u.ModelTreeWalker({ignoreElementEnd:!0,startPosition:i[t(437)](r,0)}),s=new Set,a=new Map;for(const{item:r}of o){if(!r.is(t(373)))continue;const c=r[t(435)];if((!c||!c.is(t(458),t(468)))&&c&&c.is(t(458))){let r=c[t(516)](iv);r||(r=e[t(367)](s),c[t(505)](iv,r)),s[t(445)](r);const l=this[t(366)](c);a[t(377)](r,{path:c[t(472)](),getContent:this[t(434)](l[t(403)](!0),r,n[t(483)])}),o[t(339)](i[t(342)](c))}}return{content:n[t(483)][t(460)][t(479)](n[t(483)][t(500)](r)),version:n[t(524)][t(394)][t(341)],elements:a}}[eR(517)](t,e){const n=eR,i=db(this[n(332)]),r=i[n(483)][n(333)](t,n(447)),o=i[n(524)][n(437)](r,0),s=this[n(332)][n(443)][n(523)](n(498))[n(408)](t,e,{anchor:o,markDeletions:!0})[n(361)]()[n(494)](t=>n(399)===t[n(330)]||n(355)===t[n(330)]&&t[n(491)][n(462)](n(374))),a=this[n(473)](s),c=[];let l=0;return i[n(524)][n(470)](t=>{const e=n;for(let n=0;n<a[e(344)];n++){const o=a[n],s=t[e(382)]();for(const n of r[e(392)]())t[e(428)](n[e(403)](!0),s);for(const n of o[e(464)])if(e(399)===n[e(330)]){const r=n;r[e(510)]=null,r[e(402)]=!1,this[e(387)](r,s),t[e(353)][e(486)](n),i[e(524)][e(521)](n);const o=e(501)+l++,a=i[e(524)][e(425)](r[e(385)],r[e(385)][e(338)](r[e(441)]));s[e(497)][e(377)](o,a)}else if(e(355)===n[e(330)]&&n[e(491)][e(462)](e(374))){const t=n,i=e(423)+l++;this[e(387)](t,s),s[e(497)][e(377)](i,t[e(378)])}const h=this[e(415)](this[e(349)](this[e(352)](o[e(464)][0]),s),this[e(349)](this[e(424)](o[e(464)][o[e(464)][e(344)]-1]),s));s[e(497)][e(377)](iR+e(329),new u.ModelRange(h[e(380)],h[e(489)])),c[e(518)]({...o,context:this[e(509)](s,i[e(483)],{ellipsisBefore:h[e(400)],ellipsisAfter:h[e(482)]}),content:this[e(348)](s,i[e(483)])})}}),c}[eR(461)](t,e){const n=eR,i=t[0][n(435)].id,r=e[n(388)][n(523)](i);if(!r)return void console[n(522)](n(507)+i);const o=r[n(455)],s=db(this[n(332)]),a=s[n(524)][n(394)][n(386)][n(361)](e[n(341)]),c=[];for(const e of t){const t=e[n(464)][n(467)](t=>this[n(426)](t,o,s[n(524)][n(394)][n(477)]()[0]));if(!t||!t[n(344)])continue;const i=t[n(398)](t=>n(355)===t[n(330)]&&t[n(491)][n(462)](n(374))),r={document:s[n(524)][n(394)],useRelations:!1,padWithNoOps:!1},l=(0,u.transformOperationSets)(t,a,r)[n(456)];for(const t of l)if(n(399)===t[n(330)]){const i=t,r=i[n(478)];let o="";for(const t of r)t&&t.is(n(359))&&(o+=t[n(483)]);c[n(518)]({start:i[n(385)],end:i[n(385)],type:n(399),groupId:e.id,text:o})}else if(n(355)===t[n(330)]&&t[n(491)][n(462)](n(374))){const r=t;let o=n(404);if(i){const t=this[n(444)](r[n(378)][n(380)],n(356),s[n(524)][n(365)]),i=this[n(444)](r[n(378)][n(489)],n(405),s[n(524)][n(365)]);if(t||i){const o=r[n(378)][n(380)][n(338)](-t),s=r[n(378)][n(489)][n(338)](i);c[n(518)]({start:o,end:s,groupId:e.id,type:n(485)})}else o=n(471)}c[n(518)]({start:r[n(378)][n(380)],end:r[n(378)][n(489)],groupId:e.id,type:o})}}this[n(466)](c)}[eR(416)](){const t=eR;db(this[t(332)])[t(524)][t(470)](e=>{const n=t;for(const t of this[n(370)][n(448)]())e[n(363)](t)}),this[t(370)][t(358)]()}[eR(484)](){const t=eR;db(this[t(332)])[t(376)](t(372))}[eR(454)](){const t=eR;db(this[t(332)])[t(396)](t(372))}[eR(459)](t){const e=eR,n=db(this[e(332)]),i=n[e(524)],r=t[e(467)](t=>this[e(343)](t))[e(351)]();i[e(470)](t=>{const o=e;for(const e of r){const r=n[o(524)][o(497)][o(523)](e.id);r&&(o(399)===e[o(330)]?i[o(375)](t[o(432)](e[o(442)]||""),r[o(451)]()[o(380)]):o(404)!==e[o(330)]&&o(471)!==e[o(330)]||i[o(506)](i[o(427)](r[o(451)]())),t[o(363)](e.id),this[o(370)][o(502)](e.id))}})}[eR(331)](t){const e=eR,n=db(this[e(332)]),i=this[e(343)](t);n[e(524)][e(470)](t=>{const n=e;for(const e of i)t[n(363)](e.id),this[n(370)][n(502)](e.id)})}[eR(369)](){const t=eR,e=db(this[t(332)]);return e&&e.ui&&e.ui[t(458)]?e.ui[t(458)]:null}[eR(426)](t,e,n){const i=eR;if(i(399)===t[i(330)]){const r=t;return new u.InsertOperation(this[i(438)](r[i(385)],e[i(475)](r[i(385)][i(499)]),n),r[i(478)],r[i(510)])}if(i(355)===t[i(330)]&&t[i(491)][i(462)](i(374))){const r=t;return new u.MarkerOperation(r[i(491)],r[i(413)],this[i(389)](r[i(378)],e[i(475)](r[i(378)][i(380)][i(499)]),e[i(475)](r[i(378)][i(489)][i(499)]),n),r[i(370)],r[i(346)],r[i(510)])}return t}[eR(473)](t){const e=eR;if(!t[e(344)])return[];const n=[];let i=0,r=0,o=[];for(let s=0;s<=t[e(344)];s++){const a=t[s],c=t[s-1];!a||c&&!this[e(424)](c)[e(495)](this[e(352)](a))?(n[e(518)]({operations:o,operationsIsolated:o[e(467)](t=>this[e(487)](t[e(406)](),-r)),groupOffset:i}),o=a?[a]:[],r+=i,i=0):o[e(518)](a),a&&e(399)===a[e(330)]&&(i+=a[e(441)])}return n}[eR(452)](t){const e=eR;console[e(410)](e(480),t.id)}[eR(444)](t,e,n,i=1){const r=eR,o=new u.ModelTreeWalker({startPosition:t,direction:e});let s=0;for(let a=0;a<i;a++){let i=0,a=!1,c=r(405)===e?/^\W*\w+/:/\w+\W*$/;for(const{item:t}of o)if(t.is(r(373))){const n=c[r(490)](t[r(483)]);if(n&&n[r(344)]){if(i+=r(405)===e?n[r(336)]+n[0][r(344)]:t[r(483)][r(344)]-n[r(336)],n[0][r(344)]!==t[r(483)][r(344)])break;a=!0,c=r(405)===e?/^\w+/:/\w+$/}else{if(a)break;i+=t[r(512)]}}else if(t.is(r(458))){n[r(364)](t)&&!a&&(i+=1);break}s+=i,o[r(339)](t[r(338)](r(405)===e?s:-s))}return s}[eR(415)](t,e){const n=eR,i=db(this[n(332)])[n(524)][n(365)],r=this[n(444)](t,n(356),i,6),o=this[n(444)](e,n(405),i,6),s=t[n(338)](-r),a=e[n(338)](o);return{start:s,end:a,hasContentBefore:!s[n(350)],hasContentAfter:!a[n(340)]}}[eR(466)](t){const e=eR;db(this[e(332)])[e(524)][e(470)](n=>{const i=e;for(const e of t){const t=""+iR+e[i(330)]+":"+e[i(439)]+"_"+(0,s.uid)();this[i(370)][i(377)](t,{id:t,groupId:e[i(439)],type:e[i(330)],text:e[i(442)]}),n[i(395)](t,{usingOperation:!1,affectsData:!1,range:n[i(425)](e[i(380)],e[i(489)])})}})}[eR(509)](t,e,n){let i="";return()=>{const r=nR;if(!i){const o=e[r(500)](t,{showSuggestionHighlights:!0}),s=o[r(401)](0);if(!s)return"";let a=!1;const c=[];for(const t of s[r(392)]())t.is(r(458),r(384))&&t[r(381)](r(357))&&(a=!1),a&&c[r(518)](t),t.is(r(458),r(384))&&t[r(381)](r(463))&&(a=!0);s[r(527)](0,s[r(431)]),n?.[r(440)]&&s[r(511)]("…"),s[r(511)](c),n?.[r(436)]&&s[r(511)]("…");const l=e[r(393)][r(526)][r(421)](o),u=e[r(393)][r(508)][r(335)](l);i=u}return i}}[eR(348)](t,e){const n=eR;let i="";return()=>(i||(i=e[n(504)](t,{showSuggestionHighlights:!0})),i)}[eR(434)](t,e,n){let i="";return()=>{const r=nR;if(!i){const o=n[r(500)](new u.ModelDocumentFragment(t)),s=n[r(393)][r(526)][r(421)](o)[r(345)](r(514)+e+'"]');i=s?.[r(465)]||""}return i}}[eR(343)](t){const e=eR;return Array[e(418)](this[e(370)][e(469)]())[e(494)](n=>n[e(439)]===t)}[eR(352)](t){const e=eR;return e(399)===t[e(330)]?t[e(385)]:t[e(378)][e(380)]}[eR(424)](t,e=!1){const n=eR;return n(399)===t[n(330)]?e?t[n(385)]:t[n(385)][n(338)](t[n(441)]):t[n(378)][n(489)]}[eR(487)](t,e){const n=eR;return n(399)===t[n(330)]?t[n(385)]=t[n(385)][n(338)](e):n(355)===t[n(330)]&&t[n(378)]&&(t[n(378)]=new u.ModelRange(t[n(378)][n(380)][n(338)](e),t[n(378)][n(489)][n(338)](e))),t}[eR(387)](t,e){const n=eR;n(399)===t[n(330)]?t[n(385)]=this[n(349)](t[n(385)],e):n(355)===t[n(330)]&&t[n(378)]&&(t[n(378)]=this[n(519)](t[n(378)],e))}[eR(349)](t,e){const n=eR;return new u.ModelPosition(e,t[n(455)])}[eR(519)](t,e){const n=eR;return new u.ModelRange(this[n(349)](t[n(380)],e),this[n(349)](t[n(489)],e))}[eR(438)](t,e,n){return new u.ModelPosition(n,[...e])}[eR(389)](t,e,n,i){const r=eR;return new u.ModelRange(this[r(438)](t[r(380)],e,i),this[r(438)](t[r(489)],n,i))}[eR(366)](t){const e=eR;let n=t;for(;n[e(435)]&&!n[e(435)].is(e(520));)n=n[e(435)];return n}}var oR=sR;function sR(t,e){var n=aR();return(sR=function(t,e){return n[t-=281]})(t,e)}function aR(){var t=["713430ToUYPT","pluginName","5iyYfee","5164918PkOKKL","5614446XUEtrR","50iUxVjO","90411sPmBLo","AIReviewMode","12piseRz","326fUjQeN","isOfficialPlugin","20eLzPgf","isPremiumPlugin","1358LBFhMB","65546czjvkI","4876550XFHUKE","8JAxWwk","requires","290iuyGfI"];return(aR=function(){return t})()}!function(t){for(var e=sR,n=t();;)try{if(475384===-parseInt(e(285))/1*(-parseInt(e(294))/2)+-parseInt(e(282))/3*(-parseInt(e(287))/4)+parseInt(e(297))/5*(parseInt(e(299))/6)+parseInt(e(291))/7*(parseInt(e(292))/8)+parseInt(e(295))/9*(-parseInt(e(281))/10)+parseInt(e(298))/11*(-parseInt(e(284))/12)+parseInt(e(290))/13*(-parseInt(e(289))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(aR);class cR extends r.ContextPlugin{static get[oR(293)](){return[aS,ZS,rR]}static get[oR(296)](){return oR(283)}static get[oR(286)](){return!0}static get[oR(288)](){return!0}}function lR(){var t=["928952GHWIpj","5127mmNYfz","927jpavcm","1373730NcJGFB","2562CKaJHG","490GpbwsE","340595qhmfmb","5992FTkiPf","30350EySDzf","158aHYujt"];return(lR=function(){return t})()}function uR(t,e){var n=lR();return(uR=function(t,e){return n[t-=257]})(t,e)}!function(t){for(var e=uR,n=t();;)try{if(160608===-parseInt(e(262))/1+parseInt(e(263))/2*(parseInt(e(265))/3)+parseInt(e(264))/4+parseInt(e(260))/5+parseInt(e(258))/6*(-parseInt(e(259))/7)+parseInt(e(261))/8*(-parseInt(e(266))/9)+-parseInt(e(257))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lR)})(),(window.CKEditor5=window.CKEditor5||{}).ai=i})();
|