@runeya/apps-cli 0.1.1 → 0.1.2
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/dist/agent/index.js +5303 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/agent-manager-3S4FUNJS-MYT5X6XQ.js +8 -0
- package/dist/agent-manager-3S4FUNJS-MYT5X6XQ.js.map +1 -0
- package/dist/chunk-32HTB3XS.js +350 -0
- package/dist/chunk-32HTB3XS.js.map +1 -0
- package/dist/chunk-ERJIU7R4.js +195 -0
- package/dist/chunk-ERJIU7R4.js.map +1 -0
- package/dist/chunk-XZPCEGWS.js +2452 -0
- package/dist/chunk-XZPCEGWS.js.map +1 -0
- package/dist/dist-MFM5N25P.js +10985 -0
- package/dist/dist-MFM5N25P.js.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/kanban-commands-VEVMJTFS-OIYWEHUP.js +14 -0
- package/dist/kanban-commands-VEVMJTFS-OIYWEHUP.js.map +1 -0
- package/dist/package.json +36 -0
- package/dist/runeya +4 -0
- package/dist/web/assets/AddressBar.vue-dB66q4DS.js +1 -0
- package/dist/web/assets/AgentPage-B3wrH3gG.js +2 -0
- package/dist/web/assets/AgentPage-BTWkJvqr.css +1 -0
- package/dist/web/assets/AgentScalarChatInterface.vue-CJVuZIB9.js +13 -0
- package/dist/web/assets/AgentTerminalPage-Cj5fRr-j.js +36 -0
- package/dist/web/assets/AgentTerminalPage-EX_n6P3x.css +1 -0
- package/dist/web/assets/AiChatPage-Dhsx3B9B.js +1 -0
- package/dist/web/assets/ApiDocsPage-BddLJuUF.js +5 -0
- package/dist/web/assets/ApiDocsPage-D2Z0wqGZ.css +1 -0
- package/dist/web/assets/AppLayout-AfhaeKlp.js +1 -0
- package/dist/web/assets/AppLayout-sngalCCj.css +1 -0
- package/dist/web/assets/AuditPage-BBV9FW9y.css +1 -0
- package/dist/web/assets/AuditPage-DqycuiVb.js +1 -0
- package/dist/web/assets/CodeInput.vue-Dyew7ml-.js +1 -0
- package/dist/web/assets/Collection.vue-DePdVAHM.js +1 -0
- package/dist/web/assets/CollectionAuthentication.vue-DagSEg45.js +1 -0
- package/dist/web/assets/CollectionCookies.vue-vMKPCgg1.js +1 -0
- package/dist/web/assets/CollectionEnvironment.vue-B0JkZ6GC.js +1 -0
- package/dist/web/assets/CollectionOverview.vue-Bm7OsMWM.js +1 -0
- package/dist/web/assets/CollectionScripts.vue-CZiBq0rT.js +1 -0
- package/dist/web/assets/CollectionServers.vue-bziJbP-5.js +1 -0
- package/dist/web/assets/CollectionSettings.vue-D4oBu-fT.js +1 -0
- package/dist/web/assets/CollectionSync.vue-BG50-Lo4.js +1 -0
- package/dist/web/assets/CommandActionInput.vue-DmZld2w7.js +1 -0
- package/dist/web/assets/Cookies.vue-DjxMLL79.js +1 -0
- package/dist/web/assets/DashboardPage-QjYCF0Kd.js +1 -0
- package/dist/web/assets/DashboardPage-gZJ4_s8T.css +1 -0
- package/dist/web/assets/DataTable.vue-BV9IuUNB.js +1 -0
- package/dist/web/assets/DataTableCheckbox.vue-Cx0exaNK.js +1 -0
- package/dist/web/assets/DataTableHeader.vue-ZtUdyiLV.js +1 -0
- package/dist/web/assets/DataTableInput.vue-C4NF8kJn.js +1 -0
- package/dist/web/assets/DeleteSidebarListElement.vue-CcAW4Pdn.js +1 -0
- package/dist/web/assets/EditSidebarListElement.vue-Crbagha4.js +1 -0
- package/dist/web/assets/EditorIcon-BaDORp4k.js +15 -0
- package/dist/web/assets/EditorIcon-zS3bHXe1.css +1 -0
- package/dist/web/assets/EmptyState.vue-2hJbVxAi.js +22 -0
- package/dist/web/assets/Environment.vue-CcERFnQq.js +1 -0
- package/dist/web/assets/EnvironmentForm-DSKxdDGW.js +108 -0
- package/dist/web/assets/EnvironmentForm-DVMc303P.css +1 -0
- package/dist/web/assets/EnvironmentFormPage-BDhR07CG.js +1 -0
- package/dist/web/assets/EnvironmentFormPage-OaDJvyrc.css +1 -0
- package/dist/web/assets/EnvironmentListPage-BDqcug66.css +1 -0
- package/dist/web/assets/EnvironmentListPage-BzdxgZdS.js +1 -0
- package/dist/web/assets/EnvironmentModal.vue-DvsPa6V9.js +1 -0
- package/dist/web/assets/EnvironmentSelector-B9SZvB3I.css +1 -0
- package/dist/web/assets/EnvironmentSelector-BWljvJWP.js +1 -0
- package/dist/web/assets/Form.vue-BxhIukSx.js +1 -0
- package/dist/web/assets/IconSelector.vue-SxFpYToZ.js +1 -0
- package/dist/web/assets/KanbanBoardPage-7nOYpwHn.css +1 -0
- package/dist/web/assets/KanbanBoardPage-Bbyn-iLC.js +141 -0
- package/dist/web/assets/KanbanListPage-BEX3MKW0.js +1 -0
- package/dist/web/assets/KanbanListPage-DbdjvTCx.css +1 -0
- package/dist/web/assets/LaunchProjectPage-DB_XBa86.js +1 -0
- package/dist/web/assets/LaunchProjectPage-_L_i2xo0.css +1 -0
- package/dist/web/assets/LaunchServicesPage-BABQz-ey.css +1 -0
- package/dist/web/assets/LaunchServicesPage-fmsU-_p0.js +1 -0
- package/dist/web/assets/LogViewer-CJcXcTP0.css +1 -0
- package/dist/web/assets/LogViewer-CV9OmAb1.js +3 -0
- package/dist/web/assets/ProcessControls-CKmB6sB9.css +1 -0
- package/dist/web/assets/ProcessControls-L_hld0kN.js +1 -0
- package/dist/web/assets/ProcessDetailPage-B0qGKtvQ.css +1 -0
- package/dist/web/assets/ProcessDetailPage-CW0F6wvO.js +1 -0
- package/dist/web/assets/ProcessMetrics-BgEFMdnW.css +1 -0
- package/dist/web/assets/ProcessMetrics-D2vCK15o.js +1 -0
- package/dist/web/assets/ProjectDetailPage-Bo04MsdE.js +1 -0
- package/dist/web/assets/ProjectDetailPage-CZBB6F-t.css +1 -0
- package/dist/web/assets/ProjectListPage-BGU6SKAr.css +1 -0
- package/dist/web/assets/ProjectListPage-CG-r82FQ.js +1 -0
- package/dist/web/assets/RandomJobTestPage-C1mgTTSY.css +1 -0
- package/dist/web/assets/RandomJobTestPage-COnuE_dj.js +2 -0
- package/dist/web/assets/Request.vue-CeAzdpVl.js +1 -0
- package/dist/web/assets/RequestAuth.vue-DABBKM9M.js +1 -0
- package/dist/web/assets/RequestRoot.vue-CRaiGtgb.js +19 -0
- package/dist/web/assets/ScalarAsciiArt.vue-mR3JflbN.js +2 -0
- package/dist/web/assets/ScalarIconEyeSlash.vue-JQCpS43o.js +1 -0
- package/dist/web/assets/ScalarIconTrash.vue-D7zGeCPC.js +1 -0
- package/dist/web/assets/ScenarioEditorPage-BVnDp-fS.js +14 -0
- package/dist/web/assets/ScenarioEditorPage-CfBKebp6.css +1 -0
- package/dist/web/assets/ServerVariablesForm.vue-DbVG31Dx.js +1 -0
- package/dist/web/assets/ServiceControlsBar-Cp2VUifX.js +1 -0
- package/dist/web/assets/ServiceControlsBar-D_S_sGQj.css +1 -0
- package/dist/web/assets/ServiceDetailPage-BriHTCpT.css +1 -0
- package/dist/web/assets/ServiceDetailPage-DMoXJliU.js +2 -0
- package/dist/web/assets/ServiceFormPage-BXTTwyWP.js +1 -0
- package/dist/web/assets/ServiceFormPage-CyY-14jH.css +1 -0
- package/dist/web/assets/Settings.vue-BtjfBYMB.js +1 -0
- package/dist/web/assets/SettingsPage-BFqYvm6R.js +508 -0
- package/dist/web/assets/SettingsPage-vGhb_tlY.css +1 -0
- package/dist/web/assets/SetupKeyPage-CrmikLTx.js +1 -0
- package/dist/web/assets/SetupKeyPage-DoY1Ua1s.css +1 -0
- package/dist/web/assets/SetupPage-CRuL5LXc.js +1 -0
- package/dist/web/assets/SetupPage-_KXpCQSU.css +1 -0
- package/dist/web/assets/Sidebar.vue-CLpz7l3s.js +1 -0
- package/dist/web/assets/SidebarButton.vue-DAvh-OoW.js +1 -0
- package/dist/web/assets/SidebarListElement.vue-CfQ22Epo.js +1 -0
- package/dist/web/assets/UnlockPage-Cx3PYgUl.css +1 -0
- package/dist/web/assets/UnlockPage-UxunGumn.js +1 -0
- package/dist/web/assets/VariablesTable-BtdK5olT.css +1 -0
- package/dist/web/assets/VariablesTable-CKe8mApI.js +1 -0
- package/dist/web/assets/ViewLayout.vue-D30IFsIP.js +1 -0
- package/dist/web/assets/ViewLayoutContent.vue-B4BXKBtQ.js +1 -0
- package/dist/web/assets/ViewLayoutSection.vue-BGkXXzBQ.js +1 -0
- package/dist/web/assets/_plugin-vue_export-helper-C7ztIXtE.js +1 -0
- package/dist/web/assets/abap-C4tHUUCU.js +1 -0
- package/dist/web/assets/active-entities-DMSK8Kvo.js +1 -0
- package/dist/web/assets/apex-6cG6aG-w.js +1 -0
- package/dist/web/assets/api-reference-DUBKG98-.js +1 -0
- package/dist/web/assets/autocomplete-Bx5M86A5.js +308 -0
- package/dist/web/assets/azcli-51BngrSU.js +1 -0
- package/dist/web/assets/base64-uZi92-DX.js +1 -0
- package/dist/web/assets/bat-BDcdVSIt.js +1 -0
- package/dist/web/assets/bicep-Cg0BCcky.js +2 -0
- package/dist/web/assets/cameligo-C3ekVui9.js +1 -0
- package/dist/web/assets/card-6r6P_U-q.js +32 -0
- package/dist/web/assets/checkbox-CQpllPXd.js +141 -0
- package/dist/web/assets/chip-gp-_w98f.js +54 -0
- package/dist/web/assets/clojure-Ci5xNgh_.js +1 -0
- package/dist/web/assets/codicon-DCmgc-ay.ttf +0 -0
- package/dist/web/assets/coffee-xsRz4GKy.js +1 -0
- package/dist/web/assets/column-CE6TbiAC.js +763 -0
- package/dist/web/assets/core-CLjfGkKM.js +1 -0
- package/dist/web/assets/cpp-B2gW4e23.js +1 -0
- package/dist/web/assets/csharp-SRujvHqy.js +1 -0
- package/dist/web/assets/csp-Cr-ll6gP.js +1 -0
- package/dist/web/assets/css-BYTJZCno.js +3 -0
- package/dist/web/assets/cssMode-Bl7Y9u0B.js +4 -0
- package/dist/web/assets/cypher-AmQ0R_D3.js +1 -0
- package/dist/web/assets/dart-Du01a0J5.js +1 -0
- package/dist/web/assets/dist-CNJKy0Au.js +192 -0
- package/dist/web/assets/dist-DGrDIHmK.js +1 -0
- package/dist/web/assets/dist-DkaYBczY.js +1 -0
- package/dist/web/assets/dist-E9g7EMme.js +1 -0
- package/dist/web/assets/dist-wHtavuXf.js +33 -0
- package/dist/web/assets/divider-J1wJyhb6.js +82 -0
- package/dist/web/assets/dockerfile-Dtlk9wqf.js +1 -0
- package/dist/web/assets/ecl-CpmVnLkK.js +1 -0
- package/dist/web/assets/editor.store-CIIP294U.js +1 -0
- package/dist/web/assets/editor.worker-Di51weDy.js +12 -0
- package/dist/web/assets/elixir-B3MVAC8k.js +1 -0
- package/dist/web/assets/fieldset-BRuU3VW2.js +88 -0
- package/dist/web/assets/flow9-Chkly0RN.js +1 -0
- package/dist/web/assets/freemarker2-C-5i2Fhr.js +3 -0
- package/dist/web/assets/fsharp-CZvMkppk.js +1 -0
- package/dist/web/assets/go-dT2iT7lt.js +1 -0
- package/dist/web/assets/graphql-DmObWyBD.js +1 -0
- package/dist/web/assets/handlebars-Bq-uEMhK.js +1 -0
- package/dist/web/assets/hcl-D1x5Oyp4.js +1 -0
- package/dist/web/assets/html-B-mweV_C.js +1 -0
- package/dist/web/assets/htmlMode-BlnuAGDY.js +4 -0
- package/dist/web/assets/index-BRDI9Dib.css +1 -0
- package/dist/web/assets/index-gfmcW9Sb.js +4220 -0
- package/dist/web/assets/ini-Bg2o1S3s.js +1 -0
- package/dist/web/assets/java-XviKSSn5.js +1 -0
- package/dist/web/assets/javascript-D61EWPTf.js +1 -0
- package/dist/web/assets/jsonMode-DmSJWG69.js +10 -0
- package/dist/web/assets/julia-DfTIwUGh.js +1 -0
- package/dist/web/assets/keyboard-nBda2f6m.js +4 -0
- package/dist/web/assets/kotlin-CNaIBh9d.js +1 -0
- package/dist/web/assets/less-D7o76tXd.js +2 -0
- package/dist/web/assets/lexon-Dd374QjV.js +1 -0
- package/dist/web/assets/lib-CegStMAw.js +5 -0
- package/dist/web/assets/library-BwIJAfg0.js +1 -0
- package/dist/web/assets/liquid-BRXADGhu.js +1 -0
- package/dist/web/assets/lua-DZKuiFbY.js +1 -0
- package/dist/web/assets/m3-CbwRx9Bb.js +1 -0
- package/dist/web/assets/markdown-DwLB5Rib.js +1 -0
- package/dist/web/assets/mdx-DXlefD6G.js +1 -0
- package/dist/web/assets/mediaTypes-BtSbXDUA.js +2 -0
- package/dist/web/assets/message-EfwB0RVQ.js +316 -0
- package/dist/web/assets/minus-DCEEn9ly.js +2 -0
- package/dist/web/assets/mips-DLbIq1yM.js +1 -0
- package/dist/web/assets/msdax-D4IjoZ6m.js +1 -0
- package/dist/web/assets/multiselect-BMOAw1qo.js +251 -0
- package/dist/web/assets/mysql-DQL_jy6H.js +1 -0
- package/dist/web/assets/objective-c-D74wM5bv.js +1 -0
- package/dist/web/assets/pascal-5tRlZk4O.js +1 -0
- package/dist/web/assets/pascaligo-CAE4rAEt.js +1 -0
- package/dist/web/assets/password-B0kJu8RE.js +101 -0
- package/dist/web/assets/perl-DREAbuQT.js +1 -0
- package/dist/web/assets/pgsql-DASKdyAW.js +1 -0
- package/dist/web/assets/php-C37ZWqoO.js +1 -0
- package/dist/web/assets/pla-v5u9R8i1.js +1 -0
- package/dist/web/assets/plus-CaknAInj.js +197 -0
- package/dist/web/assets/postiats-Szt5m-7G.js +1 -0
- package/dist/web/assets/powerquery-BzVrUSu3.js +1 -0
- package/dist/web/assets/powershell-BdbPbX_X.js +1 -0
- package/dist/web/assets/pretty-ms-CG-W6pSW.js +202 -0
- package/dist/web/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/dist/web/assets/primeicons-DMOk5skT.eot +0 -0
- package/dist/web/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/dist/web/assets/primeicons-MpK4pl85.ttf +0 -0
- package/dist/web/assets/primeicons-WjwUDZjB.woff +0 -0
- package/dist/web/assets/process.store-DxDr1XKZ.js +1 -0
- package/dist/web/assets/project.store-CUclo-tf.js +1 -0
- package/dist/web/assets/protobuf-qqDa50tu.js +2 -0
- package/dist/web/assets/pug-Cu20UQ5w.js +1 -0
- package/dist/web/assets/python-BeJzJfgr.js +1 -0
- package/dist/web/assets/qsharp-DcbHL5X7.js +1 -0
- package/dist/web/assets/r-Bvig6Flk.js +1 -0
- package/dist/web/assets/radiobutton-Dpp9kpvR.js +145 -0
- package/dist/web/assets/razor-C8GjTcdm.js +1 -0
- package/dist/web/assets/redis-BxHDcW3-.js +1 -0
- package/dist/web/assets/redshift-B8dvlzjH.js +1 -0
- package/dist/web/assets/restructuredtext-npodtAFM.js +1 -0
- package/dist/web/assets/router-BAq_YY48.js +1 -0
- package/dist/web/assets/ruby-DiofbcJD.js +1 -0
- package/dist/web/assets/rust-BjYid3-m.js +1 -0
- package/dist/web/assets/sb-CzcPAP71.js +1 -0
- package/dist/web/assets/scala-Ci4wFrYi.js +1 -0
- package/dist/web/assets/scheme-D3iWhvP7.js +1 -0
- package/dist/web/assets/scss-DdlqDgmu.js +3 -0
- package/dist/web/assets/settings.store-RtV37pb_.js +1 -0
- package/dist/web/assets/shell-Bawb9gbH.js +1 -0
- package/dist/web/assets/solidity-Z2Sq8PBC.js +1 -0
- package/dist/web/assets/sophia--yD-H1Ow.js +1 -0
- package/dist/web/assets/sparql-0vv3-wLi.js +1 -0
- package/dist/web/assets/sql-0gdWKhmJ.js +1 -0
- package/dist/web/assets/st-rE-x-DTZ.js +1 -0
- package/dist/web/assets/store-BSUCffsu.js +1840 -0
- package/dist/web/assets/style-4Pk2icOw.css +1 -0
- package/dist/web/assets/swift-CSKeG8Ne.js +1 -0
- package/dist/web/assets/systemverilog-CblNM3Im.js +1 -0
- package/dist/web/assets/tabpanel-CXo9Yhvl.js +150 -0
- package/dist/web/assets/tag-BsP7PdQ9.js +54 -0
- package/dist/web/assets/tcl-BYnzj-GZ.js +1 -0
- package/dist/web/assets/toggleswitch-C0fuTzJt.js +115 -0
- package/dist/web/assets/trpc-DgyerAaK.js +1 -0
- package/dist/web/assets/ts.worker-DHQ2j8_R.js +51339 -0
- package/dist/web/assets/tsMode-CaqfXb40.js +11 -0
- package/dist/web/assets/twig-DiGWiEtp.js +1 -0
- package/dist/web/assets/typescript-D23_zyMA.js +1 -0
- package/dist/web/assets/typespec-a6xMcpXw.js +1 -0
- package/dist/web/assets/urls-D4kou9RH.js +12 -0
- package/dist/web/assets/use-tree-walker-BebEauYQ.js +1 -0
- package/dist/web/assets/useAiChatDrawer-DDBZQU71.js +1 -0
- package/dist/web/assets/useClipboard-BgE-EP5h.js +1 -0
- package/dist/web/assets/useLayout-BtC8xLAa.js +1 -0
- package/dist/web/assets/usePluginManager-MFUURiUn.js +1 -0
- package/dist/web/assets/useSidebar-DC34K6Vb.js +1 -0
- package/dist/web/assets/uuid-B9GFVXPm.js +1 -0
- package/dist/web/assets/vb---51HVMC.js +1 -0
- package/dist/web/assets/vue-router-CCwpUNtv.js +1 -0
- package/dist/web/assets/w3c-keyname-DDCGDLuI.js +1 -0
- package/dist/web/assets/wgsl-2A8z4pT5.js +298 -0
- package/dist/web/assets/xml-e0SmIpRt.js +1 -0
- package/dist/web/assets/yaml-ChhAbF6s.js +1 -0
- package/dist/web/index.html +14 -0
- package/package.json +7 -7
- package/Dockerfile +0 -54
- package/scripts/post-build.mjs +0 -61
- package/src/__tests__/cli-port.test.ts +0 -93
- package/src/index.ts +0 -298
- package/src/port-resolution.ts +0 -19
- package/tsconfig.json +0 -9
- package/tsup.config.bundled_lh0xis3zdq.mjs +0 -10
- package/tsup.config.bundled_qj1zdvku09a.mjs +0 -10
- package/tsup.config.ts +0 -6
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import{$i as e,$r as t,Aa as n,Bi as r,Ca as i,Da as a,Di as o,Ea as s,Ei as c,Et as l,Fi as u,Gt as d,Hi as f,Ii as p,Ji as m,Ki as h,Kr as g,Ma as _,Mi as v,Na as y,Ni as b,Nt as x,Oa as S,Oi as C,Qi as w,Ri as T,Sa as ee,Si as E,Ui as D,Ut as te,Vi as ne,Vt as re,Xi as ie,Yi as ae,Yr as O,Zi as oe,Zr as se,_a as ce,_i as k,aa as le,ai as ue,ba as de,bi as fe,ci as A,da as pe,di as j,ea as me,ei as he,fa as ge,fi as M,ga as _e,gi as ve,ha as N,hi as ye,ia as be,ii as xe,ja as Se,ji as Ce,ka as we,ki as Te,li as P,ma as Ee,mi as De,na as Oe,ni as ke,oa as Ae,oi as je,pa as Me,pi as Ne,qi as Pe,ra as F,ri as Fe,sa as Ie,si as Le,ta as Re,ti as ze,ua as Be,ui as I,va as Ve,wa as He,wi as Ue,xa as We,xi as L,ya as Ge,yi as R,zi as Ke}from"./index-gfmcW9Sb.js";import{A as qe,C as Je,D as Ye,E as Xe,F as Ze,M as Qe,N as $e,O as et,P as tt,S as nt,T as rt,_ as it,a as at,b as ot,c as st,d as ct,f as lt,g as ut,h as dt,i as ft,j as pt,k as mt,l as ht,m as gt,o as _t,p as vt,r as yt,s as bt,t as xt,u as St,v as Ct,w as wt,x as Tt,y as Et}from"./lib-CegStMAw.js";function Dt(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Dt(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Ot(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Dt(e))&&(r&&(r+=` `),r+=t);return r}var kt=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e;const At=e=>{let t=function(){var t=[...arguments];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?Ot(t):e?.hooks.onComplete(Ot(t)):e?.hooks[`cx:done`](Ot(t))};return{compose:function(){var e=[...arguments];return n=>{let r=Object.fromEntries(Object.entries(n||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(e.map(e=>e(r)),n?.class,n?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=kt(t)||kt(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:jt,cva:Mt,cx:Nt}=At();var Pt=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Ft=(e,t)=>({classGroupId:e,validator:t}),It=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Lt=`-`,Rt=[],zt=`arbitrary..`,Bt=e=>{let t=Ut(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Ht(e);let n=e.split(Lt);return Vt(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Pt(i,t):t:i||Rt}return n[e]||Rt}}},Vt=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Vt(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Lt):e.slice(t).join(Lt),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Ht=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?zt+r:void 0})(),Ut=e=>{let{theme:t,classGroups:n}=e;return Wt(n,t)},Wt=(e,t)=>{let n=It();for(let r in e){let i=e[r];Gt(i,n,r,t)}return n},Gt=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Kt(i,t,n,r)}},Kt=(e,t,n,r)=>{if(typeof e==`string`){qt(e,t,n);return}if(typeof e==`function`){Jt(e,t,n,r);return}Yt(e,t,n,r)},qt=(e,t,n)=>{let r=e===``?t:Xt(t,e);r.classGroupId=n},Jt=(e,t,n,r)=>{if(Zt(e)){Gt(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ft(n,e))},Yt=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Gt(o,Xt(t,a),n,r)}},Xt=(e,t)=>{let n=e,r=t.split(Lt),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=It(),n.nextPart.set(t,i)),n=i}return n},Zt=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Qt=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},$t=`!`,en=`:`,tn=[],nn=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),rn=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===en){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith($t)?(c=s.slice(0,-1),l=!0):s.startsWith($t)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return nn(t,l,c,u)};if(t){let e=t+en,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):nn(tn,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},an=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},on=e=>({cache:Qt(e.cacheSize),parseClassName:rn(e),sortModifiers:an(e),...Bt(e)}),sn=/\s+/,cn=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(sn),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+$t:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},ln=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=un(n))&&(i&&(i+=` `),i+=r);return i},un=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=un(e[r]))&&(n&&(n+=` `),n+=t);return n},dn=(e,...t)=>{let n,r,i,a,o=o=>(n=on(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=cn(e,n);return i(e,a),a};return a=o,(...e)=>a(ln(...e))},fn=[],pn=e=>{let t=t=>t[e]||fn;return t.isThemeGetter=!0,t},mn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,gn=/^\d+\/\d+$/,_n=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,bn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Sn=e=>gn.test(e),Cn=e=>!!e&&!Number.isNaN(Number(e)),wn=e=>!!e&&Number.isInteger(Number(e)),Tn=e=>e.endsWith(`%`)&&Cn(e.slice(0,-1)),En=e=>_n.test(e),Dn=()=>!0,On=e=>vn.test(e)&&!yn.test(e),kn=()=>!1,An=e=>bn.test(e),jn=e=>xn.test(e),Mn=e=>!z(e)&&!B(e),Nn=e=>Gn(e,Yn,kn),z=e=>mn.test(e),Pn=e=>Gn(e,Xn,On),Fn=e=>Gn(e,Zn,Cn),In=e=>Gn(e,qn,kn),Ln=e=>Gn(e,Jn,jn),Rn=e=>Gn(e,$n,An),B=e=>hn.test(e),zn=e=>Kn(e,Xn),Bn=e=>Kn(e,Qn),Vn=e=>Kn(e,qn),Hn=e=>Kn(e,Yn),Un=e=>Kn(e,Jn),Wn=e=>Kn(e,$n,!0),Gn=(e,t,n)=>{let r=mn.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Kn=(e,t,n=!1)=>{let r=hn.exec(e);return r?r[1]?t(r[1]):n:!1},qn=e=>e===`position`||e===`percentage`,Jn=e=>e===`image`||e===`url`,Yn=e=>e===`length`||e===`size`||e===`bg-size`,Xn=e=>e===`length`,Zn=e=>e===`number`,Qn=e=>e===`family-name`,$n=e=>e===`shadow`,er=()=>{let e=pn(`color`),t=pn(`font`),n=pn(`text`),r=pn(`font-weight`),i=pn(`tracking`),a=pn(`leading`),o=pn(`breakpoint`),s=pn(`container`),c=pn(`spacing`),l=pn(`radius`),u=pn(`shadow`),d=pn(`inset-shadow`),f=pn(`text-shadow`),p=pn(`drop-shadow`),m=pn(`blur`),h=pn(`perspective`),g=pn(`aspect`),_=pn(`ease`),v=pn(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),B,z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[B,z,c],T=()=>[Sn,`full`,`auto`,...w()],ee=()=>[wn,`none`,`subgrid`,B,z],E=()=>[`auto`,{span:[`full`,wn,B,z]},wn,B,z],D=()=>[wn,`auto`,B,z],te=()=>[`auto`,`min`,`max`,`fr`,B,z],ne=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],re=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ie=()=>[`auto`,...w()],ae=()=>[Sn,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],O=()=>[e,B,z],oe=()=>[...b(),Vn,In,{position:[B,z]}],se=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ce=()=>[`auto`,`cover`,`contain`,Hn,Nn,{size:[B,z]}],k=()=>[Tn,zn,Pn],le=()=>[``,`none`,`full`,l,B,z],ue=()=>[``,Cn,zn,Pn],de=()=>[`solid`,`dashed`,`dotted`,`double`],fe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],A=()=>[Cn,Tn,Vn,In],pe=()=>[``,`none`,m,B,z],j=()=>[`none`,Cn,B,z],me=()=>[`none`,Cn,B,z],he=()=>[Cn,B,z],ge=()=>[Sn,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[En],breakpoint:[En],color:[Dn],container:[En],"drop-shadow":[En],ease:[`in`,`out`,`in-out`],font:[Mn],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[En],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[En],shadow:[En],spacing:[`px`,Cn],text:[En],"text-shadow":[En],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Sn,z,B,g]}],container:[`container`],columns:[{columns:[Cn,z,B,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[wn,`auto`,B,z]}],basis:[{basis:[Sn,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Cn,Sn,`auto`,`initial`,`none`,z]}],grow:[{grow:[``,Cn,B,z]}],shrink:[{shrink:[``,Cn,B,z]}],order:[{order:[wn,`first`,`last`,`none`,B,z]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ne(),`normal`]}],"justify-items":[{"justify-items":[...re(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...re()]}],"align-content":[{content:[`normal`,...ne()]}],"align-items":[{items:[...re(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...re(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ne()}],"place-items":[{"place-items":[...re(),`baseline`]}],"place-self":[{"place-self":[`auto`,...re()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ie()}],mx:[{mx:ie()}],my:[{my:ie()}],ms:[{ms:ie()}],me:[{me:ie()}],mt:[{mt:ie()}],mr:[{mr:ie()}],mb:[{mb:ie()}],ml:[{ml:ie()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ae()}],w:[{w:[s,`screen`,...ae()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ae()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ae()]}],h:[{h:[`screen`,`lh`,...ae()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ae()]}],"max-h":[{"max-h":[`screen`,`lh`,...ae()]}],"font-size":[{text:[`base`,n,zn,Pn]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,B,Fn]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Tn,z]}],"font-family":[{font:[Bn,z,t]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,B,z]}],"line-clamp":[{"line-clamp":[Cn,`none`,B,Fn]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,B,z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,B,z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...de(),`wavy`]}],"text-decoration-thickness":[{decoration:[Cn,`from-font`,`auto`,B,Pn]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Cn,`auto`,B,z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,B,z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,B,z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:oe()}],"bg-repeat":[{bg:se()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},wn,B,z],radial:[``,B,z],conic:[wn,B,z]},Un,Ln]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:k()}],"gradient-via-pos":[{via:k()}],"gradient-to-pos":[{to:k()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...de(),`hidden`,`none`]}],"divide-style":[{divide:[...de(),`hidden`,`none`]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...de(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Cn,B,z]}],"outline-w":[{outline:[``,Cn,zn,Pn]}],"outline-color":[{outline:O()}],shadow:[{shadow:[``,`none`,u,Wn,Rn]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":[`none`,d,Wn,Rn]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:ue()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Cn,Pn]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":[`none`,f,Wn,Rn]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Cn,B,z]}],"mix-blend":[{"mix-blend":[...fe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[Cn]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[B,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[Cn]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:se()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,B,z]}],filter:[{filter:[``,`none`,B,z]}],blur:[{blur:pe()}],brightness:[{brightness:[Cn,B,z]}],contrast:[{contrast:[Cn,B,z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Wn,Rn]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:[``,Cn,B,z]}],"hue-rotate":[{"hue-rotate":[Cn,B,z]}],invert:[{invert:[``,Cn,B,z]}],saturate:[{saturate:[Cn,B,z]}],sepia:[{sepia:[``,Cn,B,z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,B,z]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[Cn,B,z]}],"backdrop-contrast":[{"backdrop-contrast":[Cn,B,z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Cn,B,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Cn,B,z]}],"backdrop-invert":[{"backdrop-invert":[``,Cn,B,z]}],"backdrop-opacity":[{"backdrop-opacity":[Cn,B,z]}],"backdrop-saturate":[{"backdrop-saturate":[Cn,B,z]}],"backdrop-sepia":[{"backdrop-sepia":[``,Cn,B,z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,B,z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Cn,`initial`,B,z]}],ease:[{ease:[`linear`,`initial`,_,B,z]}],delay:[{delay:[Cn,B,z]}],animate:[{animate:[`none`,v,B,z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,B,z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:j()}],"rotate-x":[{"rotate-x":j()}],"rotate-y":[{"rotate-y":j()}],"rotate-z":[{"rotate-z":j()}],scale:[{scale:me()}],"scale-x":[{"scale-x":me()}],"scale-y":[{"scale-y":me()}],"scale-z":[{"scale-z":me()}],"scale-3d":[`scale-3d`],skew:[{skew:he()}],"skew-x":[{"skew-x":he()}],"skew-y":[{"skew-y":he()}],transform:[{transform:[B,z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ge()}],"translate-x":[{"translate-x":ge()}],"translate-y":[{"translate-y":ge()}],"translate-z":[{"translate-z":ge()}],"translate-none":[`translate-none`],accent:[{accent:O()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,B,z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,B,z]}],fill:[{fill:[`none`,...O()]}],"stroke-w":[{stroke:[Cn,zn,Pn,Fn]}],stroke:[{stroke:[`none`,...O()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},tr=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(nr(e,`cacheSize`,t),nr(e,`prefix`,n),nr(e,`experimentalParseClassName`,r),rr(e.theme,a.theme),rr(e.classGroups,a.classGroups),rr(e.conflictingClassGroups,a.conflictingClassGroups),rr(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),nr(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),ir(e.theme,i.theme),ir(e.classGroups,i.classGroups),ir(e.conflictingClassGroups,i.conflictingClassGroups),ir(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ar(e,i,`orderSensitiveModifiers`),e),nr=(e,t,n)=>{n!==void 0&&(e[t]=n)},rr=(e,t)=>{if(t)for(let n in t)nr(e,n,t[n])},ir=(e,t)=>{if(t)for(let n in t)ar(e,t,n)},ar=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},or=((e,...t)=>typeof e==`function`?dn(er,e,...t):dn(()=>tr(er(),e),...t))({extend:{classGroups:{"font-size":[`text-3xs`,`text-xxs`],"font-weight":[`font-sidebar`,`font-sidebar-active`]}}}),{cva:sr,cx:cr,compose:lr}=At({hooks:{onComplete:e=>or(e)}});function V(){let e=m(),t=A(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:cr(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:cr(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:A(()=>t.value.rest)}}var ur={solid:[`scalar-button-solid`,`bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1`],outlined:[`scalar-button-outlined`,`active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2`],ghost:[`scalar-button-ghost`,`bg-transparent text-c-3 active:text-c-1 hover:text-c-1`],gradient:[`scalar-button-gradient`,`shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t`,`dark:bg-linear-to-t dark:hover:bg-linear-to-b`],danger:[`scalar-button-danger`,`bg-c-danger text-white active:brightness-90 hover:brightness-90`]},dr={class:`circular-loader`},fr=R({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=V(),n=sr({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}});return(o,c)=>e.loader?(r(),M(`div`,a(C({key:0},i(t)(`loader-wrapper`,i(n)({size:e.size})))),[(r(),M(`svg`,{class:s([`svg-loader`,{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[c[0]||=ye(`<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>`,5),P(`g`,dr,[P(`circle`,{class:s([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):j(``,!0)}}),pr=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},mr=pr(fr,[[`__scopeId`,`data-v-27df5cd8`]]),hr={key:3,class:`centered`},gr=R({inheritAttrs:!1,__name:`ScalarButton`,props:{is:{default:`button`},variant:{default:`solid`},size:{default:`md`},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=sr({base:`scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1`,variants:{disabled:{true:`bg-b-2 text-color-3 shadow-none`},size:{xs:`px-2 py-1 text-xs leading-5`,sm:`px-3.5 py-2 text-sm leading-5`,md:`px-5 py-3 text-sm leading-5`},variant:ur},compoundVariants:[{disabled:!0,variant:[`solid`,`outlined`,`ghost`,`gradient`,`danger`],class:`bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]`},{disabled:!0,variant:[`gradient`],class:`to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t`}]}),n=sr({base:`shrink-0`,variants:{size:{xs:`size-2.75 -ml-0.25 mr-1`,sm:`size-3.25 -ml-0.5 mr-1.5`,md:`size-3.5 -ml-0.5 mr-1.5`}}}),a=sr({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:o}=V();return(c,l)=>(r(),I(h(e.is),C({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},i(o)(i(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:F(()=>[c.$slots.icon||e.icon?(r(),M(`div`,{key:0,class:s([i(n)({size:e.size}),{invisible:e.loader?.isActive}])},[D(c.$slots,`icon`,{},()=>[(r(),I(h(e.icon),{class:`size-full`}))])],2)):j(``,!0),e.loader?(r(),M(`span`,{key:1,class:s({invisible:e.loader?.isActive})},[D(c.$slots,`default`)],2)):D(c.$slots,`default`,{key:2}),e.loader?.isActive?(r(),M(`div`,hr,[k(i(mr),{class:s(i(a)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):j(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}}),_r=Symbol(),vr=e=>{let t=Ue(_r,void 0);t&&(t.value=e)},yr=()=>{let e=N();return ne(_r,e),{id:e}},br=R({inheritAttrs:!1,__name:`ScalarCard`,props:{label:{}},setup(e){let{id:t}=yr(),n=A(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:a}=V();return(e,t)=>(r(),M(`div`,C({role:`group`},{...n.value,...i(a)(`scalar-card bg-b-2 flex flex-col divide-y rounded-xl border *:first:rounded-t-[inherit] *:last:rounded-b-[inherit]`)}),[D(e.$slots,`default`)],16))}}),xr=R({inheritAttrs:!1,__name:`ScalarCardSection`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`div`,a(L(i(t)(`scalar-card-content flex overflow-auto`))),[D(e.$slots,`default`)],16))}}),Sr=R({inheritAttrs:!1,__name:`ScalarCardFooter`,setup(e){let{cx:t}=V();return(e,n)=>(r(),I(xr,a(L(i(t)(`scalar-card-footer`))),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),Cr=[`id`],wr={key:0,class:`flex`},Tr=R({inheritAttrs:!1,__name:`ScalarCardHeader`,setup(e){let{cx:t}=V(),n=ae();return vr(n),(e,o)=>(r(),I(xr,a(L(i(t)(`scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0`))),{default:F(()=>[P(`div`,{id:i(n),class:`scalar-card-header-title min-w-0 flex-1 truncate`},[D(e.$slots,`default`)],8,Cr),e.$slots.actions?(r(),M(`div`,wr,[D(e.$slots,`actions`)])):j(``,!0)]),_:3},16))}}),Er=`regular`;function Dr(e={}){let t=A(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:A(()=>({width:`1em`,height:`1em`,...t.value})),weight:A(()=>e.weight??Er)}}var Or={key:0},kr={key:1},Ar={key:2},jr={key:3},Mr={key:4},Nr={key:5},Pr=R({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Or,[...a[0]||=[P(`path`,{d:`M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,kr,[...a[1]||=[P(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Ar,[...a[2]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,jr,[...a[3]||=[P(`path`,{d:`M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Mr,[...a[4]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Nr,[...a[5]||=[P(`path`,{d:`M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z`},null,-1)]])):j(``,!0)],16))}}),Fr={key:0},Ir={key:1},Lr={key:2},Rr={key:3},zr={key:4},Br={key:5},Vr=R({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Fr,[...a[0]||=[P(`path`,{d:`M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Ir,[...a[1]||=[P(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Lr,[...a[2]||=[P(`path`,{d:`M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Rr,[...a[3]||=[P(`path`,{d:`M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,zr,[...a[4]||=[P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Br,[...a[5]||=[P(`path`,{d:`M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z`},null,-1)]])):j(``,!0)],16))}}),Hr={key:0},Ur={key:1},Wr={key:2},Gr={key:3},Kr={key:4},qr={key:5},Jr=R({name:`ScalarIconBookOpenText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Hr,[...a[0]||=[P(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Ur,[...a[1]||=[P(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Wr,[...a[2]||=[P(`path`,{d:`M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Gr,[...a[3]||=[P(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Kr,[...a[4]||=[P(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,qr,[...a[5]||=[P(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z`},null,-1)]])):j(``,!0)],16))}}),Yr={key:0},Xr={key:1},Zr={key:2},Qr={key:3},$r={key:4},ei={key:5},ti=R({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Yr,[...a[0]||=[P(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Xr,[...a[1]||=[P(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Zr,[...a[2]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Qr,[...a[3]||=[P(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,$r,[...a[4]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,ei,[...a[5]||=[P(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):j(``,!0)],16))}}),ni={key:0},ri={key:1},ii={key:2},ai={key:3},oi={key:4},si={key:5},ci=R({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,ni,[...a[0]||=[P(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,ri,[...a[1]||=[P(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,ii,[...a[2]||=[P(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,ai,[...a[3]||=[P(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,oi,[...a[4]||=[P(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,si,[...a[5]||=[P(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`},null,-1)]])):j(``,!0)],16))}}),li={key:0},ui={key:1},di={key:2},fi={key:3},pi={key:4},mi={key:5},hi=R({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,li,[...a[0]||=[P(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,ui,[...a[1]||=[P(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,di,[...a[2]||=[P(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,fi,[...a[3]||=[P(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,pi,[...a[4]||=[P(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,mi,[...a[5]||=[P(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):j(``,!0)],16))}}),gi={key:0},_i={key:1},vi={key:2},yi={key:3},bi={key:4},xi={key:5},Si=R({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,gi,[...a[0]||=[P(`path`,{d:`M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,_i,[...a[1]||=[P(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,vi,[...a[2]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,yi,[...a[3]||=[P(`path`,{d:`M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,bi,[...a[4]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,xi,[...a[5]||=[P(`path`,{d:`M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z`},null,-1)]])):j(``,!0)],16))}}),Ci={key:0},wi={key:1},Ti={key:2},Ei={key:3},Di={key:4},Oi={key:5},ki=R({name:`ScalarIconDiscordLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Ci,[...a[0]||=[P(`path`,{d:`M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,wi,[...a[1]||=[P(`path`,{d:`M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Ti,[...a[2]||=[P(`path`,{d:`M247.51,174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Ei,[...a[3]||=[P(`path`,{d:`M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Di,[...a[4]||=[P(`path`,{d:`M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Oi,[...a[5]||=[P(`path`,{d:`M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z`},null,-1)]])):j(``,!0)],16))}}),Ai={key:0},ji={key:1},Mi={key:2},Ni={key:3},Pi={key:4},Fi={key:5},Ii=R({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Ai,[...a[0]||=[P(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,ji,[...a[1]||=[P(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Mi,[...a[2]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Ni,[...a[3]||=[P(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Pi,[...a[4]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Fi,[...a[5]||=[P(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z`},null,-1)]])):j(``,!0)],16))}}),Li={key:0},Ri={key:1},zi={key:2},Bi={key:3},Vi={key:4},Hi={key:5},Ui=R({name:`ScalarIconFileText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Li,[...a[0]||=[P(`path`,{d:`M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Ri,[...a[1]||=[P(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,zi,[...a[2]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Bi,[...a[3]||=[P(`path`,{d:`M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Vi,[...a[4]||=[P(`path`,{d:`M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Hi,[...a[5]||=[P(`path`,{d:`M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z`},null,-1)]])):j(``,!0)],16))}}),Wi={key:0},Gi={key:1},Ki={key:2},qi={key:3},Ji={key:4},Yi={key:5},Xi=R({name:`ScalarIconGithubLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Wi,[...a[0]||=[P(`path`,{d:`M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Gi,[...a[1]||=[P(`path`,{d:`M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Ki,[...a[2]||=[P(`path`,{d:`M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,qi,[...a[3]||=[P(`path`,{d:`M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Ji,[...a[4]||=[P(`path`,{d:`M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Yi,[...a[5]||=[P(`path`,{d:`M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z`},null,-1)]])):j(``,!0)],16))}}),Zi={key:0},Qi={key:1},$i={key:2},ea={key:3},ta={key:4},na={key:5},ra=R({name:`ScalarIconHouse`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Zi,[...a[0]||=[P(`path`,{d:`M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Qi,[...a[1]||=[P(`path`,{d:`M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,$i,[...a[2]||=[P(`path`,{d:`M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,ea,[...a[3]||=[P(`path`,{d:`M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,ta,[...a[4]||=[P(`path`,{d:`M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,na,[...a[5]||=[P(`path`,{d:`M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z`},null,-1)]])):j(``,!0)],16))}}),ia={key:0},aa={key:1},oa={key:2},sa={key:3},ca={key:4},la={key:5},ua=R({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,ia,[...a[0]||=[P(`path`,{d:`M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,aa,[...a[1]||=[P(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,oa,[...a[2]||=[P(`path`,{d:`M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,sa,[...a[3]||=[P(`path`,{d:`M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,ca,[...a[4]||=[P(`path`,{d:`M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,la,[...a[5]||=[P(`path`,{d:`M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z`},null,-1)]])):j(``,!0)],16))}}),da={key:0},fa={key:1},pa={key:2},ma={key:3},ha={key:4},ga={key:5},_a=R({name:`ScalarIconNotepad`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,da,[...a[0]||=[P(`path`,{d:`M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V40A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,fa,[...a[1]||=[P(`path`,{d:`M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,pa,[...a[2]||=[P(`path`,{d:`M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,ma,[...a[3]||=[P(`path`,{d:`M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,ha,[...a[4]||=[P(`path`,{d:`M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,ga,[...a[5]||=[P(`path`,{d:`M164,128a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,128Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM212,40V200a28,28,0,0,1-28,28H72a28,28,0,0,1-28-28V40a4,4,0,0,1,4-4H76V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h28A4,4,0,0,1,212,40Zm-8,4H180V56a4,4,0,0,1-8,0V44H132V56a4,4,0,0,1-8,0V44H84V56a4,4,0,0,1-8,0V44H52V200a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20Z`},null,-1)]])):j(``,!0)],16))}}),va={key:0},ya={key:1},ba={key:2},xa={key:3},Sa={key:4},Ca={key:5},wa=R({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,va,[...a[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,ya,[...a[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,ba,[...a[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,xa,[...a[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Sa,[...a[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Ca,[...a[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z`},null,-1)]])):j(``,!0)],16))}}),Ta={key:0},Ea={key:1},Da={key:2},Oa={key:3},ka={key:4},Aa={key:5},ja=R({name:`ScalarIconSwap`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Ta,[...a[0]||=[P(`path`,{d:`M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Ea,[...a[1]||=[P(`path`,{d:`M216,48V152a8,8,0,0,1-8,8H168v48a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H88V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Da,[...a[2]||=[P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Oa,[...a[3]||=[P(`path`,{d:`M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,ka,[...a[4]||=[P(`path`,{d:`M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,Aa,[...a[5]||=[P(`path`,{d:`M220,48V152a12,12,0,0,1-12,12H89.66l17.17,17.17a4,4,0,0,1-5.66,5.66l-24-24a4,4,0,0,1,0-5.66l24-24a4,4,0,0,1,5.66,5.66L89.66,156H208a4,4,0,0,0,4-4V48a4,4,0,0,0-4-4H96a4,4,0,0,0-4,4v8a4,4,0,0,1-8,0V48A12,12,0,0,1,96,36H208A12,12,0,0,1,220,48ZM168,196a4,4,0,0,0-4,4v8a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V104a4,4,0,0,1,4-4H166.34l-17.17,17.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L166.34,92H48a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12H160a12,12,0,0,0,12-12v-8A4,4,0,0,0,168,196Z`},null,-1)]])):j(``,!0)],16))}}),Ma={key:0},Na={key:1},Pa={key:2},Fa={key:3},Ia={key:4},La={key:5},Ra=R({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Dr(e);return(e,a)=>(r(),M(`svg`,C({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},i(t)),[D(e.$slots,`default`),i(n)===`bold`?(r(),M(`g`,Ma,[...a[0]||=[P(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`},null,-1)]])):i(n)===`duotone`?(r(),M(`g`,Na,[...a[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):i(n)===`fill`?(r(),M(`g`,Pa,[...a[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):i(n)===`light`?(r(),M(`g`,Fa,[...a[3]||=[P(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`},null,-1)]])):i(n)===`regular`?(r(),M(`g`,Ia,[...a[4]||=[P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):i(n)===`thin`?(r(),M(`g`,La,[...a[5]||=[P(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`},null,-1)]])):j(``,!0)],16))}}),za=R({__name:`ScalarCheckbox`,props:{selected:{type:Boolean},type:{default:`checkbox`}},setup(e){return(t,n)=>(r(),M(`div`,{class:s([`flex size-4 items-center justify-center p-0.75`,[e.selected?`bg-c-accent text-b-1`:`text-transparent shadow-border`,e.type===`checkbox`?`rounded`:`rounded-full`]])},[e.selected?(r(),I(i(hi),{key:0,class:`size-3`,weight:`bold`})):j(``,!0)],2))}}),Ba=Symbol(),Va=()=>Ue(Ba,!1),Ha=()=>{ne(Ba,!0)},Ua=R({inheritAttrs:!1,__name:`ScalarFormInput`,props:{is:{default:`button`}},setup(e){let{cx:t}=V(),n=Va(),a=sr({base:[`bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3`,`text-base leading-5`,`outline-offset-[-1px] has-[:focus-visible]:outline`],variants:{grouped:{true:`first:rounded-t-[inherit] last:rounded-b-[inherit]`,false:`rounded shadow-border`},button:{true:`cursor-pointer hover:bg-b-2`}}});return(o,s)=>(r(),I(h(e.is),C({type:e.is===`button`?`button`:void 0},i(t)(i(a)({button:e.is===`button`,grouped:i(n)}))),{default:F(()=>[D(o.$slots,`default`)]),_:3},16,[`type`]))}}),Wa={class:`flex-1 text-left min-w-0 truncate`},Ga=[`type`],Ka=R({inheritAttrs:!1,__name:`ScalarCheckboxInput`,props:o({type:{default:`checkbox`}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ie(e,`modelValue`),{stylingAttrsCx:n,otherAttrs:a}=V();return(o,s)=>(r(),I(i(Ua),C({is:`label`},i(n)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":t.value})),{default:F(()=>[k(za,{class:`shrink-0`,selected:t.value,type:e.type},null,8,[`selected`,`type`]),P(`div`,Wa,[D(o.$slots,`default`)]),be(P(`input`,C({"onUpdate:modelValue":s[0]||=e=>t.value=e,class:`sr-only`,type:e.type},i(a)),null,16,Ga),[[se,t.value]])]),_:3},16))}}),qa=R({inheritAttrs:!1,__name:`ScalarFormInputGroup`,props:{is:{default:`div`}},setup(e){let{cx:t}=V();return Ha(),(n,o)=>(r(),I(h(e.is),a(L(i(t)(`flex flex-col border rounded divide-y`))),{default:F(()=>[D(n.$slots,`default`)]),_:3},16))}}),Ja=R({__name:`ScalarCheckboxRadioGroup`,props:o({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ie(e,`modelValue`),n=ae();return(a,o)=>(r(),I(i(qa),null,{default:F(()=>[(r(!0),M(ue,null,f(e.options,e=>(r(),I(Ka,{key:e.value,modelValue:t.value?.value===e.value,name:i(n),type:`radio`,value:e.value,"onUpdate:modelValue":n=>t.value=n?e:void 0},{default:F(()=>[ve(we(e.label),1)]),_:2},1032,[`modelValue`,`name`,`value`,`onUpdate:modelValue`]))),128))]),_:1}))}}),Ya=R({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`div`,a(L(i(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}}),Xa=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Xa.prototype.normal={},Xa.prototype.property={},Xa.prototype.space=void 0;function Za(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Xa(n,r,t)}function Qa(e){return e.toLowerCase()}var $a=class{constructor(e,t){this.attribute=t,this.property=e}};$a.prototype.attribute=``,$a.prototype.booleanish=!1,$a.prototype.boolean=!1,$a.prototype.commaOrSpaceSeparated=!1,$a.prototype.commaSeparated=!1,$a.prototype.defined=!1,$a.prototype.mustUseProperty=!1,$a.prototype.number=!1,$a.prototype.overloadedBoolean=!1,$a.prototype.property=``,$a.prototype.spaceSeparated=!1,$a.prototype.space=void 0;var eo=_({boolean:()=>no,booleanish:()=>ro,commaOrSpaceSeparated:()=>so,commaSeparated:()=>oo,number:()=>H,overloadedBoolean:()=>io,spaceSeparated:()=>ao},1),to=0;const no=co(),ro=co(),io=co(),H=co(),ao=co(),oo=co(),so=co();function co(){return 2**++to}var lo=Object.keys(eo),uo=class extends $a{constructor(e,t,n,r){let i=-1;if(super(e,t),fo(this,`space`,r),typeof n==`number`)for(;++i<lo.length;){let e=lo[i];fo(this,lo[i],(n&eo[e])===eo[e])}}};uo.prototype.defined=!0;function fo(e,t,n){n&&(e[t]=n)}function po(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new uo(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Qa(r)]=r,n[Qa(a.attribute)]=r}return new Xa(t,n,e.space)}const mo=po({properties:{ariaActiveDescendant:null,ariaAtomic:ro,ariaAutoComplete:null,ariaBusy:ro,ariaChecked:ro,ariaColCount:H,ariaColIndex:H,ariaColSpan:H,ariaControls:ao,ariaCurrent:null,ariaDescribedBy:ao,ariaDetails:null,ariaDisabled:ro,ariaDropEffect:ao,ariaErrorMessage:null,ariaExpanded:ro,ariaFlowTo:ao,ariaGrabbed:ro,ariaHasPopup:null,ariaHidden:ro,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ao,ariaLevel:H,ariaLive:null,ariaModal:ro,ariaMultiLine:ro,ariaMultiSelectable:ro,ariaOrientation:null,ariaOwns:ao,ariaPlaceholder:null,ariaPosInSet:H,ariaPressed:ro,ariaReadOnly:ro,ariaRelevant:null,ariaRequired:ro,ariaRoleDescription:ao,ariaRowCount:H,ariaRowIndex:H,ariaRowSpan:H,ariaSelected:ro,ariaSetSize:H,ariaSort:null,ariaValueMax:H,ariaValueMin:H,ariaValueNow:H,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function ho(e,t){return t in e?e[t]:t}function go(e,t){return ho(e,t.toLowerCase())}const _o=po({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:oo,acceptCharset:ao,accessKey:ao,action:null,allow:null,allowFullScreen:no,allowPaymentRequest:no,allowUserMedia:no,alt:null,as:null,async:no,autoCapitalize:null,autoComplete:ao,autoFocus:no,autoPlay:no,blocking:ao,capture:null,charSet:null,checked:no,cite:null,className:ao,cols:H,colSpan:null,content:null,contentEditable:ro,controls:no,controlsList:ao,coords:H|oo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:no,defer:no,dir:null,dirName:null,disabled:no,download:io,draggable:ro,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:no,formTarget:null,headers:ao,height:H,hidden:io,high:H,href:null,hrefLang:null,htmlFor:ao,httpEquiv:ao,id:null,imageSizes:null,imageSrcSet:null,inert:no,inputMode:null,integrity:null,is:null,isMap:no,itemId:null,itemProp:ao,itemRef:ao,itemScope:no,itemType:ao,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:no,low:H,manifest:null,max:null,maxLength:H,media:null,method:null,min:null,minLength:H,multiple:no,muted:no,name:null,nonce:null,noModule:no,noValidate:no,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:no,optimum:H,pattern:null,ping:ao,placeholder:null,playsInline:no,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:no,referrerPolicy:null,rel:ao,required:no,reversed:no,rows:H,rowSpan:H,sandbox:ao,scope:null,scoped:no,seamless:no,selected:no,shadowRootClonable:no,shadowRootDelegatesFocus:no,shadowRootMode:null,shape:null,size:H,sizes:null,slot:null,span:H,spellCheck:ro,src:null,srcDoc:null,srcLang:null,srcSet:null,start:H,step:null,style:null,tabIndex:H,target:null,title:null,translate:null,type:null,typeMustMatch:no,useMap:null,value:ro,width:H,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ao,axis:null,background:null,bgColor:null,border:H,borderColor:null,bottomMargin:H,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:no,declare:no,event:null,face:null,frame:null,frameBorder:null,hSpace:H,leftMargin:H,link:null,longDesc:null,lowSrc:null,marginHeight:H,marginWidth:H,noResize:no,noHref:no,noShade:no,noWrap:no,object:null,profile:null,prompt:null,rev:null,rightMargin:H,rules:null,scheme:null,scrolling:ro,standby:null,summary:null,text:null,topMargin:H,valueType:null,version:null,vAlign:null,vLink:null,vSpace:H,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:no,disableRemotePlayback:no,prefix:null,property:null,results:H,security:null,unselectable:null},space:`html`,transform:go}),vo=po({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:so,accentHeight:H,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:H,amplitude:H,arabicForm:null,ascent:H,attributeName:null,attributeType:null,azimuth:H,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:H,by:null,calcMode:null,capHeight:H,className:ao,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:H,diffuseConstant:H,direction:null,display:null,dur:null,divisor:H,dominantBaseline:null,download:no,dx:null,dy:null,edgeMode:null,editable:null,elevation:H,enableBackground:null,end:null,event:null,exponent:H,externalResourcesRequired:null,fill:null,fillOpacity:H,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:oo,g2:oo,glyphName:oo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:H,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:H,horizOriginX:H,horizOriginY:H,id:null,ideographic:H,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:H,k:H,k1:H,k2:H,k3:H,k4:H,kernelMatrix:so,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:H,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:H,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:H,overlineThickness:H,paintOrder:null,panose1:null,path:null,pathLength:H,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ao,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:H,pointsAtY:H,pointsAtZ:H,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:so,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:so,rev:so,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:so,requiredFeatures:so,requiredFonts:so,requiredFormats:so,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:H,specularExponent:H,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:H,strikethroughThickness:H,string:null,stroke:null,strokeDashArray:so,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:H,strokeOpacity:H,strokeWidth:null,style:null,surfaceScale:H,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:so,tabIndex:H,tableValues:null,target:null,targetX:H,targetY:H,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:so,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:H,underlineThickness:H,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:H,values:null,vAlphabetic:H,vMathematical:H,vectorEffect:null,vHanging:H,vIdeographic:H,version:null,vertAdvY:H,vertOriginX:H,vertOriginY:H,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:H,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:ho}),yo=po({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),bo=po({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:go}),xo=po({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}});var So=/[A-Z]/g,Co=/-[a-z]/g,wo=/^data[-\w.:]+$/i;function To(e,t){let n=Qa(t),r=t,i=$a;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&wo.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Co,Do);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Co.test(e)){let n=e.replace(So,Eo);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=uo}return new i(r,t)}function Eo(e){return`-`+e.toLowerCase()}function Do(e){return e.charAt(1).toUpperCase()}const Oo=Za([mo,_o,yo,bo,xo],`html`),ko=Za([mo,vo,yo,bo,xo],`svg`);function Ao(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function jo(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var Mo=/[#.]/g;function No(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){Mo.lastIndex=i;let e=Mo.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function Po(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Fo(e){return e.join(` `).trim()}function Io(e,t,n){let r=n?Ho(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=No(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,Lo(i))a.unshift(i);else for(let[t,n]of Object.entries(i))Ro(e,o.properties,t,n)}for(let e of a)zo(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function Lo(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function Ro(e,t,n,r){let i=To(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Po(r):i.commaSeparated?Ao(r):i.commaOrSpaceSeparated?Po(Ao(r).join(` `)):Bo(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?Vo(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(Bo(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function zo(e,t){if(t!=null)if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)zo(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?zo(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function Bo(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||Qa(n)===Qa(t)))return!0}return n}function Vo(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function Ho(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}const Uo=`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`.split(`.`),Wo=Io(Oo,`div`),Go=Io(ko,`g`,Uo);function Ko(e){let t=String(e),n=[];return{toOffset:i,toPoint:r};function r(e){if(typeof e==`number`&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(i===void 0){let e=qo(t,n[r-1]);i=e===-1?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}function i(e){if(e&&typeof e.line==`number`&&typeof e.column==`number`&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=qo(t,e),i=r===-1?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}}}function qo(e,t){let n=e.indexOf(`\r`,t),r=e.indexOf(`
|
|
2
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Jo={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};var Yo={}.hasOwnProperty,Xo=Object.prototype;function Zo(e,t){let n=t||{};return Qo({file:n.file||void 0,location:!1,schema:n.space===`svg`?ko:Oo,verbose:n.verbose||!1},e)}function Qo(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},ts(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:$o(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=Ko(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},ts(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},ts(e,r,n),n}default:return n=es(e,t),n}}function $o(e,t){let n=-1,r=[];for(;++n<t.length;){let i=Qo(e,t[n]);r.push(i)}return r}function es(e,t){let n=e.schema;e.schema=t.namespaceURI===Jo.svg?ko:Oo;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;Yo.call(Xo,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?Go:Wo)(t.tagName,i,$o(e,t.childNodes));if(ts(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&rs(r.startTag),o=r&&r.endTag&&rs(r.endTag),s=Qo(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function ts(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=ns(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function ns(e,t,n){let r=rs(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)Yo.call(n.attrs,i)&&(r[To(e.schema,i).property]=rs(n.attrs[i]));n.startTag;let a=rs(n.startTag),o=n.endTag?rs(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function rs(e){let t=is({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=is({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function is(e){return e.line&&e.column?e:void 0}var as=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),U;(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(U||={});const os={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function ss(e){return e>=55296&&e<=57343}function cs(e){return e>=56320&&e<=57343}function ls(e,t){return(e-55296)*1024+9216+t}function us(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ds(e){return e>=64976&&e<=65007||as.has(e)}var W;(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(W||={});var fs=65536,ps=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=fs,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(cs(t))return this.pos++,this._addGap(),ls(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,U.EOF;return this._err(W.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,U.EOF;let n=this.html.charCodeAt(t);return n===U.CARRIAGE_RETURN?U.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,U.EOF;let e=this.html.charCodeAt(this.pos);return e===U.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,U.LINE_FEED):e===U.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ss(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===U.LINE_FEED||e===U.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){us(e)?this._err(W.controlCharacterInInputStream):ds(e)&&this._err(W.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},ms;(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(ms||={});function hs(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const gs=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肻\xA0ଷ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(e=>e.charCodeAt(0)));var _s=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]]);String.fromCodePoint;function vs(e){return e>=55296&&e<=57343||e>1114111?65533:_s.get(e)??e}var ys;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(ys||={});var bs=32,xs;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(xs||={});function Ss(e){return e>=ys.ZERO&&e<=ys.NINE}function Cs(e){return e>=ys.UPPER_A&&e<=ys.UPPER_F||e>=ys.LOWER_A&&e<=ys.LOWER_F}function ws(e){return e>=ys.UPPER_A&&e<=ys.UPPER_Z||e>=ys.LOWER_A&&e<=ys.LOWER_Z||Ss(e)}function Ts(e){return e===ys.EQUALS||ws(e)}var Es;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Es||={});var Ds;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Ds||={});var Os=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Es.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ds.Strict}startEntity(e){this.decodeMode=e,this.state=Es.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Es.EntityStart:return e.charCodeAt(t)===ys.NUM?(this.state=Es.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Es.NamedEntity,this.stateNamedEntity(e,t));case Es.NumericStart:return this.stateNumericStart(e,t);case Es.NumericDecimal:return this.stateNumericDecimal(e,t);case Es.NumericHex:return this.stateNumericHex(e,t);case Es.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|bs)===ys.LOWER_X?(this.state=Es.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Es.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Ss(r)||Cs(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Ss(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===ys.SEMI)this.consumed+=1;else if(this.decodeMode===Ds.Strict)return 0;return this.emitCodePoint(vs(this.result),this.consumed),this.errors&&(e!==ys.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&xs.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=ks(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ds.Attribute&&(i===0||Ts(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&xs.VALUE_LENGTH)>>14,i!==0){if(a===ys.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ds.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&xs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~xs.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Es.NamedEntity:return this.result!==0&&(this.decodeMode!==Ds.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Es.NumericDecimal:return this.emitNumericEntity(0,2);case Es.NumericHex:return this.emitNumericEntity(0,3);case Es.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Es.EntityStart:return 0}}};function ks(e,t,n,r){let i=(t&xs.BRANCH_LENGTH)>>7,a=t&xs.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var G;(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(G||={});var As;(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(As||={});var js;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(js||={});var K;(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(K||={});var q;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(q||={});var Ms=new Map([[K.A,q.A],[K.ADDRESS,q.ADDRESS],[K.ANNOTATION_XML,q.ANNOTATION_XML],[K.APPLET,q.APPLET],[K.AREA,q.AREA],[K.ARTICLE,q.ARTICLE],[K.ASIDE,q.ASIDE],[K.B,q.B],[K.BASE,q.BASE],[K.BASEFONT,q.BASEFONT],[K.BGSOUND,q.BGSOUND],[K.BIG,q.BIG],[K.BLOCKQUOTE,q.BLOCKQUOTE],[K.BODY,q.BODY],[K.BR,q.BR],[K.BUTTON,q.BUTTON],[K.CAPTION,q.CAPTION],[K.CENTER,q.CENTER],[K.CODE,q.CODE],[K.COL,q.COL],[K.COLGROUP,q.COLGROUP],[K.DD,q.DD],[K.DESC,q.DESC],[K.DETAILS,q.DETAILS],[K.DIALOG,q.DIALOG],[K.DIR,q.DIR],[K.DIV,q.DIV],[K.DL,q.DL],[K.DT,q.DT],[K.EM,q.EM],[K.EMBED,q.EMBED],[K.FIELDSET,q.FIELDSET],[K.FIGCAPTION,q.FIGCAPTION],[K.FIGURE,q.FIGURE],[K.FONT,q.FONT],[K.FOOTER,q.FOOTER],[K.FOREIGN_OBJECT,q.FOREIGN_OBJECT],[K.FORM,q.FORM],[K.FRAME,q.FRAME],[K.FRAMESET,q.FRAMESET],[K.H1,q.H1],[K.H2,q.H2],[K.H3,q.H3],[K.H4,q.H4],[K.H5,q.H5],[K.H6,q.H6],[K.HEAD,q.HEAD],[K.HEADER,q.HEADER],[K.HGROUP,q.HGROUP],[K.HR,q.HR],[K.HTML,q.HTML],[K.I,q.I],[K.IMG,q.IMG],[K.IMAGE,q.IMAGE],[K.INPUT,q.INPUT],[K.IFRAME,q.IFRAME],[K.KEYGEN,q.KEYGEN],[K.LABEL,q.LABEL],[K.LI,q.LI],[K.LINK,q.LINK],[K.LISTING,q.LISTING],[K.MAIN,q.MAIN],[K.MALIGNMARK,q.MALIGNMARK],[K.MARQUEE,q.MARQUEE],[K.MATH,q.MATH],[K.MENU,q.MENU],[K.META,q.META],[K.MGLYPH,q.MGLYPH],[K.MI,q.MI],[K.MO,q.MO],[K.MN,q.MN],[K.MS,q.MS],[K.MTEXT,q.MTEXT],[K.NAV,q.NAV],[K.NOBR,q.NOBR],[K.NOFRAMES,q.NOFRAMES],[K.NOEMBED,q.NOEMBED],[K.NOSCRIPT,q.NOSCRIPT],[K.OBJECT,q.OBJECT],[K.OL,q.OL],[K.OPTGROUP,q.OPTGROUP],[K.OPTION,q.OPTION],[K.P,q.P],[K.PARAM,q.PARAM],[K.PLAINTEXT,q.PLAINTEXT],[K.PRE,q.PRE],[K.RB,q.RB],[K.RP,q.RP],[K.RT,q.RT],[K.RTC,q.RTC],[K.RUBY,q.RUBY],[K.S,q.S],[K.SCRIPT,q.SCRIPT],[K.SEARCH,q.SEARCH],[K.SECTION,q.SECTION],[K.SELECT,q.SELECT],[K.SOURCE,q.SOURCE],[K.SMALL,q.SMALL],[K.SPAN,q.SPAN],[K.STRIKE,q.STRIKE],[K.STRONG,q.STRONG],[K.STYLE,q.STYLE],[K.SUB,q.SUB],[K.SUMMARY,q.SUMMARY],[K.SUP,q.SUP],[K.TABLE,q.TABLE],[K.TBODY,q.TBODY],[K.TEMPLATE,q.TEMPLATE],[K.TEXTAREA,q.TEXTAREA],[K.TFOOT,q.TFOOT],[K.TD,q.TD],[K.TH,q.TH],[K.THEAD,q.THEAD],[K.TITLE,q.TITLE],[K.TR,q.TR],[K.TRACK,q.TRACK],[K.TT,q.TT],[K.U,q.U],[K.UL,q.UL],[K.SVG,q.SVG],[K.VAR,q.VAR],[K.WBR,q.WBR],[K.XMP,q.XMP]]);function Ns(e){return Ms.get(e)??q.UNKNOWN}var J=q;const Ps={[G.HTML]:new Set([J.ADDRESS,J.APPLET,J.AREA,J.ARTICLE,J.ASIDE,J.BASE,J.BASEFONT,J.BGSOUND,J.BLOCKQUOTE,J.BODY,J.BR,J.BUTTON,J.CAPTION,J.CENTER,J.COL,J.COLGROUP,J.DD,J.DETAILS,J.DIR,J.DIV,J.DL,J.DT,J.EMBED,J.FIELDSET,J.FIGCAPTION,J.FIGURE,J.FOOTER,J.FORM,J.FRAME,J.FRAMESET,J.H1,J.H2,J.H3,J.H4,J.H5,J.H6,J.HEAD,J.HEADER,J.HGROUP,J.HR,J.HTML,J.IFRAME,J.IMG,J.INPUT,J.LI,J.LINK,J.LISTING,J.MAIN,J.MARQUEE,J.MENU,J.META,J.NAV,J.NOEMBED,J.NOFRAMES,J.NOSCRIPT,J.OBJECT,J.OL,J.P,J.PARAM,J.PLAINTEXT,J.PRE,J.SCRIPT,J.SECTION,J.SELECT,J.SOURCE,J.STYLE,J.SUMMARY,J.TABLE,J.TBODY,J.TD,J.TEMPLATE,J.TEXTAREA,J.TFOOT,J.TH,J.THEAD,J.TITLE,J.TR,J.TRACK,J.UL,J.WBR,J.XMP]),[G.MATHML]:new Set([J.MI,J.MO,J.MN,J.MS,J.MTEXT,J.ANNOTATION_XML]),[G.SVG]:new Set([J.TITLE,J.FOREIGN_OBJECT,J.DESC]),[G.XLINK]:new Set,[G.XML]:new Set,[G.XMLNS]:new Set},Fs=new Set([J.H1,J.H2,J.H3,J.H4,J.H5,J.H6]);new Set([K.STYLE,K.SCRIPT,K.XMP,K.IFRAME,K.NOEMBED,K.NOFRAMES,K.PLAINTEXT]);var Y;(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(Y||={});const Is={DATA:Y.DATA,RCDATA:Y.RCDATA,RAWTEXT:Y.RAWTEXT,SCRIPT_DATA:Y.SCRIPT_DATA,PLAINTEXT:Y.PLAINTEXT,CDATA_SECTION:Y.CDATA_SECTION};function Ls(e){return e>=U.DIGIT_0&&e<=U.DIGIT_9}function Rs(e){return e>=U.LATIN_CAPITAL_A&&e<=U.LATIN_CAPITAL_Z}function zs(e){return e>=U.LATIN_SMALL_A&&e<=U.LATIN_SMALL_Z}function Bs(e){return zs(e)||Rs(e)}function Vs(e){return Bs(e)||Ls(e)}function Hs(e){return e+32}function Us(e){return e===U.SPACE||e===U.LINE_FEED||e===U.TABULATION||e===U.FORM_FEED}function Ws(e){return Us(e)||e===U.SOLIDUS||e===U.GREATER_THAN_SIGN}function Gs(e){return e===U.NULL?W.nullCharacterReference:e>1114111?W.characterReferenceOutsideUnicodeRange:ss(e)?W.surrogateCharacterReference:ds(e)?W.noncharacterCharacterReference:us(e)||e===U.CARRIAGE_RETURN?W.controlCharacterReference:null}var Ks=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=Y.DATA,this.returnState=Y.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new ps(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Os(gs,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(W.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(W.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=Gs(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ms.START_TAG,tagName:``,tagID:q.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ms.END_TAG,tagName:``,tagID:q.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:ms.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:ms.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(hs(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(W.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=Ns(e.tagName),e.type===ms.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(W.endTagWithAttributes),e.selfClosing&&this._err(W.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case ms.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case ms.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case ms.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:ms.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Us(e)?ms.WHITESPACE_CHARACTER:e===U.NULL?ms.NULL_CHARACTER:ms.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ms.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Y.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ds.Attribute:Ds.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Y.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Y.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Y.DATA:this._stateData(e);break;case Y.RCDATA:this._stateRcdata(e);break;case Y.RAWTEXT:this._stateRawtext(e);break;case Y.SCRIPT_DATA:this._stateScriptData(e);break;case Y.PLAINTEXT:this._statePlaintext(e);break;case Y.TAG_OPEN:this._stateTagOpen(e);break;case Y.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Y.TAG_NAME:this._stateTagName(e);break;case Y.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Y.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Y.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Y.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Y.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Y.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Y.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Y.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Y.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Y.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Y.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Y.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Y.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Y.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Y.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Y.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Y.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Y.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Y.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Y.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Y.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Y.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Y.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Y.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Y.BOGUS_COMMENT:this._stateBogusComment(e);break;case Y.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Y.COMMENT_START:this._stateCommentStart(e);break;case Y.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Y.COMMENT:this._stateComment(e);break;case Y.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Y.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Y.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Y.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Y.COMMENT_END:this._stateCommentEnd(e);break;case Y.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Y.DOCTYPE:this._stateDoctype(e);break;case Y.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Y.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Y.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Y.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Y.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Y.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Y.CDATA_SECTION:this._stateCdataSection(e);break;case Y.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Y.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Y.CHARACTER_REFERENCE:this._stateCharacterReference();break;case Y.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case U.LESS_THAN_SIGN:this.state=Y.TAG_OPEN;break;case U.AMPERSAND:this._startCharacterReference();break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitCodePoint(e);break;case U.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case U.AMPERSAND:this._startCharacterReference();break;case U.LESS_THAN_SIGN:this.state=Y.RCDATA_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case U.LESS_THAN_SIGN:this.state=Y.RAWTEXT_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Bs(e))this._createStartTagToken(),this.state=Y.TAG_NAME,this._stateTagName(e);else switch(e){case U.EXCLAMATION_MARK:this.state=Y.MARKUP_DECLARATION_OPEN;break;case U.SOLIDUS:this.state=Y.END_TAG_OPEN;break;case U.QUESTION_MARK:this._err(W.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(e);break;case U.EOF:this._err(W.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(W.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=Y.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Bs(e))this._createEndTagToken(),this.state=Y.TAG_NAME,this._stateTagName(e);else switch(e){case U.GREATER_THAN_SIGN:this._err(W.missingEndTagName),this.state=Y.DATA;break;case U.EOF:this._err(W.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(W.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.BEFORE_ATTRIBUTE_NAME;break;case U.SOLIDUS:this.state=Y.SELF_CLOSING_START_TAG;break;case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentTagToken();break;case U.NULL:this._err(W.unexpectedNullCharacter),t.tagName+=`�`;break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(Rs(e)?Hs(e):e)}}_stateRcdataLessThanSign(e){e===U.SOLIDUS?this.state=Y.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=Y.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Bs(e)?(this.state=Y.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=Y.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Y.BEFORE_ATTRIBUTE_NAME,!1;case U.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Y.SELF_CLOSING_START_TAG,!1;case U.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Y.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Y.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===U.SOLIDUS?this.state=Y.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=Y.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Bs(e)?(this.state=Y.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=Y.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Y.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case U.SOLIDUS:this.state=Y.SCRIPT_DATA_END_TAG_OPEN;break;case U.EXCLAMATION_MARK:this.state=Y.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=Y.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Bs(e)?(this.state=Y.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=Y.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Y.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===U.HYPHEN_MINUS?(this.state=Y.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=Y.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===U.HYPHEN_MINUS?(this.state=Y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=Y.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case U.HYPHEN_MINUS:this.state=Y.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case U.HYPHEN_MINUS:this.state=Y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case U.HYPHEN_MINUS:this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case U.GREATER_THAN_SIGN:this.state=Y.SCRIPT_DATA,this._emitChars(`>`);break;case U.NULL:this._err(W.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===U.SOLIDUS?this.state=Y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Bs(e)?(this._emitChars(`<`),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Bs(e)?(this.state=Y.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(os.SCRIPT,!1)&&Ws(this.preprocessor.peek(os.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<os.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case U.HYPHEN_MINUS:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case U.NULL:this._err(W.unexpectedNullCharacter),this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case U.HYPHEN_MINUS:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case U.NULL:this._err(W.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case U.HYPHEN_MINUS:this._emitChars(`-`);break;case U.LESS_THAN_SIGN:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case U.GREATER_THAN_SIGN:this.state=Y.SCRIPT_DATA,this._emitChars(`>`);break;case U.NULL:this._err(W.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case U.EOF:this._err(W.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===U.SOLIDUS?(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(os.SCRIPT,!1)&&Ws(this.preprocessor.peek(os.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<os.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Y.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.SOLIDUS:case U.GREATER_THAN_SIGN:case U.EOF:this.state=Y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case U.EQUALS_SIGN:this._err(W.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=Y.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=Y.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:case U.SOLIDUS:case U.GREATER_THAN_SIGN:case U.EOF:this._leaveAttrName(),this.state=Y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case U.EQUALS_SIGN:this._leaveAttrName(),this.state=Y.BEFORE_ATTRIBUTE_VALUE;break;case U.QUOTATION_MARK:case U.APOSTROPHE:case U.LESS_THAN_SIGN:this._err(W.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case U.NULL:this._err(W.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(Rs(e)?Hs(e):e)}}_stateAfterAttributeName(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.SOLIDUS:this.state=Y.SELF_CLOSING_START_TAG;break;case U.EQUALS_SIGN:this.state=Y.BEFORE_ATTRIBUTE_VALUE;break;case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentTagToken();break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=Y.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.QUOTATION_MARK:this.state=Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case U.APOSTROPHE:this.state=Y.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case U.GREATER_THAN_SIGN:this._err(W.missingAttributeValue),this.state=Y.DATA,this.emitCurrentTagToken();break;default:this.state=Y.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case U.QUOTATION_MARK:this.state=Y.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case U.AMPERSAND:this._startCharacterReference();break;case U.NULL:this._err(W.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case U.APOSTROPHE:this.state=Y.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case U.AMPERSAND:this._startCharacterReference();break;case U.NULL:this._err(W.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this._leaveAttrValue(),this.state=Y.BEFORE_ATTRIBUTE_NAME;break;case U.AMPERSAND:this._startCharacterReference();break;case U.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Y.DATA,this.emitCurrentTagToken();break;case U.NULL:this._err(W.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case U.QUOTATION_MARK:case U.APOSTROPHE:case U.LESS_THAN_SIGN:case U.EQUALS_SIGN:case U.GRAVE_ACCENT:this._err(W.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this._leaveAttrValue(),this.state=Y.BEFORE_ATTRIBUTE_NAME;break;case U.SOLIDUS:this._leaveAttrValue(),this.state=Y.SELF_CLOSING_START_TAG;break;case U.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Y.DATA,this.emitCurrentTagToken();break;case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this._err(W.missingWhitespaceBetweenAttributes),this.state=Y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case U.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=Y.DATA,this.emitCurrentTagToken();break}case U.EOF:this._err(W.eofInTag),this._emitEOFToken();break;default:this._err(W.unexpectedSolidusInTag),this.state=Y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentComment(t);break;case U.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case U.NULL:this._err(W.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(os.DASH_DASH,!0)?(this._createCommentToken(os.DASH_DASH.length+1),this.state=Y.COMMENT_START):this._consumeSequenceIfMatch(os.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(os.DOCTYPE.length+1),this.state=Y.DOCTYPE):this._consumeSequenceIfMatch(os.CDATA_START,!0)?this.inForeignNode?this.state=Y.CDATA_SECTION:(this._err(W.cdataInHtmlContent),this._createCommentToken(os.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=Y.BOGUS_COMMENT):this._ensureHibernation()||(this._err(W.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case U.HYPHEN_MINUS:this.state=Y.COMMENT_START_DASH;break;case U.GREATER_THAN_SIGN:{this._err(W.abruptClosingOfEmptyComment),this.state=Y.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Y.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case U.HYPHEN_MINUS:this.state=Y.COMMENT_END;break;case U.GREATER_THAN_SIGN:this._err(W.abruptClosingOfEmptyComment),this.state=Y.DATA,this.emitCurrentComment(t);break;case U.EOF:this._err(W.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Y.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case U.HYPHEN_MINUS:this.state=Y.COMMENT_END_DASH;break;case U.LESS_THAN_SIGN:t.data+=`<`,this.state=Y.COMMENT_LESS_THAN_SIGN;break;case U.NULL:this._err(W.unexpectedNullCharacter),t.data+=`�`;break;case U.EOF:this._err(W.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case U.EXCLAMATION_MARK:t.data+=`!`,this.state=Y.COMMENT_LESS_THAN_SIGN_BANG;break;case U.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=Y.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===U.HYPHEN_MINUS?this.state=Y.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Y.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===U.HYPHEN_MINUS?this.state=Y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Y.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==U.GREATER_THAN_SIGN&&e!==U.EOF&&this._err(W.nestedComment),this.state=Y.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case U.HYPHEN_MINUS:this.state=Y.COMMENT_END;break;case U.EOF:this._err(W.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Y.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentComment(t);break;case U.EXCLAMATION_MARK:this.state=Y.COMMENT_END_BANG;break;case U.HYPHEN_MINUS:t.data+=`-`;break;case U.EOF:this._err(W.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=Y.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case U.HYPHEN_MINUS:t.data+=`--!`,this.state=Y.COMMENT_END_DASH;break;case U.GREATER_THAN_SIGN:this._err(W.incorrectlyClosedComment),this.state=Y.DATA,this.emitCurrentComment(t);break;case U.EOF:this._err(W.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=Y.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.BEFORE_DOCTYPE_NAME;break;case U.GREATER_THAN_SIGN:this.state=Y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case U.EOF:{this._err(W.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(W.missingWhitespaceBeforeDoctypeName),this.state=Y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Rs(e))this._createDoctypeToken(String.fromCharCode(Hs(e))),this.state=Y.DOCTYPE_NAME;else switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.NULL:this._err(W.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=Y.DOCTYPE_NAME;break;case U.GREATER_THAN_SIGN:{this._err(W.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Y.DATA;break}case U.EOF:{this._err(W.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Y.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.AFTER_DOCTYPE_NAME;break;case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.NULL:this._err(W.unexpectedNullCharacter),t.name+=`�`;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(Rs(e)?Hs(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(os.PUBLIC,!1)?this.state=Y.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(os.SYSTEM,!1)?this.state=Y.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(W.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case U.QUOTATION_MARK:this._err(W.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:this._err(W.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case U.GREATER_THAN_SIGN:this._err(W.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.QUOTATION_MARK:t.publicId=``,this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:t.publicId=``,this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case U.GREATER_THAN_SIGN:this._err(W.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case U.QUOTATION_MARK:this.state=Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case U.NULL:this._err(W.unexpectedNullCharacter),t.publicId+=`�`;break;case U.GREATER_THAN_SIGN:this._err(W.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case U.APOSTROPHE:this.state=Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case U.NULL:this._err(W.unexpectedNullCharacter),t.publicId+=`�`;break;case U.GREATER_THAN_SIGN:this._err(W.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case U.GREATER_THAN_SIGN:this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.QUOTATION_MARK:this._err(W.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:this._err(W.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.QUOTATION_MARK:t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:this.state=Y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case U.QUOTATION_MARK:this._err(W.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:this._err(W.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case U.GREATER_THAN_SIGN:this._err(W.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.QUOTATION_MARK:t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case U.APOSTROPHE:t.systemId=``,this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case U.GREATER_THAN_SIGN:this._err(W.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(t);break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case U.QUOTATION_MARK:this.state=Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case U.NULL:this._err(W.unexpectedNullCharacter),t.systemId+=`�`;break;case U.GREATER_THAN_SIGN:this._err(W.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case U.APOSTROPHE:this.state=Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case U.NULL:this._err(W.unexpectedNullCharacter),t.systemId+=`�`;break;case U.GREATER_THAN_SIGN:this._err(W.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case U.SPACE:case U.LINE_FEED:case U.TABULATION:case U.FORM_FEED:break;case U.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.EOF:this._err(W.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(W.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case U.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Y.DATA;break;case U.NULL:this._err(W.unexpectedNullCharacter);break;case U.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case U.RIGHT_SQUARE_BRACKET:this.state=Y.CDATA_SECTION_BRACKET;break;case U.EOF:this._err(W.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===U.RIGHT_SQUARE_BRACKET?this.state=Y.CDATA_SECTION_END:(this._emitChars(`]`),this.state=Y.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case U.GREATER_THAN_SIGN:this.state=Y.DATA;break;case U.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=Y.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(U.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Vs(this.preprocessor.peek(1))?Y.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){Vs(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===U.SEMICOLON&&this._err(W.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},qs=new Set([q.DD,q.DT,q.LI,q.OPTGROUP,q.OPTION,q.P,q.RB,q.RP,q.RT,q.RTC]),Js=new Set([...qs,q.CAPTION,q.COLGROUP,q.TBODY,q.TD,q.TFOOT,q.TH,q.THEAD,q.TR]),Ys=new Set([q.APPLET,q.CAPTION,q.HTML,q.MARQUEE,q.OBJECT,q.TABLE,q.TD,q.TEMPLATE,q.TH]),Xs=new Set([...Ys,q.OL,q.UL]),Zs=new Set([...Ys,q.BUTTON]),Qs=new Set([q.ANNOTATION_XML,q.MI,q.MN,q.MO,q.MS,q.MTEXT]),$s=new Set([q.DESC,q.FOREIGN_OBJECT,q.TITLE]),ec=new Set([q.TR,q.TEMPLATE,q.HTML]),tc=new Set([q.TBODY,q.TFOOT,q.THEAD,q.TEMPLATE,q.HTML]),nc=new Set([q.TABLE,q.TEMPLATE,q.HTML]),rc=new Set([q.TD,q.TH]),ic=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=q.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===q.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===G.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==G.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Fs,G.HTML)}popUntilTableCellPopped(){this.popUntilPopped(rc,G.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(nc,G.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tc,G.HTML)}clearBackToTableRowContext(){this.clearBackTo(ec,G.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===q.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===q.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case G.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case G.SVG:if($s.has(r))return!1;break;case G.MATHML:if(Qs.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,Ys)}hasInListItemScope(e){return this.hasInDynamicScope(e,Xs)}hasInButtonScope(e){return this.hasInDynamicScope(e,Zs)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case G.HTML:if(Fs.has(t))return!0;if(Ys.has(t))return!1;break;case G.SVG:if($s.has(t))return!1;break;case G.MATHML:if(Qs.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===G.HTML)switch(this.tagIDs[t]){case e:return!0;case q.TABLE:case q.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===G.HTML)switch(this.tagIDs[e]){case q.TBODY:case q.THEAD:case q.TFOOT:return!0;case q.TABLE:case q.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===G.HTML)switch(this.tagIDs[t]){case e:return!0;case q.OPTION:case q.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&qs.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Js.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&Js.has(this.currentTagId);)this.pop()}},ac=3,oc;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(oc||={});var sc={type:oc.Marker},cc=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===oc.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<ac)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<ac)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=ac&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(sc)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:oc.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:oc.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(sc);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===oc.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===oc.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===oc.Element&&t.element===e)}};const lc={createDocument(){return{nodeName:`#document`,mode:js.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};lc.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(lc.isTextNode(n)){n.value+=t;return}}lc.appendChild(e,lc.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&lc.isTextNode(r)?r.value+=t:lc.insertBefore(e,lc.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};var uc=`html`,dc=`about:legacy-compat`,fc=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,pc=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),mc=[...pc,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],hc=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),gc=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],_c=[...gc,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function vc(e,t){return t.some(t=>e.startsWith(t))}function yc(e){return e.name===uc&&e.publicId===null&&(e.systemId===null||e.systemId===dc)}function bc(e){if(e.name!==uc)return js.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===fc)return js.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),hc.has(n))return js.QUIRKS;let e=t===null?mc:pc;if(vc(n,e))return js.QUIRKS;if(e=t===null?gc:_c,vc(n,e))return js.LIMITED_QUIRKS}return js.NO_QUIRKS}var xc={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},Sc=`definitionurl`,Cc=`definitionURL`,wc=new Map(`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`.split(`.`).map(e=>[e.toLowerCase(),e])),Tc=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:G.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:G.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:G.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:G.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:G.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:G.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:G.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:G.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:G.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:G.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:G.XMLNS}]]);const Ec=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e]));var Dc=new Set([q.B,q.BIG,q.BLOCKQUOTE,q.BODY,q.BR,q.CENTER,q.CODE,q.DD,q.DIV,q.DL,q.DT,q.EM,q.EMBED,q.H1,q.H2,q.H3,q.H4,q.H5,q.H6,q.HEAD,q.HR,q.I,q.IMG,q.LI,q.LISTING,q.MENU,q.META,q.NOBR,q.OL,q.P,q.PRE,q.RUBY,q.S,q.SMALL,q.SPAN,q.STRONG,q.STRIKE,q.SUB,q.SUP,q.TABLE,q.TT,q.U,q.UL,q.VAR]);function Oc(e){let t=e.tagID;return t===q.FONT&&e.attrs.some(({name:e})=>e===As.COLOR||e===As.SIZE||e===As.FACE)||Dc.has(t)}function kc(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Sc){e.attrs[t].name=Cc;break}}function Ac(e){for(let t=0;t<e.attrs.length;t++){let n=wc.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function jc(e){for(let t=0;t<e.attrs.length;t++){let n=Tc.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function Mc(e){let t=Ec.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Ns(e.tagName))}function Nc(e,t){return t===G.MATHML&&(e===q.MI||e===q.MO||e===q.MN||e===q.MS||e===q.MTEXT)}function Pc(e,t,n){if(t===G.MATHML&&e===q.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===As.ENCODING){let t=n[e].value.toLowerCase();return t===xc.TEXT_HTML||t===xc.APPLICATION_XML}}return t===G.SVG&&(e===q.FOREIGN_OBJECT||e===q.DESC||e===q.TITLE)}function Fc(e,t,n,r){return(!r||r===G.HTML)&&Pc(e,t,n)||(!r||r===G.MATHML)&&Nc(e,t)}var Ic=`hidden`,Lc=8,Rc=3,X;(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(X||={});var zc={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Bc=new Set([q.TABLE,q.TBODY,q.TFOOT,q.THEAD,q.TR]),Vc={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:lc,onParseError:null},Hc=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=X.INITIAL,this.originalInsertionMode=X.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Vc,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Ks(this.options,this),this.activeFormattingElements=new cc(this.treeAdapter),this.fragmentContextID=n?Ns(this.treeAdapter.getTagName(n)):q.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new ic(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...Vc,...t};e??=n.treeAdapter.createElement(K.TEMPLATE,G.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,G.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===q.TEMPLATE&&i.tmplInsertionModeStack.unshift(X.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??zc,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===G.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,G.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=X.TEXT}switchToPlaintextParsing(){this.insertionMode=X.TEXT,this.originalInsertionMode=X.IN_BODY,this.tokenizer.state=Is.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===K.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==G.HTML))switch(this.fragmentContextID){case q.TITLE:case q.TEXTAREA:this.tokenizer.state=Is.RCDATA;break;case q.STYLE:case q.XMP:case q.IFRAME:case q.NOEMBED:case q.NOFRAMES:case q.NOSCRIPT:this.tokenizer.state=Is.RAWTEXT;break;case q.SCRIPT:this.tokenizer.state=Is.SCRIPT_DATA;break;case q.PLAINTEXT:this.tokenizer.state=Is.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,G.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,G.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(K.HTML,G.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,q.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===ms.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===q.SVG&&this.treeAdapter.getTagName(t)===K.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===G.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===q.MGLYPH||e.tagID===q.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,G.HTML)}_processToken(e){switch(e.type){case ms.CHARACTER:this.onCharacter(e);break;case ms.NULL_CHARACTER:this.onNullCharacter(e);break;case ms.COMMENT:this.onComment(e);break;case ms.DOCTYPE:this.onDoctype(e);break;case ms.START_TAG:this._processStartTag(e);break;case ms.END_TAG:this.onEndTag(e);break;case ms.EOF:this.onEof(e);break;case ms.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return Fc(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===oc.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=X.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(q.P),this.openElements.popUntilTagNamePopped(q.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case q.TR:this.insertionMode=X.IN_ROW;return;case q.TBODY:case q.THEAD:case q.TFOOT:this.insertionMode=X.IN_TABLE_BODY;return;case q.CAPTION:this.insertionMode=X.IN_CAPTION;return;case q.COLGROUP:this.insertionMode=X.IN_COLUMN_GROUP;return;case q.TABLE:this.insertionMode=X.IN_TABLE;return;case q.BODY:this.insertionMode=X.IN_BODY;return;case q.FRAMESET:this.insertionMode=X.IN_FRAMESET;return;case q.SELECT:this._resetInsertionModeForSelect(e);return;case q.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case q.HTML:this.insertionMode=this.headElement?X.AFTER_HEAD:X.BEFORE_HEAD;return;case q.TD:case q.TH:if(e>0){this.insertionMode=X.IN_CELL;return}break;case q.HEAD:if(e>0){this.insertionMode=X.IN_HEAD;return}break}this.insertionMode=X.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===q.TEMPLATE)break;if(e===q.TABLE){this.insertionMode=X.IN_SELECT_IN_TABLE;return}}this.insertionMode=X.IN_SELECT}_isElementCausesFosterParenting(e){return Bc.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case q.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===G.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case q.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return Ps[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){od(this,e);return}switch(this.insertionMode){case X.INITIAL:tl(this,e);break;case X.BEFORE_HTML:il(this,e);break;case X.BEFORE_HEAD:sl(this,e);break;case X.IN_HEAD:dl(this,e);break;case X.IN_HEAD_NO_SCRIPT:ml(this,e);break;case X.AFTER_HEAD:_l(this,e);break;case X.IN_BODY:case X.IN_CAPTION:case X.IN_CELL:case X.IN_TEMPLATE:bl(this,e);break;case X.TEXT:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:hu(this,e);break;case X.IN_TABLE_TEXT:Ou(this,e);break;case X.IN_COLUMN_GROUP:Fu(this,e);break;case X.AFTER_BODY:Zu(this,e);break;case X.AFTER_AFTER_BODY:rd(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ad(this,e);return}switch(this.insertionMode){case X.INITIAL:tl(this,e);break;case X.BEFORE_HTML:il(this,e);break;case X.BEFORE_HEAD:sl(this,e);break;case X.IN_HEAD:dl(this,e);break;case X.IN_HEAD_NO_SCRIPT:ml(this,e);break;case X.AFTER_HEAD:_l(this,e);break;case X.TEXT:this._insertCharacters(e);break;case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:hu(this,e);break;case X.IN_COLUMN_GROUP:Fu(this,e);break;case X.AFTER_BODY:Zu(this,e);break;case X.AFTER_AFTER_BODY:rd(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Xc(this,e);return}switch(this.insertionMode){case X.INITIAL:case X.BEFORE_HTML:case X.BEFORE_HEAD:case X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:case X.IN_BODY:case X.IN_TABLE:case X.IN_CAPTION:case X.IN_COLUMN_GROUP:case X.IN_TABLE_BODY:case X.IN_ROW:case X.IN_CELL:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:case X.IN_TEMPLATE:case X.IN_FRAMESET:case X.AFTER_FRAMESET:Xc(this,e);break;case X.IN_TABLE_TEXT:ku(this,e);break;case X.AFTER_BODY:Zc(this,e);break;case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:Qc(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case X.INITIAL:el(this,e);break;case X.BEFORE_HEAD:case X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:this._err(e,W.misplacedDoctype);break;case X.IN_TABLE_TEXT:ku(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,W.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?cd(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case X.INITIAL:tl(this,e);break;case X.BEFORE_HTML:nl(this,e);break;case X.BEFORE_HEAD:al(this,e);break;case X.IN_HEAD:cl(this,e);break;case X.IN_HEAD_NO_SCRIPT:fl(this,e);break;case X.AFTER_HEAD:hl(this,e);break;case X.IN_BODY:$l(this,e);break;case X.IN_TABLE:wu(this,e);break;case X.IN_TABLE_TEXT:ku(this,e);break;case X.IN_CAPTION:ju(this,e);break;case X.IN_COLUMN_GROUP:Nu(this,e);break;case X.IN_TABLE_BODY:Iu(this,e);break;case X.IN_ROW:Ru(this,e);break;case X.IN_CELL:Bu(this,e);break;case X.IN_SELECT:Hu(this,e);break;case X.IN_SELECT_IN_TABLE:Wu(this,e);break;case X.IN_TEMPLATE:Ku(this,e);break;case X.AFTER_BODY:Yu(this,e);break;case X.IN_FRAMESET:Qu(this,e);break;case X.AFTER_FRAMESET:ed(this,e);break;case X.AFTER_AFTER_BODY:nd(this,e);break;case X.AFTER_AFTER_FRAMESET:id(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?ld(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case X.INITIAL:tl(this,e);break;case X.BEFORE_HTML:rl(this,e);break;case X.BEFORE_HEAD:ol(this,e);break;case X.IN_HEAD:ll(this,e);break;case X.IN_HEAD_NO_SCRIPT:pl(this,e);break;case X.AFTER_HEAD:gl(this,e);break;case X.IN_BODY:du(this,e);break;case X.TEXT:pu(this,e);break;case X.IN_TABLE:Tu(this,e);break;case X.IN_TABLE_TEXT:ku(this,e);break;case X.IN_CAPTION:Mu(this,e);break;case X.IN_COLUMN_GROUP:Pu(this,e);break;case X.IN_TABLE_BODY:Lu(this,e);break;case X.IN_ROW:zu(this,e);break;case X.IN_CELL:Vu(this,e);break;case X.IN_SELECT:Uu(this,e);break;case X.IN_SELECT_IN_TABLE:Gu(this,e);break;case X.IN_TEMPLATE:qu(this,e);break;case X.AFTER_BODY:Xu(this,e);break;case X.IN_FRAMESET:$u(this,e);break;case X.AFTER_FRAMESET:td(this,e);break;case X.AFTER_AFTER_BODY:rd(this,e);break;default:}}onEof(e){switch(this.insertionMode){case X.INITIAL:tl(this,e);break;case X.BEFORE_HTML:il(this,e);break;case X.BEFORE_HEAD:sl(this,e);break;case X.IN_HEAD:dl(this,e);break;case X.IN_HEAD_NO_SCRIPT:ml(this,e);break;case X.AFTER_HEAD:_l(this,e);break;case X.IN_BODY:case X.IN_TABLE:case X.IN_CAPTION:case X.IN_COLUMN_GROUP:case X.IN_TABLE_BODY:case X.IN_ROW:case X.IN_CELL:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:fu(this,e);break;case X.TEXT:mu(this,e);break;case X.IN_TABLE_TEXT:ku(this,e);break;case X.IN_TEMPLATE:Ju(this,e);break;case X.AFTER_BODY:case X.IN_FRAMESET:case X.AFTER_FRAMESET:case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:$c(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===U.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:case X.TEXT:case X.IN_COLUMN_GROUP:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:case X.IN_FRAMESET:case X.AFTER_FRAMESET:this._insertCharacters(e);break;case X.IN_BODY:case X.IN_CAPTION:case X.IN_CELL:case X.IN_TEMPLATE:case X.AFTER_BODY:case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:yl(this,e);break;case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:hu(this,e);break;case X.IN_TABLE_TEXT:Du(this,e);break;default:}}};function Uc(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):uu(e,t),n}function Wc(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Gc(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=Rc;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Kc(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Kc(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function qc(e,t,n){let r=Ns(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===q.TEMPLATE&&i===G.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Jc(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Yc(e,t){for(let n=0;n<Lc;n++){let n=Uc(e,t);if(!n)break;let r=Wc(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=Gc(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&qc(e,a,i),Jc(e,r,n)}}function Xc(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Zc(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Qc(e,t){e._appendCommentNode(t,e.document)}function $c(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function el(e,t){e._setDocumentType(t);let n=t.forceQuirks?js.QUIRKS:bc(t);yc(t)||e._err(t,W.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=X.BEFORE_HTML}function tl(e,t){e._err(t,W.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,js.QUIRKS),e.insertionMode=X.BEFORE_HTML,e._processToken(t)}function nl(e,t){t.tagID===q.HTML?(e._insertElement(t,G.HTML),e.insertionMode=X.BEFORE_HEAD):il(e,t)}function rl(e,t){let n=t.tagID;(n===q.HTML||n===q.HEAD||n===q.BODY||n===q.BR)&&il(e,t)}function il(e,t){e._insertFakeRootElement(),e.insertionMode=X.BEFORE_HEAD,e._processToken(t)}function al(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.HEAD:e._insertElement(t,G.HTML),e.headElement=e.openElements.current,e.insertionMode=X.IN_HEAD;break;default:sl(e,t)}}function ol(e,t){let n=t.tagID;n===q.HEAD||n===q.BODY||n===q.HTML||n===q.BR?sl(e,t):e._err(t,W.endTagWithoutMatchingOpenElement)}function sl(e,t){e._insertFakeElement(K.HEAD,q.HEAD),e.headElement=e.openElements.current,e.insertionMode=X.IN_HEAD,e._processToken(t)}function cl(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break;case q.TITLE:e._switchToTextParsing(t,Is.RCDATA);break;case q.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Is.RAWTEXT):(e._insertElement(t,G.HTML),e.insertionMode=X.IN_HEAD_NO_SCRIPT);break;case q.NOFRAMES:case q.STYLE:e._switchToTextParsing(t,Is.RAWTEXT);break;case q.SCRIPT:e._switchToTextParsing(t,Is.SCRIPT_DATA);break;case q.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=X.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(X.IN_TEMPLATE);break;case q.HEAD:e._err(t,W.misplacedStartTagForHeadElement);break;default:dl(e,t)}}function ll(e,t){switch(t.tagID){case q.HEAD:e.openElements.pop(),e.insertionMode=X.AFTER_HEAD;break;case q.BODY:case q.BR:case q.HTML:dl(e,t);break;case q.TEMPLATE:ul(e,t);break;default:e._err(t,W.endTagWithoutMatchingOpenElement)}}function ul(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==q.TEMPLATE&&e._err(t,W.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,W.endTagWithoutMatchingOpenElement)}function dl(e,t){e.openElements.pop(),e.insertionMode=X.AFTER_HEAD,e._processToken(t)}function fl(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.BASEFONT:case q.BGSOUND:case q.HEAD:case q.LINK:case q.META:case q.NOFRAMES:case q.STYLE:cl(e,t);break;case q.NOSCRIPT:e._err(t,W.nestedNoscriptInHead);break;default:ml(e,t)}}function pl(e,t){switch(t.tagID){case q.NOSCRIPT:e.openElements.pop(),e.insertionMode=X.IN_HEAD;break;case q.BR:ml(e,t);break;default:e._err(t,W.endTagWithoutMatchingOpenElement)}}function ml(e,t){let n=t.type===ms.EOF?W.openElementsLeftAfterEof:W.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=X.IN_HEAD,e._processToken(t)}function hl(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.BODY:e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=X.IN_BODY;break;case q.FRAMESET:e._insertElement(t,G.HTML),e.insertionMode=X.IN_FRAMESET;break;case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:e._err(t,W.abandonedHeadElementChild),e.openElements.push(e.headElement,q.HEAD),cl(e,t),e.openElements.remove(e.headElement);break;case q.HEAD:e._err(t,W.misplacedStartTagForHeadElement);break;default:_l(e,t)}}function gl(e,t){switch(t.tagID){case q.BODY:case q.HTML:case q.BR:_l(e,t);break;case q.TEMPLATE:ul(e,t);break;default:e._err(t,W.endTagWithoutMatchingOpenElement)}}function _l(e,t){e._insertFakeElement(K.BODY,q.BODY),e.insertionMode=X.IN_BODY,vl(e,t)}function vl(e,t){switch(t.type){case ms.CHARACTER:bl(e,t);break;case ms.WHITESPACE_CHARACTER:yl(e,t);break;case ms.COMMENT:Xc(e,t);break;case ms.START_TAG:$l(e,t);break;case ms.END_TAG:du(e,t);break;case ms.EOF:fu(e,t);break;default:}}function yl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function bl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function xl(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Sl(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Cl(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_FRAMESET)}function wl(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML)}function Tl(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Fs.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,G.HTML)}function El(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Dl(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML),n||(e.formElement=e.openElements.current))}function Ol(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===q.LI&&r===q.LI||(n===q.DD||n===q.DT)&&(r===q.DD||r===q.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==q.ADDRESS&&r!==q.DIV&&r!==q.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML)}function kl(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.tokenizer.state=Is.PLAINTEXT}function Al(e,t){e.openElements.hasInScope(q.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(q.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.framesetOk=!1}function jl(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(K.A);n&&(Yc(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ml(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Nl(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(q.NOBR)&&(Yc(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,G.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Pl(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Fl(e,t){e.treeAdapter.getDocumentMode(e.document)!==js.QUIRKS&&e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=X.IN_TABLE}function Il(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,G.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ll(e){let t=hs(e,As.TYPE);return t!=null&&t.toLowerCase()===Ic}function Rl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,G.HTML),Ll(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function zl(e,t){e._appendElement(t,G.HTML),t.ackSelfClosing=!0}function Bl(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._appendElement(t,G.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Vl(e,t){t.tagName=K.IMG,t.tagID=q.IMG,Il(e,t)}function Hl(e,t){e._insertElement(t,G.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Is.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=X.TEXT}function Ul(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Is.RAWTEXT)}function Wl(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Is.RAWTEXT)}function Gl(e,t){e._switchToTextParsing(t,Is.RAWTEXT)}function Kl(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===X.IN_TABLE||e.insertionMode===X.IN_CAPTION||e.insertionMode===X.IN_TABLE_BODY||e.insertionMode===X.IN_ROW||e.insertionMode===X.IN_CELL?X.IN_SELECT_IN_TABLE:X.IN_SELECT}function ql(e,t){e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML)}function Jl(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,G.HTML)}function Yl(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(q.RTC),e._insertElement(t,G.HTML)}function Xl(e,t){e._reconstructActiveFormattingElements(),kc(t),jc(t),t.selfClosing?e._appendElement(t,G.MATHML):e._insertElement(t,G.MATHML),t.ackSelfClosing=!0}function Zl(e,t){e._reconstructActiveFormattingElements(),Ac(t),jc(t),t.selfClosing?e._appendElement(t,G.SVG):e._insertElement(t,G.SVG),t.ackSelfClosing=!0}function Ql(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,G.HTML)}function $l(e,t){switch(t.tagID){case q.I:case q.S:case q.B:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.SMALL:case q.STRIKE:case q.STRONG:Ml(e,t);break;case q.A:jl(e,t);break;case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:Tl(e,t);break;case q.P:case q.DL:case q.OL:case q.UL:case q.DIV:case q.DIR:case q.NAV:case q.MAIN:case q.MENU:case q.ASIDE:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.DETAILS:case q.ADDRESS:case q.ARTICLE:case q.SEARCH:case q.SECTION:case q.SUMMARY:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:wl(e,t);break;case q.LI:case q.DD:case q.DT:Ol(e,t);break;case q.BR:case q.IMG:case q.WBR:case q.AREA:case q.EMBED:case q.KEYGEN:Il(e,t);break;case q.HR:Bl(e,t);break;case q.RB:case q.RTC:Jl(e,t);break;case q.RT:case q.RP:Yl(e,t);break;case q.PRE:case q.LISTING:El(e,t);break;case q.XMP:Ul(e,t);break;case q.SVG:Zl(e,t);break;case q.HTML:xl(e,t);break;case q.BASE:case q.LINK:case q.META:case q.STYLE:case q.TITLE:case q.SCRIPT:case q.BGSOUND:case q.BASEFONT:case q.TEMPLATE:cl(e,t);break;case q.BODY:Sl(e,t);break;case q.FORM:Dl(e,t);break;case q.NOBR:Nl(e,t);break;case q.MATH:Xl(e,t);break;case q.TABLE:Fl(e,t);break;case q.INPUT:Rl(e,t);break;case q.PARAM:case q.TRACK:case q.SOURCE:zl(e,t);break;case q.IMAGE:Vl(e,t);break;case q.BUTTON:Al(e,t);break;case q.APPLET:case q.OBJECT:case q.MARQUEE:Pl(e,t);break;case q.IFRAME:Wl(e,t);break;case q.SELECT:Kl(e,t);break;case q.OPTION:case q.OPTGROUP:ql(e,t);break;case q.NOEMBED:case q.NOFRAMES:Gl(e,t);break;case q.FRAMESET:Cl(e,t);break;case q.TEXTAREA:Hl(e,t);break;case q.NOSCRIPT:e.options.scriptingEnabled?Gl(e,t):Ql(e,t);break;case q.PLAINTEXT:kl(e,t);break;case q.COL:case q.TH:case q.TD:case q.TR:case q.HEAD:case q.FRAME:case q.TBODY:case q.TFOOT:case q.THEAD:case q.CAPTION:case q.COLGROUP:break;default:Ql(e,t)}}function eu(e,t){if(e.openElements.hasInScope(q.BODY)&&(e.insertionMode=X.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function tu(e,t){e.openElements.hasInScope(q.BODY)&&(e.insertionMode=X.AFTER_BODY,Xu(e,t))}function nu(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ru(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(q.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(q.FORM):n&&e.openElements.remove(n))}function iu(e){e.openElements.hasInButtonScope(q.P)||e._insertFakeElement(K.P,q.P),e._closePElement()}function au(e){e.openElements.hasInListItemScope(q.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(q.LI),e.openElements.popUntilTagNamePopped(q.LI))}function ou(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function su(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function cu(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function lu(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(K.BR,q.BR),e.openElements.pop(),e.framesetOk=!1}function uu(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==q.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function du(e,t){switch(t.tagID){case q.A:case q.B:case q.I:case q.S:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.NOBR:case q.SMALL:case q.STRIKE:case q.STRONG:Yc(e,t);break;case q.P:iu(e);break;case q.DL:case q.UL:case q.OL:case q.DIR:case q.DIV:case q.NAV:case q.PRE:case q.MAIN:case q.MENU:case q.ASIDE:case q.BUTTON:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.ADDRESS:case q.ARTICLE:case q.DETAILS:case q.SEARCH:case q.SECTION:case q.SUMMARY:case q.LISTING:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:nu(e,t);break;case q.LI:au(e);break;case q.DD:case q.DT:ou(e,t);break;case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:su(e);break;case q.BR:lu(e);break;case q.BODY:eu(e,t);break;case q.HTML:tu(e,t);break;case q.FORM:ru(e);break;case q.APPLET:case q.OBJECT:case q.MARQUEE:cu(e,t);break;case q.TEMPLATE:ul(e,t);break;default:uu(e,t)}}function fu(e,t){e.tmplInsertionModeStack.length>0?Ju(e,t):$c(e,t)}function pu(e,t){var n;t.tagID===q.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function mu(e,t){e._err(t,W.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function hu(e,t){if(e.openElements.currentTagId!==void 0&&Bc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=X.IN_TABLE_TEXT,t.type){case ms.CHARACTER:Ou(e,t);break;case ms.WHITESPACE_CHARACTER:Du(e,t);break}else Eu(e,t)}function gu(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_CAPTION}function _u(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_COLUMN_GROUP}function vu(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(K.COLGROUP,q.COLGROUP),e.insertionMode=X.IN_COLUMN_GROUP,Nu(e,t)}function yu(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_TABLE_BODY}function bu(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(K.TBODY,q.TBODY),e.insertionMode=X.IN_TABLE_BODY,Iu(e,t)}function xu(e,t){e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Su(e,t){Ll(t)?e._appendElement(t,G.HTML):Eu(e,t),t.ackSelfClosing=!0}function Cu(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,G.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function wu(e,t){switch(t.tagID){case q.TD:case q.TH:case q.TR:bu(e,t);break;case q.STYLE:case q.SCRIPT:case q.TEMPLATE:cl(e,t);break;case q.COL:vu(e,t);break;case q.FORM:Cu(e,t);break;case q.TABLE:xu(e,t);break;case q.TBODY:case q.TFOOT:case q.THEAD:yu(e,t);break;case q.INPUT:Su(e,t);break;case q.CAPTION:gu(e,t);break;case q.COLGROUP:_u(e,t);break;default:Eu(e,t)}}function Tu(e,t){switch(t.tagID){case q.TABLE:e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode());break;case q.TEMPLATE:ul(e,t);break;case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:case q.TBODY:case q.TD:case q.TFOOT:case q.TH:case q.THEAD:case q.TR:break;default:Eu(e,t)}}function Eu(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,vl(e,t),e.fosterParentingEnabled=n}function Du(e,t){e.pendingCharacterTokens.push(t)}function Ou(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ku(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Eu(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var Au=new Set([q.CAPTION,q.COL,q.COLGROUP,q.TBODY,q.TD,q.TFOOT,q.TH,q.THEAD,q.TR]);function ju(e,t){let n=t.tagID;Au.has(n)?e.openElements.hasInTableScope(q.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(q.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_TABLE,wu(e,t)):$l(e,t)}function Mu(e,t){let n=t.tagID;switch(n){case q.CAPTION:case q.TABLE:e.openElements.hasInTableScope(q.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(q.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_TABLE,n===q.TABLE&&Tu(e,t));break;case q.BODY:case q.COL:case q.COLGROUP:case q.HTML:case q.TBODY:case q.TD:case q.TFOOT:case q.TH:case q.THEAD:case q.TR:break;default:du(e,t)}}function Nu(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.COL:e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break;case q.TEMPLATE:cl(e,t);break;default:Fu(e,t)}}function Pu(e,t){switch(t.tagID){case q.COLGROUP:e.openElements.currentTagId===q.COLGROUP&&(e.openElements.pop(),e.insertionMode=X.IN_TABLE);break;case q.TEMPLATE:ul(e,t);break;case q.COL:break;default:Fu(e,t)}}function Fu(e,t){e.openElements.currentTagId===q.COLGROUP&&(e.openElements.pop(),e.insertionMode=X.IN_TABLE,e._processToken(t))}function Iu(e,t){switch(t.tagID){case q.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_ROW;break;case q.TH:case q.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(K.TR,q.TR),e.insertionMode=X.IN_ROW,Ru(e,t);break;case q.CAPTION:case q.COL:case q.COLGROUP:case q.TBODY:case q.TFOOT:case q.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE,wu(e,t));break;default:wu(e,t)}}function Lu(e,t){let n=t.tagID;switch(t.tagID){case q.TBODY:case q.TFOOT:case q.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE);break;case q.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE,Tu(e,t));break;case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:case q.TD:case q.TH:case q.TR:break;default:Tu(e,t)}}function Ru(e,t){switch(t.tagID){case q.TH:case q.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,G.HTML),e.insertionMode=X.IN_CELL,e.activeFormattingElements.insertMarker();break;case q.CAPTION:case q.COL:case q.COLGROUP:case q.TBODY:case q.TFOOT:case q.THEAD:case q.TR:e.openElements.hasInTableScope(q.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,Iu(e,t));break;default:wu(e,t)}}function zu(e,t){switch(t.tagID){case q.TR:e.openElements.hasInTableScope(q.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY);break;case q.TABLE:e.openElements.hasInTableScope(q.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,Lu(e,t));break;case q.TBODY:case q.TFOOT:case q.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(q.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,Lu(e,t));break;case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:case q.TD:case q.TH:break;default:Tu(e,t)}}function Bu(e,t){let n=t.tagID;Au.has(n)?(e.openElements.hasInTableScope(q.TD)||e.openElements.hasInTableScope(q.TH))&&(e._closeTableCell(),Ru(e,t)):$l(e,t)}function Vu(e,t){let n=t.tagID;switch(n){case q.TD:case q.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_ROW);break;case q.TABLE:case q.TBODY:case q.TFOOT:case q.THEAD:case q.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),zu(e,t));break;case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:break;default:du(e,t)}}function Hu(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.OPTION:e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e._insertElement(t,G.HTML);break;case q.OPTGROUP:e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e.openElements.currentTagId===q.OPTGROUP&&e.openElements.pop(),e._insertElement(t,G.HTML);break;case q.HR:e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e.openElements.currentTagId===q.OPTGROUP&&e.openElements.pop(),e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break;case q.INPUT:case q.KEYGEN:case q.TEXTAREA:case q.SELECT:e.openElements.hasInSelectScope(q.SELECT)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),t.tagID!==q.SELECT&&e._processStartTag(t));break;case q.SCRIPT:case q.TEMPLATE:cl(e,t);break;default:}}function Uu(e,t){switch(t.tagID){case q.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===q.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===q.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===q.OPTGROUP&&e.openElements.pop();break;case q.OPTION:e.openElements.currentTagId===q.OPTION&&e.openElements.pop();break;case q.SELECT:e.openElements.hasInSelectScope(q.SELECT)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode());break;case q.TEMPLATE:ul(e,t);break;default:}}function Wu(e,t){let n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Hu(e,t)}function Gu(e,t){let n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Uu(e,t)}function Ku(e,t){switch(t.tagID){case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:cl(e,t);break;case q.CAPTION:case q.COLGROUP:case q.TBODY:case q.TFOOT:case q.THEAD:e.tmplInsertionModeStack[0]=X.IN_TABLE,e.insertionMode=X.IN_TABLE,wu(e,t);break;case q.COL:e.tmplInsertionModeStack[0]=X.IN_COLUMN_GROUP,e.insertionMode=X.IN_COLUMN_GROUP,Nu(e,t);break;case q.TR:e.tmplInsertionModeStack[0]=X.IN_TABLE_BODY,e.insertionMode=X.IN_TABLE_BODY,Iu(e,t);break;case q.TD:case q.TH:e.tmplInsertionModeStack[0]=X.IN_ROW,e.insertionMode=X.IN_ROW,Ru(e,t);break;default:e.tmplInsertionModeStack[0]=X.IN_BODY,e.insertionMode=X.IN_BODY,$l(e,t)}}function qu(e,t){t.tagID===q.TEMPLATE&&ul(e,t)}function Ju(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):$c(e,t)}function Yu(e,t){t.tagID===q.HTML?$l(e,t):Zu(e,t)}function Xu(e,t){if(t.tagID===q.HTML){if(e.fragmentContext||(e.insertionMode=X.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===q.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else Zu(e,t)}function Zu(e,t){e.insertionMode=X.IN_BODY,vl(e,t)}function Qu(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.FRAMESET:e._insertElement(t,G.HTML);break;case q.FRAME:e._appendElement(t,G.HTML),t.ackSelfClosing=!0;break;case q.NOFRAMES:cl(e,t);break;default:}}function $u(e,t){t.tagID===q.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==q.FRAMESET&&(e.insertionMode=X.AFTER_FRAMESET))}function ed(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.NOFRAMES:cl(e,t);break;default:}}function td(e,t){t.tagID===q.HTML&&(e.insertionMode=X.AFTER_AFTER_FRAMESET)}function nd(e,t){t.tagID===q.HTML?$l(e,t):rd(e,t)}function rd(e,t){e.insertionMode=X.IN_BODY,vl(e,t)}function id(e,t){switch(t.tagID){case q.HTML:$l(e,t);break;case q.NOFRAMES:cl(e,t);break;default:}}function ad(e,t){t.chars=`�`,e._insertCharacters(t)}function od(e,t){e._insertCharacters(t),e.framesetOk=!1}function sd(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==G.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function cd(e,t){if(Oc(t))sd(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===G.MATHML?kc(t):r===G.SVG&&(Mc(t),Ac(t)),jc(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function ld(e,t){if(t.tagID===q.P||t.tagID===q.BR){sd(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===G.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}new Set([K.AREA,K.BASE,K.BASEFONT,K.BGSOUND,K.BR,K.COL,K.EMBED,K.FRAME,K.HR,K.IMG,K.INPUT,K.KEYGEN,K.LINK,K.META,K.PARAM,K.SOURCE,K.TRACK,K.WBR]);function ud(e,t){return Hc.parse(e,t)}function dd(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=Hc.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function fd(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?md(e.position):`start`in e||`end`in e?md(e):`line`in e||`column`in e?pd(e):``}function pd(e){return hd(e&&e.line)+`:`+hd(e&&e.column)}function md(e){return pd(e&&e.start)+`-`+pd(e&&e.end)}function hd(e){return e&&typeof e==`number`?e:1}var gd=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=fd(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};gd.prototype.file=``,gd.prototype.name=``,gd.prototype.reason=``,gd.prototype.message=``,gd.prototype.stack=``,gd.prototype.column=void 0,gd.prototype.line=void 0,gd.prototype.ancestors=void 0,gd.prototype.cause=void 0,gd.prototype.fatal=void 0,gd.prototype.place=void 0,gd.prototype.ruleId=void 0,gd.prototype.source=void 0;const _d={basename:vd,dirname:yd,extname:bd,join:xd,sep:`/`};function vd(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);wd(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function yd(e){if(wd(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function bd(e){wd(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function xd(...e){let t=-1,n;for(;++t<e.length;)wd(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:Sd(n)}function Sd(e){wd(e);let t=e.codePointAt(0)===47,n=Cd(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function Cd(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function wd(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}const Td={cwd:Ed};function Ed(){return`/`}function Dd(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function Od(e){if(typeof e==`string`)e=new URL(e);else if(!Dd(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return kd(e)}function kd(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var Ad=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],jd=class{constructor(e){let t;t=e?Dd(e)?{path:e}:typeof e==`string`||Fd(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:Td.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ad.length;){let e=Ad[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)Ad.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?_d.basename(this.path):void 0}set basename(e){Nd(e,`basename`),Md(e,`basename`),this.path=_d.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?_d.dirname(this.path):void 0}set dirname(e){Pd(this.basename,`dirname`),this.path=_d.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?_d.extname(this.path):void 0}set extname(e){if(Md(e,`extname`),Pd(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=_d.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){Dd(e)&&(e=Od(e)),Nd(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?_d.basename(this.path,this.extname):void 0}set stem(e){Nd(e,`stem`),Md(e,`stem`),this.path=_d.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new gd(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Md(e,t){if(e&&e.includes(_d.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+_d.sep+"`")}function Nd(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function Pd(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function Fd(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}const Id={abandonedHeadElementChild:{reason:`Unexpected metadata element after head`,description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:`Unexpected abruptly closed empty comment`,description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:`Unexpected abruptly closed public identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:`Unexpected abruptly closed system identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:`Unexpected non-digit at start of numeric character reference`,description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:`Unexpected CDATA section in HTML`,description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:`Unexpected too big numeric character reference`,description:`Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)`},closingOfElementWithOpenChildElements:{reason:`Unexpected closing tag with open child elements`,description:`Unexpectedly closing tag. Expected other tags to be closed first`,url:!1},controlCharacterInInputStream:{reason:`Unexpected control character`,description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:`Unexpected control character reference`,description:`Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace`},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:`Unexpected duplicate attribute`,description:`Unexpectedly double attribute. Expected attributes to occur only once`},endTagWithAttributes:{reason:`Unexpected attribute on closing tag`,description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:`Unexpected slash at end of closing tag`,description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:`Unexpected unopened end tag`,description:`Unexpected end tag. Expected no end tag or another end tag`,url:!1},eofBeforeTagName:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected tag name instead`},eofInCdata:{reason:`Unexpected end of file in CDATA`,description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:`Unexpected end of file in comment`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:`Unexpected end of file in doctype`,description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:`Unexpected end of file in element that can only contain text`,description:`Unexpected end of file. Expected text or a closing tag`,url:!1},eofInScriptHtmlCommentLikeText:{reason:`Unexpected end of file in comment inside script`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:`Unexpected end of file in tag`,description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:`Incorrectly closed comment`,description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:`Invalid sequence after doctype name`,description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:`Invalid first character in tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:`Misplaced doctype`,description:`Unexpected doctype. Expected doctype before head`,url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:`Missing attribute value`,description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:`Missing doctype before other content`,description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:`Missing doctype name`,description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:`Missing public identifier in doctype`,description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:`Missing system identifier in doctype`,description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:`Missing name in end tag`,description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:`Missing quote before public identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:`Missing quote before system identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:`Missing semicolon after character reference`,description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:`Missing whitespace after public identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:`Missing whitespace after system identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:`Missing whitespace before doctype name`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:`Missing whitespace between attributes`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:`Missing whitespace between public and system identifiers in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:`Unexpected nested comment`,description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:`Unexpected non-conforming doctype declaration`,description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:`Unexpected trailing slash on start tag of non-void element`,description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:`Unexpected noncharacter code point referenced by character reference`,description:`Unexpected code point. Do not use noncharacters in HTML`},noncharacterInInputStream:{reason:`Unexpected noncharacter character`,description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:`Unexpected NULL character referenced by character reference`,description:`Unexpected code point. Do not use NULL characters in HTML`},openElementsLeftAfterEof:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected closing tag instead`,url:!1},surrogateCharacterReference:{reason:`Unexpected surrogate character referenced by character reference`,description:`Unexpected code point. Do not use lone surrogate characters in HTML`},surrogateInInputStream:{reason:`Unexpected surrogate character`,description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:`Invalid character after system identifier in doctype`,description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:`Unexpected character in attribute name`,description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:`Unexpected character in unquoted attribute value`,description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:`Unexpected equals sign before attribute name`,description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:`Unexpected NULL character`,description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:`Unexpected question mark instead of tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:`Unexpected slash in tag`,description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:`Unexpected unknown named character reference`,description:`Unexpected character reference. Expected known named character references`}};var Ld=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,Rd=/-[a-z]/g,zd=/%c(?:([-+])(\d+))?/g,Bd=/%x/g,Vd={2:!0,1:!1,0:null},Hd={};function Ud(e,t){let n=t||Hd,r=n.onerror,i=e instanceof jd?e:new jd(e),a=n.fragment?dd:ud,o=String(i);return Zo(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=Wd(t),s=n[a]??!0,c=typeof s==`number`?s:s?1:0;if(c){let n=Id[a],o=new gd(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=Vd[c],o.note=l(n.description),o.url=n.url===!1?void 0:Ld+t,r(o)}function l(t){return t.replace(zd,n).replace(Bd,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return Kd(o.charAt(e.startOffset+i))}function r(){return qd(o.charCodeAt(e.startOffset))}}}}function Wd(e){return e.replace(Rd,Gd)}function Gd(e){return e.charAt(1).toUpperCase()}function Kd(e){return e==="`"?"` ` `":e}function qd(e){return`0x`+e.toString(16).toUpperCase()}function Jd(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return Ud(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}const Yd=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`];var Xd={}.hasOwnProperty;function Zd(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&Xd.call(t,e)){let n=String(t[e]);i=Xd.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Qd=/["&'<>`]/g,$d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ef=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tf=/[|\\{}()[\]^$+*?.]/g,nf=new WeakMap;function rf(e,t){if(e=e.replace(t.subset?af(t.subset):Qd,r),t.subset||t.escapeOnly)return e;return e.replace($d,n).replace(ef,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function af(e){let t=nf.get(e);return t||(t=of(e),nf.set(e,t)),t}function of(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(tf,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var sf=/[\dA-Fa-f]/;function cf(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!sf.test(String.fromCharCode(t))?r:r+`;`}var lf=/\d/;function uf(e,t,n){let r=`&#`+String(e);return n&&t&&!lf.test(String.fromCharCode(t))?r:r+`;`}const df=`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`.split(`.`),ff={nbsp:`\xA0`,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:`€`},pf=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`];var mf={}.hasOwnProperty,hf={},gf;for(gf in ff)mf.call(ff,gf)&&(hf[ff[gf]]=gf);var _f=/[^\dA-Za-z]/;function vf(e,t,n,r){let i=String.fromCharCode(e);if(mf.call(hf,i)){let e=hf[i],a=`&`+e;return n&&df.includes(e)&&!pf.includes(e)&&(!r||t&&t!==61&&_f.test(String.fromCharCode(t)))?a:a+`;`}return``}function yf(e,t,n){let r=cf(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=vf(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=uf(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function bf(e,t){return rf(e,Object.assign({format:yf},t))}var xf=/^>|^->|<!--|-->|--!>|<!-$/g,Sf=[`>`],Cf=[`<`,`>`];function wf(e,t,n,r){return r.settings.bogusComments?`<?`+bf(e.value,Object.assign({},r.settings.characterReferences,{subset:Sf}))+`>`:`<!--`+e.value.replace(xf,i)+`-->`;function i(e){return bf(e,Object.assign({},r.settings.characterReferences,{subset:Cf}))}}function Tf(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function Ef(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var Df=/[ \t\n\f\r]/g;function Of(e){return typeof e==`object`?e.type===`text`?kf(e.value):!1:kf(e)}function kf(e){return e.replace(Df,``)===``}const Af=Nf(1),jf=Nf(-1);var Mf=[];function Nf(e){return t;function t(t,n,r){let i=t?t.children:Mf,a=(n||0)+e,o=i[a];if(!r)for(;o&&Of(o);)a+=e,o=i[a];return o}}var Pf={}.hasOwnProperty;function Ff(e){return t;function t(t,n,r){return Pf.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const If=Ff({body:zf,caption:Lf,colgroup:Lf,dd:Uf,dt:Hf,head:Lf,html:Rf,li:Vf,optgroup:Gf,option:Kf,p:Bf,rp:Wf,rt:Wf,tbody:Jf,td:Zf,tfoot:Yf,th:Zf,thead:qf,tr:Xf});function Lf(e,t,n){let r=Af(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&Of(r.value.charAt(0)))}function Rf(e,t,n){let r=Af(n,t);return!r||r.type!==`comment`}function zf(e,t,n){let r=Af(n,t);return!r||r.type!==`comment`}function Bf(e,t,n){let r=Af(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function Vf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Hf(e,t,n){let r=Af(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function Uf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function Wf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function Gf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Kf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function qf(e,t,n){let r=Af(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function Jf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function Yf(e,t,n){return!Af(n,t)}function Xf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function Zf(e,t,n){let r=Af(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}const Qf=Ff({body:tp,colgroup:np,head:ep,html:$f,tbody:rp});function $f(e){let t=Af(e,-1);return!t||t.type!==`comment`}function ep(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function tp(e){let t=Af(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&Of(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function np(e,t,n){let r=jf(n,t),i=Af(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&If(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function rp(e,t,n){let r=jf(n,t),i=Af(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&If(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var ip={name:[[`
|
|
3
|
+
\f\r &/=>`.split(``),`
|
|
4
|
+
\f\r "&'/=>\``.split(``)],[`\0
|
|
5
|
+
\f\r "&'/<=>`.split(``),`\0
|
|
6
|
+
\f\r "&'/<=>\``.split(``)]],unquoted:[[`
|
|
7
|
+
\f\r &>`.split(``),`\0
|
|
8
|
+
\f\r "&'<=>\``.split(``)],[`\0
|
|
9
|
+
\f\r "&'<=>\``.split(``),`\0
|
|
10
|
+
\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function ap(e,t,n,r){let i=r.schema,a=i.space===`svg`?!1:r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=ko);let l=op(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!Qf(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!If(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function op(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=sp(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function sp(e,t,n){let r=To(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=e.settings.allowDangerousCharacters?0:1,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=bf(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ip.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?jo:Fo)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=bf(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ip.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&Ef(n,o)>Ef(n,e.alternative)&&(o=e.alternative),s=o+bf(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?ip.single:ip.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var cp=[`<`,`&`];function lp(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:bf(e.value,Object.assign({},r.settings.characterReferences,{subset:cp}))}function up(e,t,n,r){return r.settings.allowDangerousHtml?e.value:lp(e,t,n,r)}function dp(e,t,n,r){return r.all(e)}const fp=Zd(`type`,{invalid:pp,unknown:mp,handlers:{comment:wf,doctype:Tf,element:ap,raw:up,root:dp,text:lp}});function pp(e){throw Error("Expected node, not `"+e+"`")}function mp(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var hp={},gp={},_p=[];function vp(e,t){let n=t||hp,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:yp,all:bp,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||Yd,characterReferences:n.characterReferences||gp,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?ko:Oo,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function yp(e,t,n){return fp(e,t,n,this)}function bp(e){let t=[],n=e&&e.children||_p,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function xp(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return vp(e,n)}}function Sp(e){if(e)throw e}var Cp=Se(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`)if(n.call(e,t)){if(a)return a(e,t).value}else return;return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function wp(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Tp(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?Ep(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function Ep(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}const Dp=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r});var Op=y(Cp(),1),kp={}.hasOwnProperty;const Ap=new class e extends Dp{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=Tp()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,Op.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(Np(`data`,this.frozen),this.namespace[e]=t,this):kp.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Np(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=Ip(e),n=this.parser||this.Parser;return jp(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),jp(`process`,this.parser||this.Parser),Mp(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=Ip(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);Rp(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),jp(`processSync`,this.parser||this.Parser),Mp(`processSync`,this.compiler||this.Compiler),this.process(e,r),Fp(`processSync`,`process`,t),n;function r(e,r){t=!0,Sp(e),n=r}}run(e,t,n){Pp(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=Ip(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),Fp(`runSync`,`run`,n),r;function i(e,t){Sp(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=Ip(t),r=this.compiler||this.Compiler;return Mp(`stringify`,r),Pp(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(Np(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw 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");o(e.plugins),e.settings&&(r.settings=(0,Op.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];wp(o)&&wp(r)&&(r=(0,Op.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function jp(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function Mp(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function Np(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pp(e){if(!wp(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function Fp(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ip(e){return Lp(e)?e:new jd(e)}function Lp(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function Rp(e){return typeof e==`string`||zp(e)}function zp(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}const Bp=(function(e){if(e==null)return Gp;if(typeof e==`function`)return Wp(e);if(typeof e==`object`)return Array.isArray(e)?Vp(e):Hp(e);if(typeof e==`string`)return Up(e);throw Error(`Expected function, string, or object as test`)});function Vp(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Bp(e[n]);return Wp(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Hp(e){let t=e;return Wp(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Up(e){return Wp(t);function t(t){return t&&t.type===e}}function Wp(e){return t;function t(t,n,r){return!!(Kp(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Gp(){return!0}function Kp(e){return typeof e==`object`&&!!e&&`type`in e}function qp(e){return e}var Jp=[];const Yp=`skip`;function Xp(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Bp(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+qp(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Jp,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Zp(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Zp(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Jp:[e]}function Qp(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Xp(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var $p={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`};const em=(function(e,t,n){let r=Bp(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),tm=(function(e,t,n,r,i){let a=nm(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return sm(e)?a.call(i,e,n,r):!1}),nm=(function(e){if(e==null)return om;if(typeof e==`string`)return im(e);if(typeof e==`object`)return rm(e);if(typeof e==`function`)return am(e);throw Error("Expected function, string, or array as `test`")});function rm(e){let t=[],n=-1;for(;++n<e.length;)t[n]=nm(e[n]);return am(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function im(e){return am(t);function t(t){return t.tagName===e}}function am(e){return t;function t(t,n,r){return!!(sm(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function om(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function sm(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var cm=/\n/g,lm=/[\t ]+/g,um=nm(`br`),dm=nm(wm),fm=nm(`p`),pm=nm(`tr`),mm=nm([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,Cm,Tm]),hm=nm(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`));function gm(e,t){let n=t||{},r=`children`in e?e.children:[],i=hm(e),a=Sm(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...ym(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(..._m(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?um(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
|
|
11
|
+
`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function _m(e,t,n){return e.type===`element`?vm(e,t,n):e.type===`text`?n.whitespace===`normal`?ym(e,n):bm(e):[]}function vm(e,t,n){let r=Sm(e,n),i=e.children||[],a=-1,o=[];if(mm(e))return o;let s,c;for(um(e)||pm(e)&&em(t,e,pm)?c=`
|
|
12
|
+
`:fm(e)?(s=2,c=2):hm(e)&&(s=1,c=1);++a<i.length;)o=o.concat(_m(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?um(i[a+1]):c}));return dm(e)&&em(t,e,dm)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function ym(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){cm.lastIndex=a;let e=cm.exec(n),i=e&&`index`in e?e.index:n.length;r.push(xm(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a===0?t.breakBefore:!0,i===n.length?t.breakAfter:!0)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function bm(e){return[String(e.value)]}function xm(e,t,n){let r=[],i=0,a;for(;i<e.length;){lm.lastIndex=i;let n=lm.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function Sm(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}}return t.whitespace}function Cm(e){return!!(e.properties||{}).hidden}function wm(e){return e.tagName===`td`||e.tagName===`th`}function Tm(e){return e.tagName===`dialog`&&!(e.properties||{}).open}function Em(e){let t=`[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*`,n=`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord`,r={$pattern:t,built_in:n+` cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize`},i={begin:t,relevance:0},a={scope:`number`,relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},o={scope:`character`,variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:`regex`,begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l={scope:`punctuation`,match:/,/,relevance:0},u=e.COMMENT(`;`,`$`,{relevance:0}),d={className:`literal`,begin:/\b(true|false|nil)\b/},f={begin:`\\[|(#::?`+t+`)?\\{`,end:`[\\]\\}]`,relevance:0},p={className:`symbol`,begin:`[:]{1,2}`+t},m={begin:`\\(`,end:`\\)`},h={endsWithParent:!0,relevance:0},g={keywords:r,className:`name`,begin:t,relevance:0,starts:h},_=[l,m,o,s,c,u,p,f,a,d,i];return m.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)},g,h],h.contains=_,f.contains=_,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[l,m,o,s,c,u,p,f,a,d]}}function Dm(e){let t={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`}]},n={className:`subst`,variants:[{begin:/\$\{/,end:/\}/}],keywords:`true false null this is new super`},r={className:`number`,relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:`string`,variants:[{begin:`r'''`,end:`'''`},{begin:`r"""`,end:`"""`},{begin:`r'`,end:`'`,illegal:`\\n`},{begin:`r"`,end:`"`,illegal:`\\n`},{begin:`'''`,end:`'''`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"""`,end:`"""`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`'`,end:`'`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];let a=`Comparable.DateTime.Duration.Function.Iterable.Iterator.List.Map.Match.Object.Pattern.RegExp.Set.Stopwatch.String.StringBuffer.StringSink.Symbol.Type.Uri.bool.double.int.num.Element.ElementList`.split(`.`),o=a.map(e=>`${e}?`);return{name:`Dart`,keywords:{keyword:`abstract.as.assert.async.await.base.break.case.catch.class.const.continue.covariant.default.deferred.do.dynamic.else.enum.export.extends.extension.external.factory.false.final.finally.for.Function.get.hide.if.implements.import.in.interface.is.late.library.mixin.new.null.on.operator.part.required.rethrow.return.sealed.set.show.static.super.switch.sync.this.throw.true.try.typedef.var.void.when.while.with.yield`.split(`.`),built_in:a.concat(o).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:`markdown`,relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:`markdown`,begin:`.`,end:`$`,relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`class`,beginKeywords:`class interface`,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},r,{className:`meta`,begin:`@[A-Za-z]+`},{begin:`=>`}]}}function Om(e){return{name:`Dockerfile`,aliases:[`docker`],case_insensitive:!0,keywords:[`from`,`maintainer`,`expose`,`env`,`arg`,`user`,`onbuild`,`stopsignal`],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:`run cmd entrypoint volume add copy workdir label healthcheck shell`,starts:{end:/[^\\]$/,subLanguage:`bash`}}],illegal:`</`}}function km(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$pattern:n,keyword:`after.alias.and.case.catch.cond.defstruct.defguard.do.else.end.fn.for.if.import.in.not.or.quote.raise.receive.require.reraise.rescue.try.unless.unquote.unquote_splicing.use.when.with|0`.split(`.`),literal:[`false`,`nil`,`true`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={className:`number`,begin:`(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)`,relevance:0},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:`char.escape`,begin:t.concat(/\\/,e),relevance:0}),u={className:`string`,begin:`~[a-z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end),o,i]}))},d={className:`string`,begin:`~[A-Z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end)]}))},f={className:`regex`,variants:[{begin:`~r(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),o,i]}))},{begin:`~R(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]}))}]},p={className:`string`,contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},h=e.inherit(m,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),g=[p,f,d,u,e.HASH_COMMENT_MODE,h,m,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:n+`:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=g,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:g}}function Am(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function jm(e){return e?typeof e==`string`?e:e.source:null}function Mm(e){return Nm(`(?=`,e,`)`)}function Nm(...e){return e.map(e=>jm(e)).join(``)}function Pm(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Fm(...e){return`(`+(Pm(e).capture?``:`?:`)+e.map(e=>jm(e)).join(`|`)+`)`}function Im(e){let t=`abstract.and.as.assert.base.begin.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.extern.finally.fixed.for.fun.function.global.if.in.inherit.inline.interface.internal.lazy.let.match.member.module.mutable.namespace.new.of.open.or.override.private.public.rec.return.static.struct.then.to.try.type.upcast.use.val.void.when.while.with.yield`.split(`.`),n={scope:`keyword`,match:/\b(yield|return|let|do|match|use)!/},r=[`if`,`else`,`endif`,`line`,`nowarn`,`light`,`r`,`i`,`I`,`load`,`time`,`help`,`quit`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__LINE__`,`__SOURCE_DIRECTORY__`,`__SOURCE_FILE__`],o=`bool.byte.sbyte.int8.int16.int32.uint8.uint16.uint32.int.uint.int64.uint64.nativeint.unativeint.decimal.float.double.float32.single.char.string.unit.bigint.option.voption.list.array.seq.byref.exn.inref.nativeptr.obj.outref.voidptr.Result`.split(`.`),s={keyword:t,literal:i,built_in:`not.ref.raise.reraise.dict.readOnlyDict.set.get.enum.sizeof.typeof.typedefof.nameof.nullArg.invalidArg.invalidOp.id.fst.snd.ignore.lock.using.box.unbox.tryUnbox.printf.printfn.sprintf.eprintf.eprintfn.fprintf.fprintfn.failwith.failwithf`.split(`.`),"variable.constant":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:Nm(d,/``.*?``/)},{match:Nm(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=Nm(`[`,...Array.from(t).map(Am),`]`),r=Fm(n,/\./);return{scope:`operator`,match:Fm(Fm(Nm(Nm(r,Mm(r)),r,`*`),Nm(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:Nm(t,Mm(Nm(/\s*/,Fm(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:Mm(Fm(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:Mm(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},x={begin:[/^\s*/,Nm(/#/,Fm(...r)),/\b/],beginScope:{2:`meta`},end:Mm(/\s|$/)},S={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},C={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},w={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},T={scope:`string`,begin:/"""/,end:/"""/,relevance:2},ee={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},E={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,ee]},D={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,ee]},te={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},ee],relevance:2},ne={scope:`string`,match:Nm(/'/,Fm(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};ee.contains=[D,E,w,C,ne,n,c,u,_,b,x,S,f,m];let re={variants:[te,D,E,T,w,C,ne]};return{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,re,c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,T,w,C,ne,S]},v,_,b,x,S,f,m]}}function Lm(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](([0-7]_*)+)\\b`},{match:`\\b0[bB](([01]_*)+)\\b`}]};return{name:`Haskell`,aliases:[`hs`],keywords:`let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec`,unicodeRegex:!0,contains:[{beginKeywords:`module`,end:`where`,keywords:`module where`,contains:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}function Rm(e){let t=e.regex,n=`HTTP/([32]|1\\.[01])`,r={className:`attribute`,begin:t.concat(`^`,/[A-Za-z][A-Za-z0-9-]*/,`(?=\\:\\s)`),starts:{contains:[{className:`punctuation`,begin:/: /,relevance:0,starts:{end:`$`,relevance:0}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=`+n+` \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) `+n+`$)`,end:/$/,contains:[{className:`string`,begin:` `,end:` `,excludeBegin:!0,excludeEnd:!0},{className:`meta`,begin:n},{className:`keyword`,begin:`[A-Z]+`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(r,{relevance:0})]}}function zm(e){let t=`('|\\.')+`,n={relevance:0,contains:[{begin:t}]};return{name:`Matlab`,keywords:{keyword:`arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while`,built_in:`sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell `},illegal:`(//|"|#|/\\*|\\s+/\\w+)`,contains:[{className:`function`,beginKeywords:`function`,end:`$`,contains:[e.UNDERSCORE_TITLE_MODE,{className:`params`,variants:[{begin:`\\(`,end:`\\)`},{begin:`\\[`,end:`\\]`}]}]},{className:`built_in`,begin:/true|false/,relevance:0,starts:n},{begin:`[a-zA-Z][a-zA-Z_0-9]*`+t,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:n},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}function Bm(e){let t=e.regex,n={className:`variable`,variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:[`on`,`off`,`yes`,`no`,`true`,`false`,`none`,`blocked`,`debug`,`info`,`notice`,`warn`,`error`,`crit`,`select`,`break`,`last`,`permanent`,`redirect`,`kqueue`,`rtsig`,`epoll`,`poll`,`/dev/poll`]},relevance:0,illegal:`=>`,contains:[e.HASH_COMMENT_MODE,{className:`string`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:`([a-z]+):/`,end:`\\s`,endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:`\\s\\^`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`~\\*?\\s+`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`\\*(\\.[a-z\\-]+)+`},{begin:`([a-z\\-]+\\.)+\\*`}]},{className:`number`,begin:`\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b`},{className:`number`,begin:`\\b\\d+[kKmMgGdshdwy]?\\b`,relevance:0},n]};return{name:`Nginx config`,aliases:[`nginxconf`],contains:[e.HASH_COMMENT_MODE,{beginKeywords:`upstream location`,end:/;|\{/,contains:r.contains,keywords:{section:`upstream location`}},{className:`section`,begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+`\\s`),end:`;|\\{`,contains:[{className:`attribute`,begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:`[^\\s\\}\\{]`}}function Vm(e){return{name:`OCaml`,aliases:[`ml`],keywords:{$pattern:`[a-z_]\\w*!?`,keyword:`and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value`,built_in:`array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref`,literal:`true false`},illegal:/\/\/|>>/,contains:[{className:`literal`,begin:`\\[(\\|\\|)?\\]|\\(\\)`,relevance:0},e.COMMENT(`\\(\\*`,`\\*\\)`,{contains:[`self`]}),{className:`symbol`,begin:`'[A-Za-z_](?!')[\\w']*`},{className:`type`,begin:"`[A-Z][\\w']*"},{className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},{begin:`[a-z_]\\w*'[\\w']*`,relevance:0},e.inherit(e.APOS_STRING_MODE,{className:`string`,relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:`number`,begin:`\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)`,relevance:0},{begin:/->/}]}}function Hm(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$pattern:/-?[A-z\.\-]+\b/,keyword:`if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter`,built_in:`ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write`},r=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={className:`string`,variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:`doctag`,variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),u={className:`built_in`,variants:[{begin:`(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:`operator`,begin:`(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b`},{className:`literal`,begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}function Um(e){let t=`[ \\t\\f]*`,n=t+`[:=][ \\t\\f]*`;``+n;let r=`([^\\\\:= \\t\\f\\n]|\\\\.)+`;return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:r+n},{begin:r+`[ \\t\\f]+`}],contains:[{className:`attr`,begin:r,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:r+t+`$`}]}}function Wm(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={className:`string`,variants:[{begin:`"""`,end:`"""`},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`[a-z]+"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,r]},{className:`string`,begin:`[a-z]+"""`,end:`"""`,contains:[r],relevance:10}]},a={className:`type`,begin:`\\b[A-Z][A-Za-z0-9_]*`,relevance:0},o={className:`title`,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:`class`,beginKeywords:`class object trait type`,end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:`extends with`,relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={begin:[/^\s*/,`extension`,/\s+(?=[[(])/],beginScope:{2:`keyword`}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:`keyword`,4:`keyword`}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:`inline`}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:`keyword`}},p={className:`string`,begin:/\S+/};return{name:`Scala`,keywords:{literal:`true false null`,keyword:`type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent`},contains:[{begin:[`//>`,/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:`comment`,3:`keyword`,5:`type`},end:/$/,contains:[p]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}var Gm={};function Km(e){let t=e||Gm,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=`hljs`,l=e?.lowlight??xt(i);if(n&&l.registerAlias(n),o){let e=o.indexOf(`-`);c=e>-1?o.slice(0,e):o}return(e,t)=>{Qp(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let u=qm(e);if(u===`no-highlight`||!u&&!r||u&&a?.includes(u))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(c)||e.properties.className.unshift(c);let d;try{d=u?l.highlight(u,gm(i),{prefix:o}):l.highlightAuto(gm(i),{prefix:o,subset:s})}catch(n){let r=n;if(u&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${u}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}throw r}!u&&d.data?.language&&e.properties.className.push(`language-`+d.data.language),d.children.length>0&&(e.children=d.children)})}}function qm(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return $p[n||``]||n}function Jm(e){return e?.type===`text`}function Ym(e){return e?.type===`element`}function Xm(e){return{type:`text`,value:e}}function Zm(){return{type:`text`,value:`
|
|
13
|
+
`}}function Qm(){return e=>{Qp(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=$m(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!Jm(n)||Jm(n)&&!th(n))&&(e.children.push(Zm()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function $m(e,t=[],n){let r=()=>t[t.length-1]??(t.push(eh())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(Jm(i)&&th(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[Xm(i)]}):r()?.children.push(Xm(i)),o!==a.length-1&&t.push(eh())})}else Ym(i)&&i.children.some(th)?$m(i,t,!0):r()?.children.push(i)}),t}function eh(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function th(e){return Jm(e)&&/\r?\n/.test(e.value)||Ym(e)&&e.children.some(th)}function nh(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${$p[t.lang]??t.lang}`,i=Ap().use(Jd,{fragment:!0}).use(rh(e)).use(Km,{languages:t.languages}).use(t?.lineNumbers?Qm:()=>{}).use(xp).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),i):i}function rh(e){return()=>t=>{Qp(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var ih={bash:tt,c:$e,clojure:Em,cpp:Qe,csharp:pt,css:qe,curl:y(Se(((e,t)=>{t.exports=function(e){let t={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:`variable`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:`literal`,begin:/(--request|-X)\s/,contains:[{className:`symbol`,begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:`literal`,begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:`string`,begin:/\\"/,relevance:0},o={className:`string`,begin:/'/,end:/'/,relevance:0},s={className:`number`,variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:`curl`,aliases:[`curl`],keywords:`curl`,case_insensitive:!0,contains:[n,r,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}}}))(),1).default,dart:Dm,diff:mt,docker:Om,dockerfile:Om,elixir:km,fsharp:Im,go:et,graphql:Ye,haskell:Lm,html:ft,http:Rm,ini:Xe,java:rt,javascript:wt,json:Je,kotlin:nt,less:Tt,lua:ot,makefile:Et,markdown:Ct,matlab:zm,nginx:Bm,objectivec:it,ocaml:Vm,perl:ut,php:dt,plaintext:gt,powershell:Hm,properties:Um,python:vt,r:lt,ruby:ct,rust:St,scala:Wm,scss:ht,shell:st,sql:bt,swift:_t,toml:Xe,typescript:at,xml:ft,yaml:yt},ah=typeof self==`object`?self:globalThis,oh=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new ah[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new ah[a](o),i)};return r};const sh=e=>oh(new Map,e)(0);var ch=``,{toString:lh}={},{keys:uh}=Object,dh=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=lh.call(e).slice(8,-1);switch(n){case`Array`:return[1,ch];case`Object`:return[2,ch];case`Date`:return[3,ch];case`RegExp`:return[4,ch];case`Map`:return[5,ch];case`Set`:return[6,ch];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},fh=([e,t])=>e===0&&(t===`function`||t===`symbol`),ph=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=dh(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of uh(r))(e||!fh(dh(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(fh(dh(n))||fh(dh(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!fh(dh(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a};const mh=(e,{json:t,lossy:n}={})=>{let r=[];return ph(!(t||n),!!t,new Map,r)(e),r};var hh=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?sh(mh(e,t)):structuredClone(e):(e,t)=>sh(mh(e,t)),gh=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,_h=/^[a-zA-Z]:\\/;function vh(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return _h.test(e)?!1:gh.test(e)}var yh=[`http`,`https`],bh=[`nofollow`],xh={};function Sh(e){let t=e||xh,n=t.protocols||yh,r=nm(t.test);return function(e){Qp(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(vh(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=Ch(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=Ch(t.rel,e)||bh,a=typeof i==`string`?Po(i):i,o=Ch(t.target,e),s=Ch(t.properties,e);if(s&&Object.assign(e.properties,hh(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=Ch(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:hh(n),children:hh(r)})}}}})}}function Ch(e,t){return typeof e==`function`?e(t):e}const wh=nm(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`}),Th=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`),Eh=[`button`,`input`,`select`,`textarea`],Dh=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`];var Oh={},kh=Bp([`comment`,`doctype`]);function Ah(e,t){jh(e,{collapse:Hh((t||Oh).newlines?Bh:Vh),whitespace:`normal`})}function jh(e,t){if(`children`in e){let n={...t};return(e.type===`root`||Lh(e))&&(n.before=!0,n.after=!0),n.whitespace=Uh(e,t),Nh(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return Mh(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:kh(e),stripAtStart:!1,remove:!1}}function Mh(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&zh(n.charAt(0))&&i++,i!==a&&zh(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function Nh(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=jh(i[o],{...t,after:Ph(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),Ih(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function Ph(e,t,n){for(;++t<e.length;){let n=e[t],r=Fh(n);if(r===void 0&&`children`in n&&!Rh(n)&&(r=Ph(n.children,-1)),typeof r==`boolean`)return r}return n}function Fh(e){if(e.type===`element`){if(Ih(e))return!1;if(Lh(e))return!0}else if(e.type===`text`){if(!Of(e))return!1}else if(!kh(e))return!1}function Ih(e){return wh(e)||tm(e,Eh)}function Lh(e){return tm(e,Th)}function Rh(e){return!!(e.type===`element`&&e.properties.hidden)||kh(e)||tm(e,Dh)}function zh(e){return e===` `||e===`
|
|
14
|
+
`}function Bh(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function Vh(){return` `}function Hh(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function Uh(e,t){if(`tagName`in e&&e.properties)switch(e.tagName){case`listing`:case`plaintext`:case`script`:case`style`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return e.properties.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return e.properties.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}return t.whitespace}var Wh={}.hasOwnProperty;function Gh(e,t){let n=e.type===`element`&&Wh.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var Kh=new Set([`pingback`,`prefetch`,`stylesheet`]);function qh(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!Kh.has(String(t[n])))return!1;return!0}var Jh=nm(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),Yh=nm(`meta`);function Xh(e){return!!(e.type===`text`||Jh(e)||wh(e)||qh(e)||Yh(e)&&Gh(e,`itemProp`))}const Zh=[`pre`,`script`,`style`,`textarea`];var Qh={};function $h(e,t){let n=t||Qh,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};Ah(e,{newlines:!0}),Xp(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&Zh.includes(e.tagName))return Yp;if(e.children.length===0||!tg(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
|
|
15
|
+
`)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(tg(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||tg(r,s))&&(Of(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=(eg(r,i&&Of(i)?e[e.length-2]:i)&&eg(r,n)?`
|
|
16
|
+
|
|
17
|
+
`:`
|
|
18
|
+
`)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=Of(i)?a:i.value+a:e.push({type:`text`,value:a})}}function eg(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function tg(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||wh(t)||!Xh(t):!1)}function ng(e){return function(t){$h(t,e)}}var rg={},ig={}.hasOwnProperty,ag=Zd(`type`,{handlers:{root:sg,element:fg,text:ug,comment:dg,doctype:lg}});function og(e,t){let n=(t||rg).space;return ag(e,n===`svg`?ko:Oo)}function sg(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=mg(e.children,n,t),hg(e,n),n}function cg(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=mg(e.children,n,t),hg(e,n),n}function lg(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return hg(e,t),t}function ug(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return hg(e,t),t}function dg(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return hg(e,t),t}function fg(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=ko);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&ig.call(e.properties,a)){let t=pg(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Jo[o],childNodes:[],parentNode:null};return s.childNodes=mg(e.children,s,r),hg(e,s),e.tagName===`template`&&e.content&&(s.content=cg(e.content,r)),s}function pg(e,t,n){let r=To(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?jo(n):Fo(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Jo[r.space]}return i}function mg(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=ag(e[r],n);a.parentNode=t,i.push(a)}return i}function hg(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const gg=vg(`end`),_g=vg(`start`);function vg(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function yg(e){let t=_g(e),n=gg(e);if(t&&n)return{start:t,end:n}}var bg=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,xg=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),Sg={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Cg(e,t){let n=Lg(e),r=Zd(`type`,{handlers:{root:Tg,element:Eg,text:Dg,comment:Ag,doctype:Og,raw:jg},unknown:Mg}),i={parser:n?new Hc(Sg):Hc.getFragmentParser(void 0,Sg),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),Ng(i,_g());let a=Zo(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&Qp(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function wg(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Tg(e,t){wg(e.children,t)}function Eg(e,t){Fg(e,t),wg(e.children,t),Ig(e,t)}function Dg(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:ms.CHARACTER,chars:e.value,location:Rg(e)};Ng(t,_g(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Og(e,t){let n={type:ms.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:Rg(e)};Ng(t,_g(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function kg(e,t){t.stitches=!0;let n=zg(e);`children`in e&&`children`in n&&(n.children=Cg({type:`root`,children:e.children},t.options).children),Ag({type:`comment`,value:{stitch:n}},t)}function Ag(e,t){let n=e.value,r={type:ms.COMMENT,data:n,location:Rg(e)};Ng(t,_g(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function jg(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Pg(t,_g(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(bg,`<$1$2`):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function Mg(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))kg(n,t);else{let e=``;throw xg.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function Ng(e,t){Pg(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Is.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function Pg(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Fg(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Is.PLAINTEXT)return;Ng(t,_g(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:Jo.html;i===Jo.html&&n===`svg`&&(i=Jo.svg);let a=og({...e,children:[]},{space:i===Jo.svg?`svg`:`html`}),o={type:ms.START_TAG,tagName:n,tagID:Ns(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:Rg(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Ig(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Yd.includes(n)||t.parser.tokenizer.state===Is.PLAINTEXT)return;Ng(t,gg(e));let r={type:ms.END_TAG,tagName:n,tagID:Ns(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Rg(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Is.RCDATA||t.parser.tokenizer.state===Is.RAWTEXT||t.parser.tokenizer.state===Is.SCRIPT_DATA)&&(t.parser.tokenizer.state=Is.DATA)}function Lg(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function Rg(e){let t=_g(e)||{line:void 0,column:void 0,offset:void 0},n=gg(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function zg(e){return`children`in e?hh({...e,children:[]}):hh(e)}function Bg(e){return function(t,n){return Cg(t,{...e,file:n})}}var Vg=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`];const Hg={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...Vg,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...Vg],h2:[[`className`,`sr-only`]],img:[...Vg,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...Vg,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...Vg],table:[...Vg],ul:[...Vg,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)};var Ug={}.hasOwnProperty;function Wg(e,t){let n={type:`root`,children:[]},r=Gg({schema:t?{...Hg,...t}:Hg,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function Gg(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return Kg(e,n);case`doctype`:return qg(e,n);case`element`:return Jg(e,n);case`root`:return Yg(e,n);case`text`:return Xg(e,n);default:}}}function Kg(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return r_(r,t),r}}function qg(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return r_(e,t),e}}function Jg(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=Zg(e,t.children),i=Qg(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&Ug.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return r_(o,t),o}function Yg(e,t){let n={type:`root`,children:Zg(e,t.children)};return r_(n,t),n}function Xg(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return r_(n,t),n}function Zg(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=Gg(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Qg(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&Ug.call(r,n)?r[n]:void 0,o=r&&Ug.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(Ug.call(s,l)){let t=s[l],n=$g(e,i_(a,l),l,t);n??=$g(e,i_(o,l),l,t),n!=null&&(c[l]=n)}if(i&&Ug.call(i,n)){let e=i[n];for(l in e)Ug.call(e,l)&&!Ug.call(c,l)&&(c[l]=e[l])}return c}function $g(e,t,n,r){return t?Array.isArray(r)?e_(e,t,n,r):t_(e,t,n,r):void 0}function e_(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=t_(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function t_(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&n_(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function n_(e,t,n){let r=e.schema.protocols&&Ug.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function r_(e,t){let n=yg(t);t.data&&(e.data=hh(t.data)),n&&(e.position=n)}function i_(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function a_(e){return function(t){return Wg(t,e)}}const o_=__(/[A-Za-z]/),s_=__(/[\dA-Za-z]/),c_=__(/[#-'*+\--9=?A-Z^-~]/);function l_(e){return e!==null&&(e<32||e===127)}const u_=__(/\d/),d_=__(/[\dA-Fa-f]/),f_=__(/[!-/:-@[-`{-~]/);function Z(e){return e!==null&&e<-2}function p_(e){return e!==null&&(e<0||e===32)}function m_(e){return e===-2||e===-1||e===32}const h_=__(/\p{P}|\p{S}/u),g_=__(/\s/);function __(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function v_(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function y_(e,t,n){let r=Bp((n||{}).ignore||[]),i=b_(t),a=-1;for(;++a<i.length;)Xp(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function b_(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([x_(e[0]),S_(e[1])])}return t}function x_(e){return typeof e==`string`?new RegExp(v_(e),`g`):e}function S_(e){return typeof e==`function`?e:function(){return e}}var C_=`phrasing`,w_=[`autolink`,`link`,`image`,`label`];function T_(){return{transforms:[N_],enter:{literalAutolink:D_,literalAutolinkEmail:O_,literalAutolinkHttp:O_,literalAutolinkWww:O_},exit:{literalAutolink:M_,literalAutolinkEmail:j_,literalAutolinkHttp:k_,literalAutolinkWww:A_}}}function E_(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:C_,notInConstruct:w_},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:C_,notInConstruct:w_},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:C_,notInConstruct:w_}]}}function D_(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function O_(e){this.config.enter.autolinkProtocol.call(this,e)}function k_(e){this.config.exit.autolinkProtocol.call(this,e)}function A_(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function j_(e){this.config.exit.autolinkEmail.call(this,e)}function M_(e){this.exit(e)}function N_(e){y_(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,P_],[RegExp(`(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)`,`gu`),F_]],{ignore:[`link`,`linkReference`]})}function P_(e,t,n,r,i){let a=``;if(!R_(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!I_(n)))return!1;let o=L_(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function F_(e,t,n,r){return!R_(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function I_(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function L_(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=Ef(e,`(`),a=Ef(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function R_(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||g_(n)||h_(n))&&(!t||n!==47)}function z_(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}Y_.peek=J_;function B_(){this.buffer()}function V_(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function H_(){this.buffer()}function U_(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function W_(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=z_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function G_(e){this.exit(e)}function K_(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=z_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function q_(e){this.exit(e)}function J_(){return`[`}function Y_(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function X_(){return{enter:{gfmFootnoteCallString:B_,gfmFootnoteCall:V_,gfmFootnoteDefinitionLabelString:H_,gfmFootnoteDefinition:U_},exit:{gfmFootnoteCallString:W_,gfmFootnoteCall:G_,gfmFootnoteDefinitionLabelString:K_,gfmFootnoteDefinition:q_}}}function Z_(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Y_},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
19
|
+
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?$_:Q_))),s(),o}}function Q_(e,t,n){return t===0?e:$_(e,t,n)}function $_(e,t,n){return(n?``:` `)+e}var ev=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];av.peek=ov;function tv(){return{canContainEols:[`delete`],enter:{strikethrough:rv},exit:{strikethrough:iv}}}function nv(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:ev}],handlers:{delete:av}}}function rv(e){this.enter({type:`delete`,children:[]},e)}function iv(e){this.exit(e)}function av(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function ov(){return`~`}function sv(e){return e.length}function cv(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||sv,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=lv(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=uv(r[d]);else{let e=uv(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
20
|
+
`)}function lv(e){return e==null?``:String(e)}function uv(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var dv={}.hasOwnProperty;function fv(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)fv(e,t.extensions[n]);for(r in t)if(dv.call(t,r))switch(r){case`extensions`:break;case`unsafe`:pv(e[r],t[r]);break;case`join`:pv(e[r],t[r]);break;case`handlers`:mv(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function pv(e,t){t&&e.push(...t)}function mv(e,t){t&&Object.assign(e,t)}function hv(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),gv);return i(),o}function gv(e,t,n){return`>`+(n?``:` `)+e}function _v(e,t){return vv(e,t.inConstruct,!0)&&!vv(e,t.notInConstruct,!1)}function vv(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function yv(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
21
|
+
`&&_v(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
22
|
+
`}function bv(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function xv(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Sv(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Cv(e,t,n,r){let i=Sv(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(xv(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,wv);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(bv(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
23
|
+
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
24
|
+
`),a&&(u+=s.move(a+`
|
|
25
|
+
`)),u+=s.move(c),l(),u}function wv(e,t,n){return(n?``:` `)+e}function Tv(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ev(e,t,n,r){let i=Tv(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
26
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function Dv(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ov(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function kv(e){if(e===null||p_(e)||g_(e))return 1;if(h_(e))return 2}function Av(e,t,n){let r=kv(e),i=kv(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}jv.peek=Mv;function jv(e,t,n,r){let i=Dv(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=Av(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Ov(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=Av(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+Ov(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function Mv(e,t,n){return n.options.emphasis||`*`}var Nv={};function Pv(e,t){let n=t||Nv;return Fv(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Fv(e,t,n){if(Lv(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Iv(e.children,t,n)}return Array.isArray(e)?Iv(e,t,n):``}function Iv(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Fv(e[i],t,n);return r.join(``)}function Lv(e){return!!(e&&typeof e==`object`)}function Rv(e,t){let n=!1;return Qp(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&Pv(e)&&(t.options.setext||n))}function zv(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(Rv(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
27
|
+
`,after:`
|
|
28
|
+
`});return r(),t(),o+`
|
|
29
|
+
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
30
|
+
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
31
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=Ov(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}Bv.peek=Vv;function Bv(e){return e.value||``}function Vv(){return`<`}Hv.peek=Uv;function Hv(e,t,n,r){let i=Tv(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function Uv(){return`!`}Wv.peek=Gv;function Wv(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function Gv(){return`!`}Kv.peek=qv;function Kv(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function qv(){return"`"}function Jv(e,t){let n=Pv(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Yv.peek=Xv;function Yv(e,t,n,r){let i=Tv(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(Jv(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function Xv(e,t,n){return Jv(e,n)?`<`:`[`}Zv.peek=Qv;function Zv(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function Qv(){return`[`}function $v(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ey(e){let t=$v(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ty(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ny(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function ry(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?ty(n):$v(n),s=e.ordered?o===`.`?`)`:`.`:ey(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),ny(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function iy(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ay(e,t,n,r){let i=iy(n),a=n.bulletCurrent||$v(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function oy(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}const sy=Bp([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function cy(e,t,n,r){return(e.children.some(function(e){return sy(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function ly(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}uy.peek=dy;function uy(e,t,n,r){let i=ly(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=Av(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=Ov(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=Av(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+Ov(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function dy(e,t,n){return n.options.strong||`*`}function fy(e,t,n,r){return n.safe(e.value,r)}function py(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function my(e,t,n){let r=(ny(n)+(n.options.ruleSpaces?` `:``)).repeat(py(n));return n.options.ruleSpaces?r.slice(0,-1):r}const hy={blockquote:hv,break:yv,code:Cv,definition:Ev,emphasis:jv,hardBreak:yv,heading:zv,html:Bv,image:Hv,imageReference:Wv,inlineCode:Kv,link:Yv,linkReference:Zv,list:ry,listItem:ay,paragraph:oy,root:cy,strong:uy,text:fy,thematicBreak:my},gy=[_y];function _y(e,t,n,r){if(t.type===`code`&&xv(t,r)&&(e.type===`list`||e.type===t.type&&xv(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&Rv(t,r))?void 0:n.spread?1:0}var vy=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];const yy=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
|
|
32
|
+
`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:vy},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
|
|
33
|
+
]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:vy},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
|
|
34
|
+
*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:vy},{atBreak:!0,character:`+`,after:`(?:[ \r
|
|
35
|
+
])`},{atBreak:!0,character:`-`,after:`(?:[ \r
|
|
36
|
+
-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
|
|
37
|
+
]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:vy},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:vy},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:vy},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:vy},{atBreak:!0,character:`~`}];var by=document.createElement(`i`);function xy(e){let t=`&`+e+`;`;by.innerHTML=t;let n=by.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}function Sy(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var Cy=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wy(e){return e.replace(Cy,Ty)}function Ty(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return Sy(n.slice(t?2:1),t?16:10)}return xy(n)||e}function Ey(e){return e.label||!e.identifier?e.label||``:wy(e.identifier)}function Dy(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}function Oy(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before,c;r.push(-1);let l=t.createTracker(n);for(;++o<i.length;){let u=i[o],d;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),d=n?n(i[o+1],e,t,{before:``,after:``,...l.current()}).charAt(0):``}else d=n.after;a.length>0&&(s===`\r`||s===`
|
|
38
|
+
`)&&u.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,l=t.createTracker(n),l.move(a.join(``)));let f=t.handle(u,e,t,{...l.current(),after:d,before:s});c&&c===f.slice(0,1)&&(f=Ov(c.charCodeAt(0))+f.slice(1));let p=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,c=void 0,p&&(a.length>0&&p.before&&s===a[a.length-1].slice(-1)&&(a[a.length-1]=a[a.length-1].slice(0,-1)+Ov(s.charCodeAt(0))),p.after&&(c=d)),l.move(f),a.push(f),s=f.slice(-1)}return r.pop(),a.join(``)}function ky(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
|
|
39
|
+
`,after:`
|
|
40
|
+
`,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(Ay(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function Ay(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
|
|
41
|
+
`.repeat(1+a);if(a===!1)return`
|
|
42
|
+
|
|
43
|
+
<!---->
|
|
44
|
+
|
|
45
|
+
`}return`
|
|
46
|
+
|
|
47
|
+
`}var jy=/\r?\n|\r/g;function My(e,t){let n=[],r=0,i=0,a;for(;a=jy.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}function Ny(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!_v(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(Py);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(Fy(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(Ov(r.charCodeAt(e))),c++))}return a.push(Fy(r.slice(c,l),n.after)),a.join(``)}function Py(e,t){return e-t}function Fy(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function Iy(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function Ly(e,t){let n=t||{},r={associationId:Ey,containerPhrasing:Vy,containerFlow:Hy,createTracker:Iy,compilePattern:Dy,enter:a,handlers:{...hy},handle:void 0,indentLines:My,indexStack:[],join:[...gy],options:{},safe:Uy,stack:[],unsafe:[...yy]};fv(r,n),r.options.tightDefinitions&&r.join.push(By),r.handle=Zd(`type`,{invalid:Ry,unknown:zy,handlers:r.handlers});let i=r.handle(e,void 0,r,{before:`
|
|
48
|
+
`,after:`
|
|
49
|
+
`,now:{line:1,column:1},lineShift:0});return i&&i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`
|
|
50
|
+
`),i;function a(e){return r.stack.push(e),t;function t(){r.stack.pop()}}}function Ry(e){throw Error("Cannot handle value `"+e+"`, expected node")}function zy(e){let t=e;throw Error("Cannot handle unknown node `"+t.type+"`")}function By(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function Vy(e,t){return Oy(e,this,t)}function Hy(e,t){return ky(e,this,t)}function Uy(e,t){return Ny(this,e,t)}function Wy(){return{enter:{table:Gy,tableData:Yy,tableHeader:Yy,tableRow:qy},exit:{codeText:Xy,table:Ky,tableData:Jy,tableHeader:Jy,tableRow:Jy}}}function Gy(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function Ky(e){this.exit(e),this.data.inTable=void 0}function qy(e){this.enter({type:`tableRow`,children:[]},e)}function Jy(e){this.exit(e)}function Yy(e){this.enter({type:`tableCell`,children:[]},e)}function Xy(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Zy));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Zy(e,t){return t===`|`?t:e}function Qy(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
51
|
+
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
52
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return cv(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=hy.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function $y(){return{exit:{taskListCheckValueChecked:tb,taskListCheckValueUnchecked:tb,paragraph:nb}}}function eb(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:rb}}}function tb(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function nb(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function rb(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=hy.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function ib(){return[T_(),X_(),tv(),Wy(),$y()]}function ab(e){return{extensions:[E_(),Z_(e),nv(),Qy(e),eb()]}}function ob(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function sb(e,t){return e.length>0?(ob(e,e.length,0,t),e):t}var cb={}.hasOwnProperty;function lb(e){let t={},n=-1;for(;++n<e.length;)ub(t,e[n]);return t}function ub(e,t){let n;for(n in t){let r=(cb.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){cb.call(r,a)||(r[a]=[]);let e=i[a];db(r[a],Array.isArray(e)?e:e?[e]:[])}}}function db(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);ob(e,0,0,r)}var fb={tokenize:Eb,partial:!0},pb={tokenize:Db,partial:!0},mb={tokenize:Ob,partial:!0},hb={tokenize:kb,partial:!0},gb={tokenize:Ab,partial:!0},_b={name:`wwwAutolink`,tokenize:wb,previous:jb},vb={name:`protocolAutolink`,tokenize:Tb,previous:Mb},yb={name:`emailAutolink`,tokenize:Cb,previous:Nb},bb={};function xb(){return{text:bb}}for(var Sb=48;Sb<123;)bb[Sb]=yb,Sb++,Sb===58?Sb=65:Sb===91&&(Sb=97);bb[43]=yb,bb[45]=yb,bb[46]=yb,bb[95]=yb,bb[72]=[yb,vb],bb[104]=[yb,vb],bb[87]=[yb,_b],bb[119]=[yb,_b];function Cb(e,t,n){let r=this,i,a;return o;function o(t){return!Pb(t)||!Nb.call(r,r.previous)||Fb(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Pb(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(gb,u,l)(t):t===45||t===95||s_(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&o_(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function wb(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!jb.call(r,r.previous)||Fb(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(fb,e.attempt(pb,e.attempt(mb,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Tb(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&Mb.call(r,r.previous)&&!Fb(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(o_(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||l_(t)||p_(t)||g_(t)||h_(t)?n(t):e.attempt(pb,e.attempt(mb,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Eb(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Db(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(hb,c,s)(t):t===null||p_(t)||g_(t)||t!==45&&h_(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Ob(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(hb,t,a)(o):o===null||p_(o)||g_(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function kb(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||p_(o)||g_(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||p_(e)||g_(e)?t(e):r(e)}function a(e){return o_(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):o_(t)?(e.consume(t),o):n(t)}}function Ab(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return s_(e)?n(e):t(e)}}function jb(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||p_(e)}function Mb(e){return!o_(e)}function Nb(e){return!(e===47||Pb(e))}function Pb(e){return e===43||e===45||e===46||e===95||s_(e)}function Fb(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Ib(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&s_(e.charCodeAt(n+1))&&s_(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function Lb(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Rb={name:`attention`,resolveAll:zb,tokenize:Bb};function zb(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};Vb(d,-c),Vb(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=sb(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=sb(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=sb(l,Lb(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=sb(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=sb(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,ob(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Bb(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=kv(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=kv(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function Vb(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Hb={name:`autolink`,tokenize:Ub};function Ub(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return o_(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||s_(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||s_(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||l_(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):c_(t)?(e.consume(t),l):n(t)}function u(e){return s_(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||s_(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function Wb(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return m_(r)?(e.enter(n),s(r)):t(r)}function s(r){return m_(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}const Gb={partial:!0,tokenize:Kb};function Kb(e,t,n){return r;function r(t){return m_(t)?Wb(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||Z(e)?t(e):n(e)}}const qb={continuation:{tokenize:Yb},exit:Xb,name:`blockQuote`,tokenize:Jb};function Jb(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return m_(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Yb(e,t,n){let r=this;return i;function i(t){return m_(t)?Wb(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(qb,t,n)(r)}}function Xb(e){e.exit(`blockQuote`)}const Zb={name:`characterEscape`,tokenize:Qb};function Qb(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return f_(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}const $b={name:`characterReference`,tokenize:ex};function ex(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=s_,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=d_,u):(e.enter(`characterReferenceValue`),a=7,o=u_,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===s_&&!xy(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var tx={partial:!0,tokenize:ix};const nx={concrete:!0,name:`codeFenced`,tokenize:rx};function rx(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),m_(t)?Wb(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||Z(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(tx,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||Z(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):m_(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Wb(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||Z(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||Z(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&m_(t)?Wb(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||Z(t)?e.check(tx,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||Z(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),m_(t)?Wb(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),m_(t)?Wb(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||Z(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function ix(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}const ax={name:`codeIndented`,tokenize:sx};var ox={partial:!0,tokenize:cx};function sx(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Wb(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):Z(t)?e.attempt(ox,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||Z(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function cx(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Z(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Wb(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Z(e)?i(e):n(e)}}const lx={name:`codeText`,previous:dx,resolve:ux,tokenize:fx};function ux(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function dx(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function fx(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):Z(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||Z(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var px=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&mx(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),mx(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),mx(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);mx(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);mx(this.left,t.reverse())}}};function mx(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function hx(e){let t={},n=-1,r,i,a,o,s,c,l,u=new px(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,gx(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return ob(e,0,1/0,u.slice(0)),!l}function gx(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}const _x={resolve:yx,tokenize:bx};var vx={partial:!0,tokenize:xx};function yx(e){return hx(e),e}function bx(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):Z(t)?e.check(vx,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function xx(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Wb(e,a,`linePrefix`)}function a(i){if(i===null||Z(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Sx(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||l_(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||Z(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||p_(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||l_(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function Cx(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):Z(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||Z(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!m_(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function wx(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):Z(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Wb(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||Z(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function Tx(e,t){let n;return r;function r(i){return Z(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):m_(i)?Wb(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}const Ex={name:`definition`,tokenize:Ox};var Dx={partial:!0,tokenize:kx};function Ox(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return Cx.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=z_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return p_(t)?Tx(e,l)(t):l(t)}function l(t){return Sx(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(Dx,d,d)(t)}function d(t){return m_(t)?Wb(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||Z(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function kx(e,t,n){return r;function r(t){return p_(t)?Tx(e,i)(t):n(t)}function i(t){return wx(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return m_(t)?Wb(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||Z(e)?t(e):n(e)}}const Ax={name:`hardBreakEscape`,tokenize:jx};function jx(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return Z(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}const Mx={name:`headingAtx`,resolve:Nx,tokenize:Px};function Nx(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},ob(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Px(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||p_(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||Z(n)?(e.exit(`atxHeading`),t(n)):m_(n)?Wb(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||p_(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}const Fx=`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`.split(`.`),Ix=[`pre`,`script`,`style`,`textarea`],Lx={concrete:!0,name:`htmlFlow`,resolveTo:Bx,tokenize:Vx};var Rx={partial:!0,tokenize:Ux},zx={partial:!0,tokenize:Hx};function Bx(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Vx(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:se):o_(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):o_(a)?(e.consume(a),i=4,r.interrupt?t:se):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:se):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:D:m):n(i)}function h(t){return o_(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||p_(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Ix.includes(l)?(i=1,r.interrupt?t(s):D(s)):Fx.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):D(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||s_(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:D):n(i)}function v(t){return m_(t)?(e.consume(t),v):ee(t)}function y(t){return t===47?(e.consume(t),ee):t===58||t===95||o_(t)?(e.consume(t),b):m_(t)?(e.consume(t),y):ee(t)}function b(t){return t===45||t===46||t===58||t===95||s_(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):m_(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):m_(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||Z(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||p_(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||m_(e)?y(e):n(e)}function ee(t){return t===62?(e.consume(t),E):n(t)}function E(t){return t===null||Z(t)?D(t):m_(t)?(e.consume(t),E):n(t)}function D(t){return t===45&&i===2?(e.consume(t),ie):t===60&&i===1?(e.consume(t),ae):t===62&&i===4?(e.consume(t),ce):t===63&&i===3?(e.consume(t),se):t===93&&i===5?(e.consume(t),oe):Z(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(Rx,k,te)(t)):t===null||Z(t)?(e.exit(`htmlFlowData`),te(t)):(e.consume(t),D)}function te(t){return e.check(zx,ne,k)(t)}function ne(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),re}function re(t){return t===null||Z(t)?te(t):(e.enter(`htmlFlowData`),D(t))}function ie(t){return t===45?(e.consume(t),se):D(t)}function ae(t){return t===47?(e.consume(t),o=``,O):D(t)}function O(t){if(t===62){let n=o.toLowerCase();return Ix.includes(n)?(e.consume(t),ce):D(t)}return o_(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):D(t)}function oe(t){return t===93?(e.consume(t),se):D(t)}function se(t){return t===62?(e.consume(t),ce):t===45&&i===2?(e.consume(t),se):D(t)}function ce(t){return t===null||Z(t)?(e.exit(`htmlFlowData`),k(t)):(e.consume(t),ce)}function k(n){return e.exit(`htmlFlow`),t(n)}}function Hx(e,t,n){let r=this;return i;function i(t){return Z(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ux(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(Gb,t,n)}}const Wx={name:`htmlText`,tokenize:Gx};function Gx(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):o_(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):o_(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):Z(t)?(o=d,ae(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?ie(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):Z(t)?(o=h,ae(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?ie(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?ie(t):Z(t)?(o=v,ae(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):Z(t)?(o=y,ae(t)):(e.consume(t),y)}function b(e){return e===62?ie(e):y(e)}function x(t){return o_(t)?(e.consume(t),S):n(t)}function S(t){return t===45||s_(t)?(e.consume(t),S):C(t)}function C(t){return Z(t)?(o=C,ae(t)):m_(t)?(e.consume(t),C):ie(t)}function w(t){return t===45||s_(t)?(e.consume(t),w):t===47||t===62||p_(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),ie):t===58||t===95||o_(t)?(e.consume(t),ee):Z(t)?(o=T,ae(t)):m_(t)?(e.consume(t),T):ie(t)}function ee(t){return t===45||t===46||t===58||t===95||s_(t)?(e.consume(t),ee):E(t)}function E(t){return t===61?(e.consume(t),D):Z(t)?(o=E,ae(t)):m_(t)?(e.consume(t),E):T(t)}function D(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,te):Z(t)?(o=D,ae(t)):m_(t)?(e.consume(t),D):(e.consume(t),ne)}function te(t){return t===i?(e.consume(t),i=void 0,re):t===null?n(t):Z(t)?(o=te,ae(t)):(e.consume(t),te)}function ne(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||p_(t)?T(t):(e.consume(t),ne)}function re(e){return e===47||e===62||p_(e)?T(e):n(e)}function ie(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ae(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),O}function O(t){return m_(t)?Wb(e,oe,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):oe(t)}function oe(t){return e.enter(`htmlTextData`),o(t)}}const Kx={name:`labelEnd`,resolveAll:Xx,resolveTo:Zx,tokenize:Qx};var qx={tokenize:$x},Jx={tokenize:eS},Yx={tokenize:tS};function Xx(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&ob(e,0,e.length,n),e}function Zx(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=sb(s,e.slice(a+1,a+r+3)),s=sb(s,[[`enter`,u,t]]),s=sb(s,Lb(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=sb(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=sb(s,e.slice(o+1)),s=sb(s,[[`exit`,c,t]]),ob(e,a,e.length,s),e}function Qx(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(z_(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(qx,u,o?u:d)(t):t===91?e.attempt(Jx,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Yx,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function $x(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return p_(t)?Tx(e,a)(t):a(t)}function a(t){return t===41?u(t):Sx(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return p_(t)?Tx(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?wx(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return p_(t)?Tx(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function eS(e,t,n){let r=this;return i;function i(t){return Cx.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(z_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function tS(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}const nS={name:`labelStartImage`,resolveAll:Kx.resolveAll,tokenize:rS};function rS(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}const iS={name:`labelStartLink`,resolveAll:Kx.resolveAll,tokenize:aS};function aS(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}const oS={name:`lineEnding`,tokenize:sS};function sS(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Wb(e,t,`linePrefix`)}}const cS={name:`thematicBreak`,tokenize:lS};function lS(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||Z(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),m_(t)?Wb(e,s,`whitespace`)(t):s(t))}}const uS={continuation:{tokenize:mS},exit:gS,name:`list`,tokenize:pS};var dS={partial:!0,tokenize:_S},fS={partial:!0,tokenize:hS};function pS(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:u_(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(cS,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return u_(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(Gb,r.interrupt?n:u,e.attempt(dS,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return m_(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function mS(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Gb,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Wb(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!m_(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(fS,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Wb(e,e.attempt(uS,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function hS(e,t,n){let r=this;return Wb(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function gS(e){e.exit(this.containerState.type)}function _S(e,t,n){let r=this;return Wb(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!m_(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}const vS={name:`setextUnderline`,resolveTo:yS,tokenize:bS};function yS(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function bS(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),m_(t)?Wb(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||Z(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var xS={tokenize:kS,partial:!0};function SS(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:ES,continuation:{tokenize:DS},exit:OS}},text:{91:{name:`gfmFootnoteCall`,tokenize:TS},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:CS,resolveTo:wS}}}}function CS(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=z_(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function wS(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function TS(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||p_(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(z_(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return p_(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function ES(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||p_(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=z_(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return p_(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Wb(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function DS(e,t,n){return e.check(Gb,t,e.attempt(xS,t,n))}function OS(e){e.exit(`gfmFootnoteDefinition`)}function kS(e,t,n){let r=this;return Wb(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function AS(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&ob(o,o.length,0,Lb(s,e.slice(r+1,n),t)),ob(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),ob(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=kv(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=kv(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var jS=class{constructor(){this.map=[]}add(e,t,n){MS(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function MS(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function NS(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function PS(){return{flow:{null:{name:`table`,tokenize:FS,resolveAll:IS}}}}function FS(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):Z(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):m_(t)?Wb(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||p_(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,m_(t)?Wb(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return m_(t)?Wb(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||Z(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return m_(t)?Wb(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||Z(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||Z(n)?(e.exit(`tableRow`),t(n)):m_(n)?Wb(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||p_(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function IS(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new jS;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(RS(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=LS(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=LS(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=LS(f,t,o,i,n,d)):(o[0]=o[1],d=LS(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&RS(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=NS(t.events,n))}return e}function LS(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},zS(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=zS(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=zS(t.events,n[2]),a=zS(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},zS(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function RS(e,t,n,r,i){let a=[],o=zS(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function zS(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var BS={name:`tasklistCheck`,tokenize:HS};function VS(){return{text:{91:BS}}}function HS(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return p_(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return Z(r)?t(r):m_(r)?e.check({tokenize:US},t,n)(r):n(r)}}function US(e,t,n){return Wb(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function WS(e){return lb([xb(),SS(),AS(e),PS(),VS()])}var GS={};function KS(e){let t=this,n=e||GS,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(WS(n)),a.push(ib()),o.push(ab(n))}const qS={tokenize:JS};function JS(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Wb(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return Z(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}const YS={tokenize:ZS};var XS={tokenize:QS};function ZS(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return ob(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(XS,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(XS,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return Z(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;ob(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function QS(e,t,n){return Wb(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}const $S={tokenize:eC};function eC(e){let t=this,n=e.attempt(Gb,r,e.attempt(this.parser.constructs.flowInitial,i,Wb(e,e.attempt(this.parser.constructs.flow,i,e.attempt(_x,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}const tC={resolveAll:aC()},nC=iC(`string`),rC=iC(`text`);function iC(e){return{resolveAll:aC(e===`text`?oC:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function aC(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function oC(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var sC=_({attentionMarkers:()=>hC,contentInitial:()=>lC,disable:()=>gC,document:()=>cC,flow:()=>dC,flowInitial:()=>uC,insideSpan:()=>mC,string:()=>fC,text:()=>pC},1);const cC={42:uS,43:uS,45:uS,48:uS,49:uS,50:uS,51:uS,52:uS,53:uS,54:uS,55:uS,56:uS,57:uS,62:qb},lC={91:Ex},uC={[-2]:ax,[-1]:ax,32:ax},dC={35:Mx,42:cS,45:[vS,cS],60:Lx,61:vS,95:cS,96:nx,126:nx},fC={38:$b,92:Zb},pC={[-5]:oS,[-4]:oS,[-3]:oS,33:nS,38:$b,42:Rb,60:[Hb,Wx],91:iS,92:[Ax,Zb],93:Kx,95:Rb,96:lx},mC={null:[Rb,tC]},hC={null:[42,95]},gC={null:[]};function _C(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=sb(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=Lb(a,l.events,l),l.events):[]}function f(e,t){return yC(p(e),t)}function p(e){return vC(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,ee()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){Z(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,ee()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&ob(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,ee()}}function ee(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function vC(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function yC(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
53
|
+
`;break;case-3:o=`\r
|
|
54
|
+
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function bC(e){let t={constructs:lb([sC,...(e||{}).extensions||[]]),content:n(qS),defined:[],document:n(YS),flow:n($S),lazy:{},string:n(nC),text:n(rC)};return t;function n(e){return n;function n(n){return _C(t,e,n)}}}function xC(e){for(;!hx(e););return e}var SC=/[\0\t\n\r]/g;function CC(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(SC.lastIndex=u,c=SC.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var wC={}.hasOwnProperty;function TC(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),EC(n)(xC(bC(n).document().write(CC()(e,t,!0))))}function EC(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(xe),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(ve),blockQuote:a(me),characterEscape:T,characterReference:T,codeFenced:a(he),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(he,o),codeText:a(ge,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(M),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(_e),hardBreakEscape:a(N),hardBreakTrailing:a(N),htmlFlow:a(ye,o),htmlFlowData:T,htmlText:a(ye,o),htmlTextData:T,image:a(be),label:o,link:a(xe),listItem:a(Ce),listItemValue:f,listOrdered:a(Se,d),listUnordered:a(Se),paragraph:a(we),reference:le,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(ve),strong:a(Te),thematicBreak:a(Ee)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:j,autolinkProtocol:pe,blockQuote:c(),characterEscapeValue:ee,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:fe,characterReference:A,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:ee,codeIndented:c(_),codeText:c(re),codeTextData:ee,data:ee,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(D),hardBreakTrailing:c(D),htmlFlow:c(te),htmlFlowData:ee,htmlText:c(ne),htmlTextData:ee,image:c(ae),label:oe,labelText:O,lineEnding:E,link:c(ie),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ue,resourceDestinationString:se,resourceTitleString:ce,resource:k,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};OC(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];wC.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||AC).call(a,void 0,e[0])}for(r.position={start:DC(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:DC(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:DC(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||AC).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+fd({start:e.start,end:e.end})+`): it’s not open`);n.position.end=DC(e.end)}function u(){return Pv(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=z_(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=P(),n.position={start:DC(e.start),end:void 0},t.push(n)),this.stack.push(n)}function ee(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=DC(e.end)}function E(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=DC(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),ee.call(this,e))}function D(){this.data.atHardBreak=!0}function te(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ne(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ie(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ae(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function O(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=wy(t),n.identifier=z_(t).toLowerCase()}function oe(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ce(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function k(){this.data.inReference=void 0}function le(){this.data.referenceType=`collapsed`}function ue(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=z_(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function de(e){this.data.characterReferenceType=e.type}function fe(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=Sy(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=xy(t);let i=this.stack[this.stack.length-1];i.value+=r}function A(e){let t=this.stack.pop();t.position.end=DC(e.end)}function pe(e){ee.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function j(e){ee.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function me(){return{type:`blockquote`,children:[]}}function he(){return{type:`code`,lang:null,meta:null,value:``}}function ge(){return{type:`inlineCode`,value:``}}function M(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function _e(){return{type:`emphasis`,children:[]}}function ve(){return{type:`heading`,depth:0,children:[]}}function N(){return{type:`break`}}function ye(){return{type:`html`,value:``}}function be(){return{type:`image`,title:null,url:``,alt:null}}function xe(){return{type:`link`,title:null,url:``,children:[]}}function Se(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Ce(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function we(){return{type:`paragraph`,children:[]}}function Te(){return{type:`strong`,children:[]}}function P(){return{type:`text`,value:``}}function Ee(){return{type:`thematicBreak`}}}function DC(e){return{line:e.line,column:e.column,offset:e.offset}}function OC(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?OC(e,r):kC(e,r)}}function kC(e,t){let n;for(n in t)if(wC.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function AC(e,t){throw e?Error("Cannot close `"+e.type+"` ("+fd({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+fd({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+fd({start:t.start,end:t.end})+`) is still open`)}function jC(e){let t=this;t.parser=n;function n(n){return TC(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function MC(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function NC(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
55
|
+
`}]}function PC(e,t){let n=t.value?t.value+`
|
|
56
|
+
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function FC(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function IC(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function LC(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=Ib(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function RC(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zC(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function BC(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function VC(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return BC(e,t);let i={src:Ib(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function HC(e,t){let n={src:Ib(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function UC(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function WC(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return BC(e,t);let i={href:Ib(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function GC(e,t){let n={href:Ib(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function KC(e,t,n){let r=e.all(t),i=n?qC(n):JC(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
57
|
+
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
58
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function qC(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=JC(n[r])}return t}function JC(e){return e.spread??e.children.length>1}function YC(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function XC(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ZC(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function QC(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $C(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=_g(t.children[1]),o=gg(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function ew(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function tw(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var nw=9,rw=32;function iw(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(aw(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(aw(t.slice(i),i>0,!1)),a.join(``)}function aw(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===nw||t===rw;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===nw||t===rw;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function ow(e,t){let n={type:`text`,value:iw(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function sw(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const cw={blockquote:MC,break:NC,code:PC,delete:FC,emphasis:IC,footnoteReference:LC,heading:RC,html:zC,imageReference:VC,image:HC,inlineCode:UC,linkReference:WC,link:GC,listItem:KC,list:YC,paragraph:XC,root:ZC,strong:QC,table:$C,tableCell:tw,tableRow:ew,text:ow,thematicBreak:sw,toml:lw,yaml:lw,definition:lw,footnoteDefinition:lw};function lw(){}function uw(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function dw(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function fw(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||uw,r=e.options.footnoteBackLabel||dw,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=Ib(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...hh(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
59
|
+
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
60
|
+
`}]}}var pw={}.hasOwnProperty,mw={};function hw(e,t){let n=t||mw,r=new Map,i=new Map,a={all:s,applyData:_w,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...cw,...n.handlers},one:o,options:n,patch:gw,wrap:yw};return Qp(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(pw.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=hh(n);return r.children=a.all(e),r}return hh(e)}return(a.options.unknownHandler||vw)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=bw(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=bw(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function gw(e,t){e.position&&(t.position=yg(e))}function _w(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,hh(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function vw(e,t){let n=t.data||{},r=`value`in t&&!(pw.call(n,`hProperties`)||pw.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function yw(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
61
|
+
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
62
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
63
|
+
`}),n}function bw(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function xw(e,t){let n=hw(e,t),r=n.one(e,void 0),i=fw(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
64
|
+
`},i)),a}function Sw(e,t){return e&&`run`in e?async function(n,r){let i=xw(n,{file:r,...t});await e.run(i,r)}:function(n,r){return xw(n,{file:r,...e||t})}}function Cw(e){let t=this;t.compiler=n;function n(n){return Ly(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var ww=[`note`,`tip`,`important`,`warning`,`caution`,`success`];function Tw(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function Ew(){return e=>{Qp(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!Tw(e));if(r===-1)return;let i=e.children[r];if(!i||i.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(!a||a.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!ww.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
|
|
65
|
+
`&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&Tw(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value.charAt(o+1)===`
|
|
66
|
+
`&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value=a.value.slice(o+2):a.value=a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.children[t]={type:`element`,tagName:`div`,properties:{className:[`markdown-alert`,`markdown-alert-${s}`]},children:[{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-icon`]},children:[]},{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-content`]},children:[{type:`text`,value:` `},...c]}]}})}}var Dw=e=>e.type===`heading`&&`depth`in e&&`children`in e,Ow=(e,...t)=>t=>{!e?.transform||!e?.type||Qp(t,e?.type,t=>(e?.transform&&e?.transform(t),Yp))};function kw(e,t){let n=t?.removeTags??[],r=[...Hg.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return Ap().use(jC).use(KS).use(Ow,{transform:t?.transform,type:t?.transformType}).use(Sw,{allowDangerousHtml:!0}).use(Ew).use(Bg).use(a_,{...Hg,clobberPrefix:``,tagNames:r,attributes:{...Hg.attributes,abbr:[`title`],"*":[...Hg.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(Km,{languages:ih,detect:!0}).use(Sh,{target:`_blank`}).use(ng).use(xp).processSync(e).toString()}function Aw(e){return Ap().use(jC).use(KS).parse(e)}function jw(e,t=1){let n=Aw(e),r=[];return Qp(n,`heading`,e=>{let n=Mw(e);n&&r.push({depth:e.depth??t,value:n})}),r}function Mw(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>Mw(e)).join(``):``}function Nw(e){let t=Aw(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>Pw(e))}function Pw(e){return Ap().use(Cw).use(KS).stringify({type:`root`,children:e}).trim()}var Fw=e=>e!=null,Iw={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`};function Lw(e){return e.replace(/[&<>"']/g,e=>Iw[e]??e)}function Rw(e,t={}){let{indent:n=` `,format:r=!0,xmlDeclaration:i=!0}=t,a=(e,t,r)=>{let i=``;if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)i+=a(e[n],t,r);else if(typeof e==`object`&&e){let o=!1,s=``,c=``;for(let t in e)t.charAt(0)===`@`&&(s+=` `+t.substr(1)+`="`+Lw(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=Lw(e[t]?.toString()??``);else if(t===`#cdata`){let n=e[t]?.toString()??``;c+=`<![CDATA[`+n.replace(/]]>/g,`]]]]><![CDATA[>`)+`]]>`}else t.charAt(0)!==`@`&&(o=!0,c+=a(e[t],t,r+n));o||c?(i+=r+`<`+t+s+`>
|
|
67
|
+
`,i+=c,i+=r+`</`+t+`>
|
|
68
|
+
`):i+=r+`<`+t+s+`/>
|
|
69
|
+
`}else i+=r+`<`+t+`>`+Lw(e?.toString()||``)+`</`+t+`>
|
|
70
|
+
`;return i},o=``;for(let t in i&&(o+=`<?xml version="1.0" encoding="UTF-8"?>`,r&&(o+=`
|
|
71
|
+
`)),e)Object.hasOwn(e,t)&&(o+=a(e[t],t,``));return r?o.trim():o.replace(/\n/g,``).replace(/>\s+</g,`><`).trim()}var zw=[`post`,`put`,`patch`,`delete`],Bw=e=>zw.includes(e.toLowerCase()),Vw={get:{short:`GET`,colorClass:`text-blue`,colorVar:`var(--scalar-color-blue)`,backgroundColor:`bg-blue/10`},post:{short:`POST`,colorClass:`text-green`,colorVar:`var(--scalar-color-green)`,backgroundColor:`bg-green/10`},put:{short:`PUT`,colorClass:`text-orange`,colorVar:`var(--scalar-color-orange)`,backgroundColor:`bg-orange/10`},patch:{short:`PATCH`,colorClass:`text-yellow`,colorVar:`var(--scalar-color-yellow)`,backgroundColor:`bg-yellow/10`},delete:{short:`DEL`,colorClass:`text-red`,colorVar:`var(--scalar-color-red)`,backgroundColor:`bg-red/10`},options:{short:`OPTS`,colorClass:`text-purple`,colorVar:`var(--scalar-color-purple)`,backgroundColor:`bg-purple/10`},head:{short:`HEAD`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`},trace:{short:`TRACE`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`}},Hw=e=>{let t=e.trim().toLowerCase();return Vw[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}},Uw={100:{name:`Continue`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100`,color:`var(--scalar-color-blue)`},101:{name:`Switching Protocols`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101`,color:`var(--scalar-color-blue)`},102:{name:`Processing`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102`,color:`var(--scalar-color-blue)`},103:{name:`Early Hints`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103`,color:`var(--scalar-color-blue)`},200:{name:`OK`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200`,color:`var(--scalar-color-green)`},201:{name:`Created`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201`,color:`var(--scalar-color-green)`},202:{name:`Accepted`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202`,color:`var(--scalar-color-green)`},203:{name:`Non-Authoritative Information`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203`,color:`var(--scalar-color-green)`},204:{name:`No Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204`,color:`var(--scalar-color-green)`},205:{name:`Reset Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205`,color:`var(--scalar-color-green)`},206:{name:`Partial Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206`,color:`var(--scalar-color-green)`},207:{name:`Multi-Status`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207`,color:`var(--scalar-color-green)`},208:{name:`Already Reported`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208`,color:`var(--scalar-color-green)`},226:{name:`IM Used`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226`,color:`var(--scalar-color-green)`},300:{name:`Multiple Choices`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300`,color:`var(--scalar-color-yellow)`},301:{name:`Moved Permanently`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301`,color:`var(--scalar-color-yellow)`},302:{name:`Found`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302`,color:`var(--scalar-color-yellow)`},303:{name:`See Other`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303`,color:`var(--scalar-color-yellow)`},304:{name:`Not Modified`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304`,color:`var(--scalar-color-yellow)`},305:{name:`Use Proxy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305`,color:`var(--scalar-color-yellow)`},306:{name:`(Unused)`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306`,color:`var(--scalar-color-yellow)`},307:{name:`Temporary Redirect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307`,color:`var(--scalar-color-yellow)`},308:{name:`Permanent Redirect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308`,color:`var(--scalar-color-yellow)`},400:{name:`Bad Request`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400`,color:`var(--scalar-color-red)`},401:{name:`Unauthorized`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401`,color:`var(--scalar-color-red)`},402:{name:`Payment Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402`,color:`var(--scalar-color-red)`},403:{name:`Forbidden`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403`,color:`var(--scalar-color-red)`},404:{name:`Not Found`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404`,color:`var(--scalar-color-red)`},405:{name:`Method Not Allowed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405`,color:`var(--scalar-color-red)`},406:{name:`Not Acceptable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406`,color:`var(--scalar-color-red)`},407:{name:`Proxy Authentication Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407`,color:`var(--scalar-color-red)`},408:{name:`Request Timeout`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408`,color:`var(--scalar-color-red)`},409:{name:`Conflict`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409`,color:`var(--scalar-color-red)`},410:{name:`Gone`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410`,color:`var(--scalar-color-red)`},411:{name:`Length Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411`,color:`var(--scalar-color-red)`},412:{name:`Precondition Failed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412`,color:`var(--scalar-color-red)`},413:{name:`Content Too Large`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413`,color:`var(--scalar-color-red)`},414:{name:`URI Too Long`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414`,color:`var(--scalar-color-red)`},415:{name:`Unsupported Media Type`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415`,color:`var(--scalar-color-red)`},416:{name:`Range Not Satisfiable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416`,color:`var(--scalar-color-red)`},417:{name:`Expectation Failed`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417`,color:`var(--scalar-color-red)`},418:{name:`I'm a teapot`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418`,color:`var(--scalar-color-red)`},421:{name:`Misdirected Request`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421`,color:`var(--scalar-color-red)`},422:{name:`Unprocessable Content`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422`,color:`var(--scalar-color-red)`},423:{name:`Locked`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423`,color:`var(--scalar-color-red)`},424:{name:`Failed Dependency`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424`,color:`var(--scalar-color-red)`},425:{name:`Too Early`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425`,color:`var(--scalar-color-red)`},426:{name:`Upgrade Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426`,color:`var(--scalar-color-red)`},428:{name:`Precondition Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428`,color:`var(--scalar-color-red)`},429:{name:`Too Many Requests`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429`,color:`var(--scalar-color-red)`},431:{name:`Request Header Fields Too Large`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431`,color:`var(--scalar-color-red)`},451:{name:`Unavailable For Legal Reasons`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451`,color:`var(--scalar-color-red)`},500:{name:`Internal Server Error`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500`,color:`var(--scalar-color-red)`},501:{name:`Not Implemented`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501`,color:`var(--scalar-color-red)`},502:{name:`Bad Gateway`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502`,color:`var(--scalar-color-red)`},503:{name:`Service Unavailable`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503`,color:`var(--scalar-color-red)`},504:{name:`Gateway Timeout`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504`,color:`var(--scalar-color-red)`},505:{name:`HTTP Version Not Supported`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505`,color:`var(--scalar-color-red)`},506:{name:`Variant Also Negotiates`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506`,color:`var(--scalar-color-red)`},507:{name:`Insufficient Storage`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507`,color:`var(--scalar-color-red)`},508:{name:`Loop Detected`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508`,color:`var(--scalar-color-red)`},510:{name:`Not Extended`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510`,color:`var(--scalar-color-red)`},511:{name:`Network Authentication Required`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511`,color:`var(--scalar-color-red)`}},Ww=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],Gw=Object.freeze(new Set(Ww)),Kw=e=>e&&typeof e==`string`?Gw.has(e.toLowerCase()):!1,qw=e=>Object.keys(e),Jw={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:RegExp(`(?<!:)\\/{2,}`,`g`),VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g},Yw=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&Jw.PATH,n&&Jw.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[]);function Xw(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var Zw=(e,t={})=>e.replace(Jw.VARIABLES,(e,n)=>t[n]??e),Qw=e=>{let t=0,n=0,r=0;if(!e?.length)return n;for(r=0;r<e.length;r++)t=e.charCodeAt(r),n=(n<<5)-n+t,n|=0;return n},$w=(e,t,n=` #`)=>{if(!t(e))return e;let r=e.split(n);return $w(r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`,t,n)};function eT(e){return Jw.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var tT=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],nT=[`test`,`example`,`invalid`,`localhost`];function rT(e){try{let{hostname:t}=new URL(e);if(tT.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&nT.includes(n))}catch{return!0}}var iT=e=>!(Jw.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e)),aT=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n);t[n]=r.length>1?r:r[0]??``})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},oT=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(Jw.MULTIPLE_SLASHES,`/`):t.trim(),sT=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!iT(e)||typeof window<`u`)){let[i=``,a]=(r?e:iT(e)?oT(window.location.origin,e):eT(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:oT(i,s),d=aT(o,l,n).toString();return d?`${u}?${d}`:u}return t?oT(e,t):``},cT=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>`u`&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;return n&&(r=oT(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}},lT=async(e,t,n)=>{let r=e;for(let e of n){let n=e.hooks?.[t];n&&(r=await n(r)??r)}return r},uT=(e,t)=>{try{if(!dT(e,t))return t??``;let n=new URL(t);return n.href=iT(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),iT(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},dT=(e,t)=>{try{return!e||!t||iT(t)?!1:iT(e)||rT(e)?!0:!rT(t)}catch{return!1}},fT=Symbol.for(`yaml.alias`),pT=Symbol.for(`yaml.document`),mT=Symbol.for(`yaml.map`),hT=Symbol.for(`yaml.pair`),gT=Symbol.for(`yaml.scalar`),_T=Symbol.for(`yaml.seq`),vT=Symbol.for(`yaml.node.type`),yT=e=>!!e&&typeof e==`object`&&e[vT]===fT,bT=e=>!!e&&typeof e==`object`&&e[vT]===pT,xT=e=>!!e&&typeof e==`object`&&e[vT]===mT,ST=e=>!!e&&typeof e==`object`&&e[vT]===hT,CT=e=>!!e&&typeof e==`object`&&e[vT]===gT,wT=e=>!!e&&typeof e==`object`&&e[vT]===_T;function TT(e){if(e&&typeof e==`object`)switch(e[vT]){case mT:case _T:return!0}return!1}function ET(e){if(e&&typeof e==`object`)switch(e[vT]){case fT:case mT:case gT:case _T:return!0}return!1}var DT=e=>(CT(e)||TT(e))&&!!e.anchor,OT=Symbol(`break visit`),kT=Symbol(`skip children`),AT=Symbol(`remove node`);function jT(e,t){let n=FT(t);bT(e)?MT(null,e.contents,n,Object.freeze([e]))===AT&&(e.contents=null):MT(null,e,n,Object.freeze([]))}jT.BREAK=OT,jT.SKIP=kT,jT.REMOVE=AT;function MT(e,t,n,r){let i=IT(e,t,n,r);if(ET(i)||ST(i))return LT(e,r,i),MT(e,i,n,r);if(typeof i!=`symbol`){if(TT(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=MT(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===OT)return OT;else i===AT&&(t.items.splice(e,1),--e)}}else if(ST(t)){r=Object.freeze(r.concat(t));let e=MT(`key`,t.key,n,r);if(e===OT)return OT;e===AT&&(t.key=null);let i=MT(`value`,t.value,n,r);if(i===OT)return OT;i===AT&&(t.value=null)}}return i}async function NT(e,t){let n=FT(t);bT(e)?await PT(null,e.contents,n,Object.freeze([e]))===AT&&(e.contents=null):await PT(null,e,n,Object.freeze([]))}NT.BREAK=OT,NT.SKIP=kT,NT.REMOVE=AT;async function PT(e,t,n,r){let i=await IT(e,t,n,r);if(ET(i)||ST(i))return LT(e,r,i),PT(e,i,n,r);if(typeof i!=`symbol`){if(TT(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await PT(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===OT)return OT;else i===AT&&(t.items.splice(e,1),--e)}}else if(ST(t)){r=Object.freeze(r.concat(t));let e=await PT(`key`,t.key,n,r);if(e===OT)return OT;e===AT&&(t.key=null);let i=await PT(`value`,t.value,n,r);if(i===OT)return OT;i===AT&&(t.value=null)}}return i}function FT(e){return typeof e==`object`&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function IT(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(xT(t))return n.Map?.(e,t,r);if(wT(t))return n.Seq?.(e,t,r);if(ST(t))return n.Pair?.(e,t,r);if(CT(t))return n.Scalar?.(e,t,r);if(yT(t))return n.Alias?.(e,t,r)}function LT(e,t,n){let r=t[t.length-1];if(TT(r))r.items[e]=n;else if(ST(r))e===`key`?r.key=n:r.value=n;else if(bT(r))r.contents=n;else{let e=yT(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var RT={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},zT=e=>e.replace(/[!,[\]{}]/g,e=>RT[e]),BT=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+zT(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&ET(e.contents)){let t={};jT(e.contents,(e,n)=>{ET(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||(!e||r.some(e=>e.startsWith(a)))&&t.push(`%TAG ${i} ${a}`);return t.join(`
|
|
72
|
+
`)}};BT.defaultYaml={explicit:!1,version:`1.2`},BT.defaultTags={"!!":`tag:yaml.org,2002:`};function VT(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function HT(e){let t=new Set;return jT(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function UT(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function WT(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??=HT(e);let a=UT(t,i);return i.add(a),a},setAnchors:()=>{for(let e of n){let t=r.get(e);if(typeof t==`object`&&t.anchor&&(CT(t.node)||TT(t.node)))t.node.anchor=t.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:r}}function GT(e,t,n,r){if(r&&typeof r==`object`)if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=GT(e,r,String(t),n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=GT(e,r,t,n);i===void 0?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=GT(e,r,t,t);n===void 0?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=GT(e,r,t,n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}return e.call(t,n,r)}function KT(e,t,n){if(Array.isArray(e))return e.map((e,t)=>KT(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!DT(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var qT=class{constructor(e){Object.defineProperty(this,vT,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!bT(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=KT(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?GT(i,{"":o},``,o):o}},JT=class extends qT{constructor(e){super(fT),this.source=e,Object.defineProperty(this,`tag`,{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],jT(e,{Node:(e,t)=>{(yT(t)||DT(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,a=this.resolve(r,t);if(!a){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let o=n.get(a);if(o||=(KT(a,null,t),n.get(a)),o?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=YT(r,a,n)),o.count*o.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(VT(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}};function YT(e,t,n){if(yT(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(TT(t)){let r=0;for(let i of t.items){let t=YT(e,i,n);t>r&&(r=t)}return r}else if(ST(t)){let r=YT(e,t.key,n),i=YT(e,t.value,n);return Math.max(r,i)}return 1}var XT=e=>!e||typeof e!=`function`&&typeof e!=`object`,ZT=class extends qT{constructor(e){super(gT),this.value=e}toJSON(e,t){return t?.keep?this.value:KT(this.value,e,t)}toString(){return String(this.value)}};ZT.BLOCK_FOLDED=`BLOCK_FOLDED`,ZT.BLOCK_LITERAL=`BLOCK_LITERAL`,ZT.PLAIN=`PLAIN`,ZT.QUOTE_DOUBLE=`QUOTE_DOUBLE`,ZT.QUOTE_SINGLE=`QUOTE_SINGLE`;var QT=`tag:yaml.org,2002:`;function $T(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function eE(e,t,n){if(bT(e)&&(e=e.contents),ET(e))return e;if(ST(e)){let t=n.schema[mT].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:o,sourceObjects:s}=n,c;if(r&&e&&typeof e==`object`){if(c=s.get(e),c)return c.anchor??=i(e),new JT(c.anchor);c={anchor:null,node:null},s.set(e,c)}t?.startsWith(`!!`)&&(t=QT+t.slice(2));let l=$T(e,t,o.tags);if(!l){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new ZT(e);return c&&(c.node=t),t}l=e instanceof Map?o[mT]:Symbol.iterator in Object(e)?o[_T]:o[mT]}a&&(a(l),delete n.onTagObj);let u=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from==`function`?l.nodeClass.from(n.schema,e,n):new ZT(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function tE(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return eE(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var nE=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,rE=class extends qT{constructor(e,t){super(e),Object.defineProperty(this,`schema`,{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>ET(t)||ST(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(nE(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(TT(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,tE(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(TT(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&CT(i)?i.value:i:TT(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!ST(t))return!1;let n=t.value;return n==null||e&&CT(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return TT(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(TT(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,tE(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}},iE=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function aE(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var oE=(e,t,n)=>e.endsWith(`
|
|
73
|
+
`)?aE(n,t):n.includes(`
|
|
74
|
+
`)?`
|
|
75
|
+
`+aE(n,t):(e.endsWith(` `)?``:` `)+n,sE=`flow`,cE=`block`,lE=`quoted`;function uE(e,t,n=`flow`,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:o,onOverflow:s}={}){if(!i||i<0)return e;i<a&&(a=0);let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let l=[],u={},d=i-t.length;typeof r==`number`&&(r>i-Math.max(2,a)?l.push(0):d=i-r);let f,p,m=!1,h=-1,g=-1,_=-1;n===`block`&&(h=dE(e,h,t.length),h!==-1&&(d=h+c));for(let r;r=e[h+=1];){if(n===`quoted`&&r===`\\`){switch(g=h,e[h+1]){case`x`:h+=3;break;case`u`:h+=5;break;case`U`:h+=9;break;default:h+=1}_=h}if(r===`
|
|
76
|
+
`)n===`block`&&(h=dE(e,h,t.length)),d=h+t.length+c,f=void 0;else{if(r===` `&&p&&p!==` `&&p!==`
|
|
77
|
+
`&&p!==` `){let t=e[h+1];t&&t!==` `&&t!==`
|
|
78
|
+
`&&t!==` `&&(f=h)}if(h>=d)if(f)l.push(f),d=f+c,f=void 0;else if(n===`quoted`){for(;p===` `||p===` `;)p=r,r=e[h+=1],m=!0;let t=h>_+1?h-2:g-1;if(u[t])return e;l.push(t),u[t]=!0,d=t+c,f=void 0}else m=!0}p=r}if(m&&s&&s(),l.length===0)return e;o&&o();let v=e.slice(0,l[0]);for(let r=0;r<l.length;++r){let i=l[r],a=l[r+1]||e.length;i===0?v=`\n${t}${e.slice(0,a)}`:(n===`quoted`&&u[i]&&(v+=`${e[i]}\\`),v+=`\n${t}${e.slice(i+1,a)}`)}return v}function dE(e,t,n){let r=t,i=t+1,a=e[i];for(;a===` `||a===` `;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
|
|
79
|
+
`);r=t,i=t+1,a=e[i]}return r}var fE=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),pE=e=>/^(%|---|\.\.\.)/m.test(e);function mE(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if(e[t]===`
|
|
80
|
+
`){if(t-n>r)return!0;if(n=t+1,i-n<=r)return!1}return!0}function hE(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(pE(e)?` `:``),o=``,s=0;for(let e=0,t=n[e];t;t=n[++e])if(t===` `&&n[e+1]===`\\`&&n[e+2]===`n`&&(o+=n.slice(s,e)+`\\ `,e+=1,s=e,t=`\\`),t===`\\`)switch(n[e+1]){case`u`:{o+=n.slice(s,e);let t=n.substr(e+2,4);switch(t){case`0000`:o+=`\\0`;break;case`0007`:o+=`\\a`;break;case`000b`:o+=`\\v`;break;case`001b`:o+=`\\e`;break;case`0085`:o+=`\\N`;break;case`00a0`:o+=`\\_`;break;case`2028`:o+=`\\L`;break;case`2029`:o+=`\\P`;break;default:t.substr(0,2)===`00`?o+=`\\x`+t.substr(2):o+=n.substr(e,6)}e+=5,s=e+1}break;case`n`:if(r||n[e+2]===`"`||n.length<i)e+=1;else{for(o+=n.slice(s,e)+`
|
|
81
|
+
|
|
82
|
+
`;n[e+2]===`\\`&&n[e+3]===`n`&&n[e+4]!==`"`;)o+=`
|
|
83
|
+
`,e+=2;o+=a,n[e+2]===` `&&(o+=`\\`),e+=1,s=e+1}break;default:e+=1}return o=s?o+n.slice(s):n,r?o:uE(o,a,lE,fE(t,!1))}function gE(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
84
|
+
`)||/[ \t]\n|\n[ \t]/.test(e))return hE(e,t);let n=t.indent||(pE(e)?` `:``),r=`'`+e.replace(/'/g,`''`).replace(/\n+/g,`$&\n${n}`)+`'`;return t.implicitKey?r:uE(r,n,sE,fE(t,!1))}function _E(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=hE;else{let t=e.includes(`"`),i=e.includes(`'`);r=t&&!i?gE:i&&!t?hE:n?gE:hE}return r(e,t)}var vE;try{vE=RegExp(`(^|(?<!
|
|
85
|
+
))
|
|
86
|
+
+(?!
|
|
87
|
+
|$)`,`g`)}catch{vE=/\n+(?!\n|$)/g}function yE({comment:e,type:t,value:n},r,i,a){let{blockQuote:o,commentString:s,lineWidth:c}=r.options;if(!o||/\n[\t ]+$/.test(n))return _E(n,r);let l=r.indent||(r.forceBlockIndent||pE(n)?` `:``),u=o===`literal`?!0:o===`folded`||t===ZT.BLOCK_FOLDED?!1:t===ZT.BLOCK_LITERAL?!0:!mE(n,c,l.length);if(!n)return u?`|
|
|
88
|
+
`:`>
|
|
89
|
+
`;let d,f;for(f=n.length;f>0;--f){let e=n[f-1];if(e!==`
|
|
90
|
+
`&&e!==` `&&e!==` `)break}let p=n.substring(f),m=p.indexOf(`
|
|
91
|
+
`);m===-1?d=`-`:n===p||m!==p.length-1?(d=`+`,a&&a()):d=``,p&&=(n=n.slice(0,-p.length),p[p.length-1]===`
|
|
92
|
+
`&&(p=p.slice(0,-1)),p.replace(vE,`$&${l}`));let h=!1,g,_=-1;for(g=0;g<n.length;++g){let e=n[g];if(e===` `)h=!0;else if(e===`
|
|
93
|
+
`)_=g;else break}let v=n.substring(0,_<g?_+1:g);v&&=(n=n.substring(v.length),v.replace(/\n+/g,`$&${l}`));let y=(h?l?`2`:`1`:``)+d;if(e&&(y+=` `+s(e.replace(/ ?[\r\n]+/g,` `)),i&&i()),!u){let e=n.replace(/\n+/g,`
|
|
94
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\n+/g,`$&${l}`),i=!1,a=fE(r,!0);o!==`folded`&&t!==ZT.BLOCK_FOLDED&&(a.onOverflow=()=>{i=!0});let s=uE(`${v}${e}${p}`,l,cE,a);if(!i)return`>${y}\n${l}${s}`}return n=n.replace(/\n+/g,`$&${l}`),`|${y}\n${l}${v}${n}${p}`}function bE(e,t,n,r){let{type:i,value:a}=e,{actualString:o,implicitKey:s,indent:c,indentStep:l,inFlow:u}=t;if(s&&a.includes(`
|
|
95
|
+
`)||u&&/[[\]{},]/.test(a))return _E(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes(`
|
|
96
|
+
`)?_E(a,t):yE(e,t,n,r);if(!s&&!u&&i!==ZT.PLAIN&&a.includes(`
|
|
97
|
+
`))return yE(e,t,n,r);if(pE(a)){if(c===``)return t.forceBlockIndent=!0,yE(e,t,n,r);if(s&&c===l)return _E(a,t)}let d=a.replace(/\n+/g,`$&\n${c}`);if(o){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return _E(a,t)}return s?d:uE(d,c,sE,fE(t,!1))}function xE(e,t,n,r){let{implicitKey:i,inFlow:a}=t,o=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==ZT.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=ZT.QUOTE_DOUBLE);let c=e=>{switch(e){case ZT.BLOCK_FOLDED:case ZT.BLOCK_LITERAL:return i||a?_E(o.value,t):yE(o,t,n,r);case ZT.QUOTE_DOUBLE:return hE(o.value,t);case ZT.QUOTE_SINGLE:return gE(o.value,t);case ZT.PLAIN:return bE(o,t,n,r);default:return null}},l=c(s);if(l===null){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(l=c(r),l===null)throw Error(`Unsupported default string type ${r}`)}return l}function SE(e,t){let n=Object.assign({blockQuote:!0,commentString:iE,defaultKeyType:null,defaultStringType:`PLAIN`,directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:`false`,flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:`null`,simpleKeys:!1,singleQuote:null,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case`block`:r=!1;break;case`flow`:r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:r,options:n}}function CE(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let n,r;if(CT(t)){r=t.value;let i=e.filter(e=>e.identify?.(r));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}n=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else r=t,n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!n){let e=r?.constructor?.name??(r===null?`null`:typeof r);throw Error(`Tag not resolved for ${e} value`)}return n}function wE(e,t,{anchors:n,doc:r}){if(!r.directives)return``;let i=[],a=(CT(e)||TT(e))&&e.anchor;a&&VT(a)&&(n.add(a),i.push(`&${a}`));let o=e.tag??(t.default?null:t.tag);return o&&i.push(r.directives.tagString(o)),i.join(` `)}function TE(e,t,n,r){if(ST(e))return e.toString(t,n,r);if(yT(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError(`Cannot stringify circular structure without alias nodes`);t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i,a=ET(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??=CE(t.doc.schema.tags,a);let o=wE(a,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let s=typeof i.stringify==`function`?i.stringify(a,t,n,r):CT(a)?xE(a,t,n,r):a.toString(t,n,r);return o?CT(a)||s[0]===`{`||s[0]===`[`?`${o} ${s}`:`${o}\n${t.indent}${s}`:s}function EE({key:e,value:t},n,r,i){let{allNullValues:a,doc:o,indent:s,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:d}}=n,f=ET(e)&&e.comment||null;if(d){if(f)throw Error(`With simple keys, key nodes cannot have comments`);if(TT(e)||!ET(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let p=!d&&(!e||f&&t==null&&!n.inFlow||TT(e)||(CT(e)?e.type===ZT.BLOCK_FOLDED||e.type===ZT.BLOCK_LITERAL:typeof e==`object`));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(d||!a),indent:s+c});let m=!1,h=!1,g=TE(e,n,()=>m=!0,()=>h=!0);if(!p&&!n.inFlow&&g.length>1024){if(d)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);p=!0}if(n.inFlow){if(a||t==null)return m&&r&&r(),g===``?`?`:p?`? ${g}`:g}else if(a&&!d||t==null&&p)return g=`? ${g}`,f&&!m?g+=oE(g,n.indent,l(f)):h&&i&&i(),g;m&&(f=null),p?(f&&(g+=oE(g,n.indent,l(f))),g=`? ${g}\n${s}:`):(g=`${g}:`,f&&(g+=oE(g,n.indent,l(f))));let _,v,y;ET(t)?(_=!!t.spaceBefore,v=t.commentBefore,y=t.comment):(_=!1,v=null,y=null,t&&typeof t==`object`&&(t=o.createNode(t))),n.implicitKey=!1,!p&&!f&&CT(t)&&(n.indentAtStart=g.length+1),h=!1,!u&&c.length>=2&&!n.inFlow&&!p&&wT(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let b=!1,x=TE(t,n,()=>b=!0,()=>h=!0),S=` `;if(f||_||v){if(S=_?`
|
|
98
|
+
`:``,v){let e=l(v);S+=`\n${aE(e,n.indent)}`}x===``&&!n.inFlow?S===`
|
|
99
|
+
`&&y&&(S=`
|
|
100
|
+
|
|
101
|
+
`):S+=`\n${n.indent}`}else if(!p&&TT(t)){let e=x[0],r=x.indexOf(`
|
|
102
|
+
`),i=r!==-1,a=n.inFlow??t.flow??t.items.length===0;if(i||!a){let t=!1;if(i&&(e===`&`||e===`!`)){let n=x.indexOf(` `);e===`&`&&n!==-1&&n<r&&x[n+1]===`!`&&(n=x.indexOf(` `,n+1)),(n===-1||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else (x===``||x[0]===`
|
|
103
|
+
`)&&(S=``);return g+=S+x,n.inFlow?b&&r&&r():y&&!b?g+=oE(g,n.indent,l(y)):h&&i&&i(),g}function DE(e,t){(e===`debug`||e===`warn`)&&console.warn(t)}var OE=`<<`,kE={identify:e=>e===OE||typeof e==`symbol`&&e.description===OE,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new ZT(Symbol(OE)),{addToJSMap:jE}),stringify:()=>OE},AE=(e,t)=>(kE.identify(t)||CT(t)&&(!t.type||t.type===ZT.PLAIN)&&kE.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===kE.tag&&e.default);function jE(e,t,n){if(n=e&&yT(n)?n.resolve(e.doc):n,wT(n))for(let r of n.items)ME(e,t,r);else if(Array.isArray(n))for(let r of n)ME(e,t,r);else ME(e,t,n)}function ME(e,t,n){let r=e&&yT(n)?n.resolve(e.doc):n;if(!xT(r))throw Error(`Merge sources must be maps or map aliases`);let i=r.toJSON(null,e,Map);for(let[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function NE(e,t,{key:n,value:r}){if(ET(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(AE(e,n))jE(e,t,r);else{let i=KT(n,``,e);if(t instanceof Map)t.set(i,KT(r,i,e));else if(t instanceof Set)t.add(i);else{let a=PE(n,i,e),o=KT(r,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}}return t}function PE(e,t,n){if(t===null)return``;if(typeof t!=`object`)return String(t);if(ET(e)&&n?.doc){let t=SE(n.doc,{});t.anchors=new Set;for(let e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+`..."`),DE(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function FE(e,t,n){return new IE(eE(e,void 0,n),eE(t,void 0,n))}var IE=class e{constructor(e,t=null){Object.defineProperty(this,vT,{value:hT}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return ET(n)&&(n=n.clone(t)),ET(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){return NE(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?EE(this,e,t,n):JSON.stringify(this)}};function LE(e,t,n){return(t.inFlow??e.flow?zE:RE)(e,t,n)}function RE({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:a,onChompKeep:o,onComment:s}){let{indent:c,options:{commentString:l}}=n,u=Object.assign({},n,{indent:a,type:null}),d=!1,f=[];for(let e=0;e<t.length;++e){let i=t[e],o=null;if(ET(i))!d&&i.spaceBefore&&f.push(``),BE(n,f,i.commentBefore,d),i.comment&&(o=i.comment);else if(ST(i)){let e=ET(i.key)?i.key:null;e&&(!d&&e.spaceBefore&&f.push(``),BE(n,f,e.commentBefore,d))}d=!1;let s=TE(i,u,()=>o=null,()=>d=!0);o&&(s+=oE(s,a,l(o))),d&&o&&(d=!1),f.push(r+s)}let p;if(f.length===0)p=i.start+i.end;else{p=f[0];for(let e=1;e<f.length;++e){let t=f[e];p+=t?`\n${c}${t}`:`
|
|
104
|
+
`}}return e?(p+=`
|
|
105
|
+
`+aE(l(e),c),s&&s()):d&&o&&o(),p}function zE({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:a,flowCollectionPadding:o,options:{commentString:s}}=t;r+=a;let c=Object.assign({},t,{indent:r,inFlow:!0,type:null}),l=!1,u=0,d=[];for(let n=0;n<e.length;++n){let i=e[n],a=null;if(ET(i))i.spaceBefore&&d.push(``),BE(t,d,i.commentBefore,!1),i.comment&&(a=i.comment);else if(ST(i)){let e=ET(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(``),BE(t,d,e.commentBefore,!1),e.comment&&(l=!0));let n=ET(i.value)?i.value:null;n?(n.comment&&(a=n.comment),n.commentBefore&&(l=!0)):i.value==null&&e?.comment&&(a=e.comment)}a&&(l=!0);let o=TE(i,c,()=>a=null);n<e.length-1&&(o+=`,`),a&&(o+=oE(o,r,s(a))),!l&&(d.length>u||o.includes(`
|
|
106
|
+
`))&&(l=!0),d.push(o),u=d.length}let{start:f,end:p}=n;if(d.length===0)return f+p;if(!l){let e=d.reduce((e,t)=>e+t.length+2,2);l=t.options.lineWidth>0&&e>t.options.lineWidth}if(l){let e=f;for(let t of d)e+=t?`\n${a}${i}${t}`:`
|
|
107
|
+
`;return`${e}\n${i}${p}`}else return`${f}${o}${d.join(` `)}${o}${p}`}function BE({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,``)),r){let i=aE(t(r),e);n.push(i.trimStart())}}function VE(e,t){let n=CT(t)?t.value:t;for(let r of e)if(ST(r)&&(r.key===t||r.key===n||CT(r.key)&&r.key.value===n))return r}var HE=class extends rE{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(mT,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),o=(e,o)=>{if(typeof i==`function`)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(o!==void 0||r)&&a.items.push(FE(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))o(e,t[e]);return typeof e.sortMapEntries==`function`&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=ST(e)?e:!e||typeof e!=`object`||!(`key`in e)?new IE(e,e?.value):new IE(e.key,e.value);let r=VE(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);CT(r.value)&&XT(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>i(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=VE(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=VE(this.items,e)?.value;return(!t&&CT(n)?n.value:n)??void 0}has(e){return!!VE(this.items,e)}set(e,t){this.add(new IE(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(let e of this.items)NE(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!ST(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),LE(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:n,onComment:t})}},UE={collection:`map`,default:!0,nodeClass:HE,tag:`tag:yaml.org,2002:map`,resolve(e,t){return xT(e)||t(`Expected a mapping for this tag`),e},createNode:(e,t,n)=>HE.from(e,t,n)},WE=class extends rE{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(_T,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=GE(e);return typeof t==`number`?this.items.splice(t,1).length>0:!1}get(e,t){let n=GE(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&CT(r)?r.value:r}has(e){let t=GE(e);return typeof t==`number`&&t<this.items.length}set(e,t){let n=GE(e);if(typeof n!=`number`)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];CT(r)&&XT(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(KT(e,String(r++),t));return n}toString(e,t,n){return e?LE(this,e,{blockItemPrefix:`- `,flowChars:{start:`[`,end:`]`},itemIndent:(e.indent||``)+` `,onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){if(typeof r==`function`){let n=t instanceof Set?a:String(e++);a=r.call(t,n,a)}i.items.push(eE(a,void 0,n))}}return i}};function GE(e){let t=CT(e)?e.value:e;return t&&typeof t==`string`&&(t=Number(t)),typeof t==`number`&&Number.isInteger(t)&&t>=0?t:null}var KE={collection:`seq`,default:!0,nodeClass:WE,tag:`tag:yaml.org,2002:seq`,resolve(e,t){return wT(e)||t(`Expected a sequence for this tag`),e},createNode:(e,t,n)=>WE.from(e,t,n)},qE={identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),xE(e,t,n,r)}},JE={identify:e=>e==null,createNode:()=>new ZT(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ZT(null),stringify:({source:e},t)=>typeof e==`string`&&JE.test.test(e)?e:t.options.nullStr},YE={identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new ZT(e[0]===`t`||e[0]===`T`),stringify({source:e,value:t},n){return e&&YE.test.test(e)&&t===(e[0]===`t`||e[0]===`T`)?e:t?n.options.trueStr:n.options.falseStr}};function XE({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==`bigint`)return String(r);let i=typeof r==`number`?r:Number(r);if(!isFinite(i))return isNaN(i)?`.nan`:i<0?`-.inf`:`.inf`;let a=Object.is(r,-0)?`-0`:JSON.stringify(r);if(!e&&t&&(!n||n===`tag:yaml.org,2002:float`)&&/^\d/.test(a)){let e=a.indexOf(`.`);e<0&&(e=a.length,a+=`.`);let n=t-(a.length-e-1);for(;n-- >0;)a+=`0`}return a}var ZE={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:XE},QE={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():XE(e)}},$E={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new ZT(parseFloat(e)),n=e.indexOf(`.`);return n!==-1&&e[e.length-1]===`0`&&(t.minFractionDigits=e.length-n-1),t},stringify:XE},eD=e=>typeof e==`bigint`||Number.isInteger(e),tD=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function nD(e,t,n){let{value:r}=e;return eD(r)&&r>=0?n+r.toString(t):XE(e)}var rD={identify:e=>eD(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^0o[0-7]+$/,resolve:(e,t,n)=>tD(e,2,8,n),stringify:e=>nD(e,8,`0o`)},iD={identify:eD,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>tD(e,0,10,n),stringify:XE},aD={identify:e=>eD(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>tD(e,2,16,n),stringify:e=>nD(e,16,`0x`)},oD=[UE,KE,qE,JE,YE,rD,iD,aD,ZE,QE,$E];function sD(e){return typeof e==`bigint`||Number.isInteger(e)}var cD=({value:e})=>JSON.stringify(e),lD=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:cD},{identify:e=>e==null,createNode:()=>new ZT(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:cD},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:cD},{identify:sD,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>sD(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:cD}],uD=[UE,KE].concat(lD,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}}),dD={identify:e=>e instanceof Uint8Array,default:!1,tag:`tag:yaml.org,2002:binary`,resolve(e,t){if(typeof atob==`function`){let t=atob(e.replace(/[\n\r]/g,``)),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}else return t(`This environment does not support reading binary tags; either Buffer or atob is required`),e},stringify({comment:e,type:t,value:n},r,i,a){if(!n)return``;let o=n,s;if(typeof btoa==`function`){let e=``;for(let t=0;t<o.length;++t)e+=String.fromCharCode(o[t]);s=btoa(e)}else throw Error(`This environment does not support writing binary tags; either Buffer or btoa is required`);if(t??=ZT.BLOCK_LITERAL,t!==ZT.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),i=Array(n);for(let t=0,r=0;t<n;++t,r+=e)i[t]=s.substr(r,e);s=i.join(t===ZT.BLOCK_LITERAL?`
|
|
108
|
+
`:` `)}return xE({comment:e,type:t,value:s},r,i,a)}};function fD(e,t){if(wT(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!ST(r)){if(xT(r)){r.items.length>1&&t(`Each pair must have its own sequence indicator`);let e=r.items[0]||new IE(new ZT(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=ST(r)?r:new IE(r)}}else t(`Expected a sequence for this tag`);return e}function pD(e,t,n){let{replacer:r}=n,i=new WE(e);i.tag=`tag:yaml.org,2002:pairs`;let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof r==`function`&&(e=r.call(t,String(a++),e));let o,s;if(Array.isArray(e))if(e.length===2)o=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)o=t[0],s=e[o];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(FE(o,s,n))}return i}var mD={collection:`seq`,default:!1,tag:`tag:yaml.org,2002:pairs`,resolve:fD,createNode:pD},hD=class e extends WE{constructor(){super(),this.add=HE.prototype.add.bind(this),this.delete=HE.prototype.delete.bind(this),this.get=HE.prototype.get.bind(this),this.has=HE.prototype.has.bind(this),this.set=HE.prototype.set.bind(this),this.tag=e.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;t?.onCreate&&t.onCreate(n);for(let e of this.items){let r,i;if(ST(e)?(r=KT(e.key,``,t),i=KT(e.value,r,t)):r=KT(e,``,t),n.has(r))throw Error(`Ordered maps must not include duplicate keys`);n.set(r,i)}return n}static from(e,t,n){let r=pD(e,t,n),i=new this;return i.items=r.items,i}};hD.tag=`tag:yaml.org,2002:omap`;var gD={collection:`seq`,identify:e=>e instanceof Map,nodeClass:hD,default:!1,tag:`tag:yaml.org,2002:omap`,resolve(e,t){let n=fD(e,t),r=[];for(let{key:e}of n.items)CT(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new hD,n)},createNode:(e,t,n)=>hD.from(e,t,n)};function _D({value:e,source:t},n){return t&&(e?vD:yD).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}var vD={identify:e=>e===!0,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ZT(!0),stringify:_D},yD={identify:e=>e===!1,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ZT(!1),stringify:_D},bD={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:XE},xD={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,``)),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():XE(e)}},SD={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new ZT(parseFloat(e.replace(/_/g,``))),n=e.indexOf(`.`);if(n!==-1){let r=e.substring(n+1).replace(/_/g,``);r[r.length-1]===`0`&&(t.minFractionDigits=r.length)}return t},stringify:XE},CD=e=>typeof e==`bigint`||Number.isInteger(e);function wD(e,t,n,{intAsBigInt:r}){let i=e[0];if((i===`-`||i===`+`)&&(t+=1),e=e.substring(t).replace(/_/g,``),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let t=BigInt(e);return i===`-`?BigInt(-1)*t:t}let a=parseInt(e,n);return i===`-`?-1*a:a}function TD(e,t,n){let{value:r}=e;if(CD(r)){let e=r.toString(t);return r<0?`-`+n+e.substr(1):n+e}return XE(e)}var ED={identify:CD,default:!0,tag:`tag:yaml.org,2002:int`,format:`BIN`,test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>wD(e,2,2,n),stringify:e=>TD(e,2,`0b`)},DD={identify:CD,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>wD(e,1,8,n),stringify:e=>TD(e,8,`0`)},OD={identify:CD,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>wD(e,0,10,n),stringify:XE},kD={identify:CD,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>wD(e,2,16,n),stringify:e=>TD(e,16,`0x`)},AD=class e extends HE{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=ST(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new IE(e.key,null):new IE(e,null),VE(this.items,t.key)||this.items.push(t)}get(e,t){let n=VE(this.items,e);return!t&&ST(n)?CT(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=VE(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new IE(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof r==`function`&&(e=r.call(t,e,e)),i.items.push(FE(e,null,n));return i}};AD.tag=`tag:yaml.org,2002:set`;var jD={collection:`map`,identify:e=>e instanceof Set,nodeClass:AD,default:!1,tag:`tag:yaml.org,2002:set`,createNode:(e,t,n)=>AD.from(e,t,n),resolve(e,t){if(xT(e)){if(e.hasAllNullValues(!0))return Object.assign(new AD,e);t(`Set items must all have null values`)}else t(`Expected a mapping for this tag`);return e}};function MD(e,t){let n=e[0],r=n===`-`||n===`+`?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,``).split(`:`).reduce((e,t)=>e*i(60)+i(t),i(0));return n===`-`?i(-1)*a:a}function ND(e){let{value:t}=e,n=e=>e;if(typeof t==`bigint`)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return XE(e);let r=``;t<0&&(r=`-`,t*=n(-1));let i=n(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),r+a.map(e=>String(e).padStart(2,`0`)).join(`:`).replace(/000000\d*$/,``)}var PD={identify:e=>typeof e==`bigint`||Number.isInteger(e),default:!0,tag:`tag:yaml.org,2002:int`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>MD(e,n),stringify:ND},FD={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>MD(e,!1),stringify:ND},ID={identify:e=>e instanceof Date,default:!0,tag:`tag:yaml.org,2002:timestamp`,test:RegExp(`^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$`),resolve(e){let t=e.match(ID.test);if(!t)throw Error(`!!timestamp expects a date, starting with yyyy-mm-dd`);let[,n,r,i,a,o,s]=t.map(Number),c=t[7]?Number((t[7]+`00`).substr(1,3)):0,l=Date.UTC(n,r-1,i,a||0,o||0,s||0,c),u=t[8];if(u&&u!==`Z`){let e=MD(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,``)??``},LD=[UE,KE,qE,JE,vD,yD,ED,DD,OD,kD,bD,xD,SD,dD,kE,gD,mD,jD,PD,FD,ID],RD=new Map([[`core`,oD],[`failsafe`,[UE,KE,qE]],[`json`,uD],[`yaml11`,LD],[`yaml-1.1`,LD]]),zD={binary:dD,bool:YE,float:$E,floatExp:QE,floatNaN:ZE,floatTime:FD,int:iD,intHex:aD,intOct:rD,intTime:PD,map:UE,merge:kE,null:JE,omap:gD,pairs:mD,seq:KE,set:jD,timestamp:ID},BD={"tag:yaml.org,2002:binary":dD,"tag:yaml.org,2002:merge":kE,"tag:yaml.org,2002:omap":gD,"tag:yaml.org,2002:pairs":mD,"tag:yaml.org,2002:set":jD,"tag:yaml.org,2002:timestamp":ID};function VD(e,t,n){let r=RD.get(t);if(r&&!e)return n&&!r.includes(kE)?r.concat(kE):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(RD.keys()).filter(e=>e!==`yaml11`).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else typeof e==`function`&&(i=e(i.slice()));return n&&(i=i.concat(kE)),i.reduce((e,t)=>{let n=typeof t==`string`?zD[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(zD).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}var HD=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,UD=class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(e)?VD(e,`compat`):e?VD(null,e):null,this.name=typeof i==`string`&&i||`core`,this.knownTags=r?BD:{},this.tags=VD(t,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,mT,{value:UE}),Object.defineProperty(this,gT,{value:qE}),Object.defineProperty(this,_T,{value:KE}),this.sortMapEntries=typeof a==`function`?a:a===!0?HD:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};function WD(e,t){let n=[],r=t.directives===!0;if(t.directives!==!1&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push(`---`);let i=SE(e,t),{commentString:a}=i.options;if(e.commentBefore){n.length!==1&&n.unshift(``);let t=a(e.commentBefore);n.unshift(aE(t,``))}let o=!1,s=null;if(e.contents){if(ET(e.contents)){if(e.contents.spaceBefore&&r&&n.push(``),e.contents.commentBefore){let t=a(e.contents.commentBefore);n.push(aE(t,``))}i.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>o=!0,c=TE(e.contents,i,()=>s=null,t);s&&(c+=oE(c,``,a(s))),(c[0]===`|`||c[0]===`>`)&&n[n.length-1]===`---`?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(TE(e.contents,i));if(e.directives?.docEnd)if(e.comment){let t=a(e.comment);t.includes(`
|
|
109
|
+
`)?(n.push(`...`),n.push(aE(t,``))):n.push(`... ${t}`)}else n.push(`...`);else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,``)),t&&((!o||s)&&n[n.length-1]!==``&&n.push(``),n.push(aE(a(t),``)))}return n.join(`
|
|
110
|
+
`)+`
|
|
111
|
+
`}var GD=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,vT,{value:pT});let r=null;typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=i;let{version:a}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new BT({version:a}),this.setSchema(a,n),this.contents=e===void 0?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[vT]:{value:pT}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=ET(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){KD(this.contents)&&this.contents.add(e)}addIn(e,t){KD(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=HT(this);e.anchor=!t||n.has(t)?UT(t||`a`,n):t}return new JT(e.anchor)}createNode(e,t,n){let r;if(typeof t==`function`)e=t.call({"":e},``,e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:a,flow:o,keepUndefined:s,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=WT(this,a||`a`),p={aliasDuplicateObjects:i??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f},m=eE(e,l,p);return o&&TT(m)&&(m.flow=!0),d(),m}createPair(e,t,n={}){return new IE(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return KD(this.contents)?this.contents.delete(e):!1}deleteIn(e){return nE(e)?this.contents==null?!1:(this.contents=null,!0):KD(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return TT(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return nE(e)?!t&&CT(this.contents)?this.contents.value:this.contents:TT(this.contents)?this.contents.getIn(e,t):void 0}has(e){return TT(this.contents)?this.contents.has(e):!1}hasIn(e){return nE(e)?this.contents!==void 0:TT(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=tE(this.schema,[e],t):KD(this.contents)&&this.contents.set(e,t)}setIn(e,t){nE(e)?this.contents=t:this.contents==null?this.contents=tE(this.schema,Array.from(e),t):KD(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new BT({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new BT({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new UD(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},s=KT(this.contents,t??``,o);if(typeof i==`function`)for(let{count:e,res:t}of o.anchors.values())i(t,e);return typeof a==`function`?GT(a,{"":s},``,s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error(`Document with errors cannot be stringified`);if(`indent`in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return WD(this,e)}};function KD(e){if(TT(e))return!0;throw Error(`Expected a YAML collection as document contents`)}var qD=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},JD=class extends qD{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},YD=class extends qD{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}},XD=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`…
|
|
112
|
+
`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}};function ZD(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],C=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:C,start:x??C}}function QD(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(`
|
|
113
|
+
`))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let t of e.items){for(let e of t.start)if(e.type===`newline`)return!0;if(t.sep){for(let e of t.sep)if(e.type===`newline`)return!0}if(QD(t.key)||QD(t.value))return!0}return!1;default:return!0}}function $D(e,t,n){if(t?.type===`flow-collection`){let r=t.end[0];r.indent===e&&(r.source===`]`||r.source===`}`)&&QD(t)&&n(r,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}function eO(e,t,n){let{uniqueKeys:r}=e.options;if(r===!1)return!1;let i=typeof r==`function`?r:(e,t)=>e===t||CT(e)&&CT(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}var tO=`All mapping items must start at the same column`;function nO({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new(a?.nodeClass??HE)(n.schema);n.atRoot&&=!1;let s=r.offset,c=null;for(let a of r.items){let{start:l,key:u,sep:d,value:f}=a,p=ZD(l,{indicator:`explicit-key-ind`,next:u??d?.[0],offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(u&&(u.type===`block-seq`?i(s,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in u&&u.indent!==r.indent&&i(s,`BAD_INDENT`,tO)),!p.anchor&&!p.tag&&!d){c=p.end,p.comment&&(o.comment?o.comment+=`
|
|
114
|
+
`+p.comment:o.comment=p.comment);continue}(p.newlineAfterProp||QD(u))&&i(u??l[l.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else p.found?.indent!==r.indent&&i(s,`BAD_INDENT`,tO);n.atKey=!0;let h=p.end,g=u?e(n,u,p,i):t(n,h,l,null,p,i);n.schema.compat&&$D(r.indent,u,i),n.atKey=!1,eO(n,o.items,g)&&i(h,`DUPLICATE_KEY`,`Map keys must be unique`);let _=ZD(d??[],{indicator:`map-value-ind`,next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||u.type===`block-scalar`});if(s=_.end,_.found){m&&(f?.type===`block-map`&&!_.hasNewline&&i(s,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),n.options.strict&&p.start<_.found.offset-1024&&i(g.range,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit block mapping key`));let c=f?e(n,f,_,i):t(n,s,d,null,_,i);n.schema.compat&&$D(r.indent,f,i),s=c.range[2];let l=new IE(g,c);n.options.keepSourceTokens&&(l.srcToken=a),o.items.push(l)}else{m&&i(g.range,`MISSING_CHAR`,`Implicit map keys need to be followed by map values`),_.comment&&(g.comment?g.comment+=`
|
|
115
|
+
`+_.comment:g.comment=_.comment);let e=new IE(g);n.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return c&&c<s&&i(c,`IMPOSSIBLE`,`Map comment with trailing content`),o.range=[r.offset,s,c??s],o}function rO({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new(a?.nodeClass??WE)(n.schema);n.atRoot&&=!1,n.atKey&&=!1;let s=r.offset,c=null;for(let{start:a,value:l}of r.items){let u=ZD(a,{indicator:`seq-item-ind`,next:l,offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||l)l?.type===`block-seq`?i(u.end,`BAD_INDENT`,`All sequence items must start at the same column`):i(s,`MISSING_CHAR`,`Sequence item without - indicator`);else{c=u.end,u.comment&&(o.comment=u.comment);continue}let d=l?e(n,l,u,i):t(n,u.end,a,null,u,i);n.schema.compat&&$D(r.indent,l,i),s=d.range[2],o.items.push(d)}return o.range=[r.offset,s,c??s],o}function iO(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}var aO=`Block collections are not allowed within flow collections`,oO=e=>e&&(e.type===`block-map`||e.type===`block-seq`);function sO({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=r.start.source===`{`,s=o?`flow map`:`flow sequence`,c=new(a?.nodeClass??(o?HE:WE))(n.schema);c.flow=!0;let l=n.atRoot;l&&(n.atRoot=!1),n.atKey&&=!1;let u=r.offset+r.start.source.length;for(let a=0;a<r.items.length;++a){let l=r.items[a],{start:d,key:f,sep:p,value:m}=l,h=ZD(d,{flow:s,indicator:`explicit-key-ind`,next:f??p?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!h.found){if(!h.anchor&&!h.tag&&!p&&!m){a===0&&h.comma?i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`):a<r.items.length-1&&i(h.start,`UNEXPECTED_TOKEN`,`Unexpected empty item in ${s}`),h.comment&&(c.comment?c.comment+=`
|
|
116
|
+
`+h.comment:c.comment=h.comment),u=h.end;continue}!o&&n.options.strict&&QD(f)&&i(f,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`)}if(a===0)h.comma&&i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`);else if(h.comma||i(h.start,`MISSING_CHAR`,`Missing , between ${s} items`),h.comment){let e=``;loop:for(let t of d)switch(t.type){case`comma`:case`space`:break;case`comment`:e=t.source.substring(1);break loop;default:break loop}if(e){let t=c.items[c.items.length-1];ST(t)&&(t=t.value??t.key),t.comment?t.comment+=`
|
|
117
|
+
`+e:t.comment=e,h.comment=h.comment.substring(e.length+1)}}if(!o&&!p&&!h.found){let r=m?e(n,m,h,i):t(n,h.end,p,null,h,i);c.items.push(r),u=r.range[2],oO(m)&&i(r.range,`BLOCK_IN_FLOW`,aO)}else{n.atKey=!0;let a=h.end,g=f?e(n,f,h,i):t(n,a,d,null,h,i);oO(f)&&i(g.range,`BLOCK_IN_FLOW`,aO),n.atKey=!1;let _=ZD(p??[],{flow:s,indicator:`map-value-ind`,next:m,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(_.found){if(!o&&!h.found&&n.options.strict){if(p)for(let e of p){if(e===_.found)break;if(e.type===`newline`){i(e,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`);break}}h.start<_.found.offset-1024&&i(_.found,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit flow sequence key`)}}else m&&(`source`in m&&m.source?.[0]===`:`?i(m,`MISSING_CHAR`,`Missing space after : in ${s}`):i(_.start,`MISSING_CHAR`,`Missing , or : between ${s} items`));let v=m?e(n,m,_,i):_.found?t(n,_.end,p,null,_,i):null;v?oO(m)&&i(v.range,`BLOCK_IN_FLOW`,aO):_.comment&&(g.comment?g.comment+=`
|
|
118
|
+
`+_.comment:g.comment=_.comment);let y=new IE(g,v);if(n.options.keepSourceTokens&&(y.srcToken=l),o){let e=c;eO(n,e.items,g)&&i(a,`DUPLICATE_KEY`,`Map keys must be unique`),e.items.push(y)}else{let e=new HE(n.schema);e.flow=!0,e.items.push(y);let t=(v??g).range;e.range=[g.range[0],t[1],t[2]],c.items.push(e)}u=v?v.range[2]:_.end}}let d=o?`}`:`]`,[f,...p]=r.end,m=u;if(f?.source===d)m=f.offset+f.source.length;else{let e=s[0].toUpperCase()+s.substring(1),t=l?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;i(u,l?`MISSING_CHAR`:`BAD_INDENT`,t),f&&f.source.length!==1&&p.unshift(f)}if(p.length>0){let e=iO(p,m,n.options.strict,i);e.comment&&(c.comment?c.comment+=`
|
|
119
|
+
`+e.comment:c.comment=e.comment),c.range=[r.offset,m,e.offset]}else c.range=[r.offset,m,m];return c}function cO(e,t,n,r,i,a){let o=n.type===`block-map`?nO(e,t,n,r,a):n.type===`block-seq`?rO(e,t,n,r,a):sO(e,t,n,r,a),s=o.constructor;return i===`!`||i===s.tagName?(o.tag=s.tagName,o):(i&&(o.tag=i),o)}function lO(e,t,n,r,i){let a=r.tag,o=a?t.directives.tagName(a.source,e=>i(a,`TAG_RESOLVE_FAILED`,e)):null;if(n.type===`block-seq`){let{anchor:e,newlineAfterProp:t}=r,n=e&&a?e.offset>a.offset?e:a:e??a;n&&(!t||t.offset<n.offset)&&i(n,`MISSING_CHAR`,`Missing newline after block sequence props`)}let s=n.type===`block-map`?`map`:n.type===`block-seq`?`seq`:n.start.source===`{`?`map`:`seq`;if(!a||!o||o===`!`||o===HE.tagName&&s===`map`||o===WE.tagName&&s===`seq`)return cO(e,t,n,i,o);let c=t.schema.tags.find(e=>e.tag===o&&e.collection===s);if(!c){let r=t.schema.knownTags[o];if(r?.collection===s)t.schema.tags.push(Object.assign({},r,{default:!1})),c=r;else return r?i(a,`BAD_COLLECTION_TYPE`,`${r.tag} used for ${s} collection, but expects ${r.collection??`scalar`}`,!0):i(a,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${o}`,!0),cO(e,t,n,i,o)}let l=cO(e,t,n,i,o,c),u=c.resolve?.(l,e=>i(a,`TAG_RESOLVE_FAILED`,e),t.options)??l,d=ET(u)?u:new ZT(u);return d.range=l.range,d.tag=o,c?.format&&(d.format=c.format),d}function uO(e,t,n){let r=t.offset,i=dO(t,e.options.strict,n);if(!i)return{value:``,type:null,comment:``,range:[r,r,r]};let a=i.mode===`>`?ZT.BLOCK_FOLDED:ZT.BLOCK_LITERAL,o=t.source?fO(t.source):[],s=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(t===``||t===`\r`)s=e;else break}if(s===0){let e=i.chomp===`+`&&o.length>0?`
|
|
120
|
+
`.repeat(Math.max(1,o.length-1)):``,n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:a,comment:i.comment,range:[r,n,n]}}let c=t.indent+i.indent,l=t.offset+i.length,u=0;for(let t=0;t<s;++t){let[r,a]=o[t];if(a===``||a===`\r`)i.indent===0&&r.length>c&&(c=r.length);else{r.length<c&&n(l+r.length,`MISSING_CHAR`,`Block scalars with more-indented leading empty lines must use an explicit indentation indicator`),i.indent===0&&(c=r.length),u=t,c===0&&!e.atRoot&&n(l,`BAD_INDENT`,`Block scalar values in collections must be indented`);break}l+=r.length+a.length+1}for(let e=o.length-1;e>=s;--e)o[e][0].length>c&&(s=e+1);let d=``,f=``,p=!1;for(let e=0;e<u;++e)d+=o[e][0].slice(c)+`
|
|
121
|
+
`;for(let e=u;e<s;++e){let[t,r]=o[e];l+=t.length+r.length+1;let s=r[r.length-1]===`\r`;if(s&&(r=r.slice(0,-1)),r&&t.length<c){let e=`Block scalar lines must not be less indented than their ${i.indent?`explicit indentation indicator`:`first line`}`;n(l-r.length-(s?2:1),`BAD_INDENT`,e),t=``}a===ZT.BLOCK_LITERAL?(d+=f+t.slice(c)+r,f=`
|
|
122
|
+
`):t.length>c||r[0]===` `?(f===` `?f=`
|
|
123
|
+
`:!p&&f===`
|
|
124
|
+
`&&(f=`
|
|
125
|
+
|
|
126
|
+
`),d+=f+t.slice(c)+r,f=`
|
|
127
|
+
`,p=!0):r===``?f===`
|
|
128
|
+
`?d+=`
|
|
129
|
+
`:f=`
|
|
130
|
+
`:(d+=f+r,f=` `,p=!1)}switch(i.chomp){case`-`:break;case`+`:for(let e=s;e<o.length;++e)d+=`
|
|
131
|
+
`+o[e][0].slice(c);d[d.length-1]!==`
|
|
132
|
+
`&&(d+=`
|
|
133
|
+
`);break;default:d+=`
|
|
134
|
+
`}let m=r+i.length+t.source.length;return{value:d,type:a,comment:i.comment,range:[r,m,m]}}function dO({offset:e,props:t},n,r){if(t[0].type!==`block-scalar-header`)return r(t[0],`IMPOSSIBLE`,`Block scalar header not found`),null;let{source:i}=t[0],a=i[0],o=0,s=``,c=-1;for(let t=1;t<i.length;++t){let n=i[t];if(!s&&(n===`-`||n===`+`))s=n;else{let r=Number(n);!o&&r?o=r:c===-1&&(c=e+t)}}c!==-1&&r(c,`UNEXPECTED_TOKEN`,`Block scalar header includes extra characters: ${i}`);let l=!1,u=``,d=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case`space`:l=!0;case`newline`:d+=i.source.length;break;case`comment`:n&&!l&&r(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`),d+=i.source.length,u=i.source.substring(1);break;case`error`:r(i,`UNEXPECTED_TOKEN`,i.message),d+=i.source.length;break;default:{r(i,`UNEXPECTED_TOKEN`,`Unexpected token in block scalar header: ${i.type}`);let e=i.source;e&&typeof e==`string`&&(d+=e.length)}}}return{mode:a,indent:o,chomp:s,comment:u,length:d}}function fO(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:[``,n]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}function pO(e,t,n){let{offset:r,type:i,source:a,end:o}=e,s,c,l=(e,t,i)=>n(r+e,t,i);switch(i){case`scalar`:s=ZT.PLAIN,c=mO(a,l);break;case`single-quoted-scalar`:s=ZT.QUOTE_SINGLE,c=hO(a,l);break;case`double-quoted-scalar`:s=ZT.QUOTE_DOUBLE,c=_O(a,l);break;default:return n(e,`UNEXPECTED_TOKEN`,`Expected a flow scalar value, but found: ${i}`),{value:``,type:null,comment:``,range:[r,r+a.length,r+a.length]}}let u=r+a.length,d=iO(o,u,t,n);return{value:c,type:s,comment:d.comment,range:[r,u,d.offset]}}function mO(e,t){let n=``;switch(e[0]){case` `:n=`a tab character`;break;case`,`:n=`flow indicator character ,`;break;case`%`:n=`directive indicator character %`;break;case`|`:case`>`:n=`block scalar indicator ${e[0]}`;break;case`@`:case"`":n=`reserved character ${e[0]}`;break}return n&&t(0,`BAD_SCALAR_START`,`Plain value cannot start with ${n}`),gO(e)}function hO(e,t){return(e[e.length-1]!==`'`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing 'quote`),gO(e.slice(1,-1)).replace(/''/g,`'`)}function gO(e){let t,n;try{t=RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
135
|
+
`,`sy`),n=RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
136
|
+
`,`sy`)}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],a=` `,o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)r[1]===``?a===`
|
|
137
|
+
`?i+=a:a=`
|
|
138
|
+
`:(i+=a+r[1],a=` `),o=n.lastIndex;let s=/[ \t]*(.*)/sy;return s.lastIndex=o,r=s.exec(e),i+a+(r?.[1]??``)}function _O(e,t){let n=``;for(let r=1;r<e.length-1;++r){let i=e[r];if(!(i===`\r`&&e[r+1]===`
|
|
139
|
+
`))if(i===`
|
|
140
|
+
`){let{fold:t,offset:i}=vO(e,r);n+=t,r=i}else if(i===`\\`){let i=e[++r],a=yO[i];if(a)n+=a;else if(i===`
|
|
141
|
+
`)for(i=e[r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`\r`&&e[r+1]===`
|
|
142
|
+
`)for(i=e[++r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`x`||i===`u`||i===`U`){let a={x:2,u:4,U:8}[i];n+=bO(e,r+1,a,t),r+=a}else{let i=e.substr(r-1,2);t(r-1,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),n+=i}}else if(i===` `||i===` `){let t=r,a=e[r+1];for(;a===` `||a===` `;)a=e[++r+1];a!==`
|
|
143
|
+
`&&!(a===`\r`&&e[r+2]===`
|
|
144
|
+
`)&&(n+=r>t?e.slice(t,r+1):i)}else n+=i}return(e[e.length-1]!==`"`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing "quote`),n}function vO(e,t){let n=``,r=e[t+1];for(;(r===` `||r===` `||r===`
|
|
145
|
+
`||r===`\r`)&&!(r===`\r`&&e[t+2]!==`
|
|
146
|
+
`);)r===`
|
|
147
|
+
`&&(n+=`
|
|
148
|
+
`),t+=1,r=e[t+1];return n||=` `,{fold:n,offset:t}}var yO={0:`\0`,a:`\x07`,b:`\b`,e:`\x1B`,f:`\f`,n:`
|
|
149
|
+
`,r:`\r`,t:` `,v:`\v`,N:`
`,_:`\xA0`,L:`\u2028`,P:`\u2029`," ":` `,'"':`"`,"/":`/`,"\\":`\\`," ":` `};function bO(e,t,n,r){let i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){let i=e.substr(t-2,n+2);return r(t-2,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),i}return String.fromCodePoint(a)}function xO(e,t,n,r){let{value:i,type:a,comment:o,range:s}=t.type===`block-scalar`?uO(e,t,r):pO(t,e.options.strict,r),c=n?e.directives.tagName(n.source,e=>r(n,`TAG_RESOLVE_FAILED`,e)):null,l;l=e.options.stringKeys&&e.atKey?e.schema[gT]:c?SO(e.schema,i,c,n,r):t.type===`scalar`?CO(e,i,t,r):e.schema[gT];let u;try{let a=l.resolve(i,e=>r(n??t,`TAG_RESOLVE_FAILED`,e),e.options);u=CT(a)?a:new ZT(a)}catch(e){let a=e instanceof Error?e.message:String(e);r(n??t,`TAG_RESOLVE_FAILED`,a),u=new ZT(i)}return u.range=s,u.source=i,a&&(u.type=a),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function SO(e,t,n,r,i){if(n===`!`)return e[gT];let a=[];for(let t of e.tags)if(!t.collection&&t.tag===n)if(t.default&&t.test)a.push(t);else return t;for(let e of a)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${n}`,n!==`tag:yaml.org,2002:str`),e[gT])}function CO({atKey:e,directives:t,schema:n},r,i,a){let o=n.tags.find(t=>(t.default===!0||e&&t.default===`key`)&&t.test?.test(r))||n[gT];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[gT];o.tag!==e.tag&&a(i,`TAG_RESOLVE_FAILED`,`Value may be parsed as either ${t.tagString(o.tag)} or ${t.tagString(e.tag)}`,!0)}return o}function wO(e,t,n){if(t){n??=t.length;for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case`space`:case`comment`:case`newline`:e-=n.source.length;continue}for(n=t[++r];n?.type===`space`;)e+=n.source.length,n=t[++r];break}}return e}var TO={composeNode:EO,composeEmptyNode:DO};function EO(e,t,n,r){let i=e.atKey,{spaceBefore:a,comment:o,anchor:s,tag:c}=n,l,u=!0;switch(t.type){case`alias`:l=OO(e,t,r),(s||c)&&r(t,`ALIAS_PROPS`,`An alias node must not specify any properties`);break;case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:case`block-scalar`:l=xO(e,t,c,r),s&&(l.anchor=s.source.substring(1));break;case`block-map`:case`block-seq`:case`flow-collection`:l=lO(TO,e,t,n,r),s&&(l.anchor=s.source.substring(1));break;default:r(t,`UNEXPECTED_TOKEN`,t.type===`error`?t.message:`Unsupported token (type: ${t.type})`),l=DO(e,t.offset,void 0,null,n,r),u=!1}return s&&l.anchor===``&&r(s,`BAD_ALIAS`,`Anchor cannot be an empty string`),i&&e.options.stringKeys&&(!CT(l)||typeof l.value!=`string`||l.tag&&l.tag!==`tag:yaml.org,2002:str`)&&r(c??t,`NON_STRING_KEY`,`With stringKeys, all keys must be strings`),a&&(l.spaceBefore=!0),o&&(t.type===`scalar`&&t.source===``?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&u&&(l.srcToken=t),l}function DO(e,t,n,r,{spaceBefore:i,comment:a,anchor:o,tag:s,end:c},l){let u=xO(e,{type:`scalar`,offset:wO(t,n,r),indent:-1,source:``},s,l);return o&&(u.anchor=o.source.substring(1),u.anchor===``&&l(o,`BAD_ALIAS`,`Anchor cannot be an empty string`)),i&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=c),u}function OO({options:e},{offset:t,source:n,end:r},i){let a=new JT(n.substring(1));a.source===``&&i(t,`BAD_ALIAS`,`Alias cannot be an empty string`),a.source.endsWith(`:`)&&i(t+n.length-1,`BAD_ALIAS`,`Alias ending in : is ambiguous`,!0);let o=t+n.length,s=iO(r,o,e.strict,i);return a.range=[t,o,s.offset],s.comment&&(a.comment=s.comment),a}function kO(e,t,{offset:n,start:r,value:i,end:a},o){let s=new GD(void 0,Object.assign({_directives:t},e)),c={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},l=ZD(r,{indicator:`doc-start`,next:i??a?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});l.found&&(s.directives.docStart=!0,i&&(i.type===`block-map`||i.type===`block-seq`)&&!l.hasNewline&&o(l.end,`MISSING_CHAR`,`Block collection cannot start on same line with directives-end marker`)),s.contents=i?EO(c,i,l,o):DO(c,l.end,r,null,l,o);let u=s.contents.range[2],d=iO(a,u,!1,o);return d.comment&&(s.comment=d.comment),s.range=[n,u,d.offset],s}function AO(e){if(typeof e==`number`)return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+(typeof n==`string`?n.length:1)]}function jO(e){let t=``,n=!1,r=!1;for(let i=0;i<e.length;++i){let a=e[i];switch(a[0]){case`#`:t+=(t===``?``:r?`
|
|
150
|
+
|
|
151
|
+
`:`
|
|
152
|
+
`)+(a.substring(1)||` `),n=!0,r=!1;break;case`%`:e[i+1]?.[0]!==`#`&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}var MO=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let i=AO(e);r?this.warnings.push(new YD(i,t,n)):this.errors.push(new JD(i,t,n))},this.directives=new BT({version:e.version||`1.2`}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=jO(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(TT(i)&&!i.flow&&i.items.length>0){let e=i.items[0];ST(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:jO(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case`directive`:this.directives.add(e.source,(t,n,r)=>{let i=AO(e);i[0]+=t,this.onError(i,`BAD_DIRECTIVE`,n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case`document`:{let t=kO(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,`MISSING_CHAR`,`Missing directives-end/doc-start indicator line`),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case`byte-order-mark`:case`space`:break;case`comment`:case`newline`:this.prelude.push(e.source);break;case`error`:{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new JD(AO(e),`UNEXPECTED_TOKEN`,t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case`doc-end`:{if(!this.doc){this.errors.push(new JD(AO(e),`UNEXPECTED_TOKEN`,`Unexpected doc-end without preceding document`));break}this.doc.directives.docEnd=!0;let t=iO(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new JD(AO(e),`UNEXPECTED_TOKEN`,`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new GD(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,`MISSING_CHAR`,`Missing directives-end indicator line`),e.range=[0,t,t],this.decorate(e,!1),yield e}}};function NO(e,t=!0,n){if(e){let r=(e,t,r)=>{let i=typeof e==`number`?e:Array.isArray(e)?e[0]:e.offset;if(n)n(i,t,r);else throw new JD([i,i+1],t,r)};switch(e.type){case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return pO(e,t,r);case`block-scalar`:return uO({options:{strict:t}},e,r)}}return null}function PO(e,t){let{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:a=-1,type:o=`PLAIN`}=t,s=xE({type:o,value:e},{implicitKey:n,indent:r>0?` `.repeat(r):``,inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:`newline`,offset:-1,indent:r,source:`
|
|
153
|
+
`}];switch(s[0]){case`|`:case`>`:{let e=s.indexOf(`
|
|
154
|
+
`),t=s.substring(0,e),n=s.substring(e+1)+`
|
|
155
|
+
`,i=[{type:`block-scalar-header`,offset:a,indent:r,source:t}];return LO(i,c)||i.push({type:`newline`,offset:-1,indent:r,source:`
|
|
156
|
+
`}),{type:`block-scalar`,offset:a,indent:r,props:i,source:n}}case`"`:return{type:`double-quoted-scalar`,offset:a,indent:r,source:s,end:c};case`'`:return{type:`single-quoted-scalar`,offset:a,indent:r,source:s,end:c};default:return{type:`scalar`,offset:a,indent:r,source:s,end:c}}}function FO(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:a=!1,type:o}=n,s=`indent`in e?e.indent:null;if(r&&typeof s==`number`&&(s+=2),!o)switch(e.type){case`single-quoted-scalar`:o=`QUOTE_SINGLE`;break;case`double-quoted-scalar`:o=`QUOTE_DOUBLE`;break;case`block-scalar`:{let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);o=t.source[0]===`>`?`BLOCK_FOLDED`:`BLOCK_LITERAL`;break}default:o=`PLAIN`}let c=xE({type:o,value:t},{implicitKey:i||s===null,indent:s!==null&&s>0?` `.repeat(s):``,inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case`|`:case`>`:IO(e,c);break;case`"`:RO(e,c,`double-quoted-scalar`);break;case`'`:RO(e,c,`single-quoted-scalar`);break;default:RO(e,c,`scalar`)}}function IO(e,t){let n=t.indexOf(`
|
|
157
|
+
`),r=t.substring(0,n),i=t.substring(n+1)+`
|
|
158
|
+
`;if(e.type===`block-scalar`){let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);t.source=r,e.source=i}else{let{offset:t}=e,n=`indent`in e?e.indent:-1,a=[{type:`block-scalar-header`,offset:t,indent:n,source:r}];LO(a,`end`in e?e.end:void 0)||a.push({type:`newline`,offset:-1,indent:n,source:`
|
|
159
|
+
`});for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:`block-scalar`,indent:n,props:a,source:i})}}function LO(e,t){if(t)for(let n of t)switch(n.type){case`space`:case`comment`:e.push(n);break;case`newline`:return e.push(n),!0}return!1}function RO(e,t,n){switch(e.type){case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:e.type=n,e.source=t;break;case`block-scalar`:{let r=e.props.slice(1),i=t.length;e.props[0].type===`block-scalar-header`&&(i-=e.props[0].source.length);for(let e of r)e.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case`block-map`:case`block-seq`:{let r={type:`newline`,offset:e.offset+t.length,indent:e.indent,source:`
|
|
160
|
+
`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r=`indent`in e?e.indent:-1,i=`end`in e&&Array.isArray(e.end)?e.end.filter(e=>e.type===`space`||e.type===`comment`||e.type===`newline`):[];for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}var zO=e=>`type`in e?BO(e):VO(e);function BO(e){switch(e.type){case`block-scalar`:{let t=``;for(let n of e.props)t+=BO(n);return t+e.source}case`block-map`:case`block-seq`:{let t=``;for(let n of e.items)t+=VO(n);return t}case`flow-collection`:{let t=e.start.source;for(let n of e.items)t+=VO(n);for(let n of e.end)t+=n.source;return t}case`document`:{let t=VO(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if(`end`in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function VO({start:e,key:t,sep:n,value:r}){let i=``;for(let t of e)i+=t.source;if(t&&(i+=BO(t)),n)for(let e of n)i+=e.source;return r&&(i+=BO(r)),i}var HO=Symbol(`break visit`),UO=Symbol(`skip children`),WO=Symbol(`remove item`);function GO(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),KO(Object.freeze([]),e,t)}GO.BREAK=HO,GO.SKIP=UO,GO.REMOVE=WO,GO.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},GO.parentCollection=(e,t)=>{let n=GO.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&`items`in i)return i;throw Error(`Parent collection not found`)};function KO(e,t,n){let r=n(t,e);if(typeof r==`symbol`)return r;for(let i of[`key`,`value`]){let a=t[i];if(a&&`items`in a){for(let t=0;t<a.items.length;++t){let r=KO(Object.freeze(e.concat([[i,t]])),a.items[t],n);if(typeof r==`number`)t=r-1;else if(r===HO)return HO;else r===WO&&(a.items.splice(t,1),--t)}typeof r==`function`&&i===`key`&&(r=r(t,e))}}return typeof r==`function`?r(t,e):r}var qO=_({BOM:()=>``,DOCUMENT:()=>``,FLOW_END:()=>``,SCALAR:()=>``,createScalarToken:()=>PO,isCollection:()=>JO,isScalar:()=>YO,prettyToken:()=>XO,resolveAsScalar:()=>NO,setScalarValue:()=>FO,stringify:()=>zO,tokenType:()=>ZO,visit:()=>GO},1),JO=e=>!!e&&`items`in e,YO=e=>!!e&&(e.type===`scalar`||e.type===`single-quoted-scalar`||e.type===`double-quoted-scalar`||e.type===`block-scalar`);function XO(e){switch(e){case``:return`<BOM>`;case``:return`<DOC>`;case``:return`<FLOW_END>`;case``:return`<SCALAR>`;default:return JSON.stringify(e)}}function ZO(e){switch(e){case``:return`byte-order-mark`;case``:return`doc-mode`;case``:return`flow-error-end`;case``:return`scalar`;case`---`:return`doc-start`;case`...`:return`doc-end`;case``:case`
|
|
161
|
+
`:case`\r
|
|
162
|
+
`:return`newline`;case`-`:return`seq-item-ind`;case`?`:return`explicit-key-ind`;case`:`:return`map-value-ind`;case`{`:return`flow-map-start`;case`}`:return`flow-map-end`;case`[`:return`flow-seq-start`;case`]`:return`flow-seq-end`;case`,`:return`comma`}switch(e[0]){case` `:case` `:return`space`;case`#`:return`comment`;case`%`:return`directive-line`;case`*`:return`alias`;case`&`:return`anchor`;case`!`:return`tag`;case`'`:return`single-quoted-scalar`;case`"`:return`double-quoted-scalar`;case`|`:case`>`:return`block-scalar-header`}return null}function QO(e){switch(e){case void 0:case` `:case`
|
|
163
|
+
`:case`\r`:case` `:return!0;default:return!1}}var $O=new Set(`0123456789ABCDEFabcdef`),ek=new Set(`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()`),tk=new Set(`,[]{}`),nk=new Set(` ,[]{}
|
|
164
|
+
\r `),rk=e=>!e||nk.has(e),ik=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer=``,this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if(typeof e!=`string`)throw TypeError(`source is not a string`);this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??`stream`;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===` `||t===` `;)t=this.buffer[++e];return!t||t===`#`||t===`
|
|
165
|
+
`?!0:t===`\r`?this.buffer[e+1]===`
|
|
166
|
+
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;t===` `;)t=this.buffer[++n+e];if(t===`\r`){let t=this.buffer[n+e+1];if(t===`
|
|
167
|
+
`||!t&&!this.atEnd)return e+n+1}return t===`
|
|
168
|
+
`||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t===`-`||t===`.`){let t=this.buffer.substr(e,3);if((t===`---`||t===`...`)&&QO(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!=`number`||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
|
169
|
+
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]===`\r`&&--e,this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case`stream`:return yield*this.parseStream();case`line-start`:return yield*this.parseLineStart();case`block-start`:return yield*this.parseBlockStart();case`doc`:return yield*this.parseDocument();case`flow`:return yield*this.parseFlowCollection();case`quoted-scalar`:return yield*this.parseQuotedScalar();case`block-scalar`:return yield*this.parseBlockScalar();case`plain-scalar`:return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext(`stream`);if(e[0]===``&&(yield*this.pushCount(1),e=e.substring(1)),e[0]===`%`){let t=e.length,n=e.indexOf(`#`);for(;n!==-1;){let r=e[n-1];if(r===` `||r===` `){t=n-1;break}else n=e.indexOf(`#`,n+1)}for(;;){let n=e[t-1];if(n===` `||n===` `)--t;else break}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),`stream`}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),`stream`}return yield``,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext(`line-start`);if(e===`-`||e===`.`){if(!this.atEnd&&!this.hasChars(4))return this.setNext(`line-start`);let e=this.peek(3);if((e===`---`||e===`...`)&&QO(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,e===`---`?`doc`:`stream`}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!QO(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext(`block-start`);if((e===`-`||e===`?`||e===`:`)&&QO(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return`doc`}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext(`doc`);let t=yield*this.pushIndicators();switch(e[t]){case`#`:yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case`{`:case`[`:return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,`flow`;case`}`:case`]`:return yield*this.pushCount(1),`doc`;case`*`:return yield*this.pushUntil(rk),`doc`;case`"`:case`'`:return yield*this.parseQuotedScalar();case`|`:case`>`:return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(r===null)return this.setNext(`flow`);if((n!==-1&&n<this.indentNext&&r[0]!==`#`||n===0&&(r.startsWith(`---`)||r.startsWith(`...`))&&QO(r[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(r[0]===`]`||r[0]===`}`)))return this.flowLevel=0,yield``,yield*this.parseLineStart();let i=0;for(;r[i]===`,`;)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),r[i]){case void 0:return`flow`;case`#`:return yield*this.pushCount(r.length-i),`flow`;case`{`:case`[`:return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,`flow`;case`}`:case`]`:return yield*this.pushCount(1),this.flowKey=!0,--this.flowLevel,this.flowLevel?`flow`:`doc`;case`*`:return yield*this.pushUntil(rk),`flow`;case`"`:case`'`:return this.flowKey=!0,yield*this.parseQuotedScalar();case`:`:{let e=this.charAt(1);if(this.flowKey||QO(e)||e===`,`)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),`flow`}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if(e===`'`)for(;t!==-1&&this.buffer[t+1]===`'`;)t=this.buffer.indexOf(`'`,t+2);else for(;t!==-1;){let e=0;for(;this.buffer[t-1-e]===`\\`;)e+=1;if(e%2==0)break;t=this.buffer.indexOf(`"`,t+1)}let n=this.buffer.substring(0,t),r=n.indexOf(`
|
|
170
|
+
`,this.pos);if(r!==-1){for(;r!==-1;){let e=this.continueScalar(r+1);if(e===-1)break;r=n.indexOf(`
|
|
171
|
+
`,e)}r!==-1&&(t=r-(n[r-1]===`\r`?2:1))}if(t===-1){if(!this.atEnd)return this.setNext(`quoted-scalar`);t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?`flow`:`doc`}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if(t===`+`)this.blockScalarKeep=!0;else if(t>`0`&&t<=`9`)this.blockScalarIndent=Number(t)-1;else if(t!==`-`)break}return yield*this.pushUntil(e=>QO(e)||e===`#`)}*parseBlockScalar(){let e=this.pos-1,t=0,n;loop:for(let r=this.pos;n=this.buffer[r];++r)switch(n){case` `:t+=1;break;case`
|
|
172
|
+
`:e=r,t=0;break;case`\r`:{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext(`block-scalar`);if(e===`
|
|
173
|
+
`)break}default:break loop}if(!n&&!this.atEnd)return this.setNext(`block-scalar`);if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let t=this.continueScalar(e+1);if(t===-1)break;e=this.buffer.indexOf(`
|
|
174
|
+
`,t)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext(`block-scalar`);e=this.buffer.length}}let r=e+1;for(n=this.buffer[r];n===` `;)n=this.buffer[++r];if(n===` `){for(;n===` `||n===` `||n===`\r`||n===`
|
|
175
|
+
`;)n=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)do{let n=e-1,r=this.buffer[n];r===`\r`&&(r=this.buffer[--n]);let i=n;for(;r===` `;)r=this.buffer[--n];if(r===`
|
|
176
|
+
`&&n>=this.pos&&n+1+t>i)e=n;else break}while(!0);return yield``,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,t=this.pos-1,n=this.pos-1,r;for(;r=this.buffer[++n];)if(r===`:`){let r=this.buffer[n+1];if(QO(r)||e&&tk.has(r))break;t=n}else if(QO(r)){let i=this.buffer[n+1];if(r===`\r`&&(i===`
|
|
177
|
+
`?(n+=1,r=`
|
|
178
|
+
`,i=this.buffer[n+1]):t=n),i===`#`||e&&tk.has(i))break;if(r===`
|
|
179
|
+
`){let e=this.continueScalar(n+1);if(e===-1)break;n=Math.max(n,e-2)}}else{if(e&&tk.has(r))break;t=n}return!r&&!this.atEnd?this.setNext(`plain-scalar`):(yield``,yield*this.pushToIndex(t+1,!0),e?`flow`:`doc`)}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield``),0)}*pushIndicators(){switch(this.charAt(0)){case`!`:return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case`&`:return(yield*this.pushUntil(rk))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case`-`:case`?`:case`:`:{let e=this.flowLevel>0,t=this.charAt(1);if(QO(t)||e&&tk.has(t))return e?this.flowKey&&=!1:this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)===`<`){let e=this.pos+2,t=this.buffer[e];for(;!QO(t)&&t!==`>`;)t=this.buffer[++e];return yield*this.pushToIndex(t===`>`?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(ek.has(t))t=this.buffer[++e];else if(t===`%`&&$O.has(this.buffer[e+1])&&$O.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
|
|
180
|
+
`?yield*this.pushCount(1):e===`\r`&&this.charAt(1)===`
|
|
181
|
+
`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===` `||e&&n===` `);let r=t-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}},ak=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}};function ok(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function sk(e){for(let t=0;t<e.length;++t)switch(e[t].type){case`space`:case`comment`:case`newline`:break;default:return t}return-1}function ck(e){switch(e?.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:case`flow-collection`:return!0;default:return!1}}function lk(e){switch(e.type){case`document`:return e.start;case`block-map`:{let t=e.items[e.items.length-1];return t.sep??t.start}case`block-seq`:return e.items[e.items.length-1].start;default:return[]}}function uk(e){if(e.length===0)return[];let t=e.length;loop:for(;--t>=0;)switch(e[t].type){case`doc-start`:case`explicit-key-ind`:case`map-value-ind`:case`seq-item-ind`:case`newline`:break loop}for(;e[++t]?.type===`space`;);return e.splice(t,e.length)}function dk(e){if(e.start.type===`flow-seq-start`)for(let t of e.items)t.sep&&!t.value&&!ok(t.start,`explicit-key-ind`)&&!ok(t.sep,`map-value-ind`)&&(t.key&&(t.value=t.key),delete t.key,ck(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}var fk=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source=``,this.type=``,this.lexer=new ik,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=ZO(e);if(t)if(t===`scalar`)this.atNewLine=!1,this.atScalar=!0,this.type=`scalar`;else{switch(this.type=t,yield*this.step(),t){case`newline`:this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case`space`:this.atNewLine&&e[0]===` `&&(this.indent+=e.length);break;case`explicit-key-ind`:case`map-value-ind`:case`seq-item-ind`:this.atNewLine&&(this.indent+=e.length);break;case`doc-mode`:case`flow-error-end`:return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:`error`,offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type===`doc-end`&&e?.type!==`doc-end`){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:`doc-end`,offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case`document`:return yield*this.document(e);case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return yield*this.scalar(e);case`block-scalar`:return yield*this.blockScalar(e);case`block-map`:return yield*this.blockMap(e);case`block-seq`:return yield*this.blockSequence(e);case`flow-collection`:return yield*this.flowCollection(e);case`doc-end`:return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(!t)yield{type:`error`,offset:this.offset,source:``,message:`Tried to pop an empty stack`};else if(this.stack.length===0)yield t;else{let e=this.peek(1);switch(t.type===`block-scalar`?t.indent=`indent`in e?e.indent:0:t.type===`flow-collection`&&e.type===`document`&&(t.indent=0),t.type===`flow-collection`&&dk(t),e.type){case`document`:e.value=t;break;case`block-scalar`:e.props.push(t);break;case`block-map`:{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case`block-seq`:{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case`flow-collection`:{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((e.type===`document`||e.type===`block-map`||e.type===`block-seq`)&&(t.type===`block-map`||t.type===`block-seq`)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&sk(n.start)===-1&&(t.indent===0||n.start.every(e=>e.type!==`comment`||e.indent<t.indent))&&(e.type===`document`?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case`directive-line`:yield{type:`directive`,offset:this.offset,source:this.source};return;case`byte-order-mark`:case`space`:case`comment`:case`newline`:yield this.sourceToken;return;case`doc-mode`:case`doc-start`:{let e={type:`document`,offset:this.offset,start:[]};this.type===`doc-start`&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:`error`,offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case`doc-start`:sk(e.start)===-1?e.start.push(this.sourceToken):(yield*this.pop(),yield*this.step());return;case`anchor`:case`tag`:case`space`:case`comment`:case`newline`:e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:`error`,offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type===`map-value-ind`){let t=uk(lk(this.peek(2))),n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];let r={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case`space`:case`comment`:case`newline`:e.props.push(this.sourceToken);return;case`scalar`:if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf(`
|
|
182
|
+
`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
|
|
183
|
+
`,e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(this.onKeyLine=!1,t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case`newline`:n.push(r);break;case`space`:break;case`comment`:i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(ok(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(ck(t.key)&&!ok(t.sep,`newline`)){let e=uk(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else if(ok(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=uk(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):ok(t.sep,`map-value-ind`)?this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!ok(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||ok(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=uk(lk(t));dk(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(`
|
|
184
|
+
`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
|
|
185
|
+
`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=uk(lk(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=uk(lk(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;case`space`:case`comment`:default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}};function pk(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new ak||null,prettyErrors:t}}function mk(e,t={}){let{lineCounter:n,prettyErrors:r}=pk(t),i=new fk(n?.addNewLine),a=new MO(t),o=Array.from(a.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(XD(e,n)),t.warnings.forEach(XD(e,n));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function hk(e,t={}){let{lineCounter:n,prettyErrors:r}=pk(t),i=new fk(n?.addNewLine),a=new MO(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new JD(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(XD(e,n)),o.warnings.forEach(XD(e,n))),o}function gk(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=hk(e,n);if(!i)return null;if(i.warnings.forEach(e=>DE(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function _k(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return bT(e)&&!r?e.toString(n):new GD(e,r,n).toString(n)}var vk=_({Alias:()=>JT,CST:()=>qO,Composer:()=>MO,Document:()=>GD,Lexer:()=>ik,LineCounter:()=>ak,Pair:()=>IE,Parser:()=>fk,Scalar:()=>ZT,Schema:()=>UD,YAMLError:()=>qD,YAMLMap:()=>HE,YAMLParseError:()=>JD,YAMLSeq:()=>WE,YAMLWarning:()=>YD,isAlias:()=>yT,isCollection:()=>TT,isDocument:()=>bT,isMap:()=>xT,isNode:()=>ET,isPair:()=>ST,isScalar:()=>CT,isSeq:()=>wT,parse:()=>gk,parseAllDocuments:()=>mk,parseDocument:()=>hk,stringify:()=>_k,visit:()=>jT,visitAsync:()=>NT},1),yk={parse:e=>{let t=gk(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return yk.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:_k},bk={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return bk.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)},xk=e=>typeof e==`string`?!!bk.parseSafe(e,!1):!1;function Sk(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var Ck=e=>{if(typeof e!=`string`)return e;let t=bk.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return yk.parseSafe(e,e=>{throw Error(e)})},wk=`https://api.scalar.com/request-proxy`,Tk=`https://proxy.scalar.com`;async function Ek(e,t,n,r=!0){t===wk&&(t=Tk);let i=await(n?n(e,void 0):fetch(uT(t,e)));if(i.status!==200)throw console.error(`[fetchDocument] Failed to fetch the OpenAPI document from ${e} (Status: ${i.status})`),t||console.warn(`[fetchDocument] Tried to fetch the OpenAPI document from ${e} without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`),Error(`Failed to fetch the OpenAPI document from ${e} (Status: ${i.status})`);return r?Sk(await i.text()):await i.text()}function Dk(e){if(typeof e==`string`)return e.replace(/;.*$/,``).replace(/\/(?!.*vnd\.|fhir\+).*\+/,`/`).trim()}function Ok(e){if(!e)return e;let t={...e};return Object.entries(t).forEach(([e,n])=>{let r=Dk(e);r&&(t[r]=n)}),t}var kk={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`};re({"x-scalar-stability":l(Object.values(kk)).optional().catch(void 0)});var Ak=e=>e.deprecated||e[`x-scalar-stability`]===kk.Deprecated,jk=e=>e.deprecated?kk.Deprecated:e[`x-scalar-stability`],Mk=e=>{switch(jk(e)){case kk.Deprecated:return`text-red`;case kk.Experimental:return`text-orange`;case kk.Stable:return`text-green`;default:return``}},Nk=e=>{if(typeof e==`string`)return xk(e)?JSON.stringify(JSON.parse(e),null,2):e;if(typeof e==`object`)try{return JSON.stringify(e,null,2)}catch{return Pk(e)}return e?.toString()??``};function Pk(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}function Fk(e,t,n=!0,r){let i=t.safeParse(e);if(i.success||(console.group(`Schema Error`+(r?` - ${r}`:``)),console.warn(JSON.stringify(i.error.format(),null,2)),console.log(`Received: `,e),console.groupEnd()),n&&!i.success)throw Error(`Zod validation failure`);return i.data}let Ik=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[n[e]&63];return t};var Lk=d().min(7).default(()=>Ik()),Rk=re({enum:x(d()).optional(),default:d().optional(),description:d().optional()}).extend({value:d().optional()}).refine(e=>(Array.isArray(e.enum)&&!e.enum.includes(e.default??``)&&e.enum.length>0&&(e.default=e.enum[0]),Array.isArray(e.enum)&&e.enum.length===0&&delete e.enum,!0)),zk=re({url:d(),description:d().optional(),variables:te(d(),Rk).optional()}).extend({uid:Lk.brand()});function Bk(e,t={}){if(!e?.length){let e=Jk(t);return e?[e]:[]}if(!Array.isArray(e))return[];let n=e.map(e=>qk(e,t)).filter(Fw);if(n.length===0){let e=Jk(t);return e?[e]:[]}return n}function Vk(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function Hk(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function Uk(e,t){try{return zk.parse({url:e})}catch{console.warn(`Failed to create server from ${t}:`,e);return}}function Wk(e){let t=Vk(e);if(t)return Uk(t,`document URL`)}function Gk(){let e=Hk();if(e)return Uk(e,`fallback URL`)}function Kk(e,t){let{baseServerURL:n,documentUrl:r}=t;if(n)return oT(n,e);if(r){let t=Vk(r);if(t)return oT(t,e)}let i=Hk();return i?oT(i,e):e}function qk(e,t){try{let n=zk.parse(e);return n.url?.startsWith(`/`)&&(n.url=Kk(n.url,t)),n}catch(t){console.warn(`Invalid server configuration:`,e,`Error:`,t);return}}function Jk(e){if(e.documentUrl){let t=Wk(e.documentUrl);if(t)return t}return Gk()}var Yk=e=>e?.[`x-internal`]===!0||e?.[`x-scalar-ignore`]===!0,Xk={bash:`Bash`,c:`C`,clojure:`Clojure`,cpp:`C++`,csharp:`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,diff:`Diff`,docker:`Docker`,dockerfile:`Dockerfile`,elixir:`Elixir`,fsharp:`F#`,go:`Go`,graphql:`GraphQL`,haskell:`Haskell`,html:`HTML`,http:`HTTP`,ini:`INI`,java:`Java`,javascript:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,less:`Less`,lua:`Lua`,makefile:`Makefile`,markdown:`Markdown`,matlab:`MATLAB`,nginx:`Nginx`,objectivec:`Objective-C`,ocaml:`OCaml`,perl:`Perl`,php:`PHP`,plaintext:`Plain Text`,powershell:`PowerShell`,properties:`Properties`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,scss:`SCSS`,shell:`Shell`,sql:`SQL`,swift:`Swift`,toml:`TOML`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`};function Zk(e){return Ie()?(ge(e),!0):!1}var Qk=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var $k=Object.prototype.toString,eA=e=>$k.call(e)===`[object Object]`,tA=()=>{},nA=rA();function rA(){return Qk&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function iA(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function aA(e){return Array.isArray(e)?e:[e]}function oA(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=ce(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},We(t))}return r&&(a.value=!0,Qk&&l()),Zk(c),{isPending:_e(a),start:l,stop:c}}function sA(t,n,r){return e(t,n,{...r,immediate:!0})}var cA=Qk?window:void 0;Qk&&window.document;var lA=Qk?window.navigator:void 0;Qk&&window.location;function uA(e){let t=We(e);return t?.$el??t}function dA(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),a=A(()=>{let t=aA(We(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),o=sA(()=>[a.value?.map(e=>uA(e))??[cA].filter(e=>e!=null),aA(We(a.value?e[1]:e[0])),aA(i(a.value?e[2]:e[1])),We(a.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=eA(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return Zk(n),()=>{o(),n()}}var fA=!1;function pA(e,t,n={}){let{window:r=cA,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:tA,cancel:tA,trigger:tA}:tA;if(nA&&!fA){fA=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,tA,e)),r.document.documentElement.addEventListener(`click`,tA,e)}let c=!0,l=e=>We(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=uA(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=We(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=We(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=uA(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[dA(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),dA(r,`pointerdown`,t=>{let n=uA(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&dA(r,`blur`,n=>{setTimeout(()=>{let i=uA(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function mA(){let e=ce(!1),t=fe();return t&&p(()=>{e.value=!0},t),e}function hA(e){let t=mA();return A(()=>(t.value,!!e()))}function gA(e,t={}){let{controls:n=!1,navigator:r=lA}=t,i=hA(()=>r&&`permissions`in r),a=ce(),o=typeof e==`string`?{name:e}:e,s=ce(),c=()=>{s.value=a.value?.state??`prompt`};dA(a,`change`,c,{passive:!0});let l=iA(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Ve(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function _A(e={}){let{navigator:t=lA,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=hA(()=>t&&`clipboard`in t),s=gA(`clipboard-read`),c=gA(`clipboard-write`),l=A(()=>o.value||a),u=ce(``),d=ce(!1),f=oA(()=>d.value=!1,i,{immediate:!1});async function p(){let e=!(o.value&&_(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=g())}l.value&&n&&dA([`copy`,`cut`],p,{passive:!0});async function m(e=We(r)){if(l.value&&e!=null){let n=!(o.value&&_(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&h(e),u.value=e,d.value=!0,f.start()}}function h(e){let t=document.createElement(`textarea`);t.value=e??``,t.style.position=`absolute`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function g(){return((document==null?void 0:document.getSelection)?.call(document))?.toString()??``}function _(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:u,copied:d,copy:m}}function vA(t,n,r={}){let{window:i=cA,...a}=r,o,s=hA(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=e(A(()=>{let e=We(t);return Array.isArray(e)?e.map(e=>uA(e)):[uA(e)]}),e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return Zk(u),{isSupported:s,stop:u}}var yA={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},bA={key:0,class:`whitespace-nowrap px-1.5`},xA={key:0,class:`sr-only`,role:`alert`},SA={key:1,class:`sr-only`},CA=R({inheritAttrs:!1,__name:`ScalarCopyButton`,props:o({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ie(e,`copied`),{cx:n}=V(),a=A(()=>t.value?hi:Si);return(o,c)=>(r(),M(`button`,C({type:`button`},i(n)(`group/copy-button relative z-0 flex items-center justify-center`,`size-6 p-1.25 -m-1 rounded text-xs bg-b-2`,t.value?`text-c-1`:`text-c-2 hover:text-c-1`)),[k(g,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:F(()=>[(r(),I(h(a.value),{class:`size-full`}))]),_:1}),c[4]||=P(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),P(`div`,{class:s([`group/copy-label absolute flex items-center -inset-y-0.5 rounded`,{"left-0 pl-[100%]":e.placement===`right`,"right-0 pr-[100%]":e.placement===`left`}])},[P(`div`,yA,[k(g,{enterActiveClass:`transition-transform ease-out`,enterFromClass:`translate-y-1.5`,enterToClass:`translate-y-0`,leaveActiveClass:`transition-transform ease-in`,leaveFromClass:`translate-y-0`,leaveToClass:`-translate-y-1.5`,mode:`out-in`},{default:F(()=>[t.value?(r(),M(`div`,bA,[D(o.$slots,`copied`,{},()=>[c[0]||=ve(`Copied`,-1)])])):(r(),M(`div`,{key:1,class:s([`whitespace-nowrap px-1.5`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[D(o.$slots,`copy`,{},()=>[c[1]||=ve(`Copy`,-1)])],2))]),_:3})]),t.value?(r(),M(`div`,xA,[D(o.$slots,`copied`,{},()=>[c[2]||=ve(`Copied`,-1)])])):(r(),M(`div`,SA,[D(o.$slots,`copy`,{},()=>[c[3]||=ve(`Copy`,-1)])])),D(o.$slots,`backdrop`,{},()=>[k(Ya)])],2)],16))}}),wA=R({__name:`ScalarCopy`,props:o({content:{default:``},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(t){let n=ie(t,`copied`);p(()=>{t.immediate&&a(t.content)});let{copy:a,copied:o}=_A({legacy:!0,copiedDuring:t.duration});return e(o,e=>n.value=e),(e,s)=>(r(),I(CA,{copied:n.value||i(o),placement:t.placement,showLabel:t.showLabel,onClick:s[0]||=e=>i(a)(t.content)},De({_:2},[e.$slots.copy?{name:`copy`,fn:F(()=>[D(e.$slots,`copy`)]),key:`0`}:void 0,e.$slots.copied?{name:`copied`,fn:F(()=>[D(e.$slots,`copied`)]),key:`1`}:void 0,e.$slots.backdrop?{name:`backdrop`,fn:F(()=>[D(e.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}}),TA={class:`hidden group-hocus-within/code-block:inline`},EA=R({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:o({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ie(e,`copied`),n=A(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),a=e=>e in Xk,{cx:o}=V();return(c,l)=>(r(),I(i(wA),C({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":l[0]||=e=>t.value=e,placement:`left`},{...i(o)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),De({backdrop:F(()=>[D(c.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:F(()=>[P(`span`,TA,[e.showLang?(r(),M(`span`,{key:0,class:s([`group-hocus/copy-button:sr-only`,{capitalize:!a(e.lang)}])},we(a(e.lang)?i(Xk)[e.lang]:e.lang),3)):j(``,!0),P(`span`,{class:s({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}}),DA={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1`},OA=[`id`,`innerHTML`],kA=R({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`}},setup(e){let t=ae(),n=A(()=>e.prettyPrintedContent||Nk(e.content??``)),o=A(()=>nh(n.value,{lang:e.lang.trim(),languages:ih,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),c=A(()=>!n.value.includes(`
|
|
186
|
+
`)),l=A(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:u}=V();return(d,f)=>(r(),M(`div`,a(L(i(u)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[P(`div`,DA,[P(`pre`,{id:i(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:o.value},null,8,OA)]),e.copy&&l.value?(r(),I(i(EA),{key:0,class:s([`scalar-code-copy absolute`,[c.value?`top-[calc(10px+0.5lh)] -translate-y-1/2 m-0 right-1`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,showLang:!c.value,lang:e.lang,"aria-controls":i(t)},{backdrop:F(()=>[k(Ya,{class:s([`scalar-code-copy-backdrop`,[c.value?`-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3`:`-right-1.5 -top-1`]])},null,8,[`class`])]),_:1},8,[`class`,`content`,`showLang`,`lang`,`aria-controls`])):j(``,!0)],16))}}),AA=N(`dark`),jA=l([`dark`,`light`,`system`]).optional().catch(void 0);function MA(t={}){let{initialColorMode:n=`system`,overrideColorMode:r}=t;function i(){AA.value=s.value===`dark`?`light`:`dark`,!(typeof window>`u`)&&window?.localStorage?.setItem(`colorMode`,AA.value)}function a(e){AA.value=e,!(typeof window>`u`)&&window?.localStorage?.setItem(`colorMode`,AA.value)}function o(){return typeof window>`u`?`light`:typeof window?.matchMedia==`function`?window?.matchMedia(`(prefers-color-scheme: dark)`)?.matches?`dark`:`light`:`dark`}let s=A({get:()=>AA.value===`system`?o():AA.value,set:a}),c=A({get:()=>s.value===`dark`,set:e=>a(e?`dark`:`light`)});function l(e){typeof document>`u`||typeof window>`u`||((r??(e===`system`?o():e))===`dark`?(document.body.classList.add(`dark-mode`),document.body.classList.remove(`light-mode`)):(document.body.classList.add(`light-mode`),document.body.classList.remove(`dark-mode`)))}let u=jA.parse(typeof window<`u`?window?.localStorage?.getItem(`colorMode`):`system`);AA.value=r??u??n,e(AA,l,{immediate:!0});let d=()=>AA.value===`system`&&l(`system`),f=N(null);return p(()=>{typeof window<`u`&&typeof window?.matchMedia==`function`&&(f.value=window.matchMedia(`(prefers-color-scheme: dark)`),f.value?.addEventListener(`change`,d))}),T(()=>{f.value?.removeEventListener(`change`,d)}),{colorMode:A({get:()=>AA.value,set:a}),darkLightMode:s,isDarkMode:c,toggleColorMode:i,setColorMode:a,getSystemModePreference:o}}var NA=pr(R({inheritAttrs:!1,__name:`ScalarColorModeToggleIcon`,props:{is:{default:`button`},mode:{default:`light`}},setup(e){let{cx:t}=V(),n=A(()=>e.mode===`dark`?`Set light mode`:`Set dark mode`);return(a,o)=>(r(),I(h(e.is),C({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is===`button`?`button`:void 0},i(t)(`size-3 flex items-center justify-center text-c-1`)),{default:F(()=>[...o[0]||=[P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-ellipse`},[P(`span`,{class:`toggle-icon-moon-mask`})],-1)]]),_:1},16,[`aria-label`,`class`,`type`]))}}),[[`__scopeId`,`data-v-60be8692`]]),PA=[`aria-pressed`],FA=R({inheritAttrs:!1,__name:`ScalarColorModeToggleButton`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let{cx:t}=V(),n=ie(e,`modelValue`);return(e,a)=>(r(),M(`button`,C({"aria-pressed":n.value,type:`button`},i(t)(`group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none`),{onClick:a[0]||=e=>n.value=!n.value}),[a[1]||=P(`div`,{class:`h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1`},null,-1),P(`div`,{class:s([`size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out`,{"translate-x-[14px]":n.value}])},[k(NA,{is:`div`,mode:n.value?`dark`:`light`},null,8,[`mode`])],2)],16,PA))}}),IA=R({__name:`ScalarColorModeToggle`,props:{variant:{default:`switch`}},setup(e){let{isDarkMode:t,toggleColorMode:n,darkLightMode:a}=MA(),o=A(()=>t.value?`Set light mode`:`Set dark mode`);return(s,c)=>e.variant===`switch`?(r(),I(FA,{key:0,modelValue:i(t),"onUpdate:modelValue":c[0]||=e=>Be(t)?t.value=e:null,"aria-label":o.value},null,8,[`modelValue`,`aria-label`])):(r(),I(NA,{key:1,"aria-label":o.value,mode:i(a),onClick:i(n)},null,8,[`aria-label`,`mode`,`onClick`]))}}),LA=[`aria-selected`],RA=R({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=sr({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`}}});return(n,a)=>(r(),M(`li`,{"aria-selected":e.selected,class:s(i(cr)(i(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[D(n.$slots,`default`,{active:e.active,selected:e.selected})],10,LA))}}),zA=[`id`,`aria-labelledby`,`role`],BA=[`id`],VA=R({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>ae()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(r(),M(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?j(``,!0):(r(),M(`div`,{key:0,id:`${e.id}-label`,class:`min-w-0 truncate px-2.5 py-1.5 text-c-2`},[D(t.$slots,`label`)],8,BA)),D(t.$slots,`default`)],8,zA))}});function HA(e){return e?.options!==void 0}function UA(e){return e[0]?HA(e[0]):!1}var WA=R({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(r(),M(`div`,{class:s([`flex size-4 items-center justify-center p-0.75`,[e.selected?`bg-c-accent text-b-1`:`text-transparent shadow-border`,e.multiselect?`rounded`:`rounded-full`]])},[e.selected?(r(),I(i(hi),{key:0,class:`size-3`,weight:`bold`})):j(``,!0)],2))}}),GA={class:`relative flex`},KA=[`aria-activedescendant`,`placeholder`],qA=[`aria-multiselectable`],JA={class:`inline-block min-w-0 flex-1 truncate text-c-1`},YA=R({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:o({options:{},placeholder:{},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:o([`add`],[`update:modelValue`]),setup(t,{emit:n}){let a=t,o=n,s=ie(t,`modelValue`),c=oe(),l=`scalar-combobox-items-${ae()}`,u={id:`${ae()}-add`,label:`Add a new option`};function d(e){return`${l}-${e.id}`}let m=A(()=>UA(a.options)?a.options.flatMap(e=>e.options):a.options),h=A(()=>UA(a.options)?a.options:[{label:``,options:a.options}]),g=N(``),_=N(s.value?.[0]??m.value[0]);p(()=>{g.value=``,_.value=s.value?.[0]??m.value[0],s.value[0]&&setTimeout(()=>{let e=s.value[0];e&&document?.getElementById(d(e))?.scrollIntoView({block:`nearest`})},10)}),e(()=>g.value,()=>_.value=y.value[0]);let v=A(()=>g.value===``?m.value:m.value.filter(e=>e.label.toLowerCase().includes(g.value.toLowerCase()))),y=A(()=>c.add?[...v.value,u]:v.value);function b(e){if(e){if(e.id===u.id){S();return}a.multiselect?s.value.some(t=>t.id===e.id)?s.value=s.value.filter(t=>t.id!==e.id):s.value=[...s.value,m.value.find(t=>t.id===e.id)]:s.value=[m.value.find(t=>t.id===e.id)]}}function x(e){let t=y.value,n=t.findIndex(e=>e.id===_.value?.id)+e;n<0||n>t.length-1||(_.value=t[n],_.value&&document?.getElementById(d(_.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function S(){o(`add`),g.value=``}let C=N(null);return p(()=>setTimeout(()=>C.value?.focus(),0)),(e,n)=>(r(),M(ue,null,[P(`div`,GA,[k(i(ua),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),be(P(`input`,{ref_key:`input`,ref:C,"onUpdate:modelValue":n[0]||=e=>g.value=e,"aria-activedescendant":_.value?d(_.value):void 0,"aria-autocomplete":`list`,"aria-controls":l,class:`min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1`,"data-1p-ignore":``,placeholder:t.placeholder,role:`combobox`,tabindex:`0`,type:`text`,onKeydown:[n[1]||=ke(Fe(e=>x(1),[`prevent`]),[`down`]),n[2]||=ke(Fe(e=>_.value&&b(_.value),[`prevent`]),[`enter`]),n[3]||=ke(Fe(e=>x(-1),[`prevent`]),[`up`])]},null,40,KA),[[he,g.value]])]),be(P(`ul`,{id:l,"aria-multiselectable":t.multiselect,class:`border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0`,role:`listbox`,tabindex:`-1`},[(r(!0),M(ue,null,f(h.value,(a,o)=>(r(),I(VA,{id:`${l}-group-${o}`,key:o,hidden:!a.options.some(e=>v.value.some(t=>t.id===e.id))||!a.label},{label:F(()=>[e.$slots.group?D(e.$slots,`group`,{key:0,group:a}):(r(),M(ue,{key:1},[ve(we(a.label),1)],64))]),default:F(()=>[(r(!0),M(ue,null,f(v.value,o=>(r(),M(ue,{key:o.id},[a.options.some(e=>e.id===o.id)?(r(),I(RA,{key:0,id:d(o),active:_.value?.id===o.id,selected:s.value.some(e=>e.id===o.id),onClick:e=>b(o),onMousedown:n[4]||=Fe(()=>{},[`prevent`]),onMouseenter:e=>_.value=o},{default:F(({active:n,selected:a})=>[e.$slots.option?D(e.$slots,`option`,{key:0,active:n,option:o,selected:a}):(r(),M(ue,{key:1},[k(i(WA),{multiselect:t.multiselect,selected:s.value.some(e=>e.id===o.id)},null,8,[`multiselect`,`selected`]),P(`span`,JA,we(o.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):j(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),c.add?(r(),I(RA,{key:0,id:d(u),active:_.value?.id===u.id,onClick:S,onMousedown:n[5]||=Fe(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>_.value=u},{default:F(({active:t})=>[k(i(wa),{class:`size-4 p-px`}),D(e.$slots,`add`,{active:t})]),_:3},8,[`id`,`active`])):j(``,!0)],8,qA),[[ze,v.value.length||c.add]])],64))}});function XA(e,t,n){let r=N(n?.value),i=A(()=>e.value!==void 0);return[A(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}function ZA(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function QA(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return ZA(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=QA();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var $A=Symbol(`headlessui.useid`),ej=0,tj=ae??function(){return Ue($A,()=>`${++ej}`)()};function Q(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function nj(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,nj),r}var rj=Object.defineProperty,ij=(e,t,n)=>t in e?rj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aj=(e,t,n)=>(ij(e,typeof t==`symbol`?t:t+``,n),n),oj=new class{constructor(){aj(this,`current`,this.detect()),aj(this,`currentId`,0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current===`server`}get isClient(){return this.current===`client`}detect(){return typeof window>`u`||typeof document>`u`?`server`:`client`}};function sj(e){if(oj.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=Q(e);if(t)return t.ownerDocument}return document}var cj=[`[contentEditable=true]`,`[tabindex]`,`a[href]`,`area[href]`,`button:not([disabled])`,`iframe`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`].map(e=>`${e}:not([tabindex='-1'])`).join(`,`),lj=(e=>(e[e.First=1]=`First`,e[e.Previous=2]=`Previous`,e[e.Next=4]=`Next`,e[e.Last=8]=`Last`,e[e.WrapAround=16]=`WrapAround`,e[e.NoScroll=32]=`NoScroll`,e))(lj||{}),uj=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(uj||{}),dj=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(dj||{});function fj(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(cj)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var pj=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(pj||{});function mj(e,t=0){return e===sj(e)?.body?!1:nj(t,{0(){return e.matches(cj)},1(){let t=e;for(;t!==null;){if(t.matches(cj))return!0;t=t.parentElement}return!1}})}var hj=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(hj||{});typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`keydown`,e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible=``)},!0),document.addEventListener(`click`,e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible=``)},!0));function gj(e){e?.focus({preventScroll:!0})}var _j=[`textarea`,`input`].join(`,`);function vj(e){return(e?.matches)?.call(e,_j)??!1}function yj(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function bj(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?yj(e):e:fj(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&vj(f)&&f.select(),2}function xj(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Sj(){return/Android/gi.test(window.navigator.userAgent)}function Cj(){return xj()||Sj()}function wj(e,t,n){oj.isServer||me(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Tj(e,t,n){oj.isServer||me(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ej(e,t,n=A(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:Q(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!mj(a,pj.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=N(null);wj(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),wj(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),wj(`click`,e=>{Cj()||(i.value&&=(r(e,()=>i.value),null))},!0),wj(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Tj(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Dj(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Oj(e,t){let n=N(Dj(e.value.type,e.value.as));return p(()=>{n.value=Dj(e.value.type,e.value.as)}),me(()=>{var e;n.value||Q(t)&&Q(t)instanceof HTMLButtonElement&&!((e=Q(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}function kj(e){return[e.screenX,e.screenY]}function Aj(){let e=N([-1,-1]);return{wasMoved(t){let n=kj(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=kj(t)}}}var jj=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(jj||{}),Mj=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Mj||{});function Nj({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Ij(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Pj(s):t&1?nj((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Pj({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Pj(s)}function Pj({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Rj(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=Fj(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!zj(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
|
|
187
|
+
`),``,`You can apply a few solutions:`,['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',`Render a single element as the child so that we can forward the props onto that element.`].map(e=>` - ${e}`).join(`
|
|
188
|
+
`)].join(`
|
|
189
|
+
`));let r=Ij(e.props??{},o,c),a=Le(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return E(a,Object.assign({},o,c),{default:()=>s})}function Fj(e){return e.flatMap(e=>e.type===ue?Fj(e.children):[e])}function Ij(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function Lj(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Rj(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function zj(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Bj=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Bj||{}),Vj=R({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return Nj({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&4)==4?!0:void 0,style:{position:`fixed`,top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}}),Hj=Symbol(`Context`),Uj=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Uj||{});function Wj(){return Ue(Hj,null)}function Gj(e){ne(Hj,e)}var Kj=(e=>(e.Space=` `,e.Enter=`Enter`,e.Escape=`Escape`,e.Backspace=`Backspace`,e.Delete=`Delete`,e.ArrowLeft=`ArrowLeft`,e.ArrowUp=`ArrowUp`,e.ArrowRight=`ArrowRight`,e.ArrowDown=`ArrowDown`,e.Home=`Home`,e.End=`End`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.Tab=`Tab`,e))(Kj||{});function qj(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Jj=[];qj(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Jj[0]!==e.target&&(Jj.unshift(e.target),Jj=Jj.filter(e=>e!=null&&e.isConnected),Jj.splice(10))}window.addEventListener(`click`,e,{capture:!0}),window.addEventListener(`mousedown`,e,{capture:!0}),window.addEventListener(`focus`,e,{capture:!0}),document.body.addEventListener(`click`,e,{capture:!0}),document.body.addEventListener(`mousedown`,e,{capture:!0}),document.body.addEventListener(`focus`,e,{capture:!0})});function Yj(e){throw Error(`Unexpected object: `+e)}var Xj=(e=>(e[e.First=0]=`First`,e[e.Previous=1]=`Previous`,e[e.Next=2]=`Next`,e[e.Last=3]=`Last`,e[e.Specific=4]=`Specific`,e[e.Nothing=5]=`Nothing`,e))(Xj||{});function Zj(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:Yj(e)}}function Qj(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))eM(n,$j(t,r),i);return n}function $j(e,t){return e?e+`[`+t+`]`:t}function eM(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())eM(e,$j(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n==`boolean`?e.push([t,n?`1`:`0`]):typeof n==`string`?e.push([t,n]):typeof n==`number`?e.push([t,`${n}`]):n==null?e.push([t,``]):Qj(n,t,e)}function tM(e,t,n,r){oj.isServer||me(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var nM=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(nM||{});function rM(){let e=N(0);return Tj(`keydown`,t=>{t.key===`Tab`&&(e.value=t.shiftKey?1:0)}),e}function iM(e){if(!e)return new Set;if(typeof e==`function`)return new Set(e());let t=new Set;for(let n of e.value){let e=Q(n);e instanceof HTMLElement&&t.add(e)}return t}var aM=(e=>(e[e.None=1]=`None`,e[e.InitialFocus=2]=`InitialFocus`,e[e.TabLock=4]=`TabLock`,e[e.FocusLock=8]=`FocusLock`,e[e.RestoreFocus=16]=`RestoreFocus`,e[e.All=30]=`All`,e))(aM||{}),oM=Object.assign(R({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:N(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=N(null);r({el:i,$el:i});let a=A(()=>sj(i)),o=N(!1);p(()=>o.value=!0),T(()=>o.value=!1),cM({ownerDocument:a},A(()=>o.value&&!!(e.features&16)));let s=lM({ownerDocument:a,container:i,initialFocus:A(()=>e.initialFocus)},A(()=>o.value&&!!(e.features&2)));uM({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},A(()=>o.value&&!!(e.features&8)));let c=rM();function l(e){let t=Q(i);t&&(e=>e())(()=>{nj(c.value,{[nM.Forwards]:()=>{bj(t,lj.First,{skipElements:[e.relatedTarget]})},[nM.Backwards]:()=>{bj(t,lj.Last,{skipElements:[e.relatedTarget]})}})})}let u=N(!1);function d(e){e.key===`Tab`&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(t){if(!o.value)return;let n=iM(e.containers);Q(i)instanceof HTMLElement&&n.add(Q(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(dM(n,r)||(u.value?bj(Q(i),nj(c.value,{[nM.Forwards]:()=>lj.Next,[nM.Backwards]:()=>lj.Previous})|lj.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&gj(t.target)))}return()=>{let r={},a={ref:i,onKeydown:d,onFocusout:f},{features:o,initialFocus:s,containers:c,...u}=e;return E(ue,[!!(o&4)&&E(Vj,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:Bj.Focusable}),Nj({ourProps:a,theirProps:{...t,...u},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&E(Vj,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:Bj.Focusable})])}}}),{features:aM});function sM(t){let n=N(Jj.slice());return e([t],([e],[t])=>{t===!0&&e===!1?ZA(()=>{n.value.splice(0)}):t===!1&&e===!0&&(n.value=Jj.slice())},{flush:`post`}),()=>n.value.find(e=>e!=null&&e.isConnected)??null}function cM({ownerDocument:e},t){let n=sM(t);p(()=>{me(()=>{t.value||e.value?.activeElement===e.value?.body&&gj(n())},{flush:`post`})}),T(()=>{t.value&&gj(n())})}function lM({ownerDocument:t,container:n,initialFocus:r},i){let a=N(null),o=N(!1);return p(()=>o.value=!0),T(()=>o.value=!1),p(()=>{e([n,r,i],(e,s)=>{if(e.every((e,t)=>s?.[t]===e)||!i.value)return;let c=Q(n);c&&ZA(()=>{if(!o.value)return;let e=Q(r),n=t.value?.activeElement;if(e){if(e===n){a.value=n;return}}else if(c.contains(n)){a.value=n;return}e?gj(e):bj(c,lj.First|lj.NoScroll)===uj.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),a.value=t.value?.activeElement})},{immediate:!0,flush:`post`})}),a}function uM({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){tM(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=iM(n);Q(t)instanceof HTMLElement&&a.add(Q(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?dM(a,s)?(r.value=s,gj(s)):(e.preventDefault(),e.stopPropagation(),gj(o)):gj(r.value)},!0)}function dM(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function fM(e){let t=ce(e.getSnapshot());return T(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function pM(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}function mM(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}function hM(){return xj()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=QA();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&t.dataset.headlessuiPortal!==``&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;t.dataset.headlessuiPortal===``&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{n!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}function gM(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function _M(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var vM=pM(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:QA(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:_M(n)},i=[hM(),mM(),gM()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});vM.subscribe(()=>{let e=vM.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&vM.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&vM.dispatch(`TEARDOWN`,n)}});function yM(t,n,r){let i=fM(vM),a=A(()=>{let e=t.value?i.value.get(t.value):void 0;return e?e.count>0:!1});return e([t,n],([e,t],[n],i)=>{if(!e||!t)return;vM.dispatch(`PUSH`,e,r);let a=!1;i(()=>{a||=(vM.dispatch(`POP`,n??e,r),!0)})},{immediate:!0}),a}var bM=new Map,xM=new Map;function SM(e,t=N(!0)){me(n=>{if(!t.value)return;let r=Q(e);if(!r)return;n(function(){if(!r)return;let e=xM.get(r)??1;if(e===1?xM.delete(r):xM.set(r,e-1),e!==1)return;let t=bM.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,bM.delete(r))});let i=xM.get(r)??0;xM.set(r,i+1),i===0&&(bM.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}function CM({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=N(null),i=sj(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(Q(r))||e.contains(Q(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?E(Vj,{features:Bj.Hidden,ref:r}):null}}}function wM(){let e=N(null);return{mainTreeNodeRef:e,MainTreeNode(){return E(Vj,{features:Bj.Hidden,ref:e})}}}var TM=Symbol(`ForcePortalRootContext`);function EM(){return Ue(TM,!1)}var DM=R({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return ne(TM,e.force),()=>{let{force:r,...i}=e;return Nj({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}}),OM=Symbol(`StackContext`),kM=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(kM||{});function AM(){return Ue(OM,()=>{})}function jM({type:t,enabled:n,element:r,onUpdate:i}){let a=AM();function o(...e){i?.(...e),a(...e)}p(()=>{e(n,(e,n)=>{e?o(0,t,r):n===!0&&o(1,t,r)},{immediate:!0,flush:`sync`})}),T(()=>{n.value&&o(1,t,r)}),ne(OM,o)}var MM=Symbol(`DescriptionContext`);function NM(){let e=Ue(MM,null);if(e===null)throw Error(`Missing parent`);return e}function PM({slot:e=N({}),name:t=`Description`,props:n={}}={}){let r=N([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return ne(MM,{register:i,slot:e,name:t,props:n}),A(()=>r.value.length>0?r.value.join(` `):void 0)}R({name:`Description`,props:{as:{type:[Object,String],default:`p`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-description-${tj()}`,a=NM();return p(()=>T(a.register(r))),()=>{let{name:o=`Description`,slot:s=N({}),props:c={}}=a,{...l}=e;return Nj({ourProps:{...Object.entries(c).reduce((e,[t,n])=>Object.assign(e,{[t]:i(n)}),{}),id:r},theirProps:l,slot:s.value,attrs:t,slots:n,name:o})}}});function FM(e){let t=sj(e);if(!t){if(e===null)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById(`headlessui-portal-root`);if(n)return n;let r=t.createElement(`div`);return r.setAttribute(`id`,`headlessui-portal-root`),t.body.appendChild(r)}var IM=new WeakMap;function LM(e){return IM.get(e)??0}function RM(e,t){let n=t(LM(e));return n<=0?IM.delete(e):IM.set(e,n),n}var zM=R({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(t,{slots:n,attrs:r}){let i=N(null),a=A(()=>sj(i)),o=EM(),s=Ue(HM,null),c=N(o===!0||s==null?FM(i.value):s.resolveTarget());c.value&&RM(c.value,e=>e+1);let l=N(!1);p(()=>{l.value=!0}),me(()=>{o||s!=null&&(c.value=s.resolveTarget())});let u=Ue(BM,null),d=!1,f=fe();return e(i,()=>{if(d||!u)return;let e=Q(i);e&&(T(u.register(e),f),d=!0)}),T(()=>{var e;let t=a.value?.getElementById(`headlessui-portal-root`);!t||c.value!==t||RM(c.value,e=>e-1)||c.value.children.length>0||(e=c.value.parentElement)==null||e.removeChild(c.value)}),()=>{if(!l.value||c.value===null)return null;let e={ref:i,"data-headlessui-portal":``};return E(je,{to:c.value},Nj({ourProps:e,theirProps:t,slot:{},attrs:r,slots:n,name:`Portal`}))}}}),BM=Symbol(`PortalParentContext`);function VM(){let e=Ue(BM,null),t=N([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,R({name:`PortalWrapper`,setup(e,{slots:t}){return ne(BM,i),()=>t.default?.call(t)}})]}var HM=Symbol(`PortalGroupContext`),UM=R({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return ne(HM,Me({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return Nj({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}}),WM=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(WM||{}),GM=Symbol(`DialogContext`);function KM(e){let t=Ue(GM,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,KM),t}return t}var qM=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,JM=R({name:`Dialog`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:qM},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:`dialog`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-dialog-${tj()}`,o=N(!1);p(()=>{o.value=!0});let s=!1,c=A(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=N(0),u=Wj(),d=A(()=>e.open===qM&&u!==null?(u.value&Uj.Open)===Uj.Open:e.open),f=N(null),m=A(()=>sj(f));if(i({el:f,$el:f}),!(e.open!==qM||u!==null))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===qM?void 0:e.open}`);let h=A(()=>o.value&&d.value?0:1),g=A(()=>h.value===0),_=A(()=>l.value>1),v=Ue(GM,null)!==null,[y,b]=VM(),{resolveContainers:x,mainTreeNodeRef:S,MainTreeNode:C}=CM({portals:y,defaultContainers:[A(()=>ie.panelRef.value??f.value)]}),w=A(()=>_.value?`parent`:`leaf`),T=A(()=>u===null?!1:(u.value&Uj.Closing)===Uj.Closing),ee=A(()=>v||T.value?!1:g.value);SM(A(()=>Array.from(m.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id===`headlessui-portal-root`?!1:e.contains(Q(S))&&e instanceof HTMLElement)??null),ee);let D=A(()=>_.value?!0:g.value);SM(A(()=>Array.from(m.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(Q(S))&&e instanceof HTMLElement)??null),D),jM({type:`Dialog`,enabled:A(()=>h.value===0),element:f,onUpdate:(e,t)=>{if(t===`Dialog`)return nj(e,{[kM.Add]:()=>l.value+=1,[kM.Remove]:()=>--l.value})}});let te=PM({name:`DialogDescription`,slot:A(()=>({open:d.value}))}),re=N(null),ie={titleId:re,panelRef:N(null),dialogState:h,setTitleId(e){re.value!==e&&(re.value=e)},close(){t(`close`,!1)}};ne(GM,ie),Ej(x,(e,t)=>{e.preventDefault(),ie.close(),Te(()=>t?.focus())},A(()=>!(!g.value||_.value)));let ae=A(()=>!(_.value||h.value!==0));return tM(m.value?.defaultView,`keydown`,e=>{ae.value&&(e.defaultPrevented||e.key===Kj.Escape&&(e.preventDefault(),e.stopPropagation(),ie.close()))}),yM(m,A(()=>!(T.value||h.value!==0||v)),e=>({containers:[...e.containers??[],x]})),me(e=>{if(h.value!==0)return;let t=Q(f);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&ie.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:f,id:a,role:c.value,"aria-modal":h.value===0?!0:void 0,"aria-labelledby":re.value,"aria-describedby":te.value},l={open:h.value===0};return E(DM,{force:!0},()=>[E(zM,()=>E(UM,{target:f.value},()=>E(DM,{force:!1},()=>E(oM,{initialFocus:i,containers:x,features:g.value?nj(w.value,{parent:oM.features.RestoreFocus,leaf:oM.features.All&~oM.features.FocusLock}):oM.features.None},()=>E(b,{},()=>Nj({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:h.value===0,features:jj.RenderStrategy|jj.Static,name:`Dialog`})))))),E(C)])}}});R({name:`DialogOverlay`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-overlay-${tj()}`,i=KM(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return Nj({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),R({name:`DialogBackdrop`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-backdrop-${tj()}`,a=KM(`DialogBackdrop`),o=N(null);return r({el:o,$el:o}),p(()=>{if(a.panelRef.value===null)throw Error(`A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.`)}),()=>{let{...r}=e,s={id:i,ref:o,"aria-hidden":!0};return E(DM,{force:!0},()=>E(zM,()=>Nj({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}});var YM=R({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${tj()}`,a=KM(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return Nj({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),XM=R({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${tj()}`,i=KM(`DialogTitle`);return p(()=>{i.setTitleId(r),T(()=>i.setTitleId(null))}),()=>{let{...a}=e;return Nj({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}}),ZM=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function QM(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return ZM.test(i)&&(i=i.replace(ZM,``)),i}function $M(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():QM(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return QM(e).trim()}function eN(e){let t=N(``),n=N(``);return()=>{let r=Q(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=$M(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function tN(e,t){return e===t}var nN=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(nN||{}),rN=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(rN||{}),iN=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(iN||{});function aN(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var oN=Symbol(`ListboxContext`);function sN(e){let t=Ue(oN,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,sN),t}return t}var cN=R({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>tN},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(t,{slots:n,attrs:r,emit:i}){let a=N(1),o=N(null),s=N(null),c=N(null),l=N([]),u=N(``),d=N(null),f=N(1);function m(e=e=>e){let t=d.value===null?null:l.value[d.value],n=yj(e(l.value.slice()),e=>Q(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let h=A(()=>t.multiple?1:0),[g,_]=XA(A(()=>t.modelValue),e=>i(`update:modelValue`,e),A(()=>t.defaultValue)),v=A(()=>g.value===void 0?nj(h.value,{1:[],0:void 0}):g.value),y={listboxState:a,value:v,mode:h,compare(e,n){if(typeof t.by==`string`){let r=t.by;return e?.[r]===n?.[r]}return t.by(e,n)},orientation:A(()=>t.horizontal?`horizontal`:`vertical`),labelRef:o,buttonRef:s,optionsRef:c,disabled:A(()=>t.disabled),options:l,searchQuery:u,activeOptionIndex:d,activationTrigger:f,closeListbox(){t.disabled||a.value!==1&&(a.value=1,d.value=null)},openListbox(){t.disabled||a.value!==0&&(a.value=0)},goToOption(e,n,r){if(t.disabled||a.value===1)return;let i=m(),o=Zj(e===Xj.Specific?{focus:Xj.Specific,id:n}:{focus:e},{resolveItems:()=>i.options,resolveActiveIndex:()=>i.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});u.value=``,d.value=o,f.value=r??1,l.value=i.options},search(e){if(t.disabled||a.value===1)return;let n=u.value===``?1:0;u.value+=e.toLowerCase();let r=(d.value===null?l.value:l.value.slice(d.value+n).concat(l.value.slice(0,d.value+n))).find(e=>e.dataRef.textValue.startsWith(u.value)&&!e.dataRef.disabled),i=r?l.value.indexOf(r):-1;i===-1||i===d.value||(d.value=i,f.value=1)},clearSearch(){t.disabled||a.value!==1&&u.value!==``&&(u.value=``)},registerOption(e,t){let n=m(n=>[...n,{id:e,dataRef:t}]);l.value=n.options,d.value=n.activeOptionIndex},unregisterOption(e){let t=m(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});l.value=t.options,d.value=t.activeOptionIndex,f.value=1},theirOnChange(e){t.disabled||_(e)},select(e){t.disabled||_(nj(h.value,{0:()=>e,1:()=>{let t=Ve(y.value.value).slice(),n=Ve(e),r=t.findIndex(e=>y.compare(n,Ve(e)));return r===-1?t.push(n):t.splice(r,1),t}}))}};Ej([s,c],(e,t)=>{var n;y.closeListbox(),mj(t,pj.Loose)||(e.preventDefault(),(n=Q(s))==null||n.focus())},A(()=>a.value===0)),ne(oN,y),Gj(A(()=>nj(a.value,{0:Uj.Open,1:Uj.Closed})));let b=A(()=>Q(s)?.closest(`form`));return p(()=>{e([b],()=>{if(!b.value||t.defaultValue===void 0)return;function e(){y.theirOnChange(t.defaultValue)}return b.value.addEventListener(`reset`,e),()=>{var t;(t=b.value)==null||t.removeEventListener(`reset`,e)}},{immediate:!0})}),()=>{let{name:e,modelValue:i,disabled:o,form:s,...c}=t,l={open:a.value===0,disabled:o,value:v.value};return E(ue,[...e!=null&&v.value!=null?Qj({[e]:v.value}).map(([e,t])=>E(Vj,Lj({features:Bj.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],Nj({ourProps:{},theirProps:{...r,...Rj(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:n,attrs:r,name:`Listbox`})])}}}),lN=R({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${tj()}`,i=sN(`ListboxLabel`);function a(){var e;(e=Q(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return Nj({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),uN=R({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${tj()}`,a=sN(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Kj.Space:case Kj.Enter:case Kj.ArrowDown:e.preventDefault(),a.openListbox(),Te(()=>{var e;(e=Q(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Xj.First)});break;case Kj.ArrowUp:e.preventDefault(),a.openListbox(),Te(()=>{var e;(e=Q(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Xj.Last)});break}}function s(e){switch(e.key){case Kj.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Te(()=>Q(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),aN(()=>Q(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Oj(A(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return Nj({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":Q(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[Q(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),dN=R({name:`ListboxOptions`,props:{as:{type:[Object,String],default:`ul`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-options-${tj()}`,a=sN(`ListboxOptions`),o=N(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Kj.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Kj.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),Te(()=>Q(a.buttonRef)?.focus({preventScroll:!0})));break;case nj(a.orientation.value,{vertical:Kj.ArrowDown,horizontal:Kj.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Xj.Next);case nj(a.orientation.value,{vertical:Kj.ArrowUp,horizontal:Kj.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Xj.Previous);case Kj.Home:case Kj.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(Xj.First);case Kj.End:case Kj.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(Xj.Last);case Kj.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Te(()=>Q(a.buttonRef)?.focus({preventScroll:!0}));break;case Kj.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=Wj(),l=A(()=>c===null?a.listboxState.value===0:(c.value&Uj.Open)===Uj.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return Nj({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":Q(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:jj.RenderStrategy|jj.Static,visible:l.value,name:`ListboxOptions`})}}}),fN=R({name:`ListboxOption`,props:{as:{type:[Object,String],default:`li`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(t,{slots:n,attrs:r,expose:i}){let a=t.id??`headlessui-listbox-option-${tj()}`,o=sN(`ListboxOption`),s=N(null);i({el:s,$el:s});let c=A(()=>o.activeOptionIndex.value===null?!1:o.options.value[o.activeOptionIndex.value].id===a),l=A(()=>nj(o.mode.value,{0:()=>o.compare(Ve(o.value.value),Ve(t.value)),1:()=>Ve(o.value.value).some(e=>o.compare(Ve(e),Ve(t.value)))})),u=A(()=>nj(o.mode.value,{1:()=>{let e=Ve(o.value.value);return o.options.value.find(t=>e.some(e=>o.compare(Ve(e),Ve(t.dataRef.value))))?.id===a},0:()=>l.value})),d=eN(s),f=A(()=>({disabled:t.disabled,value:t.value,get textValue(){return d()},domRef:s}));p(()=>o.registerOption(a,f)),T(()=>o.unregisterOption(a)),p(()=>{e([o.listboxState,l],()=>{o.listboxState.value===0&&l.value&&nj(o.mode.value,{1:()=>{u.value&&o.goToOption(Xj.Specific,a)},0:()=>{o.goToOption(Xj.Specific,a)}})},{immediate:!0})}),me(()=>{o.listboxState.value===0&&c.value&&o.activationTrigger.value!==0&&Te(()=>{var e;return((e=Q(s))?.scrollIntoView)?.call(e,{block:`nearest`})})});function m(e){if(t.disabled)return e.preventDefault();o.select(t.value),o.mode.value===0&&(o.closeListbox(),Te(()=>Q(o.buttonRef)?.focus({preventScroll:!0})))}function h(){if(t.disabled)return o.goToOption(Xj.Nothing);o.goToOption(Xj.Specific,a)}let g=Aj();function _(e){g.update(e)}function v(e){g.wasMoved(e)&&(t.disabled||c.value||o.goToOption(Xj.Specific,a,0))}function y(e){g.wasMoved(e)&&(t.disabled||c.value&&o.goToOption(Xj.Nothing))}return()=>{let{disabled:e}=t,i={active:c.value,selected:l.value,disabled:e},{value:o,disabled:u,...d}=t;return Nj({ourProps:{id:a,ref:s,role:`option`,tabIndex:e===!0?void 0:-1,"aria-disabled":e===!0?!0:void 0,"aria-selected":l.value,disabled:void 0,onClick:m,onFocus:h,onPointerenter:_,onMouseenter:_,onPointermove:v,onMousemove:v,onPointerleave:y,onMouseleave:y},theirProps:d,slot:i,attrs:r,slots:n,name:`ListboxOption`})}}}),pN=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(pN||{}),mN=Symbol(`PopoverContext`);function hN(e){let t=Ue(mN,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${bN.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,hN),t}return t}var gN=Symbol(`PopoverGroupContext`);function _N(){return Ue(gN,null)}var vN=Symbol(`PopoverPanelContext`);function yN(){return Ue(vN,null)}var bN=R({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=N(null);r({el:i,$el:i});let a=N(1),o=N(null),s=N(null),c=N(null),l=N(null),u=A(()=>sj(i)),d=A(()=>{var e,t;if(!Q(o)||!Q(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(Q(o)))^Number(e?.contains(Q(l))))return!0;let n=fj(),r=n.indexOf(Q(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=Q(l))!=null&&e.contains(s))&&!((t=Q(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:N(null),panelId:N(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=nj(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(()=>e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?Q(e):Q(f.button):Q(f.button))()?.focus()}};ne(mN,f),Gj(A(()=>nj(a.value,{0:Uj.Open,1:Uj.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=_N(),h=m?.registerPopover,[g,_]=VM(),v=CM({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(Q(o)?.contains(u.value.activeElement)||Q(l)?.contains(u.value.activeElement)))}return me(()=>h?.(p)),tM(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=Q(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=Q(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),Ej(v.resolveContainers,(e,t)=>{var n;f.closePopover(),mj(t,pj.Loose)||(e.preventDefault(),(n=Q(o))==null||n.focus())},A(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return E(ue,[E(_,{},()=>Nj({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),E(v.MainTreeNode)])}}}),xN=R({name:`PopoverButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-button-${tj()}`,a=hN(`PopoverButton`),o=A(()=>sj(a.button));r({el:a.button,$el:a.button}),p(()=>{a.buttonId.value=i}),T(()=>{a.buttonId.value=null});let s=_N()?.closeOthers,c=yN(),l=A(()=>c===null?!1:c.value===a.panelId.value),u=N(null),d=`headlessui-focus-sentinel-${tj()}`;l.value||me(()=>{a.button.value=Q(u)});let f=Oj(A(()=>({as:e.as,type:t.type})),u);function m(e){var t,n,r,i,c;if(l.value){if(a.popoverState.value===1)return;switch(e.key){case Kj.Space:case Kj.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=Q(a.button))==null||r.focus();break}}else switch(e.key){case Kj.Space:case Kj.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Kj.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!Q(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=Q(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function h(e){l.value||e.key===Kj.Space&&e.preventDefault()}function g(t){var n,r;e.disabled||(l.value?(a.closePopover(),(n=Q(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=Q(a.button))==null||r.focus()))}function _(e){e.preventDefault(),e.stopPropagation()}let v=rM();function y(){let e=Q(a.panel);if(!e)return;function t(){nj(v.value,{[nM.Forwards]:()=>bj(e,lj.First),[nM.Backwards]:()=>bj(e,lj.Last)})===uj.Error&&bj(fj().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),nj(v.value,{[nM.Forwards]:lj.Next,[nM.Backwards]:lj.Previous}),{relativeTo:Q(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return E(ue,[Nj({ourProps:l.value?{ref:u,type:f.value,onKeydown:m,onClick:g}:{ref:u,id:i,type:f.value,"aria-expanded":a.popoverState.value===0,"aria-controls":Q(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:h,onClick:g,onMousedown:_},theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!l.value&&a.isPortalled.value&&E(Vj,{id:d,features:Bj.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:y})])}}});R({name:`PopoverOverlay`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=hN(`PopoverOverlay`),i=`headlessui-popover-overlay-${tj()}`,a=Wj(),o=A(()=>a===null?r.popoverState.value===0:(a.value&Uj.Open)===Uj.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return Nj({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:jj.RenderStrategy|jj.Static,visible:o.value,name:`PopoverOverlay`})}}});var SN=R({name:`PopoverPanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-panel-${tj()}`,{focus:a}=e,o=hN(`PopoverPanel`),s=A(()=>sj(o.panel)),c=`headlessui-focus-sentinel-before-${tj()}`,l=`headlessui-focus-sentinel-after-${tj()}`;r({el:o.panel,$el:o.panel}),p(()=>{o.panelId.value=i}),T(()=>{o.panelId.value=null}),ne(vN,o.panelId),me(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=Q(o.panel))!=null&&e.contains(t)||bj(Q(o.panel),lj.First)});let u=Wj(),d=A(()=>u===null?o.popoverState.value===0:(u.value&Uj.Open)===Uj.Open);function f(e){var t,n;switch(e.key){case Kj.Escape:if(o.popoverState.value!==0||!Q(o.panel)||s.value&&!((t=Q(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=Q(o.button))==null||n.focus();break}}function m(e){var t,n,r,i,a;let s=e.relatedTarget;s&&Q(o.panel)&&((t=Q(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=Q(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=Q(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let h=rM();function g(){let e=Q(o.panel);if(!e)return;function t(){nj(h.value,{[nM.Forwards]:()=>{var t;bj(e,lj.First)===uj.Error&&((t=Q(o.afterPanelSentinel))==null||t.focus())},[nM.Backwards]:()=>{var e;(e=Q(o.button))==null||e.focus({preventScroll:!0})}})}t()}function _(){let e=Q(o.panel);if(!e)return;function t(){nj(h.value,{[nM.Forwards]:()=>{let e=Q(o.button),t=Q(o.panel);if(!e)return;let n=fj(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}bj(a,lj.First,{sorted:!1})},[nM.Backwards]:()=>{var t;bj(e,lj.Previous)===uj.Error&&((t=Q(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...u}=e;return Nj({ourProps:{ref:o.panel,id:i,onKeydown:f,onFocusout:a&&o.popoverState.value===0?m:void 0,tabIndex:-1},theirProps:{...t,...u},attrs:t,slot:r,slots:{...n,default:(...e)=>[E(ue,[d.value&&o.isPortalled.value&&E(Vj,{id:c,ref:o.beforePanelSentinel,features:Bj.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g}),n.default?.call(n,...e),d.value&&o.isPortalled.value&&E(Vj,{id:l,ref:o.afterPanelSentinel,features:Bj.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:_})])]},features:jj.RenderStrategy|jj.Static,visible:d.value,name:`PopoverPanel`})}}});R({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=N(null),a=ce([]),o=A(()=>sj(i)),s=wM();r({el:i,$el:i});function c(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)}function l(e){return a.value.push(e),()=>{c(e)}}function u(){var e;let t=o.value;if(!t)return!1;let n=t.activeElement;return(e=Q(i))!=null&&e.contains(n)?!0:a.value.some(e=>t.getElementById(e.buttonId.value)?.contains(n)||t.getElementById(e.panelId.value)?.contains(n))}function d(e){for(let t of a.value)t.buttonId.value!==e&&t.close()}return ne(gN,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>E(ue,[Nj({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),E(s.MainTreeNode)])}});var CN=[`top`,`right`,`bottom`,`left`],wN=Math.min,TN=Math.max,EN=Math.round,DN=Math.floor,ON=e=>({x:e,y:e}),kN={left:`right`,right:`left`,bottom:`top`,top:`bottom`},AN={start:`end`,end:`start`};function jN(e,t,n){return TN(e,wN(t,n))}function MN(e,t){return typeof e==`function`?e(t):e}function NN(e){return e.split(`-`)[0]}function PN(e){return e.split(`-`)[1]}function FN(e){return e===`x`?`y`:`x`}function IN(e){return e===`y`?`height`:`width`}var LN=new Set([`top`,`bottom`]);function RN(e){return LN.has(NN(e))?`y`:`x`}function zN(e){return FN(RN(e))}function BN(e,t,n){n===void 0&&(n=!1);let r=PN(e),i=zN(e),a=IN(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=YN(o)),[o,YN(o)]}function VN(e){let t=YN(e);return[HN(e),t,HN(t)]}function HN(e){return e.replace(/start|end/g,e=>AN[e])}var UN=[`left`,`right`],WN=[`right`,`left`],GN=[`top`,`bottom`],KN=[`bottom`,`top`];function qN(e,t,n){switch(e){case`top`:case`bottom`:return n?t?WN:UN:t?UN:WN;case`left`:case`right`:return t?GN:KN;default:return[]}}function JN(e,t,n,r){let i=PN(e),a=qN(NN(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(HN)))),a}function YN(e){return e.replace(/left|right|bottom|top/g,e=>kN[e])}function XN(e){return{top:0,right:0,bottom:0,left:0,...e}}function ZN(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:XN(e)}function QN(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function $N(e,t,n){let{reference:r,floating:i}=e,a=RN(t),o=zN(t),s=IN(o),c=NN(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(PN(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function eP(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=MN(t,e),p=ZN(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=QN(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=QN(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var tP=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=$N(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:{...o,detectOverflow:o.detectOverflow??eP},elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=$N(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}},nP=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=MN(e,t)||{};if(l==null)return{};let d=ZN(u),f={x:n,y:r},p=zN(i),m=IN(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=wN(d[_],T),E=wN(d[v],T),D=ee,te=C-h[m]-E,ne=C/2-h[m]/2+w,re=jN(D,ne,te),ie=!c.arrow&&PN(i)!=null&&ne!==re&&a.reference[m]/2-(ne<D?ee:E)-h[m]/2<0,ae=ie?ne<D?ne-D:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),rP=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=MN(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=NN(r),_=RN(o),v=NN(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[YN(o)]:VN(o)),x=p!==`none`;!d&&x&&b.push(...JN(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=BN(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==RN(t))||T.every(e=>RN(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=RN(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function iP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function aP(e){return CN.some(t=>e[t]>=0)}var oP=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=MN(e,t);switch(i){case`referenceHidden`:{let e=iP(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:aP(e)}}}case`escaped`:{let e=iP(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:aP(e)}}}default:return{}}}}},sP=new Set([`left`,`top`]);async function cP(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=NN(n),s=PN(n),c=RN(n)===`y`,l=sP.has(o)?-1:1,u=a&&c?-1:1,d=MN(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var lP=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await cP(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},uP=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=MN(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=RN(NN(i)),p=FN(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=jN(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=jN(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},dP=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=MN(e,t),u={x:n,y:r},d=RN(i),f=FN(d),p=u[f],m=u[d],h=MN(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=sP.has(NN(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},fP=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=MN(e,t),u=await o.detectOverflow(t,l),d=NN(i),f=PN(i),p=RN(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=wN(h-u[g],v),x=wN(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=TN(u.left,0),t=TN(u.right,0),n=TN(u.top,0),r=TN(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:TN(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:TN(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function pP(){return typeof window<`u`}function mP(e){return _P(e)?(e.nodeName||``).toLowerCase():`#document`}function hP(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gP(e){return((_P(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function _P(e){return pP()?e instanceof Node||e instanceof hP(e).Node:!1}function vP(e){return pP()?e instanceof Element||e instanceof hP(e).Element:!1}function yP(e){return pP()?e instanceof HTMLElement||e instanceof hP(e).HTMLElement:!1}function bP(e){return!pP()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof hP(e).ShadowRoot}var xP=new Set([`inline`,`contents`]);function SP(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=FP(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!xP.has(i)}var CP=new Set([`table`,`td`,`th`]);function wP(e){return CP.has(mP(e))}var TP=[`:popover-open`,`:modal`];function EP(e){return TP.some(t=>{try{return e.matches(t)}catch{return!1}})}var DP=[`transform`,`translate`,`scale`,`rotate`,`perspective`],OP=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],kP=[`paint`,`layout`,`strict`,`content`];function AP(e){let t=MP(),n=vP(e)?FP(e):e;return DP.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||OP.some(e=>(n.willChange||``).includes(e))||kP.some(e=>(n.contain||``).includes(e))}function jP(e){let t=LP(e);for(;yP(t)&&!PP(t);){if(AP(t))return t;if(EP(t))return null;t=LP(t)}return null}function MP(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var NP=new Set([`html`,`body`,`#document`]);function PP(e){return NP.has(mP(e))}function FP(e){return hP(e).getComputedStyle(e)}function IP(e){return vP(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function LP(e){if(mP(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||bP(e)&&e.host||gP(e);return bP(t)?t.host:t}function RP(e){let t=LP(e);return PP(t)?e.ownerDocument?e.ownerDocument.body:e.body:yP(t)&&SP(t)?t:RP(t)}function zP(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=RP(e),i=r===e.ownerDocument?.body,a=hP(r);if(i){let e=BP(a);return t.concat(a,a.visualViewport||[],SP(r)?r:[],e&&n?zP(e):[])}return t.concat(r,zP(r,[],n))}function BP(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function VP(e){let t=FP(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=yP(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=EN(n)!==a||EN(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function HP(e){return vP(e)?e:e.contextElement}function UP(e){let t=HP(e);if(!yP(t))return ON(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=VP(t),o=(a?EN(n.width):n.width)/r,s=(a?EN(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var WP=ON(0);function GP(e){let t=hP(e);return!MP()||!t.visualViewport?WP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==hP(e)?!1:t}function qP(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=HP(e),o=ON(1);t&&(r?vP(r)&&(o=UP(r)):o=UP(e));let s=KP(a,n,r)?GP(a):ON(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=hP(a),t=r&&vP(r)?hP(r):r,n=e,i=BP(n);for(;i&&r&&t!==n;){let e=UP(i),t=i.getBoundingClientRect(),r=FP(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=hP(i),i=BP(n)}}return QN({width:u,height:d,x:c,y:l})}function JP(e,t){let n=IP(e).scrollLeft;return t?t.left+n:qP(gP(e)).left+n}function YP(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-JP(e,n),y:n.top+t.scrollTop}}function XP(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=gP(r),s=t?EP(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ON(1),u=ON(0),d=yP(r);if((d||!d&&!a)&&((mP(r)!==`body`||SP(o))&&(c=IP(r)),yP(r))){let e=qP(r);l=UP(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?YP(o,c):ON(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ZP(e){return Array.from(e.getClientRects())}function QP(e){let t=gP(e),n=IP(e),r=e.ownerDocument.body,i=TN(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=TN(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+JP(e),s=-n.scrollTop;return FP(r).direction===`rtl`&&(o+=TN(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var $P=25;function eF(e,t){let n=hP(e),r=gP(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=MP();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=JP(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=$P&&(a-=o)}else l<=$P&&(a+=l);return{width:a,height:o,x:s,y:c}}var tF=new Set([`absolute`,`fixed`]);function nF(e,t){let n=qP(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=yP(e)?UP(e):ON(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function rF(e,t,n){let r;if(t===`viewport`)r=eF(e,n);else if(t===`document`)r=QP(gP(e));else if(vP(t))r=nF(t,n);else{let n=GP(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return QN(r)}function iF(e,t){let n=LP(e);return n===t||!vP(n)||PP(n)?!1:FP(n).position===`fixed`||iF(n,t)}function aF(e,t){let n=t.get(e);if(n)return n;let r=zP(e,[],!1).filter(e=>vP(e)&&mP(e)!==`body`),i=null,a=FP(e).position===`fixed`,o=a?LP(e):e;for(;vP(o)&&!PP(o);){let t=FP(o),n=AP(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&tF.has(i.position)||SP(o)&&!n&&iF(e,o))?r=r.filter(e=>e!==o):i=t,o=LP(o)}return t.set(e,r),r}function oF(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?EP(t)?[]:aF(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=rF(t,n,i);return e.top=TN(r.top,e.top),e.right=wN(r.right,e.right),e.bottom=wN(r.bottom,e.bottom),e.left=TN(r.left,e.left),e},rF(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function sF(e){let{width:t,height:n}=VP(e);return{width:t,height:n}}function cF(e,t,n){let r=yP(t),i=gP(t),a=n===`fixed`,o=qP(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ON(0);function l(){c.x=JP(i)}if(r||!r&&!a)if((mP(t)!==`body`||SP(i))&&(s=IP(t)),r){let e=qP(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?YP(i,s):ON(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function lF(e){return FP(e).position===`static`}function uF(e,t){if(!yP(e)||FP(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return gP(e)===n&&(n=n.ownerDocument.body),n}function dF(e,t){let n=hP(e);if(EP(e))return n;if(!yP(e)){let t=LP(e);for(;t&&!PP(t);){if(vP(t)&&!lF(t))return t;t=LP(t)}return n}let r=uF(e,t);for(;r&&wP(r)&&lF(r);)r=uF(r,t);return r&&PP(r)&&lF(r)&&!AP(r)?n:r||jP(e)||n}var fF=async function(e){let t=this.getOffsetParent||dF,n=this.getDimensions,r=await n(e.floating);return{reference:cF(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function pF(e){return FP(e).direction===`rtl`}var mF={convertOffsetParentRelativeRectToViewportRelativeRect:XP,getDocumentElement:gP,getClippingRect:oF,getOffsetParent:dF,getElementRects:fF,getClientRects:ZP,getDimensions:sF,getScale:UP,isElement:vP,isRTL:pF};function hF(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gF(e,t){let n=null,r,i=gP(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=DN(d),h=DN(i.clientWidth-(u+f)),g=DN(i.clientHeight-(d+p)),_=DN(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:TN(0,wN(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!hF(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function _F(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=HP(e),u=i||a?[...l?zP(l):[],...zP(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?gF(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?qP(e):null;c&&g();function g(){let t=qP(e);h&&!hF(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var vF=lP,yF=uP,bF=rP,xF=fP,SF=oP,CF=nP,wF=dP,TF=(e,t,n)=>{let r=new Map,i={platform:mF,...n},a={...i.platform,_c:r};return tP(e,t,{...i,platform:a})};function EF(e){return typeof e==`object`&&!!e&&`$el`in e}function DF(e){if(EF(e)){let t=e.$el;return _P(t)&&mP(t)===`#comment`?null:t}return e}function OF(e){return typeof e==`function`?e():i(e)}function kF(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function AF(e,t){let n=kF(e);return Math.round(t*n)/n}function jF(t,n,r){r===void 0&&(r={});let i=r.whileElementsMounted,a=A(()=>OF(r.open)??!0),o=A(()=>OF(r.middleware)),s=A(()=>OF(r.placement)??`bottom`),c=A(()=>OF(r.strategy)??`absolute`),l=A(()=>OF(r.transform)??!0),u=A(()=>DF(t.value)),d=A(()=>DF(n.value)),f=N(0),p=N(0),m=N(c.value),h=N(s.value),g=ce({}),_=N(!1),v=A(()=>{let e={position:m.value,left:`0`,top:`0`};if(!d.value)return e;let t=AF(d.value,f.value),n=AF(d.value,p.value);return l.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...kF(d.value)>=1.5&&{willChange:`transform`}}:{position:m.value,left:t+`px`,top:n+`px`}}),y;function b(){if(u.value==null||d.value==null)return;let e=a.value;TF(u.value,d.value,{middleware:o.value,placement:s.value,strategy:c.value}).then(t=>{f.value=t.x,p.value=t.y,m.value=t.strategy,h.value=t.placement,g.value=t.middlewareData,_.value=e!==!1})}function x(){typeof y==`function`&&(y(),y=void 0)}function S(){if(x(),i===void 0){b();return}if(u.value!=null&&d.value!=null){y=i(u.value,d.value,b);return}}function C(){a.value||(_.value=!1)}return e([o,s,c,a],b,{flush:`sync`}),e([u,d],S,{flush:`sync`}),e(a,C,{flush:`sync`}),Ie()&&ge(x),{x:_e(f),y:_e(p),strategy:_e(m),placement:_e(h),middlewareData:_e(g),isPositioned:_e(_),floatingStyles:v,update:b}}function MF(t,n={enabled:N(!0)}){let r=N(0),i=N(0),a=N();return typeof ResizeObserver<`u`&&(a.value=new ResizeObserver(([e])=>{e&&(r.value=e.borderBoxSize[0]?.inlineSize??0,i.value=e.borderBoxSize[0]?.blockSize??0)})),e([()=>We(n.enabled),()=>We(t)],([e,t])=>{!t||!a.value||(e?a.value.observe(t):a.value.disconnect())},{immediate:!0}),{width:A(()=>We(n.enabled)?`${r.value}px`:void 0),height:A(()=>We(n.enabled)?`${i.value}px`:void 0)}}var NF=Symbol(),PF=()=>Ue(NF,`body`),FF=e=>{let t=e??`scalar-teleport-${Ik()}`;return ne(NF,`#${t}`),t},IF=R({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=PF();return(n,a)=>(r(),I(je,{defer:!e.immediate,disabled:e.disabled,to:e.to||i(t)},[P(`div`,C({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[D(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}}),LF=R({inheritAttrs:!1,__name:`ScalarFloating`,props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let n=N(null),a=N(null),o=A(()=>{if(typeof window<`u`&&a.value){if(typeof e.target==`string`){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=a.value.children?.[0];return t instanceof HTMLElement?t:a.value}}),c=MF(o,{enabled:A(()=>e.resize)}),l=A(()=>RN(e.placement??`bottom`)===`y`?c.width.value:void 0),u=A(()=>RN(e.placement??`bottom`)===`x`?c.height.value:void 0),{floatingStyles:d,middlewareData:f}=jF(o,n,{placement:A(()=>e.placement??`bottom`),whileElementsMounted:_F,middleware:A(()=>[vF(e.offset),bF(),yF({padding:10}),xF({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-20}px`,maxHeight:`${Math.max(0,t)-20}px`})}}),...e.middleware])});return t({targetRef:o}),(t,o)=>(r(),M(ue,null,[P(`div`,{ref_key:`wrapperRef`,ref:a,class:s({contents:!!t.$slots.default})},[D(t.$slots,`default`)],2),t.$slots.floating?(r(),I(i(IF),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:F(()=>[P(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:S(i(d))},[D(t.$slots,`floating`,{data:i(f),height:u.value,width:l.value})],4)]),_:3},8,[`disabled`,`to`])):j(``,!0)],64))}}),RF=R({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`div`,a(L(i(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[D(e.$slots,`default`)],16))}}),zF=R({inheritAttrs:!1,__name:`ScalarComboboxPopover`,props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:n}=V(),o=N(null),s=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:o}),(e,t)=>(r(),I(i(bN),{as:`template`},{default:F(({open:t})=>[k(i(LF),a(L(e.$props)),De({default:F(()=>[k(i(xN),{ref_key:`popoverButtonRef`,ref:o,as:`template`,onKeydown:s},{default:F(()=>[D(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:F(({width:r})=>[k(i(SN),C({style:{width:r}},i(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:F(({close:n})=>[D(e.$slots,`popover`,{close:n,open:t}),k(i(RF))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}}),BF=R({__name:`ScalarCombobox`,props:o({options:{},placeholder:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:o([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,i=ie(e,`modelValue`);return(t,o)=>(r(),I(zF,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:F(({open:e})=>[D(t.$slots,`default`,{open:e})]),popover:F(({open:r,close:o})=>[k(YA,{modelValue:i.value?[i.value]:[],open:r,options:e.options,placeholder:e.placeholder,onAdd:()=>(o(),n(`add`)),"onUpdate:modelValue":e=>(o(),i.value=e[0])},De({_:2},[t.$slots.option?{name:`option`,fn:F(e=>[D(t.$slots,`option`,a(L(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:F(e=>[D(t.$slots,`group`,a(L(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:F(e=>[D(t.$slots,`add`,a(L(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),VF=R({__name:`ScalarComboboxMultiselect`,props:o({options:{},placeholder:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:o([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let i=n,o=ie(e,`modelValue`),s=N(null);return t({comboboxPopoverRef:s}),(t,n)=>(r(),I(zF,{ref_key:`comboboxPopoverRef`,ref:s,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:F(({open:e})=>[D(t.$slots,`default`,{open:e})]),popover:F(({open:s})=>[e.options?.length?(r(),I(YA,{key:0,modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,multiselect:``,open:s,options:e.options,placeholder:e.placeholder,onAdd:n[1]||=e=>i(`add`)},De({_:2},[t.$slots.option?{name:`option`,fn:F(e=>[D(t.$slots,`option`,a(L(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:F(e=>[D(t.$slots,`group`,a(L(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:F(e=>[D(t.$slots,`add`,a(L(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`open`,`options`,`placeholder`])):j(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}});function HF(e,t){return e-t*Math.floor(e/t)}var UF=1721426;function WF(e,t,n,r){t=KF(e,t);let i=t-1,a=-2;return n<=2?a=0:GF(t)&&(a=-1),UF-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function GF(e){return e%4==0&&(e%100!=0||e%400==0)}function KF(e,t){return e===`BC`?1-t:t}function qF(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var JF={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},YF=class{fromJulianDay(e){let t=e,n=t-UF,r=Math.floor(n/146097),i=HF(n,146097),a=Math.floor(i/36524),o=HF(i,36524),s=Math.floor(o/1461),c=HF(o,1461),l=Math.floor(c/365),[u,d]=qF(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-WF(u,d,1,1),p=2;t<WF(u,d,3,1)?p=0:GF(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new YI(u,d,m,t-WF(u,d,m,1)+1)}toJulianDay(e){return WF(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return JF[GF(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return GF(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function XF(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function ZF(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function QF(e,t){return $F(e)-$F(t)}function $F(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var eI=null;function tI(){return eI??=new Intl.DateTimeFormat().resolvedOptions().timeZone,eI}function nI(e){return e=mI(e,new YF),rI(KF(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function rI(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function iI(e,t){if(t===`UTC`)return 0;if(e>0&&t===tI())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=oI(e,t);return rI(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var aI=new Map;function oI(e,t){let n=aI.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),aI.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var sI=864e5;function cI(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>lI(e,t,n))}function lI(e,t,n){let r=oI(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function uI(e,t,n=`compatible`){let r=pI(e);if(t===`UTC`)return nI(r);if(t===tI()&&n===`compatible`){r=mI(r,new YF);let e=new Date,t=KF(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=nI(r),a=iI(i-sI,t),o=iI(i+sI,t),s=cI(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function dI(e,t,n=`compatible`){return new Date(uI(e,t,n))}function fI(e,t){let n=iI(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new $I(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function pI(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new ZI(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function mI(e,t){if(XF(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,wI(r),r}function hI(e,t,n){return e instanceof $I?e.timeZone===t?e:_I(e,t):fI(uI(e,t,n),t)}function gI(e){let t=nI(e)-e.offset;return new Date(t)}function _I(e,t){return mI(fI(nI(e)-e.offset,t),e.calendar)}var vI=36e5;function yI(e,t){let n=e.copy(),r=`hour`in n?MI(n,t):0;bI(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,xI(n),CI(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,SI(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function bI(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function xI(e){for(;e.month<1;)bI(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,bI(e,1)}function SI(e){for(;e.day<1;)e.month--,xI(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,xI(e)}function CI(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function wI(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),CI(e)}function TI(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function EI(e,t){return yI(e,TI(t))}function DI(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),wI(n),n}function OI(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),AI(n),n}function kI(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=jI(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=jI(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=jI(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=jI(e.hour,24),t}function AI(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function jI(e,t){let n=e%t;return n<0&&(n+=t),n}function MI(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,kI(e)}function NI(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=FI(a,n,0,t.length-1,r?.round),i.era=t[a],wI(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=FI(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=FI(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=FI(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),wI(i),i}function PI(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=FI(t,n,a,o,r?.round);break}case`minute`:i.minute=FI(e.minute,n,0,59,r?.round);break;case`second`:i.second=FI(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=FI(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function FI(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function II(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?uI(yI(pI(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):nI(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,mI(fI(n,e.timeZone),e.calendar)}function LI(e,t){return II(e,TI(t))}function RI(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=pI(e),o=mI(OI(a,{hour:t}),new YF),s=[uI(o,e.timeZone,`earlier`),uI(o,e.timeZone,`later`)].filter(t=>fI(t,e.timeZone).day===o.day)[0],c=mI(OI(a,{hour:i}),new YF),l=[uI(c,e.timeZone,`earlier`),uI(c,e.timeZone,`later`)].filter(t=>fI(t,e.timeZone).day===c.day).pop(),u=nI(e)-e.offset,d=Math.floor(u/vI),f=u%vI;return u=FI(d,n,Math.floor(s/vI),Math.floor(l/vI),r?.round)*vI+f,mI(fI(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return PI(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return mI(fI(uI(NI(pI(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function zI(e,t,n){let r=pI(e),i=OI(DI(r,t),t);return i.compare(r)===0?e:mI(fI(uI(i,e.timeZone,n),e.timeZone),e.calendar)}function BI(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function VI(e){let t=mI(e,new YF),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function HI(e){return`${VI(e)}T${BI(e)}`}function UI(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function WI(e){return`${HI(e)}${UI(e.offset)}[${e.timeZone}]`}function GI(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function KI(e,t,n){GI(e,t),t.set(e,n)}function qI(e){let t=typeof e[0]==`object`?e.shift():new YF,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var JI=new WeakMap,YI=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return yI(this,e)}subtract(e){return EI(this,e)}set(e){return DI(this,e)}cycle(e,t,n){return NI(this,e,t,n)}toDate(e){return dI(this,e)}toString(){return VI(this)}compare(e){return ZF(this,e)}constructor(...e){KI(this,JI,{writable:!0,value:void 0});let[t,n,r,i,a]=qI(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,wI(this)}},XI=new WeakMap,ZI=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return yI(this,e)}subtract(e){return EI(this,e)}set(e){return DI(OI(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return NI(this,e,t,n);default:return PI(this,e,t,n)}}toDate(e,t){return dI(this,e,t)}toString(){return HI(this)}compare(e){let t=ZF(this,e);return t===0?QF(this,pI(e)):t}constructor(...e){KI(this,XI,{writable:!0,value:void 0});let[t,n,r,i,a]=qI(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,wI(this)}},QI=new WeakMap,$I=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return II(this,e)}subtract(e){return LI(this,e)}set(e,t){return zI(this,e,t)}cycle(e,t,n){return RI(this,e,t,n)}toDate(){return gI(this)}toString(){return WI(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-hI(e,this.timeZone).toDate().getTime()}constructor(...e){KI(this,QI,{writable:!0,value:void 0});let[t,n,r,i,a]=qI(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,wI(this)}},eL=1080,tL=24*eL,nL=29,rL=12*eL+793;nL*tL+rL;function iL(e){return typeof e==`object`&&!!e&&`$el`in e}function aL(e){if(iL(e)){let t=e.$el;return _P(t)&&mP(t)===`#comment`?null:t}return e}function oL(e){return typeof e==`function`?e():i(e)}function sL(e){return{name:`arrow`,options:e,fn(t){let n=aL(oL(e.element));return n==null?{}:CF({element:n,padding:e.padding}).fn(t)}}}function cL(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lL(e,t){let n=cL(e);return Math.round(t*n)/n}function uL(t,n,r){r===void 0&&(r={});let i=r.whileElementsMounted,a=A(()=>oL(r.open)??!0),o=A(()=>oL(r.middleware)),s=A(()=>oL(r.placement)??`bottom`),c=A(()=>oL(r.strategy)??`absolute`),l=A(()=>oL(r.transform)??!0),u=A(()=>aL(t.value)),d=A(()=>aL(n.value)),f=N(0),p=N(0),m=N(c.value),h=N(s.value),g=ce({}),_=N(!1),v=A(()=>{let e={position:m.value,left:`0`,top:`0`};if(!d.value)return e;let t=lL(d.value,f.value),n=lL(d.value,p.value);return l.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...cL(d.value)>=1.5&&{willChange:`transform`}}:{position:m.value,left:t+`px`,top:n+`px`}}),y;function b(){if(u.value==null||d.value==null)return;let e=a.value;TF(u.value,d.value,{middleware:o.value,placement:s.value,strategy:c.value}).then(t=>{f.value=t.x,p.value=t.y,m.value=t.strategy,h.value=t.placement,g.value=t.middlewareData,_.value=e!==!1})}function x(){typeof y==`function`&&(y(),y=void 0)}function S(){if(x(),i===void 0){b();return}if(u.value!=null&&d.value!=null){y=i(u.value,d.value,b);return}}function C(){a.value||(_.value=!1)}return e([o,s,c,a],b,{flush:`sync`}),e([u,d],S,{flush:`sync`}),e(a,C,{flush:`sync`}),Ie()&&ge(x),{x:_e(f),y:_e(p),strategy:_e(m),placement:_e(h),middlewareData:_e(g),isPositioned:_e(_),floatingStyles:v,update:b}}var dL=new Map,fL=!1;try{fL=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var pL=!1;try{pL=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var mL={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},hL=class{format(e){let t=``;if(t=!fL&&this.options.signDisplay!=null?_L(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!pL){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=mL[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!fL&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!pL&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=gL(e,t),this.options=t}};function gL(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!pL){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!mL[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(dL.has(r))return dL.get(r);let i=new Intl.NumberFormat(e,t);return dL.set(r,i),i}function _L(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}else return e.format(n)}}var vL=RegExp(`^.*\\(.*\\).*$`),yL=[`latn`,`arab`,`hanidec`,`deva`,`beng`,`fullwide`],bL=class{parse(e){return SL(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return SL(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return SL(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}},xL=new Map;function SL(e,t,n){let r=CL(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of yL)if(i!==r.options.numberingSystem){let r=CL(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function CL(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``),r=xL.get(n);return r||(r=new wL(e,t),xL.set(n,r)),r}var wL=class{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=OL(t,this.symbols.group,``)),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,`-`)),t=t.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=t.indexOf(`-`);t=t.replace(`-`,``),t=t.replace(`+`,``);let n=t.indexOf(`.`);n===-1&&(n=t.length),t=t.replace(`.`,``),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?`0.00`:`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new bL(this.locale,e).parse(new hL(this.locale,e).format(n))}return this.options.currencySign===`accounting`&&vL.test(e)&&(n=-1*n),n}sanitize(e){return e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=e.replace(`,`,this.symbols.decimal),e=e.replace(`،`,this.symbols.decimal)),this.symbols.group&&(e=OL(e,`.`,this.symbols.group))),this.symbols.group===`’`&&e.includes(`'`)&&(e=OL(e,`'`,this.symbols.group)),this.options.locale===`fr-FR`&&this.symbols.group&&(e=OL(e,` `,this.symbols.group),e=OL(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=OL(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}constructor(e,t={}){this.locale=e,t.roundingIncrement!==1&&t.roundingIncrement!=null&&(t.maximumFractionDigits==null&&t.minimumFractionDigits==null?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):t.maximumFractionDigits==null?t.maximumFractionDigits=t.minimumFractionDigits:t.minimumFractionDigits??=t.maximumFractionDigits),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=DL(e,this.formatter,this.options,t),this.options.style===`percent`&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}},TL=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),EL=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function DL(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=EL.map(e=>i.formatToParts(e)),c=a.find(e=>e.type===`minusSign`)?.value??`-`,l=o.find(e=>e.type===`plusSign`)?.value;!l&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(l=`+`);let u=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,d=a.find(e=>e.type===`group`)?.value,f=a.filter(e=>!TL.has(e.type)).map(e=>kL(e.value)),p=s.flatMap(e=>e.filter(e=>!TL.has(e.type)).map(e=>kL(e.value))),m=[...new Set([...f,...p])].sort((e,t)=>t.length-e.length),h=m.length===0?RegExp(`[\\p{White_Space}]`,`gu`):RegExp(`${m.join(`|`)}|[\\p{White_Space}]`,`gu`),g=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(g.map((e,t)=>[e,t])),v=RegExp(`[${g.join(``)}]`,`g`);return{minusSign:c,plusSign:l,decimal:u,group:d,literals:h,numeral:v,index:e=>String(_.get(e))}}function OL(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function kL(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function $(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=Ue(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(ne(r,e),e)]}function AL(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}var jL=[`day`,`month`,`year`],ML=[`hour`,`minute`,`second`,`dayPeriod`];[...jL,...ML];function NL(e,t){let n=ce();return me(()=>{n.value=e()},{...t,flush:`sync`}),Ee(n)}function PL(e){return Ie()?(ge(e),!0):!1}function FL(e){let t=!1,n,r=Ae(!0);return(...i)=>(t||=(n=r.run(()=>e(...i)),!0),n)}function IL(e){let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||=(r=Ae(!0),r.run(()=>e(...a))),PL(i),n)}function LL(e){return typeof e==`function`?e():i(e)}var RL=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var zL=e=>typeof e<`u`,BL=Object.prototype.toString,VL=e=>BL.call(e)===`[object Object]`,HL=()=>{},UL=WL();function WL(){return RL&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function GL(e){return fe()}function KL(e,t=1e4){return le((n,r)=>{let i=LL(e),a,o=()=>setTimeout(()=>{i=LL(e),r()},LL(t));return PL(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function qL(e,t){GL()&&v(e,t)}function JL(e){let t=LL(e);return t?.$el??t}var YL=RL?window:void 0;function XL(...t){let n,r,i,a;if(typeof t[0]==`string`||Array.isArray(t[0])?([r,i,a]=t,n=YL):[n,r,i,a]=t,!n)return HL;Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]);let o=[],s=()=>{o.forEach(e=>e()),o.length=0},c=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),l=e(()=>[JL(n),LL(a)],([e,t])=>{if(s(),!e)return;let n=VL(t)?{...t}:t;o.push(...r.flatMap(t=>i.map(r=>c(e,t,r,n))))},{immediate:!0,flush:`post`}),u=()=>{l(),s()};return PL(u),u}function ZL(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function QL(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=YL,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=ZL(t);return XL(i,a,e=>{e.repeat&&LL(s)||c(e)&&n(e)},o)}function $L(){let e=N(!1),t=fe();return t&&p(()=>{e.value=!0},t),e}function eR(e){return JSON.parse(JSON.stringify(e))}function tR(t,n,r,i={}){let{clone:a=!1,passive:o=!1,eventName:s,deep:c=!1,defaultValue:l,shouldEmit:u}=i,d=fe(),f=r||d?.emit||(d?.$emit)?.bind(d)||(d?.proxy?.$emit)?.bind(d?.proxy),p=s;n||=`modelValue`,p||=`update:${n.toString()}`;let m=e=>a?typeof a==`function`?a(e):eR(e):e,h=()=>zL(t[n])?m(t[n]):l,g=e=>{u?u(e)&&f(p,e):f(p,e)};if(o){let r=N(h()),i=!1;return e(()=>t[n],e=>{i||(i=!0,r.value=m(e),Te(()=>i=!1))}),e(r,e=>{!i&&(e!==t[n]||c)&&g(e)},{deep:c}),r}else return A({get(){return h()},set(e){g(e)}})}function nR(e){return e?e.flatMap(e=>e.type===ue?nR(e.children):[e]):[]}function rR(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}var iR=[`INPUT`,`TEXTAREA`];function aR(e,t,n,r={}){if(!t||r.enableIgnoredElement&&iR.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-radix-vue-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=oR(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function oR(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?oR(e,o,n,r):o:null}function sR(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function cR(e,t,n=`.`,r){if(!sR(t))return cR(e,{},n,r);let i=Object.assign({},t);for(let t in e){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:sR(a)&&sR(i[t])?i[t]=cR(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function lR(e){return(...t)=>t.reduce((t,n)=>cR(t,n,``,e),{})}var uR=lR(),[dR,fR]=$(`ConfigProvider`);Boolean,Object,Function;var pR=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,mR=(e=21)=>{let t=``,n=e;for(;n--;)t+=pR[Math.random()*64|0];return t},hR=IL(()=>{let t=N(new Map),n=N(),r=A(()=>{for(let e of t.value.values())if(e)return!0;return!1}),i=dR({scrollBody:N(!0)}),a=null,o=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.body.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=n.value??``,UL&&a?.(),n.value=void 0};return e(r,(e,t)=>{var r;if(!RL)return;if(!e){t&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=(r=i.scrollBody)!=null&&r.value?typeof i.scrollBody.value==`object`?uR({padding:i.scrollBody.value.padding===!0?s:i.scrollBody.value.padding,margin:i.scrollBody.value.margin===!0?s:i.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.body.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),UL&&(a=XL(document,`touchmove`,e=>vR(e),{passive:!1})),Te(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),t});function gR(e){let t=mR(6),n=hR();n.value.set(t,e??!1);let r=A({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return qL(()=>{n.value.delete(t)}),r}function _R(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:_R(t)}}function vR(e){let t=e||window.event,n=t.target;return n instanceof Element&&_R(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}var yR=`data-radix-vue-collection-item`;function bR(t,n=yR){let r=t??Symbol();return{createCollection:t=>{let i=N([]);function a(){let e=JL(t);return e?i.value=Array.from(e.querySelectorAll(`[${n}]:not([data-disabled])`)):i.value=[]}return b(()=>{i.value=[]}),p(a),Ke(a),e(()=>t?.value,a,{immediate:!0}),ne(r,i),i},injectCollection:()=>Ue(r,N([]))}}function xR(e){let t=dR({dir:N(`ltr`)});return A(()=>e?.value||t.dir?.value||`ltr`)}function SR(e){let t=fe(),r=t?.type.emits,i={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),r?.forEach(t=>{i[n(He(t))]=(...n)=>e(t,...n)}),i}var CR=0;function wR(){me(e=>{if(!RL)return;let t=document.querySelectorAll(`[data-radix-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??TR()),document.body.insertAdjacentElement(`beforeend`,t[1]??TR()),CR++,e(()=>{CR===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),CR--})})}function TR(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function ER(e){let t=fe(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=Ge(e);return A(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[He(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function DR(e,t){let n=ER(e),r=t?SR(t):{};return A(()=>({...n.value,...r}))}function OR(){let e=fe(),t=N(),n=A(()=>[`#text`,`#comment`].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:JL(t)),r=Object.assign({},e.exposed),i={};for(let t in e.props)Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(r).length>0)for(let e in r)Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>r[e]});Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function a(n){t.value=n,n&&(Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),e.exposed=i)}return{forwardRef:a,currentRef:t,currentElement:n}}var kR=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},AR=new WeakMap,jR=new WeakMap,MR={},NR=0,PR=function(e){return e&&(e.host||PR(e.parentNode))},FR=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=PR(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},IR=function(e,t,n,r){var i=FR(t,Array.isArray(e)?e:[e]);MR[n]||(MR[n]=new WeakMap);var a=MR[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(AR.get(e)||0)+1,l=(a.get(e)||0)+1;AR.set(e,c),a.set(e,l),o.push(e),c===1&&i&&jR.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),NR++,function(){o.forEach(function(e){var t=AR.get(e)-1,i=a.get(e)-1;AR.set(e,t),a.set(e,i),t||(jR.has(e)||e.removeAttribute(r),jR.delete(e)),i||e.removeAttribute(n)}),NR--,NR||(AR=new WeakMap,AR=new WeakMap,jR=new WeakMap,MR={})}},LR=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=kR(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live]`))),IR(r,i,n,`aria-hidden`)):function(){return null}};function RR(t){let n;e(()=>JL(t),e=>{e?n=LR(e):n&&n()}),T(()=>{n&&n()})}var zR=0;function BR(e,t=`radix`){if(e)return e;let n=dR({useId:void 0});return ae?`${t}-${ae()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++zR}`}function VR(e){let t=N(),n=A(()=>t.value?.width??0),r=A(()=>t.value?.height??0);return p(()=>{let n=JL(e);if(n){t.value={width:n.offsetWidth,height:n.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}});return e.observe(n,{box:`border-box`}),()=>e.unobserve(n)}else t.value=void 0}),{width:n,height:r}}function HR(e,t){let n=N(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}var UR=`data-item-text`;function WR(e){let t=KL(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(!(e!=null&&e.value)&&!r)return;t.value+=n;let i=e?.value??r,a=rR(),o=i.map(e=>({ref:e,textValue:(e.querySelector(`[${UR}]`)??e).textContent?.trim()??``})),s=o.find(e=>e.ref===a),c=KR(o.map(e=>e.textValue),t.value,s?.textValue),l=o.find(e=>e.textValue===c);return l&&l.ref.focus(),l?.ref},resetTypeahead:()=>{t.value=``}}}function GR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function KR(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=GR(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}var qR=R({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var e,r;if(!n.default)return null;let i=nR(n.default()),a=i.findIndex(e=>e.type!==xe);if(a===-1)return i;let o=i[a];(e=o.props)==null||delete e.ref;let s=o.props?C(t,o.props):t;t.class&&(r=o.props)!=null&&r.class&&delete o.props.class;let c=Le(o,s);for(let e in s)e.startsWith(`on`)&&(c.props||={},c.props[e]=s[e]);return i.length===1?c:(i[a]=c,i)}}}),JR=R({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&[`area`,`img`,`input`].includes(r)?()=>E(r,t):r===`template`?()=>E(qR,t,{default:n.default}):()=>E(e.as,t,{default:n.default})}});function YR(){let e=N();return{primitiveElement:e,currentElement:A(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:JL(e))}}var[XR,ZR]=$(`CollapsibleRoot`);Boolean,Boolean,Boolean,Boolean,Boolean;function QR(t,n){let r=N({}),i=N(`none`),a=N(t),o=t.value?`mounted`:`unmounted`,s,c=n.value?.ownerDocument.defaultView??YL,{state:l,dispatch:u}=HR(o,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),d=e=>{var t;if(RL){let r=new CustomEvent(e,{bubbles:!1,cancelable:!1});(t=n.value)==null||t.dispatchEvent(r)}};e(t,async(e,t)=>{let a=t!==e;if(await Te(),a){let a=i.value,o=$R(n.value);e?(u(`MOUNT`),d(`enter`),o===`none`&&d(`after-enter`)):o===`none`||r.value?.display===`none`?(u(`UNMOUNT`),d(`leave`),d(`after-leave`)):t&&a!==o?(u(`ANIMATION_OUT`),d(`leave`)):(u(`UNMOUNT`),d(`after-leave`))}},{immediate:!0});let f=e=>{let t=$R(n.value),r=t.includes(e.animationName),i=l.value===`mounted`?`enter`:`leave`;if(e.target===n.value&&r&&(d(`after-${i}`),u(`ANIMATION_END`),!a.value)){let e=n.value.style.animationFillMode;n.value.style.animationFillMode=`forwards`,s=c?.setTimeout(()=>{n.value?.style.animationFillMode===`forwards`&&(n.value.style.animationFillMode=e)})}e.target===n.value&&t===`none`&&u(`ANIMATION_END`)},p=e=>{e.target===n.value&&(i.value=$R(n.value))},m=e(n,(e,t)=>{e?(r.value=getComputedStyle(e),e.addEventListener(`animationstart`,p),e.addEventListener(`animationcancel`,f),e.addEventListener(`animationend`,f)):(u(`ANIMATION_END`),s!==void 0&&c?.clearTimeout(s),t?.removeEventListener(`animationstart`,p),t?.removeEventListener(`animationcancel`,f),t?.removeEventListener(`animationend`,f))},{immediate:!0}),h=e(l,()=>{let e=$R(n.value);i.value=l.value===`mounted`?e:`none`});return T(()=>{m(),h()}),{isPresent:A(()=>[`mounted`,`unmountSuspended`].includes(l.value))}}function $R(e){return e&&getComputedStyle(e).animationName||`none`}var ez=R({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r;let{present:i,forceMount:a}=de(e),o=N(),{isPresent:s}=QR(i,o);n({present:s});let c=t.default({present:s});c=nR(c||[]);let l=fe();if(c&&c?.length>1){let e=(r=l?.parent)!=null&&r.type.name?`<${l.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
190
|
+
`)].join(`
|
|
191
|
+
`))}return()=>a.value||i.value||s.value?E(t.default({present:s})[0],{ref:e=>{let t=JL(e);return typeof t?.hasAttribute>`u`||(t!=null&&t.hasAttribute(`data-radix-popper-content-wrapper`)?o.value=t.firstElementChild:o.value=t),t}}):null}});Boolean,Boolean;var[tz,nz]=$(`AccordionRoot`);Boolean,Boolean,Boolean;var[rz,iz]=$(`AccordionItem`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[az,oz]=$(`DialogRoot`);Boolean,Boolean,Boolean,Boolean;var sz=R({__name:`Teleport`,props:{to:{default:`body`},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){let t=$L();return(e,n)=>i(t)||e.forceMount?(r(),I(je,{key:0,to:e.to,disabled:e.disabled},[D(e.$slots,`default`)],8,[`to`,`disabled`])):j(``,!0)}});Boolean,Boolean;var cz=`dismissableLayer.pointerDownOutside`,lz=`dismissableLayer.focusOutside`;function uz(e,t){let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&r===n||i.indexOf(r)<i.indexOf(n))}function dz(e,t){let n=t?.value?.ownerDocument??(globalThis==null?void 0:globalThis.document),r=N(!1),i=N(()=>{});return me(a=>{if(!RL)return;let o=async a=>{let o=a.target;if(t!=null&&t.value){if(uz(t.value,o)){r.value=!1;return}if(a.target&&!r.value){let t=function(){AL(cz,e,r)},r={originalEvent:a};a.pointerType===`touch`?(n.removeEventListener(`click`,i.value),i.value=t,n.addEventListener(`click`,i.value,{once:!0})):t()}else n.removeEventListener(`click`,i.value);r.value=!1}},s=window.setTimeout(()=>{n.addEventListener(`pointerdown`,o)},0);a(()=>{window.clearTimeout(s),n.removeEventListener(`pointerdown`,o),n.removeEventListener(`click`,i.value)})}),{onPointerDownCapture:()=>r.value=!0}}function fz(e,t){let n=t?.value?.ownerDocument??(globalThis==null?void 0:globalThis.document),r=N(!1);return me(i=>{if(!RL)return;let a=async n=>{t!=null&&t.value&&(await Te(),!(!t.value||uz(t.value,n.target))&&n.target&&!r.value&&AL(lz,e,{originalEvent:n}))};n.addEventListener(`focusin`,a),i(()=>n.removeEventListener(`focusin`,a))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}var pz=Me({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mz=R({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,a=t,{forwardRef:o,currentElement:s}=OR(),c=A(()=>s.value?.ownerDocument??globalThis.document),l=A(()=>pz.layersRoot),u=A(()=>s.value?Array.from(l.value).indexOf(s.value):-1),d=A(()=>pz.layersWithOutsidePointerEventsDisabled.size>0),f=A(()=>{let e=Array.from(l.value),[t]=[...pz.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return u.value>=n}),p=dz(async e=>{let t=[...pz.branches].some(t=>t?.contains(e.target));!f.value||t||(a(`pointerDownOutside`,e),a(`interactOutside`,e),await Te(),e.defaultPrevented||a(`dismiss`))},s),m=fz(e=>{[...pz.branches].some(t=>t?.contains(e.target))||(a(`focusOutside`,e),a(`interactOutside`,e),e.defaultPrevented||a(`dismiss`))},s);QL(`Escape`,e=>{u.value===l.value.size-1&&(a(`escapeKeyDown`,e),e.defaultPrevented||a(`dismiss`))});let h;return me(e=>{s.value&&(n.disableOutsidePointerEvents&&(pz.layersWithOutsidePointerEventsDisabled.size===0&&(h=c.value.body.style.pointerEvents,c.value.body.style.pointerEvents=`none`),pz.layersWithOutsidePointerEventsDisabled.add(s.value)),l.value.add(s.value),e(()=>{n.disableOutsidePointerEvents&&pz.layersWithOutsidePointerEventsDisabled.size===1&&(c.value.body.style.pointerEvents=h)}))}),me(e=>{e(()=>{s.value&&(l.value.delete(s.value),pz.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(e,t)=>(r(),I(i(JR),{ref:i(o),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:S({pointerEvents:d.value?f.value?`auto`:`none`:void 0}),onFocusCapture:i(m).onFocusCapture,onBlurCapture:i(m).onBlurCapture,onPointerdownCapture:i(p).onPointerDownCapture},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}});Boolean;var hz=`focusScope.autoFocusOnMount`,gz=`focusScope.autoFocusOnUnmount`,_z={bubbles:!1,cancelable:!0};function vz(e,{select:t=!1}={}){let n=rR();for(let r of e)if(wz(r,{select:t}),rR()!==n)return!0}function yz(e){let t=bz(e);return[xz(t,e),xz(t.reverse(),e)]}function bz(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xz(e,t){for(let n of e)if(!Sz(n,{upTo:t}))return n}function Sz(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Cz(e){return e instanceof HTMLInputElement&&`select`in e}function wz(e,{select:t=!1}={}){if(e&&e.focus){let n=rR();e.focus({preventScroll:!0}),e!==n&&Cz(e)&&t&&e.select()}}var Tz=FL(()=>N([]));function Ez(){let e=Tz();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=Dz(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=Dz(e.value,t),(n=e.value[0])==null||n.resume()}}}function Dz(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Oz(e){return e.filter(e=>e.tagName!==`A`)}var kz=R({__name:`FocusScope`,props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let n=e,a=t,{currentRef:o,currentElement:s}=OR(),c=N(null),l=Ez(),u=Me({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});me(e=>{if(!RL)return;let t=s.value;if(!n.trapped)return;function r(e){if(u.paused||!t)return;let n=e.target;t.contains(n)?c.value=n:wz(c.value,{select:!0})}function i(e){if(u.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||wz(c.value,{select:!0}))}function a(e){t.contains(c.value)||wz(t)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,i);let o=new MutationObserver(a);t&&o.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,i),o.disconnect()})}),me(async e=>{let t=s.value;if(await Te(),!t)return;l.add(u);let n=rR();if(!t.contains(n)){let e=new CustomEvent(hz,_z);t.addEventListener(hz,e=>a(`mountAutoFocus`,e)),t.dispatchEvent(e),e.defaultPrevented||(vz(Oz(bz(t)),{select:!0}),rR()===n&&wz(t))}e(()=>{t.removeEventListener(hz,e=>a(`mountAutoFocus`,e));let e=new CustomEvent(gz,_z),r=e=>{a(`unmountAutoFocus`,e)};t.addEventListener(gz,r),t.dispatchEvent(e),setTimeout(()=>{e.defaultPrevented||wz(n??document.body,{select:!0}),t.removeEventListener(gz,r),l.remove(u)},0)})});function d(e){if(!n.loop&&!n.trapped||u.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=rR();if(t&&r){let t=e.currentTarget,[i,a]=yz(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n.loop&&wz(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n.loop&&wz(a,{select:!0})):r===t&&e.preventDefault()}}return(e,t)=>(r(),I(i(JR),{ref_key:`currentRef`,ref:o,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:d},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),Az=`menu.itemSelect`,jz=[`Enter`,` `],Mz=[`ArrowDown`,`PageUp`,`Home`],Nz=[`ArrowUp`,`PageDown`,`End`],Pz=[...Mz,...Nz],Fz={ltr:[...jz,`ArrowRight`],rtl:[...jz,`ArrowLeft`]},Iz={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]};function Lz(e){return e?`open`:`closed`}function Rz(e){return e===`indeterminate`}function zz(e){return Rz(e)?`indeterminate`:e?`checked`:`unchecked`}function Bz(e){let t=rR();for(let n of e)if(n===t||(n.focus(),rR()!==t))return}function Vz(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Hz(e,t){return t?Vz({x:e.clientX,y:e.clientY},t):!1}function Uz(e){return e.pointerType===`mouse`}Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[Wz,Gz]=$(`AlertDialogContent`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[Kz,qz]=$(`AvatarRoot`);Boolean;var[Jz,Yz]=$(`CalendarRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[Xz,Zz]=$(`CheckboxRoot`);Boolean,Boolean,String,Boolean,Boolean,Boolean,Boolean,Boolean;var[Qz,$z]=$(`PopperRoot`),eB=R({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=N();return $z({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>D(e.$slots,`default`)}}),tB=R({__name:`PopperAnchor`,props:{element:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,{forwardRef:n,currentElement:a}=OR(),o=Qz();return me(()=>{o.onAnchorChange(t.element??a.value)}),(e,t)=>(r(),I(i(JR),{ref:i(n),as:e.as,"as-child":e.asChild},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function nB(e){return e!==null}function rB(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=iB(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function iB(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var aB={side:`bottom`,sideOffset:0,align:`center`,alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,updatePositionStrategy:`optimized`,prioritizePosition:!1},[oB,sB]=$(`PopperContent`),cB=R({inheritAttrs:!1,__name:`PopperContent`,props:c({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...aB}),emits:[`placed`],setup(e,{emit:t}){let n=e,a=t,o=Qz(),{forwardRef:s,currentElement:c}=OR(),l=N(),u=N(),{width:d,height:f}=VR(u),p=A(()=>n.side+(n.align===`center`?``:`-${n.align}`)),m=A(()=>typeof n.collisionPadding==`number`?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),h=A(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),g=A(()=>({padding:m.value,boundary:h.value.filter(nB),altBoundary:h.value.length>0})),_=NL(()=>[vF({mainAxis:n.sideOffset+f.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&bF({...g.value}),n.avoidCollisions&&yF({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky===`partial`?wF():void 0,...g.value}),!n.prioritizePosition&&n.avoidCollisions&&bF({...g.value}),xF({...g.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),u.value&&sL({element:u.value,padding:n.arrowPadding}),rB({arrowWidth:d.value,arrowHeight:f.value}),n.hideWhenDetached&&SF({strategy:`referenceHidden`,...g.value})]),{floatingStyles:v,placement:y,isPositioned:b,middlewareData:x}=uL(o.anchor,l,{strategy:`fixed`,placement:p,whileElementsMounted:(...e)=>_F(...e,{animationFrame:n.updatePositionStrategy===`always`}),middleware:_}),w=A(()=>iB(y.value)[0]),T=A(()=>iB(y.value)[1]);Re(()=>{b.value&&a(`placed`)});let ee=A(()=>x.value.arrow?.centerOffset!==0),E=N(``);return me(()=>{c.value&&(E.value=window.getComputedStyle(c.value).zIndex)}),sB({placedSide:w,onArrowChange:e=>u.value=e,arrowX:A(()=>x.value.arrow?.x??0),arrowY:A(()=>x.value.arrow?.y??0),shouldHideArrow:ee}),(e,t)=>(r(),M(`div`,{ref_key:`floatingRef`,ref:l,"data-radix-popper-content-wrapper":``,style:S({...i(v),transform:i(b)?i(v).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:E.value,"--radix-popper-transform-origin":[i(x).transformOrigin?.x,i(x).transformOrigin?.y].join(` `),...i(x).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[k(i(JR),C({ref:i(s)},e.$attrs,{"as-child":n.asChild,as:e.as,"data-side":w.value,"data-align":T.value,style:{animation:i(b)?void 0:`none`}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])],4))}}),lB=P(`polygon`,{points:`0,0 30,0 15,10`},null,-1),uB=R({__name:`Arrow`,props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:`svg`}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(JR),C(t,{width:e.width,height:e.height,viewBox:e.asChild?void 0:`0 0 30 10`,preserveAspectRatio:e.asChild?void 0:`none`}),{default:F(()=>[D(e.$slots,`default`,{},()=>[lB])]),_:3},16,[`width`,`height`,`viewBox`,`preserveAspectRatio`]))}}),dB={top:`bottom`,right:`left`,bottom:`top`,left:`right`},fB=R({inheritAttrs:!1,__name:`PopperArrow`,props:{width:{},height:{},asChild:{type:Boolean},as:{default:`svg`}},setup(e){let{forwardRef:t}=OR(),n=oB(),a=A(()=>dB[n.placedSide.value]);return(e,o)=>{var s,c;return r(),M(`span`,{ref:e=>{i(n).onArrowChange(e)},style:S({position:`absolute`,left:(s=i(n).arrowX)!=null&&s.value?`${i(n).arrowX?.value}px`:void 0,top:(c=i(n).arrowY)!=null&&c.value?`${i(n).arrowY?.value}px`:void 0,[a.value]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i(n).placedSide.value],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i(n).placedSide.value],visibility:i(n).shouldHideArrow.value?`hidden`:void 0})},[k(uB,C(e.$attrs,{ref:i(t),style:{display:`block`},as:e.as,"as-child":e.asChild,width:e.width,height:e.height}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`width`,`height`])],4)}}});Boolean,Boolean,Boolean;var pB=`data-radix-vue-collection-item`,[mB,hB]=$(`CollectionProvider`);function gB(e=pB){let t=N(new Map),n=hB({collectionRef:N(),itemMap:t,attrName:e}),{getItems:r}=yB(n);return{getItems:r,reactiveItems:A(()=>Array.from(n.itemMap.value.values())),itemMapSize:A(()=>n.itemMap.value.size)}}var _B=R({name:`CollectionSlot`,setup(t,{slots:n}){let r=mB(),{primitiveElement:i,currentElement:a}=YR();return e(a,()=>{r.collectionRef.value=a.value}),()=>E(qR,{ref:i},n)}}),vB=R({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let r=mB(),{primitiveElement:i,currentElement:a}=YR();return me(t=>{if(a.value){let n=pe(a.value);r.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>r.itemMap.value.delete(n))}}),()=>E(qR,{...n,[r.attrName]:``,ref:i},t)}});function yB(e){let t=e??mB();return{getItems:()=>{let e=t.collectionRef.value;if(!e)return[];let n=Array.from(e.querySelectorAll(`[${t.attrName}]`));return Array.from(t.itemMap.value.values()).sort((e,t)=>n.indexOf(e.ref)-n.indexOf(t.ref))}}}var[bB,xB]=$(`ComboboxRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[SB,CB]=$(`ComboboxGroup`);Boolean,Boolean;var[wB,TB]=$(`ComboboxContent`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[EB,DB]=$(`ComboboxItem`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var OB=R({__name:`MenuAnchor`,props:{element:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(r(),I(i(tB),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),kB=R({__name:`MenuArrow`,props:{width:{},height:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(r(),I(i(fB),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}});function AB(){let e=N(!1);return p(()=>{XL(`keydown`,()=>{e.value=!0},{capture:!0,passive:!0}),XL([`pointerdown`,`pointermove`],()=>{e.value=!1},{capture:!0,passive:!0})}),e}var jB=IL(AB),[MB,NB]=$([`MenuRoot`,`MenuSub`],`MenuContext`),[PB,FB]=$(`MenuRoot`),IB=R({__name:`MenuRoot`,props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,a=t,{modal:o,dir:s}=de(n),c=xR(s),l=tR(n,`open`,a),u=N(),d=jB();return NB({open:l,onOpenChange:e=>{l.value=e},content:u,onContentChange:e=>{u.value=e}}),FB({onClose:()=>{l.value=!1},isUsingKeyboardRef:d,dir:c,modal:o}),(e,t)=>(r(),I(i(eB),null,{default:F(()=>[D(e.$slots,`default`)]),_:3}))}}),LB=`rovingFocusGroup.onEntryFocus`,RB={bubbles:!1,cancelable:!0};function zB(e,t=!1){let n=rR();for(let r of e)if(r===n||(r.focus({preventScroll:t}),rR()!==n))return}var[BB,VB]=$(`RovingFocusGroup`),HB=R({__name:`RovingFocusGroup`,props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`entryFocus`,`update:currentTabStopId`],setup(e,{expose:t,emit:n}){let a=e,o=n,{loop:s,orientation:c,dir:l}=de(a),u=xR(l),d=tR(a,`currentTabStopId`,o,{defaultValue:a.defaultCurrentTabStopId,passive:a.currentTabStopId===void 0}),f=N(!1),p=N(!1),m=N(0),{getItems:h}=gB();function g(e){let t=!p.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!f.value){let t=new CustomEvent(LB,RB);if(e.currentTarget.dispatchEvent(t),o(`entryFocus`,t),!t.defaultPrevented){let e=h().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);zB([e.find(e=>e.getAttribute(`data-active`)===`true`),e.find(e=>e.id===d.value),...e].filter(Boolean),a.preventScrollOnEntryFocus)}}p.value=!1}function _(){setTimeout(()=>{p.value=!1},1)}return t({getItems:h}),VB({loop:s,dir:u,orientation:c,currentTabStopId:d,onItemFocus:e=>{d.value=e},onItemShiftTab:()=>{f.value=!0},onFocusableItemAdd:()=>{m.value++},onFocusableItemRemove:()=>{m.value--}}),(e,t)=>(r(),I(i(_B),null,{default:F(()=>[k(i(JR),{tabindex:f.value||m.value===0?-1:0,"data-orientation":i(c),as:e.as,"as-child":e.asChild,dir:i(u),style:{outline:`none`},onMousedown:t[0]||=e=>p.value=!0,onMouseup:_,onFocus:g,onBlur:t[1]||=e=>f.value=!1},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}});Boolean,Boolean,Boolean,Boolean;var[UB,WB]=$(`MenuContent`),GB=R({__name:`MenuContentImpl`,props:c({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...aB}),emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`,`dismiss`],setup(t,{emit:n}){let a=t,o=n,s=MB(),c=PB(),{trapFocus:l,disableOutsidePointerEvents:u,loop:d}=de(a);wR(),gR(u.value);let f=N(``),p=N(0),m=N(0),h=N(null),g=N(`right`),_=N(0),v=N(null),{createCollection:y}=bR(),{forwardRef:b,currentElement:x}=OR(),S=y(x);e(x,e=>{s.onContentChange(e)});let{handleTypeaheadSearch:C}=WR(S);T(()=>{window.clearTimeout(p.value)});function w(e){return g.value===h.value?.side&&Hz(e,h.value?.area)}async function ee(e){var t;o(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),(t=x.value)==null||t.focus({preventScroll:!0}))}function E(e){if(e.defaultPrevented)return;let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1,i=aR(e,rR(),x.value,{loop:d.value,arrowKeyOptions:`vertical`,dir:c?.dir.value,focus:!0,attributeName:`[data-radix-vue-collection-item]:not([data-disabled])`});if(i)return i?.focus();if(e.code===`Space`||(t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&C(e.key)),e.target!==x.value)||!Pz.includes(e.key))return;e.preventDefault();let a=S.value;Nz.includes(e.key)&&a.reverse(),Bz(a)}function te(e){var t,n;(n=(t=e?.currentTarget)?.contains)!=null&&n.call(t,e.target)||(window.clearTimeout(p.value),f.value=``)}function ne(e){var t;if(!Uz(e))return;let n=e.target,r=_.value!==e.clientX;(t=e?.currentTarget)!=null&&t.contains(n)&&r&&(g.value=e.clientX>_.value?`right`:`left`,_.value=e.clientX)}return WB({onItemEnter:e=>!!w(e),onItemLeave:e=>{var t;w(e)||((t=x.value)==null||t.focus(),v.value=null)},onTriggerLeave:e=>!!w(e),searchRef:f,pointerGraceTimerRef:m,onPointerGraceIntentChange:e=>{h.value=e}}),(e,t)=>(r(),I(i(kz),{"as-child":``,trapped:i(l),onMountAutoFocus:ee,onUnmountAutoFocus:t[7]||=e=>o(`closeAutoFocus`,e)},{default:F(()=>[k(i(mz),{"as-child":``,"disable-outside-pointer-events":i(u),onEscapeKeyDown:t[2]||=e=>o(`escapeKeyDown`,e),onPointerDownOutside:t[3]||=e=>o(`pointerDownOutside`,e),onFocusOutside:t[4]||=e=>o(`focusOutside`,e),onInteractOutside:t[5]||=e=>o(`interactOutside`,e),onDismiss:t[6]||=e=>o(`dismiss`)},{default:F(()=>[k(i(HB),{"current-tab-stop-id":v.value,"onUpdate:currentTabStopId":t[0]||=e=>v.value=e,"as-child":``,orientation:`vertical`,dir:i(c).dir.value,loop:i(d),onEntryFocus:t[1]||=e=>{o(`entryFocus`,e),i(c).isUsingKeyboardRef.value||e.preventDefault()}},{default:F(()=>[k(i(cB),{ref:i(b),role:`menu`,as:e.as,"as-child":e.asChild,"aria-orientation":`vertical`,"data-radix-menu-content":``,"data-state":i(Lz)(i(s).open.value),dir:i(c).dir.value,side:e.side,"side-offset":e.sideOffset,align:e.align,"align-offset":e.alignOffset,"avoid-collisions":e.avoidCollisions,"collision-boundary":e.collisionBoundary,"collision-padding":e.collisionPadding,"arrow-padding":e.arrowPadding,"prioritize-position":e.prioritizePosition,sticky:e.sticky,"hide-when-detached":e.hideWhenDetached,onKeydown:E,onBlur:te,onPointermove:ne},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`,`dir`,`side`,`side-offset`,`align`,`align-offset`,`avoid-collisions`,`collision-boundary`,`collision-padding`,`arrow-padding`,`prioritize-position`,`sticky`,`hide-when-detached`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`])]),_:3},8,[`disable-outside-pointer-events`])]),_:3},8,[`trapped`]))}}),KB=R({inheritAttrs:!1,__name:`MenuItemImpl`,props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,n=UB(),{forwardRef:a}=OR(),o=N(!1);async function s(e){!e.defaultPrevented&&Uz(e)&&(t.disabled?n.onItemLeave(e):n.onItemEnter(e)||e.currentTarget?.focus({preventScroll:!0}))}async function c(e){await Te(),!e.defaultPrevented&&Uz(e)&&n.onItemLeave(e)}return(e,t)=>(r(),I(i(vB),{value:{textValue:e.textValue}},{default:F(()=>[k(i(JR),C({ref:i(a),role:`menuitem`,tabindex:`-1`},e.$attrs,{as:e.as,"as-child":e.asChild,"data-radix-vue-collection-item":``,"aria-disabled":e.disabled||void 0,"data-disabled":e.disabled?``:void 0,"data-highlighted":o.value?``:void 0,onPointermove:s,onPointerleave:c,onFocus:t[0]||=async t=>{await Te(),!(t.defaultPrevented||e.disabled)&&(o.value=!0)},onBlur:t[1]||=async e=>{await Te(),!e.defaultPrevented&&(o.value=!1)}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`aria-disabled`,`data-disabled`,`data-highlighted`])]),_:3},8,[`value`]))}}),qB=R({__name:`MenuItem`,props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(e,{emit:t}){let n=e,a=t,{forwardRef:o,currentElement:s}=OR(),c=PB(),l=UB(),u=N(!1);async function d(){let e=s.value;if(!n.disabled&&e){let e=new CustomEvent(Az,{bubbles:!0,cancelable:!0});a(`select`,e),await Te(),e.defaultPrevented?u.value=!1:c.onClose()}}return(e,t)=>(r(),I(KB,C(n,{ref:i(o),onClick:d,onPointerdown:t[0]||=()=>{u.value=!0},onPointerup:t[1]||=async e=>{var t;await Te(),!e.defaultPrevented&&(u.value||(t=e.currentTarget)==null||t.click())},onKeydown:t[2]||=async t=>{let n=i(l).searchRef.value!==``;e.disabled||n&&t.key===` `||i(jz).includes(t.key)&&(t.currentTarget.click(),t.preventDefault())}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),[JB,YB]=$([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`),XB=R({__name:`MenuItemIndicator`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(e){let t=JB({checked:N(!1)});return(e,n)=>(r(),I(i(ez),{present:e.forceMount||i(Rz)(i(t).checked.value)||i(t).checked.value===!0},{default:F(()=>[k(i(JR),{as:e.as,"as-child":e.asChild,"data-state":i(zz)(i(t).checked.value)},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`])]),_:3},8,[`present`]))}}),ZB=R({__name:`MenuCheckboxItem`,props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`,`update:checked`],setup(e,{emit:t}){let n=e,a=t,o=tR(n,`checked`,a);return YB({checked:o}),(e,t)=>(r(),I(qB,C({role:`menuitemcheckbox`},n,{"aria-checked":i(Rz)(i(o))?`mixed`:i(o),"data-state":i(zz)(i(o)),onSelect:t[0]||=async e=>{a(`select`,e),i(Rz)(i(o))?o.value=!0:o.value=!i(o)}}),{default:F(()=>[D(e.$slots,`default`,{checked:i(o)})]),_:3},16,[`aria-checked`,`data-state`]))}}),QB=R({__name:`MenuRootContentModal`,props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,a=t,o=DR(n,a),s=MB(),{forwardRef:c,currentElement:l}=OR();return RR(l),(e,t)=>(r(),I(GB,C(i(o),{ref:i(c),"trap-focus":i(s).open.value,"disable-outside-pointer-events":i(s).open.value,"disable-outside-scroll":!0,onDismiss:t[0]||=e=>i(s).onOpenChange(!1),onFocusOutside:t[1]||=Fe(e=>a(`focusOutside`,e),[`prevent`])}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`trap-focus`,`disable-outside-pointer-events`]))}}),$B=R({__name:`MenuRootContentNonModal`,props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=DR(e,t),a=MB();return(e,t)=>(r(),I(GB,C(i(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:t[0]||=e=>i(a).onOpenChange(!1)}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),eV=R({__name:`MenuContent`,props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=DR(e,t),o=MB(),s=PB();return(e,t)=>(r(),I(i(ez),{present:e.forceMount||i(o).open.value},{default:F(()=>[i(s).modal.value?(r(),I(QB,a(C({key:0},{...e.$attrs,...i(n)})),{default:F(()=>[D(e.$slots,`default`)]),_:3},16)):(r(),I($B,a(C({key:1},{...e.$attrs,...i(n)})),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),tV=R({__name:`MenuGroup`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(r(),I(i(JR),C({role:`group`},t),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),nV=R({__name:`MenuLabel`,props:{asChild:{type:Boolean},as:{default:`div`}},setup(e){let t=e;return(e,n)=>(r(),I(i(JR),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),rV=R({__name:`MenuPortal`,props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){let t=e;return(e,n)=>(r(),I(i(sz),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),[iV,aV]=$(`MenuRadioGroup`),oV=R({__name:`MenuRadioGroup`,props:{modelValue:{default:``},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,o=tR(n,`modelValue`,t);return aV({modelValue:o,onValueChange:e=>{o.value=e}}),(e,t)=>(r(),I(tV,a(L(n)),{default:F(()=>[D(e.$slots,`default`,{modelValue:i(o)})]),_:3},16))}}),sV=R({__name:`MenuRadioItem`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(e,{emit:t}){let n=e,a=t,{value:o}=de(n),s=iV(),c=A(()=>s.modelValue.value===o?.value);return YB({checked:c}),(e,t)=>(r(),I(qB,C({role:`menuitemradio`},n,{"aria-checked":c.value,"data-state":i(zz)(c.value),onSelect:t[0]||=async e=>{a(`select`,e),i(s).onValueChange(i(o))}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`aria-checked`,`data-state`]))}}),cV=R({__name:`MenuSeparator`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(r(),I(i(JR),C(t,{role:`separator`,"aria-orientation":`horizontal`}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),[lV,uV]=$(`MenuSub`),dV=R({__name:`MenuSub`,props:{open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,a=tR(n,`open`,t,{defaultValue:!1,passive:n.open===void 0}),o=MB(),s=N(),c=N();return me(e=>{o?.open.value===!1&&(a.value=!1),e(()=>a.value=!1)}),NB({open:a,onOpenChange:e=>{a.value=e},content:c,onContentChange:e=>{c.value=e}}),uV({triggerId:``,contentId:``,trigger:s,onTriggerChange:e=>{s.value=e}}),(e,t)=>(r(),I(i(eB),null,{default:F(()=>[D(e.$slots,`default`)]),_:3}))}}),fV=R({__name:`MenuSubContent`,props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=DR(e,t),a=MB(),o=PB(),s=lV(),{forwardRef:c,currentElement:l}=OR();return s.contentId||=BR(void 0,`radix-vue-menu-sub-content`),(e,t)=>(r(),I(i(ez),{present:e.forceMount||i(a).open.value},{default:F(()=>[k(GB,C(i(n),{id:i(s).contentId,ref:i(c),"aria-labelledby":i(s).triggerId,align:`start`,side:i(o).dir.value===`rtl`?`left`:`right`,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:t[0]||=Fe(e=>{var t;i(o).isUsingKeyboardRef.value&&((t=i(l))==null||t.focus())},[`prevent`]),onCloseAutoFocus:t[1]||=Fe(()=>{},[`prevent`]),onFocusOutside:t[2]||=e=>{e.defaultPrevented||e.target!==i(s).trigger.value&&i(a).onOpenChange(!1)},onEscapeKeyDown:t[3]||=e=>{i(o).onClose(),e.preventDefault()},onKeydown:t[4]||=e=>{var t;let n=e.currentTarget?.contains(e.target),r=i(Iz)[i(o).dir.value].includes(e.key);n&&r&&(i(a).onOpenChange(!1),(t=i(s).trigger.value)==null||t.focus(),e.preventDefault())}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`,`side`])]),_:3},8,[`present`]))}}),pV=R({__name:`MenuSubTrigger`,props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){let t=e,n=MB(),a=PB(),o=lV(),s=UB(),c=N(null);o.triggerId||=BR(void 0,`radix-vue-menu-sub-trigger`);function l(){c.value&&window.clearTimeout(c.value),c.value=null}T(()=>{l()});function u(e){!Uz(e)||s.onItemEnter(e)||!t.disabled&&!n.open.value&&!c.value&&(s.onPointerGraceIntentChange(null),c.value=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))}async function d(e){if(!Uz(e))return;l();let t=n.content.value?.getBoundingClientRect();if(t!=null&&t.width){let r=n.content.value?.dataset.side,i=r===`right`,a=i?-5:5,o=t[i?`left`:`right`],c=t[i?`right`:`left`];s.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(s.pointerGraceTimerRef.value),s.pointerGraceTimerRef.value=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e))return;s.onPointerGraceIntentChange(null)}}async function f(e){var r;let i=s.searchRef.value!==``;t.disabled||i&&e.key===` `||Fz[a.dir.value].includes(e.key)&&(n.onOpenChange(!0),await Te(),(r=n.content.value)==null||r.focus(),e.preventDefault())}return(e,a)=>(r(),I(OB,{"as-child":``},{default:F(()=>[k(KB,C(t,{id:i(o).triggerId,ref:e=>{var t;(t=i(o))==null||t.onTriggerChange(e?.$el)},"aria-haspopup":`menu`,"aria-expanded":i(n).open.value,"aria-controls":i(o).contentId,"data-state":i(Lz)(i(n).open.value),onClick:a[0]||=async e=>{t.disabled||e.defaultPrevented||(e.currentTarget.focus(),i(n).open.value||i(n).onOpenChange(!0))},onPointermove:u,onPointerleave:d,onKeydown:f}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`id`,`aria-expanded`,`aria-controls`,`data-state`])]),_:3}))}}),[mV,hV]=$(`ContextMenuRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,String,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[gV,_V]=$(`DateFieldRoot`);Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[vV,yV]=$(`DatePickerRoot`);Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[bV,xV]=$(`DateRangePickerRoot`);Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[SV,CV]=$(`DateRangeFieldRoot`);Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean;var[wV,TV]=$(`DropdownMenuRoot`),EV=R({__name:`DropdownMenuRoot`,props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,a=t;OR();let o=tR(n,`open`,a,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=N(),{modal:c,dir:l}=de(n),u=xR(l);return TV({open:o,onOpenChange:e=>{o.value=e},onOpenToggle:()=>{o.value=!o.value},triggerId:``,triggerElement:s,contentId:``,modal:c,dir:u}),(e,t)=>(r(),I(i(IB),{open:i(o),"onUpdate:open":t[0]||=e=>Be(o)?o.value=e:null,dir:i(u),modal:i(c)},{default:F(()=>[D(e.$slots,`default`,{open:i(o)})]),_:3},8,[`open`,`dir`,`modal`]))}}),DV=R({__name:`DropdownMenuTrigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e,n=wV(),{forwardRef:a,currentElement:o}=OR();return p(()=>{n.triggerElement=o}),n.triggerId||=BR(void 0,`radix-vue-dropdown-menu-trigger`),(e,o)=>(r(),I(i(OB),{"as-child":``},{default:F(()=>[k(i(JR),{id:i(n).triggerId,ref:i(a),type:e.as===`button`?`button`:void 0,"as-child":t.asChild,as:e.as,"aria-haspopup":`menu`,"aria-expanded":i(n).open.value,"aria-controls":i(n).open.value?i(n).contentId:void 0,"data-disabled":e.disabled?``:void 0,disabled:e.disabled,"data-state":i(n).open.value?`open`:`closed`,onClick:o[0]||=async t=>{var r;!e.disabled&&t.button===0&&t.ctrlKey===!1&&((r=i(n))==null||r.onOpenToggle(),await Te(),i(n).open.value&&t.preventDefault())},onKeydown:o[1]||=ke(t=>{e.disabled||([`Enter`,` `].includes(t.key)&&i(n).onOpenToggle(),t.key===`ArrowDown`&&i(n).onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(t.key)&&t.preventDefault())},[`enter`,`space`,`arrow-down`])},{default:F(()=>[D(e.$slots,`default`)]),_:3},8,[`id`,`type`,`as-child`,`as`,`aria-expanded`,`aria-controls`,`data-disabled`,`disabled`,`data-state`])]),_:3}))}}),OV=R({__name:`DropdownMenuPortal`,props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){let t=e;return(e,n)=>(r(),I(i(rV),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),kV=R({__name:`DropdownMenuContent`,props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(e,{emit:t}){let n=DR(e,t);OR();let a=wV(),o=N(!1);function s(e){e.defaultPrevented||(o.value||setTimeout(()=>{var e;(e=a.triggerElement.value)==null||e.focus()},0),o.value=!1,e.preventDefault())}return a.contentId||=BR(void 0,`radix-vue-dropdown-menu-content`),(e,t)=>(r(),I(i(eV),C(i(n),{id:i(a).contentId,"aria-labelledby":i(a)?.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`},onCloseAutoFocus:s,onInteractOutside:t[0]||=e=>{var t;if(e.defaultPrevented)return;let n=e.detail.originalEvent,r=n.button===0&&n.ctrlKey===!0,s=n.button===2||r;(!i(a).modal.value||s)&&(o.value=!0),(t=i(a).triggerElement.value)!=null&&t.contains(e.target)&&e.preventDefault()}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`]))}}),AV=R({__name:`DropdownMenuArrow`,props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:`svg`}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(kB),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),jV=R({__name:`DropdownMenuItem`,props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(e,{emit:t}){let n=e,o=SR(t);return OR(),(e,t)=>(r(),I(i(qB),a(L({...n,...i(o)})),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),MV=R({__name:`DropdownMenuGroup`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(tV),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),NV=R({__name:`DropdownMenuSeparator`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(cV),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),PV=R({__name:`DropdownMenuCheckboxItem`,props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`,`update:checked`],setup(e,{emit:t}){let n=e,o=SR(t);return OR(),(e,t)=>(r(),I(i(ZB),a(L({...n,...i(o)})),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),FV=R({__name:`DropdownMenuItemIndicator`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(XB),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),IV=R({__name:`DropdownMenuLabel`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(nV),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),LV=R({__name:`DropdownMenuRadioGroup`,props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,o=SR(t);return OR(),(e,t)=>(r(),I(i(oV),a(L({...n,...i(o)})),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),RV=R({__name:`DropdownMenuRadioItem`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(e,{emit:t}){let n=DR(e,t);return OR(),(e,t)=>(r(),I(i(sV),a(L(i(n))),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),zV=R({__name:`DropdownMenuSub`,props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,a=tR(n,`open`,t,{passive:n.open===void 0,defaultValue:n.defaultOpen??!1});return OR(),(e,t)=>(r(),I(i(dV),{open:i(a),"onUpdate:open":t[0]||=e=>Be(a)?a.value=e:null},{default:F(()=>[D(e.$slots,`default`,{open:i(a)})]),_:3},8,[`open`]))}}),BV=R({__name:`DropdownMenuSubContent`,props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=DR(e,t);return OR(),(e,t)=>(r(),I(i(fV),C(i(n),{style:{"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}}),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),VV=R({__name:`DropdownMenuSubTrigger`,props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return OR(),(e,n)=>(r(),I(i(pV),a(L(t)),{default:F(()=>[D(e.$slots,`default`)]),_:3},16))}}),[HV,UV]=$(`EditableRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[WV,GV]=$(`HoverCardRoot`);Boolean,Boolean;var[KV,qV]=$(`ListboxRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[JV,YV]=$(`ListboxItem`);Boolean,Boolean,Boolean,typeof window>`u`||`onscrollend`in window,Function;var[XV,ZV]=$(`ListboxGroup`);Boolean,Boolean;var[QV,$V]=$(`MenubarRoot`);Boolean;var[eH,tH]=$(`MenubarMenu`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,String,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[nH,rH]=$([`NavigationMenuRoot`,`NavigationMenuSub`],`NavigationMenuContext`);Boolean,Boolean,Boolean;var[iH,aH]=$(`NavigationMenuItem`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[oH,sH]=$(`NumberFieldRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[cH,lH]=$(`PaginationRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[uH,dH]=$(`PinInputRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[fH,pH]=$(`PopoverRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[mH,hH]=$(`ProgressRoot`);Function,Boolean,Boolean;var[gH,_H]=$(`RadioGroupRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[vH,yH]=$(`RadioGroupItem`);Boolean,Boolean,Boolean,Boolean,Boolean;var[bH,xH]=$(`RangeCalendarRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[SH,CH]=$(`ScrollAreaRoot`);Boolean,Boolean,Boolean;var[wH,TH]=$(`ScrollAreaScrollbarVisible`);Boolean,Boolean,Boolean;var[EH,DH]=$(`ScrollAreaScrollbar`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[OH,kH]=$(`SelectRoot`),[AH,jH]=$(`SelectRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[MH,NH]=$(`SelectItemAlignedPosition`);Boolean,Boolean,Boolean,Boolean,Boolean;var[PH,FH]=$(`SelectContent`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[IH,LH]=$(`SelectItem`);Boolean,Boolean,Boolean;var[RH,zH]=$(`SelectGroup`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[BH,VH]=$([`SliderVertical`,`SliderHorizontal`]);Boolean,Boolean,Boolean;var[HH,UH]=$(`SliderRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var WH=null,GH=null;function KH(e,t){if(t){let e=(t&cU)!==0,n=(t&lU)!==0,r=(t&uU)!==0,i=(t&dU)!==0;if(e)return r?`se-resize`:i?`ne-resize`:`e-resize`;if(n)return r?`sw-resize`:i?`nw-resize`:`w-resize`;if(r)return`s-resize`;if(i)return`n-resize`}switch(e){case`horizontal`:return`ew-resize`;case`intersection`:return`move`;case`vertical`:return`ns-resize`}}function qH(){GH!==null&&(document.head.removeChild(GH),WH=null,GH=null)}function JH(e,t){let n=KH(e,t);WH!==n&&(WH=n,GH===null&&(GH=document.createElement(`style`),document.head.appendChild(GH)),GH.innerHTML=`*{cursor: ${n}!important;}`)}function YH(e){return e.type.startsWith(`mouse`)}function XH(e){return e.type.startsWith(`touch`)}function ZH(e){if(YH(e))return{x:e.clientX,y:e.clientY};if(XH(e)){let t=e.touches[0];if(t&&t.clientX&&t.clientY)return{x:t.clientX,y:t.clientY}}return{x:1/0,y:1/0}}function QH(e,t,n){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function $H(e,t=`Assertion failed!`){if(!e)throw console.error(t),Error(t)}function eU(e,t){if(e===t)throw Error(`Cannot compare node with itself`);let n={a:oU(e),b:oU(t)},r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;$H(r);let i={a:aU(iU(n.a)),b:aU(iU(n.b))};if(i.a===i.b){let e=r.childNodes,t={a:n.a.at(-1),b:n.b.at(-1)},i=e.length;for(;i--;){let n=e[i];if(n===t.a)return 1;if(n===t.b)return-1}}return Math.sign(i.a-i.b)}var tU=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function nU(e){let t=getComputedStyle(sU(e)).display;return t===`flex`||t===`inline-flex`}function rU(e){let t=getComputedStyle(e);return!!(t.position===`fixed`||t.zIndex!==`auto`&&(t.position!==`static`||nU(e))||+t.opacity<1||`transform`in t&&t.transform!==`none`||`webkitTransform`in t&&t.webkitTransform!==`none`||`mixBlendMode`in t&&t.mixBlendMode!==`normal`||`filter`in t&&t.filter!==`none`||`webkitFilter`in t&&t.webkitFilter!==`none`||`isolation`in t&&t.isolation===`isolate`||tU.test(t.willChange)||t.webkitOverflowScrolling===`touch`)}function iU(e){let t=e.length;for(;t--;){let n=e[t];if($H(n),rU(n))return n}return null}function aU(e){return e&&Number(getComputedStyle(e).zIndex)||0}function oU(e){let t=[];for(;e;)t.push(e),e=sU(e);return t}function sU(e){return e.parentNode instanceof DocumentFragment&&e.parentNode?.host||e.parentNode}var cU=1,lU=2,uU=4,dU=8;function fU(){if(typeof matchMedia==`function`)return matchMedia(`(pointer:coarse)`).matches?`coarse`:`fine`}var pU=fU()===`coarse`,mU=[],hU=!1,gU=new Map,_U=new Map,vU=new Set;function yU(e){let{target:t}=e,{x:n,y:r}=ZH(e);hU=!0,SU({target:t,x:n,y:r}),wU(),mU.length>0&&(TU(`down`,e),e.preventDefault())}function bU(e){let{x:t,y:n}=ZH(e);if(!hU){let{target:r}=e;SU({target:r,x:t,y:n})}TU(`move`,e),CU(),mU.length>0&&e.preventDefault()}function xU(e){let{target:t}=e,{x:n,y:r}=ZH(e);_U.clear(),hU=!1,mU.length>0&&e.preventDefault(),TU(`up`,e),SU({target:t,x:n,y:r}),CU(),wU()}function SU({target:e,x:t,y:n}){mU.splice(0);let r=null;e instanceof HTMLElement&&(r=e),vU.forEach(e=>{let{element:i,hitAreaMargins:a}=e,o=i.getBoundingClientRect(),{bottom:s,left:c,right:l,top:u}=o,d=pU?a.coarse:a.fine;if(t>=c-d&&t<=l+d&&n>=u-d&&n<=s+d){if(r!==null&&i!==r&&!i.contains(r)&&!r.contains(i)&&eU(r,i)>0){let e=r,t=!1;for(;e&&!e.contains(i);){if(QH(e.getBoundingClientRect(),o)){t=!0;break}e=e.parentElement}if(t)return}mU.push(e)}})}function CU(){let e=!1,t=!1;mU.forEach(n=>{let{direction:r}=n;r.value===`horizontal`?e=!0:t=!0});let n=0;_U.forEach(e=>{n|=e}),e&&t?JH(`intersection`,n):e?JH(`horizontal`,n):t?JH(`vertical`,n):qH()}function wU(){gU.forEach((e,t)=>{let{body:n}=t;n.removeEventListener(`contextmenu`,xU),n.removeEventListener(`mousedown`,yU),n.removeEventListener(`mouseleave`,bU),n.removeEventListener(`mousemove`,bU),n.removeEventListener(`touchmove`,bU),n.removeEventListener(`touchstart`,yU)}),window.removeEventListener(`mouseup`,xU),window.removeEventListener(`touchcancel`,xU),window.removeEventListener(`touchend`,xU),vU.size>0&&(hU?(mU.length>0&&gU.forEach((e,t)=>{let{body:n}=t;e>0&&(n.addEventListener(`contextmenu`,xU),n.addEventListener(`mouseleave`,bU),n.addEventListener(`mousemove`,bU),n.addEventListener(`touchmove`,bU,{passive:!1}))}),window.addEventListener(`mouseup`,xU),window.addEventListener(`touchcancel`,xU),window.addEventListener(`touchend`,xU)):gU.forEach((e,t)=>{let{body:n}=t;e>0&&(n.addEventListener(`mousedown`,yU),n.addEventListener(`mousemove`,bU),n.addEventListener(`touchmove`,bU,{passive:!1}),n.addEventListener(`touchstart`,yU))}))}function TU(e,t){vU.forEach(n=>{let{setResizeHandlerState:r}=n;r(e,mU.includes(n),t)})}function EU(e){try{if(typeof localStorage<`u`)e.getItem=e=>localStorage.getItem(e),e.setItem=(e,t)=>{localStorage.setItem(e,t)};else throw TypeError(`localStorage not supported in this environment`)}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}var DU={getItem:e=>(EU(DU),DU.getItem(e)),setItem:(e,t)=>{EU(DU),DU.setItem(e,t)}},[OU,kU]=$(`PanelGroup`);Boolean,Boolean,Boolean,Boolean,Boolean;var[AU,jU]=$(`StepperRoot`);Boolean,Boolean;var[MU,NU]=$(`StepperItem`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[PU,FU]=$(`SwitchRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[IU,LU]=$(`TabsRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[RU,zU]=$(`TagsInputRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean,Boolean,Boolean;var[BU,VU]=$(`TagsInputItem`);Boolean,Boolean,Boolean,Boolean,Boolean;var[HU,UU]=$(`ToastProvider`);function WU(e){return e.nodeType===e.ELEMENT_NODE}function GU(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),WU(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.radixToastAnnounceExclude===``;if(!n)if(r){let n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...GU(e))}}),t}var[KU,qU]=$(`ToastRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,String,Function,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[JU,YU]=$(`ToggleGroupRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[XU,ZU]=$(`ToolbarRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;var[QU,$U]=$(`TooltipProvider`);Boolean,Boolean,Boolean,Boolean;var[eW,tW]=$(`TooltipRoot`);Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;function nW(e){return e.reduce((e,t)=>(e.push(t),t.children&&e.push(...nW(t.children)),e),[])}var[rW,iW]=$(`TreeRoot`);Function,Boolean,Boolean,Boolean,Boolean,Boolean,Function,Boolean;var aW={class:`custom-scroll min-h-0 flex-1`},oW={class:`flex flex-col p-0.75`},sW=R({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=V();return(n,o)=>(r(),I(h(e.is??`div`),a(L(i(t)(`relative flex w-56`))),{default:F(()=>[P(`div`,aW,[D(n.$slots,`menu`,{},()=>[P(`div`,oW,[D(n.$slots,`default`)])]),D(n.$slots,`backdrop`,{},()=>[k(i(RF))])])]),_:3},16))}}),cW=Symbol();function lW(){let e=N();return ne(cW,e),{active:e}}function uW(){let e=Ue(cW);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}var dW=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],fW=R({inheritAttrs:!1,__name:`ScalarDropdown`,props:o({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:[`update:open`],setup(t){let n=N(),a=N(),o=ie(t,`open`),{active:s}=lW(),c=ae(),l=N(c),u=ae();async function d(){o.value=!o.value,await Te(),o.value&&a.value?.focus()}async function f(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;o.value||=!0,await Te(),a.value?.focus(),[`ArrowDown`,` `,`Enter`].includes(e.key)?h(1):e.key===`ArrowUp`&&h(-1)}e(()=>n.value?.targetRef,(e,t)=>{e&&(e.id?l.value=e.id:(l.value=c,e.setAttribute(`id`,l.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${o.value}`),o.value&&e.setAttribute(`aria-controls`,u),e.addEventListener(`click`,d),e.addEventListener(`keydown`,f)),t&&t!==e&&(t.id===c&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,d),t.removeEventListener(`keydown`,f))},{immediate:!0}),e(o,e=>{let t=n.value?.targetRef;t&&(t.setAttribute(`aria-expanded`,`${e}`),e?t.setAttribute(`aria-controls`,u):t.removeAttribute(`aria-controls`))},{immediate:!0});async function p(){n.value?.targetRef?.focus(),o.value=!1}function m(){if(!s.value||!a.value)return;let e=a.value.querySelector(`#${s.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),p())}function h(e){if(!o.value||!a.value)return;let t=Array.from(a.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let n=t.findIndex(e=>e.id===s.value);if(n===-1){let n=t[e>0?0:t.length-1];n?.id&&(s.value=n.id);return}let r=n+e;if(r<0||r>t.length-1)return;let i=t[r];i?.id&&(s.value=i.id)}pA(a,p,{ignore:[A(()=>n.value?.targetRef)]});let{cx:g}=V();return(e,c)=>(r(),I(i(LF),C({ref_key:`floatingRef`,ref:n},e.$props,{placement:t.placement??`bottom-start`}),De({default:F(()=>[D(e.$slots,`default`,{open:o.value})]),_:2},[o.value?{name:`floating`,fn:F(({width:t})=>[k(sW,C({style:{width:t}},i(g)(`max-h-[inherit] max-w-[inherit]`)),{menu:F(()=>[P(`div`,{id:i(u),ref_key:`menuRef`,ref:a,"aria-activedescendant":i(s),"aria-labelledby":l.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:Fe(p,[`stop`]),onKeydown:[c[0]||=ke(Fe(e=>h(1),[`prevent`,`stop`]),[`down`]),ke(Fe(m,[`prevent`,`stop`]),[`enter`]),ke(Fe(p,[`prevent`,`stop`]),[`escape`]),ke(Fe(m,[`prevent`,`stop`]),[`space`]),ke(Fe(p,[`prevent`,`stop`]),[`tab`]),c[1]||=ke(Fe(e=>h(-1),[`prevent`,`stop`]),[`up`])]},[D(e.$slots,`items`,{open:o.value})],40,dW)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}}),pW={key:1,class:`rounded border bg-b-2 p-3 text-sm`},mW={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},hW=R({__name:`ScalarErrorBoundary`,setup(e){let t=N(!1),n=N();return u((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,i)=>t.value?(r(),M(`div`,pW,[i[0]||=P(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(r(),M(`div`,mW,we(n.value?.name)+`: `+we(n.value?.message),1)):j(``,!0)])):D(e.$slots,`default`,{key:0})}}),gW=[`B`,`kB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],_W=[`B`,`KiB`,`MiB`,`GiB`,`TiB`,`PiB`,`EiB`,`ZiB`,`YiB`],vW=[`b`,`kbit`,`Mbit`,`Gbit`,`Tbit`,`Pbit`,`Ebit`,`Zbit`,`Ybit`],yW=[`b`,`kibit`,`Mibit`,`Gibit`,`Tibit`,`Pibit`,`Eibit`,`Zibit`,`Yibit`],bW=(e,t,n)=>{let r=e;return typeof t==`string`||Array.isArray(t)?r=e.toLocaleString(t,n):(t===!0||n!==void 0)&&(r=e.toLocaleString(void 0,n)),r},xW=e=>{if(typeof e==`number`)return Math.log10(e);let t=e.toString(10);return t.length+Math.log10(`0.${t.slice(0,15)}`)},SW=e=>typeof e==`number`?Math.log(e):xW(e)*Math.log(10),CW=(e,t)=>{if(typeof e==`number`)return e/t;let n=e/BigInt(t),r=e%BigInt(t);return Number(n)+Number(r)/t},wW=(e,t)=>{if(t===void 0)return e;if(typeof t!=`number`||!Number.isSafeInteger(t)||t<0)throw TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof t}: ${t}`);return t===0?e:e.length<t?e.padStart(t,` `):e},TW=e=>{let{minimumFractionDigits:t,maximumFractionDigits:n}=e;if(!(t===void 0&&n===void 0))return{...t!==void 0&&{minimumFractionDigits:t},...n!==void 0&&{maximumFractionDigits:n},roundingMode:`trunc`}};function EW(e,t){if(typeof e!=`bigint`&&!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,nonBreakingSpace:!1,...t};let n=t.bits?t.binary?yW:vW:t.binary?_W:gW,r=t.space?t.nonBreakingSpace?`\xA0`:` `:``,i=typeof e==`number`?e===0:e===0n;if(t.signed&&i)return wW(` 0${r}${n[0]}`,t.fixedWidth);let a=e<0,o=a?`-`:t.signed?`+`:``;a&&(e=-e);let s=TW(t),c;if(e<1)c=o+bW(e,t.locale,s)+r+n[0];else{let i=Math.min(Math.floor(t.binary?SW(e)/Math.log(1024):xW(e)/3),n.length-1);if(e=CW(e,(t.binary?1024:1e3)**i),!s){let t=Math.max(3,Math.floor(e).toString().length);e=e.toPrecision(t)}let a=bW(Number(e),t.locale,s),l=n[i];c=o+a+r+l}return wW(c,t.fixedWidth)}var DW={key:0,class:`flex items-start justify-between gap-2 text-sm leading-none text-c-1 whitespace-nowrap font-medium`},OW=R({inheritAttrs:!1,__name:`ScalarFormField`,props:{is:{default:`label`}},setup(e){let{cx:t}=V();return(n,o)=>(r(),I(h(e.is),a(L(i(t)(`flex flex-col gap-1.5 rounded`))),{default:F(()=>[n.$slots.label?(r(),M(`div`,DW,[D(n.$slots,`label`)])):j(``,!0),D(n.$slots,`default`),n.$slots.below?(r(),M(`span`,{key:1,class:s(i(t)(`-mt-1.5 text-sm`))},[D(n.$slots,`below`)],2)):j(``,!0)]),_:3},16))}}),kW=R({inheritAttrs:!1,__name:`ScalarHeaderButton`,props:{is:{default:`button`},active:{type:Boolean}},setup(e){let t=sr({base:`group/button flex items-center rounded px-2.5 py-1.5 font-medium no-underline leading-3 `,variants:{active:{true:`bg-b-3 cursor-default`,false:`bg-transparent hover:bg-b-3 cursor-pointer`}}}),{cx:n}=V();return(a,o)=>(r(),I(h(e.is),C({type:e.is===`button`?`button`:void 0},i(n)(i(t)({active:e.active}))),{default:F(()=>[D(a.$slots,`default`)]),_:3},16,[`type`]))}}),AW=()=>typeof navigator>`u`?!1:navigator.userAgentData?.platform?navigator.userAgentData.platform.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent),jW={"⌘":`Command`,"^":`Control`,ctrl:`Control`,"⌥":`Option`,alt:`Alt`,"⇧":`Shift`,"⇪":`Caps Lock`,"↵":`Enter`,"←":`Left Arrow`,"→":`Right Arrow`,"↑":`Up Arrow`,"↓":`Down Arrow`},MW={Meta:`⌘`,Shift:`⇧`,Alt:`⌥`,Control:`^`},NW={Meta:`ctrl`,Shift:`⇧`,Alt:`alt`,Control:`ctrl`};function PW(e){return e===`default`}function FW(e){let t=PW(e)?`Meta`:e;return AW()?MW[t]:NW[t]}function IW(e,t){return[...t.map(e=>FW(e)),e]}function LW(e){return e in jW?jW[e]:e}var RW={"aria-hidden":`true`,class:`contents`},zW={class:`sr-only`},BW=R({inheritAttrs:!1,__name:`ScalarHotkey`,props:{hotkey:{},modifier:{default:()=>[`Meta`]}},setup(e){let{cx:t}=V(),n=A(()=>IW(e.hotkey,e.modifier));return(e,o)=>(r(),M(`div`,a(L(i(t)(`border-(--scalar-background-3) inline-flex gap-0.5 overflow-hidden rounded border text-xxs rounded-b p-1 font-medium uppercase leading-none`))),[(r(!0),M(ue,null,f(n.value,(e,t)=>(r(),M(`div`,{key:t},[P(`span`,RW,we(e),1),P(`span`,zW,we(i(LW)(e)),1)]))),128))],16))}}),VW=_({default:()=>WW,render:()=>UW},1),HW={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UW(e,t){return r(),M(`svg`,HW,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var WW={render:UW},GW=_({default:()=>JW,render:()=>qW},1),KW={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qW(e,t){return r(),M(`svg`,KW,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3`},null,-1)]])}var JW={render:qW},YW=_({default:()=>QW,render:()=>ZW},1),XW={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ZW(e,t){return r(),M(`svg`,XW,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var QW={render:ZW},$W=_({default:()=>nG,render:()=>tG},1),eG={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function tG(e,t){return r(),M(`svg`,eG,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var nG={render:tG},rG=_({default:()=>oG,render:()=>aG},1),iG={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function aG(e,t){return r(),M(`svg`,iG,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12h20m-9.3 9.3L22 12l-9.3-9.3`},null,-1)]])}var oG={render:aG},sG=_({default:()=>uG,render:()=>lG},1),cG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function lG(e,t){return r(),M(`svg`,cG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`},null,-1)]])}var uG={render:lG},dG=_({default:()=>mG,render:()=>pG},1),fG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function pG(e,t){return r(),M(`svg`,fG,[...t[0]||=[P(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),P(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var mG={render:pG},hG=_({default:()=>vG,render:()=>_G},1),gG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function _G(e,t){return r(),M(`svg`,gG,[...t[0]||=[P(`path`,{d:`M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125`},null,-1),P(`path`,{d:`M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055`},null,-1),P(`path`,{d:`M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125`},null,-1)]])}var vG={render:_G},yG=_({default:()=>SG,render:()=>xG},1),bG={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function xG(e,t){return r(),M(`svg`,bG,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.4 4.6 10.6 19.4l-8-6.4`},null,-1)]])}var SG={render:xG},CG=_({default:()=>EG,render:()=>TG},1),wG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function TG(e,t){return r(),M(`svg`,wG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var EG={render:TG},DG=_({default:()=>AG,render:()=>kG},1),OG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function kG(e,t){return r(),M(`svg`,OG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var AG={render:kG},jG=_({default:()=>PG,render:()=>NG},1),MG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function NG(e,t){return r(),M(`svg`,MG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var PG={render:NG},FG=_({default:()=>RG,render:()=>LG},1),IG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function LG(e,t){return r(),M(`svg`,IG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var RG={render:LG},zG=_({default:()=>HG,render:()=>VG},1),BG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function VG(e,t){return r(),M(`svg`,BG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var HG={render:VG},UG=_({default:()=>KG,render:()=>GG},1),WG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function GG(e,t){return r(),M(`svg`,WG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var KG={render:GG},qG=_({default:()=>XG,render:()=>YG},1),JG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function YG(e,t){return r(),M(`svg`,JG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z`},null,-1)]])}var XG={render:YG},ZG=_({default:()=>eK,render:()=>$G},1),QG={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function $G(e,t){return r(),M(`svg`,QG,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var eK={render:$G},tK=_({default:()=>iK,render:()=>rK},1),nK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function rK(e,t){return r(),M(`svg`,nK,[...t[0]||=[P(`path`,{d:`M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z`},null,-1)]])}var iK={render:rK},aK=_({default:()=>cK,render:()=>sK},1),oK={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function sK(e,t){return r(),M(`svg`,oK,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18`},null,-1)]])}var cK={render:sK},lK=_({default:()=>fK,render:()=>dK},1),uK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function dK(e,t){return r(),M(`svg`,uK,[...t[0]||=[P(`path`,{d:`M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z`},null,-1),P(`path`,{d:`M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0`},null,-1)]])}var fK={render:dK},pK=_({default:()=>gK,render:()=>hK},1),mK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function hK(e,t){return r(),M(`svg`,mK,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08`},null,-1)]])}var gK={render:hK},_K=_({default:()=>bK,render:()=>yK},1),vK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function yK(e,t){return r(),M(`svg`,vK,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223`},null,-1),P(`path`,{fill:`currentColor`,d:`M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425`},null,-1)]])}var bK={render:yK},xK=_({default:()=>wK,render:()=>CK},1),SK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function CK(e,t){return r(),M(`svg`,SK,[...t[0]||=[P(`path`,{d:`M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244`},null,-1)]])}var wK={render:CK},TK=_({default:()=>OK,render:()=>DK},1),EK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function DK(e,t){return r(),M(`svg`,EK,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6`},null,-1)]])}var OK={render:DK},kK=_({default:()=>MK,render:()=>jK},1),AK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function jK(e,t){return r(),M(`svg`,AK,[...t[0]||=[P(`path`,{d:`M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152`},null,-1),P(`path`,{d:`M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5`},null,-1)]])}var MK={render:jK},NK=_({default:()=>IK,render:()=>FK},1),PK={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function FK(e,t){return r(),M(`svg`,PK,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10`},null,-1)]])}var IK={render:FK},LK=_({default:()=>BK,render:()=>zK},1),RK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function zK(e,t){return r(),M(`svg`,RK,[...t[0]||=[P(`path`,{d:`M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5`},null,-1)]])}var BK={render:zK},VK=_({default:()=>WK,render:()=>UK},1),HK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UK(e,t){return r(),M(`svg`,HK,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83`},null,-1)]])}var WK={render:UK},GK=_({default:()=>JK,render:()=>qK},1),KK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qK(e,t){return r(),M(`svg`,KK,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z`},null,-1)]])}var JK={render:qK},YK=_({default:()=>QK,render:()=>ZK},1),XK={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ZK(e,t){return r(),M(`svg`,XK,[...t[0]||=[P(`path`,{d:`M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1`},null,-1)]])}var QK={render:ZK},$K=_({default:()=>nq,render:()=>tq},1),eq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function tq(e,t){return r(),M(`svg`,eq,[...t[0]||=[P(`path`,{d:`M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5`},null,-1),P(`path`,{d:`m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014`},null,-1)]])}var nq={render:tq},rq=_({default:()=>oq,render:()=>aq},1),iq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function aq(e,t){return r(),M(`svg`,iq,[...t[0]||=[P(`path`,{d:`M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6`},null,-1),P(`path`,{d:`M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10`},null,-1)]])}var oq={render:aq},sq=_({default:()=>uq,render:()=>lq},1),cq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function lq(e,t){return r(),M(`svg`,cq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z`},null,-1)]])}var uq={render:lq},dq=_({default:()=>mq,render:()=>pq},1),fq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function pq(e,t){return r(),M(`svg`,fq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var mq={render:pq},hq=_({default:()=>vq,render:()=>_q},1),gq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function _q(e,t){return r(),M(`svg`,gq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var vq={render:_q},yq=_({default:()=>Sq,render:()=>xq},1),bq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function xq(e,t){return r(),M(`svg`,bq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`},null,-1)]])}var Sq={render:xq},Cq=_({default:()=>Eq,render:()=>Tq},1),wq={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`};function Tq(e,t){return r(),M(`svg`,wq,[...t[0]||=[P(`path`,{d:`M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0`},null,-1)]])}var Eq={render:Tq},Dq=_({default:()=>Aq,render:()=>kq},1),Oq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function kq(e,t){return r(),M(`svg`,Oq,[...t[0]||=[P(`path`,{d:`M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278`},null,-1)]])}var Aq={render:kq},jq=_({default:()=>Pq,render:()=>Nq},1),Mq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Nq(e,t){return r(),M(`svg`,Mq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2`},null,-1)]])}var Pq={render:Nq},Fq=_({default:()=>Rq,render:()=>Lq},1),Iq={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Lq(e,t){return r(),M(`svg`,Iq,[...t[0]||=[P(`path`,{d:`M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33`},null,-1)]])}var Rq={render:Lq},zq=_({default:()=>Hq,render:()=>Vq},1),Bq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Vq(e,t){return r(),M(`svg`,Bq,[...t[0]||=[P(`path`,{d:`M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4`},null,-1),P(`path`,{d:`M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10`},null,-1)]])}var Hq={render:Vq},Uq=_({default:()=>Kq,render:()=>Gq},1),Wq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Gq(e,t){return r(),M(`svg`,Wq,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2`},null,-1)]])}var Kq={render:Gq},qq=_({default:()=>Xq,render:()=>Yq},1),Jq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Yq(e,t){return r(),M(`svg`,Jq,[...t[0]||=[P(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),P(`path`,{d:`M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4`},null,-1)]])}var Xq={render:Yq},Zq=_({default:()=>eJ,render:()=>$q},1),Qq={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function $q(e,t){return r(),M(`svg`,Qq,[...t[0]||=[P(`path`,{d:`M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z`},null,-1)]])}var eJ={render:$q},tJ=_({default:()=>iJ,render:()=>rJ},1),nJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function rJ(e,t){return r(),M(`svg`,nJ,[...t[0]||=[P(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),P(`path`,{d:`M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33`},null,-1),P(`path`,{d:`m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02`},null,-1)]])}var iJ={render:rJ},aJ=_({default:()=>cJ,render:()=>sJ},1),oJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function sJ(e,t){return r(),M(`svg`,oJ,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2`},null,-1),P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0`,"clip-rule":`evenodd`},null,-1)]])}var cJ={render:sJ},lJ=_({default:()=>fJ,render:()=>dJ},1),uJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function dJ(e,t){return r(),M(`svg`,uJ,[...t[0]||=[P(`path`,{d:`M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33`},null,-1),P(`path`,{d:`M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0`},null,-1)]])}var fJ={render:dJ},pJ=_({default:()=>gJ,render:()=>hJ},1),mJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function hJ(e,t){return r(),M(`svg`,mJ,[...t[0]||=[P(`path`,{d:`M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9`},null,-1)]])}var gJ={render:hJ},_J=_({default:()=>bJ,render:()=>yJ},1),vJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function yJ(e,t){return r(),M(`svg`,vJ,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22`},null,-1)]])}var bJ={render:yJ},xJ=_({default:()=>wJ,render:()=>CJ},1),SJ={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function CJ(e,t){return r(),M(`svg`,SJ,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576`},null,-1)]])}var wJ={render:CJ},TJ=_({default:()=>OJ,render:()=>DJ},1),EJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function DJ(e,t){return r(),M(`svg`,EJ,[...t[0]||=[P(`path`,{d:`M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6`},null,-1)]])}var OJ={render:DJ},kJ=_({default:()=>MJ,render:()=>jJ},1),AJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function jJ(e,t){return r(),M(`svg`,AJ,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3`},null,-1)]])}var MJ={render:jJ},NJ=_({default:()=>IJ,render:()=>FJ},1),PJ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`};function FJ(e,t){return r(),M(`svg`,PJ,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0`},null,-1)]])}var IJ={render:FJ},LJ=_({default:()=>BJ,render:()=>zJ},1),RJ={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function zJ(e,t){return r(),M(`svg`,RJ,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591`},null,-1)]])}var BJ={render:zJ},VJ=_({default:()=>WJ,render:()=>UJ},1),HJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UJ(e,t){return r(),M(`svg`,HJ,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z`},null,-1)]])}var WJ={render:UJ},GJ=_({default:()=>JJ,render:()=>qJ},1),KJ={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function qJ(e,t){return r(),M(`svg`,KJ,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var JJ={render:qJ},YJ=_({default:()=>QJ,render:()=>ZJ},1),XJ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ZJ(e,t){return r(),M(`svg`,XJ,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var QJ={render:ZJ},$J=_({default:()=>nY,render:()=>tY},1),eY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function tY(e,t){return r(),M(`svg`,eY,[...t[0]||=[P(`path`,{d:`M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22`},null,-1),P(`path`,{d:`M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205`},null,-1)]])}var nY={render:tY},rY=_({default:()=>oY,render:()=>aY},1),iY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function aY(e,t){return r(),M(`svg`,iY,[...t[0]||=[P(`path`,{d:`M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z`},null,-1)]])}var oY={render:aY},sY=_({default:()=>uY,render:()=>lY},1),cY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function lY(e,t){return r(),M(`svg`,cY,[...t[0]||=[P(`path`,{d:`M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z`},null,-1)]])}var uY={render:lY},dY=_({default:()=>mY,render:()=>pY},1),fY={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function pY(e,t){return r(),M(`svg`,fY,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3`},null,-1)]])}var mY={render:pY},hY=_({default:()=>vY,render:()=>_Y},1),gY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function _Y(e,t){return r(),M(`svg`,gY,[...t[0]||=[P(`path`,{d:`M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17`},null,-1)]])}var vY={render:_Y},yY=_({default:()=>SY,render:()=>xY},1),bY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function xY(e,t){return r(),M(`svg`,bY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9`},null,-1)]])}var SY={render:xY},CY=_({default:()=>EY,render:()=>TY},1),wY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function TY(e,t){return r(),M(`svg`,wY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35`},null,-1)]])}var EY={render:TY},DY=_({default:()=>AY,render:()=>kY},1),OY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function kY(e,t){return r(),M(`svg`,OY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2`},null,-1),P(`path`,{fill:`currentColor`,d:`M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var AY={render:kY},jY=_({default:()=>PY,render:()=>NY},1),MY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function NY(e,t){return r(),M(`svg`,MY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0`},null,-1)]])}var PY={render:NY},FY=_({default:()=>RY,render:()=>LY},1),IY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function LY(e,t){return r(),M(`svg`,IY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6`},null,-1)]])}var RY={render:LY},zY=_({default:()=>HY,render:()=>VY},1),BY={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function VY(e,t){return r(),M(`svg`,BY,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var HY={render:VY},UY=_({default:()=>KY,render:()=>GY},1),WY={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function GY(e,t){return r(),M(`svg`,WY,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z`},null,-1)]])}var KY={render:GY},qY=_({default:()=>XY,render:()=>YY},1),JY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function YY(e,t){return r(),M(`svg`,JY,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75`},null,-1)]])}var XY={render:YY},ZY=_({default:()=>eX,render:()=>$Y},1),QY={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function $Y(e,t){return r(),M(`svg`,QY,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5`},null,-1)]])}var eX={render:$Y},tX=_({default:()=>iX,render:()=>rX},1),nX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function rX(e,t){return r(),M(`svg`,nX,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2`},null,-1)]])}var iX={render:rX},aX=_({default:()=>cX,render:()=>sX},1),oX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function sX(e,t){return r(),M(`svg`,oX,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7`},null,-1)]])}var cX={render:sX},lX=_({default:()=>fX,render:()=>dX},1),uX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function dX(e,t){return r(),M(`svg`,uX,[...t[0]||=[P(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),P(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var fX={render:dX},pX=_({default:()=>gX,render:()=>hX},1),mX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function hX(e,t){return r(),M(`svg`,mX,[...t[0]||=[P(`path`,{d:`M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614`},null,-1),P(`path`,{d:`m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202`},null,-1)]])}var gX={render:hX},_X=_({default:()=>bX,render:()=>yX},1),vX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function yX(e,t){return r(),M(`svg`,vX,[...t[0]||=[P(`path`,{d:`M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583`},null,-1)]])}var bX={render:yX},xX=_({default:()=>wX,render:()=>CX},1),SX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function CX(e,t){return r(),M(`svg`,SX,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`},null,-1)]])}var wX={render:CX},TX=_({default:()=>OX,render:()=>DX},1),EX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function DX(e,t){return r(),M(`svg`,EX,[...t[0]||=[P(`path`,{d:`M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5`},null,-1),P(`path`,{d:`M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5`},null,-1)]])}var OX={render:DX},kX=_({default:()=>MX,render:()=>jX},1),AX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function jX(e,t){return r(),M(`svg`,AX,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0`},null,-1)]])}var MX={render:jX},NX=_({default:()=>IX,render:()=>FX},1),PX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function FX(e,t){return r(),M(`svg`,PX,[...t[0]||=[P(`path`,{d:`M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75`},null,-1)]])}var IX={render:FX},LX=_({default:()=>BX,render:()=>zX},1),RX={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function zX(e,t){return r(),M(`svg`,RX,[...t[0]||=[P(`path`,{d:`M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z`},null,-1)]])}var BX={render:zX},VX=_({default:()=>WX,render:()=>UX},1),HX={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function UX(e,t){return r(),M(`svg`,HX,[...t[0]||=[P(`path`,{d:`M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z`},null,-1)]])}var WX={render:UX},GX=_({default:()=>JX,render:()=>qX},1),KX={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qX(e,t){return r(),M(`svg`,KX,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z`,"clip-rule":`evenodd`},null,-1)]])}var JX={render:qX},YX=_({default:()=>QX,render:()=>ZX},1),XX={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function ZX(e,t){return r(),M(`svg`,XX,[...t[0]||=[P(`path`,{d:`M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z`},null,-1)]])}var QX={render:ZX},$X=_({default:()=>nZ,render:()=>tZ},1),eZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function tZ(e,t){return r(),M(`svg`,eZ,[...t[0]||=[P(`path`,{d:`M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565`},null,-1)]])}var nZ={render:tZ},rZ=_({default:()=>oZ,render:()=>aZ},1),iZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function aZ(e,t){return r(),M(`svg`,iZ,[...t[0]||=[P(`path`,{d:`M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51`},null,-1),P(`path`,{d:`m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z`},null,-1)]])}var oZ={render:aZ},sZ=_({default:()=>uZ,render:()=>lZ},1),cZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function lZ(e,t){return r(),M(`svg`,cZ,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5`},null,-1)]])}var uZ={render:lZ},dZ=_({default:()=>mZ,render:()=>pZ},1),fZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function pZ(e,t){return r(),M(`svg`,fZ,[...t[0]||=[P(`path`,{d:`M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z`},null,-1)]])}var mZ={render:pZ},hZ=_({default:()=>vZ,render:()=>_Z},1),gZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function _Z(e,t){return r(),M(`svg`,gZ,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z`},null,-1)]])}var vZ={render:_Z},yZ=_({default:()=>SZ,render:()=>xZ},1),bZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function xZ(e,t){return r(),M(`svg`,bZ,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z`},null,-1)]])}var SZ={render:xZ},CZ=_({default:()=>EZ,render:()=>TZ},1),wZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`};function TZ(e,t){return r(),M(`svg`,wZ,[...t[0]||=[P(`path`,{d:`m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71`},null,-1)]])}var EZ={render:TZ},DZ=_({default:()=>AZ,render:()=>kZ},1),OZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function kZ(e,t){return r(),M(`svg`,OZ,[...t[0]||=[P(`path`,{d:`M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z`},null,-1)]])}var AZ={render:kZ},jZ=_({default:()=>PZ,render:()=>NZ},1),MZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function NZ(e,t){return r(),M(`svg`,MZ,[...t[0]||=[P(`path`,{d:`M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1`},null,-1)]])}var PZ={render:NZ},FZ=_({default:()=>RZ,render:()=>LZ},1),IZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function LZ(e,t){return r(),M(`svg`,IZ,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z`},null,-1)]])}var RZ={render:LZ},zZ=_({default:()=>HZ,render:()=>VZ},1),BZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function VZ(e,t){return r(),M(`svg`,BZ,[...t[0]||=[P(`path`,{d:`M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1`},null,-1)]])}var HZ={render:VZ},UZ=_({default:()=>KZ,render:()=>GZ},1),WZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function GZ(e,t){return r(),M(`svg`,WZ,[...t[0]||=[P(`path`,{d:`M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05`},null,-1),P(`path`,{d:`M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36`},null,-1),P(`path`,{d:`M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38`},null,-1)]])}var KZ={render:GZ},qZ=_({default:()=>XZ,render:()=>YZ},1),JZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function YZ(e,t){return r(),M(`svg`,JZ,[...t[0]||=[P(`path`,{d:`M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z`},null,-1)]])}var XZ={render:YZ},ZZ=_({default:()=>eQ,render:()=>$Z},1),QZ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function $Z(e,t){return r(),M(`svg`,QZ,[...t[0]||=[P(`path`,{d:`M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43`},null,-1),P(`path`,{d:`M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12`},null,-1)]])}var eQ={render:$Z},tQ=_({default:()=>iQ,render:()=>rQ},1),nQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function rQ(e,t){return r(),M(`svg`,nQ,[...t[0]||=[P(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var iQ={render:rQ},aQ=_({default:()=>cQ,render:()=>sQ},1),oQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function sQ(e,t){return r(),M(`svg`,oQ,[...t[0]||=[P(`path`,{d:`M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69`},null,-1),P(`path`,{d:`M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85`},null,-1)]])}var cQ={render:sQ},lQ=_({default:()=>fQ,render:()=>dQ},1),uQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function dQ(e,t){return r(),M(`svg`,uQ,[...t[0]||=[P(`path`,{d:`M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z`},null,-1),P(`path`,{d:`M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z`},null,-1)]])}var fQ={render:dQ},pQ=_({default:()=>gQ,render:()=>hQ},1),mQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function hQ(e,t){return r(),M(`svg`,mQ,[...t[0]||=[P(`path`,{d:`M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0`},null,-1)]])}var gQ={render:hQ},_Q=_({default:()=>bQ,render:()=>yQ},1),vQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function yQ(e,t){return r(),M(`svg`,vQ,[...t[0]||=[P(`path`,{d:`M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29`},null,-1)]])}var bQ={render:yQ},xQ=_({default:()=>wQ,render:()=>CQ},1),SQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`};function CQ(e,t){return r(),M(`svg`,SQ,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1`,"clip-rule":`evenodd`},null,-1)]])}var wQ={render:CQ},TQ=_({default:()=>OQ,render:()=>DQ},1),EQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function DQ(e,t){return r(),M(`svg`,EQ,[...t[0]||=[P(`path`,{d:`m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z`},null,-1)]])}var OQ={render:DQ},kQ=_({default:()=>MQ,render:()=>jQ},1),AQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function jQ(e,t){return r(),M(`svg`,AQ,[...t[0]||=[P(`path`,{d:`M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z`},null,-1),P(`path`,{"fill-rule":`evenodd`,d:`M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z`},null,-1)]])}var MQ={render:jQ},NQ=_({default:()=>IQ,render:()=>FQ},1),PQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function FQ(e,t){return r(),M(`svg`,PQ,[...t[0]||=[P(`path`,{d:`M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z`},null,-1)]])}var IQ={render:FQ},LQ=_({default:()=>BQ,render:()=>zQ},1),RQ={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function zQ(e,t){return r(),M(`svg`,RQ,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var BQ={render:zQ},VQ=_({default:()=>WQ,render:()=>UQ},1),HQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function UQ(e,t){return r(),M(`svg`,HQ,[...t[0]||=[P(`path`,{d:`M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z`},null,-1)]])}var WQ={render:UQ},GQ=_({default:()=>JQ,render:()=>qQ},1),KQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`};function qQ(e,t){return r(),M(`svg`,KQ,[...t[0]||=[P(`path`,{d:`m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z`},null,-1)]])}var JQ={render:qQ},YQ=_({default:()=>QQ,render:()=>ZQ},1),XQ={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function ZQ(e,t){return r(),M(`svg`,XQ,[...t[0]||=[P(`path`,{d:`M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5`},null,-1)]])}var QQ={render:ZQ},$Q=_({default:()=>n$,render:()=>t$},1),e$={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function t$(e,t){return r(),M(`svg`,e$,[...t[0]||=[P(`path`,{d:`M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z`},null,-1)]])}var n$={render:t$},r$=_({default:()=>o$,render:()=>a$},1),i$={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function a$(e,t){return r(),M(`svg`,i$,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6`},null,-1)]])}var o$={render:a$},s$=_({default:()=>u$,render:()=>l$},1),c$={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function l$(e,t){return r(),M(`svg`,c$,[...t[0]||=[P(`path`,{d:`M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18`},null,-1)]])}var u$={render:l$},d$=_({default:()=>m$,render:()=>p$},1),f$={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function p$(e,t){return r(),M(`svg`,f$,[...t[0]||=[P(`path`,{d:`M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12`},null,-1)]])}var m$={render:p$},h$=_({default:()=>v$,render:()=>_$},1),g$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function _$(e,t){return r(),M(`svg`,g$,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z`,"clip-rule":`evenodd`},null,-1)]])}var v$={render:_$},y$=_({default:()=>S$,render:()=>x$},1),b$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function x$(e,t){return r(),M(`svg`,b$)}var S$={render:x$},C$=_({default:()=>E$,render:()=>T$},1),w$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function T$(e,t){return r(),M(`svg`,w$,[...t[0]||=[ye(`<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>`,29)]])}var E$={render:T$},D$=_({default:()=>A$,render:()=>k$},1),O$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function k$(e,t){return r(),M(`svg`,O$,[...t[0]||=[P(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),P(`path`,{fill:`#fff`,d:`M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z`},null,-1)]])}var A$={render:k$},j$=_({default:()=>P$,render:()=>N$},1),M$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function N$(e,t){return r(),M(`svg`,M$,[...t[0]||=[ye(`<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>`,9)]])}var P$={render:N$},F$=_({default:()=>R$,render:()=>L$},1),I$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function L$(e,t){return r(),M(`svg`,I$,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z`},null,-1)]])}var R$={render:L$},z$=_({default:()=>H$,render:()=>V$},1),B$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function V$(e,t){return r(),M(`svg`,B$,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z`},null,-1)]])}var H$={render:V$},U$=_({default:()=>K$,render:()=>G$},1),W$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function G$(e,t){return r(),M(`svg`,W$,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z`},null,-1)]])}var K$={render:G$},q$=_({default:()=>X$,render:()=>Y$},1),J$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Y$(e,t){return r(),M(`svg`,J$,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z`},null,-1),P(`path`,{fill:`currentColor`,d:`M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z`},null,-1)]])}var X$={render:Y$},Z$=_({default:()=>e1,render:()=>$$},1),Q$={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function $$(e,t){return r(),M(`svg`,Q$,[...t[0]||=[P(`path`,{fill:`#FF5B11`,d:`M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787`,opacity:`.993`},null,-1),P(`path`,{fill:`#FF9758`,d:`M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z`},null,-1)]])}var e1={render:$$},t1=_({default:()=>i1,render:()=>r1},1),n1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function r1(e,t){return r(),M(`svg`,n1,[...t[0]||=[P(`path`,{fill:`#FF2D20`,d:`M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z`},null,-1)]])}var i1={render:r1},a1=_({default:()=>c1,render:()=>s1},1),o1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function s1(e,t){return r(),M(`svg`,o1,[...t[0]||=[ye(`<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>`,2)]])}var c1={render:s1},l1=_({default:()=>f1,render:()=>d1},1),u1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function d1(e,t){return r(),M(`svg`,u1,[...t[0]||=[P(`path`,{fill:`#E0234E`,"fill-rule":`evenodd`,d:`M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217`,"clip-rule":`evenodd`},null,-1)]])}var f1={render:d1},p1=_({default:()=>g1,render:()=>h1},1),m1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function h1(e,t){return r(),M(`svg`,m1,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04`},null,-1)]])}var g1={render:h1},_1=_({default:()=>b1,render:()=>y1},1),v1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function y1(e,t){return r(),M(`svg`,v1,[...t[0]||=[ye(`<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>`,2)]])}var b1={render:y1},x1=_({default:()=>w1,render:()=>C1},1),S1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function C1(e,t){return r(),M(`svg`,S1,[...t[0]||=[P(`path`,{fill:`#00DC82`,d:`M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488`},null,-1)]])}var w1={render:C1},T1=_({default:()=>O1,render:()=>D1},1),E1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function D1(e,t){return r(),M(`svg`,E1,[...t[0]||=[ye(`<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>`,10)]])}var O1={render:D1},k1=_({default:()=>M1,render:()=>j1},1),A1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function j1(e,t){return r(),M(`svg`,A1,[...t[0]||=[P(`path`,{stroke:`#21FA90`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91`},null,-1),P(`path`,{stroke:`#00050B`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`.885`,d:`m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217`},null,-1)]])}var M1={render:j1},N1=_({default:()=>I1,render:()=>F1},1),P1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function F1(e,t){return r(),M(`svg`,P1,[...t[0]||=[P(`path`,{fill:`#61DAFB`,d:`M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z`},null,-1)]])}var I1={render:F1},L1=_({default:()=>B1,render:()=>z1},1),R1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function z1(e,t){return r(),M(`svg`,R1,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var B1={render:z1},V1=_({default:()=>W1,render:()=>U1},1),H1={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`};function U1(e,t){return r(),M(`svg`,H1,[...t[0]||=[P(`path`,{fill:`#FF3E00`,d:`M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182`},null,-1),P(`path`,{fill:`#fff`,d:`M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489`},null,-1)]])}var W1={render:U1},G1=_({default:()=>J1,render:()=>q1},1),K1={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function q1(e,t){return r(),M(`svg`,K1,[...t[0]||=[P(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),P(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var J1={render:q1},Y1=Object.assign({"../icons/Add.svg":VW,"../icons/AddTab.svg":GW,"../icons/Alert.svg":YW,"../icons/ArrowLeft.svg":$W,"../icons/ArrowRight.svg":rG,"../icons/Brackets.svg":sG,"../icons/Branch.svg":dG,"../icons/Changelog.svg":hG,"../icons/Checkmark.svg":yG,"../icons/ChevronDown.svg":CG,"../icons/ChevronLeft.svg":DG,"../icons/ChevronRight.svg":jG,"../icons/ChevronUp.svg":FG,"../icons/Clipboard.svg":zG,"../icons/Close.svg":UG,"../icons/CloseTab.svg":qG,"../icons/CloseTabs.svg":ZG,"../icons/Cloud.svg":tK,"../icons/CodeFolder.svg":aK,"../icons/Cog.svg":lK,"../icons/Collection.svg":pK,"../icons/Cookie.svg":_K,"../icons/DarkMode.svg":xK,"../icons/Delete.svg":TK,"../icons/Discord.svg":kK,"../icons/DocsPage.svg":NK,"../icons/Download.svg":LK,"../icons/Duplicate.svg":VK,"../icons/Edit.svg":GK,"../icons/Ellipses.svg":YK,"../icons/Email.svg":$K,"../icons/Error.svg":rq,"../icons/Example.svg":sq,"../icons/ExternalLink.svg":dq,"../icons/FilterList.svg":hq,"../icons/Folder.svg":yq,"../icons/GitHub.svg":Cq,"../icons/GitHubLine.svg":Dq,"../icons/Globe.svg":jq,"../icons/Google.svg":Fq,"../icons/Help.svg":zq,"../icons/Hide.svg":Uq,"../icons/History.svg":qq,"../icons/House.svg":Zq,"../icons/Import.svg":tJ,"../icons/Info.svg":aJ,"../icons/Key.svg":lJ,"../icons/Leave.svg":pJ,"../icons/LightDarkModeToggle.svg":_J,"../icons/LightMode.svg":xJ,"../icons/Link.svg":TJ,"../icons/Lock.svg":kJ,"../icons/Logo.svg":NJ,"../icons/Magic.svg":LJ,"../icons/Markdown.svg":VJ,"../icons/Menu.svg":GJ,"../icons/NotAllowed.svg":YJ,"../icons/Page.svg":$J,"../icons/Pencil.svg":rY,"../icons/Play.svg":sY,"../icons/Refresh.svg":dY,"../icons/Roadmap.svg":hY,"../icons/Scribble.svg":yY,"../icons/Search.svg":CY,"../icons/Server.svg":DY,"../icons/Settings.svg":jY,"../icons/Show.svg":FY,"../icons/Sort.svg":zY,"../icons/Terminal.svg":UY,"../icons/Trash.svg":qY,"../icons/Unlock.svg":ZY,"../icons/Unwatch.svg":tX,"../icons/Upload.svg":aX,"../icons/User.svg":lX,"../icons/UserSwitch.svg":pX,"../icons/Users.svg":_X,"../icons/Versions.svg":xX,"../icons/Wallet.svg":TX,"../icons/Watch.svg":kX,"../icons/Workspace.svg":NX,"../icons/programming-framework-angular.svg":LX,"../icons/programming-framework-astro.svg":VX,"../icons/programming-framework-laravel.svg":GX,"../icons/programming-framework-nextdotjs.svg":YX,"../icons/programming-framework-react.svg":$X,"../icons/programming-framework-vuedotjs.svg":rZ,"../icons/programming-language-c.svg":sZ,"../icons/programming-language-clojure.svg":dZ,"../icons/programming-language-csharp.svg":hZ,"../icons/programming-language-css3.svg":yZ,"../icons/programming-language-dart.svg":CZ,"../icons/programming-language-fsharp.svg":DZ,"../icons/programming-language-go.svg":jZ,"../icons/programming-language-html5.svg":FZ,"../icons/programming-language-http.svg":zZ,"../icons/programming-language-java.svg":UZ,"../icons/programming-language-javascript.svg":qZ,"../icons/programming-language-json.svg":ZZ,"../icons/programming-language-kotlin.svg":tQ,"../icons/programming-language-node.svg":aQ,"../icons/programming-language-objc.svg":lQ,"../icons/programming-language-ocaml.svg":pQ,"../icons/programming-language-php.svg":_Q,"../icons/programming-language-powershell.svg":xQ,"../icons/programming-language-python.svg":TQ,"../icons/programming-language-r.svg":kQ,"../icons/programming-language-ruby.svg":NQ,"../icons/programming-language-rust.svg":LQ,"../icons/programming-language-scala.svg":VQ,"../icons/programming-language-shell.svg":GQ,"../icons/programming-language-swift.svg":YQ,"../icons/programming-language-typescript.svg":$Q,"../icons/programming-script-code.svg":r$,"../icons/programming-tool-git.svg":s$,"../icons/programming-tool-tailwindcss.svg":d$}),X1=Object.assign({"../logos/Adonisjs.svg":h$,"../logos/Astro.svg":y$,"../logos/Docusaurus.svg":C$,"../logos/Dotnet.svg":D$,"../logos/Elysiajs.svg":j$,"../logos/Express.svg":F$,"../logos/Fastapi.svg":z$,"../logos/Fastify.svg":U$,"../logos/Go.svg":q$,"../logos/Hono.svg":Z$,"../logos/Laravel.svg":t1,"../logos/Litestar.svg":a1,"../logos/Nestjs.svg":l1,"../logos/Nextjs.svg":p1,"../logos/Nitro.svg":_1,"../logos/Nuxt.svg":x1,"../logos/Openapi.svg":T1,"../logos/Platformatic.svg":k1,"../logos/React.svg":N1,"../logos/Rust.svg":L1,"../logos/Svelte.svg":V1,"../logos/Vue.svg":G1}),Z1=e=>{let t=`../icons/${e}.svg`;return Y1[t]?Y1[t]:(console.warn(`Could not find icon: ${e}`),null)},Q1=e=>{let t=`../logos/${e}.svg`;return X1[t]?X1[t]:(console.warn(`Could not find icon: ${e}`),null)},$1=sr({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}}),e0=pr(R({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){O(e=>({c07589c2:o.value}));let t=e,{cx:n}=V(),o=A(()=>t.thickness??`2`),s=A(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),c=A(()=>{if(t.icon)return Z1(t.icon);if(t.logo)return Q1(t.logo)});return(t,o)=>(r(),I(h(c.value),a(L({...i(n)(`scalar-icon`,i($1)({size:e.size})),...s.value})),null,16))}}),[[`__scopeId`,`data-v-b651bb23`]]),t0=R({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=V();return(n,a)=>typeof e.icon==`string`?(r(),I(e0,C({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(r(),I(h(e.icon),C({key:1,label:e.label,weight:e.weight},i(t)(i($1)({size:e.size}))),null,16,[`label`,`weight`]))}}),n0=`scalar-tooltip`,r0=`scalar-tooltip`,i0=N(),a0=N(),o0=N(),{floatingStyles:s0}=jF(A(()=>i(o0.value?.targetRef)),a0,{placement:A(()=>i(o0.value?.placement)),whileElementsMounted:_F,middleware:A(()=>[bF(),yF()])});e(s0,()=>{a0.value&&(a0.value.style.position=s0.value.position,a0.value.style.top=s0.value.top,a0.value.style.left=s0.value.left,a0.value.style.transform=s0.value.transform??``,a0.value.style.willChange=s0.value.willChange??``)}),e(o0,e=>{if(a0.value)if(e){let t=i(e?.contentTarget)??`textContent`;a0.value[t]=i(e?.content)??``;let n=i(e?.offset)??4;a0.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),a0.value.style.setProperty(`display`,`block`)}else a0.value.innerHTML=``,a0.value.style.removeProperty(`--scalar-tooltip-offset`),a0.value.style.setProperty(`display`,`none`)},{deep:!0});function c0(){if(typeof document>`u`||typeof window>`u`||a0.value)return;let e=document.getElementById(n0);e?a0.value=e:(a0.value=document.createElement(`div`),a0.value.role=`tooltip`,a0.value.id=n0,a0.value.classList.add(r0),a0.value.classList.add(`scalar-app`),a0.value.style.setProperty(`display`,`none`),a0.value.addEventListener(`mouseleave`,l0),document.body.appendChild(a0.value))}function l0(e){p0(e)&&(d0(),o0.value=void 0)}function u0(e){e.key===`Escape`&&(e.stopPropagation(),l0(e))}function d0(){i0.value&&=(clearTimeout(i0.value),void 0)}function f0(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function p0(e){let t=i(o0.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=f0(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function m0(t){c0();function n(e){let n=i(t.delay)??300;d0(),n>0?i0.value=setTimeout(()=>r(),n):r()}function r(e){d0(),document.addEventListener(`keydown`,u0,{once:!0,capture:!0}),o0.value=t}e(()=>i(t.targetRef),(e,t)=>{t&&(t.removeEventListener(`mouseenter`,n),t.removeEventListener(`mouseleave`,l0),t.removeEventListener(`focus`,r),t.removeEventListener(`blur`,l0),t.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,n),e.addEventListener(`mouseleave`,l0),e.addEventListener(`focus`,r),e.addEventListener(`blur`,l0),e.setAttribute(`aria-describedby`,`scalar-tooltip`))},{immediate:!0})}var h0=[`aria-disabled`],g0={key:0,class:`sr-only`},_0=R({inheritAttrs:!1,__name:`ScalarIconButton`,props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:`ghost`},size:{default:`md`},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=sr({base:`scalar-icon-button grid aspect-square cursor-pointer rounded`,variants:{size:{xxs:`size-3.5 p-0.5`,xs:`size-5 p-1`,sm:`size-6 p-1`,md:`size-10 p-3`,full:`size-full`},disabled:{true:`cursor-not-allowed shadow-none`},variant:ur},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=V(),a=w(`ref`);return m0({content:A(()=>e.label),offset:A(()=>e.variant===`ghost`?0:4),placement:A(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:A(()=>e.tooltip?a.value:void 0)}),(a,o)=>(r(),M(`button`,C({ref:`ref`,"aria-disabled":e.disabled,type:`button`},i(n)(i(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[k(i(t0),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?j(``,!0):(r(),M(`span`,g0,we(e.label),1))],16,h0))}}),v0=R({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=sr({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`},disabled:{true:`pointer-events-none opacity-50`}}});return(n,a)=>(r(),I(i(fN),{as:`template`,disabled:e.option.disabled,value:e.option},{default:F(({active:n,selected:r})=>[P(`li`,{class:s(i(cr)(i(t)({active:n,selected:r,disabled:e.option.disabled})))},[k(WA,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),P(`span`,{class:s([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},we(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}}),y0={class:`custom-scroll min-h-0 flex-1`},b0=R({inheritAttrs:!1,__name:`ScalarListbox`,props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:[`update:modelValue`],setup(e){let{cx:t}=V();return(n,a)=>(r(),I(i(cN),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":a[0]||=e=>n.$emit(`update:modelValue`,e)},{default:F(({open:a})=>[e.label?(r(),I(i(lN),{key:0,class:`sr-only`},{default:F(()=>[ve(we(e.label),1)]),_:1})):j(``,!0),k(i(LF),C(n.$props,{placement:e.placement??`bottom-start`}),{floating:F(({width:n})=>[a?(r(),M(`div`,C({key:0,style:{width:n}},i(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[P(`div`,y0,[k(i(dN),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:F(()=>[(r(!0),M(ue,null,f(e.options,t=>(r(),I(v0,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),k(i(RF))],16)):j(``,!0)]),default:F(()=>[k(i(uN),{id:e.id,as:`template`},{default:F(()=>[D(n.$slots,`default`,{open:a})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}}),x0=[`innerHTML`],S0=R({inheritAttrs:!1,__name:`ScalarMarkdown`,props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:n}=V();t({el:w(`div`)});let a=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!Dw(t))return t;let n=Mw(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},o=A(()=>kw(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?a:e.transform,transformType:e.transformType}));return(t,a)=>(r(),M(`div`,C({ref:`div`},i(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:o.value}),null,16,x0))}}),C0=[`aria-controls`,`aria-expanded`],w0=R({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:o({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Ne(e,[`clamp`]),n=ae(),o=ie(e,`modelValue`),c=w(`scalar-markdown`),l=N(!1);vA(()=>c.value?.el,u);function u(){let e=c.value?.el;e&&(l.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}p(u);let{cx:d}=V();return(c,u)=>(r(),M(`div`,a(L(i(d)(`group/summary flex gap-0.5`,o.value?`flex-col`:`flex-row items-baseline`))),[k(S0,C(t,{id:i(n),ref:`scalar-markdown`,clamp:o.value?void 0:e.clamp,class:{"markdown-summary truncate":!o.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(l.value||o.value)?(r(),M(`button`,{key:0,"aria-controls":i(n),"aria-expanded":o.value,class:s([`whitespace-nowrap font-medium hover:underline`,{"self-end":o.value}]),type:`button`,onClick:u[0]||=e=>o.value=!o.value},[D(c.$slots,`button`,{open:o.value},()=>[ve(we(o.value?` Show Less`:`More`),1)])],10,C0)):j(``,!0)],16))}}),T0={Root:EV,Trigger:DV,Portal:OV,Content:kV,Arrow:AV,Item:jV,Group:MV,Separator:NV,CheckboxItem:PV,ItemIndicator:FV,Label:IV,RadioGroup:LV,RadioItem:RV,Sub:zV,SubContent:BV,SubTrigger:VV},E0={class:`h-5 w-auto`},D0={class:`sr-only`},O0=R({__name:`ScalarMenuButton`,props:{open:{type:Boolean}},setup(e){return(t,n)=>(r(),I(i(kW),{class:`gap-0.75 px-2`},{default:F(()=>[P(`div`,E0,[D(t.$slots,`logo`,{},()=>[k(i(e0),{icon:`Logo`})])]),P(`span`,D0,[D(t.$slots,`label`,{},()=>[ve(we(e.open?`Close Menu`:`Open Menu`),1)])]),k(i(ti),{class:s([`shrink-0 text-c-3 group-hover/button:text-c-1 size-3.5`,e.open?`rotate-180`:``]),weight:`bold`},null,8,[`class`])]),_:3}))}}),k0=pr(R({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=sr({base:[`block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left`,`truncate no-underline text-sm text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{disabled:{true:`pointer-events-none text-c-3`},active:{true:``}},compoundVariants:[{disabled:!1,active:!0,class:`bg-b-2`}]});return(n,a)=>(r(),I(h(e.is),{"aria-disabled":e.disabled,class:s([`item`,i(cr)(`scalar-dropdown-item`,i(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:F(()=>[D(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}}),[[`__scopeId`,`data-v-6660bbc5`]]),A0={key:1,class:`size-3`},j0=R({inheritAttrs:!1,__name:`ScalarMenuLink`,props:{is:{default:()=>T0.Item},icon:{type:[Object,Function]},strong:{type:Boolean}},setup(e){let{cx:t}=V();return(n,a)=>(r(),I(i(k0),C(i(t)(`flex items-center`),{is:e.is,as:`a`}),{default:F(()=>[e.icon?(r(),I(i(t0),{key:0,class:s([e.strong?`text-c-1`:`text-c-2`,typeof e.icon==`string`?`size-3`:`size-3.5 -mx-0.25`]),icon:e.icon,thickness:e.strong?`2.5`:`2`,weight:e.strong?`bold`:`regular`},null,8,[`class`,`icon`,`thickness`,`weight`])):(r(),M(`div`,A0)),P(`div`,{class:s([`flex items-center flex-1 min-w-0 truncate`,e.strong?`font-medium`:`font-normal`])},[D(n.$slots,`default`)],2)]),_:3},16,[`is`]))}}),M0=R({inheritAttrs:!1,__name:`ScalarMenuProduct`,props:{is:{default:`a`},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=V(),n=sr({base:`gap-1.5`,variants:{selected:{true:`pointer-events-none bg-b-2 dark:bg-b-3`,false:`cursor-pointer hover:bg-b-2 dark:hover:bg-b-3`}}});return(a,o)=>(r(),I(i(j0),C({is:e.is,icon:e.icon,strong:``,target:`_blank`},i(t)(i(n)({selected:e.selected}))),{default:F(()=>[D(a.$slots,`default`)]),_:3},16,[`is`,`icon`]))}}),N0=R({inheritAttrs:!1,__name:`ScalarMenuProducts`,props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:[`open`],setup(e){let{cx:t}=V();return(n,o)=>(r(),M(`div`,a(L(i(t)(`flex flex-col`))),[k(M0,{href:e.hrefs?.dashboard??`https://dashboard.scalar.com`,icon:i(ra),selected:e.selected===`dashboard`,onClick:o[0]||=e=>n.$emit(`open`,e,`dashboard`)},{default:F(()=>[...o[4]||=[ve(` Dashboard `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),e.showDocs||e.selected===`docs`?(r(),I(M0,{key:0,href:e.hrefs?.docs??`https://docs.scalar.com`,icon:i(Vr),selected:e.selected===`docs`,onClick:o[1]||=e=>n.$emit(`open`,e,`docs`)},{default:F(()=>[...o[5]||=[ve(` Docs `,-1)]]),_:1},8,[`href`,`icon`,`selected`])):j(``,!0),k(M0,{href:e.hrefs?.editor??`https://editor.scalar.com`,icon:i(_a),selected:e.selected===`editor`,onClick:o[2]||=e=>n.$emit(`open`,e,`editor`)},{default:F(()=>[...o[6]||=[ve(` Editor `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),k(M0,{href:e.hrefs?.client??`https://client.scalar.com`,icon:i(Pr),selected:e.selected===`client`,onClick:o[3]||=e=>n.$emit(`open`,e,`client`)},{default:F(()=>[...o[7]||=[ve(` Client `,-1)]]),_:1},8,[`href`,`icon`,`selected`])],16))}}),P0={},F0={class:`-mx-0.75 my-0.75 h-border bg-border`};function I0(e,t,n,i,a,o){return r(),M(`div`,F0)}var L0=pr(P0,[[`render`,I0]]),R0=R({inheritAttrs:!1,__name:`ScalarMenuSection`,setup(e){return(e,t)=>(r(),M(ue,null,[k(i(L0)),D(e.$slots,`default`)],64))}}),z0=R({__name:`ScalarMenuResources`,setup(e){return(e,t)=>(r(),I(R0,null,{title:F(()=>[...t[0]||=[ve(`Resources`,-1)]]),default:F(()=>[k(j0,{href:`mailto:support@scalar.com`,icon:i(Ii),target:`_blank`},{default:F(()=>[...t[1]||=[ve(` Sales & Support `,-1)]]),_:1},8,[`icon`]),k(j0,{href:`https://scalar.com/terms-and-conditions`,icon:i(Ui),target:`_blank`},{default:F(()=>[...t[2]||=[ve(` Terms & Conditions `,-1)]]),_:1},8,[`icon`]),k(j0,{href:`https://scalar.com/privacy-policy`,icon:i(Jr),target:`_blank`},{default:F(()=>[...t[3]||=[ve(` Privacy Policy `,-1)]]),_:1},8,[`icon`])]),_:1}))}}),B0=R({inheritAttrs:!1,__name:`ScalarMenu`,setup(e){let t=N(!1);function n(){t.value=!1}return(e,a)=>(r(),I(i(T0).Root,{open:t.value,"onUpdate:open":a[0]||=e=>t.value=e},{default:F(()=>[k(i(T0).Trigger,{asChild:``},{default:F(()=>[D(e.$slots,`button`,{open:t.value},()=>[k(O0,{class:`min-w-0`,open:t.value},De({_:2},[e.$slots.logo?{name:`logo`,fn:F(()=>[D(e.$slots,`logo`)]),key:`0`}:void 0,e.$slots.label?{name:`label`,fn:F(()=>[D(e.$slots,`label`)]),key:`1`}:void 0]),1032,[`open`])])]),_:3}),k(i(T0).Content,C({align:`start`,as:i(sW),class:`max-h-radix-popper z-context`,sideOffset:5},e.$attrs),{default:F(()=>[D(e.$slots,`products`,{close:n},()=>[k(N0)]),D(e.$slots,`profile`,{close:n}),D(e.$slots,`sections`,{close:n},()=>[k(z0)])]),_:3},16,[`as`])]),_:3},8,[`open`]))}}),V0=R({__name:`ScalarMenuSupport`,setup(e){return(e,t)=>(r(),I(R0,null,{title:F(()=>[...t[0]||=[ve(`Resources`,-1)]]),default:F(()=>[k(j0,{href:`https://discord.gg/scalar`,icon:i(ki),target:`_blank`},{default:F(()=>[...t[1]||=[ve(` Discord `,-1)]]),_:1},8,[`icon`]),k(j0,{href:`https://github.com/scalar/scalar`,icon:i(Xi),target:`_blank`},{default:F(()=>[...t[2]||=[ve(` GitHub `,-1)]]),_:1},8,[`icon`])]),_:1}))}}),H0={class:`flex h-full items-center gap-1 flex-1 truncate`},U0=R({inheritAttrs:!1,__name:`ScalarMenuWorkspacePicker`,props:o({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:o([`createWorkspace`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,a=ie(e,`modelValue`);return(t,o)=>(r(),I(i(T0).Sub,null,{default:F(()=>[k(j0,C({is:i(T0).SubTrigger,icon:i(ja)},t.$attrs),{default:F(()=>[o[2]||=P(`div`,null,`Change workspace`,-1),k(i(ci),{class:`ml-auto text-c-2 -mr-0.25 size-3`,weight:`bold`})]),_:1},16,[`is`,`icon`]),k(i(T0).Portal,null,{default:F(()=>[k(i(T0).SubContent,{as:i(sW),class:`max-h-radix-popper z-context-plus`,sideOffset:3},{default:F(()=>[k(i(T0).RadioGroup,{modelValue:a.value,"onUpdate:modelValue":o[0]||=e=>a.value=e,class:`contents`},{default:F(()=>[(r(!0),M(ue,null,f(e.workspaceOptions,(t,n)=>(r(),M(ue,{key:n},[t.label?(r(),I(i(T0).Label,{key:0,class:`px-3 py-1.5 text-xs font-medium text-c-3 select-none`},{default:F(()=>[ve(we(t.label),1)]),_:2},1024)):j(``,!0),(r(!0),M(ue,null,f(t.options,e=>(r(),I(i(T0).RadioItem,{key:e.id,as:i(k0),class:`group/item flex items-center`,value:e.id},{default:F(()=>[P(`div`,H0,we(e.label),1),k(i(WA),{class:`ml-auto`,selected:e.id===a.value},null,8,[`selected`])]),_:2},1032,[`as`,`value`]))),128)),n<e.workspaceOptions.length-1?(r(),I(i(T0).Separator,{key:1,class:`h-px bg-b-3 my-1.5`})):j(``,!0)],64))),128))]),_:1},8,[`modelValue`]),k(i(T0).Item,{as:i(k0),class:`flex items-center`,onClick:o[1]||=e=>n(`createWorkspace`)},{default:F(()=>[k(i(wa),{class:`bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3`,weight:`bold`}),o[3]||=ve(` Create workspace `,-1)]),_:1},8,[`as`])]),_:1},8,[`as`])]),_:1})]),_:1}))}}),W0=R({inheritAttrs:!1,__name:`ScalarPopover`,props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=V();return(n,o)=>(r(),I(i(bN),{as:`template`},{default:F(({open:r})=>[k(i(LF),a(L(n.$props)),{floating:F(({width:a,height:o})=>[k(i(SN),C({focus:e.focus,style:{width:a,height:o}},i(t)(`relative flex flex-col p-0.75`)),{default:F(({close:e})=>[D(n.$slots,`popover`,{close:()=>e(),open:r}),D(n.$slots,`backdrop`,{open:r},()=>[k(i(RF))])]),_:2},1040,[`focus`,`style`])]),default:F(()=>[k(i(xN),{as:`template`},{default:F(()=>[D(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),G0=[`aria-label`],K0=R({inheritAttrs:!1,__name:`ScalarSearchInput`,props:o({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ie(e,`modelValue`),n=N(null);function o(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:s,otherAttrs:c}=V();return(l,u)=>(r(),M(`label`,a(L(i(s)(`flex items-center text-lg font-medium h-10 pl-3 pr-1 py-2 gap-2.25`))),[k(i(ua),{class:`text-sidebar-c-search size-4`}),be(P(`input`,C({ref_key:`inputRef`,ref:n},i(c),{"onUpdate:modelValue":u[0]||=e=>t.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`}),null,16,G0),[[he,t.value]]),e.loader&&e.loader.isActive?(r(),I(i(mr),{key:0,class:`self-center`,loader:e.loader,size:`md`},null,8,[`loader`])):t.value?(r(),I(i(_0),{key:1,class:`p-0 size-5`,icon:i(Ra),label:`Clear Search`,weight:`bold`,onClick:Fe(o,[`stop`,`prevent`])},null,8,[`icon`])):j(``,!0)],16))}}),q0=[`aria-selected`],J0={key:0,class:`flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1`},Y0={class:`flex min-w-0 flex-1 flex-col gap-0.75`},X0={class:`flex items-center gap-1`},Z0={class:`flex-1 truncate zoomed:!whitespace-normal break-words text-base font-medium`},Q0={key:0,class:`text-base text-c-2`},$0={key:0,class:`truncate zoomed:!whitespace-normal break-words text-base text-c-2`},e2=R({inheritAttrs:!1,__name:`ScalarSearchResultItem`,props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=V();return(n,a)=>(r(),M(`a`,C({"aria-selected":e.selected,role:`option`,tabindex:`-1`},i(t)(`group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2`,{"bg-b-2":e.selected})),[e.icon?(r(),M(`div`,J0,[D(n.$slots,`icon`,{},()=>[e.icon?(r(),I(i(t0),{key:0,class:`size-4`,icon:e.icon},null,8,[`icon`])):j(``,!0)]),a[0]||=P(`span`,null,` `,-1)])):j(``,!0),P(`div`,Y0,[P(`div`,X0,[P(`div`,Z0,[D(n.$slots,`default`)]),n.$slots.addon?(r(),M(`div`,Q0,[D(n.$slots,`addon`)])):j(``,!0)]),n.$slots.description?(r(),M(`div`,$0,[D(n.$slots,`description`)])):j(``,!0)])],16,q0))}}),t2=R({inheritAttrs:!1,__name:`ScalarSearchResultList`,props:{noResults:{type:Boolean}},setup(e){let{cx:t}=V();return(n,a)=>(r(),M(`div`,C({role:`listbox`},i(t)(`flex flex-col`)),[e.noResults?D(n.$slots,`noResults`,{key:0},()=>[a[0]||=P(`div`,{class:`flex flex-col items-center gap-2 px-3 py-4`},[P(`div`,{class:`text-base font-medium text-c-2`,role:`alert`},` No results found `)],-1)]):j(``,!0),D(n.$slots,`default`)],16))}}),n2=R({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`aside`,a(L(i(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[D(e.$slots,`default`)],16))}}),r2=pr(R({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=A(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=V();return(o,c)=>(r(),M(`div`,a(L(i(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(r(!0),M(ue,null,f(t.value,(n,i)=>(r(),M(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[c[0]||=P(`div`,{class:`scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border`},null,-1),i===t.value.length-1?(r(),M(`div`,{key:0,class:s([`absolute left-2 inset-y-0 w-border`,e.disabled?``:e.selected?`bg-sidebar-indent-border-active`:`group-hover/button:bg-sidebar-indent-border-hover`])},null,2)):j(``,!0)]))),128))],16))}}),[[`__scopeId`,`data-v-3e080c68`]]),i2={key:0,class:`h-[1lh] *:size-4 mr-1 flex items-center`},a2={class:`group/button-label flex-1 min-w-0`},o2=R({inheritAttrs:!1,__name:`ScalarSidebarButton`,props:{is:{default:`a`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=sr({base:[`group/button peer/button flex items-stretch rounded p-2`,`font-sidebar text-base/5 text-sidebar-c-2 no-underline wrap-break-word`],variants:{active:{true:`text-sidebar-c-active font-sidebar-active`},disabled:{true:`cursor-auto`},selected:{true:`cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active`}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`},{selected:!1,disabled:!1,active:!0,class:`hover:bg-sidebar-b-hover`}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=V();return(a,o)=>(r(),I(h(e.is),C({"aria-selected":e.selected,type:e.is===`button`?`button`:void 0},i(n)(i(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:F(()=>[D(a.$slots,`indent`,{},()=>[k(r2,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||a.$slots.icon?(r(),M(`div`,i2,[D(a.$slots,`icon`,{},()=>[e.icon?(r(),I(i(t0),{key:0,icon:e.icon},null,8,[`icon`])):j(``,!0)])])):j(``,!0),P(`div`,a2,[D(a.$slots,`default`)]),D(a.$slots,`aside`)]),_:3},16,[`aria-selected`,`type`]))}}),s2={class:`flex items-center`},c2={class:`flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2`},l2=R({inheritAttrs:!1,__name:`ScalarSidebarFooter`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`div`,a(L(i(t)(`flex flex-col gap-3 p-3 pt-0 border-sidebar-border`))),[D(e.$slots,`default`),P(`div`,s2,[P(`div`,c2,[D(e.$slots,`description`,{},()=>[n[0]||=P(`a`,{class:`no-underline hover:underline`,href:`https://www.scalar.com`,target:`_blank`},` Powered by Scalar `,-1)])]),D(e.$slots,`toggle`,{},()=>[k(i(IA))])])],16))}}),u2={class:`sr-only`},d2=R({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=sr({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=V();return(a,o)=>(r(),I(h(e.is),C({type:e.is===`button`?`button`:void 0},i(n)(i(t)({open:e.open}))),{default:F(()=>[D(a.$slots,`default`,{open:e.open},()=>[e.icon?(r(),I(i(t0),{key:0,icon:e.icon},null,8,[`icon`])):(r(),I(i(ci),{key:1,class:`size-3`,weight:`bold`}))]),P(`span`,u2,[D(a.$slots,`label`,{open:e.open},()=>[ve(we(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}}),f2=Symbol(),p2=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=Ue(f2,0);return n?ne(f2,0):t&&r<6?ne(f2,r+1):ne(f2,r),{level:r}},m2={class:`group/group-button relative flex flex-col leading-5`},h2={key:0,class:`size-4`},g2=[`aria-expanded`],_2={key:0,class:`group/items flex flex-col gap-px`},v2=R({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:o({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:o([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,o=ie(e,`open`),{level:c}=p2({increment:!0}),{cx:l}=V(),u=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(o.value=!o.value)},d=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(o.value=!o.value)};return(t,n)=>(r(),I(h(e.is),a(L(i(l)(`group/item flex flex-col gap-px`))),{default:F(()=>[P(`div`,m2,[D(t.$slots,`before`,{open:o.value}),D(t.$slots,`button`,{level:i(c),open:o.value},()=>[k(o2,{is:`button`,active:e.active,"aria-expanded":o.value,disabled:e.disabled,icon:e.icon,indent:i(c),selected:e.selected,onClick:u},De({indent:F(()=>[k(r2,{class:`mr-0 -my-2`,indent:i(c),selected:e.selected},null,8,[`indent`,`selected`])]),aside:F(()=>[D(t.$slots,`aside`,{open:o.value}),e.discrete?(r(),M(`div`,h2)):D(t.$slots,`toggle`,{key:1,open:o.value},()=>[k(d2,{class:`text-sidebar-c-2`,open:o.value},null,8,[`open`])])]),default:F(()=>[D(t.$slots,`default`,{open:o.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:F(()=>[D(t.$slots,`icon`,{open:o.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(r(),M(`button`,{key:0,"aria-expanded":o.value,class:s([`absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2`,e.selected?`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`]),type:`button`,onClick:d},[D(t.$slots,`toggle`,{open:o.value},()=>[k(d2,{open:o.value},{label:F(()=>[ve(we(o.value?`Close`:`Open`)+` `,1),D(t.$slots,`default`,{open:o.value})]),_:3},8,[`open`])])],10,g2)):j(``,!0)]),D(t.$slots,`after`,{open:o.value})]),o.value?(r(),M(`ul`,_2,[D(t.$slots,`items`,{open:o.value})])):j(``,!0)]),_:3},16))}}),y2=R({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=p2(),{cx:o}=V();return(s,c)=>(r(),M(`li`,a(L(i(o)(`group/item flex flex-col leading-5`))),[D(s.$slots,`before`),D(s.$slots,`button`,{level:i(n)},()=>[k(o2,C(t,{indent:e.indent??i(n)}),De({_:2},[s.$slots.default?{name:`default`,fn:F(()=>[D(s.$slots,`default`)]),key:`0`}:void 0,s.$slots.icon?{name:`icon`,fn:F(()=>[D(s.$slots,`icon`)]),key:`1`}:void 0,s.$slots.aside?{name:`aside`,fn:F(()=>[D(s.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),D(s.$slots,`after`)],16))}}),b2=Symbol(),x2=()=>{let e=N([]),t=A(()=>e.value.some(e=>e.value));return ne(b2,e),{open:t}},S2=R({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=x2(),{cx:n}=V();return(o,s)=>(r(),I(h(e.is),a(L(i(n)(`group/items relative flex flex-col p-3 gap-px transition-transform duration-300`,i(t)?`-translate-x-full`:`translate-x-0`))),{default:F(()=>[D(o.$slots,`default`)]),_:3},16))}}),C2=R({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=V();return(n,o)=>(r(),M(`div`,a(L(i(t)(`flex px-2 h-1`))),[k(r2,{indent:e.indent},null,8,[`indent`])],16))}}),w2={class:`flex-1 text-left leading-none`},T2={key:0,class:`uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border`},E2=R({inheritAttrs:!1,__name:`ScalarSidebarSearchButton`,setup(e){let{cx:t}=V();return(e,n)=>(r(),M(`button`,C({role:`search`,type:`button`},i(t)(`flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1`,`bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search`)),[k(i(ua),{class:`size-4`}),P(`span`,w2,[D(e.$slots,`default`,{},()=>[n[0]||=ve(`Search...`,-1)])]),e.$slots.shortcut?(r(),M(`span`,T2,[n[1]||=P(`span`,{class:`sr-only`},`Keyboard Shortcut:`,-1),P(`kbd`,null,[D(e.$slots,`shortcut`)])])):j(``,!0)],16))}}),D2=[`aria-label`],O2=R({inheritAttrs:!1,__name:`ScalarSidebarSearchInput`,props:o({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=N(null),n=ie(e,`modelValue`);function o(){n.value=``,t.value&&t.value.focus()}let{stylingAttrsCx:s,otherAttrs:c}=V();return p(()=>e.autofocus&&t.value?.focus()),(l,u)=>(r(),M(`label`,a(L(i(s)(`flex items-center rounded border text-base has-[:focus-visible]:bg-sidebar-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5`,`bg-sidebar-b-search border-sidebar-border-search`,n.value?`text-sidebar-c-1`:`text-sidebar-c-search`))),[k(i(ua),{class:`text-sidebar-c-search size-4`}),be(P(`input`,C({ref_key:`inputRef`,ref:t},i(c),{"onUpdate:modelValue":u[0]||=e=>n.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`}),null,16,D2),[[he,n.value]]),e.loader&&e.loader.isActive?(r(),I(i(mr),{key:0,class:`mr-3 self-center`,loader:e.loader,size:`md`},null,8,[`loader`])):n.value?(r(),I(i(_0),{key:1,class:`p-0.25 size-4`,icon:i(Ra),label:`Clear Search`,weight:`bold`,onClick:Fe(o,[`stop`,`prevent`])},null,8,[`icon`])):j(``,!0)],16))}}),k2={class:`flex flex-col gap-px`},A2=R({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let{level:t}=p2({increment:!1}),{cx:n}=V();return(o,s)=>(r(),I(h(e.is),a(L(i(n)(`group/item group/sidebar-section contents`))),{default:F(()=>[k(C2,{class:`group/spacer-before h-3`,indent:i(t)},null,8,[`indent`]),k(o2,{is:`div`,class:`text-sm/5 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:i(t)},{default:F(()=>[D(o.$slots,`default`)]),_:3},8,[`icon`,`indent`]),P(`ul`,k2,[D(o.$slots,`items`)]),k(C2,{class:`group/spacer-after h-3`,indent:i(t)},null,8,[`indent`])]),_:3},16))}}),j2=[`id`],M2=R({inheritAttrs:!1,__name:`ScalarTeleportRoot`,props:{id:{}},setup(e){let t=FF(e.id);return(e,n)=>(r(),M(ue,null,[D(e.$slots,`default`),P(`div`,{id:i(t),class:`scalar-teleport-root contents`},null,8,j2)],64))}}),N2={class:`flex items-center flex-1 relative`},P2={key:0,class:`select-none whitespace-nowrap text-transparent`},F2=[`aria-readonly`,`readonly`],I2={key:1,class:`absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap`},L2={key:0,class:`text-c-2`},R2={class:`text-transparent`},z2={key:1,class:`text-c-2`},B2=R({inheritAttrs:!1,__name:`ScalarTextInput`,props:o({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:o([`click`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,a=ie(e,`modelValue`),o=N(),{stylingAttrsCx:s,otherAttrs:c}=V();p(()=>{`autofocus`in c.value&&o.value?.focus()});function l(t){n(`click`,t),e.readonly?o.value?.select():o.value?.focus()}return(t,n)=>(r(),I(i(Ua),C({is:`div`},i(s)(`cursor-text text-c-1`,e.readonly?``:`focus-within:bg-b-1`),{onClick:l}),{default:F(()=>[P(`div`,N2,[t.$slots.prefix?(r(),M(`div`,P2,[D(t.$slots,`prefix`)])):j(``,!0),be(P(`input`,C({ref_key:`input`,ref:o,"onUpdate:modelValue":n[0]||=e=>a.value=e,"aria-readonly":e.readonly||void 0,class:`z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none`,readonly:e.readonly},i(c)),null,16,F2),[[se,a.value]]),t.$slots.prefix||t.$slots.suffix?(r(),M(`div`,I2,[t.$slots.prefix?(r(),M(`span`,L2,[D(t.$slots,`prefix`)])):j(``,!0),P(`span`,R2,we(a.value||t.$attrs.placeholder),1),t.$slots.suffix?(r(),M(`span`,z2,[D(t.$slots,`suffix`)])):j(``,!0)])):j(``,!0)]),D(t.$slots,`aside`)]),_:3},16))}}),V2=R({__name:`ScalarTextInputCopy`,props:o({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:modelValue`,`update:copied`],setup(t){p(()=>{t.immediate&&n.value&&o(n.value)});let n=ie(t,`modelValue`),a=ie(t,`copied`),{copy:o,copied:s}=_A({legacy:!0,copiedDuring:t.duration});return e(s,e=>a.value=e),(e,c)=>(r(),I(B2,{modelValue:n.value,"onUpdate:modelValue":c[1]||=e=>n.value=e,readonly:!t.editable,onClick:c[2]||=e=>n.value&&i(o)(n.value)},{aside:F(()=>[k(i(CA),{class:`z-1`,copied:a.value||i(s),placement:`left`,onClick:c[0]||=Fe(e=>n.value&&i(o)(n.value),[`stop`])},De({backdrop:F(()=>[k(i(Ya),{class:`bg-b-1.5`})]),_:2},[e.$slots.copy?{name:`copy`,fn:F(()=>[D(e.$slots,`copy`)]),key:`0`}:void 0,e.$slots.copied?{name:`copied`,fn:F(()=>[D(e.$slots,`copied`)]),key:`1`}:void 0]),1032,[`copied`])]),_:3},8,[`modelValue`,`readonly`]))}}),H2=[`--scalar-color-1`,`--scalar-color-2`,`--scalar-color-3`,`--scalar-background-1`,`--scalar-background-2`,`--scalar-background-3`,`--scalar-color-accent`];function U2(e,t){let n=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,`gm`))];return n.length===0?{}:Object.fromEntries(n.map(e=>[e[1],e[2]]))}function W2(e){return e?{...U2(`--scalar-color-[1-3]`,e),...U2(`--scalar-background-[1-3]`,e),...U2(`--scalar-color-accent`,e)}:{}}function G2(e){return{colors:A(()=>({light:W2(We(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:W2(We(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}var K2=R({inheritAttrs:!1,__name:`ScalarThemeSwatches`,props:{css:{}},setup(e){let{colors:t}=G2(()=>e.css),{cx:n}=V();return(e,a)=>(r(),M(`div`,C({style:{"--bg-light":i(t).light[`--scalar-background-1`],"--bg-dark":i(t).dark[`--scalar-background-1`]}},i(n)(`flex *:size-3 overflow-hidden rounded`,`bg-(--bg-light) dark:bg-(--bg-dark)`)),[(r(!0),M(ue,null,f(i(H2),e=>(r(),M(`div`,{key:e,class:`bg-(--bg-light) dark:bg-(--bg-dark)`,style:S({"--bg-light":i(t).light[e],"--bg-dark":i(t).dark[e]})},null,4))),128))],16))}}),q2=[`aria-checked`,`aria-disabled`],J2={key:0,class:`sr-only`},Y2=R({__name:`ScalarToggle`,props:o({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=ie(e,`modelValue`);function a(){t.disabled||(n.value=!n.value)}let o=sr({base:`relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300`,variants:{checked:{true:`bg-c-accent`},disabled:{true:`cursor-not-allowed opacity-40`}}});return(t,c)=>(r(),M(`button`,{"aria-checked":n.value,"aria-disabled":e.disabled,class:s(i(cr)(i(o)({checked:n.value,disabled:e.disabled}))),role:`switch`,type:`button`,onClick:a},[P(`div`,{class:s([`absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 text-c-accent transition-transform duration-300`,{"translate-x-2.5":n.value}])},null,2),e.label?(r(),M(`span`,J2,we(e.label),1)):j(``,!0)],10,q2))}}),X2={class:`flex-1 text-left min-w-0 truncate`},Z2=R({inheritAttrs:!1,__name:`ScalarToggleInput`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=ie(e,`modelValue`),{stylingAttrsCx:n,otherAttrs:a}=V();return(e,o)=>(r(),I(i(Ua),C({is:`label`},i(n)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":t.value})),{default:F(()=>[P(`div`,X2,[D(e.$slots,`default`)]),k(Y2,C({modelValue:t.value,"onUpdate:modelValue":o[0]||=e=>t.value=e,class:`shrink-0`},i(a)),null,16,[`modelValue`])]),_:3},16))}}),Q2=R({__name:`ScalarTooltip`,props:{content:{default:``},delay:{default:()=>300},placement:{default:`top`},offset:{default:()=>4}},setup(e){let t=N(null);return m0({content:A(()=>e.content),delay:A(()=>e.delay),placement:A(()=>e.placement),offset:A(()=>e.offset),targetRef:A(()=>t.value?.children?.[0]||t.value||void 0)}),(e,n)=>(r(),M(`div`,{ref_key:`wrapperRef`,ref:t,class:s({contents:!!e.$slots.default})},[D(e.$slots,`default`)],2))}}),$2=R({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``}},setup(e){let t=e,n=N(null),i=N(null),a=N(0),o=N(0),c=A(()=>t.text.split(`
|
|
192
|
+
`)),l=A(()=>c.value.length*t.lineHeight),u=A(()=>Math.floor(a.value/t.lineHeight)),d=A(()=>Math.min(Math.ceil((a.value+o.value)/t.lineHeight),c.value.length)),m=A(()=>{let e=Math.max(0,u.value-10),t=Math.min(c.value.length,d.value+10);return c.value.slice(e,t)}),h=A(()=>({height:`${l.value}px`,transform:`translateY(${Math.max(0,u.value-10)*t.lineHeight}px)`})),g=()=>n.value&&(a.value=n.value.scrollTop),_=()=>n.value&&(o.value=n.value.clientHeight);return p(()=>{_(),window.addEventListener(`resize`,_)}),v(()=>{window.removeEventListener(`resize`,_)}),me(()=>{i.value&&(i.value.style.transform=`translateY(${Math.max(0,u.value-10)*t.lineHeight}px)`)}),(a,o)=>(r(),M(`div`,{ref_key:`containerRef`,ref:n,class:s([`scalar-virtual-text overflow-auto`,e.containerClass]),onScroll:g},[P(`code`,{ref_key:`contentRef`,ref:i,class:s([`scalar-virtual-text-content`,e.contentClass]),style:S(h.value)},[(r(!0),M(ue,null,f(m.value,(n,i)=>(r(),M(`div`,{key:u.value+i,class:s([`scalar-virtual-text-line`,e.lineClass]),style:S({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},we(n),7))),128))],6)],34))}}),e4={path:/[\/\.-]/,property:/[A-Z\_\.-]/},t4=R({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=A(()=>{let t=new RegExp(e.regex??e4[e.preset],`g`);return e.text.replace(t,`$&`).split(``).filter(Boolean)});return(e,n)=>(r(!0),M(ue,null,f(t.value,(e,t)=>(r(),M(ue,{key:t},[n[0]||=P(`wbr`,null,null,-1),ve(we(e),1)],64))),128))}}),n4=pr(R({__name:`ScalarDropdownItem`,props:{id:{default:()=>ae()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=uW();return(n,a)=>(r(),I(k0,{id:e.id,active:i(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:a[0]||=e=>n.$emit(`click`,e),onMouseenter:a[1]||=n=>t.value=e.id},{default:F(()=>[D(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}}),[[`__scopeId`,`data-v-3402682d`]]),r4={},i4={class:`flex min-w-0 flex-col gap-3`},a4={class:`contents`},o4={class:`text-base font-medium text-c-1`};function s4(e,t,n,i,a,o){return r(),M(`fieldset`,i4,[P(`legend`,a4,[P(`span`,o4,[D(e.$slots,`label`)])]),D(e.$slots,`default`)])}var c4=pr(r4,[[`render`,s4]]);function l4(){return Me({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}var u4={key:0,class:`close-button z-10 fixed right-2 top-2`};function d4(){return Me({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var f4=pr(R({__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,a=sr({base:[`scalar-modal`,`flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]`].join(` `),variants:{size:{xxs:`mt-[20svh] max-h-[60svh] max-w-[360px]`,xs:`mt-[20svh] max-h-[60svh] max-w-[480px]`,sm:`mt-[20svh] max-h-[60svh] max-w-[540px]`,md:`mt-[20svh] max-h-[60svh] max-w-[640px]`,lg:`m-auto max-h-[80svh] max-w-[800px]`,xl:`m-auto max-h-[90svh] max-w-[1000px]`,full:`full-size-styles max-h-dvh mt-0 lg:w-full`},variant:{form:`scalar-modal-form`,search:`scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]`,error:`scalar-modal-error`}}}),o=sr({base:[`scalar-modal-body`,`relative flex-1 min-h-0 p-3`].join(` `),variants:{variant:{form:`overflow-visible`,search:`flex flex-col !m-0 overflow-hidden p-0`,error:`overflow-y-scroll`},size:{xxs:``,xs:``,sm:``,md:``,lg:``,xl:`m-0 p-0`,full:` rounded-none`}}});return(t,c)=>(r(),I(i(JM),{open:e.state.open,onClose:c[1]||=()=>{e.state.hide(),n(`close`)}},{default:F(()=>[P(`div`,{class:s(i(cr)(e.size===`full`?`scalar-modal-layout-full`:`scalar-modal-layout`,`fixed left-0 top-0 flex items-start justify-center`,`z-overlay h-dvh w-dvw`,`bg-backdrop opacity-0 dark:bg-backdrop-dark`,e.size===`full`&&`flex`))},[k(i(YM),{class:s(i(a)({size:e.size,variant:e.variant})),style:S({maxWidth:e.maxWidth})},{default:F(()=>[e.title?(r(),I(i(XM),{key:0,class:`scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1`},{default:F(()=>[ve(we(e.title),1)]),_:1})):j(``,!0),e.size===`full`?(r(),M(`div`,{key:1,class:s(e.bodyClass)},[D(t.$slots,`default`,{},void 0,!0)],2)):(r(),M(`div`,{key:2,class:s(i(cr)(i(o)({size:e.size,variant:e.variant}),e.bodyClass))},[D(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(r(),M(`div`,u4,[k(i(_0),{class:`hover:bg-b-3 focus:outline-none`,icon:i(Ra),label:`Close modal`,onClick:c[0]||=t=>e.state.hide()},null,8,[`icon`])])):j(``,!0)],2)]),_:3},8,[`open`]))}}),[[`__scopeId`,`data-v-c36b47da`]]),p4=`scalar-app`,m4=`headlessui-portal-root`,h4=e=>e!==null&&e instanceof HTMLElement,g4=e=>{!e||e.classList.contains(p4)||e.classList.add(p4)},_4=()=>{g4(document.getElementById(m4));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{h4(e)&&e.id===m4&&g4(e)})));return e.observe(document.body,{childList:!0}),e};export{IF as $,qa as $t,V0 as A,sT as At,_0 as B,Kw as Bt,l2 as C,gk as Ct,K0 as D,lT as Dt,e2 as E,dT as Et,j0 as F,Zw as Ft,EW as G,Bw as Gt,BW as H,Uw as Ht,k0 as I,Xw as It,sW as J,jw as Jt,hW as K,Rw as Kt,w0 as L,Yw as Lt,z0 as M,rT as Mt,R0 as N,$w as Nt,W0 as O,cT as Ot,L0 as P,Qw as Pt,LF as Q,Ja as Qt,S0 as R,Jw as Rt,d2 as S,vk as St,t2 as T,uT as Tt,AW as U,Vw as Ut,e0 as V,Ww as Vt,OW as W,Hw as Wt,BF as X,Nw as Xt,VF as Y,Dw as Yt,RF as Z,Mw as Zt,O2 as _,V as _n,Ok as _t,c4 as a,Si as an,kA as at,y2 as b,xk as bt,$2 as c,ti as cn,Bk as ct,Y2 as d,Tr as dn,Ik as dt,Ua as en,WA as et,K2 as f,Sr as fn,Fk as ft,A2 as g,mr as gn,Ak as gt,M2 as h,gr as hn,Mk as ht,l4 as i,Ii as in,MA as it,B0 as j,iT as jt,U0 as k,oT as kt,Q2 as l,Vr as ln,zk as lt,B2 as m,br as mn,jk as mt,f4 as n,wa as nn,FA as nt,n4 as o,hi as on,EA as ot,V2 as p,xr as pn,Nk as pt,fW as q,Fw as qt,d4 as r,ua as rn,NA as rt,t4 as s,ci as sn,Yk as st,_4 as t,Ra as tn,IA as tt,Z2 as u,Dr as un,Lk as ut,E2 as v,sr as vn,Ek as vt,n2 as w,_k as wt,v2 as x,Ck as xt,S2 as y,cr as yn,Sk as yt,b0 as z,qw as zt};
|