diff --git a/_app/assets/pages/__layout.svelte-0bf556f6.css b/_app/assets/pages/__layout.svelte-0bf556f6.css new file mode 100644 index 00000000..9464c3f9 --- /dev/null +++ b/_app/assets/pages/__layout.svelte-0bf556f6.css @@ -0,0 +1 @@ +html{-webkit-text-size-adjust:100%;line-height:1.15;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;margin:0}hr{color:inherit;height:0}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,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-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}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}button{background-color:transparent;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{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}body{font-family:inherit;line-height:inherit}*,:after,:before{border:0 solid;box-sizing:border-box}hr{border-top-width:1px}img{border-style:solid}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}:-moz-focusring{outline:auto}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{color:inherit;line-height:inherit;padding:0}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,: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-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity:1;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-blur:var(--tw-empty, );--tw-brightness:var(--tw-empty, );--tw-contrast:var(--tw-empty, );--tw-grayscale:var(--tw-empty, );--tw-hue-rotate:var(--tw-empty, );--tw-invert:var(--tw-empty, );--tw-saturate:var(--tw-empty, );--tw-sepia:var(--tw-empty, );--tw-drop-shadow:var(--tw-empty, );--tw-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);border-color:rgba(229,231,235,var(--tw-border-opacity))}:root{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.4% 51.2%;--pf:259 94.3% 41%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:219 14.1% 27.8%;--nf:222 13.4% 19%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--padding-card:2rem;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--tab-spacer:.5rem;--focus-ring:2px;--focus-ring-offset:2px;--glass-opacity:30%;--glass-border-opacity:10%;--glass-reflex-degree:100deg;--glass-reflex-opacity:10%;--glass-blur:40px;--glass-text-shadow-opacity:5%}@media (prefers-color-scheme:dark){:root{--p:259 94% 61%;--pf:259 94.4% 51.2%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:222 13.4% 19%;--nf:223 13.7% 10%;--nc:0 0% 100%;--b1:219 14.1% 27.8%;--b2:222 13.4% 19%;--b3:223 13.7% 10%;--bc:228 14.3% 93.1%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%}}[data-theme=light]{--p:259 94.4% 51.2%;--pf:259 94.3% 41%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:219 14.1% 27.8%;--nf:222 13.4% 19%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--padding-card:2rem;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--tab-spacer:.5rem;--focus-ring:2px;--focus-ring-offset:2px;--glass-opacity:30%;--glass-border-opacity:10%;--glass-reflex-degree:100deg;--glass-reflex-opacity:10%;--glass-blur:40px;--glass-text-shadow-opacity:5%}[data-theme=dark]{--p:259 94% 61%;--pf:259 94.4% 51.2%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:222 13.4% 19%;--nf:223 13.7% 10%;--nc:0 0% 100%;--b1:219 14.1% 27.8%;--b2:222 13.4% 19%;--b3:223 13.7% 10%;--bc:228 14.3% 93.1%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%}[data-theme=cupcake]{--p:183 47.4% 59%;--pf:183 47.2% 49%;--pc:0 0% 100%;--s:338 71.4% 78%;--sf:338 71.8% 68%;--sc:0 0% 100%;--a:39 84.1% 58%;--af:39 83.7% 48%;--ac:0 0% 100%;--n:280 46.5% 13.9%;--nf:279 46.4% 11%;--nc:0 0% 100%;--b1:24 33.3% 97.1%;--b2:27 22% 92%;--b3:22 14.3% 89%;--bc:280 46.5% 13.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem;--tab-border:2px}[data-theme=bumblebee]{--p:50 94.4% 58%;--pf:50 94.3% 47.8%;--pc:240 33.3% 14.1%;--s:41 74.2% 52.9%;--sf:41 73.6% 43.1%;--sc:0 0% 100%;--a:240 33.3% 14.1%;--af:240 33.3% 10%;--ac:0 0% 100%;--n:240 33.3% 14.1%;--nf:240 33.3% 10%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 96.1%;--b3:0 0% 89%;--bc:0 0% 0%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%}[data-theme=emerald]{--p:141 50% 60%;--pf:141 49.8% 50%;--pc:210 20% 98%;--s:219 96.1% 60%;--sf:219 96.1% 50%;--sc:210 20% 98%;--a:10 81.2% 56.1%;--af:10 81.2% 45.9%;--ac:210 20% 98%;--n:219 20.3% 25.1%;--nf:220 19.5% 15.1%;--nc:210 20% 98%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:0 0% 94.9%;--bc:219 20.3% 25.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=corporate]{--p:229 95.7% 63.9%;--pf:229 95.7% 53.9%;--pc:233 27.3% 12.9%;--s:215 26.3% 59%;--sf:214 26.1% 48.8%;--sc:233 27.3% 12.9%;--a:154 49% 60%;--af:154 49% 50%;--ac:233 27.3% 12.9%;--n:233 27.3% 12.9%;--nf:240 25% 3.1%;--nc:210 38.5% 94.9%;--b1:0 0% 100%;--b2:210 60% 98%;--b3:210 38.5% 94.9%;--bc:233 27.3% 12.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=synthwave]{--p:321 69.6% 69%;--pf:321 70.3% 59%;--pc:257 63.2% 17.1%;--sf:197 87.4% 75.1%;--s:197 86.6% 64.9%;--sc:257 63.2% 17.1%;--af:48 89.3% 67.1%;--a:48 89% 57.1%;--ac:257 63.2% 17.1%;--n:253 60.8% 19%;--nf:257 64.3% 11%;--nc:260 60% 98%;--b1:254 59.1% 25.9%;--b2:253 60.8% 19%;--b3:257 64.3% 11%;--bc:260 60% 98%;--in:199 87% 63.9%;--su:168 74.2% 68%;--wa:48 89% 57.1%;--er:352 73.6% 56.9%}[data-theme=retro]{--p:3 73.8% 76.1%;--pf:3 73.6% 65.9%;--pc:345 5.3% 14.9%;--s:145 27.3% 72%;--sf:145 26.8% 62%;--sc:345 5.3% 14.9%;--a:49 67.2% 76.1%;--af:49 66.7% 65.9%;--ac:345 5.3% 14.9%;--n:42 16.8% 42%;--nf:41 13.1% 23.9%;--nc:45 47.1% 80%;--b1:45 47.1% 80%;--b2:45 37.1% 72%;--b3:42 36% 65.1%;--bc:345 5.3% 14.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:.4rem;--rounded-btn:.4rem;--rounded-badge:.4rem;font-family:uisecondaryerif,Georgia,Cambria,Times New Roman,Times,serif}[data-theme=cyberpunk]{--p:345 100% 72.9%;--pf:344 100% 67.1%;--pc:0 0% 0%;--s:195 80.4% 70%;--sf:194 65.8% 61%;--sc:0 0% 0%;--a:276 74.3% 71%;--af:276 75.7% 62.9%;--ac:0 0% 0%;--n:57 100% 12.9%;--nf:60 80% 2%;--nc:56 100% 50%;--b1:56 100% 50%;--b2:56 100% 42.9%;--b3:56 100% 36.1%;--bc:0 0% 0%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--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 73.8% 67.1%;--pf:353 73.6% 56.9%;--pc:0 0% 100%;--s:254 86.4% 76.9%;--sf:254 86.9% 67.1%;--sc:0 0% 100%;--a:181 55.6% 70%;--af:181 54.9% 60%;--ac:0 0% 100%;--n:336 42.9% 48%;--nf:340 40.2% 38%;--nc:318 46.4% 89%;--b1:318 46.4% 89%;--b2:315 58.9% 79%;--b3:316 62.3% 72.9%;--bc:344 38.5% 28%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem}[data-theme=halloween]{--p:32 89.3% 52.2%;--pf:32 88.8% 42%;--pc:180 7.3% 8%;--s:271 45.8% 42%;--sf:271 46% 32%;--sc:0 0% 100%;--a:91 100% 32.9%;--af:91 100% 22.9%;--ac:0 0% 100%;--n:180 3.6% 11%;--nf:180 7.3% 8%;--nc:0 0% 100%;--b1:0 0% 12.9%;--b2:180 3.6% 11%;--b3:180 7.3% 8%;--bc:0 0% 100%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%}[data-theme=garden]{--p:139 16% 42.9%;--pf:137 14.8% 33.1%;--pc:0 0% 100%;--s:97 37.1% 93.1%;--sf:98 36.3% 82.2%;--sc:96 32.5% 15.1%;--a:0 67.7% 93.9%;--af:0 71.1% 85.1%;--ac:0 22% 16.1%;--n:0 3.9% 35.1%;--nf:0 3.7% 15.9%;--nc:0 4.3% 91%;--b1:0 4.3% 91%;--b2:0 5.2% 81%;--b3:0 5.4% 71%;--bc:0 3.2% 6.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem}[data-theme=forest]{--p:141 72% 42%;--pf:141 71.8% 32%;--pc:0 0% 100%;--s:141 74.7% 48%;--sf:141 75.3% 38%;--sc:0 0% 100%;--a:35 69% 52%;--af:35 69.2% 42%;--ac:0 0% 100%;--n:0 9.7% 6.1%;--nf:0 20% 2%;--nc:0 0% 100%;--b1:0 12.2% 8%;--b2:0 9.7% 6.1%;--b3:0 20% 2%;--bc:0 0% 100%;--rounded-btn:1.9rem;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%}[data-theme=aqua]{--p:189 100% 62.9%;--pf:189 100% 52.9%;--pc:0 0% 0%;--s:274 30.9% 56.9%;--sf:274 30.8% 47.1%;--sc:0 0% 100%;--a:47 100% 80%;--af:47 100% 70%;--ac:0 0% 100%;--n:231 77.4% 32.9%;--nf:231 67.6% 29%;--nc:0 0% 100%;--b1:231 88.7% 38%;--b2:231 77.4% 32.9%;--b3:231 67.6% 29%;--bc:0 0% 100%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%}[data-theme=lofi]{--p:0 0% 50.2%;--pf:0 0% 45.1%;--pc:240 4% 95.1%;--s:0 0% 30.2%;--sf:0 0% 25.1%;--sc:240 4% 95.1%;--a:0 0% 10.2%;--af:0 0% 5.1%;--ac:240 4% 95.1%;--n:240 4% 95.1%;--nf:240 5.9% 90%;--nc:0 0% 30.2%;--b1:0 0% 100%;--b2:0 0% 100%;--b3:0 0% 100%;--bc:0 0% 49%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:#e6e6e6;--animation-btn:0;--animation-input:0;--btn-focus-scale:1;--rounded-box:0rem;--rounded-btn:0rem;--rounded-badge:0rem;--tab-radius:0rem}[data-theme=lofi] *{--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 0 1px var(--border-color)!important;border-color:var(--border-color)!important}[data-theme=pastel]{--p:284 21.6% 80%;--pf:282 21.6% 70%;--pc:0 0% 0%;--s:352 70.5% 88%;--sf:352 69.6% 78%;--sc:0 0% 100%;--a:158 54.6% 81%;--af:158 55.4% 71%;--ac:0 0% 100%;--n:199 43.7% 61%;--nf:199 44% 51%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:206 3.1% 55.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem}[data-theme=fantasy]{--p:296 82.8% 25.1%;--pf:296 81.8% 15.1%;--pc:0 0% 100%;--s:200 100% 37.1%;--sf:200 100% 27.1%;--sc:0 0% 100%;--a:31 94.4% 51.2%;--af:31 94.3% 41%;--ac:0 0% 100%;--n:215 27.9% 16.9%;--nf:221 39.3% 11%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%}[data-theme=wireframe]{--p:0 0% 72.2%;--pf:0 0% 72.2%;--pc:0 0% 0%;--s:0 0% 72.2%;--sf:0 0% 72.2%;--sc:0 0% 0%;--a:0 0% 72.2%;--af:0 0% 72.2%;--ac:0 0% 0%;--b1:0 0% 100%;--b2:0 0% 100%;--b3:0 0% 100%;--bc:0 0% 0%;--n:0 0% 92.2%;--nf:0 0% 92.2%;--nc:0 0% 0%;--in:240 100% 50%;--su:120 100% 25.1%;--wa:60 30.2% 50%;--er:0 100% 50%;--border-color:#000;--rounded-box:.2rem;--rounded-btn:.2rem;--rounded-badge:.2rem;--tab-radius:.2rem;font-family:Chalkboard,comic sans ms,sanssecondaryerif}[data-theme=wireframe] *{--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 0 1px var(--border-color)!important;border-color:var(--border-color)!important}[data-theme=black]{--p:0 0% 100%;--pf:0 0% 100%;--pc:0 0% 0%;--s:0 0% 100%;--sf:0 0% 100%;--sc:0 0% 0%;--a:0 0% 100%;--af:0 0% 100%;--ac:0 0% 0%;--b1:0 0% 0%;--b2:0 0% 20%;--b3:0 0% 30.2%;--bc:0 0% 100%;--n:0 0% 20%;--nf:0 0% 30.2%;--nc:0 0% 100%;--in:240 100% 50%;--su:120 100% 25.1%;--wa:60 100% 50%;--er:0 100% 50%;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--tab-radius:0;--animation-btn:0;--animation-input:0;--btn-focus-scale:1;--btn-text-case:lowercase}[data-theme=luxury]{--p:0 0% 100%;--pf:0 0% 90.2%;--pc:0 0% 0%;--s:218 54.3% 18%;--sf:219 56.1% 8%;--sc:0 0% 100%;--a:319 21.8% 26.1%;--af:320 22% 16.1%;--ac:0 0% 100%;--n:270 4.3% 9%;--nf:270 2.2% 18%;--nc:37 67.3% 58%;--b1:240 10% 3.9%;--b2:270 4.3% 9%;--b3:270 2.2% 18%;--bc:37 67.3% 58%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%}[data-theme=dracula]{--p:330 100% 85.1%;--pf:330 100% 75.1%;--pc:233 12.1% 12.9%;--s:115 100% 85.1%;--sf:115 100% 75.1%;--sc:233 12.1% 12.9%;--a:60 100% 85.1%;--af:60 100% 75.1%;--ac:233 12.1% 12.9%;--n:245 14.3% 15.1%;--nf:233 12.1% 12.9%;--nc:251 100% 90%;--b1:244 13% 21.2%;--b2:245 14.3% 15.1%;--b3:233 12.1% 12.9%;--bc:251 100% 90%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%}.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>: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)))}.alert{--tw-bg-opacity:1;align-items:center;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;justify-content:space-between;padding:1rem}@media (min-width:768px){.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{flex-direction:row}}.alert>*{display:flex}.avatar.placeholder>div{align-items:center;display:flex;justify-content:center}.btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;align-items:center;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));border-color:transparent;border-color:hsla(var(--n)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsla(var(--nc)/var(--tw-text-opacity,1));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:2;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;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:focus{outline:2px solid transparent;outline-offset:2px}.btn-disabled,.btn[disabled]{--tw-bg-opacity:1;--tw-bg-opacity:.2;--tw-border-opacity:0;--tw-text-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1));pointer-events:none}.btn.loading,.btn.loading:hover{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;padding:var(--padding-card,2rem)}.card figure,.card figure>*{width:100%}.card.image-full{display:grid}.card.image-full:before{--tw-bg-opacity:1;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));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:hsla(var(--nc)/var(--tw-text-opacity,1));position:relative;z-index:20}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.dropdown{display:inline-block;position:relative}.dropdown>:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{--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-x:.95;--tw-scale-y:1;--tw-scale-y:.95;opacity:0;position:absolute;transform:translate(var(--tw-translate-x)) translateY(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:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;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-within .dropdown-content,.dropdown:not(.dropdown-hover):focus .dropdown-content{opacity:1;visibility:visible}.form-control{display:flex;flex-direction:column}.label{align-items:center;display:flex;justify-content:space-between;padding:.5rem .25rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.input{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-border-opacity:0;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:hsla(var(--bc)/var(--tw-border-opacity,1));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:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.input:focus{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsla(var(--bc)/.2);outline:2px solid transparent;outline-offset:2px}.link{cursor:pointer;text-decoration:underline}.menu{display:flex;flex-direction:column;overflow:hidden}.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}.menu :where(li)>a,.menu :where(li)>span{align-items:center;display:flex;transition-duration:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu :where(li)>a{cursor:pointer}.menu :where(li)>a:focus{outline:2px solid transparent;outline-offset:2px}.menu :where(li).disabled>a,.menu :where(li).disabled>span{cursor:auto}.navbar{min-height:4rem;padding:var(--navbar-padding,.5rem)}.navbar,.navbar>*{align-items:center;display:flex}.radio:focus{outline:2px solid transparent;outline-offset:2px}.select{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-border-opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));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-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;display:inline-flex;flex-shrink:0;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:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;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:focus{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsla(var(--bc)/.2);outline:2px solid transparent;outline-offset:2px}.select-disabled,.select[disabled]{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-color:hsla(var(--b2)/var(--tw-border-opacity,1));cursor:not-allowed;pointer-events:none}.tabs{align-items:flex-end;display:flex;flex-wrap:wrap}.tab{--tab-padding:1rem;--tw-text-opacity:1;--tw-text-opacity:.5;align-items:center;color:hsla(var(--bc)/var(--tw-text-opacity,1));cursor:pointer;display:inline-flex;flex-wrap:wrap;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}.toggle:focus{outline:2px solid transparent;outline-offset:2px}.btn .badge{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:transparent;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-outline.btn-primary .badge{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary .badge{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--s)/var(--tw-bg-opacity,1));border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn-outline.btn-primary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover .badge{background-color:hsla(var(--pc)/var(--tw-bg-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover .badge,.btn-outline.btn-primary:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--pc)/var(--tw-border-opacity,1))}.btn-outline.btn-primary:hover .badge.outline{background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover .badge{background-color:hsla(var(--sc)/var(--tw-bg-opacity,1));color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover .badge,.btn-outline.btn-secondary:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--sc)/var(--tw-border-opacity,1))}.btn-outline.btn-secondary:hover .badge.outline{background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn:active:focus,.btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.btn-active,.btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--nf)/var(--tw-bg-opacity,1));border-color:hsla(var(--nf)/var(--tw-border-opacity,1))}.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--nf))}.btn-primary{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-primary.btn-active,.btn-primary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1))}.btn-primary:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.btn-secondary{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--s)/var(--tw-bg-opacity,1));border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn-secondary.btn-active,.btn-secondary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));border-color:hsla(var(--sf)/var(--tw-border-opacity,1))}.btn-secondary:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--s))}.btn-success{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-success,.btn-success.btn-active,.btn-success:hover{background-color:hsla(var(--su)/var(--tw-bg-opacity,1));border-color:hsla(var(--su)/var(--tw-border-opacity,1))}.btn-success.btn-active,.btn-success:hover{--tw-bg-opacity:1;--tw-border-opacity:1}.btn-success:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--su))}.btn-error{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-error,.btn-error.btn-active,.btn-error:hover{background-color:hsla(var(--er)/var(--tw-bg-opacity,1));border-color:hsla(var(--er)/var(--tw-border-opacity,1))}.btn-error.btn-active,.btn-error:hover{--tw-bg-opacity:1;--tw-border-opacity:1}.btn-error:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--er))}.btn.glass.btn-active,.btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.btn.glass:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-ghost{background-color:transparent;border-color:transparent;border-width:1px;color:currentColor}.btn-ghost.btn-active,.btn-ghost:hover{--tw-bg-opacity:1;--tw-bg-opacity:.2;--tw-border-opacity:0;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1))}.btn-ghost:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-outline.btn-primary{--tw-text-opacity:1;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary{--tw-text-opacity:1;color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));border-color:hsla(var(--sf)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.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-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-group>.btn-active:focus-visible,.btn-group>input[type=radio]:checked.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.btn-group>.btn:not(:last-child){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{box-shadow:0 0 0 2px currentColor}.card.bordered{--tw-border-opacity:1;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));border-width:1px}.card.compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card.compact .card-title{margin-bottom:.25rem}.checkbox{--chkbg:var(--bc);--chkfg:var(--b1);--tw-border-opacity:1;--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;height:1.5rem;width:1.5rem}.checkbox:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.checkbox:checked{-webkit-animation:checkmark var(--animation-input,.2s) ease-in-out;animation:checkmark var(--animation-input,.2s) ease-in-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 0),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 0),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 0),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 0,hsl(var(--chkfg)) 40%,transparent 0),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 0);background-repeat:no-repeat}.checkbox:checked,.checkbox:disabled{--tw-bg-opacity:1;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1))}.checkbox:disabled{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}}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-primary{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-secondary{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--s))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-success{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--su))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-error{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--er))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-ghost{box-shadow:0 0 0 2px currentColor}.dropdown.dropdown-hover:hover .dropdown-content,.dropdown.dropdown-open .dropdown-content,.dropdown:focus-within .dropdown-content,.dropdown:focus .dropdown-content{--tw-scale-x:1;--tw-scale-y:1}.label a:hover{--tw-text-opacity:1;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.input-disabled,.input[disabled]{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-color:hsla(var(--b2)/var(--tw-border-opacity,1));cursor:not-allowed}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.input-disabled:-ms-input-placeholder,.input[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.input-disabled::placeholder,.input[disabled]::placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{box-shadow:0 0 0 2px currentColor}.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>span{--tw-border-opacity:1;border-bottom-width:4px;border-color:hsla(var(--p)/var(--tw-border-opacity,1));border-left-width:0}.menu[class*=p-] li a{border-radius:var(--rounded-btn,.5rem)}.menu li>a,.menu li>span{color:currentColor;padding:.75rem 1.25rem}.menu li>a:focus,.menu li>a:hover{--tw-bg-opacity:1;--tw-bg-opacity:.1;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1))}.menu li>a.active{background-color:hsla(var(--p)/var(--tw-bg-opacity,1))}.menu li>a.active,.menu li>a:active{--tw-bg-opacity:1;--tw-text-opacity:1;color:hsla(var(--pc)/var(--tw-text-opacity,1))}.menu li>a:active{background-color:hsla(var(--pf)/var(--tw-bg-opacity,1))}.menu li.disabled>a:hover,.menu li.disabled>span:hover{background-color:transparent}.menu li.disabled>a,.menu li.disabled>span{--tw-text-opacity:1;--tw-text-opacity:.2;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.menu li.bordered a,.menu li.bordered span{--tw-border-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1));border-left-width:4px}.menu li.hover-bordered a{border-color:transparent;border-left-width:4px}.menu li.hover-bordered a:hover{--tw-border-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1))}.menu ul{padding-left:1.5rem}.menu.compact li>a,.menu.compact li>span{font-size:.875rem;line-height:1.25rem;padding-bottom:.5rem;padding-top:.5rem}.menu .menu-title>a,.menu .menu-title>span{--tw-text-opacity:1;--tw-text-opacity:.4;color:hsla(var(--bc)/var(--tw-text-opacity,1));font-size:.75rem;font-weight:700;line-height:1rem;padding-bottom:.25rem;padding-top:.25rem}.mockup-phone .display{border-radius:40px;margin-top:-25px;overflow:hidden}.radio{--chkbg:var(--bc);--focus-shadow:0 0 0;--tw-border-opacity:1;--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:9999px;border-width:1px;cursor:pointer;height:1.5rem;transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:1.5rem}.radio:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.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:hsla(var(--bc)/var(--tw-bg-opacity,1));box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}.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,var(--focus-shadow)}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset,var(--focus-shadow)}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset,var(--focus-shadow)}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset,var(--focus-shadow)}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.select-disabled:-ms-input-placeholder,.select[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.select-disabled::placeholder,.select[disabled]::placeholder{--tw-placeholder-opacity:1;--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.tab:hover{--tw-text-opacity:1}.tab.tab-active{--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1))}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{box-shadow:inset 0 0 0 2px currentColor}.tab-lifted{border:0 solid transparent;border-bottom:var(--tab-border,1px) solid hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1));border-top-left-radius:var(--tab-radius,.5rem);border-top-right-radius:var(--tab-radius,.5rem);padding-left:var(--tab-padding,1rem);padding-right:var(--tab-padding,1rem);padding-top:var(--tab-border,1px)}.tab-lifted.tab-active{--tw-bg-opacity:1;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-bottom-width:0;border-left-color:hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1));border-left-width:var(--tab-border,1px);border-right-color:hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1));border-right-width:var(--tab-border,1px);border-top-color:hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1));border-top-width: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),hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1)) calc(var(--tab-grad) + .3px),hsla(var(--border-color,var(--b3))/var(--tw-border-opacity,1)) calc(var(--tab-grad) + var(--tab-border, 1px)),hsla(var(--b1)/var(--tw-border-opacity,1)) 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:hsla(var(--p)/var(--tw-bg-opacity,1));border-radius:var(--rounded-btn,.5rem)}.tabs-boxed .tab-active,.tabs-boxed .tab-active:hover{--tw-text-opacity:1;color:hsla(var(--pc)/var(--tw-text-opacity,1))}.toggle{--chkbg:hsla(var(--bc)/.2);--focus-shadow:0 0 0;--handleoffset:1.5rem;--tw-bg-opacity:1;--tw-bg-opacity:.2;--tw-border-opacity:1;--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));border-color:hsla(var(--bc)/var(--tw-border-opacity,1));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,var(--focus-shadow);cursor:pointer;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}.toggle:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.toggle:checked{--chkbg:hsl(var(--bc));--tw-bg-opacity:1;--tw-border-opacity:1;box-shadow:var(--handleoffset) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}[dir=rtl] .toggle:checked{box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}.toggle-primary:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.toggle-primary:checked{--chkbg:hsl(var(--p));--tw-bg-opacity:1;--tw-border-opacity:1;--tw-border-opacity:.1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.toggle:disabled{--tw-bg-opacity:1;--tw-bg-opacity:.2;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));border-color:transparent;cursor:not-allowed}.btn-xs{font-size:.75rem;height:1.5rem;line-height:1rem;line-height:1.625;min-height:1.5rem;padding-left:.5rem;padding-right:.5rem}.btn-sm{font-size:.875rem;height:2rem;line-height:1.25rem;line-height:2rem;min-height:2rem;padding-left:.75rem;padding-right:.75rem}.btn-md{font-size:.875rem;height:3rem;line-height:1.25rem;line-height:2;min-height:3rem;padding-left:1rem;padding-right:1rem}.btn-square.btn-xs{height:1.5rem;padding:0;width:1.5rem}.btn-square.btn-sm{height:2rem;padding:0;width:2rem}.btn-square.btn-md{height:3rem;padding:0;width:3rem}.btn-circle.btn-xs{border-radius:9999px;height:1.5rem;padding:0;width:1.5rem}.btn-circle.btn-sm{border-radius:9999px;height:2rem;padding:0;width:2rem}.btn-circle.btn-md{border-radius:9999px;height:3rem;padding:0;width:3rem}.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}.mr-1{margin-right:.25rem}.-mt-2{margin-top:-.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.ml-1{margin-left:.25rem}.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:var(--tw-transform)}.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:rgba(75,85,99,var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity))}.bg-base-200{--tw-bg-opacity:1;background-color:hsla(var(--b2)/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:hsla(var(--pc)/var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity:1;color:rgba(224,231,255,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-base-content{--tw-text-opacity:1;color:hsla(var(--bc)/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgba(59,130,246,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.underline{text-decoration:underline}.opacity-50{opacity:.5}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-filter)}.transition{transition-duration:.15s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.input{--tw-border-opacity:1;border:2px solid hsla(var(--p)/var(--tw-border-opacity));border-radius:.25rem;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:hsla(var(--n)/var(--tw-bg-opacity,1));border-color:transparent;border-color:hsla(var(--n)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsla(var(--nc)/var(--tw-text-opacity,1));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:2;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.15s;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;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:focus{outline:2px solid transparent;outline-offset:2px}.action-btn-disabled,.action-btn[disabled]{--tw-bg-opacity:1;--tw-bg-opacity:.2;--tw-border-opacity:0;--tw-text-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1));pointer-events:none}.action-btn.loading,.action-btn.loading:hover{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)}.action-btn .badge{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:transparent;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-outline.action-btn .badge{--tw-bg-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.action-btn .badge,.btn-outline.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1))}.btn-outline.action-btn .badge-outline{background-color:transparent;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover .badge{background-color:hsla(var(--pc)/var(--tw-bg-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover .badge,.btn-outline.action-btn:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--pc)/var(--tw-border-opacity,1))}.btn-outline.action-btn:hover .badge.outline{background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.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-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--nf)/var(--tw-bg-opacity,1));border-color:hsla(var(--nf)/var(--tw-border-opacity,1))}.action-btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--nf))}.action-btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn.btn-active,.action-btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1))}.action-btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.action-btn.glass.btn-active,.action-btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.action-btn.glass:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-outline.action-btn{--tw-text-opacity:1;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.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-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn-group>.btn-active:focus-visible,.action-btn-group>input[type=radio]:checked.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.action-btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.action-btn-group>.btn:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.drawer-toggle:focus-visible~.drawer-content .drawer-button.action-btn{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.hover\:underline:hover{text-decoration: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/analytics-plugin-ga.browser.es-1cdb0512.js b/_app/chunks/analytics-plugin-ga.browser.es-1cdb0512.js index ea82f95b..a35b71a9 100644 --- a/_app/chunks/analytics-plugin-ga.browser.es-1cdb0512.js +++ b/_app/chunks/analytics-plugin-ga.browser.es-1cdb0512.js @@ -1 +1 @@ -function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},i=!1,u=r(e),m=u.instanceName,d=u.instancePrefix;return{name:"google-analytics",config:t({},n,e),initialize:function(e){var n=e.config,i=e.instance;if(!n.trackingId)throw new Error("No GA trackingId defined");var r,c,s,u,g,f,v,p=n.customDimensions,y=n.customScriptSrc||"https://www.google-analytics.com/analytics.js";if(o(y)&&(r=window,c=document,s="script",u=y,g="ga",r.GoogleAnalyticsObject=g,r.ga=r.ga||function(){(r.ga.q=r.ga.q||[]).push(arguments)},r.ga.l=1*new Date,f=c.createElement(s),v=c.getElementsByTagName(s)[0],f.async=1,f.src=u,v.parentNode.insertBefore(f,v)),!a[m]){var k=t({cookieDomain:n.domain||"auto",siteSpeedSampleRate:n.siteSpeedSampleRate||1,sampleRate:n.sampleRate||100,allowLinker:!0},n.cookieConfig);if(m&&(k.name=m),ga("create",n.trackingId,k),n.debug&&(ga("".concat(d,"set"),"sendHitTask",null),window.ga_debug={trace:!0}),n.anonymizeIp&&ga("".concat(d,"set"),"anonymizeIp",!0),n.tasks){["customTask","previewTask","checkProtocolTask","validationTask","checkStorageTask","historyImportTask","samplerTask","buildHitTask","sendHitTask","timingTask","displayFeaturesTask"].forEach((function(e){if(n.tasks.hasOwnProperty(e)){var t=n.tasks[e];"function"==typeof t?ga(n.tasks[e]):null===t&&ga("".concat(d,"set"),e,t)}}))}var h=(i.user()||{}).traits||{};if(Object.keys(h).length&&p&&Object.keys(p).length){var b=l(h,n);ga("".concat(d,"set"),b)}a[m]=!0}},page:function(e){var n=e.payload,a=e.config,r=e.instance,c=n.properties,l=a.resetCustomDimensionsOnPage,u=a.customDimensions,f=r.getState("context.campaign");if(!o()){if(l&&l.length){var m=l.reduce((function(e,t){return u[t]&&(e[u[t]]=null),e}),{});Object.keys(m).length&&ga("".concat(d,"set"),m)}var v=c.path||document.location.pathname,p={page:v,title:c.title,location:c.url},y={page:v,title:c.title};c.referrer!==document.referrer&&(y.referrer=c.referrer);var k=t({},p,s(f),g(c,a,d));ga("".concat(d,"set"),y),i&&delete k.location,ga("".concat(d,"send"),"pageview",k),i=!0}},track:function(e){var t=e.payload,n=e.config,a=e.instance,i=t.properties,o=t.event,r=i.label,s=i.value;c({hitType:"event",event:o,label:r,category:i.category||"All",value:s,nonInteraction:i.nonInteraction,campaign:a.getState("context.campaign")},n,t)},identify:function(e){var t=e.payload,n=e.config;f(t.userId,t.traits,n)},loaded:function(){return!!window.gaplugins}}}function o(e){return e?!function(e){var t=document.querySelectorAll("script[src]");return!!Object.keys(t).filter((function(n){return(t[n].src||"")===e})).length}(e):"undefined"==typeof ga}function r(e){var t=e.instanceName;return{instancePrefix:t?"".concat(t,"."):"",instanceName:t}}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;if(!o()){var i=r(n),c=i.instancePrefix,l={hitType:e.hitType||"event",eventAction:e.event,eventLabel:e.label,eventCategory:e.category||"All",nonInteraction:void 0!==e.nonInteraction&&!!e.nonInteraction};e.value&&(l.eventValue=m(e.value));var u=s(e),f=g(a.properties,n,c),d=t({},l,u,f);return ga("".concat(c,"send"),"event",d),d}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=e.name,a=e.source,i=e.medium,o=e.content,r=e.keyword;return n&&(t.campaignName=n),a&&(t.campaignSource=a),i&&(t.campaignMedium=i),o&&(t.campaignContent=o),r&&(t.campaignKeyword=r),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.customDimensions;return Object.keys(n).reduce((function(t,a){var i=n[a],o=u(e,a)||e[a];return"boolean"==typeof o&&(o=o.toString()),o||0===o?(t[i]=o,t):t}),{})}function u(e,t,n,a,i){for(t=t.split?t.split("."):t,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=l(e,t);return Object.keys(a).length?t.setCustomDimensionsToPage?(ga("".concat(n,"set"),a),{}):a:{}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!o()){var a=r(n),i=a.instancePrefix;if(e&&ga("".concat(i,"set"),"userId",e),Object.keys(t).length){var c=l(t,n);ga("".concat(i,"set"),c)}}}function m(e){return!e||e<0?0:Math.round(e)}var d=i,v=i,p=void 0,y=void 0,k=c,h=f;export{d as default,h as identify,v as init,p as initialize,y as page,k as track}; +function E(e,n,i){return n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function O(e){for(var n=1;n0&&arguments[0]!==void 0?arguments[0]:{},n=!1,i=T(e),a=i.instanceName,t=i.instancePrefix;return{name:"google-analytics",config:O({},$,e),initialize:function(s){var r=s.config,g=s.instance;if(!r.trackingId)throw new Error("No GA trackingId defined");var y=r.customDimensions,c=r.customScriptSrc,f=c||"https://www.google-analytics.com/analytics.js";if(P(f)&&function(u,m,w,I,l,v,D){u.GoogleAnalyticsObject=l,u[l]=u[l]||function(){(u[l].q=u[l].q||[]).push(arguments)},u[l].l=1*new Date,v=m.createElement(w),D=m.getElementsByTagName(w)[0],v.async=1,v.src=I,D.parentNode.insertBefore(v,D)}(window,document,"script",f,"ga"),!x[a]){var d=O({cookieDomain:r.domain||"auto",siteSpeedSampleRate:r.siteSpeedSampleRate||1,sampleRate:r.sampleRate||100,allowLinker:!0},r.cookieConfig);if(a&&(d.name=a),ga("create",r.trackingId,d),r.debug&&(ga("".concat(t,"set"),"sendHitTask",null),window.ga_debug={trace:!0}),r.anonymizeIp&&ga("".concat(t,"set"),"anonymizeIp",!0),r.tasks){var b=["customTask","previewTask","checkProtocolTask","validationTask","checkStorageTask","historyImportTask","samplerTask","buildHitTask","sendHitTask","timingTask","displayFeaturesTask"];b.forEach(function(u){if(r.tasks.hasOwnProperty(u)){var m=r.tasks[u];typeof m=="function"?ga(r.tasks[u]):m===null&&ga("".concat(t,"set"),u,m)}})}var h=g.user()||{},p=h.traits||{};if(Object.keys(p).length&&y&&Object.keys(y).length){var k=S(p,r);ga("".concat(t,"set"),k)}x[a]=!0}},page:function(s){var r=s.payload,g=s.config,y=s.instance,c=r.properties,f=g.resetCustomDimensionsOnPage,d=g.customDimensions,b=y.getState("context.campaign");if(!P()){if(f&&f.length){var h=f.reduce(function(l,v){return d[v]&&(l[d[v]]=null),l},{});Object.keys(h).length&&ga("".concat(t,"set"),h)}var p=c.path||document.location.pathname,k={page:p,title:c.title,location:c.url},u={page:p,title:c.title};c.referrer!==document.referrer&&(u.referrer=c.referrer);var m=z(b),w=N(c,g,t),I=O({},k,m,w);ga("".concat(t,"set"),u),n&&delete I.location,ga("".concat(t,"send"),"pageview",I),n=!0}},track:function(s){var r=s.payload,g=s.config,y=s.instance,c=r.properties,f=r.event,d=c.label,b=c.value,h=c.category,p=c.nonInteraction,k=y.getState("context.campaign");j({hitType:"event",event:f,label:d,category:h||"All",value:b,nonInteraction:p,campaign:k},g,r)},identify:function(s){var r=s.payload,g=s.config;A(r.userId,r.traits,g)},loaded:function(){return!!window.gaplugins}}}function P(e){return e?!R(e):typeof ga=="undefined"}function T(e){var n=e.instanceName;return{instancePrefix:n?"".concat(n,"."):"",instanceName:n}}function j(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(!P()){var a=T(n),t=a.instancePrefix,o={hitType:e.hitType||"event",eventAction:e.event,eventLabel:e.label,eventCategory:e.category||"All",nonInteraction:e.nonInteraction!==void 0?!!e.nonInteraction:!1};e.value&&(o.eventValue=q(e.value));var s=z(e),r=N(i.properties,n,t),g=O({},o,s,r);return ga("".concat(t,"send"),"event",g),g}}function z(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n={},i=e.name,a=e.source,t=e.medium,o=e.content,s=e.keyword;return i&&(n.campaignName=i),a&&(n.campaignSource=a),t&&(n.campaignMedium=t),o&&(n.campaignContent=o),s&&(n.campaignKeyword=s),n}function S(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.customDimensions;return Object.keys(i).reduce(function(a,t){var o=i[t],s=L(e,t)||e[t];return typeof s=="boolean"&&(s=s.toString()),(s||s===0)&&(a[o]=s),a},{})}function L(e,n,i,a,t){for(n=n.split?n.split("."):n,a=0;a0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,a=S(e,n);return Object.keys(a).length?n.setCustomDimensionsToPage?(ga("".concat(i,"set"),a),{}):a:{}}function A(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!P()){var a=T(i),t=a.instancePrefix;if(e&&ga("".concat(t,"set"),"userId",e),Object.keys(n).length){var o=S(n,i);ga("".concat(t,"set"),o)}}}function R(e){var n=document.querySelectorAll("script[src]");return!!Object.keys(n).filter(function(i){return(n[i].src||"")===e}).length}function q(e){return!e||e<0?0:Math.round(e)}var H=C,V=C,B=void 0,G=void 0,M=j,F=A;export{H as default,F as identify,V as init,B as initialize,G as page,M as track}; diff --git a/_app/chunks/analytics.browser.es-b9bb2b82.js b/_app/chunks/analytics.browser.es-b9bb2b82.js new file mode 100644 index 00000000..6ff92ad7 --- /dev/null +++ b/_app/chunks/analytics.browser.es-b9bb2b82.js @@ -0,0 +1,2 @@ +function Xe(e,r,t,n,a){for(r=r.split?r.split("."):r,n=0;n1&&(Vr(n,v.map(function(m){return m.replace(/[?[\]\\ ]/g,"")}),n[l]),delete n[l])}return n}(function(r){if(r){var t=r.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return Z&&window.location.search.substring(1)}(e))}function Vr(e,r,t){for(var n=r.length-1,a=0;a>4}return e}var ke=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||void 0,Q="undefined";function we(e){return ke[e]}function pe(e,r){return ke[e]=r,r}function Ne(e){pe(e)}function Wr(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r=0;--i){var s=this.tryEntries[i],g=s.completion;if(s.tryLoc==="root")return o("end");if(s.tryLoc<=this.prev){var S=a.call(s,"catchLoc"),b=a.call(s,"finallyLoc");if(S&&b){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--c){var o=this.tryEntries[c];if(o.finallyLoc===d)return this.complete(o.completion,o.afterLoc),R(o),T}},catch:function(d){for(var c=this.tryEntries.length-1;c>=0;--c){var o=this.tryEntries[c];if(o.tryLoc===d){var i=o.completion;if(i.type==="throw"){var s=i.arg;R(o)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(d,c,o){return this.delegate={iterator:X(d),resultName:c,nextLoc:o},this.method==="next"&&(this.arg=u),T}},t}(e.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}),B=Qr;function Qe(e,r,t,n,a,u,f){try{var l=e[u](f),v=l.value}catch(m){t(m);return}l.done?r(v):Promise.resolve(v).then(n,a)}function Zr(e){return function(){var r=this,t=arguments;return new Promise(function(n,a){var u=e.apply(r,t);function f(v){Qe(u,n,a,f,l,"next",v)}function l(v){Qe(u,n,a,f,l,"throw",v)}f(void 0)})}}var te=Zr;function et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var ie=et;function Ze(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function rt(e){for(var r=1;r0&&arguments[0]!==void 0?arguments[0]:{},m=arguments.length>1?arguments[1]:void 0;if(f)throw f;for(var y=!1,A={},h=0;h0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===E.setItemEnd){if(n.key===ae)return p(p({},t),{anonymousId:n.value});if(n.key===se)return p(p({},t),{userId:n.value})}switch(n.type){case E.identify:return Object.assign({},t,{userId:n.userId,traits:p(p({},t.traits),n.traits)});case E.reset:return[se,ae,fe].forEach(function(a){e.removeItem(a)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function or(e){return{userId:e.getItem(se),anonymousId:e.getItem(ae),traits:e.getItem(fe)}}var Ce=function(r){return ce+"TEMP"+ce+r};function dt(e){return function(t,n,a){var u=n.getState("user")[t];if(u)return u;if(a&&Y(a)&&a[t])return a[t];var f=or(e)[t];return f||we(Ce(t))||null}}function pt(e){var r=e.storage,t=r.setItem,n=r.removeItem,a=r.getItem;return function(u){return function(f){return function(l){var v=l.userId,m=l.traits,y=l.options;if(l.type===E.reset&&([se,fe,ae].forEach(function(w){n(w)}),[oe,ge,"traits"].forEach(function(w){Ne(Ce(w))})),l.type===E.identify){a(ae)||t(ae,Ae());var A=a(se),h=a(fe)||{};A&&A!==v&&u.dispatch({type:E.userIdChanged,old:{userId:A,traits:h},new:{userId:v,traits:m},options:y}),v&&t(se,v),m&&t(fe,p(p({},h),m))}return f(l)}}}}var Ie={};function sr(e,r){Ie[e]&&re(Ie[e])&&(Ie[e](r),delete Ie[e])}function cr(e,r,t){return new Promise(function(n,a){return r()?n(e):t<1?a(p(p({},e),{},{queue:!0})):vt(10).then(function(u){return cr(e,r,t-10).then(n,a)})})}function vt(e){return new Promise(function(r){return setTimeout(r,e)})}function fr(e,r,t){var n=r(),a=e.getState(),u=a.plugins,f=a.context,l=a.queue,v=a.user,m=!f.offline;if(m&&l&&l.actions&&l.actions.length){var y=l.actions.reduce(function(h,w,I){var N=u[w.plugin].loaded;return N?(h.process.push(w),h.processIndex.push(I)):(h.requeue.push(w),h.requeueIndex.push(I)),h},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(y.processIndex&&y.processIndex.length){y.processIndex.forEach(function(h){var w=l.actions[h],I=w.plugin,N=w.payload.type,P=n[I][N];if(P&&re(P)){var T=ht(w.payload,v);P({payload:T,config:u[I].config,instance:t});var O="".concat(N,":").concat(I);e.dispatch(p(p({},T),{},{type:O,_:{called:O,from:"queueDrain"}}))}});var A=l.actions.filter(function(h,w){return!~y.processIndex.indexOf(w)});l.actions=A}}}function gt(e,r,t){return setInterval(function(){return fr(e,r,t)},3e3)}function ht(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[oe,ge].reduce(function(t,n){return e.hasOwnProperty(n)&&r[n]&&r[n]!==e[n]&&(t[n]=r[n]),t},e)}function mt(e){if(Array.isArray(e))return e}var yt=mt;function bt(e,r){var t=[],n=!0,a=!1,u=void 0;try{for(var f=e[Symbol.iterator](),l;!(n=(l=f.next()).done)&&(t.push(l.value),!(r&&t.length===r));n=!0);}catch(v){a=!0,u=v}finally{try{!n&&f.return!=null&&f.return()}finally{if(a)throw u}}return t}var wt=bt;function St(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var Et=St;function It(e,r){return yt(e)||wt(e,r)||Et()}var Ot=It;function Pt(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(n){var a=t.plugins||{};return Ur(a[n])?a[n]:!(a.all===!1||r[n]&&r[n].enabled===!1)}).map(function(n){return e[n]})}var he=/Start$/,lr=/^bootstrap/,dr=/^ready/;function At(e,r,t,n,a){return $e.apply(this,arguments)}function $e(){return $e=te(B.mark(function e(r,t,n,a,u){var f,l,v,m,y,A,h,w,I,N,P;return B.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(f=re(t)?t():t,l=r.type,v=l.replace(he,""),!(r._&&r._.called)){O.next=5;break}return O.abrupt("return",r);case 5:return m=n.getState(),y=Pt(f,m.plugins,r.options),l===E.initializeStart&&r.fromEnable&&(y=Object.keys(m.plugins).filter(function(C){var x=m.plugins[C];return r.plugins.includes(C)&&!x.initialized}).map(function(C){return f[C]})),A=y.map(function(C){return C.name}),h=Tt(l,y),O.next=12,Ue({action:r,data:{exact:h.before,namespaced:h.beforeNS},state:m,allPlugins:f,allMatches:h,instance:n,store:a,EVENTS:u});case 12:if(w=O.sent,!hr(w,A.length)){O.next=15;break}return O.abrupt("return",w);case 15:if(l!==v){O.next=19;break}I=w,O.next=22;break;case 19:return O.next=21,Ue({action:p(p({},w),{},{type:v}),data:{exact:h.during,namespaced:h.duringNS},state:m,allPlugins:f,allMatches:h,instance:n,store:a,EVENTS:u});case 21:I=O.sent;case 22:if(!l.match(he)){O.next=28;break}return N="".concat(v,"End"),O.next=26,Ue({action:p(p({},I),{},{type:N}),data:{exact:h.after,namespaced:h.afterNS},state:m,allPlugins:f,allMatches:h,instance:n,store:a,EVENTS:u});case 26:P=O.sent,P.meta&&P.meta.hasCallback&&sr(P.meta.rid,{payload:P});case 28:return O.abrupt("return",w);case 29:case"end":return O.stop()}},e)})),$e.apply(this,arguments)}function Ue(e){return ze.apply(this,arguments)}function ze(){return ze=te(B.mark(function e(r){var t,n,a,u,f,l,v,m,y,A,h,w,I,N,P,T,O,C;return B.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return t=r.data,n=r.action,a=r.instance,u=r.state,f=r.allPlugins,l=r.allMatches,v=r.store,m=r.EVENTS,y=u.plugins,A=u.context,h=n.type,w=h.match(he),I=t.exact.map(function(_){return _.pluginName}),w&&(I=l.during.map(function(_){return _.pluginName})),N=xt(a,I),P=t.exact.reduce(function(_,L){var z=L.pluginName,F=L.methodName,V=!1;return!F.match(/^initialize/)&&!F.match(/^reset/)&&(V=!y[z].loaded),A.offline&&F.match(/^(page|track|identify)/)&&(V=!0),_["".concat(z)]=V,_},{}),W.next=10,t.exact.reduce(function(){var _=te(B.mark(function L(z,F,V){var J,k,ee;return B.wrap(function($){for(;;)switch($.prev=$.next){case 0:return J=F.pluginName,$.next=3,z;case 3:if(k=$.sent,!(t.namespaced&&t.namespaced[J])){$.next=11;break}return $.next=7,t.namespaced[J].reduce(function(){var X=te(B.mark(function K(d,c,o){var i,s,g,S;return B.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return s=function(G,D,U){return function(q,Pe){var de=U||D;return p(p({},G),{},{abort:{reason:q,plugins:Pe||[D],caller:h,from:de}})}},j.next=3,d;case 3:if(i=j.sent,!(!c.method||!re(c.method))){j.next=6;break}return j.abrupt("return",i);case 6:return Rt(c.methodName,c.pluginName),j.next=9,c.method({payload:i,instance:a,abort:s(i,J,c.pluginName),config:pr(c.pluginName,y,f),plugins:y});case 9:return g=j.sent,S=Y(g)?g:{},j.abrupt("return",Promise.resolve(p(p({},i),S)));case 12:case"end":return j.stop()}},K)}));return function(K,d,c){return X.apply(this,arguments)}}(),Promise.resolve(n));case 7:ee=$.sent,k[J]=ee,$.next=12;break;case 11:k[J]=n;case 12:return $.abrupt("return",Promise.resolve(k));case 13:case"end":return $.stop()}},L)}));return function(L,z,F){return _.apply(this,arguments)}}(),Promise.resolve({}));case 10:return T=W.sent,W.next=13,t.exact.reduce(function(){var _=te(B.mark(function L(z,F,V){var J,k,ee,R,$,X,K,d,c,o,i,s,g;return B.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return J=t.exact.length===V+1,k=F.pluginName,ee=f[k],b.next=5,z;case 5:if(R=b.sent,$=T[k]?T[k]:{},w&&($=R),!qe($,k)){b.next=11;break}return Ge({data:$,method:h,instance:a,pluginName:k,store:v}),b.abrupt("return",Promise.resolve(R));case 11:if(!qe(R,k)){b.next=14;break}return J&&Ge({data:R,method:h,instance:a,store:v}),b.abrupt("return",Promise.resolve(R));case 14:if(!(P.hasOwnProperty(k)&&P[k]===!0)){b.next=17;break}return v.dispatch({type:"queue",plugin:k,payload:$,_:{called:"queue",from:"queueMechanism"}}),b.abrupt("return",Promise.resolve(R));case 17:return X=N(T[k],f[k]),b.next=20,ee[h]({abort:X.abort,payload:$,instance:a,config:pr(k,y,f),plugins:y});case 20:return K=b.sent,d=Y(K)?K:{},c=p(p({},R),d),o=T[k],qe(o,k)?Ge({data:o,method:h,instance:a,pluginName:k,store:v}):(i="".concat(h,":").concat(k),s=(i.match(/:/g)||[]).length,s<2&&!h.match(lr)&&!h.match(dr)&&(g=w?c:$,a.dispatch(p(p({},g),{},{type:i,_:{called:i,from:"submethod"}})))),b.abrupt("return",Promise.resolve(c));case 26:case"end":return b.stop()}},L)}));return function(L,z,F){return _.apply(this,arguments)}}(),Promise.resolve(n));case 13:if(O=W.sent,!(!h.match(he)&&!h.match(/^registerPlugin/)&&!h.match(dr)&&!h.match(lr)&&!h.match(/^params/)&&!h.match(/^userIdChanged/))){W.next=21;break}if(m.plugins.includes(h),!(O._&&O._.originalAction===h)){W.next=18;break}return W.abrupt("return",O);case 18:C=p(p({},O),{_:{originalAction:O.type,called:O.type,from:"engineEnd"}}),hr(O,t.exact.length)&&!h.match(/End$/)&&(C=p(p({},C),{type:O.type+"Aborted"})),v.dispatch(C);case 21:return W.abrupt("return",O);case 22:case"end":return W.stop()}},e)})),ze.apply(this,arguments)}function Ge(e){var r=e.data,t=e.method;e.instance;var n=e.pluginName,a=e.store,u=n?":"+n:"",f=t+"Aborted"+u;a.dispatch(p(p({},r),{},{type:f,_:{called:f,from:"abort"}}))}function pr(e,r,t){var n=r[e]||t[e];return n&&n.config?n.config:{}}function vr(e,r){return r.reduce(function(t,n){return n[e]?t.concat({methodName:e,pluginName:n.name,method:n[e]}):t},[])}function Nt(e){return e.replace(he,"")}function gr(e,r){var t=Nt(e),n=r?":".concat(r):"",a="".concat(e).concat(n),u="".concat(t).concat(n),f="".concat(t,"End").concat(n);return[a,u,f]}function Tt(e,r,t){var n=gr(e),a=n.map(function(u){return vr(u,r)});return r.reduce(function(u,f){var l=f.name,v=gr(e,l),m=v.map(function(I){return vr(I,r)}),y=Ot(m,3),A=y[0],h=y[1],w=y[2];return A.length&&(u.beforeNS[l]=A),h.length&&(u.duringNS[l]=h),w.length&&(u.afterNS[l]=w),u},{before:a[0],beforeNS:{},during:a[1],duringNS:{},after:a[2],afterNS:{}})}function qe(e,r){var t=e.abort;return t?t===!0?!0:mr(t,r)||t&&mr(t.plugins,r):!1}function hr(e,r){var t=e.abort;if(!t)return!1;if(t===!0||ye(t))return!0;var n=t.plugins;return Oe(t)&&t.length===r||Oe(n)&&n.length===r}function Oe(e){return Array.isArray(e)}function mr(e,r){return!e||!Oe(e)?!1:e.includes(r)}function xt(e,r){return function(t,n,a){var u=n.config,f=n.name,l="".concat(f,".").concat(t.type);a&&(l=a.event);var v=t.type.match(he)?jt(f,l,r,a,t):Mt(t,l);return{payload:_t(t),instance:e,config:u||{},abort:v}}}function jt(e,r,t,n,a){return function(u,f){var l=n?n.name:e,v=f&&Oe(f)?f:t;if(n&&(v=f&&Oe(f)?f:[e],!v.includes(e)||v.length!==1))throw new Error("Method ".concat(r," can only abort ").concat(e," plugin. ").concat(JSON.stringify(v)," input valid"));return p(p({},a),{},{abort:{reason:u,plugins:v,caller:r,_:l}})}}function Mt(e,r){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+r)}}function Rt(e,r){var t=yr(e),n=t&&t.name===r;if(n){var a=yr(t.method),u=a?"or "+a.method:"";throw new Error([r+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(t.method," ").concat(u," in ").concat(r," plugin insteadof ").concat(e)].join(` +`))}}function yr(e){var r=e.match(/(.*):(.*)/);return r?{method:r[1],name:r[2]}:!1}function _t(e){return Object.keys(e).reduce(function(r,t){return t==="type"||(Y(e[t])?r[t]=Object.assign({},e[t]):r[t]=e[t]),r},{})}function kt(e,r,t){var n={};return function(a){return function(u){return function(){var f=te(B.mark(function l(v){var m,y,A,h,w,I,N,P,T,O,C,x;return B.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(m=v.type,y=v.abort,A=v.plugins,h=v,!y){_.next=4;break}return _.abrupt("return",u(v));case 4:if(m===E.enablePlugin&&a.dispatch({type:E.initializeStart,plugins:A,disabled:[],fromEnable:!0,meta:v.meta}),m===E.disablePlugin&&setTimeout(function(){return sr(v.meta.rid,{payload:v})},0),m===E.initializeEnd&&(w=r(),I=Object.keys(w),N=I.filter(function(L){return A.includes(L)}).map(function(L){return w[L]}),P=[],T=[],O=v.disabled,C=N.map(function(L){var z=L.loaded,F=L.name;return cr(L,z,1e4).then(function(V){return n[F]||(a.dispatch({type:E.pluginReadyType(F),name:F,events:Object.keys(L).filter(function(J){return!De.includes(J)})}),n[F]=!0),P=P.concat(F),L}).catch(function(V){if(V instanceof Error)throw new Error(V);return T=T.concat(V.name),V})}),Promise.all(C).then(function(L){var z={plugins:P,failed:T,disabled:O};setTimeout(function(){I.length===C.length+O.length&&a.dispatch(p(p({},{type:E.ready}),z))},0)})),m===E.bootstrap){_.next=13;break}return/^ready:([^:]*)$/.test(m)&&setTimeout(function(){return fr(a,r,e)},0),_.next=11,At(v,r,e,a,t);case 11:return x=_.sent,_.abrupt("return",u(x));case 13:return _.abrupt("return",u(h));case 14:case"end":return _.stop()}},l)}));return function(l){return f.apply(this,arguments)}}()}}}function Lt(e){return function(r){return function(t){return function(n){var a=n.type,u=n.key,f=n.value,l=n.options;if(a===E.setItem||a===E.removeItem){if(n.abort)return t(n);a===E.setItem?e.setItem(u,f,l):e.removeItem(u,l)}return t(n)}}}}function Dt(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var Ct=Dt,$t=function e(){var r=this;Ct(this,e),ie(this,"before",[]),ie(this,"after",[]),ie(this,"addMiddleware",function(t,n){r[n]=r[n].concat(t)}),ie(this,"removeMiddleware",function(t,n){var a=r[n].findIndex(function(u){return u===t});a!==-1&&(r[n]=[].concat(Se(r[n].slice(0,a)),Se(r[n].slice(a+1))))}),ie(this,"dynamicMiddlewares",function(t){return function(n){return function(a){return function(u){var f={getState:n.getState,dispatch:function(m){return n.dispatch(m)}},l=r[t].map(function(v){return v(f)});return ve.apply(void 0,Se(l))(a)(u)}}}})};function Ut(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var u=br(n.type,"registerPlugin"),f=e()[u];if(!f||!u)return t;var l=n.enabled;return a[u]={enabled:l,initialized:l?Boolean(!f.initialize):!1,loaded:l?Boolean(f.loaded()):!1,config:f.config||{}},p(p({},t),a)}if(/^initialize:([^:]*)$/.test(n.type)){var v=br(n.type,E.initialize),m=e()[v];return!m||!v?t:(a[v]=p(p({},t[v]),{initialized:!0,loaded:Boolean(m.loaded())}),p(p({},t),a))}if(/^ready:([^:]*)$/.test(n.type))return a[n.name]=p(p({},t[n.name]),{loaded:!0}),p(p({},t),a);switch(n.type){case E.disablePlugin:return p(p({},t),wr(n.plugins,!1,t));case E.enablePlugin:return p(p({},t),wr(n.plugins,!0,t));default:return t}}}function br(e,r){return e.substring(r.length+1,e.length)}function wr(e,r,t){return e.reduce(function(n,a){return n[a]=p(p({},t[a]),{enabled:r}),n},t)}function Sr(e){try{return JSON.parse(JSON.stringify(e))}catch(r){}return e}var zt={last:{},history:[]};function Gt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zt,r=arguments.length>1?arguments[1]:void 0,t=r.type,n=r.event,a=r.properties,u=r.options,f=r.meta;switch(t){case E.track:var l=Sr(p(p({event:n,properties:a},Object.keys(u).length&&{options:u}),{},{meta:f}));return p(p({},e),{last:l,history:e.history.concat(l)});default:return e}}var qt={actions:[]};function Ft(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qt,r=arguments.length>1?arguments[1]:void 0,t=r.type,n=r.payload;switch(t){case"queue":var a;return n&&n.type&&n.type===E.identify?a=[r].concat(e.actions):a=e.actions.concat(r),p(p({},e),{},{actions:a});case"dequeue":return[];default:return e}}var Er=/#.*$/;function Vt(){if(!!Z){for(var e=document.getElementsByTagName("link"),r=0,t;t=e[r];r++)if(t.getAttribute("rel")==="canonical")return t.getAttribute("href")}}function Wt(e){var r=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,t=r.exec(e),n=t&&t[3]?t[3].split("?")[0].replace(Er,""):"";return"/"+n}function Bt(e){var r=Vt();return r?r.match(/\?/)?r:r+e:window.location.href.replace(Er,"")}var Jt=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Z)return r;var t=document,n=t.title,a=t.referrer,u=window,f=u.location,l=u.innerWidth,v=u.innerHeight,m=f.hash,y=f.search,A=Bt(y),h={title:n,url:A,path:Wt(A),hash:m,search:y,width:l,height:v};return a&&a!==""&&(h.referrer=a),p(p({},h),r)},Ht={last:{},history:[]};function Xt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ht,r=arguments.length>1?arguments[1]:void 0,t=r.properties,n=r.options,a=r.meta;switch(r.type){case E.page:var u=Sr(p({properties:t,meta:a},Object.keys(n).length&&{options:n}));return p(p({},e),{last:u,history:e.history.concat(u)});default:return e}}function Yt(){if(!Z)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var Ir,Or,Pr,Ar;Ir=Yt(),Or=Z?document.referrer:null,Pr=Gr(),Ar=qr();var Nr={initialized:!1,sessionId:Ae(),app:null,version:null,debug:!1,offline:Z?!navigator.onLine:!1,os:{name:Ir},userAgent:Z?navigator.userAgent:"node",library:{name:nr,version:"0.10.14"},timezone:Ar,locale:Pr,campaign:{},referrer:Or};function Kt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nr,r=arguments.length>1?arguments[1]:void 0,t=e.initialized,n=r.type,a=r.campaign;switch(n){case E.campaign:return p(p({},e),{campaign:a});case E.offline:return p(p({},e),{offline:!0});case E.online:return p(p({},e),{offline:!1});default:return t?e:p(p(p({},Nr),e),{initialized:!0})}}var Qt=["plugins","reducers","storage"];function Zt(e){return Object.keys(e).reduce(function(r,t){return Qt.includes(t)||(r[t]=e[t]),r},{})}function en(e,r,t){if(!!Z){var n=window[(t?"add":"remove")+"EventListener"];e.split(" ").forEach(function(a){n(a,r)})}}function rn(){return Promise.resolve(!navigator.onLine)}function tn(e){var r=function(a){return rn().then(e)},t=en.bind(null,"online offline",r);return t(!0),function(n){return t(!1)}}function Tr(){var e=ce+nr+ce;return pe(e,[]),function(r){return function(t,n,a){var u=r(t,n,a),f=u.dispatch,l=function(m){var y=m.action||m;return ke[e].push(y),f(m)};return Object.assign(u,{dispatch:l})}}}function xr(e){return function(){return ve(ve.apply(null,arguments),Tr())}}function Fe(e){return e?zr(e)?e:[e]:[]}function nn(e){for(var r=e||Array.prototype.slice.call(arguments),t,n=0;n0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=Ae();return r&&(Ie[n]=un(r,nn(t))),p(p({},e),{},{rid:n,ts:an()},r?{hasCallback:!0}:{})}function on(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.reducers||{},t=e.initialUser||{},n=(e.plugins||[]).reduce(function(o,i){if(re(i))return o.middlewares=o.middlewares.concat(i),o;if(i.NAMESPACE&&(i.name=i.NAMESPACE),!i.name)throw new Error(ot+"1");var s=i.EVENTS?Object.keys(i.EVENTS).map(function(G){return i.EVENTS[G]}):[],g=i.enabled!==!1,S=!(i.config&&i.config.enabled===!1);o.pluginEnabled[i.name]=g&&S,delete i.enabled,i.methods&&(o.methods[i.name]=Object.keys(i.methods).reduce(function(G,D){return G[D]=c(i.methods[D]),G},{}),delete i.methods);var b=Object.keys(i),j=b.concat(s),M=new Set(o.events.concat(j));if(o.events=Array.from(M),o.pluginsArray=o.pluginsArray.concat(i),o.plugins[i.name])throw new Error(i.name+"AlreadyLoaded");return o.plugins[i.name]=i,o.plugins[i.name].loaded||(o.plugins[i.name].loaded=function(){return!0}),o},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),a=e.storage?e.storage:{getItem:we,setItem:pe,removeItem:Ne},u=dt(a),f=n.plugins,l=n.events.filter(function(o){return!De.includes(o)}).sort(),v=new Set(l.concat(xe).filter(function(o){return!De.includes(o)})),m=Array.from(v).sort(),y=function(){return f},A=new $t,h=A.addMiddleware,w=A.removeMiddleware,I=A.dynamicMiddlewares,N=function(){throw new Error("Abort disabled inListener")},P=Fr(),T=or(a),O=p(p(p(p({},T),t),P.an_uid?{userId:P.an_uid}:{}),P.an_aid?{anonymousId:P.an_aid}:{});O.anonymousId||(O.anonymousId=Ae());var C=p({enable:function(i,s){return new Promise(function(g){R.dispatch({type:E.enablePlugin,plugins:Fe(i),_:{originalAction:E.enablePlugin}},g,[s])})},disable:function(i,s){return new Promise(function(g){R.dispatch({type:E.disablePlugin,plugins:Fe(i),_:{originalAction:E.disablePlugin}},g,[s])})}},n.methods),x={identify:function(){var o=te(B.mark(function s(g,S,b,j){var M,G,D,U,q;return B.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return M=ye(g)?g:null,G=Y(g)?g:S,D=b||{},U=x.user(),pe(Ce(oe),M),q=M||G.userId||u(oe,x,G),de.abrupt("return",new Promise(function($r){R.dispatch(p({type:E.identifyStart,userId:q,traits:G||{},options:D,anonymousId:U.anonymousId},U.id&&U.id!==M&&{previousId:U.id}),$r,[S,b,j])}));case 7:case"end":return de.stop()}},s)}));function i(s,g,S,b){return o.apply(this,arguments)}return i}(),track:function(){var o=te(B.mark(function s(g,S,b,j){var M,G,D;return B.wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(M=Y(g)?g.event:g,!(!M||!ye(M))){q.next=3;break}throw new Error("EventMissing");case 3:return G=Y(g)?g:S||{},D=Y(b)?b:{},q.abrupt("return",new Promise(function(Pe){R.dispatch({type:E.trackStart,event:M,properties:G,options:D,userId:u(oe,x,S),anonymousId:u(ge,x,S)},Pe,[S,b,j])}));case 6:case"end":return q.stop()}},s)}));function i(s,g,S,b){return o.apply(this,arguments)}return i}(),page:function(){var o=te(B.mark(function s(g,S,b){var j,M;return B.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return j=Y(g)?g:{},M=Y(S)?S:{},D.abrupt("return",new Promise(function(U){R.dispatch({type:E.pageStart,properties:Jt(j),options:M,userId:u(oe,x,j),anonymousId:u(ge,x,j)},U,[g,S,b])}));case 3:case"end":return D.stop()}},s)}));function i(s,g,S){return o.apply(this,arguments)}return i}(),user:function(i){if(i===oe||i==="id")return u(oe,x);if(i===ge||i==="anonId")return u(ge,x);var s=x.getState("user");return i?Xe(s,i):s},reset:function(i){return new Promise(function(s){R.dispatch({type:E.resetStart},s,i)})},ready:function(i){return x.on(E.ready,i)},on:function(i,s){if(!i||!re(s))return!1;if(i===E.bootstrap)throw new Error(".on disabled for "+i);var g=/Start$|Start:/;if(i==="*"){var S=function(D){return function(U){return function(q){return q.type.match(g)&&s({payload:q,instance:x,plugins:f}),U(q)}}},b=function(D){return function(U){return function(q){return q.type.match(g)||s({payload:q,instance:x,plugins:f}),U(q)}}};return h(S,je),h(b,Me),function(){w(S,je),w(b,Me)}}var j=i.match(g)?je:Me,M=function(D){return function(U){return function(q){return q.type===i&&s({payload:q,instance:x,plugins:f,abort:N}),U(q)}}};return h(M,j),function(){return w(M,j)}},once:function(i,s){if(!i||!re(s))return!1;if(i===E.bootstrap)throw new Error(".once disabled for "+i);var g=x.on(i,function(S){var b=S.payload;s({payload:b,instance:x,plugins:f,abort:N}),g()});return g},getState:function(i){var s=R.getState();return i?Xe(s,i):Object.assign({},s)},dispatch:function(i){var s=ye(i)?{type:i}:i;if(ct(s.type))throw new Error("reserved action "+s.type);var g=i._||{},S=p(p({},s),{},{_:p({originalAction:s.type},g)});R.dispatch(S)},enablePlugin:C.enable,disablePlugin:C.disable,plugins:C,storage:{getItem:a.getItem,setItem:function(i,s,g){R.dispatch({type:E.setItemStart,key:i,value:s,options:g})},removeItem:function(i,s){R.dispatch({type:E.removeItemStart,key:i,options:s})}},setAnonymousId:function(i,s){x.storage.setItem(ae,i,s)},events:{all:m,core:xe,plugins:l}},W=function(i){return function(s){return function(g){return g.meta||(g.meta=jr()),s(g)}}},_=n.middlewares.concat([W,I(je),kt(x,y,{all:m,plugins:l}),Lt(a),ft(x),pt(x),I(Me)]),L={context:Kt,user:lt(a),page:Xt,track:Gt,plugins:Ut(y),queue:Ft},z=ve,F=ve;if(Z&&e.debug){var V=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;V&&(z=V({trace:!0,traceLimit:25})),F=function(){return arguments.length===0?Tr():Y(H(arguments[0]))?xr():xr().apply(null,arguments)}}var J=Zt(e),k=n.pluginsArray.reduce(function(o,i){var s=i.name,g=i.config,S=i.loaded,b=n.pluginEnabled[s];return o[s]={enabled:b,initialized:b?Boolean(!i.initialize):!1,loaded:Boolean(S()),config:g||{}},o},{}),ee={context:J,user:O,plugins:k},R=tr(it(p(p({},L),r)),ee,F(z(ut.apply(void 0,Se(_)))));function $(o){return function(i,s,g){var S=jr(i.meta,s,Fe(g)),b=p(p({},i),{meta:S});return o.apply(null,[b])}}R.dispatch=$(R.dispatch);var X=Object.keys(f);R.dispatch({type:E.bootstrap,plugins:X,config:J,params:P,user:O,initialUser:t,persistedUser:T});var K=X.filter(function(o){return n.pluginEnabled[o]}),d=X.filter(function(o){return!n.pluginEnabled[o]});R.dispatch({type:E.registerPlugins,plugins:X,enabled:n.pluginEnabled}),n.pluginsArray.map(function(o,i){var s=o.bootstrap,g=o.config,S=o.name;s&&re(s)&&s({instance:x,config:g,payload:o}),R.dispatch({type:E.registerPluginType(S),name:S,enabled:n.pluginEnabled[S],plugin:o}),n.pluginsArray.length===i+1&&R.dispatch({type:E.initializeStart,plugins:K,disabled:d})}),tn(function(o){R.dispatch({type:o?E.offline:E.online})}),gt(R,y,x);function c(o){return function(){for(var i=Array.prototype.slice.call(arguments),s=new Array(o.length),g=0;g1;return le||(f?pe(e,r):we(e)),f?document.cookie=e+"="+encodeURIComponent(r)+(t?"; expires="+new Date(+new Date+1e3*t).toUTCString()+(n?"; path="+n:"")+(a?"; domain="+a:"")+(u?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var me=kr();function kr(){if(typeof me!==Q)return me;me=!0;try{typeof localStorage!==Q&&typeof JSON!==Q||(me=!1),localStorage.setItem(Q,Q),localStorage.removeItem(Q)}catch(e){me=!1}return me}function _e(e){var r=e;try{if((r=JSON.parse(e))==="true")return!0;if(r==="false")return!1;if(Y(r))return r;parseFloat(r)===r&&(r=parseFloat(r))}catch(t){}if(r!==null&&r!=="")return r}var cn=kr(),fn=_r();function Lr(e,r){if(e){var t=Ve(r),n=!Je(t),a=We(t)?_e(localStorage.getItem(e)):void 0;if(n&&!be(a))return a;var u=Be(t)?_e(Mr(e)):void 0;if(n&&u)return u;var f=we(e);return n?f:{localStorage:a,cookie:u,global:f}}}function ln(e,r,t){if(e&&!be(r)){var n={},a=Ve(t),u=JSON.stringify(r),f=!Je(a);return We(a)&&(n.localStorage={location:"localStorage",current:r,previous:_e(localStorage.getItem(e))},localStorage.setItem(e,u),f)?n.localStorage:Be(a)&&(n.cookie={location:"cookie",current:r,previous:_e(Mr(e))},sn(e,u),f)?n.cookie:(n.global={location:"global",current:r,previous:we(e)},pe(e,r),f?n.global:n)}}function dn(e,r){if(e){var t=Ve(r),n=Lr(e,"*"),a={};return!be(n.localStorage)&&We(t)&&(localStorage.removeItem(e),a.localStorage=n.localStorage),!be(n.cookie)&&Be(t)&&(Rr(e),a.cookie=n.cookie),!be(n.global)&&He(t,"global")&&(Ne(e),a.global=n.global),a}}function Ve(e){return e?ye(e)?e:e.storage:"any"}function We(e){return cn&&He(e,"localStorage")}function Be(e){return fn&&He(e,"cookie")}function Je(e){return e==="*"||e==="all"}function He(e,r){return e==="any"||e===r||Je(e)}var pn={setItem:ln,getItem:Lr,removeItem:dn},vn=pn;function gn(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var hn=gn;function Dr(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function mn(e){for(var r=1;r0&&arguments[0]!==void 0?arguments[0]:{},r={storage:vn};return on(Cr(Cr({},r),e))}export{bn as Analytics,yn as CONSTANTS,E as EVENTS,bn as default,bn as init}; diff --git a/_app/chunks/paths-28a87002.js b/_app/chunks/paths-28a87002.js index dc159bdd..ef8c3deb 100644 --- a/_app/chunks/paths-28a87002.js +++ b/_app/chunks/paths-28a87002.js @@ -1 +1 @@ -let s="";function a(a){s=a.base,a.assets}export{s as b,a as s}; +let e="";function a(s){e=s.base,s.assets}export{e as b,a as s}; diff --git a/_app/chunks/preload-helper-1db36302.js b/_app/chunks/preload-helper-1db36302.js index fb234f5e..14ad4c66 100644 --- a/_app/chunks/preload-helper-1db36302.js +++ b/_app/chunks/preload-helper-1db36302.js @@ -1 +1 @@ -const e={},r=function(r,t){return t&&0!==t.length?Promise.all(t.map((r=>{if((r=`/mermaid-live-editor/_app/${r}`)in e)return;e[r]=!0;const t=r.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${n}`))return;const i=document.createElement("link");return i.rel=t?"stylesheet":"modulepreload",t||(i.as="script",i.crossOrigin=""),i.href=r,document.head.appendChild(i),t?new Promise(((e,r)=>{i.addEventListener("load",e),i.addEventListener("error",r)})):void 0}))).then((()=>r())):r()};export{r as _}; +const a="modulepreload",i={},u="/mermaid-live-editor/_app/",d=function(s,n){return!n||n.length===0?s():Promise.all(n.map(e=>{if(e=`${u}${e}`,e in i)return;i[e]=!0;const r=e.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const t=document.createElement("link");if(t.rel=r?"stylesheet":a,r||(t.as="script",t.crossOrigin=""),t.href=e,document.head.appendChild(t),r)return new Promise((l,c)=>{t.addEventListener("load",l),t.addEventListener("error",c)})})).then(()=>s())};export{d as _}; diff --git a/_app/chunks/singletons-12a22614.js b/_app/chunks/singletons-12a22614.js index d09d8e86..73061e7d 100644 --- a/_app/chunks/singletons-12a22614.js +++ b/_app/chunks/singletons-12a22614.js @@ -1 +1 @@ -let t;function a(a){t=a}export{a as i,t as r}; +let i;function r(t){i=t}export{r as i,i as r}; diff --git a/_app/chunks/state-6b35c395.js b/_app/chunks/state-6b35c395.js new file mode 100644 index 00000000..2931ad2d --- /dev/null +++ b/_app/chunks/state-6b35c395.js @@ -0,0 +1,9 @@ +var h=Object.defineProperty,v=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var u=(t,e,a)=>e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,s=(t,e)=>{for(var a in e||(e={}))_.call(e,a)&&u(t,a,e[a]);if(d)for(var a of d(e))C.call(e,a)&&u(t,a,e[a]);return t},i=(t,e)=>v(t,b(e));import{C as m,J as L,K as O,L as T,M as k,N as l,O as A}from"./vendor-96614ef2.js";import{_ as f}from"./preload-helper-1db36302.js";const J={loading:!1},g=m(J),R=async(t,e)=>{g.set({loading:!0,message:t});const a=await e;return g.set({loading:!1}),a};let n;const $=async()=>{if(!n)try{const{Analytics:t}=await f(()=>import("./analytics.browser.es-b9bb2b82.js"),[]),e=await f(()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js"),[]);n=t({app:"mermaid-live-editor",plugins:[e.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}},N=t=>t.replace(/^\s*%%.*\n/g,` +`).trimStart().split(" ")[0];let p;const E=t=>{n&&(clearTimeout(p),p=setTimeout(function(){const e=N(t);console.debug("ga:","send","event","render",e),n.track("render",{graphType:e})},5e3))},w={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},r=L(m(w),O(),"codeStore"),D=T([r],([t],e)=>{e(k(JSON.stringify(t),!0))}),B=t=>{let e;try{const a=A(t);console.log(`Trying to load state: ${a}`),e=JSON.parse(a);const o=typeof e.mermaid=="string"?JSON.parse(e.mermaid):e.mermaid;o.securityLevel&&o.securityLevel!=="strict"&&confirm(`Removing "securityLevel":"${o.securityLevel}" from the config for safety. +Click Cancel if you trust the source of this Diagram.`)&&delete o.securityLevel,e.mermaid=JSON.stringify(o,null,2)}catch(a){t&&console.error("Init error",a),e=l(r),console.log(e)}y(i(s({},e),{updateEditor:!0}))},y=t=>{r.update(e=>s(s({},e),t))};let S=!1;const G=(t,e,a=!1)=>{if(E(t),(t.match(/\n/g)||"").length+1>50&&!S&&l(r).autoSync){const c=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");S=!0,c&&y({autoSync:!1})}r.update(c=>i(s({},c),{code:t,updateEditor:e,updateDiagram:a}))},U=(t,e)=>{r.update(a=>i(s({},a),{mermaid:t,updateEditor:e}))},V=t=>{r.update(e=>{const a=JSON.parse(e.mermaid);return(!a.theme||["dark","default"].includes(a.theme))&&(a.theme=t?"dark":"default"),i(s({},e),{mermaid:JSON.stringify(a,null,2),updateEditor:!0})})},x=()=>{D.subscribe(t=>{history.replaceState(void 0,void 0,`#${t}`)})},F=()=>JSON.stringify(l(r));export{n as a,D as b,r as c,U as d,w as e,y as f,F as g,x as h,R as i,$ as j,B as k,g as l,V as t,G as u}; diff --git a/_app/chunks/theme-c12e07c0.js b/_app/chunks/theme-c12e07c0.js index 9522d93a..8e5d3dd9 100644 --- a/_app/chunks/theme-c12e07c0.js +++ b/_app/chunks/theme-c12e07c0.js @@ -1 +1 @@ -import{J as e,K as s,C as t}from"./vendor-96614ef2.js";const a=e(t({isDark:!1}),s(),"themeStore"),o=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],r=e=>{e.includes(" ")&&(e=e.split(" ")[1].trim());const s=o.includes(e);console.log("Setting theme",e),a.set({theme:e,isDark:s})};export{r as s,a as t}; +import{J as e,K as t,C as o}from"./vendor-96614ef2.js";const r=e(o({isDark:!1}),t(),"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),r.set({theme:s,isDark:a})};export{n as s,r as t}; diff --git a/_app/chunks/util-eb46b741.js b/_app/chunks/util-eb46b741.js new file mode 100644 index 00000000..09d09fa6 --- /dev/null +++ b/_app/chunks/util-eb46b741.js @@ -0,0 +1 @@ +var K=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var O=(t,e,a)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,_=(t,e)=>{for(var a in e||(e={}))Z.call(e,a)&&O(t,a,e[a]);if(L)for(var a of L(e))x.call(e,a)&&O(t,a,e[a]);return t},w=(t,e)=>X(t,Y(e));import{C as f,S as B,i as Q,s as W,e as j,c as T,a as U,d as S,b as p,Z as m,f as $,E as tt,P as F,I as et,A as at,ab as ot,ac as G,R as N,J as v,K as b,L as st,ad as rt,N as D}from"./vendor-96614ef2.js";import{c as H,e as I,f as R,i as it,h as nt,j as ct,a as lt,k as ut}from"./state-6b35c395.js";const dt=f(void 0);function ft(t){let e,a;return{c(){e=j("div"),a=j("div"),this.h()},l(s){e=T(s,"DIV",{id:!0,class:!0});var o=U(e);a=T(o,"DIV",{id:!0,class:!0}),U(a).forEach(S),o.forEach(S),this.h()},h(){p(a,"id","container"),p(a,"class","flex-1 overflow-auto"),p(e,"id","view"),p(e,"class","p-2 svelte-5ndy2s"),m(e,"error",t[2]),m(e,"outOfSync",t[3])},m(s,o){$(s,e,o),tt(e,a),t[4](a),t[5](e)},p(s,[o]){o&4&&m(e,"error",s[2]),o&8&&m(e,"outOfSync",s[3])},i:F,o:F,d(s){s&&S(e),t[4](null),t[5](null)}}}function pt(t,e,a){let s;et(t,H,i=>a(9,s=i));let o="",u="",r,c,n=!1,l=!1,d=!0;at(()=>{H.subscribe(i=>{try{if(r&&i&&(i.updateDiagram||i.autoSync)){if(i.autoSync||ot(H,s.updateDiagram=!1,s),a(3,l=!1),d=!0,o===i.code&&u===i.mermaid)return;o=i.code,u=i.mermaid;const y=c.parentElement.scrollTop;delete r.dataset.processed,G.initialize(Object.assign({},JSON.parse(i.mermaid))),G.render("graph-div",o,z=>{a(0,r.innerHTML=z,r)}),a(1,c.parentElement.scrollTop=y,c),a(2,n=!1)}else d?d=!1:a(3,l=!0)}catch(y){console.log("view fail",y),a(2,n=!0)}}),dt.subscribe(i=>{typeof i=="undefined"?a(2,n=!1):(a(2,n=!0),console.log("Error: ",i))})});function M(i){N[i?"unshift":"push"](()=>{r=i,a(0,r)})}function q(i){N[i?"unshift":"push"](()=>{c=i,a(1,c)})}return[r,c,n,l,M,q]}class It extends B{constructor(e){super();Q(this,e,pt,ft,W,{})}}const mt=30,E=v(f("manual"),b(),"autoHistoryMode"),g=v(f([]),b(),"autoHistoryStore"),h=v(f([]),b(),"manualHistoryStore"),V=f([]),Et=st([E,g,h,V],([t,e,a,s],o)=>{o(t==="auto"?e:t==="manual"?a:t==="loader"?s:e)}),gt=t=>{if(t.type==="loader"){V.update(e=>[t,...e]);return}if(t.name=rt(2),t.type!=="auto"){h.update(e=>[t,...e]);return}g.update(e=>(e.length===mt&&e.pop(),[t,...e]))},Lt=t=>{(D(E)==="auto"?g:h).update(e=>(D(E)!=="loader"&&(e=e.filter(a=>t&&a.time!=t)),e))},Ot=t=>{const e=D(t?g:h);return e.length>0?JSON.stringify(e[0].state):""},k="code.mmd",A="config.json",ht=t=>k in t,C=async t=>t.truncated?await(await fetch(t.raw_url)).text():t.content,yt=async t=>{const[e,a,s,o]=t.split("github.com").pop().split("/"),{html_url:u,files:r,history:c}=await(await fetch(`https://api.github.com/gists/${s}${o?"/"+o:""}`)).json();if(ht(r)){const n=await C(r[k]);let l;A in r&&(l=await C(r[A]));const d=c[0];return{url:`${u}/${d.version}`,code:n,config:l,author:d.user.login,time:new Date(d.committed_at).getTime(),version:d.version.slice(-7)}}else throw"Invalid gist provided"},P=(t,e=t.url)=>{const a=w(_({},I),{code:t.code,loader:{type:"gist",config:{url:e}}});return t.config&&(a.mermaid=t.config),a},_t=async t=>{try{const[e,a,s,o]=t.split("github.com").pop().split("/"),{history:u}=await(await fetch(`https://api.github.com/gists/${s}${o?"/"+o:""}`)).json(),r=[];for(const n of u){const l=await yt(n.url).catch(()=>{});l&&r.push(l)}if(r.length===0)throw"Invalid gist provided";r.reverse();const c=P(r.slice(-1).pop(),t);for(const n of r)gt({state:P(n),time:n.time,type:"loader",url:n.url,name:`${n.author} v${n.version}`});return c}catch(e){console.error(e)}},J={gist:_t},wt=async()=>{const t=new URLSearchParams(window.location.search);let e=I,a,s,o=!1;const u=t.get("code"),r=t.get("config");if(u&&(a=await(await fetch(u)).text(),o=!0),r?s=await(await fetch(r)).text():s=I.mermaid,a)e={code:a,mermaid:s,loader:{type:"files",config:{codeURL:u,configURL:r}}};else for(const[c,n]of t.entries())if(c in J)try{e=await J[c](n),o=!0;break}catch(l){console.error(l)}o&&R(w(_({},e),{autoSync:!0,updateDiagram:!0,updateEditor:!0}))},St=()=>{ut(window.location.hash.slice(1))},vt=()=>{R({updateDiagram:!0})},jt=async()=>{var t;St(),await it("Loading Gist...",wt().catch(console.error)),vt(),nt(),await ct(),(t=lt)==null||t.page()};export{It as V,Et as a,gt as b,Lt as c,dt as e,Ot as g,E as h,jt as i,V as l,vt as s}; diff --git a/_app/chunks/vendor-96614ef2.js b/_app/chunks/vendor-96614ef2.js index b4ef2d35..e9da7be8 100644 --- a/_app/chunks/vendor-96614ef2.js +++ b/_app/chunks/vendor-96614ef2.js @@ -1,11 +1,1190 @@ -function t(){}const e=t=>t;function n(t,e){for(const n in e)t[n]=e[n];return t}function r(t){return t()}function i(){return Object.create(null)}function a(t){t.forEach(r)}function o(t){return"function"==typeof t}function s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(t){let e;return c(t,(t=>e=t))(),e}function l(t,e,n){t.$$.on_destroy.push(c(e,n))}function h(t,e,n,r){if(t){const i=f(t,e,n,r);return t[0](i)}}function f(t,e,r,i){return t[1]&&i?n(r.ctx.slice(),t[1](i(e))):r.ctx}function d(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(void 0===e.dirty)return i;if("object"==typeof i){const t=[],n=Math.max(e.dirty.length,i.length);for(let r=0;r32){const e=[],n=t.ctx.length/32;for(let t=0;twindow.performance.now():()=>Date.now(),b=v?t=>requestAnimationFrame(t):t;const x=new Set;function w(t){x.forEach((e=>{e.c(t)||(x.delete(e),e.f())})),0!==x.size&&b(w)}let k=!1;function T(t,e,n,r){for(;t>1);n(i)<=r?t=i+1:e=i}return t}function E(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function C(t){const e=D("style");return function(t,e){!function(t,e){t.appendChild(e)}(t.head||t,e)}(E(t),e),e}function S(t,e){if(k){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let n=0;n0&&e[n[i]].claim_order<=t?i+1:T(1,i,(t=>e[n[t]].claim_order),t))-1;r[c]=n[a]+1;const o=a+1;n[o]=c,i=Math.max(o,i)}const a=[],o=[];let s=e.length-1;for(let c=n[i]+1;0!=c;c=r[c-1]){for(a.push(e[c-1]);s>=c;s--)o.push(e[s]);s--}for(;s>=0;s--)o.push(e[s]);a.reverse(),o.sort(((t,e)=>t.claim_order-e.claim_order));for(let c=0,u=0;c=a[u].claim_order;)u++;const e=ut.removeEventListener(e,n,r)}function F(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function P(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Y(t){return""===t?null:+t}function j(t){return Array.from(t.childNodes)}function U(t,e,n,r,i=!1){!function(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}(t);const a=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const a=t[r];if(e(a)){const e=n(a);return void 0===e?t.splice(r,1):t[r]=e,i?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=r,a}}return r()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function z(t,e,n,r){return U(t,(t=>t.nodeName===e),(t=>{const e=[];for(let r=0;rt.removeAttribute(e)))}),(()=>r(e)))}function $(t,e,n){return z(t,e,n,D)}function H(t,e,n){return z(t,e,n,O)}function W(t,e){return U(t,(t=>3===t.nodeType),(t=>{const n=""+e;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n}),(()=>B(e)),!0)}function q(t){return W(t," ")}function V(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function G(t,e){t.value=null==e?"":e}function X(t,e,n,r){t.style.setProperty(e,n,r?"important":"")}function Z(t,e,n){t.classList[n?"add":"remove"](e)}function Q(t,e,n=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,!1,e),r}const J=new Set;let K,tt=0;function et(t,e,n,r,i,a,o,s=0){const c=16.666/r;let u="{\n";for(let y=0;y<=1;y+=c){const t=e+(n-e)*a(y);u+=100*y+`%{${o(t,1-t)}}\n`}const l=u+`100% {${o(n,1-n)}}\n}`,h=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(l)}_${s}`,f=E(t);J.add(f);const d=f.__svelte_stylesheet||(f.__svelte_stylesheet=C(t).sheet),p=f.__svelte_rules||(f.__svelte_rules={});p[h]||(p[h]=!0,d.insertRule(`@keyframes ${h} ${l}`,d.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${h} ${r}ms linear ${i}ms 1 both`,tt+=1,h}function nt(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),i=n.length-r.length;i&&(t.style.animation=r.join(", "),tt-=i,tt||b((()=>{tt||(J.forEach((t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}})),J.clear())})))}function rt(t){K=t}function it(){if(!K)throw new Error("Function called outside component initialization");return K}function at(t){it().$$.on_mount.push(t)}function ot(t){it().$$.after_update.push(t)}function st(){const t=it();return(e,n)=>{const r=t.$$.callbacks[e];if(r){const i=Q(e,n);r.slice().forEach((e=>{e.call(t,i)}))}}}function ct(t,e){it().$$.context.set(t,e)}function ut(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t.call(this,e)))}const lt=[],ht=[],ft=[],dt=[],pt=Promise.resolve();let gt=!1;function yt(t){ft.push(t)}function mt(t){dt.push(t)}let vt=!1;const _t=new Set;function bt(){if(!vt){vt=!0;do{for(let t=0;t{Tt.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}const Nt={duration:0};function Dt(n,r,i,s){let c=r(n,i),u=s?0:1,l=null,h=null,f=null;function d(){f&&nt(n,f)}function p(t,e){const n=t.b-u;return e*=Math.abs(n),{a:u,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function g(r){const{delay:i=0,duration:o=300,easing:s=e,tick:g=t,css:y}=c||Nt,m={start:_()+i,b:r};r||(m.group=Et,Et.r+=1),l||h?h=m:(y&&(d(),f=et(n,u,r,o,i,s,y)),r&&g(0,1),l=p(m,o),yt((()=>kt(n,r,"start"))),function(t){let e;0===x.size&&b(w),new Promise((n=>{x.add(e={c:t,f:n})}))}((t=>{if(h&&t>h.start&&(l=p(h,o),h=null,kt(n,l.b,"start"),y&&(d(),f=et(n,u,l.b,l.duration,0,s,c.css))),l)if(t>=l.end)g(u=l.b,1-u),kt(n,l.b,"end"),h||(l.b?d():--l.group.r||a(l.group.c)),l=null;else if(t>=l.start){const e=t-l.start;u=l.a+l.d*s(e/l.duration),g(u,1-u)}return!(!l&&!h)})))}return{run(t){o(c)?(wt||(wt=Promise.resolve(),wt.then((()=>{wt=null}))),wt).then((()=>{c=c(),g(t)})):g(t)},end(){d(),l=h=null}}}function Ot(t,e){const n={},r={},i={$$scope:1};let a=t.length;for(;a--;){const o=t[a],s=e[a];if(s){for(const t in o)t in s||(r[t]=1);for(const t in s)i[t]||(n[t]=s[t],i[t]=1);t[a]=s}else for(const t in o)i[t]=1}for(const o in r)o in n||(n[o]=void 0);return n}function Bt(t){return"object"==typeof t&&null!==t?t:{}}function Lt(t,e,n){const r=t.$$.props[e];void 0!==r&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function It(t){t&&t.c()}function Rt(t,e){t&&t.l(e)}function Ft(t,e,n,i){const{fragment:s,on_mount:c,on_destroy:u,after_update:l}=t.$$;s&&s.m(e,n),i||yt((()=>{const e=c.map(r).filter(o);u?u.push(...e):a(e),t.$$.on_mount=[]})),l.forEach(yt)}function Pt(t,e){const n=t.$$;null!==n.fragment&&(a(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Yt(t,e){-1===t.$$.dirty[0]&&(lt.push(t),gt||(gt=!0,pt.then(bt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const i=r.length?r[0]:n;return f.ctx&&s(f.ctx[t],f.ctx[t]=i)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](i),d&&Yt(e,t)),n})):[],f.update(),d=!0,a(f.before_update),f.fragment=!!o&&o(f.ctx),n.target){if(n.hydrate){k=!0;const t=j(n.target);f.fragment&&f.fragment.l(t),t.forEach(A)}else f.fragment&&f.fragment.c();n.intro&&Mt(e.$$.fragment),Ft(e,n.target,n.anchor,n.customElement),k=!1,bt()}rt(h)}class Ut{$destroy(){Pt(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const zt=[];function $t(e,n=t){let r;const i=new Set;function a(t){if(s(e,t)&&(e=t,r)){const t=!zt.length;for(const n of i)n[1](),zt.push(n,e);if(t){for(let t=0;t{i.delete(c),0===i.size&&(r(),r=null)}}}}function Ht(e,n,r){const i=!Array.isArray(e),s=i?[e]:e,u=n.length<2;return{subscribe:$t(r,(e=>{let r=!1;const l=[];let h=0,f=t;const d=()=>{if(h)return;f();const r=n(i?l[0]:l,e);u?e(r):f=o(r)?r:t},p=s.map(((t,e)=>c(t,(t=>{l[e]=t,h&=~(1<{h|=1<{t.set(e)})),t.subscribe((t=>{e.setValue(n,t)})),Object.assign(Object.assign({},t),{delete(){e.deleteValue(n)}})}function Vt(t,e=!1){const n=[],r=e=>{const r=e.key;e.storageArea===t&&n.filter((({key:t})=>t===r)).forEach((({listener:t})=>{let n=e.newValue;try{n=JSON.parse(e.newValue)}catch(r){}t(n)}))};return{addListener(t,i){n.push({key:t,listener:i}),1===n.length&&e&&"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.addEventListener)&&window.addEventListener("storage",r)},removeListener(t,i){const a=n.indexOf({key:t,listener:i});-1!==a&&n.splice(a,1),0===n.length&&e&&"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.removeEventListener)&&window.removeEventListener("storage",r)},getValue(e){let n=t.getItem(e);if(null!=n)try{n=JSON.parse(n)}catch(r){}return n},deleteValue(e){t.removeItem(e)},setValue(e,n){t.setItem(e,JSON.stringify(n))}}}function Gt(t=!1){return"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.localStorage)?Vt(window.localStorage,t):(console.warn("Unable to find the localStorage. No data will be persisted."),{getValue:()=>null,deleteValue(){},setValue(){}})}(Wt={}).defaults={},Wt.set=function(t,e,n){var r=n||{},i=Wt.defaults,a=r.expires||i.expires,o=r.domain||i.domain,s=void 0!==r.path?r.path:void 0!==i.path?i.path:"/",c=void 0!==r.secure?r.secure:i.secure,u=void 0!==r.httponly?r.httponly:i.httponly,l=void 0!==r.samesite?r.samesite:i.samesite,h=a?new Date("number"==typeof a?(new Date).getTime()+864e5*a:a):0;document.cookie=t.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+e.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(h&&h.getTime()>=0?";expires="+h.toUTCString():"")+(o?";domain="+o:"")+(s?";path="+s:"")+(c?";secure":"")+(u?";httponly":"")+(l?";samesite="+l:"")},Wt.get=function(t){for(var e=document.cookie.split(";");e.length;){var n=e.pop(),r=n.indexOf("=");if(r=r<0?n.length:r,decodeURIComponent(n.slice(0,r).replace(/^\s+/,""))===t)return decodeURIComponent(n.slice(r+1))}return null},Wt.erase=function(t,e){Wt.set(t,"",{expires:-1,domain:e&&e.domain,path:e&&e.path,secure:0,httponly:0})},Wt.all=function(){for(var t={},e=document.cookie.split(";");e.length;){var n=e.pop(),r=n.indexOf("=");r=r<0?n.length:r,t[decodeURIComponent(n.slice(0,r).replace(/^\s+/,""))]=decodeURIComponent(n.slice(r+1))}return t};const Xt="function"==typeof atob,Zt="function"==typeof btoa,Qt="function"==typeof Buffer,Jt="function"==typeof TextDecoder?new TextDecoder:void 0,Kt="function"==typeof TextEncoder?new TextEncoder:void 0,te=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),ee=(t=>{let e={};return te.forEach(((t,n)=>e[t]=n)),e})(),ne=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,re=String.fromCharCode.bind(String),ie="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(t,e=(t=>t))=>new Uint8Array(Array.prototype.slice.call(t,0).map(e)),ae=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),oe=Zt?t=>btoa(t):Qt?t=>Buffer.from(t,"binary").toString("base64"):t=>{let e,n,r,i,a="";const o=t.length%3;for(let s=0;s255||(r=t.charCodeAt(s++))>255||(i=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|i,a+=te[e>>18&63]+te[e>>12&63]+te[e>>6&63]+te[63&e]}return o?a.slice(0,o-3)+"===".substring(o):a},se=Qt?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let n=0,r=t.length;n{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?re(192|e>>>6)+re(128|63&e):re(224|e>>>12&15)+re(128|e>>>6&63)+re(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return re(240|e>>>18&7)+re(128|e>>>12&63)+re(128|e>>>6&63)+re(128|63&e)},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,le=Qt?t=>Buffer.from(t,"utf8").toString("base64"):Kt?t=>se(Kt.encode(t)):t=>oe(t.replace(ue,ce)),he=(t,e=!1)=>e?(t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_")))(le(t)):le(t),fe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,de=t=>{switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return re(55296+(e>>>10))+re(56320+(1023&e));case 3:return re((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return re((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},pe=Xt?t=>atob(ae(t)):Qt?t=>Buffer.from(t,"base64").toString("binary"):t=>{if(t=t.replace(/\s+/g,""),!ne.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,n,r,i="";for(let a=0;a>16&255):64===r?re(e>>16&255,e>>8&255):re(e>>16&255,e>>8&255,255&e);return i},ge=Qt?t=>ie(Buffer.from(t,"base64")):t=>ie(pe(t),(t=>t.charCodeAt(0))),ye=Qt?t=>Buffer.from(t,"base64").toString("utf8"):Jt?t=>Jt.decode(ge(t)):t=>pe(t).replace(fe,de),me=t=>ye(ae(t.replace(/[-_]/g,(t=>"-"==t?"+":"/")))),ve="8.13.2";function _e(t){const e=t-1;return e*e*e+1}function be(t,{delay:n=0,duration:r=400,easing:i=e}={}){const a=+getComputedStyle(t).opacity;return{delay:n,duration:r,easing:i,css:t=>"opacity: "+t*a}}function xe(t,{delay:e=0,duration:n=400,easing:r=_e}={}){const i=getComputedStyle(t),a=+i.opacity,o=parseFloat(i.height),s=parseFloat(i.paddingTop),c=parseFloat(i.paddingBottom),u=parseFloat(i.marginTop),l=parseFloat(i.marginBottom),h=parseFloat(i.borderTopWidth),f=parseFloat(i.borderBottomWidth);return{delay:e,duration:n,easing:r,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*a};height: ${t*o}px;padding-top: ${t*s}px;padding-bottom: ${t*c}px;margin-top: ${t*u}px;margin-bottom: ${t*l}px;border-top-width: ${t*h}px;border-bottom-width: ${t*f}px;`}} -//! moment.js +function qc(){}const pw=a=>a;function L7(a,h){for(const s in h)a[s]=h[s];return a}function gw(a){return a()}function yw(){return Object.create(null)}function gd(a){a.forEach(gw)}function _6(a){return typeof a=="function"}function I7(a,h){return a!=a?h==h:a!==h||a&&typeof a=="object"||typeof a=="function"}function R7(a){return Object.keys(a).length===0}function b6(a,...h){if(a==null)return qc;const s=a.subscribe(...h);return s.unsubscribe?()=>s.unsubscribe():s}function FE(a){let h;return b6(a,s=>h=s)(),h}function PE(a,h,s){a.$$.on_destroy.push(b6(h,s))}function YE(a,h,s,d){if(a){const l=mw(a,h,s,d);return a[0](l)}}function mw(a,h,s,d){return a[1]&&d?L7(s.ctx.slice(),a[1](d(h))):s.ctx}function jE(a,h,s,d){if(a[2]&&d){const l=a[2](d(s));if(h.dirty===void 0)return l;if(typeof l=="object"){const _=[],y=Math.max(h.dirty.length,l.length);for(let w=0;w32){const h=[],s=a.ctx.length/32;for(let d=0;dwindow.performance.now():()=>Date.now(),x6=vw?a=>requestAnimationFrame(a):qc;const tp=new Set;function _w(a){tp.forEach(h=>{h.c(a)||(tp.delete(h),h.f())}),tp.size!==0&&x6(_w)}function P7(a){let h;return tp.size===0&&x6(_w),{promise:new Promise(s=>{tp.add(h={c:a,f:s})}),abort(){tp.delete(h)}}}let Ob=!1;function Y7(){Ob=!0}function j7(){Ob=!1}function U7(a,h,s,d){for(;a>1);s(l)<=d?a=l+1:h=l}return a}function z7(a){if(a.hydrate_init)return;a.hydrate_init=!0;let h=a.childNodes;if(a.nodeName==="HEAD"){const T=[];for(let A=0;A0&&h[s[l]].claim_order<=A?l+1:U7(1,l,P=>h[s[P]].claim_order,A))-1;d[T]=s[L]+1;const N=L+1;s[N]=T,l=Math.max(N,l)}const _=[],y=[];let w=h.length-1;for(let T=s[l]+1;T!=0;T=d[T-1]){for(_.push(h[T-1]);w>=T;w--)y.push(h[w]);w--}for(;w>=0;w--)y.push(h[w]);_.reverse(),y.sort((T,A)=>T.claim_order-A.claim_order);for(let T=0,A=0;T=_[A].claim_order;)A++;const L=A<_.length?_[A]:null;a.insertBefore(y[T],L)}}function W7(a,h){a.appendChild(h)}function bw(a){if(!a)return document;const h=a.getRootNode?a.getRootNode():a.ownerDocument;return h&&h.host?h:a.ownerDocument}function H7(a){const h=xw("style");return $7(bw(a),h),h}function $7(a,h){W7(a.head||a,h)}function q7(a,h){if(Ob){for(z7(a),(a.actual_end_child===void 0||a.actual_end_child!==null&&a.actual_end_child.parentElement!==a)&&(a.actual_end_child=a.firstChild);a.actual_end_child!==null&&a.actual_end_child.claim_order===void 0;)a.actual_end_child=a.actual_end_child.nextSibling;h!==a.actual_end_child?(h.claim_order!==void 0||h.parentNode!==a)&&a.insertBefore(h,a.actual_end_child):a.actual_end_child=h.nextSibling}else(h.parentNode!==a||h.nextSibling!==null)&&a.appendChild(h)}function $E(a,h,s){Ob&&!s?q7(a,h):(h.parentNode!==a||h.nextSibling!=s)&&a.insertBefore(h,s||null)}function V7(a){a.parentNode.removeChild(a)}function qE(a,h){for(let s=0;sa.removeEventListener(h,s,d)}function ZE(a){return function(h){return h.stopPropagation(),a.call(this,h)}}function QE(a,h,s){s==null?a.removeAttribute(h):a.getAttribute(h)!==s&&a.setAttribute(h,s)}function JE(a){return a===""?null:+a}function X7(a){return Array.from(a.childNodes)}function Z7(a){a.claim_info===void 0&&(a.claim_info={last_index:0,total_claimed:0})}function ww(a,h,s,d,l=!1){Z7(a);const _=(()=>{for(let y=a.claim_info.last_index;y=0;y--){const w=a[y];if(h(w)){const T=s(w);return T===void 0?a.splice(y,1):a[y]=T,l?T===void 0&&a.claim_info.last_index--:a.claim_info.last_index=y,w}}return d()})();return _.claim_order=a.claim_info.total_claimed,a.claim_info.total_claimed+=1,_}function kw(a,h,s,d){return ww(a,l=>l.nodeName===h,l=>{const _=[];for(let y=0;yl.removeAttribute(y))},()=>d(h))}function KE(a,h,s){return kw(a,h,s,xw)}function tS(a,h,s){return kw(a,h,s,G7)}function Q7(a,h){return ww(a,s=>s.nodeType===3,s=>{const d=""+h;if(s.data.startsWith(d)){if(s.data.length!==d.length)return s.splitText(d.length)}else s.data=d},()=>w6(h),!0)}function eS(a){return Q7(a," ")}function nS(a,h){h=""+h,a.wholeText!==h&&(a.data=h)}function rS(a,h){a.value=h==null?"":h}function iS(a,h,s,d){a.style.setProperty(h,s,d?"important":"")}function aS(a,h,s){a.classList[s?"add":"remove"](h)}function Tw(a,h,s=!1){const d=document.createEvent("CustomEvent");return d.initCustomEvent(a,s,!1,h),d}const k6=new Set;let Bb=0;function J7(a){let h=5381,s=a.length;for(;s--;)h=(h<<5)-h^a.charCodeAt(s);return h>>>0}function Ew(a,h,s,d,l,_,y,w=0){const T=16.666/d;let A=`{ +`;for(let X=0;X<=1;X+=T){const J=h+(s-h)*_(X);A+=X*100+`%{${y(J,1-J)}} +`}const L=A+`100% {${y(s,1-s)}} +}`,N=`__svelte_${J7(L)}_${w}`,P=bw(a);k6.add(P);const W=P.__svelte_stylesheet||(P.__svelte_stylesheet=H7(a).sheet),H=P.__svelte_rules||(P.__svelte_rules={});H[N]||(H[N]=!0,W.insertRule(`@keyframes ${N} ${L}`,W.cssRules.length));const V=a.style.animation||"";return a.style.animation=`${V?`${V}, `:""}${N} ${d}ms linear ${l}ms 1 both`,Bb+=1,N}function K7(a,h){const s=(a.style.animation||"").split(", "),d=s.filter(h?_=>_.indexOf(h)<0:_=>_.indexOf("__svelte")===-1),l=s.length-d.length;l&&(a.style.animation=d.join(", "),Bb-=l,Bb||t8())}function t8(){x6(()=>{Bb||(k6.forEach(a=>{const h=a.__svelte_stylesheet;let s=h.cssRules.length;for(;s--;)h.deleteRule(s);a.__svelte_rules={}}),k6.clear())})}let Lb;function Ib(a){Lb=a}function Rb(){if(!Lb)throw new Error("Function called outside component initialization");return Lb}function oS(a){Rb().$$.on_mount.push(a)}function sS(a){Rb().$$.after_update.push(a)}function cS(){const a=Rb();return(h,s)=>{const d=a.$$.callbacks[h];if(d){const l=Tw(h,s);d.slice().forEach(_=>{_.call(a,l)})}}}function uS(a,h){Rb().$$.context.set(a,h)}function lS(a,h){const s=a.$$.callbacks[h.type];s&&s.slice().forEach(d=>d.call(this,h))}const em=[],Sw=[],Fb=[],T6=[],e8=Promise.resolve();let E6=!1;function n8(){E6||(E6=!0,e8.then(Cw))}function Pb(a){Fb.push(a)}function hS(a){T6.push(a)}let S6=!1;const C6=new Set;function Cw(){if(!S6){S6=!0;do{for(let a=0;a{nm=null})),nm}function M6(a,h,s){a.dispatchEvent(Tw(`${h?"intro":"outro"}${s}`))}const Yb=new Set;let ju;function fS(){ju={r:0,c:[],p:ju}}function dS(){ju.r||gd(ju.c),ju=ju.p}function a8(a,h){a&&a.i&&(Yb.delete(a),a.i(h))}function pS(a,h,s,d){if(a&&a.o){if(Yb.has(a))return;Yb.add(a),ju.c.push(()=>{Yb.delete(a),d&&(s&&a.d(1),d())}),a.o(h)}}const o8={duration:0};function gS(a,h,s,d){let l=h(a,s),_=d?0:1,y=null,w=null,T=null;function A(){T&&K7(a,T)}function L(P,W){const H=P.b-_;return W*=Math.abs(H),{a:_,b:P.b,d:H,duration:W,start:P.start,end:P.start+W,group:P.group}}function N(P){const{delay:W=0,duration:H=300,easing:V=pw,tick:X=qc,css:J}=l||o8,ht={start:F7()+W,b:P};P||(ht.group=ju,ju.r+=1),y||w?w=ht:(J&&(A(),T=Ew(a,_,P,H,W,V,J)),P&&X(0,1),y=L(ht,H),Pb(()=>M6(a,P,"start")),P7(tt=>{if(w&&tt>w.start&&(y=L(w,H),w=null,M6(a,y.b,"start"),J&&(A(),T=Ew(a,_,y.b,y.duration,0,V,l.css))),y){if(tt>=y.end)X(_=y.b,1-_),M6(a,y.b,"end"),w||(y.b?A():--y.group.r||gd(y.group.c)),y=null;else if(tt>=y.start){const kt=tt-y.start;_=y.a+y.d*V(kt/y.duration),X(_,1-_)}}return!!(y||w)}))}return{run(P){_6(l)?i8().then(()=>{l=l(),N(P)}):N(P)},end(){A(),y=w=null}}}function yS(a,h){const s={},d={},l={$$scope:1};let _=a.length;for(;_--;){const y=a[_],w=h[_];if(w){for(const T in y)T in w||(d[T]=1);for(const T in w)l[T]||(s[T]=w[T],l[T]=1);a[_]=w}else for(const T in y)l[T]=1}for(const y in d)y in s||(s[y]=void 0);return s}function mS(a){return typeof a=="object"&&a!==null?a:{}}function vS(a,h,s){const d=a.$$.props[h];d!==void 0&&(a.$$.bound[d]=s,s(a.$$.ctx[d]))}function _S(a){a&&a.c()}function bS(a,h){a&&a.l(h)}function s8(a,h,s,d){const{fragment:l,on_mount:_,on_destroy:y,after_update:w}=a.$$;l&&l.m(h,s),d||Pb(()=>{const T=_.map(gw).filter(_6);y?y.push(...T):gd(T),a.$$.on_mount=[]}),w.forEach(Pb)}function c8(a,h){const s=a.$$;s.fragment!==null&&(gd(s.on_destroy),s.fragment&&s.fragment.d(h),s.on_destroy=s.fragment=null,s.ctx=[])}function u8(a,h){a.$$.dirty[0]===-1&&(em.push(a),n8(),a.$$.dirty.fill(0)),a.$$.dirty[h/31|0]|=1<{const H=W.length?W[0]:P;return A.ctx&&l(A.ctx[N],A.ctx[N]=H)&&(!A.skip_bound&&A.bound[N]&&A.bound[N](H),L&&u8(a,N)),P}):[],A.update(),L=!0,gd(A.before_update),A.fragment=d?d(A.ctx):!1,h.target){if(h.hydrate){Y7();const N=X7(h.target);A.fragment&&A.fragment.l(N),N.forEach(V7)}else A.fragment&&A.fragment.c();h.intro&&a8(a.$$.fragment),s8(a,h.target,h.anchor,h.customElement),j7(),Cw()}Ib(T)}class wS{$destroy(){c8(this,1),this.$destroy=qc}$on(h,s){const d=this.$$.callbacks[h]||(this.$$.callbacks[h]=[]);return d.push(s),()=>{const l=d.indexOf(s);l!==-1&&d.splice(l,1)}}$set(h){this.$$set&&!R7(h)&&(this.$$.skip_bound=!0,this.$$set(h),this.$$.skip_bound=!1)}}const ep=[];function l8(a,h){return{subscribe:h8(a,h).subscribe}}function h8(a,h=qc){let s;const d=new Set;function l(w){if(I7(a,w)&&(a=w,s)){const T=!ep.length;for(const A of d)A[1](),ep.push(A,a);if(T){for(let A=0;A{d.delete(A),d.size===0&&(s(),s=null)}}return{set:l,update:_,subscribe:y}}function kS(a,h,s){const d=!Array.isArray(a),l=d?[a]:a,_=h.length<2;return l8(s,y=>{let w=!1;const T=[];let A=0,L=qc;const N=()=>{if(A)return;L();const W=h(d?T[0]:T,y);_?y(W):L=_6(W)?W:qc},P=l.map((W,H)=>b6(W,V=>{T[H]=V,A&=~(1<{A|=1<=0?";expires="+P.toUTCString():"")+(w?";domain="+w:"")+(T?";path="+T:"")+(A?";secure":"")+(L?";httponly":"")+(N?";samesite="+N:"")},a.get=function(h){for(var s=document.cookie.split(";");s.length;){var d=s.pop(),l=d.indexOf("=");l=l<0?d.length:l;var _=decodeURIComponent(d.slice(0,l).replace(/^\s+/,""));if(_===h)return decodeURIComponent(d.slice(l+1))}return null},a.erase=function(h,s){a.set(h,"",{expires:-1,domain:s&&s.domain,path:s&&s.path,secure:0,httponly:0})},a.all=function(){for(var h={},s=document.cookie.split(";");s.length;){var d=s.pop(),l=d.indexOf("=");l=l<0?d.length:l;var _=decodeURIComponent(d.slice(0,l).replace(/^\s+/,""));h[_]=decodeURIComponent(d.slice(l+1))}return h}})(f8);function TS(a,h,s){const d=h.getValue(s);return d!==null&&a.set(d),h.addListener&&h.addListener(s,l=>{a.set(l)}),a.subscribe(l=>{h.setValue(s,l)}),Object.assign(Object.assign({},a),{delete(){h.deleteValue(s)}})}function d8(a,h=!1){const s=[],d=y=>{const w=y.key;y.storageArea===a&&s.filter(({key:T})=>T===w).forEach(({listener:T})=>{let A=y.newValue;try{A=JSON.parse(y.newValue)}catch(L){}T(A)})},l=()=>{h&&typeof window!="undefined"&&(window==null?void 0:window.addEventListener)&&window.addEventListener("storage",d)},_=()=>{h&&typeof window!="undefined"&&(window==null?void 0:window.removeEventListener)&&window.removeEventListener("storage",d)};return{addListener(y,w){s.push({key:y,listener:w}),s.length===1&&l()},removeListener(y,w){const T=s.indexOf({key:y,listener:w});T!==-1&&s.splice(T,1),s.length===0&&_()},getValue(y){let w=a.getItem(y);if(w!=null)try{w=JSON.parse(w)}catch(T){}return w},deleteValue(y){a.removeItem(y)},setValue(y,w){a.setItem(y,JSON.stringify(w))}}}function ES(a=!1){return typeof window!="undefined"&&(window==null?void 0:window.localStorage)?d8(window.localStorage,a):(console.warn("Unable to find the localStorage. No data will be persisted."),p8())}function p8(){return{getValue(){return null},deleteValue(){},setValue(){}}}const g8=typeof atob=="function",y8=typeof btoa=="function",np=typeof Buffer=="function",Mw=typeof TextDecoder=="function"?new TextDecoder:void 0,Aw=typeof TextEncoder=="function"?new TextEncoder:void 0,m8="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",rm=Array.prototype.slice.call(m8),jb=(a=>{let h={};return a.forEach((s,d)=>h[s]=d),h})(rm),v8=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ma=String.fromCharCode.bind(String),Dw=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):(a,h=s=>s)=>new Uint8Array(Array.prototype.slice.call(a,0).map(h)),_8=a=>a.replace(/=/g,"").replace(/[+\/]/g,h=>h=="+"?"-":"_"),Nw=a=>a.replace(/[^A-Za-z0-9\+\/]/g,""),b8=a=>{let h,s,d,l,_="";const y=a.length%3;for(let w=0;w255||(d=a.charCodeAt(w++))>255||(l=a.charCodeAt(w++))>255)throw new TypeError("invalid character found");h=s<<16|d<<8|l,_+=rm[h>>18&63]+rm[h>>12&63]+rm[h>>6&63]+rm[h&63]}return y?_.slice(0,y-3)+"===".substring(y):_},Ow=y8?a=>btoa(a):np?a=>Buffer.from(a,"binary").toString("base64"):b8,x8=np?a=>Buffer.from(a).toString("base64"):a=>{const h=4096;let s=[];for(let d=0,l=a.length;d{if(a.length<2){var h=a.charCodeAt(0);return h<128?a:h<2048?Ma(192|h>>>6)+Ma(128|h&63):Ma(224|h>>>12&15)+Ma(128|h>>>6&63)+Ma(128|h&63)}else{var h=65536+(a.charCodeAt(0)-55296)*1024+(a.charCodeAt(1)-56320);return Ma(240|h>>>18&7)+Ma(128|h>>>12&63)+Ma(128|h>>>6&63)+Ma(128|h&63)}},k8=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,T8=a=>a.replace(k8,w8),Bw=np?a=>Buffer.from(a,"utf8").toString("base64"):Aw?a=>x8(Aw.encode(a)):a=>Ow(T8(a)),SS=(a,h=!1)=>h?_8(Bw(a)):Bw(a),E8=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S8=a=>{switch(a.length){case 4:var h=(7&a.charCodeAt(0))<<18|(63&a.charCodeAt(1))<<12|(63&a.charCodeAt(2))<<6|63&a.charCodeAt(3),s=h-65536;return Ma((s>>>10)+55296)+Ma((s&1023)+56320);case 3:return Ma((15&a.charCodeAt(0))<<12|(63&a.charCodeAt(1))<<6|63&a.charCodeAt(2));default:return Ma((31&a.charCodeAt(0))<<6|63&a.charCodeAt(1))}},C8=a=>a.replace(E8,S8),M8=a=>{if(a=a.replace(/\s+/g,""),!v8.test(a))throw new TypeError("malformed base64.");a+="==".slice(2-(a.length&3));let h,s="",d,l;for(let _=0;_>16&255):l===64?Ma(h>>16&255,h>>8&255):Ma(h>>16&255,h>>8&255,h&255);return s},Lw=g8?a=>atob(Nw(a)):np?a=>Buffer.from(a,"base64").toString("binary"):M8,A8=np?a=>Dw(Buffer.from(a,"base64")):a=>Dw(Lw(a),h=>h.charCodeAt(0)),D8=np?a=>Buffer.from(a,"base64").toString("utf8"):Mw?a=>Mw.decode(A8(a)):a=>C8(Lw(a)),N8=a=>Nw(a.replace(/[-_]/g,h=>h=="-"?"+":"/")),CS=a=>D8(N8(a)),MS="8.13.2";function O8(a){const h=a-1;return h*h*h+1}function AS(a,{delay:h=0,duration:s=400,easing:d=pw}={}){const l=+getComputedStyle(a).opacity;return{delay:h,duration:s,easing:d,css:_=>`opacity: ${_*l}`}}function DS(a,{delay:h=0,duration:s=400,easing:d=O8}={}){const l=getComputedStyle(a),_=+l.opacity,y=parseFloat(l.height),w=parseFloat(l.paddingTop),T=parseFloat(l.paddingBottom),A=parseFloat(l.marginTop),L=parseFloat(l.marginBottom),N=parseFloat(l.borderTopWidth),P=parseFloat(l.borderBottomWidth);return{delay:h,duration:s,easing:d,css:W=>`overflow: hidden;opacity: ${Math.min(W*20,1)*_};height: ${W*y}px;padding-top: ${W*w}px;padding-bottom: ${W*T}px;margin-top: ${W*A}px;margin-bottom: ${W*L}px;border-top-width: ${W*N}px;border-bottom-width: ${W*P}px;`}}//! moment.js //! version : 2.29.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -var we,ke;function Te(){return we.apply(null,arguments)}function Ee(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Ce(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Se(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Me(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(Se(t,e))return!1;return!0}function Ae(t){return void 0===t}function Ne(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function De(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function Oe(t,e){var n,r=[];for(n=0;n>>0;for(e=0;e0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Je=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ke=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,tn={},en={};function nn(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(en[t]=i),e&&(en[e[0]]=function(){return Qe(i.apply(this,arguments),e[1],e[2])}),n&&(en[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function rn(t,e){return t.isValid()?(e=an(e,t.localeData()),tn[e]=tn[e]||function(t){var e,n,r,i=t.match(Je);for(e=0,n=i.length;e=0&&Ke.test(t);)t=t.replace(Ke,r),Ke.lastIndex=0,n-=1;return t}var on={};function sn(t,e){var n=t.toLowerCase();on[n]=on[n+"s"]=on[e]=t}function cn(t){return"string"==typeof t?on[t]||on[t.toLowerCase()]:void 0}function un(t){var e,n,r={};for(n in t)Se(t,n)&&(e=cn(n))&&(r[e]=t[n]);return r}var ln={};function hn(t,e){ln[t]=e}function fn(t){return t%4==0&&t%100!=0||t%400==0}function dn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function pn(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=dn(e)),n}function gn(t,e){return function(n){return null!=n?(mn(this,t,n),Te.updateOffset(this,e),this):yn(this,t)}}function yn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function mn(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&fn(t.year())&&1===t.month()&&29===t.date()?(n=pn(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),$n(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var vn,_n=/\d/,bn=/\d\d/,xn=/\d{3}/,wn=/\d{4}/,kn=/[+-]?\d{6}/,Tn=/\d\d?/,En=/\d\d\d\d?/,Cn=/\d\d\d\d\d\d?/,Sn=/\d{1,3}/,Mn=/\d{1,4}/,An=/[+-]?\d{1,6}/,Nn=/\d+/,Dn=/[+-]?\d+/,On=/Z|[+-]\d\d:?\d\d/gi,Bn=/Z|[+-]\d\d(?::?\d\d)?/gi,Ln=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function In(t,e,n){vn[t]=Ge(e)?e:function(t,r){return t&&n?n:e}}function Rn(t,e){return Se(vn,t)?vn[t](e._strict,e._locale):new RegExp(Fn(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function Fn(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}vn={};var Pn={};function Yn(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),Ne(e)&&(r=function(t,n){n[e]=pn(t)}),n=0;n68?1900:2e3)};var tr=gn("FullYear",!0);function er(t,e,n,r,i,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,a,o),s}function nr(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function rr(t,e,n){var r=7+e-n;return-((7+nr(t,0,r).getUTCDay()-e)%7)+r-1}function ir(t,e,n,r,i){var a,o,s=1+7*(e-1)+(7+n-r)%7+rr(t,r,i);return s<=0?o=Kn(a=t-1)+s:s>Kn(t)?(a=t+1,o=s-Kn(t)):(a=t,o=s),{year:a,dayOfYear:o}}function ar(t,e,n){var r,i,a=rr(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?r=o+or(i=t.year()-1,e,n):o>or(t.year(),e,n)?(r=o-or(t.year(),e,n),i=t.year()+1):(i=t.year(),r=o),{week:r,year:i}}function or(t,e,n){var r=rr(t,e,n),i=rr(t+1,e,n);return(Kn(t)-r+i)/7}nn("w",["ww",2],"wo","week"),nn("W",["WW",2],"Wo","isoWeek"),sn("week","w"),sn("isoWeek","W"),hn("week",5),hn("isoWeek",5),In("w",Tn),In("ww",Tn,bn),In("W",Tn),In("WW",Tn,bn),jn(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=pn(t)}));function sr(t,e){return t.slice(e,7).concat(t.slice(0,e))}nn("d",0,"do","day"),nn("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),nn("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),nn("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),nn("e",0,0,"weekday"),nn("E",0,0,"isoWeekday"),sn("day","d"),sn("weekday","e"),sn("isoWeekday","E"),hn("day",11),hn("weekday",11),hn("isoWeekday",11),In("d",Tn),In("e",Tn),In("E",Tn),In("dd",(function(t,e){return e.weekdaysMinRegex(t)})),In("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),In("dddd",(function(t,e){return e.weekdaysRegex(t)})),jn(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:Ie(n).invalidWeekday=t})),jn(["d","e","E"],(function(t,e,n,r){e[r]=pn(t)}));var cr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ur="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),lr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),hr=Ln,fr=Ln,dr=Ln;function pr(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=Le([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=zn.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=zn.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=zn.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=zn.call(this._weekdaysParse,o))||-1!==(i=zn.call(this._shortWeekdaysParse,o))||-1!==(i=zn.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=zn.call(this._shortWeekdaysParse,o))||-1!==(i=zn.call(this._weekdaysParse,o))||-1!==(i=zn.call(this._minWeekdaysParse,o))?i:null:-1!==(i=zn.call(this._minWeekdaysParse,o))||-1!==(i=zn.call(this._weekdaysParse,o))||-1!==(i=zn.call(this._shortWeekdaysParse,o))?i:null}function gr(){function t(t,e){return e.length-t.length}var e,n,r,i,a,o=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=Le([2e3,1]).day(e),r=Fn(this.weekdaysMin(n,"")),i=Fn(this.weekdaysShort(n,"")),a=Fn(this.weekdays(n,"")),o.push(r),s.push(i),c.push(a),u.push(r),u.push(i),u.push(a);o.sort(t),s.sort(t),c.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function yr(){return this.hours()%12||12}function mr(t,e){nn(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function vr(t,e){return e._meridiemParse}nn("H",["HH",2],0,"hour"),nn("h",["hh",2],0,yr),nn("k",["kk",2],0,(function(){return this.hours()||24})),nn("hmm",0,0,(function(){return""+yr.apply(this)+Qe(this.minutes(),2)})),nn("hmmss",0,0,(function(){return""+yr.apply(this)+Qe(this.minutes(),2)+Qe(this.seconds(),2)})),nn("Hmm",0,0,(function(){return""+this.hours()+Qe(this.minutes(),2)})),nn("Hmmss",0,0,(function(){return""+this.hours()+Qe(this.minutes(),2)+Qe(this.seconds(),2)})),mr("a",!0),mr("A",!1),sn("hour","h"),hn("hour",13),In("a",vr),In("A",vr),In("H",Tn),In("h",Tn),In("k",Tn),In("HH",Tn,bn),In("hh",Tn,bn),In("kk",Tn,bn),In("hmm",En),In("hmmss",Cn),In("Hmm",En),In("Hmmss",Cn),Yn(["H","HH"],3),Yn(["k","kk"],(function(t,e,n){var r=pn(t);e[3]=24===r?0:r})),Yn(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Yn(["h","hh"],(function(t,e,n){e[3]=pn(t),Ie(n).bigHour=!0})),Yn("hmm",(function(t,e,n){var r=t.length-2;e[3]=pn(t.substr(0,r)),e[4]=pn(t.substr(r)),Ie(n).bigHour=!0})),Yn("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=pn(t.substr(0,r)),e[4]=pn(t.substr(r,2)),e[5]=pn(t.substr(i)),Ie(n).bigHour=!0})),Yn("Hmm",(function(t,e,n){var r=t.length-2;e[3]=pn(t.substr(0,r)),e[4]=pn(t.substr(r))})),Yn("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=pn(t.substr(0,r)),e[4]=pn(t.substr(r,2)),e[5]=pn(t.substr(i))}));var _r=gn("Hours",!0);var br,xr={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Hn,monthsShort:Wn,week:{dow:0,doy:6},weekdays:cr,weekdaysMin:lr,weekdaysShort:ur,meridiemParse:/[ap]\.?m?\.?/i},wr={},kr={};function Tr(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0;){if(r=Cr(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&Tr(i,n)>=e-1)break;e--}a++}return br}(t)}function Nr(t){var e,n=t._a;return n&&-2===Ie(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>$n(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,Ie(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),Ie(t)._overflowWeeks&&-1===e&&(e=7),Ie(t)._overflowWeekday&&-1===e&&(e=8),Ie(t).overflow=e),t}var Dr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Or=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Br=/Z|[+-]\d\d(?::?\d\d)?/,Lr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ir=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rr=/^\/?Date\((-?\d+)/i,Fr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yr(t){var e,n,r,i,a,o,s=t._i,c=Dr.exec(s)||Or.exec(s);if(c){for(Ie(t).iso=!0,e=0,n=Lr.length;e7)&&(c=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,u=ar(Vr(),a,o),n=zr(e.gg,t._a[0],u.year),r=zr(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(c=!0):null!=e.e?(i=e.e+a,(e.e<0||e.e>6)&&(c=!0)):i=a);r<1||r>or(n,a,o)?Ie(t)._overflowWeeks=!0:null!=c?Ie(t)._overflowWeekday=!0:(s=ir(n,r,i,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=zr(t._a[0],r[0]),(t._dayOfYear>Kn(a)||0===t._dayOfYear)&&(Ie(t)._overflowDayOfYear=!0),n=nr(a,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?nr:er).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Ie(t).weekdayMismatch=!0)}}function Hr(t){if(t._f!==Te.ISO_8601)if(t._f!==Te.RFC_2822){t._a=[],Ie(t).empty=!0;var e,n,r,i,a,o,s=""+t._i,c=s.length,u=0;for(r=an(t._f,t._locale).match(Je)||[],e=0;e0&&Ie(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),en[i]?(n?Ie(t).empty=!1:Ie(t).unusedTokens.push(i),Un(i,n,t)):t._strict&&!n&&Ie(t).unusedTokens.push(i);Ie(t).charsLeftOver=c-u,s.length>0&&Ie(t).unusedInput.push(s),t._a[3]<=12&&!0===Ie(t).bigHour&&t._a[3]>0&&(Ie(t).bigHour=void 0),Ie(t).parsedDateParts=t._a.slice(0),Ie(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(o=Ie(t).era)&&(t._a[0]=t._locale.erasConvertYear(o,t._a[0])),$r(t),Nr(t)}else Ur(t);else Yr(t)}function Wr(t){var e=t._i,n=t._f;return t._locale=t._locale||Ar(t._l),null===e||void 0===n&&""===e?Fe({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),ze(e)?new Ue(Nr(e)):(De(e)?t._d=e:Ee(n)?function(t){var e,n,r,i,a,o,s=!1;if(0===t._f.length)return Ie(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:Fe()}));function Zr(t,e){var n,r;if(1===e.length&&Ee(e[0])&&(e=e[0]),!e.length)return Vr();for(n=e[0],r=1;r=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function Ei(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function Ci(t,e){return e.erasAbbrRegex(t)}function Si(){var t,e,n=[],r=[],i=[],a=[],o=this.eras();for(t=0,e=o.length;t(a=or(t,r,i))&&(e=a),Ni.call(this,t,e,n,r,i))}function Ni(t,e,n,r,i){var a=ir(t,e,n,r,i),o=nr(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}nn("N",0,0,"eraAbbr"),nn("NN",0,0,"eraAbbr"),nn("NNN",0,0,"eraAbbr"),nn("NNNN",0,0,"eraName"),nn("NNNNN",0,0,"eraNarrow"),nn("y",["y",1],"yo","eraYear"),nn("y",["yy",2],0,"eraYear"),nn("y",["yyy",3],0,"eraYear"),nn("y",["yyyy",4],0,"eraYear"),In("N",Ci),In("NN",Ci),In("NNN",Ci),In("NNNN",(function(t,e){return e.erasNameRegex(t)})),In("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Yn(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?Ie(n).era=i:Ie(n).invalidEra=t})),In("y",Nn),In("yy",Nn),In("yyy",Nn),In("yyyy",Nn),In("yo",(function(t,e){return e._eraYearOrdinalRegex||Nn})),Yn(["y","yy","yyy","yyyy"],0),Yn(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[0]=n._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),nn(0,["gg",2],0,(function(){return this.weekYear()%100})),nn(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Mi("gggg","weekYear"),Mi("ggggg","weekYear"),Mi("GGGG","isoWeekYear"),Mi("GGGGG","isoWeekYear"),sn("weekYear","gg"),sn("isoWeekYear","GG"),hn("weekYear",1),hn("isoWeekYear",1),In("G",Dn),In("g",Dn),In("GG",Tn,bn),In("gg",Tn,bn),In("GGGG",Mn,wn),In("gggg",Mn,wn),In("GGGGG",An,kn),In("ggggg",An,kn),jn(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=pn(t)})),jn(["gg","GG"],(function(t,e,n,r){e[r]=Te.parseTwoDigitYear(t)})),nn("Q",0,"Qo","quarter"),sn("quarter","Q"),hn("quarter",7),In("Q",_n),Yn("Q",(function(t,e){e[1]=3*(pn(t)-1)})),nn("D",["DD",2],"Do","date"),sn("date","D"),hn("date",9),In("D",Tn),In("DD",Tn,bn),In("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Yn(["D","DD"],2),Yn("Do",(function(t,e){e[2]=pn(t.match(Tn)[0])}));var Di=gn("Date",!0);nn("DDD",["DDDD",3],"DDDo","dayOfYear"),sn("dayOfYear","DDD"),hn("dayOfYear",4),In("DDD",Sn),In("DDDD",xn),Yn(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=pn(t)})),nn("m",["mm",2],0,"minute"),sn("minute","m"),hn("minute",14),In("m",Tn),In("mm",Tn,bn),Yn(["m","mm"],4);var Oi=gn("Minutes",!1);nn("s",["ss",2],0,"second"),sn("second","s"),hn("second",15),In("s",Tn),In("ss",Tn,bn),Yn(["s","ss"],5);var Bi,Li,Ii=gn("Seconds",!1);for(nn("S",0,0,(function(){return~~(this.millisecond()/100)})),nn(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),nn(0,["SSS",3],0,"millisecond"),nn(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),nn(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),nn(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),nn(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),nn(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),nn(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),sn("millisecond","ms"),hn("millisecond",16),In("S",Sn,_n),In("SS",Sn,bn),In("SSS",Sn,xn),Bi="SSSS";Bi.length<=9;Bi+="S")In(Bi,Nn);function Ri(t,e){e[6]=pn(1e3*("0."+t))}for(Bi="S";Bi.length<=9;Bi+="S")Yn(Bi,Ri);Li=gn("Milliseconds",!1),nn("z",0,0,"zoneAbbr"),nn("zz",0,0,"zoneName");var Fi=Ue.prototype;function Pi(t){return t}Fi.add=pi,Fi.calendar=function(t,e){1===arguments.length&&(arguments[0]?mi(arguments[0])?(t=arguments[0],e=void 0):vi(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Vr(),r=ii(n,this).startOf("day"),i=Te.calendarFormat(this,r)||"sameElse",a=e&&(Ge(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Vr(n)))},Fi.clone=function(){return new Ue(this)},Fi.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=ii(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=cn(e)){case"year":a=_i(this,r)/12;break;case"month":a=_i(this,r);break;case"quarter":a=_i(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:dn(a)},Fi.endOf=function(t){var e,n;if(void 0===(t=cn(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?Ei:Ti,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ki(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ki(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ki(e,1e3)-1}return this._d.setTime(e),Te.updateOffset(this,!0),this},Fi.format=function(t){t||(t=this.isUtc()?Te.defaultFormatUtc:Te.defaultFormat);var e=rn(this,t);return this.localeData().postformat(e)},Fi.from=function(t,e){return this.isValid()&&(ze(t)&&t.isValid()||Vr(t).isValid())?ui({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Fi.fromNow=function(t){return this.from(Vr(),t)},Fi.to=function(t,e){return this.isValid()&&(ze(t)&&t.isValid()||Vr(t).isValid())?ui({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Fi.toNow=function(t){return this.to(Vr(),t)},Fi.get=function(t){return Ge(this[t=cn(t)])?this[t]():this},Fi.invalidAt=function(){return Ie(this).overflow},Fi.isAfter=function(t,e){var n=ze(t)?t:Vr(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=cn(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?rn(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ge(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",rn(n,"Z")):rn(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Fi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Fi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Fi.toJSON=function(){return this.isValid()?this.toISOString():null},Fi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Fi.unix=function(){return Math.floor(this.valueOf()/1e3)},Fi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Fi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Fi.eraName=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Fi.isLocal=function(){return!!this.isValid()&&!this._isUTC},Fi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Fi.isUtc=oi,Fi.isUTC=oi,Fi.zoneAbbr=function(){return this._isUTC?"UTC":""},Fi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Fi.dates=He("dates accessor is deprecated. Use date instead.",Di),Fi.months=He("months accessor is deprecated. Use month instead",Qn),Fi.years=He("years accessor is deprecated. Use year instead",tr),Fi.zone=He("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),Fi.isDSTShifted=He("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Ae(this._isDSTShifted))return this._isDSTShifted;var t,e={};return je(e,this),(e=Wr(e))._a?(t=e._isUTC?Le(e._a):Vr(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var Yi=Ze.prototype;function ji(t,e,n,r){var i=Ar(),a=Le().set(r,e);return i[n](a,t)}function Ui(t,e,n){if(Ne(t)&&(e=t,t=void 0),t=t||"",null!=e)return ji(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ji(t,r,n,"month");return i}function zi(t,e,n,r){"boolean"==typeof t?(Ne(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,Ne(e)&&(n=e,e=void 0),e=e||"");var i,a=Ar(),o=t?a._week.dow:0,s=[];if(null!=n)return ji(e,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=ji(e,(i+o)%7,r,"day");return s}Yi.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return Ge(r)?r.call(e,n):r},Yi.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Je).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Yi.invalidDate=function(){return this._invalidDate},Yi.ordinal=function(t){return this._ordinal.replace("%d",t)},Yi.preparse=Pi,Yi.postformat=Pi,Yi.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return Ge(i)?i(t,e,n,r):i.replace(/%d/i,t)},Yi.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return Ge(n)?n(e):n.replace(/%s/i,e)},Yi.set=function(t){var e,n;for(n in t)Se(t,n)&&(Ge(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yi.eras=function(t,e){var n,r,i,a=this._eras||Ar("en")._eras;for(n=0,r=a.length;n=0)return c[r]},Yi.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?Te(t.since).year():Te(t.since).year()+(e-t.offset)*n},Yi.erasAbbrRegex=function(t){return Se(this,"_erasAbbrRegex")||Si.call(this),t?this._erasAbbrRegex:this._erasRegex},Yi.erasNameRegex=function(t){return Se(this,"_erasNameRegex")||Si.call(this),t?this._erasNameRegex:this._erasRegex},Yi.erasNarrowRegex=function(t){return Se(this,"_erasNarrowRegex")||Si.call(this),t?this._erasNarrowRegex:this._erasRegex},Yi.months=function(t,e){return t?Ee(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||qn).test(e)?"format":"standalone"][t.month()]:Ee(this._months)?this._months:this._months.standalone},Yi.monthsShort=function(t,e){return t?Ee(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[qn.test(e)?"format":"standalone"][t.month()]:Ee(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yi.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return Xn.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Le([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},Yi.monthsRegex=function(t){return this._monthsParseExact?(Se(this,"_monthsRegex")||Jn.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Se(this,"_monthsRegex")||(this._monthsRegex=Gn),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Yi.monthsShortRegex=function(t){return this._monthsParseExact?(Se(this,"_monthsRegex")||Jn.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Se(this,"_monthsShortRegex")||(this._monthsShortRegex=Vn),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Yi.week=function(t){return ar(t,this._week.dow,this._week.doy).week},Yi.firstDayOfYear=function(){return this._week.doy},Yi.firstDayOfWeek=function(){return this._week.dow},Yi.weekdays=function(t,e){var n=Ee(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?sr(n,this._week.dow):t?n[t.day()]:n},Yi.weekdaysMin=function(t){return!0===t?sr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Yi.weekdaysShort=function(t){return!0===t?sr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Yi.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return pr.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Le([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},Yi.weekdaysRegex=function(t){return this._weekdaysParseExact?(Se(this,"_weekdaysRegex")||gr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Se(this,"_weekdaysRegex")||(this._weekdaysRegex=hr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Yi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Se(this,"_weekdaysRegex")||gr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Se(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fr),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Se(this,"_weekdaysRegex")||gr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Se(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=dr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Yi.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},Sr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===pn(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),Te.lang=He("moment.lang is deprecated. Use moment.locale instead.",Sr),Te.langData=He("moment.langData is deprecated. Use moment.localeData instead.",Ar);var $i=Math.abs;function Hi(t,e,n,r){var i=ui(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Wi(t){return t<0?Math.floor(t):Math.ceil(t)}function qi(t){return 4800*t/146097}function Vi(t){return 146097*t/4800}function Gi(t){return function(){return this.as(t)}}var Xi=Gi("ms"),Zi=Gi("s"),Qi=Gi("m"),Ji=Gi("h"),Ki=Gi("d"),ta=Gi("w"),ea=Gi("M"),na=Gi("Q"),ra=Gi("y");function ia(t){return function(){return this.isValid()?this._data[t]:NaN}}var aa=ia("milliseconds"),oa=ia("seconds"),sa=ia("minutes"),ca=ia("hours"),ua=ia("days"),la=ia("months"),ha=ia("years");var fa=Math.round,da={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pa(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var ga=Math.abs;function ya(t){return(t>0)-(t<0)||+t}function ma(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,a,o,s,c=ga(this._milliseconds)/1e3,u=ga(this._days),l=ga(this._months),h=this.asSeconds();return h?(t=dn(c/60),e=dn(t/60),c%=60,t%=60,n=dn(l/12),l%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=ya(this._months)!==ya(h)?"-":"",o=ya(this._days)!==ya(h)?"-":"",s=ya(this._milliseconds)!==ya(h)?"-":"",i+"P"+(n?a+n+"Y":"")+(l?a+l+"M":"")+(u?o+u+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+r+"S":"")):"P0D"}var va=Jr.prototype;va.isValid=function(){return this._isValid},va.abs=function(){var t=this._data;return this._milliseconds=$i(this._milliseconds),this._days=$i(this._days),this._months=$i(this._months),t.milliseconds=$i(t.milliseconds),t.seconds=$i(t.seconds),t.minutes=$i(t.minutes),t.hours=$i(t.hours),t.months=$i(t.months),t.years=$i(t.years),this},va.add=function(t,e){return Hi(this,t,e,1)},va.subtract=function(t,e){return Hi(this,t,e,-1)},va.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=cn(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+qi(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Vi(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},va.asMilliseconds=Xi,va.asSeconds=Zi,va.asMinutes=Qi,va.asHours=Ji,va.asDays=Ki,va.asWeeks=ta,va.asMonths=ea,va.asQuarters=na,va.asYears=ra,va.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*pn(this._months/12):NaN},va._bubble=function(){var t,e,n,r,i,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Wi(Vi(s)+o),o=0,s=0),c.milliseconds=a%1e3,t=dn(a/1e3),c.seconds=t%60,e=dn(t/60),c.minutes=e%60,n=dn(e/60),c.hours=n%24,o+=dn(n/24),s+=i=dn(qi(o)),o-=Wi(Vi(i)),r=dn(s/12),s%=12,c.days=o,c.months=s,c.years=r,this},va.clone=function(){return ui(this)},va.get=function(t){return t=cn(t),this.isValid()?this[t+"s"]():NaN},va.milliseconds=aa,va.seconds=oa,va.minutes=sa,va.hours=ca,va.days=ua,va.weeks=function(){return dn(this.days()/7)},va.months=la,va.years=ha,va.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=da;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(a=Object.assign({},da,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),r=function(t,e,n,r){var i=ui(t).abs(),a=fa(i.as("s")),o=fa(i.as("m")),s=fa(i.as("h")),c=fa(i.as("d")),u=fa(i.as("M")),l=fa(i.as("w")),h=fa(i.as("y")),f=a<=n.ss&&["s",a]||a0,f[4]=r,pa.apply(null,f)}(this,!i,a,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},va.toISOString=ma,va.toString=ma,va.toJSON=ma,va.locale=bi,va.localeData=wi,va.toIsoString=He("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ma),va.lang=xi,nn("X",0,0,"unix"),nn("x",0,0,"valueOf"),In("x",Dn),In("X",/[+-]?\d+(\.\d{1,3})?/),Yn("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Yn("x",(function(t,e,n){n._d=new Date(pn(t))})), -//! moment.js -Te.version="2.29.1",we=Vr,Te.fn=Fi,Te.min=function(){var t=[].slice.call(arguments,0);return Zr("isBefore",t)},Te.max=function(){var t=[].slice.call(arguments,0);return Zr("isAfter",t)},Te.now=function(){return Date.now?Date.now():+new Date},Te.utc=Le,Te.unix=function(t){return Vr(1e3*t)},Te.months=function(t,e){return Ui(t,e,"months")},Te.isDate=De,Te.locale=Sr,Te.invalid=Fe,Te.duration=ui,Te.isMoment=ze,Te.weekdays=function(t,e,n){return zi(t,e,n,"weekdays")},Te.parseZone=function(){return Vr.apply(null,arguments).parseZone()},Te.localeData=Ar,Te.isDuration=Kr,Te.monthsShort=function(t,e){return Ui(t,e,"monthsShort")},Te.weekdaysMin=function(t,e,n){return zi(t,e,n,"weekdaysMin")},Te.defineLocale=Mr,Te.updateLocale=function(t,e){if(null!=e){var n,r,i=xr;null!=wr[t]&&null!=wr[t].parentLocale?wr[t].set(Xe(wr[t]._config,e)):(null!=(r=Cr(t))&&(i=r._config),e=Xe(i,e),null==r&&(e.abbr=t),(n=new Ze(e)).parentLocale=wr[t],wr[t]=n),Sr(t)}else null!=wr[t]&&(null!=wr[t].parentLocale?(wr[t]=wr[t].parentLocale,t===Sr()&&Sr(t)):null!=wr[t]&&delete wr[t]);return wr[t]},Te.locales=function(){return We(wr)},Te.weekdaysShort=function(t,e,n){return zi(t,e,n,"weekdaysShort")},Te.normalizeUnits=cn,Te.relativeTimeRounding=function(t){return void 0===t?fa:"function"==typeof t&&(fa=t,!0)},Te.relativeTimeThreshold=function(t,e){return void 0!==da[t]&&(void 0===e?da[t]:(da[t]=e,"s"===t&&(da.ss=e-1),!0))},Te.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},Te.prototype=Fi,Te.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"}; -/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */ -var _a={633:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,6],n=[1,7],r=[1,8],i=[1,9],a=[1,12],o=[1,11],s=[1,15,24],c=[1,19],u=[1,31],l=[1,34],h=[1,32],f=[1,33],d=[1,35],p=[1,36],g=[1,37],y=[1,38],m=[1,41],v=[1,42],_=[1,43],b=[1,44],x=[15,24],w=[1,56],k=[1,57],T=[1,58],E=[1,59],C=[1,60],S=[1,61],M=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],A=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],N=[7,8,9,10,15,18,22,24],D=[47,77,78,79,80],O=[47,54,55,77,78,79,80],B=[47,50,51,52,53,77,78,79,80],L=[15,24,31],I=[1,93],R={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:r.parseDirective(a[s],"type_directive");break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=a[s];break;case 21:this.$=a[s-1]+a[s];break;case 22:case 23:this.$=a[s-1]+"~"+a[s];break;case 24:r.addRelation(a[s]);break;case 25:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 33:r.addClass(a[s]);break;case 34:r.addClass(a[s-2]),r.setCssClass(a[s-2],a[s]);break;case 35:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 36:r.addClass(a[s-5]),r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 37:r.addAnnotation(a[s],a[s-2]);break;case 38:this.$=[a[s]];break;case 39:a[s].push(a[s-1]),this.$=a[s];break;case 40:break;case 41:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 42:case 43:break;case 44:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 46:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 47:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 48:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 49:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 50:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 51:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 52:this.$=r.relationType.AGGREGATION;break;case 53:this.$=r.relationType.EXTENSION;break;case 54:this.$=r.relationType.COMPOSITION;break;case 55:this.$=r.relationType.DEPENDENCY;break;case 56:this.$=r.lineType.LINE;break;case 57:this.$=r.lineType.DOTTED_LINE;break;case 58:case 64:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 59:case 65:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 60:case 68:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 61:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 62:case 70:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 63:case 71:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 66:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 67:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 69:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 72:r.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[2,8]},t(s,[2,4]),t(s,[2,5]),t(s,[2,6]),t(s,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:c},t([16,21],[2,12]),{5:29,6:28,7:e,8:n,9:r,10:i,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:u,42:l,44:h,45:f,56:d,57:p,59:g,63:y,77:m,78:v,79:_,80:b},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},t(x,[2,24],{31:[1,50]}),t(x,[2,26]),t(x,[2,27]),t(x,[2,28]),t(x,[2,29]),t(x,[2,30]),t(x,[2,31]),t(x,[2,32]),t(x,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:w,51:k,52:T,53:E,54:C,55:S}),{26:62,27:39,28:40,77:m,78:v,79:_,80:b},t(x,[2,42]),t(x,[2,43]),{27:63,77:m,78:v,79:_},{26:64,27:39,28:40,77:m,78:v,79:_,80:b},{26:65,27:39,28:40,77:m,78:v,79:_,80:b},{26:66,27:39,28:40,77:m,78:v,79:_,80:b},{47:[1,67]},t(M,[2,19],{27:39,28:40,26:68,29:[1,69],77:m,78:v,79:_,80:b}),t(M,[2,20],{29:[1,70]}),t(A,[2,86]),t(A,[2,87]),t(A,[2,88]),t([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),t(N,[2,9]),{14:71,21:c},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:e,8:n,9:r,10:i,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:u,42:l,44:h,45:f,56:d,57:p,59:g,63:y,77:m,78:v,79:_,80:b},t(x,[2,25]),{26:73,27:39,28:40,47:[1,74],77:m,78:v,79:_,80:b},{46:75,48:54,49:55,50:w,51:k,52:T,53:E,54:C,55:S},t(x,[2,41]),{49:76,54:C,55:S},t(D,[2,51],{48:77,50:w,51:k,52:T,53:E}),t(O,[2,52]),t(O,[2,53]),t(O,[2,54]),t(O,[2,55]),t(B,[2,56]),t(B,[2,57]),t(x,[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:m,78:v,79:_},t(M,[2,21]),t(M,[2,22]),t(M,[2,23]),{15:[1,86]},{24:[2,18]},t(L,[2,44]),{26:87,27:39,28:40,77:m,78:v,79:_,80:b},{26:88,27:39,28:40,47:[1,89],77:m,78:v,79:_,80:b},t(D,[2,50],{48:90,50:w,51:k,52:T,53:E}),t(D,[2,49]),{27:91,77:m,78:v,79:_},{40:92,44:I},{26:94,27:39,28:40,77:m,78:v,79:_,80:b},t(x,[2,58],{47:[1,95]}),t(x,[2,60],{47:[1,97],58:[1,96]}),t(x,[2,64],{47:[1,98],61:[1,99]}),t(x,[2,68],{47:[1,101],58:[1,100]}),t(x,[2,72]),t(N,[2,10]),t(L,[2,46]),t(L,[2,45]),{26:102,27:39,28:40,77:m,78:v,79:_,80:b},t(D,[2,48]),t(x,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:I},t(x,[2,37]),t(x,[2,59]),t(x,[2,61]),t(x,[2,62],{58:[1,106]}),t(x,[2,65]),t(x,[2,66],{47:[1,107]}),t(x,[2,69]),t(x,[2,70],{58:[1,108]}),t(L,[2,47]),{40:109,44:I},t(x,[2,35]),{41:[2,39]},t(x,[2,63]),t(x,[2,67]),t(x,[2,71]),{41:[1,110]},t(x,[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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},F={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){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:break;case 11:return 15;case 12:break;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 19:break;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:this.popState();break;case 30:return"GENERICTYPE";case 31:this.begin("string");break;case 32:this.popState();break;case 33:return"STR";case 34:this.begin("bqstring");break;case 35:this.popState();break;case 36:return"BQUOTE_STR";case 37:this.begin("href");break;case 38:this.popState();break;case 39:return 62;case 40:this.begin("callback_name");break;case 41:this.popState();break;case 42:this.popState(),this.begin("callback_args");break;case 43:return 60;case 44:this.popState();break;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 P(){this.yy={}}return R.lexer=F,P.prototype=R,R.Parser=P,new P}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8218).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6890:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,23,40],i=[1,17],a=[1,20],o=[1,25],s=[1,26],c=[1,27],u=[1,28],l=[1,37],h=[23,37,38],f=[4,6,9,11,23,40],d=[33,34,35,36],p=[22,29],g={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,COMMENT:28,ATTRIBUTE_WORD:29,ATTRIBUTE_KEY:30,cardinality:31,relType:32,ZERO_OR_ONE:33,ZERO_OR_MORE:34,ONE_OR_MORE:35,ONLY_ONE:36,NON_IDENTIFYING:37,IDENTIFYING:38,WORD:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$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",28:"COMMENT",29:"ATTRIBUTE_WORD",30:"ATTRIBUTE_KEY",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"},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],[18,3],[31,1],[31,1],[31,1],[31,1],[32,1],[32,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 3:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 7:case 8:this.$=[];break;case 12:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s]);break;case 16:this.$=a[s];break;case 17:this.$=[a[s]];break;case 18:a[s].push(a[s-1]),this.$=a[s];break;case 19:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 20:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyType:a[s]};break;case 21:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 22:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyType:a[s-1],attributeComment:a[s]};break;case 23:case 24:case 25:this.$=a[s];break;case 26:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 27:this.$=r.Cardinality.ZERO_OR_ONE;break;case 28:this.$=r.Cardinality.ZERO_OR_MORE;break;case 29:this.$=r.Cardinality.ONE_OR_MORE;break;case 30:this.$=r.Cardinality.ONLY_ONE;break;case 31:this.$=r.Identification.NON_IDENTIFYING;break;case 32:this.$=r.Identification.IDENTIFYING;break;case 33:this.$=a[s].replace(/"/g,"");break;case 34:this.$=a[s];break;case 35:r.parseDirective("%%{","open_directive");break;case 36:r.parseDirective(a[s],"type_directive");break;case 37:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 38:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,40:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,40:n},{13:8,41:[1,9]},{41:[2,35]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:i,40:n},{1:[2,2]},{14:18,15:[1,19],43:a},t([15,43],[2,36]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:15,10:21,12:4,17:16,23:i,40:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,15],{18:22,31:24,20:[1,23],33:o,34:s,35:c,36:u}),t([6,9,11,15,20,23,33,34,35,36,40],[2,16]),{11:[1,29]},{16:30,42:[1,31]},{11:[2,38]},t(r,[2,5]),{17:32,23:i},{21:33,22:[1,34],24:35,25:36,29:l},{32:38,37:[1,39],38:[1,40]},t(h,[2,27]),t(h,[2,28]),t(h,[2,29]),t(h,[2,30]),t(f,[2,9]),{14:41,43:a},{43:[2,37]},{15:[1,42]},{22:[1,43]},t(r,[2,14]),{21:44,22:[2,17],24:35,25:36,29:l},{26:45,29:[1,46]},{29:[2,23]},{31:47,33:o,34:s,35:c,36:u},t(d,[2,31]),t(d,[2,32]),{11:[1,48]},{19:49,23:[1,51],39:[1,50]},t(r,[2,13]),{22:[2,18]},t(p,[2,19],{27:52,28:[1,53],30:[1,54]}),t([22,28,29,30],[2,24]),{23:[2,26]},t(f,[2,10]),t(r,[2,12]),t(r,[2,33]),t(r,[2,34]),t(p,[2,20],{28:[1,55]}),t(p,[2,21]),t([22,28,29],[2,25]),t(p,[2,22])],defaultActions:{5:[2,35],7:[2,2],20:[2,38],31:[2,37],37:[2,23],44:[2,18],47:[2,26]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:case 6:break;case 7:return 11;case 8:break;case 9:return 9;case 10:return 39;case 11:return 4;case 12:return this.begin("block"),20;case 13:break;case 14:return 30;case 15:return 29;case 16:return 28;case 17:break;case 18:return this.popState(),22;case 19:return e.yytext[0];case 20:return 33;case 21:return 34;case 22:return 35;case 23:return 36;case 24:return 33;case 25:return 34;case 26:return 35;case 27:return 37;case 28:return 38;case 29:case 30:return 37;case 31:return 23;case 32:return e.yytext[0];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 m(){this.yy={}}return g.lexer=y,m.prototype=g,g.Parser=m,new m}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8009).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},5403:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,9],n=[1,7],r=[1,6],i=[1,8],a=[1,20,21,22,23,38,47,76,77,78,79,80,81,95,96,99,100,101,103,104,110,111,112,113,114,115,116,117,118,119],o=[2,10],s=[1,20],c=[1,21],u=[1,22],l=[1,23],h=[1,30],f=[1,59],d=[1,33],p=[1,34],g=[1,35],y=[1,36],m=[1,37],v=[1,53],_=[1,48],b=[1,50],x=[1,45],w=[1,49],k=[1,52],T=[1,56],E=[1,57],C=[1,38],S=[1,39],M=[1,40],A=[1,41],N=[1,58],D=[1,47],O=[1,51],B=[1,54],L=[1,55],I=[1,46],R=[1,62],F=[1,67],P=[1,20,21,22,23,38,42,47,76,77,78,79,80,81,95,96,99,100,101,103,104,110,111,112,113,114,115,116,117,118,119],Y=[1,71],j=[1,70],U=[1,72],z=[20,21,23,70,71],$=[1,93],H=[1,98],W=[1,95],q=[1,100],V=[1,103],G=[1,101],X=[1,102],Z=[1,96],Q=[1,108],J=[1,107],K=[1,97],tt=[1,99],et=[1,104],nt=[1,105],rt=[1,106],it=[1,109],at=[20,21,22,23,70,71],ot=[20,21,22,23,48,70,71],st=[20,21,22,23,40,47,48,50,52,54,56,58,60,62,63,65,70,71,81,95,96,99,100,101,103,104,114,115,116,117,118,119],ct=[20,21,23],ut=[20,21,23,47,70,71,81,95,96,99,100,101,103,104,114,115,116,117,118,119],lt=[1,12,20,21,22,23,24,38,42,47,76,77,78,79,80,81,95,96,99,100,101,103,104,110,111,112,113,114,115,116,117,118,119],ht=[47,81,95,96,99,100,101,103,104,114,115,116,117,118,119],ft=[1,141],dt=[1,149],pt=[1,150],gt=[1,151],yt=[1,152],mt=[1,136],vt=[1,137],_t=[1,133],bt=[1,144],xt=[1,145],wt=[1,146],kt=[1,147],Tt=[1,148],Et=[1,153],Ct=[1,154],St=[1,139],Mt=[1,142],At=[1,138],Nt=[1,135],Dt=[20,21,22,23,38,42,47,76,77,78,79,80,81,95,96,99,100,101,103,104,110,111,112,113,114,115,116,117,118,119],Ot=[1,157],Bt=[20,21,22,23,26,47,81,95,96,99,100,101,103,104,114,115,116,117,118,119],Lt=[20,21,22,23,24,26,38,40,41,42,47,51,53,55,57,59,61,62,64,66,70,71,72,76,77,78,79,80,81,82,85,95,96,99,100,101,103,104,105,106,114,115,116,117,118,119],It=[12,21,22,24],Rt=[22,96],Ft=[1,238],Pt=[1,242],Yt=[1,239],jt=[1,236],Ut=[1,233],zt=[1,234],$t=[1,235],Ht=[1,237],Wt=[1,240],qt=[1,241],Vt=[1,243],Gt=[1,260],Xt=[20,21,23,96],Zt=[20,21,22,23,76,92,95,96,99,100,101,102,103,104,105],Qt={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,CYLINDERSTART:58,CYLINDEREND:59,DIAMOND_START:60,DIAMOND_STOP:61,TAGEND:62,TRAPSTART:63,TRAPEND:64,INVTRAPSTART:65,INVTRAPEND:66,linkStatement:67,arrowText:68,TESTSTR:69,START_LINK:70,LINK:71,PIPE:72,textToken:73,STR:74,keywords:75,STYLE:76,LINKSTYLE:77,CLASSDEF:78,CLASS:79,CLICK:80,DOWN:81,UP:82,textNoTags:83,textNoTagsToken:84,DEFAULT:85,stylesOpt:86,alphaNum:87,CALLBACKNAME:88,CALLBACKARGS:89,HREF:90,LINK_TARGET:91,HEX:92,numList:93,INTERPOLATE:94,NUM:95,COMMA:96,style:97,styleComponent:98,ALPHA:99,COLON:100,MINUS:101,UNIT:102,BRKT:103,DOT:104,PCT:105,TAGSTART:106,alphaNumToken:107,idStringToken:108,alphaNumStatement:109,direction_tb:110,direction_bt:111,direction_rl:112,direction_lr:113,PUNCTUATION:114,UNICODE_TEXT:115,PLUS:116,EQUALS:117,MULT:118,UNDERSCORE:119,graphCodeTokens:120,ARROW_CROSS:121,ARROW_POINT:122,ARROW_CIRCLE:123,ARROW_OPEN:124,QUOTE:125,$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:"CYLINDERSTART",59:"CYLINDEREND",60:"DIAMOND_START",61:"DIAMOND_STOP",62:"TAGEND",63:"TRAPSTART",64:"TRAPEND",65:"INVTRAPSTART",66:"INVTRAPEND",69:"TESTSTR",70:"START_LINK",71:"LINK",72:"PIPE",74:"STR",76:"STYLE",77:"LINKSTYLE",78:"CLASSDEF",79:"CLASS",80:"CLICK",81:"DOWN",82:"UP",85:"DEFAULT",88:"CALLBACKNAME",89:"CALLBACKARGS",90:"HREF",91:"LINK_TARGET",92:"HEX",94:"INTERPOLATE",95:"NUM",96:"COMMA",99:"ALPHA",100:"COLON",101:"MINUS",102:"UNIT",103:"BRKT",104:"DOT",105:"PCT",106:"TAGSTART",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",121:"ARROW_CROSS",122:"ARROW_POINT",123:"ARROW_CIRCLE",124:"ARROW_OPEN",125:"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,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],[67,1],[68,3],[39,1],[39,2],[39,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[75,1],[83,1],[83,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],[93,1],[93,3],[86,1],[86,3],[97,1],[97,2],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[98,1],[73,1],[73,1],[73,1],[73,1],[73,1],[73,1],[84,1],[84,1],[84,1],[84,1],[49,1],[49,2],[87,1],[87,2],[109,1],[109,1],[109,1],[109,1],[43,1],[43,1],[43,1],[43,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,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],[108,1],[108,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:a[s]!==[]&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 77:case 79:case 91:case 147:case 149:case 150:this.$=a[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 48:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 49:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 50:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 51:this.$={stmt:a[s],nodes:a[s]};break;case 52:this.$=[a[s]];break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 55:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 56:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"subroutine");break;case 60:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 63:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 64:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 69:this.$=a[s],r.addVertex(a[s]);break;case 70:a[s-1].text=a[s],this.$=a[s-1];break;case 71:case 72:a[s-2].text=a[s-1],this.$=a[s-2];break;case 73:this.$=a[s];break;case 74:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 75:c=r.destructLink(a[s]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 76:this.$=a[s-1];break;case 78:case 92:case 148:this.$=a[s-1]+""+a[s];break;case 93:case 94:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 95:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 96:case 104:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 97:case 105:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 98:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 99:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 100:case 106:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 101:case 107:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 102:case 108:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 103:case 109:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 110:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 111:case 113:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 112:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 114:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 115:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 116:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 117:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 118:case 120:this.$=[a[s]];break;case 119:case 121:a[s-2].push(a[s]),this.$=a[s-2];break;case 123:this.$=a[s-1]+a[s];break;case 145:this.$=a[s];break;case 146:this.$=a[s-1]+""+a[s];break;case 151:this.$="v";break;case 152:this.$="-";break;case 153:this.$={stmt:"dir",value:"TB"};break;case 154:this.$={stmt:"dir",value:"BT"};break;case 155:this.$={stmt:"dir",value:"RL"};break;case 156:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:r,24:i},{16:15,21:n,22:r,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,45:32,46:42,47:f,49:43,76:d,77:p,78:g,79:y,80:m,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,110:C,111:S,112:M,113:A,114:N,115:D,116:O,117:B,118:L,119:I},{8:60,10:[1,61],15:R},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,64],21:[1,65],22:F,27:63,30:66},t(P,[2,11]),t(P,[2,12]),t(P,[2,13]),t(P,[2,14]),t(P,[2,15]),t(P,[2,16]),{9:68,20:Y,21:j,23:U,44:69,67:73,70:[1,74],71:[1,75]},{9:76,20:Y,21:j,23:U},{9:77,20:Y,21:j,23:U},{9:78,20:Y,21:j,23:U},{9:79,20:Y,21:j,23:U},{9:80,20:Y,21:j,23:U},{9:82,20:Y,21:j,22:[1,81],23:U},t(P,[2,44]),t(z,[2,51],{30:83,22:F}),{22:[1,84]},{22:[1,85]},{22:[1,86]},{22:[1,87]},{26:$,47:H,74:[1,91],81:W,87:90,88:[1,88],90:[1,89],95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(P,[2,153]),t(P,[2,154]),t(P,[2,155]),t(P,[2,156]),t(at,[2,52],{48:[1,110]}),t(ot,[2,69],{108:121,40:[1,111],47:f,50:[1,112],52:[1,113],54:[1,114],56:[1,115],58:[1,116],60:[1,117],62:[1,118],63:[1,119],65:[1,120],81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,114:N,115:D,116:O,117:B,118:L,119:I}),t(st,[2,145]),t(st,[2,170]),t(st,[2,171]),t(st,[2,172]),t(st,[2,173]),t(st,[2,174]),t(st,[2,175]),t(st,[2,176]),t(st,[2,177]),t(st,[2,178]),t(st,[2,179]),t(st,[2,180]),t(st,[2,181]),t(st,[2,182]),t(st,[2,183]),t(st,[2,184]),{9:122,20:Y,21:j,23:U},{11:123,14:[1,124]},t(ct,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,125]},t(ut,[2,34],{30:126,22:F}),t(P,[2,35]),{45:127,46:42,47:f,49:43,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,114:N,115:D,116:O,117:B,118:L,119:I},t(lt,[2,45]),t(lt,[2,46]),t(lt,[2,47]),t(ht,[2,73],{68:128,69:[1,129],72:[1,130]}),{22:ft,24:dt,26:pt,38:gt,39:131,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t([47,69,72,81,95,96,99,100,101,103,104,114,115,116,117,118,119],[2,75]),t(P,[2,36]),t(P,[2,37]),t(P,[2,38]),t(P,[2,39]),t(P,[2,40]),{22:ft,24:dt,26:pt,38:gt,39:155,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(Dt,o,{17:156}),t(z,[2,50],{47:Ot}),{26:$,47:H,81:W,87:158,92:[1,159],95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},{85:[1,160],93:161,95:[1,162]},{26:$,47:H,81:W,85:[1,163],87:164,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},{26:$,47:H,81:W,87:165,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ct,[2,96],{22:[1,166],89:[1,167]}),t(ct,[2,100],{22:[1,168]}),t(ct,[2,104],{107:94,109:170,22:[1,169],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,114:K,115:tt,116:et,117:nt,118:rt,119:it}),t(ct,[2,106],{22:[1,171]}),t(Bt,[2,147]),t(Bt,[2,149]),t(Bt,[2,150]),t(Bt,[2,151]),t(Bt,[2,152]),t(Lt,[2,157]),t(Lt,[2,158]),t(Lt,[2,159]),t(Lt,[2,160]),t(Lt,[2,161]),t(Lt,[2,162]),t(Lt,[2,163]),t(Lt,[2,164]),t(Lt,[2,165]),t(Lt,[2,166]),t(Lt,[2,167]),t(Lt,[2,168]),t(Lt,[2,169]),{47:f,49:172,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,114:N,115:D,116:O,117:B,118:L,119:I},{22:ft,24:dt,26:pt,38:gt,39:173,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:175,42:yt,47:H,50:[1,174],62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:176,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:177,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:178,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:179,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:180,42:yt,47:H,60:[1,181],62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:182,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:183,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:184,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(st,[2,146]),t(It,[2,3]),{8:185,15:R},{15:[2,7]},t(a,[2,28]),t(ut,[2,33]),t(z,[2,48],{30:186,22:F}),t(ht,[2,70],{22:[1,187]}),{22:[1,188]},{22:ft,24:dt,26:pt,38:gt,39:189,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,62:mt,70:vt,71:[1,190],73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(Lt,[2,77]),t(Lt,[2,79]),t(Lt,[2,135]),t(Lt,[2,136]),t(Lt,[2,137]),t(Lt,[2,138]),t(Lt,[2,139]),t(Lt,[2,140]),t(Lt,[2,141]),t(Lt,[2,142]),t(Lt,[2,143]),t(Lt,[2,144]),t(Lt,[2,80]),t(Lt,[2,81]),t(Lt,[2,82]),t(Lt,[2,83]),t(Lt,[2,84]),t(Lt,[2,85]),t(Lt,[2,86]),t(Lt,[2,87]),t(Lt,[2,88]),t(Lt,[2,89]),t(Lt,[2,90]),{9:193,20:Y,21:j,22:ft,23:U,24:dt,26:pt,38:gt,40:[1,192],42:yt,47:H,62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,194],43:31,45:32,46:42,47:f,49:43,76:d,77:p,78:g,79:y,80:m,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,110:C,111:S,112:M,113:A,114:N,115:D,116:O,117:B,118:L,119:I},{22:F,30:195},{22:[1,196],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:170,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:[1,197]},{22:[1,198]},{22:[1,199],96:[1,200]},t(Rt,[2,118]),{22:[1,201]},{22:[1,202],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:170,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:[1,203],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:170,114:K,115:tt,116:et,117:nt,118:rt,119:it},{74:[1,204]},t(ct,[2,98],{22:[1,205]}),{74:[1,206],91:[1,207]},{74:[1,208]},t(Bt,[2,148]),{74:[1,209],91:[1,210]},t(at,[2,54],{108:121,47:f,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,114:N,115:D,116:O,117:B,118:L,119:I}),{22:ft,24:dt,26:pt,38:gt,41:[1,211],42:yt,47:H,62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:212,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,51:[1,213],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,53:[1,214],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,55:[1,215],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,57:[1,216],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,59:[1,217],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,61:[1,218],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,39:219,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,41:[1,220],42:yt,47:H,62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,62:mt,64:[1,221],66:[1,222],70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,62:mt,64:[1,224],66:[1,223],70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{9:225,20:Y,21:j,23:U},t(z,[2,49],{47:Ot}),t(ht,[2,72]),t(ht,[2,71]),{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,62:mt,70:vt,72:[1,226],73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ht,[2,74]),t(Lt,[2,78]),{22:ft,24:dt,26:pt,38:gt,39:227,42:yt,47:H,62:mt,70:vt,73:132,74:_t,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(Dt,o,{17:228}),t(P,[2,43]),{46:229,47:f,49:43,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,114:N,115:D,116:O,117:B,118:L,119:I},{22:Ft,76:Pt,86:230,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{22:Ft,76:Pt,86:244,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{22:Ft,76:Pt,86:245,92:Yt,94:[1,246],95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{22:Ft,76:Pt,86:247,92:Yt,94:[1,248],95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{95:[1,249]},{22:Ft,76:Pt,86:250,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{22:Ft,76:Pt,86:251,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{26:$,47:H,81:W,87:252,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ct,[2,97]),{74:[1,253]},t(ct,[2,101],{22:[1,254]}),t(ct,[2,102]),t(ct,[2,105]),t(ct,[2,107],{22:[1,255]}),t(ct,[2,108]),t(ot,[2,55]),{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,51:[1,256],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ot,[2,61]),t(ot,[2,57]),t(ot,[2,58]),t(ot,[2,59]),t(ot,[2,60]),t(ot,[2,62]),{22:ft,24:dt,26:pt,38:gt,42:yt,47:H,61:[1,257],62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ot,[2,64]),t(ot,[2,65]),t(ot,[2,67]),t(ot,[2,66]),t(ot,[2,68]),t(It,[2,4]),t([22,47,81,95,96,99,100,101,103,104,114,115,116,117,118,119],[2,76]),{22:ft,24:dt,26:pt,38:gt,41:[1,258],42:yt,47:H,62:mt,70:vt,73:191,75:143,76:bt,77:xt,78:wt,79:kt,80:Tt,81:Et,82:Ct,84:134,85:St,95:q,96:V,99:G,100:X,101:Mt,103:Q,104:J,105:At,106:Nt,107:140,114:K,115:tt,116:et,117:nt,118:rt,119:it},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,259],43:31,45:32,46:42,47:f,49:43,76:d,77:p,78:g,79:y,80:m,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,110:C,111:S,112:M,113:A,114:N,115:D,116:O,117:B,118:L,119:I},t(at,[2,53]),t(ct,[2,110],{96:Gt}),t(Xt,[2,120],{98:261,22:Ft,76:Pt,92:Yt,95:jt,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt}),t(Zt,[2,122]),t(Zt,[2,124]),t(Zt,[2,125]),t(Zt,[2,126]),t(Zt,[2,127]),t(Zt,[2,128]),t(Zt,[2,129]),t(Zt,[2,130]),t(Zt,[2,131]),t(Zt,[2,132]),t(Zt,[2,133]),t(Zt,[2,134]),t(ct,[2,111],{96:Gt}),t(ct,[2,112],{96:Gt}),{22:[1,262]},t(ct,[2,113],{96:Gt}),{22:[1,263]},t(Rt,[2,119]),t(ct,[2,93],{96:Gt}),t(ct,[2,94],{96:Gt}),t(ct,[2,95],{107:94,109:170,26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,114:K,115:tt,116:et,117:nt,118:rt,119:it}),t(ct,[2,99]),{91:[1,264]},{91:[1,265]},{51:[1,266]},{61:[1,267]},{9:268,20:Y,21:j,23:U},t(P,[2,42]),{22:Ft,76:Pt,92:Yt,95:jt,97:269,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},t(Zt,[2,123]),{26:$,47:H,81:W,87:270,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},{26:$,47:H,81:W,87:271,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,107:94,109:92,114:K,115:tt,116:et,117:nt,118:rt,119:it},t(ct,[2,103]),t(ct,[2,109]),t(ot,[2,56]),t(ot,[2,63]),t(Dt,o,{17:272}),t(Xt,[2,121],{98:261,22:Ft,76:Pt,92:Yt,95:jt,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt}),t(ct,[2,116],{107:94,109:170,22:[1,273],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,114:K,115:tt,116:et,117:nt,118:rt,119:it}),t(ct,[2,117],{107:94,109:170,22:[1,274],26:$,47:H,81:W,95:q,96:V,99:G,100:X,101:Z,103:Q,104:J,114:K,115:tt,116:et,117:nt,118:rt,119:it}),{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,275],43:31,45:32,46:42,47:f,49:43,76:d,77:p,78:g,79:y,80:m,81:v,95:_,96:b,99:x,100:w,101:k,103:T,104:E,108:44,110:C,111:S,112:M,113:A,114:N,115:D,116:O,117:B,118:L,119:I},{22:Ft,76:Pt,86:276,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},{22:Ft,76:Pt,86:277,92:Yt,95:jt,97:231,98:232,99:Ut,100:zt,101:$t,102:Ht,103:Wt,104:qt,105:Vt},t(P,[2,41]),t(ct,[2,114],{96:Gt}),t(ct,[2,115],{96:Gt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],124:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},Jt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){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:this.popState();break;case 9:return"STR";case 10:return 76;case 11:return 85;case 12:return 77;case 13:return 94;case 14:return 78;case 15:return 79;case 16:this.begin("href");break;case 17:this.popState();break;case 18:return 90;case 19:this.begin("callbackname");break;case 20:this.popState();break;case 21:this.popState(),this.begin("callbackargs");break;case 22:return 88;case 23:this.popState();break;case 24:return 89;case 25:this.begin("click");break;case 26:this.popState();break;case 27:return 80;case 28:case 29:return t.lex.firstGraph()&&this.begin("dir"),24;case 30:return 38;case 31:return 42;case 32:case 33:case 34:case 35:return 91;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 110;case 48:return 111;case 49:return 112;case 50:return 113;case 51:return 95;case 52:return 103;case 53:return 48;case 54:return 100;case 55:return 47;case 56:return 20;case 57:return 96;case 58:return 118;case 59:case 60:case 61:return 71;case 62:case 63:case 64:return 70;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 59;case 73:return 101;case 74:return 104;case 75:return 119;case 76:return 116;case 77:return 105;case 78:case 79:return 117;case 80:return 106;case 81:return 62;case 82:return 82;case 83:return"SEP";case 84:return 81;case 85:return 99;case 86:return 64;case 87:return 63;case 88:return 66;case 89:return 65;case 90:return 114;case 91:return 115;case 92:return 72;case 93:return 50;case 94:return 51;case 95:return 40;case 96:return 41;case 97:return 60;case 98:return 61;case 99:return 125;case 100:return 21;case 101:return 22;case 102: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],inclusive:!0}}};function Kt(){this.yy={}}return Qt.lexer=Jt,Kt.prototype=Qt,Qt.Parser=Kt,new Kt}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(5354).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},674:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,21,28,33],i=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,24],d=[1,26],p=[1,29],g=[5,7,9,11,12,13,14,15,16,17,18,19,21,28,33],y={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,todayMarker:17,title:18,section:19,clickStatement:20,taskTxt:21,taskData:22,openDirective:23,typeDirective:24,closeDirective:25,":":26,argDirective:27,click:28,callbackname:29,callbackargs:30,href:31,clickStatementDebug:32,open_directive:33,type_directive:34,arg_directive:35,close_directive:36,$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:"todayMarker",18:"title",19:"section",21:"taskTxt",22:"taskData",26:":",28:"click",29:"callbackname",30:"callbackargs",31:"href",33:"open_directive",34:"type_directive",35:"arg_directive",36:"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,2],[10,1],[4,4],[4,6],[20,2],[20,3],[20,3],[20,4],[20,3],[20,4],[20,2],[32,2],[32,3],[32,3],[32,4],[32,3],[32,4],[32,2],[23,1],[24,1],[27,1],[25,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 2:return a[s-1];case 3:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 7:case 8:this.$=[];break;case 9:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:r.TopAxis(),this.$=a[s].substr(8);break;case 12:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 14:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 15:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 16:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s-1],a[s]),this.$="task";break;case 22:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 23:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 24:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 25:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 26:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 27:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 28:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 29:case 35:this.$=a[s-1]+" "+a[s];break;case 30:case 31:case 33:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 32:case 34:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 36:r.parseDirective("%%{","open_directive");break;case 37:r.parseDirective(a[s],"type_directive");break;case 38:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 39:r.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,23:4,33:n},{1:[3]},{3:6,4:2,5:e,23:4,33:n},t(r,[2,3],{6:7}),{24:8,34:[1,9]},{34:[2,36]},{1:[2,1]},{4:25,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:23,21:f,23:4,28:d,33:n},{25:27,26:[1,28],36:p},t([26,36],[2,37]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:25,10:30,12:i,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:23,21:f,23:4,28:d,33:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{22:[1,31]},t(r,[2,19]),{29:[1,32],31:[1,33]},{11:[1,34]},{27:35,35:[1,36]},{11:[2,39]},t(r,[2,5]),t(r,[2,18]),t(r,[2,22],{30:[1,37],31:[1,38]}),t(r,[2,28],{29:[1,39]}),t(g,[2,20]),{25:40,36:p},{36:[2,38]},t(r,[2,23],{31:[1,41]}),t(r,[2,24]),t(r,[2,26],{30:[1,42]}),{11:[1,43]},t(r,[2,25]),t(r,[2,27]),t(g,[2,21])],defaultActions:{5:[2,36],6:[2,1],29:[2,39],36:[2,38]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),33;case 1:return this.begin("type_directive"),34;case 2:return this.popState(),this.begin("arg_directive"),26;case 3:return this.popState(),this.popState(),36;case 4:return 35;case 5:case 6:case 7:break;case 8:return 11;case 9:case 10:case 11:break;case 12:this.begin("href");break;case 13:this.popState();break;case 14:return 31;case 15:this.begin("callbackname");break;case 16:this.popState();break;case 17:this.popState(),this.begin("callbackargs");break;case 18:return 29;case 19:this.popState();break;case 20:return 30;case 21:this.begin("click");break;case 22:this.popState();break;case 23:return 28;case 24:return 5;case 25:return 12;case 26:return 13;case 27:return 14;case 28:return 15;case 29:return 16;case 30:return 17;case 31:return"date";case 32:return 18;case 33:return 19;case 34:return 21;case 35:return 22;case 36:return 26;case 37:return 7;case 38: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,/^(?: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],inclusive:!0}}};function v(){this.yy={}}return y.lexer=m,v.prototype=y,y.Parser=v,new v}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(6878).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},4694:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[2,3],n=[1,7],r=[7,12,15,17,19,20,21],i=[7,11,12,15,17,19,20,21],a=[2,20],o=[1,32],s={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:return r.setDirection(a[s-3]),a[s-1];case 4:r.setOptions(a[s-1]),this.$=a[s];break;case 5:a[s-1]+=a[s],this.$=a[s-1];break;case 7:this.$=[];break;case 8:a[s-1].push(a[s]),this.$=a[s-1];break;case 9:this.$=a[s-1];break;case 11:r.commit(a[s]);break;case 12:r.branch(a[s]);break;case 13:r.checkout(a[s]);break;case 14:r.merge(a[s]);break;case 15:r.reset(a[s]);break;case 16:this.$="";break;case 17:this.$=a[s];break;case 18:this.$=a[s-1]+":"+a[s];break;case 19:this.$=a[s-1]+":"+r.count,r.count=0;break;case 20:r.count=0;break;case 21:r.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:e,9:6,12:n},{5:[1,8]},{7:[1,9]},t(r,[2,7],{10:10,11:[1,11]}),t(i,[2,6]),{6:12,7:e,9:6,12:n},{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]},t(i,[2,5]),{7:[1,21]},t(r,[2,8]),{12:[1,22]},t(r,[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]},t(r,[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:o},{12:a,25:33,26:o},{12:[2,18]},{12:a,25:34,26:o},{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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},c={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 18:this.popState();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 u(){this.yy={}}return s.lexer=c,u.prototype=s,s.Parser=u,new u}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8183).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6023:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={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(t,e,n,r,i,a,o){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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 i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1428).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},1443:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,5],r=[1,6],i=[1,7],a=[1,9],o=[1,11,13,20,21,22,23],s=[2,5],c=[1,6,11,13,20,21,22,23],u=[20,21,22],l=[2,8],h=[1,18],f=[1,19],d=[1,24],p=[6,20,21,22,23],g={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),r.setTitle(this.$);break;case 17:r.parseDirective("%%{","open_directive");break;case 18:r.parseDirective(a[s],"type_directive");break;case 19:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 20:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{1:[3]},{3:10,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{3:11,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},t(o,s,{7:12,8:[1,13]}),t(c,[2,14]),t(c,[2,15]),t(c,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},t(u,l,{15:8,9:16,10:17,5:20,1:[2,3],11:h,13:f,23:a}),t(o,s,{7:21}),{17:22,18:[1,23],26:d},t([18,26],[2,18]),t(o,[2,6]),{4:25,20:n,21:r,22:i},{12:[1,26]},{14:[1,27]},t(u,[2,11]),t(u,l,{15:8,9:16,10:17,5:20,1:[2,4],11:h,13:f,23:a}),t(p,[2,12]),{19:28,25:[1,29]},t(p,[2,20]),t(o,[2,7]),t(u,[2,9]),t(u,[2,10]),{17:30,26:d},{26:[2,19]},t(p,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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:break;case 7:return 20;case 8:case 9:break;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 m(){this.yy={}}return g.lexer=y,m.prototype=g,g.Parser=m,new m}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(4551).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},1843:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[1,17],i=[2,10],a=[1,21],o=[1,22],s=[1,23],c=[1,24],u=[1,25],l=[1,26],h=[1,19],f=[1,27],d=[1,28],p=[1,31],g=[66,67],y=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],m=[5,6,8,14,35,36,37,38,39,40,48,66,67],v=[1,51],_=[1,52],b=[1,53],x=[1,54],w=[1,55],k=[1,56],T=[1,57],E=[57,58],C=[1,69],S=[1,65],M=[1,66],A=[1,67],N=[1,68],D=[1,70],O=[1,74],B=[1,75],L=[1,72],I=[1,73],R=[5,8,14,35,36,37,38,39,40,48,66,67],F={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:r.parseDirective("%%{","open_directive");break;case 7:r.parseDirective(a[s],"type_directive");break;case 8:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 9:r.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:r.addRequirement(a[s-3],a[s-4]);break;case 17:r.setNewReqId(a[s-2]);break;case 18:r.setNewReqText(a[s-2]);break;case 19:r.setNewReqRisk(a[s-2]);break;case 20:r.setNewReqVerifyMethod(a[s-2]);break;case 23:this.$=r.RequirementType.REQUIREMENT;break;case 24:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=r.RiskLevel.LOW_RISK;break;case 30:this.$=r.RiskLevel.MED_RISK;break;case 31:this.$=r.RiskLevel.HIGH_RISK;break;case 32:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=r.VerifyType.VERIFY_TEST;break;case 36:r.addElement(a[s-3]);break;case 37:r.setNewElementType(a[s-2]);break;case 38:r.setNewElementDocRef(a[s-2]);break;case 41:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 42:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 43:this.$=r.Relationships.CONTAINS;break;case 44:this.$=r.Relationships.COPIES;break;case 45:this.$=r.Relationships.DERIVES;break;case 46:this.$=r.Relationships.SATISFIES;break;case 47:this.$=r.Relationships.VERIFIES;break;case 48:this.$=r.Relationships.REFINES;break;case 49:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n},{1:[3]},{3:7,4:2,5:[1,6],6:e,9:4,14:n},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:e,9:4,14:n},{1:[2,2]},{4:16,5:r,7:12,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{11:29,12:[1,30],17:p},t([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:r,7:33,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{4:16,5:r,7:34,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{4:16,5:r,7:35,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{4:16,5:r,7:36,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{4:16,5:r,7:37,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:u,40:l,48:h,66:f,67:d},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(g,[2,26]),t(g,[2,27]),t(g,[2,28]),t(y,[2,52]),t(y,[2,53]),t(m,[2,4]),{13:46,16:[1,47]},t(m,[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:v,60:_,61:b,62:x,63:w,64:k,65:T},{56:58,59:v,60:_,61:b,62:x,63:w,64:k,65:T},{11:59,17:p},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},t(E,[2,43]),t(E,[2,44]),t(E,[2,45]),t(E,[2,46]),t(E,[2,47]),t(E,[2,48]),t(E,[2,49]),{58:[1,63]},t(m,[2,5]),{5:C,24:64,25:S,28:M,30:A,32:N,34:D},{5:O,34:B,50:71,51:L,53:I},{27:76,66:f,67:d},{27:77,66:f,67:d},t(R,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:C,24:82,25:S,28:M,30:A,32:N,34:D},t(R,[2,22]),t(R,[2,36]),{26:[1,83]},{26:[1,84]},{5:O,34:B,50:85,51:L,53:I},t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),{27:86,66:f,67:d},{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]},t(R,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},t(R,[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:C,24:111,25:S,28:M,30:A,32:N,34:D},{5:C,24:112,25:S,28:M,30:A,32:N,34:D},{5:C,24:113,25:S,28:M,30:A,32:N,34:D},{5:C,24:114,25:S,28:M,30:A,32:N,34:D},{5:O,34:B,50:115,51:L,53:I},{5:O,34:B,50:116,51:L,53:I},t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,37]),t(R,[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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},P={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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 e.yytext=e.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 Y(){this.yy={}}return F.lexer=P,Y.prototype=F,F.Parser=Y,new Y}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8800).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3296:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,18],u=[1,19],l=[1,21],h=[1,22],f=[1,23],d=[1,29],p=[1,30],g=[1,31],y=[1,32],m=[1,33],v=[1,34],_=[1,37],b=[1,38],x=[1,39],w=[1,40],k=[1,41],T=[1,42],E=[1,45],C=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],S=[1,58],M=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],A=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],N=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],D=[55,56,57],O=[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],B={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.apply(a[s]),a[s];case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:this.$=[];break;case 12:a[s-3].type="addParticipant",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 13:a[s-1].type="addParticipant",this.$=a[s-1];break;case 14:a[s-3].type="addActor",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 15:a[s-1].type="addActor",this.$=a[s-1];break;case 17:r.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 19:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 25:this.$=[{type:"setTitle",text:a[s-1]}];break;case 26:a[s-1].unshift({type:"loopStart",loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 27:a[s-1].unshift({type:"rectStart",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 28:a[s-1].unshift({type:"optStart",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 29:a[s-1].unshift({type:"altStart",altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 30:a[s-1].unshift({type:"parStart",parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 33:this.$=a[s-3].concat([{type:"and",parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 35:this.$=a[s-3].concat([{type:"else",altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 36:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 37:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 38:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 39:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 40:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 41:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 44:this.$=[a[s-2],a[s]];break;case 45:this.$=a[s];break;case 46:this.$=r.PLACEMENT.LEFTOF;break;case 47:this.$=r.PLACEMENT.RIGHTOF;break;case 48:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 49:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 50:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 51:this.$={type:"addParticipant",actor:a[s]};break;case 52:this.$=r.LINETYPE.SOLID_OPEN;break;case 53:this.$=r.LINETYPE.DOTTED_OPEN;break;case 54:this.$=r.LINETYPE.SOLID;break;case 55:this.$=r.LINETYPE.DOTTED;break;case 56:this.$=r.LINETYPE.SOLID_CROSS;break;case 57:this.$=r.LINETYPE.DOTTED_CROSS;break;case 58:this.$=r.LINETYPE.SOLID_POINT;break;case 59:this.$=r.LINETYPE.DOTTED_POINT;break;case 60:this.$=r.parseMessage(a[s].trim().substring(1));break;case 61:r.parseDirective("%%{","open_directive");break;case 62:r.parseDirective(a[s],"type_directive");break;case 63:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 64:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:r,11:6,67:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,11:6,67:i},{3:9,4:e,5:n,6:4,7:r,11:6,67:i},{3:10,4:e,5:n,6:4,7:r,11:6,67:i},t([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:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:y,36:m,38:v,42:_,46:b,47:x,48:w,49:k,57:T,67:i},{13:43,14:[1,44],70:E},t([14,70],[2,62]),t(C,[2,6]),{6:35,10:46,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:y,36:m,38:v,42:_,46:b,47:x,48:w,49:k,57:T,67:i},t(C,[2,8]),t(C,[2,9]),{17:47,57:T},{17:48,57:T},{5:[1,49]},t(C,[2,17]),{17:50,57:T},{17:51,57:T},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:S},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},t(C,[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:T},{17:78,57:T},{17:79,57:T},{17:80,57:T},t([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]},t(C,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},t(C,[2,16]),{5:[1,88]},{5:[1,89]},t(C,[2,20]),t(C,[2,21]),t(C,[2,22]),t(C,[2,23]),t(C,[2,24]),{5:[1,90]},{5:[2,60]},t(M,a,{8:91}),t(M,a,{8:92}),t(M,a,{8:93}),t(A,a,{37:94,8:95}),t(N,a,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:T},t(D,[2,52]),t(D,[2,53]),t(D,[2,54]),t(D,[2,55]),t(D,[2,56]),t(D,[2,57]),t(D,[2,58]),t(D,[2,59]),{17:101,57:T},{17:103,45:102,57:T},{57:[2,46]},{57:[2,47]},{31:104,66:S},{31:105,66:S},{31:106,66:S},{31:107,66:S},t(O,[2,10]),{13:108,70:E},{70:[2,63]},{19:[1,109]},t(C,[2,13]),{19:[1,110]},t(C,[2,15]),t(C,[2,18]),t(C,[2,19]),t(C,[2,25]),{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,111],34:g,35:y,36:m,38:v,42:_,46:b,47:x,48:w,49:k,57:T,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,112],34:g,35:y,36:m,38:v,42:_,46:b,47:x,48:w,49:k,57:T,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,113],34:g,35:y,36:m,38:v,42:_,46:b,47:x,48:w,49:k,57:T,67:i},{33:[1,114]},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,34],34:g,35:y,36:m,38:v,41:[1,115],42:_,46:b,47:x,48:w,49:k,57:T,67:i},{33:[1,116]},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:u,21:20,22:l,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,32],34:g,35:y,36:m,38:v,40:[1,117],42:_,46:b,47:x,48:w,49:k,57:T,67:i},{17:118,57:T},{17:119,57:T},{31:120,66:S},{31:121,66:S},{31:122,66:S},{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]},t(C,[2,26]),t(C,[2,27]),t(C,[2,28]),t(C,[2,29]),{19:[1,127]},t(C,[2,30]),{19:[1,128]},{31:129,66:S},{31:130,66:S},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:T},t(O,[2,11]),t(C,[2,12]),t(C,[2,14]),t(A,a,{8:95,37:132}),t(N,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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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: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 e.yytext=e.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 39:return 5;case 40:return e.yytext=e.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 52:return 5;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 I(){this.yy={}}return B.lexer=L,I.prototype=B,B.Parser=I,new I}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1993).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},5784:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,30],d=[1,23],p=[1,24],g=[1,25],y=[1,26],m=[1,27],v=[1,32],_=[1,33],b=[1,34],x=[1,35],w=[1,31],k=[1,38],T=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],E=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],C=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],S=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],M={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,"--\x3e":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:"--\x3e",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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:this.$=a[s];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:a[s],type:"default",description:""};break;case 11:this.$={stmt:"state",id:a[s-1],type:"default",description:r.trimColon(a[s])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-2],type:"default",description:""},state2:{stmt:"state",id:a[s],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-3],type:"default",description:""},state2:{stmt:"state",id:a[s-1],type:"default",description:""},description:a[s].substr(1).trim()};break;case 17:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 18:var c=a[s],u=a[s-2].trim();if(a[s].match(":")){var l=a[s].split(":");c=l[0],u=[u,l[1]]}this.$={stmt:"state",id:c,type:"default",description:u};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 20:this.$={stmt:"state",id:a[s],type:"fork"};break;case 21:this.$={stmt:"state",id:a[s],type:"join"};break;case 22:this.$={stmt:"state",id:a[s],type:"choice"};break;case 23:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 36:case 37:this.$=a[s];break;case 40:r.parseDirective("%%{","open_directive");break;case 41:r.parseDirective(a[s],"type_directive");break;case 42:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 43:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:r,31:6,45:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,31:6,45:i},{3:9,4:e,5:n,6:4,7:r,31:6,45:i},{3:10,4:e,5:n,6:4,7:r,31:6,45:i},t([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:o,5:s,6:28,9:14,10:16,11:18,14:c,15:u,17:l,20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:_,38:b,39:x,42:w,45:i},{33:36,34:[1,37],48:k},t([34,48],[2,41]),t(T,[2,6]),{6:28,10:39,11:18,14:c,15:u,17:l,20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:_,38:b,39:x,42:w,45:i},t(T,[2,8]),t(T,[2,9]),t(T,[2,10],{12:[1,40],13:[1,41]}),t(T,[2,14]),{16:[1,42]},t(T,[2,16],{18:[1,43]}),{21:[1,44]},t(T,[2,20]),t(T,[2,21]),t(T,[2,22]),t(T,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},t(T,[2,26]),t(T,[2,27]),t(E,[2,36]),t(E,[2,37]),t(T,[2,30]),t(T,[2,31]),t(T,[2,32]),t(T,[2,33]),t(C,[2,28]),{35:49,47:[1,50]},t(C,[2,43]),t(T,[2,7]),t(T,[2,11]),{11:51,22:f,42:w},t(T,[2,15]),t(S,a,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:k},{48:[2,42]},t(T,[2,12],{12:[1,57]}),{4:o,5:s,6:28,9:14,10:16,11:18,14:c,15:u,17:l,19:[1,58],20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:_,38:b,39:x,42:w,45:i},t(T,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},t(C,[2,29]),t(T,[2,13]),t(T,[2,17]),t(S,a,{8:62}),t(T,[2,24]),t(T,[2,25]),{4:o,5:s,6:28,9:14,10:16,11:18,14:c,15:u,17:l,19:[1,63],20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:_,38:b,39:x,42:w,45:i},t(T,[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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},A={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 36;case 1:return 37;case 2:return 38;case 3: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:break;case 11:return 5;case 12:case 13:case 14:case 15:break;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:this.popState();break;case 19:this.pushState("STATE");break;case 20:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 21:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 22:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),25;case 23:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 24:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 25:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),25;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:this.begin("STATE_STRING");break;case 31:return this.popState(),this.pushState("STATE_ID"),"AS";case 32:return this.popState(),"ID";case 33:this.popState();break;case 34:return"STATE_DESCR";case 35:return 17;case 36:this.popState();break;case 37:return this.popState(),this.pushState("struct"),18;case 38:return this.popState(),19;case 39:break;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 45:break;case 46:return"NOTE_TEXT";case 47:return this.popState(),"ID";case 48:return this.popState(),this.pushState("NOTE_TEXT"),22;case 49:return this.popState(),e.yytext=e.yytext.substr(2).trim(),29;case 50:return this.popState(),e.yytext=e.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 e.yytext=e.yytext.trim(),12;case 57:return 13;case 58:return 26;case 59:return 5;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 N(){this.yy={}}return M.lexer=A,N.prototype=M,M.Parser=N,new N}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(3069).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9690:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,17,18,19,21],i=[1,15],a=[1,16],o=[1,17],s=[1,21],c=[4,6,9,11,17,18,19,21],u={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 7:case 8:this.$=[];break;case 11:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$="task";break;case 15:r.parseDirective("%%{","open_directive");break;case 16:r.parseDirective(a[s],"type_directive");break;case 17:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 18:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,21:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,21:n},{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:i,18:a,19:o,21:n},{1:[2,2]},{14:19,15:[1,20],24:s},t([15,24],[2,16]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:18,10:22,12:4,17:i,18:a,19:o,21:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,12]),{20:[1,23]},t(r,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},t(r,[2,5]),t(r,[2,13]),t(c,[2,9]),{14:27,24:s},{24:[2,17]},{11:[1,28]},t(c,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;a.push(y);var m=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,b,x,w,k,T,E,C,S,M={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==_&&(_=v()),w=o[x]&&o[x][_]),void 0===w||!w.length||!w[0]){var A="";for(T in S=[],o[x])this.terminals_[T]&&T>l&&S.push("'"+this.terminals_[T]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(_==h?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:S})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+_);switch(w[0]){case 1:n.push(_),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),_=null,b?(_=b,b=null):(u=d.yyleng,s=d.yytext,c=d.yylineno,y=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],M.$=i[i.length-E],M._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},m&&(M._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(M,[s,u,c,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(M.$),a.push(M._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0}},l={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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:break;case 7:return 11;case 8:case 9:break;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 h(){this.yy={}}return u.lexer=l,h.prototype=u,u.Parser=h,new h}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(9143).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9609:t=>{var e=/^(%20|\s)*(javascript|data)/im,n=/[^\x20-\x7E]/gim,r=/^([^:]+):/gm,i=[".","/"];t.exports={sanitizeUrl:function(t){if(!t)return"about:blank";var a,o,s,c=t.replace(n,"").trim();return s=c,i.indexOf(s[0])>-1?c:(o=c.match(r))?(a=o[0],e.test(a)?"about:blank":c):"about:blank"}}},3841:t=>{t.exports=function(t,e){return t.intersect(e)}},4640:(t,e,n)=>{n.d(e,{Z:()=>ET});var r=n(1941),i=n.n(r),a={debug:1,info:2,warn:3,error:4,fatal:5},o={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal";isNaN(t)&&(t=t.toLowerCase(),void 0!==a[t]&&(t=a[t])),o.trace=function(){},o.debug=function(){},o.info=function(){},o.warn=function(){},o.error=function(){},o.fatal=function(){},t<=a.fatal&&(o.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"",c("FATAL"))),t<=a.error&&(o.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"",c("ERROR"))),t<=a.warn&&(o.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,"",c("WARN"))),t<=a.info&&(o.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"",c("INFO"))),t<=a.debug&&(o.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"",c("DEBUG")))},c=function(t){var e=i()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function u(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function l(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function h(t){return t}var f=1e-6;function d(t){return"translate("+t+",0)"}function p(t){return"translate(0,"+t+")"}function g(t){return e=>+t(e)}function y(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function m(){return!this.__axis}function v(t,e){var n=[],r=null,i=null,a=6,o=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,u=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",v=1===t||3===t?d:p;function _(d){var p=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,_=null==i?e.tickFormat?e.tickFormat.apply(e,n):h:i,b=Math.max(a,0)+s,x=e.range(),w=+x[0]+c,k=+x[x.length-1]+c,T=(e.bandwidth?y:g)(e.copy(),c),E=d.selection?d.selection():d,C=E.selectAll(".domain").data([null]),S=E.selectAll(".tick").data(p,e).order(),M=S.exit(),A=S.enter().append("g").attr("class","tick"),N=S.select("line"),D=S.select("text");C=C.merge(C.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),S=S.merge(A),N=N.merge(A.append("line").attr("stroke","currentColor").attr(l+"2",u*a)),D=D.merge(A.append("text").attr("fill","currentColor").attr(l,u*b).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),d!==E&&(C=C.transition(d),S=S.transition(d),N=N.transition(d),D=D.transition(d),M=M.transition(d).attr("opacity",f).attr("transform",(function(t){return isFinite(t=T(t))?v(t+c):this.getAttribute("transform")})),A.attr("opacity",f).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:T(t))+c)}))),M.remove(),C.attr("d",4===t||2===t?o?"M"+u*o+","+w+"H"+c+"V"+k+"H"+u*o:"M"+c+","+w+"V"+k:o?"M"+w+","+u*o+"V"+c+"H"+k+"V"+u*o:"M"+w+","+c+"H"+k),S.attr("opacity",1).attr("transform",(function(t){return v(T(t)+c)})),N.attr(l+"2",u*a),D.attr(l,u*b).text(_),E.filter(m).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),E.each((function(){this.__axis=T}))}return _.scale=function(t){return arguments.length?(e=t,_):e},_.ticks=function(){return n=Array.from(arguments),_},_.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),_):n.slice()},_.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),_):r&&r.slice()},_.tickFormat=function(t){return arguments.length?(i=t,_):i},_.tickSize=function(t){return arguments.length?(a=o=+t,_):a},_.tickSizeInner=function(t){return arguments.length?(a=+t,_):a},_.tickSizeOuter=function(t){return arguments.length?(o=+t,_):o},_.tickPadding=function(t){return arguments.length?(s=+t,_):s},_.offset=function(t){return arguments.length?(c=+t,_):c},_}function _(){}function b(t){return null==t?_:function(){return this.querySelector(t)}}function x(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function w(){return[]}function k(t){return null==t?w:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function E(t){return function(e){return e.matches(t)}}var C=Array.prototype.find;function S(){return this.firstElementChild}var M=Array.prototype.filter;function A(){return Array.from(this.children)}function N(t){return new Array(t.length)}function D(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function O(t){return function(){return t}}function B(t,e,n,r,i,a){for(var o,s=0,c=e.length,u=a.length;se?1:t>=e?0:NaN}D.prototype={constructor:D,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 P="http://www.w3.org/1999/xhtml";const Y={svg:"http://www.w3.org/2000/svg",xhtml:P,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function j(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Y.hasOwnProperty(e)?{space:Y[e],local:t}:t}function U(t){return function(){this.removeAttribute(t)}}function z(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $(t,e){return function(){this.setAttribute(t,e)}}function H(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function q(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function V(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function G(t){return function(){this.style.removeProperty(t)}}function X(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Z(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Q(t,e){return t.style.getPropertyValue(e)||V(t).getComputedStyle(t,null).getPropertyValue(e)}function J(t){return function(){delete this[t]}}function K(t,e){return function(){this[t]=e}}function tt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function et(t){return t.trim().split(/^|\s+/)}function nt(t){return t.classList||new rt(t)}function rt(t){this._node=t,this._names=et(t.getAttribute("class")||"")}function it(t,e){for(var n=nt(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Et(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Nt=[null];function Dt(t,e){this._groups=t,this._parents=e}function Ot(){return new Dt([[document.documentElement]],Nt)}Dt.prototype=Ot.prototype={constructor:Dt,select:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=b+1);!(_=y[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=F);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?G:"function"==typeof e?Z:X)(t,e,null==n?"":n)):Q(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?J:"function"==typeof e?tt:K)(t,e)):this.node()[t]},classed:function(t,e){var n=et(t+"");if(arguments.length<2){for(var r=nt(this.node()),i=-1,a=n.length;++i{}};function It(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Pt(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--$t}()}finally{$t=0,function(){for(var t,e,n=Ut,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Ut=e);zt=t,re(r)}(),Vt=0}}function ne(){var t=Xt.now(),e=t-qt;e>1e3&&(Gt-=e,qt=t)}function re(t){$t||(Ht&&(Ht=clearTimeout(Ht)),t-Vt>24?(t<1/0&&(Ht=setTimeout(ee,t-Xt.now()-Gt)),Wt&&(Wt=clearInterval(Wt))):(Wt||(qt=Xt.now(),Wt=setInterval(ne,1e3)),$t=1,Zt(ee)))}function ie(t,e,n){var r=new Kt;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Kt.prototype=te.prototype={constructor:Kt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Qt():+n)+(null==e?0:+e),this._next||zt===this||(zt?zt._next=this:Ut=this,zt=this),this._call=t,this._time=n,re()},stop:function(){this._call&&(this._call=null,this._time=1/0,re())}};var ae=jt("start","end","cancel","interrupt"),oe=[];function se(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var u,l,h,f;if(1!==n.state)return s();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return ie(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u0)throw new Error("too late; already scheduled");return n}function ue(t,e){var n=le(t,e);if(n.state>3)throw new Error("too late; already running");return n}function le(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function he(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var fe,de=180/Math.PI,pe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ge(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r180?c+=360:c-s>180&&(s+=360),l.push({i:u.push(i(u)+"rotate(",null,r)-2,x:he(s,c)})):c&&u.push(i(u)+"rotate("+c+r),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:he(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,h,f),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:he(t,n)},{i:s-2,x:he(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ze(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ze(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=De.exec(t))?new We(e[1],e[2],e[3],1):(e=Oe.exec(t))?new We(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Be.exec(t))?ze(e[1],e[2],e[3],e[4]):(e=Le.exec(t))?ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ie.exec(t))?Xe(e[1],e[2]/100,e[3]/100,1):(e=Re.exec(t))?Xe(e[1],e[2]/100,e[3]/100,e[4]):Fe.hasOwnProperty(t)?Ue(Fe[t]):"transparent"===t?new We(NaN,NaN,NaN,0):null}function Ue(t){return new We(t>>16&255,t>>8&255,255&t,1)}function ze(t,e,n,r){return r<=0&&(t=e=n=NaN),new We(t,e,n,r)}function $e(t){return t instanceof Te||(t=je(t)),t?new We((t=t.rgb()).r,t.g,t.b,t.opacity):new We}function He(t,e,n,r){return 1===arguments.length?$e(t):new We(t,e,n,null==r?1:r)}function We(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function qe(){return"#"+Ge(this.r)+Ge(this.g)+Ge(this.b)}function Ve(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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))+(1===t?")":", "+t+")")}function Ge(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Xe(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Qe(t,e,n,r)}function Ze(t){if(t instanceof Qe)return new Qe(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=je(t)),!t)return new Qe;if(t instanceof Qe)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&c<1?0:o,new Qe(o,s,c,t.opacity)}function Qe(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Je(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}we(Te,je,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Pe,formatHex:Pe,formatHsl:function(){return Ze(this).formatHsl()},formatRgb:Ye,toString:Ye}),we(We,He,ke(Te,{brighter:function(t){return t=null==t?Ce:Math.pow(Ce,t),new We(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ee:Math.pow(Ee,t),new We(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:qe,formatHex:qe,formatRgb:Ve,toString:Ve})),we(Qe,(function(t,e,n,r){return 1===arguments.length?Ze(t):new Qe(t,e,n,null==r?1:r)}),ke(Te,{brighter:function(t){return t=null==t?Ce:Math.pow(Ce,t),new Qe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ee:Math.pow(Ee,t),new Qe(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,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new We(Je(t>=240?t-240:t+120,i,r),Je(t,i,r),Je(t<120?t+240:t-120,i,r),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(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const Ke=t=>()=>t;function tn(t,e){var n,r,i=e-t;return i?(n=t,r=i,function(t){return n+t*r}):Ke(isNaN(t)?e:t)}const en=function t(e){var n,r=1==(n=+(n=e))?tn:function(t,e){return e-t?(r=t,i=e,a=n,r=Math.pow(r,a),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):Ke(isNaN(t)?e:t);var r,i,a};function i(t,e){var n=r((t=He(t)).r,(e=He(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=tn(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);var nn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rn=new RegExp(nn.source,"g");function an(t,e){var n,r,i,a,o=nn.lastIndex=rn.lastIndex=0,s=-1,c=[],u=[];for(t+="",e+="";(n=nn.exec(t))&&(r=rn.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,u.push({i:s,x:he(n,r)})),o=rn.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))?ce:ue;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var kn=Bt.prototype.constructor;function Tn(t){return function(){this.style.removeProperty(t)}}function En(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Cn(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&En(t,a,n)),r}return a._value=e,a}function Sn(t){return function(e){this.textContent=t.call(this,e)}}function Mn(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Sn(r)),e}return r._value=t,r}var An=0;function Nn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Dn(){return++An}var On=Bt.prototype;Nn.prototype={constructor:Nn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=b(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Bt.prototype.transition=function(t){var e,n;t instanceof Nn?(e=t._id,t=t._name):(e=Dn(),(n=Bn).time=Qt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?er(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?er(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=Hn.exec(t))?new ir(e[1],e[2],e[3],1):(e=Wn.exec(t))?new ir(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=qn.exec(t))?er(e[1],e[2],e[3],e[4]):(e=Vn.exec(t))?er(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Gn.exec(t))?cr(e[1],e[2]/100,e[3]/100,1):(e=Xn.exec(t))?cr(e[1],e[2]/100,e[3]/100,e[4]):Zn.hasOwnProperty(t)?tr(Zn[t]):"transparent"===t?new ir(NaN,NaN,NaN,0):null}function tr(t){return new ir(t>>16&255,t>>8&255,255&t,1)}function er(t,e,n,r){return r<=0&&(t=e=n=NaN),new ir(t,e,n,r)}function nr(t){return t instanceof Fn||(t=Kn(t)),t?new ir((t=t.rgb()).r,t.g,t.b,t.opacity):new ir}function rr(t,e,n,r){return 1===arguments.length?nr(t):new ir(t,e,n,null==r?1:r)}function ir(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ar(){return"#"+sr(this.r)+sr(this.g)+sr(this.b)}function or(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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))+(1===t?")":", "+t+")")}function sr(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function cr(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new lr(t,e,n,r)}function ur(t){if(t instanceof lr)return new lr(t.h,t.s,t.l,t.opacity);if(t instanceof Fn||(t=Kn(t)),!t)return new lr;if(t instanceof lr)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&c<1?0:o,new lr(o,s,c,t.opacity)}function lr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function hr(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}In(Fn,Kn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Qn,formatHex:Qn,formatHsl:function(){return ur(this).formatHsl()},formatRgb:Jn,toString:Jn}),In(ir,rr,Rn(Fn,{brighter:function(t){return t=null==t?Yn:Math.pow(Yn,t),new ir(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Pn:Math.pow(Pn,t),new ir(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:ar,formatHex:ar,formatRgb:or,toString:or})),In(lr,(function(t,e,n,r){return 1===arguments.length?ur(t):new lr(t,e,n,null==r?1:r)}),Rn(Fn,{brighter:function(t){return t=null==t?Yn:Math.pow(Yn,t),new lr(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Pn:Math.pow(Pn,t),new lr(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,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new ir(hr(t>=240?t-240:t+120,i,r),hr(t,i,r),hr(t<120?t+240:t-120,i,r),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(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const fr=Math.PI/180,dr=180/Math.PI,pr=.96422,gr=.82521,yr=4/29,mr=6/29,vr=3*mr*mr;function _r(t){if(t instanceof br)return new br(t.l,t.a,t.b,t.opacity);if(t instanceof Sr)return Mr(t);t instanceof ir||(t=nr(t));var e,n,r=Tr(t.r),i=Tr(t.g),a=Tr(t.b),o=xr((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?e=n=o:(e=xr((.4360747*r+.3850649*i+.1430804*a)/pr),n=xr((.0139322*r+.0971045*i+.7141733*a)/gr)),new br(116*o-16,500*(e-o),200*(o-n),t.opacity)}function br(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function xr(t){return t>.008856451679035631?Math.pow(t,1/3):t/vr+yr}function wr(t){return t>mr?t*t*t:vr*(t-yr)}function kr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Tr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Er(t){if(t instanceof Sr)return new Sr(t.h,t.c,t.l,t.opacity);if(t instanceof br||(t=_r(t)),0===t.a&&0===t.b)return new Sr(NaN,0()=>t;function Nr(t,e){return function(n){return t+n*e}}function Dr(t,e){var n=e-t;return n?Nr(t,n):Ar(isNaN(t)?e:t)}const Or=(Br=function(t,e){var n=e-t;return n?Nr(t,n>180||n<-180?n-360*Math.round(n/360):n):Ar(isNaN(t)?e:t)},function(t,e){var n=Br((t=Cr(t)).h,(e=Cr(e)).h),r=Dr(t.c,e.c),i=Dr(t.l,e.l),a=Dr(t.opacity,e.opacity);return function(e){return t.h=n(e),t.c=r(e),t.l=i(e),t.opacity=a(e),t+""}});var Br,Lr=Math.sqrt(50),Ir=Math.sqrt(10),Rr=Math.sqrt(2);function Fr(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=Lr?10:a>=Ir?5:a>=Rr?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=Lr?10:a>=Ir?5:a>=Rr?2:1)}function Pr(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=Lr?i*=10:a>=Ir?i*=5:a>=Rr&&(i*=2),ee?1:t>=e?0:NaN}function jr(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[a],e)<0?r=a+1:i=a}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,i=t,n=(t,e)=>Yr(i(t),e)),{left:r,center:function(t,n,i,a){null==i&&(i=0),null==a&&(a=t.length);const o=r(t,n,i,a-1);return o>i&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[a],e)>0?i=a:r=a+1}return r}};var i}const Ur=jr(Yr).right,zr=(jr((function(t){return null===t?NaN:+t})).center,Ur);function $r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Hr(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Wr(){}var qr=.7,Vr=1.4285714285714286,Gr="\\s*([+-]?\\d+)\\s*",Xr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Zr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Qr=/^#([0-9a-f]{3,8})$/,Jr=new RegExp("^rgb\\("+[Gr,Gr,Gr]+"\\)$"),Kr=new RegExp("^rgb\\("+[Zr,Zr,Zr]+"\\)$"),ti=new RegExp("^rgba\\("+[Gr,Gr,Gr,Xr]+"\\)$"),ei=new RegExp("^rgba\\("+[Zr,Zr,Zr,Xr]+"\\)$"),ni=new RegExp("^hsl\\("+[Xr,Zr,Zr]+"\\)$"),ri=new RegExp("^hsla\\("+[Xr,Zr,Zr,Xr]+"\\)$"),ii={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ai(){return this.rgb().formatHex()}function oi(){return this.rgb().formatRgb()}function si(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Qr.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?ci(e):3===n?new fi(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ui(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ui(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=Jr.exec(t))?new fi(e[1],e[2],e[3],1):(e=Kr.exec(t))?new fi(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ti.exec(t))?ui(e[1],e[2],e[3],e[4]):(e=ei.exec(t))?ui(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ni.exec(t))?yi(e[1],e[2]/100,e[3]/100,1):(e=ri.exec(t))?yi(e[1],e[2]/100,e[3]/100,e[4]):ii.hasOwnProperty(t)?ci(ii[t]):"transparent"===t?new fi(NaN,NaN,NaN,0):null}function ci(t){return new fi(t>>16&255,t>>8&255,255&t,1)}function ui(t,e,n,r){return r<=0&&(t=e=n=NaN),new fi(t,e,n,r)}function li(t){return t instanceof Wr||(t=si(t)),t?new fi((t=t.rgb()).r,t.g,t.b,t.opacity):new fi}function hi(t,e,n,r){return 1===arguments.length?li(t):new fi(t,e,n,null==r?1:r)}function fi(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function di(){return"#"+gi(this.r)+gi(this.g)+gi(this.b)}function pi(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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))+(1===t?")":", "+t+")")}function gi(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function yi(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new vi(t,e,n,r)}function mi(t){if(t instanceof vi)return new vi(t.h,t.s,t.l,t.opacity);if(t instanceof Wr||(t=si(t)),!t)return new vi;if(t instanceof vi)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&c<1?0:o,new vi(o,s,c,t.opacity)}function vi(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function _i(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}$r(Wr,si,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ai,formatHex:ai,formatHsl:function(){return mi(this).formatHsl()},formatRgb:oi,toString:oi}),$r(fi,hi,Hr(Wr,{brighter:function(t){return t=null==t?Vr:Math.pow(Vr,t),new fi(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?qr:Math.pow(qr,t),new fi(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:di,formatHex:di,formatRgb:pi,toString:pi})),$r(vi,(function(t,e,n,r){return 1===arguments.length?mi(t):new vi(t,e,n,null==r?1:r)}),Hr(Wr,{brighter:function(t){return t=null==t?Vr:Math.pow(Vr,t),new vi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?qr:Math.pow(qr,t),new vi(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,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new fi(_i(t>=240?t-240:t+120,i,r),_i(t,i,r),_i(t<120?t+240:t-120,i,r),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(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const bi=t=>()=>t;function xi(t,e){var n,r,i=e-t;return i?(n=t,r=i,function(t){return n+t*r}):bi(isNaN(t)?e:t)}const wi=function t(e){var n,r=1==(n=+(n=e))?xi:function(t,e){return e-t?(r=t,i=e,a=n,r=Math.pow(r,a),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):bi(isNaN(t)?e:t);var r,i,a};function i(t,e){var n=r((t=hi(t)).r,(e=hi(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=xi(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function ki(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;no&&(i=e.slice(o,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,u.push({i:s,x:Ei(n,r)})),o=Mi.lastIndex;return oe&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?Pi:Fi,i=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(o.map(t),s,c)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=r(s,o.map(t),Ei)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Bi),l()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=Oi,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ii,l()):u!==Ii},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Ii,Ii)}function Ui(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var zi,$i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hi(t){if(!(e=$i.exec(t)))throw new Error("invalid format: "+t);var e;return new Wi({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 Wi(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function qi(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Vi(t){return(t=qi(Math.abs(t)))?t[1]:NaN}function Gi(t,e){var n=qi(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Hi.prototype=Wi.prototype,Wi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Xi={"%":(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)=>Gi(100*t,e),r:Gi,s:function(t,e){var n=qi(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(zi=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+qi(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Zi(t){return t}var Qi,Ji,Ki,ta=Array.prototype.map,ea=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function na(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,a,o,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/o),r=Math.round(e/o);for(n*oe&&--r,a=new Array(i=r-n+1);++se&&--r,a=new Array(i=r-n+1);++s0;){if((i=Fr(c,u,n))===r)return a[o]=c,a[s]=u,e(a);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}r=i}return t},t}function ra(){var t=ji();return t.copy=function(){return Yi(t,ra())},Ui.apply(t,arguments),na(t)}Qi=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?Zi:(e=ta.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(t.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?Zi:(r=ta.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,(function(t){return r[+t]}))}),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=Hi(t)).fill,n=t.align,r=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Xi[v]||(void 0===y&&(y=12),m=!0,v="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var _="$"===f?a:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===f?o:/[%p]/.test(v)?u:"",x=Xi[v],w=/[defgprs%]/.test(v);function k(t){var a,o,u,f=_,k=b;if("c"===v)k=x(t)+k,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:x(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==r&&(T=!1),f=(T?"("===r?r:l:"-"===r||"("===r?"":r)+f,k=("s"===v?ea[8+zi/3]:"")+k+(T&&"("===r?")":""),w)for(a=-1,o=t.length;++a(u=t.charCodeAt(a))||u>57){k=(46===u?s+t.slice(a+1):t.slice(a))+k,t=t.slice(0,a);break}}g&&!d&&(t=i(t,1/0));var E=f.length+t.length+k.length,C=E>1)+f+t+k+C.slice(E);break;default:t=C+f+t+k}return c(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,e){var n=f(((t=Hi(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Vi(e)/3))),i=Math.pow(10,-r),a=ea[8+r/3];return function(t){return n(i*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ji=Qi.format,Ki=Qi.formatPrefix;class ia extends Map{constructor(t,e=oa){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(aa(this,t))}has(t){return super.has(aa(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(n),t.delete(r)),n}(this,t))}}function aa({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function oa(t){return null!==t&&"object"==typeof t?t.valueOf():t}const sa=Symbol("implicit");function ca(){var t=new ia,e=[],n=[],r=sa;function i(i){let a=t.get(i);if(void 0===a){if(r!==sa)return r;t.set(i,a=e.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new ia;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return ca(e,n).unknown(r)},Ui.apply(i,arguments),i}const ua=1e3,la=6e4,ha=36e5,fa=864e5,da=6048e5,pa=31536e6;var ga=new Date,ya=new Date;function ma(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return ga.setTime(+e),ya.setTime(+r),t(ga),t(ya),Math.floor(n(ga,ya))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var va=ma((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));va.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ma((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):va:null};const _a=va;const ba=ma((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*ua)}),(function(t,e){return(e-t)/ua}),(function(t){return t.getUTCSeconds()}));const xa=ma((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ua)}),(function(t,e){t.setTime(+t+e*la)}),(function(t,e){return(e-t)/la}),(function(t){return t.getMinutes()}));const wa=ma((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ua-t.getMinutes()*la)}),(function(t,e){t.setTime(+t+e*ha)}),(function(t,e){return(e-t)/ha}),(function(t){return t.getHours()}));const ka=ma((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*la)/fa),(t=>t.getDate()-1));function Ta(t){return ma((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*la)/da}))}var Ea=Ta(0),Ca=Ta(1);Ta(2),Ta(3);var Sa=Ta(4);Ta(5),Ta(6);const Ma=ma((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()}));var Aa=ma((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()}));Aa.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ma((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const Na=Aa;ma((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*la)}),(function(t,e){return(e-t)/la}),(function(t){return t.getUTCMinutes()})),ma((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*ha)}),(function(t,e){return(e-t)/ha}),(function(t){return t.getUTCHours()}));const Da=ma((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/fa}),(function(t){return t.getUTCDate()-1}));function Oa(t){return ma((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/da}))}var Ba=Oa(0),La=Oa(1);Oa(2),Oa(3);var Ia=Oa(4);Oa(5),Oa(6),ma((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 Ra=ma((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()}));Ra.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ma((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const Fa=Ra;const[Pa,Ya]=function(t,e,n,r,i,a){const o=[[ba,1,ua],[ba,5,5e3],[ba,15,15e3],[ba,30,3e4],[a,1,la],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,ha],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,fa],[r,2,1728e5],[n,1,da],[e,1,2592e6],[e,3,7776e6],[t,1,pa]];function s(e,n,r){const i=Math.abs(n-e)/r,a=jr((([,,t])=>t)).right(o,i);if(a===o.length)return t.every(Pr(e/pa,n/pa,r));if(0===a)return _a.every(Math.max(Pr(e,n,r),1));const[s,c]=o[i/o[a-1][2][t.toLowerCase(),e])))}function Ka(t,e,n){var r=qa.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function to(t,e,n){var r=qa.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function eo(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function no(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function ro(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function io(t,e,n){var r=qa.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ao(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function oo(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function so(t,e,n){var r=qa.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function co(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function uo(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function lo(t,e,n){var r=qa.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ho(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function fo(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function po(t,e,n){var r=qa.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function go(t,e,n){var r=qa.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function yo(t,e,n){var r=qa.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function mo(t,e,n){var r=Va.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function vo(t,e,n){var r=qa.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function _o(t,e,n){var r=qa.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function bo(t,e){return Xa(t.getDate(),e,2)}function xo(t,e){return Xa(t.getHours(),e,2)}function wo(t,e){return Xa(t.getHours()%12||12,e,2)}function ko(t,e){return Xa(1+ka.count(Na(t),t),e,3)}function To(t,e){return Xa(t.getMilliseconds(),e,3)}function Eo(t,e){return To(t,e)+"000"}function Co(t,e){return Xa(t.getMonth()+1,e,2)}function So(t,e){return Xa(t.getMinutes(),e,2)}function Mo(t,e){return Xa(t.getSeconds(),e,2)}function Ao(t){var e=t.getDay();return 0===e?7:e}function No(t,e){return Xa(Ea.count(Na(t)-1,t),e,2)}function Do(t){var e=t.getDay();return e>=4||0===e?Sa(t):Sa.ceil(t)}function Oo(t,e){return t=Do(t),Xa(Sa.count(Na(t),t)+(4===Na(t).getDay()),e,2)}function Bo(t){return t.getDay()}function Lo(t,e){return Xa(Ca.count(Na(t)-1,t),e,2)}function Io(t,e){return Xa(t.getFullYear()%100,e,2)}function Ro(t,e){return Xa((t=Do(t)).getFullYear()%100,e,2)}function Fo(t,e){return Xa(t.getFullYear()%1e4,e,4)}function Po(t,e){var n=t.getDay();return Xa((t=n>=4||0===n?Sa(t):Sa.ceil(t)).getFullYear()%1e4,e,4)}function Yo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Xa(e/60|0,"0",2)+Xa(e%60,"0",2)}function jo(t,e){return Xa(t.getUTCDate(),e,2)}function Uo(t,e){return Xa(t.getUTCHours(),e,2)}function zo(t,e){return Xa(t.getUTCHours()%12||12,e,2)}function $o(t,e){return Xa(1+Da.count(Fa(t),t),e,3)}function Ho(t,e){return Xa(t.getUTCMilliseconds(),e,3)}function Wo(t,e){return Ho(t,e)+"000"}function qo(t,e){return Xa(t.getUTCMonth()+1,e,2)}function Vo(t,e){return Xa(t.getUTCMinutes(),e,2)}function Go(t,e){return Xa(t.getUTCSeconds(),e,2)}function Xo(t){var e=t.getUTCDay();return 0===e?7:e}function Zo(t,e){return Xa(Ba.count(Fa(t)-1,t),e,2)}function Qo(t){var e=t.getUTCDay();return e>=4||0===e?Ia(t):Ia.ceil(t)}function Jo(t,e){return t=Qo(t),Xa(Ia.count(Fa(t),t)+(4===Fa(t).getUTCDay()),e,2)}function Ko(t){return t.getUTCDay()}function ts(t,e){return Xa(La.count(Fa(t)-1,t),e,2)}function es(t,e){return Xa(t.getUTCFullYear()%100,e,2)}function ns(t,e){return Xa((t=Qo(t)).getUTCFullYear()%100,e,2)}function rs(t,e){return Xa(t.getUTCFullYear()%1e4,e,4)}function is(t,e){var n=t.getUTCDay();return Xa((t=n>=4||0===n?Ia(t):Ia.ceil(t)).getUTCFullYear()%1e4,e,4)}function as(){return"+0000"}function os(){return"%"}function ss(t){return+t}function cs(t){return Math.floor(+t/1e3)}function us(t){return new Date(t)}function ls(t){return t instanceof Date?+t:+new Date(+t)}function hs(t,e,n,r,i,a,o,s,c,u){var l=ji(),h=l.invert,f=l.domain,d=u(".%L"),p=u(":%S"),g=u("%I:%M"),y=u("%I %p"),m=u("%a %d"),v=u("%b %d"),_=u("%B"),b=u("%Y");function x(t){return(c(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ss,s:cs,S:Mo,u:Ao,U:No,V:Oo,w:Bo,W:Lo,x:null,X:null,y:Io,Y:Fo,Z:Yo,"%":os},b={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:jo,e:jo,f:Wo,g:ns,G:is,H:Uo,I:zo,j:$o,L:Ho,m:qo,M:Vo,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ss,s:cs,S:Go,u:Xo,U:Zo,V:Jo,w:Ko,W:ts,x:null,X:null,y:es,Y:rs,Z:as,"%":os},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:uo,e:uo,f:yo,g:ao,G:io,H:ho,I:ho,j:lo,L:go,m:co,M:fo,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:so,Q:vo,s:_o,S:po,u:to,U:eo,V:no,w:Ka,W:ro,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:ao,Y:io,Z:oo,"%":mo};function w(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=Ua(za(a.y,0,1))).getUTCDay(),r=i>4||0===i?La.ceil(r):La(r),r=Da.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=ja(za(a.y,0,1))).getDay(),r=i>4||0===i?Ca.ceil(r):Ca(r),r=ka.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?Ua(za(a.y,0,1)).getUTCDay():ja(za(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Ua(a)):ja(a)}}function T(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in Wa?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=w(n,_),_.X=w(r,_),_.c=w(e,_),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({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"]}),Ha=$a.format,$a.parse,$a.utcFormat,$a.utcParse;var _s=Array.prototype.find;function bs(){return this.firstElementChild}var xs=Array.prototype.filter;function ws(){return Array.from(this.children)}function ks(t){return new Array(t.length)}function Ts(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Es(t){return function(){return t}}function Cs(t,e,n,r,i,a){for(var o,s=0,c=e.length,u=a.length;se?1:t>=e?0:NaN}Ts.prototype={constructor:Ts,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 Ds="http://www.w3.org/1999/xhtml";const Os={svg:"http://www.w3.org/2000/svg",xhtml:Ds,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Bs(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Os.hasOwnProperty(e)?{space:Os[e],local:t}:t}function Ls(t){return function(){this.removeAttribute(t)}}function Is(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Rs(t,e){return function(){this.setAttribute(t,e)}}function Fs(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ps(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ys(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function js(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Us(t){return function(){this.style.removeProperty(t)}}function zs(t,e,n){return function(){this.style.setProperty(t,e,n)}}function $s(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Hs(t,e){return t.style.getPropertyValue(e)||js(t).getComputedStyle(t,null).getPropertyValue(e)}function Ws(t){return function(){delete this[t]}}function qs(t,e){return function(){this[t]=e}}function Vs(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Gs(t){return t.trim().split(/^|\s+/)}function Xs(t){return t.classList||new Zs(t)}function Zs(t){this._node=t,this._names=Gs(t.getAttribute("class")||"")}function Qs(t,e){for(var n=Xs(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function vc(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var kc=[null];function Tc(t,e){this._groups=t,this._parents=e}function Ec(){return new Tc([[document.documentElement]],kc)}Tc.prototype=Ec.prototype={constructor:Tc,select:function(t){"function"!=typeof t&&(t=ds(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=b+1);!(_=y[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Ns);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?Us:"function"==typeof e?$s:zs)(t,e,null==n?"":n)):Hs(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Ws:"function"==typeof e?Vs:qs)(t,e)):this.node()[t]},classed:function(t,e){var n=Gs(t+"");if(arguments.length<2){for(var r=Xs(this.node()),i=-1,a=n.length;++iDc)if(Math.abs(l*s-c*u)>Dc&&i){var f=n-a,d=r-o,p=s*s+c*c,g=f*f+d*d,y=Math.sqrt(p),m=Math.sqrt(h),v=i*Math.tan((Ac-Math.acos((p+h-g)/(2*y*m)))/2),_=v/m,b=v/y;Math.abs(_-1)>Dc&&(this._+="L"+(t+_*u)+","+(e+_*l)),this._+="A"+i+","+i+",0,0,"+ +(l*f>u*d)+","+(this._x1=t+b*s)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=t+o,u=e+s,l=1^a,h=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>Dc||Math.abs(this._y1-u)>Dc)&&(this._+="L"+c+","+u),n&&(h<0&&(h=h%Nc+Nc),h>Oc?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):h>Dc&&(this._+="A"+n+","+n+",0,"+ +(h>=Ac)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const Ic=Lc;function Rc(t){return function(){return t}}var Fc=Math.abs,Pc=Math.atan2,Yc=Math.cos,jc=Math.max,Uc=Math.min,zc=Math.sin,$c=Math.sqrt,Hc=1e-12,Wc=Math.PI,qc=Wc/2,Vc=2*Wc;function Gc(t){return t>1?0:t<-1?Wc:Math.acos(t)}function Xc(t){return t>=1?qc:t<=-1?-qc:Math.asin(t)}function Zc(t){return t.innerRadius}function Qc(t){return t.outerRadius}function Jc(t){return t.startAngle}function Kc(t){return t.endAngle}function tu(t){return t&&t.padAngle}function eu(t,e,n,r,i,a,o,s){var c=n-t,u=r-e,l=o-i,h=s-a,f=h*c-l*u;if(!(f*fN*N+D*D&&(T=C,E=S),{cx:T,cy:E,x01:-l,y01:-h,x11:T*(i/x-1),y11:E*(i/x-1)}}function ru(){var t=Zc,e=Qc,n=Rc(0),r=null,i=Jc,a=Kc,o=tu,s=null;function c(){var c,u,l=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-qc,d=a.apply(this,arguments)-qc,p=Fc(d-f),g=d>f;if(s||(s=c=Ic()),hHc)if(p>Vc-Hc)s.moveTo(h*Yc(f),h*zc(f)),s.arc(0,0,h,f,d,!g),l>Hc&&(s.moveTo(l*Yc(d),l*zc(d)),s.arc(0,0,l,d,f,g));else{var y,m,v=f,_=d,b=f,x=d,w=p,k=p,T=o.apply(this,arguments)/2,E=T>Hc&&(r?+r.apply(this,arguments):$c(l*l+h*h)),C=Uc(Fc(h-l)/2,+n.apply(this,arguments)),S=C,M=C;if(E>Hc){var A=Xc(E/l*zc(T)),N=Xc(E/h*zc(T));(w-=2*A)>Hc?(b+=A*=g?1:-1,x-=A):(w=0,b=x=(f+d)/2),(k-=2*N)>Hc?(v+=N*=g?1:-1,_-=N):(k=0,v=_=(f+d)/2)}var D=h*Yc(v),O=h*zc(v),B=l*Yc(x),L=l*zc(x);if(C>Hc){var I,R=h*Yc(_),F=h*zc(_),P=l*Yc(b),Y=l*zc(b);if(pHc?M>Hc?(y=nu(P,Y,D,O,h,M,g),m=nu(R,F,B,L,h,M,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),MHc&&w>Hc?S>Hc?(y=nu(B,L,R,F,l,-S,g),m=nu(D,O,P,Y,l,-S,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),St?1:e>=t?0:NaN}function hu(t){return t}function fu(){}function du(t,e,n){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+n)/6)}function pu(t){this._context=t}function gu(t){return new pu(t)}function yu(t){this._context=t}function mu(t){this._context=t}function vu(t){this._context=t}function _u(t){return t<0?-1:1}function bu(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(_u(a)+_u(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function xu(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function wu(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function ku(t){this._context=t}function Tu(t){this._context=new Eu(t)}function Eu(t){this._context=t}function Cu(t){this._context=t}function Su(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-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 n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var Au=new Date,Nu=new Date;function Du(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Au.setTime(+e),Nu.setTime(+r),t(Au),t(Nu),Math.floor(n(Au,Nu))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}const Ou=864e5,Bu=6048e5;function Lu(t){return Du((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Bu}))}var Iu=Lu(0),Ru=Lu(1);Lu(2),Lu(3);var Fu=Lu(4);Lu(5),Lu(6);const Pu=Du((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Ou}),(function(t){return t.getUTCDate()-1}));function Yu(t){return Du((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Bu}))}var ju=Yu(0),Uu=Yu(1);Yu(2),Yu(3);var zu=Yu(4);Yu(5),Yu(6);const $u=Du((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Ou),(t=>t.getDate()-1));var Hu=Du((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()}));Hu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Du((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const Wu=Hu;var qu=Du((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()}));qu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Du((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const Vu=qu;function Gu(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 Xu(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 Zu(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Qu,Ju,Ku={"-":"",_:" ",0:"0"},tl=/^\s*\d+/,el=/^%/,nl=/[\\^$*+?|[\]().{}]/g;function rl(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[t.toLowerCase(),e])))}function sl(t,e,n){var r=tl.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function cl(t,e,n){var r=tl.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function ul(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function ll(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function hl(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function fl(t,e,n){var r=tl.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function dl(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function pl(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function gl(t,e,n){var r=tl.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function yl(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ml(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function vl(t,e,n){var r=tl.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function _l(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function bl(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function xl(t,e,n){var r=tl.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function wl(t,e,n){var r=tl.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function kl(t,e,n){var r=tl.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Tl(t,e,n){var r=el.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function El(t,e,n){var r=tl.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Cl(t,e,n){var r=tl.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Sl(t,e){return rl(t.getDate(),e,2)}function Ml(t,e){return rl(t.getHours(),e,2)}function Al(t,e){return rl(t.getHours()%12||12,e,2)}function Nl(t,e){return rl(1+$u.count(Wu(t),t),e,3)}function Dl(t,e){return rl(t.getMilliseconds(),e,3)}function Ol(t,e){return Dl(t,e)+"000"}function Bl(t,e){return rl(t.getMonth()+1,e,2)}function Ll(t,e){return rl(t.getMinutes(),e,2)}function Il(t,e){return rl(t.getSeconds(),e,2)}function Rl(t){var e=t.getDay();return 0===e?7:e}function Fl(t,e){return rl(ju.count(Wu(t)-1,t),e,2)}function Pl(t){var e=t.getDay();return e>=4||0===e?zu(t):zu.ceil(t)}function Yl(t,e){return t=Pl(t),rl(zu.count(Wu(t),t)+(4===Wu(t).getDay()),e,2)}function jl(t){return t.getDay()}function Ul(t,e){return rl(Uu.count(Wu(t)-1,t),e,2)}function zl(t,e){return rl(t.getFullYear()%100,e,2)}function $l(t,e){return rl((t=Pl(t)).getFullYear()%100,e,2)}function Hl(t,e){return rl(t.getFullYear()%1e4,e,4)}function Wl(t,e){var n=t.getDay();return rl((t=n>=4||0===n?zu(t):zu.ceil(t)).getFullYear()%1e4,e,4)}function ql(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+rl(e/60|0,"0",2)+rl(e%60,"0",2)}function Vl(t,e){return rl(t.getUTCDate(),e,2)}function Gl(t,e){return rl(t.getUTCHours(),e,2)}function Xl(t,e){return rl(t.getUTCHours()%12||12,e,2)}function Zl(t,e){return rl(1+Pu.count(Vu(t),t),e,3)}function Ql(t,e){return rl(t.getUTCMilliseconds(),e,3)}function Jl(t,e){return Ql(t,e)+"000"}function Kl(t,e){return rl(t.getUTCMonth()+1,e,2)}function th(t,e){return rl(t.getUTCMinutes(),e,2)}function eh(t,e){return rl(t.getUTCSeconds(),e,2)}function nh(t){var e=t.getUTCDay();return 0===e?7:e}function rh(t,e){return rl(Iu.count(Vu(t)-1,t),e,2)}function ih(t){var e=t.getUTCDay();return e>=4||0===e?Fu(t):Fu.ceil(t)}function ah(t,e){return t=ih(t),rl(Fu.count(Vu(t),t)+(4===Vu(t).getUTCDay()),e,2)}function oh(t){return t.getUTCDay()}function sh(t,e){return rl(Ru.count(Vu(t)-1,t),e,2)}function ch(t,e){return rl(t.getUTCFullYear()%100,e,2)}function uh(t,e){return rl((t=ih(t)).getUTCFullYear()%100,e,2)}function lh(t,e){return rl(t.getUTCFullYear()%1e4,e,4)}function hh(t,e){var n=t.getUTCDay();return rl((t=n>=4||0===n?Fu(t):Fu.ceil(t)).getUTCFullYear()%1e4,e,4)}function fh(){return"+0000"}function dh(){return"%"}function ph(t){return+t}function gh(t){return Math.floor(+t/1e3)}Qu=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=al(i),l=ol(i),h=al(a),f=ol(a),d=al(o),p=ol(o),g=al(s),y=ol(s),m=al(c),v=ol(c),_={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Sl,e:Sl,f:Ol,g:$l,G:Wl,H:Ml,I:Al,j:Nl,L:Dl,m:Bl,M:Ll,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ph,s:gh,S:Il,u:Rl,U:Fl,V:Yl,w:jl,W:Ul,x:null,X:null,y:zl,Y:Hl,Z:ql,"%":dh},b={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Vl,e:Vl,f:Jl,g:uh,G:hh,H:Gl,I:Xl,j:Zl,L:Ql,m:Kl,M:th,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ph,s:gh,S:eh,u:nh,U:rh,V:ah,w:oh,W:sh,x:null,X:null,y:ch,Y:lh,Z:fh,"%":dh},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:ml,e:ml,f:kl,g:dl,G:fl,H:_l,I:_l,j:vl,L:wl,m:yl,M:bl,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:gl,Q:El,s:Cl,S:xl,u:cl,U:ul,V:ll,w:sl,W:hl,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:dl,Y:fl,Z:pl,"%":Tl};function w(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=Xu(Zu(a.y,0,1))).getUTCDay(),r=i>4||0===i?Ru.ceil(r):Ru(r),r=Pu.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=Gu(Zu(a.y,0,1))).getDay(),r=i>4||0===i?Uu.ceil(r):Uu(r),r=$u.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?Xu(Zu(a.y,0,1)).getUTCDay():Gu(Zu(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Xu(a)):Gu(a)}}function T(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in Ku?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=w(n,_),_.X=w(r,_),_.c=w(e,_),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({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"]}),Ju=Qu.format,Qu.parse,Qu.utcFormat,Qu.utcParse;var yh={value:()=>{}};function mh(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function bh(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--Eh}()}finally{Eh=0,function(){for(var t,e,n=kh,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:kh=e);Th=t,Yh(r)}(),Ah=0}}function Ph(){var t=Dh.now(),e=t-Mh;e>1e3&&(Nh-=e,Mh=t)}function Yh(t){Eh||(Ch&&(Ch=clearTimeout(Ch)),t-Ah>24?(t<1/0&&(Ch=setTimeout(Fh,t-Dh.now()-Nh)),Sh&&(Sh=clearInterval(Sh))):(Sh||(Mh=Dh.now(),Sh=setInterval(Ph,1e3)),Eh=1,Oh(Fh)))}function jh(t,e,n){var r=new Ih;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Ih.prototype=Rh.prototype={constructor:Ih,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Bh():+n)+(null==e?0:+e),this._next||Th===this||(Th?Th._next=this:kh=this,Th=this),this._call=t,this._time=n,Yh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yh())}};var Uh=wh("start","end","cancel","interrupt"),zh=[];function $h(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var u,l,h,f;if(1!==n.state)return s();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return jh(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u0)throw new Error("too late; already scheduled");return n}function Wh(t,e){var n=qh(t,e);if(n.state>3)throw new Error("too late; already running");return n}function qh(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Vh(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Gh,Xh=180/Math.PI,Zh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Qh(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r180?c+=360:c-s>180&&(s+=360),l.push({i:u.push(i(u)+"rotate(",null,r)-2,x:Vh(s,c)})):c&&u.push(i(u)+"rotate("+c+r),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Vh(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,h,f),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Vh(t,n)},{i:s-2,x:Vh(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++no&&(i=e.slice(o,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,u.push({i:s,x:Vh(n,r)})),o=sf.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))?Hh:Wh;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Cf=Cc.prototype.constructor;function Sf(t){return function(){this.style.removeProperty(t)}}function Mf(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Af(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Mf(t,a,n)),r}return a._value=e,a}function Nf(t){return function(e){this.textContent=t.call(this,e)}}function Df(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Nf(r)),e}return r._value=t,r}var Of=0;function Bf(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Lf(){return++Of}var If=Cc.prototype;Bf.prototype={constructor:Bf,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ds(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Cc.prototype.transition=function(t){var e,n;t instanceof Bf?(e=t._id,t=t._name):(e=Lf(),(n=Rf).time=Bh(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;ae?1:t>=e?0:NaN}Zf.prototype={constructor:Zf,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 rd="http://www.w3.org/1999/xhtml";const id={svg:"http://www.w3.org/2000/svg",xhtml:rd,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ad(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),id.hasOwnProperty(e)?{space:id[e],local:t}:t}function od(t){return function(){this.removeAttribute(t)}}function sd(t){return function(){this.removeAttributeNS(t.space,t.local)}}function cd(t,e){return function(){this.setAttribute(t,e)}}function ud(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function ld(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function hd(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function fd(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function dd(t){return function(){this.style.removeProperty(t)}}function pd(t,e,n){return function(){this.style.setProperty(t,e,n)}}function gd(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function yd(t,e){return t.style.getPropertyValue(e)||fd(t).getComputedStyle(t,null).getPropertyValue(e)}function md(t){return function(){delete this[t]}}function vd(t,e){return function(){this[t]=e}}function _d(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function bd(t){return t.trim().split(/^|\s+/)}function xd(t){return t.classList||new wd(t)}function wd(t){this._node=t,this._names=bd(t.getAttribute("class")||"")}function kd(t,e){for(var n=xd(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Hd(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Xd=[null];function Zd(t,e){this._groups=t,this._parents=e}function Qd(){return new Zd([[document.documentElement]],Xd)}Zd.prototype=Qd.prototype={constructor:Zd,select:function(t){"function"!=typeof t&&(t=Yf(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=b+1);!(_=y[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=nd);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?dd:"function"==typeof e?gd:pd)(t,e,null==n?"":n)):yd(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?md:"function"==typeof e?_d:vd)(t,e)):this.node()[t]},classed:function(t,e){var n=bd(t+"");if(arguments.length<2){for(var r=xd(this.node()),i=-1,a=n.length;++i{}};function tp(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function rp(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--cp}()}finally{cp=0,function(){for(var t,e,n=op,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:op=e);sp=t,wp(r)}(),fp=0}}function xp(){var t=pp.now(),e=t-hp;e>1e3&&(dp-=e,hp=t)}function wp(t){cp||(up&&(up=clearTimeout(up)),t-fp>24?(t<1/0&&(up=setTimeout(bp,t-pp.now()-dp)),lp&&(lp=clearInterval(lp))):(lp||(hp=pp.now(),lp=setInterval(xp,1e3)),cp=1,gp(bp)))}function kp(t,e,n){var r=new vp;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}vp.prototype=_p.prototype={constructor:vp,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?yp():+n)+(null==e?0:+e),this._next||sp===this||(sp?sp._next=this:op=this,sp=this),this._call=t,this._time=n,wp()},stop:function(){this._call&&(this._call=null,this._time=1/0,wp())}};var Tp=ap("start","end","cancel","interrupt"),Ep=[];function Cp(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var u,l,h,f;if(1!==n.state)return s();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return kp(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u0)throw new Error("too late; already scheduled");return n}function Mp(t,e){var n=Ap(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Ap(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Np(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Dp,Op=180/Math.PI,Bp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Lp(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r180?c+=360:c-s>180&&(s+=360),l.push({i:u.push(i(u)+"rotate(",null,r)-2,x:Np(s,c)})):c&&u.push(i(u)+"rotate("+c+r),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Np(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,h,f),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Np(t,n)},{i:s-2,x:Np(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?sg(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?sg(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=Zp.exec(t))?new lg(e[1],e[2],e[3],1):(e=Qp.exec(t))?new lg(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Jp.exec(t))?sg(e[1],e[2],e[3],e[4]):(e=Kp.exec(t))?sg(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=tg.exec(t))?pg(e[1],e[2]/100,e[3]/100,1):(e=eg.exec(t))?pg(e[1],e[2]/100,e[3]/100,e[4]):ng.hasOwnProperty(t)?og(ng[t]):"transparent"===t?new lg(NaN,NaN,NaN,0):null}function og(t){return new lg(t>>16&255,t>>8&255,255&t,1)}function sg(t,e,n,r){return r<=0&&(t=e=n=NaN),new lg(t,e,n,r)}function cg(t){return t instanceof $p||(t=ag(t)),t?new lg((t=t.rgb()).r,t.g,t.b,t.opacity):new lg}function ug(t,e,n,r){return 1===arguments.length?cg(t):new lg(t,e,n,null==r?1:r)}function lg(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function hg(){return"#"+dg(this.r)+dg(this.g)+dg(this.b)}function fg(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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))+(1===t?")":", "+t+")")}function dg(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function pg(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new yg(t,e,n,r)}function gg(t){if(t instanceof yg)return new yg(t.h,t.s,t.l,t.opacity);if(t instanceof $p||(t=ag(t)),!t)return new yg;if(t instanceof yg)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&c<1?0:o,new yg(o,s,c,t.opacity)}function yg(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function mg(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Up($p,ag,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:rg,formatHex:rg,formatHsl:function(){return gg(this).formatHsl()},formatRgb:ig,toString:ig}),Up(lg,ug,zp($p,{brighter:function(t){return t=null==t?Wp:Math.pow(Wp,t),new lg(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Hp:Math.pow(Hp,t),new lg(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:hg,formatHex:hg,formatRgb:fg,toString:fg})),Up(yg,(function(t,e,n,r){return 1===arguments.length?gg(t):new yg(t,e,n,null==r?1:r)}),zp($p,{brighter:function(t){return t=null==t?Wp:Math.pow(Wp,t),new yg(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Hp:Math.pow(Hp,t),new yg(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,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new lg(mg(t>=240?t-240:t+120,i,r),mg(t,i,r),mg(t<120?t+240:t-120,i,r),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(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const vg=t=>()=>t;function _g(t,e){var n,r,i=e-t;return i?(n=t,r=i,function(t){return n+t*r}):vg(isNaN(t)?e:t)}const bg=function t(e){var n,r=1==(n=+(n=e))?_g:function(t,e){return e-t?(r=t,i=e,a=n,r=Math.pow(r,a),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):vg(isNaN(t)?e:t);var r,i,a};function i(t,e){var n=r((t=ug(t)).r,(e=ug(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=_g(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);var xg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,wg=new RegExp(xg.source,"g");function kg(t,e){var n,r,i,a,o=xg.lastIndex=wg.lastIndex=0,s=-1,c=[],u=[];for(t+="",e+="";(n=xg.exec(t))&&(r=wg.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),c[s]?c[s]+=i:c[++s]=i),(n=n[0])===(r=r[0])?c[s]?c[s]+=r:c[++s]=r:(c[++s]=null,u.push({i:s,x:Np(n,r)})),o=wg.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))?Sp:Mp;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Ug=Jd.prototype.constructor;function zg(t){return function(){this.style.removeProperty(t)}}function $g(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Hg(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&$g(t,a,n)),r}return a._value=e,a}function Wg(t){return function(e){this.textContent=t.call(this,e)}}function qg(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Wg(r)),e}return r._value=t,r}var Vg=0;function Gg(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Xg(){return++Vg}var Zg=Jd.prototype;Gg.prototype={constructor:Gg,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Yf(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Jd.prototype.transition=function(t){var e,n;t instanceof Gg?(e=t._id,t=t._name):(e=Xg(),(n=Qg).time=yp(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a2||Ty(my)>3?"":" "}function Sy(t,e){for(;--e&&by()&&!(my<48||my>102||my>57&&my<65||my>70&&my<97););return ky(t,wy()+(e<6&&32==xy()&&32==by()))}function My(t){for(;by();)switch(my){case t:return yy;case 34:case 39:return My(34===t||39===t?t:my);case 40:41===t&&My(t);break;case 92:by()}return yy}function Ay(t,e){for(;by()&&t+my!==57&&(t+my!==84||47!==xy()););return"/*"+ky(e,yy-1)+"*"+ry(47===t?t:by())}function Ny(t){for(;!Ty(xy());)by();return ky(t,yy)}function Dy(t){return function(t){return vy="",t}(Oy("",null,null,null,[""],(dy=py=1,gy=cy(vy=t),yy=0,t=[]),0,[0],t))}function Oy(t,e,n,r,i,a,o,s,c){for(var u=0,l=0,h=o,f=0,d=0,p=0,g=1,y=1,m=1,v=0,_="",b=i,x=a,w=r,k=_;y;)switch(p=v,v=by()){case 34:case 39:case 91:case 40:k+=Ey(v);break;case 9:case 10:case 13:case 32:k+=Cy(p);break;case 92:k+=Sy(wy()-1,7);continue;case 47:switch(xy()){case 42:case 47:ly(Ly(Ay(by(),wy()),e,n),c);break;default:k+="/"}break;case 123*g:s[u++]=cy(k)*m;case 125*g:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+l:d>0&&cy(k)-h&&ly(d>32?Iy(k+";",r,n,h-1):Iy(ay(k," ","")+";",r,n,h-2),c);break;case 59:k+=";";default:if(ly(w=By(k,e,n,u,l,i,s,_,b=[],x=[],h),a),123===v)if(0===l)Oy(k,e,w,w,b,a,h,s,x);else switch(f){case 100:case 109:case 115:Oy(t,w,w,r&&ly(By(t,w,w,0,0,i,s,_,i,b=[],h),x),i,x,h,s,r?b:x);break;default:Oy(k,w,w,w,[""],x,h,s,x)}}u=l=d=0,g=m=1,_=k="",h=o;break;case 58:h=1+cy(k),d=p;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==(my=yy>0?oy(vy,--yy):0,py--,10===my&&(py=1,dy--),my))continue;switch(k+=ry(v),v*g){case 38:m=l>0?1:(k+="\f",-1);break;case 44:s[u++]=(cy(k)-1)*m,m=1;break;case 64:45===xy()&&(k+=Ey(by())),f=xy(),l=cy(_=k+=Ny(wy())),v++;break;case 45:45===p&&2==cy(k)&&(g=0)}}return a}function By(t,e,n,r,i,a,o,s,c,u,l){for(var h=i-1,f=0===i?a:[""],d=uy(f),p=0,g=0,y=0;p0?f[m]+" "+v:ay(v,/&\f/g,f[m])))&&(c[y++]=_);return _y(t,e,n,0===i?ty:s,c,u,l)}function Ly(t,e,n){return _y(t,e,n,Kg,ry(my),sy(t,2,-2),0)}function Iy(t,e,n,r){return _y(t,e,n,ey,sy(t,0,r),sy(t,r+1,-1),r)}var Ry=n(9609),Fy=n(7856),Py=n.n(Fy),Yy=function(t){for(var e="",n=0;n>=0;){if(!((n=t.indexOf("=0)){e+=t,n=-1;break}e+=t.substr(0,n),(n=(t=t.substr(n+1)).indexOf("<\/script>"))>=0&&(n+=9,t=t.substr(n))}return(e=(e=(e=(e=e.replace(/script>/gi,"#")).replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/