From a6311d07c7318fa32f390d998db8a64a50c7f648 Mon Sep 17 00:00:00 2001 From: sidharthv96 Date: Fri, 1 Apr 2022 09:06:28 +0000 Subject: [PATCH] deploy: bfa3a8a788e4dfd40a0d339dfc4dfc9964ed8f45 --- .../assets/pages/__layout.svelte-008a27cd.css | 1 + _app/chunks/index-3ccfa173.js | 4 + _app/chunks/preload-helper-e8f5b6ac.js | 1 + _app/chunks/state-f215c7fd.js | 19 + _app/chunks/theme-749dc8df.js | 1 + _app/chunks/util-4284cbac.js | 1183 +++++++++++++++++ _app/error.svelte-b33c443a.js | 1 + _app/manifest.json | 85 +- _app/pages/__layout.svelte-35b97431.js | 1 + _app/pages/edit.svelte-b17b4cda.js | 98 ++ _app/pages/index.svelte-d0153e8c.js | 1 + _app/pages/view.svelte-12b4fce4.js | 1 + _app/start-7b9069b2.js | 1 + _app/version.json | 2 +- edit.html | 8 +- index.html | 8 +- view.html | 8 +- 17 files changed, 1370 insertions(+), 53 deletions(-) create mode 100644 _app/assets/pages/__layout.svelte-008a27cd.css create mode 100644 _app/chunks/index-3ccfa173.js create mode 100644 _app/chunks/preload-helper-e8f5b6ac.js create mode 100644 _app/chunks/state-f215c7fd.js create mode 100644 _app/chunks/theme-749dc8df.js create mode 100644 _app/chunks/util-4284cbac.js create mode 100644 _app/error.svelte-b33c443a.js create mode 100644 _app/pages/__layout.svelte-35b97431.js create mode 100644 _app/pages/edit.svelte-b17b4cda.js create mode 100644 _app/pages/index.svelte-d0153e8c.js create mode 100644 _app/pages/view.svelte-12b4fce4.js create mode 100644 _app/start-7b9069b2.js diff --git a/_app/assets/pages/__layout.svelte-008a27cd.css b/_app/assets/pages/__layout.svelte-008a27cd.css new file mode 100644 index 00000000..1c532e87 --- /dev/null +++ b/_app/assets/pages/__layout.svelte-008a27cd.css @@ -0,0 +1 @@ +/*! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}:root,[data-theme]{background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1))}html{-webkit-tap-highlight-color:transparent}:root{--p:259 94% 51%;--pf:259 94% 41%;--sf:314 100% 38%;--af:174 60% 41%;--nf:219 14% 22%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:314 100% 47%;--sc:0 0% 100%;--a:174 60% 51%;--ac:175 44% 15%;--n:219 14% 28%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 95%;--b3:180 2% 90%;--bc:215 28% 17%}@media (prefers-color-scheme:dark){:root{--p:262 80% 50%;--pf:262 80% 40%;--sf:316 70% 40%;--af:175 70% 33%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:316 70% 50%;--sc:0 0% 100%;--a:175 70% 41%;--ac:0 0% 100%;--n:218 18% 12%;--nf:223 17% 8%;--nc:220 13% 69%;--b1:220 18% 20%;--b2:220 17% 17%;--b3:219 18% 15%;--bc:220 13% 69%}}[data-theme=light]{--p:259 94% 51%;--pf:259 94% 41%;--sf:314 100% 38%;--af:174 60% 41%;--nf:219 14% 22%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:314 100% 47%;--sc:0 0% 100%;--a:174 60% 51%;--ac:175 44% 15%;--n:219 14% 28%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 95%;--b3:180 2% 90%;--bc:215 28% 17%}[data-theme=dark]{--p:262 80% 50%;--pf:262 80% 40%;--sf:316 70% 40%;--af:175 70% 33%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:316 70% 50%;--sc:0 0% 100%;--a:175 70% 41%;--ac:0 0% 100%;--n:218 18% 12%;--nf:223 17% 8%;--nc:220 13% 69%;--b1:220 18% 20%;--b2:220 17% 17%;--b3:219 18% 15%;--bc:220 13% 69%}[data-theme=cupcake]{--p:183 47% 59%;--pf:183 47% 47%;--sf:338 71% 62%;--af:39 84% 46%;--nf:280 46% 11%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:183 100% 12%;--sc:338 100% 16%;--ac:39 100% 12%;--nc:280 83% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--s:338 71% 78%;--a:39 84% 58%;--n:280 46% 14%;--b1:24 33% 97%;--b2:27 22% 92%;--b3:22 14% 89%;--bc:280 46% 14%;--rounded-btn:1.9rem;--tab-border:2px;--tab-radius:.5rem}[data-theme=bumblebee]{--p:41 74% 53%;--pf:41 74% 42%;--sf:50 94% 46%;--af:240 33% 11%;--nf:240 33% 11%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 0% 20%;--ac:240 60% 83%;--nc:240 60% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:240 33% 14%;--s:50 94% 58%;--sc:240 33% 14%;--a:240 33% 14%;--n:240 33% 14%;--b1:0 0% 100%}[data-theme=emerald]{--p:141 50% 60%;--pf:141 50% 48%;--sf:219 96% 48%;--af:10 81% 45%;--nf:219 20% 20%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:151 28% 19%;--s:219 96% 60%;--sc:210 20% 98%;--a:10 81% 56%;--ac:210 20% 98%;--n:219 20% 25%;--nc:210 20% 98%;--b1:0 0% 100%;--bc:219 20% 25%;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=corporate]{--p:229 96% 64%;--pf:229 96% 51%;--sf:215 26% 47%;--af:154 49% 48%;--nf:233 27% 10%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:229 100% 93%;--sc:215 100% 12%;--ac:154 100% 12%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:215 26% 59%;--a:154 49% 60%;--n:233 27% 13%;--nc:210 38% 95%;--b1:0 0% 100%;--bc:233 27% 13%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=synthwave]{--p:321 70% 69%;--pf:321 70% 55%;--sf:197 87% 52%;--af:48 89% 46%;--nf:253 61% 15%;--b2:254 59% 23%;--b3:254 59% 21%;--pc:321 100% 14%;--sc:197 100% 13%;--ac:48 100% 11%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:197 87% 65%;--a:48 89% 57%;--n:253 61% 19%;--nc:260 60% 98%;--b1:254 59% 26%;--bc:260 60% 98%;--in:199 87% 64%;--inc:257 63% 17%;--su:168 74% 68%;--suc:257 63% 17%;--wa:48 89% 57%;--wac:257 63% 17%;--er:352 74% 57%;--erc:260 60% 98%}[data-theme=retro]{--p:3 74% 76%;--pf:3 74% 61%;--sf:145 27% 58%;--af:49 67% 61%;--nf:42 17% 34%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:345 5% 15%;--s:145 27% 72%;--sc:345 5% 15%;--a:49 67% 76%;--ac:345 5% 15%;--n:42 17% 42%;--nc:45 47% 80%;--b1:45 47% 80%;--b2:45 37% 72%;--b3:42 36% 65%;--bc:345 5% 15%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%;--rounded-box:.4rem;--rounded-btn:.4rem;--rounded-badge:.4rem}[data-theme=cyberpunk]{--pf:345 100% 58%;--sf:195 80% 56%;--af:276 74% 57%;--nf:57 100% 10%;--b2:56 100% 45%;--b3:56 100% 41%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:56 100% 10%;--pc:345 100% 15%;--sc:195 100% 14%;--ac:276 100% 14%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--p:345 100% 73%;--s:195 80% 70%;--a:276 74% 71%;--n:57 100% 13%;--nc:56 100% 50%;--b1:56 100% 50%;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--tab-radius:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}[data-theme=valentine]{--p:353 74% 67%;--pf:353 74% 54%;--sf:254 86% 61%;--af:181 56% 56%;--nf:336 43% 38%;--b2:318 46% 80%;--b3:318 46% 72%;--pc:353 100% 13%;--sc:254 100% 15%;--ac:181 100% 14%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:254 86% 77%;--a:181 56% 70%;--n:336 43% 48%;--nc:318 46% 89%;--b1:318 46% 89%;--bc:344 38% 28%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%;--rounded-btn:1.9rem}[data-theme=halloween]{--p:32 89% 52%;--pf:32 89% 42%;--sf:271 46% 34%;--af:91 100% 26%;--nf:180 4% 9%;--b2:0 0% 12%;--b3:0 0% 10%;--bc:0 0% 83%;--sc:271 100% 88%;--ac:91 100% 87%;--nc:180 5% 82%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:180 7% 8%;--s:271 46% 42%;--a:91 100% 33%;--n:180 4% 11%;--b1:0 0% 13%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%}[data-theme=garden]{--p:139 16% 43%;--pf:139 16% 34%;--sf:97 37% 75%;--af:0 68% 75%;--nf:0 4% 28%;--b2:0 4% 82%;--b3:0 4% 74%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:139 100% 89%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:97 37% 93%;--sc:96 32% 15%;--a:0 68% 94%;--ac:0 22% 16%;--n:0 4% 35%;--nc:0 4% 91%;--b1:0 4% 91%;--bc:0 3% 6%}[data-theme=forest]{--p:141 72% 42%;--pf:141 72% 34%;--sf:141 75% 38%;--af:35 69% 42%;--nf:0 10% 5%;--b2:0 12% 7%;--b3:0 12% 7%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 12% 82%;--pc:141 100% 88%;--sc:141 100% 10%;--ac:35 100% 10%;--nc:0 7% 81%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:141 75% 48%;--a:35 69% 52%;--n:0 10% 6%;--b1:0 12% 8%;--rounded-btn:1.9rem}[data-theme=aqua]{--p:182 93% 49%;--pf:182 93% 40%;--sf:274 31% 45%;--af:47 100% 64%;--nf:205 54% 40%;--b2:219 53% 39%;--b3:219 53% 35%;--bc:219 100% 89%;--sc:274 100% 11%;--ac:47 100% 16%;--nc:205 100% 90%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:181 100% 17%;--s:274 31% 57%;--a:47 100% 80%;--n:205 54% 50%;--b1:219 53% 43%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%}[data-theme=lofi]{--p:0 0% 5%;--pf:0 0% 4%;--sf:0 2% 8%;--af:0 0% 12%;--nf:0 0% 0%;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--pc:0 0% 100%;--s:0 2% 10%;--sc:0 0% 100%;--a:0 0% 15%;--ac:0 0% 100%;--n:0 0% 0%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 95%;--b3:0 2% 90%;--bc:0 0% 0%;--in:212 100% 48%;--inc:0 0% 100%;--su:137 72% 46%;--suc:0 0% 100%;--wa:5 100% 66%;--wac:0 0% 100%;--er:325 78% 49%;--erc:0 0% 100%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem;--animation-btn:0;--animation-input:0;--btn-focus-scale:1;--tab-radius:0}[data-theme=pastel]{--p:284 22% 80%;--pf:284 22% 64%;--sf:352 70% 70%;--af:158 55% 65%;--nf:199 44% 49%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 0% 20%;--pc:284 59% 16%;--sc:352 100% 18%;--ac:158 100% 16%;--nc:199 100% 12%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:352 70% 88%;--a:158 55% 81%;--n:199 44% 61%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12% 84%;--rounded-btn:1.9rem}[data-theme=fantasy]{--p:296 83% 25%;--pf:296 83% 20%;--sf:200 100% 30%;--af:31 94% 41%;--nf:215 28% 13%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:296 100% 85%;--sc:200 100% 87%;--ac:31 100% 10%;--nc:215 62% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:200 100% 37%;--a:31 94% 51%;--n:215 28% 17%;--b1:0 0% 100%;--bc:215 28% 17%}[data-theme=wireframe]{--pf:0 0% 58%;--sf:0 0% 58%;--af:0 0% 58%;--nf:0 0% 74%;--bc:0 0% 20%;--pc:0 0% 14%;--sc:0 0% 14%;--ac:0 0% 14%;--nc:0 0% 18%;--inc:240 100% 90%;--suc:120 100% 85%;--wac:60 100% 10%;--erc:0 100% 90%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--p:0 0% 72%;--s:0 0% 72%;--a:0 0% 72%;--n:0 0% 92%;--b1:0 0% 100%;--b2:0 0% 93%;--b3:0 0% 87%;--in:240 100% 50%;--su:120 100% 25%;--wa:60 30% 50%;--er:0 100% 50%;--rounded-box:.2rem;--rounded-btn:.2rem;--rounded-badge:.2rem;--tab-radius:.2rem;font-family:Chalkboard,comic sans ms,sanssecondaryerif}[data-theme=black]{--p:0 2% 20%;--pf:0 2% 16%;--sf:0 2% 16%;--af:0 2% 16%;--bc:0 0% 80%;--pc:0 5% 84%;--sc:0 5% 84%;--ac:0 5% 84%;--nc:0 3% 83%;--inc:240 100% 90%;--suc:120 100% 85%;--wac:60 100% 10%;--erc:0 100% 90%;--border-btn:1px;--tab-border:1px;--s:0 2% 20%;--a:0 2% 20%;--b1:0 0% 0%;--b2:0 0% 5%;--b3:0 2% 10%;--n:0 1% 15%;--nf:0 2% 20%;--in:240 100% 50%;--su:120 100% 25%;--wa:60 100% 50%;--er:0 100% 50%;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--animation-btn:0;--animation-input:0;--btn-text-case:lowercase;--btn-focus-scale:1;--tab-radius:0}[data-theme=luxury]{--p:0 0% 100%;--pf:0 0% 80%;--sf:218 54% 14%;--af:319 22% 21%;--nf:270 4% 7%;--pc:0 0% 20%;--sc:218 100% 84%;--ac:319 85% 85%;--inc:202 100% 14%;--suc:89 100% 10%;--wac:54 100% 13%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:218 54% 18%;--a:319 22% 26%;--n:270 4% 9%;--nc:37 67% 58%;--b1:240 10% 4%;--b2:270 4% 9%;--b3:270 2% 18%;--bc:37 67% 58%;--in:202 100% 70%;--su:89 62% 52%;--wa:54 69% 64%;--er:0 100% 72%}[data-theme=dracula]{--p:326 100% 74%;--pf:326 100% 59%;--sf:265 89% 62%;--af:31 100% 57%;--nf:230 15% 24%;--b2:231 15% 17%;--b3:231 15% 15%;--pc:326 100% 15%;--sc:265 100% 16%;--ac:31 100% 14%;--nc:230 71% 86%;--inc:191 100% 15%;--suc:135 100% 13%;--wac:65 100% 15%;--erc:0 100% 13%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:265 89% 78%;--a:31 100% 71%;--n:230 15% 30%;--b1:231 15% 18%;--bc:60 30% 96%;--in:191 97% 77%;--su:135 94% 65%;--wa:65 92% 76%;--er:0 100% 67%}[data-theme=cmyk]{--p:203 83% 60%;--pf:203 83% 48%;--sf:335 78% 48%;--af:56 100% 48%;--nf:0 0% 8%;--b2:0 0% 90%;--b3:0 0% 81%;--bc:0 0% 20%;--pc:203 100% 12%;--sc:335 100% 92%;--ac:56 100% 12%;--nc:0 0% 82%;--inc:192 100% 10%;--suc:291 100% 88%;--wac:25 100% 11%;--erc:4 100% 91%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:335 78% 60%;--a:56 100% 60%;--n:0 0% 10%;--b1:0 0% 100%;--in:192 48% 52%;--su:291 48% 38%;--wa:25 85% 57%;--er:4 81% 56%}[data-theme=autumn]{--p:344 96% 28%;--pf:344 96% 22%;--sf:0 63% 47%;--af:27 56% 50%;--nf:22 17% 35%;--b2:0 0% 85%;--b3:0 0% 77%;--bc:0 0% 19%;--pc:344 100% 86%;--sc:0 100% 92%;--ac:27 100% 13%;--nc:22 100% 89%;--inc:187 100% 10%;--suc:165 100% 89%;--wac:30 100% 10%;--erc:354 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:0 63% 58%;--a:27 56% 63%;--n:22 17% 44%;--b1:0 0% 95%;--in:187 48% 50%;--su:165 34% 43%;--wa:30 84% 50%;--er:354 79% 49%}[data-theme=business]{--p:210 64% 31%;--pf:210 64% 24%;--sf:200 13% 44%;--af:13 80% 48%;--nf:213 14% 13%;--b2:0 0% 11%;--b3:0 0% 10%;--bc:0 0% 83%;--pc:210 100% 86%;--sc:200 100% 11%;--ac:13 100% 12%;--nc:213 28% 83%;--inc:199 100% 88%;--suc:144 100% 11%;--wac:39 100% 12%;--erc:6 100% 89%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:200 13% 55%;--a:13 80% 60%;--n:213 14% 16%;--b1:0 0% 13%;--in:199 100% 42%;--su:144 31% 56%;--wa:39 64% 60%;--er:6 56% 43%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem}[data-theme=acid]{--p:303 100% 50%;--pf:303 100% 40%;--sf:27 100% 40%;--af:72 98% 40%;--nf:238 43% 14%;--b2:0 0% 88%;--b3:0 0% 79%;--bc:0 0% 20%;--pc:303 100% 90%;--sc:27 100% 10%;--ac:72 100% 10%;--nc:238 99% 83%;--inc:210 100% 12%;--suc:149 100% 12%;--wac:53 100% 11%;--erc:1 100% 89%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:27 100% 50%;--a:72 98% 50%;--n:238 43% 17%;--b1:0 0% 98%;--in:210 92% 58%;--su:149 50% 58%;--wa:53 93% 57%;--er:1 100% 45%;--rounded-box:1.25rem;--rounded-btn:1rem;--rounded-badge:1rem}[data-theme=lemonade]{--p:89 96% 31%;--pf:89 96% 24%;--sf:60 81% 44%;--af:63 80% 71%;--nf:238 43% 14%;--b2:0 0% 90%;--b3:0 0% 81%;--bc:0 0% 20%;--pc:89 100% 86%;--sc:60 100% 11%;--ac:63 100% 18%;--nc:238 99% 83%;--inc:192 79% 17%;--suc:74 100% 16%;--wac:50 100% 15%;--erc:1 100% 17%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:60 81% 55%;--a:63 80% 88%;--n:238 43% 17%;--b1:0 0% 100%;--in:192 39% 85%;--su:74 76% 79%;--wa:50 87% 75%;--er:1 70% 83%}[data-theme=night]{--p:198 93% 60%;--pf:198 93% 48%;--sf:234 89% 59%;--af:329 86% 56%;--b2:222 47% 10%;--b3:222 47% 9%;--bc:222 66% 82%;--pc:198 100% 12%;--sc:234 100% 15%;--ac:329 100% 14%;--nc:217 76% 83%;--inc:198 100% 90%;--suc:172 100% 10%;--wac:41 100% 13%;--erc:351 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:234 89% 74%;--a:329 86% 70%;--n:217 33% 17%;--nf:217 30% 22%;--b1:222 47% 11%;--in:198 90% 48%;--su:172 66% 50%;--wa:41 88% 64%;--er:351 95% 71%}[data-theme=coffee]{--p:30 67% 58%;--pf:30 67% 46%;--sf:182 25% 16%;--af:194 74% 20%;--nf:300 20% 5%;--b2:306 19% 10%;--b3:306 19% 9%;--pc:30 100% 12%;--sc:182 67% 84%;--ac:194 100% 85%;--nc:300 14% 81%;--inc:171 100% 13%;--suc:93 100% 12%;--wac:43 100% 14%;--erc:10 100% 15%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:182 25% 20%;--a:194 74% 25%;--n:300 20% 6%;--b1:306 19% 11%;--bc:37 8% 42%;--in:171 37% 67%;--su:93 25% 62%;--wa:43 100% 69%;--er:10 95% 75%}[data-theme=winter]{--p:212 100% 51%;--pf:212 100% 41%;--sf:247 47% 35%;--af:310 49% 42%;--nf:217 92% 8%;--pc:212 100% 90%;--sc:247 100% 89%;--ac:310 100% 90%;--nc:217 100% 82%;--inc:192 100% 16%;--suc:182 100% 13%;--wac:32 100% 17%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:247 47% 43%;--a:310 49% 52%;--n:217 92% 10%;--b1:0 0% 100%;--b2:217 100% 97%;--b3:219 44% 92%;--bc:214 30% 32%;--in:192 93% 78%;--su:182 47% 66%;--wa:32 62% 84%;--er:0 63% 72%}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.alert{--tw-bg-opacity:1;align-items:center;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;gap:1rem;justify-content:space-between;padding:1rem;width:100%}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}@media (min-width:768px){.alert{flex-direction:row}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}}.alert>:where(*){align-items:center;display:flex;gap:.5rem}.avatar.placeholder>div{display:flex}.avatar.placeholder>div,.btn{align-items:center;justify-content:center}.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsl(var(--n)/var(--tw-bg-opacity));border-color:transparent;border-color:hsl(var(--n)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsl(var(--nc)/var(--tw-text-opacity));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;height:3rem;line-height:1.25rem;line-height:1em;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn-disabled,.btn.loading,.btn.loading:hover,.btn[disabled]{pointer-events:none}.btn.loading:before{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border-color:transparent currentColor currentColor transparent;border-radius:9999px;border-width:2px;content:"";height:1rem;margin-right:.5rem;width:1rem}@media (prefers-reduced-motion:reduce){.btn.loading:before{-webkit-animation:spin 10s linear infinite;animation:spin 10s linear infinite}}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.card{border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;overflow:hidden;position:relative}.card:focus{outline:2px solid transparent;outline-offset:2px}.card-body{display:flex;flex:1 1 auto;flex-direction:column;gap:.5rem;padding:var(--padding-card,2rem)}.card-body :where(p){flex-grow:1}.card figure{align-items:center;display:flex;justify-content:center}.card.image-full{display:grid}.card.image-full:before{--tw-bg-opacity:1;background-color:hsl(var(--n)/var(--tw-bg-opacity));border-radius:var(--rounded-box,1rem);content:"";opacity:.75;position:relative;z-index:10}.card.image-full:before,.card.image-full>*{grid-column-start:1;grid-row-start:1}.card.image-full>figure img{height:100%;-o-object-fit:cover;object-fit:cover}.card.image-full>.card-body{--tw-text-opacity:1;color:hsl(var(--nc)/var(--tw-text-opacity));position:relative;z-index:20}.checkbox{--chkbg:var(--bc);--chkfg:var(--b1);--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsl(var(--bc)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;flex-shrink:0;height:1.5rem;width:1.5rem}.dropdown{display:inline-block;position:relative}.dropdown>:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{--tw-scale-x:.95;--tw-scale-y:.95;opacity:0;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform-origin:top;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);visibility:hidden;z-index:50}.dropdown-end .dropdown-content{right:0}.dropdown-left .dropdown-content{bottom:auto;right:100%;top:0;transform-origin:right}.dropdown-right .dropdown-content{bottom:auto;left:100%;top:0;transform-origin:left}.dropdown-top .dropdown-content{bottom:100%;top:auto;transform-origin:bottom}.dropdown-end.dropdown-left .dropdown-content,.dropdown-end.dropdown-right .dropdown-content{bottom:0;top:auto}.dropdown.dropdown-hover:hover .dropdown-content,.dropdown.dropdown-open .dropdown-content,.dropdown:not(.dropdown-hover):focus .dropdown-content,.dropdown:not(.dropdown-hover):focus-within .dropdown-content{opacity:1;visibility:visible}.form-control{flex-direction:column}.form-control,.label{display:flex}.label{align-items:center;justify-content:space-between;padding:.5rem .25rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.input{--tw-border-opacity:0;--tw-bg-opacity:1;background-color:hsl(var(--b1)/var(--tw-bg-opacity));border-color:hsl(var(--bc)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:1px;flex-shrink:1;font-size:.875rem;height:3rem;line-height:1.25rem;line-height:2;padding-left:1rem;padding-right:1rem;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.input-group>*,.input-group>.input{border-radius:0}.link{cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.menu{display:flex;flex-direction:column}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}.menu :where(li){align-items:stretch;display:flex;flex-direction:column;flex-wrap:wrap;position:relative}.menu :where(li:not(.menu-title))>:where(:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(:not(ul)){align-items:center;cursor:pointer;outline:2px solid transparent;outline-offset:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu>:where(li>:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){align-items:stretch;display:flex;flex-direction:column}.menu>:where(li)>:where(ul){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:inherit;border-top-right-radius:inherit;display:none;left:100%;position:absolute;top:auto}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.navbar{align-items:center;display:flex;min-height:4rem;padding:var(--navbar-padding,.5rem);width:100%}:where(.navbar>*){align-items:center;display:inline-flex}.radio{--chkbg:var(--bc);--tw-border-opacity:.2;border-radius:9999px;height:1.5rem;transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:1.5rem}.radio,.select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsl(var(--bc)/var(--tw-border-opacity));border-width:1px;cursor:pointer;flex-shrink:0}.select{--tw-border-opacity:0;--tw-bg-opacity:1;background-color:hsl(var(--b1)/var(--tw-bg-opacity));background-image:linear-gradient(45deg,transparent 50%,currentColor 0),linear-gradient(135deg,currentColor 50%,transparent 0);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-radius:var(--rounded-btn,.5rem);display:inline-flex;font-size:.875rem;font-weight:600;height:3rem;line-height:1.25rem;line-height:2;min-height:3rem;padding-left:1rem;padding-right:2.5rem;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-disabled,.select[disabled]{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:.2;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));cursor:not-allowed;pointer-events:none}.tabs{align-items:flex-end;display:flex}.tab,.tabs{flex-wrap:wrap}.tab{--tab-padding:1rem;--tw-text-opacity:.5;--tab-color:hsla(var(--bc)/var(--tw-text-opacity,1));--tab-bg:hsla(var(--b1)/var(--tw-bg-opacity,1));--tab-border-color:hsla(var(--b3)/var(--tw-bg-opacity,1));align-items:center;color:var(--tab-color);display:inline-flex;font-size:.875rem;height:2rem;justify-content:center;line-height:1.25rem;line-height:2;padding-left:var(--tab-padding,1rem);padding-right:var(--tab-padding,1rem);position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tab,.toggle{cursor:pointer}.toggle{--chkbg:hsla(var(--bc)/.2);--handleoffset:1.5rem;--tw-border-opacity:.2;--tw-bg-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsl(var(--bc)/var(--tw-bg-opacity));border-color:hsl(var(--bc)/var(--tw-border-opacity));border-radius:var(--rounded-badge,1.9rem);border-width:1px;box-shadow:calc(var(--handleoffset)*-1) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset;flex-shrink:0;height:1.5rem;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:3rem}.btn-outline.btn-primary .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--s)/var(--tw-bg-opacity));border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-outline.btn-primary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-secondary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-success .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--su)/var(--tw-border-opacity));color:hsl(var(--su)/var(--tw-text-opacity))}.btn-outline.btn-error .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--er)/var(--tw-border-opacity));color:hsl(var(--er)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover .badge{background-color:hsl(var(--pc)/var(--tw-bg-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover .badge,.btn-outline.btn-primary:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--pc)/var(--tw-border-opacity))}.btn-outline.btn-primary:hover .badge.outline{background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover .badge{background-color:hsl(var(--sc)/var(--tw-bg-opacity));color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover .badge,.btn-outline.btn-secondary:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--sc)/var(--tw-border-opacity))}.btn-outline.btn-secondary:hover .badge.outline{background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn:active:focus,.btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.btn-active,.btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--nf,var(--n))/var(--tw-bg-opacity));border-color:hsl(var(--nf,var(--n))/var(--tw-border-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn-primary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-primary.btn-active,.btn-primary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity))}.btn-primary:focus-visible{outline:2px solid hsl(var(--p))}.btn-secondary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--s)/var(--tw-bg-opacity));border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-secondary.btn-active,.btn-secondary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));border-color:hsl(var(--sf,var(--s))/var(--tw-border-opacity))}.btn-secondary:focus-visible{outline:2px solid hsl(var(--s))}.btn-success{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:hsl(var(--suc,var(--nc))/var(--tw-text-opacity))}.btn-success,.btn-success.btn-active,.btn-success:hover{background-color:hsl(var(--su)/var(--tw-bg-opacity));border-color:hsl(var(--su)/var(--tw-border-opacity))}.btn-success.btn-active,.btn-success:hover{--tw-border-opacity:1;--tw-bg-opacity:1}.btn-success:focus-visible{outline:2px solid hsl(var(--su))}.btn-error{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:hsl(var(--erc,var(--nc))/var(--tw-text-opacity))}.btn-error,.btn-error.btn-active,.btn-error:hover{background-color:hsl(var(--er)/var(--tw-bg-opacity));border-color:hsl(var(--er)/var(--tw-border-opacity))}.btn-error.btn-active,.btn-error:hover{--tw-border-opacity:1;--tw-bg-opacity:1}.btn-error:focus-visible{outline:2px solid hsl(var(--er))}.btn.glass.btn-active,.btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.btn.glass:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-ghost{background-color:transparent;border-color:transparent;border-width:1px;color:currentColor}.btn-ghost.btn-active,.btn-ghost:hover{--tw-border-opacity:0;--tw-bg-opacity:.2;background-color:hsl(var(--bc)/var(--tw-bg-opacity))}.btn-ghost:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-outline.btn-primary{--tw-text-opacity:1;color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary{--tw-text-opacity:1;color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));border-color:hsl(var(--sf,var(--s))/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-outline.btn-success{--tw-text-opacity:1;color:hsl(var(--su)/var(--tw-text-opacity))}.btn-outline.btn-success:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--su)/var(--tw-bg-opacity));border-color:hsl(var(--su)/var(--tw-border-opacity));color:hsl(var(--suc,var(--nc))/var(--tw-text-opacity))}.btn-outline.btn-error{--tw-text-opacity:1;color:hsl(var(--er)/var(--tw-text-opacity))}.btn-outline.btn-error:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--er)/var(--tw-bg-opacity));border-color:hsl(var(--er)/var(--tw-border-opacity));color:hsl(var(--erc,var(--nc))/var(--tw-text-opacity))}.btn-disabled,.btn-disabled:hover,.btn[disabled],.btn[disabled]:hover{--tw-border-opacity:0;--tw-bg-opacity:.2;--tw-text-opacity:.2;background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(var(--bc)/var(--tw-text-opacity))}.btn.loading.btn-circle:before,.btn.loading.btn-square:before{margin-right:0}.btn.loading.btn-lg:before,.btn.loading.btn-xl:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>.btn-active,.btn-group>input[type=radio]:checked.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-group>.btn-active:focus-visible,.btn-group>input[type=radio]:checked.btn:focus-visible{outline:2px solid hsl(var(--p))}.btn-group>.btn:not(:first-of-type){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.btn-group>.btn:not(:last-of-type){border-bottom-right-radius:0;border-top-right-radius:0}@-webkit-keyframes button-pop{0%{transform:scale(var(--btn-focus-scale,.95))}40%{transform:scale(1.02)}to{transform:scale(1)}}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale,.95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.card:focus-visible{outline:2px solid currentColor;outline-offset:2px}.card.bordered{--tw-border-opacity:1;border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));border-width:1px}.card.compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.checkbox:checked,.checkbox[checked=true]{--tw-bg-opacity:1;-webkit-animation:checkmark var(--animation-input,.2s) ease-in-out;animation:checkmark var(--animation-input,.2s) ease-in-out;background-color:hsl(var(--bc)/var(--tw-bg-opacity));background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%);background-repeat:no-repeat}.checkbox:indeterminate{--tw-bg-opacity:1;-webkit-animation:checkmark var(--animation-input,.2s) ease-in-out;animation:checkmark var(--animation-input,.2s) ease-in-out;background-color:hsl(var(--bc)/var(--tw-bg-opacity));background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%);background-repeat:no-repeat}.checkbox:disabled{--tw-bg-opacity:1;background-color:hsl(var(--bc)/var(--tw-bg-opacity));border-color:transparent;cursor:not-allowed;opacity:.2}@-webkit-keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}body[dir=rtl] .checkbox{--chkbg:var(--bc);--chkfg:var(--b1)}body[dir=rtl] .checkbox:checked,body[dir=rtl] .checkbox[checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-primary{outline:2px solid hsl(var(--p))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-secondary{outline:2px solid hsl(var(--s))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-success{outline:2px solid hsl(var(--su))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-error{outline:2px solid hsl(var(--er))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-ghost{outline:2px solid currentColor}.dropdown.dropdown-hover:hover .dropdown-content,.dropdown.dropdown-open .dropdown-content,.dropdown:focus .dropdown-content,.dropdown:focus-within .dropdown-content{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.label a:hover{--tw-text-opacity:1;color:hsl(var(--bc)/var(--tw-text-opacity))}.input:focus{outline:2px solid hsla(var(--bc)/.2);outline-offset:2px}.input-disabled,.input[disabled]{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:.2;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));cursor:not-allowed}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.input-disabled:-ms-input-placeholder,.input[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.input-disabled::placeholder,.input[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{--tw-border-opacity:1;border-bottom-width:4px;border-color:hsl(var(--p)/var(--tw-border-opacity));border-left-width:0}.menu[class*=" p-"] li>*,.menu[class^=p-] li>*{border-radius:var(--rounded-btn,.5rem)}.menu :where(li.bordered>*){--tw-border-opacity:1;border-color:hsl(var(--p)/var(--tw-border-opacity));border-left-width:4px}.menu :where(li)>:where(:not(ul)){color:currentColor;gap:.75rem;padding:.75rem 1rem}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):hover){--tw-bg-opacity:.1;background-color:hsl(var(--bc)/var(--tw-bg-opacity))}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.menu :where(li:empty){--tw-bg-opacity:.1;background-color:hsl(var(--bc)/var(--tw-bg-opacity));height:1px;margin:.5rem 1rem}.menu li.disabled>*{--tw-text-opacity:.2;color:hsl(var(--bc)/var(--tw-text-opacity));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu li.disabled>:hover{background-color:transparent}.menu li.hover-bordered a{border-color:transparent;border-left-width:4px}.menu li.hover-bordered a:hover{--tw-border-opacity:1;border-color:hsl(var(--p)/var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{font-size:.875rem;line-height:1.25rem;padding-bottom:.5rem;padding-top:.5rem}.menu .menu-title>*{--tw-text-opacity:.4;color:hsl(var(--bc)/var(--tw-text-opacity));font-size:.75rem;font-weight:700;line-height:1rem;padding-bottom:.25rem;padding-top:.25rem}.menu :where(li:not(.disabled))>:where(:not(ul)){outline:2px solid transparent;outline-offset:2px;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li:first-child)>:where(:not(ul)){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li:last-child){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li:last-child)>:where(:not(ul)){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li)>:where(ul) :where(li){white-space:nowrap;width:100%}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li) :where(:not(ul)){white-space:nowrap;width:100%}.menu>:where(li)>:where(ul)>:where(li:first-child){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.mockup-phone .display{border-radius:40px;margin-top:-25px;overflow:hidden}@-webkit-keyframes progress-loading{50%{left:107%}}@keyframes progress-loading{50%{left:107%}}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.radio:checked{--tw-bg-opacity:1;-webkit-animation:radiomark var(--animation-input,.2s) ease-in-out;animation:radiomark var(--animation-input,.2s) ease-in-out;background-color:hsl(var(--bc)/var(--tw-bg-opacity));box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.radio:disabled{cursor:not-allowed;opacity:.2}@-webkit-keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@-webkit-keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline:2px solid hsla(var(--bc)/.2);outline-offset:2px}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.select-disabled:-ms-input-placeholder,.select[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.select-disabled::placeholder,.select[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}.tab:hover{--tw-text-opacity:1}.tab.tab-active{--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--bc)/var(--tw-border-opacity))}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-left-radius:var(--tab-radius,.5rem);border-bottom-right-radius:var(--tab-radius,.5rem)}.tab-lifted{border-bottom-color:transparent;border:var(--tab-border,1px) solid transparent;border-bottom:var(--tab-border,1px) solid var(--tab-border-color);border-top-left-radius:var(--tab-radius,.5rem);border-top-right-radius:var(--tab-radius,.5rem);border-width:0 0 var(--tab-border,1px) 0;padding-left:var(--tab-padding,1rem);padding-right:var(--tab-padding,1rem);padding-top:var(--tab-border,1px)}.tab-lifted.tab-active{background-color:var(--tab-bg);border-left-color:var(--tab-border-color);border-right-color:var(--tab-border-color);border-top-color:var(--tab-border-color);border-width:var(--tab-border,1px) var(--tab-border,1px) 0 var(--tab-border,1px);padding-bottom:var(--tab-border,1px);padding-left:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-right:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-top:0}.tab-lifted.tab-active:after,.tab-lifted.tab-active:before{--tab-grad:calc(68% - var(--tab-border, 1px));--tab-corner-bg:radial-gradient(circle at var(--circle-pos),transparent var(--tab-grad),var(--tab-border-color) calc(var(--tab-grad) + .3px),var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + .3px));bottom:0;content:"";display:block;height:var(--tab-radius,.5rem);position:absolute;width:var(--tab-radius,.5rem);z-index:1}.tab-lifted.tab-active:before{--circle-pos:top left;background-image:var(--tab-corner-bg);left:calc(var(--tab-radius, .5rem)*-1)}[dir=rtl] .tab-lifted.tab-active:before{--circle-pos:top right}.tab-lifted.tab-active:after{--circle-pos:top right;background-image:var(--tab-corner-bg);right:calc(var(--tab-radius, .5rem)*-1)}[dir=rtl] .tab-lifted.tab-active:after{--circle-pos:top left}.tab-lifted.tab-active+.tab-lifted.tab-active:before,.tab-lifted.tab-active:first-child:before,.tab-lifted.tab-active:last-child:after{background:none}.tabs-boxed .tab-active{--tw-bg-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-radius:var(--rounded-btn,.5rem)}.tabs-boxed .tab-active,.tabs-boxed .tab-active:hover{--tw-text-opacity:1;color:hsl(var(--pc)/var(--tw-text-opacity))}.toggle:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.toggle:checked,.toggle[checked=true]{--chkbg:hsl(var(--bc));--tw-border-opacity:1;--tw-bg-opacity:1;box-shadow:var(--handleoffset) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset}[dir=rtl] .toggle:checked,[dir=rtl] .toggle[checked=true]{box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset}.toggle:indeterminate{--chkbg:hsl(var(--bc));--tw-border-opacity:1;--tw-bg-opacity:1;box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset,calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset}[dir=rtl] .toggle:indeterminate{box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset,calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset}.toggle-primary:focus-visible{outline:2px solid hsl(var(--p))}.toggle-primary:checked,.toggle-primary[checked=true]{--chkbg:hsl(var(--p));--tw-border-opacity:.1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.toggle:disabled{--tw-bg-opacity:.2;background-color:hsl(var(--bc)/var(--tw-bg-opacity));border-color:transparent;cursor:not-allowed}.btn-xs{font-size:.75rem;height:1.5rem;min-height:1.5rem;padding-left:.5rem;padding-right:.5rem}.btn-sm{font-size:.875rem;height:2rem;min-height:2rem;padding-left:.75rem;padding-right:.75rem}.btn-md{font-size:.875rem;height:3rem;min-height:3rem;padding-left:1rem;padding-right:1rem}.btn-square:where(.btn-xs){height:1.5rem;padding:0;width:1.5rem}.btn-square:where(.btn-sm){height:2rem;padding:0;width:2rem}.btn-square:where(.btn-md){height:3rem;padding:0;width:3rem}.btn-circle:where(.btn-xs){border-radius:9999px;height:1.5rem;padding:0;width:1.5rem}.btn-circle:where(.btn-sm){border-radius:9999px;height:2rem;padding:0;width:2rem}.btn-circle:where(.btn-md){border-radius:9999px;height:3rem;padding:0;width:3rem}.card-compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card-normal .card-body{font-size:1rem;line-height:1.5rem;padding:var(--padding-card,2rem)}.menu-vertical :where(li.bordered>*){border-bottom-width:0;border-left-width:4px}.menu-horizontal :where(li.bordered>*){border-bottom-width:4px;border-left-width:0}.fixed{position:fixed}.absolute{position:absolute}.left-0{left:0}.top-0{top:0}.top-px{top:1px}.z-50{z-index:50}.m-2{margin:.5rem}.my-auto{margin-bottom:auto;margin-top:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.-mt-2{margin-top:-.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.mt-14{margin-top:3.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-screen{height:100vh}.h-full{height:100%}.h-6{height:1.5rem}.h-4{height:1rem}.h-96{height:24rem}.h-56{height:14rem}.w-screen{width:100vw}.w-full{width:100%}.w-6{width:1.5rem}.w-4{width:1rem}.w-56{width:14rem}.w-12{width:3rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.border{border-width:1px}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity))}.bg-base-200{--tw-bg-opacity:1;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.p-2{padding:.5rem}.p-4{padding:1rem}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-4{padding-top:1rem}.pb-0{padding-bottom:0}.align-middle{vertical-align:middle}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.font-semibold{font-weight:600}.normal-case{text-transform:none}.text-primary-content{--tw-text-opacity:1;color:hsl(var(--pc)/var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity:1;color:rgb(224 231 255/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-base-content{--tw-text-opacity:1;color:hsl(var(--bc)/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.input{--tw-border-opacity:1;border-color:hsl(var(--p)/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:2px;flex:1 1 0%}.action-btn{align-items:center;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsl(var(--n)/var(--tw-bg-opacity));border-color:transparent;border-color:hsl(var(--n)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsl(var(--nc)/var(--tw-text-opacity));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;height:3rem;justify-content:center;line-height:1.25rem;line-height:1em;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-btn-disabled,.action-btn.loading,.action-btn.loading:hover,.action-btn[disabled]{pointer-events:none}.action-btn.loading:before{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border-color:transparent currentColor currentColor transparent;border-radius:9999px;border-width:2px;content:"";height:1rem;margin-right:.5rem;width:1rem}@media (prefers-reduced-motion:reduce){.action-btn.loading:before{-webkit-animation:spin 10s linear infinite;animation:spin 10s linear infinite}}.action-btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.action-btn-group>input[type=radio].btn:before{content:attr(data-title)}.btn-outline.action-btn .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover .badge{background-color:hsl(var(--pc)/var(--tw-bg-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover .badge,.btn-outline.action-btn:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--pc)/var(--tw-border-opacity))}.btn-outline.action-btn:hover .badge.outline{background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn:active:focus,.action-btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.action-btn-active,.action-btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--nf,var(--n))/var(--tw-bg-opacity));border-color:hsl(var(--nf,var(--n))/var(--tw-border-opacity))}.action-btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.action-btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn.btn-active,.action-btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity))}.action-btn:focus-visible{outline:2px solid hsl(var(--p))}.action-btn.glass.btn-active,.action-btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.action-btn.glass:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-outline.action-btn{--tw-text-opacity:1;color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn-disabled,.action-btn-disabled:hover,.action-btn[disabled],.action-btn[disabled]:hover{--tw-border-opacity:0;--tw-bg-opacity:.2;--tw-text-opacity:.2;background-color:hsl(var(--n)/var(--tw-bg-opacity));color:hsl(var(--bc)/var(--tw-text-opacity))}.action-btn.loading.btn-circle:before,.action-btn.loading.btn-square:before{margin-right:0}.action-btn.loading.btn-lg:before,.action-btn.loading.btn-xl:before{height:1.25rem;width:1.25rem}.action-btn.loading.btn-sm:before,.action-btn.loading.btn-xs:before{height:.75rem;width:.75rem}.action-btn-group>.btn-active,.action-btn-group>input[type=radio]:checked.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn-group>.btn-active:focus-visible,.action-btn-group>input[type=radio]:checked.btn:focus-visible{outline:2px solid hsl(var(--p))}.action-btn-group>.btn:not(:first-of-type){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.action-btn-group>.btn:not(:last-of-type){border-bottom-right-radius:0;border-top-right-radius:0}.drawer-toggle:focus-visible~.drawer-content .drawer-button.action-btn{outline:2px solid hsl(var(--p))}.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}@media (min-width:768px){.md\:mr-2{margin-right:.5rem}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:hidden{display:none}}@media (min-width:1024px){.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-auto{width:auto}.lg\:items-center{align-items:center}.lg\:pt-0{padding-top:0}}.loader.svelte-1ub1m40{-webkit-animation:svelte-1ub1m40-spin 2s linear infinite;animation:svelte-1ub1m40-spin 2s linear infinite;border:.45em solid #f3f3f3;border-radius:50%;border-top-color:#6365f1;height:3em;width:3em}@-webkit-keyframes svelte-1ub1m40-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes svelte-1ub1m40-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}} diff --git a/_app/chunks/index-3ccfa173.js b/_app/chunks/index-3ccfa173.js new file mode 100644 index 00000000..fd9a1e65 --- /dev/null +++ b/_app/chunks/index-3ccfa173.js @@ -0,0 +1,4 @@ +function k(){}const ct=t=>t;function ot(t,n){for(const e in n)t[e]=n[e];return t}function G(t){return t()}function H(){return Object.create(null)}function $(t){t.forEach(G)}function J(t){return typeof t=="function"}function Ot(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}function lt(t){return Object.keys(t).length===0}function K(t,...n){if(t==null)return k;const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function Lt(t){let n;return K(t,e=>n=e)(),n}function Tt(t,n,e){t.$$.on_destroy.push(K(n,e))}function zt(t,n,e,i){if(t){const s=Q(t,n,e,i);return t[0](s)}}function Q(t,n,e,i){return t[1]&&i?ot(e.ctx.slice(),t[1](i(n))):e.ctx}function Bt(t,n,e,i){if(t[2]&&i){const s=t[2](i(e));if(n.dirty===void 0)return s;if(typeof s=="object"){const l=[],r=Math.max(n.dirty.length,s.length);for(let o=0;o32){const n=[],e=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),q=U?t=>requestAnimationFrame(t):k;const b=new Set;function V(t){b.forEach(n=>{n.c(t)||(b.delete(n),n.f())}),b.size!==0&&q(V)}function at(t){let n;return b.size===0&&q(V),{promise:new Promise(e=>{b.add(n={c:t,f:e})}),abort(){b.delete(n)}}}let R=!1;function ft(){R=!0}function _t(){R=!1}function dt(t,n,e,i){for(;t>1);e(s)<=i?t=s+1:n=s}return t}function ht(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let u=0;u0&&n[e[s]].claim_order<=u?s+1:dt(1,s,a=>n[e[a]].claim_order,u))-1;i[c]=e[_]+1;const f=_+1;e[f]=c,s=Math.max(f,s)}const l=[],r=[];let o=n.length-1;for(let c=e[s]+1;c!=0;c=i[c-1]){for(l.push(n[c-1]);o>=c;o--)r.push(n[o]);o--}for(;o>=0;o--)r.push(n[o]);l.reverse(),r.sort((c,u)=>c.claim_order-u.claim_order);for(let c=0,u=0;c=l[u].claim_order;)u++;const _=ut.removeEventListener(n,e,i)}function Ut(t){return function(n){return n.stopPropagation(),t.call(this,n)}}function Vt(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function Xt(t){return t===""?null:+t}function xt(t){return Array.from(t.childNodes)}function wt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Z(t,n,e,i,s=!1){wt(t);const l=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const o=t[r];if(n(o)){const c=e(o);return c===void 0?t.splice(r,1):t[r]=c,s?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function tt(t,n,e,i){return Z(t,s=>s.nodeName===n,s=>{const l=[];for(let r=0;rs.removeAttribute(r))},()=>i(n))}function Yt(t,n,e){return tt(t,n,e,Y)}function Zt(t,n,e){return tt(t,n,e,$t)}function vt(t,n){return Z(t,e=>e.nodeType===3,e=>{const i=""+n;if(e.data.startsWith(i)){if(e.data.length!==i.length)return e.splitText(i.length)}else e.data=i},()=>F(n),!0)}function tn(t){return vt(t," ")}function nn(t,n){n=""+n,t.wholeText!==n&&(t.data=n)}function en(t,n){t.value=n==null?"":n}function rn(t,n,e,i){e===null?t.style.removeProperty(n):t.style.setProperty(n,e,i?"important":"")}function sn(t,n,e){t.classList[e?"add":"remove"](n)}function nt(t,n,e=!1){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e,!1,n),i}const S=new Map;let M=0;function Et(t){let n=5381,e=t.length;for(;e--;)n=(n<<5)-n^t.charCodeAt(e);return n>>>0}function kt(t,n){const e={stylesheet:pt(n),rules:{}};return S.set(t,e),e}function I(t,n,e,i,s,l,r,o=0){const c=16.666/i;let u=`{ +`;for(let p=0;p<=1;p+=c){const g=n+(e-n)*l(p);u+=p*100+`%{${r(g,1-g)}} +`}const _=u+`100% {${r(e,1-e)}} +}`,f=`__svelte_${Et(_)}_${o}`,a=X(t),{stylesheet:d,rules:h}=S.get(a)||kt(a,t);h[f]||(h[f]=!0,d.insertRule(`@keyframes ${f} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${i}ms linear ${s}ms 1 both`,M+=1,f}function Nt(t,n){const e=(t.style.animation||"").split(", "),i=e.filter(n?l=>l.indexOf(n)<0:l=>l.indexOf("__svelte")===-1),s=e.length-i.length;s&&(t.style.animation=i.join(", "),M-=s,M||jt())}function jt(){q(()=>{M||(S.forEach(t=>{const{stylesheet:n}=t;let e=n.cssRules.length;for(;e--;)n.deleteRule(e);t.rules={}}),S.clear())})}let E;function v(t){E=t}function D(){if(!E)throw new Error("Function called outside component initialization");return E}function cn(t){D().$$.on_mount.push(t)}function on(t){D().$$.after_update.push(t)}function ln(){const t=D();return(n,e)=>{const i=t.$$.callbacks[n];if(i){const s=nt(n,e);i.slice().forEach(l=>{l.call(t,s)})}}}function un(t,n){D().$$.context.set(t,n)}function an(t,n){const e=t.$$.callbacks[n.type];e&&e.slice().forEach(i=>i.call(this,n))}const w=[],W=[],A=[],z=[],et=Promise.resolve();let B=!1;function it(){B||(B=!0,et.then(rt))}function fn(){return it(),et}function P(t){A.push(t)}function _n(t){z.push(t)}const L=new Set;let j=0;function rt(){const t=E;do{for(;j{x=null})),x}function T(t,n,e){t.dispatchEvent(nt(`${n?"intro":"outro"}${e}`))}const C=new Set;let m;function dn(){m={r:0,c:[],p:m}}function hn(){m.r||$(m.c),m=m.p}function St(t,n){t&&t.i&&(C.delete(t),t.i(n))}function mn(t,n,e,i){if(t&&t.o){if(C.has(t))return;C.add(t),m.c.push(()=>{C.delete(t),i&&(e&&t.d(1),i())}),t.o(n)}}const Mt={duration:0};function pn(t,n,e,i){let s=n(t,e),l=i?0:1,r=null,o=null,c=null;function u(){c&&Nt(t,c)}function _(a,d){const h=a.b-l;return d*=Math.abs(h),{a:l,b:a.b,d:h,duration:d,start:a.start,end:a.start+d,group:a.group}}function f(a){const{delay:d=0,duration:h=300,easing:y=ct,tick:p=k,css:g}=s||Mt,O={start:ut()+d,b:a};a||(O.group=m,m.r+=1),r||o?o=O:(g&&(u(),c=I(t,l,a,h,d,y,g)),a&&p(0,1),r=_(O,h),P(()=>T(t,a,"start")),at(N=>{if(o&&N>o.start&&(r=_(o,h),o=null,T(t,r.b,"start"),g&&(u(),c=I(t,l,r.b,r.duration,0,y,s.css))),r){if(N>=r.end)p(l=r.b,1-l),T(t,r.b,"end"),o||(r.b?u():--r.group.r||$(r.group.c)),r=null;else if(N>=r.start){const st=N-r.start;l=r.a+r.d*y(st/r.duration),p(l,1-l)}}return!!(r||o)}))}return{run(a){J(s)?Ct().then(()=>{s=s(),f(a)}):f(a)},end(){u(),r=o=null}}}function yn(t,n){const e={},i={},s={$$scope:1};let l=t.length;for(;l--;){const r=t[l],o=n[l];if(o){for(const c in r)c in o||(i[c]=1);for(const c in o)s[c]||(e[c]=o[c],s[c]=1);t[l]=o}else for(const c in r)s[c]=1}for(const r in i)r in e||(e[r]=void 0);return e}function gn(t){return typeof t=="object"&&t!==null?t:{}}function bn(t,n,e){const i=t.$$.props[n];i!==void 0&&(t.$$.bound[i]=e,e(t.$$.ctx[i]))}function $n(t){t&&t.c()}function xn(t,n){t&&t.l(n)}function Pt(t,n,e,i){const{fragment:s,on_mount:l,on_destroy:r,after_update:o}=t.$$;s&&s.m(n,e),i||P(()=>{const c=l.map(G).filter(J);r?r.push(...c):$(c),t.$$.on_mount=[]}),o.forEach(P)}function Rt(t,n){const e=t.$$;e.fragment!==null&&($(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function Dt(t,n){t.$$.dirty[0]===-1&&(w.push(t),it(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const h=d.length?d[0]:a;return u.ctx&&s(u.ctx[f],u.ctx[f]=h)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](h),_&&Dt(t,f)),a}):[],u.update(),_=!0,$(u.before_update),u.fragment=i?i(u.ctx):!1,n.target){if(n.hydrate){ft();const f=xt(n.target);u.fragment&&u.fragment.l(f),f.forEach(bt)}else u.fragment&&u.fragment.c();n.intro&&St(t.$$.fragment),Pt(t,n.target,n.anchor,n.customElement),_t(),rt()}v(c)}class vn{$destroy(){Rt(this,1),this.$destroy=k}$on(n,e){const i=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return i.push(e),()=>{const s=i.indexOf(e);s!==-1&&i.splice(s,1)}}$set(n){this.$$set&&!lt(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}export{pn as $,gn as A,Rt as B,ot as C,fn as D,k as E,K as F,$ as G,J as H,zt as I,gt as J,qt as K,Ft as L,Bt as M,Tt as N,Lt as O,ln as P,W as Q,Qt as R,vn as S,$t as T,Zt as U,Gt as V,Ht as W,ct as X,sn as Y,Ut as Z,P as _,xt as a,bn as a0,_n as a1,an as a2,en as a3,Xt as a4,It as a5,Vt as b,Yt as c,bt as d,Y as e,rn as f,Wt as g,vt as h,wn as i,nn as j,Jt as k,Kt as l,tn as m,dn as n,mn as o,hn as p,St as q,un as r,Ot as s,F as t,on as u,cn as v,$n as w,xn as x,Pt as y,yn as z}; diff --git a/_app/chunks/preload-helper-e8f5b6ac.js b/_app/chunks/preload-helper-e8f5b6ac.js new file mode 100644 index 00000000..4f349b3c --- /dev/null +++ b/_app/chunks/preload-helper-e8f5b6ac.js @@ -0,0 +1 @@ +import{E as b,s as y,F as E,G as S,H as $}from"./index-3ccfa173.js";const a=[];function q(n,c){return{subscribe:w(n,c).subscribe}}function w(n,c=b){let i;const e=new Set;function o(s){if(y(n,s)&&(n=s,i)){const u=!a.length;for(const t of e)t[1](),a.push(t,n);if(u){for(let t=0;t{e.delete(t),e.size===0&&(i(),i=null)}}return{set:o,update:f,subscribe:r}}function z(n,c,i){const e=!Array.isArray(n),o=e?[n]:n,f=c.length<2;return q(i,r=>{let s=!1;const u=[];let t=0,d=b;const m=()=>{if(t)return;d();const l=c(e?u[0]:u,r);f?r(l):d=$(l)?l:b},_=o.map((l,h)=>E(l,g=>{u[h]=g,t&=~(1<{t|=1<{if(e=`${C}${e}`,e in p)return;p[e]=!0;const o=e.endsWith(".css"),f=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${f}`))return;const r=document.createElement("link");if(r.rel=o?"stylesheet":k,o||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),o)return new Promise((s,u)=>{r.addEventListener("load",s),r.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>c())};export{A as _,z as d,w}; diff --git a/_app/chunks/state-f215c7fd.js b/_app/chunks/state-f215c7fd.js new file mode 100644 index 00000000..a2cca56f --- /dev/null +++ b/_app/chunks/state-f215c7fd.js @@ -0,0 +1,19 @@ +var G=Object.defineProperty,K=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var Y=(e,n,t)=>n in e?G(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,B=(e,n)=>{for(var t in n||(n={}))j.call(n,t)&&Y(e,t,n[t]);if(z)for(var t of z(n))V.call(n,t)&&Y(e,t,n[t]);return e},k=(e,n)=>K(e,X(n));import{w as writable,_ as __vitePreload,d as derived}from"./preload-helper-e8f5b6ac.js";import{O as get_store_value}from"./index-3ccfa173.js";const defaultLoading={loading:!1},loadingStateStore=writable(defaultLoading),initLoading=async(e,n)=>{loadingStateStore.set({loading:!0,message:e});const t=await n;return loadingStateStore.set({loading:!1}),t};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var browserCookies={};(function(e){e.defaults={},e.set=function(n,t,i){var a=i||{},r=e.defaults,l=a.expires||r.expires,o=a.domain||r.domain,u=a.path!==void 0?a.path:r.path!==void 0?r.path:"/",_=a.secure!==void 0?a.secure:r.secure,s=a.httponly!==void 0?a.httponly:r.httponly,N=a.samesite!==void 0?a.samesite:r.samesite,h=l?new Date(typeof l=="number"?new Date().getTime()+l*864e5:l):0;document.cookie=n.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(h&&h.getTime()>=0?";expires="+h.toUTCString():"")+(o?";domain="+o:"")+(u?";path="+u:"")+(_?";secure":"")+(s?";httponly":"")+(N?";samesite="+N:"")},e.get=function(n){for(var t=document.cookie.split(";");t.length;){var i=t.pop(),a=i.indexOf("=");a=a<0?i.length:a;var r=decodeURIComponent(i.slice(0,a).replace(/^\s+/,""));if(r===n)return decodeURIComponent(i.slice(a+1))}return null},e.erase=function(n,t){e.set(n,"",{expires:-1,domain:t&&t.domain,path:t&&t.path,secure:0,httponly:0})},e.all=function(){for(var n={},t=document.cookie.split(";");t.length;){var i=t.pop(),a=i.indexOf("=");a=a<0?i.length:a;var r=decodeURIComponent(i.slice(0,a).replace(/^\s+/,""));n[r]=decodeURIComponent(i.slice(a+1))}return n}})(browserCookies);var bundle={};(function(exports){(function(e,n){for(var t in n)e[t]=n[t];n.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})})(exports,(()=>{var __webpack_modules__={607:(module,exports,__webpack_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0});var serializer_1=__webpack_require__(810),deserializer_1=__webpack_require__(496),Module;typeof process!="undefined"&&process.release.name==="node"&&(Module=eval("require")("module"));var ESSerializer=function(){function e(){}return e.throwErrorIfInNonNodeEnvironment=function(){if(!Module)throw new Error("Cannot intercept require in non-Node environment.")},e.interceptRequire=function(){this.isRequireIntercepted||(this.isRequireIntercepted=!0,this.throwErrorIfInNonNodeEnvironment(),e.originRequire=Module.prototype.require,Module.prototype.require=function(){var n=e.originRequire.apply(this,arguments),t=n.name;return e.requiredClasses[t]||(e.requiredClasses[t]=n),n})},e.stopInterceptRequire=function(){this.throwErrorIfInNonNodeEnvironment(),Module.prototype.require=e.originRequire,this.isRequireIntercepted=!1},e.isInterceptingRequire=function(){return this.isRequireIntercepted},e.getRequiredClasses=function(){return this.requiredClasses},e.clearRequiredClasses=function(){this.requiredClasses={}},e.registerClass=function(n){this.registeredClasses.push(n)},e.registerClasses=function(n){this.registeredClasses=this.registeredClasses.concat(n)},e.clearRegisteredClasses=function(){this.registeredClasses=[]},e.serialize=function(n,t){return t===void 0&&(t={}),JSON.stringify(serializer_1.getSerializeValueWithClassName(n,t))},e.deserialize=function(n,t,i){return t===void 0&&(t=[]),i===void 0&&(i={}),deserializer_1.deserializeFromParsedObj(JSON.parse(n),Object.values(this.requiredClasses).concat(this.registeredClasses).concat(t),i)},e.originRequire=null,e.isRequireIntercepted=!1,e.requiredClasses={},e.registeredClasses=[],e}();module.exports=ESSerializer},917:function(e,n){var t=this&&this.__spreadArrays||function(){for(var x=0,m=0,F=arguments.length;m0&&(S=S.concat(Array.from(Array(b),function(){return{}}))),l.test(E.toString()))try{w=new(E.bind.apply(E,i([void 0],S)))}catch{A(E.name),w={},Object.setPrototypeOf(w,E?E.prototype:Object.prototype)}else{w=Object.create(E.prototype.constructor.prototype);try{E.prototype.constructor.call(w,S)}catch{A(E.name)}}return w}(T[d],C),c,T,I)}function u(c,T){return c.map(function(I){return o(I,T)})}function _(c,T){return new T(c)}function s(c,T){return new T(c.map(function(I){return N(I[r.TO_STRING_FIELD])}))}function N(c){return BigInt(c)}function h(c,T){var I=c[r.OPTIONS_FIELD],d=I.locale;return delete I.locale,new T(d,I)}function f(c,T){var I;return delete(I=c.message?new T(c.message):new T).stack,c.name&&(I.name=c.name),c.stack&&(I.stack=c.stack),T===AggregateError&&(I.errors=o(c.errors,{})),I}function A(c){console.warn("Incorrect parameter type passed to constructor: "+c)}function p(c,T,I){for(var d in T){var g=Object.getOwnPropertyDescriptor(c,d);g&&g.writable!==!0&&typeof g.set!="function"||(c[d]=o(T[d],I))}}function L(c){c===void 0&&(c=[]);var T={};return c.forEach(function(I){if(a.isClass(I)){var d=I.name,g=T[d];g&&g!==I&&console.warn("WARNING: Found class definition with the same name: "+d),T[d]=I}}),T}n.deserializeFromParsedObj=function(c,T,I){return o(c,L(T),I)},n.deserializeFromParsedObjWithClassMapping=o,n.getClassMappingFromClassArray=L,n.getParentClassName=function(c){return c.prototype.__proto__.constructor.name}},821:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.isClass=n.notObject=n.getValueFromToStringResult=void 0,n.notObject=function(t){return t===null||typeof t!="object"},n.getValueFromToStringResult=function(t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN;default:return null}},n.isClass=function(t){if(function(i){return[Date].indexOf(i)>=0}(t))return!0;try{Reflect.construct(String,[],t)}catch{return!1}return!0}},810:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.getSerializeValueWithClassName=void 0;var i=t(917),a=t(821);function r(o,u){u===void 0&&(u={});var _=function(f){var A,p,L;return f===void 0?((A={})[i.CLASS_NAME_FIELD]=i.BUILTIN_TYPE_UNDEFINED,A):typeof f!="number"||isFinite(f)?typeof f=="bigint"?((L={})[i.CLASS_NAME_FIELD]=i.BUILTIN_TYPE_BIG_INT,L[i.TO_STRING_FIELD]=f.toString(),L):a.notObject(f)?f:i.ESSERIALIZER_NULL:((p={})[i.CLASS_NAME_FIELD]=i.BUILTIN_TYPE_NOT_FINITE,p[i.TO_STRING_FIELD]=f.toString(),p)}(o);if(_!==i.ESSERIALIZER_NULL)return _;if(Array.isArray(o))return l(o);var s={};if(!function(f){var A=f.__proto__.constructor.name;return i.CLASSNAMES_WHOSE_ENUMERABLE_PROPERTIES_SHOULD_BE_IGNORED.includes(A)}(o)){if(u.ignoreProperties&&u.ignoreProperties.forEach(function(f){delete o[f]}),u.interceptProperties)for(var N in u.interceptProperties)o[N]=u.interceptProperties[N].call(o,o[N]);for(var h in o)s[h]=r(o[h])}return function(f,A){var p=f.__proto__.constructor.name;return p!=="Object"&&(A[i.CLASS_NAME_FIELD]=p,p===i.BUILTIN_CLASS_ARRAYBUFFER||p===i.BUILTIN_CLASS_SHAREDARRAYBUFFER?A[i.ARRAY_FIELD]=l(Array.from(new Uint8Array(f))):p===i.BUILTIN_CLASS_BOOLEAN?A[i.BOOLEAN_FIELD]=f.valueOf():p===i.BUILTIN_CLASS_DATAVIEW?A[i.ARRAY_FIELD]=l(Array.from(new Uint8Array(f.buffer))):p===i.BUILTIN_CLASS_DATE?A[i.TIMESTAMP_FIELD]=f.getTime():p===i.BUILTIN_CLASS_INTL_LOCALE||p===i.BUILTIN_CLASS_REGEXP?A[i.TO_STRING_FIELD]=f.toString():p===i.BUILTIN_CLASS_SET?A[i.ARRAY_FIELD]=l(Array.from(f)):p===i.BUILTIN_CLASS_STRING?A[i.TO_STRING_FIELD]=f.toString():i.ALL_BUILTIN_ARRAYS.includes(p)?A[i.ARRAY_FIELD]=l(Array.from(f)):i.ALL_BUILTIN_ERRORS.includes(p)?function(L,c,T){L.name!=="Error"&&(c.name=L.name),L.message&&(c.message=L.message),L.stack&&(c.stack=L.stack),T===i.BUILTIN_CLASS_AGGREGATE_ERROR&&(c.errors=r(L.errors))}(f,A,p):i.ALL_BUILTIN_INTLS.includes(p)&&(A[i.OPTIONS_FIELD]=f.resolvedOptions())),A}(o,s)}function l(o){return o.map(function(u){return r(u)})}n.getSerializeValueWithClassName=r}},__webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e])return __webpack_module_cache__[e].exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}return __webpack_require__(607)})())})(bundle);var ESSerializer=getDefaultExportFromCjs(bundle);const alreadyWarnFor=[],warnStorageNotFound=e=>{var n;const t=typeof process!="undefined"&&((n=process.env)===null||n===void 0?void 0:n.NODE_ENV)==="production";if(alreadyWarnFor.indexOf(e)===-1&&!t){let i=`Unable to find the ${e}. No data will be persisted.`;typeof window=="undefined"&&(i+=` +Are you running on a server? Most of storages are not available while running on a server.`),console.warn(i),alreadyWarnFor.push(e)}},allowedClasses=[],serialize=e=>ESSerializer.serialize(e),deserialize=e=>{if(e!=="undefined"){if(e!=null){try{return ESSerializer.deserialize(e,allowedClasses)}catch{}try{return JSON.parse(e)}catch{}}return e}};function persist(e,n,t){const i=n.getValue(t);return i!==null&&e.set(i),n.addListener&&n.addListener(t,a=>{e.set(a)}),e.subscribe(a=>{n.setValue(t,a)}),Object.assign(Object.assign({},e),{delete(){n.deleteValue(t)}})}function getBrowserStorage(e,n=!1){const t=[],i=l=>{const o=l.key;l.storageArea===e&&t.filter(({key:u})=>u===o).forEach(({listener:u})=>{u(deserialize(l.newValue))})},a=()=>{n&&typeof window!="undefined"&&(window==null?void 0:window.addEventListener)&&window.addEventListener("storage",i)},r=()=>{n&&typeof window!="undefined"&&(window==null?void 0:window.removeEventListener)&&window.removeEventListener("storage",i)};return{addListener(l,o){t.push({key:l,listener:o}),t.length===1&&a()},removeListener(l,o){const u=t.indexOf({key:l,listener:o});u!==-1&&t.splice(u,1),t.length===0&&r()},getValue(l){const o=e.getItem(l);return deserialize(o)},deleteValue(l){e.removeItem(l)},setValue(l,o){e.setItem(l,serialize(o))}}}function localStorage(e=!1){return typeof window!="undefined"&&(window==null?void 0:window.localStorage)?getBrowserStorage(window.localStorage,e):(warnStorageNotFound("window.localStorage"),noopStorage())}function noopStorage(){return{getValue(){return null},deleteValue(){},setValue(){}}}let analytics;const initAnalytics=async()=>{if(!analytics)try{const{Analytics:e}=await __vitePreload(()=>import("./analytics.browser.es-da2e3609.js"),[]),n=await __vitePreload(()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js"),[]);analytics=e({app:"mermaid-live-editor",plugins:[n.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}},detectType=e=>e.replace(/^\s*%%.*\n/g,` +`).trimStart().split(" ")[0];let timeout;const saveStatistics=e=>{analytics&&(clearTimeout(timeout),timeout=setTimeout(function(){const n=detectType(e);console.debug("ga:","send","event","render",n),analytics.track("render",{graphType:n})},5e3))};/*! pako 2.0.4 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Z_FIXED$1=4,Z_BINARY=0,Z_TEXT=1,Z_UNKNOWN$1=2;function zero$1(e){let n=e.length;for(;--n>=0;)e[n]=0}const STORED_BLOCK=0,STATIC_TREES=1,DYN_TREES=2,MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,BL_CODES$1=19,HEAP_SIZE$1=2*L_CODES$1+1,MAX_BITS$1=15,Buf_size=16,MAX_BL_BITS=7,END_BLOCK=256,REP_3_6=16,REPZ_3_10=17,REPZ_11_138=18,extra_lbits=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),extra_dbits=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),extra_blbits=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),bl_order=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),DIST_CODE_LEN=512,static_ltree=new Array((L_CODES$1+2)*2);zero$1(static_ltree);const static_dtree=new Array(D_CODES$1*2);zero$1(static_dtree);const _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);const _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);const base_length=new Array(LENGTH_CODES$1);zero$1(base_length);const base_dist=new Array(D_CODES$1);zero$1(base_dist);function StaticTreeDesc(e,n,t,i,a){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}let static_l_desc,static_d_desc,static_bl_desc;function TreeDesc(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const d_code=e=>e<256?_dist_code[e]:_dist_code[256+(e>>>7)],put_short=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},send_bits=(e,n,t)=>{e.bi_valid>Buf_size-t?(e.bi_buf|=n<>Buf_size-e.bi_valid,e.bi_valid+=t-Buf_size):(e.bi_buf|=n<{send_bits(e,t[n*2],t[n*2+1])},bi_reverse=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},bi_flush=e=>{e.bi_valid===16?(put_short(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},gen_bitlen=(e,n)=>{const t=n.dyn_tree,i=n.max_code,a=n.stat_desc.static_tree,r=n.stat_desc.has_stree,l=n.stat_desc.extra_bits,o=n.stat_desc.extra_base,u=n.stat_desc.max_length;let _,s,N,h,f,A,p=0;for(h=0;h<=MAX_BITS$1;h++)e.bl_count[h]=0;for(t[e.heap[e.heap_max]*2+1]=0,_=e.heap_max+1;_u&&(h=u,p++),t[s*2+1]=h,!(s>i)&&(e.bl_count[h]++,f=0,s>=o&&(f=l[s-o]),A=t[s*2],e.opt_len+=A*(h+f),r&&(e.static_len+=A*(a[s*2+1]+f)));if(p!==0){do{for(h=u-1;e.bl_count[h]===0;)h--;e.bl_count[h]--,e.bl_count[h+1]+=2,e.bl_count[u]--,p-=2}while(p>0);for(h=u;h!==0;h--)for(s=e.bl_count[h];s!==0;)N=e.heap[--_],!(N>i)&&(t[N*2+1]!==h&&(e.opt_len+=(h-t[N*2+1])*t[N*2],t[N*2+1]=h),s--)}},gen_codes=(e,n,t)=>{const i=new Array(MAX_BITS$1+1);let a=0,r,l;for(r=1;r<=MAX_BITS$1;r++)i[r]=a=a+t[r-1]<<1;for(l=0;l<=n;l++){let o=e[l*2+1];o!==0&&(e[l*2]=bi_reverse(i[o]++,o))}},tr_static_init=()=>{let e,n,t,i,a;const r=new Array(MAX_BITS$1+1);for(t=0,i=0;i>=7;i{let n;for(n=0;n{e.bi_valid>8?put_short(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},copy_block=(e,n,t,i)=>{bi_windup(e),i&&(put_short(e,t),put_short(e,~t)),e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},smaller=(e,n,t,i)=>{const a=n*2,r=t*2;return e[a]{const i=e.heap[t];let a=t<<1;for(;a<=e.heap_len&&(a{let i,a,r=0,l,o;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+r*2]<<8|e.pending_buf[e.d_buf+r*2+1],a=e.pending_buf[e.l_buf+r],r++,i===0?send_code(e,a,n):(l=_length_code[a],send_code(e,l+LITERALS$1+1,n),o=extra_lbits[l],o!==0&&(a-=base_length[l],send_bits(e,a,o)),i--,l=d_code(i),send_code(e,l,t),o=extra_dbits[l],o!==0&&(i-=base_dist[l],send_bits(e,i,o)));while(r{const t=n.dyn_tree,i=n.stat_desc.static_tree,a=n.stat_desc.has_stree,r=n.stat_desc.elems;let l,o,u=-1,_;for(e.heap_len=0,e.heap_max=HEAP_SIZE$1,l=0;l>1;l>=1;l--)pqdownheap(e,t,l);_=r;do l=e.heap[1],e.heap[1]=e.heap[e.heap_len--],pqdownheap(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=l,e.heap[--e.heap_max]=o,t[_*2]=t[l*2]+t[o*2],e.depth[_]=(e.depth[l]>=e.depth[o]?e.depth[l]:e.depth[o])+1,t[l*2+1]=t[o*2+1]=_,e.heap[1]=_++,pqdownheap(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],gen_bitlen(e,n),gen_codes(t,u,e.bl_count)},scan_tree=(e,n,t)=>{let i,a=-1,r,l=n[0*2+1],o=0,u=7,_=4;for(l===0&&(u=138,_=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)r=l,l=n[(i+1)*2+1],!(++o{let i,a=-1,r,l=n[0*2+1],o=0,u=7,_=4;for(l===0&&(u=138,_=3),i=0;i<=t;i++)if(r=l,l=n[(i+1)*2+1],!(++o{let n;for(scan_tree(e,e.dyn_ltree,e.l_desc.max_code),scan_tree(e,e.dyn_dtree,e.d_desc.max_code),build_tree(e,e.bl_desc),n=BL_CODES$1-1;n>=3&&e.bl_tree[bl_order[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},send_all_trees=(e,n,t,i)=>{let a;for(send_bits(e,n-257,5),send_bits(e,t-1,5),send_bits(e,i-4,4),a=0;a{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return Z_BINARY;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Z_TEXT;for(t=32;t{static_init_done||(tr_static_init(),static_init_done=!0),e.l_desc=new TreeDesc(e.dyn_ltree,static_l_desc),e.d_desc=new TreeDesc(e.dyn_dtree,static_d_desc),e.bl_desc=new TreeDesc(e.bl_tree,static_bl_desc),e.bi_buf=0,e.bi_valid=0,init_block(e)},_tr_stored_block$1=(e,n,t,i)=>{send_bits(e,(STORED_BLOCK<<1)+(i?1:0),3),copy_block(e,n,t,!0)},_tr_align$1=e=>{send_bits(e,STATIC_TREES<<1,3),send_code(e,END_BLOCK,static_ltree),bi_flush(e)},_tr_flush_block$1=(e,n,t,i)=>{let a,r,l=0;e.level>0?(e.strm.data_type===Z_UNKNOWN$1&&(e.strm.data_type=detect_data_type(e)),build_tree(e,e.l_desc),build_tree(e,e.d_desc),l=build_bl_tree(e),a=e.opt_len+3+7>>>3,r=e.static_len+3+7>>>3,r<=a&&(a=r)):a=r=t+5,t+4<=a&&n!==-1?_tr_stored_block$1(e,n,t,i):e.strategy===Z_FIXED$1||r===a?(send_bits(e,(STATIC_TREES<<1)+(i?1:0),3),compress_block(e,static_ltree,static_dtree)):(send_bits(e,(DYN_TREES<<1)+(i?1:0),3),send_all_trees(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),compress_block(e,e.dyn_ltree,e.dyn_dtree)),init_block(e),i&&bi_windup(e)},_tr_tally$1=(e,n,t)=>(e.pending_buf[e.d_buf+e.last_lit*2]=n>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=n&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(_length_code[t]+LITERALS$1+1)*2]++,e.dyn_dtree[d_code(n)*2]++),e.last_lit===e.lit_bufsize-1);var _tr_init_1=_tr_init$1,_tr_stored_block_1=_tr_stored_block$1,_tr_flush_block_1=_tr_flush_block$1,_tr_tally_1=_tr_tally$1,_tr_align_1=_tr_align$1,trees={_tr_init:_tr_init_1,_tr_stored_block:_tr_stored_block_1,_tr_flush_block:_tr_flush_block_1,_tr_tally:_tr_tally_1,_tr_align:_tr_align_1};const adler32=(e,n,t,i)=>{let a=e&65535|0,r=e>>>16&65535|0,l=0;for(;t!==0;){l=t>2e3?2e3:t,t-=l;do a=a+n[i++]|0,r=r+a|0;while(--l);a%=65521,r%=65521}return a|r<<16|0};var adler32_1=adler32;const makeTable=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},crcTable=new Uint32Array(makeTable()),crc32=(e,n,t,i)=>{const a=crcTable,r=i+t;e^=-1;for(let l=i;l>>8^a[(e^n[l])&255];return e^-1};var crc32_1=crc32,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},constants$2={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init,_tr_stored_block,_tr_flush_block,_tr_tally,_tr_align}=trees,{Z_NO_FLUSH:Z_NO_FLUSH$2,Z_PARTIAL_FLUSH,Z_FULL_FLUSH:Z_FULL_FLUSH$1,Z_FINISH:Z_FINISH$3,Z_BLOCK:Z_BLOCK$1,Z_OK:Z_OK$3,Z_STREAM_END:Z_STREAM_END$3,Z_STREAM_ERROR:Z_STREAM_ERROR$2,Z_DATA_ERROR:Z_DATA_ERROR$2,Z_BUF_ERROR:Z_BUF_ERROR$1,Z_DEFAULT_COMPRESSION:Z_DEFAULT_COMPRESSION$1,Z_FILTERED,Z_HUFFMAN_ONLY,Z_RLE,Z_FIXED,Z_DEFAULT_STRATEGY:Z_DEFAULT_STRATEGY$1,Z_UNKNOWN,Z_DEFLATED:Z_DEFLATED$2}=constants$2,MAX_MEM_LEVEL=9,MAX_WBITS$1=15,DEF_MEM_LEVEL=8,LENGTH_CODES=29,LITERALS=256,L_CODES=LITERALS+1+LENGTH_CODES,D_CODES=30,BL_CODES=19,HEAP_SIZE=2*L_CODES+1,MAX_BITS=15,MIN_MATCH=3,MAX_MATCH=258,MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1,PRESET_DICT=32,INIT_STATE=42,EXTRA_STATE=69,NAME_STATE=73,COMMENT_STATE=91,HCRC_STATE=103,BUSY_STATE=113,FINISH_STATE=666,BS_NEED_MORE=1,BS_BLOCK_DONE=2,BS_FINISH_STARTED=3,BS_FINISH_DONE=4,OS_CODE=3,err=(e,n)=>(e.msg=messages[n],n),rank=e=>(e<<1)-(e>4?9:0),zero=e=>{let n=e.length;for(;--n>=0;)e[n]=0};let HASH_ZLIB=(e,n,t)=>(n<{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},flush_block_only=(e,n)=>{_tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,flush_pending(e.strm)},put_byte=(e,n)=>{e.pending_buf[e.pending++]=n},putShortMSB=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},read_buf=(e,n,t,i)=>{let a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,n.set(e.input.subarray(e.next_in,e.next_in+a),t),e.state.wrap===1?e.adler=adler32_1(e.adler,n,a,t):e.state.wrap===2&&(e.adler=crc32_1(e.adler,n,a,t)),e.next_in+=a,e.total_in+=a,a)},longest_match=(e,n)=>{let t=e.max_chain_length,i=e.strstart,a,r,l=e.prev_length,o=e.nice_match;const u=e.strstart>e.w_size-MIN_LOOKAHEAD?e.strstart-(e.w_size-MIN_LOOKAHEAD):0,_=e.window,s=e.w_mask,N=e.prev,h=e.strstart+MAX_MATCH;let f=_[i+l-1],A=_[i+l];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(a=n,!(_[a+l]!==A||_[a+l-1]!==f||_[a]!==_[i]||_[++a]!==_[i+1])){i+=2,a++;do;while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&il){if(e.match_start=n,l=r,r>=o)break;f=_[i+l-1],A=_[i+l]}}while((n=N[n&s])>u&&--t!==0);return l<=e.lookahead?l:e.lookahead},fill_window=e=>{const n=e.w_size;let t,i,a,r,l;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-MIN_LOOKAHEAD)){e.window.set(e.window.subarray(n,n+n),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,i=e.hash_size,t=i;do a=e.head[--t],e.head[t]=a>=n?a-n:0;while(--i);i=n,t=i;do a=e.prev[--t],e.prev[t]=a>=n?a-n:0;while(--i);r+=n}if(e.strm.avail_in===0)break;if(i=read_buf(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=i,e.lookahead+e.insert>=MIN_MATCH)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=HASH(e,e.ins_h,e.window[l+1]);e.insert&&(e.ins_h=HASH(e,e.ins_h,e.window[l+MIN_MATCH-1]),e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert{let t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fill_window(e),e.lookahead===0&&n===Z_NO_FLUSH$2)return BS_NEED_MORE;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;const i=e.block_start+t;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,flush_block_only(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-MIN_LOOKAHEAD&&(flush_block_only(e,!1),e.strm.avail_out===0))return BS_NEED_MORE}return e.insert=0,n===Z_FINISH$3?(flush_block_only(e,!0),e.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):(e.strstart>e.block_start&&(flush_block_only(e,!1),e.strm.avail_out===0),BS_NEED_MORE)},deflate_fast=(e,n)=>{let t,i;for(;;){if(e.lookahead=MIN_MATCH&&(e.ins_h=HASH(e,e.ins_h,e.window[e.strstart+MIN_MATCH-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-MIN_LOOKAHEAD&&(e.match_length=longest_match(e,t)),e.match_length>=MIN_MATCH)if(i=_tr_tally(e,e.strstart-e.match_start,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=MIN_MATCH){e.match_length--;do e.strstart++,e.ins_h=HASH(e,e.ins_h,e.window[e.strstart+MIN_MATCH-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=HASH(e,e.ins_h,e.window[e.strstart+1]);else i=_tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(flush_block_only(e,!1),e.strm.avail_out===0))return BS_NEED_MORE}return e.insert=e.strstart{let t,i,a;for(;;){if(e.lookahead=MIN_MATCH&&(e.ins_h=HASH(e,e.ins_h,e.window[e.strstart+MIN_MATCH-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=MIN_MATCH-1,t!==0&&e.prev_length4096)&&(e.match_length=MIN_MATCH-1)),e.prev_length>=MIN_MATCH&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-MIN_MATCH,i=_tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-MIN_MATCH),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=HASH(e,e.ins_h,e.window[e.strstart+MIN_MATCH-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=MIN_MATCH-1,e.strstart++,i&&(flush_block_only(e,!1),e.strm.avail_out===0))return BS_NEED_MORE}else if(e.match_available){if(i=_tr_tally(e,0,e.window[e.strstart-1]),i&&flush_block_only(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return BS_NEED_MORE}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart{let t,i,a,r;const l=e.window;for(;;){if(e.lookahead<=MAX_MATCH){if(fill_window(e),e.lookahead<=MAX_MATCH&&n===Z_NO_FLUSH$2)return BS_NEED_MORE;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=MIN_MATCH&&e.strstart>0&&(a=e.strstart-1,i=l[a],i===l[++a]&&i===l[++a]&&i===l[++a])){r=e.strstart+MAX_MATCH;do;while(i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&i===l[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=MIN_MATCH?(t=_tr_tally(e,1,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=_tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(flush_block_only(e,!1),e.strm.avail_out===0))return BS_NEED_MORE}return e.insert=0,n===Z_FINISH$3?(flush_block_only(e,!0),e.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),e.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE},deflate_huff=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(fill_window(e),e.lookahead===0)){if(n===Z_NO_FLUSH$2)return BS_NEED_MORE;break}if(e.match_length=0,t=_tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(flush_block_only(e,!1),e.strm.avail_out===0))return BS_NEED_MORE}return e.insert=0,n===Z_FINISH$3?(flush_block_only(e,!0),e.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),e.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE};function Config(e,n,t,i,a){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=a}const configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],lm_init=e=>{e.window_size=2*e.w_size,zero(e.head),e.max_lazy_match=configuration_table[e.level].max_lazy,e.good_match=configuration_table[e.level].good_length,e.nice_match=configuration_table[e.level].nice_length,e.max_chain_length=configuration_table[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=MIN_MATCH-1,e.match_available=0,e.ins_h=0};function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z_DEFLATED$2,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(HEAP_SIZE*2),this.dyn_dtree=new Uint16Array((2*D_CODES+1)*2),this.bl_tree=new Uint16Array((2*BL_CODES+1)*2),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(MAX_BITS+1),this.heap=new Uint16Array(2*L_CODES+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*L_CODES+1),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const deflateResetKeep=e=>{if(!e||!e.state)return err(e,Z_STREAM_ERROR$2);e.total_in=e.total_out=0,e.data_type=Z_UNKNOWN;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap?INIT_STATE:BUSY_STATE,e.adler=n.wrap===2?0:1,n.last_flush=Z_NO_FLUSH$2,_tr_init(n),Z_OK$3},deflateReset=e=>{const n=deflateResetKeep(e);return n===Z_OK$3&&lm_init(e.state),n},deflateSetHeader=(e,n)=>!e||!e.state||e.state.wrap!==2?Z_STREAM_ERROR$2:(e.state.gzhead=n,Z_OK$3),deflateInit2=(e,n,t,i,a,r)=>{if(!e)return Z_STREAM_ERROR$2;let l=1;if(n===Z_DEFAULT_COMPRESSION$1&&(n=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),a<1||a>MAX_MEM_LEVEL||t!==Z_DEFLATED$2||i<8||i>15||n<0||n>9||r<0||r>Z_FIXED)return err(e,Z_STREAM_ERROR$2);i===8&&(i=9);const o=new DeflateState;return e.state=o,o.strm=e,o.wrap=l,o.gzhead=null,o.w_bits=i,o.w_size=1<deflateInit2(e,n,Z_DEFLATED$2,MAX_WBITS$1,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY$1),deflate$2=(e,n)=>{let t,i;if(!e||!e.state||n>Z_BLOCK$1||n<0)return e?err(e,Z_STREAM_ERROR$2):Z_STREAM_ERROR$2;const a=e.state;if(!e.output||!e.input&&e.avail_in!==0||a.status===FINISH_STATE&&n!==Z_FINISH$3)return err(e,e.avail_out===0?Z_BUF_ERROR$1:Z_STREAM_ERROR$2);a.strm=e;const r=a.last_flush;if(a.last_flush=n,a.status===INIT_STATE)if(a.wrap===2)e.adler=0,put_byte(a,31),put_byte(a,139),put_byte(a,8),a.gzhead?(put_byte(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),put_byte(a,a.gzhead.time&255),put_byte(a,a.gzhead.time>>8&255),put_byte(a,a.gzhead.time>>16&255),put_byte(a,a.gzhead.time>>24&255),put_byte(a,a.level===9?2:a.strategy>=Z_HUFFMAN_ONLY||a.level<2?4:0),put_byte(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(put_byte(a,a.gzhead.extra.length&255),put_byte(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=EXTRA_STATE):(put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,0),put_byte(a,a.level===9?2:a.strategy>=Z_HUFFMAN_ONLY||a.level<2?4:0),put_byte(a,OS_CODE),a.status=BUSY_STATE);else{let l=Z_DEFLATED$2+(a.w_bits-8<<4)<<8,o=-1;a.strategy>=Z_HUFFMAN_ONLY||a.level<2?o=0:a.level<6?o=1:a.level===6?o=2:o=3,l|=o<<6,a.strstart!==0&&(l|=PRESET_DICT),l+=31-l%31,a.status=BUSY_STATE,putShortMSB(a,l),a.strstart!==0&&(putShortMSB(a,e.adler>>>16),putShortMSB(a,e.adler&65535)),e.adler=1}if(a.status===EXTRA_STATE)if(a.gzhead.extra){for(t=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>t&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),flush_pending(e),t=a.pending,a.pending===a.pending_buf_size));)put_byte(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>t&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=NAME_STATE)}else a.status=NAME_STATE;if(a.status===NAME_STATE)if(a.gzhead.name){t=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>t&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),flush_pending(e),t=a.pending,a.pending===a.pending_buf_size)){i=1;break}a.gzindext&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),i===0&&(a.gzindex=0,a.status=COMMENT_STATE)}else a.status=COMMENT_STATE;if(a.status===COMMENT_STATE)if(a.gzhead.comment){t=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>t&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),flush_pending(e),t=a.pending,a.pending===a.pending_buf_size)){i=1;break}a.gzindext&&(e.adler=crc32_1(e.adler,a.pending_buf,a.pending-t,t)),i===0&&(a.status=HCRC_STATE)}else a.status=HCRC_STATE;if(a.status===HCRC_STATE&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&flush_pending(e),a.pending+2<=a.pending_buf_size&&(put_byte(a,e.adler&255),put_byte(a,e.adler>>8&255),e.adler=0,a.status=BUSY_STATE)):a.status=BUSY_STATE),a.pending!==0){if(flush_pending(e),e.avail_out===0)return a.last_flush=-1,Z_OK$3}else if(e.avail_in===0&&rank(n)<=rank(r)&&n!==Z_FINISH$3)return err(e,Z_BUF_ERROR$1);if(a.status===FINISH_STATE&&e.avail_in!==0)return err(e,Z_BUF_ERROR$1);if(e.avail_in!==0||a.lookahead!==0||n!==Z_NO_FLUSH$2&&a.status!==FINISH_STATE){let l=a.strategy===Z_HUFFMAN_ONLY?deflate_huff(a,n):a.strategy===Z_RLE?deflate_rle(a,n):configuration_table[a.level].func(a,n);if((l===BS_FINISH_STARTED||l===BS_FINISH_DONE)&&(a.status=FINISH_STATE),l===BS_NEED_MORE||l===BS_FINISH_STARTED)return e.avail_out===0&&(a.last_flush=-1),Z_OK$3;if(l===BS_BLOCK_DONE&&(n===Z_PARTIAL_FLUSH?_tr_align(a):n!==Z_BLOCK$1&&(_tr_stored_block(a,0,0,!1),n===Z_FULL_FLUSH$1&&(zero(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),flush_pending(e),e.avail_out===0))return a.last_flush=-1,Z_OK$3}return n!==Z_FINISH$3?Z_OK$3:a.wrap<=0?Z_STREAM_END$3:(a.wrap===2?(put_byte(a,e.adler&255),put_byte(a,e.adler>>8&255),put_byte(a,e.adler>>16&255),put_byte(a,e.adler>>24&255),put_byte(a,e.total_in&255),put_byte(a,e.total_in>>8&255),put_byte(a,e.total_in>>16&255),put_byte(a,e.total_in>>24&255)):(putShortMSB(a,e.adler>>>16),putShortMSB(a,e.adler&65535)),flush_pending(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?Z_OK$3:Z_STREAM_END$3)},deflateEnd=e=>{if(!e||!e.state)return Z_STREAM_ERROR$2;const n=e.state.status;return n!==INIT_STATE&&n!==EXTRA_STATE&&n!==NAME_STATE&&n!==COMMENT_STATE&&n!==HCRC_STATE&&n!==BUSY_STATE&&n!==FINISH_STATE?err(e,Z_STREAM_ERROR$2):(e.state=null,n===BUSY_STATE?err(e,Z_DATA_ERROR$2):Z_OK$3)},deflateSetDictionary=(e,n)=>{let t=n.length;if(!e||!e.state)return Z_STREAM_ERROR$2;const i=e.state,a=i.wrap;if(a===2||a===1&&i.status!==INIT_STATE||i.lookahead)return Z_STREAM_ERROR$2;if(a===1&&(e.adler=adler32_1(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){a===0&&(zero(i.head),i.strstart=0,i.block_start=0,i.insert=0);let u=new Uint8Array(i.w_size);u.set(n.subarray(t-i.w_size,t),0),n=u,t=i.w_size}const r=e.avail_in,l=e.next_in,o=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,fill_window(i);i.lookahead>=MIN_MATCH;){let u=i.strstart,_=i.lookahead-(MIN_MATCH-1);do i.ins_h=HASH(i,i.ins_h,i.window[u+MIN_MATCH-1]),i.prev[u&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=u,u++;while(--_);i.strstart=u,i.lookahead=MIN_MATCH-1,fill_window(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=MIN_MATCH-1,i.match_available=0,e.next_in=l,e.input=o,e.avail_in=r,i.wrap=a,Z_OK$3};var deflateInit_1=deflateInit,deflateInit2_1=deflateInit2,deflateReset_1=deflateReset,deflateResetKeep_1=deflateResetKeep,deflateSetHeader_1=deflateSetHeader,deflate_2$1=deflate$2,deflateEnd_1=deflateEnd,deflateSetDictionary_1=deflateSetDictionary,deflateInfo="pako deflate (from Nodeca project)",deflate_1$2={deflateInit:deflateInit_1,deflateInit2:deflateInit2_1,deflateReset:deflateReset_1,deflateResetKeep:deflateResetKeep_1,deflateSetHeader:deflateSetHeader_1,deflate:deflate_2$1,deflateEnd:deflateEnd_1,deflateSetDictionary:deflateSetDictionary_1,deflateInfo};const _has=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var assign=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(!!t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)_has(t,i)&&(e[i]=t[i])}}return e},flattenChunks=e=>{let n=0;for(let i=0,a=e.length;i=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;_utf8len[254]=_utf8len[254]=1;var string2buf=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,a,r,l=e.length,o=0;for(a=0;a>>6,n[r++]=128|t&63):t<65536?(n[r++]=224|t>>>12,n[r++]=128|t>>>6&63,n[r++]=128|t&63):(n[r++]=240|t>>>18,n[r++]=128|t>>>12&63,n[r++]=128|t>>>6&63,n[r++]=128|t&63);return n};const buf2binstring=(e,n)=>{if(n<65534&&e.subarray&&STR_APPLY_UIA_OK)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,a;const r=new Array(t*2);for(a=0,i=0;i4){r[a++]=65533,i+=o-1;continue}for(l&=o===2?31:o===3?15:7;o>1&&i1){r[a++]=65533;continue}l<65536?r[a++]=l:(l-=65536,r[a++]=55296|l>>10&1023,r[a++]=56320|l&1023)}return buf2binstring(r,a)},utf8border=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+_utf8len[e[t]]>n?t:n},strings={string2buf,buf2string,utf8border};function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var zstream=ZStream;const toString$1=Object.prototype.toString,{Z_NO_FLUSH:Z_NO_FLUSH$1,Z_SYNC_FLUSH,Z_FULL_FLUSH,Z_FINISH:Z_FINISH$2,Z_OK:Z_OK$2,Z_STREAM_END:Z_STREAM_END$2,Z_DEFAULT_COMPRESSION,Z_DEFAULT_STRATEGY,Z_DEFLATED:Z_DEFLATED$1}=constants$2;function Deflate$1(e){this.options=common.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED$1,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let t=deflate_1$2.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==Z_OK$2)throw new Error(messages[t]);if(n.header&&deflate_1$2.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=strings.string2buf(n.dictionary):toString$1.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=deflate_1$2.deflateSetDictionary(this.strm,i),t!==Z_OK$2)throw new Error(messages[t]);this._dict_set=!0}}Deflate$1.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let a,r;if(this.ended)return!1;for(n===~~n?r=n:r=n===!0?Z_FINISH$2:Z_NO_FLUSH$1,typeof e=="string"?t.input=strings.string2buf(e):toString$1.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(r===Z_SYNC_FLUSH||r===Z_FULL_FLUSH)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(a=deflate_1$2.deflate(t,r),a===Z_STREAM_END$2)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),a=deflate_1$2.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Z_OK$2;if(t.avail_out===0){this.onData(t.output);continue}if(r>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};Deflate$1.prototype.onData=function(e){this.chunks.push(e)};Deflate$1.prototype.onEnd=function(e){e===Z_OK$2&&(this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function deflate$1(e,n){const t=new Deflate$1(n);if(t.push(e,!0),t.err)throw t.msg||messages[t.err];return t.result}function deflateRaw$1(e,n){return n=n||{},n.raw=!0,deflate$1(e,n)}function gzip$1(e,n){return n=n||{},n.gzip=!0,deflate$1(e,n)}var Deflate_1$1=Deflate$1,deflate_2=deflate$1,deflateRaw_1$1=deflateRaw$1,gzip_1$1=gzip$1,constants$1=constants$2,deflate_1$1={Deflate:Deflate_1$1,deflate:deflate_2,deflateRaw:deflateRaw_1$1,gzip:gzip_1$1,constants:constants$1};const BAD$1=30,TYPE$1=12;var inffast=function e(n,t){let i,a,r,l,o,u,_,s,N,h,f,A,p,L,c,T,I,d,g,C,E,S,w,b;const R=n.state;i=n.next_in,w=n.input,a=i+(n.avail_in-5),r=n.next_out,b=n.output,l=r-(t-n.avail_out),o=r+(n.avail_out-257),u=R.dmax,_=R.wsize,s=R.whave,N=R.wnext,h=R.window,f=R.hold,A=R.bits,p=R.lencode,L=R.distcode,c=(1<>>24,f>>>=d,A-=d,d=I>>>16&255,d===0)b[r++]=I&65535;else if(d&16){g=I&65535,d&=15,d&&(A>>=d,A-=d),A<15&&(f+=w[i++]<>>24,f>>>=d,A-=d,d=I>>>16&255,d&16){if(C=I&65535,d&=15,Au){n.msg="invalid distance too far back",R.mode=BAD$1;break e}if(f>>>=d,A-=d,d=r-l,C>d){if(d=C-d,d>s&&R.sane){n.msg="invalid distance too far back",R.mode=BAD$1;break e}if(E=0,S=h,N===0){if(E+=_-d,d2;)b[r++]=S[E++],b[r++]=S[E++],b[r++]=S[E++],g-=3;g&&(b[r++]=S[E++],g>1&&(b[r++]=S[E++]))}else{E=r-C;do b[r++]=b[E++],b[r++]=b[E++],b[r++]=b[E++],g-=3;while(g>2);g&&(b[r++]=b[E++],g>1&&(b[r++]=b[E++]))}}else if((d&64)===0){I=L[(I&65535)+(f&(1<>3,i-=g,A-=g<<3,f&=(1<{const u=o.bits;let _=0,s=0,N=0,h=0,f=0,A=0,p=0,L=0,c=0,T=0,I,d,g,C,E,S=null,w=0,b;const R=new Uint16Array(MAXBITS+1),O=new Uint16Array(MAXBITS+1);let D=null,v=0,y,U,x;for(_=0;_<=MAXBITS;_++)R[_]=0;for(s=0;s=1&&R[h]===0;h--);if(f>h&&(f=h),h===0)return a[r++]=1<<24|64<<16|0,a[r++]=1<<24|64<<16|0,o.bits=1,0;for(N=1;N0&&(e===CODES$1||h!==1))return-1;for(O[1]=0,_=1;_ENOUGH_LENS$1||e===DISTS$1&&c>ENOUGH_DISTS$1)return 1;for(;;){y=_-p,l[s]b?(U=D[v+l[s]],x=S[w+l[s]]):(U=32+64,x=0),I=1<<_-p,d=1<>p)+d]=y<<24|U<<16|x|0;while(d!==0);for(I=1<<_-1;T&I;)I>>=1;if(I!==0?(T&=I-1,T+=I):T=0,s++,--R[_]===0){if(_===h)break;_=n[t+l[s]]}if(_>f&&(T&C)!==g){for(p===0&&(p=f),E+=N,A=_-p,L=1<ENOUGH_LENS$1||e===DISTS$1&&c>ENOUGH_DISTS$1)return 1;g=T&C,a[g]=f<<24|A<<16|E-r|0}}return T!==0&&(a[E+T]=_-p<<24|64<<16|0),o.bits=f,0};var inftrees=inflate_table;const CODES=0,LENS=1,DISTS=2,{Z_FINISH:Z_FINISH$1,Z_BLOCK,Z_TREES,Z_OK:Z_OK$1,Z_STREAM_END:Z_STREAM_END$1,Z_NEED_DICT:Z_NEED_DICT$1,Z_STREAM_ERROR:Z_STREAM_ERROR$1,Z_DATA_ERROR:Z_DATA_ERROR$1,Z_MEM_ERROR:Z_MEM_ERROR$1,Z_BUF_ERROR,Z_DEFLATED}=constants$2,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS,zswap32=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const inflateResetKeep=e=>{if(!e||!e.state)return Z_STREAM_ERROR$1;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=HEAD,n.last=0,n.havedict=0,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ENOUGH_LENS),n.distcode=n.distdyn=new Int32Array(ENOUGH_DISTS),n.sane=1,n.back=-1,Z_OK$1},inflateReset=e=>{if(!e||!e.state)return Z_STREAM_ERROR$1;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,inflateResetKeep(e)},inflateReset2=(e,n)=>{let t;if(!e||!e.state)return Z_STREAM_ERROR$1;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+1,n<48&&(n&=15)),n&&(n<8||n>15)?Z_STREAM_ERROR$1:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,inflateReset(e))},inflateInit2=(e,n)=>{if(!e)return Z_STREAM_ERROR$1;const t=new InflateState;e.state=t,t.window=null;const i=inflateReset2(e,n);return i!==Z_OK$1&&(e.state=null),i},inflateInit=e=>inflateInit2(e,DEF_WBITS);let virgin=!0,lenfix,distfix;const fixedtables=e=>{if(virgin){lenfix=new Int32Array(512),distfix=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(inftrees(LENS,e.lens,0,288,lenfix,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;inftrees(DISTS,e.lens,0,32,distfix,0,e.work,{bits:5}),virgin=!1}e.lencode=lenfix,e.lenbits=9,e.distcode=distfix,e.distbits=5},updatewindow=(e,n,t,i)=>{let a;const r=e.state;return r.window===null&&(r.wsize=1<=r.wsize?(r.window.set(n.subarray(t-r.wsize,t),0),r.wnext=0,r.whave=r.wsize):(a=r.wsize-r.wnext,a>i&&(a=i),r.window.set(n.subarray(t-i,t-i+a),r.wnext),i-=a,i?(r.window.set(n.subarray(t-i,t),0),r.wnext=i,r.whave=r.wsize):(r.wnext+=a,r.wnext===r.wsize&&(r.wnext=0),r.whave{let t,i,a,r,l,o,u,_,s,N,h,f,A,p,L=0,c,T,I,d,g,C,E,S;const w=new Uint8Array(4);let b,R;const O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Z_STREAM_ERROR$1;t=e.state,t.mode===TYPE&&(t.mode=TYPEDO),l=e.next_out,a=e.output,u=e.avail_out,r=e.next_in,i=e.input,o=e.avail_in,_=t.hold,s=t.bits,N=o,h=u,S=Z_OK$1;e:for(;;)switch(t.mode){case HEAD:if(t.wrap===0){t.mode=TYPEDO;break}for(;s<16;){if(o===0)break e;o--,_+=i[r++]<>>8&255,t.check=crc32_1(t.check,w,2,0),_=0,s=0,t.mode=FLAGS;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((_&255)<<8)+(_>>8))%31){e.msg="incorrect header check",t.mode=BAD;break}if((_&15)!==Z_DEFLATED){e.msg="unknown compression method",t.mode=BAD;break}if(_>>>=4,s-=4,E=(_&15)+8,t.wbits===0)t.wbits=E;else if(E>t.wbits){e.msg="invalid window size",t.mode=BAD;break}t.dmax=1<>8&1),t.flags&512&&(w[0]=_&255,w[1]=_>>>8&255,t.check=crc32_1(t.check,w,2,0)),_=0,s=0,t.mode=TIME;case TIME:for(;s<32;){if(o===0)break e;o--,_+=i[r++]<>>8&255,w[2]=_>>>16&255,w[3]=_>>>24&255,t.check=crc32_1(t.check,w,4,0)),_=0,s=0,t.mode=OS;case OS:for(;s<16;){if(o===0)break e;o--,_+=i[r++]<>8),t.flags&512&&(w[0]=_&255,w[1]=_>>>8&255,t.check=crc32_1(t.check,w,2,0)),_=0,s=0,t.mode=EXLEN;case EXLEN:if(t.flags&1024){for(;s<16;){if(o===0)break e;o--,_+=i[r++]<>>8&255,t.check=crc32_1(t.check,w,2,0)),_=0,s=0}else t.head&&(t.head.extra=null);t.mode=EXTRA;case EXTRA:if(t.flags&1024&&(f=t.length,f>o&&(f=o),f&&(t.head&&(E=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(r,r+f),E)),t.flags&512&&(t.check=crc32_1(t.check,i,f,r)),o-=f,r+=f,t.length-=f),t.length))break e;t.length=0,t.mode=NAME;case NAME:if(t.flags&2048){if(o===0)break e;f=0;do E=i[r+f++],t.head&&E&&t.length<65536&&(t.head.name+=String.fromCharCode(E));while(E&&f>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=TYPE;break;case DICTID:for(;s<32;){if(o===0)break e;o--,_+=i[r++]<>>=s&7,s-=s&7,t.mode=CHECK;break}for(;s<3;){if(o===0)break e;o--,_+=i[r++]<>>=1,s-=1,_&3){case 0:t.mode=STORED;break;case 1:if(fixedtables(t),t.mode=LEN_,n===Z_TREES){_>>>=2,s-=2;break e}break;case 2:t.mode=TABLE;break;case 3:e.msg="invalid block type",t.mode=BAD}_>>>=2,s-=2;break;case STORED:for(_>>>=s&7,s-=s&7;s<32;){if(o===0)break e;o--,_+=i[r++]<>>16^65535)){e.msg="invalid stored block lengths",t.mode=BAD;break}if(t.length=_&65535,_=0,s=0,t.mode=COPY_,n===Z_TREES)break e;case COPY_:t.mode=COPY;case COPY:if(f=t.length,f){if(f>o&&(f=o),f>u&&(f=u),f===0)break e;a.set(i.subarray(r,r+f),l),o-=f,r+=f,u-=f,l+=f,t.length-=f;break}t.mode=TYPE;break;case TABLE:for(;s<14;){if(o===0)break e;o--,_+=i[r++]<>>=5,s-=5,t.ndist=(_&31)+1,_>>>=5,s-=5,t.ncode=(_&15)+4,_>>>=4,s-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=BAD;break}t.have=0,t.mode=LENLENS;case LENLENS:for(;t.have>>=3,s-=3}for(;t.have<19;)t.lens[O[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,b={bits:t.lenbits},S=inftrees(CODES,t.lens,0,19,t.lencode,0,t.work,b),t.lenbits=b.bits,S){e.msg="invalid code lengths set",t.mode=BAD;break}t.have=0,t.mode=CODELENS;case CODELENS:for(;t.have>>24,T=L>>>16&255,I=L&65535,!(c<=s);){if(o===0)break e;o--,_+=i[r++]<>>=c,s-=c,t.lens[t.have++]=I;else{if(I===16){for(R=c+2;s>>=c,s-=c,t.have===0){e.msg="invalid bit length repeat",t.mode=BAD;break}E=t.lens[t.have-1],f=3+(_&3),_>>>=2,s-=2}else if(I===17){for(R=c+3;s>>=c,s-=c,E=0,f=3+(_&7),_>>>=3,s-=3}else{for(R=c+7;s>>=c,s-=c,E=0,f=11+(_&127),_>>>=7,s-=7}if(t.have+f>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=BAD;break}for(;f--;)t.lens[t.have++]=E}}if(t.mode===BAD)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=BAD;break}if(t.lenbits=9,b={bits:t.lenbits},S=inftrees(LENS,t.lens,0,t.nlen,t.lencode,0,t.work,b),t.lenbits=b.bits,S){e.msg="invalid literal/lengths set",t.mode=BAD;break}if(t.distbits=6,t.distcode=t.distdyn,b={bits:t.distbits},S=inftrees(DISTS,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,b),t.distbits=b.bits,S){e.msg="invalid distances set",t.mode=BAD;break}if(t.mode=LEN_,n===Z_TREES)break e;case LEN_:t.mode=LEN;case LEN:if(o>=6&&u>=258){e.next_out=l,e.avail_out=u,e.next_in=r,e.avail_in=o,t.hold=_,t.bits=s,inffast(e,h),l=e.next_out,a=e.output,u=e.avail_out,r=e.next_in,i=e.input,o=e.avail_in,_=t.hold,s=t.bits,t.mode===TYPE&&(t.back=-1);break}for(t.back=0;L=t.lencode[_&(1<>>24,T=L>>>16&255,I=L&65535,!(c<=s);){if(o===0)break e;o--,_+=i[r++]<>d)],c=L>>>24,T=L>>>16&255,I=L&65535,!(d+c<=s);){if(o===0)break e;o--,_+=i[r++]<>>=d,s-=d,t.back+=d}if(_>>>=c,s-=c,t.back+=c,t.length=I,T===0){t.mode=LIT;break}if(T&32){t.back=-1,t.mode=TYPE;break}if(T&64){e.msg="invalid literal/length code",t.mode=BAD;break}t.extra=T&15,t.mode=LENEXT;case LENEXT:if(t.extra){for(R=t.extra;s>>=t.extra,s-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=DIST;case DIST:for(;L=t.distcode[_&(1<>>24,T=L>>>16&255,I=L&65535,!(c<=s);){if(o===0)break e;o--,_+=i[r++]<>d)],c=L>>>24,T=L>>>16&255,I=L&65535,!(d+c<=s);){if(o===0)break e;o--,_+=i[r++]<>>=d,s-=d,t.back+=d}if(_>>>=c,s-=c,t.back+=c,T&64){e.msg="invalid distance code",t.mode=BAD;break}t.offset=I,t.extra=T&15,t.mode=DISTEXT;case DISTEXT:if(t.extra){for(R=t.extra;s>>=t.extra,s-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=BAD;break}t.mode=MATCH;case MATCH:if(u===0)break e;if(f=h-u,t.offset>f){if(f=t.offset-f,f>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=BAD;break}f>t.wnext?(f-=t.wnext,A=t.wsize-f):A=t.wnext-f,f>t.length&&(f=t.length),p=t.window}else p=a,A=l-t.offset,f=t.length;f>u&&(f=u),u-=f,t.length-=f;do a[l++]=p[A++];while(--f);t.length===0&&(t.mode=LEN);break;case LIT:if(u===0)break e;a[l++]=t.length,u--,t.mode=LEN;break;case CHECK:if(t.wrap){for(;s<32;){if(o===0)break e;o--,_|=i[r++]<{if(!e||!e.state)return Z_STREAM_ERROR$1;let n=e.state;return n.window&&(n.window=null),e.state=null,Z_OK$1},inflateGetHeader=(e,n)=>{if(!e||!e.state)return Z_STREAM_ERROR$1;const t=e.state;return(t.wrap&2)===0?Z_STREAM_ERROR$1:(t.head=n,n.done=!1,Z_OK$1)},inflateSetDictionary=(e,n)=>{const t=n.length;let i,a,r;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==DICT)?Z_STREAM_ERROR$1:i.mode===DICT&&(a=1,a=adler32_1(a,n,t,0),a!==i.check)?Z_DATA_ERROR$1:(r=updatewindow(e,n,t,t),r?(i.mode=MEM,Z_MEM_ERROR$1):(i.havedict=1,Z_OK$1))};var inflateReset_1=inflateReset,inflateReset2_1=inflateReset2,inflateResetKeep_1=inflateResetKeep,inflateInit_1=inflateInit,inflateInit2_1=inflateInit2,inflate_2$1=inflate$2,inflateEnd_1=inflateEnd,inflateGetHeader_1=inflateGetHeader,inflateSetDictionary_1=inflateSetDictionary,inflateInfo="pako inflate (from Nodeca project)",inflate_1$2={inflateReset:inflateReset_1,inflateReset2:inflateReset2_1,inflateResetKeep:inflateResetKeep_1,inflateInit:inflateInit_1,inflateInit2:inflateInit2_1,inflate:inflate_2$1,inflateEnd:inflateEnd_1,inflateGetHeader:inflateGetHeader_1,inflateSetDictionary:inflateSetDictionary_1,inflateInfo};function GZheader(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var gzheader=GZheader;const toString=Object.prototype.toString,{Z_NO_FLUSH,Z_FINISH,Z_OK,Z_STREAM_END,Z_NEED_DICT,Z_STREAM_ERROR,Z_DATA_ERROR,Z_MEM_ERROR}=constants$2;function Inflate$1(e){this.options=common.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let t=inflate_1$2.inflateInit2(this.strm,n.windowBits);if(t!==Z_OK)throw new Error(messages[t]);if(this.header=new gzheader,inflate_1$2.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=strings.string2buf(n.dictionary):toString.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=inflate_1$2.inflateSetDictionary(this.strm,n.dictionary),t!==Z_OK)))throw new Error(messages[t])}Inflate$1.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,a=this.options.dictionary;let r,l,o;if(this.ended)return!1;for(n===~~n?l=n:l=n===!0?Z_FINISH:Z_NO_FLUSH,toString.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),r=inflate_1$2.inflate(t,l),r===Z_NEED_DICT&&a&&(r=inflate_1$2.inflateSetDictionary(t,a),r===Z_OK?r=inflate_1$2.inflate(t,l):r===Z_DATA_ERROR&&(r=Z_NEED_DICT));t.avail_in>0&&r===Z_STREAM_END&&t.state.wrap>0&&e[t.next_in]!==0;)inflate_1$2.inflateReset(t),r=inflate_1$2.inflate(t,l);switch(r){case Z_STREAM_ERROR:case Z_DATA_ERROR:case Z_NEED_DICT:case Z_MEM_ERROR:return this.onEnd(r),this.ended=!0,!1}if(o=t.avail_out,t.next_out&&(t.avail_out===0||r===Z_STREAM_END))if(this.options.to==="string"){let u=strings.utf8border(t.output,t.next_out),_=t.next_out-u,s=strings.buf2string(t.output,u);t.next_out=_,t.avail_out=i-_,_&&t.output.set(t.output.subarray(u,u+_),0),this.onData(s)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(r===Z_OK&&o===0)){if(r===Z_STREAM_END)return r=inflate_1$2.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};Inflate$1.prototype.onData=function(e){this.chunks.push(e)};Inflate$1.prototype.onEnd=function(e){e===Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function inflate$1(e,n){const t=new Inflate$1(n);if(t.push(e),t.err)throw t.msg||messages[t.err];return t.result}function inflateRaw$1(e,n){return n=n||{},n.raw=!0,inflate$1(e,n)}var Inflate_1$1=Inflate$1,inflate_2=inflate$1,inflateRaw_1$1=inflateRaw$1,ungzip$1=inflate$1,constants=constants$2,inflate_1$1={Inflate:Inflate_1$1,inflate:inflate_2,inflateRaw:inflateRaw_1$1,ungzip:ungzip$1,constants};const{Deflate,deflate,deflateRaw,gzip}=deflate_1$1,{Inflate,inflate,inflateRaw,ungzip}=inflate_1$1;var deflate_1=deflate,inflate_1=inflate;const _hasatob=typeof atob=="function",_hasbtoa=typeof btoa=="function",_hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0,_TE=typeof TextEncoder=="function"?new TextEncoder:void 0,b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(e=>{let n={};return e.forEach((t,i)=>n[t]=i),n})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):(e,n=t=>t)=>new Uint8Array(Array.prototype.slice.call(e,0).map(n)),_mkUriSafe=e=>e.replace(/=/g,"").replace(/[+\/]/g,n=>n=="+"?"-":"_"),_tidyB64=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),btoaPolyfill=e=>{let n,t,i,a,r="";const l=e.length%3;for(let o=0;o255||(i=e.charCodeAt(o++))>255||(a=e.charCodeAt(o++))>255)throw new TypeError("invalid character found");n=t<<16|i<<8|a,r+=b64chs[n>>18&63]+b64chs[n>>12&63]+b64chs[n>>6&63]+b64chs[n&63]}return l?r.slice(0,l-3)+"===".substring(l):r},_btoa=_hasbtoa?e=>btoa(e):_hasBuffer?e=>Buffer.from(e,"binary").toString("base64"):btoaPolyfill,_fromUint8Array=_hasBuffer?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let i=0,a=e.length;in?_mkUriSafe(_fromUint8Array(e)):_fromUint8Array(e),cb_utob=e=>{if(e.length<2){var n=e.charCodeAt(0);return n<128?e:n<2048?_fromCC(192|n>>>6)+_fromCC(128|n&63):_fromCC(224|n>>>12&15)+_fromCC(128|n>>>6&63)+_fromCC(128|n&63)}else{var n=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return _fromCC(240|n>>>18&7)+_fromCC(128|n>>>12&63)+_fromCC(128|n>>>6&63)+_fromCC(128|n&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=e=>e.replace(re_utob,cb_utob),_encode=_hasBuffer?e=>Buffer.from(e,"utf8").toString("base64"):_TE?e=>_fromUint8Array(_TE.encode(e)):e=>_btoa(utob(e)),encode=(e,n=!1)=>n?_mkUriSafe(_encode(e)):_encode(e),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=e=>{switch(e.length){case 4:var n=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),t=n-65536;return _fromCC((t>>>10)+55296)+_fromCC((t&1023)+56320);case 3:return _fromCC((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return _fromCC((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=e=>e.replace(re_btou,cb_btou),atobPolyfill=e=>{if(e=e.replace(/\s+/g,""),!b64re.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let n,t="",i,a;for(let r=0;r>16&255):a===64?_fromCC(n>>16&255,n>>8&255):_fromCC(n>>16&255,n>>8&255,n&255);return t},_atob=_hasatob?e=>atob(_tidyB64(e)):_hasBuffer?e=>Buffer.from(e,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?e=>_U8Afrom(Buffer.from(e,"base64")):e=>_U8Afrom(_atob(e),n=>n.charCodeAt(0)),toUint8Array=e=>_toUint8Array(_unURI(e)),_decode=_hasBuffer?e=>Buffer.from(e,"base64").toString("utf8"):_TD?e=>_TD.decode(_toUint8Array(e)):e=>btou(_atob(e)),_unURI=e=>_tidyB64(e.replace(/[-_]/g,n=>n=="-"?"+":"/")),decode=e=>_decode(_unURI(e)),base64Serde={serialize:e=>encode(e,!0),deserialize:e=>decode(e)},pakoSerde={serialize:e=>{const n=new TextEncoder().encode(e),t=deflate_1(n,{level:9});return fromUint8Array(t,!0)},deserialize:e=>{const n=toUint8Array(e);return inflate_1(n,{to:"string"})}},serdes={base64:base64Serde,pako:pakoSerde},serializeState=e=>{const n=JSON.stringify(e),t="pako",i=serdes[t].serialize(n);return`${t}:${i}`},deserializeState=e=>{let n,t;if(e.includes(":")){let a;if([a,t]=e.split(":"),a in serdes)n=a;else throw new Error(`Unknown serde type: ${a}`)}else n="base64",t=e;const i=serdes[n].deserialize(t);return JSON.parse(i)},defaultState={code:`graph TD + A[Christmas] -->|Get money| B(Go shopping) + B --> C{Let me think} + C -->|One| D[Laptop] + C -->|Two| E[iPhone] + C -->|Three| F[fa:fa-car Car] + `,mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0},urlParseFailedState=`graph TD + A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.) + B --> C{Is the JSON correct?} + C -->|Yes| D(Please Click here to Raise an issue in github.
Including the broken link in the issue
will speed up the fix.) + C -->|No| E{Did someone
send you this link?} + E -->|Yes| F[Ask them to send
you the complete link] + E -->|No| G{Did you copy
the complete URL?} + G --> |Yes| D + G --> |"No :("| H(Try using the Timeline tab in History
from same browser you used to create the diagram.) + click D href "https://github.com/mermaid-js/mermaid-live-editor/issues/new?assignees=&labels=bug&template=bug_report.md&title=Broken%20link" "Raise issue"`,codeStore=persist(writable(defaultState),localStorage(),"codeStore"),serializedState=derived([codeStore],([e],n)=>{n(serializeState(e))}),loadState=e=>{let n;console.log("Loading",e);try{n=deserializeState(e);const t=typeof n.mermaid=="string"?JSON.parse(n.mermaid):n.mermaid;t.securityLevel&&t.securityLevel!=="strict"&&confirm(`Removing "securityLevel":"${t.securityLevel}" from the config for safety. +Click Cancel if you trust the source of this Diagram.`)&&delete t.securityLevel,n.mermaid=JSON.stringify(t,null,2)}catch(t){n=get_store_value(codeStore),e&&(console.error("Init error",t),n.code=urlParseFailedState)}updateCodeStore(k(B({},n),{updateEditor:!0}))},updateCodeStore=e=>{codeStore.update(n=>B(B({},n),e))};let prompted=!1;const updateCode=(e,n,t=!1)=>{if(saveStatistics(e),(e.match(/\n/g)||"").length+1>50&&!prompted&&get_store_value(codeStore).autoSync){const a=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");prompted=!0,a&&updateCodeStore({autoSync:!1})}codeStore.update(a=>k(B({},a),{code:e,updateEditor:n,updateDiagram:t}))},updateConfig=(e,n)=>{codeStore.update(t=>k(B({},t),{mermaid:e,updateEditor:n}))},toggleDarkTheme=e=>{codeStore.update(n=>{const t=JSON.parse(n.mermaid);return(!t.theme||["dark","default"].includes(t.theme))&&(t.theme=e?"dark":"default"),k(B({},n),{mermaid:JSON.stringify(t,null,2),updateEditor:!0})})},initURLSubscription=()=>{serializedState.subscribe(e=>{history.replaceState(void 0,void 0,`#${e}`)})},getStateString=()=>JSON.stringify(get_store_value(codeStore));export{localStorage as a,analytics as b,codeStore as c,pakoSerde as d,encode as e,updateConfig as f,getStateString as g,defaultState as h,updateCodeStore as i,initLoading as j,initURLSubscription as k,loadingStateStore as l,initAnalytics as m,loadState as n,persist as p,serializedState as s,toggleDarkTheme as t,updateCode as u}; diff --git a/_app/chunks/theme-749dc8df.js b/_app/chunks/theme-749dc8df.js new file mode 100644 index 00000000..e0d76ed1 --- /dev/null +++ b/_app/chunks/theme-749dc8df.js @@ -0,0 +1 @@ +import{w as t}from"./preload-helper-e8f5b6ac.js";import{p as o,a as r}from"./state-f215c7fd.js";const e=o(t({isDark:!1}),r(),"themeStore"),l=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],n=s=>{s.includes(" ")&&(s=s.split(" ")[1].trim());const a=l.includes(s);console.log("Setting theme",s),e.set({theme:s,isDark:a})};export{n as s,e as t}; diff --git a/_app/chunks/util-4284cbac.js b/_app/chunks/util-4284cbac.js new file mode 100644 index 00000000..96841e06 --- /dev/null +++ b/_app/chunks/util-4284cbac.js @@ -0,0 +1,1183 @@ +var _6=Object.defineProperty,x6=Object.defineProperties;var w6=Object.getOwnPropertyDescriptors;var Z_=Object.getOwnPropertySymbols;var k6=Object.prototype.hasOwnProperty,T6=Object.prototype.propertyIsEnumerable;var Q_=(S,M,h)=>M in S?_6(S,M,{enumerable:!0,configurable:!0,writable:!0,value:h}):S[M]=h,L_=(S,M)=>{for(var h in M||(M={}))k6.call(M,h)&&Q_(S,h,M[h]);if(Z_)for(var h of Z_(M))T6.call(M,h)&&Q_(S,h,M[h]);return S},I_=(S,M)=>x6(S,w6(M));import{S as E6,i as C6,s as S6,e as K_,c as J_,a as t6,d as R_,b as xb,Y as wb,g as A6,J as M6,E as e6,N as N6,v as D6,a5 as O6,Q as n6,O as P_}from"./index-3ccfa173.js";import{w as ty,d as B6}from"./preload-helper-e8f5b6ac.js";import{c as F_,p as q_,a as H_,h as j_,i as c6,j as L6,k as I6,m as R6,b as F6,n as P6}from"./state-f215c7fd.js";const j6=ty(void 0);/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */var Y6={1362:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(zt,te,at,ne){for(at=at||{},ne=zt.length;ne--;at[zt[ne]]=te);return at},_=[1,6],g=[1,7],k=[1,8],C=[1,9],A=[1,12],I=[1,11],L=[1,15,24],Y=[1,19],q=[1,31],H=[1,34],V=[1,32],X=[1,33],J=[1,35],lt=[1,36],nt=[1,37],_t=[1,38],dt=[1,41],At=[1,42],st=[1,43],K=[1,44],mt=[15,24],St=[1,56],It=[1,57],ft=[1,58],vt=[1,59],Wt=[1,60],jt=[1,61],me=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],ge=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],pe=[7,8,9,10,15,18,22,24],Dt=[47,77,78,79,80],Zt=[47,54,55,77,78,79,80],se=[47,50,51,52,53,77,78,79,80],le=[15,24,31],ye=[1,93],Ot={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,CLASS_DIAGRAM:22,statements:23,EOF:24,statement:25,className:26,alphaNumToken:27,classLiteralName:28,GENERICTYPE:29,relationStatement:30,LABEL:31,classStatement:32,methodStatement:33,annotationStatement:34,clickStatement:35,cssClassStatement:36,CLASS:37,STYLE_SEPARATOR:38,STRUCT_START:39,members:40,STRUCT_STOP:41,ANNOTATION_START:42,ANNOTATION_END:43,MEMBER:44,SEPARATOR:45,relation:46,STR:47,relationType:48,lineType:49,AGGREGATION:50,EXTENSION:51,COMPOSITION:52,DEPENDENCY:53,LINE:54,DOTTED_LINE:55,CALLBACK:56,LINK:57,LINK_TARGET:58,CLICK:59,CALLBACK_NAME:60,CALLBACK_ARGS:61,HREF:62,CSSCLASS:63,commentToken:64,textToken:65,graphCodeTokens:66,textNoTagsToken:67,TAGSTART:68,TAGEND:69,"==":70,"--":71,PCT:72,DEFAULT:73,SPACE:74,MINUS:75,keywords:76,UNICODE_TEXT:77,NUM:78,ALPHA:79,BQUOTE_STR:80,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"CLASS_DIAGRAM",24:"EOF",29:"GENERICTYPE",31:"LABEL",37:"CLASS",38:"STYLE_SEPARATOR",39:"STRUCT_START",41:"STRUCT_STOP",42:"ANNOTATION_START",43:"ANNOTATION_END",44:"MEMBER",45:"SEPARATOR",47:"STR",50:"AGGREGATION",51:"EXTENSION",52:"COMPOSITION",53:"DEPENDENCY",54:"LINE",55:"DOTTED_LINE",56:"CALLBACK",57:"LINK",58:"LINK_TARGET",59:"CLICK",60:"CALLBACK_NAME",61:"CALLBACK_ARGS",62:"HREF",63:"CSSCLASS",66:"graphCodeTokens",68:"TAGSTART",69:"TAGEND",70:"==",71:"--",72:"PCT",73:"DEFAULT",74:"SPACE",75:"MINUS",76:"keywords",77:"UNICODE_TEXT",78:"NUM",79:"ALPHA",80:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[23,1],[23,2],[23,3],[26,1],[26,1],[26,2],[26,2],[26,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[32,2],[32,4],[32,5],[32,7],[34,4],[40,1],[40,2],[33,1],[33,2],[33,1],[33,1],[30,3],[30,4],[30,4],[30,5],[46,3],[46,2],[46,2],[46,1],[48,1],[48,1],[48,1],[48,1],[49,1],[49,1],[35,3],[35,4],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[36,3],[64,1],[64,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[67,1],[67,1],[67,1],[67,1],[27,1],[27,1],[27,1],[28,1]],performAction:function(zt,te,at,ne,Mt,Xt,Ht){var Nt=Xt.length-1;switch(Mt){case 4:ne.setDirection("TB");break;case 5:ne.setDirection("BT");break;case 6:ne.setDirection("RL");break;case 7:ne.setDirection("LR");break;case 11:ne.parseDirective("%%{","open_directive");break;case 12:ne.parseDirective(Xt[Nt],"type_directive");break;case 13:Xt[Nt]=Xt[Nt].trim().replace(/'/g,'"'),ne.parseDirective(Xt[Nt],"arg_directive");break;case 14:ne.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=Xt[Nt];break;case 21:this.$=Xt[Nt-1]+Xt[Nt];break;case 22:case 23:this.$=Xt[Nt-1]+"~"+Xt[Nt];break;case 24:ne.addRelation(Xt[Nt]);break;case 25:Xt[Nt-1].title=ne.cleanupLabel(Xt[Nt]),ne.addRelation(Xt[Nt-1]);break;case 33:ne.addClass(Xt[Nt]);break;case 34:ne.addClass(Xt[Nt-2]),ne.setCssClass(Xt[Nt-2],Xt[Nt]);break;case 35:ne.addClass(Xt[Nt-3]),ne.addMembers(Xt[Nt-3],Xt[Nt-1]);break;case 36:ne.addClass(Xt[Nt-5]),ne.setCssClass(Xt[Nt-5],Xt[Nt-3]),ne.addMembers(Xt[Nt-5],Xt[Nt-1]);break;case 37:ne.addAnnotation(Xt[Nt],Xt[Nt-2]);break;case 38:this.$=[Xt[Nt]];break;case 39:Xt[Nt].push(Xt[Nt-1]),this.$=Xt[Nt];break;case 40:case 42:case 43:break;case 41:ne.addMember(Xt[Nt-1],ne.cleanupLabel(Xt[Nt]));break;case 44:this.$={id1:Xt[Nt-2],id2:Xt[Nt],relation:Xt[Nt-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:Xt[Nt-3],id2:Xt[Nt],relation:Xt[Nt-1],relationTitle1:Xt[Nt-2],relationTitle2:"none"};break;case 46:this.$={id1:Xt[Nt-3],id2:Xt[Nt],relation:Xt[Nt-2],relationTitle1:"none",relationTitle2:Xt[Nt-1]};break;case 47:this.$={id1:Xt[Nt-4],id2:Xt[Nt],relation:Xt[Nt-2],relationTitle1:Xt[Nt-3],relationTitle2:Xt[Nt-1]};break;case 48:this.$={type1:Xt[Nt-2],type2:Xt[Nt],lineType:Xt[Nt-1]};break;case 49:this.$={type1:"none",type2:Xt[Nt],lineType:Xt[Nt-1]};break;case 50:this.$={type1:Xt[Nt-1],type2:"none",lineType:Xt[Nt]};break;case 51:this.$={type1:"none",type2:"none",lineType:Xt[Nt]};break;case 52:this.$=ne.relationType.AGGREGATION;break;case 53:this.$=ne.relationType.EXTENSION;break;case 54:this.$=ne.relationType.COMPOSITION;break;case 55:this.$=ne.relationType.DEPENDENCY;break;case 56:this.$=ne.lineType.LINE;break;case 57:this.$=ne.lineType.DOTTED_LINE;break;case 58:case 64:this.$=Xt[Nt-2],ne.setClickEvent(Xt[Nt-1],Xt[Nt]);break;case 59:case 65:this.$=Xt[Nt-3],ne.setClickEvent(Xt[Nt-2],Xt[Nt-1]),ne.setTooltip(Xt[Nt-2],Xt[Nt]);break;case 60:case 68:this.$=Xt[Nt-2],ne.setLink(Xt[Nt-1],Xt[Nt]);break;case 61:case 69:this.$=Xt[Nt-3],ne.setLink(Xt[Nt-2],Xt[Nt-1],Xt[Nt]);break;case 62:case 70:this.$=Xt[Nt-3],ne.setLink(Xt[Nt-2],Xt[Nt-1]),ne.setTooltip(Xt[Nt-2],Xt[Nt]);break;case 63:case 71:this.$=Xt[Nt-4],ne.setLink(Xt[Nt-3],Xt[Nt-2],Xt[Nt]),ne.setTooltip(Xt[Nt-3],Xt[Nt-1]);break;case 66:this.$=Xt[Nt-3],ne.setClickEvent(Xt[Nt-2],Xt[Nt-1],Xt[Nt]);break;case 67:this.$=Xt[Nt-4],ne.setClickEvent(Xt[Nt-3],Xt[Nt-2],Xt[Nt-1]),ne.setTooltip(Xt[Nt-3],Xt[Nt]);break;case 72:ne.setCssClass(Xt[Nt-1],Xt[Nt])}},table:[{3:1,4:2,5:3,6:4,7:_,8:g,9:k,10:C,11:5,12:10,18:A,22:I},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:_,8:g,9:k,10:C,11:5,12:10,18:A,22:I},{1:[2,8]},d(L,[2,4]),d(L,[2,5]),d(L,[2,6]),d(L,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:Y},d([16,21],[2,12]),{5:29,6:28,7:_,8:g,9:k,10:C,12:10,18:A,23:20,25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:q,42:H,44:V,45:X,56:J,57:lt,59:nt,63:_t,77:dt,78:At,79:st,80:K},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},d(mt,[2,24],{31:[1,50]}),d(mt,[2,26]),d(mt,[2,27]),d(mt,[2,28]),d(mt,[2,29]),d(mt,[2,30]),d(mt,[2,31]),d(mt,[2,32]),d(mt,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:St,51:It,52:ft,53:vt,54:Wt,55:jt}),{26:62,27:39,28:40,77:dt,78:At,79:st,80:K},d(mt,[2,42]),d(mt,[2,43]),{27:63,77:dt,78:At,79:st},{26:64,27:39,28:40,77:dt,78:At,79:st,80:K},{26:65,27:39,28:40,77:dt,78:At,79:st,80:K},{26:66,27:39,28:40,77:dt,78:At,79:st,80:K},{47:[1,67]},d(me,[2,19],{27:39,28:40,26:68,29:[1,69],77:dt,78:At,79:st,80:K}),d(me,[2,20],{29:[1,70]}),d(ge,[2,86]),d(ge,[2,87]),d(ge,[2,88]),d([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),d(pe,[2,9]),{14:71,21:Y},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:_,8:g,9:k,10:C,12:10,18:A,23:72,24:[2,17],25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:q,42:H,44:V,45:X,56:J,57:lt,59:nt,63:_t,77:dt,78:At,79:st,80:K},d(mt,[2,25]),{26:73,27:39,28:40,47:[1,74],77:dt,78:At,79:st,80:K},{46:75,48:54,49:55,50:St,51:It,52:ft,53:vt,54:Wt,55:jt},d(mt,[2,41]),{49:76,54:Wt,55:jt},d(Dt,[2,51],{48:77,50:St,51:It,52:ft,53:vt}),d(Zt,[2,52]),d(Zt,[2,53]),d(Zt,[2,54]),d(Zt,[2,55]),d(se,[2,56]),d(se,[2,57]),d(mt,[2,33],{38:[1,78],39:[1,79]}),{43:[1,80]},{47:[1,81]},{47:[1,82]},{60:[1,83],62:[1,84]},{27:85,77:dt,78:At,79:st},d(me,[2,21]),d(me,[2,22]),d(me,[2,23]),{15:[1,86]},{24:[2,18]},d(le,[2,44]),{26:87,27:39,28:40,77:dt,78:At,79:st,80:K},{26:88,27:39,28:40,47:[1,89],77:dt,78:At,79:st,80:K},d(Dt,[2,50],{48:90,50:St,51:It,52:ft,53:vt}),d(Dt,[2,49]),{27:91,77:dt,78:At,79:st},{40:92,44:ye},{26:94,27:39,28:40,77:dt,78:At,79:st,80:K},d(mt,[2,58],{47:[1,95]}),d(mt,[2,60],{47:[1,97],58:[1,96]}),d(mt,[2,64],{47:[1,98],61:[1,99]}),d(mt,[2,68],{47:[1,101],58:[1,100]}),d(mt,[2,72]),d(pe,[2,10]),d(le,[2,46]),d(le,[2,45]),{26:102,27:39,28:40,77:dt,78:At,79:st,80:K},d(Dt,[2,48]),d(mt,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:ye},d(mt,[2,37]),d(mt,[2,59]),d(mt,[2,61]),d(mt,[2,62],{58:[1,106]}),d(mt,[2,65]),d(mt,[2,66],{47:[1,107]}),d(mt,[2,69]),d(mt,[2,70],{58:[1,108]}),d(le,[2,47]),{40:109,44:ye},d(mt,[2,35]),{41:[2,39]},d(mt,[2,63]),d(mt,[2,67]),d(mt,[2,71]),{41:[1,110]},d(mt,[2,36])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],12:[2,11],13:[2,3],19:[2,14],47:[2,13],48:[2,15],72:[2,18],105:[2,39]},parseError:function(zt,te){if(!te.recoverable){var at=new Error(zt);throw at.hash=te,at}this.trace(zt)},parse:function(zt){var te=this,at=[0],ne=[],Mt=[null],Xt=[],Ht=this.table,Nt="",oe=0,tn=0,ve=0,De=2,ln=1,Xe=Xt.slice.call(arguments,1),Ie=Object.create(this.lexer),Ae={yy:{}};for(var en in this.yy)Object.prototype.hasOwnProperty.call(this.yy,en)&&(Ae.yy[en]=this.yy[en]);Ie.setInput(zt,Ae.yy),Ae.yy.lexer=Ie,Ae.yy.parser=this,Ie.yylloc===void 0&&(Ie.yylloc={});var Ue=Ie.yylloc;Xt.push(Ue);var Ze=Ie.options&&Ie.options.ranges;function Qe(){var Tn;return typeof(Tn=ne.pop()||Ie.lex()||ln)!="number"&&(Tn instanceof Array&&(Tn=(ne=Tn).pop()),Tn=te.symbols_[Tn]||Tn),Tn}typeof Ae.yy.parseError=="function"?this.parseError=Ae.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Le,Yn,Me,an,vn,Or,bn,Kn,cn,gn={};;){if(Me=at[at.length-1],this.defaultActions[Me]?an=this.defaultActions[Me]:(Le==null&&(Le=Qe()),an=Ht[Me]&&Ht[Me][Le]),an===void 0||!an.length||!an[0]){var Ke="";for(Or in cn=[],Ht[Me])this.terminals_[Or]&&Or>De&&cn.push("'"+this.terminals_[Or]+"'");Ke=Ie.showPosition?"Parse error on line "+(oe+1)+`: +`+Ie.showPosition()+` +Expecting `+cn.join(", ")+", got '"+(this.terminals_[Le]||Le)+"'":"Parse error on line "+(oe+1)+": Unexpected "+(Le==ln?"end of input":"'"+(this.terminals_[Le]||Le)+"'"),this.parseError(Ke,{text:Ie.match,token:this.terminals_[Le]||Le,line:Ie.yylineno,loc:Ue,expected:cn})}if(an[0]instanceof Array&&an.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Me+", token: "+Le);switch(an[0]){case 1:at.push(Le),Mt.push(Ie.yytext),Xt.push(Ie.yylloc),at.push(an[1]),Le=null,Yn?(Le=Yn,Yn=null):(tn=Ie.yyleng,Nt=Ie.yytext,oe=Ie.yylineno,Ue=Ie.yylloc,ve>0);break;case 2:if(bn=this.productions_[an[1]][1],gn.$=Mt[Mt.length-bn],gn._$={first_line:Xt[Xt.length-(bn||1)].first_line,last_line:Xt[Xt.length-1].last_line,first_column:Xt[Xt.length-(bn||1)].first_column,last_column:Xt[Xt.length-1].last_column},Ze&&(gn._$.range=[Xt[Xt.length-(bn||1)].range[0],Xt[Xt.length-1].range[1]]),(vn=this.performAction.apply(gn,[Nt,tn,oe,Ae.yy,an[1],Mt,Xt].concat(Xe)))!==void 0)return vn;bn&&(at=at.slice(0,-1*bn*2),Mt=Mt.slice(0,-1*bn),Xt=Xt.slice(0,-1*bn)),at.push(this.productions_[an[1]][0]),Mt.push(gn.$),Xt.push(gn._$),Kn=Ht[at[at.length-2]][at[at.length-1]],at.push(Kn);break;case 3:return!0}}return!0}},We={EOF:1,parseError:function(zt,te){if(!this.yy.parser)throw new Error(zt);this.yy.parser.parseError(zt,te)},setInput:function(zt,te){return this.yy=te||this.yy||{},this._input=zt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var zt=this._input[0];return this.yytext+=zt,this.yyleng++,this.offset++,this.match+=zt,this.matched+=zt,zt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),zt},unput:function(zt){var te=zt.length,at=zt.split(/(?:\r\n?|\n)/g);this._input=zt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-te),this.offset-=te;var ne=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),at.length-1&&(this.yylineno-=at.length-1);var Mt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:at?(at.length===ne.length?this.yylloc.first_column:0)+ne[ne.length-at.length].length-at[0].length:this.yylloc.first_column-te},this.options.ranges&&(this.yylloc.range=[Mt[0],Mt[0]+this.yyleng-te]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(zt){this.unput(this.match.slice(zt))},pastInput:function(){var zt=this.matched.substr(0,this.matched.length-this.match.length);return(zt.length>20?"...":"")+zt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var zt=this.match;return zt.length<20&&(zt+=this._input.substr(0,20-zt.length)),(zt.substr(0,20)+(zt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var zt=this.pastInput(),te=new Array(zt.length+1).join("-");return zt+this.upcomingInput()+` +`+te+"^"},test_match:function(zt,te){var at,ne,Mt;if(this.options.backtrack_lexer&&(Mt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Mt.yylloc.range=this.yylloc.range.slice(0))),(ne=zt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ne.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ne?ne[ne.length-1].length-ne[ne.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+zt[0].length},this.yytext+=zt[0],this.match+=zt[0],this.matches=zt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(zt[0].length),this.matched+=zt[0],at=this.performAction.call(this,this.yy,this,te,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),at)return at;if(this._backtrack){for(var Xt in Mt)this[Xt]=Mt[Xt];return!1}return!1},next:function(){if(this.done)return this.EOF;var zt,te,at,ne;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Mt=this._currentRules(),Xt=0;Xtte[0].length)){if(te=at,ne=Xt,this.options.backtrack_lexer){if((zt=this.test_match(at,Mt[Xt]))!==!1)return zt;if(this._backtrack){te=!1;continue}return!1}if(!this.options.flex)break}return te?(zt=this.test_match(te,Mt[ne]))!==!1&&zt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(zt){this.conditionStack.push(zt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(zt){return(zt=this.conditionStack.length-1-Math.abs(zt||0))>=0?this.conditionStack[zt]:"INITIAL"},pushState:function(zt){this.begin(zt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(zt,te,at,ne){switch(at){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:case 10:case 12:case 19:break;case 11:return 15;case 13:case 14:return 22;case 15:return this.begin("struct"),39;case 16:return"EOF_IN_STRUCT";case 17:return"OPEN_IN_STRUCT";case 18:return this.popState(),41;case 20:return"MEMBER";case 21:return 37;case 22:return 63;case 23:return 56;case 24:return 57;case 25:return 59;case 26:return 42;case 27:return 43;case 28:this.begin("generic");break;case 29:case 32:case 35:case 38:case 41:case 44:this.popState();break;case 30:return"GENERICTYPE";case 31:this.begin("string");break;case 33:return"STR";case 34:this.begin("bqstring");break;case 36:return"BQUOTE_STR";case 37:this.begin("href");break;case 39:return 62;case 40:this.begin("callback_name");break;case 42:this.popState(),this.begin("callback_args");break;case 43:return 60;case 45:return 61;case 46:case 47:case 48:case 49:return 58;case 50:case 51:return 51;case 52:case 53:return 53;case 54:return 52;case 55:return 50;case 56:return 54;case 57:return 55;case 58:return 31;case 59:return 38;case 60:return 75;case 61:return"DOT";case 62:return"PLUS";case 63:return 72;case 64:case 65:return"EQUALS";case 66:return 79;case 67:return"PUNCTUATION";case 68:return 78;case 69:return 77;case 70:return 74;case 71:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[44,45],inclusive:!1},callback_name:{rules:[41,42,43],inclusive:!1},href:{rules:[38,39],inclusive:!1},struct:{rules:[16,17,18,19,20],inclusive:!1},generic:{rules:[29,30],inclusive:!1},bqstring:{rules:[35,36],inclusive:!1},string:{rules:[32,33],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,13,14,15,21,22,23,24,25,26,27,28,31,34,37,40,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],inclusive:!0}}};function he(){this.yy={}}return Ot.lexer=We,he.prototype=Ot,Ot.Parser=he,new he}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(8218).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},5890:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(st,K,mt,St){for(mt=mt||{},St=st.length;St--;mt[st[St]]=K);return mt},_=[1,2],g=[1,5],k=[6,9,11,23,41],C=[1,17],A=[1,20],I=[1,25],L=[1,26],Y=[1,27],q=[1,28],H=[1,37],V=[23,38,39],X=[4,6,9,11,23,41],J=[34,35,36,37],lt=[22,29],nt=[1,55],_t={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,ALPHANUM:23,attribute:24,attributeType:25,attributeName:26,attributeKeyType:27,attributeComment:28,ATTRIBUTE_WORD:29,ATTRIBUTE_KEY:30,COMMENT:31,cardinality:32,relType:33,ZERO_OR_ONE:34,ZERO_OR_MORE:35,ONE_OR_MORE:36,ONLY_ONE:37,NON_IDENTIFYING:38,IDENTIFYING:39,WORD:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"ALPHANUM",29:"ATTRIBUTE_WORD",30:"ATTRIBUTE_KEY",31:"COMMENT",34:"ZERO_OR_ONE",35:"ZERO_OR_MORE",36:"ONE_OR_MORE",37:"ONLY_ONE",38:"NON_IDENTIFYING",39:"IDENTIFYING",40:"WORD",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[17,1],[21,1],[21,2],[24,2],[24,3],[24,3],[24,4],[25,1],[26,1],[27,1],[28,1],[18,3],[32,1],[32,1],[32,1],[32,1],[33,1],[33,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(st,K,mt,St,It,ft,vt){var Wt=ft.length-1;switch(It){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:ft[Wt-1].push(ft[Wt]),this.$=ft[Wt-1];break;case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=ft[Wt];break;case 12:St.addEntity(ft[Wt-4]),St.addEntity(ft[Wt-2]),St.addRelationship(ft[Wt-4],ft[Wt],ft[Wt-2],ft[Wt-3]);break;case 13:St.addEntity(ft[Wt-3]),St.addAttributes(ft[Wt-3],ft[Wt-1]);break;case 14:St.addEntity(ft[Wt-2]);break;case 15:St.addEntity(ft[Wt]);break;case 17:this.$=[ft[Wt]];break;case 18:ft[Wt].push(ft[Wt-1]),this.$=ft[Wt];break;case 19:this.$={attributeType:ft[Wt-1],attributeName:ft[Wt]};break;case 20:this.$={attributeType:ft[Wt-2],attributeName:ft[Wt-1],attributeKeyType:ft[Wt]};break;case 21:this.$={attributeType:ft[Wt-2],attributeName:ft[Wt-1],attributeComment:ft[Wt]};break;case 22:this.$={attributeType:ft[Wt-3],attributeName:ft[Wt-2],attributeKeyType:ft[Wt-1],attributeComment:ft[Wt]};break;case 26:case 34:this.$=ft[Wt].replace(/"/g,"");break;case 27:this.$={cardA:ft[Wt],relType:ft[Wt-1],cardB:ft[Wt-2]};break;case 28:this.$=St.Cardinality.ZERO_OR_ONE;break;case 29:this.$=St.Cardinality.ZERO_OR_MORE;break;case 30:this.$=St.Cardinality.ONE_OR_MORE;break;case 31:this.$=St.Cardinality.ONLY_ONE;break;case 32:this.$=St.Identification.NON_IDENTIFYING;break;case 33:this.$=St.Identification.IDENTIFYING;break;case 36:St.parseDirective("%%{","open_directive");break;case 37:St.parseDirective(ft[Wt],"type_directive");break;case 38:ft[Wt]=ft[Wt].trim().replace(/'/g,'"'),St.parseDirective(ft[Wt],"arg_directive");break;case 39:St.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:_,7:3,12:4,41:g},{1:[3]},d(k,[2,3],{5:6}),{3:7,4:_,7:3,12:4,41:g},{13:8,42:[1,9]},{42:[2,36]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:C,41:g},{1:[2,2]},{14:18,15:[1,19],44:A},d([15,44],[2,37]),d(k,[2,8],{1:[2,1]}),d(k,[2,4]),{7:15,10:21,12:4,17:16,23:C,41:g},d(k,[2,6]),d(k,[2,7]),d(k,[2,11]),d(k,[2,15],{18:22,32:24,20:[1,23],34:I,35:L,36:Y,37:q}),d([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},d(k,[2,5]),{17:32,23:C},{21:33,22:[1,34],24:35,25:36,29:H},{33:38,38:[1,39],39:[1,40]},d(V,[2,28]),d(V,[2,29]),d(V,[2,30]),d(V,[2,31]),d(X,[2,9]),{14:41,44:A},{44:[2,38]},{15:[1,42]},{22:[1,43]},d(k,[2,14]),{21:44,22:[2,17],24:35,25:36,29:H},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:I,35:L,36:Y,37:q},d(J,[2,32]),d(J,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},d(k,[2,13]),{22:[2,18]},d(lt,[2,19],{27:52,28:53,30:[1,54],31:nt}),d([22,29,30,31],[2,24]),{23:[2,27]},d(X,[2,10]),d(k,[2,12]),d(k,[2,34]),d(k,[2,35]),d(lt,[2,20],{28:56,31:nt}),d(lt,[2,21]),d([22,29,31],[2,25]),d(lt,[2,26]),d(lt,[2,22])],defaultActions:{5:[2,36],7:[2,2],20:[2,39],31:[2,38],37:[2,23],44:[2,18],47:[2,27]},parseError:function(st,K){if(!K.recoverable){var mt=new Error(st);throw mt.hash=K,mt}this.trace(st)},parse:function(st){var K=this,mt=[0],St=[],It=[null],ft=[],vt=this.table,Wt="",jt=0,me=0,ge=0,pe=2,Dt=1,Zt=ft.slice.call(arguments,1),se=Object.create(this.lexer),le={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&(le.yy[ye]=this.yy[ye]);se.setInput(st,le.yy),le.yy.lexer=se,le.yy.parser=this,se.yylloc===void 0&&(se.yylloc={});var Ot=se.yylloc;ft.push(Ot);var We=se.options&&se.options.ranges;function he(){var De;return typeof(De=St.pop()||se.lex()||Dt)!="number"&&(De instanceof Array&&(De=(St=De).pop()),De=K.symbols_[De]||De),De}typeof le.yy.parseError=="function"?this.parseError=le.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var zt,te,at,ne,Mt,Xt,Ht,Nt,oe,tn={};;){if(at=mt[mt.length-1],this.defaultActions[at]?ne=this.defaultActions[at]:(zt==null&&(zt=he()),ne=vt[at]&&vt[at][zt]),ne===void 0||!ne.length||!ne[0]){var ve="";for(Xt in oe=[],vt[at])this.terminals_[Xt]&&Xt>pe&&oe.push("'"+this.terminals_[Xt]+"'");ve=se.showPosition?"Parse error on line "+(jt+1)+`: +`+se.showPosition()+` +Expecting `+oe.join(", ")+", got '"+(this.terminals_[zt]||zt)+"'":"Parse error on line "+(jt+1)+": Unexpected "+(zt==Dt?"end of input":"'"+(this.terminals_[zt]||zt)+"'"),this.parseError(ve,{text:se.match,token:this.terminals_[zt]||zt,line:se.yylineno,loc:Ot,expected:oe})}if(ne[0]instanceof Array&&ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+at+", token: "+zt);switch(ne[0]){case 1:mt.push(zt),It.push(se.yytext),ft.push(se.yylloc),mt.push(ne[1]),zt=null,te?(zt=te,te=null):(me=se.yyleng,Wt=se.yytext,jt=se.yylineno,Ot=se.yylloc,ge>0);break;case 2:if(Ht=this.productions_[ne[1]][1],tn.$=It[It.length-Ht],tn._$={first_line:ft[ft.length-(Ht||1)].first_line,last_line:ft[ft.length-1].last_line,first_column:ft[ft.length-(Ht||1)].first_column,last_column:ft[ft.length-1].last_column},We&&(tn._$.range=[ft[ft.length-(Ht||1)].range[0],ft[ft.length-1].range[1]]),(Mt=this.performAction.apply(tn,[Wt,me,jt,le.yy,ne[1],It,ft].concat(Zt)))!==void 0)return Mt;Ht&&(mt=mt.slice(0,-1*Ht*2),It=It.slice(0,-1*Ht),ft=ft.slice(0,-1*Ht)),mt.push(this.productions_[ne[1]][0]),It.push(tn.$),ft.push(tn._$),Nt=vt[mt[mt.length-2]][mt[mt.length-1]],mt.push(Nt);break;case 3:return!0}}return!0}},dt={EOF:1,parseError:function(st,K){if(!this.yy.parser)throw new Error(st);this.yy.parser.parseError(st,K)},setInput:function(st,K){return this.yy=K||this.yy||{},this._input=st,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var st=this._input[0];return this.yytext+=st,this.yyleng++,this.offset++,this.match+=st,this.matched+=st,st.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),st},unput:function(st){var K=st.length,mt=st.split(/(?:\r\n?|\n)/g);this._input=st+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-K),this.offset-=K;var St=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),mt.length-1&&(this.yylineno-=mt.length-1);var It=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:mt?(mt.length===St.length?this.yylloc.first_column:0)+St[St.length-mt.length].length-mt[0].length:this.yylloc.first_column-K},this.options.ranges&&(this.yylloc.range=[It[0],It[0]+this.yyleng-K]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(st){this.unput(this.match.slice(st))},pastInput:function(){var st=this.matched.substr(0,this.matched.length-this.match.length);return(st.length>20?"...":"")+st.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var st=this.match;return st.length<20&&(st+=this._input.substr(0,20-st.length)),(st.substr(0,20)+(st.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var st=this.pastInput(),K=new Array(st.length+1).join("-");return st+this.upcomingInput()+` +`+K+"^"},test_match:function(st,K){var mt,St,It;if(this.options.backtrack_lexer&&(It={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(It.yylloc.range=this.yylloc.range.slice(0))),(St=st[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=St.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:St?St[St.length-1].length-St[St.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+st[0].length},this.yytext+=st[0],this.match+=st[0],this.matches=st,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(st[0].length),this.matched+=st[0],mt=this.performAction.call(this,this.yy,this,K,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),mt)return mt;if(this._backtrack){for(var ft in It)this[ft]=It[ft];return!1}return!1},next:function(){if(this.done)return this.EOF;var st,K,mt,St;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var It=this._currentRules(),ft=0;ftK[0].length)){if(K=mt,St=ft,this.options.backtrack_lexer){if((st=this.test_match(mt,It[ft]))!==!1)return st;if(this._backtrack){K=!1;continue}return!1}if(!this.options.flex)break}return K?(st=this.test_match(K,It[St]))!==!1&&st:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(st){this.conditionStack.push(st)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(st){return(st=this.conditionStack.length-1-Math.abs(st||0))>=0?this.conditionStack[st]:"INITIAL"},pushState:function(st){this.begin(st)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(st,K,mt,St){switch(mt){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:case 13:case 17:break;case 7:return 11;case 9:return 9;case 10:return 40;case 11:return 4;case 12:return this.begin("block"),20;case 14:return 30;case 15:return 29;case 16:return 31;case 18:return this.popState(),22;case 19:case 32:return K.yytext[0];case 20:case 24:return 34;case 21:case 25:return 35;case 22:case 26:return 36;case 23:return 37;case 27:case 29:case 30:return 38;case 28:return 39;case 31:return 23;case 33:return 6}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:(?:PK)|(?:FK))/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},block:{rules:[13,14,15,16,17,18,19],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,20,21,22,23,24,25,26,27,28,29,30,31,32,33],inclusive:!0}}};function At(){this.yy={}}return _t.lexer=dt,At.prototype=_t,_t.Parser=At,new At}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(8009).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},3602:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(on,Gn,En,Re){for(En=En||{},Re=on.length;Re--;En[on[Re]]=Gn);return En},_=[1,9],g=[1,7],k=[1,6],C=[1,8],A=[1,20,21,22,23,38,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],I=[2,10],L=[1,20],Y=[1,21],q=[1,22],H=[1,23],V=[1,30],X=[1,59],J=[1,45],lt=[1,49],nt=[1,33],_t=[1,34],dt=[1,35],At=[1,36],st=[1,37],K=[1,53],mt=[1,60],St=[1,48],It=[1,50],ft=[1,52],vt=[1,56],Wt=[1,57],jt=[1,38],me=[1,39],ge=[1,40],pe=[1,41],Dt=[1,58],Zt=[1,47],se=[1,51],le=[1,54],ye=[1,55],Ot=[1,46],We=[1,63],he=[1,68],zt=[1,20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],te=[1,72],at=[1,71],ne=[1,73],Mt=[20,21,23,74,75],Xt=[1,94],Ht=[1,99],Nt=[1,102],oe=[1,103],tn=[1,96],ve=[1,101],De=[1,104],ln=[1,97],Xe=[1,109],Ie=[1,108],Ae=[1,98],en=[1,100],Ue=[1,105],Ze=[1,106],Qe=[1,107],Le=[1,110],Yn=[20,21,22,23,74,75],Me=[20,21,22,23,48,74,75],an=[20,21,22,23,40,47,48,50,52,54,56,58,59,60,62,64,66,67,69,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],vn=[20,21,23],Or=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],bn=[1,12,20,21,22,23,24,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],Kn=[47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],cn=[1,143],gn=[1,151],Ke=[1,152],Tn=[1,153],wn=[1,154],zn=[1,138],Un=[1,139],Cr=[1,135],kn=[1,146],Hn=[1,147],Pn=[1,148],$n=[1,149],Vn=[1,150],Jn=[1,155],An=[1,156],Ln=[1,141],un=[1,144],jn=[1,140],mn=[1,137],ei=[20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],dr=[1,159],Ii=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],In=[20,21,22,23,24,26,38,40,41,42,47,51,53,55,57,59,60,61,63,65,66,68,70,74,75,79,80,81,82,83,84,85,88,98,99,102,104,105,106,107,115,116,117,118,119,120],po=[12,21,22,24],oa=[22,99],ni=[1,242],Br=[1,237],Fr=[1,238],$r=[1,246],Xr=[1,243],Sr=[1,240],Zr=[1,239],Lr=[1,241],Ci=[1,244],ai=[1,245],er=[1,247],Hr=[1,265],sa=[20,21,23,99],Qr=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],ca={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,link:44,node:45,vertex:46,AMP:47,STYLE_SEPARATOR:48,idString:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,ALPHA:59,COLON:60,PIPE:61,CYLINDERSTART:62,CYLINDEREND:63,DIAMOND_START:64,DIAMOND_STOP:65,TAGEND:66,TRAPSTART:67,TRAPEND:68,INVTRAPSTART:69,INVTRAPEND:70,linkStatement:71,arrowText:72,TESTSTR:73,START_LINK:74,LINK:75,textToken:76,STR:77,keywords:78,STYLE:79,LINKSTYLE:80,CLASSDEF:81,CLASS:82,CLICK:83,DOWN:84,UP:85,textNoTags:86,textNoTagsToken:87,DEFAULT:88,stylesOpt:89,alphaNum:90,CALLBACKNAME:91,CALLBACKARGS:92,HREF:93,LINK_TARGET:94,HEX:95,numList:96,INTERPOLATE:97,NUM:98,COMMA:99,style:100,styleComponent:101,MINUS:102,UNIT:103,BRKT:104,DOT:105,PCT:106,TAGSTART:107,alphaNumToken:108,idStringToken:109,alphaNumStatement:110,direction_tb:111,direction_bt:112,direction_rl:113,direction_lr:114,PUNCTUATION:115,UNICODE_TEXT:116,PLUS:117,EQUALS:118,MULT:119,UNDERSCORE:120,graphCodeTokens:121,ARROW_CROSS:122,ARROW_POINT:123,ARROW_CIRCLE:124,ARROW_OPEN:125,QUOTE:126,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",47:"AMP",48:"STYLE_SEPARATOR",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"ALPHA",60:"COLON",61:"PIPE",62:"CYLINDERSTART",63:"CYLINDEREND",64:"DIAMOND_START",65:"DIAMOND_STOP",66:"TAGEND",67:"TRAPSTART",68:"TRAPEND",69:"INVTRAPSTART",70:"INVTRAPEND",73:"TESTSTR",74:"START_LINK",75:"LINK",77:"STR",79:"STYLE",80:"LINKSTYLE",81:"CLASSDEF",82:"CLASS",83:"CLICK",84:"DOWN",85:"UP",88:"DEFAULT",91:"CALLBACKNAME",92:"CALLBACKARGS",93:"HREF",94:"LINK_TARGET",95:"HEX",97:"INTERPOLATE",98:"NUM",99:"COMMA",102:"MINUS",103:"UNIT",104:"BRKT",105:"DOT",106:"PCT",107:"TAGSTART",111:"direction_tb",112:"direction_bt",113:"direction_rl",114:"direction_lr",115:"PUNCTUATION",116:"UNICODE_TEXT",117:"PLUS",118:"EQUALS",119:"MULT",120:"UNDERSCORE",122:"ARROW_CROSS",123:"ARROW_POINT",124:"ARROW_CIRCLE",125:"ARROW_OPEN",126:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[45,1],[45,5],[45,3],[46,4],[46,6],[46,4],[46,4],[46,4],[46,8],[46,4],[46,4],[46,4],[46,6],[46,4],[46,4],[46,4],[46,4],[46,4],[46,1],[44,2],[44,3],[44,3],[44,1],[44,3],[71,1],[72,3],[39,1],[39,2],[39,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[86,1],[86,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[96,1],[96,3],[89,1],[89,3],[100,1],[100,2],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[87,1],[87,1],[87,1],[87,1],[49,1],[49,2],[90,1],[90,2],[110,1],[110,1],[110,1],[110,1],[43,1],[43,1],[43,1],[43,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1]],performAction:function(on,Gn,En,Re,Xn,pt,Vr){var Qt=pt.length-1;switch(Xn){case 5:Re.parseDirective("%%{","open_directive");break;case 6:Re.parseDirective(pt[Qt],"type_directive");break;case 7:pt[Qt]=pt[Qt].trim().replace(/'/g,'"'),Re.parseDirective(pt[Qt],"arg_directive");break;case 8:Re.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:pt[Qt]!==[]&&pt[Qt-1].push(pt[Qt]),this.$=pt[Qt-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=pt[Qt];break;case 19:Re.setDirection("TB"),this.$="TB";break;case 20:Re.setDirection(pt[Qt-1]),this.$=pt[Qt-1];break;case 35:this.$=pt[Qt-1].nodes;break;case 41:this.$=Re.addSubGraph(pt[Qt-6],pt[Qt-1],pt[Qt-4]);break;case 42:this.$=Re.addSubGraph(pt[Qt-3],pt[Qt-1],pt[Qt-3]);break;case 43:this.$=Re.addSubGraph(void 0,pt[Qt-1],void 0);break;case 48:Re.addLink(pt[Qt-2].stmt,pt[Qt],pt[Qt-1]),this.$={stmt:pt[Qt],nodes:pt[Qt].concat(pt[Qt-2].nodes)};break;case 49:Re.addLink(pt[Qt-3].stmt,pt[Qt-1],pt[Qt-2]),this.$={stmt:pt[Qt-1],nodes:pt[Qt-1].concat(pt[Qt-3].nodes)};break;case 50:this.$={stmt:pt[Qt-1],nodes:pt[Qt-1]};break;case 51:this.$={stmt:pt[Qt],nodes:pt[Qt]};break;case 52:case 119:case 121:this.$=[pt[Qt]];break;case 53:this.$=pt[Qt-4].concat(pt[Qt]);break;case 54:this.$=[pt[Qt-2]],Re.setClass(pt[Qt-2],pt[Qt]);break;case 55:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"square");break;case 56:this.$=pt[Qt-5],Re.addVertex(pt[Qt-5],pt[Qt-2],"circle");break;case 57:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"ellipse");break;case 58:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"stadium");break;case 59:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"subroutine");break;case 60:this.$=pt[Qt-7],Re.addVertex(pt[Qt-7],pt[Qt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[pt[Qt-5],pt[Qt-3]]]));break;case 61:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"cylinder");break;case 62:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"round");break;case 63:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"diamond");break;case 64:this.$=pt[Qt-5],Re.addVertex(pt[Qt-5],pt[Qt-2],"hexagon");break;case 65:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"odd");break;case 66:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"trapezoid");break;case 67:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"inv_trapezoid");break;case 68:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"lean_right");break;case 69:this.$=pt[Qt-3],Re.addVertex(pt[Qt-3],pt[Qt-1],"lean_left");break;case 70:this.$=pt[Qt],Re.addVertex(pt[Qt]);break;case 71:pt[Qt-1].text=pt[Qt],this.$=pt[Qt-1];break;case 72:case 73:pt[Qt-2].text=pt[Qt-1],this.$=pt[Qt-2];break;case 75:var Si=Re.destructLink(pt[Qt],pt[Qt-2]);this.$={type:Si.type,stroke:Si.stroke,length:Si.length,text:pt[Qt-1]};break;case 76:Si=Re.destructLink(pt[Qt]),this.$={type:Si.type,stroke:Si.stroke,length:Si.length};break;case 77:this.$=pt[Qt-1];break;case 79:case 93:case 149:case 147:this.$=pt[Qt-1]+""+pt[Qt];break;case 94:case 95:this.$=pt[Qt-4],Re.addClass(pt[Qt-2],pt[Qt]);break;case 96:this.$=pt[Qt-4],Re.setClass(pt[Qt-2],pt[Qt]);break;case 97:case 105:this.$=pt[Qt-1],Re.setClickEvent(pt[Qt-1],pt[Qt]);break;case 98:case 106:this.$=pt[Qt-3],Re.setClickEvent(pt[Qt-3],pt[Qt-2]),Re.setTooltip(pt[Qt-3],pt[Qt]);break;case 99:this.$=pt[Qt-2],Re.setClickEvent(pt[Qt-2],pt[Qt-1],pt[Qt]);break;case 100:this.$=pt[Qt-4],Re.setClickEvent(pt[Qt-4],pt[Qt-3],pt[Qt-2]),Re.setTooltip(pt[Qt-4],pt[Qt]);break;case 101:case 107:this.$=pt[Qt-1],Re.setLink(pt[Qt-1],pt[Qt]);break;case 102:case 108:this.$=pt[Qt-3],Re.setLink(pt[Qt-3],pt[Qt-2]),Re.setTooltip(pt[Qt-3],pt[Qt]);break;case 103:case 109:this.$=pt[Qt-3],Re.setLink(pt[Qt-3],pt[Qt-2],pt[Qt]);break;case 104:case 110:this.$=pt[Qt-5],Re.setLink(pt[Qt-5],pt[Qt-4],pt[Qt]),Re.setTooltip(pt[Qt-5],pt[Qt-2]);break;case 111:this.$=pt[Qt-4],Re.addVertex(pt[Qt-2],void 0,void 0,pt[Qt]);break;case 112:case 114:this.$=pt[Qt-4],Re.updateLink(pt[Qt-2],pt[Qt]);break;case 113:this.$=pt[Qt-4],Re.updateLink([pt[Qt-2]],pt[Qt]);break;case 115:this.$=pt[Qt-8],Re.updateLinkInterpolate([pt[Qt-6]],pt[Qt-2]),Re.updateLink([pt[Qt-6]],pt[Qt]);break;case 116:this.$=pt[Qt-8],Re.updateLinkInterpolate(pt[Qt-6],pt[Qt-2]),Re.updateLink(pt[Qt-6],pt[Qt]);break;case 117:this.$=pt[Qt-6],Re.updateLinkInterpolate([pt[Qt-4]],pt[Qt]);break;case 118:this.$=pt[Qt-6],Re.updateLinkInterpolate(pt[Qt-4],pt[Qt]);break;case 120:case 122:pt[Qt-2].push(pt[Qt]),this.$=pt[Qt-2];break;case 124:this.$=pt[Qt-1]+pt[Qt];break;case 152:this.$="v";break;case 153:this.$="-";break;case 154:this.$={stmt:"dir",value:"TB"};break;case 155:this.$={stmt:"dir",value:"BT"};break;case 156:this.$={stmt:"dir",value:"RL"};break;case 157:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:_,16:4,21:g,22:k,24:C},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:_,16:4,21:g,22:k,24:C},d(A,I,{17:11}),{7:12,13:[1,13]},{16:14,21:g,22:k,24:C},{16:15,21:g,22:k,24:C},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:L,21:Y,22:q,23:H,32:24,33:25,34:26,35:27,36:28,37:29,38:V,43:31,45:32,46:42,47:X,49:43,59:J,60:lt,79:nt,80:_t,81:dt,82:At,83:st,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,111:jt,112:me,113:ge,114:pe,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},{8:61,10:[1,62],15:We},d([10,15],[2,6]),d(A,[2,17]),d(A,[2,18]),d(A,[2,19]),{20:[1,65],21:[1,66],22:he,27:64,30:67},d(zt,[2,11]),d(zt,[2,12]),d(zt,[2,13]),d(zt,[2,14]),d(zt,[2,15]),d(zt,[2,16]),{9:69,20:te,21:at,23:ne,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:te,21:at,23:ne},{9:78,20:te,21:at,23:ne},{9:79,20:te,21:at,23:ne},{9:80,20:te,21:at,23:ne},{9:81,20:te,21:at,23:ne},{9:83,20:te,21:at,22:[1,82],23:ne},d(zt,[2,44]),d(Mt,[2,51],{30:84,22:he}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:Xt,47:Ht,59:Nt,60:oe,77:[1,92],84:tn,90:91,91:[1,89],93:[1,90],98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(zt,[2,154]),d(zt,[2,155]),d(zt,[2,156]),d(zt,[2,157]),d(Yn,[2,52],{48:[1,111]}),d(Me,[2,70],{109:123,40:[1,112],47:X,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:J,60:lt,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot}),d(an,[2,146]),d(an,[2,171]),d(an,[2,172]),d(an,[2,173]),d(an,[2,174]),d(an,[2,175]),d(an,[2,176]),d(an,[2,177]),d(an,[2,178]),d(an,[2,179]),d(an,[2,180]),d(an,[2,181]),d(an,[2,182]),d(an,[2,183]),d(an,[2,184]),d(an,[2,185]),d(an,[2,186]),{9:124,20:te,21:at,23:ne},{11:125,14:[1,126]},d(vn,[2,8]),d(A,[2,20]),d(A,[2,26]),d(A,[2,27]),{21:[1,127]},d(Or,[2,34],{30:128,22:he}),d(zt,[2,35]),{45:129,46:42,47:X,49:43,59:J,60:lt,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},d(bn,[2,45]),d(bn,[2,46]),d(bn,[2,47]),d(Kn,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:cn,24:gn,26:Ke,38:Tn,39:133,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),d(zt,[2,36]),d(zt,[2,37]),d(zt,[2,38]),d(zt,[2,39]),d(zt,[2,40]),{22:cn,24:gn,26:Ke,38:Tn,39:157,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(ei,I,{17:158}),d(Mt,[2,50],{47:dr}),{26:Xt,47:Ht,59:Nt,60:oe,84:tn,90:160,95:[1,161],98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{88:[1,162],96:163,98:[1,164]},{26:Xt,47:Ht,59:Nt,60:oe,84:tn,88:[1,165],90:166,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{26:Xt,47:Ht,59:Nt,60:oe,84:tn,90:167,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(vn,[2,97],{22:[1,168],92:[1,169]}),d(vn,[2,101],{22:[1,170]}),d(vn,[2,105],{108:95,110:172,22:[1,171],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le}),d(vn,[2,107],{22:[1,173]}),d(Ii,[2,148]),d(Ii,[2,150]),d(Ii,[2,151]),d(Ii,[2,152]),d(Ii,[2,153]),d(In,[2,158]),d(In,[2,159]),d(In,[2,160]),d(In,[2,161]),d(In,[2,162]),d(In,[2,163]),d(In,[2,164]),d(In,[2,165]),d(In,[2,166]),d(In,[2,167]),d(In,[2,168]),d(In,[2,169]),d(In,[2,170]),{47:X,49:174,59:J,60:lt,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},{22:cn,24:gn,26:Ke,38:Tn,39:175,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:177,42:wn,47:Ht,50:[1,176],59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:178,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:179,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:180,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{59:[1,181]},{22:cn,24:gn,26:Ke,38:Tn,39:182,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:183,42:wn,47:Ht,59:Nt,60:oe,64:[1,184],66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:185,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:186,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:187,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(an,[2,147]),d(po,[2,3]),{8:188,15:We},{15:[2,7]},d(A,[2,28]),d(Or,[2,33]),d(Mt,[2,48],{30:189,22:he}),d(Kn,[2,71],{22:[1,190]}),{22:[1,191]},{22:cn,24:gn,26:Ke,38:Tn,39:192,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,75:[1,193],76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(In,[2,78]),d(In,[2,80]),d(In,[2,136]),d(In,[2,137]),d(In,[2,138]),d(In,[2,139]),d(In,[2,140]),d(In,[2,141]),d(In,[2,142]),d(In,[2,143]),d(In,[2,144]),d(In,[2,145]),d(In,[2,81]),d(In,[2,82]),d(In,[2,83]),d(In,[2,84]),d(In,[2,85]),d(In,[2,86]),d(In,[2,87]),d(In,[2,88]),d(In,[2,89]),d(In,[2,90]),d(In,[2,91]),{9:196,20:te,21:at,22:cn,23:ne,24:gn,26:Ke,38:Tn,40:[1,195],42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{18:18,19:19,20:L,21:Y,22:q,23:H,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,197],43:31,45:32,46:42,47:X,49:43,59:J,60:lt,79:nt,80:_t,81:dt,82:At,83:st,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,111:jt,112:me,113:ge,114:pe,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},{22:he,30:198},{22:[1,199],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:172,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},d(oa,[2,119]),{22:[1,204]},{22:[1,205],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:172,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:[1,206],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:172,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{77:[1,207]},d(vn,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},d(Ii,[2,149]),{77:[1,212],94:[1,213]},d(Yn,[2,54],{109:123,47:X,59:J,60:lt,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot}),{22:cn,24:gn,26:Ke,38:Tn,41:[1,214],42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:215,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,51:[1,216],59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,53:[1,217],59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,55:[1,218],59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,57:[1,219],59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{60:[1,220]},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,63:[1,221],66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,65:[1,222],66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,39:223,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,41:[1,224],42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,66:zn,68:[1,225],70:[1,226],74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,66:zn,68:[1,228],70:[1,227],74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{9:229,20:te,21:at,23:ne},d(Mt,[2,49],{47:dr}),d(Kn,[2,73]),d(Kn,[2,72]),{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,61:[1,230],66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(Kn,[2,75]),d(In,[2,79]),{22:cn,24:gn,26:Ke,38:Tn,39:231,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(ei,I,{17:232}),d(zt,[2,43]),{46:233,47:X,49:43,59:J,60:lt,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},{22:ni,59:Br,60:Fr,79:$r,89:234,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{22:ni,59:Br,60:Fr,79:$r,89:248,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{22:ni,59:Br,60:Fr,79:$r,89:249,95:Xr,97:[1,250],98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{22:ni,59:Br,60:Fr,79:$r,89:251,95:Xr,97:[1,252],98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{98:[1,253]},{22:ni,59:Br,60:Fr,79:$r,89:254,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{22:ni,59:Br,60:Fr,79:$r,89:255,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{26:Xt,47:Ht,59:Nt,60:oe,84:tn,90:256,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(vn,[2,98]),{77:[1,257]},d(vn,[2,102],{22:[1,258]}),d(vn,[2,103]),d(vn,[2,106]),d(vn,[2,108],{22:[1,259]}),d(vn,[2,109]),d(Me,[2,55]),{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,51:[1,260],59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(Me,[2,62]),d(Me,[2,57]),d(Me,[2,58]),d(Me,[2,59]),{59:[1,261]},d(Me,[2,61]),d(Me,[2,63]),{22:cn,24:gn,26:Ke,38:Tn,42:wn,47:Ht,59:Nt,60:oe,65:[1,262],66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(Me,[2,65]),d(Me,[2,66]),d(Me,[2,68]),d(Me,[2,67]),d(Me,[2,69]),d(po,[2,4]),d([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:cn,24:gn,26:Ke,38:Tn,41:[1,263],42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{18:18,19:19,20:L,21:Y,22:q,23:H,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,264],43:31,45:32,46:42,47:X,49:43,59:J,60:lt,79:nt,80:_t,81:dt,82:At,83:st,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,111:jt,112:me,113:ge,114:pe,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},d(Yn,[2,53]),d(vn,[2,111],{99:Hr}),d(sa,[2,121],{101:266,22:ni,59:Br,60:Fr,79:$r,95:Xr,98:Sr,102:Zr,103:Lr,104:Ci,105:ai,106:er}),d(Qr,[2,123]),d(Qr,[2,125]),d(Qr,[2,126]),d(Qr,[2,127]),d(Qr,[2,128]),d(Qr,[2,129]),d(Qr,[2,130]),d(Qr,[2,131]),d(Qr,[2,132]),d(Qr,[2,133]),d(Qr,[2,134]),d(Qr,[2,135]),d(vn,[2,112],{99:Hr}),d(vn,[2,113],{99:Hr}),{22:[1,267]},d(vn,[2,114],{99:Hr}),{22:[1,268]},d(oa,[2,120]),d(vn,[2,94],{99:Hr}),d(vn,[2,95],{99:Hr}),d(vn,[2,96],{108:95,110:172,26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le}),d(vn,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:te,21:at,23:ne},d(zt,[2,42]),{22:ni,59:Br,60:Fr,79:$r,95:Xr,98:Sr,100:275,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},d(Qr,[2,124]),{26:Xt,47:Ht,59:Nt,60:oe,84:tn,90:276,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{26:Xt,47:Ht,59:Nt,60:oe,84:tn,90:277,98:ve,99:De,102:ln,104:Xe,105:Ie,108:95,110:93,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(vn,[2,104]),d(vn,[2,110]),d(Me,[2,56]),{22:cn,24:gn,26:Ke,38:Tn,39:278,42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:134,77:Cr,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},d(Me,[2,64]),d(ei,I,{17:279}),d(sa,[2,122],{101:266,22:ni,59:Br,60:Fr,79:$r,95:Xr,98:Sr,102:Zr,103:Lr,104:Ci,105:ai,106:er}),d(vn,[2,117],{108:95,110:172,22:[1,280],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le}),d(vn,[2,118],{108:95,110:172,22:[1,281],26:Xt,47:Ht,59:Nt,60:oe,84:tn,98:ve,99:De,102:ln,104:Xe,105:Ie,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le}),{22:cn,24:gn,26:Ke,38:Tn,41:[1,282],42:wn,47:Ht,59:Nt,60:oe,66:zn,74:Un,76:194,78:145,79:kn,80:Hn,81:Pn,82:$n,83:Vn,84:Jn,85:An,87:136,88:Ln,98:ve,99:De,102:un,104:Xe,105:Ie,106:jn,107:mn,108:142,115:Ae,116:en,117:Ue,118:Ze,119:Qe,120:Le},{18:18,19:19,20:L,21:Y,22:q,23:H,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,283],43:31,45:32,46:42,47:X,49:43,59:J,60:lt,79:nt,80:_t,81:dt,82:At,83:st,84:K,88:mt,98:St,99:It,102:ft,104:vt,105:Wt,109:44,111:jt,112:me,113:ge,114:pe,115:Dt,116:Zt,117:se,118:le,119:ye,120:Ot},{22:ni,59:Br,60:Fr,79:$r,89:284,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},{22:ni,59:Br,60:Fr,79:$r,89:285,95:Xr,98:Sr,100:235,101:236,102:Zr,103:Lr,104:Ci,105:ai,106:er},d(Me,[2,60]),d(zt,[2,41]),d(vn,[2,115],{99:Hr}),d(vn,[2,116],{99:Hr})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(on,Gn){if(!Gn.recoverable){var En=new Error(on);throw En.hash=Gn,En}this.trace(on)},parse:function(on){var Gn=this,En=[0],Re=[],Xn=[null],pt=[],Vr=this.table,Qt="",Si=0,Wi=0,Ba=0,no=2,go=1,yo=pt.slice.call(arguments,1),Wr=Object.create(this.lexer),$i={yy:{}};for(var Cn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Cn)&&($i.yy[Cn]=this.yy[Cn]);Wr.setInput(on,$i.yy),$i.yy.lexer=Wr,$i.yy.parser=this,Wr.yylloc===void 0&&(Wr.yylloc={});var Ta=Wr.yylloc;pt.push(Ta);var La=Wr.options&&Wr.options.ranges;function pr(){var Bt;return typeof(Bt=Re.pop()||Wr.lex()||go)!="number"&&(Bt instanceof Array&&(Bt=(Re=Bt).pop()),Bt=Gn.symbols_[Bt]||Bt),Bt}typeof $i.yy.parseError=="function"?this.parseError=$i.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Tr,di,Kr,Pr,jr,si,Gr,Vi,Ri,Ai={};;){if(Kr=En[En.length-1],this.defaultActions[Kr]?Pr=this.defaultActions[Kr]:(Tr==null&&(Tr=pr()),Pr=Vr[Kr]&&Vr[Kr][Tr]),Pr===void 0||!Pr.length||!Pr[0]){var ro="";for(si in Ri=[],Vr[Kr])this.terminals_[si]&&si>no&&Ri.push("'"+this.terminals_[si]+"'");ro=Wr.showPosition?"Parse error on line "+(Si+1)+`: +`+Wr.showPosition()+` +Expecting `+Ri.join(", ")+", got '"+(this.terminals_[Tr]||Tr)+"'":"Parse error on line "+(Si+1)+": Unexpected "+(Tr==go?"end of input":"'"+(this.terminals_[Tr]||Tr)+"'"),this.parseError(ro,{text:Wr.match,token:this.terminals_[Tr]||Tr,line:Wr.yylineno,loc:Ta,expected:Ri})}if(Pr[0]instanceof Array&&Pr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Kr+", token: "+Tr);switch(Pr[0]){case 1:En.push(Tr),Xn.push(Wr.yytext),pt.push(Wr.yylloc),En.push(Pr[1]),Tr=null,di?(Tr=di,di=null):(Wi=Wr.yyleng,Qt=Wr.yytext,Si=Wr.yylineno,Ta=Wr.yylloc,Ba>0);break;case 2:if(Gr=this.productions_[Pr[1]][1],Ai.$=Xn[Xn.length-Gr],Ai._$={first_line:pt[pt.length-(Gr||1)].first_line,last_line:pt[pt.length-1].last_line,first_column:pt[pt.length-(Gr||1)].first_column,last_column:pt[pt.length-1].last_column},La&&(Ai._$.range=[pt[pt.length-(Gr||1)].range[0],pt[pt.length-1].range[1]]),(jr=this.performAction.apply(Ai,[Qt,Wi,Si,$i.yy,Pr[1],Xn,pt].concat(yo)))!==void 0)return jr;Gr&&(En=En.slice(0,-1*Gr*2),Xn=Xn.slice(0,-1*Gr),pt=pt.slice(0,-1*Gr)),En.push(this.productions_[Pr[1]][0]),Xn.push(Ai.$),pt.push(Ai._$),Vi=Vr[En[En.length-2]][En[En.length-1]],En.push(Vi);break;case 3:return!0}}return!0}},eo={EOF:1,parseError:function(on,Gn){if(!this.yy.parser)throw new Error(on);this.yy.parser.parseError(on,Gn)},setInput:function(on,Gn){return this.yy=Gn||this.yy||{},this._input=on,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var on=this._input[0];return this.yytext+=on,this.yyleng++,this.offset++,this.match+=on,this.matched+=on,on.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),on},unput:function(on){var Gn=on.length,En=on.split(/(?:\r\n?|\n)/g);this._input=on+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Gn),this.offset-=Gn;var Re=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),En.length-1&&(this.yylineno-=En.length-1);var Xn=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:En?(En.length===Re.length?this.yylloc.first_column:0)+Re[Re.length-En.length].length-En[0].length:this.yylloc.first_column-Gn},this.options.ranges&&(this.yylloc.range=[Xn[0],Xn[0]+this.yyleng-Gn]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(on){this.unput(this.match.slice(on))},pastInput:function(){var on=this.matched.substr(0,this.matched.length-this.match.length);return(on.length>20?"...":"")+on.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var on=this.match;return on.length<20&&(on+=this._input.substr(0,20-on.length)),(on.substr(0,20)+(on.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var on=this.pastInput(),Gn=new Array(on.length+1).join("-");return on+this.upcomingInput()+` +`+Gn+"^"},test_match:function(on,Gn){var En,Re,Xn;if(this.options.backtrack_lexer&&(Xn={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Xn.yylloc.range=this.yylloc.range.slice(0))),(Re=on[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Re.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Re?Re[Re.length-1].length-Re[Re.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+on[0].length},this.yytext+=on[0],this.match+=on[0],this.matches=on,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(on[0].length),this.matched+=on[0],En=this.performAction.call(this,this.yy,this,Gn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),En)return En;if(this._backtrack){for(var pt in Xn)this[pt]=Xn[pt];return!1}return!1},next:function(){if(this.done)return this.EOF;var on,Gn,En,Re;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Xn=this._currentRules(),pt=0;ptGn[0].length)){if(Gn=En,Re=pt,this.options.backtrack_lexer){if((on=this.test_match(En,Xn[pt]))!==!1)return on;if(this._backtrack){Gn=!1;continue}return!1}if(!this.options.flex)break}return Gn?(on=this.test_match(Gn,Xn[Re]))!==!1&&on:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(on){this.conditionStack.push(on)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(on){return(on=this.conditionStack.length-1-Math.abs(on||0))>=0?this.conditionStack[on]:"INITIAL"},pushState:function(on){this.begin(on)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(on,Gn,En,Re){switch(En){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:this.begin("string");break;case 8:case 17:case 20:case 23:case 26:this.popState();break;case 9:return"STR";case 10:return 79;case 11:return 88;case 12:return 80;case 13:return 97;case 14:return 81;case 15:return 82;case 16:this.begin("href");break;case 18:return 93;case 19:this.begin("callbackname");break;case 21:this.popState(),this.begin("callbackargs");break;case 22:return 91;case 24:return 92;case 25:this.begin("click");break;case 27:return 83;case 28:case 29:return on.lex.firstGraph()&&this.begin("dir"),24;case 30:return 38;case 31:return 42;case 32:case 33:case 34:case 35:return 94;case 36:return this.popState(),25;case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:return this.popState(),26;case 47:return 111;case 48:return 112;case 49:return 113;case 50:return 114;case 51:return 98;case 52:return 104;case 53:return 48;case 54:return 60;case 55:return 47;case 56:return 20;case 57:return 99;case 58:return 119;case 59:case 60:case 61:return 75;case 62:case 63:case 64:return 74;case 65:return 52;case 66:return 53;case 67:return 54;case 68:return 55;case 69:return 56;case 70:return 57;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 102;case 75:return 105;case 76:return 120;case 77:return 117;case 78:return 106;case 79:case 80:return 118;case 81:return 107;case 82:return 66;case 83:return 85;case 84:return"SEP";case 85:return 84;case 86:return 59;case 87:return 68;case 88:return 67;case 89:return 70;case 90:return 69;case 91:return 115;case 92:return 116;case 93:return 61;case 94:return 50;case 95:return 51;case 96:return 40;case 97:return 41;case 98:return 64;case 99:return 65;case 100:return 126;case 101:return 21;case 102:return 22;case 103:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[23,24],inclusive:!1},callbackname:{rules:[20,21,22],inclusive:!1},href:{rules:[17,18],inclusive:!1},click:{rules:[26,27],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[36,37,38,39,40,41,42,43,44,45,46],inclusive:!1},string:{rules:[8,9],inclusive:!1},INITIAL:{rules:[0,5,6,7,10,11,12,13,14,15,16,19,25,28,29,30,31,32,33,34,35,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],inclusive:!0}}};function oi(){this.yy={}}return ca.lexer=eo,oi.prototype=ca,ca.Parser=oi,new oi}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(5354).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},9959:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(K,mt,St,It){for(St=St||{},It=K.length;It--;St[K[It]]=mt);return St},_=[1,3],g=[1,5],k=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],C=[1,15],A=[1,16],I=[1,17],L=[1,18],Y=[1,19],q=[1,20],H=[1,21],V=[1,22],X=[1,23],J=[1,25],lt=[1,27],nt=[1,30],_t=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],dt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,section:20,clickStatement:21,taskTxt:22,taskData:23,openDirective:24,typeDirective:25,closeDirective:26,":":27,argDirective:28,click:29,callbackname:30,callbackargs:31,href:32,clickStatementDebug:33,open_directive:34,type_directive:35,arg_directive:36,close_directive:37,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"section",22:"taskTxt",23:"taskData",27:":",29:"click",30:"callbackname",31:"callbackargs",32:"href",34:"open_directive",35:"type_directive",36:"arg_directive",37:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[21,2],[21,3],[21,3],[21,4],[21,3],[21,4],[21,2],[33,2],[33,3],[33,3],[33,4],[33,3],[33,4],[33,2],[24,1],[25,1],[28,1],[26,1]],performAction:function(K,mt,St,It,ft,vt,Wt){var jt=vt.length-1;switch(ft){case 2:return vt[jt-1];case 3:case 7:case 8:this.$=[];break;case 4:vt[jt-1].push(vt[jt]),this.$=vt[jt-1];break;case 5:case 6:this.$=vt[jt];break;case 9:It.setDateFormat(vt[jt].substr(11)),this.$=vt[jt].substr(11);break;case 10:It.enableInclusiveEndDates(),this.$=vt[jt].substr(18);break;case 11:It.TopAxis(),this.$=vt[jt].substr(8);break;case 12:It.setAxisFormat(vt[jt].substr(11)),this.$=vt[jt].substr(11);break;case 13:It.setExcludes(vt[jt].substr(9)),this.$=vt[jt].substr(9);break;case 14:It.setIncludes(vt[jt].substr(9)),this.$=vt[jt].substr(9);break;case 15:It.setTodayMarker(vt[jt].substr(12)),this.$=vt[jt].substr(12);break;case 16:It.setTitle(vt[jt].substr(6)),this.$=vt[jt].substr(6);break;case 17:It.addSection(vt[jt].substr(8)),this.$=vt[jt].substr(8);break;case 19:It.addTask(vt[jt-1],vt[jt]),this.$="task";break;case 23:this.$=vt[jt-1],It.setClickEvent(vt[jt-1],vt[jt],null);break;case 24:this.$=vt[jt-2],It.setClickEvent(vt[jt-2],vt[jt-1],vt[jt]);break;case 25:this.$=vt[jt-2],It.setClickEvent(vt[jt-2],vt[jt-1],null),It.setLink(vt[jt-2],vt[jt]);break;case 26:this.$=vt[jt-3],It.setClickEvent(vt[jt-3],vt[jt-2],vt[jt-1]),It.setLink(vt[jt-3],vt[jt]);break;case 27:this.$=vt[jt-2],It.setClickEvent(vt[jt-2],vt[jt],null),It.setLink(vt[jt-2],vt[jt-1]);break;case 28:this.$=vt[jt-3],It.setClickEvent(vt[jt-3],vt[jt-1],vt[jt]),It.setLink(vt[jt-3],vt[jt-2]);break;case 29:this.$=vt[jt-1],It.setLink(vt[jt-1],vt[jt]);break;case 30:case 36:this.$=vt[jt-1]+" "+vt[jt];break;case 31:case 32:case 34:this.$=vt[jt-2]+" "+vt[jt-1]+" "+vt[jt];break;case 33:case 35:this.$=vt[jt-3]+" "+vt[jt-2]+" "+vt[jt-1]+" "+vt[jt];break;case 37:It.parseDirective("%%{","open_directive");break;case 38:It.parseDirective(vt[jt],"type_directive");break;case 39:vt[jt]=vt[jt].trim().replace(/'/g,'"'),It.parseDirective(vt[jt],"arg_directive");break;case 40:It.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:_,24:4,34:g},{1:[3]},{3:6,4:2,5:_,24:4,34:g},d(k,[2,3],{6:7}),{25:8,35:[1,9]},{35:[2,37]},{1:[2,1]},{4:26,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:C,13:A,14:I,15:L,16:Y,17:q,18:H,19:V,20:X,21:24,22:J,24:4,29:lt,34:g},{26:28,27:[1,29],37:nt},d([27,37],[2,38]),d(k,[2,8],{1:[2,2]}),d(k,[2,4]),{4:26,10:31,12:C,13:A,14:I,15:L,16:Y,17:q,18:H,19:V,20:X,21:24,22:J,24:4,29:lt,34:g},d(k,[2,6]),d(k,[2,7]),d(k,[2,9]),d(k,[2,10]),d(k,[2,11]),d(k,[2,12]),d(k,[2,13]),d(k,[2,14]),d(k,[2,15]),d(k,[2,16]),d(k,[2,17]),d(k,[2,18]),{23:[1,32]},d(k,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},d(k,[2,5]),d(k,[2,19]),d(k,[2,23],{31:[1,38],32:[1,39]}),d(k,[2,29],{30:[1,40]}),d(_t,[2,21]),{26:41,37:nt},{37:[2,39]},d(k,[2,24],{32:[1,42]}),d(k,[2,25]),d(k,[2,27],{31:[1,43]}),{11:[1,44]},d(k,[2,26]),d(k,[2,28]),d(_t,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(K,mt){if(!mt.recoverable){var St=new Error(K);throw St.hash=mt,St}this.trace(K)},parse:function(K){var mt=this,St=[0],It=[],ft=[null],vt=[],Wt=this.table,jt="",me=0,ge=0,pe=0,Dt=2,Zt=1,se=vt.slice.call(arguments,1),le=Object.create(this.lexer),ye={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ye.yy[Ot]=this.yy[Ot]);le.setInput(K,ye.yy),ye.yy.lexer=le,ye.yy.parser=this,le.yylloc===void 0&&(le.yylloc={});var We=le.yylloc;vt.push(We);var he=le.options&&le.options.ranges;function zt(){var ln;return typeof(ln=It.pop()||le.lex()||Zt)!="number"&&(ln instanceof Array&&(ln=(It=ln).pop()),ln=mt.symbols_[ln]||ln),ln}typeof ye.yy.parseError=="function"?this.parseError=ye.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var te,at,ne,Mt,Xt,Ht,Nt,oe,tn,ve={};;){if(ne=St[St.length-1],this.defaultActions[ne]?Mt=this.defaultActions[ne]:(te==null&&(te=zt()),Mt=Wt[ne]&&Wt[ne][te]),Mt===void 0||!Mt.length||!Mt[0]){var De="";for(Ht in tn=[],Wt[ne])this.terminals_[Ht]&&Ht>Dt&&tn.push("'"+this.terminals_[Ht]+"'");De=le.showPosition?"Parse error on line "+(me+1)+`: +`+le.showPosition()+` +Expecting `+tn.join(", ")+", got '"+(this.terminals_[te]||te)+"'":"Parse error on line "+(me+1)+": Unexpected "+(te==Zt?"end of input":"'"+(this.terminals_[te]||te)+"'"),this.parseError(De,{text:le.match,token:this.terminals_[te]||te,line:le.yylineno,loc:We,expected:tn})}if(Mt[0]instanceof Array&&Mt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ne+", token: "+te);switch(Mt[0]){case 1:St.push(te),ft.push(le.yytext),vt.push(le.yylloc),St.push(Mt[1]),te=null,at?(te=at,at=null):(ge=le.yyleng,jt=le.yytext,me=le.yylineno,We=le.yylloc,pe>0);break;case 2:if(Nt=this.productions_[Mt[1]][1],ve.$=ft[ft.length-Nt],ve._$={first_line:vt[vt.length-(Nt||1)].first_line,last_line:vt[vt.length-1].last_line,first_column:vt[vt.length-(Nt||1)].first_column,last_column:vt[vt.length-1].last_column},he&&(ve._$.range=[vt[vt.length-(Nt||1)].range[0],vt[vt.length-1].range[1]]),(Xt=this.performAction.apply(ve,[jt,ge,me,ye.yy,Mt[1],ft,vt].concat(se)))!==void 0)return Xt;Nt&&(St=St.slice(0,-1*Nt*2),ft=ft.slice(0,-1*Nt),vt=vt.slice(0,-1*Nt)),St.push(this.productions_[Mt[1]][0]),ft.push(ve.$),vt.push(ve._$),oe=Wt[St[St.length-2]][St[St.length-1]],St.push(oe);break;case 3:return!0}}return!0}},At={EOF:1,parseError:function(K,mt){if(!this.yy.parser)throw new Error(K);this.yy.parser.parseError(K,mt)},setInput:function(K,mt){return this.yy=mt||this.yy||{},this._input=K,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var K=this._input[0];return this.yytext+=K,this.yyleng++,this.offset++,this.match+=K,this.matched+=K,K.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),K},unput:function(K){var mt=K.length,St=K.split(/(?:\r\n?|\n)/g);this._input=K+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-mt),this.offset-=mt;var It=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),St.length-1&&(this.yylineno-=St.length-1);var ft=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:St?(St.length===It.length?this.yylloc.first_column:0)+It[It.length-St.length].length-St[0].length:this.yylloc.first_column-mt},this.options.ranges&&(this.yylloc.range=[ft[0],ft[0]+this.yyleng-mt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(K){this.unput(this.match.slice(K))},pastInput:function(){var K=this.matched.substr(0,this.matched.length-this.match.length);return(K.length>20?"...":"")+K.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var K=this.match;return K.length<20&&(K+=this._input.substr(0,20-K.length)),(K.substr(0,20)+(K.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var K=this.pastInput(),mt=new Array(K.length+1).join("-");return K+this.upcomingInput()+` +`+mt+"^"},test_match:function(K,mt){var St,It,ft;if(this.options.backtrack_lexer&&(ft={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ft.yylloc.range=this.yylloc.range.slice(0))),(It=K[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=It.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:It?It[It.length-1].length-It[It.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+K[0].length},this.yytext+=K[0],this.match+=K[0],this.matches=K,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(K[0].length),this.matched+=K[0],St=this.performAction.call(this,this.yy,this,mt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),St)return St;if(this._backtrack){for(var vt in ft)this[vt]=ft[vt];return!1}return!1},next:function(){if(this.done)return this.EOF;var K,mt,St,It;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ft=this._currentRules(),vt=0;vtmt[0].length)){if(mt=St,It=vt,this.options.backtrack_lexer){if((K=this.test_match(St,ft[vt]))!==!1)return K;if(this._backtrack){mt=!1;continue}return!1}if(!this.options.flex)break}return mt?(K=this.test_match(mt,ft[It]))!==!1&&K:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(K){this.conditionStack.push(K)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(K){return(K=this.conditionStack.length-1-Math.abs(K||0))>=0?this.conditionStack[K]:"INITIAL"},pushState:function(K){this.begin(K)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(K,mt,St,It){switch(St){case 0:return this.begin("open_directive"),34;case 1:return this.begin("type_directive"),35;case 2:return this.popState(),this.begin("arg_directive"),27;case 3:return this.popState(),this.popState(),37;case 4:return 36;case 5:case 6:case 7:case 9:case 10:case 11:break;case 8:return 11;case 12:this.begin("href");break;case 13:case 16:case 19:case 22:this.popState();break;case 14:return 32;case 15:this.begin("callbackname");break;case 17:this.popState(),this.begin("callbackargs");break;case 18:return 30;case 20:return 31;case 21:this.begin("click");break;case 23:return 29;case 24:return 5;case 25:return 12;case 26:return 13;case 27:return 14;case 28:return 15;case 29:return 17;case 30:return 16;case 31:return 18;case 32:return"date";case 33:return 19;case 34:return 20;case 35:return 22;case 36:return 23;case 37:return 27;case 38:return 7;case 39:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[19,20],inclusive:!1},callbackname:{rules:[16,17,18],inclusive:!1},href:{rules:[13,14],inclusive:!1},click:{rules:[22,23],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,15,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};function st(){this.yy={}}return dt.lexer=At,st.prototype=dt,dt.Parser=st,new st}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(6878).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},2553:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(H,V,X,J){for(X=X||{},J=H.length;J--;X[H[J]]=V);return X},_=[2,3],g=[1,7],k=[7,12,15,17,19,20,21],C=[7,11,12,15,17,19,20,21],A=[2,20],I=[1,32],L={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(H,V,X,J,lt,nt,_t){var dt=nt.length-1;switch(lt){case 1:return nt[dt-1];case 2:return J.setDirection(nt[dt-3]),nt[dt-1];case 4:J.setOptions(nt[dt-1]),this.$=nt[dt];break;case 5:nt[dt-1]+=nt[dt],this.$=nt[dt-1];break;case 7:this.$=[];break;case 8:nt[dt-1].push(nt[dt]),this.$=nt[dt-1];break;case 9:this.$=nt[dt-1];break;case 11:J.commit(nt[dt]);break;case 12:J.branch(nt[dt]);break;case 13:J.checkout(nt[dt]);break;case 14:J.merge(nt[dt]);break;case 15:J.reset(nt[dt]);break;case 16:this.$="";break;case 17:this.$=nt[dt];break;case 18:this.$=nt[dt-1]+":"+nt[dt];break;case 19:this.$=nt[dt-1]+":"+J.count,J.count=0;break;case 20:J.count=0;break;case 21:J.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:_,9:6,12:g},{5:[1,8]},{7:[1,9]},d(k,[2,7],{10:10,11:[1,11]}),d(C,[2,6]),{6:12,7:_,9:6,12:g},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},d(C,[2,5]),{7:[1,21]},d(k,[2,8]),{12:[1,22]},d(k,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},d(k,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:A,25:31,26:I},{12:A,25:33,26:I},{12:[2,18]},{12:A,25:34,26:I},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(H,V){if(!V.recoverable){var X=new Error(H);throw X.hash=V,X}this.trace(H)},parse:function(H){var V=this,X=[0],J=[],lt=[null],nt=[],_t=this.table,dt="",At=0,st=0,K=0,mt=2,St=1,It=nt.slice.call(arguments,1),ft=Object.create(this.lexer),vt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(vt.yy[Wt]=this.yy[Wt]);ft.setInput(H,vt.yy),vt.yy.lexer=ft,vt.yy.parser=this,ft.yylloc===void 0&&(ft.yylloc={});var jt=ft.yylloc;nt.push(jt);var me=ft.options&&ft.options.ranges;function ge(){var at;return typeof(at=J.pop()||ft.lex()||St)!="number"&&(at instanceof Array&&(at=(J=at).pop()),at=V.symbols_[at]||at),at}typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var pe,Dt,Zt,se,le,ye,Ot,We,he,zt={};;){if(Zt=X[X.length-1],this.defaultActions[Zt]?se=this.defaultActions[Zt]:(pe==null&&(pe=ge()),se=_t[Zt]&&_t[Zt][pe]),se===void 0||!se.length||!se[0]){var te="";for(ye in he=[],_t[Zt])this.terminals_[ye]&&ye>mt&&he.push("'"+this.terminals_[ye]+"'");te=ft.showPosition?"Parse error on line "+(At+1)+`: +`+ft.showPosition()+` +Expecting `+he.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":"Parse error on line "+(At+1)+": Unexpected "+(pe==St?"end of input":"'"+(this.terminals_[pe]||pe)+"'"),this.parseError(te,{text:ft.match,token:this.terminals_[pe]||pe,line:ft.yylineno,loc:jt,expected:he})}if(se[0]instanceof Array&&se.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Zt+", token: "+pe);switch(se[0]){case 1:X.push(pe),lt.push(ft.yytext),nt.push(ft.yylloc),X.push(se[1]),pe=null,Dt?(pe=Dt,Dt=null):(st=ft.yyleng,dt=ft.yytext,At=ft.yylineno,jt=ft.yylloc,K>0);break;case 2:if(Ot=this.productions_[se[1]][1],zt.$=lt[lt.length-Ot],zt._$={first_line:nt[nt.length-(Ot||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(Ot||1)].first_column,last_column:nt[nt.length-1].last_column},me&&(zt._$.range=[nt[nt.length-(Ot||1)].range[0],nt[nt.length-1].range[1]]),(le=this.performAction.apply(zt,[dt,st,At,vt.yy,se[1],lt,nt].concat(It)))!==void 0)return le;Ot&&(X=X.slice(0,-1*Ot*2),lt=lt.slice(0,-1*Ot),nt=nt.slice(0,-1*Ot)),X.push(this.productions_[se[1]][0]),lt.push(zt.$),nt.push(zt._$),We=_t[X[X.length-2]][X[X.length-1]],X.push(We);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(H,V){if(!this.yy.parser)throw new Error(H);this.yy.parser.parseError(H,V)},setInput:function(H,V){return this.yy=V||this.yy||{},this._input=H,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var H=this._input[0];return this.yytext+=H,this.yyleng++,this.offset++,this.match+=H,this.matched+=H,H.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),H},unput:function(H){var V=H.length,X=H.split(/(?:\r\n?|\n)/g);this._input=H+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var J=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),X.length-1&&(this.yylineno-=X.length-1);var lt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:X?(X.length===J.length?this.yylloc.first_column:0)+J[J.length-X.length].length-X[0].length:this.yylloc.first_column-V},this.options.ranges&&(this.yylloc.range=[lt[0],lt[0]+this.yyleng-V]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(H){this.unput(this.match.slice(H))},pastInput:function(){var H=this.matched.substr(0,this.matched.length-this.match.length);return(H.length>20?"...":"")+H.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var H=this.match;return H.length<20&&(H+=this._input.substr(0,20-H.length)),(H.substr(0,20)+(H.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var H=this.pastInput(),V=new Array(H.length+1).join("-");return H+this.upcomingInput()+` +`+V+"^"},test_match:function(H,V){var X,J,lt;if(this.options.backtrack_lexer&&(lt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(lt.yylloc.range=this.yylloc.range.slice(0))),(J=H[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=J.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:J?J[J.length-1].length-J[J.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+H[0].length},this.yytext+=H[0],this.match+=H[0],this.matches=H,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(H[0].length),this.matched+=H[0],X=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var nt in lt)this[nt]=lt[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;var H,V,X,J;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var lt=this._currentRules(),nt=0;ntV[0].length)){if(V=X,J=nt,this.options.backtrack_lexer){if((H=this.test_match(X,lt[nt]))!==!1)return H;if(this._backtrack){V=!1;continue}return!1}if(!this.options.flex)break}return V?(H=this.test_match(V,lt[J]))!==!1&&H:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(H){this.conditionStack.push(H)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(H){return(H=this.conditionStack.length-1-Math.abs(H||0))>=0?this.conditionStack[H]:"INITIAL"},pushState:function(H){this.begin(H)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(H,V,X,J){switch(X){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:case 18:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][-_\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}};function q(){this.yy={}}return L.lexer=Y,q.prototype=L,L.Parser=q,new q}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(8183).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},6765:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(A,I,L,Y){for(L=L||{},Y=A.length;Y--;L[A[Y]]=I);return L},_=[6,9,10],g={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(A,I,L,Y,q,H,V){switch(H.length,q){case 1:return Y;case 4:break;case 6:Y.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},d(_,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},d(_,[2,3]),d(_,[2,4]),d(_,[2,5]),d(_,[2,6])],defaultActions:{4:[2,1]},parseError:function(A,I){if(!I.recoverable){var L=new Error(A);throw L.hash=I,L}this.trace(A)},parse:function(A){var I=this,L=[0],Y=[],q=[null],H=[],V=this.table,X="",J=0,lt=0,nt=0,_t=2,dt=1,At=H.slice.call(arguments,1),st=Object.create(this.lexer),K={yy:{}};for(var mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,mt)&&(K.yy[mt]=this.yy[mt]);st.setInput(A,K.yy),K.yy.lexer=st,K.yy.parser=this,st.yylloc===void 0&&(st.yylloc={});var St=st.yylloc;H.push(St);var It=st.options&&st.options.ranges;function ft(){var Ot;return typeof(Ot=Y.pop()||st.lex()||dt)!="number"&&(Ot instanceof Array&&(Ot=(Y=Ot).pop()),Ot=I.symbols_[Ot]||Ot),Ot}typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var vt,Wt,jt,me,ge,pe,Dt,Zt,se,le={};;){if(jt=L[L.length-1],this.defaultActions[jt]?me=this.defaultActions[jt]:(vt==null&&(vt=ft()),me=V[jt]&&V[jt][vt]),me===void 0||!me.length||!me[0]){var ye="";for(pe in se=[],V[jt])this.terminals_[pe]&&pe>_t&&se.push("'"+this.terminals_[pe]+"'");ye=st.showPosition?"Parse error on line "+(J+1)+`: +`+st.showPosition()+` +Expecting `+se.join(", ")+", got '"+(this.terminals_[vt]||vt)+"'":"Parse error on line "+(J+1)+": Unexpected "+(vt==dt?"end of input":"'"+(this.terminals_[vt]||vt)+"'"),this.parseError(ye,{text:st.match,token:this.terminals_[vt]||vt,line:st.yylineno,loc:St,expected:se})}if(me[0]instanceof Array&&me.length>1)throw new Error("Parse Error: multiple actions possible at state: "+jt+", token: "+vt);switch(me[0]){case 1:L.push(vt),q.push(st.yytext),H.push(st.yylloc),L.push(me[1]),vt=null,Wt?(vt=Wt,Wt=null):(lt=st.yyleng,X=st.yytext,J=st.yylineno,St=st.yylloc,nt>0);break;case 2:if(Dt=this.productions_[me[1]][1],le.$=q[q.length-Dt],le._$={first_line:H[H.length-(Dt||1)].first_line,last_line:H[H.length-1].last_line,first_column:H[H.length-(Dt||1)].first_column,last_column:H[H.length-1].last_column},It&&(le._$.range=[H[H.length-(Dt||1)].range[0],H[H.length-1].range[1]]),(ge=this.performAction.apply(le,[X,lt,J,K.yy,me[1],q,H].concat(At)))!==void 0)return ge;Dt&&(L=L.slice(0,-1*Dt*2),q=q.slice(0,-1*Dt),H=H.slice(0,-1*Dt)),L.push(this.productions_[me[1]][0]),q.push(le.$),H.push(le._$),Zt=V[L[L.length-2]][L[L.length-1]],L.push(Zt);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(A,I){if(!this.yy.parser)throw new Error(A);this.yy.parser.parseError(A,I)},setInput:function(A,I){return this.yy=I||this.yy||{},this._input=A,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var A=this._input[0];return this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A,A.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},unput:function(A){var I=A.length,L=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-I),this.offset-=I;var Y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-L.length].length-L[0].length:this.yylloc.first_column-I},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-I]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(A){this.unput(this.match.slice(A))},pastInput:function(){var A=this.matched.substr(0,this.matched.length-this.match.length);return(A.length>20?"...":"")+A.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var A=this.match;return A.length<20&&(A+=this._input.substr(0,20-A.length)),(A.substr(0,20)+(A.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var A=this.pastInput(),I=new Array(A.length+1).join("-");return A+this.upcomingInput()+` +`+I+"^"},test_match:function(A,I){var L,Y,q;if(this.options.backtrack_lexer&&(q={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(q.yylloc.range=this.yylloc.range.slice(0))),(Y=A[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+A[0].length},this.yytext+=A[0],this.match+=A[0],this.matches=A,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(A[0].length),this.matched+=A[0],L=this.performAction.call(this,this.yy,this,I,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),L)return L;if(this._backtrack){for(var H in q)this[H]=q[H];return!1}return!1},next:function(){if(this.done)return this.EOF;var A,I,L,Y;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),H=0;HI[0].length)){if(I=L,Y=H,this.options.backtrack_lexer){if((A=this.test_match(L,q[H]))!==!1)return A;if(this._backtrack){I=!1;continue}return!1}if(!this.options.flex)break}return I?(A=this.test_match(I,q[Y]))!==!1&&A:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(A){this.conditionStack.push(A)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(A){return(A=this.conditionStack.length-1-Math.abs(A||0))>=0?this.conditionStack[A]:"INITIAL"},pushState:function(A){this.begin(A)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(A,I,L,Y){switch(L){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function C(){this.yy={}}return g.lexer=k,C.prototype=g,g.Parser=C,new C}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(1428).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},7062:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(At,st,K,mt){for(K=K||{},mt=At.length;mt--;K[At[mt]]=st);return K},_=[1,4],g=[1,5],k=[1,6],C=[1,7],A=[1,9],I=[1,11,13,20,21,22,23],L=[2,5],Y=[1,6,11,13,20,21,22,23],q=[20,21,22],H=[2,8],V=[1,18],X=[1,19],J=[1,24],lt=[6,20,21,22,23],nt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,openDirective:15,typeDirective:16,closeDirective:17,":":18,argDirective:19,NEWLINE:20,";":21,EOF:22,open_directive:23,type_directive:24,arg_directive:25,close_directive:26,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",18:":",20:"NEWLINE",21:";",22:"EOF",23:"open_directive",24:"type_directive",25:"arg_directive",26:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[15,1],[16,1],[19,1],[17,1]],performAction:function(At,st,K,mt,St,It,ft){var vt=It.length-1;switch(St){case 4:mt.setShowData(!0);break;case 7:this.$=It[vt-1];break;case 9:mt.addSection(It[vt-1],mt.cleanupValue(It[vt]));break;case 10:this.$=It[vt].trim(),mt.setTitle(this.$);break;case 17:mt.parseDirective("%%{","open_directive");break;case 18:mt.parseDirective(It[vt],"type_directive");break;case 19:It[vt]=It[vt].trim().replace(/'/g,'"'),mt.parseDirective(It[vt],"arg_directive");break;case 20:mt.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:_,15:8,20:g,21:k,22:C,23:A},{1:[3]},{3:10,4:2,5:3,6:_,15:8,20:g,21:k,22:C,23:A},{3:11,4:2,5:3,6:_,15:8,20:g,21:k,22:C,23:A},d(I,L,{7:12,8:[1,13]}),d(Y,[2,14]),d(Y,[2,15]),d(Y,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},d(q,H,{15:8,9:16,10:17,5:20,1:[2,3],11:V,13:X,23:A}),d(I,L,{7:21}),{17:22,18:[1,23],26:J},d([18,26],[2,18]),d(I,[2,6]),{4:25,20:g,21:k,22:C},{12:[1,26]},{14:[1,27]},d(q,[2,11]),d(q,H,{15:8,9:16,10:17,5:20,1:[2,4],11:V,13:X,23:A}),d(lt,[2,12]),{19:28,25:[1,29]},d(lt,[2,20]),d(I,[2,7]),d(q,[2,9]),d(q,[2,10]),{17:30,26:J},{26:[2,19]},d(lt,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(At,st){if(!st.recoverable){var K=new Error(At);throw K.hash=st,K}this.trace(At)},parse:function(At){var st=this,K=[0],mt=[],St=[null],It=[],ft=this.table,vt="",Wt=0,jt=0,me=0,ge=2,pe=1,Dt=It.slice.call(arguments,1),Zt=Object.create(this.lexer),se={yy:{}};for(var le in this.yy)Object.prototype.hasOwnProperty.call(this.yy,le)&&(se.yy[le]=this.yy[le]);Zt.setInput(At,se.yy),se.yy.lexer=Zt,se.yy.parser=this,Zt.yylloc===void 0&&(Zt.yylloc={});var ye=Zt.yylloc;It.push(ye);var Ot=Zt.options&&Zt.options.ranges;function We(){var ve;return typeof(ve=mt.pop()||Zt.lex()||pe)!="number"&&(ve instanceof Array&&(ve=(mt=ve).pop()),ve=st.symbols_[ve]||ve),ve}typeof se.yy.parseError=="function"?this.parseError=se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var he,zt,te,at,ne,Mt,Xt,Ht,Nt,oe={};;){if(te=K[K.length-1],this.defaultActions[te]?at=this.defaultActions[te]:(he==null&&(he=We()),at=ft[te]&&ft[te][he]),at===void 0||!at.length||!at[0]){var tn="";for(Mt in Nt=[],ft[te])this.terminals_[Mt]&&Mt>ge&&Nt.push("'"+this.terminals_[Mt]+"'");tn=Zt.showPosition?"Parse error on line "+(Wt+1)+`: +`+Zt.showPosition()+` +Expecting `+Nt.join(", ")+", got '"+(this.terminals_[he]||he)+"'":"Parse error on line "+(Wt+1)+": Unexpected "+(he==pe?"end of input":"'"+(this.terminals_[he]||he)+"'"),this.parseError(tn,{text:Zt.match,token:this.terminals_[he]||he,line:Zt.yylineno,loc:ye,expected:Nt})}if(at[0]instanceof Array&&at.length>1)throw new Error("Parse Error: multiple actions possible at state: "+te+", token: "+he);switch(at[0]){case 1:K.push(he),St.push(Zt.yytext),It.push(Zt.yylloc),K.push(at[1]),he=null,zt?(he=zt,zt=null):(jt=Zt.yyleng,vt=Zt.yytext,Wt=Zt.yylineno,ye=Zt.yylloc,me>0);break;case 2:if(Xt=this.productions_[at[1]][1],oe.$=St[St.length-Xt],oe._$={first_line:It[It.length-(Xt||1)].first_line,last_line:It[It.length-1].last_line,first_column:It[It.length-(Xt||1)].first_column,last_column:It[It.length-1].last_column},Ot&&(oe._$.range=[It[It.length-(Xt||1)].range[0],It[It.length-1].range[1]]),(ne=this.performAction.apply(oe,[vt,jt,Wt,se.yy,at[1],St,It].concat(Dt)))!==void 0)return ne;Xt&&(K=K.slice(0,-1*Xt*2),St=St.slice(0,-1*Xt),It=It.slice(0,-1*Xt)),K.push(this.productions_[at[1]][0]),St.push(oe.$),It.push(oe._$),Ht=ft[K[K.length-2]][K[K.length-1]],K.push(Ht);break;case 3:return!0}}return!0}},_t={EOF:1,parseError:function(At,st){if(!this.yy.parser)throw new Error(At);this.yy.parser.parseError(At,st)},setInput:function(At,st){return this.yy=st||this.yy||{},this._input=At,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var At=this._input[0];return this.yytext+=At,this.yyleng++,this.offset++,this.match+=At,this.matched+=At,At.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),At},unput:function(At){var st=At.length,K=At.split(/(?:\r\n?|\n)/g);this._input=At+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-st),this.offset-=st;var mt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),K.length-1&&(this.yylineno-=K.length-1);var St=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:K?(K.length===mt.length?this.yylloc.first_column:0)+mt[mt.length-K.length].length-K[0].length:this.yylloc.first_column-st},this.options.ranges&&(this.yylloc.range=[St[0],St[0]+this.yyleng-st]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(At){this.unput(this.match.slice(At))},pastInput:function(){var At=this.matched.substr(0,this.matched.length-this.match.length);return(At.length>20?"...":"")+At.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var At=this.match;return At.length<20&&(At+=this._input.substr(0,20-At.length)),(At.substr(0,20)+(At.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var At=this.pastInput(),st=new Array(At.length+1).join("-");return At+this.upcomingInput()+` +`+st+"^"},test_match:function(At,st){var K,mt,St;if(this.options.backtrack_lexer&&(St={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(St.yylloc.range=this.yylloc.range.slice(0))),(mt=At[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=mt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:mt?mt[mt.length-1].length-mt[mt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+At[0].length},this.yytext+=At[0],this.match+=At[0],this.matches=At,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(At[0].length),this.matched+=At[0],K=this.performAction.call(this,this.yy,this,st,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),K)return K;if(this._backtrack){for(var It in St)this[It]=St[It];return!1}return!1},next:function(){if(this.done)return this.EOF;var At,st,K,mt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var St=this._currentRules(),It=0;Itst[0].length)){if(st=K,mt=It,this.options.backtrack_lexer){if((At=this.test_match(K,St[It]))!==!1)return At;if(this._backtrack){st=!1;continue}return!1}if(!this.options.flex)break}return st?(At=this.test_match(st,St[mt]))!==!1&&At:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(At){this.conditionStack.push(At)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(At){return(At=this.conditionStack.length-1-Math.abs(At||0))>=0?this.conditionStack[At]:"INITIAL"},pushState:function(At){this.begin(At)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(At,st,K,mt){switch(K){case 0:return this.begin("open_directive"),23;case 1:return this.begin("type_directive"),24;case 2:return this.popState(),this.begin("arg_directive"),18;case 3:return this.popState(),this.popState(),26;case 4:return 25;case 5:case 6:case 8:case 9:break;case 7:return 20;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:this.begin("string");break;case 13:this.popState();break;case 14:return"txt";case 15:return 6;case 16:return 8;case 17:return"value";case 18:return 22}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,15,16,17,18],inclusive:!0}}};function dt(){this.yy={}}return nt.lexer=_t,dt.prototype=nt,nt.Parser=dt,new dt}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(4551).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},3176:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(te,at,ne,Mt){for(ne=ne||{},Mt=te.length;Mt--;ne[te[Mt]]=at);return ne},_=[1,3],g=[1,5],k=[1,17],C=[2,10],A=[1,21],I=[1,22],L=[1,23],Y=[1,24],q=[1,25],H=[1,26],V=[1,19],X=[1,27],J=[1,28],lt=[1,31],nt=[66,67],_t=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],dt=[5,6,8,14,35,36,37,38,39,40,48,66,67],At=[1,51],st=[1,52],K=[1,53],mt=[1,54],St=[1,55],It=[1,56],ft=[1,57],vt=[57,58],Wt=[1,69],jt=[1,65],me=[1,66],ge=[1,67],pe=[1,68],Dt=[1,70],Zt=[1,74],se=[1,75],le=[1,72],ye=[1,73],Ot=[5,8,14,35,36,37,38,39,40,48,66,67],We={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,open_directive:14,type_directive:15,arg_directive:16,close_directive:17,requirementDef:18,elementDef:19,relationshipDef:20,requirementType:21,requirementName:22,STRUCT_START:23,requirementBody:24,ID:25,COLONSEP:26,id:27,TEXT:28,text:29,RISK:30,riskLevel:31,VERIFYMTHD:32,verifyType:33,STRUCT_STOP:34,REQUIREMENT:35,FUNCTIONAL_REQUIREMENT:36,INTERFACE_REQUIREMENT:37,PERFORMANCE_REQUIREMENT:38,PHYSICAL_REQUIREMENT:39,DESIGN_CONSTRAINT:40,LOW_RISK:41,MED_RISK:42,HIGH_RISK:43,VERIFY_ANALYSIS:44,VERIFY_DEMONSTRATION:45,VERIFY_INSPECTION:46,VERIFY_TEST:47,ELEMENT:48,elementName:49,elementBody:50,TYPE:51,type:52,DOCREF:53,ref:54,END_ARROW_L:55,relationship:56,LINE:57,END_ARROW_R:58,CONTAINS:59,COPIES:60,DERIVES:61,SATISFIES:62,VERIFIES:63,REFINES:64,TRACES:65,unqString:66,qString:67,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"open_directive",15:"type_directive",16:"arg_directive",17:"close_directive",23:"STRUCT_START",25:"ID",26:"COLONSEP",28:"TEXT",30:"RISK",32:"VERIFYMTHD",34:"STRUCT_STOP",35:"REQUIREMENT",36:"FUNCTIONAL_REQUIREMENT",37:"INTERFACE_REQUIREMENT",38:"PERFORMANCE_REQUIREMENT",39:"PHYSICAL_REQUIREMENT",40:"DESIGN_CONSTRAINT",41:"LOW_RISK",42:"MED_RISK",43:"HIGH_RISK",44:"VERIFY_ANALYSIS",45:"VERIFY_DEMONSTRATION",46:"VERIFY_INSPECTION",47:"VERIFY_TEST",48:"ELEMENT",51:"TYPE",53:"DOCREF",55:"END_ARROW_L",57:"LINE",58:"END_ARROW_R",59:"CONTAINS",60:"COPIES",61:"DERIVES",62:"SATISFIES",63:"VERIFIES",64:"REFINES",65:"TRACES",66:"unqString",67:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[18,5],[24,5],[24,5],[24,5],[24,5],[24,2],[24,1],[21,1],[21,1],[21,1],[21,1],[21,1],[21,1],[31,1],[31,1],[31,1],[33,1],[33,1],[33,1],[33,1],[19,5],[50,5],[50,5],[50,2],[50,1],[20,5],[20,5],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[22,1],[22,1],[27,1],[27,1],[29,1],[29,1],[49,1],[49,1],[52,1],[52,1],[54,1],[54,1]],performAction:function(te,at,ne,Mt,Xt,Ht,Nt){var oe=Ht.length-1;switch(Xt){case 6:Mt.parseDirective("%%{","open_directive");break;case 7:Mt.parseDirective(Ht[oe],"type_directive");break;case 8:Ht[oe]=Ht[oe].trim().replace(/'/g,'"'),Mt.parseDirective(Ht[oe],"arg_directive");break;case 9:Mt.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:Mt.addRequirement(Ht[oe-3],Ht[oe-4]);break;case 17:Mt.setNewReqId(Ht[oe-2]);break;case 18:Mt.setNewReqText(Ht[oe-2]);break;case 19:Mt.setNewReqRisk(Ht[oe-2]);break;case 20:Mt.setNewReqVerifyMethod(Ht[oe-2]);break;case 23:this.$=Mt.RequirementType.REQUIREMENT;break;case 24:this.$=Mt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=Mt.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=Mt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=Mt.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=Mt.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=Mt.RiskLevel.LOW_RISK;break;case 30:this.$=Mt.RiskLevel.MED_RISK;break;case 31:this.$=Mt.RiskLevel.HIGH_RISK;break;case 32:this.$=Mt.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=Mt.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=Mt.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=Mt.VerifyType.VERIFY_TEST;break;case 36:Mt.addElement(Ht[oe-3]);break;case 37:Mt.setNewElementType(Ht[oe-2]);break;case 38:Mt.setNewElementDocRef(Ht[oe-2]);break;case 41:Mt.addRelationship(Ht[oe-2],Ht[oe],Ht[oe-4]);break;case 42:Mt.addRelationship(Ht[oe-2],Ht[oe-4],Ht[oe]);break;case 43:this.$=Mt.Relationships.CONTAINS;break;case 44:this.$=Mt.Relationships.COPIES;break;case 45:this.$=Mt.Relationships.DERIVES;break;case 46:this.$=Mt.Relationships.SATISFIES;break;case 47:this.$=Mt.Relationships.VERIFIES;break;case 48:this.$=Mt.Relationships.REFINES;break;case 49:this.$=Mt.Relationships.TRACES}},table:[{3:1,4:2,6:_,9:4,14:g},{1:[3]},{3:7,4:2,5:[1,6],6:_,9:4,14:g},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:_,9:4,14:g},{1:[2,2]},{4:16,5:k,7:12,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{11:29,12:[1,30],17:lt},d([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:k,7:33,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{4:16,5:k,7:34,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{4:16,5:k,7:35,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{4:16,5:k,7:36,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{4:16,5:k,7:37,8:C,9:4,14:g,18:13,19:14,20:15,21:18,27:20,35:A,36:I,37:L,38:Y,39:q,40:H,48:V,66:X,67:J},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},d(nt,[2,23]),d(nt,[2,24]),d(nt,[2,25]),d(nt,[2,26]),d(nt,[2,27]),d(nt,[2,28]),d(_t,[2,52]),d(_t,[2,53]),d(dt,[2,4]),{13:46,16:[1,47]},d(dt,[2,9]),{1:[2,3]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{23:[1,48]},{23:[2,50]},{23:[2,51]},{23:[1,49]},{23:[2,56]},{23:[2,57]},{56:50,59:At,60:st,61:K,62:mt,63:St,64:It,65:ft},{56:58,59:At,60:st,61:K,62:mt,63:St,64:It,65:ft},{11:59,17:lt},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},d(vt,[2,43]),d(vt,[2,44]),d(vt,[2,45]),d(vt,[2,46]),d(vt,[2,47]),d(vt,[2,48]),d(vt,[2,49]),{58:[1,63]},d(dt,[2,5]),{5:Wt,24:64,25:jt,28:me,30:ge,32:pe,34:Dt},{5:Zt,34:se,50:71,51:le,53:ye},{27:76,66:X,67:J},{27:77,66:X,67:J},d(Ot,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:Wt,24:82,25:jt,28:me,30:ge,32:pe,34:Dt},d(Ot,[2,22]),d(Ot,[2,36]),{26:[1,83]},{26:[1,84]},{5:Zt,34:se,50:85,51:le,53:ye},d(Ot,[2,40]),d(Ot,[2,41]),d(Ot,[2,42]),{27:86,66:X,67:J},{29:87,66:[1,88],67:[1,89]},{31:90,41:[1,91],42:[1,92],43:[1,93]},{33:94,44:[1,95],45:[1,96],46:[1,97],47:[1,98]},d(Ot,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},d(Ot,[2,39]),{5:[1,105]},{5:[1,106]},{5:[2,54]},{5:[2,55]},{5:[1,107]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[1,108]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[1,109]},{5:[2,58]},{5:[2,59]},{5:[1,110]},{5:[2,60]},{5:[2,61]},{5:Wt,24:111,25:jt,28:me,30:ge,32:pe,34:Dt},{5:Wt,24:112,25:jt,28:me,30:ge,32:pe,34:Dt},{5:Wt,24:113,25:jt,28:me,30:ge,32:pe,34:Dt},{5:Wt,24:114,25:jt,28:me,30:ge,32:pe,34:Dt},{5:Zt,34:se,50:115,51:le,53:ye},{5:Zt,34:se,50:116,51:le,53:ye},d(Ot,[2,17]),d(Ot,[2,18]),d(Ot,[2,19]),d(Ot,[2,20]),d(Ot,[2,37]),d(Ot,[2,38])],defaultActions:{5:[2,6],7:[2,2],11:[2,1],32:[2,3],33:[2,11],34:[2,12],35:[2,13],36:[2,14],37:[2,15],39:[2,50],40:[2,51],42:[2,56],43:[2,57],47:[2,8],88:[2,54],89:[2,55],91:[2,29],92:[2,30],93:[2,31],95:[2,32],96:[2,33],97:[2,34],98:[2,35],100:[2,58],101:[2,59],103:[2,60],104:[2,61]},parseError:function(te,at){if(!at.recoverable){var ne=new Error(te);throw ne.hash=at,ne}this.trace(te)},parse:function(te){var at=this,ne=[0],Mt=[],Xt=[null],Ht=[],Nt=this.table,oe="",tn=0,ve=0,De=0,ln=2,Xe=1,Ie=Ht.slice.call(arguments,1),Ae=Object.create(this.lexer),en={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(en.yy[Ue]=this.yy[Ue]);Ae.setInput(te,en.yy),en.yy.lexer=Ae,en.yy.parser=this,Ae.yylloc===void 0&&(Ae.yylloc={});var Ze=Ae.yylloc;Ht.push(Ze);var Qe=Ae.options&&Ae.options.ranges;function Le(){var wn;return typeof(wn=Mt.pop()||Ae.lex()||Xe)!="number"&&(wn instanceof Array&&(wn=(Mt=wn).pop()),wn=at.symbols_[wn]||wn),wn}typeof en.yy.parseError=="function"?this.parseError=en.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Yn,Me,an,vn,Or,bn,Kn,cn,gn,Ke={};;){if(an=ne[ne.length-1],this.defaultActions[an]?vn=this.defaultActions[an]:(Yn==null&&(Yn=Le()),vn=Nt[an]&&Nt[an][Yn]),vn===void 0||!vn.length||!vn[0]){var Tn="";for(bn in gn=[],Nt[an])this.terminals_[bn]&&bn>ln&&gn.push("'"+this.terminals_[bn]+"'");Tn=Ae.showPosition?"Parse error on line "+(tn+1)+`: +`+Ae.showPosition()+` +Expecting `+gn.join(", ")+", got '"+(this.terminals_[Yn]||Yn)+"'":"Parse error on line "+(tn+1)+": Unexpected "+(Yn==Xe?"end of input":"'"+(this.terminals_[Yn]||Yn)+"'"),this.parseError(Tn,{text:Ae.match,token:this.terminals_[Yn]||Yn,line:Ae.yylineno,loc:Ze,expected:gn})}if(vn[0]instanceof Array&&vn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+an+", token: "+Yn);switch(vn[0]){case 1:ne.push(Yn),Xt.push(Ae.yytext),Ht.push(Ae.yylloc),ne.push(vn[1]),Yn=null,Me?(Yn=Me,Me=null):(ve=Ae.yyleng,oe=Ae.yytext,tn=Ae.yylineno,Ze=Ae.yylloc,De>0);break;case 2:if(Kn=this.productions_[vn[1]][1],Ke.$=Xt[Xt.length-Kn],Ke._$={first_line:Ht[Ht.length-(Kn||1)].first_line,last_line:Ht[Ht.length-1].last_line,first_column:Ht[Ht.length-(Kn||1)].first_column,last_column:Ht[Ht.length-1].last_column},Qe&&(Ke._$.range=[Ht[Ht.length-(Kn||1)].range[0],Ht[Ht.length-1].range[1]]),(Or=this.performAction.apply(Ke,[oe,ve,tn,en.yy,vn[1],Xt,Ht].concat(Ie)))!==void 0)return Or;Kn&&(ne=ne.slice(0,-1*Kn*2),Xt=Xt.slice(0,-1*Kn),Ht=Ht.slice(0,-1*Kn)),ne.push(this.productions_[vn[1]][0]),Xt.push(Ke.$),Ht.push(Ke._$),cn=Nt[ne[ne.length-2]][ne[ne.length-1]],ne.push(cn);break;case 3:return!0}}return!0}},he={EOF:1,parseError:function(te,at){if(!this.yy.parser)throw new Error(te);this.yy.parser.parseError(te,at)},setInput:function(te,at){return this.yy=at||this.yy||{},this._input=te,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var te=this._input[0];return this.yytext+=te,this.yyleng++,this.offset++,this.match+=te,this.matched+=te,te.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),te},unput:function(te){var at=te.length,ne=te.split(/(?:\r\n?|\n)/g);this._input=te+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-at),this.offset-=at;var Mt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ne.length-1&&(this.yylineno-=ne.length-1);var Xt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ne?(ne.length===Mt.length?this.yylloc.first_column:0)+Mt[Mt.length-ne.length].length-ne[0].length:this.yylloc.first_column-at},this.options.ranges&&(this.yylloc.range=[Xt[0],Xt[0]+this.yyleng-at]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(te){this.unput(this.match.slice(te))},pastInput:function(){var te=this.matched.substr(0,this.matched.length-this.match.length);return(te.length>20?"...":"")+te.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var te=this.match;return te.length<20&&(te+=this._input.substr(0,20-te.length)),(te.substr(0,20)+(te.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var te=this.pastInput(),at=new Array(te.length+1).join("-");return te+this.upcomingInput()+` +`+at+"^"},test_match:function(te,at){var ne,Mt,Xt;if(this.options.backtrack_lexer&&(Xt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Xt.yylloc.range=this.yylloc.range.slice(0))),(Mt=te[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Mt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Mt?Mt[Mt.length-1].length-Mt[Mt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+te[0].length},this.yytext+=te[0],this.match+=te[0],this.matches=te,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(te[0].length),this.matched+=te[0],ne=this.performAction.call(this,this.yy,this,at,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ne)return ne;if(this._backtrack){for(var Ht in Xt)this[Ht]=Xt[Ht];return!1}return!1},next:function(){if(this.done)return this.EOF;var te,at,ne,Mt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Xt=this._currentRules(),Ht=0;Htat[0].length)){if(at=ne,Mt=Ht,this.options.backtrack_lexer){if((te=this.test_match(ne,Xt[Ht]))!==!1)return te;if(this._backtrack){at=!1;continue}return!1}if(!this.options.flex)break}return at?(te=this.test_match(at,Xt[Mt]))!==!1&&te:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(te){this.conditionStack.push(te)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(te){return(te=this.conditionStack.length-1-Math.abs(te||0))>=0?this.conditionStack[te]:"INITIAL"},pushState:function(te){this.begin(te)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(te,at,ne,Mt){switch(ne){case 0:return this.begin("open_directive"),14;case 1:return this.begin("type_directive"),15;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),17;case 4:return 16;case 5:return 5;case 6:case 7:case 8:break;case 9:return 8;case 10:return 6;case 11:return 23;case 12:return 34;case 13:return 26;case 14:return 25;case 15:return 28;case 16:return 30;case 17:return 32;case 18:return 35;case 19:return 36;case 20:return 37;case 21:return 38;case 22:return 39;case 23:return 40;case 24:return 41;case 25:return 42;case 26:return 43;case 27:return 44;case 28:return 45;case 29:return 46;case 30:return 47;case 31:return 48;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 62;case 36:return 63;case 37:return 64;case 38:return 65;case 39:return 51;case 40:return 53;case 41:return 55;case 42:return 58;case 43:return 57;case 44:this.begin("string");break;case 45:this.popState();break;case 46:return"qString";case 47:return at.yytext=at.yytext.trim(),66}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[45,46],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,47],inclusive:!0}}};function zt(){this.yy={}}return We.lexer=he,zt.prototype=We,We.Parser=zt,new zt}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(8800).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},6876:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(Ot,We,he,zt){for(he=he||{},zt=Ot.length;zt--;he[Ot[zt]]=We);return he},_=[1,2],g=[1,3],k=[1,5],C=[1,7],A=[2,5],I=[1,15],L=[1,17],Y=[1,18],q=[1,19],H=[1,21],V=[1,22],X=[1,23],J=[1,29],lt=[1,30],nt=[1,31],_t=[1,32],dt=[1,33],At=[1,34],st=[1,37],K=[1,38],mt=[1,39],St=[1,40],It=[1,41],ft=[1,42],vt=[1,45],Wt=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],jt=[1,58],me=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],ge=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],pe=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],Dt=[55,56,57],Zt=[1,4,5,7,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],se={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,activate:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,text2:31,loop:32,end:33,rect:34,opt:35,alt:36,else_sections:37,par:38,par_sections:39,and:40,else:41,note:42,placement:43,over:44,actor_pair:45,links:46,link:47,properties:48,details:49,spaceList:50,",":51,left_of:52,right_of:53,signaltype:54,"+":55,"-":56,ACTOR:57,SOLID_OPEN_ARROW:58,DOTTED_OPEN_ARROW:59,SOLID_ARROW:60,DOTTED_ARROW:61,SOLID_CROSS:62,DOTTED_CROSS:63,SOLID_POINT:64,DOTTED_POINT:65,TXT:66,open_directive:67,type_directive:68,arg_directive:69,close_directive:70,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"activate",24:"deactivate",30:"title",32:"loop",33:"end",34:"rect",35:"opt",36:"alt",38:"par",40:"and",41:"else",42:"note",44:"over",46:"links",47:"link",48:"properties",49:"details",51:",",52:"left_of",53:"right_of",55:"+",56:"-",57:"ACTOR",58:"SOLID_OPEN_ARROW",59:"DOTTED_OPEN_ARROW",60:"SOLID_ARROW",61:"DOTTED_ARROW",62:"SOLID_CROSS",63:"DOTTED_CROSS",64:"SOLID_POINT",65:"DOTTED_POINT",66:"TXT",67:"open_directive",68:"type_directive",69:"arg_directive",70:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[39,1],[39,4],[37,1],[37,4],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[50,2],[50,1],[45,3],[45,1],[43,1],[43,1],[21,5],[21,5],[21,4],[17,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[31,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(Ot,We,he,zt,te,at,ne){var Mt=at.length-1;switch(te){case 4:return zt.apply(at[Mt]),at[Mt];case 5:case 9:this.$=[];break;case 6:at[Mt-1].push(at[Mt]),this.$=at[Mt-1];break;case 7:case 8:case 45:this.$=at[Mt];break;case 12:at[Mt-3].type="addParticipant",at[Mt-3].description=zt.parseMessage(at[Mt-1]),this.$=at[Mt-3];break;case 13:at[Mt-1].type="addParticipant",this.$=at[Mt-1];break;case 14:at[Mt-3].type="addActor",at[Mt-3].description=zt.parseMessage(at[Mt-1]),this.$=at[Mt-3];break;case 15:at[Mt-1].type="addActor",this.$=at[Mt-1];break;case 17:zt.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:zt.LINETYPE.ACTIVE_START,actor:at[Mt-1]};break;case 19:this.$={type:"activeEnd",signalType:zt.LINETYPE.ACTIVE_END,actor:at[Mt-1]};break;case 25:this.$=[{type:"setTitle",text:at[Mt-1]}];break;case 26:at[Mt-1].unshift({type:"loopStart",loopText:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.LOOP_START}),at[Mt-1].push({type:"loopEnd",loopText:at[Mt-2],signalType:zt.LINETYPE.LOOP_END}),this.$=at[Mt-1];break;case 27:at[Mt-1].unshift({type:"rectStart",color:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.RECT_START}),at[Mt-1].push({type:"rectEnd",color:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.RECT_END}),this.$=at[Mt-1];break;case 28:at[Mt-1].unshift({type:"optStart",optText:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.OPT_START}),at[Mt-1].push({type:"optEnd",optText:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.OPT_END}),this.$=at[Mt-1];break;case 29:at[Mt-1].unshift({type:"altStart",altText:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.ALT_START}),at[Mt-1].push({type:"altEnd",signalType:zt.LINETYPE.ALT_END}),this.$=at[Mt-1];break;case 30:at[Mt-1].unshift({type:"parStart",parText:zt.parseMessage(at[Mt-2]),signalType:zt.LINETYPE.PAR_START}),at[Mt-1].push({type:"parEnd",signalType:zt.LINETYPE.PAR_END}),this.$=at[Mt-1];break;case 33:this.$=at[Mt-3].concat([{type:"and",parText:zt.parseMessage(at[Mt-1]),signalType:zt.LINETYPE.PAR_AND},at[Mt]]);break;case 35:this.$=at[Mt-3].concat([{type:"else",altText:zt.parseMessage(at[Mt-1]),signalType:zt.LINETYPE.ALT_ELSE},at[Mt]]);break;case 36:this.$=[at[Mt-1],{type:"addNote",placement:at[Mt-2],actor:at[Mt-1].actor,text:at[Mt]}];break;case 37:at[Mt-2]=[].concat(at[Mt-1],at[Mt-1]).slice(0,2),at[Mt-2][0]=at[Mt-2][0].actor,at[Mt-2][1]=at[Mt-2][1].actor,this.$=[at[Mt-1],{type:"addNote",placement:zt.PLACEMENT.OVER,actor:at[Mt-2].slice(0,2),text:at[Mt]}];break;case 38:this.$=[at[Mt-1],{type:"addLinks",actor:at[Mt-1].actor,text:at[Mt]}];break;case 39:this.$=[at[Mt-1],{type:"addALink",actor:at[Mt-1].actor,text:at[Mt]}];break;case 40:this.$=[at[Mt-1],{type:"addProperties",actor:at[Mt-1].actor,text:at[Mt]}];break;case 41:this.$=[at[Mt-1],{type:"addDetails",actor:at[Mt-1].actor,text:at[Mt]}];break;case 44:this.$=[at[Mt-2],at[Mt]];break;case 46:this.$=zt.PLACEMENT.LEFTOF;break;case 47:this.$=zt.PLACEMENT.RIGHTOF;break;case 48:this.$=[at[Mt-4],at[Mt-1],{type:"addMessage",from:at[Mt-4].actor,to:at[Mt-1].actor,signalType:at[Mt-3],msg:at[Mt]},{type:"activeStart",signalType:zt.LINETYPE.ACTIVE_START,actor:at[Mt-1]}];break;case 49:this.$=[at[Mt-4],at[Mt-1],{type:"addMessage",from:at[Mt-4].actor,to:at[Mt-1].actor,signalType:at[Mt-3],msg:at[Mt]},{type:"activeEnd",signalType:zt.LINETYPE.ACTIVE_END,actor:at[Mt-4]}];break;case 50:this.$=[at[Mt-3],at[Mt-1],{type:"addMessage",from:at[Mt-3].actor,to:at[Mt-1].actor,signalType:at[Mt-2],msg:at[Mt]}];break;case 51:this.$={type:"addParticipant",actor:at[Mt]};break;case 52:this.$=zt.LINETYPE.SOLID_OPEN;break;case 53:this.$=zt.LINETYPE.DOTTED_OPEN;break;case 54:this.$=zt.LINETYPE.SOLID;break;case 55:this.$=zt.LINETYPE.DOTTED;break;case 56:this.$=zt.LINETYPE.SOLID_CROSS;break;case 57:this.$=zt.LINETYPE.DOTTED_CROSS;break;case 58:this.$=zt.LINETYPE.SOLID_POINT;break;case 59:this.$=zt.LINETYPE.DOTTED_POINT;break;case 60:this.$=zt.parseMessage(at[Mt].trim().substring(1));break;case 61:zt.parseDirective("%%{","open_directive");break;case 62:zt.parseDirective(at[Mt],"type_directive");break;case 63:at[Mt]=at[Mt].trim().replace(/'/g,'"'),zt.parseDirective(at[Mt],"arg_directive");break;case 64:zt.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:_,5:g,6:4,7:k,11:6,67:C},{1:[3]},{3:8,4:_,5:g,6:4,7:k,11:6,67:C},{3:9,4:_,5:g,6:4,7:k,11:6,67:C},{3:10,4:_,5:g,6:4,7:k,11:6,67:C},d([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],A,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,34:nt,35:_t,36:dt,38:At,42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{13:43,14:[1,44],70:vt},d([14,70],[2,62]),d(Wt,[2,6]),{6:35,10:46,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,34:nt,35:_t,36:dt,38:At,42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},d(Wt,[2,8]),d(Wt,[2,9]),{17:47,57:ft},{17:48,57:ft},{5:[1,49]},d(Wt,[2,17]),{17:50,57:ft},{17:51,57:ft},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:jt},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},d(Wt,[2,31]),{54:64,58:[1,65],59:[1,66],60:[1,67],61:[1,68],62:[1,69],63:[1,70],64:[1,71],65:[1,72]},{43:73,44:[1,74],52:[1,75],53:[1,76]},{17:77,57:ft},{17:78,57:ft},{17:79,57:ft},{17:80,57:ft},d([5,18,51,58,59,60,61,62,63,64,65,66],[2,51]),{5:[1,81]},{15:82,69:[1,83]},{5:[2,64]},d(Wt,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},d(Wt,[2,16]),{5:[1,88]},{5:[1,89]},d(Wt,[2,20]),d(Wt,[2,21]),d(Wt,[2,22]),d(Wt,[2,23]),d(Wt,[2,24]),{5:[1,90]},{5:[2,60]},d(me,A,{8:91}),d(me,A,{8:92}),d(me,A,{8:93}),d(ge,A,{37:94,8:95}),d(pe,A,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:ft},d(Dt,[2,52]),d(Dt,[2,53]),d(Dt,[2,54]),d(Dt,[2,55]),d(Dt,[2,56]),d(Dt,[2,57]),d(Dt,[2,58]),d(Dt,[2,59]),{17:101,57:ft},{17:103,45:102,57:ft},{57:[2,46]},{57:[2,47]},{31:104,66:jt},{31:105,66:jt},{31:106,66:jt},{31:107,66:jt},d(Zt,[2,10]),{13:108,70:vt},{70:[2,63]},{19:[1,109]},d(Wt,[2,13]),{19:[1,110]},d(Wt,[2,15]),d(Wt,[2,18]),d(Wt,[2,19]),d(Wt,[2,25]),{4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,33:[1,111],34:nt,35:_t,36:dt,38:At,42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,33:[1,112],34:nt,35:_t,36:dt,38:At,42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,33:[1,113],34:nt,35:_t,36:dt,38:At,42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{33:[1,114]},{4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,33:[2,34],34:nt,35:_t,36:dt,38:At,41:[1,115],42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{33:[1,116]},{4:I,5:L,6:35,9:14,10:16,11:6,16:Y,17:36,20:q,21:20,22:H,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:J,32:lt,33:[2,32],34:nt,35:_t,36:dt,38:At,40:[1,117],42:st,46:K,47:mt,48:St,49:It,57:ft,67:C},{17:118,57:ft},{17:119,57:ft},{31:120,66:jt},{31:121,66:jt},{31:122,66:jt},{51:[1,123],66:[2,45]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},{5:[1,124]},{5:[1,125]},{5:[1,126]},d(Wt,[2,26]),d(Wt,[2,27]),d(Wt,[2,28]),d(Wt,[2,29]),{19:[1,127]},d(Wt,[2,30]),{19:[1,128]},{31:129,66:jt},{31:130,66:jt},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:ft},d(Zt,[2,11]),d(Wt,[2,12]),d(Wt,[2,14]),d(ge,A,{8:95,37:132}),d(pe,A,{8:97,39:133}),{5:[2,48]},{5:[2,49]},{66:[2,44]},{33:[2,35]},{33:[2,33]}],defaultActions:{7:[2,61],8:[2,1],9:[2,2],10:[2,3],45:[2,64],58:[2,60],75:[2,46],76:[2,47],83:[2,63],104:[2,38],105:[2,39],106:[2,40],107:[2,41],120:[2,50],121:[2,36],122:[2,37],129:[2,48],130:[2,49],131:[2,44],132:[2,35],133:[2,33]},parseError:function(Ot,We){if(!We.recoverable){var he=new Error(Ot);throw he.hash=We,he}this.trace(Ot)},parse:function(Ot){var We=this,he=[0],zt=[],te=[null],at=[],ne=this.table,Mt="",Xt=0,Ht=0,Nt=0,oe=2,tn=1,ve=at.slice.call(arguments,1),De=Object.create(this.lexer),ln={yy:{}};for(var Xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Xe)&&(ln.yy[Xe]=this.yy[Xe]);De.setInput(Ot,ln.yy),ln.yy.lexer=De,ln.yy.parser=this,De.yylloc===void 0&&(De.yylloc={});var Ie=De.yylloc;at.push(Ie);var Ae=De.options&&De.options.ranges;function en(){var cn;return typeof(cn=zt.pop()||De.lex()||tn)!="number"&&(cn instanceof Array&&(cn=(zt=cn).pop()),cn=We.symbols_[cn]||cn),cn}typeof ln.yy.parseError=="function"?this.parseError=ln.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Ue,Ze,Qe,Le,Yn,Me,an,vn,Or,bn={};;){if(Qe=he[he.length-1],this.defaultActions[Qe]?Le=this.defaultActions[Qe]:(Ue==null&&(Ue=en()),Le=ne[Qe]&&ne[Qe][Ue]),Le===void 0||!Le.length||!Le[0]){var Kn="";for(Me in Or=[],ne[Qe])this.terminals_[Me]&&Me>oe&&Or.push("'"+this.terminals_[Me]+"'");Kn=De.showPosition?"Parse error on line "+(Xt+1)+`: +`+De.showPosition()+` +Expecting `+Or.join(", ")+", got '"+(this.terminals_[Ue]||Ue)+"'":"Parse error on line "+(Xt+1)+": Unexpected "+(Ue==tn?"end of input":"'"+(this.terminals_[Ue]||Ue)+"'"),this.parseError(Kn,{text:De.match,token:this.terminals_[Ue]||Ue,line:De.yylineno,loc:Ie,expected:Or})}if(Le[0]instanceof Array&&Le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Qe+", token: "+Ue);switch(Le[0]){case 1:he.push(Ue),te.push(De.yytext),at.push(De.yylloc),he.push(Le[1]),Ue=null,Ze?(Ue=Ze,Ze=null):(Ht=De.yyleng,Mt=De.yytext,Xt=De.yylineno,Ie=De.yylloc,Nt>0);break;case 2:if(an=this.productions_[Le[1]][1],bn.$=te[te.length-an],bn._$={first_line:at[at.length-(an||1)].first_line,last_line:at[at.length-1].last_line,first_column:at[at.length-(an||1)].first_column,last_column:at[at.length-1].last_column},Ae&&(bn._$.range=[at[at.length-(an||1)].range[0],at[at.length-1].range[1]]),(Yn=this.performAction.apply(bn,[Mt,Ht,Xt,ln.yy,Le[1],te,at].concat(ve)))!==void 0)return Yn;an&&(he=he.slice(0,-1*an*2),te=te.slice(0,-1*an),at=at.slice(0,-1*an)),he.push(this.productions_[Le[1]][0]),te.push(bn.$),at.push(bn._$),vn=ne[he[he.length-2]][he[he.length-1]],he.push(vn);break;case 3:return!0}}return!0}},le={EOF:1,parseError:function(Ot,We){if(!this.yy.parser)throw new Error(Ot);this.yy.parser.parseError(Ot,We)},setInput:function(Ot,We){return this.yy=We||this.yy||{},this._input=Ot,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ot=this._input[0];return this.yytext+=Ot,this.yyleng++,this.offset++,this.match+=Ot,this.matched+=Ot,Ot.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ot},unput:function(Ot){var We=Ot.length,he=Ot.split(/(?:\r\n?|\n)/g);this._input=Ot+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-We),this.offset-=We;var zt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),he.length-1&&(this.yylineno-=he.length-1);var te=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:he?(he.length===zt.length?this.yylloc.first_column:0)+zt[zt.length-he.length].length-he[0].length:this.yylloc.first_column-We},this.options.ranges&&(this.yylloc.range=[te[0],te[0]+this.yyleng-We]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Ot){this.unput(this.match.slice(Ot))},pastInput:function(){var Ot=this.matched.substr(0,this.matched.length-this.match.length);return(Ot.length>20?"...":"")+Ot.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ot=this.match;return Ot.length<20&&(Ot+=this._input.substr(0,20-Ot.length)),(Ot.substr(0,20)+(Ot.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ot=this.pastInput(),We=new Array(Ot.length+1).join("-");return Ot+this.upcomingInput()+` +`+We+"^"},test_match:function(Ot,We){var he,zt,te;if(this.options.backtrack_lexer&&(te={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(te.yylloc.range=this.yylloc.range.slice(0))),(zt=Ot[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=zt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:zt?zt[zt.length-1].length-zt[zt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ot[0].length},this.yytext+=Ot[0],this.match+=Ot[0],this.matches=Ot,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ot[0].length),this.matched+=Ot[0],he=this.performAction.call(this,this.yy,this,We,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),he)return he;if(this._backtrack){for(var at in te)this[at]=te[at];return!1}return!1},next:function(){if(this.done)return this.EOF;var Ot,We,he,zt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var te=this._currentRules(),at=0;atWe[0].length)){if(We=he,zt=at,this.options.backtrack_lexer){if((Ot=this.test_match(he,te[at]))!==!1)return Ot;if(this._backtrack){We=!1;continue}return!1}if(!this.options.flex)break}return We?(Ot=this.test_match(We,te[zt]))!==!1&&Ot:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ot){this.conditionStack.push(Ot)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ot){return(Ot=this.conditionStack.length-1-Math.abs(Ot||0))>=0?this.conditionStack[Ot]:"INITIAL"},pushState:function(Ot){this.begin(Ot)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ot,We,he,zt){switch(he){case 0:return this.begin("open_directive"),67;case 1:return this.begin("type_directive"),68;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),70;case 4:return 69;case 5:case 39:case 52:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return this.begin("ID"),16;case 12:return this.begin("ID"),20;case 13:return We.yytext=We.yytext.trim(),this.begin("ALIAS"),57;case 14:return this.popState(),this.popState(),this.begin("LINE"),18;case 15:return this.popState(),this.popState(),5;case 16:return this.begin("LINE"),32;case 17:return this.begin("LINE"),34;case 18:return this.begin("LINE"),35;case 19:return this.begin("LINE"),36;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),38;case 22:return this.begin("LINE"),40;case 23:return this.popState(),19;case 24:return 33;case 25:return 52;case 26:return 53;case 27:return 46;case 28:return 47;case 29:return 48;case 30:return 49;case 31:return 44;case 32:return 42;case 33:return this.begin("ID"),23;case 34:return this.begin("ID"),24;case 35:return 30;case 36:return 7;case 37:return 22;case 38:return 51;case 40:return We.yytext=We.yytext.trim(),57;case 41:return 60;case 42:return 61;case 43:return 58;case 44:return 59;case 45:return 62;case 46:return 63;case 47:return 64;case 48:return 65;case 49:return 66;case 50:return 55;case 51:return 56;case 53:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,13],inclusive:!1},ALIAS:{rules:[7,8,14,15],inclusive:!1},LINE:{rules:[7,8,23],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function ye(){this.yy={}}return se.lexer=le,ye.prototype=se,se.Parser=ye,new ye}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(1993).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},3584:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(Dt,Zt,se,le){for(se=se||{},le=Dt.length;le--;se[Dt[le]]=Zt);return se},_=[1,2],g=[1,3],k=[1,5],C=[1,7],A=[2,5],I=[1,15],L=[1,17],Y=[1,19],q=[1,20],H=[1,21],V=[1,22],X=[1,30],J=[1,23],lt=[1,24],nt=[1,25],_t=[1,26],dt=[1,27],At=[1,32],st=[1,33],K=[1,34],mt=[1,35],St=[1,31],It=[1,38],ft=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],vt=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Wt=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],jt=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],me={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"-->":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,openDirective:31,typeDirective:32,closeDirective:33,":":34,argDirective:35,direction_tb:36,direction_bt:37,direction_rl:38,direction_lr:39,eol:40,";":41,EDGE_STATE:42,left_of:43,right_of:44,open_directive:45,type_directive:46,arg_directive:47,close_directive:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"-->",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",34:":",36:"direction_tb",37:"direction_bt",38:"direction_rl",39:"direction_lr",41:";",42:"EDGE_STATE",43:"left_of",44:"right_of",45:"open_directive",46:"type_directive",47:"arg_directive",48:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[40,1],[40,1],[11,1],[11,1],[28,1],[28,1],[31,1],[32,1],[35,1],[33,1]],performAction:function(Dt,Zt,se,le,ye,Ot,We){var he=Ot.length-1;switch(ye){case 4:return le.setRootDoc(Ot[he]),Ot[he];case 5:this.$=[];break;case 6:Ot[he]!="nl"&&(Ot[he-1].push(Ot[he]),this.$=Ot[he-1]);break;case 7:case 8:case 36:case 37:this.$=Ot[he];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:Ot[he],type:"default",description:""};break;case 11:this.$={stmt:"state",id:Ot[he-1],type:"default",description:le.trimColon(Ot[he])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:Ot[he-2],type:"default",description:""},state2:{stmt:"state",id:Ot[he],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:Ot[he-3],type:"default",description:""},state2:{stmt:"state",id:Ot[he-1],type:"default",description:""},description:Ot[he].substr(1).trim()};break;case 17:this.$={stmt:"state",id:Ot[he-3],type:"default",description:"",doc:Ot[he-1]};break;case 18:var zt=Ot[he],te=Ot[he-2].trim();if(Ot[he].match(":")){var at=Ot[he].split(":");zt=at[0],te=[te,at[1]]}this.$={stmt:"state",id:zt,type:"default",description:te};break;case 19:this.$={stmt:"state",id:Ot[he-3],type:"default",description:Ot[he-5],doc:Ot[he-1]};break;case 20:this.$={stmt:"state",id:Ot[he],type:"fork"};break;case 21:this.$={stmt:"state",id:Ot[he],type:"join"};break;case 22:this.$={stmt:"state",id:Ot[he],type:"choice"};break;case 23:this.$={stmt:"state",id:le.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:Ot[he-1].trim(),note:{position:Ot[he-2].trim(),text:Ot[he].trim()}};break;case 30:le.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:le.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:le.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:le.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:le.parseDirective("%%{","open_directive");break;case 41:le.parseDirective(Ot[he],"type_directive");break;case 42:Ot[he]=Ot[he].trim().replace(/'/g,'"'),le.parseDirective(Ot[he],"arg_directive");break;case 43:le.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:_,5:g,6:4,7:k,31:6,45:C},{1:[3]},{3:8,4:_,5:g,6:4,7:k,31:6,45:C},{3:9,4:_,5:g,6:4,7:k,31:6,45:C},{3:10,4:_,5:g,6:4,7:k,31:6,45:C},d([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],A,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:I,5:L,6:28,9:14,10:16,11:18,14:Y,15:q,17:H,20:V,22:X,23:J,24:lt,25:nt,26:_t,27:dt,30:29,31:6,36:At,37:st,38:K,39:mt,42:St,45:C},{33:36,34:[1,37],48:It},d([34,48],[2,41]),d(ft,[2,6]),{6:28,10:39,11:18,14:Y,15:q,17:H,20:V,22:X,23:J,24:lt,25:nt,26:_t,27:dt,30:29,31:6,36:At,37:st,38:K,39:mt,42:St,45:C},d(ft,[2,8]),d(ft,[2,9]),d(ft,[2,10],{12:[1,40],13:[1,41]}),d(ft,[2,14]),{16:[1,42]},d(ft,[2,16],{18:[1,43]}),{21:[1,44]},d(ft,[2,20]),d(ft,[2,21]),d(ft,[2,22]),d(ft,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},d(ft,[2,26]),d(ft,[2,27]),d(vt,[2,36]),d(vt,[2,37]),d(ft,[2,30]),d(ft,[2,31]),d(ft,[2,32]),d(ft,[2,33]),d(Wt,[2,28]),{35:49,47:[1,50]},d(Wt,[2,43]),d(ft,[2,7]),d(ft,[2,11]),{11:51,22:X,42:St},d(ft,[2,15]),d(jt,A,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:It},{48:[2,42]},d(ft,[2,12],{12:[1,57]}),{4:I,5:L,6:28,9:14,10:16,11:18,14:Y,15:q,17:H,19:[1,58],20:V,22:X,23:J,24:lt,25:nt,26:_t,27:dt,30:29,31:6,36:At,37:st,38:K,39:mt,42:St,45:C},d(ft,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},d(Wt,[2,29]),d(ft,[2,13]),d(ft,[2,17]),d(jt,A,{8:62}),d(ft,[2,24]),d(ft,[2,25]),{4:I,5:L,6:28,9:14,10:16,11:18,14:Y,15:q,17:H,19:[1,63],20:V,22:X,23:J,24:lt,25:nt,26:_t,27:dt,30:29,31:6,36:At,37:st,38:K,39:mt,42:St,45:C},d(ft,[2,19])],defaultActions:{7:[2,40],8:[2,1],9:[2,2],10:[2,3],47:[2,38],48:[2,39],50:[2,42]},parseError:function(Dt,Zt){if(!Zt.recoverable){var se=new Error(Dt);throw se.hash=Zt,se}this.trace(Dt)},parse:function(Dt){var Zt=this,se=[0],le=[],ye=[null],Ot=[],We=this.table,he="",zt=0,te=0,at=0,ne=2,Mt=1,Xt=Ot.slice.call(arguments,1),Ht=Object.create(this.lexer),Nt={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(Nt.yy[oe]=this.yy[oe]);Ht.setInput(Dt,Nt.yy),Nt.yy.lexer=Ht,Nt.yy.parser=this,Ht.yylloc===void 0&&(Ht.yylloc={});var tn=Ht.yylloc;Ot.push(tn);var ve=Ht.options&&Ht.options.ranges;function De(){var an;return typeof(an=le.pop()||Ht.lex()||Mt)!="number"&&(an instanceof Array&&(an=(le=an).pop()),an=Zt.symbols_[an]||an),an}typeof Nt.yy.parseError=="function"?this.parseError=Nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ln,Xe,Ie,Ae,en,Ue,Ze,Qe,Le,Yn={};;){if(Ie=se[se.length-1],this.defaultActions[Ie]?Ae=this.defaultActions[Ie]:(ln==null&&(ln=De()),Ae=We[Ie]&&We[Ie][ln]),Ae===void 0||!Ae.length||!Ae[0]){var Me="";for(Ue in Le=[],We[Ie])this.terminals_[Ue]&&Ue>ne&&Le.push("'"+this.terminals_[Ue]+"'");Me=Ht.showPosition?"Parse error on line "+(zt+1)+`: +`+Ht.showPosition()+` +Expecting `+Le.join(", ")+", got '"+(this.terminals_[ln]||ln)+"'":"Parse error on line "+(zt+1)+": Unexpected "+(ln==Mt?"end of input":"'"+(this.terminals_[ln]||ln)+"'"),this.parseError(Me,{text:Ht.match,token:this.terminals_[ln]||ln,line:Ht.yylineno,loc:tn,expected:Le})}if(Ae[0]instanceof Array&&Ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ie+", token: "+ln);switch(Ae[0]){case 1:se.push(ln),ye.push(Ht.yytext),Ot.push(Ht.yylloc),se.push(Ae[1]),ln=null,Xe?(ln=Xe,Xe=null):(te=Ht.yyleng,he=Ht.yytext,zt=Ht.yylineno,tn=Ht.yylloc,at>0);break;case 2:if(Ze=this.productions_[Ae[1]][1],Yn.$=ye[ye.length-Ze],Yn._$={first_line:Ot[Ot.length-(Ze||1)].first_line,last_line:Ot[Ot.length-1].last_line,first_column:Ot[Ot.length-(Ze||1)].first_column,last_column:Ot[Ot.length-1].last_column},ve&&(Yn._$.range=[Ot[Ot.length-(Ze||1)].range[0],Ot[Ot.length-1].range[1]]),(en=this.performAction.apply(Yn,[he,te,zt,Nt.yy,Ae[1],ye,Ot].concat(Xt)))!==void 0)return en;Ze&&(se=se.slice(0,-1*Ze*2),ye=ye.slice(0,-1*Ze),Ot=Ot.slice(0,-1*Ze)),se.push(this.productions_[Ae[1]][0]),ye.push(Yn.$),Ot.push(Yn._$),Qe=We[se[se.length-2]][se[se.length-1]],se.push(Qe);break;case 3:return!0}}return!0}},ge={EOF:1,parseError:function(Dt,Zt){if(!this.yy.parser)throw new Error(Dt);this.yy.parser.parseError(Dt,Zt)},setInput:function(Dt,Zt){return this.yy=Zt||this.yy||{},this._input=Dt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Dt=this._input[0];return this.yytext+=Dt,this.yyleng++,this.offset++,this.match+=Dt,this.matched+=Dt,Dt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Dt},unput:function(Dt){var Zt=Dt.length,se=Dt.split(/(?:\r\n?|\n)/g);this._input=Dt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Zt),this.offset-=Zt;var le=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),se.length-1&&(this.yylineno-=se.length-1);var ye=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:se?(se.length===le.length?this.yylloc.first_column:0)+le[le.length-se.length].length-se[0].length:this.yylloc.first_column-Zt},this.options.ranges&&(this.yylloc.range=[ye[0],ye[0]+this.yyleng-Zt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Dt){this.unput(this.match.slice(Dt))},pastInput:function(){var Dt=this.matched.substr(0,this.matched.length-this.match.length);return(Dt.length>20?"...":"")+Dt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Dt=this.match;return Dt.length<20&&(Dt+=this._input.substr(0,20-Dt.length)),(Dt.substr(0,20)+(Dt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Dt=this.pastInput(),Zt=new Array(Dt.length+1).join("-");return Dt+this.upcomingInput()+` +`+Zt+"^"},test_match:function(Dt,Zt){var se,le,ye;if(this.options.backtrack_lexer&&(ye={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ye.yylloc.range=this.yylloc.range.slice(0))),(le=Dt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=le.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:le?le[le.length-1].length-le[le.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Dt[0].length},this.yytext+=Dt[0],this.match+=Dt[0],this.matches=Dt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Dt[0].length),this.matched+=Dt[0],se=this.performAction.call(this,this.yy,this,Zt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),se)return se;if(this._backtrack){for(var Ot in ye)this[Ot]=ye[Ot];return!1}return!1},next:function(){if(this.done)return this.EOF;var Dt,Zt,se,le;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ye=this._currentRules(),Ot=0;OtZt[0].length)){if(Zt=se,le=Ot,this.options.backtrack_lexer){if((Dt=this.test_match(se,ye[Ot]))!==!1)return Dt;if(this._backtrack){Zt=!1;continue}return!1}if(!this.options.flex)break}return Zt?(Dt=this.test_match(Zt,ye[le]))!==!1&&Dt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Dt){this.conditionStack.push(Dt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Dt){return(Dt=this.conditionStack.length-1-Math.abs(Dt||0))>=0?this.conditionStack[Dt]:"INITIAL"},pushState:function(Dt){this.begin(Dt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Dt,Zt,se,le){switch(se){case 0:case 26:return 36;case 1:case 27:return 37;case 2:case 28:return 38;case 3:case 29:return 39;case 4:return this.begin("open_directive"),45;case 5:return this.begin("type_directive"),46;case 6:return this.popState(),this.begin("arg_directive"),34;case 7:return this.popState(),this.popState(),48;case 8:return 47;case 9:case 10:case 12:case 13:case 14:case 15:case 39:case 45:break;case 11:case 59:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 33:case 36:this.popState();break;case 19:this.pushState("STATE");break;case 20:case 23:return this.popState(),Zt.yytext=Zt.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),Zt.yytext=Zt.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),Zt.yytext=Zt.yytext.slice(0,-10).trim(),25;case 30:this.begin("STATE_STRING");break;case 31:return this.popState(),this.pushState("STATE_ID"),"AS";case 32:case 47:return this.popState(),"ID";case 34:return"STATE_DESCR";case 35:return 17;case 37:return this.popState(),this.pushState("struct"),18;case 38:return this.popState(),19;case 40:return this.begin("NOTE"),27;case 41:return this.popState(),this.pushState("NOTE_ID"),43;case 42:return this.popState(),this.pushState("NOTE_ID"),44;case 43:this.popState(),this.pushState("FLOATING_NOTE");break;case 44:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 46:return"NOTE_TEXT";case 48:return this.popState(),this.pushState("NOTE_TEXT"),22;case 49:return this.popState(),Zt.yytext=Zt.yytext.substr(2).trim(),29;case 50:return this.popState(),Zt.yytext=Zt.yytext.slice(0,-8).trim(),29;case 51:case 52:return 7;case 53:return 14;case 54:return 42;case 55:return 22;case 56:return Zt.yytext=Zt.yytext.trim(),12;case 57:return 13;case 58:return 26;case 60:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,19,26,27,28,29,38,39,40,54,55,56,57,58],inclusive:!1},FLOATING_NOTE_ID:{rules:[47],inclusive:!1},FLOATING_NOTE:{rules:[44,45,46],inclusive:!1},NOTE_TEXT:{rules:[49,50],inclusive:!1},NOTE_ID:{rules:[48],inclusive:!1},NOTE:{rules:[41,42,43],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[32],inclusive:!1},STATE_STRING:{rules:[33,34],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,20,21,22,23,24,25,30,31,35,36,37],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,37,40,51,52,53,54,55,56,57,59,60],inclusive:!0}}};function pe(){this.yy={}}return me.lexer=ge,pe.prototype=me,me.Parser=pe,new pe}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(3069).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},9763:(S,M,h)=>{S=h.nmd(S);var m=function(){var d=function(X,J,lt,nt){for(lt=lt||{},nt=X.length;nt--;lt[X[nt]]=J);return lt},_=[1,2],g=[1,5],k=[6,9,11,17,18,19,21],C=[1,15],A=[1,16],I=[1,17],L=[1,21],Y=[4,6,9,11,17,18,19,21],q={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,section:18,taskName:19,taskData:20,open_directive:21,type_directive:22,arg_directive:23,close_directive:24,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"section",19:"taskName",20:"taskData",21:"open_directive",22:"type_directive",23:"arg_directive",24:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(X,J,lt,nt,_t,dt,At){var st=dt.length-1;switch(_t){case 1:return dt[st-1];case 3:case 7:case 8:this.$=[];break;case 4:dt[st-1].push(dt[st]),this.$=dt[st-1];break;case 5:case 6:this.$=dt[st];break;case 11:nt.setTitle(dt[st].substr(6)),this.$=dt[st].substr(6);break;case 12:nt.addSection(dt[st].substr(8)),this.$=dt[st].substr(8);break;case 13:nt.addTask(dt[st-1],dt[st]),this.$="task";break;case 15:nt.parseDirective("%%{","open_directive");break;case 16:nt.parseDirective(dt[st],"type_directive");break;case 17:dt[st]=dt[st].trim().replace(/'/g,'"'),nt.parseDirective(dt[st],"arg_directive");break;case 18:nt.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:_,7:3,12:4,21:g},{1:[3]},d(k,[2,3],{5:6}),{3:7,4:_,7:3,12:4,21:g},{13:8,22:[1,9]},{22:[2,15]},{6:[1,10],7:18,8:11,9:[1,12],10:13,11:[1,14],12:4,17:C,18:A,19:I,21:g},{1:[2,2]},{14:19,15:[1,20],24:L},d([15,24],[2,16]),d(k,[2,8],{1:[2,1]}),d(k,[2,4]),{7:18,10:22,12:4,17:C,18:A,19:I,21:g},d(k,[2,6]),d(k,[2,7]),d(k,[2,11]),d(k,[2,12]),{20:[1,23]},d(k,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},d(k,[2,5]),d(k,[2,13]),d(Y,[2,9]),{14:27,24:L},{24:[2,17]},{11:[1,28]},d(Y,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(X,J){if(!J.recoverable){var lt=new Error(X);throw lt.hash=J,lt}this.trace(X)},parse:function(X){var J=this,lt=[0],nt=[],_t=[null],dt=[],At=this.table,st="",K=0,mt=0,St=0,It=2,ft=1,vt=dt.slice.call(arguments,1),Wt=Object.create(this.lexer),jt={yy:{}};for(var me in this.yy)Object.prototype.hasOwnProperty.call(this.yy,me)&&(jt.yy[me]=this.yy[me]);Wt.setInput(X,jt.yy),jt.yy.lexer=Wt,jt.yy.parser=this,Wt.yylloc===void 0&&(Wt.yylloc={});var ge=Wt.yylloc;dt.push(ge);var pe=Wt.options&&Wt.options.ranges;function Dt(){var Mt;return typeof(Mt=nt.pop()||Wt.lex()||ft)!="number"&&(Mt instanceof Array&&(Mt=(nt=Mt).pop()),Mt=J.symbols_[Mt]||Mt),Mt}typeof jt.yy.parseError=="function"?this.parseError=jt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Zt,se,le,ye,Ot,We,he,zt,te,at={};;){if(le=lt[lt.length-1],this.defaultActions[le]?ye=this.defaultActions[le]:(Zt==null&&(Zt=Dt()),ye=At[le]&&At[le][Zt]),ye===void 0||!ye.length||!ye[0]){var ne="";for(We in te=[],At[le])this.terminals_[We]&&We>It&&te.push("'"+this.terminals_[We]+"'");ne=Wt.showPosition?"Parse error on line "+(K+1)+`: +`+Wt.showPosition()+` +Expecting `+te.join(", ")+", got '"+(this.terminals_[Zt]||Zt)+"'":"Parse error on line "+(K+1)+": Unexpected "+(Zt==ft?"end of input":"'"+(this.terminals_[Zt]||Zt)+"'"),this.parseError(ne,{text:Wt.match,token:this.terminals_[Zt]||Zt,line:Wt.yylineno,loc:ge,expected:te})}if(ye[0]instanceof Array&&ye.length>1)throw new Error("Parse Error: multiple actions possible at state: "+le+", token: "+Zt);switch(ye[0]){case 1:lt.push(Zt),_t.push(Wt.yytext),dt.push(Wt.yylloc),lt.push(ye[1]),Zt=null,se?(Zt=se,se=null):(mt=Wt.yyleng,st=Wt.yytext,K=Wt.yylineno,ge=Wt.yylloc,St>0);break;case 2:if(he=this.productions_[ye[1]][1],at.$=_t[_t.length-he],at._$={first_line:dt[dt.length-(he||1)].first_line,last_line:dt[dt.length-1].last_line,first_column:dt[dt.length-(he||1)].first_column,last_column:dt[dt.length-1].last_column},pe&&(at._$.range=[dt[dt.length-(he||1)].range[0],dt[dt.length-1].range[1]]),(Ot=this.performAction.apply(at,[st,mt,K,jt.yy,ye[1],_t,dt].concat(vt)))!==void 0)return Ot;he&&(lt=lt.slice(0,-1*he*2),_t=_t.slice(0,-1*he),dt=dt.slice(0,-1*he)),lt.push(this.productions_[ye[1]][0]),_t.push(at.$),dt.push(at._$),zt=At[lt[lt.length-2]][lt[lt.length-1]],lt.push(zt);break;case 3:return!0}}return!0}},H={EOF:1,parseError:function(X,J){if(!this.yy.parser)throw new Error(X);this.yy.parser.parseError(X,J)},setInput:function(X,J){return this.yy=J||this.yy||{},this._input=X,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var X=this._input[0];return this.yytext+=X,this.yyleng++,this.offset++,this.match+=X,this.matched+=X,X.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),X},unput:function(X){var J=X.length,lt=X.split(/(?:\r\n?|\n)/g);this._input=X+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-J),this.offset-=J;var nt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),lt.length-1&&(this.yylineno-=lt.length-1);var _t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:lt?(lt.length===nt.length?this.yylloc.first_column:0)+nt[nt.length-lt.length].length-lt[0].length:this.yylloc.first_column-J},this.options.ranges&&(this.yylloc.range=[_t[0],_t[0]+this.yyleng-J]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(X){this.unput(this.match.slice(X))},pastInput:function(){var X=this.matched.substr(0,this.matched.length-this.match.length);return(X.length>20?"...":"")+X.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var X=this.match;return X.length<20&&(X+=this._input.substr(0,20-X.length)),(X.substr(0,20)+(X.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var X=this.pastInput(),J=new Array(X.length+1).join("-");return X+this.upcomingInput()+` +`+J+"^"},test_match:function(X,J){var lt,nt,_t;if(this.options.backtrack_lexer&&(_t={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_t.yylloc.range=this.yylloc.range.slice(0))),(nt=X[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=nt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:nt?nt[nt.length-1].length-nt[nt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+X[0].length},this.yytext+=X[0],this.match+=X[0],this.matches=X,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(X[0].length),this.matched+=X[0],lt=this.performAction.call(this,this.yy,this,J,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),lt)return lt;if(this._backtrack){for(var dt in _t)this[dt]=_t[dt];return!1}return!1},next:function(){if(this.done)return this.EOF;var X,J,lt,nt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var _t=this._currentRules(),dt=0;dt<_t.length;dt++)if((lt=this._input.match(this.rules[_t[dt]]))&&(!J||lt[0].length>J[0].length)){if(J=lt,nt=dt,this.options.backtrack_lexer){if((X=this.test_match(lt,_t[dt]))!==!1)return X;if(this._backtrack){J=!1;continue}return!1}if(!this.options.flex)break}return J?(X=this.test_match(J,_t[nt]))!==!1&&X:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(X){this.conditionStack.push(X)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(X){return(X=this.conditionStack.length-1-Math.abs(X||0))>=0?this.conditionStack[X]:"INITIAL"},pushState:function(X){this.begin(X)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(X,J,lt,nt){switch(lt){case 0:return this.begin("open_directive"),21;case 1:return this.begin("type_directive"),22;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),24;case 4:return 23;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 15:return 15;case 16:return 6;case 17:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};function V(){this.yy={}}return q.lexer=H,V.prototype=q,q.Parser=V,new V}();M.parser=m,M.Parser=m.Parser,M.parse=function(){return m.parse.apply(m,arguments)},M.main=function(d){d[1]||(console.log("Usage: "+d[0]+" FILE"),process.exit(1));var _=h(9143).readFileSync(h(6470).normalize(d[1]),"utf8");return M.parser.parse(_)},h.c[h.s]===S&&M.main(process.argv.slice(1))},9609:S=>{var M=/^(%20|\s)*(javascript|data)/im,h=/[^\x20-\x7E]/gim,m=/^([^:]+):/gm,d=[".","/"];S.exports={sanitizeUrl:function(_){if(!_)return"about:blank";var g,k,C=_.replace(h,"").trim();return function(A){return d.indexOf(A[0])>-1}(C)?C:(k=C.match(m))?(g=k[0],M.test(g)?"about:blank":C):"about:blank"}}},3841:S=>{S.exports=function(M,h){return M.intersect(h)}},7458:(S,M,h)=>{h.d(M,{Z:()=>b6});var m=h(1941),d=h.n(m),_={debug:1,info:2,warn:3,error:4,fatal:5},g={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},k=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"fatal";isNaN(t)&&(t=t.toLowerCase(),_[t]!==void 0&&(t=_[t])),g.trace=function(){},g.debug=function(){},g.info=function(){},g.warn=function(){},g.error=function(){},g.fatal=function(){},t<=_.fatal&&(g.fatal=console.error?console.error.bind(console,C("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",C("FATAL"))),t<=_.error&&(g.error=console.error?console.error.bind(console,C("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",C("ERROR"))),t<=_.warn&&(g.warn=console.warn?console.warn.bind(console,C("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",C("WARN"))),t<=_.info&&(g.info=console.info?console.info.bind(console,C("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",C("INFO"))),t<=_.debug&&(g.debug=console.debug?console.debug.bind(console,C("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",C("DEBUG")))},C=function(t){var e=d()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function A(t,e){let r;if(e===void 0)for(const a of t)a!=null&&(r=a)&&(r=a);else{let a=-1;for(let c of t)(c=e(c,++a,t))!=null&&(r=c)&&(r=c)}return r}function I(t,e){let r;if(e===void 0)for(const a of t)a!=null&&(r>a||r===void 0&&a>=a)&&(r=a);else{let a=-1;for(let c of t)(c=e(c,++a,t))!=null&&(r>c||r===void 0&&c>=c)&&(r=c)}return r}function L(t){return t}var Y=1e-6;function q(t){return"translate("+t+",0)"}function H(t){return"translate(0,"+t+")"}function V(t){return e=>+t(e)}function X(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function J(){return!this.__axis}function lt(t,e){var r=[],a=null,c=null,u=6,f=6,y=3,w=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,x=t===1||t===4?-1:1,D=t===4||t===2?"x":"y",j=t===1||t===3?q:H;function P(W){var ot=a==null?e.ticks?e.ticks.apply(e,r):e.domain():a,tt=c==null?e.tickFormat?e.tickFormat.apply(e,r):L:c,gt=Math.max(u,0)+y,ht=e.range(),wt=+ht[0]+w,Tt=+ht[ht.length-1]+w,Ft=(e.bandwidth?X:V)(e.copy(),w),Gt=W.selection?W.selection():W,Et=Gt.selectAll(".domain").data([null]),ee=Gt.selectAll(".tick").data(ot,e).order(),re=ee.exit(),kt=ee.enter().append("g").attr("class","tick"),Lt=ee.select("line"),Ct=ee.select("text");Et=Et.merge(Et.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ee=ee.merge(kt),Lt=Lt.merge(kt.append("line").attr("stroke","currentColor").attr(D+"2",x*u)),Ct=Ct.merge(kt.append("text").attr("fill","currentColor").attr(D,x*gt).attr("dy",t===1?"0em":t===3?"0.71em":"0.32em")),W!==Gt&&(Et=Et.transition(W),ee=ee.transition(W),Lt=Lt.transition(W),Ct=Ct.transition(W),re=re.transition(W).attr("opacity",Y).attr("transform",function(yt){return isFinite(yt=Ft(yt))?j(yt+w):this.getAttribute("transform")}),kt.attr("opacity",Y).attr("transform",function(yt){var Rt=this.parentNode.__axis;return j((Rt&&isFinite(Rt=Rt(yt))?Rt:Ft(yt))+w)})),re.remove(),Et.attr("d",t===4||t===2?f?"M"+x*f+","+wt+"H"+w+"V"+Tt+"H"+x*f:"M"+w+","+wt+"V"+Tt:f?"M"+wt+","+x*f+"V"+w+"H"+Tt+"V"+x*f:"M"+wt+","+w+"H"+Tt),ee.attr("opacity",1).attr("transform",function(yt){return j(Ft(yt)+w)}),Lt.attr(D+"2",x*u),Ct.attr(D,x*gt).text(tt),Gt.filter(J).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===2?"start":t===4?"end":"middle"),Gt.each(function(){this.__axis=Ft})}return P.scale=function(W){return arguments.length?(e=W,P):e},P.ticks=function(){return r=Array.from(arguments),P},P.tickArguments=function(W){return arguments.length?(r=W==null?[]:Array.from(W),P):r.slice()},P.tickValues=function(W){return arguments.length?(a=W==null?null:Array.from(W),P):a&&a.slice()},P.tickFormat=function(W){return arguments.length?(c=W,P):c},P.tickSize=function(W){return arguments.length?(u=f=+W,P):u},P.tickSizeInner=function(W){return arguments.length?(u=+W,P):u},P.tickSizeOuter=function(W){return arguments.length?(f=+W,P):f},P.tickPadding=function(W){return arguments.length?(y=+W,P):y},P.offset=function(W){return arguments.length?(w=+W,P):w},P}function nt(){}function _t(t){return t==null?nt:function(){return this.querySelector(t)}}function dt(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function At(){return[]}function st(t){return t==null?At:function(){return this.querySelectorAll(t)}}function K(t){return function(){return this.matches(t)}}function mt(t){return function(e){return e.matches(t)}}var St=Array.prototype.find;function It(){return this.firstElementChild}var ft=Array.prototype.filter;function vt(){return Array.from(this.children)}function Wt(t){return new Array(t.length)}function jt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function me(t){return function(){return t}}function ge(t,e,r,a,c,u){for(var f,y=0,w=e.length,x=u.length;ye?1:t>=e?0:NaN}jt.prototype={constructor:jt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var le="http://www.w3.org/1999/xhtml";const ye={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ot(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),ye.hasOwnProperty(e)?{space:ye[e],local:t}:t}function We(t){return function(){this.removeAttribute(t)}}function he(t){return function(){this.removeAttributeNS(t.space,t.local)}}function zt(t,e){return function(){this.setAttribute(t,e)}}function te(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function at(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function ne(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function Mt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Xt(t){return function(){this.style.removeProperty(t)}}function Ht(t,e,r){return function(){this.style.setProperty(t,e,r)}}function Nt(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function oe(t,e){return t.style.getPropertyValue(e)||Mt(t).getComputedStyle(t,null).getPropertyValue(e)}function tn(t){return function(){delete this[t]}}function ve(t,e){return function(){this[t]=e}}function De(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function ln(t){return t.trim().split(/^|\s+/)}function Xe(t){return t.classList||new Ie(t)}function Ie(t){this._node=t,this._names=ln(t.getAttribute("class")||"")}function Ae(t,e){for(var r=Xe(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function kn(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Jn=[null];function An(t,e){this._groups=t,this._parents=e}function Ln(){return new An([[document.documentElement]],Jn)}An.prototype=Ln.prototype={constructor:An,select:function(t){typeof t!="function"&&(t=_t(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=Gt&&(Gt=Ft+1);!(Tt=gt[Gt])&&++Gt=0;)(a=c[u])&&(f&&4^a.compareDocumentPosition(f)&&f.parentNode.insertBefore(a,f),f=a);return this},sort:function(t){function e(j,P){return j&&P?t(j.__data__,P.__data__):!j-!P}t||(t=se);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?Xt:typeof e=="function"?Nt:Ht)(t,e,r==null?"":r)):oe(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?tn:typeof e=="function"?De:ve)(t,e)):this.node()[t]},classed:function(t,e){var r=ln(t+"");if(arguments.length<2){for(var a=Xe(this.node()),c=-1,u=r.length;++c{}};function mn(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function Ii(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--Br})()}finally{Br=0,function(){for(var t,e,r=oa,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:oa=e);ni=t,eo(a)}(),Sr=0}}function ca(){var t=Lr.now(),e=t-Xr;e>1e3&&(Zr-=e,Xr=t)}function eo(t){Br||(Fr&&(Fr=clearTimeout(Fr)),t-Sr>24?(t<1/0&&(Fr=setTimeout(Qr,t-Lr.now()-Zr)),$r&&($r=clearInterval($r))):($r||(Xr=Lr.now(),$r=setInterval(ca,1e3)),Br=1,Ci(Qr)))}function oi(t,e,r){var a=new Hr;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}Hr.prototype=sa.prototype={constructor:Hr,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?ai():+r)+(e==null?0:+e),this._next||ni===this||(ni?ni._next=this:oa=this,ni=this),this._call=t,this._time=r,eo()},stop:function(){this._call&&(this._call=null,this._time=1/0,eo())}};var on=po("start","end","cancel","interrupt"),Gn=[];function En(t,e,r,a,c,u){var f=t.__transition;if(f){if(r in f)return}else t.__transition={};(function(y,w,x){var D,j=y.__transition;function P(tt){var gt,ht,wt,Tt;if(x.state!==1)return ot();for(gt in j)if((Tt=j[gt]).name===x.name){if(Tt.state===3)return oi(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",y,y.__data__,Tt.index,Tt.group),delete j[gt]):+gt0)throw new Error("too late; already scheduled");return r}function Xn(t,e){var r=pt(t,e);if(r.state>3)throw new Error("too late; already running");return r}function pt(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Vr(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var Qt,Si=180/Math.PI,Wi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ba(t,e,r,a,c,u){var f,y,w;return(f=Math.sqrt(t*t+e*e))&&(t/=f,e/=f),(w=t*r+e*a)&&(r-=t*w,a-=e*w),(y=Math.sqrt(r*r+a*a))&&(r/=y,a/=y,w/=y),t*a180?D+=360:D-x>180&&(x+=360),P.push({i:j.push(c(j)+"rotate(",null,a)-2,x:Vr(x,D)})):D&&j.push(c(j)+"rotate("+D+a)}(u.rotate,f.rotate,y,w),function(x,D,j,P){x!==D?P.push({i:j.push(c(j)+"skewX(",null,a)-2,x:Vr(x,D)}):D&&j.push(c(j)+"skewX("+D+a)}(u.skewX,f.skewX,y,w),function(x,D,j,P,W,ot){if(x!==j||D!==P){var tt=W.push(c(W)+"scale(",null,",",null,")");ot.push({i:tt-4,x:Vr(x,j)},{i:tt-2,x:Vr(D,P)})}else j===1&&P===1||W.push(c(W)+"scale("+j+","+P+")")}(u.scaleX,u.scaleY,f.scaleX,f.scaleY,y,w),u=f=null,function(x){for(var D,j=-1,P=w.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?Jr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?Jr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Gr.exec(t))?new Yr(e[1],e[2],e[3],1):(e=Vi.exec(t))?new Yr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ri.exec(t))?Jr(e[1],e[2],e[3],e[4]):(e=Ai.exec(t))?Jr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ro.exec(t))?io(e[1],e[2]/100,e[3]/100,1):(e=Bt.exec(t))?io(e[1],e[2]/100,e[3]/100,e[4]):qe.hasOwnProperty(t)?pi(qe[t]):t==="transparent"?new Yr(NaN,NaN,NaN,0):null}function pi(t){return new Yr(t>>16&255,t>>8&255,255&t,1)}function Jr(t,e,r,a){return a<=0&&(t=e=r=NaN),new Yr(t,e,r,a)}function gs(t){return t instanceof pr||(t=vr(t)),t?new Yr((t=t.rgb()).r,t.g,t.b,t.opacity):new Yr}function ea(t,e,r,a){return arguments.length===1?gs(t):new Yr(t,e,r,a==null?1:a)}function Yr(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function Vs(){return"#"+Ec(this.r)+Ec(this.g)+Ec(this.b)}function Ia(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function Ec(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function io(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Fi(t,e,r,a)}function Cc(t){if(t instanceof Fi)return new Fi(t.h,t.s,t.l,t.opacity);if(t instanceof pr||(t=vr(t)),!t)return new Fi;if(t instanceof Fi)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),f=NaN,y=u-c,w=(u+c)/2;return y?(f=e===u?(r-a)/y+6*(r0&&w<1?0:f,new Fi(f,y,w,t.opacity)}function Fi(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function ti(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Ta(pr,vr,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ye,formatHex:Ye,formatHsl:function(){return Cc(this).formatHsl()},formatRgb:gr,toString:gr}),Ta(Yr,ea,La(pr,{brighter:function(t){return t=t==null?di:Math.pow(di,t),new Yr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Tr:Math.pow(Tr,t),new Yr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Vs,formatHex:Vs,formatRgb:Ia,toString:Ia})),Ta(Fi,function(t,e,r,a){return arguments.length===1?Cc(t):new Fi(t,e,r,a==null?1:a)},La(pr,{brighter:function(t){return t=t==null?di:Math.pow(di,t),new Fi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Tr:Math.pow(Tr,t),new Fi(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Yr(ti(t>=240?t-240:t+120,c,a),ti(t,c,a),ti(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const pu=t=>()=>t;function gu(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):pu(isNaN(t)?e:t)}const yu=function t(e){var r=function(c){return(c=+c)==1?gu:function(u,f){return f-u?function(y,w,x){return y=Math.pow(y,x),w=Math.pow(w,x)-y,x=1/x,function(D){return Math.pow(y+D*w,x)}}(u,f,c):pu(isNaN(u)?f:u)}}(e);function a(c,u){var f=r((c=ea(c)).r,(u=ea(u)).r),y=r(c.g,u.g),w=r(c.b,u.b),x=gu(c.opacity,u.opacity);return function(D){return c.r=f(D),c.g=y(D),c.b=w(D),c.opacity=x(D),c+""}}return a.gamma=t,a}(1);var Ra=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mu=new RegExp(Ra.source,"g");function vu(t,e){var r,a,c,u=Ra.lastIndex=mu.lastIndex=0,f=-1,y=[],w=[];for(t+="",e+="";(r=Ra.exec(t))&&(a=mu.exec(e));)(c=a.index)>u&&(c=e.slice(u,c),y[f]?y[f]+=c:y[++f]=c),(r=r[0])===(a=a[0])?y[f]?y[f]+=a:y[++f]=a:(y[++f]=null,w.push({i:f,x:Vr(r,a)})),u=mu.lastIndex;return u=0&&(y=y.slice(0,w)),!y||y==="start"})}(e)?Re:Xn;return function(){var f=u(this,t),y=f.on;y!==a&&(c=(a=y).copy()).on(e,r),f.on=c}}var Rf=un.prototype.constructor;function ua(t){return function(){this.style.removeProperty(t)}}function Ff(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function jl(t,e,r){var a,c;function u(){var f=e.apply(this,arguments);return f!==c&&(a=(c=f)&&Ff(t,f,r)),a}return u._value=e,u}function Yl(t){return function(e){this.textContent=t.call(this,e)}}function vo(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&Yl(c)),e}return a._value=t,a}var Mc=0;function Pa(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function Nc(){return++Mc}var la=un.prototype;Pa.prototype={constructor:Pa,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=_t(t));for(var a=this._groups,c=a.length,u=new Array(c),f=0;f2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete f[u]):y=!1;y&&delete e.__transition}})(this,t)})},un.prototype.transition=function(t){var e,r;t instanceof Pa?(e=t._id,t=t._name):(e=Nc(),(r=ys).time=ai(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;u>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?cr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?cr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=$.exec(t))?new or(e[1],e[2],e[3],1):(e=it.exec(t))?new or(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=$t.exec(t))?cr(e[1],e[2],e[3],e[4]):(e=de.exec(t))?cr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=we.exec(t))?S0(e[1],e[2]/100,e[3]/100,1):(e=Ne.exec(t))?S0(e[1],e[2]/100,e[3]/100,e[4]):Oe.hasOwnProperty(t)?fn(Oe[t]):t==="transparent"?new or(NaN,NaN,NaN,0):null}function fn(t){return new or(t>>16&255,t>>8&255,255&t,1)}function cr(t,e,r,a){return a<=0&&(t=e=r=NaN),new or(t,e,r,a)}function ur(t){return t instanceof ci||(t=xn(t)),t?new or((t=t.rgb()).r,t.g,t.b,t.opacity):new or}function Mr(t,e,r,a){return arguments.length===1?ur(t):new or(t,e,r,a==null?1:a)}function or(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function ha(){return"#"+zl(this.r)+zl(this.g)+zl(this.b)}function ms(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function zl(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function S0(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new _o(t,e,r,a)}function Ul(t){if(t instanceof _o)return new _o(t.h,t.s,t.l,t.opacity);if(t instanceof ci||(t=xn(t)),!t)return new _o;if(t instanceof _o)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),f=NaN,y=u-c,w=(u+c)/2;return y?(f=e===u?(r-a)/y+6*(r0&&w<1?0:f,new _o(f,y,w,t.opacity)}function _o(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function ql(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}bo(ci,xn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ze,formatHex:ze,formatHsl:function(){return Ul(this).formatHsl()},formatRgb:Ve,toString:Ve}),bo(or,Mr,Pi(ci,{brighter:function(t){return t=t==null?Ca:Math.pow(Ca,t),new or(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?ja:Math.pow(ja,t),new or(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ha,formatHex:ha,formatRgb:ms,toString:ms})),bo(_o,function(t,e,r,a){return arguments.length===1?Ul(t):new _o(t,e,r,a==null?1:a)},Pi(ci,{brighter:function(t){return t=t==null?Ca:Math.pow(Ca,t),new _o(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?ja:Math.pow(ja,t),new _o(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new or(ql(t>=240?t-240:t+120,c,a),ql(t,c,a),ql(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const ey=Math.PI/180,ny=180/Math.PI,A0=.96422,M0=.82521,ry=4/29,N0=6/29,Pf=3*N0*N0;function D0(t){if(t instanceof qo)return new qo(t.l,t.a,t.b,t.opacity);if(t instanceof vs)return iy(t);t instanceof or||(t=ur(t));var e,r,a=I0(t.r),c=I0(t.g),u=I0(t.b),f=O0((.2225045*a+.7168786*c+.0606169*u)/1);return a===c&&c===u?e=r=f:(e=O0((.4360747*a+.3850649*c+.1430804*u)/A0),r=O0((.0139322*a+.0971045*c+.7141733*u)/M0)),new qo(116*f-16,500*(e-f),200*(f-r),t.opacity)}function qo(t,e,r,a){this.l=+t,this.a=+e,this.b=+r,this.opacity=+a}function O0(t){return t>.008856451679035631?Math.pow(t,1/3):t/Pf+ry}function B0(t){return t>N0?t*t*t:Pf*(t-ry)}function L0(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function I0(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Sb(t){if(t instanceof vs)return new vs(t.h,t.c,t.l,t.opacity);if(t instanceof qo||(t=D0(t)),t.a===0&&t.b===0)return new vs(NaN,0()=>t;function ay(t,e){return function(r){return t+r*e}}function Hl(t,e){var r=e-t;return r?ay(t,r):F0(isNaN(t)?e:t)}function Ab(t){return function(e,r){var a=t((e=R0(e)).h,(r=R0(r)).h),c=Hl(e.c,r.c),u=Hl(e.l,r.l),f=Hl(e.opacity,r.opacity);return function(y){return e.h=a(y),e.c=c(y),e.l=u(y),e.opacity=f(y),e+""}}}const Mb=Ab(function(t,e){var r=e-t;return r?ay(t,r>180||r<-180?r-360*Math.round(r/360):r):F0(isNaN(t)?e:t)});var P0=Math.sqrt(50),j0=Math.sqrt(10),Y0=Math.sqrt(2);function z0(t,e,r){var a=(e-t)/Math.max(0,r),c=Math.floor(Math.log(a)/Math.LN10),u=a/Math.pow(10,c);return c>=0?(u>=P0?10:u>=j0?5:u>=Y0?2:1)*Math.pow(10,c):-Math.pow(10,-c)/(u>=P0?10:u>=j0?5:u>=Y0?2:1)}function U0(t,e,r){var a=Math.abs(e-t)/Math.max(0,r),c=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),u=a/c;return u>=P0?c*=10:u>=j0?c*=5:u>=Y0&&(c*=2),ee?1:t>=e?0:NaN}function H0(t){let e=t,r=t,a=t;function c(u,f,y=0,w=u.length){if(y>>1;a(u[x],f)<0?y=x+1:w=x}while(yt(u)-f,r=q0,a=(u,f)=>q0(t(u),f)),{left:c,center:function(u,f,y=0,w=u.length){const x=c(u,f,y,w-1);return x>y&&e(u[x-1],f)>-e(u[x],f)?x-1:x},right:function(u,f,y=0,w=u.length){if(y>>1;a(u[x],f)<=0?y=x+1:w=x}while(y>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?Hf(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?Hf(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Bb.exec(t))?new Ya(e[1],e[2],e[3],1):(e=$0.exec(t))?new Ya(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Lb.exec(t))?Hf(e[1],e[2],e[3],e[4]):(e=oy.exec(t))?Hf(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=V0.exec(t))?cy(e[1],e[2]/100,e[3]/100,1):(e=sy.exec(t))?cy(e[1],e[2]/100,e[3]/100,e[4]):Uf.hasOwnProperty(t)?qf(Uf[t]):t==="transparent"?new Ya(NaN,NaN,NaN,0):null}function qf(t){return new Ya(t>>16&255,t>>8&255,255&t,1)}function Hf(t,e,r,a){return a<=0&&(t=e=r=NaN),new Ya(t,e,r,a)}function Wf(t){return t instanceof Wo||(t=wu(t)),t?new Ya((t=t.rgb()).r,t.g,t.b,t.opacity):new Ya}function ku(t,e,r,a){return arguments.length===1?Wf(t):new Ya(t,e,r,a==null?1:a)}function Ya(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function Vo(){return"#"+$f(this.r)+$f(this.g)+$f(this.b)}function G0(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function $f(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function cy(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Sa(t,e,r,a)}function uy(t){if(t instanceof Sa)return new Sa(t.h,t.s,t.l,t.opacity);if(t instanceof Wo||(t=wu(t)),!t)return new Sa;if(t instanceof Sa)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),f=NaN,y=u-c,w=(u+c)/2;return y?(f=e===u?(r-a)/y+6*(r0&&w<1?0:f,new Sa(f,y,w,t.opacity)}function Sa(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function X0(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}jf(Wo,wu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Oc,formatHex:Oc,formatHsl:function(){return uy(this).formatHsl()},formatRgb:Bc,toString:Bc}),jf(Ya,ku,W0(Wo,{brighter:function(t){return t=t==null?zf:Math.pow(zf,t),new Ya(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Yf:Math.pow(Yf,t),new Ya(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Vo,formatHex:Vo,formatRgb:G0,toString:G0})),jf(Sa,function(t,e,r,a){return arguments.length===1?uy(t):new Sa(t,e,r,a==null?1:a)},W0(Wo,{brighter:function(t){return t=t==null?zf:Math.pow(zf,t),new Sa(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Yf:Math.pow(Yf,t),new Sa(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Ya(X0(t>=240?t-240:t+120,c,a),X0(t,c,a),X0(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Z0=t=>()=>t;function ly(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):Z0(isNaN(t)?e:t)}const Vf=function t(e){var r=function(c){return(c=+c)==1?ly:function(u,f){return f-u?function(y,w,x){return y=Math.pow(y,x),w=Math.pow(w,x)-y,x=1/x,function(D){return Math.pow(y+D*w,x)}}(u,f,c):Z0(isNaN(u)?f:u)}}(e);function a(c,u){var f=r((c=ku(c)).r,(u=ku(u)).r),y=r(c.g,u.g),w=r(c.b,u.b),x=ly(c.opacity,u.opacity);return function(D){return c.r=f(D),c.g=y(D),c.b=w(D),c.opacity=x(D),c+""}}return a.gamma=t,a}(1);function Ib(t,e){var r,a=e?e.length:0,c=t?Math.min(a,t.length):0,u=new Array(c),f=new Array(a);for(r=0;ru&&(c=e.slice(u,c),y[f]?y[f]+=c:y[++f]=c),(r=r[0])===(a=a[0])?y[f]?y[f]+=a:y[++f]=a:(y[++f]=null,w.push({i:f,x:Gf(r,a)})),u=Wl.lastIndex;return uW&&(ot=P,P=W,W=ot),x=function(gt){return Math.max(P,Math.min(W,gt))}),a=tt>2?tp:Pb,c=u=null,j}function j(P){return P==null||isNaN(P=+P)?r:(c||(c=a(f.map(t),y,w)))(t(x(P)))}return j.invert=function(P){return x(e((u||(u=a(y,f.map(t),Gf)))(P)))},j.domain=function(P){return arguments.length?(f=Array.from(P,dy),D()):f.slice()},j.range=function(P){return arguments.length?(y=Array.from(P),D()):y.slice()},j.rangeRound=function(P){return y=Array.from(P),w=Zf,D()},j.clamp=function(P){return arguments.length?(x=!!P||Tu,D()):x!==Tu},j.interpolate=function(P){return arguments.length?(w=P,D()):w},j.unknown=function(P){return arguments.length?(r=P,j):r},function(P,W){return t=P,e=W,D()}}()(Tu,Tu)}function bs(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var py,ep=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function $l(t){if(!(e=ep.exec(t)))throw new Error("invalid format: "+t);var e;return new _s({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function _s(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}function Jf(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,a=t.slice(0,r);return[a.length>1?a[0]+a.slice(2):a,+t.slice(r+1)]}function Eu(t){return(t=Jf(Math.abs(t)))?t[1]:NaN}function gy(t,e){var r=Jf(t,e);if(!r)return t+"";var a=r[0],c=r[1];return c<0?"0."+new Array(-c).join("0")+a:a.length>c+1?a.slice(0,c+1)+"."+a.slice(c+1):a+new Array(c-a.length+2).join("0")}$l.prototype=_s.prototype,_s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const yy={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>gy(100*t,e),r:gy,s:function(t,e){var r=Jf(t,e);if(!r)return t+"";var a=r[0],c=r[1],u=c-(py=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,f=a.length;return u===f?a:u>f?a+new Array(u-f+1).join("0"):u>0?a.slice(0,u)+"."+a.slice(u):"0."+new Array(1-u).join("0")+Jf(t,Math.max(0,e+u-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function my(t){return t}var np,za,Vl,rp=Array.prototype.map,xs=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function jb(t){var e=t.domain;return t.ticks=function(r){var a=e();return function(c,u,f){var y,w,x,D,j=-1;if(f=+f,(c=+c)==(u=+u)&&f>0)return[c];if((y=u0){let P=Math.round(c/D),W=Math.round(u/D);for(P*Du&&--W,x=new Array(w=W-P+1);++ju&&--W,x=new Array(w=W-P+1);++j0;){if((c=z0(w,x,r))===a)return u[f]=w,u[y]=x,e(u);if(c>0)w=Math.floor(w/c)*c,x=Math.ceil(x/c)*c;else{if(!(c<0))break;w=Math.ceil(w*c)/c,x=Math.floor(x*c)/c}a=c}return t},t}function vy(){var t=Kf();return t.copy=function(){return Qf(t,vy())},bs.apply(t,arguments),jb(t)}np=function(t){var e,r,a=t.grouping===void 0||t.thousands===void 0?my:(e=rp.call(t.grouping,Number),r=t.thousands+"",function(P,W){for(var ot=P.length,tt=[],gt=0,ht=e[0],wt=0;ot>0&&ht>0&&(wt+ht+1>W&&(ht=Math.max(1,W-wt)),tt.push(P.substring(ot-=ht,ot+ht)),!((wt+=ht+1)>W));)ht=e[gt=(gt+1)%e.length];return tt.reverse().join(r)}),c=t.currency===void 0?"":t.currency[0]+"",u=t.currency===void 0?"":t.currency[1]+"",f=t.decimal===void 0?".":t.decimal+"",y=t.numerals===void 0?my:function(P){return function(W){return W.replace(/[0-9]/g,function(ot){return P[+ot]})}}(rp.call(t.numerals,String)),w=t.percent===void 0?"%":t.percent+"",x=t.minus===void 0?"\u2212":t.minus+"",D=t.nan===void 0?"NaN":t.nan+"";function j(P){var W=(P=$l(P)).fill,ot=P.align,tt=P.sign,gt=P.symbol,ht=P.zero,wt=P.width,Tt=P.comma,Ft=P.precision,Gt=P.trim,Et=P.type;Et==="n"?(Tt=!0,Et="g"):yy[Et]||(Ft===void 0&&(Ft=12),Gt=!0,Et="g"),(ht||W==="0"&&ot==="=")&&(ht=!0,W="0",ot="=");var ee=gt==="$"?c:gt==="#"&&/[boxX]/.test(Et)?"0"+Et.toLowerCase():"",re=gt==="$"?u:/[%p]/.test(Et)?w:"",kt=yy[Et],Lt=/[defgprs%]/.test(Et);function Ct(yt){var Rt,bt,xe,Te=ee,Ut=re;if(Et==="c")Ut=kt(yt)+Ut,yt="";else{var Ee=(yt=+yt)<0||1/yt<0;if(yt=isNaN(yt)?D:kt(Math.abs(yt),Ft),Gt&&(yt=function(fe){t:for(var je,Fe=fe.length,Je=1,yn=-1;Je0&&(yn=0)}return yn>0?fe.slice(0,yn)+fe.slice(je+1):fe}(yt)),Ee&&+yt==0&&tt!=="+"&&(Ee=!1),Te=(Ee?tt==="("?tt:x:tt==="-"||tt==="("?"":tt)+Te,Ut=(Et==="s"?xs[8+py/3]:"")+Ut+(Ee&&tt==="("?")":""),Lt){for(Rt=-1,bt=yt.length;++Rt(xe=yt.charCodeAt(Rt))||xe>57){Ut=(xe===46?f+yt.slice(Rt+1):yt.slice(Rt))+Ut,yt=yt.slice(0,Rt);break}}}Tt&&!ht&&(yt=a(yt,1/0));var Ce=Te.length+yt.length+Ut.length,_e=Ce>1)+Te+yt+Ut+_e.slice(Ce);break;default:yt=_e+Te+yt+Ut}return y(yt)}return Ft=Ft===void 0?6:/[gprs]/.test(Et)?Math.max(1,Math.min(21,Ft)):Math.max(0,Math.min(20,Ft)),Ct.toString=function(){return P+""},Ct}return{format:j,formatPrefix:function(P,W){var ot=j(((P=$l(P)).type="f",P)),tt=3*Math.max(-8,Math.min(8,Math.floor(Eu(W)/3))),gt=Math.pow(10,-tt),ht=xs[8+tt/3];return function(wt){return ot(gt*wt)+ht}}}}({thousands:",",grouping:[3],currency:["$",""]}),za=np.format,Vl=np.formatPrefix;class by extends Map{constructor(e,r=_y){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[a,c]of e)this.set(a,c)}get(e){return super.get(ip(this,e))}has(e){return super.has(ip(this,e))}set(e,r){return super.set(function({_intern:a,_key:c},u){const f=c(u);return a.has(f)?a.get(f):(a.set(f,u),u)}(this,e),r)}delete(e){return super.delete(function({_intern:r,_key:a},c){const u=a(c);return r.has(u)&&(c=r.get(u),r.delete(u)),c}(this,e))}}function ip({_intern:t,_key:e},r){const a=e(r);return t.has(a)?t.get(a):r}function _y(t){return t!==null&&typeof t=="object"?t.valueOf():t}const Gl=Symbol("implicit");function Zs(){var t=new by,e=[],r=[],a=Gl;function c(u){let f=t.get(u);if(f===void 0){if(a!==Gl)return a;t.set(u,f=e.push(u)-1)}return r[f%r.length]}return c.domain=function(u){if(!arguments.length)return e.slice();e=[],t=new by;for(const f of u)t.has(f)||t.set(f,e.push(f)-1);return c},c.range=function(u){return arguments.length?(r=Array.from(u),c):r.slice()},c.unknown=function(u){return arguments.length?(a=u,c):a},c.copy=function(){return Zs(e,r).unknown(a)},bs.apply(c,arguments),c}const Cu=1e3,Qs=6e4,Xl=36e5,ap=864e5,op=6048e5,t1=31536e6;var e1=new Date,n1=new Date;function Mi(t,e,r,a){function c(u){return t(u=arguments.length===0?new Date:new Date(+u)),u}return c.floor=function(u){return t(u=new Date(+u)),u},c.ceil=function(u){return t(u=new Date(u-1)),e(u,1),t(u),u},c.round=function(u){var f=c(u),y=c.ceil(u);return u-f0))return x;do x.push(w=new Date(+u)),e(u,y),t(u);while(w=f)for(;t(f),!u(f);)f.setTime(f-1)},function(f,y){if(f>=f)if(y<0)for(;++y<=0;)for(;e(f,-1),!u(f););else for(;--y>=0;)for(;e(f,1),!u(f););})},r&&(c.count=function(u,f){return e1.setTime(+u),n1.setTime(+f),t(e1),t(n1),Math.floor(r(e1,n1))},c.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?c.filter(a?function(f){return a(f)%u==0}:function(f){return c.count(0,f)%u==0}):c:null}),c}var r1=Mi(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});r1.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Mi(function(e){e.setTime(Math.floor(e/t)*t)},function(e,r){e.setTime(+e+r*t)},function(e,r){return(r-e)/t}):r1:null};const sp=r1;var xy=Mi(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*Cu)},function(t,e){return(e-t)/Cu},function(t){return t.getUTCSeconds()});const Su=xy;var Yb=Mi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Cu)},function(t,e){t.setTime(+t+e*Qs)},function(t,e){return(e-t)/Qs},function(t){return t.getMinutes()});const Zl=Yb;var xo=Mi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Cu-t.getMinutes()*Qs)},function(t,e){t.setTime(+t+e*Xl)},function(t,e){return(e-t)/Xl},function(t){return t.getHours()});const i1=xo;var cp=Mi(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Qs)/ap,t=>t.getDate()-1);const Au=cp;function ws(t){return Mi(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Qs)/op})}var a1=ws(0),up=ws(1);ws(2),ws(3);var Ks=ws(4);ws(5),ws(6);var Go=Mi(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});const lp=Go;var hp=Mi(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});hp.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Mi(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const ks=hp;Mi(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Qs)},function(t,e){return(e-t)/Qs},function(t){return t.getUTCMinutes()}),Mi(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*Xl)},function(t,e){return(e-t)/Xl},function(t){return t.getUTCHours()});var fp=Mi(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/ap},function(t){return t.getUTCDate()-1});const Ql=fp;function wo(t){return Mi(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/op})}var wy=wo(0),o1=wo(1);wo(2),wo(3);var Mu=wo(4);wo(5),wo(6),Mi(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});var ky=Mi(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});ky.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Mi(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const fa=ky;function Lc(t,e,r,a,c,u){const f=[[Su,1,Cu],[Su,5,5e3],[Su,15,15e3],[Su,30,3e4],[u,1,Qs],[u,5,3e5],[u,15,9e5],[u,30,18e5],[c,1,Xl],[c,3,108e5],[c,6,216e5],[c,12,432e5],[a,1,ap],[a,2,1728e5],[r,1,op],[e,1,2592e6],[e,3,7776e6],[t,1,t1]];function y(w,x,D){const j=Math.abs(x-w)/D,P=H0(([,,tt])=>tt).right(f,j);if(P===f.length)return t.every(U0(w/t1,x/t1,D));if(P===0)return sp.every(Math.max(U0(w,x,D),1));const[W,ot]=f[j/f[P-1][2][e.toLowerCase(),r]))}function s1(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.w=+a[0],r+a[0].length):-1}function yp(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.u=+a[0],r+a[0].length):-1}function qb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.U=+a[0],r+a[0].length):-1}function Hb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.V=+a[0],r+a[0].length):-1}function Wb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.W=+a[0],r+a[0].length):-1}function Cy(t,e,r){var a=Ni.exec(e.slice(r,r+4));return a?(t.y=+a[0],r+a[0].length):-1}function Sy(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.y=+a[0]+(+a[0]>68?1900:2e3),r+a[0].length):-1}function Ay(t,e,r){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return a?(t.Z=a[1]?0:-(a[2]+(a[3]||"00")),r+a[0].length):-1}function mp(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.q=3*a[0]-3,r+a[0].length):-1}function My(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.m=a[0]-1,r+a[0].length):-1}function vp(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.d=+a[0],r+a[0].length):-1}function Aa(t,e,r){var a=Ni.exec(e.slice(r,r+3));return a?(t.m=0,t.d=+a[0],r+a[0].length):-1}function nh(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.H=+a[0],r+a[0].length):-1}function Ic(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.M=+a[0],r+a[0].length):-1}function Ny(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.S=+a[0],r+a[0].length):-1}function $b(t,e,r){var a=Ni.exec(e.slice(r,r+3));return a?(t.L=+a[0],r+a[0].length):-1}function Vb(t,e,r){var a=Ni.exec(e.slice(r,r+6));return a?(t.L=Math.floor(a[0]/1e3),r+a[0].length):-1}function Gb(t,e,r){var a=pp.exec(e.slice(r,r+1));return a?r+a[0].length:-1}function Xb(t,e,r){var a=Ni.exec(e.slice(r));return a?(t.Q=+a[0],r+a[0].length):-1}function Zb(t,e,r){var a=Ni.exec(e.slice(r));return a?(t.s=+a[0],r+a[0].length):-1}function Dy(t,e){return br(t.getDate(),e,2)}function Rc(t,e){return br(t.getHours(),e,2)}function Oy(t,e){return br(t.getHours()%12||12,e,2)}function Qb(t,e){return br(1+Au.count(ks(t),t),e,3)}function By(t,e){return br(t.getMilliseconds(),e,3)}function Kb(t,e){return By(t,e)+"000"}function Jb(t,e){return br(t.getMonth()+1,e,2)}function t4(t,e){return br(t.getMinutes(),e,2)}function e4(t,e){return br(t.getSeconds(),e,2)}function n4(t){var e=t.getDay();return e===0?7:e}function r4(t,e){return br(a1.count(ks(t)-1,t),e,2)}function Ly(t){var e=t.getDay();return e>=4||e===0?Ks(t):Ks.ceil(t)}function i4(t,e){return t=Ly(t),br(Ks.count(ks(t),t)+(ks(t).getDay()===4),e,2)}function a4(t){return t.getDay()}function Iy(t,e){return br(up.count(ks(t)-1,t),e,2)}function o4(t,e){return br(t.getFullYear()%100,e,2)}function s4(t,e){return br((t=Ly(t)).getFullYear()%100,e,2)}function Ry(t,e){return br(t.getFullYear()%1e4,e,4)}function Fy(t,e){var r=t.getDay();return br((t=r>=4||r===0?Ks(t):Ks.ceil(t)).getFullYear()%1e4,e,4)}function Py(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+br(e/60|0,"0",2)+br(e%60,"0",2)}function jy(t,e){return br(t.getUTCDate(),e,2)}function c4(t,e){return br(t.getUTCHours(),e,2)}function Yy(t,e){return br(t.getUTCHours()%12||12,e,2)}function Js(t,e){return br(1+Ql.count(fa(t),t),e,3)}function zy(t,e){return br(t.getUTCMilliseconds(),e,3)}function u4(t,e){return zy(t,e)+"000"}function Uy(t,e){return br(t.getUTCMonth()+1,e,2)}function l4(t,e){return br(t.getUTCMinutes(),e,2)}function h4(t,e){return br(t.getUTCSeconds(),e,2)}function qy(t){var e=t.getUTCDay();return e===0?7:e}function c1(t,e){return br(wy.count(fa(t)-1,t),e,2)}function Hy(t){var e=t.getUTCDay();return e>=4||e===0?Mu(t):Mu.ceil(t)}function rh(t,e){return t=Hy(t),br(Mu.count(fa(t),t)+(fa(t).getUTCDay()===4),e,2)}function f4(t){return t.getUTCDay()}function bp(t,e){return br(o1.count(fa(t)-1,t),e,2)}function d4(t,e){return br(t.getUTCFullYear()%100,e,2)}function p4(t,e){return br((t=Hy(t)).getUTCFullYear()%100,e,2)}function Wy(t,e){return br(t.getUTCFullYear()%1e4,e,4)}function Nu(t,e){var r=t.getUTCDay();return br((t=r>=4||r===0?Mu(t):Mu.ceil(t)).getUTCFullYear()%1e4,e,4)}function g4(){return"+0000"}function _p(){return"%"}function $y(t){return+t}function Vy(t){return Math.floor(+t/1e3)}function y4(t){return new Date(t)}function m4(t){return t instanceof Date?+t:+new Date(+t)}function Gy(t,e,r,a,c,u,f,y,w,x){var D=Kf(),j=D.invert,P=D.domain,W=x(".%L"),ot=x(":%S"),tt=x("%I:%M"),gt=x("%I %p"),ht=x("%a %d"),wt=x("%b %d"),Tt=x("%B"),Ft=x("%Y");function Gt(Et){return(w(Et)=12)]},q:function(kt){return 1+~~(kt.getMonth()/3)},Q:$y,s:Vy,S:e4,u:n4,U:r4,V:i4,w:a4,W:Iy,x:null,X:null,y:o4,Y:Ry,Z:Py,"%":_p},Ft={a:function(kt){return f[kt.getUTCDay()]},A:function(kt){return u[kt.getUTCDay()]},b:function(kt){return w[kt.getUTCMonth()]},B:function(kt){return y[kt.getUTCMonth()]},c:null,d:jy,e:jy,f:u4,g:p4,G:Nu,H:c4,I:Yy,j:Js,L:zy,m:Uy,M:l4,p:function(kt){return c[+(kt.getUTCHours()>=12)]},q:function(kt){return 1+~~(kt.getUTCMonth()/3)},Q:$y,s:Vy,S:h4,u:qy,U:c1,V:rh,w:f4,W:bp,x:null,X:null,y:d4,Y:Wy,Z:g4,"%":_p},Gt={a:function(kt,Lt,Ct){var yt=W.exec(Lt.slice(Ct));return yt?(kt.w=ot.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},A:function(kt,Lt,Ct){var yt=j.exec(Lt.slice(Ct));return yt?(kt.w=P.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},b:function(kt,Lt,Ct){var yt=ht.exec(Lt.slice(Ct));return yt?(kt.m=wt.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},B:function(kt,Lt,Ct){var yt=tt.exec(Lt.slice(Ct));return yt?(kt.m=gt.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},c:function(kt,Lt,Ct){return re(kt,e,Lt,Ct)},d:vp,e:vp,f:Vb,g:Sy,G:Cy,H:nh,I:nh,j:Aa,L:$b,m:My,M:Ic,p:function(kt,Lt,Ct){var yt=x.exec(Lt.slice(Ct));return yt?(kt.p=D.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},q:mp,Q:Xb,s:Zb,S:Ny,u:yp,U:qb,V:Hb,w:s1,W:Wb,x:function(kt,Lt,Ct){return re(kt,r,Lt,Ct)},X:function(kt,Lt,Ct){return re(kt,a,Lt,Ct)},y:Sy,Y:Cy,Z:Ay,"%":Gb};function Et(kt,Lt){return function(Ct){var yt,Rt,bt,xe=[],Te=-1,Ut=0,Ee=kt.length;for(Ct instanceof Date||(Ct=new Date(+Ct));++Te53)return null;"w"in bt||(bt.w=1),"Z"in bt?(Rt=(yt=dp(Kl(bt.y,0,1))).getUTCDay(),yt=Rt>4||Rt===0?o1.ceil(yt):o1(yt),yt=Ql.offset(yt,7*(bt.V-1)),bt.y=yt.getUTCFullYear(),bt.m=yt.getUTCMonth(),bt.d=yt.getUTCDate()+(bt.w+6)%7):(Rt=(yt=Xo(Kl(bt.y,0,1))).getDay(),yt=Rt>4||Rt===0?up.ceil(yt):up(yt),yt=Au.offset(yt,7*(bt.V-1)),bt.y=yt.getFullYear(),bt.m=yt.getMonth(),bt.d=yt.getDate()+(bt.w+6)%7)}else("W"in bt||"U"in bt)&&("w"in bt||(bt.w="u"in bt?bt.u%7:"W"in bt?1:0),Rt="Z"in bt?dp(Kl(bt.y,0,1)).getUTCDay():Xo(Kl(bt.y,0,1)).getDay(),bt.m=0,bt.d="W"in bt?(bt.w+6)%7+7*bt.W-(Rt+5)%7:bt.w+7*bt.U-(Rt+6)%7);return"Z"in bt?(bt.H+=bt.Z/100|0,bt.M+=bt.Z%100,dp(bt)):Xo(bt)}}function re(kt,Lt,Ct,yt){for(var Rt,bt,xe=0,Te=Lt.length,Ut=Ct.length;xe=Ut)return-1;if((Rt=Lt.charCodeAt(xe++))===37){if(Rt=Lt.charAt(xe++),!(bt=Gt[Rt in Zo?Lt.charAt(xe++):Rt])||(yt=bt(kt,Ct,yt))<0)return-1}else if(Rt!=Ct.charCodeAt(yt++))return-1}return yt}return Tt.x=Et(r,Tt),Tt.X=Et(a,Tt),Tt.c=Et(e,Tt),Ft.x=Et(r,Ft),Ft.X=Et(a,Ft),Ft.c=Et(e,Ft),{format:function(kt){var Lt=Et(kt+="",Tt);return Lt.toString=function(){return kt},Lt},parse:function(kt){var Lt=ee(kt+="",!1);return Lt.toString=function(){return kt},Lt},utcFormat:function(kt){var Lt=Et(kt+="",Ft);return Lt.toString=function(){return kt},Lt},utcParse:function(kt){var Lt=ee(kt+="",!0);return Lt.toString=function(){return kt},Lt}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Ey=Jl.format,Jl.parse,Jl.utcFormat,Jl.utcParse;var _4=Array.prototype.find;function x4(){return this.firstElementChild}var wp=Array.prototype.filter;function w4(){return Array.from(this.children)}function Ky(t){return new Array(t.length)}function u1(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function k4(t){return function(){return t}}function Di(t,e,r,a,c,u){for(var f,y=0,w=e.length,x=u.length;ye?1:t>=e?0:NaN}u1.prototype={constructor:u1,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var kp="http://www.w3.org/1999/xhtml";const ih={svg:"http://www.w3.org/2000/svg",xhtml:kp,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ou(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),ih.hasOwnProperty(e)?{space:ih[e],local:t}:t}function tm(t){return function(){this.removeAttribute(t)}}function pa(t){return function(){this.removeAttributeNS(t.space,t.local)}}function E4(t,e){return function(){this.setAttribute(t,e)}}function C4(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function S4(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function A4(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function Tp(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function M4(t){return function(){this.style.removeProperty(t)}}function N4(t,e,r){return function(){this.style.setProperty(t,e,r)}}function D4(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function Bu(t,e){return t.style.getPropertyValue(e)||Tp(t).getComputedStyle(t,null).getPropertyValue(e)}function O4(t){return function(){delete this[t]}}function B4(t,e){return function(){this[t]=e}}function L4(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function em(t){return t.trim().split(/^|\s+/)}function Ep(t){return t.classList||new ah(t)}function ah(t){this._node=t,this._names=em(t.getAttribute("class")||"")}function Fc(t,e){for(var r=Ep(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function hm(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Lu=[null];function Nr(t,e){this._groups=t,this._parents=e}function Ir(){return new Nr([[document.documentElement]],Lu)}Nr.prototype=Ir.prototype={constructor:Nr,select:function(t){typeof t!="function"&&(t=Du(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=Gt&&(Gt=Ft+1);!(Tt=gt[Gt])&&++Gt=0;)(a=c[u])&&(f&&4^a.compareDocumentPosition(f)&&f.parentNode.insertBefore(a,f),f=a);return this},sort:function(t){function e(j,P){return j&&P?t(j.__data__,P.__data__):!j-!P}t||(t=T4);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?M4:typeof e=="function"?D4:N4)(t,e,r==null?"":r)):Bu(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?O4:typeof e=="function"?L4:B4)(t,e)):this.node()[t]},classed:function(t,e){var r=em(t+"");if(arguments.length<2){for(var a=Ep(this.node()),c=-1,u=r.length;++cQo)if(Math.abs(D*y-w*x)>Qo&&c){var P=r-u,W=a-f,ot=y*y+w*w,tt=P*P+W*W,gt=Math.sqrt(ot),ht=Math.sqrt(j),wt=c*Math.tan((Xi-Math.acos((ot+j-tt)/(2*gt*ht)))/2),Tt=wt/ht,Ft=wt/gt;Math.abs(Tt-1)>Qo&&(this._+="L"+(t+Tt*x)+","+(e+Tt*D)),this._+="A"+c+","+c+",0,0,"+ +(D*P>x*W)+","+(this._x1=t+Ft*y)+","+(this._y1=e+Ft*w)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,r,a,c,u){t=+t,e=+e,u=!!u;var f=(r=+r)*Math.cos(a),y=r*Math.sin(a),w=t+f,x=e+y,D=1^u,j=u?a-c:c-a;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+w+","+x:(Math.abs(this._x1-w)>Qo||Math.abs(this._y1-x)>Qo)&&(this._+="L"+w+","+x),r&&(j<0&&(j=j%hn+hn),j>fm?this._+="A"+r+","+r+",0,1,"+D+","+(t-f)+","+(e-y)+"A"+r+","+r+",0,1,"+D+","+(this._x1=w)+","+(this._y1=x):j>Qo&&(this._+="A"+r+","+r+",0,"+ +(j>=Xi)+","+D+","+(this._x1=t+r*Math.cos(c))+","+(this._y1=e+r*Math.sin(c))))},rect:function(t,e,r,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +a+"h"+-r+"Z"},toString:function(){return this._}};const sn=g1;function _r(t){return function(){return t}}var yi=Math.abs,ji=Math.atan2,rc=Math.cos,ga=Math.max,y1=Math.min,xr=Math.sin,Ts=Math.sqrt,ya=1e-12,Ru=Math.PI,Fu=Ru/2,ch=2*Ru;function ko(t){return t>1?0:t<-1?Ru:Math.acos(t)}function Mp(t){return t>=1?Fu:t<=-1?-Fu:Math.asin(t)}function dm(t){return t.innerRadius}function Np(t){return t.outerRadius}function Dp(t){return t.startAngle}function Op(t){return t.endAngle}function m1(t){return t&&t.padAngle}function v1(t,e,r,a,c,u,f,y){var w=r-t,x=a-e,D=f-c,j=y-u,P=j*w-D*x;if(!(P*Pbt*bt+xe*xe&&(re=Lt,kt=Ct),{cx:re,cy:kt,x01:-D,y01:-j,x11:re*(c/Gt-1),y11:kt*(c/Gt-1)}}function Bp(){var t=dm,e=Np,r=_r(0),a=null,c=Dp,u=Op,f=m1,y=null;function w(){var x,D,j=+t.apply(this,arguments),P=+e.apply(this,arguments),W=c.apply(this,arguments)-Fu,ot=u.apply(this,arguments)-Fu,tt=yi(ot-W),gt=ot>W;if(y||(y=x=sn()),Pya)if(tt>ch-ya)y.moveTo(P*rc(W),P*xr(W)),y.arc(0,0,P,W,ot,!gt),j>ya&&(y.moveTo(j*rc(ot),j*xr(ot)),y.arc(0,0,j,ot,W,gt));else{var ht,wt,Tt=W,Ft=ot,Gt=W,Et=ot,ee=tt,re=tt,kt=f.apply(this,arguments)/2,Lt=kt>ya&&(a?+a.apply(this,arguments):Ts(j*j+P*P)),Ct=y1(yi(P-j)/2,+r.apply(this,arguments)),yt=Ct,Rt=Ct;if(Lt>ya){var bt=Mp(Lt/j*xr(kt)),xe=Mp(Lt/P*xr(kt));(ee-=2*bt)>ya?(Gt+=bt*=gt?1:-1,Et-=bt):(ee=0,Gt=Et=(W+ot)/2),(re-=2*xe)>ya?(Tt+=xe*=gt?1:-1,Ft-=xe):(re=0,Tt=Ft=(W+ot)/2)}var Te=P*rc(Tt),Ut=P*xr(Tt),Ee=j*rc(Et),Ce=j*xr(Et);if(Ct>ya){var _e,fe=P*rc(Ft),je=P*xr(Ft),Fe=j*rc(Gt),Je=j*xr(Gt);if(ttya?Rt>ya?(ht=Ua(Fe,Je,Te,Ut,P,Rt,gt),wt=Ua(fe,je,Ee,Ce,P,Rt,gt),y.moveTo(ht.cx+ht.x01,ht.cy+ht.y01),Rtya&&ee>ya?yt>ya?(ht=Ua(Ee,Ce,fe,je,j,-yt,gt),wt=Ua(Te,Ut,Fe,Je,j,-yt,gt),y.lineTo(ht.cx+ht.x01,ht.cy+ht.y01),ytt?1:e>=t?0:NaN}function Pu(t){return t}function ju(){}function Pc(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function uh(t){this._context=t}function Rr(t){return new uh(t)}function ma(t){this._context=t}function ri(t){this._context=t}function Ma(t){this._context=t}function ic(t){return t<0?-1:1}function Lp(t,e,r){var a=t._x1-t._x0,c=e-t._x1,u=(t._y1-t._y0)/(a||c<0&&-0),f=(r-t._y1)/(c||a<0&&-0),y=(u*c+f*a)/(a+c);return(ic(u)+ic(f))*Math.min(Math.abs(u),Math.abs(f),.5*Math.abs(y))||0}function Ip(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function ac(t,e,r){var a=t._x0,c=t._y0,u=t._x1,f=t._y1,y=(u-a)/3;t._context.bezierCurveTo(a+y,c+y*e,u-y,f-y*r,u,f)}function To(t){this._context=t}function Ko(t){this._context=new Yu(t)}function Yu(t){this._context=t}function lh(t){this._context=t}function hh(t){var e,r,a=t.length-1,c=new Array(a),u=new Array(a),f=new Array(a);for(c[0]=0,u[0]=2,f[0]=t[0]+2*t[1],e=1;e=0;--e)c[e]=(f[e]-c[e+1])/u[e];for(u[a-1]=(t[a]+c[a-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var zu=new Date,Uu=new Date;function so(t,e,r,a){function c(u){return t(u=arguments.length===0?new Date:new Date(+u)),u}return c.floor=function(u){return t(u=new Date(+u)),u},c.ceil=function(u){return t(u=new Date(u-1)),e(u,1),t(u),u},c.round=function(u){var f=c(u),y=c.ceil(u);return u-f0))return x;do x.push(w=new Date(+u)),e(u,y),t(u);while(w=f)for(;t(f),!u(f);)f.setTime(f-1)},function(f,y){if(f>=f)if(y<0)for(;++y<=0;)for(;e(f,-1),!u(f););else for(;--y>=0;)for(;e(f,1),!u(f););})},r&&(c.count=function(u,f){return zu.setTime(+u),Uu.setTime(+f),t(zu),t(Uu),Math.floor(r(zu,Uu))},c.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?c.filter(a?function(f){return a(f)%u==0}:function(f){return c.count(0,f)%u==0}):c:null}),c}const fh=864e5,x1=6048e5;function Es(t){return so(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/x1})}var Rp=Es(0),w1=Es(1);Es(2),Es(3);var qu=Es(4);Es(5),Es(6);var va=so(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/fh},function(t){return t.getUTCDate()-1});const na=va;function mi(t){return so(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-6e4*(r.getTimezoneOffset()-e.getTimezoneOffset()))/x1})}var dh=mi(0),Eo=mi(1);mi(2),mi(3);var Yc=mi(4);mi(5),mi(6);var ym=so(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/fh,t=>t.getDate()-1);const Fp=ym;var Pp=so(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Pp.every=function(t){return isFinite(t=Math.floor(t))&&t>0?so(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const Hu=Pp;var mm=so(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});mm.every=function(t){return isFinite(t=Math.floor(t))&&t>0?so(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const ph=mm;function ba(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function jp(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Wu(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var gh,qa,k1={"-":"",_:" ",0:"0"},li=/^\s*\d+/,vm=/^%/,F4=/[\\^$*+?|[\]().{}]/g;function wr(t,e,r){var a=t<0?"-":"",c=(a?-t:t)+"",u=c.length;return a+(u[e.toLowerCase(),r]))}function P4(t,e,r){var a=li.exec(e.slice(r,r+1));return a?(t.w=+a[0],r+a[0].length):-1}function _m(t,e,r){var a=li.exec(e.slice(r,r+1));return a?(t.u=+a[0],r+a[0].length):-1}function j4(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.U=+a[0],r+a[0].length):-1}function $u(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.V=+a[0],r+a[0].length):-1}function Yp(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.W=+a[0],r+a[0].length):-1}function T1(t,e,r){var a=li.exec(e.slice(r,r+4));return a?(t.y=+a[0],r+a[0].length):-1}function E1(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.y=+a[0]+(+a[0]>68?1900:2e3),r+a[0].length):-1}function xm(t,e,r){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return a?(t.Z=a[1]?0:-(a[2]+(a[3]||"00")),r+a[0].length):-1}function wm(t,e,r){var a=li.exec(e.slice(r,r+1));return a?(t.q=3*a[0]-3,r+a[0].length):-1}function km(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.m=a[0]-1,r+a[0].length):-1}function zp(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.d=+a[0],r+a[0].length):-1}function Tm(t,e,r){var a=li.exec(e.slice(r,r+3));return a?(t.m=0,t.d=+a[0],r+a[0].length):-1}function Up(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.H=+a[0],r+a[0].length):-1}function Y4(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.M=+a[0],r+a[0].length):-1}function Em(t,e,r){var a=li.exec(e.slice(r,r+2));return a?(t.S=+a[0],r+a[0].length):-1}function C1(t,e,r){var a=li.exec(e.slice(r,r+3));return a?(t.L=+a[0],r+a[0].length):-1}function S1(t,e,r){var a=li.exec(e.slice(r,r+6));return a?(t.L=Math.floor(a[0]/1e3),r+a[0].length):-1}function Cm(t,e,r){var a=vm.exec(e.slice(r,r+1));return a?r+a[0].length:-1}function Sm(t,e,r){var a=li.exec(e.slice(r));return a?(t.Q=+a[0],r+a[0].length):-1}function qp(t,e,r){var a=li.exec(e.slice(r));return a?(t.s=+a[0],r+a[0].length):-1}function A1(t,e){return wr(t.getDate(),e,2)}function Am(t,e){return wr(t.getHours(),e,2)}function Mm(t,e){return wr(t.getHours()%12||12,e,2)}function z4(t,e){return wr(1+Fp.count(Hu(t),t),e,3)}function Nm(t,e){return wr(t.getMilliseconds(),e,3)}function Hp(t,e){return Nm(t,e)+"000"}function Dm(t,e){return wr(t.getMonth()+1,e,2)}function vh(t,e){return wr(t.getMinutes(),e,2)}function M1(t,e){return wr(t.getSeconds(),e,2)}function N1(t){var e=t.getDay();return e===0?7:e}function U4(t,e){return wr(dh.count(Hu(t)-1,t),e,2)}function D1(t){var e=t.getDay();return e>=4||e===0?Yc(t):Yc.ceil(t)}function O1(t,e){return t=D1(t),wr(Yc.count(Hu(t),t)+(Hu(t).getDay()===4),e,2)}function B1(t){return t.getDay()}function Wp(t,e){return wr(Eo.count(Hu(t)-1,t),e,2)}function Vu(t,e){return wr(t.getFullYear()%100,e,2)}function q4(t,e){return wr((t=D1(t)).getFullYear()%100,e,2)}function H4(t,e){return wr(t.getFullYear()%1e4,e,4)}function W4(t,e){var r=t.getDay();return wr((t=r>=4||r===0?Yc(t):Yc.ceil(t)).getFullYear()%1e4,e,4)}function Om(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+wr(e/60|0,"0",2)+wr(e%60,"0",2)}function L1(t,e){return wr(t.getUTCDate(),e,2)}function $4(t,e){return wr(t.getUTCHours(),e,2)}function I1(t,e){return wr(t.getUTCHours()%12||12,e,2)}function Bm(t,e){return wr(1+na.count(ph(t),t),e,3)}function $p(t,e){return wr(t.getUTCMilliseconds(),e,3)}function R1(t,e){return $p(t,e)+"000"}function Lm(t,e){return wr(t.getUTCMonth()+1,e,2)}function Im(t,e){return wr(t.getUTCMinutes(),e,2)}function Rm(t,e){return wr(t.getUTCSeconds(),e,2)}function V4(t){var e=t.getUTCDay();return e===0?7:e}function Fm(t,e){return wr(Rp.count(ph(t)-1,t),e,2)}function Pm(t){var e=t.getUTCDay();return e>=4||e===0?qu(t):qu.ceil(t)}function jm(t,e){return t=Pm(t),wr(qu.count(ph(t),t)+(ph(t).getUTCDay()===4),e,2)}function Ym(t){return t.getUTCDay()}function zm(t,e){return wr(w1.count(ph(t)-1,t),e,2)}function G4(t,e){return wr(t.getUTCFullYear()%100,e,2)}function X4(t,e){return wr((t=Pm(t)).getUTCFullYear()%100,e,2)}function bh(t,e){return wr(t.getUTCFullYear()%1e4,e,4)}function Um(t,e){var r=t.getUTCDay();return wr((t=r>=4||r===0?qu(t):qu.ceil(t)).getUTCFullYear()%1e4,e,4)}function qm(){return"+0000"}function F1(){return"%"}function P1(t){return+t}function j1(t){return Math.floor(+t/1e3)}gh=function(t){var e=t.dateTime,r=t.date,a=t.time,c=t.periods,u=t.days,f=t.shortDays,y=t.months,w=t.shortMonths,x=yh(c),D=mh(c),j=yh(u),P=mh(u),W=yh(f),ot=mh(f),tt=yh(y),gt=mh(y),ht=yh(w),wt=mh(w),Tt={a:function(kt){return f[kt.getDay()]},A:function(kt){return u[kt.getDay()]},b:function(kt){return w[kt.getMonth()]},B:function(kt){return y[kt.getMonth()]},c:null,d:A1,e:A1,f:Hp,g:q4,G:W4,H:Am,I:Mm,j:z4,L:Nm,m:Dm,M:vh,p:function(kt){return c[+(kt.getHours()>=12)]},q:function(kt){return 1+~~(kt.getMonth()/3)},Q:P1,s:j1,S:M1,u:N1,U:U4,V:O1,w:B1,W:Wp,x:null,X:null,y:Vu,Y:H4,Z:Om,"%":F1},Ft={a:function(kt){return f[kt.getUTCDay()]},A:function(kt){return u[kt.getUTCDay()]},b:function(kt){return w[kt.getUTCMonth()]},B:function(kt){return y[kt.getUTCMonth()]},c:null,d:L1,e:L1,f:R1,g:X4,G:Um,H:$4,I:I1,j:Bm,L:$p,m:Lm,M:Im,p:function(kt){return c[+(kt.getUTCHours()>=12)]},q:function(kt){return 1+~~(kt.getUTCMonth()/3)},Q:P1,s:j1,S:Rm,u:V4,U:Fm,V:jm,w:Ym,W:zm,x:null,X:null,y:G4,Y:bh,Z:qm,"%":F1},Gt={a:function(kt,Lt,Ct){var yt=W.exec(Lt.slice(Ct));return yt?(kt.w=ot.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},A:function(kt,Lt,Ct){var yt=j.exec(Lt.slice(Ct));return yt?(kt.w=P.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},b:function(kt,Lt,Ct){var yt=ht.exec(Lt.slice(Ct));return yt?(kt.m=wt.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},B:function(kt,Lt,Ct){var yt=tt.exec(Lt.slice(Ct));return yt?(kt.m=gt.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},c:function(kt,Lt,Ct){return re(kt,e,Lt,Ct)},d:zp,e:zp,f:S1,g:E1,G:T1,H:Up,I:Up,j:Tm,L:C1,m:km,M:Y4,p:function(kt,Lt,Ct){var yt=x.exec(Lt.slice(Ct));return yt?(kt.p=D.get(yt[0].toLowerCase()),Ct+yt[0].length):-1},q:wm,Q:Sm,s:qp,S:Em,u:_m,U:j4,V:$u,w:P4,W:Yp,x:function(kt,Lt,Ct){return re(kt,r,Lt,Ct)},X:function(kt,Lt,Ct){return re(kt,a,Lt,Ct)},y:E1,Y:T1,Z:xm,"%":Cm};function Et(kt,Lt){return function(Ct){var yt,Rt,bt,xe=[],Te=-1,Ut=0,Ee=kt.length;for(Ct instanceof Date||(Ct=new Date(+Ct));++Te53)return null;"w"in bt||(bt.w=1),"Z"in bt?(Rt=(yt=jp(Wu(bt.y,0,1))).getUTCDay(),yt=Rt>4||Rt===0?w1.ceil(yt):w1(yt),yt=na.offset(yt,7*(bt.V-1)),bt.y=yt.getUTCFullYear(),bt.m=yt.getUTCMonth(),bt.d=yt.getUTCDate()+(bt.w+6)%7):(Rt=(yt=ba(Wu(bt.y,0,1))).getDay(),yt=Rt>4||Rt===0?Eo.ceil(yt):Eo(yt),yt=Fp.offset(yt,7*(bt.V-1)),bt.y=yt.getFullYear(),bt.m=yt.getMonth(),bt.d=yt.getDate()+(bt.w+6)%7)}else("W"in bt||"U"in bt)&&("w"in bt||(bt.w="u"in bt?bt.u%7:"W"in bt?1:0),Rt="Z"in bt?jp(Wu(bt.y,0,1)).getUTCDay():ba(Wu(bt.y,0,1)).getDay(),bt.m=0,bt.d="W"in bt?(bt.w+6)%7+7*bt.W-(Rt+5)%7:bt.w+7*bt.U-(Rt+6)%7);return"Z"in bt?(bt.H+=bt.Z/100|0,bt.M+=bt.Z%100,jp(bt)):ba(bt)}}function re(kt,Lt,Ct,yt){for(var Rt,bt,xe=0,Te=Lt.length,Ut=Ct.length;xe=Ut)return-1;if((Rt=Lt.charCodeAt(xe++))===37){if(Rt=Lt.charAt(xe++),!(bt=Gt[Rt in k1?Lt.charAt(xe++):Rt])||(yt=bt(kt,Ct,yt))<0)return-1}else if(Rt!=Ct.charCodeAt(yt++))return-1}return yt}return Tt.x=Et(r,Tt),Tt.X=Et(a,Tt),Tt.c=Et(e,Tt),Ft.x=Et(r,Ft),Ft.X=Et(a,Ft),Ft.c=Et(e,Ft),{format:function(kt){var Lt=Et(kt+="",Tt);return Lt.toString=function(){return kt},Lt},parse:function(kt){var Lt=ee(kt+="",!1);return Lt.toString=function(){return kt},Lt},utcFormat:function(kt){var Lt=Et(kt+="",Ft);return Lt.toString=function(){return kt},Lt},utcParse:function(kt){var Lt=ee(kt+="",!0);return Lt.toString=function(){return kt},Lt}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),qa=gh.format,gh.parse,gh.utcFormat,gh.utcParse;var Vp={value:()=>{}};function Cs(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function Hm(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--Jo})()}finally{Jo=0,function(){for(var t,e,r=Ss,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:Ss=e);oc=t,Eh(a)}(),cc=0}}function Gu(){var t=Na.now(),e=t-zc;e>1e3&&(xh-=e,zc=t)}function Eh(t){Jo||(sc&&(sc=clearTimeout(sc)),t-cc>24?(t<1/0&&(sc=setTimeout(Th,t-Na.now()-xh)),_h&&(_h=clearInterval(_h))):(_h||(zc=Na.now(),_h=setInterval(Gu,1e3)),Jo=1,Co(Th)))}function z1(t,e,r){var a=new uc;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}uc.prototype=kh.prototype={constructor:uc,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?wh():+r)+(e==null?0:+e),this._next||oc===this||(oc?oc._next=this:Ss=this,oc=this),this._call=t,this._time=r,Eh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Eh())}};var Ch=$m("start","end","cancel","interrupt"),So=[];function ts(t,e,r,a,c,u){var f=t.__transition;if(f){if(r in f)return}else t.__transition={};(function(y,w,x){var D,j=y.__transition;function P(tt){var gt,ht,wt,Tt;if(x.state!==1)return ot();for(gt in j)if((Tt=j[gt]).name===x.name){if(Tt.state===3)return z1(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",y,y.__data__,Tt.index,Tt.group),delete j[gt]):+gt0)throw new Error("too late; already scheduled");return r}function es(t,e){var r=Ao(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Ao(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function As(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var q1,Vm=180/Math.PI,Xp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Zp(t,e,r,a,c,u){var f,y,w;return(f=Math.sqrt(t*t+e*e))&&(t/=f,e/=f),(w=t*r+e*a)&&(r-=t*w,a-=e*w),(y=Math.sqrt(r*r+a*a))&&(r/=y,a/=y,w/=y),t*a180?D+=360:D-x>180&&(x+=360),P.push({i:j.push(c(j)+"rotate(",null,a)-2,x:As(x,D)})):D&&j.push(c(j)+"rotate("+D+a)}(u.rotate,f.rotate,y,w),function(x,D,j,P){x!==D?P.push({i:j.push(c(j)+"skewX(",null,a)-2,x:As(x,D)}):D&&j.push(c(j)+"skewX("+D+a)}(u.skewX,f.skewX,y,w),function(x,D,j,P,W,ot){if(x!==j||D!==P){var tt=W.push(c(W)+"scale(",null,",",null,")");ot.push({i:tt-4,x:As(x,j)},{i:tt-2,x:As(D,P)})}else j===1&&P===1||W.push(c(W)+"scale("+j+","+P+")")}(u.scaleX,u.scaleY,f.scaleX,f.scaleY,y,w),u=f=null,function(x){for(var D,j=-1,P=w.length;++ju&&(c=e.slice(u,c),y[f]?y[f]+=c:y[++f]=c),(r=r[0])===(a=a[0])?y[f]?y[f]+=a:y[++f]=a:(y[++f]=null,w.push({i:f,x:As(r,a)})),u=Zu.lastIndex;return u=0&&(y=y.slice(0,w)),!y||y==="start"})}(e)?U1:es;return function(){var f=u(this,t),y=f.on;y!==a&&(c=(a=y).copy()).on(e,r),f.on=c}}var ev=_n.prototype.constructor;function Mo(t){return function(){this.style.removeProperty(t)}}function ag(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function og(t,e,r){var a,c;function u(){var f=e.apply(this,arguments);return f!==c&&(a=(c=f)&&ag(t,f,r)),a}return u._value=e,u}function nv(t){return function(e){this.textContent=t.call(this,e)}}function W1(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&nv(c)),e}return a._value=t,a}var rv=0;function Ms(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function sg(){return++rv}var Ha=_n.prototype;Ms.prototype={constructor:Ms,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Du(t));for(var a=this._groups,c=a.length,u=new Array(c),f=0;f2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete f[u]):y=!1;y&&delete e.__transition}})(this,t)})},_n.prototype.transition=function(t){var e,r;t instanceof Ms?(e=t._id,t=t._name):(e=sg(),(r=cg).time=wh(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;ue?1:t>=e?0:NaN}lc.prototype={constructor:lc,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Ih="http://www.w3.org/1999/xhtml";const ov={svg:"http://www.w3.org/2000/svg",xhtml:Ih,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function V1(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),ov.hasOwnProperty(e)?{space:ov[e],local:t}:t}function pg(t){return function(){this.removeAttribute(t)}}function c5(t){return function(){this.removeAttributeNS(t.space,t.local)}}function gg(t,e){return function(){this.setAttribute(t,e)}}function u5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function yg(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function l5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function G1(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function h5(t){return function(){this.style.removeProperty(t)}}function f5(t,e,r){return function(){this.style.setProperty(t,e,r)}}function d5(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function Qu(t,e){return t.style.getPropertyValue(e)||G1(t).getComputedStyle(t,null).getPropertyValue(e)}function p5(t){return function(){delete this[t]}}function g5(t,e){return function(){this[t]=e}}function mg(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function sv(t){return t.trim().split(/^|\s+/)}function vg(t){return t.classList||new bg(t)}function bg(t){this._node=t,this._names=sv(t.getAttribute("class")||"")}function qc(t,e){for(var r=vg(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function _5(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Fh=[null];function No(t,e){this._groups=t,this._parents=e}function _v(){return new No([[document.documentElement]],Fh)}No.prototype=_v.prototype={constructor:No,select:function(t){typeof t!="function"&&(t=lg(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=Gt&&(Gt=Ft+1);!(Tt=gt[Gt])&&++Gt=0;)(a=c[u])&&(f&&4^a.compareDocumentPosition(f)&&f.parentNode.insertBefore(a,f),f=a);return this},sort:function(t){function e(j,P){return j&&P?t(j.__data__,P.__data__):!j-!P}t||(t=s5);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?h5:typeof e=="function"?d5:f5)(t,e,r==null?"":r)):Qu(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?p5:typeof e=="function"?mg:g5)(t,e)):this.node()[t]},classed:function(t,e){var r=sv(t+"");if(arguments.length<2){for(var a=vg(this.node()),c=-1,u=r.length;++c{}};function xv(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function xg(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--Ju})()}finally{Ju=0,function(){for(var t,e,r=ed,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:ed=e);hc=t,id(a)}(),dc=0}}function kv(){var t=Yh.now(),e=t-jh;e>1e3&&(nd-=e,jh=t)}function id(t){Ju||(fc&&(fc=clearTimeout(fc)),t-dc>24?(t<1/0&&(fc=setTimeout(el,t-Yh.now()-nd)),tl&&(tl=clearInterval(tl))):(tl||(jh=Yh.now(),tl=setInterval(kv,1e3)),Ju=1,wv(el)))}function Tg(t,e,r){var a=new rd;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}rd.prototype=kg.prototype={constructor:rd,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?wg():+r)+(e==null?0:+e),this._next||hc===this||(hc?hc._next=this:ed=this,hc=this),this._call=t,this._time=r,id()},stop:function(){this._call&&(this._call=null,this._time=1/0,id())}};var E5=k5("start","end","cancel","interrupt"),C5=[];function ad(t,e,r,a,c,u){var f=t.__transition;if(f){if(r in f)return}else t.__transition={};(function(y,w,x){var D,j=y.__transition;function P(tt){var gt,ht,wt,Tt;if(x.state!==1)return ot();for(gt in j)if((Tt=j[gt]).name===x.name){if(Tt.state===3)return Tg(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",y,y.__data__,Tt.index,Tt.group),delete j[gt]):+gt0)throw new Error("too late; already scheduled");return r}function ns(t,e){var r=Do(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Do(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Ns(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var sd,zh=180/Math.PI,Eg={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Tv(t,e,r,a,c,u){var f,y,w;return(f=Math.sqrt(t*t+e*e))&&(t/=f,e/=f),(w=t*r+e*a)&&(r-=t*w,a-=e*w),(y=Math.sqrt(r*r+a*a))&&(r/=y,a/=y,w/=y),t*a180?D+=360:D-x>180&&(x+=360),P.push({i:j.push(c(j)+"rotate(",null,a)-2,x:Ns(x,D)})):D&&j.push(c(j)+"rotate("+D+a)}(u.rotate,f.rotate,y,w),function(x,D,j,P){x!==D?P.push({i:j.push(c(j)+"skewX(",null,a)-2,x:Ns(x,D)}):D&&j.push(c(j)+"skewX("+D+a)}(u.skewX,f.skewX,y,w),function(x,D,j,P,W,ot){if(x!==j||D!==P){var tt=W.push(c(W)+"scale(",null,",",null,")");ot.push({i:tt-4,x:Ns(x,j)},{i:tt-2,x:Ns(D,P)})}else j===1&&P===1||W.push(c(W)+"scale("+j+","+P+")")}(u.scaleX,u.scaleY,f.scaleX,f.scaleY,y,w),u=f=null,function(x){for(var D,j=-1,P=w.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?Hh(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?Hh(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Oo.exec(t))?new Da(e[1],e[2],e[3],1):(e=Ds.exec(t))?new Da(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Av.exec(t))?Hh(e[1],e[2],e[3],e[4]):(e=ud.exec(t))?Hh(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Wc.exec(t))?$h(e[1],e[2]/100,e[3]/100,1):(e=Ag.exec(t))?$h(e[1],e[2]/100,e[3]/100,e[4]):ld.hasOwnProperty(t)?fd(ld[t]):t==="transparent"?new Da(NaN,NaN,NaN,0):null}function fd(t){return new Da(t>>16&255,t>>8&255,255&t,1)}function Hh(t,e,r,a){return a<=0&&(t=e=r=NaN),new Da(t,e,r,a)}function Zi(t){return t instanceof rs||(t=qh(t)),t?new Da((t=t.rgb()).r,t.g,t.b,t.opacity):new Da}function Wh(t,e,r,a){return arguments.length===1?Zi(t):new Da(t,e,r,a==null?1:a)}function Da(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function Mv(){return"#"+$c(this.r)+$c(this.g)+$c(this.b)}function Nv(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function $c(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function $h(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Bo(t,e,r,a)}function Ng(t){if(t instanceof Bo)return new Bo(t.h,t.s,t.l,t.opacity);if(t instanceof rs||(t=qh(t)),!t)return new Bo;if(t instanceof Bo)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),f=NaN,y=u-c,w=(u+c)/2;return y?(f=e===u?(r-a)/y+6*(r0&&w<1?0:f,new Bo(f,y,w,t.opacity)}function Bo(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function Os(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Sg(rs,qh,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:hd,formatHex:hd,formatHsl:function(){return Ng(this).formatHsl()},formatRgb:Mg,toString:Mg}),Sg(Da,Wh,Sv(rs,{brighter:function(t){return t=t==null?Uh:Math.pow(Uh,t),new Da(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?cd:Math.pow(cd,t),new Da(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Mv,formatHex:Mv,formatRgb:Nv,toString:Nv})),Sg(Bo,function(t,e,r,a){return arguments.length===1?Ng(t):new Bo(t,e,r,a==null?1:a)},Sv(rs,{brighter:function(t){return t=t==null?Uh:Math.pow(Uh,t),new Bo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?cd:Math.pow(cd,t),new Bo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Da(Os(t>=240?t-240:t+120,c,a),Os(t,c,a),Os(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Dg=t=>()=>t;function Og(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):Dg(isNaN(t)?e:t)}const Bg=function t(e){var r=function(c){return(c=+c)==1?Og:function(u,f){return f-u?function(y,w,x){return y=Math.pow(y,x),w=Math.pow(w,x)-y,x=1/x,function(D){return Math.pow(y+D*w,x)}}(u,f,c):Dg(isNaN(u)?f:u)}}(e);function a(c,u){var f=r((c=Wh(c)).r,(u=Wh(u)).r),y=r(c.g,u.g),w=r(c.b,u.b),x=Og(c.opacity,u.opacity);return function(D){return c.r=f(D),c.g=y(D),c.b=w(D),c.opacity=x(D),c+""}}return a.gamma=t,a}(1);var dd=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,pd=new RegExp(dd.source,"g");function D5(t,e){var r,a,c,u=dd.lastIndex=pd.lastIndex=0,f=-1,y=[],w=[];for(t+="",e+="";(r=dd.exec(t))&&(a=pd.exec(e));)(c=a.index)>u&&(c=e.slice(u,c),y[f]?y[f]+=c:y[++f]=c),(r=r[0])===(a=a[0])?y[f]?y[f]+=a:y[++f]=a:(y[++f]=null,w.push({i:f,x:Ns(r,a)})),u=pd.lastIndex;return u=0&&(y=y.slice(0,w)),!y||y==="start"})}(e)?od:ns;return function(){var f=u(this,t),y=f.on;y!==a&&(c=(a=y).copy()).on(e,r),f.on=c}}var Yv=Ph.prototype.constructor;function gd(t){return function(){this.style.removeProperty(t)}}function Pg(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function Oi(t,e,r){var a,c;function u(){var f=e.apply(this,arguments);return f!==c&&(a=(c=f)&&Pg(t,f,r)),a}return u._value=e,u}function jg(t){return function(e){this.textContent=t.call(this,e)}}function Vc(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&jg(c)),e}return a._value=t,a}var R5=0;function as(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function Yg(){return++R5}var Bs=Ph.prototype;as.prototype={constructor:as,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=lg(t));for(var a=this._groups,c=a.length,u=new Array(c),f=0;f2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete f[u]):y=!1;y&&delete e.__transition}})(this,t)})},Ph.prototype.transition=function(t){var e,r;t instanceof as?(e=t._id,t=t._name):(e=Yg(),(r=yd).time=wg(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;u0?Ls(sl,--Wa):0,ol--,ii===10&&(ol=1,bd--),ii}function Lo(){return ii=Wa2||wd(ii)>3?"":" "}function kd(t,e){for(;--e&&Lo()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return xd(t,Gh()+(e<6&&pc()==32&&Lo()==32))}function ul(t){for(;Lo();)switch(ii){case t:return Wa;case 34:case 39:t!==34&&t!==39&&ul(ii);break;case 40:t===41&&ul(t);break;case 92:Lo()}return Wa}function Wv(t,e){for(;Lo()&&t+ii!==57&&(t+ii!==84||pc()!==47););return"/*"+xd(e,Wa-1)+"*"+Zc(t===47?t:Lo())}function Qc(t){for(;!wd(pc());)Lo();return xd(t,Wa)}function Xh(t){return function(e){return sl="",e}(gc("",null,null,null,[""],t=function(e){return bd=ol=1,Uv=Is(sl=e),Wa=0,[]}(t),0,[0],t))}function gc(t,e,r,a,c,u,f,y,w){for(var x=0,D=0,j=f,P=0,W=0,ot=0,tt=1,gt=1,ht=1,wt=0,Tt="",Ft=c,Gt=u,Et=a,ee=Tt;gt;)switch(ot=wt,wt=Lo()){case 40:if(ot!=108&&ee.charCodeAt(j-1)==58){zv(ee+=md(cl(wt),"&","&\f"),"&\f")!=-1&&(ht=-1);break}case 34:case 39:case 91:ee+=cl(wt);break;case 9:case 10:case 13:case 32:ee+=Hv(ot);break;case 92:ee+=kd(Gh()-1,7);continue;case 47:switch(pc()){case 42:case 47:vd($v(Wv(Lo(),Gh()),e,r),w);break;default:ee+="/"}break;case 123*tt:y[x++]=Is(ee)*ht;case 125*tt:case 59:case 0:switch(wt){case 0:case 125:gt=0;case 59+D:W>0&&Is(ee)-j&&vd(W>32?yc(ee+";",a,r,j-1):yc(md(ee," ","")+";",a,r,j-2),w);break;case 59:ee+=";";default:if(vd(Et=Wg(ee,e,r,x,D,c,y,Tt,Ft=[],Gt=[],j),u),wt===123)if(D===0)gc(ee,e,Et,Et,Ft,u,j,y,Gt);else switch(P){case 100:case 109:case 115:gc(t,Et,Et,a&&vd(Wg(t,Et,Et,0,0,c,y,Tt,c,Ft=[],j),Gt),c,Gt,j,y,a?Ft:Gt);break;default:gc(ee,Et,Et,Et,[""],Gt,0,y,Gt)}}x=D=W=0,tt=ht=1,Tt=ee="",j=f;break;case 58:j=1+Is(ee),W=ot;default:if(tt<1){if(wt==123)--tt;else if(wt==125&&tt++==0&&qv()==125)continue}switch(ee+=Zc(wt),wt*tt){case 38:ht=D>0?1:(ee+="\f",-1);break;case 44:y[x++]=(Is(ee)-1)*ht,ht=1;break;case 64:pc()===45&&(ee+=cl(Lo())),P=pc(),D=j=Is(Tt=ee+=Qc(Gh())),wt++;break;case 45:ot===45&&Is(ee)==2&&(tt=0)}}return u}function Wg(t,e,r,a,c,u,f,y,w,x,D){for(var j=c-1,P=c===0?u:[""],W=qg(P),ot=0,tt=0,gt=0;ot0?P[ht]+" "+wt:md(wt,/&\f/g,P[ht])))&&(w[gt++]=Tt);return _d(t,e,r,c===0?zg:y,w,x,D)}function $v(t,e,r){return _d(t,e,r,Vh,Zc(ii),al(t,2,-2),0)}function yc(t,e,r,a){return _d(t,e,r,Ug,al(t,0,a),al(t,a+1,-1),a)}const $g="8.14.0";var Kc=h(9609),Vv=h(7856),P5=h.n(Vv),Gv=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\u/g,""),16))});return e=(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,function(r,a){return String.fromCharCode(parseInt(a,16))})).replace(/\\[\d\d\d]{3}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})},Xv=function(t){for(var e="",r=0;r>=0;){if(!((r=t.indexOf("=0)){e+=t,r=-1;break}e+=t.substr(0,r),(r=(t=t.substr(r+1)).indexOf("<\/script>"))>=0&&(r+=9,t=t.substr(r))}var a=Gv(e);return(a=(a=(a=a.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/`)}if(r!==void 0)switch(ot){case"flowchart":case"flowchart-v2":r(ee,rr.bindFunctions);break;case"gantt":r(ee,Tl.bindFunctions);break;case"class":case"classDiagram":r(ee,uo.bindFunctions);break;default:r(ee)}else g.debug("CB = undefined!");fu.forEach(function(yt){yt()}),fu=[];var Lt=f.securityLevel==="sandbox"?"#i"+t:"#d"+t,Ct=Se(Lt).node();return Ct!==null&&typeof Ct.remove=="function"&&Se(Lt).node().remove(),ee},parse:function(t){var e=Jt(),r=Zn.detectInit(t,e);r&&g.debug("reinit ",r);var a,c=Zn.detectType(t,e);switch(g.debug("Type "+c),c){case"git":(a=zs()).parser.yy=cu;break;case"flowchart":case"flowchart-v2":rr.clear(),(a=Jd()).parser.yy=rr;break;case"sequence":(a=x_()).parser.yy=Ml;break;case"gantt":(a=X3()).parser.yy=Tl;break;case"class":case"classDiagram":(a=p3()).parser.yy=uo;break;case"state":case"stateDiagram":(a=bb()).parser.yy=F;break;case"info":g.debug("info info info"),(a=y0()).parser.yy=g0;break;case"pie":g.debug("pie"),(a=nb()).parser.yy=j2;break;case"er":g.debug("er"),(a=_2()).parser.yy=wa;break;case"journey":g.debug("Journey"),(a=Dn()).parser.yy=rn;break;case"requirement":case"requirementDiagram":g.debug("RequirementDiagram"),(a=ib()).parser.yy=Sl}return a.parser.yy.graphType=c,a.parser.yy.parseError=function(u,f){throw{str:u,hash:f}},a.parse(t),a},parseDirective:function(t,e,r,a){try{if(e!==void 0)switch(e=e.trim(),r){case"open_directive":K2={};break;case"type_directive":K2.type=e.toLowerCase();break;case"arg_directive":K2.args=JSON.parse(e);break;case"close_directive":(function(c,u,f){switch(g.debug("Directive type=".concat(u.type," with args:"),u.args),u.type){case"init":case"initialize":["config"].forEach(function(y){u.args[y]!==void 0&&(f==="flowchart-v2"&&(f="flowchart"),u.args[f]=u.args[y],delete u.args[y])}),g.debug("sanitize in handleDirective",u.args),Dd(u.args),g.debug("sanitize in handleDirective (done)",u.args),u.args,l3(u.args);break;case"wrap":case"nowrap":c&&c.setWrap&&c.setWrap(u.type==="wrap");break;case"themeCss":g.warn("themeCss encountered");break;default:g.warn("Unhandled directive: source: '%%{".concat(u.type,": ").concat(JSON.stringify(u.args?u.args:{}),"}%%"),u)}})(t,K2,a),K2=null}}catch(c){g.error("Error while rendering sequenceDiagram directive: ".concat(e," jison context: ").concat(r)),g.error(c.message)}},initialize:function(t){t&&t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),function(r){c3=zi({},r)}(t),t&&t.theme&&hl[t.theme]?t.themeVariables=hl[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=hl.default.getThemeVariables(t.themeVariables));var e=B_(t)==="object"?function(r){return Ui=zi({},Kh),Ui=zi(Ui,r),r.theme&&(Ui.themeVariables=hl[r.theme].getThemeVariables(r.themeVariables)),Od=Bd(Ui,dl),Ui}(t):u3();G_(e),k(e.logLevel)},reinitialize:function(){},getConfig:Jt,setConfig:function(t){return zi(Od,t),Jt()},getSiteConfig:u3,updateSiteConfig:function(t){return Ui=zi(Ui,t),Bd(Ui,dl),Ui},reset:function(){Ld()},globalReset:function(){Ld(),G_(Jt())},defaultConfig:Kh});k(Jt().logLevel),Ld(Jt());const ta=v6;var X_=function(){ho.startOnLoad?ta.getConfig().startOnLoad&&ho.init():ho.startOnLoad===void 0&&(g.debug("In start, no config"),ta.getConfig().startOnLoad&&ho.init())};typeof document!="undefined"&&window.addEventListener("load",function(){X_()},!1);var ho={startOnLoad:!0,htmlLabels:!0,mermaidAPI:ta,parse:ta.parse,render:ta.render,init:function(){var t,e,r=this,a=ta.getConfig();arguments.length>=2?(arguments[0]!==void 0&&(ho.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],typeof arguments[arguments.length-1]=="function"?(e=arguments[arguments.length-1],g.debug("Callback function found")):a.mermaid!==void 0&&(typeof a.mermaid.callback=="function"?(e=a.mermaid.callback,g.debug("Callback function found")):g.debug("No Callback function found")),t=t===void 0?document.querySelectorAll(".mermaid"):typeof t=="string"?document.querySelectorAll(t):t instanceof window.Node?[t]:t,g.debug("Start On Load before: "+ho.startOnLoad),ho.startOnLoad!==void 0&&(g.debug("Start On Load inner: "+ho.startOnLoad),ta.updateSiteConfig({startOnLoad:ho.startOnLoad})),ho.ganttConfig!==void 0&&ta.updateSiteConfig({gantt:ho.ganttConfig});for(var c,u=new Zn.initIdGeneratior(a.deterministicIds,a.deterministicIDSeed),f=function(w){var x=t[w];if(x.getAttribute("data-processed"))return"continue";x.setAttribute("data-processed",!0);var D="mermaid-".concat(u.next());c=x.innerHTML,c=Zn.entityDecode(c).trim().replace(//gi,"
");var j=Zn.detectInit(c);j&&g.debug("Detected early reinit: ",j);try{ta.render(D,c,function(P,W){x.innerHTML=P,e!==void 0&&e(D),W&&W(x)},x)}catch(P){g.warn("Syntax Error rendering"),g.warn(P),r.parseError&&r.parseError(P)}},y=0;y{S.exports={graphlib:h(6614),dagre:h(1463),intersect:h(8114),render:h(5787),util:h(8355),version:h(5689)}},9144:(S,M,h)=>{var m=h(8355);function d(_,g,k,C){var A=_.append("marker").attr("id",g).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(A,k[C+"Style"]),k[C+"Class"]&&A.attr("class",k[C+"Class"])}S.exports={default:d,normal:d,vee:function(_,g,k,C){var A=_.append("marker").attr("id",g).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(A,k[C+"Style"]),k[C+"Class"]&&A.attr("class",k[C+"Class"])},undirected:function(_,g,k,C){var A=_.append("marker").attr("id",g).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(A,k[C+"Style"]),k[C+"Class"]&&A.attr("class",k[C+"Class"])}}},5632:(S,M,h)=>{var m=h(8355),d=h(4322),_=h(1322);S.exports=function(g,k){var C,A=k.nodes().filter(function(L){return m.isSubgraph(k,L)}),I=g.selectAll("g.cluster").data(A,function(L){return L});return I.selectAll("*").remove(),I.enter().append("g").attr("class","cluster").attr("id",function(L){return k.node(L).id}).style("opacity",0),I=g.selectAll("g.cluster"),m.applyTransition(I,k).style("opacity",1),I.each(function(L){var Y=k.node(L),q=d.select(this);d.select(this).append("rect");var H=q.append("g").attr("class","label");_(H,Y,Y.clusterLabelPos)}),I.selectAll("rect").each(function(L){var Y=k.node(L),q=d.select(this);m.applyStyle(q,Y.style)}),C=I.exit?I.exit():I.selectAll(null),m.applyTransition(C,k).style("opacity",0).remove(),I}},6315:(S,M,h)=>{var m=h(1034),d=h(1322),_=h(8355),g=h(4322);S.exports=function(k,C){var A,I=k.selectAll("g.edgeLabel").data(C.edges(),function(L){return _.edgeToId(L)}).classed("update",!0);return I.exit().remove(),I.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(I=k.selectAll("g.edgeLabel")).each(function(L){var Y=g.select(this);Y.select(".label").remove();var q=C.edge(L),H=d(Y,C.edge(L),0,0).classed("label",!0),V=H.node().getBBox();q.labelId&&H.attr("id",q.labelId),m.has(q,"width")||(q.width=V.width),m.has(q,"height")||(q.height=V.height)}),A=I.exit?I.exit():I.selectAll(null),_.applyTransition(A,C).style("opacity",0).remove(),I}},940:(S,M,h)=>{var m=h(1034),d=h(7584),_=h(8355),g=h(4322);function k(C,A){var I=(g.line||g.svg.line)().x(function(L){return L.x}).y(function(L){return L.y});return(I.curve||I.interpolate)(C.curve),I(A)}S.exports=function(C,A,I){var L=C.selectAll("g.edgePath").data(A.edges(),function(H){return _.edgeToId(H)}).classed("update",!0),Y=function(H,V){var X=H.enter().append("g").attr("class","edgePath").style("opacity",0);return X.append("path").attr("class","path").attr("d",function(J){var lt=V.edge(J),nt=V.node(J.v).elem;return k(lt,m.range(lt.points.length).map(function(){return dt=(_t=nt).getBBox(),{x:(At=_t.ownerSVGElement.getScreenCTM().inverse().multiply(_t.getScreenCTM()).translate(dt.width/2,dt.height/2)).e,y:At.f};var _t,dt,At}))}),X.append("defs"),X}(L,A);(function(H,V){var X=H.exit();_.applyTransition(X,V).style("opacity",0).remove()})(L,A);var q=L.merge!==void 0?L.merge(Y):L;return _.applyTransition(q,A).style("opacity",1),q.each(function(H){var V=g.select(this),X=A.edge(H);X.elem=this,X.id&&V.attr("id",X.id),_.applyClass(V,X.class,(V.classed("update")?"update ":"")+"edgePath")}),q.selectAll("path.path").each(function(H){var V=A.edge(H);V.arrowheadId=m.uniqueId("arrowhead");var X=g.select(this).attr("marker-end",function(){return"url("+(J=location.href,lt=V.arrowheadId,J.split("#")[0]+"#"+lt+")");var J,lt}).style("fill","none");_.applyTransition(X,A).attr("d",function(J){return function(lt,nt){var _t=lt.edge(nt),dt=lt.node(nt.v),At=lt.node(nt.w),st=_t.points.slice(1,_t.points.length-1);return st.unshift(d(dt,st[0])),st.push(d(At,st[st.length-1])),k(_t,st)}(A,J)}),_.applyStyle(X,V.style)}),q.selectAll("defs *").remove(),q.selectAll("defs").each(function(H){var V=A.edge(H);(0,I[V.arrowhead])(g.select(this),V.arrowheadId,V,"arrowhead")}),q}},607:(S,M,h)=>{var m=h(1034),d=h(1322),_=h(8355),g=h(4322);S.exports=function(k,C,A){var I,L=C.nodes().filter(function(q){return!_.isSubgraph(C,q)}),Y=k.selectAll("g.node").data(L,function(q){return q}).classed("update",!0);return Y.exit().remove(),Y.enter().append("g").attr("class","node").style("opacity",0),(Y=k.selectAll("g.node")).each(function(q){var H=C.node(q),V=g.select(this);_.applyClass(V,H.class,(V.classed("update")?"update ":"")+"node"),V.select("g.label").remove();var X=V.append("g").attr("class","label"),J=d(X,H),lt=A[H.shape],nt=m.pick(J.node().getBBox(),"width","height");H.elem=this,H.id&&V.attr("id",H.id),H.labelId&&X.attr("id",H.labelId),m.has(H,"width")&&(nt.width=H.width),m.has(H,"height")&&(nt.height=H.height),nt.width+=H.paddingLeft+H.paddingRight,nt.height+=H.paddingTop+H.paddingBottom,X.attr("transform","translate("+(H.paddingLeft-H.paddingRight)/2+","+(H.paddingTop-H.paddingBottom)/2+")");var _t=g.select(this);_t.select(".label-container").remove();var dt=lt(_t,nt,H).classed("label-container",!0);_.applyStyle(dt,H.style);var At=dt.node().getBBox();H.width=At.width,H.height=At.height}),I=Y.exit?Y.exit():Y.selectAll(null),_.applyTransition(I,C).style("opacity",0).remove(),Y}},4322:(S,M,h)=>{var m;if(!m)try{m=h(7188)}catch{}m||(m=window.d3),S.exports=m},1463:(S,M,h)=>{var m;try{m=h(681)}catch{}m||(m=window.dagre),S.exports=m},6614:(S,M,h)=>{var m;try{m=h(8282)}catch{}m||(m=window.graphlib),S.exports=m},8114:(S,M,h)=>{S.exports={node:h(7584),circle:h(6587),ellipse:h(3260),polygon:h(5337),rect:h(8049)}},6587:(S,M,h)=>{var m=h(3260);S.exports=function(d,_,g){return m(d,_,_,g)}},3260:S=>{S.exports=function(M,h,m,d){var _=M.x,g=M.y,k=_-d.x,C=g-d.y,A=Math.sqrt(h*h*C*C+m*m*k*k),I=Math.abs(h*m*k/A);d.x<_&&(I=-I);var L=Math.abs(h*m*C/A);return d.y{function M(h,m){return h*m>0}S.exports=function(h,m,d,_){var g,k,C,A,I,L,Y,q,H,V,X,J,lt;if(g=m.y-h.y,C=h.x-m.x,I=m.x*h.y-h.x*m.y,H=g*d.x+C*d.y+I,V=g*_.x+C*_.y+I,!(H!==0&&V!==0&&M(H,V)||(k=_.y-d.y,A=d.x-_.x,L=_.x*d.y-d.x*_.y,Y=k*h.x+A*h.y+L,q=k*m.x+A*m.y+L,Y!==0&&q!==0&&M(Y,q)||(X=g*A-k*C)==0)))return J=Math.abs(X/2),{x:(lt=C*L-A*I)<0?(lt-J)/X:(lt+J)/X,y:(lt=k*I-g*L)<0?(lt-J)/X:(lt+J)/X}}},7584:S=>{S.exports=function(M,h){return M.intersect(h)}},5337:(S,M,h)=>{var m=h(6808);S.exports=function(d,_,g){var k=d.x,C=d.y,A=[],I=Number.POSITIVE_INFINITY,L=Number.POSITIVE_INFINITY;_.forEach(function(lt){I=Math.min(I,lt.x),L=Math.min(L,lt.y)});for(var Y=k-d.width/2-I,q=C-d.height/2-L,H=0;H<_.length;H++){var V=_[H],X=_[H<_.length-1?H+1:0],J=m(d,g,{x:Y+V.x,y:q+V.y},{x:Y+X.x,y:q+X.y});J&&A.push(J)}return A.length?(A.length>1&&A.sort(function(lt,nt){var _t=lt.x-g.x,dt=lt.y-g.y,At=Math.sqrt(_t*_t+dt*dt),st=nt.x-g.x,K=nt.y-g.y,mt=Math.sqrt(st*st+K*K);return At{S.exports=function(M,h){var m,d,_=M.x,g=M.y,k=h.x-_,C=h.y-g,A=M.width/2,I=M.height/2;return Math.abs(C)*A>Math.abs(k)*I?(C<0&&(I=-I),m=C===0?0:I*k/C,d=I):(k<0&&(A=-A),m=A,d=k===0?0:A*C/k),{x:_+m,y:g+d}}},8284:(S,M,h)=>{var m=h(8355);S.exports=function(d,_){var g=d.append("foreignObject").attr("width","100000"),k=g.append("xhtml:div");k.attr("xmlns","http://www.w3.org/1999/xhtml");var C=_.label;switch(typeof C){case"function":k.insert(C);break;case"object":k.insert(function(){return C});break;default:k.html(C)}m.applyStyle(k,_.labelStyle),k.style("display","inline-block"),k.style("white-space","nowrap");var A=k.node().getBoundingClientRect();return g.attr("width",A.width).attr("height",A.height),g}},1322:(S,M,h)=>{var m=h(7318),d=h(8284),_=h(8287);S.exports=function(g,k,C){var A=k.label,I=g.append("g");k.labelType==="svg"?_(I,k):typeof A!="string"||k.labelType==="html"?d(I,k):m(I,k);var L,Y=I.node().getBBox();switch(C){case"top":L=-k.height/2;break;case"bottom":L=k.height/2-Y.height;break;default:L=-Y.height/2}return I.attr("transform","translate("+-Y.width/2+","+L+")"),I}},8287:(S,M,h)=>{var m=h(8355);S.exports=function(d,_){var g=d;return g.node().appendChild(_.label),m.applyStyle(g,_.labelStyle),g}},7318:(S,M,h)=>{var m=h(8355);S.exports=function(d,_){for(var g=d.append("text"),k=function(A){for(var I,L="",Y=!1,q=0;q{var m;try{m={defaults:h(1747),each:h(6073),isFunction:h(3560),isPlainObject:h(8630),pick:h(9722),has:h(8721),range:h(6026),uniqueId:h(3955)}}catch{}m||(m=window._),S.exports=m},6381:(S,M,h)=>{var m=h(8355),d=h(4322);S.exports=function(_,g){var k=_.filter(function(){return!d.select(this).classed("update")});function C(A){var I=g.node(A);return"translate("+I.x+","+I.y+")"}k.attr("transform",C),m.applyTransition(_,g).style("opacity",1).attr("transform",C),m.applyTransition(k.selectAll("rect"),g).attr("width",function(A){return g.node(A).width}).attr("height",function(A){return g.node(A).height}).attr("x",function(A){return-g.node(A).width/2}).attr("y",function(A){return-g.node(A).height/2})}},4577:(S,M,h)=>{var m=h(8355),d=h(4322),_=h(1034);S.exports=function(g,k){function C(A){var I=k.edge(A);return _.has(I,"x")?"translate("+I.x+","+I.y+")":""}g.filter(function(){return!d.select(this).classed("update")}).attr("transform",C),m.applyTransition(g,k).style("opacity",1).attr("transform",C)}},4849:(S,M,h)=>{var m=h(8355),d=h(4322);S.exports=function(_,g){function k(C){var A=g.node(C);return"translate("+A.x+","+A.y+")"}_.filter(function(){return!d.select(this).classed("update")}).attr("transform",k),m.applyTransition(_,g).style("opacity",1).attr("transform",k)}},5787:(S,M,h)=>{var m=h(1034),d=h(4322),_=h(1463).layout;S.exports=function(){var A=h(607),I=h(5632),L=h(6315),Y=h(940),q=h(4849),H=h(4577),V=h(6381),X=h(4418),J=h(9144),lt=function(nt,_t){(function(It){It.nodes().forEach(function(ft){var vt=It.node(ft);m.has(vt,"label")||It.children(ft).length||(vt.label=ft),m.has(vt,"paddingX")&&m.defaults(vt,{paddingLeft:vt.paddingX,paddingRight:vt.paddingX}),m.has(vt,"paddingY")&&m.defaults(vt,{paddingTop:vt.paddingY,paddingBottom:vt.paddingY}),m.has(vt,"padding")&&m.defaults(vt,{paddingLeft:vt.padding,paddingRight:vt.padding,paddingTop:vt.padding,paddingBottom:vt.padding}),m.defaults(vt,g),m.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(Wt){vt[Wt]=Number(vt[Wt])}),m.has(vt,"width")&&(vt._prevWidth=vt.width),m.has(vt,"height")&&(vt._prevHeight=vt.height)}),It.edges().forEach(function(ft){var vt=It.edge(ft);m.has(vt,"label")||(vt.label=""),m.defaults(vt,k)})})(_t);var dt=C(nt,"output"),At=C(dt,"clusters"),st=C(dt,"edgePaths"),K=L(C(dt,"edgeLabels"),_t),mt=A(C(dt,"nodes"),_t,X);_(_t),q(mt,_t),H(K,_t),Y(st,_t,J);var St=I(At,_t);V(St,_t),function(It){m.each(It.nodes(),function(ft){var vt=It.node(ft);m.has(vt,"_prevWidth")?vt.width=vt._prevWidth:delete vt.width,m.has(vt,"_prevHeight")?vt.height=vt._prevHeight:delete vt.height,delete vt._prevWidth,delete vt._prevHeight})}(_t)};return lt.createNodes=function(nt){return arguments.length?(A=nt,lt):A},lt.createClusters=function(nt){return arguments.length?(I=nt,lt):I},lt.createEdgeLabels=function(nt){return arguments.length?(L=nt,lt):L},lt.createEdgePaths=function(nt){return arguments.length?(Y=nt,lt):Y},lt.shapes=function(nt){return arguments.length?(X=nt,lt):X},lt.arrows=function(nt){return arguments.length?(J=nt,lt):J},lt};var g={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},k={arrowhead:"normal",curve:d.curveLinear};function C(A,I){var L=A.select("g."+I);return L.empty()&&(L=A.append("g").attr("class",I)),L}},4418:(S,M,h)=>{var m=h(8049),d=h(3260),_=h(6587),g=h(5337);S.exports={rect:function(k,C,A){var I=k.insert("rect",":first-child").attr("rx",A.rx).attr("ry",A.ry).attr("x",-C.width/2).attr("y",-C.height/2).attr("width",C.width).attr("height",C.height);return A.intersect=function(L){return m(A,L)},I},ellipse:function(k,C,A){var I=C.width/2,L=C.height/2,Y=k.insert("ellipse",":first-child").attr("x",-C.width/2).attr("y",-C.height/2).attr("rx",I).attr("ry",L);return A.intersect=function(q){return d(A,I,L,q)},Y},circle:function(k,C,A){var I=Math.max(C.width,C.height)/2,L=k.insert("circle",":first-child").attr("x",-C.width/2).attr("y",-C.height/2).attr("r",I);return A.intersect=function(Y){return _(A,I,Y)},L},diamond:function(k,C,A){var I=C.width*Math.SQRT2/2,L=C.height*Math.SQRT2/2,Y=[{x:0,y:-L},{x:-I,y:0},{x:0,y:L},{x:I,y:0}],q=k.insert("polygon",":first-child").attr("points",Y.map(function(H){return H.x+","+H.y}).join(" "));return A.intersect=function(H){return g(A,Y,H)},q}}},8355:(S,M,h)=>{var m=h(1034);S.exports={isSubgraph:function(g,k){return!!g.children(k).length},edgeToId:function(g){return _(g.v)+":"+_(g.w)+":"+_(g.name)},applyStyle:function(g,k){k&&g.attr("style",k)},applyClass:function(g,k,C){k&&g.attr("class",k).attr("class",C+" "+g.attr("class"))},applyTransition:function(g,k){var C=k.graph();if(m.isPlainObject(C)){var A=C.transition;if(m.isFunction(A))return A(g)}return g}};var d=/:/g;function _(g){return g?String(g).replace(d,"\\:"):""}},5689:S=>{S.exports="0.6.4"},7188:(S,M,h)=>{h.r(M),h.d(M,{FormatSpecifier:()=>l1,active:()=>Bb,arc:()=>uf,area:()=>B2,areaRadial:()=>R2,ascending:()=>d,autoType:()=>n4,axisBottom:()=>Ae,axisLeft:()=>en,axisRight:()=>Ie,axisTop:()=>Xe,bisect:()=>A,bisectLeft:()=>C,bisectRight:()=>k,bisector:()=>_,blob:()=>y4,brush:()=>Q0,brushSelection:()=>Rb,brushX:()=>Gf,brushY:()=>Fb,buffer:()=>Gy,chord:()=>J0,clientPoint:()=>Nc,cluster:()=>p5,color:()=>Ia,contourDensity:()=>eh,contours:()=>Ni,create:()=>Y3,creator:()=>oi,cross:()=>Y,csv:()=>Xy,csvFormat:()=>Vb,csvFormatBody:()=>Gb,csvFormatRow:()=>Zb,csvFormatRows:()=>Xb,csvFormatValue:()=>Dy,csvParse:()=>Ny,csvParseRows:()=>$b,cubehelix:()=>fa,curveBasis:()=>Q3,curveBasisClosed:()=>K3,curveBasisOpen:()=>m_,curveBundle:()=>J3,curveCardinal:()=>tb,curveCardinalClosed:()=>v_,curveCardinalOpen:()=>b_,curveCatmullRom:()=>nb,curveCatmullRomClosed:()=>P2,curveCatmullRomOpen:()=>j2,curveLinear:()=>_l,curveLinearClosed:()=>qs,curveMonotoneX:()=>bf,curveMonotoneY:()=>Sl,curveNatural:()=>Ei,curveStep:()=>ob,curveStepAfter:()=>cb,curveStepBefore:()=>sb,customEvent:()=>no,descending:()=>q,deviation:()=>X,dispatch:()=>an,drag:()=>Sy,dragDisable:()=>Kr,dragEnable:()=>Pr,dsv:()=>b4,dsvFormat:()=>nh,easeBack:()=>Wy,easeBackIn:()=>d4,easeBackInOut:()=>Wy,easeBackOut:()=>p4,easeBounce:()=>rh,easeBounceIn:()=>Hy,easeBounceInOut:()=>f4,easeBounceOut:()=>rh,easeCircle:()=>qy,easeCircleIn:()=>l4,easeCircleInOut:()=>qy,easeCircleOut:()=>h4,easeCubic:()=>Xs,easeCubicIn:()=>Yf,easeCubicInOut:()=>Xs,easeCubicOut:()=>zf,easeElastic:()=>_p,easeElasticIn:()=>g4,easeElasticInOut:()=>$y,easeElasticOut:()=>_p,easeExp:()=>Uy,easeExpIn:()=>zy,easeExpInOut:()=>Uy,easeExpOut:()=>u4,easeLinear:()=>Ly,easePoly:()=>Ry,easePolyIn:()=>o4,easePolyInOut:()=>Ry,easePolyOut:()=>s4,easeQuad:()=>Iy,easeQuadIn:()=>i4,easeQuadInOut:()=>Iy,easeQuadOut:()=>a4,easeSin:()=>Yy,easeSinIn:()=>jy,easeSinInOut:()=>Yy,easeSinOut:()=>c4,entries:()=>op,event:()=>pt,extent:()=>J,forceCenter:()=>k4,forceCollide:()=>S4,forceLink:()=>M4,forceManyBody:()=>B4,forceRadial:()=>L4,forceSimulation:()=>O4,forceX:()=>em,forceY:()=>Ep,format:()=>f1,formatDefaultLocale:()=>cm,formatLocale:()=>sm,formatPrefix:()=>Sp,formatSpecifier:()=>oh,geoAlbers:()=>rv,geoAlbersUsa:()=>Ms,geoArea:()=>R4,geoAzimuthalEqualArea:()=>r5,geoAzimuthalEqualAreaRaw:()=>cg,geoAzimuthalEquidistant:()=>lg,geoAzimuthalEquidistantRaw:()=>ug,geoBounds:()=>gh,geoCentroid:()=>j4,geoCircle:()=>Y4,geoClipAntimeridian:()=>Hp,geoClipCircle:()=>Dm,geoClipExtent:()=>U4,geoClipRectangle:()=>N1,geoConicConformal:()=>a5,geoConicConformalRaw:()=>fg,geoConicEqualArea:()=>W1,geoConicEqualAreaRaw:()=>nv,geoConicEquidistant:()=>av,geoConicEquidistantRaw:()=>iv,geoContains:()=>Pm,geoDistance:()=>I1,geoEqualEarth:()=>s5,geoEqualEarthRaw:()=>dg,geoEquirectangular:()=>o5,geoEquirectangularRaw:()=>Dh,geoGnomonic:()=>ov,geoGnomonicRaw:()=>Ih,geoGraticule:()=>zm,geoGraticule10:()=>G4,geoIdentity:()=>V1,geoInterpolate:()=>X4,geoLength:()=>Om,geoMercator:()=>i5,geoMercatorRaw:()=>Mh,geoNaturalEarth1:()=>c5,geoNaturalEarth1Raw:()=>pg,geoOrthographic:()=>u5,geoOrthographicRaw:()=>gg,geoPath:()=>K4,geoProjection:()=>Mo,geoProjectionMutator:()=>ag,geoRotation:()=>zp,geoStereographic:()=>l5,geoStereographicRaw:()=>yg,geoStream:()=>ko,geoTransform:()=>J4,geoTransverseMercator:()=>h5,geoTransverseMercatorRaw:()=>G1,gray:()=>Yb,hcl:()=>Ks,hierarchy:()=>mg,histogram:()=>jt,hsl:()=>vu,html:()=>Ky,image:()=>Qy,interpolate:()=>Mc,interpolateArray:()=>C0,interpolateBasis:()=>Ar,interpolateBasisClosed:()=>Sc,interpolateBlues:()=>R3,interpolateBrBG:()=>w3,interpolateBuGn:()=>N3,interpolateBuPu:()=>m2,interpolateCividis:()=>Zd,interpolateCool:()=>F3,interpolateCubehelix:()=>sd,interpolateCubehelixDefault:()=>s_,interpolateCubehelixLong:()=>zh,interpolateDate:()=>Rf,interpolateDiscrete:()=>T5,interpolateGnBu:()=>O3,interpolateGreens:()=>fi,interpolateGreys:()=>vl,interpolateHcl:()=>ns,interpolateHclLong:()=>Do,interpolateHsl:()=>E5,interpolateHslLong:()=>C5,interpolateHue:()=>rd,interpolateInferno:()=>Va,interpolateLab:()=>ad,interpolateMagma:()=>u_,interpolateNumber:()=>ua,interpolateNumberArray:()=>Pl,interpolateObject:()=>Ff,interpolateOrRd:()=>b2,interpolateOranges:()=>Xd,interpolatePRGn:()=>af,interpolatePiYG:()=>Rs,interpolatePlasma:()=>l_,interpolatePuBu:()=>a_,interpolatePuBuGn:()=>B3,interpolatePuOr:()=>zd,interpolatePuRd:()=>Fs,interpolatePurples:()=>$d,interpolateRainbow:()=>C2,interpolateRdBu:()=>T3,interpolateRdGy:()=>E3,interpolateRdPu:()=>Ur,interpolateRdYlBu:()=>S3,interpolateRdYlGn:()=>Qi,interpolateReds:()=>T2,interpolateRgb:()=>Gs,interpolateRgbBasis:()=>_u,interpolateRgbBasisClosed:()=>mo,interpolateRound:()=>kg,interpolateSinebow:()=>j3,interpolateSpectral:()=>Ud,interpolateString:()=>vo,interpolateTransformCss:()=>A0,interpolateTransformSvg:()=>M0,interpolateTurbo:()=>rr,interpolateViridis:()=>Jd,interpolateWarm:()=>E2,interpolateYlGn:()=>o_,interpolateYlGnBu:()=>L3,interpolateYlOrBr:()=>k2,interpolateYlOrRd:()=>Wd,interpolateZoom:()=>id,interrupt:()=>ha,interval:()=>H2,isoFormat:()=>wf,isoParse:()=>hb,json:()=>x4,keys:()=>Xl,lab:()=>Zl,lch:()=>up,line:()=>xc,lineRadial:()=>o0,linkHorizontal:()=>V3,linkRadial:()=>G3,linkVertical:()=>Tl,local:()=>z3,map:()=>xs,matcher:()=>cn,max:()=>Dt,mean:()=>Zt,median:()=>se,merge:()=>le,min:()=>ye,mouse:()=>ys,namespace:()=>kn,namespaces:()=>Cr,nest:()=>jb,now:()=>$,pack:()=>_5,packEnclose:()=>uv,packSiblings:()=>yv,pairs:()=>I,partition:()=>No,path:()=>_s,permute:()=>Ot,pie:()=>L2,piecewise:()=>Eg,pointRadial:()=>xl,polygonArea:()=>Ev,polygonCentroid:()=>S5,polygonContains:()=>Sg,polygonHull:()=>Cg,polygonLength:()=>Sv,precisionFixed:()=>Ap,precisionPrefix:()=>um,precisionRound:()=>lm,quadtree:()=>ih,quantile:()=>me,quantize:()=>Tv,radialArea:()=>R2,radialLine:()=>o0,randomBates:()=>is,randomExponential:()=>N5,randomIrwinHall:()=>rl,randomLogNormal:()=>nl,randomNormal:()=>Uh,randomUniform:()=>cd,range:()=>st,rgb:()=>Fi,ribbon:()=>np,scaleBand:()=>hd,scaleDiverging:()=>_a,scaleDivergingLog:()=>xa,scaleDivergingPow:()=>Ro,scaleDivergingSqrt:()=>yr,scaleDivergingSymlog:()=>ki,scaleIdentity:()=>Og,scaleImplicit:()=>Ag,scaleLinear:()=>Dg,scaleLog:()=>Bv,scaleOrdinal:()=>ld,scalePoint:()=>qh,scalePow:()=>Fg,scaleQuantile:()=>Pv,scaleQuantize:()=>jv,scaleSequential:()=>nf,scaleSequentialLog:()=>rf,scaleSequentialPow:()=>g2,scaleSequentialQuantile:()=>v3,scaleSequentialSqrt:()=>K5,scaleSequentialSymlog:()=>p2,scaleSqrt:()=>I5,scaleSymlog:()=>Rv,scaleThreshold:()=>Yv,scaleTime:()=>Bi,scaleUtc:()=>d2,scan:()=>We,schemeAccent:()=>jd,schemeBlues:()=>I3,schemeBrBG:()=>x3,schemeBuGn:()=>M3,schemeBuPu:()=>D3,schemeCategory10:()=>b3,schemeDark2:()=>J5,schemeGnBu:()=>v2,schemeGreens:()=>ou,schemeGreys:()=>bc,schemeOrRd:()=>ml,schemeOranges:()=>Gd,schemePRGn:()=>k3,schemePaired:()=>t_,schemePastel1:()=>Yd,schemePastel2:()=>_3,schemePiYG:()=>of,schemePuBu:()=>wa,schemePuBuGn:()=>qd,schemePuOr:()=>vc,schemePuRd:()=>_2,schemePurples:()=>Fo,schemeRdBu:()=>y2,schemeRdGy:()=>au,schemeRdPu:()=>Ps,schemeRdYlBu:()=>C3,schemeRdYlGn:()=>sf,schemeReds:()=>Vd,schemeSet1:()=>e_,schemeSet2:()=>n_,schemeSet3:()=>r_,schemeSpectral:()=>A3,schemeTableau10:()=>i_,schemeYlGn:()=>w2,schemeYlGnBu:()=>x2,schemeYlOrBr:()=>Hd,schemeYlOrRd:()=>ss,select:()=>pr,selectAll:()=>f_,selection:()=>La,selector:()=>Or,selectorAll:()=>Kn,set:()=>Qs,shuffle:()=>he,stack:()=>nn,stackOffsetDiverging:()=>xf,stackOffsetExpand:()=>x_,stackOffsetNone:()=>jo,stackOffsetSilhouette:()=>wc,stackOffsetWiggle:()=>hs,stackOrderAppearance:()=>Y2,stackOrderAscending:()=>z2,stackOrderDescending:()=>q2,stackOrderInsideOut:()=>w_,stackOrderNone:()=>lu,stackOrderReverse:()=>Ws,stratify:()=>J1,style:()=>ei,sum:()=>zt,svg:()=>u1,symbol:()=>y_,symbolCircle:()=>us,symbolCross:()=>Ga,symbolDiamond:()=>vi,symbolSquare:()=>u0,symbolStar:()=>F2,symbolTriangle:()=>pf,symbolWye:()=>cu,symbols:()=>El,text:()=>Du,thresholdFreedmanDiaconis:()=>ge,thresholdScott:()=>pe,thresholdSturges:()=>Wt,tickFormat:()=>Bo,tickIncrement:()=>ft,tickStep:()=>vt,ticks:()=>It,timeDay:()=>ii,timeDays:()=>sl,timeFormat:()=>Zh,timeFormatDefaultLocale:()=>l2,timeFormatLocale:()=>Zv,timeFriday:()=>al,timeFridays:()=>ol,timeHour:()=>qv,timeHours:()=>Lo,timeInterval:()=>Oi,timeMillisecond:()=>ul,timeMilliseconds:()=>Wv,timeMinute:()=>Gh,timeMinutes:()=>xd,timeMonday:()=>il,timeMondays:()=>vd,timeMonth:()=>Yg,timeMonths:()=>Bs,timeParse:()=>Qv,timeSaturday:()=>Is,timeSaturdays:()=>Uv,timeSecond:()=>cl,timeSeconds:()=>Hv,timeSunday:()=>Zc,timeSundays:()=>qg,timeThursday:()=>Ls,timeThursdays:()=>bd,timeTuesday:()=>md,timeTuesdays:()=>Hg,timeWednesday:()=>zv,timeWednesdays:()=>F5,timeWeek:()=>Zc,timeWeeks:()=>qg,timeYear:()=>Vc,timeYears:()=>R5,timeout:()=>Ve,timer:()=>de,timerFlush:()=>we,touch:()=>la,touches:()=>d_,transition:()=>jf,transpose:()=>te,tree:()=>Ju,treemap:()=>nd,treemapBinary:()=>Yh,treemapDice:()=>Fh,treemapResquarify:()=>wg,treemapSlice:()=>fc,treemapSliceDice:()=>wv,treemapSquarify:()=>dc,tsv:()=>Zy,tsvFormat:()=>By,tsvFormatBody:()=>Kb,tsvFormatRow:()=>t4,tsvFormatRows:()=>Jb,tsvFormatValue:()=>e4,tsvParse:()=>Oy,tsvParseRows:()=>Qb,utcDay:()=>xi,utcDays:()=>lr,utcFormat:()=>Ed,utcFriday:()=>$g,utcFridays:()=>Td,utcHour:()=>y3,utcHours:()=>Q5,utcMillisecond:()=>ul,utcMilliseconds:()=>Wv,utcMinute:()=>f2,utcMinutes:()=>gl,utcMonday:()=>gc,utcMondays:()=>P5,utcMonth:()=>p3,utcMonths:()=>g3,utcParse:()=>Qh,utcSaturday:()=>Kc,utcSaturdays:()=>j5,utcSecond:()=>cl,utcSeconds:()=>Hv,utcSunday:()=>Xh,utcSundays:()=>Vv,utcThursday:()=>yc,utcThursdays:()=>Jc,utcTuesday:()=>Wg,utcTuesdays:()=>Gv,utcWednesday:()=>$v,utcWednesdays:()=>Xv,utcWeek:()=>Xh,utcWeeks:()=>Vv,utcYear:()=>hi,utcYears:()=>Gg,values:()=>ap,variance:()=>V,version:()=>m,voronoi:()=>Ll,window:()=>Ln,xml:()=>w4,zip:()=>ne,zoom:()=>T0,zoomIdentity:()=>Sf,zoomTransform:()=>Af});var m="5.16.0";function d(n,i){return ni?1:n>=i?0:NaN}function _(n){var i;return n.length===1&&(i=n,n=function(o,s){return d(i(o),s)}),{left:function(o,s,l,p){for(l==null&&(l=0),p==null&&(p=o.length);l>>1;n(o[b],s)<0?l=b+1:p=b}return l},right:function(o,s,l,p){for(l==null&&(l=0),p==null&&(p=o.length);l>>1;n(o[b],s)>0?p=b:l=b+1}return l}}}var g=_(d),k=g.right,C=g.left;const A=k;function I(n,i){i==null&&(i=L);for(var o=0,s=n.length-1,l=n[0],p=new Array(s<0?0:s);on?1:i>=n?0:NaN}function H(n){return n===null?NaN:+n}function V(n,i){var o,s,l=n.length,p=0,b=-1,v=0,T=0;if(i==null)for(;++b1)return T/(p-1)}function X(n,i){var o=V(n,i);return o&&Math.sqrt(o)}function J(n,i){var o,s,l,p=n.length,b=-1;if(i==null){for(;++b=o)for(s=l=o;++bo&&(s=o),l=o)for(s=l=o;++bo&&(s=o),l0)return[n];if((s=i0)for(n=Math.ceil(n/b),i=Math.floor(i/b),p=new Array(l=Math.ceil(i-n+1));++v=0?(p>=K?10:p>=mt?5:p>=St?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(p>=K?10:p>=mt?5:p>=St?2:1)}function vt(n,i,o){var s=Math.abs(i-n)/Math.max(0,o),l=Math.pow(10,Math.floor(Math.log(s)/Math.LN10)),p=s/l;return p>=K?l*=10:p>=mt?l*=5:p>=St&&(l*=2),iF;)O.pop(),--z;var U,Q=new Array(z+1);for(p=0;p<=z;++p)(U=Q[p]=[]).x0=p>0?O[p-1]:B,U.x1=p=1)return+o(n[s-1],s-1,n);var s,l=(s-1)*i,p=Math.floor(l),b=+o(n[p],p,n);return b+(+o(n[p+1],p+1,n)-b)*(l-p)}}function ge(n,i,o){return n=_t.call(n,H).sort(d),Math.ceil((o-i)/(2*(me(n,.75)-me(n,.25))*Math.pow(n.length,-1/3)))}function pe(n,i,o){return Math.ceil((o-i)/(3.5*X(n)*Math.pow(n.length,-1/3)))}function Dt(n,i){var o,s,l=n.length,p=-1;if(i==null){for(;++p=o)for(s=o;++ps&&(s=o)}else for(;++p=o)for(s=o;++ps&&(s=o);return s}function Zt(n,i){var o,s=n.length,l=s,p=-1,b=0;if(i==null)for(;++p=0;)for(i=(s=n[l]).length;--i>=0;)o[--b]=s[i];return o}function ye(n,i){var o,s,l=n.length,p=-1;if(i==null){for(;++p=o)for(s=o;++po&&(s=o)}else for(;++p=o)for(s=o;++po&&(s=o);return s}function Ot(n,i){for(var o=i.length,s=new Array(o);o--;)s[o]=n[i[o]];return s}function We(n,i){if(o=n.length){var o,s,l=0,p=0,b=n[p];for(i==null&&(i=d);++l=0&&(s=o.slice(l+1),o=o.slice(0,l)),o&&!i.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:s}})}function Yn(n,i){for(var o,s=0,l=n.length;s0)for(var o,s,l=new Array(o),p=0;pi?1:n>=i?0:NaN}Ke.prototype={constructor:Ke,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,i){return this._parent.insertBefore(n,i)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var Un="http://www.w3.org/1999/xhtml";const Cr={svg:"http://www.w3.org/2000/svg",xhtml:Un,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function kn(n){var i=n+="",o=i.indexOf(":");return o>=0&&(i=n.slice(0,o))!=="xmlns"&&(n=n.slice(o+1)),Cr.hasOwnProperty(i)?{space:Cr[i],local:n}:n}function Hn(n){return function(){this.removeAttribute(n)}}function Pn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function $n(n,i){return function(){this.setAttribute(n,i)}}function Vn(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function Jn(n,i){return function(){var o=i.apply(this,arguments);o==null?this.removeAttribute(n):this.setAttribute(n,o)}}function An(n,i){return function(){var o=i.apply(this,arguments);o==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,o)}}function Ln(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function un(n){return function(){this.style.removeProperty(n)}}function jn(n,i,o){return function(){this.style.setProperty(n,i,o)}}function mn(n,i,o){return function(){var s=i.apply(this,arguments);s==null?this.style.removeProperty(n):this.style.setProperty(n,s,o)}}function ei(n,i){return n.style.getPropertyValue(i)||Ln(n).getComputedStyle(n,null).getPropertyValue(i)}function dr(n){return function(){delete this[n]}}function Ii(n,i){return function(){this[n]=i}}function In(n,i){return function(){var o=i.apply(this,arguments);o==null?delete this[n]:this[n]=o}}function po(n){return n.trim().split(/^|\s+/)}function oa(n){return n.classList||new ni(n)}function ni(n){this._node=n,this._names=po(n.getAttribute("class")||"")}function Br(n,i){for(var o=oa(n),s=-1,l=i.length;++s=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var Xn={},pt=null;function Vr(n,i,o){return n=Qt(n,i,o),function(s){var l=s.relatedTarget;l&&(l===this||8&l.compareDocumentPosition(this))||n.call(this,s)}}function Qt(n,i,o){return function(s){var l=pt;pt=s;try{n.call(this,this.__data__,i,o)}finally{pt=l}}}function Si(n){return n.trim().split(/^|\s+/).map(function(i){var o="",s=i.indexOf(".");return s>=0&&(o=i.slice(s+1),i=i.slice(0,s)),{type:i,name:o}})}function Wi(n){return function(){var i=this.__on;if(i){for(var o,s=0,l=-1,p=i.length;s=Pt&&(Pt=ut+1);!(et=G[Pt])&&++Pt=0;)(s=l[p])&&(b&&4^s.compareDocumentPosition(b)&&b.parentNode.insertBefore(s,b),b=s);return this},sort:function(n){function i(F,O){return F&&O?n(F.__data__,O.__data__):!F-!O}n||(n=zn);for(var o=this._groups,s=o.length,l=new Array(s),p=0;p1?this.each((i==null?un:typeof i=="function"?mn:jn)(n,i,o==null?"":o)):ei(this.node(),n)},property:function(n,i){return arguments.length>1?this.each((i==null?dr:typeof i=="function"?In:Ii)(n,i)):this.node()[n]},classed:function(n,i){var o=po(n+"");if(arguments.length<2){for(var s=oa(this.node()),l=-1,p=o.length;++l>8&15|i>>4&240,i>>4&15|240&i,(15&i)<<4|15&i,1):o===8?io(i>>24&255,i>>16&255,i>>8&255,(255&i)/255):o===4?io(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|240&i,((15&i)<<4|15&i)/255):null):(i=Ye.exec(n))?new ti(i[1],i[2],i[3],1):(i=gr.exec(n))?new ti(255*i[1]/100,255*i[2]/100,255*i[3]/100,1):(i=vr.exec(n))?io(i[1],i[2],i[3],i[4]):(i=pi.exec(n))?io(255*i[1]/100,255*i[2]/100,255*i[3]/100,i[4]):(i=Jr.exec(n))?Ra(i[1],i[2]/100,i[3]/100,1):(i=gs.exec(n))?Ra(i[1],i[2]/100,i[3]/100,i[4]):ea.hasOwnProperty(n)?Ec(ea[n]):n==="transparent"?new ti(NaN,NaN,NaN,0):null}function Ec(n){return new ti(n>>16&255,n>>8&255,255&n,1)}function io(n,i,o,s){return s<=0&&(n=i=o=NaN),new ti(n,i,o,s)}function Cc(n){return n instanceof Gr||(n=Ia(n)),n?new ti((n=n.rgb()).r,n.g,n.b,n.opacity):new ti}function Fi(n,i,o,s){return arguments.length===1?Cc(n):new ti(n,i,o,s==null?1:s)}function ti(n,i,o,s){this.r=+n,this.g=+i,this.b=+o,this.opacity=+s}function pu(){return"#"+yu(this.r)+yu(this.g)+yu(this.b)}function gu(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function yu(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Ra(n,i,o,s){return s<=0?n=i=o=NaN:o<=0||o>=1?n=i=NaN:i<=0&&(n=NaN),new Fa(n,i,o,s)}function mu(n){if(n instanceof Fa)return new Fa(n.h,n.s,n.l,n.opacity);if(n instanceof Gr||(n=Ia(n)),!n)return new Fa;if(n instanceof Fa)return n;var i=(n=n.rgb()).r/255,o=n.g/255,s=n.b/255,l=Math.min(i,o,s),p=Math.max(i,o,s),b=NaN,v=p-l,T=(p+l)/2;return v?(b=i===p?(o-s)/v+6*(o0&&T<1?0:b,new Fa(b,v,T,n.opacity)}function vu(n,i,o,s){return arguments.length===1?mu(n):new Fa(n,i,o,s==null?1:s)}function Fa(n,i,o,s){this.h=+n,this.s=+i,this.l=+o,this.opacity=+s}function Pe(n,i,o){return 255*(n<60?i+(o-i)*n/60:n<180?o:n<240?i+(o-i)*(240-n)/60:i)}function Rl(n,i,o,s,l){var p=n*n,b=p*n;return((1-3*n+3*p-b)*i+(4-6*p+3*b)*o+(1+3*n+3*p-3*b)*s+b*l)/6}function Ar(n){var i=n.length-1;return function(o){var s=o<=0?o=0:o>=1?(o=1,i-1):Math.floor(o*i),l=n[s],p=n[s+1],b=s>0?n[s-1]:2*l-p,v=s180||o<-180?o-360*Math.round(o/360):o):Ac(isNaN(n)?i:n)}function gi(n,i){var o=i-n;return o?bu(n,o):Ac(isNaN(n)?i:n)}jr(Gr,Ia,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:Yr,formatHex:Yr,formatHsl:function(){return mu(this).formatHsl()},formatRgb:Vs,toString:Vs}),jr(ti,Fi,si(Gr,{brighter:function(n){return n=n==null?Ri:Math.pow(Ri,n),new ti(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?Vi:Math.pow(Vi,n),new ti(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:pu,formatHex:pu,formatRgb:gu,toString:gu})),jr(Fa,vu,si(Gr,{brighter:function(n){return n=n==null?Ri:Math.pow(Ri,n),new Fa(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?Vi:Math.pow(Vi,n),new Fa(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),i=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,s=o+(o<.5?o:1-o)*i,l=2*o-s;return new ti(Pe(n>=240?n-240:n+120,l,s),Pe(n,l,s),Pe(n<120?n+240:n-120,l,s),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(n===1?")":", "+n+")")}}));const Gs=function n(i){var o=function(l){return(l=+l)==1?gi:function(p,b){return b-p?function(v,T,N){return v=Math.pow(v,N),T=Math.pow(T,N)-v,N=1/N,function(B){return Math.pow(v+B*T,N)}}(p,b,l):Ac(isNaN(p)?b:p)}}(i);function s(l,p){var b=o((l=Fi(l)).r,(p=Fi(p)).r),v=o(l.g,p.g),T=o(l.b,p.b),N=gi(l.opacity,p.opacity);return function(B){return l.r=b(B),l.g=v(B),l.b=T(B),l.opacity=N(B),l+""}}return s.gamma=n,s}(1);function Fl(n){return function(i){var o,s,l=i.length,p=new Array(l),b=new Array(l),v=new Array(l);for(o=0;op&&(l=i.slice(p,l),v[b]?v[b]+=l:v[++b]=l),(o=o[0])===(s=s[0])?v[b]?v[b]+=s:v[++b]=s:(v[++b]=null,T.push({i:b,x:ua(o,s)})),p=Yl.lastIndex;return p=0&&i._call.call(null,n),i=i._next;--Pi}function Ne(){Gi=(Ca=E.now())+qn,Pi=ci=0;try{we()}finally{Pi=0,function(){for(var n,i,o=xu,s=1/0;o;)o._call?(s>o._time&&(s=o._time),n=o,o=o._next):(i=o._next,o._next=null,o=n?n._next=i:xu=i);bo=n,ze(s)}(),Gi=0}}function Oe(){var n=E.now(),i=n-Ca;i>1e3&&(qn-=i,Ca=n)}function ze(n){Pi||(ci&&(ci=clearTimeout(ci)),n-Gi>24?(n<1/0&&(ci=setTimeout(Ne,n-E.now()-qn)),ja&&(ja=clearInterval(ja))):(ja||(Ca=E.now(),ja=setInterval(Oe,1e3)),Pi=1,R(Ne)))}function Ve(n,i,o){var s=new $t;return i=i==null?0:+i,s.restart(function(l){s.stop(),n(l+i)},i,o),s}$t.prototype=de.prototype={constructor:$t,restart:function(n,i,o){if(typeof n!="function")throw new TypeError("callback is not a function");o=(o==null?$():+o)+(i==null?0:+i),this._next||bo===this||(bo?bo._next=this:xu=this,bo=this),this._call=n,this._time=o,ze()},stop:function(){this._call&&(this._call=null,this._time=1/0,ze())}};var xn=an("start","end","cancel","interrupt"),fn=[];function cr(n,i,o,s,l,p){var b=n.__transition;if(b){if(o in b)return}else n.__transition={};(function(v,T,N){var B,F=v.__transition;function O(Q){var Z,G,rt,et;if(N.state!==1)return U();for(Z in F)if((et=F[Z]).name===N.name){if(et.state===3)return Ve(O);et.state===4?(et.state=6,et.timer.stop(),et.on.call("interrupt",v,v.__data__,et.index,et.group),delete F[Z]):+Z0)throw new Error("too late; already scheduled");return o}function Mr(n,i){var o=or(n,i);if(o.state>3)throw new Error("too late; already running");return o}function or(n,i){var o=n.__transition;if(!o||!(o=o[i]))throw new Error("transition not found");return o}function ha(n,i){var o,s,l,p=n.__transition,b=!0;if(p){for(l in i=i==null?null:i+"",p)(o=p[l]).name===i?(s=o.state>2&&o.state<5,o.state=6,o.timer.stop(),o.on.call(s?"interrupt":"cancel",n,n.__data__,o.index,o.group),delete p[l]):b=!1;b&&delete n.__transition}}var ms,zl,S0,Ul,_o=180/Math.PI,ql={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ey(n,i,o,s,l,p){var b,v,T;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(T=n*o+i*s)&&(o-=n*T,s-=i*T),(v=Math.sqrt(o*o+s*s))&&(o/=v,s/=v,T/=v),n*s180?B+=360:B-N>180&&(N+=360),O.push({i:F.push(l(F)+"rotate(",null,s)-2,x:ua(N,B)})):B&&F.push(l(F)+"rotate("+B+s)}(p.rotate,b.rotate,v,T),function(N,B,F,O){N!==B?O.push({i:F.push(l(F)+"skewX(",null,s)-2,x:ua(N,B)}):B&&F.push(l(F)+"skewX("+B+s)}(p.skewX,b.skewX,v,T),function(N,B,F,O,z,U){if(N!==F||B!==O){var Q=z.push(l(z)+"scale(",null,",",null,")");U.push({i:Q-4,x:ua(N,F)},{i:Q-2,x:ua(B,O)})}else F===1&&O===1||z.push(l(z)+"scale("+F+","+O+")")}(p.scaleX,p.scaleY,b.scaleX,b.scaleY,v,T),p=b=null,function(N){for(var B,F=-1,O=T.length;++F=0&&(v=v.slice(0,T)),!v||v==="start"})}(i)?ur:Mr;return function(){var b=p(this,n),v=b.on;v!==s&&(l=(s=v).copy()).on(i,o),b.on=l}}var Y0=La.prototype.constructor;function z0(n){return function(){this.style.removeProperty(n)}}function U0(n,i,o){return function(s){this.style.setProperty(n,i.call(this,s),o)}}function q0(n,i,o){var s,l;function p(){var b=i.apply(this,arguments);return b!==l&&(s=(l=b)&&U0(n,b,o)),s}return p._value=i,p}function H0(n){return function(i){this.textContent=n.call(this,i)}}function Nb(n){var i,o;function s(){var l=n.apply(this,arguments);return l!==o&&(i=(o=l)&&H0(l)),i}return s._value=n,s}var Db=0;function Ho(n,i,o,s){this._groups=n,this._parents=i,this._name=o,this._id=s}function jf(n){return La().transition(n)}function W0(){return++Db}var Wo=La.prototype;function Yf(n){return n*n*n}function zf(n){return--n*n*n+1}function Xs(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}Ho.prototype=jf.prototype={constructor:Ho,select:function(n){var i=this._name,o=this._id;typeof n!="function"&&(n=Or(n));for(var s=this._groups,l=s.length,p=new Array(l),b=0;b1&&o.name===i)return new Ho([[n]],Ob,i,+s)}return null}function $0(n){return function(){return n}}function Lb(n,i,o){this.target=n,this.type=i,this.selection=o}function oy(){pt.stopImmediatePropagation()}function V0(){pt.preventDefault(),pt.stopImmediatePropagation()}var sy={name:"drag"},Uf={name:"space"},Oc={name:"handle"},Bc={name:"center"};function wu(n){return[+n[0],+n[1]]}function qf(n){return[wu(n[0]),wu(n[1])]}function Hf(n){return function(i){return la(i,pt.touches,n)}}var Wf={name:"x",handles:["w","e"].map(Sa),input:function(n,i){return n==null?null:[[+n[0],i[0][1]],[+n[1],i[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},ku={name:"y",handles:["n","s"].map(Sa),input:function(n,i){return n==null?null:[[i[0][0],+n[0]],[i[1][0],+n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},Ya={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Sa),input:function(n){return n==null?null:qf(n)},output:function(n){return n}},Vo={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},G0={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},$f={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},cy={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},uy={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Sa(n){return{type:n}}function X0(){return!pt.ctrlKey&&!pt.button}function Z0(){var n=this.ownerSVGElement||this;return n.hasAttribute("viewBox")?[[(n=n.viewBox.baseVal).x,n.y],[n.x+n.width,n.y+n.height]]:[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function ly(){return navigator.maxTouchPoints||"ontouchstart"in this}function Vf(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function Ib(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function Rb(n){var i=n.__brush;return i?i.dim.output(i.selection):null}function Gf(){return Wl(Wf)}function Fb(){return Wl(ku)}function Q0(){return Wl(Ya)}function Wl(n){var i,o=Z0,s=X0,l=ly,p=!0,b=an("start","brush","end"),v=6;function T(Z){var G=Z.property("__brush",Q).selectAll(".overlay").data([Sa("overlay")]);G.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Vo.overlay).merge(G).each(function(){var et=Vf(this).extent;pr(this).attr("x",et[0][0]).attr("y",et[0][1]).attr("width",et[1][0]-et[0][0]).attr("height",et[1][1]-et[0][1])}),Z.selectAll(".selection").data([Sa("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Vo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var rt=Z.selectAll(".handle").data(n.handles,function(et){return et.type});rt.exit().remove(),rt.enter().append("rect").attr("class",function(et){return"handle handle--"+et.type}).attr("cursor",function(et){return Vo[et.type]}),Z.each(N).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",O).filter(l).on("touchstart.brush",O).on("touchmove.brush",z).on("touchend.brush touchcancel.brush",U).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function N(){var Z=pr(this),G=Vf(this).selection;G?(Z.selectAll(".selection").style("display",null).attr("x",G[0][0]).attr("y",G[0][1]).attr("width",G[1][0]-G[0][0]).attr("height",G[1][1]-G[0][1]),Z.selectAll(".handle").style("display",null).attr("x",function(rt){return rt.type[rt.type.length-1]==="e"?G[1][0]-v/2:G[0][0]-v/2}).attr("y",function(rt){return rt.type[0]==="s"?G[1][1]-v/2:G[0][1]-v/2}).attr("width",function(rt){return rt.type==="n"||rt.type==="s"?G[1][0]-G[0][0]+v:v}).attr("height",function(rt){return rt.type==="e"||rt.type==="w"?G[1][1]-G[0][1]+v:v})):Z.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function B(Z,G,rt){var et=Z.__brush.emitter;return!et||rt&&et.clean?new F(Z,G,rt):et}function F(Z,G,rt){this.that=Z,this.args=G,this.state=Z.__brush,this.active=0,this.clean=rt}function O(){if((!i||pt.touches)&&s.apply(this,arguments)){var Z,G,rt,et,ut,Pt,Vt,qt,be,Yt,ce,ct=this,xt=pt.target.__data__.type,ie=(p&&pt.metaKey?xt="overlay":xt)==="selection"?sy:p&&pt.altKey?Bc:Oc,Kt=n===ku?null:cy[xt],ae=n===Wf?null:uy[xt],Be=Vf(ct),$e=Be.extent,dn=Be.selection,Fn=$e[0][0],ir=$e[0][1],rn=$e[1][0],tr=$e[1][1],Dn=0,Sn=0,sr=Kt&&ae&&p&&pt.shiftKey,Hi=pt.touches?Hf(pt.changedTouches[0].identifier):ys,bi=Hi(ct),$s=bi,Tc=B(ct,arguments,!0).beforestart();xt==="overlay"?(dn&&(be=!0),Be.selection=dn=[[Z=n===ku?Fn:bi[0],rt=n===Wf?ir:bi[1]],[ut=n===ku?rn:Z,Vt=n===Wf?tr:rt]]):(Z=dn[0][0],rt=dn[0][1],ut=dn[1][0],Vt=dn[1][1]),G=Z,et=rt,Pt=ut,qt=Vt;var Df=pr(ct).attr("pointer-events","none"),Of=Df.selectAll(".overlay").attr("cursor",Vo[xt]);if(pt.touches)Tc.moved=E0,Tc.ended=Ka;else{var ps=pr(pt.view).on("mousemove.brush",E0,!0).on("mouseup.brush",Ka,!0);p&&ps.on("keydown.brush",Q2,!0).on("keyup.brush",_b,!0),Kr(pt.view)}oy(),ha(ct),N.call(ct),Tc.start()}function E0(){var Ja=Hi(ct);!sr||Yt||ce||(Math.abs(Ja[0]-$s[0])>Math.abs(Ja[1]-$s[1])?ce=!0:Yt=!0),$s=Ja,be=!0,V0(),lo()}function lo(){var Ja;switch(Dn=$s[0]-bi[0],Sn=$s[1]-bi[1],ie){case Uf:case sy:Kt&&(Dn=Math.max(Fn-Z,Math.min(rn-ut,Dn)),G=Z+Dn,Pt=ut+Dn),ae&&(Sn=Math.max(ir-rt,Math.min(tr-Vt,Sn)),et=rt+Sn,qt=Vt+Sn);break;case Oc:Kt<0?(Dn=Math.max(Fn-Z,Math.min(rn-Z,Dn)),G=Z+Dn,Pt=ut):Kt>0&&(Dn=Math.max(Fn-ut,Math.min(rn-ut,Dn)),G=Z,Pt=ut+Dn),ae<0?(Sn=Math.max(ir-rt,Math.min(tr-rt,Sn)),et=rt+Sn,qt=Vt):ae>0&&(Sn=Math.max(ir-Vt,Math.min(tr-Vt,Sn)),et=rt,qt=Vt+Sn);break;case Bc:Kt&&(G=Math.max(Fn,Math.min(rn,Z-Dn*Kt)),Pt=Math.max(Fn,Math.min(rn,ut+Dn*Kt))),ae&&(et=Math.max(ir,Math.min(tr,rt-Sn*ae)),qt=Math.max(ir,Math.min(tr,Vt+Sn*ae)))}Pt0&&(Z=G-Dn),ae<0?Vt=qt-Sn:ae>0&&(rt=et-Sn),ie=Uf,Of.attr("cursor",Vo.selection),lo());break;default:return}V0()}function _b(){switch(pt.keyCode){case 16:sr&&(Yt=ce=sr=!1,lo());break;case 18:ie===Bc&&(Kt<0?ut=Pt:Kt>0&&(Z=G),ae<0?Vt=qt:ae>0&&(rt=et),ie=Oc,lo());break;case 32:ie===Uf&&(pt.altKey?(Kt&&(ut=Pt-Dn*Kt,Z=G+Dn*Kt),ae&&(Vt=qt-Sn*ae,rt=et+Sn*ae),ie=Bc):(Kt<0?ut=Pt:Kt>0&&(Z=G),ae<0?Vt=qt:ae>0&&(rt=et),ie=Oc),Of.attr("cursor",Vo[xt]),lo());break;default:return}V0()}}function z(){B(this,arguments).moved()}function U(){B(this,arguments).ended()}function Q(){var Z=this.__brush||{selection:null};return Z.extent=qf(o.apply(this,arguments)),Z.dim=n,Z}return T.move=function(Z,G){Z.selection?Z.on("start.brush",function(){B(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){B(this,arguments).end()}).tween("brush",function(){var rt=this,et=rt.__brush,ut=B(rt,arguments),Pt=et.selection,Vt=n.input(typeof G=="function"?G.apply(this,arguments):G,et.extent),qt=Mc(Pt,Vt);function be(Yt){et.selection=Yt===1&&Vt===null?null:qt(Yt),N.call(rt),ut.brush()}return Pt!==null&&Vt!==null?be:be(1)}):Z.each(function(){var rt=this,et=arguments,ut=rt.__brush,Pt=n.input(typeof G=="function"?G.apply(rt,et):G,ut.extent),Vt=B(rt,et).beforestart();ha(rt),ut.selection=Pt===null?null:Pt,N.call(rt),Vt.start().brush().end()})},T.clear=function(Z){T.move(Z,null)},F.prototype={beforestart:function(){return++this.active==1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active==0&&(delete this.state.emitter,this.emit("end")),this},emit:function(Z){no(new Lb(T,Z,n.output(this.state.selection)),b.apply,b,[Z,this.that,this.args])}},T.extent=function(Z){return arguments.length?(o=typeof Z=="function"?Z:$0(qf(Z)),T):o},T.filter=function(Z){return arguments.length?(s=typeof Z=="function"?Z:$0(!!Z),T):s},T.touchable=function(Z){return arguments.length?(l=typeof Z=="function"?Z:$0(!!Z),T):l},T.handleSize=function(Z){return arguments.length?(v=+Z,T):v},T.keyModifiers=function(Z){return arguments.length?(p=!!Z,T):p},T.on=function(){var Z=b.on.apply(b,arguments);return Z===b?T:Z},T}var hy=Math.cos,fy=Math.sin,Xf=Math.PI,Zf=Xf/2,dy=2*Xf,K0=Math.max;function Tu(n){return function(i,o){return n(i.source.value+i.target.value,o.source.value+o.target.value)}}function J0(){var n=0,i=null,o=null,s=null;function l(p){var b,v,T,N,B,F,O=p.length,z=[],U=st(O),Q=[],Z=[],G=Z.groups=new Array(O),rt=new Array(O*O);for(b=0,B=-1;++Bbs)if(Math.abs(B*v-T*N)>bs&&l){var O=o-p,z=s-b,U=v*v+T*T,Q=O*O+z*z,Z=Math.sqrt(U),G=Math.sqrt(F),rt=l*Math.tan((Qf-Math.acos((U+F-Q)/(2*Z*G)))/2),et=rt/G,ut=rt/Z;Math.abs(et-1)>bs&&(this._+="L"+(n+et*N)+","+(i+et*B)),this._+="A"+l+","+l+",0,0,"+ +(B*O>N*z)+","+(this._x1=n+ut*v)+","+(this._y1=i+ut*T)}else this._+="L"+(this._x1=n)+","+(this._y1=i)},arc:function(n,i,o,s,l,p){n=+n,i=+i,p=!!p;var b=(o=+o)*Math.cos(s),v=o*Math.sin(s),T=n+b,N=i+v,B=1^p,F=p?s-l:l-s;if(o<0)throw new Error("negative radius: "+o);this._x1===null?this._+="M"+T+","+N:(Math.abs(this._x1-T)>bs||Math.abs(this._y1-N)>bs)&&(this._+="L"+T+","+N),o&&(F<0&&(F=F%Kf+Kf),F>py?this._+="A"+o+","+o+",0,1,"+B+","+(n-b)+","+(i-v)+"A"+o+","+o+",0,1,"+B+","+(this._x1=T)+","+(this._y1=N):F>bs&&(this._+="A"+o+","+o+",0,"+ +(F>=Qf)+","+B+","+(this._x1=n+o*Math.cos(l))+","+(this._y1=i+o*Math.sin(l))))},rect:function(n,i,o,s){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+i)+"h"+ +o+"v"+ +s+"h"+-o+"Z"},toString:function(){return this._}};const _s=$l;function Jf(n){return n.source}function Eu(n){return n.target}function gy(n){return n.radius}function yy(n){return n.startAngle}function my(n){return n.endAngle}function np(){var n=Jf,i=Eu,o=gy,s=yy,l=my,p=null;function b(){var v,T=Pb.call(arguments),N=n.apply(this,T),B=i.apply(this,T),F=+o.apply(this,(T[0]=N,T)),O=s.apply(this,T)-Zf,z=l.apply(this,T)-Zf,U=F*hy(O),Q=F*fy(O),Z=+o.apply(this,(T[0]=B,T)),G=s.apply(this,T)-Zf,rt=l.apply(this,T)-Zf;if(p||(p=v=_s()),p.moveTo(U,Q),p.arc(0,0,F,O,z),O===G&&z===rt||(p.quadraticCurveTo(0,0,Z*hy(G),Z*fy(G)),p.arc(0,0,Z,G,rt)),p.quadraticCurveTo(0,0,U,Q),p.closePath(),v)return p=null,v+""||null}return b.radius=function(v){return arguments.length?(o=typeof v=="function"?v:tp(+v),b):o},b.startAngle=function(v){return arguments.length?(s=typeof v=="function"?v:tp(+v),b):s},b.endAngle=function(v){return arguments.length?(l=typeof v=="function"?v:tp(+v),b):l},b.source=function(v){return arguments.length?(n=v,b):n},b.target=function(v){return arguments.length?(i=v,b):i},b.context=function(v){return arguments.length?(p=v==null?null:v,b):p},b}var za="$";function Vl(){}function rp(n,i){var o=new Vl;if(n instanceof Vl)n.each(function(v,T){o.set(T,v)});else if(Array.isArray(n)){var s,l=-1,p=n.length;if(i==null)for(;++l=s.length)return n!=null&&v.sort(n),i!=null?i(v):v;for(var F,O,z,U=-1,Q=v.length,Z=s[T++],G=xs(),rt=N();++Us.length)return v;var N,B=l[T-1];return i!=null&&T>=s.length?N=v.entries():(N=[],v.each(function(F,O){N.push({key:O,values:b(F,T)})})),B!=null?N.sort(function(F,O){return B(F.key,O.key)}):N}return o={object:function(v){return p(v,0,vy,by)},map:function(v){return p(v,0,ip,_y)},entries:function(v){return b(p(v,0,ip,_y),0)},key:function(v){return s.push(v),o},sortKeys:function(v){return l[s.length-1]=v,o},sortValues:function(v){return n=v,o},rollup:function(v){return i=v,o}}}function vy(){return{}}function by(n,i,o){n[i]=o}function ip(){return xs()}function _y(n,i,o){n.set(i,o)}function Gl(){}var Zs=xs.prototype;function Cu(n,i){var o=new Gl;if(n instanceof Gl)n.each(function(p){o.add(p)});else if(n){var s=-1,l=n.length;if(i==null)for(;++s.008856451679035631?Math.pow(n,1/3):n/xy+r1}function cp(n){return n>sp?n*n*n:xy*(n-r1)}function Au(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function ws(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function a1(n){if(n instanceof Go)return new Go(n.h,n.c,n.l,n.opacity);if(n instanceof xo||(n=Su(n)),n.a===0&&n.b===0)return new Go(NaN,0s!=z>s&&o<(O-N)*(s-B)/(z-B)+N&&(l=-l)}return l}function Jl(n,i,o){var s,l,p,b;return function(v,T,N){return(T[0]-v[0])*(N[1]-v[1])==(N[0]-v[0])*(T[1]-v[1])}(n,i,o)&&(l=n[s=+(n[0]===i[0])],p=o[s],b=i[s],l<=p&&p<=b||b<=p&&p<=l)}function Ey(){}var Zo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Ni(){var n=1,i=1,o=Wt,s=v;function l(T){var N=o(T);if(Array.isArray(N))N=N.slice().sort(zb);else{var B=J(T),F=B[0],O=B[1];N=vt(F,O,N),N=st(Math.floor(F/N)*N,Math.floor(O/N)*N,N)}return N.map(function(z){return p(T,z)})}function p(T,N){var B=[],F=[];return function(O,z,U){var Q,Z,G,rt,et,ut,Pt=new Array,Vt=new Array;for(Q=Z=-1,rt=O[0]>=z,Zo[rt<<1].forEach(qt);++Q=z,Zo[G|rt<<1].forEach(qt);for(Zo[rt<<0].forEach(qt);++Z=z,et=O[Z*n]>=z,Zo[rt<<1|et<<2].forEach(qt);++Q=z,ut=et,et=O[Z*n+Q+1]>=z,Zo[G|rt<<1|et<<2|ut<<3].forEach(qt);Zo[rt|et<<3].forEach(qt)}for(Q=-1,et=O[Z*n]>=z,Zo[et<<2].forEach(qt);++Q=z,Zo[et<<2|ut<<3].forEach(qt);function qt(be){var Yt,ce,ct=[be[0][0]+Q,be[0][1]+Z],xt=[be[1][0]+Q,be[1][1]+Z],ie=b(ct),Kt=b(xt);(Yt=Vt[ie])?(ce=Pt[Kt])?(delete Vt[Yt.end],delete Pt[ce.start],Yt===ce?(Yt.ring.push(xt),U(Yt.ring)):Pt[Yt.start]=Vt[ce.end]={start:Yt.start,end:ce.end,ring:Yt.ring.concat(ce.ring)}):(delete Vt[Yt.end],Yt.ring.push(xt),Vt[Yt.end=Kt]=Yt):(Yt=Pt[Kt])?(ce=Vt[ie])?(delete Pt[Yt.start],delete Vt[ce.end],Yt===ce?(Yt.ring.push(xt),U(Yt.ring)):Pt[ce.start]=Vt[Yt.end]={start:ce.start,end:Yt.end,ring:ce.ring.concat(Yt.ring)}):(delete Pt[Yt.start],Yt.ring.unshift(ct),Pt[Yt.start=ie]=Yt):Pt[ie]=Vt[Kt]={start:ie,end:Kt,ring:[ct,xt]}}Zo[et<<3].forEach(qt)}(T,N,function(O){s(O,T,N),function(z){for(var U=0,Q=z.length,Z=z[Q-1][1]*z[0][0]-z[Q-1][0]*z[0][1];++U0?B.push([O]):F.push(O)}),F.forEach(function(O){for(var z,U=0,Q=B.length;U0&&z0&&U0&&B>0))throw new Error("invalid size");return n=N,i=B,l},l.thresholds=function(T){return arguments.length?(o=typeof T=="function"?T:Array.isArray(T)?Xo(Ty.call(T)):Xo(T),l):o},l.smooth=function(T){return arguments.length?(s=T?v:Ey,l):s===v},l}function pp(n,i,o){for(var s=n.width,l=n.height,p=1+(o<<1),b=0;b=o&&(v>=p&&(T-=n.data[v-p+b*s]),i.data[v-o+b*s]=T/Math.min(v+1,s-1+p-v,p))}function gp(n,i,o){for(var s=n.width,l=n.height,p=1+(o<<1),b=0;b=o&&(v>=p&&(T-=n.data[b+(v-p)*s]),i.data[b+(v-o)*s]=T/Math.min(v+1,l-1+p-v,p))}function br(n){return n[0]}function Ub(n){return n[1]}function th(){return 1}function eh(){var n=br,i=Ub,o=th,s=960,l=500,p=20,b=2,v=3*p,T=s+2*v>>b,N=l+2*v>>b,B=Xo(20);function F(G){var rt=new Float32Array(T*N),et=new Float32Array(T*N);G.forEach(function(Vt,qt,be){var Yt=+n(Vt,qt,be)+v>>b,ce=+i(Vt,qt,be)+v>>b,ct=+o(Vt,qt,be);Yt>=0&&Yt=0&&ce>b),gp({width:T,height:N,data:et},{width:T,height:N,data:rt},p>>b),pp({width:T,height:N,data:rt},{width:T,height:N,data:et},p>>b),gp({width:T,height:N,data:et},{width:T,height:N,data:rt},p>>b),pp({width:T,height:N,data:rt},{width:T,height:N,data:et},p>>b),gp({width:T,height:N,data:et},{width:T,height:N,data:rt},p>>b);var ut=B(rt);if(!Array.isArray(ut)){var Pt=Dt(rt);ut=vt(0,Pt,ut),(ut=st(0,Math.floor(Pt/ut)*ut,ut)).shift()}return Ni().thresholds(ut).size([T,N])(rt).map(O)}function O(G){return G.value*=Math.pow(2,-2*b),G.coordinates.forEach(z),G}function z(G){G.forEach(U)}function U(G){G.forEach(Q)}function Q(G){G[0]=G[0]*Math.pow(2,b)-v,G[1]=G[1]*Math.pow(2,b)-v}function Z(){return T=s+2*(v=3*p)>>b,N=l+2*v>>b,F}return F.x=function(G){return arguments.length?(n=typeof G=="function"?G:Xo(+G),F):n},F.y=function(G){return arguments.length?(i=typeof G=="function"?G:Xo(+G),F):i},F.weight=function(G){return arguments.length?(o=typeof G=="function"?G:Xo(+G),F):o},F.size=function(G){if(!arguments.length)return[s,l];var rt=Math.ceil(G[0]),et=Math.ceil(G[1]);if(!(rt>=0||rt>=0))throw new Error("invalid size");return s=rt,l=et,Z()},F.cellSize=function(G){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return b=Math.floor(Math.log(G)/Math.LN2),Z()},F.thresholds=function(G){return arguments.length?(B=typeof G=="function"?G:Array.isArray(G)?Xo(Ty.call(G)):Xo(G),F):B},F.bandwidth=function(G){if(!arguments.length)return Math.sqrt(p*(p+1));if(!((G=+G)>=0))throw new Error("invalid bandwidth");return p=Math.round((Math.sqrt(4*G*G+1)-1)/2),Z()},F}function s1(n){return function(){return n}}function yp(n,i,o,s,l,p,b,v,T,N){this.target=n,this.type=i,this.subject=o,this.identifier=s,this.active=l,this.x=p,this.y=b,this.dx=v,this.dy=T,this._=N}function qb(){return!pt.ctrlKey&&!pt.button}function Hb(){return this.parentNode}function Wb(n){return n==null?{x:pt.x,y:pt.y}:n}function Cy(){return navigator.maxTouchPoints||"ontouchstart"in this}function Sy(){var n,i,o,s,l=qb,p=Hb,b=Wb,v=Cy,T={},N=an("start","drag","end"),B=0,F=0;function O(ut){ut.on("mousedown.drag",z).filter(v).on("touchstart.drag",Z).on("touchmove.drag",G).on("touchend.drag touchcancel.drag",rt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function z(){if(!s&&l.apply(this,arguments)){var ut=et("mouse",p.apply(this,arguments),ys,this,arguments);ut&&(pr(pt.view).on("mousemove.drag",U,!0).on("mouseup.drag",Q,!0),Kr(pt.view),Tr(),o=!1,n=pt.clientX,i=pt.clientY,ut("start"))}}function U(){if(di(),!o){var ut=pt.clientX-n,Pt=pt.clientY-i;o=ut*ut+Pt*Pt>F}T.mouse("drag")}function Q(){pr(pt.view).on("mousemove.drag mouseup.drag",null),Pr(pt.view,o),di(),T.mouse("end")}function Z(){if(l.apply(this,arguments)){var ut,Pt,Vt=pt.changedTouches,qt=p.apply(this,arguments),be=Vt.length;for(ut=0;ut=F?U=!0:(et=v.charCodeAt(O++))===10?Q=!0:et===13&&(Q=!0,v.charCodeAt(O)===10&&++O),v.slice(ut+1,rt-1).replace(/""/g,'"')}for(;O9999?"+"+Aa(z,6):Aa(z,4)}(T.getUTCFullYear())+"-"+Aa(T.getUTCMonth()+1,2)+"-"+Aa(T.getUTCDate(),2)+(O?"T"+Aa(N,2)+":"+Aa(B,2)+":"+Aa(F,2)+"."+Aa(O,3)+"Z":F?"T"+Aa(N,2)+":"+Aa(B,2)+":"+Aa(F,2)+"Z":B||N?"T"+Aa(N,2)+":"+Aa(B,2)+"Z":"")}(v):i.test(v+="")?'"'+v.replace(/"/g,'""')+'"':v}return{parse:function(v,T){var N,B,F=s(v,function(O,z){if(N)return N(O,z-1);B=O,N=T?function(U,Q){var Z=My(U);return function(G,rt){return Q(Z(G),rt,U)}}(O,T):My(O)});return F.columns=B||[],F},parseRows:s,format:function(v,T){return T==null&&(T=vp(v)),[T.map(b).join(n)].concat(l(v,T)).join(` +`)},formatBody:function(v,T){return T==null&&(T=vp(v)),l(v,T).join(` +`)},formatRows:function(v){return v.map(p).join(` +`)},formatRow:p,formatValue:b}}var Ic=nh(","),Ny=Ic.parse,$b=Ic.parseRows,Vb=Ic.format,Gb=Ic.formatBody,Xb=Ic.formatRows,Zb=Ic.formatRow,Dy=Ic.formatValue,Rc=nh(" "),Oy=Rc.parse,Qb=Rc.parseRows,By=Rc.format,Kb=Rc.formatBody,Jb=Rc.formatRows,t4=Rc.formatRow,e4=Rc.formatValue;function n4(n){for(var i in n){var o,s,l=n[i].trim();if(l)if(l==="true")l=!0;else if(l==="false")l=!1;else if(l==="NaN")l=NaN;else if(isNaN(o=+l)){if(!(s=l.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;r4&&s[4]&&!s[7]&&(l=l.replace(/-/g,"/").replace(/T/," ")),l=new Date(l)}else l=o;else l=null;n[i]=l}return n}var r4=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Ly(n){return+n}function i4(n){return n*n}function a4(n){return n*(2-n)}function Iy(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}var o4=function n(i){function o(s){return Math.pow(s,i)}return i=+i,o.exponent=n,o}(3),s4=function n(i){function o(s){return 1-Math.pow(1-s,i)}return i=+i,o.exponent=n,o}(3),Ry=function n(i){function o(s){return((s*=2)<=1?Math.pow(s,i):2-Math.pow(2-s,i))/2}return i=+i,o.exponent=n,o}(3),Fy=Math.PI,Py=Fy/2;function jy(n){return+n==1?1:1-Math.cos(n*Py)}function c4(n){return Math.sin(n*Py)}function Yy(n){return(1-Math.cos(Fy*n))/2}function Js(n){return 1.0009775171065494*(Math.pow(2,-10*n)-.0009765625)}function zy(n){return Js(1-+n)}function u4(n){return 1-Js(n)}function Uy(n){return((n*=2)<=1?Js(1-n):2-Js(n-1))/2}function l4(n){return 1-Math.sqrt(1-n*n)}function h4(n){return Math.sqrt(1- --n*n)}function qy(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var c1=7.5625;function Hy(n){return 1-rh(1-n)}function rh(n){return(n=+n)<.36363636363636365?c1*n*n:n<.7272727272727273?c1*(n-=.5454545454545454)*n+.75:n<.9090909090909091?c1*(n-=.8181818181818182)*n+.9375:c1*(n-=.9545454545454546)*n+.984375}function f4(n){return((n*=2)<=1?1-rh(1-n):rh(n-1)+1)/2}var bp=1.70158,d4=function n(i){function o(s){return(s=+s)*s*(i*(s-1)+s)}return i=+i,o.overshoot=n,o}(bp),p4=function n(i){function o(s){return--s*s*((s+1)*i+s)+1}return i=+i,o.overshoot=n,o}(bp),Wy=function n(i){function o(s){return((s*=2)<1?s*s*((i+1)*s-i):(s-=2)*s*((i+1)*s+i)+2)/2}return i=+i,o.overshoot=n,o}(bp),Nu=2*Math.PI,g4=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Nu);function l(p){return i*Js(- --p)*Math.sin((s-p)/o)}return l.amplitude=function(p){return n(p,o*Nu)},l.period=function(p){return n(i,p)},l}(1,.3),_p=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Nu);function l(p){return 1-i*Js(p=+p)*Math.sin((p+s)/o)}return l.amplitude=function(p){return n(p,o*Nu)},l.period=function(p){return n(i,p)},l}(1,.3),$y=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Nu);function l(p){return((p=2*p-1)<0?i*Js(-p)*Math.sin((s-p)/o):2-i*Js(p)*Math.sin((s+p)/o))/2}return l.amplitude=function(p){return n(p,o*Nu)},l.period=function(p){return n(i,p)},l}(1,.3);function Vy(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.blob()}function y4(n,i){return fetch(n,i).then(Vy)}function m4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.arrayBuffer()}function Gy(n,i){return fetch(n,i).then(m4)}function v4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.text()}function Du(n,i){return fetch(n,i).then(v4)}function xp(n){return function(i,o,s){return arguments.length===2&&typeof o=="function"&&(s=o,o=void 0),Du(i,o).then(function(l){return n(l,s)})}}function b4(n,i,o,s){arguments.length===3&&typeof o=="function"&&(s=o,o=void 0);var l=nh(n);return Du(i,o).then(function(p){return l.parse(p,s)})}var Xy=xp(Ny),Zy=xp(Oy);function Qy(n,i){return new Promise(function(o,s){var l=new Image;for(var p in i)l[p]=i[p];l.onerror=s,l.onload=function(){o(l)},l.src=n})}function _4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);if(n.status!==204&&n.status!==205)return n.json()}function x4(n,i){return fetch(n,i).then(_4)}function wp(n){return function(i,o){return Du(i,o).then(function(s){return new DOMParser().parseFromString(s,n)})}}const w4=wp("application/xml");var Ky=wp("text/html"),u1=wp("image/svg+xml");function k4(n,i){var o;function s(){var l,p,b=o.length,v=0,T=0;for(l=0;l=(p=(Q+G)/2))?Q=p:G=p,(B=o>=(b=(Z+rt)/2))?Z=b:rt=b,l=z,!(z=z[F=B<<1|N]))return l[F]=U,n;if(v=+n._x.call(null,z.data),T=+n._y.call(null,z.data),i===v&&o===T)return U.next=z,l?l[F]=U:n._root=U,n;do l=l?l[F]=new Array(4):n._root=new Array(4),(N=i>=(p=(Q+G)/2))?Q=p:G=p,(B=o>=(b=(Z+rt)/2))?Z=b:rt=b;while((F=B<<1|N)==(O=(T>=b)<<1|v>=p));return l[O]=z,l[F]=U,n}function da(n,i,o,s,l){this.node=n,this.x0=i,this.y0=o,this.x1=s,this.y1=l}function T4(n){return n[0]}function kp(n){return n[1]}function ih(n,i,o){var s=new Ou(i==null?T4:i,o==null?kp:o,NaN,NaN,NaN,NaN);return n==null?s:s.addAll(n)}function Ou(n,i,o,s,l,p){this._x=n,this._y=i,this._x0=o,this._y0=s,this._x1=l,this._y1=p,this._root=void 0}function tm(n){for(var i={data:n.data},o=i;n=n.next;)o=o.next={data:n.data};return i}var pa=ih.prototype=Ou.prototype;function E4(n){return n.x+n.vx}function C4(n){return n.y+n.vy}function S4(n){var i,o,s=1,l=1;function p(){for(var T,N,B,F,O,z,U,Q=i.length,Z=0;ZF+Yt||PtO+Yt||VtB.index){var ce=F-qt.x-qt.vx,ct=O-qt.y-qt.vy,xt=ce*ce+ct*ct;xtT.r&&(T.r=T[N].r)}function v(){if(i){var T,N,B=i.length;for(o=new Array(B),T=0;TB&&(B=s),lF&&(F=l));if(T>B||N>F)return this;for(this.cover(T,N).cover(B,F),o=0;on||n>=l||s>i||i>=p;)switch(v=(iO||(p=T.y0)>z||(b=T.x1)=G)<<1|n>=Z)&&(T=U[U.length-1],U[U.length-1]=U[U.length-1-N],U[U.length-1-N]=T)}else{var rt=n-+this._x.call(null,Q.data),et=i-+this._y.call(null,Q.data),ut=rt*rt+et*et;if(ut=(v=(U+Z)/2))?U=v:Z=v,(B=b>=(T=(Q+G)/2))?Q=T:G=T,i=z,!(z=z[F=B<<1|N]))return this;if(!z.length)break;(i[F+1&3]||i[F+2&3]||i[F+3&3])&&(o=i,O=F)}for(;z.data!==n;)if(s=z,!(z=z.next))return this;return(l=z.next)&&delete z.next,s?(l?s.next=l:delete s.next,this):i?(l?i[F]=l:delete i[F],(z=i[0]||i[1]||i[2]||i[3])&&z===(i[3]||i[2]||i[1]||i[0])&&!z.length&&(o?o[O]=z:this._root=z),this):(this._root=l,this)},pa.removeAll=function(n){for(var i=0,o=n.length;i1?(Q==null?v.remove(U):v.set(U,z(Q)),i):v.get(U)},find:function(U,Q,Z){var G,rt,et,ut,Pt,Vt=0,qt=n.length;for(Z==null?Z=1/0:Z*=Z,Vt=0;Vt1?(N.on(U,Q),i):N.on(U)}}}function B4(){var n,i,o,s,l=Di(-30),p=1,b=1/0,v=.81;function T(O){var z,U=n.length,Q=ih(n,N4,D4).visitAfter(B);for(o=O,z=0;z=b)){(O.data!==i||O.next)&&(Z===0&&(et+=(Z=tc())*Z),G===0&&(et+=(G=tc())*G),et1?s[0]+s.slice(2):s,+n.slice(o+1)]}function Fc(n){return(n=ah(Math.abs(n)))?n[1]:NaN}var Cp,I4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oh(n){if(!(i=I4.exec(n)))throw new Error("invalid format: "+n);var i;return new l1({fill:i[1],align:i[2],sign:i[3],symbol:i[4],zero:i[5],width:i[6],comma:i[7],precision:i[8]&&i[8].slice(1),trim:i[9],type:i[10]})}function l1(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}function nm(n,i){var o=ah(n,i);if(!o)return n+"";var s=o[0],l=o[1];return l<0?"0."+new Array(-l).join("0")+s:s.length>l+1?s.slice(0,l+1)+"."+s.slice(l+1):s+new Array(l-s.length+2).join("0")}oh.prototype=l1.prototype,l1.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const rm={"%":function(n,i){return(100*n).toFixed(i)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)},e:function(n,i){return n.toExponential(i)},f:function(n,i){return n.toFixed(i)},g:function(n,i){return n.toPrecision(i)},o:function(n){return Math.round(n).toString(8)},p:function(n,i){return nm(100*n,i)},r:nm,s:function(n,i){var o=ah(n,i);if(!o)return n+"";var s=o[0],l=o[1],p=l-(Cp=3*Math.max(-8,Math.min(8,Math.floor(l/3))))+1,b=s.length;return p===b?s:p>b?s+new Array(p-b+1).join("0"):p>0?s.slice(0,p)+"."+s.slice(p):"0."+new Array(1-p).join("0")+ah(n,Math.max(0,i+p-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}};function im(n){return n}var h1,f1,Sp,am=Array.prototype.map,om=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function sm(n){var i,o,s=n.grouping===void 0||n.thousands===void 0?im:(i=am.call(n.grouping,Number),o=n.thousands+"",function(O,z){for(var U=O.length,Q=[],Z=0,G=i[0],rt=0;U>0&&G>0&&(rt+G+1>z&&(G=Math.max(1,z-rt)),Q.push(O.substring(U-=G,U+G)),!((rt+=G+1)>z));)G=i[Z=(Z+1)%i.length];return Q.reverse().join(o)}),l=n.currency===void 0?"":n.currency[0]+"",p=n.currency===void 0?"":n.currency[1]+"",b=n.decimal===void 0?".":n.decimal+"",v=n.numerals===void 0?im:function(O){return function(z){return z.replace(/[0-9]/g,function(U){return O[+U]})}}(am.call(n.numerals,String)),T=n.percent===void 0?"%":n.percent+"",N=n.minus===void 0?"-":n.minus+"",B=n.nan===void 0?"NaN":n.nan+"";function F(O){var z=(O=oh(O)).fill,U=O.align,Q=O.sign,Z=O.symbol,G=O.zero,rt=O.width,et=O.comma,ut=O.precision,Pt=O.trim,Vt=O.type;Vt==="n"?(et=!0,Vt="g"):rm[Vt]||(ut===void 0&&(ut=12),Pt=!0,Vt="g"),(G||z==="0"&&U==="=")&&(G=!0,z="0",U="=");var qt=Z==="$"?l:Z==="#"&&/[boxX]/.test(Vt)?"0"+Vt.toLowerCase():"",be=Z==="$"?p:/[%p]/.test(Vt)?T:"",Yt=rm[Vt],ce=/[defgprs%]/.test(Vt);function ct(xt){var ie,Kt,ae,Be=qt,$e=be;if(Vt==="c")$e=Yt(xt)+$e,xt="";else{var dn=(xt=+xt)<0||1/xt<0;if(xt=isNaN(xt)?B:Yt(Math.abs(xt),ut),Pt&&(xt=function(rn){t:for(var tr,Dn=rn.length,Sn=1,sr=-1;Sn0&&(sr=0)}return sr>0?rn.slice(0,sr)+rn.slice(tr+1):rn}(xt)),dn&&+xt==0&&Q!=="+"&&(dn=!1),Be=(dn?Q==="("?Q:N:Q==="-"||Q==="("?"":Q)+Be,$e=(Vt==="s"?om[8+Cp/3]:"")+$e+(dn&&Q==="("?")":""),ce){for(ie=-1,Kt=xt.length;++ie(ae=xt.charCodeAt(ie))||ae>57){$e=(ae===46?b+xt.slice(ie+1):xt.slice(ie))+$e,xt=xt.slice(0,ie);break}}}et&&!G&&(xt=s(xt,1/0));var Fn=Be.length+xt.length+$e.length,ir=Fn>1)+Be+xt+$e+ir.slice(Fn);break;default:xt=ir+Be+xt+$e}return v(xt)}return ut=ut===void 0?6:/[gprs]/.test(Vt)?Math.max(1,Math.min(21,ut)):Math.max(0,Math.min(20,ut)),ct.toString=function(){return O+""},ct}return{format:F,formatPrefix:function(O,z){var U=F(((O=oh(O)).type="f",O)),Q=3*Math.max(-8,Math.min(8,Math.floor(Fc(z)/3))),Z=Math.pow(10,-Q),G=om[8+Q/3];return function(rt){return U(Z*rt)+G}}}}function cm(n){return h1=sm(n),f1=h1.format,Sp=h1.formatPrefix,h1}function Ap(n){return Math.max(0,-Fc(Math.abs(n)))}function um(n,i){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Fc(i)/3)))-Fc(Math.abs(n)))}function lm(n,i){return n=Math.abs(n),i=Math.abs(i)-n,Math.max(0,Fc(i)-Fc(n))+1}function ec(){return new d1}function d1(){this.reset()}cm({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),d1.prototype={constructor:d1,reset:function(){this.s=this.t=0},add:function(n){hm(p1,n,this.t),hm(this,p1.s,this.s),this.s?this.t+=p1.t:this.s=p1.t},valueOf:function(){return this.s}};var p1=new d1;function hm(n,i,o){var s=n.s=i+o,l=s-i,p=s-l;n.t=i-p+(o-l)}var Rn=1e-6,sh=1e-12,nr=Math.PI,ui=nr/2,Lu=nr/4,Nr=2*nr,Ir=180/nr,_n=nr/180,Se=Math.abs,nc=Math.atan,Xi=Math.atan2,hn=Math.cos,Qo=Math.ceil,fm=Math.exp,Iu=Math.log,g1=Math.pow,sn=Math.sin,_r=Math.sign||function(n){return n>0?1:n<0?-1:0},yi=Math.sqrt,ji=Math.tan;function rc(n){return n>1?0:n<-1?nr:Math.acos(n)}function ga(n){return n>1?ui:n<-1?-ui:Math.asin(n)}function y1(n){return(n=sn(n/2))*n}function xr(){}function Ts(n,i){n&&Ru.hasOwnProperty(n.type)&&Ru[n.type](n,i)}var ya={Feature:function(n,i){Ts(n.geometry,i)},FeatureCollection:function(n,i){for(var o=n.features,s=-1,l=o.length;++s=0?1:-1,l=s*o,p=hn(i=(i*=_n)/2+Lu),b=sn(i),v=Op*b,T=Dp*p+v*hn(l),N=v*s*sn(l);m1.add(Xi(N,T)),Np=n,Dp=p,Op=b}function R4(n){return v1.reset(),ko(n,Ua),2*v1}function b1(n){return[Xi(n[1],n[0]),ga(n[2])]}function oo(n){var i=n[0],o=n[1],s=hn(o);return[s*hn(i),s*sn(i),sn(o)]}function _1(n,i){return n[0]*i[0]+n[1]*i[1]+n[2]*i[2]}function Pu(n,i){return[n[1]*i[2]-n[2]*i[1],n[2]*i[0]-n[0]*i[2],n[0]*i[1]-n[1]*i[0]]}function ju(n,i){n[0]+=i[0],n[1]+=i[1],n[2]+=i[2]}function Pc(n,i){return[n[0]*i,n[1]*i,n[2]*i]}function uh(n){var i=yi(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=i,n[1]/=i,n[2]/=i}var Rr,ma,ri,Ma,ic,Lp,Ip,ac,To,Ko,Yu,lh,hh,jc,zu,Uu,so,fh,x1,Es,Rp,w1,qu,va,na,mi,dh=ec(),Eo={point:Yc,lineStart:Fp,lineEnd:Pp,polygonStart:function(){Eo.point=Hu,Eo.lineStart=mm,Eo.lineEnd=ph,dh.reset(),Ua.polygonStart()},polygonEnd:function(){Ua.polygonEnd(),Eo.point=Yc,Eo.lineStart=Fp,Eo.lineEnd=Pp,m1<0?(Rr=-(ri=180),ma=-(Ma=90)):dh>Rn?Ma=90:dh<-1e-6&&(ma=-90),Ko[0]=Rr,Ko[1]=ri},sphere:function(){Rr=-(ri=180),ma=-(Ma=90)}};function Yc(n,i){To.push(Ko=[Rr=n,ri=n]),iMa&&(Ma=i)}function ym(n,i){var o=oo([n*_n,i*_n]);if(ac){var s=Pu(ac,o),l=Pu([s[1],-s[0],0],s);uh(l),l=b1(l);var p,b=n-ic,v=b>0?1:-1,T=l[0]*Ir*v,N=Se(b)>180;N^(v*icMa&&(Ma=p):N^(v*ic<(T=(T+360)%360-180)&&TMa&&(Ma=i)),N?nba(Rr,ri)&&(ri=n):ba(n,ri)>ba(Rr,ri)&&(Rr=n):ri>=Rr?(nri&&(ri=n)):n>ic?ba(Rr,n)>ba(Rr,ri)&&(ri=n):ba(n,ri)>ba(Rr,ri)&&(Rr=n)}else To.push(Ko=[Rr=n,ri=n]);iMa&&(Ma=i),ac=o,ic=n}function Fp(){Eo.point=ym}function Pp(){Ko[0]=Rr,Ko[1]=ri,Eo.point=Yc,ac=null}function Hu(n,i){if(ac){var o=n-ic;dh.add(Se(o)>180?o+(o>0?360:-360):o)}else Lp=n,Ip=i;Ua.point(n,i),ym(n,i)}function mm(){Ua.lineStart()}function ph(){Hu(Lp,Ip),Ua.lineEnd(),Se(dh)>Rn&&(Rr=-(ri=180)),Ko[0]=Rr,Ko[1]=ri,ac=null}function ba(n,i){return(i-=n)<0?i+360:i}function jp(n,i){return n[0]-i[0]}function Wu(n,i){return n[0]<=n[1]?n[0]<=i&&i<=n[1]:iba(s[0],s[1])&&(s[1]=l[1]),ba(l[0],s[1])>ba(s[0],s[1])&&(s[0]=l[0])):p.push(s=l);for(b=-1/0,i=0,s=p[o=p.length-1];i<=o;s=l,++i)l=p[i],(v=ba(s[1],l[0]))>b&&(b=v,Rr=l[0],ri=s[1])}return To=Ko=null,Rr===1/0||ma===1/0?[[NaN,NaN],[NaN,NaN]]:[[Rr,ma],[ri,Ma]]}var qa={sphere:xr,point:k1,lineStart:vm,lineEnd:bm,polygonStart:function(){qa.lineStart=yh,qa.lineEnd=mh},polygonEnd:function(){qa.lineStart=vm,qa.lineEnd=bm}};function k1(n,i){n*=_n;var o=hn(i*=_n);li(o*hn(n),o*sn(n),sn(i))}function li(n,i,o){++Yu,hh+=(n-hh)/Yu,jc+=(i-jc)/Yu,zu+=(o-zu)/Yu}function vm(){qa.point=F4}function F4(n,i){n*=_n;var o=hn(i*=_n);va=o*hn(n),na=o*sn(n),mi=sn(i),qa.point=wr,li(va,na,mi)}function wr(n,i){n*=_n;var o=hn(i*=_n),s=o*hn(n),l=o*sn(n),p=sn(i),b=Xi(yi((b=na*p-mi*l)*b+(b=mi*s-va*p)*b+(b=va*l-na*s)*b),va*s+na*l+mi*p);lh+=b,Uu+=b*(va+(va=s)),so+=b*(na+(na=l)),fh+=b*(mi+(mi=p)),li(va,na,mi)}function bm(){qa.point=k1}function yh(){qa.point=P4}function mh(){_m(w1,qu),qa.point=k1}function P4(n,i){w1=n,qu=i,n*=_n,i*=_n,qa.point=_m;var o=hn(i);va=o*hn(n),na=o*sn(n),mi=sn(i),li(va,na,mi)}function _m(n,i){n*=_n;var o=hn(i*=_n),s=o*hn(n),l=o*sn(n),p=sn(i),b=na*p-mi*l,v=mi*s-va*p,T=va*l-na*s,N=yi(b*b+v*v+T*T),B=ga(N),F=N&&-B/N;x1+=F*b,Es+=F*v,Rp+=F*T,lh+=B,Uu+=B*(va+(va=s)),so+=B*(na+(na=l)),fh+=B*(mi+(mi=p)),li(va,na,mi)}function j4(n){Yu=lh=hh=jc=zu=Uu=so=fh=x1=Es=Rp=0,ko(n,qa);var i=x1,o=Es,s=Rp,l=i*i+o*o+s*s;return lnr?n+Math.round(-n/Nr)*Nr:n,i]}function E1(n,i,o){return(n%=Nr)?i||o?Yp(wm(n),km(i,o)):wm(n):i||o?km(i,o):T1}function xm(n){return function(i,o){return[(i+=n)>nr?i-Nr:i<-nr?i+Nr:i,o]}}function wm(n){var i=xm(n);return i.invert=xm(-n),i}function km(n,i){var o=hn(n),s=sn(n),l=hn(i),p=sn(i);function b(v,T){var N=hn(T),B=hn(v)*N,F=sn(v)*N,O=sn(T),z=O*o+B*s;return[Xi(F*l-z*p,B*o-O*s),ga(z*l+F*p)]}return b.invert=function(v,T){var N=hn(T),B=hn(v)*N,F=sn(v)*N,O=sn(T),z=O*l-F*p;return[Xi(F*l+O*p,B*o+z*s),ga(z*o-B*s)]},b}function zp(n){function i(o){return(o=n(o[0]*_n,o[1]*_n))[0]*=Ir,o[1]*=Ir,o}return n=E1(n[0]*_n,n[1]*_n,n.length>2?n[2]*_n:0),i.invert=function(o){return(o=n.invert(o[0]*_n,o[1]*_n))[0]*=Ir,o[1]*=Ir,o},i}function Tm(n,i,o,s,l,p){if(o){var b=hn(i),v=sn(i),T=s*o;l==null?(l=i+s*Nr,p=i-T/2):(l=Up(b,l),p=Up(b,p),(s>0?lp)&&(l+=s*Nr));for(var N,B=l;s>0?B>p:B1&&i.push(i.pop().concat(i.shift()))},result:function(){var o=i;return i=[],n=null,o}}}function C1(n,i){return Se(n[0]-i[0])=0;--p)l.point((B=N[p])[0],B[1]);else s(O.x,O.p.x,-1,l);O=O.p}N=(O=O.o).z,z=!z}while(!O.v);l.lineEnd()}}}function Sm(n){if(i=n.length){for(var i,o,s=0,l=n[0];++s=0?1:-1,Yt=be*qt,ce=Yt>nr,ct=Q*Pt;if(qp.add(Xi(ct*be*sn(Yt),Z*Vt+ct*hn(Yt))),b+=ce?qt+be*Nr:qt,ce^z>=o^et>=o){var xt=Pu(oo(O),oo(rt));uh(xt);var ie=Pu(p,xt);uh(ie);var Kt=(ce^qt>=0?-1:1)*ga(ie[2]);(s>Kt||s===Kt&&(xt[0]||xt[1]))&&(v+=ce^qt>=0?1:-1)}}return(b<-1e-6||b0){for(F||(l.polygonStart(),F=!0),l.lineStart(),ut=0;ut1&&2&be&&Yt.push(Yt.pop().concat(Yt.shift())),b.push(Yt.filter(z4))}return O}}function z4(n){return n.length>1}function Nm(n,i){return((n=n.x)[0]<0?n[1]-ui-Rn:ui-n[1])-((i=i.x)[0]<0?i[1]-ui-Rn:ui-i[1])}const Hp=Mm(function(){return!0},function(n){var i,o=NaN,s=NaN,l=NaN;return{lineStart:function(){n.lineStart(),i=1},point:function(p,b){var v=p>0?nr:-nr,T=Se(p-o);Se(T-nr)0?ui:-ui),n.point(l,s),n.lineEnd(),n.lineStart(),n.point(v,s),n.point(p,s),i=0):l!==v&&T>=nr&&(Se(o-l)Rn?nc((sn(B)*(U=hn(O))*sn(F)-sn(O)*(z=hn(B))*sn(N))/(z*U*Q)):(B+O)/2}(o,s,p,b),n.point(l,s),n.lineEnd(),n.lineStart(),n.point(v,s),i=0),n.point(o=p,s=b),l=v},lineEnd:function(){n.lineEnd(),o=s=NaN},clean:function(){return 2-i}}},function(n,i,o,s){var l;if(n==null)l=o*ui,s.point(-nr,l),s.point(0,l),s.point(nr,l),s.point(nr,0),s.point(nr,-l),s.point(0,-l),s.point(-nr,-l),s.point(-nr,0),s.point(-nr,l);else if(Se(n[0]-i[0])>Rn){var p=n[0]0,l=Se(i)>Rn;function p(T,N){return hn(T)*hn(N)>i}function b(T,N,B){var F=[1,0,0],O=Pu(oo(T),oo(N)),z=_1(O,O),U=O[0],Q=z-U*U;if(!Q)return!B&&T;var Z=i*z/Q,G=-i*U/Q,rt=Pu(F,O),et=Pc(F,Z);ju(et,Pc(O,G));var ut=rt,Pt=_1(et,ut),Vt=_1(ut,ut),qt=Pt*Pt-Vt*(_1(et,et)-1);if(!(qt<0)){var be=yi(qt),Yt=Pc(ut,(-Pt-be)/Vt);if(ju(Yt,et),Yt=b1(Yt),!B)return Yt;var ce,ct=T[0],xt=N[0],ie=T[1],Kt=N[1];xt0^Yt[1]<(Se(Yt[0]-ct)nr^(ct<=Yt[0]&&Yt[0]<=xt)){var $e=Pc(ut,(-Pt+be)/Vt);return ju($e,et),[Yt,b1($e)]}}}function v(T,N){var B=s?n:nr-n,F=0;return T<-B?F|=1:T>B&&(F|=2),N<-B?F|=4:N>B&&(F|=8),F}return Mm(p,function(T){var N,B,F,O,z;return{lineStart:function(){O=F=!1,z=1},point:function(U,Q){var Z,G=[U,Q],rt=p(U,Q),et=s?rt?0:v(U,Q):rt?v(U+(U<0?nr:-nr),Q):0;if(!N&&(O=F=rt)&&T.lineStart(),rt!==F&&(!(Z=b(N,G))||C1(N,Z)||C1(G,Z))&&(G[2]=1),rt!==F)z=0,rt?(T.lineStart(),Z=b(G,N),T.point(Z[0],Z[1])):(Z=b(N,G),T.point(Z[0],Z[1],2),T.lineEnd()),N=Z;else if(l&&N&&s^rt){var ut;et&B||!(ut=b(G,N,!0))||(z=0,s?(T.lineStart(),T.point(ut[0][0],ut[0][1]),T.point(ut[1][0],ut[1][1]),T.lineEnd()):(T.point(ut[1][0],ut[1][1]),T.lineEnd(),T.lineStart(),T.point(ut[0][0],ut[0][1],3)))}!rt||N&&C1(N,G)||T.point(G[0],G[1]),N=G,F=rt,B=et},lineEnd:function(){F&&T.lineEnd(),N=null},clean:function(){return z|(O&&F)<<1}}},function(T,N,B,F){Tm(F,n,o,B,T,N)},s?[0,-n]:[-nr,n-nr])}var vh=1e9,M1=-vh;function N1(n,i,o,s){function l(N,B){return n<=N&&N<=o&&i<=B&&B<=s}function p(N,B,F,O){var z=0,U=0;if(N==null||(z=b(N,F))!==(U=b(B,F))||T(N,B)<0^F>0)do O.point(z===0||z===3?n:o,z>1?s:i);while((z=(z+F+4)%4)!==U);else O.point(B[0],B[1])}function b(N,B){return Se(N[0]-n)0?0:3:Se(N[0]-o)0?2:1:Se(N[1]-i)0?1:0:B>0?3:2}function v(N,B){return T(N.x,B.x)}function T(N,B){var F=b(N,1),O=b(B,1);return F!==O?F-O:F===0?B[1]-N[1]:F===1?N[0]-B[0]:F===2?N[1]-B[1]:B[0]-N[0]}return function(N){var B,F,O,z,U,Q,Z,G,rt,et,ut,Pt=N,Vt=Em(),qt={point:be,lineStart:function(){qt.point=Yt,F&&F.push(O=[]),et=!0,rt=!1,Z=G=NaN},lineEnd:function(){B&&(Yt(z,U),Q&&rt&&Vt.rejoin(),B.push(Vt.result())),qt.point=be,rt&&Pt.lineEnd()},polygonStart:function(){Pt=Vt,B=[],F=[],ut=!0},polygonEnd:function(){var ce=function(){for(var ie=0,Kt=0,ae=F.length;Kts&&(tr-Be)*(s-$e)>(Dn-$e)*(n-Be)&&++ie:Dn<=s&&(tr-Be)*(s-$e)<(Dn-$e)*(n-Be)&&--ie;return ie}(),ct=ut&&ce,xt=(B=le(B)).length;(ct||xt)&&(N.polygonStart(),ct&&(N.lineStart(),p(null,null,1,N),N.lineEnd()),xt&&Cm(B,v,ce,p,N),N.polygonEnd()),Pt=N,B=F=O=null}};function be(ce,ct){l(ce,ct)&&Pt.point(ce,ct)}function Yt(ce,ct){var xt=l(ce,ct);if(F&&O.push([ce,ct]),et)z=ce,U=ct,Q=xt,et=!1,xt&&(Pt.lineStart(),Pt.point(ce,ct));else if(xt&&rt)Pt.point(ce,ct);else{var ie=[Z=Math.max(M1,Math.min(vh,Z)),G=Math.max(M1,Math.min(vh,G))],Kt=[ce=Math.max(M1,Math.min(vh,ce)),ct=Math.max(M1,Math.min(vh,ct))];(function(ae,Be,$e,dn,Fn,ir){var rn,tr=ae[0],Dn=ae[1],Sn=0,sr=1,Hi=Be[0]-tr,bi=Be[1]-Dn;if(rn=$e-tr,Hi||!(rn>0)){if(rn/=Hi,Hi<0){if(rn0){if(rn>sr)return;rn>Sn&&(Sn=rn)}if(rn=Fn-tr,Hi||!(rn<0)){if(rn/=Hi,Hi<0){if(rn>sr)return;rn>Sn&&(Sn=rn)}else if(Hi>0){if(rn0)){if(rn/=bi,bi<0){if(rn0){if(rn>sr)return;rn>Sn&&(Sn=rn)}if(rn=ir-Dn,bi||!(rn<0)){if(rn/=bi,bi<0){if(rn>sr)return;rn>Sn&&(Sn=rn)}else if(bi>0){if(rn0&&(ae[0]=tr+Sn*Hi,ae[1]=Dn+Sn*bi),sr<1&&(Be[0]=tr+sr*Hi,Be[1]=Dn+sr*bi),!0}}}}})(ie,Kt,n,i,o,s)?(rt||(Pt.lineStart(),Pt.point(ie[0],ie[1])),Pt.point(Kt[0],Kt[1]),xt||Pt.lineEnd(),ut=!1):xt&&(Pt.lineStart(),Pt.point(ce,ct),ut=!1)}Z=ce,G=ct,rt=xt}return qt}}function U4(){var n,i,o,s=0,l=0,p=960,b=500;return o={stream:function(v){return n&&i===v?n:n=N1(s,l,p,b)(i=v)},extent:function(v){return arguments.length?(s=+v[0][0],l=+v[0][1],p=+v[1][0],b=+v[1][1],n=i=null,o):[[s,l],[p,b]]}}}var D1,O1,B1,Wp=ec(),Vu={sphere:xr,point:xr,lineStart:function(){Vu.point=H4,Vu.lineEnd=q4},lineEnd:xr,polygonStart:xr,polygonEnd:xr};function q4(){Vu.point=Vu.lineEnd=xr}function H4(n,i){D1=n*=_n,O1=sn(i*=_n),B1=hn(i),Vu.point=W4}function W4(n,i){n*=_n;var o=sn(i*=_n),s=hn(i),l=Se(n-D1),p=hn(l),b=s*sn(l),v=B1*o-O1*s*p,T=O1*o+B1*s*p;Wp.add(Xi(yi(b*b+v*v),T)),D1=n,O1=o,B1=s}function Om(n){return Wp.reset(),ko(n,Vu),+Wp}var L1=[null,null],$4={type:"LineString",coordinates:L1};function I1(n,i){return L1[0]=n,L1[1]=i,Om($4)}var Bm={Feature:function(n,i){return R1(n.geometry,i)},FeatureCollection:function(n,i){for(var o=n.features,s=-1,l=o.length;++s0&&(l=I1(n[p],n[p-1]))>0&&o<=l&&s<=l&&(o+s-l)*(1-Math.pow((o-s)/l,2))Rn}).map(T)).concat(st(Qo(p/z)*z,l,z).filter(function(et){return Se(et%Q)>Rn}).map(N))}return G.lines=function(){return rt().map(function(et){return{type:"LineString",coordinates:et}})},G.outline=function(){return{type:"Polygon",coordinates:[B(s).concat(F(b).slice(1),B(o).reverse().slice(1),F(v).reverse().slice(1))]}},G.extent=function(et){return arguments.length?G.extentMajor(et).extentMinor(et):G.extentMinor()},G.extentMajor=function(et){return arguments.length?(s=+et[0][0],o=+et[1][0],v=+et[0][1],b=+et[1][1],s>o&&(et=s,s=o,o=et),v>b&&(et=v,v=b,b=et),G.precision(Z)):[[s,v],[o,b]]},G.extentMinor=function(et){return arguments.length?(i=+et[0][0],n=+et[1][0],p=+et[0][1],l=+et[1][1],i>n&&(et=i,i=n,n=et),p>l&&(et=p,p=l,l=et),G.precision(Z)):[[i,p],[n,l]]},G.step=function(et){return arguments.length?G.stepMajor(et).stepMinor(et):G.stepMinor()},G.stepMajor=function(et){return arguments.length?(U=+et[0],Q=+et[1],G):[U,Q]},G.stepMinor=function(et){return arguments.length?(O=+et[0],z=+et[1],G):[O,z]},G.precision=function(et){return arguments.length?(Z=+et,T=jm(p,l,90),N=Ym(i,n,Z),B=jm(v,b,90),F=Ym(s,o,Z),G):Z},G.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function G4(){return zm()()}function X4(n,i){var o=n[0]*_n,s=n[1]*_n,l=i[0]*_n,p=i[1]*_n,b=hn(s),v=sn(s),T=hn(p),N=sn(p),B=b*hn(o),F=b*sn(o),O=T*hn(l),z=T*sn(l),U=2*ga(yi(y1(p-s)+b*T*y1(l-o))),Q=sn(U),Z=U?function(G){var rt=sn(G*=U)/Q,et=sn(U-G)/Q,ut=et*B+rt*O,Pt=et*F+rt*z,Vt=et*v+rt*N;return[Xi(Pt,ut)*Ir,Xi(Vt,yi(ut*ut+Pt*Pt))*Ir]}:function(){return[o*Ir,s*Ir]};return Z.distance=U,Z}function bh(n){return n}var Um,qm,F1,P1,j1=ec(),Vp=ec(),Cs={point:xr,lineStart:xr,lineEnd:xr,polygonStart:function(){Cs.lineStart=Y1,Cs.lineEnd=Wm},polygonEnd:function(){Cs.lineStart=Cs.lineEnd=Cs.point=xr,j1.add(Se(Vp)),Vp.reset()},result:function(){var n=j1/2;return j1.reset(),n}};function Y1(){Cs.point=Z4}function Z4(n,i){Cs.point=Hm,Um=F1=n,qm=P1=i}function Hm(n,i){Vp.add(P1*n-F1*i),F1=n,P1=i}function Wm(){Hm(Um,qm)}const $m=Cs;var Ss=1/0,oc=Ss,Jo=-Ss,sc=Jo,_h={point:function(n,i){nJo&&(Jo=n),isc&&(sc=i)},lineStart:xr,lineEnd:xr,polygonStart:xr,polygonEnd:xr,result:function(){var n=[[Ss,oc],[Jo,sc]];return Jo=sc=-(oc=Ss=1/0),n}};const zc=_h;var cc,xh,Na,Co,wh=0,Gp=0,uc=0,kh=0,Th=0,Gu=0,Eh=0,z1=0,Ch=0,So={point:ts,lineStart:U1,lineEnd:As,polygonStart:function(){So.lineStart=q1,So.lineEnd=Vm},polygonEnd:function(){So.point=ts,So.lineStart=U1,So.lineEnd=As},result:function(){var n=Ch?[Eh/Ch,z1/Ch]:Gu?[kh/Gu,Th/Gu]:uc?[wh/uc,Gp/uc]:[NaN,NaN];return wh=Gp=uc=kh=Th=Gu=Eh=z1=Ch=0,n}};function ts(n,i){wh+=n,Gp+=i,++uc}function U1(){So.point=es}function es(n,i){So.point=Ao,ts(Na=n,Co=i)}function Ao(n,i){var o=n-Na,s=i-Co,l=yi(o*o+s*s);kh+=l*(Na+n)/2,Th+=l*(Co+i)/2,Gu+=l,ts(Na=n,Co=i)}function As(){So.point=ts}function q1(){So.point=Xp}function Vm(){Zp(cc,xh)}function Xp(n,i){So.point=Zp,ts(cc=Na=n,xh=Co=i)}function Zp(n,i){var o=n-Na,s=i-Co,l=yi(o*o+s*s);kh+=l*(Na+n)/2,Th+=l*(Co+i)/2,Gu+=l,Eh+=(l=Co*n-Na*i)*(Na+n),z1+=l*(Co+i),Ch+=3*l,ts(Na=n,Co=i)}const Qp=So;function Gm(n){this._context=n}Gm.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(n,i){switch(this._point){case 0:this._context.moveTo(n,i),this._point=1;break;case 1:this._context.lineTo(n,i);break;default:this._context.moveTo(n+this._radius,i),this._context.arc(n,i,this._radius,0,Nr)}},result:xr};var Kp,Xm,Zm,Uc,Xu,Sh=ec(),Zu={point:xr,lineStart:function(){Zu.point=Q4},lineEnd:function(){Kp&&Jp(Xm,Zm),Zu.point=xr},polygonStart:function(){Kp=!0},polygonEnd:function(){Kp=null},result:function(){var n=+Sh;return Sh.reset(),n}};function Q4(n,i){Zu.point=Jp,Xm=Uc=n,Zm=Xu=i}function Jp(n,i){Uc-=n,Xu-=i,Sh.add(yi(Uc*Uc+Xu*Xu)),Uc=n,Xu=i}const Qm=Zu;function Km(){this._string=[]}function Jm(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function K4(n,i){var o,s,l=4.5;function p(b){return b&&(typeof l=="function"&&s.pointRadius(+l.apply(this,arguments)),ko(b,o(s))),s.result()}return p.area=function(b){return ko(b,o($m)),$m.result()},p.measure=function(b){return ko(b,o(Qm)),Qm.result()},p.bounds=function(b){return ko(b,o(zc)),zc.result()},p.centroid=function(b){return ko(b,o(Qp)),Qp.result()},p.projection=function(b){return arguments.length?(o=b==null?(n=null,bh):(n=b).stream,p):n},p.context=function(b){return arguments.length?(s=b==null?(i=null,new Km):new Gm(i=b),typeof l!="function"&&s.pointRadius(l),p):i},p.pointRadius=function(b){return arguments.length?(l=typeof b=="function"?b:(s.pointRadius(+b),+b),p):l},p.projection(n).context(i)}function J4(n){return{stream:Ah(n)}}function Ah(n){return function(i){var o=new tg;for(var s in n)o[s]=n[s];return o.stream=i,o}}function tg(){}function eg(n,i,o){var s=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),s!=null&&n.clipExtent(null),ko(o,n.stream(zc)),i(zc.result()),s!=null&&n.clipExtent(s),n}function H1(n,i,o){return eg(n,function(s){var l=i[1][0]-i[0][0],p=i[1][1]-i[0][1],b=Math.min(l/(s[1][0]-s[0][0]),p/(s[1][1]-s[0][1])),v=+i[0][0]+(l-b*(s[1][0]+s[0][0]))/2,T=+i[0][1]+(p-b*(s[1][1]+s[0][1]))/2;n.scale(150*b).translate([v,T])},o)}function ng(n,i,o){return H1(n,[[0,0],i],o)}function rg(n,i,o){return eg(n,function(s){var l=+i,p=l/(s[1][0]-s[0][0]),b=(l-p*(s[1][0]+s[0][0]))/2,v=-p*s[0][1];n.scale(150*p).translate([b,v])},o)}function ig(n,i,o){return eg(n,function(s){var l=+i,p=l/(s[1][1]-s[0][1]),b=-p*s[0][0],v=(l-p*(s[1][1]+s[0][1]))/2;n.scale(150*p).translate([b,v])},o)}Km.prototype={_radius:4.5,_circle:Jm(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(n,i){switch(this._point){case 0:this._string.push("M",n,",",i),this._point=1;break;case 1:this._string.push("L",n,",",i);break;default:this._circle==null&&(this._circle=Jm(this._radius)),this._string.push("M",n,",",i,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}},tg.prototype={constructor:tg,point:function(n,i){this.stream.point(n,i)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var t5=hn(30*_n);function tv(n,i){return+i?function(o,s){function l(p,b,v,T,N,B,F,O,z,U,Q,Z,G,rt){var et=F-p,ut=O-b,Pt=et*et+ut*ut;if(Pt>4*s&&G--){var Vt=T+U,qt=N+Q,be=B+Z,Yt=yi(Vt*Vt+qt*qt+be*be),ce=ga(be/=Yt),ct=Se(Se(be)-1)s||Se((et*ae+ut*Be)/Pt-.5)>.3||T*U+N*Q+B*Z2?ae[2]%360*_n:0,ie()):[Z*Ir,G*Ir,rt*Ir]},ct.angle=function(ae){return arguments.length?(et=ae%360*_n,ie()):et*Ir},ct.reflectX=function(ae){return arguments.length?(ut=ae?-1:1,ie()):ut<0},ct.reflectY=function(ae){return arguments.length?(Pt=ae?-1:1,ie()):Pt<0},ct.precision=function(ae){return arguments.length?(b=tv(v,ce=ae*ae),Kt()):yi(ce)},ct.fitExtent=function(ae,Be){return H1(ct,ae,Be)},ct.fitSize=function(ae,Be){return ng(ct,ae,Be)},ct.fitWidth=function(ae,Be){return rg(ct,ae,Be)},ct.fitHeight=function(ae,Be){return ig(ct,ae,Be)},function(){return i=n.apply(this,arguments),ct.invert=i.invert&&xt,ie()}}function og(n){var i=0,o=nr/3,s=ag(n),l=s(i,o);return l.parallels=function(p){return arguments.length?s(i=p[0]*_n,o=p[1]*_n):[i*Ir,o*Ir]},l}function nv(n,i){var o=sn(n),s=(o+sn(i))/2;if(Se(s)=.12&&Z<.234&&Q>=-.425&&Q<-.214?v:Z>=.166&&Z<.234&&Q>=-.214&&Q<-.115?T:b).invert(O)},B.stream=function(O){return n&&i===O?n:(z=[b.stream(i=O),v.stream(O),T.stream(O)],U=z.length,n={point:function(Q,Z){for(var G=-1;++G0?v<-ui+Rn&&(v=-ui+Rn):v>ui-Rn&&(v=ui-Rn);var T=l/g1(Nh(v),s);return[T*sn(s*b),l-T*hn(s*b)]}return p.invert=function(b,v){var T=l-v,N=_r(s)*yi(b*b+T*T),B=Xi(b,Se(T))*_r(T);return T*s<0&&(B-=nr*_r(b)*_r(T)),[B/s,2*nc(g1(l/N,1/s))-ui]},p}function a5(){return og(fg).scale(109.5).parallels([30,30])}function Dh(n,i){return[n,i]}function o5(){return Mo(Dh).scale(152.63)}function iv(n,i){var o=hn(n),s=n===i?sn(n):(o-hn(i))/(i-n),l=o/s+n;if(Se(s)2?s[2]+90:90]):[(s=o())[0],s[1],s[2]-90]},o([0,0,90]).scale(159.155)}function f5(n,i){return n.parent===i.parent?1:2}function d5(n,i){return n+i.x}function Qu(n,i){return Math.max(n,i.y)}function p5(){var n=f5,i=1,o=1,s=!1;function l(p){var b,v=0;p.eachAfter(function(O){var z=O.children;z?(O.x=function(U){return U.reduce(d5,0)/U.length}(z),O.y=function(U){return 1+U.reduce(Qu,0)}(z)):(O.x=b?v+=n(O,b):0,O.y=0,b=O)});var T=function(O){for(var z;z=O.children;)O=z[0];return O}(p),N=function(O){for(var z;z=O.children;)O=z[z.length-1];return O}(p),B=T.x-n(T,N)/2,F=N.x+n(N,T)/2;return p.eachAfter(s?function(O){O.x=(O.x-p.x)*i,O.y=(p.y-O.y)*o}:function(O){O.x=(O.x-B)/(F-B)*i,O.y=(1-(p.y?O.y/p.y:1))*o})}return l.separation=function(p){return arguments.length?(n=p,l):n},l.size=function(p){return arguments.length?(s=!1,i=+p[0],o=+p[1],l):s?null:[i,o]},l.nodeSize=function(p){return arguments.length?(s=!0,i=+p[0],o=+p[1],l):s?[i,o]:null},l}function g5(n){var i=0,o=n.children,s=o&&o.length;if(s)for(;--s>=0;)i+=o[s].value;else i=1;n.value=i}function mg(n,i){var o,s,l,p,b,v=new qc(n),T=+n.value&&(v.value=n.value),N=[v];for(i==null&&(i=sv);o=N.pop();)if(T&&(o.value=+o.data.value),(l=i(o.data))&&(b=l.length))for(o.children=new Array(b),p=b-1;p>=0;--p)N.push(s=o.children[p]=new qc(l[p])),s.parent=o,s.depth=o.depth+1;return v.eachBefore(bg)}function sv(n){return n.children}function vg(n){n.data=n.data.data}function bg(n){var i=0;do n.height=i;while((n=n.parent)&&n.height<++i)}function qc(n){this.data=n,this.depth=this.height=0,this.parent=null}dg.invert=function(n,i){for(var o,s=i,l=s*s,p=l*l*l,b=0;b<12&&(p=(l=(s-=o=(s*(lc+Oh*l+p*(Bh+Lh*l))-i)/(lc+3*Oh*l+p*(7*Bh+9*Lh*l)))*s)*l*l,!(Se(o)Rn&&--l>0);return[n/(.8707+(p=s*s)*(p*(p*p*p*(.003971-.001529*p)-.013791)-.131979)),s]},gg.invert=Ha(ga),yg.invert=Ha(function(n){return 2*nc(n)}),G1.invert=function(n,i){return[-i,2*nc(fm(n))-ui]},qc.prototype=mg.prototype={constructor:qc,count:function(){return this.eachAfter(g5)},each:function(n){var i,o,s,l,p=this,b=[p];do for(i=b.reverse(),b=[];p=i.pop();)if(n(p),o=p.children)for(s=0,l=o.length;s=0;--o)l.push(i[o]);return this},sum:function(n){return this.eachAfter(function(i){for(var o=+n(i.data)||0,s=i.children,l=s&&s.length;--l>=0;)o+=s[l].value;i.value=o})},sort:function(n){return this.eachBefore(function(i){i.children&&i.children.sort(n)})},path:function(n){for(var i=this,o=function(p,b){if(p===b)return p;var v=p.ancestors(),T=b.ancestors(),N=null;for(p=v.pop(),b=T.pop();p===b;)N=p,p=v.pop(),b=T.pop();return N}(i,n),s=[i];i!==o;)i=i.parent,s.push(i);for(var l=s.length;n!==o;)s.splice(l,0,n),n=n.parent;return s},ancestors:function(){for(var n=this,i=[n];n=n.parent;)i.push(n);return i},descendants:function(){var n=[];return this.each(function(i){n.push(i)}),n},leaves:function(){var n=[];return this.eachBefore(function(i){i.children||n.push(i)}),n},links:function(){var n=this,i=[];return n.each(function(o){o!==n&&i.push({source:o.parent,target:o})}),i},copy:function(){return mg(this).eachBefore(vg)}};var cv=Array.prototype.slice;function uv(n){for(var i,o,s=0,l=(n=function(b){for(var v,T,N=b.length;N;)T=Math.random()*N--|0,v=b[N],b[N]=b[T],b[T]=v;return b}(cv.call(n))).length,p=[];s0&&o*o>s*s+l*l}function _g(n,i){for(var o=0;o(b*=b)?(s=(N+b-l)/(2*N),p=Math.sqrt(Math.max(0,b/N-s*s)),o.x=n.x-s*v-p*T,o.y=n.y-s*T+p*v):(s=(N+l-b)/(2*N),p=Math.sqrt(Math.max(0,l/N-s*s)),o.x=i.x+s*v-p*T,o.y=i.y+s*T+p*v)):(o.x=i.x+o.r,o.y=i.y)}function dv(n,i){var o=n.r+i.r-1e-6,s=i.x-n.x,l=i.y-n.y;return o>0&&o*o>s*s+l*l}function pv(n){var i=n._,o=n.next._,s=i.r+o.r,l=(i.x*o.r+o.x*i.r)/s,p=(i.y*o.r+o.y*i.r)/s;return l*l+p*p}function Z1(n){this._=n,this.next=null,this.previous=null}function gv(n){if(!(l=n.length))return 0;var i,o,s,l,p,b,v,T,N,B,F;if((i=n[0]).x=0,i.y=0,!(l>1))return i.r;if(o=n[1],i.x=-o.r,o.x=i.r,o.y=0,!(l>2))return i.r+o.r;fv(o,i,s=n[2]),i=new Z1(i),o=new Z1(o),s=new Z1(s),i.next=s.previous=o,o.next=i.previous=s,s.next=o.previous=i;t:for(v=3;v0)throw new Error("cycle");return b}return o.id=function(s){return arguments.length?(n=Q1(s),o):n},o.parentId=function(s){return arguments.length?(i=Q1(s),o):i},o}function w5(n,i){return n.parent===i.parent?1:2}function xg(n){var i=n.children;return i?i[0]:n.t}function td(n){var i=n.children;return i?i[i.length-1]:n.t}function k5(n,i,o){var s=o/(i.i-n.i);i.c-=s,i.s+=o,n.c+=s,i.z+=o,i.m+=o}function ed(n,i,o){return n.a.parent===i.parent?n.a:o}function hc(n,i){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=i}function Ju(){var n=w5,i=1,o=1,s=null;function l(T){var N=function(G){for(var rt,et,ut,Pt,Vt,qt=new hc(G,0),be=[qt];rt=be.pop();)if(ut=rt._.children)for(rt.children=new Array(Vt=ut.length),Pt=Vt-1;Pt>=0;--Pt)be.push(et=rt.children[Pt]=new hc(ut[Pt],Pt)),et.parent=rt;return(qt.parent=new hc(null,0)).children=[qt],qt}(T);if(N.eachAfter(p),N.parent.m=-N.z,N.eachBefore(b),s)T.eachBefore(v);else{var B=T,F=T,O=T;T.eachBefore(function(G){G.xF.x&&(F=G),G.depth>O.depth&&(O=G)});var z=B===F?1:n(B,F)/2,U=z-B.x,Q=i/(F.x+z+U),Z=o/(O.depth||1);T.eachBefore(function(G){G.x=(G.x+U)*Q,G.y=G.depth*Z})}return T}function p(T){var N=T.children,B=T.parent.children,F=T.i?B[T.i-1]:null;if(N){(function(z){for(var U,Q=0,Z=0,G=z.children,rt=G.length;--rt>=0;)(U=G[rt]).z+=Q,U.m+=Q,Q+=U.s+(Z+=U.c)})(T);var O=(N[0].z+N[N.length-1].z)/2;F?(T.z=F.z+n(T._,F._),T.m=T.z-O):T.z=O}else F&&(T.z=F.z+n(T._,F._));T.parent.A=function(z,U,Q){if(U){for(var Z,G=z,rt=z,et=U,ut=G.parent.children[0],Pt=G.m,Vt=rt.m,qt=et.m,be=ut.m;et=td(et),G=xg(G),et&&G;)ut=xg(ut),(rt=td(rt)).a=z,(Z=et.z+qt-G.z-Pt+n(et._,G._))>0&&(k5(ed(et,z,Q),z,Z),Pt+=Z,Vt+=Z),qt+=et.m,Pt+=G.m,be+=ut.m,Vt+=rt.m;et&&!td(rt)&&(rt.t=et,rt.m+=qt-Vt),G&&!xg(ut)&&(ut.t=G,ut.m+=Pt-be,Q=z)}return Q}(T,F,T.parent.A||B[0])}function b(T){T._.x=T.z+T.parent.m,T.m+=T.parent.m}function v(T){T.x*=i,T.y=T.depth*o}return l.separation=function(T){return arguments.length?(n=T,l):n},l.size=function(T){return arguments.length?(s=!1,i=+T[0],o=+T[1],l):s?null:[i,o]},l.nodeSize=function(T){return arguments.length?(s=!0,i=+T[0],o=+T[1],l):s?[i,o]:null},l}function fc(n,i,o,s,l){for(var p,b=n.children,v=-1,T=b.length,N=n.value&&(l-o)/n.value;++vO&&(O=v),Z=B*B*Q,(z=Math.max(O/Z,Z/F))>U){B-=v;break}U=z}G.push(b={value:B,dice:T1?s:1)},o}(tl);function nd(){var n=dc,i=!1,o=1,s=1,l=[0],p=Hc,b=Hc,v=Hc,T=Hc,N=Hc;function B(O){return O.x0=O.y0=0,O.x1=o,O.y1=s,O.eachBefore(F),l=[0],i&&O.eachBefore(bv),O}function F(O){var z=l[O.depth],U=O.x0+z,Q=O.y0+z,Z=O.x1-z,G=O.y1-z;Z=O-1){var rt=v[F];return rt.x0=U,rt.y0=Q,rt.x1=Z,void(rt.y1=G)}for(var et=N[F],ut=z/2+et,Pt=F+1,Vt=O-1;Pt>>1;N[qt]G-Q){var ce=(U*Yt+Z*be)/z;B(F,Pt,be,U,Q,ce,G),B(Pt,O,Yt,ce,Q,Z,G)}else{var ct=(Q*Yt+G*be)/z;B(F,Pt,be,U,Q,Z,ct),B(Pt,O,Yt,U,ct,Z,G)}})(0,T,n.value,i,o,s,l)}function wv(n,i,o,s,l){(1&n.depth?fc:Fh)(n,i,o,s,l)}const wg=function n(i){function o(s,l,p,b,v){if((T=s._squarify)&&T.ratio===i)for(var T,N,B,F,O,z=-1,U=T.length,Q=s.value;++z1?s:1)},o}(tl);function T5(n){var i=n.length;return function(o){return n[Math.max(0,Math.min(i-1,Math.floor(o*i)))]}}function rd(n,i){var o=Ea(+n,+i);return function(s){var l=o(s);return l-360*Math.floor(l/360)}}function kg(n,i){return n=+n,i=+i,function(o){return Math.round(n*(1-o)+i*o)}}var el=Math.SQRT2;function kv(n){return((n=Math.exp(n))+1/n)/2}function id(n,i){var o,s,l=n[0],p=n[1],b=n[2],v=i[0],T=i[1],N=i[2],B=v-l,F=T-p,O=B*B+F*F;if(O<1e-12)s=Math.log(N/b)/el,o=function(rt){return[l+rt*B,p+rt*F,b*Math.exp(el*rt*s)]};else{var z=Math.sqrt(O),U=(N*N-b*b+4*O)/(2*b*2*z),Q=(N*N-b*b-4*O)/(2*N*2*z),Z=Math.log(Math.sqrt(U*U+1)-U),G=Math.log(Math.sqrt(Q*Q+1)-Q);s=(G-Z)/el,o=function(rt){var et,ut=rt*s,Pt=kv(Z),Vt=b/(2*z)*(Pt*(et=el*ut+Z,((et=Math.exp(2*et))-1)/(et+1))-function(qt){return((qt=Math.exp(qt))-1/qt)/2}(Z));return[l+Vt*B,p+Vt*F,b*Pt/kv(el*ut+Z)]}}return o.duration=1e3*s,o}function Tg(n){return function(i,o){var s=n((i=vu(i)).h,(o=vu(o)).h),l=gi(i.s,o.s),p=gi(i.l,o.l),b=gi(i.opacity,o.opacity);return function(v){return i.h=s(v),i.s=l(v),i.l=p(v),i.opacity=b(v),i+""}}}const E5=Tg(Ea);var C5=Tg(gi);function ad(n,i){var o=gi((n=Zl(n)).l,(i=Zl(i)).l),s=gi(n.a,i.a),l=gi(n.b,i.b),p=gi(n.opacity,i.opacity);return function(b){return n.l=o(b),n.a=s(b),n.b=l(b),n.opacity=p(b),n+""}}function od(n){return function(i,o){var s=n((i=Ks(i)).h,(o=Ks(o)).h),l=gi(i.c,o.c),p=gi(i.l,o.l),b=gi(i.opacity,o.opacity);return function(v){return i.h=s(v),i.c=l(v),i.l=p(v),i.opacity=b(v),i+""}}}const ns=od(Ea);var Do=od(gi);function Ns(n){return function i(o){function s(l,p){var b=n((l=fa(l)).h,(p=fa(p)).h),v=gi(l.s,p.s),T=gi(l.l,p.l),N=gi(l.opacity,p.opacity);return function(B){return l.h=b(B),l.s=v(B),l.l=T(Math.pow(B,o)),l.opacity=N(B),l+""}}return o=+o,s.gamma=i,s}(1)}const sd=Ns(Ea);var zh=Ns(gi);function Eg(n,i){for(var o=0,s=i.length-1,l=i[0],p=new Array(s<0?0:s);o1&&A5(n[o[s-2]],n[o[s-1]],n[l])<=0;)--s;o[s++]=l}return o.slice(0,s)}function Cg(n){if((o=n.length)<3)return null;var i,o,s=new Array(o),l=new Array(o);for(i=0;i=0;--i)N.push(n[s[p[i]][2]]);for(i=+v;iv!=N>v&&b<(T-o)*(v-s)/(N-s)+o&&(B=!B),T=o,N=s;return B}function Sv(n){for(var i,o,s=-1,l=n.length,p=n[l-1],b=p[0],v=p[1],T=0;++s1);return s+l*v*Math.sqrt(-2*Math.log(b)/b)}}return o.source=n,o}(rs),nl=function n(i){function o(){var s=Uh.source(i).apply(this,arguments);return function(){return Math.exp(s())}}return o.source=n,o}(rs),rl=function n(i){function o(s){return function(){for(var l=0,p=0;ps&&(i=o,o=s,s=i),function(l){return Math.max(o,Math.min(s,l))}}function Mv(n,i,o){var s=n[0],l=n[1],p=i[0],b=i[1];return l2?Nv:Mv,l=p=null,F}function F(O){return isNaN(O=+O)?o:(l||(l=s(b.map(n),v,T)))(n(N(O)))}return F.invert=function(O){return N(i((p||(p=s(v,b.map(n),ua)))(O)))},F.domain=function(O){return arguments.length?(b=ud.call(O,fd),N===Zi||(N=Da(b)),B()):b.slice()},F.range=function(O){return arguments.length?(v=Wc.call(O),B()):v.slice()},F.rangeRound=function(O){return v=Wc.call(O),T=kg,B()},F.clamp=function(O){return arguments.length?(N=O?Da(b):Zi,F):N!==Zi},F.interpolate=function(O){return arguments.length?(T=O,B()):T},F.unknown=function(O){return arguments.length?(o=O,F):o},function(O,z){return n=O,i=z,B()}}function Ng(n,i){return $h()(n,i)}function Bo(n,i,o,s){var l,p=vt(n,i,o);switch((s=oh(s==null?",f":s)).type){case"s":var b=Math.max(Math.abs(n),Math.abs(i));return s.precision!=null||isNaN(l=um(p,b))||(s.precision=l),Sp(s,b);case"":case"e":case"g":case"p":case"r":s.precision!=null||isNaN(l=lm(p,Math.max(Math.abs(n),Math.abs(i))))||(s.precision=l-(s.type==="e"));break;case"f":case"%":s.precision!=null||isNaN(l=Ap(p))||(s.precision=l-2*(s.type==="%"))}return f1(s)}function Os(n){var i=n.domain;return n.ticks=function(o){var s=i();return It(s[0],s[s.length-1],o==null?10:o)},n.tickFormat=function(o,s){var l=i();return Bo(l[0],l[l.length-1],o==null?10:o,s)},n.nice=function(o){o==null&&(o=10);var s,l=i(),p=0,b=l.length-1,v=l[p],T=l[b];return T0?s=ft(v=Math.floor(v/s)*s,T=Math.ceil(T/s)*s,o):s<0&&(s=ft(v=Math.ceil(v*s)/s,T=Math.floor(T*s)/s,o)),s>0?(l[p]=Math.floor(v/s)*s,l[b]=Math.ceil(T/s)*s,i(l)):s<0&&(l[p]=Math.ceil(v*s)/s,l[b]=Math.floor(T*s)/s,i(l)),n},n}function Dg(){var n=Ng(Zi,Zi);return n.copy=function(){return $c(n,Dg())},Oo.apply(n,arguments),Os(n)}function Og(n){var i;function o(s){return isNaN(s=+s)?i:s}return o.invert=o,o.domain=o.range=function(s){return arguments.length?(n=ud.call(s,fd),o):n.slice()},o.unknown=function(s){return arguments.length?(i=s,o):i},o.copy=function(){return Og(n).unknown(i)},n=arguments.length?ud.call(n,fd):[0,1],Os(o)}function Bg(n,i){var o,s=0,l=(n=n.slice()).length-1,p=n[s],b=n[l];return b0){for(;QF)break;rt.push(U)}}else for(;Q=1;--z)if(!((U=O*z)F)break;rt.push(U)}}else rt=It(Q,Z,Math.min(Z-Q,G)).map(o);return T?rt.reverse():rt},s.tickFormat=function(v,T){if(T==null&&(T=p===10?".0e":","),typeof T!="function"&&(T=f1(T)),v===1/0)return T;v==null&&(v=10);var N=Math.max(1,p*v/s.ticks().length);return function(B){var F=B/o(Math.round(i(B)));return F*p0?s[v-1]:i[0],v=s?[l[s-1],o]:[l[N-1],l[N]]},b.unknown=function(T){return arguments.length&&(n=T),b},b.thresholds=function(){return l.slice()},b.copy=function(){return jv().domain([i,o]).range(p).unknown(n)},Oo.apply(Os(b),arguments)}function Yv(){var n,i=[.5],o=[0,1],s=1;function l(p){return p<=p?o[A(i,p,0,s)]:n}return l.domain=function(p){return arguments.length?(i=Wc.call(p),s=Math.min(i.length,o.length-1),l):i.slice()},l.range=function(p){return arguments.length?(o=Wc.call(p),s=Math.min(i.length,o.length-1),l):o.slice()},l.invertExtent=function(p){var b=o.indexOf(p);return[i[b-1],i[b]]},l.unknown=function(p){return arguments.length?(n=p,l):n},l.copy=function(){return Yv().domain(i).range(o).unknown(n)},Oo.apply(l,arguments)}var gd=new Date,Pg=new Date;function Oi(n,i,o,s){function l(p){return n(p=arguments.length===0?new Date:new Date(+p)),p}return l.floor=function(p){return n(p=new Date(+p)),p},l.ceil=function(p){return n(p=new Date(p-1)),i(p,1),n(p),p},l.round=function(p){var b=l(p),v=l.ceil(p);return p-b0))return N;do N.push(T=new Date(+p)),i(p,v),n(p);while(T=b)for(;n(b),!p(b);)b.setTime(b-1)},function(b,v){if(b>=b)if(v<0)for(;++v<=0;)for(;i(b,-1),!p(b););else for(;--v>=0;)for(;i(b,1),!p(b););})},o&&(l.count=function(p,b){return gd.setTime(+p),Pg.setTime(+b),n(gd),n(Pg),Math.floor(o(gd,Pg))},l.every=function(p){return p=Math.floor(p),isFinite(p)&&p>0?p>1?l.filter(s?function(b){return s(b)%p==0}:function(b){return l.count(0,b)%p==0}):l:null}),l}var jg=Oi(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,i){n.setFullYear(n.getFullYear()+i)},function(n,i){return i.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});jg.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Oi(function(i){i.setFullYear(Math.floor(i.getFullYear()/n)*n),i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,o){i.setFullYear(i.getFullYear()+o*n)}):null};const Vc=jg;var R5=jg.range,as=Oi(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,i){n.setMonth(n.getMonth()+i)},function(n,i){return i.getMonth()-n.getMonth()+12*(i.getFullYear()-n.getFullYear())},function(n){return n.getMonth()});const Yg=as;var Bs=as.range,yd=1e3,Gc=6e4,Vh=36e5,zg=864e5,Ug=6048e5;function Xc(n){return Oi(function(i){i.setDate(i.getDate()-(i.getDay()+7-n)%7),i.setHours(0,0,0,0)},function(i,o){i.setDate(i.getDate()+7*o)},function(i,o){return(o-i-(o.getTimezoneOffset()-i.getTimezoneOffset())*Gc)/Ug})}var Zc=Xc(0),il=Xc(1),md=Xc(2),zv=Xc(3),Ls=Xc(4),al=Xc(5),Is=Xc(6),qg=Zc.range,vd=il.range,Hg=md.range,F5=zv.range,bd=Ls.range,ol=al.range,Uv=Is.range,Wa=Oi(function(n){n.setHours(0,0,0,0)},function(n,i){n.setDate(n.getDate()+i)},function(n,i){return(i-n-(i.getTimezoneOffset()-n.getTimezoneOffset())*Gc)/zg},function(n){return n.getDate()-1});const ii=Wa;var sl=Wa.range,_d=Oi(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*yd-n.getMinutes()*Gc)},function(n,i){n.setTime(+n+i*Vh)},function(n,i){return(i-n)/Vh},function(n){return n.getHours()});const qv=_d;var Lo=_d.range,pc=Oi(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*yd)},function(n,i){n.setTime(+n+i*Gc)},function(n,i){return(i-n)/Gc},function(n){return n.getMinutes()});const Gh=pc;var xd=pc.range,wd=Oi(function(n){n.setTime(n-n.getMilliseconds())},function(n,i){n.setTime(+n+i*yd)},function(n,i){return(i-n)/yd},function(n){return n.getUTCSeconds()});const cl=wd;var Hv=wd.range,kd=Oi(function(){},function(n,i){n.setTime(+n+i)},function(n,i){return i-n});kd.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Oi(function(i){i.setTime(Math.floor(i/n)*n)},function(i,o){i.setTime(+i+o*n)},function(i,o){return(o-i)/n}):kd:null};const ul=kd;var Wv=kd.range;function Qc(n){return Oi(function(i){i.setUTCDate(i.getUTCDate()-(i.getUTCDay()+7-n)%7),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCDate(i.getUTCDate()+7*o)},function(i,o){return(o-i)/Ug})}var Xh=Qc(0),gc=Qc(1),Wg=Qc(2),$v=Qc(3),yc=Qc(4),$g=Qc(5),Kc=Qc(6),Vv=Xh.range,P5=gc.range,Gv=Wg.range,Xv=$v.range,Jc=yc.range,Td=$g.range,j5=Kc.range,Vg=Oi(function(n){n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCDate(n.getUTCDate()+i)},function(n,i){return(i-n)/zg},function(n){return n.getUTCDate()-1});const xi=Vg;var lr=Vg.range,ke=Oi(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCFullYear(n.getUTCFullYear()+i)},function(n,i){return i.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});ke.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Oi(function(i){i.setUTCFullYear(Math.floor(i.getUTCFullYear()/n)*n),i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCFullYear(i.getUTCFullYear()+o*n)}):null};const hi=ke;var Gg=ke.range;function Xg(n){if(0<=n.y&&n.y<100){var i=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return i.setFullYear(n.y),i}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function Zg(n){if(0<=n.y&&n.y<100){var i=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return i.setUTCFullYear(n.y),i}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function tu(n,i,o){return{y:n,m:i,d:o,H:0,M:0,S:0,L:0}}function Zv(n){var i=n.dateTime,o=n.date,s=n.time,l=n.periods,p=n.days,b=n.shortDays,v=n.months,T=n.shortMonths,N=eu(l),B=nu(l),F=eu(p),O=nu(p),z=eu(b),U=nu(b),Q=eu(v),Z=nu(v),G=eu(T),rt=nu(T),et={a:function(Yt){return b[Yt.getDay()]},A:function(Yt){return p[Yt.getDay()]},b:function(Yt){return T[Yt.getMonth()]},B:function(Yt){return v[Yt.getMonth()]},c:null,d:ru,e:ru,f:zi,g:r2,G:Kh,H:mc,I:a3,j:o3,L:t2,m:$5,M:V5,p:function(Yt){return l[+(Yt.getHours()>=12)]},q:function(Yt){return 1+~~(Yt.getMonth()/3)},Q:pl,s:u2,S:G5,u:Nd,U:e2,V:$a,w:Dd,W:s3,x:null,X:null,y:Zn,Y:c3,Z:Ui,"%":d3},ut={a:function(Yt){return b[Yt.getUTCDay()]},A:function(Yt){return p[Yt.getUTCDay()]},b:function(Yt){return T[Yt.getUTCMonth()]},B:function(Yt){return v[Yt.getUTCMonth()]},c:null,d:dl,e:dl,f:X5,g:s2,G:f3,H:Od,I:Bd,j:u3,L:Jt,m:l3,M:Ld,p:function(Yt){return l[+(Yt.getUTCHours()>=12)]},q:function(Yt){return 1+~~(Yt.getUTCMonth()/3)},Q:pl,s:u2,S:i2,u:a2,U:o2,V:h3,w:Id,W:Jh,x:null,X:null,y:tf,Y:Rd,Z:c2,"%":d3},Pt={a:function(Yt,ce,ct){var xt=z.exec(ce.slice(ct));return xt?(Yt.w=U[xt[0].toLowerCase()],ct+xt[0].length):-1},A:function(Yt,ce,ct){var xt=F.exec(ce.slice(ct));return xt?(Yt.w=O[xt[0].toLowerCase()],ct+xt[0].length):-1},b:function(Yt,ce,ct){var xt=G.exec(ce.slice(ct));return xt?(Yt.m=rt[xt[0].toLowerCase()],ct+xt[0].length):-1},B:function(Yt,ce,ct){var xt=Q.exec(ce.slice(ct));return xt?(Yt.m=Z[xt[0].toLowerCase()],ct+xt[0].length):-1},c:function(Yt,ce,ct){return be(Yt,i,ce,ct)},d:Cd,e:Cd,f:r3,g:Jg,G:Jv,H:n3,I:n3,j:Sd,L:W5,m:e3,M:Ad,p:function(Yt,ce,ct){var xt=N.exec(ce.slice(ct));return xt?(Yt.p=B[xt[0].toLowerCase()],ct+xt[0].length):-1},q:t3,Q:Md,s:Io,S:H5,u:fl,U:z5,V:U5,w:Kg,W:q5,x:function(Yt,ce,ct){return be(Yt,o,ce,ct)},X:function(Yt,ce,ct){return be(Yt,s,ce,ct)},y:Jg,Y:Jv,Z:co,"%":i3};function Vt(Yt,ce){return function(ct){var xt,ie,Kt,ae=[],Be=-1,$e=0,dn=Yt.length;for(ct instanceof Date||(ct=new Date(+ct));++Be53)return null;"w"in Kt||(Kt.w=1),"Z"in Kt?(ie=(xt=Zg(tu(Kt.y,0,1))).getUTCDay(),xt=ie>4||ie===0?gc.ceil(xt):gc(xt),xt=xi.offset(xt,7*(Kt.V-1)),Kt.y=xt.getUTCFullYear(),Kt.m=xt.getUTCMonth(),Kt.d=xt.getUTCDate()+(Kt.w+6)%7):(ie=(xt=Xg(tu(Kt.y,0,1))).getDay(),xt=ie>4||ie===0?il.ceil(xt):il(xt),xt=ii.offset(xt,7*(Kt.V-1)),Kt.y=xt.getFullYear(),Kt.m=xt.getMonth(),Kt.d=xt.getDate()+(Kt.w+6)%7)}else("W"in Kt||"U"in Kt)&&("w"in Kt||(Kt.w="u"in Kt?Kt.u%7:"W"in Kt?1:0),ie="Z"in Kt?Zg(tu(Kt.y,0,1)).getUTCDay():Xg(tu(Kt.y,0,1)).getDay(),Kt.m=0,Kt.d="W"in Kt?(Kt.w+6)%7+7*Kt.W-(ie+5)%7:Kt.w+7*Kt.U-(ie+6)%7);return"Z"in Kt?(Kt.H+=Kt.Z/100|0,Kt.M+=Kt.Z%100,Zg(Kt)):Xg(Kt)}}function be(Yt,ce,ct,xt){for(var ie,Kt,ae=0,Be=ce.length,$e=ct.length;ae=$e)return-1;if((ie=ce.charCodeAt(ae++))===37){if(ie=ce.charAt(ae++),!(Kt=Pt[ie in Kv?ce.charAt(ae++):ie])||(xt=Kt(Yt,ct,xt))<0)return-1}else if(ie!=ct.charCodeAt(xt++))return-1}return xt}return et.x=Vt(o,et),et.X=Vt(s,et),et.c=Vt(i,et),ut.x=Vt(o,ut),ut.X=Vt(s,ut),ut.c=Vt(i,ut),{format:function(Yt){var ce=Vt(Yt+="",et);return ce.toString=function(){return Yt},ce},parse:function(Yt){var ce=qt(Yt+="",!1);return ce.toString=function(){return Yt},ce},utcFormat:function(Yt){var ce=Vt(Yt+="",ut);return ce.toString=function(){return Yt},ce},utcParse:function(Yt){var ce=qt(Yt+="",!0);return ce.toString=function(){return Yt},ce}}}var ll,Zh,Qv,Ed,Qh,Kv={"-":"",_:" ",0:"0"},Yi=/^\s*\d+/,Qg=/^%/,Y5=/[\\^$*+?|[\]().{}]/g;function kr(n,i,o){var s=n<0?"-":"",l=(s?-n:n)+"",p=l.length;return s+(p68?1900:2e3),o+s[0].length):-1}function co(n,i,o){var s=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(i.slice(o,o+6));return s?(n.Z=s[1]?0:-(s[2]+(s[3]||"00")),o+s[0].length):-1}function t3(n,i,o){var s=Yi.exec(i.slice(o,o+1));return s?(n.q=3*s[0]-3,o+s[0].length):-1}function e3(n,i,o){var s=Yi.exec(i.slice(o,o+2));return s?(n.m=s[0]-1,o+s[0].length):-1}function Cd(n,i,o){var s=Yi.exec(i.slice(o,o+2));return s?(n.d=+s[0],o+s[0].length):-1}function Sd(n,i,o){var s=Yi.exec(i.slice(o,o+3));return s?(n.m=0,n.d=+s[0],o+s[0].length):-1}function n3(n,i,o){var s=Yi.exec(i.slice(o,o+2));return s?(n.H=+s[0],o+s[0].length):-1}function Ad(n,i,o){var s=Yi.exec(i.slice(o,o+2));return s?(n.M=+s[0],o+s[0].length):-1}function H5(n,i,o){var s=Yi.exec(i.slice(o,o+2));return s?(n.S=+s[0],o+s[0].length):-1}function W5(n,i,o){var s=Yi.exec(i.slice(o,o+3));return s?(n.L=+s[0],o+s[0].length):-1}function r3(n,i,o){var s=Yi.exec(i.slice(o,o+6));return s?(n.L=Math.floor(s[0]/1e3),o+s[0].length):-1}function i3(n,i,o){var s=Qg.exec(i.slice(o,o+1));return s?o+s[0].length:-1}function Md(n,i,o){var s=Yi.exec(i.slice(o));return s?(n.Q=+s[0],o+s[0].length):-1}function Io(n,i,o){var s=Yi.exec(i.slice(o));return s?(n.s=+s[0],o+s[0].length):-1}function ru(n,i){return kr(n.getDate(),i,2)}function mc(n,i){return kr(n.getHours(),i,2)}function a3(n,i){return kr(n.getHours()%12||12,i,2)}function o3(n,i){return kr(1+ii.count(Vc(n),n),i,3)}function t2(n,i){return kr(n.getMilliseconds(),i,3)}function zi(n,i){return t2(n,i)+"000"}function $5(n,i){return kr(n.getMonth()+1,i,2)}function V5(n,i){return kr(n.getMinutes(),i,2)}function G5(n,i){return kr(n.getSeconds(),i,2)}function Nd(n){var i=n.getDay();return i===0?7:i}function e2(n,i){return kr(Zc.count(Vc(n)-1,n),i,2)}function n2(n){var i=n.getDay();return i>=4||i===0?Ls(n):Ls.ceil(n)}function $a(n,i){return n=n2(n),kr(Ls.count(Vc(n),n)+(Vc(n).getDay()===4),i,2)}function Dd(n){return n.getDay()}function s3(n,i){return kr(il.count(Vc(n)-1,n),i,2)}function Zn(n,i){return kr(n.getFullYear()%100,i,2)}function r2(n,i){return kr((n=n2(n)).getFullYear()%100,i,2)}function c3(n,i){return kr(n.getFullYear()%1e4,i,4)}function Kh(n,i){var o=n.getDay();return kr((n=o>=4||o===0?Ls(n):Ls.ceil(n)).getFullYear()%1e4,i,4)}function Ui(n){var i=n.getTimezoneOffset();return(i>0?"-":(i*=-1,"+"))+kr(i/60|0,"0",2)+kr(i%60,"0",2)}function dl(n,i){return kr(n.getUTCDate(),i,2)}function Od(n,i){return kr(n.getUTCHours(),i,2)}function Bd(n,i){return kr(n.getUTCHours()%12||12,i,2)}function u3(n,i){return kr(1+xi.count(hi(n),n),i,3)}function Jt(n,i){return kr(n.getUTCMilliseconds(),i,3)}function X5(n,i){return Jt(n,i)+"000"}function l3(n,i){return kr(n.getUTCMonth()+1,i,2)}function Ld(n,i){return kr(n.getUTCMinutes(),i,2)}function i2(n,i){return kr(n.getUTCSeconds(),i,2)}function a2(n){var i=n.getUTCDay();return i===0?7:i}function o2(n,i){return kr(Xh.count(hi(n)-1,n),i,2)}function wi(n){var i=n.getUTCDay();return i>=4||i===0?yc(n):yc.ceil(n)}function h3(n,i){return n=wi(n),kr(yc.count(hi(n),n)+(hi(n).getUTCDay()===4),i,2)}function Id(n){return n.getUTCDay()}function Jh(n,i){return kr(gc.count(hi(n)-1,n),i,2)}function tf(n,i){return kr(n.getUTCFullYear()%100,i,2)}function s2(n,i){return kr((n=wi(n)).getUTCFullYear()%100,i,2)}function Rd(n,i){return kr(n.getUTCFullYear()%1e4,i,4)}function f3(n,i){var o=n.getUTCDay();return kr((n=o>=4||o===0?yc(n):yc.ceil(n)).getUTCFullYear()%1e4,i,4)}function c2(){return"+0000"}function d3(){return"%"}function pl(n){return+n}function u2(n){return Math.floor(+n/1e3)}function l2(n){return ll=Zv(n),Zh=ll.format,Qv=ll.parse,Ed=ll.utcFormat,Qh=ll.utcParse,ll}l2({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var uo=31536e6;function Z5(n){return new Date(n)}function ef(n){return n instanceof Date?+n:+new Date(+n)}function h2(n,i,o,s,l,p,b,v,T){var N=Ng(Zi,Zi),B=N.invert,F=N.domain,O=T(".%L"),z=T(":%S"),U=T("%I:%M"),Q=T("%I %p"),Z=T("%a %d"),G=T("%b %d"),rt=T("%B"),et=T("%Y"),ut=[[b,1,1e3],[b,5,5e3],[b,15,15e3],[b,30,3e4],[p,1,6e4],[p,5,3e5],[p,15,9e5],[p,30,18e5],[l,1,36e5],[l,3,108e5],[l,6,216e5],[l,12,432e5],[s,1,864e5],[s,2,1728e5],[o,1,6048e5],[i,1,2592e6],[i,3,7776e6],[n,1,uo]];function Pt(qt){return(b(qt)1)&&(n-=Math.floor(n));var i=Math.abs(n-.5);return Qd.h=360*n-100,Qd.s=1.5-1.5*i,Qd.l=.8-.9*i,Qd+""}var cf=Fi(),c_=Math.PI/3,P3=2*Math.PI/3;function j3(n){var i;return n=(.5-n)*Math.PI,cf.r=255*(i=Math.sin(n))*i,cf.g=255*(i=Math.sin(n+c_))*i,cf.b=255*(i=Math.sin(n+P3))*i,cf+""}function rr(n){return n=Math.max(0,Math.min(1,n)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+n*(1172.33-n*(10793.56-n*(33300.12-n*(38394.49-14825.05*n)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+n*(557.33+n*(1225.33-n*(3574.96-n*(1073.77+707.56*n)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+n*(3211.1-n*(15327.97-n*(27814-n*(22569.18-6838.66*n)))))))+")"}function Kd(n){var i=n.length;return function(o){return n[Math.max(0,Math.min(i-1,Math.floor(o*i)))]}}const Jd=Kd(Mn("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var u_=Kd(Mn("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Va=Kd(Mn("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),l_=Kd(Mn("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Y3(n){return pr(oi(n).call(document.documentElement))}var h_=0;function z3(){return new S2}function S2(){this._="@"+(++h_).toString(36)}function f_(n){return typeof n=="string"?new Cn([document.querySelectorAll(n)],[document.documentElement]):new Cn([n==null?[]:n],$i)}function d_(n,i){i==null&&(i=Pa().touches);for(var o=0,s=i?i.length:0,l=new Array(s);o1?0:n<-1?js:Math.acos(n)}function H3(n){return n>=1?t0:n<=-1?-t0:Math.asin(n)}function M2(n){return n.innerRadius}function N2(n){return n.outerRadius}function e0(n){return n.startAngle}function cs(n){return n.endAngle}function D2(n){return n&&n.padAngle}function O2(n,i,o,s,l,p,b,v){var T=o-n,N=s-i,B=b-l,F=v-p,O=F*T-B*N;if(!(O*OKt*Kt+ae*ae&&(be=ce,Yt=ct),{cx:be,cy:Yt,x01:-B,y01:-F,x11:be*(l/Pt-1),y11:Yt*(l/Pt-1)}}function uf(){var n=M2,i=N2,o=ar(0),s=null,l=e0,p=cs,b=D2,v=null;function T(){var N,B,F=+n.apply(this,arguments),O=+i.apply(this,arguments),z=l.apply(this,arguments)-t0,U=p.apply(this,arguments)-t0,Q=U3(U-z),Z=U>z;if(v||(v=N=_s()),OKi)if(Q>Ys-Ki)v.moveTo(O*su(z),O*qi(z)),v.arc(0,0,O,z,U,!Z),F>Ki&&(v.moveTo(F*su(U),F*qi(U)),v.arc(0,0,F,U,z,Z));else{var G,rt,et=z,ut=U,Pt=z,Vt=U,qt=Q,be=Q,Yt=b.apply(this,arguments)/2,ce=Yt>Ki&&(s?+s.apply(this,arguments):bl(F*F+O*O)),ct=A2(U3(O-F)/2,+o.apply(this,arguments)),xt=ct,ie=ct;if(ce>Ki){var Kt=H3(ce/F*qi(Yt)),ae=H3(ce/O*qi(Yt));(qt-=2*Kt)>Ki?(Pt+=Kt*=Z?1:-1,Vt-=Kt):(qt=0,Pt=Vt=(z+U)/2),(be-=2*ae)>Ki?(et+=ae*=Z?1:-1,ut-=ae):(be=0,et=ut=(z+U)/2)}var Be=O*su(et),$e=O*qi(et),dn=F*su(Vt),Fn=F*qi(Vt);if(ct>Ki){var ir,rn=O*su(ut),tr=O*qi(ut),Dn=F*su(Pt),Sn=F*qi(Pt);if(QKi?ie>Ki?(G=_c(Dn,Sn,Be,$e,O,ie,Z),rt=_c(rn,tr,dn,Fn,O,ie,Z),v.moveTo(G.cx+G.x01,G.cy+G.y01),ieKi&&qt>Ki?xt>Ki?(G=_c(dn,Fn,rn,tr,F,-xt,Z),rt=_c(Be,$e,Dn,Sn,F,-xt,Z),v.lineTo(G.cx+G.x01,G.cy+G.y01),xt=O;--z)v.point(rt[z],et[z]);v.lineEnd(),v.areaEnd()}G&&(rt[F]=+n(U,F,B),et[F]=+o(U,F,B),v.point(i?+i(U,F,B):rt[F],s?+s(U,F,B):et[F]))}if(Q)return v=null,Q+""||null}function N(){return xc().defined(l).curve(b).context(p)}return T.x=function(B){return arguments.length?(n=typeof B=="function"?B:ar(+B),i=null,T):n},T.x0=function(B){return arguments.length?(n=typeof B=="function"?B:ar(+B),T):n},T.x1=function(B){return arguments.length?(i=B==null?null:typeof B=="function"?B:ar(+B),T):i},T.y=function(B){return arguments.length?(o=typeof B=="function"?B:ar(+B),s=null,T):o},T.y0=function(B){return arguments.length?(o=typeof B=="function"?B:ar(+B),T):o},T.y1=function(B){return arguments.length?(s=B==null?null:typeof B=="function"?B:ar(+B),T):s},T.lineX0=T.lineY0=function(){return N().x(n).y(o)},T.lineY1=function(){return N().x(n).y(s)},T.lineX1=function(){return N().x(i).y(o)},T.defined=function(B){return arguments.length?(l=typeof B=="function"?B:ar(!!B),T):l},T.curve=function(B){return arguments.length?(b=B,p!=null&&(v=b(p)),T):b},T.context=function(B){return arguments.length?(B==null?p=v=null:v=b(p=B),T):p},T}function r0(n,i){return in?1:i>=n?0:NaN}function ff(n){return n}function L2(){var n=ff,i=r0,o=null,s=ar(0),l=ar(Ys),p=ar(0);function b(v){var T,N,B,F,O,z=v.length,U=0,Q=new Array(z),Z=new Array(z),G=+s.apply(this,arguments),rt=Math.min(Ys,Math.max(-Ys,l.apply(this,arguments)-G)),et=Math.min(Math.abs(rt)/z,p.apply(this,arguments)),ut=et*(rt<0?-1:1);for(T=0;T0&&(U+=O);for(i!=null?Q.sort(function(Pt,Vt){return i(Z[Pt],Z[Vt])}):o!=null&&Q.sort(function(Pt,Vt){return o(v[Pt],v[Vt])}),T=0,B=U?(rt-z*ut)/U:0;T0?O*B:0)+ut,Z[N]={data:v[N],index:T,value:O,startAngle:G,endAngle:F,padAngle:et};return Z}return b.value=function(v){return arguments.length?(n=typeof v=="function"?v:ar(+v),b):n},b.sortValues=function(v){return arguments.length?(i=v,o=null,b):i},b.sort=function(v){return arguments.length?(o=v,i=null,b):o},b.startAngle=function(v){return arguments.length?(s=typeof v=="function"?v:ar(+v),b):s},b.endAngle=function(v){return arguments.length?(l=typeof v=="function"?v:ar(+v),b):l},b.padAngle=function(v){return arguments.length?(p=typeof v=="function"?v:ar(+v),b):p},b}n0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;default:this._context.lineTo(n,i)}}};var i0=a0(_l);function I2(n){this._curve=n}function a0(n){function i(o){return new I2(n(o))}return i._curve=n,i}function df(n){var i=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(o){return arguments.length?i(a0(o)):i()._curve},n}function o0(){return df(xc().curve(i0))}function R2(){var n=B2().curve(i0),i=n.curve,o=n.lineX0,s=n.lineX1,l=n.lineY0,p=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return df(o())},delete n.lineX0,n.lineEndAngle=function(){return df(s())},delete n.lineX1,n.lineInnerRadius=function(){return df(l())},delete n.lineY0,n.lineOuterRadius=function(){return df(p())},delete n.lineY1,n.curve=function(b){return arguments.length?i(a0(b)):i()._curve},n}function xl(n,i){return[(i=+i)*Math.cos(n-=Math.PI/2),i*Math.sin(n)]}I2.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,i){this._curve.point(i*Math.sin(n),i*-Math.cos(n))}};var s0=Array.prototype.slice;function wl(n){return n.source}function Ti(n){return n.target}function c0(n){var i=wl,o=Ti,s=lf,l=hf,p=null;function b(){var v,T=s0.call(arguments),N=i.apply(this,T),B=o.apply(this,T);if(p||(p=v=_s()),n(p,+s.apply(this,(T[0]=N,T)),+l.apply(this,T),+s.apply(this,(T[0]=B,T)),+l.apply(this,T)),v)return p=null,v+""||null}return b.source=function(v){return arguments.length?(i=v,b):i},b.target=function(v){return arguments.length?(o=v,b):o},b.x=function(v){return arguments.length?(s=typeof v=="function"?v:ar(+v),b):s},b.y=function(v){return arguments.length?(l=typeof v=="function"?v:ar(+v),b):l},b.context=function(v){return arguments.length?(p=v==null?null:v,b):p},b}function kl(n,i,o,s,l){n.moveTo(i,o),n.bezierCurveTo(i=(i+s)/2,o,i,l,s,l)}function W3(n,i,o,s,l){n.moveTo(i,o),n.bezierCurveTo(i,o=(o+l)/2,s,o,s,l)}function $3(n,i,o,s,l){var p=xl(i,o),b=xl(i,o=(o+l)/2),v=xl(s,o),T=xl(s,l);n.moveTo(p[0],p[1]),n.bezierCurveTo(b[0],b[1],v[0],v[1],T[0],T[1])}function V3(){return c0(kl)}function Tl(){return c0(W3)}function G3(){var n=c0($3);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}const us={draw:function(n,i){var o=Math.sqrt(i/js);n.moveTo(o,0),n.arc(0,0,o,0,Ys)}},Ga={draw:function(n,i){var o=Math.sqrt(i/5)/2;n.moveTo(-3*o,-o),n.lineTo(-o,-o),n.lineTo(-o,-3*o),n.lineTo(o,-3*o),n.lineTo(o,-o),n.lineTo(3*o,-o),n.lineTo(3*o,o),n.lineTo(o,o),n.lineTo(o,3*o),n.lineTo(-o,3*o),n.lineTo(-o,o),n.lineTo(-3*o,o),n.closePath()}};var X3=Math.sqrt(1/3),g_=2*X3;const vi={draw:function(n,i){var o=Math.sqrt(i/g_),s=o*X3;n.moveTo(0,-o),n.lineTo(s,0),n.lineTo(0,o),n.lineTo(-s,0),n.closePath()}};var ia=Math.sin(js/10)/Math.sin(7*js/10),Li=Math.sin(Ys/10)*ia,ls=-Math.cos(Ys/10)*ia;const F2={draw:function(n,i){var o=Math.sqrt(.8908130915292852*i),s=Li*o,l=ls*o;n.moveTo(0,-o),n.lineTo(s,l);for(var p=1;p<5;++p){var b=Ys*p/5,v=Math.cos(b),T=Math.sin(b);n.lineTo(T*o,-v*o),n.lineTo(v*s-T*l,T*s+v*l)}n.closePath()}},u0={draw:function(n,i){var o=Math.sqrt(i),s=-o/2;n.rect(s,s,o,o)}};var l0=Math.sqrt(3);const pf={draw:function(n,i){var o=-Math.sqrt(i/(3*l0));n.moveTo(0,2*o),n.lineTo(-l0*o,-o),n.lineTo(l0*o,-o),n.closePath()}};var Xa=-.5,Za=Math.sqrt(3)/2,h0=1/Math.sqrt(12),Z3=3*(h0/2+1);const cu={draw:function(n,i){var o=Math.sqrt(i/Z3),s=o/2,l=o*h0,p=s,b=o*h0+o,v=-p,T=b;n.moveTo(s,l),n.lineTo(p,b),n.lineTo(v,T),n.lineTo(Xa*s-Za*l,Za*s+Xa*l),n.lineTo(Xa*p-Za*b,Za*p+Xa*b),n.lineTo(Xa*v-Za*T,Za*v+Xa*T),n.lineTo(Xa*s+Za*l,Xa*l-Za*s),n.lineTo(Xa*p+Za*b,Xa*b-Za*p),n.lineTo(Xa*v+Za*T,Xa*T-Za*v),n.closePath()}};var El=[us,Ga,vi,u0,F2,pf,cu];function y_(){var n=ar(us),i=ar(64),o=null;function s(){var l;if(o||(o=l=_s()),n.apply(this,arguments).draw(o,+i.apply(this,arguments)),l)return o=null,l+""||null}return s.type=function(l){return arguments.length?(n=typeof l=="function"?l:ar(l),s):n},s.size=function(l){return arguments.length?(i=typeof l=="function"?l:ar(+l),s):i},s.context=function(l){return arguments.length?(o=l==null?null:l,s):o},s}function zs(){}function Po(n,i,o){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+i)/6,(n._y0+4*n._y1+o)/6)}function Wn(n){this._context=n}function Q3(n){return new Wn(n)}function uu(n){this._context=n}function K3(n){return new uu(n)}function f0(n){this._context=n}function m_(n){return new f0(n)}function d0(n,i){this._basis=new Wn(n),this._beta=i}Wn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Po(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Po(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},uu.prototype={areaStart:zs,areaEnd:zs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._x2=n,this._y2=i;break;case 1:this._point=2,this._x3=n,this._y3=i;break;case 2:this._point=3,this._x4=n,this._y4=i,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+i)/6);break;default:Po(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},f0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var o=(this._x0+4*this._x1+n)/6,s=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(o,s):this._context.moveTo(o,s);break;case 3:this._point=4;default:Po(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},d0.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,i=this._y,o=n.length-1;if(o>0)for(var s,l=n[0],p=i[0],b=n[o]-l,v=i[o]-p,T=-1;++T<=o;)s=T/o,this._basis.point(this._beta*n[T]+(1-this._beta)*(l+s*b),this._beta*i[T]+(1-this._beta)*(p+s*v));this._x=this._y=null,this._basis.lineEnd()},point:function(n,i){this._x.push(+n),this._y.push(+i)}};const J3=function n(i){function o(s){return i===1?new Wn(s):new d0(s,i)}return o.beta=function(s){return n(+s)},o}(.85);function gf(n,i,o){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-i),n._y2+n._k*(n._y1-o),n._x2,n._y2)}function p0(n,i){this._context=n,this._k=(1-i)/6}p0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gf(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2,this._x1=n,this._y1=i;break;case 2:this._point=3;default:gf(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const tb=function n(i){function o(s){return new p0(s,i)}return o.tension=function(s){return n(+s)},o}(0);function g0(n,i){this._context=n,this._k=(1-i)/6}g0.prototype={areaStart:zs,areaEnd:zs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._x3=n,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=i);break;case 2:this._point=3,this._x5=n,this._y5=i;break;default:gf(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const v_=function n(i){function o(s){return new g0(s,i)}return o.tension=function(s){return n(+s)},o}(0);function y0(n,i){this._context=n,this._k=(1-i)/6}y0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gf(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const b_=function n(i){function o(s){return new y0(s,i)}return o.tension=function(s){return n(+s)},o}(0);function m0(n,i,o){var s=n._x1,l=n._y1,p=n._x2,b=n._y2;if(n._l01_a>Ki){var v=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,T=3*n._l01_a*(n._l01_a+n._l12_a);s=(s*v-n._x0*n._l12_2a+n._x2*n._l01_2a)/T,l=(l*v-n._y0*n._l12_2a+n._y2*n._l01_2a)/T}if(n._l23_a>Ki){var N=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,B=3*n._l23_a*(n._l23_a+n._l12_a);p=(p*N+n._x1*n._l23_2a-i*n._l12_2a)/B,b=(b*N+n._y1*n._l23_2a-o*n._l12_2a)/B}n._context.bezierCurveTo(s,l,p,b,n._x2,n._y2)}function eb(n,i){this._context=n,this._alpha=i}eb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;break;case 2:this._point=3;default:m0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const nb=function n(i){function o(s){return i?new eb(s,i):new p0(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function yf(n,i){this._context=n,this._alpha=i}yf.prototype={areaStart:zs,areaEnd:zs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=i);break;case 2:this._point=3,this._x5=n,this._y5=i;break;default:m0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const P2=function n(i){function o(s){return i?new yf(s,i):new g0(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function v0(n,i){this._context=n,this._alpha=i}v0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:m0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const j2=function n(i){function o(s){return i?new v0(s,i):new y0(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function Us(n){this._context=n}function qs(n){return new Us(n)}function rb(n){return n<0?-1:1}function mf(n,i,o){var s=n._x1-n._x0,l=i-n._x1,p=(n._y1-n._y0)/(s||l<0&&-0),b=(o-n._y1)/(l||s<0&&-0),v=(p*l+b*s)/(s+l);return(rb(p)+rb(b))*Math.min(Math.abs(p),Math.abs(b),.5*Math.abs(v))||0}function ib(n,i){var o=n._x1-n._x0;return o?(3*(n._y1-n._y0)/o-i)/2:i}function vf(n,i,o){var s=n._x0,l=n._y0,p=n._x1,b=n._y1,v=(p-s)/3;n._context.bezierCurveTo(s+v,l+v*i,p-v,b-v*o,p,b)}function Ji(n){this._context=n}function Cl(n){this._context=new Hs(n)}function Hs(n){this._context=n}function bf(n){return new Ji(n)}function Sl(n){return new Cl(n)}function b0(n){this._context=n}function ab(n){var i,o,s=n.length-1,l=new Array(s),p=new Array(s),b=new Array(s);for(l[0]=0,p[0]=2,b[0]=n[0]+2*n[1],i=1;i=0;--i)l[i]=(b[i]-l[i+1])/p[i];for(p[s-1]=(n[s]+l[s-1])/2,i=0;i1)for(var o,s,l,p=1,b=n[i[0]],v=b.length;p=0;)o[i]=i;return o}function __(n,i){return n[i]}function nn(){var n=ar([]),i=lu,o=jo,s=__;function l(p){var b,v,T=n.apply(this,arguments),N=p.length,B=T.length,F=new Array(B);for(b=0;b0){for(var o,s,l,p=0,b=n[0].length;p0)for(var o,s,l,p,b,v,T=0,N=n[i[0]].length;T0?(s[0]=p,s[1]=p+=l):l<0?(s[1]=b,s[0]=b+=l):(s[0]=0,s[1]=l)}function wc(n,i){if((o=n.length)>0){for(var o,s=0,l=n[i[0]],p=l.length;s0&&(s=(o=n[i[0]]).length)>0){for(var o,s,l,p=0,b=1;bp&&(p=i,s=o);return s}function z2(n){var i=n.map(U2);return lu(n).sort(function(o,s){return i[o]-i[s]})}function U2(n){for(var i,o=0,s=-1,l=n.length;++s=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(n,i);else{var o=this._x*(1-this._t)+n*this._t;this._context.lineTo(o,this._y),this._context.lineTo(o,i)}}this._x=n,this._y=i}};var Al="%Y-%m-%dT%H:%M:%S.%LZ",hu=Date.prototype.toISOString?function(n){return n.toISOString()}:Ed(Al);const wf=hu;var lb=+new Date("2000-01-01T00:00:00.000Z")?function(n){var i=new Date(n);return isNaN(i)?null:i}:Qh(Al);const hb=lb;function H2(n,i,o){var s=new $t,l=i;return i==null?(s.restart(n,i,o),s):(i=+i,o=o==null?$():+o,s.restart(function p(b){b+=l,s.restart(p,l+=i,o),n(b)},i,o),s)}function W2(n){return function(){return n}}function fb(n){return n[0]}function db(n){return n[1]}function _0(){this._=null}function Ml(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function fu(n,i){var o=i,s=i.R,l=o.U;l?l.L===o?l.L=s:l.R=s:n._=s,s.U=l,o.U=s,o.R=s.L,o.R&&(o.R.U=o),s.L=o}function kc(n,i){var o=i,s=i.L,l=o.U;l?l.L===o?l.L=s:l.R=s:n._=s,s.U=l,o.U=s,o.L=s.R,o.L&&(o.L.U=o),s.R=o}function $2(n){for(;n.L;)n=n.L;return n}_0.prototype={constructor:_0,insert:function(n,i){var o,s,l;if(n){if(i.P=n,i.N=n.N,n.N&&(n.N.P=i),n.N=i,n.R){for(n=n.R;n.L;)n=n.L;n.L=i}else n.R=i;o=n}else this._?(n=$2(this._),i.P=null,i.N=n,n.P=n.L=i,o=n):(i.P=i.N=null,this._=i,o=null);for(i.L=i.R=null,i.U=o,i.C=!0,n=i;o&&o.C;)o===(s=o.U).L?(l=s.R)&&l.C?(o.C=l.C=!1,s.C=!0,n=s):(n===o.R&&(fu(this,o),o=(n=o).U),o.C=!1,s.C=!0,kc(this,s)):(l=s.L)&&l.C?(o.C=l.C=!1,s.C=!0,n=s):(n===o.L&&(kc(this,o),o=(n=o).U),o.C=!1,s.C=!0,fu(this,s)),o=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var i,o,s,l=n.U,p=n.L,b=n.R;if(o=p?b?$2(b):p:b,l?l.L===n?l.L=o:l.R=o:this._=o,p&&b?(s=o.C,o.C=n.C,o.L=p,p.U=o,o!==b?(l=o.U,o.U=n.U,n=o.R,l.L=n,o.R=b,b.U=o):(o.U=l,l=o,n=o.R)):(s=n.C,n=o),n&&(n.U=l),!s)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===l.L){if((i=l.R).C&&(i.C=!1,l.C=!0,fu(this,l),i=l.R),i.L&&i.L.C||i.R&&i.R.C){i.R&&i.R.C||(i.L.C=!1,i.C=!0,kc(this,i),i=l.R),i.C=l.C,l.C=i.R.C=!1,fu(this,l),n=this._;break}}else if((i=l.L).C&&(i.C=!1,l.C=!0,kc(this,l),i=l.L),i.L&&i.L.C||i.R&&i.R.C){i.L&&i.L.C||(i.R.C=!1,i.C=!0,fu(this,i),i=l.L),i.C=l.C,l.C=i.L.C=!1,kc(this,l),n=this._;break}i.C=!0,n=l,l=l.U}while(!n.C);n&&(n.C=!1)}}};const pb=_0;function kf(n,i,o,s){var l=[null,null],p=aa.push(l)-1;return l.left=n,l.right=i,o&&x0(l,n,i,o),s&&x0(l,i,n,s),Qa[n.index].halfedges.push(p),Qa[i.index].halfedges.push(p),l}function Tf(n,i,o){var s=[i,o];return s.left=n,s}function x0(n,i,o,s){n[0]||n[1]?n.left===o?n[1]=s:n[0]=s:(n[0]=s,n.left=i,n.right=o)}function Ef(n,i,o,s,l){var p,b=n[0],v=n[1],T=b[0],N=b[1],B=0,F=1,O=v[0]-T,z=v[1]-N;if(p=i-T,O||!(p>0)){if(p/=O,O<0){if(p0){if(p>F)return;p>B&&(B=p)}if(p=s-T,O||!(p<0)){if(p/=O,O<0){if(p>F)return;p>B&&(B=p)}else if(O>0){if(p0)){if(p/=z,z<0){if(p0){if(p>F)return;p>B&&(B=p)}if(p=l-N,z||!(p<0)){if(p/=z,z<0){if(p>F)return;p>B&&(B=p)}else if(z>0){if(p0||F<1)||(B>0&&(n[0]=[T+B*O,N+B*z]),F<1&&(n[1]=[T+F*O,N+F*z]),!0)}}}}}function k_(n,i,o,s,l){var p=n[1];if(p)return!0;var b,v,T=n[0],N=n.left,B=n.right,F=N[0],O=N[1],z=B[0],U=B[1],Q=(F+z)/2,Z=(O+U)/2;if(U===O){if(Q=s)return;if(F>z){if(T){if(T[1]>=l)return}else T=[Q,o];p=[Q,l]}else{if(T){if(T[1]1)if(F>z){if(T){if(T[1]>=l)return}else T=[(o-v)/b,o];p=[(l-v)/b,l]}else{if(T){if(T[1]=s)return}else T=[i,b*i+v];p=[s,b*s+v]}else{if(T){if(T[0]=-N_)){var z=T*T+N*N,U=B*B+F*F,Q=(F*z-N*U)/O,Z=(T*U-B*z)/O,G=G2.pop()||new E_;G.arc=n,G.site=l,G.x=Q+b,G.y=(G.cy=Z+v)+Math.sqrt(Q*Q+Z*Z),n.circle=G;for(var rt=null,et=Cf._;et;)if(G.yDr)v=v.L;else{if(!((l=p-M_(v,b))>Dr)){s>-Dr?(i=v.P,o=v):l>-Dr?(i=v,o=v.N):i=o=v;break}if(!v.R){i=v;break}v=v.R}(function(Pt){Qa[Pt.index]={site:Pt,halfedges:[]}})(n);var T=mb(n);if(Bl.insert(i,T),i||o){if(i===o)return Dl(i),o=mb(i.site),Bl.insert(T,o),T.edge=o.edge=kf(i.site,T.site),Nl(i),void Nl(o);if(o){Dl(i),Dl(o);var N=i.site,B=N[0],F=N[1],O=n[0]-B,z=n[1]-F,U=o.site,Q=U[0]-B,Z=U[1]-F,G=2*(O*Z-z*Q),rt=O*O+z*z,et=Q*Q+Z*Z,ut=[(Z*rt-z*et)/G+B,(O*et-Q*rt)/G+F];x0(o.edge,N,U,ut),T.edge=kf(N,n,null,ut),o.edge=kf(n,U,null,ut),Nl(i),Nl(o)}else T.edge=kf(i.site,T.site)}}function vb(n,i){var o=n.site,s=o[0],l=o[1],p=l-i;if(!p)return s;var b=n.P;if(!b)return-1/0;var v=(o=b.site)[0],T=o[1],N=T-i;if(!N)return v;var B=v-s,F=1/p-1/N,O=B/N;return F?(-O+Math.sqrt(O*O-2*F*(B*B/(-2*N)-T+N/2+l-p/2)))/F+s:(s+v)/2}function M_(n,i){var o=n.N;if(o)return vb(o,i);var s=n.site;return s[1]===i?s[0]:1/0}var Bl,Qa,Cf,aa,Dr=1e-6,N_=1e-12;function ue(n,i,o){return(n[0]-o[0])*(i[1]-n[1])-(n[0]-i[0])*(o[1]-n[1])}function Ge(n,i){return i[1]-n[1]||i[0]-n[0]}function du(n,i){var o,s,l,p=n.sort(Ge).pop();for(aa=[],Qa=new Array(n.length),Bl=new pb,Cf=new pb;;)if(l=V2,p&&(!l||p[1]Dr||Math.abs(U[0][1]-U[1][1])>Dr)||delete aa[Q]})(b,v,T,N),function(B,F,O,z){var U,Q,Z,G,rt,et,ut,Pt,Vt,qt,be,Yt,ce=Qa.length,ct=!0;for(U=0;UDr||Math.abs(Yt-Vt)>Dr)&&(rt.splice(G,0,aa.push(Tf(Z,qt,Math.abs(be-B)Dr?[B,Math.abs(Pt-B)Dr?[Math.abs(Vt-z)Dr?[O,Math.abs(Pt-O)Dr?[Math.abs(Vt-F)=v)return null;var T=n-l.site[0],N=i-l.site[1],B=T*T+N*N;do l=p.cells[s=b],b=null,l.halfedges.forEach(function(F){var O=p.edges[F],z=O.left;if(z!==l.site&&z||(z=O.right)){var U=n-z[0],Q=i-z[1],Z=U*U+Q*Q;Zs?(s+l)/2:Math.min(0,s)||Math.max(0,l),b>p?(p+b)/2:Math.min(0,p)||Math.max(0,b))}function T0(){var n,i,o=D_,s=Mf,l=k0,p=bb,b=Z2,v=[0,1/0],T=[[-1/0,-1/0],[1/0,1/0]],N=250,B=id,F=an("start","zoom","end"),O=500,z=0;function U(ct){ct.property("__zoom",Nf).on("wheel.zoom",Pt).on("mousedown.zoom",Vt).on("dblclick.zoom",qt).filter(b).on("touchstart.zoom",be).on("touchmove.zoom",Yt).on("touchend.zoom touchcancel.zoom",ce).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Q(ct,xt){return(xt=Math.max(v[0],Math.min(v[1],xt)))===ct.k?ct:new ds(xt,ct.x,ct.y)}function Z(ct,xt,ie){var Kt=xt[0]-ie[0]*ct.k,ae=xt[1]-ie[1]*ct.k;return Kt===ct.x&&ae===ct.y?ct:new ds(ct.k,Kt,ae)}function G(ct){return[(+ct[0][0]+ +ct[1][0])/2,(+ct[0][1]+ +ct[1][1])/2]}function rt(ct,xt,ie){ct.on("start.zoom",function(){et(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){et(this,arguments).end()}).tween("zoom",function(){var Kt=this,ae=arguments,Be=et(Kt,ae),$e=s.apply(Kt,ae),dn=ie==null?G($e):typeof ie=="function"?ie.apply(Kt,ae):ie,Fn=Math.max($e[1][0]-$e[0][0],$e[1][1]-$e[0][1]),ir=Kt.__zoom,rn=typeof xt=="function"?xt.apply(Kt,ae):xt,tr=B(ir.invert(dn).concat(Fn/ir.k),rn.invert(dn).concat(Fn/rn.k));return function(Dn){if(Dn===1)Dn=rn;else{var Sn=tr(Dn),sr=Fn/Sn[2];Dn=new ds(sr,dn[0]-Sn[0]*sr,dn[1]-Sn[1]*sr)}Be.zoom(null,Dn)}})}function et(ct,xt,ie){return!ie&&ct.__zooming||new ut(ct,xt)}function ut(ct,xt){this.that=ct,this.args=xt,this.active=0,this.extent=s.apply(ct,xt),this.taps=0}function Pt(){if(o.apply(this,arguments)){var ct=et(this,arguments),xt=this.__zoom,ie=Math.max(v[0],Math.min(v[1],xt.k*Math.pow(2,p.apply(this,arguments)))),Kt=ys(this);if(ct.wheel)ct.mouse[0][0]===Kt[0]&&ct.mouse[0][1]===Kt[1]||(ct.mouse[1]=xt.invert(ct.mouse[0]=Kt)),clearTimeout(ct.wheel);else{if(xt.k===ie)return;ct.mouse=[Kt,xt.invert(Kt)],ha(this),ct.start()}Yo(),ct.wheel=setTimeout(ae,150),ct.zoom("mouse",l(Z(Q(xt,ie),ct.mouse[0],ct.mouse[1]),ct.extent,T))}function ae(){ct.wheel=null,ct.end()}}function Vt(){if(!i&&o.apply(this,arguments)){var ct=et(this,arguments,!0),xt=pr(pt.view).on("mousemove.zoom",Be,!0).on("mouseup.zoom",$e,!0),ie=ys(this),Kt=pt.clientX,ae=pt.clientY;Kr(pt.view),w0(),ct.mouse=[ie,this.__zoom.invert(ie)],ha(this),ct.start()}function Be(){if(Yo(),!ct.moved){var dn=pt.clientX-Kt,Fn=pt.clientY-ae;ct.moved=dn*dn+Fn*Fn>z}ct.zoom("mouse",l(Z(ct.that.__zoom,ct.mouse[0]=ys(ct.that),ct.mouse[1]),ct.extent,T))}function $e(){xt.on("mousemove.zoom mouseup.zoom",null),Pr(pt.view,ct.moved),Yo(),ct.end()}}function qt(){if(o.apply(this,arguments)){var ct=this.__zoom,xt=ys(this),ie=ct.invert(xt),Kt=ct.k*(pt.shiftKey?.5:2),ae=l(Z(Q(ct,Kt),xt,ie),s.apply(this,arguments),T);Yo(),N>0?pr(this).transition().duration(N).call(rt,ae,xt):pr(this).call(U.transform,ae)}}function be(){if(o.apply(this,arguments)){var ct,xt,ie,Kt,ae=pt.touches,Be=ae.length,$e=et(this,arguments,pt.changedTouches.length===Be);for(w0(),xt=0;xt{S.exports={graphlib:h(574),layout:h(8123),debug:h(7570),util:{time:h(1138).time,notime:h(1138).notime},version:h(8177)}},1207:(S,M,h)=>{var m=h(8436),d=h(4079);S.exports={run:function(_){var g=_.graph().acyclicer==="greedy"?d(_,function(k){return function(C){return k.edge(C).weight}}(_)):function(k){var C=[],A={},I={};return m.forEach(k.nodes(),function L(Y){m.has(I,Y)||(I[Y]=!0,A[Y]=!0,m.forEach(k.outEdges(Y),function(q){m.has(A,q.w)?C.push(q):L(q.w)}),delete A[Y])}),C}(_);m.forEach(g,function(k){var C=_.edge(k);_.removeEdge(k),C.forwardName=k.name,C.reversed=!0,_.setEdge(k.w,k.v,C,m.uniqueId("rev"))})},undo:function(_){m.forEach(_.edges(),function(g){var k=_.edge(g);if(k.reversed){_.removeEdge(g);var C=k.forwardName;delete k.reversed,delete k.forwardName,_.setEdge(g.w,g.v,k,C)}})}}},1133:(S,M,h)=>{var m=h(8436),d=h(1138);function _(g,k,C,A,I,L){var Y={width:0,height:0,rank:L,borderType:k},q=I[k][L-1],H=d.addDummyNode(g,"border",Y,C);I[k][L]=H,g.setParent(H,A),q&&g.setEdge(q,H,{weight:1})}S.exports=function(g){m.forEach(g.children(),function k(C){var A=g.children(C),I=g.node(C);if(A.length&&m.forEach(A,k),m.has(I,"minRank")){I.borderLeft=[],I.borderRight=[];for(var L=I.minRank,Y=I.maxRank+1;L{var m=h(8436);function d(C){m.forEach(C.nodes(),function(A){_(C.node(A))}),m.forEach(C.edges(),function(A){_(C.edge(A))})}function _(C){var A=C.width;C.width=C.height,C.height=A}function g(C){C.y=-C.y}function k(C){var A=C.x;C.x=C.y,C.y=A}S.exports={adjust:function(C){var A=C.graph().rankdir.toLowerCase();A!=="lr"&&A!=="rl"||d(C)},undo:function(C){var A=C.graph().rankdir.toLowerCase();A!=="bt"&&A!=="rl"||function(I){m.forEach(I.nodes(),function(L){g(I.node(L))}),m.forEach(I.edges(),function(L){var Y=I.edge(L);m.forEach(Y.points,g),m.has(Y,"y")&&g(Y)})}(C),A!=="lr"&&A!=="rl"||(function(I){m.forEach(I.nodes(),function(L){k(I.node(L))}),m.forEach(I.edges(),function(L){var Y=I.edge(L);m.forEach(Y.points,k),m.has(Y,"x")&&k(Y)})}(C),d(C))}}},7822:S=>{function M(){var d={};d._next=d._prev=d,this._sentinel=d}function h(d){d._prev._next=d._next,d._next._prev=d._prev,delete d._next,delete d._prev}function m(d,_){if(d!=="_next"&&d!=="_prev")return _}S.exports=M,M.prototype.dequeue=function(){var d=this._sentinel,_=d._prev;if(_!==d)return h(_),_},M.prototype.enqueue=function(d){var _=this._sentinel;d._prev&&d._next&&h(d),d._next=_._next,_._next._prev=d,_._next=d,d._prev=_},M.prototype.toString=function(){for(var d=[],_=this._sentinel,g=_._prev;g!==_;)d.push(JSON.stringify(g,m)),g=g._prev;return"["+d.join(", ")+"]"}},7570:(S,M,h)=>{var m=h(8436),d=h(1138),_=h(574).Graph;S.exports={debugOrdering:function(g){var k=d.buildLayerMatrix(g),C=new _({compound:!0,multigraph:!0}).setGraph({});return m.forEach(g.nodes(),function(A){C.setNode(A,{label:A}),C.setParent(A,"layer"+g.node(A).rank)}),m.forEach(g.edges(),function(A){C.setEdge(A.v,A.w,{},A.name)}),m.forEach(k,function(A,I){var L="layer"+I;C.setNode(L,{rank:"same"}),m.reduce(A,function(Y,q){return C.setEdge(Y,q,{style:"invis"}),q})}),C}}},574:(S,M,h)=>{var m;try{m=h(8282)}catch{}m||(m=window.graphlib),S.exports=m},4079:(S,M,h)=>{var m=h(8436),d=h(574).Graph,_=h(7822);S.exports=function(A,I){if(A.nodeCount()<=1)return[];var L=function(q,H){var V=new d,X=0,J=0;m.forEach(q.nodes(),function(_t){V.setNode(_t,{v:_t,in:0,out:0})}),m.forEach(q.edges(),function(_t){var dt=V.edge(_t.v,_t.w)||0,At=H(_t),st=dt+At;V.setEdge(_t.v,_t.w,st),J=Math.max(J,V.node(_t.v).out+=At),X=Math.max(X,V.node(_t.w).in+=At)});var lt=m.range(J+X+3).map(function(){return new _}),nt=X+1;return m.forEach(V.nodes(),function(_t){C(lt,nt,V.node(_t))}),{graph:V,buckets:lt,zeroIdx:nt}}(A,I||g),Y=function(q,H,V){for(var X,J=[],lt=H[H.length-1],nt=H[0];q.nodeCount();){for(;X=nt.dequeue();)k(q,H,V,X);for(;X=lt.dequeue();)k(q,H,V,X);if(q.nodeCount()){for(var _t=H.length-2;_t>0;--_t)if(X=H[_t].dequeue()){J=J.concat(k(q,H,V,X,!0));break}}}return J}(L.graph,L.buckets,L.zeroIdx);return m.flatten(m.map(Y,function(q){return A.outEdges(q.v,q.w)}),!0)};var g=m.constant(1);function k(A,I,L,Y,q){var H=q?[]:void 0;return m.forEach(A.inEdges(Y.v),function(V){var X=A.edge(V),J=A.node(V.v);q&&H.push({v:V.v,w:V.w}),J.out-=X,C(I,L,J)}),m.forEach(A.outEdges(Y.v),function(V){var X=A.edge(V),J=V.w,lt=A.node(J);lt.in-=X,C(I,L,lt)}),A.removeNode(Y.v),H}function C(A,I,L){L.out?L.in?A[L.out-L.in+I].enqueue(L):A[A.length-1].enqueue(L):A[0].enqueue(L)}},8123:(S,M,h)=>{var m=h(8436),d=h(1207),_=h(5995),g=h(8093),k=h(1138).normalizeRanks,C=h(4219),A=h(1138).removeEmptyRanks,I=h(2981),L=h(1133),Y=h(3258),q=h(3408),H=h(7873),V=h(1138),X=h(574).Graph;S.exports=function(It,ft){var vt=ft&&ft.debugTiming?V.time:V.notime;vt("layout",function(){var Wt=vt(" buildLayoutGraph",function(){return function(jt){var me=new X({multigraph:!0,compound:!0}),ge=St(jt.graph());return me.setGraph(m.merge({},lt,mt(ge,J),m.pick(ge,nt))),m.forEach(jt.nodes(),function(pe){var Dt=St(jt.node(pe));me.setNode(pe,m.defaults(mt(Dt,_t),dt)),me.setParent(pe,jt.parent(pe))}),m.forEach(jt.edges(),function(pe){var Dt=St(jt.edge(pe));me.setEdge(pe,m.merge({},st,mt(Dt,At),m.pick(Dt,K)))}),me}(It)});vt(" runLayout",function(){(function(jt,me){me(" makeSpaceForEdgeLabels",function(){(function(ge){var pe=ge.graph();pe.ranksep/=2,m.forEach(ge.edges(),function(Dt){var Zt=ge.edge(Dt);Zt.minlen*=2,Zt.labelpos.toLowerCase()!=="c"&&(pe.rankdir==="TB"||pe.rankdir==="BT"?Zt.width+=Zt.labeloffset:Zt.height+=Zt.labeloffset)})})(jt)}),me(" removeSelfEdges",function(){(function(ge){m.forEach(ge.edges(),function(pe){if(pe.v===pe.w){var Dt=ge.node(pe.v);Dt.selfEdges||(Dt.selfEdges=[]),Dt.selfEdges.push({e:pe,label:ge.edge(pe)}),ge.removeEdge(pe)}})})(jt)}),me(" acyclic",function(){d.run(jt)}),me(" nestingGraph.run",function(){I.run(jt)}),me(" rank",function(){g(V.asNonCompoundGraph(jt))}),me(" injectEdgeLabelProxies",function(){(function(ge){m.forEach(ge.edges(),function(pe){var Dt=ge.edge(pe);if(Dt.width&&Dt.height){var Zt=ge.node(pe.v),se={rank:(ge.node(pe.w).rank-Zt.rank)/2+Zt.rank,e:pe};V.addDummyNode(ge,"edge-proxy",se,"_ep")}})})(jt)}),me(" removeEmptyRanks",function(){A(jt)}),me(" nestingGraph.cleanup",function(){I.cleanup(jt)}),me(" normalizeRanks",function(){k(jt)}),me(" assignRankMinMax",function(){(function(ge){var pe=0;m.forEach(ge.nodes(),function(Dt){var Zt=ge.node(Dt);Zt.borderTop&&(Zt.minRank=ge.node(Zt.borderTop).rank,Zt.maxRank=ge.node(Zt.borderBottom).rank,pe=m.max(pe,Zt.maxRank))}),ge.graph().maxRank=pe})(jt)}),me(" removeEdgeLabelProxies",function(){(function(ge){m.forEach(ge.nodes(),function(pe){var Dt=ge.node(pe);Dt.dummy==="edge-proxy"&&(ge.edge(Dt.e).labelRank=Dt.rank,ge.removeNode(pe))})})(jt)}),me(" normalize.run",function(){_.run(jt)}),me(" parentDummyChains",function(){C(jt)}),me(" addBorderSegments",function(){L(jt)}),me(" order",function(){q(jt)}),me(" insertSelfEdges",function(){(function(ge){var pe=V.buildLayerMatrix(ge);m.forEach(pe,function(Dt){var Zt=0;m.forEach(Dt,function(se,le){var ye=ge.node(se);ye.order=le+Zt,m.forEach(ye.selfEdges,function(Ot){V.addDummyNode(ge,"selfedge",{width:Ot.label.width,height:Ot.label.height,rank:ye.rank,order:le+ ++Zt,e:Ot.e,label:Ot.label},"_se")}),delete ye.selfEdges})})})(jt)}),me(" adjustCoordinateSystem",function(){Y.adjust(jt)}),me(" position",function(){H(jt)}),me(" positionSelfEdges",function(){(function(ge){m.forEach(ge.nodes(),function(pe){var Dt=ge.node(pe);if(Dt.dummy==="selfedge"){var Zt=ge.node(Dt.e.v),se=Zt.x+Zt.width/2,le=Zt.y,ye=Dt.x-se,Ot=Zt.height/2;ge.setEdge(Dt.e,Dt.label),ge.removeNode(pe),Dt.label.points=[{x:se+2*ye/3,y:le-Ot},{x:se+5*ye/6,y:le-Ot},{x:se+ye,y:le},{x:se+5*ye/6,y:le+Ot},{x:se+2*ye/3,y:le+Ot}],Dt.label.x=Dt.x,Dt.label.y=Dt.y}})})(jt)}),me(" removeBorderNodes",function(){(function(ge){m.forEach(ge.nodes(),function(pe){if(ge.children(pe).length){var Dt=ge.node(pe),Zt=ge.node(Dt.borderTop),se=ge.node(Dt.borderBottom),le=ge.node(m.last(Dt.borderLeft)),ye=ge.node(m.last(Dt.borderRight));Dt.width=Math.abs(ye.x-le.x),Dt.height=Math.abs(se.y-Zt.y),Dt.x=le.x+Dt.width/2,Dt.y=Zt.y+Dt.height/2}}),m.forEach(ge.nodes(),function(pe){ge.node(pe).dummy==="border"&&ge.removeNode(pe)})})(jt)}),me(" normalize.undo",function(){_.undo(jt)}),me(" fixupEdgeLabelCoords",function(){(function(ge){m.forEach(ge.edges(),function(pe){var Dt=ge.edge(pe);if(m.has(Dt,"x"))switch(Dt.labelpos!=="l"&&Dt.labelpos!=="r"||(Dt.width-=Dt.labeloffset),Dt.labelpos){case"l":Dt.x-=Dt.width/2+Dt.labeloffset;break;case"r":Dt.x+=Dt.width/2+Dt.labeloffset}})})(jt)}),me(" undoCoordinateSystem",function(){Y.undo(jt)}),me(" translateGraph",function(){(function(ge){var pe=Number.POSITIVE_INFINITY,Dt=0,Zt=Number.POSITIVE_INFINITY,se=0,le=ge.graph(),ye=le.marginx||0,Ot=le.marginy||0;function We(he){var zt=he.x,te=he.y,at=he.width,ne=he.height;pe=Math.min(pe,zt-at/2),Dt=Math.max(Dt,zt+at/2),Zt=Math.min(Zt,te-ne/2),se=Math.max(se,te+ne/2)}m.forEach(ge.nodes(),function(he){We(ge.node(he))}),m.forEach(ge.edges(),function(he){var zt=ge.edge(he);m.has(zt,"x")&&We(zt)}),pe-=ye,Zt-=Ot,m.forEach(ge.nodes(),function(he){var zt=ge.node(he);zt.x-=pe,zt.y-=Zt}),m.forEach(ge.edges(),function(he){var zt=ge.edge(he);m.forEach(zt.points,function(te){te.x-=pe,te.y-=Zt}),m.has(zt,"x")&&(zt.x-=pe),m.has(zt,"y")&&(zt.y-=Zt)}),le.width=Dt-pe+ye,le.height=se-Zt+Ot})(jt)}),me(" assignNodeIntersects",function(){(function(ge){m.forEach(ge.edges(),function(pe){var Dt,Zt,se=ge.edge(pe),le=ge.node(pe.v),ye=ge.node(pe.w);se.points?(Dt=se.points[0],Zt=se.points[se.points.length-1]):(se.points=[],Dt=ye,Zt=le),se.points.unshift(V.intersectRect(le,Dt)),se.points.push(V.intersectRect(ye,Zt))})})(jt)}),me(" reversePoints",function(){(function(ge){m.forEach(ge.edges(),function(pe){var Dt=ge.edge(pe);Dt.reversed&&Dt.points.reverse()})})(jt)}),me(" acyclic.undo",function(){d.undo(jt)})})(Wt,vt)}),vt(" updateInputGraph",function(){(function(jt,me){m.forEach(jt.nodes(),function(ge){var pe=jt.node(ge),Dt=me.node(ge);pe&&(pe.x=Dt.x,pe.y=Dt.y,me.children(ge).length&&(pe.width=Dt.width,pe.height=Dt.height))}),m.forEach(jt.edges(),function(ge){var pe=jt.edge(ge),Dt=me.edge(ge);pe.points=Dt.points,m.has(Dt,"x")&&(pe.x=Dt.x,pe.y=Dt.y)}),jt.graph().width=me.graph().width,jt.graph().height=me.graph().height})(It,Wt)})})};var J=["nodesep","edgesep","ranksep","marginx","marginy"],lt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},nt=["acyclicer","ranker","rankdir","align"],_t=["width","height"],dt={width:0,height:0},At=["minlen","weight","width","height","labeloffset"],st={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},K=["labelpos"];function mt(It,ft){return m.mapValues(m.pick(It,ft),Number)}function St(It){var ft={};return m.forEach(It,function(vt,Wt){ft[Wt.toLowerCase()]=vt}),ft}},8436:(S,M,h)=>{var m;try{m={cloneDeep:h(361),constant:h(5703),defaults:h(1747),each:h(6073),filter:h(3105),find:h(3311),flatten:h(5564),forEach:h(4486),forIn:h(2620),has:h(8721),isUndefined:h(2353),last:h(928),map:h(5161),mapValues:h(6604),max:h(6162),merge:h(3857),min:h(3632),minBy:h(2762),now:h(7771),pick:h(9722),range:h(6026),reduce:h(4061),sortBy:h(9734),uniqueId:h(3955),values:h(2628),zipObject:h(7287)}}catch{}m||(m=window._),S.exports=m},2981:(S,M,h)=>{var m=h(8436),d=h(1138);function _(g,k,C,A,I,L,Y){var q=g.children(Y);if(q.length){var H=d.addBorderNode(g,"_bt"),V=d.addBorderNode(g,"_bb"),X=g.node(Y);g.setParent(H,Y),X.borderTop=H,g.setParent(V,Y),X.borderBottom=V,m.forEach(q,function(J){_(g,k,C,A,I,L,J);var lt=g.node(J),nt=lt.borderTop?lt.borderTop:J,_t=lt.borderBottom?lt.borderBottom:J,dt=lt.borderTop?A:2*A,At=nt!==_t?1:I-L[Y]+1;g.setEdge(H,nt,{weight:dt,minlen:At,nestingEdge:!0}),g.setEdge(_t,V,{weight:dt,minlen:At,nestingEdge:!0})}),g.parent(Y)||g.setEdge(k,H,{weight:0,minlen:I+L[Y]})}else Y!==k&&g.setEdge(k,Y,{weight:0,minlen:C})}S.exports={run:function(g){var k=d.addDummyNode(g,"root",{},"_root"),C=function(Y){var q={};function H(V,X){var J=Y.children(V);J&&J.length&&m.forEach(J,function(lt){H(lt,X+1)}),q[V]=X}return m.forEach(Y.children(),function(V){H(V,1)}),q}(g),A=m.max(m.values(C))-1,I=2*A+1;g.graph().nestingRoot=k,m.forEach(g.edges(),function(Y){g.edge(Y).minlen*=I});var L=function(Y){return m.reduce(Y.edges(),function(q,H){return q+Y.edge(H).weight},0)}(g)+1;m.forEach(g.children(),function(Y){_(g,k,I,L,A,C,Y)}),g.graph().nodeRankFactor=I},cleanup:function(g){var k=g.graph();g.removeNode(k.nestingRoot),delete k.nestingRoot,m.forEach(g.edges(),function(C){g.edge(C).nestingEdge&&g.removeEdge(C)})}}},5995:(S,M,h)=>{var m=h(8436),d=h(1138);S.exports={run:function(_){_.graph().dummyChains=[],m.forEach(_.edges(),function(g){(function(k,C){var A,I,L,Y=C.v,q=k.node(Y).rank,H=C.w,V=k.node(H).rank,X=C.name,J=k.edge(C),lt=J.labelRank;if(V!==q+1){for(k.removeEdge(C),L=0,++q;q{var m=h(8436);S.exports=function(d,_,g){var k,C={};m.forEach(g,function(A){for(var I,L,Y=d.parent(A);Y;){if((I=d.parent(Y))?(L=C[I],C[I]=Y):(L=k,k=Y),L&&L!==Y)return void _.setEdge(L,Y);Y=I}})}},5439:(S,M,h)=>{var m=h(8436);S.exports=function(d,_){return m.map(_,function(g){var k=d.inEdges(g);if(k.length){var C=m.reduce(k,function(A,I){var L=d.edge(I),Y=d.node(I.v);return{sum:A.sum+L.weight*Y.order,weight:A.weight+L.weight}},{sum:0,weight:0});return{v:g,barycenter:C.sum/C.weight,weight:C.weight}}return{v:g}})}},3128:(S,M,h)=>{var m=h(8436),d=h(574).Graph;S.exports=function(_,g,k){var C=function(I){for(var L;I.hasNode(L=m.uniqueId("_root")););return L}(_),A=new d({compound:!0}).setGraph({root:C}).setDefaultNodeLabel(function(I){return _.node(I)});return m.forEach(_.nodes(),function(I){var L=_.node(I),Y=_.parent(I);(L.rank===g||L.minRank<=g&&g<=L.maxRank)&&(A.setNode(I),A.setParent(I,Y||C),m.forEach(_[k](I),function(q){var H=q.v===I?q.w:q.v,V=A.edge(H,I),X=m.isUndefined(V)?0:V.weight;A.setEdge(H,I,{weight:_.edge(q).weight+X})}),m.has(L,"minRank")&&A.setNode(I,{borderLeft:L.borderLeft[g],borderRight:L.borderRight[g]}))}),A}},6630:(S,M,h)=>{var m=h(8436);function d(_,g,k){for(var C=m.zipObject(k,m.map(k,function(H,V){return V})),A=m.flatten(m.map(g,function(H){return m.sortBy(m.map(_.outEdges(H),function(V){return{pos:C[V.w],weight:_.edge(V).weight}}),"pos")}),!0),I=1;I0;)V%2&&(X+=Y[V+1]),Y[V=V-1>>1]+=H.weight;q+=H.weight*X})),q}S.exports=function(_,g){for(var k=0,C=1;C{var m=h(8436),d=h(2588),_=h(6630),g=h(1026),k=h(3128),C=h(5093),A=h(574).Graph,I=h(1138);function L(H,V,X){return m.map(V,function(J){return k(H,J,X)})}function Y(H,V){var X=new A;m.forEach(H,function(J){var lt=J.graph().root,nt=g(J,lt,X,V);m.forEach(nt.vs,function(_t,dt){J.node(_t).order=dt}),C(J,X,nt.vs)})}function q(H,V){m.forEach(V,function(X){m.forEach(X,function(J,lt){H.node(J).order=lt})})}S.exports=function(H){var V=I.maxRank(H),X=L(H,m.range(1,V+1),"inEdges"),J=L(H,m.range(V-1,-1,-1),"outEdges"),lt=d(H);q(H,lt);for(var nt,_t=Number.POSITIVE_INFINITY,dt=0,At=0;At<4;++dt,++At){Y(dt%2?X:J,dt%4>=2),lt=I.buildLayerMatrix(H);var st=_(H,lt);st<_t&&(At=0,nt=m.cloneDeep(lt),_t=st)}q(H,nt)}},2588:(S,M,h)=>{var m=h(8436);S.exports=function(d){var _={},g=m.filter(d.nodes(),function(I){return!d.children(I).length}),k=m.max(m.map(g,function(I){return d.node(I).rank})),C=m.map(m.range(k+1),function(){return[]}),A=m.sortBy(g,function(I){return d.node(I).rank});return m.forEach(A,function I(L){if(!m.has(_,L)){_[L]=!0;var Y=d.node(L);C[Y.rank].push(L),m.forEach(d.successors(L),I)}}),C}},9567:(S,M,h)=>{var m=h(8436);S.exports=function(d,_){var g={};return m.forEach(d,function(k,C){var A=g[k.v]={indegree:0,in:[],out:[],vs:[k.v],i:C};m.isUndefined(k.barycenter)||(A.barycenter=k.barycenter,A.weight=k.weight)}),m.forEach(_.edges(),function(k){var C=g[k.v],A=g[k.w];m.isUndefined(C)||m.isUndefined(A)||(A.indegree++,C.out.push(g[k.w]))}),function(k){var C=[];function A(Y){return function(q){var H,V,X,J;q.merged||(m.isUndefined(q.barycenter)||m.isUndefined(Y.barycenter)||q.barycenter>=Y.barycenter)&&(V=q,X=0,J=0,(H=Y).weight&&(X+=H.barycenter*H.weight,J+=H.weight),V.weight&&(X+=V.barycenter*V.weight,J+=V.weight),H.vs=V.vs.concat(H.vs),H.barycenter=X/J,H.weight=J,H.i=Math.min(V.i,H.i),V.merged=!0)}}function I(Y){return function(q){q.in.push(Y),--q.indegree==0&&k.push(q)}}for(;k.length;){var L=k.pop();C.push(L),m.forEach(L.in.reverse(),A(L)),m.forEach(L.out,I(L))}return m.map(m.filter(C,function(Y){return!Y.merged}),function(Y){return m.pick(Y,["vs","i","barycenter","weight"])})}(m.filter(g,function(k){return!k.indegree}))}},1026:(S,M,h)=>{var m=h(8436),d=h(5439),_=h(9567),g=h(7304);S.exports=function k(C,A,I,L){var Y=C.children(A),q=C.node(A),H=q?q.borderLeft:void 0,V=q?q.borderRight:void 0,X={};H&&(Y=m.filter(Y,function(At){return At!==H&&At!==V}));var J=d(C,Y);m.forEach(J,function(At){if(C.children(At.v).length){var st=k(C,At.v,I,L);X[At.v]=st,m.has(st,"barycenter")&&(K=At,mt=st,m.isUndefined(K.barycenter)?(K.barycenter=mt.barycenter,K.weight=mt.weight):(K.barycenter=(K.barycenter*K.weight+mt.barycenter*mt.weight)/(K.weight+mt.weight),K.weight+=mt.weight))}var K,mt});var lt=_(J,I);(function(At,st){m.forEach(At,function(K){K.vs=m.flatten(K.vs.map(function(mt){return st[mt]?st[mt].vs:mt}),!0)})})(lt,X);var nt=g(lt,L);if(H&&(nt.vs=m.flatten([H,nt.vs,V],!0),C.predecessors(H).length)){var _t=C.node(C.predecessors(H)[0]),dt=C.node(C.predecessors(V)[0]);m.has(nt,"barycenter")||(nt.barycenter=0,nt.weight=0),nt.barycenter=(nt.barycenter*nt.weight+_t.order+dt.order)/(nt.weight+2),nt.weight+=2}return nt}},7304:(S,M,h)=>{var m=h(8436),d=h(1138);function _(g,k,C){for(var A;k.length&&(A=m.last(k)).i<=C;)k.pop(),g.push(A.vs),C++;return C}S.exports=function(g,k){var C,A=d.partition(g,function(J){return m.has(J,"barycenter")}),I=A.lhs,L=m.sortBy(A.rhs,function(J){return-J.i}),Y=[],q=0,H=0,V=0;I.sort((C=!!k,function(J,lt){return J.barycenterlt.barycenter?1:C?lt.i-J.i:J.i-lt.i})),V=_(Y,L,V),m.forEach(I,function(J){V+=J.vs.length,Y.push(J.vs),q+=J.barycenter*J.weight,H+=J.weight,V=_(Y,L,V)});var X={vs:m.flatten(Y,!0)};return H&&(X.barycenter=q/H,X.weight=H),X}},4219:(S,M,h)=>{var m=h(8436);S.exports=function(d){var _=function(g){var k={},C=0;return m.forEach(g.children(),function A(I){var L=C;m.forEach(g.children(I),A),k[I]={low:L,lim:C++}}),k}(d);m.forEach(d.graph().dummyChains,function(g){for(var k=d.node(g),C=k.edgeObj,A=function(V,X,J,lt){var nt,_t,dt=[],At=[],st=Math.min(X[J].low,X[lt].low),K=Math.max(X[J].lim,X[lt].lim);nt=J;do nt=V.parent(nt),dt.push(nt);while(nt&&(X[nt].low>st||K>X[nt].lim));for(_t=nt,nt=lt;(nt=V.parent(nt))!==_t;)At.push(nt);return{path:dt.concat(At.reverse()),lca:_t}}(d,_,C.v,C.w),I=A.path,L=A.lca,Y=0,q=I[Y],H=!0;g!==C.w;){if(k=d.node(g),H){for(;(q=I[Y])!==L&&d.node(q).maxRank{var m=h(8436),d=h(574).Graph,_=h(1138);function g(V,X){var J={};return m.reduce(X,function(lt,nt){var _t=0,dt=0,At=lt.length,st=m.last(nt);return m.forEach(nt,function(K,mt){var St=function(ft,vt){if(ft.node(vt).dummy)return m.find(ft.predecessors(vt),function(Wt){return ft.node(Wt).dummy})}(V,K),It=St?V.node(St).order:At;(St||K===st)&&(m.forEach(nt.slice(dt,mt+1),function(ft){m.forEach(V.predecessors(ft),function(vt){var Wt=V.node(vt),jt=Wt.order;!(jt<_t||Itst)&&C(J,St,K)})})}return m.reduce(X,function(nt,_t){var dt,At=-1,st=0;return m.forEach(_t,function(K,mt){if(V.node(K).dummy==="border"){var St=V.predecessors(K);St.length&&(dt=V.node(St[0]).order,lt(_t,st,mt,At,dt),st=mt,At=dt)}lt(_t,st,_t.length,dt,nt.length)}),_t}),J}function C(V,X,J){if(X>J){var lt=X;X=J,J=lt}var nt=V[X];nt||(V[X]=nt={}),nt[J]=!0}function A(V,X,J){if(X>J){var lt=X;X=J,J=lt}return m.has(V[X],J)}function I(V,X,J,lt){var nt={},_t={},dt={};return m.forEach(X,function(At){m.forEach(At,function(st,K){nt[st]=st,_t[st]=st,dt[st]=K})}),m.forEach(X,function(At){var st=-1;m.forEach(At,function(K){var mt=lt(K);if(mt.length){mt=m.sortBy(mt,function(Wt){return dt[Wt]});for(var St=(mt.length-1)/2,It=Math.floor(St),ft=Math.ceil(St);It<=ft;++It){var vt=mt[It];_t[K]===K&&st{var m=h(8436),d=h(1138),_=h(3573).positionX;S.exports=function(g){(function(k){var C=d.buildLayerMatrix(k),A=k.graph().ranksep,I=0;m.forEach(C,function(L){var Y=m.max(m.map(L,function(q){return k.node(q).height}));m.forEach(L,function(q){k.node(q).y=I+Y/2}),I+=Y+A})})(g=d.asNonCompoundGraph(g)),m.forEach(_(g),function(k,C){g.node(C).x=k})}},300:(S,M,h)=>{var m=h(8436),d=h(574).Graph,_=h(6681).slack;function g(A,I){return m.forEach(A.nodes(),function L(Y){m.forEach(I.nodeEdges(Y),function(q){var H=q.v,V=Y===H?q.w:H;A.hasNode(V)||_(I,q)||(A.setNode(V,{}),A.setEdge(Y,V,{}),L(V))})}),A.nodeCount()}function k(A,I){return m.minBy(I.edges(),function(L){if(A.hasNode(L.v)!==A.hasNode(L.w))return _(I,L)})}function C(A,I,L){m.forEach(A.nodes(),function(Y){I.node(Y).rank+=L})}S.exports=function(A){var I,L,Y=new d({directed:!1}),q=A.nodes()[0],H=A.nodeCount();for(Y.setNode(q,{});g(Y,A){var m=h(6681).longestPath,d=h(300),_=h(2472);S.exports=function(k){switch(k.graph().ranker){case"network-simplex":default:(function(C){_(C)})(k);break;case"tight-tree":(function(C){m(C),d(C)})(k);break;case"longest-path":g(k)}};var g=m},2472:(S,M,h)=>{var m=h(8436),d=h(300),_=h(6681).slack,g=h(6681).longestPath,k=h(574).alg.preorder,C=h(574).alg.postorder,A=h(1138).simplify;function I(nt){nt=A(nt),g(nt);var _t,dt=d(nt);for(q(dt),L(dt,nt);_t=V(dt);)J(dt,nt,_t,X(dt,nt,_t))}function L(nt,_t){var dt=C(nt,nt.nodes());dt=dt.slice(0,dt.length-1),m.forEach(dt,function(At){(function(st,K,mt){var St=st.node(mt).parent;st.edge(mt,St).cutvalue=Y(st,K,mt)})(nt,_t,At)})}function Y(nt,_t,dt){var At=nt.node(dt).parent,st=!0,K=_t.edge(dt,At),mt=0;return K||(st=!1,K=_t.edge(At,dt)),mt=K.weight,m.forEach(_t.nodeEdges(dt),function(St){var It,ft,vt=St.v===dt,Wt=vt?St.w:St.v;if(Wt!==At){var jt=vt===st,me=_t.edge(St).weight;if(mt+=jt?me:-me,It=dt,ft=Wt,nt.hasEdge(It,ft)){var ge=nt.edge(dt,Wt).cutvalue;mt+=jt?-ge:ge}}}),mt}function q(nt,_t){arguments.length<2&&(_t=nt.nodes()[0]),H(nt,{},1,_t)}function H(nt,_t,dt,At,st){var K=dt,mt=nt.node(At);return _t[At]=!0,m.forEach(nt.neighbors(At),function(St){m.has(_t,St)||(dt=H(nt,_t,dt,St,At))}),mt.low=K,mt.lim=dt++,st?mt.parent=st:delete mt.parent,dt}function V(nt){return m.find(nt.edges(),function(_t){return nt.edge(_t).cutvalue<0})}function X(nt,_t,dt){var At=dt.v,st=dt.w;_t.hasEdge(At,st)||(At=dt.w,st=dt.v);var K=nt.node(At),mt=nt.node(st),St=K,It=!1;K.lim>mt.lim&&(St=mt,It=!0);var ft=m.filter(_t.edges(),function(vt){return It===lt(0,nt.node(vt.v),St)&&It!==lt(0,nt.node(vt.w),St)});return m.minBy(ft,function(vt){return _(_t,vt)})}function J(nt,_t,dt,At){var st=dt.v,K=dt.w;nt.removeEdge(st,K),nt.setEdge(At.v,At.w,{}),q(nt),L(nt,_t),function(mt,St){var It=m.find(mt.nodes(),function(vt){return!St.node(vt).parent}),ft=k(mt,It);ft=ft.slice(1),m.forEach(ft,function(vt){var Wt=mt.node(vt).parent,jt=St.edge(vt,Wt),me=!1;jt||(jt=St.edge(Wt,vt),me=!0),St.node(vt).rank=St.node(Wt).rank+(me?jt.minlen:-jt.minlen)})}(nt,_t)}function lt(nt,_t,dt){return dt.low<=_t.lim&&_t.lim<=dt.lim}S.exports=I,I.initLowLimValues=q,I.initCutValues=L,I.calcCutValue=Y,I.leaveEdge=V,I.enterEdge=X,I.exchangeEdges=J},6681:(S,M,h)=>{var m=h(8436);S.exports={longestPath:function(d){var _={};m.forEach(d.sources(),function g(k){var C=d.node(k);if(m.has(_,k))return C.rank;_[k]=!0;var A=m.min(m.map(d.outEdges(k),function(I){return g(I.w)-d.edge(I).minlen}));return A!==Number.POSITIVE_INFINITY&&A!=null||(A=0),C.rank=A})},slack:function(d,_){return d.node(_.w).rank-d.node(_.v).rank-d.edge(_).minlen}}},1138:(S,M,h)=>{var m=h(8436),d=h(574).Graph;function _(k,C,A,I){var L;do L=m.uniqueId(I);while(k.hasNode(L));return A.dummy=C,k.setNode(L,A),L}function g(k){return m.max(m.map(k.nodes(),function(C){var A=k.node(C).rank;if(!m.isUndefined(A))return A}))}S.exports={addDummyNode:_,simplify:function(k){var C=new d().setGraph(k.graph());return m.forEach(k.nodes(),function(A){C.setNode(A,k.node(A))}),m.forEach(k.edges(),function(A){var I=C.edge(A.v,A.w)||{weight:0,minlen:1},L=k.edge(A);C.setEdge(A.v,A.w,{weight:I.weight+L.weight,minlen:Math.max(I.minlen,L.minlen)})}),C},asNonCompoundGraph:function(k){var C=new d({multigraph:k.isMultigraph()}).setGraph(k.graph());return m.forEach(k.nodes(),function(A){k.children(A).length||C.setNode(A,k.node(A))}),m.forEach(k.edges(),function(A){C.setEdge(A,k.edge(A))}),C},successorWeights:function(k){var C=m.map(k.nodes(),function(A){var I={};return m.forEach(k.outEdges(A),function(L){I[L.w]=(I[L.w]||0)+k.edge(L).weight}),I});return m.zipObject(k.nodes(),C)},predecessorWeights:function(k){var C=m.map(k.nodes(),function(A){var I={};return m.forEach(k.inEdges(A),function(L){I[L.v]=(I[L.v]||0)+k.edge(L).weight}),I});return m.zipObject(k.nodes(),C)},intersectRect:function(k,C){var A,I,L=k.x,Y=k.y,q=C.x-L,H=C.y-Y,V=k.width/2,X=k.height/2;if(!q&&!H)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(H)*V>Math.abs(q)*X?(H<0&&(X=-X),A=X*q/H,I=X):(q<0&&(V=-V),A=V,I=V*H/q),{x:L+A,y:Y+I}},buildLayerMatrix:function(k){var C=m.map(m.range(g(k)+1),function(){return[]});return m.forEach(k.nodes(),function(A){var I=k.node(A),L=I.rank;m.isUndefined(L)||(C[L][I.order]=A)}),C},normalizeRanks:function(k){var C=m.min(m.map(k.nodes(),function(A){return k.node(A).rank}));m.forEach(k.nodes(),function(A){var I=k.node(A);m.has(I,"rank")&&(I.rank-=C)})},removeEmptyRanks:function(k){var C=m.min(m.map(k.nodes(),function(Y){return k.node(Y).rank})),A=[];m.forEach(k.nodes(),function(Y){var q=k.node(Y).rank-C;A[q]||(A[q]=[]),A[q].push(Y)});var I=0,L=k.graph().nodeRankFactor;m.forEach(A,function(Y,q){m.isUndefined(Y)&&q%L!=0?--I:I&&m.forEach(Y,function(H){k.node(H).rank+=I})})},addBorderNode:function(k,C,A,I){var L={width:0,height:0};return arguments.length>=4&&(L.rank=A,L.order=I),_(k,"border",L,C)},maxRank:g,partition:function(k,C){var A={lhs:[],rhs:[]};return m.forEach(k,function(I){C(I)?A.lhs.push(I):A.rhs.push(I)}),A},time:function(k,C){var A=m.now();try{return C()}finally{console.log(k+" time: "+(m.now()-A)+"ms")}},notime:function(k,C){return C()}}},8177:S=>{S.exports="0.8.5"},7856:function(S){S.exports=function(){var M=Object.hasOwnProperty,h=Object.setPrototypeOf,m=Object.isFrozen,d=Object.getPrototypeOf,_=Object.getOwnPropertyDescriptor,g=Object.freeze,k=Object.seal,C=Object.create,A=typeof Reflect!="undefined"&&Reflect,I=A.apply,L=A.construct;I||(I=function(Ht,Nt,oe){return Ht.apply(Nt,oe)}),g||(g=function(Ht){return Ht}),k||(k=function(Ht){return Ht}),L||(L=function(Ht,Nt){return new(Function.prototype.bind.apply(Ht,[null].concat(function(oe){if(Array.isArray(oe)){for(var tn=0,ve=Array(oe.length);tn1?oe-1:0),ve=1;ve/gm),Ot=k(/^data-[\-\w.\u00B7-\uFFFF]/),We=k(/^aria-[\-\w]+$/),he=k(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zt=k(/^(?:\w+script|data):/i),te=k(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ht){return typeof Ht}:function(Ht){return Ht&&typeof Symbol=="function"&&Ht.constructor===Symbol&&Ht!==Symbol.prototype?"symbol":typeof Ht};function ne(Ht){if(Array.isArray(Ht)){for(var Nt=0,oe=Array(Ht.length);Nt0&&arguments[0]!==void 0?arguments[0]:Mt(),oe=function(Bt){return Ht(Bt)};if(oe.version="2.3.5",oe.removed=[],!Nt||!Nt.document||Nt.document.nodeType!==9)return oe.isSupported=!1,oe;var tn=Nt.document,ve=Nt.document,De=Nt.DocumentFragment,ln=Nt.HTMLTemplateElement,Xe=Nt.Node,Ie=Nt.Element,Ae=Nt.NodeFilter,en=Nt.NamedNodeMap,Ue=en===void 0?Nt.NamedNodeMap||Nt.MozNamedAttrMap:en,Ze=Nt.HTMLFormElement,Qe=Nt.DOMParser,Le=Nt.trustedTypes,Yn=Ie.prototype,Me=St(Yn,"cloneNode"),an=St(Yn,"nextSibling"),vn=St(Yn,"childNodes"),Or=St(Yn,"parentNode");if(typeof ln=="function"){var bn=ve.createElement("template");bn.content&&bn.content.ownerDocument&&(ve=bn.content.ownerDocument)}var Kn=Xt(Le,tn),cn=Kn?Kn.createHTML(""):"",gn=ve,Ke=gn.implementation,Tn=gn.createNodeIterator,wn=gn.createDocumentFragment,zn=gn.getElementsByTagName,Un=tn.importNode,Cr={};try{Cr=mt(ve).documentMode?ve.documentMode:{}}catch{}var kn={};oe.isSupported=typeof Or=="function"&&Ke&&Ke.createHTMLDocument!==void 0&&Cr!==9;var Hn=le,Pn=ye,$n=Ot,Vn=We,Jn=zt,An=te,Ln=he,un=null,jn=K({},[].concat(ne(It),ne(ft),ne(vt),ne(jt),ne(ge))),mn=null,ei=K({},[].concat(ne(pe),ne(Dt),ne(Zt),ne(se))),dr=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ii=null,In=null,po=!0,oa=!0,ni=!1,Br=!1,Fr=!1,$r=!1,Xr=!1,Sr=!1,Zr=!1,Lr=!1,Ci=!0,ai=!0,er=!1,Hr={},sa=null,Qr=K({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ca=null,eo=K({},["audio","video","img","source","image","track"]),oi=null,on=K({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gn="http://www.w3.org/1998/Math/MathML",En="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml",Xn=Re,pt=!1,Vr=void 0,Qt=["application/xhtml+xml","text/html"],Si="text/html",Wi=void 0,Ba=null,no=ve.createElement("form"),go=function(Bt){return Bt instanceof RegExp||Bt instanceof Function},yo=function(Bt){Ba&&Ba===Bt||(Bt&&(Bt===void 0?"undefined":at(Bt))==="object"||(Bt={}),Bt=mt(Bt),un="ALLOWED_TAGS"in Bt?K({},Bt.ALLOWED_TAGS):jn,mn="ALLOWED_ATTR"in Bt?K({},Bt.ALLOWED_ATTR):ei,oi="ADD_URI_SAFE_ATTR"in Bt?K(mt(on),Bt.ADD_URI_SAFE_ATTR):on,ca="ADD_DATA_URI_TAGS"in Bt?K(mt(eo),Bt.ADD_DATA_URI_TAGS):eo,sa="FORBID_CONTENTS"in Bt?K({},Bt.FORBID_CONTENTS):Qr,Ii="FORBID_TAGS"in Bt?K({},Bt.FORBID_TAGS):{},In="FORBID_ATTR"in Bt?K({},Bt.FORBID_ATTR):{},Hr="USE_PROFILES"in Bt&&Bt.USE_PROFILES,po=Bt.ALLOW_ARIA_ATTR!==!1,oa=Bt.ALLOW_DATA_ATTR!==!1,ni=Bt.ALLOW_UNKNOWN_PROTOCOLS||!1,Br=Bt.SAFE_FOR_TEMPLATES||!1,Fr=Bt.WHOLE_DOCUMENT||!1,Sr=Bt.RETURN_DOM||!1,Zr=Bt.RETURN_DOM_FRAGMENT||!1,Lr=Bt.RETURN_TRUSTED_TYPE||!1,Xr=Bt.FORCE_BODY||!1,Ci=Bt.SANITIZE_DOM!==!1,ai=Bt.KEEP_CONTENT!==!1,er=Bt.IN_PLACE||!1,Ln=Bt.ALLOWED_URI_REGEXP||Ln,Xn=Bt.NAMESPACE||Re,Bt.CUSTOM_ELEMENT_HANDLING&&go(Bt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(dr.tagNameCheck=Bt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Bt.CUSTOM_ELEMENT_HANDLING&&go(Bt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(dr.attributeNameCheck=Bt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Bt.CUSTOM_ELEMENT_HANDLING&&typeof Bt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(dr.allowCustomizedBuiltInElements=Bt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Vr=Vr=Qt.indexOf(Bt.PARSER_MEDIA_TYPE)===-1?Si:Bt.PARSER_MEDIA_TYPE,Wi=Vr==="application/xhtml+xml"?function(qe){return qe}:X,Br&&(oa=!1),Zr&&(Sr=!0),Hr&&(un=K({},[].concat(ne(ge))),mn=[],Hr.html===!0&&(K(un,It),K(mn,pe)),Hr.svg===!0&&(K(un,ft),K(mn,Dt),K(mn,se)),Hr.svgFilters===!0&&(K(un,vt),K(mn,Dt),K(mn,se)),Hr.mathMl===!0&&(K(un,jt),K(mn,Zt),K(mn,se))),Bt.ADD_TAGS&&(un===jn&&(un=mt(un)),K(un,Bt.ADD_TAGS)),Bt.ADD_ATTR&&(mn===ei&&(mn=mt(mn)),K(mn,Bt.ADD_ATTR)),Bt.ADD_URI_SAFE_ATTR&&K(oi,Bt.ADD_URI_SAFE_ATTR),Bt.FORBID_CONTENTS&&(sa===Qr&&(sa=mt(sa)),K(sa,Bt.FORBID_CONTENTS)),ai&&(un["#text"]=!0),Fr&&K(un,["html","head","body"]),un.table&&(K(un,["tbody"]),delete Ii.tbody),g&&g(Bt),Ba=Bt)},Wr=K({},["mi","mo","mn","ms","mtext"]),$i=K({},["foreignobject","desc","title","annotation-xml"]),Cn=K({},ft);K(Cn,vt),K(Cn,Wt);var Ta=K({},jt);K(Ta,me);var La=function(Bt){var qe=Or(Bt);qe&&qe.tagName||(qe={namespaceURI:Re,tagName:"template"});var Ye=X(Bt.tagName),gr=X(qe.tagName);if(Bt.namespaceURI===En)return qe.namespaceURI===Re?Ye==="svg":qe.namespaceURI===Gn?Ye==="svg"&&(gr==="annotation-xml"||Wr[gr]):Boolean(Cn[Ye]);if(Bt.namespaceURI===Gn)return qe.namespaceURI===Re?Ye==="math":qe.namespaceURI===En?Ye==="math"&&$i[gr]:Boolean(Ta[Ye]);if(Bt.namespaceURI===Re){if(qe.namespaceURI===En&&!$i[gr]||qe.namespaceURI===Gn&&!Wr[gr])return!1;var vr=K({},["title","style","font","a","script"]);return!Ta[Ye]&&(vr[Ye]||!Cn[Ye])}return!1},pr=function(Bt){V(oe.removed,{element:Bt});try{Bt.parentNode.removeChild(Bt)}catch{try{Bt.outerHTML=cn}catch{Bt.remove()}}},Tr=function(Bt,qe){try{V(oe.removed,{attribute:qe.getAttributeNode(Bt),from:qe})}catch{V(oe.removed,{attribute:null,from:qe})}if(qe.removeAttribute(Bt),Bt==="is"&&!mn[Bt])if(Sr||Zr)try{pr(qe)}catch{}else try{qe.setAttribute(Bt,"")}catch{}},di=function(Bt){var qe=void 0,Ye=void 0;if(Xr)Bt=""+Bt;else{var gr=J(Bt,/^[\r\n\t ]+/);Ye=gr&&gr[0]}Vr==="application/xhtml+xml"&&(Bt=''+Bt+"");var vr=Kn?Kn.createHTML(Bt):Bt;if(Xn===Re)try{qe=new Qe().parseFromString(vr,Vr)}catch{}if(!qe||!qe.documentElement){qe=Ke.createDocument(Xn,"template",null);try{qe.documentElement.innerHTML=pt?"":vr}catch{}}var pi=qe.body||qe.documentElement;return Bt&&Ye&&pi.insertBefore(ve.createTextNode(Ye),pi.childNodes[0]||null),Xn===Re?zn.call(qe,Fr?"html":"body")[0]:Fr?qe.documentElement:pi},Kr=function(Bt){return Tn.call(Bt.ownerDocument||Bt,Bt,Ae.SHOW_ELEMENT|Ae.SHOW_COMMENT|Ae.SHOW_TEXT,null,!1)},Pr=function(Bt){return Bt instanceof Ze&&(typeof Bt.nodeName!="string"||typeof Bt.textContent!="string"||typeof Bt.removeChild!="function"||!(Bt.attributes instanceof Ue)||typeof Bt.removeAttribute!="function"||typeof Bt.setAttribute!="function"||typeof Bt.namespaceURI!="string"||typeof Bt.insertBefore!="function")},jr=function(Bt){return(Xe===void 0?"undefined":at(Xe))==="object"?Bt instanceof Xe:Bt&&(Bt===void 0?"undefined":at(Bt))==="object"&&typeof Bt.nodeType=="number"&&typeof Bt.nodeName=="string"},si=function(Bt,qe,Ye){kn[Bt]&&q(kn[Bt],function(gr){gr.call(oe,qe,Ye,Ba)})},Gr=function(Bt){var qe=void 0;if(si("beforeSanitizeElements",Bt,null),Pr(Bt)||J(Bt.nodeName,/[\u0080-\uFFFF]/))return pr(Bt),!0;var Ye=Wi(Bt.nodeName);if(si("uponSanitizeElement",Bt,{tagName:Ye,allowedTags:un}),!jr(Bt.firstElementChild)&&(!jr(Bt.content)||!jr(Bt.content.firstElementChild))&&dt(/<[/\w]/g,Bt.innerHTML)&&dt(/<[/\w]/g,Bt.textContent)||Ye==="select"&&dt(/