diff --git a/archesdataviewer/static/vite_build/.vite/manifest.json b/archesdataviewer/static/vite_build/.vite/manifest.json index 09a26d3..057d9dc 100644 --- a/archesdataviewer/static/vite_build/.vite/manifest.json +++ b/archesdataviewer/static/vite_build/.vite/manifest.json @@ -1,11 +1,11 @@ { "index.html": { - "file": "assets/index-Bho4XSe1.js", + "file": "assets/index-uJ4Knizu.js", "name": "index", "src": "index.html", "isEntry": true, "css": [ - "assets/index-D5EU3I_Q.css" + "assets/index-DEpX8LWf.css" ] } } \ No newline at end of file diff --git a/archesdataviewer/static/vite_build/assets/index-D5EU3I_Q.css b/archesdataviewer/static/vite_build/assets/index-D5EU3I_Q.css deleted file mode 100644 index 070e53b..0000000 --- a/archesdataviewer/static/vite_build/assets/index-D5EU3I_Q.css +++ /dev/null @@ -1 +0,0 @@ -:root{--wac--font-size: 16px;--wac--font-size--sm: calc(var(--wac--font-size) * .75);--wac--font-size--lg: calc(var(--wac--font-size) * 1.25);--wac--font-size--xl: calc(var(--wac--font-size) * 1.5);--wac--font-size--xxl: calc(var(--wac--font-size) * 2);--wac--font-size--xxxl: calc(var(--wac--font-size) * 3);--wac--font-size--xxxxl: calc(var(--wac--font-size) * 4);--wac--line-height: 1.4;--wac--line-height--tight: 1.2;--wac--font-weight--normal: 400;--wac--font-weight--bold: 700;--wac--font-weight--xbold: 900;--wac--color--gray: #999;--wac--color--gray--dark: #363636;--wac--color--highlight: #ffe16a;--wac--fixed-spacing--1x: 10px;--wac--fixed-spacing--2x: calc(2 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--3x: calc(3 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--4x: calc(4 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--6x: calc(6 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--8x: calc(8 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--10x: calc(10 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--halfx: calc(var(--wac--fixed-spacing--1x) / 2);--wac--accessible-spacing--1x: .625rem;--wac--accessible-spacing--2x: calc(2 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--3x: calc(3 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--4x: calc(4 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--6x: calc(6 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--8x: calc(8 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--10x: calc(10 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--15x: calc(15 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--20x: calc(20 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--30x: calc(30 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--halfx: calc(var(--wac--accessible-spacing--1x) / 2);--wac--semantic-spacing--primary: var(--wac--accessible-spacing--8x);--wac--semantic-spacing--secondary: var(--wac--accessible-spacing--4x);--wac--semantic-spacing--tertiary: var(--wac--accessible-spacing--2x);--wac--semantic-spacing--quartary: var(--wac--accessible-spacing--1x);--wac--semantic-spacing--quintary: var(--wac--accessible-spacing--halfx);--wac--text--sensible-max-width: 60ch;--wac--image--thumbnail-size-x: var(--wac--accessible-spacing--30x);--wac--image--thumbnail-size-y: var(--wac--accessible-spacing--20x);--wac--outline--color: blue;--wac--outline--width: 2px;--wac--outline: var(--wac--outline--width) solid var(--wac--outline--color)}*,*:before,*:after{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:var(--wac--font-size);line-height:var(--wac--line-height);color:#000;background-image:linear-gradient(to bottom,#fff 30%,#fff0 70%),url(https://arches-app-demo.opentechstrategies.com/archesdataviewer/background.png);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;margin:0}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:var(--wac--font-weight--bold);font-size:inherit}h1{font-weight:var(--wac--font-weight--xbold)}p,figure{margin:0;padding:0}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{--wac--button--padding: var(--wac--accessible-spacing--1x);all:unset;font-weight:var(--wac--font-weight--bold);padding:var(--wac--button--padding);border:2px solid black;transition-property:background-color,border-color,outline;transition-duration:.1s;transition-timing-function:ease;cursor:pointer}button:has(.button-icon),.button:has(.button-icon){display:inline-flex;justify-content:flex-start;align-items:center;gap:.4ch}button:focus-visible,.button:focus-visible{outline:var(--wac--outline);border-color:var(--wac--outline--color)}.button-icon{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em);transition:transform .1s ease,opacity .3s ease-in-out}.chevron-expanded .button-icon{transform:rotate(90deg)}.back-button{display:flex;align-items:center;gap:.5rem;border-radius:32px;text-decoration:none}.back-button-icon{display:flex;align-items:center;justify-content:center;width:1rem;height:1rem}.map-icon{display:flex}.search-results-container{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}.search-results{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-header{display:flex;justify-content:space-between}.search-results-header-icon{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em)}.search-results-header-title{display:flex;font-size:var(--wac--font-size--xxl);gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 940px){body{padding:var(--wac--semantic-spacing--primary);margin:8px}.map-icon{display:none}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-item-container[data-v-ee4fd092]{text-decoration:none}.search-result[data-v-ee4fd092]{display:flex;justify-content:flex-end;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);cursor:pointer}.metadata[data-v-ee4fd092]{display:flex;flex-direction:column;align-items:flex-start;margin-left:var(--wac--accessible-spacing--1x);gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight);text-overflow:ellipsis;max-width:var(--wac--image--thumbnail-size-x)}.title-wrapper[data-v-ee4fd092]{display:flex;gap:var(--wac--accessible-spacing--halfx)}.title[data-v-ee4fd092]{font-size:var(--wac--font-size--lg);font-weight:var(--wac--font-weight--bold);-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-ee4fd092]{width:var(--wac--image--thumbnail-size-x);height:var(--wac--image--thumbnail-size-y);object-fit:cover;flex-shrink:0;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px gray}.search-list-item-icon[data-v-ee4fd092]{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em)}@media screen and (min-width: 940px){.title[data-v-ee4fd092]{font-size:var(--wac--font-size--lg)}}.search-list-container[data-v-e4a8a664]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.search-results-container[data-v-e4a8a664]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}.search-results[data-v-e4a8a664]{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-e4a8a664]{display:flex;flex-direction:row;gap:1rem;margin:0;max-width:650px;overflow-x:scroll}.search-results-header[data-v-e4a8a664]{display:flex;justify-content:space-between}.search-results-header-icon[data-v-e4a8a664]{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em)}.search-results-header-title[data-v-e4a8a664]{display:flex;font-size:var(--wac--font-size--xxl);gap:var(--wac--accessible-spacing--2x)}.see-all-button[data-v-e4a8a664]{border-radius:32px;font-size:var(--wac--font-size--sm)}.search-content-container[data-v-e4a8a664]{background-color:#fff8e0;width:100vw;padding:var(--wac--accessible-spacing--2x);display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 940px){.search-list-container[data-v-e4a8a664]{margin-left:50px}.search-content-container[data-v-e4a8a664]{background-color:none;width:auto}.search-results[data-v-e4a8a664]{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-e4a8a664]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px}}.resource-detail-header[data-v-70164744]{display:flex;flex-direction:row;justify-content:space-between;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-more-by-artist[data-v-70164744]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-item[data-v-f639004e]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-header[data-v-f639004e]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);line-height:var(--wac--line-height--tight)}.resource-detail-item-title[data-v-f639004e]{font-weight:var(--wac--font-weight--xbold);font-size:var(--wac--font-size--lg);text-decoration-line:underline}.resource-detail-item-byline[data-v-f639004e]{font-weight:var(--wac--font-weight--bold)}.resource-detail-item-image[data-v-f639004e]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-f639004e]{width:100%;height:100%;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px 2px gray}.resource-detail-item-credit[data-v-f639004e]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-f639004e]{font-size:var(--wac--font-size--lg);margin:var(--wac--accessible-spacing--1x)}.more-artwork-image[data-v-ba592a51]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-ba592a51]:hover{opacity:.5}.more-artworks-by-artist-title[data-v-1336561a]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-1336561a]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;margin-top:var(--wac--accessible-spacing--1x);gap:16px;isolation:isolate}.resource-detail[data-v-52a1b6d4]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:var(--wac--accessible-spacing--1x);height:100vh}.resource-detail-header[data-v-52a1b6d4]{display:flex;justify-content:space-between}.resource-detail-title[data-v-52a1b6d4]{display:flex;font-size:var(--wac--font-size--xl);font-weight:var(--wac--font-weight--bold)}.resource-detail-back-button[data-v-52a1b6d4]{text-decoration:none;font-size:var(--wac--font-size--sm)}.resource-header-icon[data-v-52a1b6d4]{width:calc(var(--wac--line-height) * 1em);height:calc(var(--wac--line-height) * 1em)}@media screen and (min-width: 940px){.resource-detail[data-v-52a1b6d4]{display:flex;flex-direction:column;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:none}.resource-detail-back-button[data-v-52a1b6d4]{font-size:var(--wac--font-size)}}span[data-v-0c6e91f4]{font-size:.875rem;text-align:center}.credits[data-v-0c6e91f4]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);flex-wrap:wrap}.credit[data-v-0c6e91f4]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.credits img[data-v-0c6e91f4]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-container[data-v-aaeccb3d]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary);z-index:-1}#map[data-v-aaeccb3d]{width:100%;height:100%}.map-wrapper[data-v-aaeccb3d]{--wac--map-expanded-height: 600px;overflow:hidden;z-index:1;height:var(--wac--map-expanded-height);transition:height .5s ease}.search-list-item-wrapper[data-v-aaeccb3d]{position:fixed;bottom:0;left:0;width:100%;max-height:80vh;overflow-y:auto;background-color:#fff8e0;z-index:999;box-shadow:0 -2px 10px #0003;border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:center;padding-top:var(--wac--accessible-spacing--1x)}.search-list-item[data-v-aaeccb3d]{margin:auto}.slide-up-enter-active[data-v-aaeccb3d],.slide-up-leave-active[data-v-aaeccb3d]{transition:transform .3s ease-out}.slide-up-enter-from[data-v-aaeccb3d],.slide-up-leave-to[data-v-aaeccb3d]{transform:translateY(120%)}.slide-up-enter-to[data-v-aaeccb3d],.slide-up-leave-from[data-v-aaeccb3d]{transform:translateY(0)}@media screen and (min-width: 940px){.mobile-map-container[data-v-edffe4af]{display:none}}.map-container[data-v-690d2d81]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-690d2d81]{width:100%;height:100%;border-radius:32px}.map-wrapper[data-v-690d2d81]{--wac--map-expanded-height: 400px;overflow:hidden;height:var(--wac--map-expanded-height);transition:height .5s ease}@media screen and (min-width: 940px){#map[data-v-690d2d81]{border-radius:0}.map-wrapper[data-v-690d2d81]{--wac--map-expanded-height: 100vh}.map-container[data-v-690d2d81]{position:sticky;top:0;overflow:hidden;gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-690d2d81]{height:var(--wac--map-expanded-height);pointer-events:all}}main[data-v-a9dda051]{border-radius:32px}.home[data-v-a9dda051]{display:flex;flex-direction:column}.welcome[data-v-a9dda051]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx);font-size:var(--wac--font-size);line-height:var(--wac--line-height--tight);font-size:var(--wac--font-size--lg);text-wrap:balance;margin:var(--wac--accessible-spacing--2x)}.welcome-content[data-v-a9dda051]{display:flex;flex-direction:column}.welcome-credits[data-v-a9dda051]{display:flex;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-a9dda051]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-a9dda051]{max-height:25px;max-width:150px;height:auto;object-fit:contain}.welcome-text[data-v-a9dda051]{font-size:var(--wac--font-size--xxl)}.welcome-credits p[data-v-a9dda051]{font-weight:var(--wac--font-weight--normal);font-size:var(--wac--font-size);margin:0;white-space:nowrap}main[data-v-a9dda051]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--primary)}#map-container[data-v-a9dda051],#search-list-container[data-v-a9dda051]{flex-basis:50%}#search-list-container[data-v-a9dda051]{border-radius:32px;order:-1;background:#fff8e0}#map-container[data-v-a9dda051]{display:none}.search-header[data-v-a9dda051]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff calc(100% - var(--wac--search-header--internal-spacing)),#fff0);width:100vw;gap:var(--wac--semantic-spacing--tertiary);z-index:999}.search-input-wrapper[data-v-a9dda051]{display:flex;align-items:center;background:#ffd54f;max-height:50px;width:100%;border-radius:32px;padding:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--halfx);grid-column-start:1;grid-column-end:5}.search-input[data-v-a9dda051]{width:100%;border:none;font-size:inherit;background:transparent;outline:none}.search-icon[data-v-a9dda051]{width:24px;height:24px;color:#000}.nav-button[data-v-a9dda051]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active[data-v-a9dda051]{background:var(--wac--color--highlight)}@media screen and (min-width: 940px){main[data-v-a9dda051]{padding-left:var(--wac--accessible-spacing--2x);background-color:#fff8e0}.welcome-content[data-v-a9dda051]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-a9dda051]{flex:1}.welcome-credits[data-v-a9dda051]{display:flex;align-items:center;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-a9dda051]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-a9dda051]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-a9dda051]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-a9dda051]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-a9dda051]{flex-direction:row-reverse}.home[data-v-a9dda051]{gap:var(--wac--semantic-spacing--primary)}#map-container[data-v-a9dda051]{display:block}.search-header[data-v-a9dda051]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}#map-icon[data-v-a9dda051]{display:none}} diff --git a/archesdataviewer/static/vite_build/assets/index-DEpX8LWf.css b/archesdataviewer/static/vite_build/assets/index-DEpX8LWf.css new file mode 100644 index 0000000..78e50ee --- /dev/null +++ b/archesdataviewer/static/vite_build/assets/index-DEpX8LWf.css @@ -0,0 +1 @@ +:root{--wac--font-size: 14px;--wac--font-size--h1: 24px;--wac--font-size--h2: 18px;--wac--font-size--h3: 16px;--wac--font-size--h1-sub: 20px;--wac--font-size--h2-sub: 15px;--wac--font-weight: 400;--wac--font-weight--bold: 700;--wac--font-weight--semibold: 600;--wac--line-height: 16.8px;--wac--line-height--h1: 28px;--wac--line-height--h2: 21.6px;--wac--line-height--h3: 19.2px;--wac--line-height--h1-sub: 24px;--wac--line-height--h2-sub: 18px;--wac--color--gray: #999;--wac--color--gray--dark: #363636;--wac--color--highlight: #ffe16a;--wac--fixed-spacing--1x: 10px;--wac--fixed-spacing--2x: calc(2 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--3x: calc(3 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--4x: calc(4 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--6x: calc(6 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--8x: calc(8 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--10x: calc(10 * var(--wac--fixed-spacing--1x));--wac--fixed-spacing--halfx: calc(var(--wac--fixed-spacing--1x) / 2);--wac--accessible-spacing--halfx: calc(.5 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--1x: .625rem;--wac--accessible-spacing--2x: calc(2 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--3x: calc(3 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--4x: calc(4 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--6x: calc(6 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--8x: calc(8 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--10x: calc(10 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--15x: calc(15 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--20x: calc(20 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--30x: calc(30 * var(--wac--accessible-spacing--1x));--wac--accessible-spacing--halfx: calc(var(--wac--accessible-spacing--1x) / 2);--wac--semantic-spacing--primary: var(--wac--accessible-spacing--8x);--wac--semantic-spacing--secondary: var(--wac--accessible-spacing--4x);--wac--semantic-spacing--tertiary: var(--wac--accessible-spacing--2x);--wac--semantic-spacing--quartary: var(--wac--accessible-spacing--1x);--wac--semantic-spacing--quintary: var(--wac--accessible-spacing--halfx);--wac--text--sensible-max-width: 60ch;--wac--image--thumbnail-size-x: 268px;--wac--image--thumbnail-size-y: 191px;--wac--outline--color: blue;--wac--outline--width: 2px;--wac--outline: var(--wac--outline--width) solid var(--wac--outline--color)}*,*:before,*:after{box-sizing:border-box}body{font-family:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:var(--wac--font-size);line-height:var(--wac--line-height);color:#000;background-image:linear-gradient(to bottom,#fff 30%,#fff0 70%),url(https://arches-app-demo.opentechstrategies.com/archesdataviewer/background.png);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;margin:0}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:inherit;letter-spacing:-.02em;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}h1{font-size:var(--wac--font-size--h1);line-height:var(--wac--line-height--h1);letter-spacing:-.02em;font-weight:var(--wac--font-weight--bold)}.h1-sub{font-size:var(--wac--font-size--h1-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h1-sub)}h2{font-size:var(--wac--font-size--h2);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h2)}.h2-sub{font-size:var(--wac--font-size--h2-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height--h2-sub)}h3{font-size:var(--wac--font-size--h3);font-weight:var(--wac--font-weight--semibold);line-height:var(--wac--line-height--h3)}.h3-sub{font-size:var(--wac--font-size--h3-sub);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height)}p,figure{margin:0;padding:0}p{font-size:var(--wac--font-size);font-weight:var(--wac--font-weight);line-height:var(--wac--line-height);text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}a{text-decoration:underline;color:inherit}a:hover{text-decoration:none}a:focus-visible{outline:var(--wac--outline)}button,.button{all:unset;font-size:11px;line-height:13.2px;font-weight:var(--wac--font-weight--semibold);padding:var(--wac--accessible-spacing--halfx) var(--wac--accessible-spacing--1x);border:2px solid black;transition-property:background-color,border-color,outline;transition-duration:.1s;transition-timing-function:ease;cursor:pointer}button:has(.button-icon),.button:has(.button-icon){display:inline-flex;justify-content:flex-start;align-items:center;gap:.4ch}button:focus-visible,.button:focus-visible{outline:var(--wac--outline);border-color:var(--wac--outline--color)}.button-icon{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1);transition:transform .1s ease,opacity .3s ease-in-out}.chevron-expanded .button-icon{transform:rotate(90deg)}.back-button{display:flex;align-items:center;gap:.5rem;border-radius:32px;text-decoration:none}.back-button-icon{display:flex;align-items:center;justify-content:center;width:var(--wac--line-height);height:var(--wac--line-height)}.map-icon{display:flex}.search-results-container{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}.search-results{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-header{display:flex;justify-content:space-between;margin-left:5%}.search-results-header-icon{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.search-results-header-title{display:flex;font-size:var(--wac--font-size--xxl);gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 768px){body{padding:var(--wac--semantic-spacing--primary)}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;overflow-x:scroll}}@media screen and (min-width: 940px){body{padding:var(--wac--semantic-spacing--primary);margin:8px}.map-icon{display:none}.search-results-header{margin-left:0%}.search-results{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px;overflow-x:scroll}}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.search-item-container[data-v-1f081ed9]{text-decoration:none}.search-result[data-v-1f081ed9]{display:flex;justify-content:flex-end;flex-direction:column;gap:var(--wac--semantic-spacing--quartary);cursor:pointer}.metadata[data-v-1f081ed9]{display:flex;flex-direction:column;align-items:flex-start;margin-left:var(--wac--accessible-spacing--1x);gap:var(--wac--accessible-spacing--halfx);line-height:var(--wac--line-height--tight);text-overflow:ellipsis;max-width:var(--wac--image--thumbnail-size-x)}.title-wrapper[data-v-1f081ed9]{display:flex;gap:var(--wac--accessible-spacing--halfx)}.title[data-v-1f081ed9]{-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}.image[data-v-1f081ed9]{width:var(--wac--image--thumbnail-size-x);height:var(--wac--image--thumbnail-size-y);object-fit:cover;flex-shrink:0;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px gray}.search-list-container[data-v-b972d572]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.search-results-container[data-v-b972d572]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x)}.search-results[data-v-b972d572]{display:flex;flex-direction:column;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-b972d572]{display:flex;flex-direction:row;gap:1rem;margin:0;max-width:650px;overflow-x:scroll}.search-results-header[data-v-b972d572]{display:flex;justify-content:space-between}.search-results-header-icon[data-v-b972d572]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}.see-all-button[data-v-b972d572]{border-radius:32px}.search-content-container[data-v-b972d572]{background-color:#fff8e0;width:100vw;padding:var(--wac--accessible-spacing--2x);display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x)}@media screen and (min-width: 768px) and (max-width: 940px){.search-content-container[data-v-b972d572]{background-color:none;width:auto}}@media screen and (min-width: 940px){.search-content-container[data-v-b972d572]{background-color:none;width:auto}.search-results[data-v-b972d572]{display:grid;flex-direction:column;grid-template-columns:1fr 1fr;gap:1rem;margin:auto;max-width:650px;overflow-x:scroll}.search-results-landing[data-v-b972d572]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0;max-width:650px}}.resource-detail-header[data-v-70164744]{display:flex;flex-direction:row;justify-content:space-between;gap:var(--wac--semantic-spacing--quintary)}.resource-detail-more-by-artist[data-v-70164744]{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:16px}.resource-detail-item[data-v-926824c6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}.resource-detail-item-byline[data-v-926824c6]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx)}.resource-detail-item-header[data-v-926824c6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-title[data-v-926824c6]{text-decoration-line:underline}.resource-detail-item-image[data-v-926824c6]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--quartary)}.resource-detail-item-image>img[data-v-926824c6]{width:100%;height:100%;background-color:#fff;padding:var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--1x) var(--wac--accessible-spacing--4x) var(--wac--accessible-spacing--1x);box-shadow:1px 2px 2px gray}.resource-detail-item-credit[data-v-926824c6]{color:var(--wac--color--gray)}.resource-detail-item-description[data-v-926824c6]{margin:var(--wac--accessible-spacing--1x)}@media screen and (min-width: 768px){.resource-detail-item-byline[data-v-926824c6]{flex-direction:row}}.more-artwork-image[data-v-ba592a51]{width:150px;height:150px;object-fit:cover;flex-shrink:0;cursor:pointer;transition:opacity .3s ease,filter .3s ease}.more-artwork-image[data-v-ba592a51]:hover{opacity:.5}.more-artworks-by-artist-title[data-v-1336561a]{font-style:normal;font-weight:700;font-size:var(--wac--font-size);line-height:100%;color:#000}.more-artworks-by-artist-gallery[data-v-1336561a]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;padding:0;margin-top:var(--wac--accessible-spacing--1x);gap:16px;isolation:isolate}.resource-detail[data-v-52121b51]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:var(--wac--accessible-spacing--1x);height:100vh}.resource-detail-header[data-v-52121b51]{display:flex;justify-content:space-between}.resource-detail-title[data-v-52121b51]{display:flex;gap:var(--wac--accessible-spacing--1x)}.resource-detail-back-button[data-v-52121b51]{text-decoration:none;justify-content:flex-end}.resource-header-icon[data-v-52121b51]{width:var(--wac--line-height--h1);height:var(--wac--line-height--h1)}@media screen and (min-width: 768px) and (max-width: 940px){.resource-detail[data-v-52121b51]{height:100%}}@media screen and (min-width: 940px){.resource-detail[data-v-52121b51]{display:flex;flex-direction:column;margin-left:var(--wac--accessible-spacing--2x);margin-right:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--1x);background-color:#fff8e0;padding:none}.resource-detail-back-button[data-v-52121b51]{font-size:var(--wac--font-size)}}span[data-v-9e6eb1b1]{font-size:.875rem;text-align:center}.credits[data-v-9e6eb1b1]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--2x);flex-wrap:wrap}.credit[data-v-9e6eb1b1]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.credits img[data-v-9e6eb1b1]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.about[data-v-9e6eb1b1]{margin:var(--wac--accessible-spacing--2x)}.about-title[data-v-9e6eb1b1]{margin-left:0%}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-container[data-v-aaeccb3d]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary);z-index:-1}#map[data-v-aaeccb3d]{width:100%;height:100%}.map-wrapper[data-v-aaeccb3d]{--wac--map-expanded-height: 600px;overflow:hidden;z-index:1;height:var(--wac--map-expanded-height);transition:height .5s ease}.search-list-item-wrapper[data-v-aaeccb3d]{position:fixed;bottom:0;left:0;width:100%;max-height:80vh;overflow-y:auto;background-color:#fff8e0;z-index:999;box-shadow:0 -2px 10px #0003;border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:center;padding-top:var(--wac--accessible-spacing--1x)}.search-list-item[data-v-aaeccb3d]{margin:auto}.slide-up-enter-active[data-v-aaeccb3d],.slide-up-leave-active[data-v-aaeccb3d]{transition:transform .3s ease-out}.slide-up-enter-from[data-v-aaeccb3d],.slide-up-leave-to[data-v-aaeccb3d]{transform:translateY(120%)}.slide-up-enter-to[data-v-aaeccb3d],.slide-up-leave-from[data-v-aaeccb3d]{transform:translateY(0)}@media screen and (min-width: 940px){.mobile-map-container[data-v-edffe4af]{display:none}}.map-container[data-v-b21518fe]{display:flex;flex-direction:column;gap:var(--wac--semantic-spacing--tertiary)}#map[data-v-b21518fe]{width:100%;height:100%}.map-wrapper[data-v-b21518fe]{--wac--map-expanded-height: 400px;overflow:hidden;height:var(--wac--map-expanded-height);transition:height .5s ease;border-top-right-radius:20px;border-bottom-right-radius:20px}@media screen and (min-width: 768px) and (max-width: 940px){.map-wrapper[data-v-b21518fe]{border-top-right-radius:20px;border-top-left-radius:20px}}@media screen and (min-width: 940px){#map[data-v-b21518fe]{border-radius:0}.map-wrapper[data-v-b21518fe]{--wac--map-expanded-height: 100vh}.map-container[data-v-b21518fe]{position:sticky;top:0;overflow:hidden;gap:var(--wac--semantic-spacing--tertiary)}.map-container.collapsed .map-wrapper[data-v-b21518fe]{height:var(--wac--map-expanded-height);pointer-events:all}}main[data-v-d8f3b2e0]{border-radius:20px}.home[data-v-d8f3b2e0]{display:flex;flex-direction:column}.welcome[data-v-d8f3b2e0]{display:flex;flex-direction:column;gap:var(--wac--accessible-spacing--halfx);font-size:var(--wac--font-size);line-height:var(--wac--line-height--tight);font-size:var(--wac--font-size--lg);text-wrap:balance;margin:var(--wac--accessible-spacing--2x)}.welcome-content[data-v-d8f3b2e0]{display:flex;flex-direction:column}.welcome-credits[data-v-d8f3b2e0]{display:flex;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-text[data-v-d8f3b2e0]{font-size:32px;line-height:38.4px}.welcome-credit[data-v-d8f3b2e0]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx);text-decoration:none}.welcome-credits img[data-v-d8f3b2e0]{max-height:20px;max-width:150px;height:auto;object-fit:contain}.welcome-text a[data-v-d8f3b2e0]{text-decoration:none}.welcome-credits p[data-v-d8f3b2e0]{font-weight:var(--wac--font-weight--normal);font-size:var(--wac--font-size);margin:0;white-space:nowrap}main[data-v-d8f3b2e0]{display:flex;flex-direction:column}#map-container[data-v-d8f3b2e0],#search-list-container[data-v-d8f3b2e0]{flex-basis:50%}#search-list-container[data-v-d8f3b2e0]{order:-1;background:#fff8e0}#map-container[data-v-d8f3b2e0]{display:none}.search-header[data-v-d8f3b2e0]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff calc(100% - var(--wac--search-header--internal-spacing)),#fff0);width:100vw;gap:var(--wac--semantic-spacing--tertiary);z-index:999;margin-bottom:var(--wac--semantic-spacing--tertiary)}.search-input-wrapper[data-v-d8f3b2e0]{display:flex;align-items:center;background:#ffd54f;max-height:50px;width:100%;border-radius:32px;padding:var(--wac--accessible-spacing--2x);gap:var(--wac--accessible-spacing--halfx);grid-column-start:1;grid-column-end:5}.search-input[data-v-d8f3b2e0]{width:100%;border:none;font-size:inherit;background:transparent;outline:none}.search-icon[data-v-d8f3b2e0]{width:24px;height:24px;color:#000}.nav-button[data-v-d8f3b2e0]{display:flex;flex-direction:column;align-items:center;gap:var(--wac--accessible-spacing--halfx);border:none;background:none;font-size:inherit;cursor:pointer;font-weight:var(--wac--font-weight--normal)}.nav-button.active[data-v-d8f3b2e0]{background:var(--wac--color--highlight)}@media screen and (min-width: 768px) and (max-width: 940px){main[data-v-d8f3b2e0]{background-color:#fff8e0}.welcome-content[data-v-d8f3b2e0]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-d8f3b2e0]{flex:1}#arches-logo[data-v-d8f3b2e0],#ots-logo[data-v-d8f3b2e0]{max-height:26px}.welcome-credits[data-v-d8f3b2e0]{display:flex;flex-direction:column;align-items:left;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-d8f3b2e0]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-d8f3b2e0]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-d8f3b2e0]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-d8f3b2e0]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-d8f3b2e0]{flex-direction:column}#map-container[data-v-d8f3b2e0]{display:block}.search-header[data-v-d8f3b2e0]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0);margin-bottom:0}#map-icon[data-v-d8f3b2e0]{display:none}}@media screen and (min-width: 940px){main[data-v-d8f3b2e0]{padding-left:var(--wac--accessible-spacing--2x);background-color:#fff8e0}.welcome-content[data-v-d8f3b2e0]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.welcome h1[data-v-d8f3b2e0]{flex:1}#arches-logo[data-v-d8f3b2e0],#ots-logo[data-v-d8f3b2e0]{max-height:26px}.welcome-credits[data-v-d8f3b2e0]{display:flex;align-items:center;justify-content:flex-end;gap:var(--wac--accessible-spacing--halfx);flex-wrap:wrap}.welcome-credit[data-v-d8f3b2e0]{display:flex;align-items:center;gap:var(--wac--accessible-spacing--halfx)}.welcome-credits img[data-v-d8f3b2e0]{max-height:50px;max-width:150px;height:auto;object-fit:contain}.welcome[data-v-d8f3b2e0]{font-size:var(--wac--font-size--xxl)}#search-list-container[data-v-d8f3b2e0]{order:0;padding:var(--wac--accessible-spacing--2x);background:none}main[data-v-d8f3b2e0]{flex-direction:row-reverse}#map-container[data-v-d8f3b2e0]{display:block}.search-header[data-v-d8f3b2e0]{--wac--search-header--internal-spacing: var(--wac--semantic-spacing--tertiary);position:sticky;top:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--wac--search-header--internal-spacing);padding-block:var(--wac--search-header--internal-spacing);width:100%;background:linear-gradient(180deg,#fff8e0 calc(100% - var(--wac--search-header--internal-spacing)),#fff0)}#map-icon[data-v-d8f3b2e0]{display:none}} diff --git a/archesdataviewer/static/vite_build/assets/index-Bho4XSe1.js b/archesdataviewer/static/vite_build/assets/index-uJ4Knizu.js similarity index 54% rename from archesdataviewer/static/vite_build/assets/index-Bho4XSe1.js rename to archesdataviewer/static/vite_build/assets/index-uJ4Knizu.js index 0157ddc..86f3649 100644 --- a/archesdataviewer/static/vite_build/assets/index-Bho4XSe1.js +++ b/archesdataviewer/static/vite_build/assets/index-uJ4Knizu.js @@ -1,31 +1,31 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function r(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(a){if(a.ep)return;a.ep=!0;const u=r(a);fetch(a.href,u)}})();/** +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const l of u.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function r(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(a){if(a.ep)return;a.ep=!0;const u=r(a);fetch(a.href,u)}})();/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function $a(t){const n=Object.create(null);for(const r of t.split(","))n[r]=1;return r=>r in n}const He={},wi=[],tn=()=>{},gp=()=>!1,Ds=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ta=t=>t.startsWith("onUpdate:"),lt=Object.assign,Ea=(t,n)=>{const r=t.indexOf(n);r>-1&&t.splice(r,1)},vp=Object.prototype.hasOwnProperty,qe=(t,n)=>vp.call(t,n),Pe=Array.isArray,bi=t=>js(t)==="[object Map]",hf=t=>js(t)==="[object Set]",Ee=t=>typeof t=="function",Xe=t=>typeof t=="string",yn=t=>typeof t=="symbol",Ge=t=>t!==null&&typeof t=="object",pf=t=>(Ge(t)||Ee(t))&&Ee(t.then)&&Ee(t.catch),mf=Object.prototype.toString,js=t=>mf.call(t),yp=t=>js(t).slice(8,-1),_f=t=>js(t)==="[object Object]",Ra=t=>Xe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xi=$a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bs=t=>{const n=Object.create(null);return r=>n[r]||(n[r]=t(r))},wp=/-(\w)/g,Nt=Bs(t=>t.replace(wp,(n,r)=>r?r.toUpperCase():"")),bp=/\B([A-Z])/g,ii=Bs(t=>t.replace(bp,"-$1").toLowerCase()),qs=Bs(t=>t.charAt(0).toUpperCase()+t.slice(1)),Io=Bs(t=>t?`on${qs(t)}`:""),On=(t,n)=>!Object.is(t,n),Es=(t,...n)=>{for(let r=0;r{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,writable:o,value:r})},ua=t=>{const n=parseFloat(t);return isNaN(n)?t:n},Pp=t=>{const n=Xe(t)?Number(t):NaN;return isNaN(n)?t:n};let Fu;const Zs=()=>Fu||(Fu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function La(t){if(Pe(t)){const n={};for(let r=0;r{if(r){const o=r.split($p);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function Xn(t){let n="";if(Xe(t))n=t;else if(Pe(t))for(let r=0;r!!(t&&t.__v_isRef===!0),en=t=>Xe(t)?t:t==null?"":Pe(t)||Ge(t)&&(t.toString===mf||!Ee(t.toString))?yf(t)?en(t.value):JSON.stringify(t,wf,2):String(t),wf=(t,n)=>yf(n)?wf(t,n.value):bi(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((r,[o,a],u)=>(r[Mo(o,u)+" =>"]=a,r),{})}:hf(n)?{[`Set(${n.size})`]:[...n.values()].map(r=>Mo(r))}:yn(n)?Mo(n):Ge(n)&&!Pe(n)&&!_f(n)?String(n):n,Mo=(t,n="")=>{var r;return yn(t)?`Symbol(${(r=t.description)!=null?r:n})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function $a(t){const n=Object.create(null);for(const r of t.split(","))n[r]=1;return r=>r in n}const Ve={},wi=[],tn=()=>{},gp=()=>!1,Ns=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ea=t=>t.startsWith("onUpdate:"),lt=Object.assign,Ta=(t,n)=>{const r=t.indexOf(n);r>-1&&t.splice(r,1)},vp=Object.prototype.hasOwnProperty,qe=(t,n)=>vp.call(t,n),Pe=Array.isArray,bi=t=>zs(t)==="[object Map]",df=t=>zs(t)==="[object Set]",Te=t=>typeof t=="function",Xe=t=>typeof t=="string",wn=t=>typeof t=="symbol",We=t=>t!==null&&typeof t=="object",pf=t=>(We(t)||Te(t))&&Te(t.then)&&Te(t.catch),mf=Object.prototype.toString,zs=t=>mf.call(t),yp=t=>zs(t).slice(8,-1),_f=t=>zs(t)==="[object Object]",Ra=t=>Xe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xi=$a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ds=t=>{const n=Object.create(null);return r=>n[r]||(n[r]=t(r))},wp=/-(\w)/g,Nt=Ds(t=>t.replace(wp,(n,r)=>r?r.toUpperCase():"")),bp=/\B([A-Z])/g,ii=Ds(t=>t.replace(bp,"-$1").toLowerCase()),js=Ds(t=>t.charAt(0).toUpperCase()+t.slice(1)),Io=Ds(t=>t?`on${js(t)}`:""),An=(t,n)=>!Object.is(t,n),$s=(t,...n)=>{for(let r=0;r{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,writable:o,value:r})},ua=t=>{const n=parseFloat(t);return isNaN(n)?t:n},Pp=t=>{const n=Xe(t)?Number(t):NaN;return isNaN(n)?t:n};let Fu;const Bs=()=>Fu||(Fu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function La(t){if(Pe(t)){const n={};for(let r=0;r{if(r){const o=r.split($p);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function Xn(t){let n="";if(Xe(t))n=t;else if(Pe(t))for(let r=0;r!!(t&&t.__v_isRef===!0),en=t=>Xe(t)?t:t==null?"":Pe(t)||We(t)&&(t.toString===mf||!Te(t.toString))?yf(t)?en(t.value):JSON.stringify(t,wf,2):String(t),wf=(t,n)=>yf(n)?wf(t,n.value):bi(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((r,[o,a],u)=>(r[Mo(o,u)+" =>"]=a,r),{})}:df(n)?{[`Set(${n.size})`]:[...n.values()].map(r=>Mo(r))}:wn(n)?Mo(n):We(n)&&!Pe(n)&&!_f(n)?String(n):n,Mo=(t,n="")=>{var r;return wn(t)?`Symbol(${(r=t.description)!=null?r:n})`:t};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Rt;class xp{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Rt,!n&&Rt&&(this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,r;if(this.scopes)for(n=0,r=this.scopes.length;n0)return;if(er){let n=er;for(er=void 0;n;){const r=n.next;n.next=void 0,n.flags&=-9,n=r}}let t;for(;Qi;){let n=Qi;for(Qi=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(o){t||(t=o)}n=r}}if(t)throw t}function $f(t){for(let n=t.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Tf(t){let n,r=t.depsTail,o=r;for(;o;){const a=o.prevDep;o.version===-1?(o===r&&(r=a),ka(o),kp(o)):n=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}t.deps=n,t.depsTail=r}function ca(t){for(let n=t.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(Ef(n.dep.computed)||n.dep.version!==n.version))return!0;return!!t._dirty}function Ef(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===sr))return;t.globalVersion=sr;const n=t.dep;if(t.flags|=2,n.version>0&&!t.isSSR&&t.deps&&!ca(t)){t.flags&=-3;return}const r=We,o=qt;We=t,qt=!0;try{$f(t);const a=t.fn(t._value);(n.version===0||On(a,t._value))&&(t._value=a,n.version++)}catch(a){throw n.version++,a}finally{We=r,qt=o,Tf(t),t.flags&=-3}}function ka(t,n=!1){const{dep:r,prevSub:o,nextSub:a}=t;if(o&&(o.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=o,t.nextSub=void 0),r.subs===t&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let u=r.computed.deps;u;u=u.nextDep)ka(u,!0)}!n&&!--r.sc&&r.map&&r.map.delete(r.key)}function kp(t){const{prevDep:n,nextDep:r}=t;n&&(n.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=n,t.nextDep=void 0)}let qt=!0;const Rf=[];function Mn(){Rf.push(qt),qt=!1}function Nn(){const t=Rf.pop();qt=t===void 0?!0:t}function Vu(t){const{cleanup:n}=t;if(t.cleanup=void 0,n){const r=We;We=void 0;try{n()}finally{We=r}}}let sr=0;class Op{constructor(n,r){this.sub=n,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Oa{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(n){if(!We||!qt||We===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==We)r=this.activeLink=new Op(We,this),We.deps?(r.prevDep=We.depsTail,We.depsTail.nextDep=r,We.depsTail=r):We.deps=We.depsTail=r,Lf(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=We.depsTail,r.nextDep=void 0,We.depsTail.nextDep=r,We.depsTail=r,We.deps===r&&(We.deps=o)}return r}trigger(n){this.version++,sr++,this.notify(n)}notify(n){xa();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Ca()}}}function Lf(t){if(t.dep.sc++,t.sub.flags&4){const n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let o=n.deps;o;o=o.nextDep)Lf(o)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}const la=new WeakMap,ei=Symbol(""),fa=Symbol(""),or=Symbol("");function mt(t,n,r){if(qt&&We){let o=la.get(t);o||la.set(t,o=new Map);let a=o.get(r);a||(o.set(r,a=new Oa),a.map=o,a.key=r),a.track()}}function mn(t,n,r,o,a,u){const c=la.get(t);if(!c){sr++;return}const f=d=>{d&&d.trigger()};if(xa(),n==="clear")c.forEach(f);else{const d=Pe(t),_=d&&Ra(r);if(d&&r==="length"){const m=Number(o);c.forEach((g,b)=>{(b==="length"||b===or||!yn(b)&&b>=m)&&f(g)})}else switch((r!==void 0||c.has(void 0))&&f(c.get(r)),_&&f(c.get(or)),n){case"add":d?_&&f(c.get("length")):(f(c.get(ei)),bi(t)&&f(c.get(fa)));break;case"delete":d||(f(c.get(ei)),bi(t)&&f(c.get(fa)));break;case"set":bi(t)&&f(c.get(ei));break}}Ca()}function pi(t){const n=je(t);return n===t?n:(mt(n,"iterate",or),Mt(t)?n:n.map(_t))}function Fs(t){return mt(t=je(t),"iterate",or),t}const Ap={__proto__:null,[Symbol.iterator](){return zo(this,Symbol.iterator,_t)},concat(...t){return pi(this).concat(...t.map(n=>Pe(n)?pi(n):n))},entries(){return zo(this,"entries",t=>(t[1]=_t(t[1]),t))},every(t,n){return un(this,"every",t,n,void 0,arguments)},filter(t,n){return un(this,"filter",t,n,r=>r.map(_t),arguments)},find(t,n){return un(this,"find",t,n,_t,arguments)},findIndex(t,n){return un(this,"findIndex",t,n,void 0,arguments)},findLast(t,n){return un(this,"findLast",t,n,_t,arguments)},findLastIndex(t,n){return un(this,"findLastIndex",t,n,void 0,arguments)},forEach(t,n){return un(this,"forEach",t,n,void 0,arguments)},includes(...t){return Do(this,"includes",t)},indexOf(...t){return Do(this,"indexOf",t)},join(t){return pi(this).join(t)},lastIndexOf(...t){return Do(this,"lastIndexOf",t)},map(t,n){return un(this,"map",t,n,void 0,arguments)},pop(){return Vi(this,"pop")},push(...t){return Vi(this,"push",t)},reduce(t,...n){return Hu(this,"reduce",t,n)},reduceRight(t,...n){return Hu(this,"reduceRight",t,n)},shift(){return Vi(this,"shift")},some(t,n){return un(this,"some",t,n,void 0,arguments)},splice(...t){return Vi(this,"splice",t)},toReversed(){return pi(this).toReversed()},toSorted(t){return pi(this).toSorted(t)},toSpliced(...t){return pi(this).toSpliced(...t)},unshift(...t){return Vi(this,"unshift",t)},values(){return zo(this,"values",_t)}};function zo(t,n,r){const o=Fs(t),a=o[n]();return o!==t&&!Mt(t)&&(a._next=a.next,a.next=()=>{const u=a._next();return u.value&&(u.value=r(u.value)),u}),a}const Ip=Array.prototype;function un(t,n,r,o,a,u){const c=Fs(t),f=c!==t&&!Mt(t),d=c[n];if(d!==Ip[n]){const g=d.apply(t,u);return f?_t(g):g}let _=r;c!==t&&(f?_=function(g,b){return r.call(this,_t(g),b,t)}:r.length>2&&(_=function(g,b){return r.call(this,g,b,t)}));const m=d.call(c,_,o);return f&&a?a(m):m}function Hu(t,n,r,o){const a=Fs(t);let u=r;return a!==t&&(Mt(t)?r.length>3&&(u=function(c,f,d){return r.call(this,c,f,d,t)}):u=function(c,f,d){return r.call(this,c,_t(f),d,t)}),a[n](u,...o)}function Do(t,n,r){const o=je(t);mt(o,"iterate",or);const a=o[n](...r);return(a===-1||a===!1)&&Ma(r[0])?(r[0]=je(r[0]),o[n](...r)):a}function Vi(t,n,r=[]){Mn(),xa();const o=je(t)[n].apply(t,r);return Ca(),Nn(),o}const Mp=$a("__proto__,__v_isRef,__isVue"),xf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(yn));function Np(t){yn(t)||(t=String(t));const n=je(this);return mt(n,"has",t),n.hasOwnProperty(t)}class Cf{constructor(n=!1,r=!1){this._isReadonly=n,this._isShallow=r}get(n,r,o){if(r==="__v_skip")return n.__v_skip;const a=this._isReadonly,u=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return u;if(r==="__v_raw")return o===(a?u?Up:If:u?Af:Of).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(o)?n:void 0;const c=Pe(n);if(!a){let d;if(c&&(d=Ap[r]))return d;if(r==="hasOwnProperty")return Np}const f=Reflect.get(n,r,gt(n)?n:o);return(yn(r)?xf.has(r):Mp(r))||(a||mt(n,"get",r),u)?f:gt(f)?c&&Ra(r)?f:f.value:Ge(f)?a?Nf(f):Vs(f):f}}class kf extends Cf{constructor(n=!1){super(!1,n)}set(n,r,o,a){let u=n[r];if(!this._isShallow){const d=ni(u);if(!Mt(o)&&!ni(o)&&(u=je(u),o=je(o)),!Pe(n)&>(u)&&!gt(o))return d?!1:(u.value=o,!0)}const c=Pe(n)&&Ra(r)?Number(r)t,Dr=t=>Reflect.getPrototypeOf(t);function qp(t,n,r){return function(...o){const a=this.__v_raw,u=je(a),c=bi(u),f=t==="entries"||t===Symbol.iterator&&c,d=t==="keys"&&c,_=a[t](...o),m=r?da:n?ha:_t;return!n&&mt(u,"iterate",d?fa:ei),{next(){const{value:g,done:b}=_.next();return b?{value:g,done:b}:{value:f?[m(g[0]),m(g[1])]:m(g),done:b}},[Symbol.iterator](){return this}}}}function jr(t){return function(...n){return t==="delete"?!1:t==="clear"?void 0:this}}function Zp(t,n){const r={get(a){const u=this.__v_raw,c=je(u),f=je(a);t||(On(a,f)&&mt(c,"get",a),mt(c,"get",f));const{has:d}=Dr(c),_=n?da:t?ha:_t;if(d.call(c,a))return _(u.get(a));if(d.call(c,f))return _(u.get(f));u!==c&&u.get(a)},get size(){const a=this.__v_raw;return!t&&mt(je(a),"iterate",ei),Reflect.get(a,"size",a)},has(a){const u=this.__v_raw,c=je(u),f=je(a);return t||(On(a,f)&&mt(c,"has",a),mt(c,"has",f)),a===f?u.has(a):u.has(a)||u.has(f)},forEach(a,u){const c=this,f=c.__v_raw,d=je(f),_=n?da:t?ha:_t;return!t&&mt(d,"iterate",ei),f.forEach((m,g)=>a.call(u,_(m),_(g),c))}};return lt(r,t?{add:jr("add"),set:jr("set"),delete:jr("delete"),clear:jr("clear")}:{add(a){!n&&!Mt(a)&&!ni(a)&&(a=je(a));const u=je(this);return Dr(u).has.call(u,a)||(u.add(a),mn(u,"add",a,a)),this},set(a,u){!n&&!Mt(u)&&!ni(u)&&(u=je(u));const c=je(this),{has:f,get:d}=Dr(c);let _=f.call(c,a);_||(a=je(a),_=f.call(c,a));const m=d.call(c,a);return c.set(a,u),_?On(u,m)&&mn(c,"set",a,u):mn(c,"add",a,u),this},delete(a){const u=je(this),{has:c,get:f}=Dr(u);let d=c.call(u,a);d||(a=je(a),d=c.call(u,a)),f&&f.call(u,a);const _=u.delete(a);return d&&mn(u,"delete",a,void 0),_},clear(){const a=je(this),u=a.size!==0,c=a.clear();return u&&mn(a,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(a=>{r[a]=qp(a,t,n)}),r}function Aa(t,n){const r=Zp(t,n);return(o,a,u)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?o:Reflect.get(qe(r,a)&&a in o?r:o,a,u)}const Fp={get:Aa(!1,!1)},Vp={get:Aa(!1,!0)},Hp={get:Aa(!0,!1)};const Of=new WeakMap,Af=new WeakMap,If=new WeakMap,Up=new WeakMap;function Wp(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kp(t){return t.__v_skip||!Object.isExtensible(t)?0:Wp(yp(t))}function Vs(t){return ni(t)?t:Ia(t,!1,Dp,Fp,Of)}function Mf(t){return Ia(t,!1,Bp,Vp,Af)}function Nf(t){return Ia(t,!0,jp,Hp,If)}function Ia(t,n,r,o,a){if(!Ge(t)||t.__v_raw&&!(n&&t.__v_isReactive))return t;const u=a.get(t);if(u)return u;const c=Kp(t);if(c===0)return t;const f=new Proxy(t,c===2?o:r);return a.set(t,f),f}function Pi(t){return ni(t)?Pi(t.__v_raw):!!(t&&t.__v_isReactive)}function ni(t){return!!(t&&t.__v_isReadonly)}function Mt(t){return!!(t&&t.__v_isShallow)}function Ma(t){return t?!!t.__v_raw:!1}function je(t){const n=t&&t.__v_raw;return n?je(n):t}function Gp(t){return!qe(t,"__v_skip")&&Object.isExtensible(t)&&gf(t,"__v_skip",!0),t}const _t=t=>Ge(t)?Vs(t):t,ha=t=>Ge(t)?Nf(t):t;function gt(t){return t?t.__v_isRef===!0:!1}function Ke(t){return zf(t,!1)}function Jp(t){return zf(t,!0)}function zf(t,n){return gt(t)?t:new Yp(t,n)}class Yp{constructor(n,r){this.dep=new Oa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?n:je(n),this._value=r?n:_t(n),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(n){const r=this._rawValue,o=this.__v_isShallow||Mt(n)||ni(n);n=o?n:je(n),On(n,r)&&(this._rawValue=n,this._value=o?n:_t(n),this.dep.trigger())}}function he(t){return gt(t)?t.value:t}const Xp={get:(t,n,r)=>n==="__v_raw"?t:he(Reflect.get(t,n,r)),set:(t,n,r,o)=>{const a=t[n];return gt(a)&&!gt(r)?(a.value=r,!0):Reflect.set(t,n,r,o)}};function Df(t){return Pi(t)?t:new Proxy(t,Xp)}class Qp{constructor(n,r,o){this.fn=n,this.setter=r,this._value=void 0,this.dep=new Oa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=sr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return Sf(this,!0),!0}get value(){const n=this.dep.track();return Ef(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function em(t,n,r=!1){let o,a;return Ee(t)?o=t:(o=t.get,a=t.set),new Qp(o,a,r)}const Br={},Cs=new WeakMap;let Jn;function tm(t,n=!1,r=Jn){if(r){let o=Cs.get(r);o||Cs.set(r,o=[]),o.push(t)}}function nm(t,n,r=He){const{immediate:o,deep:a,once:u,scheduler:c,augmentJob:f,call:d}=r,_=R=>a?R:Mt(R)||a===!1||a===0?_n(R,1):_n(R);let m,g,b,T,$=!1,C=!1;if(gt(t)?(g=()=>t.value,$=Mt(t)):Pi(t)?(g=()=>_(t),$=!0):Pe(t)?(C=!0,$=t.some(R=>Pi(R)||Mt(R)),g=()=>t.map(R=>{if(gt(R))return R.value;if(Pi(R))return _(R);if(Ee(R))return d?d(R,2):R()})):Ee(t)?n?g=d?()=>d(t,2):t:g=()=>{if(b){Mn();try{b()}finally{Nn()}}const R=Jn;Jn=m;try{return d?d(t,3,[T]):t(T)}finally{Jn=R}}:g=tn,n&&a){const R=g,O=a===!0?1/0:a;g=()=>_n(R(),O)}const w=Cp(),P=()=>{m.stop(),w&&w.active&&Ea(w.effects,m)};if(u&&n){const R=n;n=(...O)=>{R(...O),P()}}let p=C?new Array(t.length).fill(Br):Br;const v=R=>{if(!(!(m.flags&1)||!m.dirty&&!R))if(n){const O=m.run();if(a||$||(C?O.some((k,I)=>On(k,p[I])):On(O,p))){b&&b();const k=Jn;Jn=m;try{const I=[O,p===Br?void 0:C&&p[0]===Br?[]:p,T];d?d(n,3,I):n(...I),p=O}finally{Jn=k}}}else m.run()};return f&&f(v),m=new bf(g),m.scheduler=c?()=>c(v,!1):v,T=R=>tm(R,!1,m),b=m.onStop=()=>{const R=Cs.get(m);if(R){if(d)d(R,4);else for(const O of R)O();Cs.delete(m)}},n?o?v(!0):p=m.run():c?c(v.bind(null,!0),!0):m.run(),P.pause=m.pause.bind(m),P.resume=m.resume.bind(m),P.stop=P,P}function _n(t,n=1/0,r){if(n<=0||!Ge(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),n--,gt(t))_n(t.value,n,r);else if(Pe(t))for(let o=0;o{_n(o,n,r)});else if(_f(t)){for(const o in t)_n(t[o],n,r);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&_n(t[o],n,r)}return t}/** +**/let Rt;class xp{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Rt,!n&&Rt&&(this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,r;if(this.scopes)for(n=0,r=this.scopes.length;n0)return;if(er){let n=er;for(er=void 0;n;){const r=n.next;n.next=void 0,n.flags&=-9,n=r}}let t;for(;Qi;){let n=Qi;for(Qi=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(o){t||(t=o)}n=r}}if(t)throw t}function $f(t){for(let n=t.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Ef(t){let n,r=t.depsTail,o=r;for(;o;){const a=o.prevDep;o.version===-1?(o===r&&(r=a),ka(o),kp(o)):n=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}t.deps=n,t.depsTail=r}function ca(t){for(let n=t.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(Tf(n.dep.computed)||n.dep.version!==n.version))return!0;return!!t._dirty}function Tf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===sr))return;t.globalVersion=sr;const n=t.dep;if(t.flags|=2,n.version>0&&!t.isSSR&&t.deps&&!ca(t)){t.flags&=-3;return}const r=Ue,o=qt;Ue=t,qt=!0;try{$f(t);const a=t.fn(t._value);(n.version===0||An(a,t._value))&&(t._value=a,n.version++)}catch(a){throw n.version++,a}finally{Ue=r,qt=o,Ef(t),t.flags&=-3}}function ka(t,n=!1){const{dep:r,prevSub:o,nextSub:a}=t;if(o&&(o.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=o,t.nextSub=void 0),r.subs===t&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let u=r.computed.deps;u;u=u.nextDep)ka(u,!0)}!n&&!--r.sc&&r.map&&r.map.delete(r.key)}function kp(t){const{prevDep:n,nextDep:r}=t;n&&(n.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=n,t.nextDep=void 0)}let qt=!0;const Rf=[];function Mn(){Rf.push(qt),qt=!1}function Nn(){const t=Rf.pop();qt=t===void 0?!0:t}function Vu(t){const{cleanup:n}=t;if(t.cleanup=void 0,n){const r=Ue;Ue=void 0;try{n()}finally{Ue=r}}}let sr=0;class Op{constructor(n,r){this.sub=n,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Oa{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(n){if(!Ue||!qt||Ue===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Ue)r=this.activeLink=new Op(Ue,this),Ue.deps?(r.prevDep=Ue.depsTail,Ue.depsTail.nextDep=r,Ue.depsTail=r):Ue.deps=Ue.depsTail=r,Lf(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=Ue.depsTail,r.nextDep=void 0,Ue.depsTail.nextDep=r,Ue.depsTail=r,Ue.deps===r&&(Ue.deps=o)}return r}trigger(n){this.version++,sr++,this.notify(n)}notify(n){xa();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Ca()}}}function Lf(t){if(t.dep.sc++,t.sub.flags&4){const n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let o=n.deps;o;o=o.nextDep)Lf(o)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}const la=new WeakMap,ei=Symbol(""),fa=Symbol(""),or=Symbol("");function mt(t,n,r){if(qt&&Ue){let o=la.get(t);o||la.set(t,o=new Map);let a=o.get(r);a||(o.set(r,a=new Oa),a.map=o,a.key=r),a.track()}}function mn(t,n,r,o,a,u){const l=la.get(t);if(!l){sr++;return}const f=h=>{h&&h.trigger()};if(xa(),n==="clear")l.forEach(f);else{const h=Pe(t),_=h&&Ra(r);if(h&&r==="length"){const m=Number(o);l.forEach((g,b)=>{(b==="length"||b===or||!wn(b)&&b>=m)&&f(g)})}else switch((r!==void 0||l.has(void 0))&&f(l.get(r)),_&&f(l.get(or)),n){case"add":h?_&&f(l.get("length")):(f(l.get(ei)),bi(t)&&f(l.get(fa)));break;case"delete":h||(f(l.get(ei)),bi(t)&&f(l.get(fa)));break;case"set":bi(t)&&f(l.get(ei));break}}Ca()}function pi(t){const n=je(t);return n===t?n:(mt(n,"iterate",or),Mt(t)?n:n.map(_t))}function qs(t){return mt(t=je(t),"iterate",or),t}const Ap={__proto__:null,[Symbol.iterator](){return zo(this,Symbol.iterator,_t)},concat(...t){return pi(this).concat(...t.map(n=>Pe(n)?pi(n):n))},entries(){return zo(this,"entries",t=>(t[1]=_t(t[1]),t))},every(t,n){return un(this,"every",t,n,void 0,arguments)},filter(t,n){return un(this,"filter",t,n,r=>r.map(_t),arguments)},find(t,n){return un(this,"find",t,n,_t,arguments)},findIndex(t,n){return un(this,"findIndex",t,n,void 0,arguments)},findLast(t,n){return un(this,"findLast",t,n,_t,arguments)},findLastIndex(t,n){return un(this,"findLastIndex",t,n,void 0,arguments)},forEach(t,n){return un(this,"forEach",t,n,void 0,arguments)},includes(...t){return Do(this,"includes",t)},indexOf(...t){return Do(this,"indexOf",t)},join(t){return pi(this).join(t)},lastIndexOf(...t){return Do(this,"lastIndexOf",t)},map(t,n){return un(this,"map",t,n,void 0,arguments)},pop(){return Vi(this,"pop")},push(...t){return Vi(this,"push",t)},reduce(t,...n){return Hu(this,"reduce",t,n)},reduceRight(t,...n){return Hu(this,"reduceRight",t,n)},shift(){return Vi(this,"shift")},some(t,n){return un(this,"some",t,n,void 0,arguments)},splice(...t){return Vi(this,"splice",t)},toReversed(){return pi(this).toReversed()},toSorted(t){return pi(this).toSorted(t)},toSpliced(...t){return pi(this).toSpliced(...t)},unshift(...t){return Vi(this,"unshift",t)},values(){return zo(this,"values",_t)}};function zo(t,n,r){const o=qs(t),a=o[n]();return o!==t&&!Mt(t)&&(a._next=a.next,a.next=()=>{const u=a._next();return u.value&&(u.value=r(u.value)),u}),a}const Ip=Array.prototype;function un(t,n,r,o,a,u){const l=qs(t),f=l!==t&&!Mt(t),h=l[n];if(h!==Ip[n]){const g=h.apply(t,u);return f?_t(g):g}let _=r;l!==t&&(f?_=function(g,b){return r.call(this,_t(g),b,t)}:r.length>2&&(_=function(g,b){return r.call(this,g,b,t)}));const m=h.call(l,_,o);return f&&a?a(m):m}function Hu(t,n,r,o){const a=qs(t);let u=r;return a!==t&&(Mt(t)?r.length>3&&(u=function(l,f,h){return r.call(this,l,f,h,t)}):u=function(l,f,h){return r.call(this,l,_t(f),h,t)}),a[n](u,...o)}function Do(t,n,r){const o=je(t);mt(o,"iterate",or);const a=o[n](...r);return(a===-1||a===!1)&&Ma(r[0])?(r[0]=je(r[0]),o[n](...r)):a}function Vi(t,n,r=[]){Mn(),xa();const o=je(t)[n].apply(t,r);return Ca(),Nn(),o}const Mp=$a("__proto__,__v_isRef,__isVue"),xf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(wn));function Np(t){wn(t)||(t=String(t));const n=je(this);return mt(n,"has",t),n.hasOwnProperty(t)}class Cf{constructor(n=!1,r=!1){this._isReadonly=n,this._isShallow=r}get(n,r,o){if(r==="__v_skip")return n.__v_skip;const a=this._isReadonly,u=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return u;if(r==="__v_raw")return o===(a?u?Up:If:u?Af:Of).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(o)?n:void 0;const l=Pe(n);if(!a){let h;if(l&&(h=Ap[r]))return h;if(r==="hasOwnProperty")return Np}const f=Reflect.get(n,r,gt(n)?n:o);return(wn(r)?xf.has(r):Mp(r))||(a||mt(n,"get",r),u)?f:gt(f)?l&&Ra(r)?f:f.value:We(f)?a?Nf(f):Zs(f):f}}class kf extends Cf{constructor(n=!1){super(!1,n)}set(n,r,o,a){let u=n[r];if(!this._isShallow){const h=ni(u);if(!Mt(o)&&!ni(o)&&(u=je(u),o=je(o)),!Pe(n)&>(u)&&!gt(o))return h?!1:(u.value=o,!0)}const l=Pe(n)&&Ra(r)?Number(r)t,Nr=t=>Reflect.getPrototypeOf(t);function qp(t,n,r){return function(...o){const a=this.__v_raw,u=je(a),l=bi(u),f=t==="entries"||t===Symbol.iterator&&l,h=t==="keys"&&l,_=a[t](...o),m=r?ha:n?da:_t;return!n&&mt(u,"iterate",h?fa:ei),{next(){const{value:g,done:b}=_.next();return b?{value:g,done:b}:{value:f?[m(g[0]),m(g[1])]:m(g),done:b}},[Symbol.iterator](){return this}}}}function zr(t){return function(...n){return t==="delete"?!1:t==="clear"?void 0:this}}function Zp(t,n){const r={get(a){const u=this.__v_raw,l=je(u),f=je(a);t||(An(a,f)&&mt(l,"get",a),mt(l,"get",f));const{has:h}=Nr(l),_=n?ha:t?da:_t;if(h.call(l,a))return _(u.get(a));if(h.call(l,f))return _(u.get(f));u!==l&&u.get(a)},get size(){const a=this.__v_raw;return!t&&mt(je(a),"iterate",ei),Reflect.get(a,"size",a)},has(a){const u=this.__v_raw,l=je(u),f=je(a);return t||(An(a,f)&&mt(l,"has",a),mt(l,"has",f)),a===f?u.has(a):u.has(a)||u.has(f)},forEach(a,u){const l=this,f=l.__v_raw,h=je(f),_=n?ha:t?da:_t;return!t&&mt(h,"iterate",ei),f.forEach((m,g)=>a.call(u,_(m),_(g),l))}};return lt(r,t?{add:zr("add"),set:zr("set"),delete:zr("delete"),clear:zr("clear")}:{add(a){!n&&!Mt(a)&&!ni(a)&&(a=je(a));const u=je(this);return Nr(u).has.call(u,a)||(u.add(a),mn(u,"add",a,a)),this},set(a,u){!n&&!Mt(u)&&!ni(u)&&(u=je(u));const l=je(this),{has:f,get:h}=Nr(l);let _=f.call(l,a);_||(a=je(a),_=f.call(l,a));const m=h.call(l,a);return l.set(a,u),_?An(u,m)&&mn(l,"set",a,u):mn(l,"add",a,u),this},delete(a){const u=je(this),{has:l,get:f}=Nr(u);let h=l.call(u,a);h||(a=je(a),h=l.call(u,a)),f&&f.call(u,a);const _=u.delete(a);return h&&mn(u,"delete",a,void 0),_},clear(){const a=je(this),u=a.size!==0,l=a.clear();return u&&mn(a,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(a=>{r[a]=qp(a,t,n)}),r}function Aa(t,n){const r=Zp(t,n);return(o,a,u)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?o:Reflect.get(qe(r,a)&&a in o?r:o,a,u)}const Fp={get:Aa(!1,!1)},Vp={get:Aa(!1,!0)},Hp={get:Aa(!0,!1)};const Of=new WeakMap,Af=new WeakMap,If=new WeakMap,Up=new WeakMap;function Kp(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wp(t){return t.__v_skip||!Object.isExtensible(t)?0:Kp(yp(t))}function Zs(t){return ni(t)?t:Ia(t,!1,Dp,Fp,Of)}function Mf(t){return Ia(t,!1,Bp,Vp,Af)}function Nf(t){return Ia(t,!0,jp,Hp,If)}function Ia(t,n,r,o,a){if(!We(t)||t.__v_raw&&!(n&&t.__v_isReactive))return t;const u=a.get(t);if(u)return u;const l=Wp(t);if(l===0)return t;const f=new Proxy(t,l===2?o:r);return a.set(t,f),f}function Pi(t){return ni(t)?Pi(t.__v_raw):!!(t&&t.__v_isReactive)}function ni(t){return!!(t&&t.__v_isReadonly)}function Mt(t){return!!(t&&t.__v_isShallow)}function Ma(t){return t?!!t.__v_raw:!1}function je(t){const n=t&&t.__v_raw;return n?je(n):t}function Gp(t){return!qe(t,"__v_skip")&&Object.isExtensible(t)&&gf(t,"__v_skip",!0),t}const _t=t=>We(t)?Zs(t):t,da=t=>We(t)?Nf(t):t;function gt(t){return t?t.__v_isRef===!0:!1}function Ye(t){return zf(t,!1)}function Jp(t){return zf(t,!0)}function zf(t,n){return gt(t)?t:new Yp(t,n)}class Yp{constructor(n,r){this.dep=new Oa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?n:je(n),this._value=r?n:_t(n),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(n){const r=this._rawValue,o=this.__v_isShallow||Mt(n)||ni(n);n=o?n:je(n),An(n,r)&&(this._rawValue=n,this._value=o?n:_t(n),this.dep.trigger())}}function de(t){return gt(t)?t.value:t}const Xp={get:(t,n,r)=>n==="__v_raw"?t:de(Reflect.get(t,n,r)),set:(t,n,r,o)=>{const a=t[n];return gt(a)&&!gt(r)?(a.value=r,!0):Reflect.set(t,n,r,o)}};function Df(t){return Pi(t)?t:new Proxy(t,Xp)}class Qp{constructor(n,r,o){this.fn=n,this.setter=r,this._value=void 0,this.dep=new Oa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=sr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return Sf(this,!0),!0}get value(){const n=this.dep.track();return Tf(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter&&this.setter(n)}}function em(t,n,r=!1){let o,a;return Te(t)?o=t:(o=t.get,a=t.set),new Qp(o,a,r)}const Dr={},Ls=new WeakMap;let Jn;function tm(t,n=!1,r=Jn){if(r){let o=Ls.get(r);o||Ls.set(r,o=[]),o.push(t)}}function nm(t,n,r=Ve){const{immediate:o,deep:a,once:u,scheduler:l,augmentJob:f,call:h}=r,_=R=>a?R:Mt(R)||a===!1||a===0?_n(R,1):_n(R);let m,g,b,E,$=!1,C=!1;if(gt(t)?(g=()=>t.value,$=Mt(t)):Pi(t)?(g=()=>_(t),$=!0):Pe(t)?(C=!0,$=t.some(R=>Pi(R)||Mt(R)),g=()=>t.map(R=>{if(gt(R))return R.value;if(Pi(R))return _(R);if(Te(R))return h?h(R,2):R()})):Te(t)?n?g=h?()=>h(t,2):t:g=()=>{if(b){Mn();try{b()}finally{Nn()}}const R=Jn;Jn=m;try{return h?h(t,3,[E]):t(E)}finally{Jn=R}}:g=tn,n&&a){const R=g,O=a===!0?1/0:a;g=()=>_n(R(),O)}const w=Cp(),P=()=>{m.stop(),w&&w.active&&Ta(w.effects,m)};if(u&&n){const R=n;n=(...O)=>{R(...O),P()}}let p=C?new Array(t.length).fill(Dr):Dr;const v=R=>{if(!(!(m.flags&1)||!m.dirty&&!R))if(n){const O=m.run();if(a||$||(C?O.some((k,I)=>An(k,p[I])):An(O,p))){b&&b();const k=Jn;Jn=m;try{const I=[O,p===Dr?void 0:C&&p[0]===Dr?[]:p,E];h?h(n,3,I):n(...I),p=O}finally{Jn=k}}}else m.run()};return f&&f(v),m=new bf(g),m.scheduler=l?()=>l(v,!1):v,E=R=>tm(R,!1,m),b=m.onStop=()=>{const R=Ls.get(m);if(R){if(h)h(R,4);else for(const O of R)O();Ls.delete(m)}},n?o?v(!0):p=m.run():l?l(v.bind(null,!0),!0):m.run(),P.pause=m.pause.bind(m),P.resume=m.resume.bind(m),P.stop=P,P}function _n(t,n=1/0,r){if(n<=0||!We(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),n--,gt(t))_n(t.value,n,r);else if(Pe(t))for(let o=0;o{_n(o,n,r)});else if(_f(t)){for(const o in t)_n(t[o],n,r);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&_n(t[o],n,r)}return t}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function mr(t,n,r,o){try{return o?t(...o):t()}catch(a){Hs(a,n,r)}}function Ft(t,n,r,o){if(Ee(t)){const a=mr(t,n,r,o);return a&&pf(a)&&a.catch(u=>{Hs(u,n,r)}),a}if(Pe(t)){const a=[];for(let u=0;u>>1,a=bt[o],u=ar(a);u=ar(r)?bt.push(t):bt.splice(rm(n),0,t),t.flags|=1,qf()}}function qf(){ks||(ks=jf.then(Ff))}function sm(t){Pe(t)?Si.push(...t):Ln&&t.id===-1?Ln.splice(gi+1,0,t):t.flags&1||(Si.push(t),t.flags|=1),qf()}function Uu(t,n,r=Yt+1){for(;rar(r)-ar(o));if(Si.length=0,Ln){Ln.push(...n);return}for(Ln=n,gi=0;git.id==null?t.flags&2?-1:1/0:t.id;function Ff(t){try{for(Yt=0;Yt{o._d&&ic(-1);const u=Os(n);let c;try{c=t(...a)}finally{Os(u),o._d&&ic(1)}return c};return o._n=!0,o._c=!0,o._d=!0,o}function om(t,n){if(ct===null)return t;const r=Ys(ct),o=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,xn=Symbol("_leaveCb"),qr=Symbol("_enterCb");function um(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{t.isMounted=!0}),Qf(()=>{t.isUnmounting=!0}),t}const It=[Function,Array],Uf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:It,onEnter:It,onAfterEnter:It,onEnterCancelled:It,onBeforeLeave:It,onLeave:It,onAfterLeave:It,onLeaveCancelled:It,onBeforeAppear:It,onAppear:It,onAfterAppear:It,onAppearCancelled:It},Wf=t=>{const n=t.subTree;return n.component?Wf(n.component):n},cm={name:"BaseTransition",props:Uf,setup(t,{slots:n}){const r=i_(),o=um();return()=>{const a=n.default&&Jf(n.default(),!0);if(!a||!a.length)return;const u=Kf(a),c=je(t),{mode:f}=c;if(o.isLeaving)return jo(u);const d=Wu(u);if(!d)return jo(u);let _=pa(d,c,o,r,g=>_=g);d.type!==Pt&&ur(d,_);let m=r.subTree&&Wu(r.subTree);if(m&&m.type!==Pt&&!Yn(d,m)&&Wf(r).type!==Pt){let g=pa(m,c,o,r);if(ur(m,g),f==="out-in"&&d.type!==Pt)return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,r.job.flags&8||r.update(),delete g.afterLeave,m=void 0},jo(u);f==="in-out"&&d.type!==Pt?g.delayLeave=(b,T,$)=>{const C=Gf(o,m);C[String(m.key)]=m,b[xn]=()=>{T(),b[xn]=void 0,delete _.delayedLeave,m=void 0},_.delayedLeave=()=>{$(),delete _.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return u}}};function Kf(t){let n=t[0];if(t.length>1){for(const r of t)if(r.type!==Pt){n=r;break}}return n}const lm=cm;function Gf(t,n){const{leavingVNodes:r}=t;let o=r.get(n.type);return o||(o=Object.create(null),r.set(n.type,o)),o}function pa(t,n,r,o,a){const{appear:u,mode:c,persisted:f=!1,onBeforeEnter:d,onEnter:_,onAfterEnter:m,onEnterCancelled:g,onBeforeLeave:b,onLeave:T,onAfterLeave:$,onLeaveCancelled:C,onBeforeAppear:w,onAppear:P,onAfterAppear:p,onAppearCancelled:v}=n,R=String(t.key),O=Gf(r,t),k=(K,se)=>{K&&Ft(K,o,9,se)},I=(K,se)=>{const ie=se[1];k(K,se),Pe(K)?K.every(X=>X.length<=1)&&ie():K.length<=1&&ie()},V={mode:c,persisted:f,beforeEnter(K){let se=d;if(!r.isMounted)if(u)se=w||d;else return;K[xn]&&K[xn](!0);const ie=O[R];ie&&Yn(t,ie)&&ie.el[xn]&&ie.el[xn](),k(se,[K])},enter(K){let se=_,ie=m,X=g;if(!r.isMounted)if(u)se=P||_,ie=p||m,X=v||g;else return;let fe=!1;const me=K[qr]=Ie=>{fe||(fe=!0,Ie?k(X,[K]):k(ie,[K]),V.delayedLeave&&V.delayedLeave(),K[qr]=void 0)};se?I(se,[K,me]):me()},leave(K,se){const ie=String(t.key);if(K[qr]&&K[qr](!0),r.isUnmounting)return se();k(b,[K]);let X=!1;const fe=K[xn]=me=>{X||(X=!0,se(),me?k(C,[K]):k($,[K]),K[xn]=void 0,O[ie]===t&&delete O[ie])};O[ie]=t,T?I(T,[K,fe]):fe()},clone(K){const se=pa(K,n,r,o,a);return a&&a(se),se}};return V}function jo(t){if(Us(t))return t=In(t),t.children=null,t}function Wu(t){if(!Us(t))return Hf(t.type)&&t.children?Kf(t.children):t;const{shapeFlag:n,children:r}=t;if(r){if(n&16)return r[0];if(n&32&&Ee(r.default))return r.default()}}function ur(t,n){t.shapeFlag&6&&t.component?(t.transition=n,ur(t.component.subTree,n)):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function Jf(t,n=!1,r){let o=[],a=0;for(let u=0;u1)for(let u=0;uAs($,n&&(Pe(n)?n[C]:n),r,o,a));return}if($i(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&As(t,n,r,o.component.subTree);return}const u=o.shapeFlag&4?Ys(o.component):o.el,c=a?null:u,{i:f,r:d}=t,_=n&&n.r,m=f.refs===He?f.refs={}:f.refs,g=f.setupState,b=je(g),T=g===He?()=>!1:$=>qe(b,$);if(_!=null&&_!==d&&(Xe(_)?(m[_]=null,T(_)&&(g[_]=null)):gt(_)&&(_.value=null)),Ee(d))mr(d,f,12,[c,m]);else{const $=Xe(d),C=gt(d);if($||C){const w=()=>{if(t.f){const P=$?T(d)?g[d]:m[d]:d.value;a?Pe(P)&&Ea(P,u):Pe(P)?P.includes(u)||P.push(u):$?(m[d]=[u],T(d)&&(g[d]=m[d])):(d.value=[u],t.k&&(m[t.k]=d.value))}else $?(m[d]=c,T(d)&&(g[d]=c)):C&&(d.value=c,t.k&&(m[t.k]=c))};c?(w.id=-1,Et(w,r)):w()}}}Zs().requestIdleCallback;Zs().cancelIdleCallback;const $i=t=>!!t.type.__asyncLoader,Us=t=>t.type.__isKeepAlive;function fm(t,n){Xf(t,"a",n)}function dm(t,n){Xf(t,"da",n)}function Xf(t,n,r=ht){const o=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Ws(n,o,r),r){let a=r.parent;for(;a&&a.parent;)Us(a.parent.vnode)&&hm(o,n,r,a),a=a.parent}}function hm(t,n,r,o){const a=Ws(n,t,o,!0);ed(()=>{Ea(o[n],a)},r)}function Ws(t,n,r=ht,o=!1){if(r){const a=r[t]||(r[t]=[]),u=n.__weh||(n.__weh=(...c)=>{Mn();const f=_r(r),d=Ft(n,r,t,c);return f(),Nn(),d});return o?a.unshift(u):a.push(u),u}}const wn=t=>(n,r=ht)=>{(!fr||t==="sp")&&Ws(t,(...o)=>n(...o),r)},pm=wn("bm"),Ks=wn("m"),mm=wn("bu"),_m=wn("u"),Qf=wn("bum"),ed=wn("um"),gm=wn("sp"),vm=wn("rtg"),ym=wn("rtc");function wm(t,n=ht){Ws("ec",t,n)}const td="components";function ki(t,n){return id(td,t,!0,n)||t}const nd=Symbol.for("v-ndc");function bm(t){return Xe(t)?id(td,t,!1)||t:t||nd}function id(t,n,r=!0,o=!1){const a=ct||ht;if(a){const u=a.type;{const f=u_(u,!1);if(f&&(f===n||f===Nt(n)||f===qs(Nt(n))))return u}const c=Ku(a[t]||u[t],n)||Ku(a.appContext[t],n);return!c&&o?u:c}}function Ku(t,n){return t&&(t[n]||t[Nt(n)]||t[qs(Nt(n))])}function nn(t,n,r,o){let a;const u=r,c=Pe(t);if(c||Xe(t)){const f=c&&Pi(t);let d=!1;f&&(d=!Mt(t),t=Fs(t)),a=new Array(t.length);for(let _=0,m=t.length;_n(f,d,void 0,u));else{const f=Object.keys(t);a=new Array(f.length);for(let d=0,_=f.length;d<_;d++){const m=f[d];a[d]=n(t[m],m,d,u)}}else a=[];return a}function rd(t,n){for(let r=0;r{const u=o.fn(...a);return u&&(u.key=o.key),u}:o.fn)}return t}function Qn(t,n,r={},o,a){if(ct.ce||ct.parent&&$i(ct.parent)&&ct.parent.ce)return n!=="default"&&(r.name=n),de(),Ze(Je,null,[ke("slot",r,o)],64);let u=t[n];u&&u._c&&(u._d=!1),de();const c=u&&sd(u(r)),f=r.key||c&&c.key,d=Ze(Je,{key:(f&&!yn(f)?f:`_${n}`)+""},c||[],c&&t._===1?64:-2);return!a&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),u&&u._c&&(u._d=!0),d}function sd(t){return t.some(n=>lr(n)?!(n.type===Pt||n.type===Je&&!sd(n.children)):!0)?t:null}const ma=t=>t?Ed(t)?Ys(t):ma(t.parent):null,tr=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ma(t.parent),$root:t=>ma(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ad(t),$forceUpdate:t=>t.f||(t.f=()=>{Na(t.update)}),$nextTick:t=>t.n||(t.n=Bf.bind(t.proxy)),$watch:t=>Zm.bind(t)}),Bo=(t,n)=>t!==He&&!t.__isScriptSetup&&qe(t,n),Pm={get({_:t},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:o,data:a,props:u,accessCache:c,type:f,appContext:d}=t;let _;if(n[0]!=="$"){const T=c[n];if(T!==void 0)switch(T){case 1:return o[n];case 2:return a[n];case 4:return r[n];case 3:return u[n]}else{if(Bo(o,n))return c[n]=1,o[n];if(a!==He&&qe(a,n))return c[n]=2,a[n];if((_=t.propsOptions[0])&&qe(_,n))return c[n]=3,u[n];if(r!==He&&qe(r,n))return c[n]=4,r[n];_a&&(c[n]=0)}}const m=tr[n];let g,b;if(m)return n==="$attrs"&&mt(t.attrs,"get",""),m(t);if((g=f.__cssModules)&&(g=g[n]))return g;if(r!==He&&qe(r,n))return c[n]=4,r[n];if(b=d.config.globalProperties,qe(b,n))return b[n]},set({_:t},n,r){const{data:o,setupState:a,ctx:u}=t;return Bo(a,n)?(a[n]=r,!0):o!==He&&qe(o,n)?(o[n]=r,!0):qe(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(u[n]=r,!0)},has({_:{data:t,setupState:n,accessCache:r,ctx:o,appContext:a,propsOptions:u}},c){let f;return!!r[c]||t!==He&&qe(t,c)||Bo(n,c)||(f=u[0])&&qe(f,c)||qe(o,c)||qe(tr,c)||qe(a.config.globalProperties,c)},defineProperty(t,n,r){return r.get!=null?t._.accessCache[n]=0:qe(r,"value")&&this.set(t,n,r.value,null),Reflect.defineProperty(t,n,r)}};function Gu(t){return Pe(t)?t.reduce((n,r)=>(n[r]=null,n),{}):t}let _a=!0;function Sm(t){const n=ad(t),r=t.proxy,o=t.ctx;_a=!1,n.beforeCreate&&Ju(n.beforeCreate,t,"bc");const{data:a,computed:u,methods:c,watch:f,provide:d,inject:_,created:m,beforeMount:g,mounted:b,beforeUpdate:T,updated:$,activated:C,deactivated:w,beforeDestroy:P,beforeUnmount:p,destroyed:v,unmounted:R,render:O,renderTracked:k,renderTriggered:I,errorCaptured:V,serverPrefetch:K,expose:se,inheritAttrs:ie,components:X,directives:fe,filters:me}=n;if(_&&$m(_,o,null),c)for(const $e in c){const re=c[$e];Ee(re)&&(o[$e]=re.bind(r))}if(a){const $e=a.call(r,r);Ge($e)&&(t.data=Vs($e))}if(_a=!0,u)for(const $e in u){const re=u[$e],Qe=Ee(re)?re.bind(r,r):Ee(re.get)?re.get.bind(r,r):tn,W=!Ee(re)&&Ee(re.set)?re.set.bind(r):tn,D=rt({get:Qe,set:W});Object.defineProperty(o,$e,{enumerable:!0,configurable:!0,get:()=>D.value,set:Y=>D.value=Y})}if(f)for(const $e in f)od(f[$e],o,r,$e);if(d){const $e=Ee(d)?d.call(r):d;Reflect.ownKeys($e).forEach(re=>{Rs(re,$e[re])})}m&&Ju(m,t,"c");function Se($e,re){Pe(re)?re.forEach(Qe=>$e(Qe.bind(r))):re&&$e(re.bind(r))}if(Se(pm,g),Se(Ks,b),Se(mm,T),Se(_m,$),Se(fm,C),Se(dm,w),Se(wm,V),Se(ym,k),Se(vm,I),Se(Qf,p),Se(ed,R),Se(gm,K),Pe(se))if(se.length){const $e=t.exposed||(t.exposed={});se.forEach(re=>{Object.defineProperty($e,re,{get:()=>r[re],set:Qe=>r[re]=Qe})})}else t.exposed||(t.exposed={});O&&t.render===tn&&(t.render=O),ie!=null&&(t.inheritAttrs=ie),X&&(t.components=X),fe&&(t.directives=fe),K&&Yf(t)}function $m(t,n,r=tn){Pe(t)&&(t=ga(t));for(const o in t){const a=t[o];let u;Ge(a)?"default"in a?u=Zt(a.from||o,a.default,!0):u=Zt(a.from||o):u=Zt(a),gt(u)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>u.value,set:c=>u.value=c}):n[o]=u}}function Ju(t,n,r){Ft(Pe(t)?t.map(o=>o.bind(n.proxy)):t.bind(n.proxy),n,r)}function od(t,n,r,o){let a=o.includes(".")?bd(r,o):()=>r[o];if(Xe(t)){const u=n[t];Ee(u)&&vn(a,u)}else if(Ee(t))vn(a,t.bind(r));else if(Ge(t))if(Pe(t))t.forEach(u=>od(u,n,r,o));else{const u=Ee(t.handler)?t.handler.bind(r):n[t.handler];Ee(u)&&vn(a,u,t)}}function ad(t){const n=t.type,{mixins:r,extends:o}=n,{mixins:a,optionsCache:u,config:{optionMergeStrategies:c}}=t.appContext,f=u.get(n);let d;return f?d=f:!a.length&&!r&&!o?d=n:(d={},a.length&&a.forEach(_=>Is(d,_,c,!0)),Is(d,n,c)),Ge(n)&&u.set(n,d),d}function Is(t,n,r,o=!1){const{mixins:a,extends:u}=n;u&&Is(t,u,r,!0),a&&a.forEach(c=>Is(t,c,r,!0));for(const c in n)if(!(o&&c==="expose")){const f=Tm[c]||r&&r[c];t[c]=f?f(t[c],n[c]):n[c]}return t}const Tm={data:Yu,props:Xu,emits:Xu,methods:Ji,computed:Ji,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Ji,directives:Ji,watch:Rm,provide:Yu,inject:Em};function Yu(t,n){return n?t?function(){return lt(Ee(t)?t.call(this,this):t,Ee(n)?n.call(this,this):n)}:n:t}function Em(t,n){return Ji(ga(t),ga(n))}function ga(t){if(Pe(t)){const n={};for(let r=0;r1)return r&&Ee(n)?n.call(o&&o.proxy):n}}const cd={},ld=()=>Object.create(cd),fd=t=>Object.getPrototypeOf(t)===cd;function Cm(t,n,r,o=!1){const a={},u=ld();t.propsDefaults=Object.create(null),dd(t,n,a,u);for(const c in t.propsOptions[0])c in a||(a[c]=void 0);r?t.props=o?a:Mf(a):t.type.props?t.props=a:t.props=u,t.attrs=u}function km(t,n,r,o){const{props:a,attrs:u,vnode:{patchFlag:c}}=t,f=je(a),[d]=t.propsOptions;let _=!1;if((o||c>0)&&!(c&16)){if(c&8){const m=t.vnode.dynamicProps;for(let g=0;g{d=!0;const[b,T]=hd(g,n,!0);lt(c,b),T&&f.push(...T)};!r&&n.mixins.length&&n.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!u&&!d)return Ge(t)&&o.set(t,wi),wi;if(Pe(u))for(let m=0;mt[0]==="_"||t==="$stable",za=t=>Pe(t)?t.map(Xt):[Xt(t)],Am=(t,n,r)=>{if(n._n)return n;const o=it((...a)=>za(n(...a)),r);return o._c=!1,o},md=(t,n,r)=>{const o=t._ctx;for(const a in t){if(pd(a))continue;const u=t[a];if(Ee(u))n[a]=Am(a,u,o);else if(u!=null){const c=za(u);n[a]=()=>c}}},_d=(t,n)=>{const r=za(n);t.slots.default=()=>r},gd=(t,n,r)=>{for(const o in n)(r||o!=="_")&&(t[o]=n[o])},Im=(t,n,r)=>{const o=t.slots=ld();if(t.vnode.shapeFlag&32){const a=n._;a?(gd(o,n,r),r&&gf(o,"_",a,!0)):md(n,o)}else n&&_d(t,n)},Mm=(t,n,r)=>{const{vnode:o,slots:a}=t;let u=!0,c=He;if(o.shapeFlag&32){const f=n._;f?r&&f===1?u=!1:gd(a,n,r):(u=!n.$stable,md(n,a)),c=n}else n&&(_d(t,n),c={default:1});if(u)for(const f in a)!pd(f)&&c[f]==null&&delete a[f]},Et=Gm;function Nm(t){return zm(t)}function zm(t,n){const r=Zs();r.__VUE__=!0;const{insert:o,remove:a,patchProp:u,createElement:c,createText:f,createComment:d,setText:_,setElementText:m,parentNode:g,nextSibling:b,setScopeId:T=tn,insertStaticContent:$}=t,C=(y,E,A,B=null,H=null,J=null,ce=void 0,ue=null,oe=!!E.dynamicChildren)=>{if(y===E)return;y&&!Yn(y,E)&&(B=j(y),Y(y,H,J,!0),y=null),E.patchFlag===-2&&(oe=!1,E.dynamicChildren=null);const{type:Q,ref:_e,shapeFlag:le}=E;switch(Q){case Js:w(y,E,A,B);break;case Pt:P(y,E,A,B);break;case Zo:y==null&&p(E,A,B,ce);break;case Je:X(y,E,A,B,H,J,ce,ue,oe);break;default:le&1?O(y,E,A,B,H,J,ce,ue,oe):le&6?fe(y,E,A,B,H,J,ce,ue,oe):(le&64||le&128)&&Q.process(y,E,A,B,H,J,ce,ue,oe,ae)}_e!=null&&H&&As(_e,y&&y.ref,J,E||y,!E)},w=(y,E,A,B)=>{if(y==null)o(E.el=f(E.children),A,B);else{const H=E.el=y.el;E.children!==y.children&&_(H,E.children)}},P=(y,E,A,B)=>{y==null?o(E.el=d(E.children||""),A,B):E.el=y.el},p=(y,E,A,B)=>{[y.el,y.anchor]=$(y.children,E,A,B,y.el,y.anchor)},v=({el:y,anchor:E},A,B)=>{let H;for(;y&&y!==E;)H=b(y),o(y,A,B),y=H;o(E,A,B)},R=({el:y,anchor:E})=>{let A;for(;y&&y!==E;)A=b(y),a(y),y=A;a(E)},O=(y,E,A,B,H,J,ce,ue,oe)=>{E.type==="svg"?ce="svg":E.type==="math"&&(ce="mathml"),y==null?k(E,A,B,H,J,ce,ue,oe):K(y,E,H,J,ce,ue,oe)},k=(y,E,A,B,H,J,ce,ue)=>{let oe,Q;const{props:_e,shapeFlag:le,transition:ge,dirs:ye}=y;if(oe=y.el=c(y.type,J,_e&&_e.is,_e),le&8?m(oe,y.children):le&16&&V(y.children,oe,null,B,H,qo(y,J),ce,ue),ye&&Fn(y,null,B,"created"),I(oe,y,y.scopeId,ce,B),_e){for(const Ne in _e)Ne!=="value"&&!Xi(Ne)&&u(oe,Ne,null,_e[Ne],J,B);"value"in _e&&u(oe,"value",null,_e.value,J),(Q=_e.onVnodeBeforeMount)&&Jt(Q,B,y)}ye&&Fn(y,null,B,"beforeMount");const Te=Dm(H,ge);Te&&ge.beforeEnter(oe),o(oe,E,A),((Q=_e&&_e.onVnodeMounted)||Te||ye)&&Et(()=>{Q&&Jt(Q,B,y),Te&&ge.enter(oe),ye&&Fn(y,null,B,"mounted")},H)},I=(y,E,A,B,H)=>{if(A&&T(y,A),B)for(let J=0;J{for(let Q=oe;Q{const ue=E.el=y.el;let{patchFlag:oe,dynamicChildren:Q,dirs:_e}=E;oe|=y.patchFlag&16;const le=y.props||He,ge=E.props||He;let ye;if(A&&Vn(A,!1),(ye=ge.onVnodeBeforeUpdate)&&Jt(ye,A,E,y),_e&&Fn(E,y,A,"beforeUpdate"),A&&Vn(A,!0),(le.innerHTML&&ge.innerHTML==null||le.textContent&&ge.textContent==null)&&m(ue,""),Q?se(y.dynamicChildren,Q,ue,A,B,qo(E,H),J):ce||re(y,E,ue,null,A,B,qo(E,H),J,!1),oe>0){if(oe&16)ie(ue,le,ge,A,H);else if(oe&2&&le.class!==ge.class&&u(ue,"class",null,ge.class,H),oe&4&&u(ue,"style",le.style,ge.style,H),oe&8){const Te=E.dynamicProps;for(let Ne=0;Ne{ye&&Jt(ye,A,E,y),_e&&Fn(E,y,A,"updated")},B)},se=(y,E,A,B,H,J,ce)=>{for(let ue=0;ue{if(E!==A){if(E!==He)for(const J in E)!Xi(J)&&!(J in A)&&u(y,J,E[J],null,H,B);for(const J in A){if(Xi(J))continue;const ce=A[J],ue=E[J];ce!==ue&&J!=="value"&&u(y,J,ue,ce,H,B)}"value"in A&&u(y,"value",E.value,A.value,H)}},X=(y,E,A,B,H,J,ce,ue,oe)=>{const Q=E.el=y?y.el:f(""),_e=E.anchor=y?y.anchor:f("");let{patchFlag:le,dynamicChildren:ge,slotScopeIds:ye}=E;ye&&(ue=ue?ue.concat(ye):ye),y==null?(o(Q,A,B),o(_e,A,B),V(E.children||[],A,_e,H,J,ce,ue,oe)):le>0&&le&64&&ge&&y.dynamicChildren?(se(y.dynamicChildren,ge,A,H,J,ce,ue),(E.key!=null||H&&E===H.subTree)&&vd(y,E,!0)):re(y,E,A,_e,H,J,ce,ue,oe)},fe=(y,E,A,B,H,J,ce,ue,oe)=>{E.slotScopeIds=ue,y==null?E.shapeFlag&512?H.ctx.activate(E,A,B,ce,oe):me(E,A,B,H,J,ce,oe):Ie(y,E,oe)},me=(y,E,A,B,H,J,ce)=>{const ue=y.component=n_(y,B,H);if(Us(y)&&(ue.ctx.renderer=ae),r_(ue,!1,ce),ue.asyncDep){if(H&&H.registerDep(ue,Se,ce),!y.el){const oe=ue.subTree=ke(Pt);P(null,oe,E,A)}}else Se(ue,y,E,A,H,J,ce)},Ie=(y,E,A)=>{const B=E.component=y.component;if(Wm(y,E,A))if(B.asyncDep&&!B.asyncResolved){$e(B,E,A);return}else B.next=E,B.update();else E.el=y.el,B.vnode=E},Se=(y,E,A,B,H,J,ce)=>{const ue=()=>{if(y.isMounted){let{next:le,bu:ge,u:ye,parent:Te,vnode:Ne}=y;{const xt=yd(y);if(xt){le&&(le.el=Ne.el,$e(y,le,ce)),xt.asyncDep.then(()=>{y.isUnmounted||ue()});return}}let Ae=le,at;Vn(y,!1),le?(le.el=Ne.el,$e(y,le,ce)):le=Ne,ge&&Es(ge),(at=le.props&&le.props.onVnodeBeforeUpdate)&&Jt(at,Te,le,Ne),Vn(y,!0);const ot=tc(y),$t=y.subTree;y.subTree=ot,C($t,ot,g($t.el),j($t),y,H,J),le.el=ot.el,Ae===null&&Km(y,ot.el),ye&&Et(ye,H),(at=le.props&&le.props.onVnodeUpdated)&&Et(()=>Jt(at,Te,le,Ne),H)}else{let le;const{el:ge,props:ye}=E,{bm:Te,m:Ne,parent:Ae,root:at,type:ot}=y,$t=$i(E);Vn(y,!1),Te&&Es(Te),!$t&&(le=ye&&ye.onVnodeBeforeMount)&&Jt(le,Ae,E),Vn(y,!0);{at.ce&&at.ce._injectChildStyle(ot);const xt=y.subTree=tc(y);C(null,xt,A,B,y,H,J),E.el=xt.el}if(Ne&&Et(Ne,H),!$t&&(le=ye&&ye.onVnodeMounted)){const xt=E;Et(()=>Jt(le,Ae,xt),H)}(E.shapeFlag&256||Ae&&$i(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&y.a&&Et(y.a,H),y.isMounted=!0,E=A=B=null}};y.scope.on();const oe=y.effect=new bf(ue);y.scope.off();const Q=y.update=oe.run.bind(oe),_e=y.job=oe.runIfDirty.bind(oe);_e.i=y,_e.id=y.uid,oe.scheduler=()=>Na(_e),Vn(y,!0),Q()},$e=(y,E,A)=>{E.component=y;const B=y.vnode.props;y.vnode=E,y.next=null,km(y,E.props,B,A),Mm(y,E.children,A),Mn(),Uu(y),Nn()},re=(y,E,A,B,H,J,ce,ue,oe=!1)=>{const Q=y&&y.children,_e=y?y.shapeFlag:0,le=E.children,{patchFlag:ge,shapeFlag:ye}=E;if(ge>0){if(ge&128){W(Q,le,A,B,H,J,ce,ue,oe);return}else if(ge&256){Qe(Q,le,A,B,H,J,ce,ue,oe);return}}ye&8?(_e&16&&q(Q,H,J),le!==Q&&m(A,le)):_e&16?ye&16?W(Q,le,A,B,H,J,ce,ue,oe):q(Q,H,J,!0):(_e&8&&m(A,""),ye&16&&V(le,A,B,H,J,ce,ue,oe))},Qe=(y,E,A,B,H,J,ce,ue,oe)=>{y=y||wi,E=E||wi;const Q=y.length,_e=E.length,le=Math.min(Q,_e);let ge;for(ge=0;ge_e?q(y,H,J,!0,!1,le):V(E,A,B,H,J,ce,ue,oe,le)},W=(y,E,A,B,H,J,ce,ue,oe)=>{let Q=0;const _e=E.length;let le=y.length-1,ge=_e-1;for(;Q<=le&&Q<=ge;){const ye=y[Q],Te=E[Q]=oe?Cn(E[Q]):Xt(E[Q]);if(Yn(ye,Te))C(ye,Te,A,null,H,J,ce,ue,oe);else break;Q++}for(;Q<=le&&Q<=ge;){const ye=y[le],Te=E[ge]=oe?Cn(E[ge]):Xt(E[ge]);if(Yn(ye,Te))C(ye,Te,A,null,H,J,ce,ue,oe);else break;le--,ge--}if(Q>le){if(Q<=ge){const ye=ge+1,Te=ye<_e?E[ye].el:B;for(;Q<=ge;)C(null,E[Q]=oe?Cn(E[Q]):Xt(E[Q]),A,Te,H,J,ce,ue,oe),Q++}}else if(Q>ge)for(;Q<=le;)Y(y[Q],H,J,!0),Q++;else{const ye=Q,Te=Q,Ne=new Map;for(Q=Te;Q<=ge;Q++){const pt=E[Q]=oe?Cn(E[Q]):Xt(E[Q]);pt.key!=null&&Ne.set(pt.key,Q)}let Ae,at=0;const ot=ge-Te+1;let $t=!1,xt=0;const bn=new Array(ot);for(Q=0;Q=ot){Y(pt,H,J,!0);continue}let Ct;if(pt.key!=null)Ct=Ne.get(pt.key);else for(Ae=Te;Ae<=ge;Ae++)if(bn[Ae-Te]===0&&Yn(pt,E[Ae])){Ct=Ae;break}Ct===void 0?Y(pt,H,J,!0):(bn[Ct-Te]=Q+1,Ct>=xt?xt=Ct:$t=!0,C(pt,E[Ct],A,null,H,J,ce,ue,oe),at++)}const ri=$t?jm(bn):wi;for(Ae=ri.length-1,Q=ot-1;Q>=0;Q--){const pt=Te+Q,Ct=E[pt],Pn=pt+1<_e?E[pt+1].el:B;bn[Q]===0?C(null,Ct,A,Pn,H,J,ce,ue,oe):$t&&(Ae<0||Q!==ri[Ae]?D(Ct,A,Pn,2):Ae--)}}},D=(y,E,A,B,H=null)=>{const{el:J,type:ce,transition:ue,children:oe,shapeFlag:Q}=y;if(Q&6){D(y.component.subTree,E,A,B);return}if(Q&128){y.suspense.move(E,A,B);return}if(Q&64){ce.move(y,E,A,ae);return}if(ce===Je){o(J,E,A);for(let le=0;leue.enter(J),H);else{const{leave:le,delayLeave:ge,afterLeave:ye}=ue,Te=()=>o(J,E,A),Ne=()=>{le(J,()=>{Te(),ye&&ye()})};ge?ge(J,Te,Ne):Ne()}else o(J,E,A)},Y=(y,E,A,B=!1,H=!1)=>{const{type:J,props:ce,ref:ue,children:oe,dynamicChildren:Q,shapeFlag:_e,patchFlag:le,dirs:ge,cacheIndex:ye}=y;if(le===-2&&(H=!1),ue!=null&&As(ue,null,A,y,!0),ye!=null&&(E.renderCache[ye]=void 0),_e&256){E.ctx.deactivate(y);return}const Te=_e&1&&ge,Ne=!$i(y);let Ae;if(Ne&&(Ae=ce&&ce.onVnodeBeforeUnmount)&&Jt(Ae,E,y),_e&6)M(y.component,A,B);else{if(_e&128){y.suspense.unmount(A,B);return}Te&&Fn(y,null,E,"beforeUnmount"),_e&64?y.type.remove(y,E,A,ae,B):Q&&!Q.hasOnce&&(J!==Je||le>0&&le&64)?q(Q,E,A,!1,!0):(J===Je&&le&384||!H&&_e&16)&&q(oe,E,A),B&&Z(y)}(Ne&&(Ae=ce&&ce.onVnodeUnmounted)||Te)&&Et(()=>{Ae&&Jt(Ae,E,y),Te&&Fn(y,null,E,"unmounted")},A)},Z=y=>{const{type:E,el:A,anchor:B,transition:H}=y;if(E===Je){x(A,B);return}if(E===Zo){R(y);return}const J=()=>{a(A),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(y.shapeFlag&1&&H&&!H.persisted){const{leave:ce,delayLeave:ue}=H,oe=()=>ce(A,J);ue?ue(y.el,J,oe):oe()}else J()},x=(y,E)=>{let A;for(;y!==E;)A=b(y),a(y),y=A;a(E)},M=(y,E,A)=>{const{bum:B,scope:H,job:J,subTree:ce,um:ue,m:oe,a:Q}=y;ec(oe),ec(Q),B&&Es(B),H.stop(),J&&(J.flags|=8,Y(ce,y,E,A)),ue&&Et(ue,E),Et(()=>{y.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},q=(y,E,A,B=!1,H=!1,J=0)=>{for(let ce=J;ce{if(y.shapeFlag&6)return j(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const E=b(y.anchor||y.el),A=E&&E[am];return A?b(A):E};let G=!1;const ee=(y,E,A)=>{y==null?E._vnode&&Y(E._vnode,null,null,!0):C(E._vnode||null,y,E,null,null,null,A),E._vnode=y,G||(G=!0,Uu(),Zf(),G=!1)},ae={p:C,um:Y,m:D,r:Z,mt:me,mc:V,pc:re,pbc:se,n:j,o:t};return{render:ee,hydrate:void 0,createApp:xm(ee)}}function qo({type:t,props:n},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function Vn({effect:t,job:n},r){r?(t.flags|=32,n.flags|=4):(t.flags&=-33,n.flags&=-5)}function Dm(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function vd(t,n,r=!1){const o=t.children,a=n.children;if(Pe(o)&&Pe(a))for(let u=0;u>1,t[r[f]]<_?u=f+1:c=f;_0&&(n[o]=r[u-1]),r[u]=o)}}for(u=r.length,c=r[u-1];u-- >0;)r[u]=c,c=n[c];return r}function yd(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:yd(n)}function ec(t){if(t)for(let n=0;nZt(Bm);function vn(t,n,r){return wd(t,n,r)}function wd(t,n,r=He){const{immediate:o,deep:a,flush:u,once:c}=r,f=lt({},r),d=n&&o||!n&&u!=="post";let _;if(fr){if(u==="sync"){const T=qm();_=T.__watcherHandles||(T.__watcherHandles=[])}else if(!d){const T=()=>{};return T.stop=tn,T.resume=tn,T.pause=tn,T}}const m=ht;f.call=(T,$,C)=>Ft(T,m,$,C);let g=!1;u==="post"?f.scheduler=T=>{Et(T,m&&m.suspense)}:u!=="sync"&&(g=!0,f.scheduler=(T,$)=>{$?T():Na(T)}),f.augmentJob=T=>{n&&(T.flags|=4),g&&(T.flags|=2,m&&(T.id=m.uid,T.i=m))};const b=nm(t,n,f);return fr&&(_?_.push(b):d&&b()),b}function Zm(t,n,r){const o=this.proxy,a=Xe(t)?t.includes(".")?bd(o,t):()=>o[t]:t.bind(o,o);let u;Ee(n)?u=n:(u=n.handler,r=n);const c=_r(this),f=wd(a,u.bind(o),r);return c(),f}function bd(t,n){const r=n.split(".");return()=>{let o=t;for(let a=0;an==="modelValue"||n==="model-value"?t.modelModifiers:t[`${n}Modifiers`]||t[`${Nt(n)}Modifiers`]||t[`${ii(n)}Modifiers`];function Vm(t,n,...r){if(t.isUnmounted)return;const o=t.vnode.props||He;let a=r;const u=n.startsWith("update:"),c=u&&Fm(o,n.slice(7));c&&(c.trim&&(a=r.map(m=>Xe(m)?m.trim():m)),c.number&&(a=r.map(ua)));let f,d=o[f=Io(n)]||o[f=Io(Nt(n))];!d&&u&&(d=o[f=Io(ii(n))]),d&&Ft(d,t,6,a);const _=o[f+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,Ft(_,t,6,a)}}function Pd(t,n,r=!1){const o=n.emitsCache,a=o.get(t);if(a!==void 0)return a;const u=t.emits;let c={},f=!1;if(!Ee(t)){const d=_=>{const m=Pd(_,n,!0);m&&(f=!0,lt(c,m))};!r&&n.mixins.length&&n.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}return!u&&!f?(Ge(t)&&o.set(t,null),null):(Pe(u)?u.forEach(d=>c[d]=null):lt(c,u),Ge(t)&&o.set(t,c),c)}function Gs(t,n){return!t||!Ds(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(t,n[0].toLowerCase()+n.slice(1))||qe(t,ii(n))||qe(t,n))}function tc(t){const{type:n,vnode:r,proxy:o,withProxy:a,propsOptions:[u],slots:c,attrs:f,emit:d,render:_,renderCache:m,props:g,data:b,setupState:T,ctx:$,inheritAttrs:C}=t,w=Os(t);let P,p;try{if(r.shapeFlag&4){const R=a||o,O=R;P=Xt(_.call(O,R,m,g,T,b,$)),p=f}else{const R=n;P=Xt(R.length>1?R(g,{attrs:f,slots:c,emit:d}):R(g,null)),p=n.props?f:Hm(f)}}catch(R){nr.length=0,Hs(R,t,1),P=ke(Pt)}let v=P;if(p&&C!==!1){const R=Object.keys(p),{shapeFlag:O}=v;R.length&&O&7&&(u&&R.some(Ta)&&(p=Um(p,u)),v=In(v,p,!1,!0))}return r.dirs&&(v=In(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&ur(v,r.transition),P=v,Os(w),P}const Hm=t=>{let n;for(const r in t)(r==="class"||r==="style"||Ds(r))&&((n||(n={}))[r]=t[r]);return n},Um=(t,n)=>{const r={};for(const o in t)(!Ta(o)||!(o.slice(9)in n))&&(r[o]=t[o]);return r};function Wm(t,n,r){const{props:o,children:a,component:u}=t,{props:c,children:f,patchFlag:d}=n,_=u.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return o?nc(o,c,_):!!c;if(d&8){const m=n.dynamicProps;for(let g=0;gt.__isSuspense;function Gm(t,n){n&&n.pendingBranch?Pe(t)?n.effects.push(...t):n.effects.push(t):sm(t)}const Je=Symbol.for("v-fgt"),Js=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Zo=Symbol.for("v-stc"),nr=[];let Lt=null;function de(t=!1){nr.push(Lt=t?null:[])}function Jm(){nr.pop(),Lt=nr[nr.length-1]||null}let cr=1;function ic(t,n=!1){cr+=t,t<0&&Lt&&n&&(Lt.hasOnce=!0)}function $d(t){return t.dynamicChildren=cr>0?Lt||wi:null,Jm(),cr>0&&Lt&&Lt.push(t),t}function be(t,n,r,o,a,u){return $d(ne(t,n,r,o,a,u,!0))}function Ze(t,n,r,o,a){return $d(ke(t,n,r,o,a,!0))}function lr(t){return t?t.__v_isVNode===!0:!1}function Yn(t,n){return t.type===n.type&&t.key===n.key}const Td=({key:t})=>t??null,Ls=({ref:t,ref_key:n,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Xe(t)||gt(t)||Ee(t)?{i:ct,r:t,k:n,f:!!r}:t:null);function ne(t,n=null,r=null,o=0,a=null,u=t===Je?0:1,c=!1,f=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Td(n),ref:n&&Ls(n),scopeId:Vf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return f?(Da(d,r),u&128&&t.normalize(d)):r&&(d.shapeFlag|=Xe(r)?8:16),cr>0&&!c&&Lt&&(d.patchFlag>0||u&6)&&d.patchFlag!==32&&Lt.push(d),d}const ke=Ym;function Ym(t,n=null,r=null,o=0,a=null,u=!1){if((!t||t===nd)&&(t=Pt),lr(t)){const f=In(t,n,!0);return r&&Da(f,r),cr>0&&!u&&Lt&&(f.shapeFlag&6?Lt[Lt.indexOf(t)]=f:Lt.push(f)),f.patchFlag=-2,f}if(c_(t)&&(t=t.__vccOpts),n){n=Xm(n);let{class:f,style:d}=n;f&&!Xe(f)&&(n.class=Xn(f)),Ge(d)&&(Ma(d)&&!Pe(d)&&(d=lt({},d)),n.style=La(d))}const c=Xe(t)?1:Sd(t)?128:Hf(t)?64:Ge(t)?4:Ee(t)?2:0;return ne(t,n,r,o,a,c,u,!0)}function Xm(t){return t?Ma(t)||fd(t)?lt({},t):t:null}function In(t,n,r=!1,o=!1){const{props:a,ref:u,patchFlag:c,children:f,transition:d}=t,_=n?Qm(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Td(_),ref:n&&n.ref?r&&u?Pe(u)?u.concat(Ls(n)):[u,Ls(n)]:Ls(n):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:f,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Je?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:d,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return d&&o&&ur(m,d.clone(m)),m}function An(t=" ",n=0){return ke(Js,null,t,n)}function Ve(t="",n=!1){return n?(de(),Ze(Pt,null,t)):ke(Pt,null,t)}function Xt(t){return t==null||typeof t=="boolean"?ke(Pt):Pe(t)?ke(Je,null,t.slice()):lr(t)?Cn(t):ke(Js,null,String(t))}function Cn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function Da(t,n){let r=0;const{shapeFlag:o}=t;if(n==null)n=null;else if(Pe(n))r=16;else if(typeof n=="object")if(o&65){const a=n.default;a&&(a._c&&(a._d=!1),Da(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!fd(n)?n._ctx=ct:a===3&&ct&&(ct.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else Ee(n)?(n={default:n,_ctx:ct},r=32):(n=String(n),o&64?(r=16,n=[An(n)]):r=8);t.children=n,t.shapeFlag|=r}function Qm(...t){const n={};for(let r=0;rht||ct;let Ms,ya;{const t=Zs(),n=(r,o)=>{let a;return(a=t[r])||(a=t[r]=[]),a.push(o),u=>{a.length>1?a.forEach(c=>c(u)):a[0](u)}};Ms=n("__VUE_INSTANCE_SETTERS__",r=>ht=r),ya=n("__VUE_SSR_SETTERS__",r=>fr=r)}const _r=t=>{const n=ht;return Ms(t),t.scope.on(),()=>{t.scope.off(),Ms(n)}},rc=()=>{ht&&ht.scope.off(),Ms(null)};function Ed(t){return t.vnode.shapeFlag&4}let fr=!1;function r_(t,n=!1,r=!1){n&&ya(n);const{props:o,children:a}=t.vnode,u=Ed(t);Cm(t,o,u,n),Im(t,a,r);const c=u?s_(t,n):void 0;return n&&ya(!1),c}function s_(t,n){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Pm);const{setup:o}=r;if(o){Mn();const a=t.setupContext=o.length>1?a_(t):null,u=_r(t),c=mr(o,t,0,[t.props,a]),f=pf(c);if(Nn(),u(),(f||t.sp)&&!$i(t)&&Yf(t),f){if(c.then(rc,rc),n)return c.then(d=>{sc(t,d)}).catch(d=>{Hs(d,t,0)});t.asyncDep=c}else sc(t,c)}else Rd(t)}function sc(t,n,r){Ee(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:Ge(n)&&(t.setupState=Df(n)),Rd(t)}function Rd(t,n,r){const o=t.type;t.render||(t.render=o.render||tn);{const a=_r(t);Mn();try{Sm(t)}finally{Nn(),a()}}}const o_={get(t,n){return mt(t,"get",""),t[n]}};function a_(t){const n=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,o_),slots:t.slots,emit:t.emit,expose:n}}function Ys(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Df(Gp(t.exposed)),{get(n,r){if(r in n)return n[r];if(r in tr)return tr[r](t)},has(n,r){return r in n||r in tr}})):t.proxy}function u_(t,n=!0){return Ee(t)?t.displayName||t.name:t.name||n&&t.__name}function c_(t){return Ee(t)&&"__vccOpts"in t}const rt=(t,n)=>em(t,n,fr);function ja(t,n,r){const o=arguments.length;return o===2?Ge(n)&&!Pe(n)?lr(n)?ke(t,null,[n]):ke(t,n):ke(t,null,n):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&lr(r)&&(r=[r]),ke(t,n,r))}const l_="3.5.13";/** +**/function mr(t,n,r,o){try{return o?t(...o):t()}catch(a){Fs(a,n,r)}}function Ft(t,n,r,o){if(Te(t)){const a=mr(t,n,r,o);return a&&pf(a)&&a.catch(u=>{Fs(u,n,r)}),a}if(Pe(t)){const a=[];for(let u=0;u>>1,a=bt[o],u=ar(a);u=ar(r)?bt.push(t):bt.splice(rm(n),0,t),t.flags|=1,qf()}}function qf(){xs||(xs=jf.then(Ff))}function sm(t){Pe(t)?Si.push(...t):xn&&t.id===-1?xn.splice(gi+1,0,t):t.flags&1||(Si.push(t),t.flags|=1),qf()}function Uu(t,n,r=Yt+1){for(;rar(r)-ar(o));if(Si.length=0,xn){xn.push(...n);return}for(xn=n,gi=0;git.id==null?t.flags&2?-1:1/0:t.id;function Ff(t){try{for(Yt=0;Yt{o._d&&ic(-1);const u=Cs(n);let l;try{l=t(...a)}finally{Cs(u),o._d&&ic(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function om(t,n){if(ct===null)return t;const r=Gs(ct),o=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,Cn=Symbol("_leaveCb"),jr=Symbol("_enterCb");function um(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Us(()=>{t.isMounted=!0}),Qf(()=>{t.isUnmounting=!0}),t}const It=[Function,Array],Uf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:It,onEnter:It,onAfterEnter:It,onEnterCancelled:It,onBeforeLeave:It,onLeave:It,onAfterLeave:It,onLeaveCancelled:It,onBeforeAppear:It,onAppear:It,onAfterAppear:It,onAppearCancelled:It},Kf=t=>{const n=t.subTree;return n.component?Kf(n.component):n},cm={name:"BaseTransition",props:Uf,setup(t,{slots:n}){const r=i_(),o=um();return()=>{const a=n.default&&Jf(n.default(),!0);if(!a||!a.length)return;const u=Wf(a),l=je(t),{mode:f}=l;if(o.isLeaving)return jo(u);const h=Ku(u);if(!h)return jo(u);let _=pa(h,l,o,r,g=>_=g);h.type!==Pt&&ur(h,_);let m=r.subTree&&Ku(r.subTree);if(m&&m.type!==Pt&&!Yn(h,m)&&Kf(r).type!==Pt){let g=pa(m,l,o,r);if(ur(m,g),f==="out-in"&&h.type!==Pt)return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,r.job.flags&8||r.update(),delete g.afterLeave,m=void 0},jo(u);f==="in-out"&&h.type!==Pt?g.delayLeave=(b,E,$)=>{const C=Gf(o,m);C[String(m.key)]=m,b[Cn]=()=>{E(),b[Cn]=void 0,delete _.delayedLeave,m=void 0},_.delayedLeave=()=>{$(),delete _.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return u}}};function Wf(t){let n=t[0];if(t.length>1){for(const r of t)if(r.type!==Pt){n=r;break}}return n}const lm=cm;function Gf(t,n){const{leavingVNodes:r}=t;let o=r.get(n.type);return o||(o=Object.create(null),r.set(n.type,o)),o}function pa(t,n,r,o,a){const{appear:u,mode:l,persisted:f=!1,onBeforeEnter:h,onEnter:_,onAfterEnter:m,onEnterCancelled:g,onBeforeLeave:b,onLeave:E,onAfterLeave:$,onLeaveCancelled:C,onBeforeAppear:w,onAppear:P,onAfterAppear:p,onAppearCancelled:v}=n,R=String(t.key),O=Gf(r,t),k=(W,se)=>{W&&Ft(W,o,9,se)},I=(W,se)=>{const ie=se[1];k(W,se),Pe(W)?W.every(X=>X.length<=1)&&ie():W.length<=1&&ie()},V={mode:l,persisted:f,beforeEnter(W){let se=h;if(!r.isMounted)if(u)se=w||h;else return;W[Cn]&&W[Cn](!0);const ie=O[R];ie&&Yn(t,ie)&&ie.el[Cn]&&ie.el[Cn](),k(se,[W])},enter(W){let se=_,ie=m,X=g;if(!r.isMounted)if(u)se=P||_,ie=p||m,X=v||g;else return;let fe=!1;const me=W[jr]=Ie=>{fe||(fe=!0,Ie?k(X,[W]):k(ie,[W]),V.delayedLeave&&V.delayedLeave(),W[jr]=void 0)};se?I(se,[W,me]):me()},leave(W,se){const ie=String(t.key);if(W[jr]&&W[jr](!0),r.isUnmounting)return se();k(b,[W]);let X=!1;const fe=W[Cn]=me=>{X||(X=!0,se(),me?k(C,[W]):k($,[W]),W[Cn]=void 0,O[ie]===t&&delete O[ie])};O[ie]=t,E?I(E,[W,fe]):fe()},clone(W){const se=pa(W,n,r,o,a);return a&&a(se),se}};return V}function jo(t){if(Vs(t))return t=In(t),t.children=null,t}function Ku(t){if(!Vs(t))return Hf(t.type)&&t.children?Wf(t.children):t;const{shapeFlag:n,children:r}=t;if(r){if(n&16)return r[0];if(n&32&&Te(r.default))return r.default()}}function ur(t,n){t.shapeFlag&6&&t.component?(t.transition=n,ur(t.component.subTree,n)):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function Jf(t,n=!1,r){let o=[],a=0;for(let u=0;u1)for(let u=0;uks($,n&&(Pe(n)?n[C]:n),r,o,a));return}if($i(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&ks(t,n,r,o.component.subTree);return}const u=o.shapeFlag&4?Gs(o.component):o.el,l=a?null:u,{i:f,r:h}=t,_=n&&n.r,m=f.refs===Ve?f.refs={}:f.refs,g=f.setupState,b=je(g),E=g===Ve?()=>!1:$=>qe(b,$);if(_!=null&&_!==h&&(Xe(_)?(m[_]=null,E(_)&&(g[_]=null)):gt(_)&&(_.value=null)),Te(h))mr(h,f,12,[l,m]);else{const $=Xe(h),C=gt(h);if($||C){const w=()=>{if(t.f){const P=$?E(h)?g[h]:m[h]:h.value;a?Pe(P)&&Ta(P,u):Pe(P)?P.includes(u)||P.push(u):$?(m[h]=[u],E(h)&&(g[h]=m[h])):(h.value=[u],t.k&&(m[t.k]=h.value))}else $?(m[h]=l,E(h)&&(g[h]=l)):C&&(h.value=l,t.k&&(m[t.k]=l))};l?(w.id=-1,Tt(w,r)):w()}}}Bs().requestIdleCallback;Bs().cancelIdleCallback;const $i=t=>!!t.type.__asyncLoader,Vs=t=>t.type.__isKeepAlive;function fm(t,n){Xf(t,"a",n)}function hm(t,n){Xf(t,"da",n)}function Xf(t,n,r=dt){const o=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Hs(n,o,r),r){let a=r.parent;for(;a&&a.parent;)Vs(a.parent.vnode)&&dm(o,n,r,a),a=a.parent}}function dm(t,n,r,o){const a=Hs(n,t,o,!0);eh(()=>{Ta(o[n],a)},r)}function Hs(t,n,r=dt,o=!1){if(r){const a=r[t]||(r[t]=[]),u=n.__weh||(n.__weh=(...l)=>{Mn();const f=_r(r),h=Ft(n,r,t,l);return f(),Nn(),h});return o?a.unshift(u):a.push(u),u}}const bn=t=>(n,r=dt)=>{(!fr||t==="sp")&&Hs(t,(...o)=>n(...o),r)},pm=bn("bm"),Us=bn("m"),mm=bn("bu"),_m=bn("u"),Qf=bn("bum"),eh=bn("um"),gm=bn("sp"),vm=bn("rtg"),ym=bn("rtc");function wm(t,n=dt){Hs("ec",t,n)}const th="components";function ki(t,n){return ih(th,t,!0,n)||t}const nh=Symbol.for("v-ndc");function bm(t){return Xe(t)?ih(th,t,!1)||t:t||nh}function ih(t,n,r=!0,o=!1){const a=ct||dt;if(a){const u=a.type;{const f=u_(u,!1);if(f&&(f===n||f===Nt(n)||f===js(Nt(n))))return u}const l=Wu(a[t]||u[t],n)||Wu(a.appContext[t],n);return!l&&o?u:l}}function Wu(t,n){return t&&(t[n]||t[Nt(n)]||t[js(Nt(n))])}function nn(t,n,r,o){let a;const u=r,l=Pe(t);if(l||Xe(t)){const f=l&&Pi(t);let h=!1;f&&(h=!Mt(t),t=qs(t)),a=new Array(t.length);for(let _=0,m=t.length;_n(f,h,void 0,u));else{const f=Object.keys(t);a=new Array(f.length);for(let h=0,_=f.length;h<_;h++){const m=f[h];a[h]=n(t[m],m,h,u)}}else a=[];return a}function rh(t,n){for(let r=0;r{const u=o.fn(...a);return u&&(u.key=o.key),u}:o.fn)}return t}function Qn(t,n,r={},o,a){if(ct.ce||ct.parent&&$i(ct.parent)&&ct.parent.ce)return n!=="default"&&(r.name=n),he(),Fe(Ge,null,[ke("slot",r,o)],64);let u=t[n];u&&u._c&&(u._d=!1),he();const l=u&&sh(u(r)),f=r.key||l&&l.key,h=Fe(Ge,{key:(f&&!wn(f)?f:`_${n}`)+""},l||[],l&&t._===1?64:-2);return!a&&h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),u&&u._c&&(u._d=!0),h}function sh(t){return t.some(n=>lr(n)?!(n.type===Pt||n.type===Ge&&!sh(n.children)):!0)?t:null}const ma=t=>t?Th(t)?Gs(t):ma(t.parent):null,tr=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ma(t.parent),$root:t=>ma(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ah(t),$forceUpdate:t=>t.f||(t.f=()=>{Na(t.update)}),$nextTick:t=>t.n||(t.n=Bf.bind(t.proxy)),$watch:t=>Zm.bind(t)}),Bo=(t,n)=>t!==Ve&&!t.__isScriptSetup&&qe(t,n),Pm={get({_:t},n){if(n==="__v_skip")return!0;const{ctx:r,setupState:o,data:a,props:u,accessCache:l,type:f,appContext:h}=t;let _;if(n[0]!=="$"){const E=l[n];if(E!==void 0)switch(E){case 1:return o[n];case 2:return a[n];case 4:return r[n];case 3:return u[n]}else{if(Bo(o,n))return l[n]=1,o[n];if(a!==Ve&&qe(a,n))return l[n]=2,a[n];if((_=t.propsOptions[0])&&qe(_,n))return l[n]=3,u[n];if(r!==Ve&&qe(r,n))return l[n]=4,r[n];_a&&(l[n]=0)}}const m=tr[n];let g,b;if(m)return n==="$attrs"&&mt(t.attrs,"get",""),m(t);if((g=f.__cssModules)&&(g=g[n]))return g;if(r!==Ve&&qe(r,n))return l[n]=4,r[n];if(b=h.config.globalProperties,qe(b,n))return b[n]},set({_:t},n,r){const{data:o,setupState:a,ctx:u}=t;return Bo(a,n)?(a[n]=r,!0):o!==Ve&&qe(o,n)?(o[n]=r,!0):qe(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(u[n]=r,!0)},has({_:{data:t,setupState:n,accessCache:r,ctx:o,appContext:a,propsOptions:u}},l){let f;return!!r[l]||t!==Ve&&qe(t,l)||Bo(n,l)||(f=u[0])&&qe(f,l)||qe(o,l)||qe(tr,l)||qe(a.config.globalProperties,l)},defineProperty(t,n,r){return r.get!=null?t._.accessCache[n]=0:qe(r,"value")&&this.set(t,n,r.value,null),Reflect.defineProperty(t,n,r)}};function Gu(t){return Pe(t)?t.reduce((n,r)=>(n[r]=null,n),{}):t}let _a=!0;function Sm(t){const n=ah(t),r=t.proxy,o=t.ctx;_a=!1,n.beforeCreate&&Ju(n.beforeCreate,t,"bc");const{data:a,computed:u,methods:l,watch:f,provide:h,inject:_,created:m,beforeMount:g,mounted:b,beforeUpdate:E,updated:$,activated:C,deactivated:w,beforeDestroy:P,beforeUnmount:p,destroyed:v,unmounted:R,render:O,renderTracked:k,renderTriggered:I,errorCaptured:V,serverPrefetch:W,expose:se,inheritAttrs:ie,components:X,directives:fe,filters:me}=n;if(_&&$m(_,o,null),l)for(const $e in l){const re=l[$e];Te(re)&&(o[$e]=re.bind(r))}if(a){const $e=a.call(r,r);We($e)&&(t.data=Zs($e))}if(_a=!0,u)for(const $e in u){const re=u[$e],Qe=Te(re)?re.bind(r,r):Te(re.get)?re.get.bind(r,r):tn,K=!Te(re)&&Te(re.set)?re.set.bind(r):tn,D=rt({get:Qe,set:K});Object.defineProperty(o,$e,{enumerable:!0,configurable:!0,get:()=>D.value,set:Y=>D.value=Y})}if(f)for(const $e in f)oh(f[$e],o,r,$e);if(h){const $e=Te(h)?h.call(r):h;Reflect.ownKeys($e).forEach(re=>{Es(re,$e[re])})}m&&Ju(m,t,"c");function Se($e,re){Pe(re)?re.forEach(Qe=>$e(Qe.bind(r))):re&&$e(re.bind(r))}if(Se(pm,g),Se(Us,b),Se(mm,E),Se(_m,$),Se(fm,C),Se(hm,w),Se(wm,V),Se(ym,k),Se(vm,I),Se(Qf,p),Se(eh,R),Se(gm,W),Pe(se))if(se.length){const $e=t.exposed||(t.exposed={});se.forEach(re=>{Object.defineProperty($e,re,{get:()=>r[re],set:Qe=>r[re]=Qe})})}else t.exposed||(t.exposed={});O&&t.render===tn&&(t.render=O),ie!=null&&(t.inheritAttrs=ie),X&&(t.components=X),fe&&(t.directives=fe),W&&Yf(t)}function $m(t,n,r=tn){Pe(t)&&(t=ga(t));for(const o in t){const a=t[o];let u;We(a)?"default"in a?u=Zt(a.from||o,a.default,!0):u=Zt(a.from||o):u=Zt(a),gt(u)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>u.value,set:l=>u.value=l}):n[o]=u}}function Ju(t,n,r){Ft(Pe(t)?t.map(o=>o.bind(n.proxy)):t.bind(n.proxy),n,r)}function oh(t,n,r,o){let a=o.includes(".")?bh(r,o):()=>r[o];if(Xe(t)){const u=n[t];Te(u)&&vn(a,u)}else if(Te(t))vn(a,t.bind(r));else if(We(t))if(Pe(t))t.forEach(u=>oh(u,n,r,o));else{const u=Te(t.handler)?t.handler.bind(r):n[t.handler];Te(u)&&vn(a,u,t)}}function ah(t){const n=t.type,{mixins:r,extends:o}=n,{mixins:a,optionsCache:u,config:{optionMergeStrategies:l}}=t.appContext,f=u.get(n);let h;return f?h=f:!a.length&&!r&&!o?h=n:(h={},a.length&&a.forEach(_=>Os(h,_,l,!0)),Os(h,n,l)),We(n)&&u.set(n,h),h}function Os(t,n,r,o=!1){const{mixins:a,extends:u}=n;u&&Os(t,u,r,!0),a&&a.forEach(l=>Os(t,l,r,!0));for(const l in n)if(!(o&&l==="expose")){const f=Em[l]||r&&r[l];t[l]=f?f(t[l],n[l]):n[l]}return t}const Em={data:Yu,props:Xu,emits:Xu,methods:Ji,computed:Ji,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Ji,directives:Ji,watch:Rm,provide:Yu,inject:Tm};function Yu(t,n){return n?t?function(){return lt(Te(t)?t.call(this,this):t,Te(n)?n.call(this,this):n)}:n:t}function Tm(t,n){return Ji(ga(t),ga(n))}function ga(t){if(Pe(t)){const n={};for(let r=0;r1)return r&&Te(n)?n.call(o&&o.proxy):n}}const ch={},lh=()=>Object.create(ch),fh=t=>Object.getPrototypeOf(t)===ch;function Cm(t,n,r,o=!1){const a={},u=lh();t.propsDefaults=Object.create(null),hh(t,n,a,u);for(const l in t.propsOptions[0])l in a||(a[l]=void 0);r?t.props=o?a:Mf(a):t.type.props?t.props=a:t.props=u,t.attrs=u}function km(t,n,r,o){const{props:a,attrs:u,vnode:{patchFlag:l}}=t,f=je(a),[h]=t.propsOptions;let _=!1;if((o||l>0)&&!(l&16)){if(l&8){const m=t.vnode.dynamicProps;for(let g=0;g{h=!0;const[b,E]=dh(g,n,!0);lt(l,b),E&&f.push(...E)};!r&&n.mixins.length&&n.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!u&&!h)return We(t)&&o.set(t,wi),wi;if(Pe(u))for(let m=0;mt[0]==="_"||t==="$stable",za=t=>Pe(t)?t.map(Xt):[Xt(t)],Am=(t,n,r)=>{if(n._n)return n;const o=it((...a)=>za(n(...a)),r);return o._c=!1,o},mh=(t,n,r)=>{const o=t._ctx;for(const a in t){if(ph(a))continue;const u=t[a];if(Te(u))n[a]=Am(a,u,o);else if(u!=null){const l=za(u);n[a]=()=>l}}},_h=(t,n)=>{const r=za(n);t.slots.default=()=>r},gh=(t,n,r)=>{for(const o in n)(r||o!=="_")&&(t[o]=n[o])},Im=(t,n,r)=>{const o=t.slots=lh();if(t.vnode.shapeFlag&32){const a=n._;a?(gh(o,n,r),r&&gf(o,"_",a,!0)):mh(n,o)}else n&&_h(t,n)},Mm=(t,n,r)=>{const{vnode:o,slots:a}=t;let u=!0,l=Ve;if(o.shapeFlag&32){const f=n._;f?r&&f===1?u=!1:gh(a,n,r):(u=!n.$stable,mh(n,a)),l=n}else n&&(_h(t,n),l={default:1});if(u)for(const f in a)!ph(f)&&l[f]==null&&delete a[f]},Tt=Gm;function Nm(t){return zm(t)}function zm(t,n){const r=Bs();r.__VUE__=!0;const{insert:o,remove:a,patchProp:u,createElement:l,createText:f,createComment:h,setText:_,setElementText:m,parentNode:g,nextSibling:b,setScopeId:E=tn,insertStaticContent:$}=t,C=(y,T,A,B=null,H=null,J=null,ce=void 0,ue=null,oe=!!T.dynamicChildren)=>{if(y===T)return;y&&!Yn(y,T)&&(B=j(y),Y(y,H,J,!0),y=null),T.patchFlag===-2&&(oe=!1,T.dynamicChildren=null);const{type:Q,ref:_e,shapeFlag:le}=T;switch(Q){case Ws:w(y,T,A,B);break;case Pt:P(y,T,A,B);break;case Zo:y==null&&p(T,A,B,ce);break;case Ge:X(y,T,A,B,H,J,ce,ue,oe);break;default:le&1?O(y,T,A,B,H,J,ce,ue,oe):le&6?fe(y,T,A,B,H,J,ce,ue,oe):(le&64||le&128)&&Q.process(y,T,A,B,H,J,ce,ue,oe,ae)}_e!=null&&H&&ks(_e,y&&y.ref,J,T||y,!T)},w=(y,T,A,B)=>{if(y==null)o(T.el=f(T.children),A,B);else{const H=T.el=y.el;T.children!==y.children&&_(H,T.children)}},P=(y,T,A,B)=>{y==null?o(T.el=h(T.children||""),A,B):T.el=y.el},p=(y,T,A,B)=>{[y.el,y.anchor]=$(y.children,T,A,B,y.el,y.anchor)},v=({el:y,anchor:T},A,B)=>{let H;for(;y&&y!==T;)H=b(y),o(y,A,B),y=H;o(T,A,B)},R=({el:y,anchor:T})=>{let A;for(;y&&y!==T;)A=b(y),a(y),y=A;a(T)},O=(y,T,A,B,H,J,ce,ue,oe)=>{T.type==="svg"?ce="svg":T.type==="math"&&(ce="mathml"),y==null?k(T,A,B,H,J,ce,ue,oe):W(y,T,H,J,ce,ue,oe)},k=(y,T,A,B,H,J,ce,ue)=>{let oe,Q;const{props:_e,shapeFlag:le,transition:ge,dirs:ye}=y;if(oe=y.el=l(y.type,J,_e&&_e.is,_e),le&8?m(oe,y.children):le&16&&V(y.children,oe,null,B,H,qo(y,J),ce,ue),ye&&Fn(y,null,B,"created"),I(oe,y,y.scopeId,ce,B),_e){for(const Ne in _e)Ne!=="value"&&!Xi(Ne)&&u(oe,Ne,null,_e[Ne],J,B);"value"in _e&&u(oe,"value",null,_e.value,J),(Q=_e.onVnodeBeforeMount)&&Jt(Q,B,y)}ye&&Fn(y,null,B,"beforeMount");const Ee=Dm(H,ge);Ee&&ge.beforeEnter(oe),o(oe,T,A),((Q=_e&&_e.onVnodeMounted)||Ee||ye)&&Tt(()=>{Q&&Jt(Q,B,y),Ee&&ge.enter(oe),ye&&Fn(y,null,B,"mounted")},H)},I=(y,T,A,B,H)=>{if(A&&E(y,A),B)for(let J=0;J{for(let Q=oe;Q{const ue=T.el=y.el;let{patchFlag:oe,dynamicChildren:Q,dirs:_e}=T;oe|=y.patchFlag&16;const le=y.props||Ve,ge=T.props||Ve;let ye;if(A&&Vn(A,!1),(ye=ge.onVnodeBeforeUpdate)&&Jt(ye,A,T,y),_e&&Fn(T,y,A,"beforeUpdate"),A&&Vn(A,!0),(le.innerHTML&&ge.innerHTML==null||le.textContent&&ge.textContent==null)&&m(ue,""),Q?se(y.dynamicChildren,Q,ue,A,B,qo(T,H),J):ce||re(y,T,ue,null,A,B,qo(T,H),J,!1),oe>0){if(oe&16)ie(ue,le,ge,A,H);else if(oe&2&&le.class!==ge.class&&u(ue,"class",null,ge.class,H),oe&4&&u(ue,"style",le.style,ge.style,H),oe&8){const Ee=T.dynamicProps;for(let Ne=0;Ne{ye&&Jt(ye,A,T,y),_e&&Fn(T,y,A,"updated")},B)},se=(y,T,A,B,H,J,ce)=>{for(let ue=0;ue{if(T!==A){if(T!==Ve)for(const J in T)!Xi(J)&&!(J in A)&&u(y,J,T[J],null,H,B);for(const J in A){if(Xi(J))continue;const ce=A[J],ue=T[J];ce!==ue&&J!=="value"&&u(y,J,ue,ce,H,B)}"value"in A&&u(y,"value",T.value,A.value,H)}},X=(y,T,A,B,H,J,ce,ue,oe)=>{const Q=T.el=y?y.el:f(""),_e=T.anchor=y?y.anchor:f("");let{patchFlag:le,dynamicChildren:ge,slotScopeIds:ye}=T;ye&&(ue=ue?ue.concat(ye):ye),y==null?(o(Q,A,B),o(_e,A,B),V(T.children||[],A,_e,H,J,ce,ue,oe)):le>0&&le&64&&ge&&y.dynamicChildren?(se(y.dynamicChildren,ge,A,H,J,ce,ue),(T.key!=null||H&&T===H.subTree)&&vh(y,T,!0)):re(y,T,A,_e,H,J,ce,ue,oe)},fe=(y,T,A,B,H,J,ce,ue,oe)=>{T.slotScopeIds=ue,y==null?T.shapeFlag&512?H.ctx.activate(T,A,B,ce,oe):me(T,A,B,H,J,ce,oe):Ie(y,T,oe)},me=(y,T,A,B,H,J,ce)=>{const ue=y.component=n_(y,B,H);if(Vs(y)&&(ue.ctx.renderer=ae),r_(ue,!1,ce),ue.asyncDep){if(H&&H.registerDep(ue,Se,ce),!y.el){const oe=ue.subTree=ke(Pt);P(null,oe,T,A)}}else Se(ue,y,T,A,H,J,ce)},Ie=(y,T,A)=>{const B=T.component=y.component;if(Km(y,T,A))if(B.asyncDep&&!B.asyncResolved){$e(B,T,A);return}else B.next=T,B.update();else T.el=y.el,B.vnode=T},Se=(y,T,A,B,H,J,ce)=>{const ue=()=>{if(y.isMounted){let{next:le,bu:ge,u:ye,parent:Ee,vnode:Ne}=y;{const xt=yh(y);if(xt){le&&(le.el=Ne.el,$e(y,le,ce)),xt.asyncDep.then(()=>{y.isUnmounted||ue()});return}}let Ae=le,at;Vn(y,!1),le?(le.el=Ne.el,$e(y,le,ce)):le=Ne,ge&&$s(ge),(at=le.props&&le.props.onVnodeBeforeUpdate)&&Jt(at,Ee,le,Ne),Vn(y,!0);const ot=tc(y),$t=y.subTree;y.subTree=ot,C($t,ot,g($t.el),j($t),y,H,J),le.el=ot.el,Ae===null&&Wm(y,ot.el),ye&&Tt(ye,H),(at=le.props&&le.props.onVnodeUpdated)&&Tt(()=>Jt(at,Ee,le,Ne),H)}else{let le;const{el:ge,props:ye}=T,{bm:Ee,m:Ne,parent:Ae,root:at,type:ot}=y,$t=$i(T);Vn(y,!1),Ee&&$s(Ee),!$t&&(le=ye&&ye.onVnodeBeforeMount)&&Jt(le,Ae,T),Vn(y,!0);{at.ce&&at.ce._injectChildStyle(ot);const xt=y.subTree=tc(y);C(null,xt,A,B,y,H,J),T.el=xt.el}if(Ne&&Tt(Ne,H),!$t&&(le=ye&&ye.onVnodeMounted)){const xt=T;Tt(()=>Jt(le,Ae,xt),H)}(T.shapeFlag&256||Ae&&$i(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&y.a&&Tt(y.a,H),y.isMounted=!0,T=A=B=null}};y.scope.on();const oe=y.effect=new bf(ue);y.scope.off();const Q=y.update=oe.run.bind(oe),_e=y.job=oe.runIfDirty.bind(oe);_e.i=y,_e.id=y.uid,oe.scheduler=()=>Na(_e),Vn(y,!0),Q()},$e=(y,T,A)=>{T.component=y;const B=y.vnode.props;y.vnode=T,y.next=null,km(y,T.props,B,A),Mm(y,T.children,A),Mn(),Uu(y),Nn()},re=(y,T,A,B,H,J,ce,ue,oe=!1)=>{const Q=y&&y.children,_e=y?y.shapeFlag:0,le=T.children,{patchFlag:ge,shapeFlag:ye}=T;if(ge>0){if(ge&128){K(Q,le,A,B,H,J,ce,ue,oe);return}else if(ge&256){Qe(Q,le,A,B,H,J,ce,ue,oe);return}}ye&8?(_e&16&&q(Q,H,J),le!==Q&&m(A,le)):_e&16?ye&16?K(Q,le,A,B,H,J,ce,ue,oe):q(Q,H,J,!0):(_e&8&&m(A,""),ye&16&&V(le,A,B,H,J,ce,ue,oe))},Qe=(y,T,A,B,H,J,ce,ue,oe)=>{y=y||wi,T=T||wi;const Q=y.length,_e=T.length,le=Math.min(Q,_e);let ge;for(ge=0;ge_e?q(y,H,J,!0,!1,le):V(T,A,B,H,J,ce,ue,oe,le)},K=(y,T,A,B,H,J,ce,ue,oe)=>{let Q=0;const _e=T.length;let le=y.length-1,ge=_e-1;for(;Q<=le&&Q<=ge;){const ye=y[Q],Ee=T[Q]=oe?kn(T[Q]):Xt(T[Q]);if(Yn(ye,Ee))C(ye,Ee,A,null,H,J,ce,ue,oe);else break;Q++}for(;Q<=le&&Q<=ge;){const ye=y[le],Ee=T[ge]=oe?kn(T[ge]):Xt(T[ge]);if(Yn(ye,Ee))C(ye,Ee,A,null,H,J,ce,ue,oe);else break;le--,ge--}if(Q>le){if(Q<=ge){const ye=ge+1,Ee=ye<_e?T[ye].el:B;for(;Q<=ge;)C(null,T[Q]=oe?kn(T[Q]):Xt(T[Q]),A,Ee,H,J,ce,ue,oe),Q++}}else if(Q>ge)for(;Q<=le;)Y(y[Q],H,J,!0),Q++;else{const ye=Q,Ee=Q,Ne=new Map;for(Q=Ee;Q<=ge;Q++){const pt=T[Q]=oe?kn(T[Q]):Xt(T[Q]);pt.key!=null&&Ne.set(pt.key,Q)}let Ae,at=0;const ot=ge-Ee+1;let $t=!1,xt=0;const Pn=new Array(ot);for(Q=0;Q=ot){Y(pt,H,J,!0);continue}let Ct;if(pt.key!=null)Ct=Ne.get(pt.key);else for(Ae=Ee;Ae<=ge;Ae++)if(Pn[Ae-Ee]===0&&Yn(pt,T[Ae])){Ct=Ae;break}Ct===void 0?Y(pt,H,J,!0):(Pn[Ct-Ee]=Q+1,Ct>=xt?xt=Ct:$t=!0,C(pt,T[Ct],A,null,H,J,ce,ue,oe),at++)}const ri=$t?jm(Pn):wi;for(Ae=ri.length-1,Q=ot-1;Q>=0;Q--){const pt=Ee+Q,Ct=T[pt],Sn=pt+1<_e?T[pt+1].el:B;Pn[Q]===0?C(null,Ct,A,Sn,H,J,ce,ue,oe):$t&&(Ae<0||Q!==ri[Ae]?D(Ct,A,Sn,2):Ae--)}}},D=(y,T,A,B,H=null)=>{const{el:J,type:ce,transition:ue,children:oe,shapeFlag:Q}=y;if(Q&6){D(y.component.subTree,T,A,B);return}if(Q&128){y.suspense.move(T,A,B);return}if(Q&64){ce.move(y,T,A,ae);return}if(ce===Ge){o(J,T,A);for(let le=0;leue.enter(J),H);else{const{leave:le,delayLeave:ge,afterLeave:ye}=ue,Ee=()=>o(J,T,A),Ne=()=>{le(J,()=>{Ee(),ye&&ye()})};ge?ge(J,Ee,Ne):Ne()}else o(J,T,A)},Y=(y,T,A,B=!1,H=!1)=>{const{type:J,props:ce,ref:ue,children:oe,dynamicChildren:Q,shapeFlag:_e,patchFlag:le,dirs:ge,cacheIndex:ye}=y;if(le===-2&&(H=!1),ue!=null&&ks(ue,null,A,y,!0),ye!=null&&(T.renderCache[ye]=void 0),_e&256){T.ctx.deactivate(y);return}const Ee=_e&1&&ge,Ne=!$i(y);let Ae;if(Ne&&(Ae=ce&&ce.onVnodeBeforeUnmount)&&Jt(Ae,T,y),_e&6)M(y.component,A,B);else{if(_e&128){y.suspense.unmount(A,B);return}Ee&&Fn(y,null,T,"beforeUnmount"),_e&64?y.type.remove(y,T,A,ae,B):Q&&!Q.hasOnce&&(J!==Ge||le>0&&le&64)?q(Q,T,A,!1,!0):(J===Ge&&le&384||!H&&_e&16)&&q(oe,T,A),B&&Z(y)}(Ne&&(Ae=ce&&ce.onVnodeUnmounted)||Ee)&&Tt(()=>{Ae&&Jt(Ae,T,y),Ee&&Fn(y,null,T,"unmounted")},A)},Z=y=>{const{type:T,el:A,anchor:B,transition:H}=y;if(T===Ge){x(A,B);return}if(T===Zo){R(y);return}const J=()=>{a(A),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(y.shapeFlag&1&&H&&!H.persisted){const{leave:ce,delayLeave:ue}=H,oe=()=>ce(A,J);ue?ue(y.el,J,oe):oe()}else J()},x=(y,T)=>{let A;for(;y!==T;)A=b(y),a(y),y=A;a(T)},M=(y,T,A)=>{const{bum:B,scope:H,job:J,subTree:ce,um:ue,m:oe,a:Q}=y;ec(oe),ec(Q),B&&$s(B),H.stop(),J&&(J.flags|=8,Y(ce,y,T,A)),ue&&Tt(ue,T),Tt(()=>{y.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},q=(y,T,A,B=!1,H=!1,J=0)=>{for(let ce=J;ce{if(y.shapeFlag&6)return j(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const T=b(y.anchor||y.el),A=T&&T[am];return A?b(A):T};let G=!1;const ee=(y,T,A)=>{y==null?T._vnode&&Y(T._vnode,null,null,!0):C(T._vnode||null,y,T,null,null,null,A),T._vnode=y,G||(G=!0,Uu(),Zf(),G=!1)},ae={p:C,um:Y,m:D,r:Z,mt:me,mc:V,pc:re,pbc:se,n:j,o:t};return{render:ee,hydrate:void 0,createApp:xm(ee)}}function qo({type:t,props:n},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:r}function Vn({effect:t,job:n},r){r?(t.flags|=32,n.flags|=4):(t.flags&=-33,n.flags&=-5)}function Dm(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function vh(t,n,r=!1){const o=t.children,a=n.children;if(Pe(o)&&Pe(a))for(let u=0;u>1,t[r[f]]<_?u=f+1:l=f;_0&&(n[o]=r[u-1]),r[u]=o)}}for(u=r.length,l=r[u-1];u-- >0;)r[u]=l,l=n[l];return r}function yh(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:yh(n)}function ec(t){if(t)for(let n=0;nZt(Bm);function vn(t,n,r){return wh(t,n,r)}function wh(t,n,r=Ve){const{immediate:o,deep:a,flush:u,once:l}=r,f=lt({},r),h=n&&o||!n&&u!=="post";let _;if(fr){if(u==="sync"){const E=qm();_=E.__watcherHandles||(E.__watcherHandles=[])}else if(!h){const E=()=>{};return E.stop=tn,E.resume=tn,E.pause=tn,E}}const m=dt;f.call=(E,$,C)=>Ft(E,m,$,C);let g=!1;u==="post"?f.scheduler=E=>{Tt(E,m&&m.suspense)}:u!=="sync"&&(g=!0,f.scheduler=(E,$)=>{$?E():Na(E)}),f.augmentJob=E=>{n&&(E.flags|=4),g&&(E.flags|=2,m&&(E.id=m.uid,E.i=m))};const b=nm(t,n,f);return fr&&(_?_.push(b):h&&b()),b}function Zm(t,n,r){const o=this.proxy,a=Xe(t)?t.includes(".")?bh(o,t):()=>o[t]:t.bind(o,o);let u;Te(n)?u=n:(u=n.handler,r=n);const l=_r(this),f=wh(a,u.bind(o),r);return l(),f}function bh(t,n){const r=n.split(".");return()=>{let o=t;for(let a=0;an==="modelValue"||n==="model-value"?t.modelModifiers:t[`${n}Modifiers`]||t[`${Nt(n)}Modifiers`]||t[`${ii(n)}Modifiers`];function Vm(t,n,...r){if(t.isUnmounted)return;const o=t.vnode.props||Ve;let a=r;const u=n.startsWith("update:"),l=u&&Fm(o,n.slice(7));l&&(l.trim&&(a=r.map(m=>Xe(m)?m.trim():m)),l.number&&(a=r.map(ua)));let f,h=o[f=Io(n)]||o[f=Io(Nt(n))];!h&&u&&(h=o[f=Io(ii(n))]),h&&Ft(h,t,6,a);const _=o[f+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,Ft(_,t,6,a)}}function Ph(t,n,r=!1){const o=n.emitsCache,a=o.get(t);if(a!==void 0)return a;const u=t.emits;let l={},f=!1;if(!Te(t)){const h=_=>{const m=Ph(_,n,!0);m&&(f=!0,lt(l,m))};!r&&n.mixins.length&&n.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}return!u&&!f?(We(t)&&o.set(t,null),null):(Pe(u)?u.forEach(h=>l[h]=null):lt(l,u),We(t)&&o.set(t,l),l)}function Ks(t,n){return!t||!Ns(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(t,n[0].toLowerCase()+n.slice(1))||qe(t,ii(n))||qe(t,n))}function tc(t){const{type:n,vnode:r,proxy:o,withProxy:a,propsOptions:[u],slots:l,attrs:f,emit:h,render:_,renderCache:m,props:g,data:b,setupState:E,ctx:$,inheritAttrs:C}=t,w=Cs(t);let P,p;try{if(r.shapeFlag&4){const R=a||o,O=R;P=Xt(_.call(O,R,m,g,E,b,$)),p=f}else{const R=n;P=Xt(R.length>1?R(g,{attrs:f,slots:l,emit:h}):R(g,null)),p=n.props?f:Hm(f)}}catch(R){nr.length=0,Fs(R,t,1),P=ke(Pt)}let v=P;if(p&&C!==!1){const R=Object.keys(p),{shapeFlag:O}=v;R.length&&O&7&&(u&&R.some(Ea)&&(p=Um(p,u)),v=In(v,p,!1,!0))}return r.dirs&&(v=In(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&ur(v,r.transition),P=v,Cs(w),P}const Hm=t=>{let n;for(const r in t)(r==="class"||r==="style"||Ns(r))&&((n||(n={}))[r]=t[r]);return n},Um=(t,n)=>{const r={};for(const o in t)(!Ea(o)||!(o.slice(9)in n))&&(r[o]=t[o]);return r};function Km(t,n,r){const{props:o,children:a,component:u}=t,{props:l,children:f,patchFlag:h}=n,_=u.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&h>=0){if(h&1024)return!0;if(h&16)return o?nc(o,l,_):!!l;if(h&8){const m=n.dynamicProps;for(let g=0;gt.__isSuspense;function Gm(t,n){n&&n.pendingBranch?Pe(t)?n.effects.push(...t):n.effects.push(t):sm(t)}const Ge=Symbol.for("v-fgt"),Ws=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Zo=Symbol.for("v-stc"),nr=[];let Lt=null;function he(t=!1){nr.push(Lt=t?null:[])}function Jm(){nr.pop(),Lt=nr[nr.length-1]||null}let cr=1;function ic(t,n=!1){cr+=t,t<0&&Lt&&n&&(Lt.hasOnce=!0)}function $h(t){return t.dynamicChildren=cr>0?Lt||wi:null,Jm(),cr>0&&Lt&&Lt.push(t),t}function be(t,n,r,o,a,u){return $h(ne(t,n,r,o,a,u,!0))}function Fe(t,n,r,o,a){return $h(ke(t,n,r,o,a,!0))}function lr(t){return t?t.__v_isVNode===!0:!1}function Yn(t,n){return t.type===n.type&&t.key===n.key}const Eh=({key:t})=>t??null,Ts=({ref:t,ref_key:n,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Xe(t)||gt(t)||Te(t)?{i:ct,r:t,k:n,f:!!r}:t:null);function ne(t,n=null,r=null,o=0,a=null,u=t===Ge?0:1,l=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Eh(n),ref:n&&Ts(n),scopeId:Vf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return f?(Da(h,r),u&128&&t.normalize(h)):r&&(h.shapeFlag|=Xe(r)?8:16),cr>0&&!l&&Lt&&(h.patchFlag>0||u&6)&&h.patchFlag!==32&&Lt.push(h),h}const ke=Ym;function Ym(t,n=null,r=null,o=0,a=null,u=!1){if((!t||t===nh)&&(t=Pt),lr(t)){const f=In(t,n,!0);return r&&Da(f,r),cr>0&&!u&&Lt&&(f.shapeFlag&6?Lt[Lt.indexOf(t)]=f:Lt.push(f)),f.patchFlag=-2,f}if(c_(t)&&(t=t.__vccOpts),n){n=Xm(n);let{class:f,style:h}=n;f&&!Xe(f)&&(n.class=Xn(f)),We(h)&&(Ma(h)&&!Pe(h)&&(h=lt({},h)),n.style=La(h))}const l=Xe(t)?1:Sh(t)?128:Hf(t)?64:We(t)?4:Te(t)?2:0;return ne(t,n,r,o,a,l,u,!0)}function Xm(t){return t?Ma(t)||fh(t)?lt({},t):t:null}function In(t,n,r=!1,o=!1){const{props:a,ref:u,patchFlag:l,children:f,transition:h}=t,_=n?Qm(a||{},n):a,m={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Eh(_),ref:n&&n.ref?r&&u?Pe(u)?u.concat(Ts(n)):[u,Ts(n)]:Ts(n):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:f,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Ge?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:h,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return h&&o&&ur(m,h.clone(m)),m}function yn(t=" ",n=0){return ke(Ws,null,t,n)}function Ke(t="",n=!1){return n?(he(),Fe(Pt,null,t)):ke(Pt,null,t)}function Xt(t){return t==null||typeof t=="boolean"?ke(Pt):Pe(t)?ke(Ge,null,t.slice()):lr(t)?kn(t):ke(Ws,null,String(t))}function kn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function Da(t,n){let r=0;const{shapeFlag:o}=t;if(n==null)n=null;else if(Pe(n))r=16;else if(typeof n=="object")if(o&65){const a=n.default;a&&(a._c&&(a._d=!1),Da(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!fh(n)?n._ctx=ct:a===3&&ct&&(ct.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else Te(n)?(n={default:n,_ctx:ct},r=32):(n=String(n),o&64?(r=16,n=[yn(n)]):r=8);t.children=n,t.shapeFlag|=r}function Qm(...t){const n={};for(let r=0;rdt||ct;let As,ya;{const t=Bs(),n=(r,o)=>{let a;return(a=t[r])||(a=t[r]=[]),a.push(o),u=>{a.length>1?a.forEach(l=>l(u)):a[0](u)}};As=n("__VUE_INSTANCE_SETTERS__",r=>dt=r),ya=n("__VUE_SSR_SETTERS__",r=>fr=r)}const _r=t=>{const n=dt;return As(t),t.scope.on(),()=>{t.scope.off(),As(n)}},rc=()=>{dt&&dt.scope.off(),As(null)};function Th(t){return t.vnode.shapeFlag&4}let fr=!1;function r_(t,n=!1,r=!1){n&&ya(n);const{props:o,children:a}=t.vnode,u=Th(t);Cm(t,o,u,n),Im(t,a,r);const l=u?s_(t,n):void 0;return n&&ya(!1),l}function s_(t,n){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Pm);const{setup:o}=r;if(o){Mn();const a=t.setupContext=o.length>1?a_(t):null,u=_r(t),l=mr(o,t,0,[t.props,a]),f=pf(l);if(Nn(),u(),(f||t.sp)&&!$i(t)&&Yf(t),f){if(l.then(rc,rc),n)return l.then(h=>{sc(t,h)}).catch(h=>{Fs(h,t,0)});t.asyncDep=l}else sc(t,l)}else Rh(t)}function sc(t,n,r){Te(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:We(n)&&(t.setupState=Df(n)),Rh(t)}function Rh(t,n,r){const o=t.type;t.render||(t.render=o.render||tn);{const a=_r(t);Mn();try{Sm(t)}finally{Nn(),a()}}}const o_={get(t,n){return mt(t,"get",""),t[n]}};function a_(t){const n=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,o_),slots:t.slots,emit:t.emit,expose:n}}function Gs(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Df(Gp(t.exposed)),{get(n,r){if(r in n)return n[r];if(r in tr)return tr[r](t)},has(n,r){return r in n||r in tr}})):t.proxy}function u_(t,n=!0){return Te(t)?t.displayName||t.name:t.name||n&&t.__name}function c_(t){return Te(t)&&"__vccOpts"in t}const rt=(t,n)=>em(t,n,fr);function ja(t,n,r){const o=arguments.length;return o===2?We(n)&&!Pe(n)?lr(n)?ke(t,null,[n]):ke(t,n):ke(t,null,n):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&lr(r)&&(r=[r]),ke(t,n,r))}const l_="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let wa;const oc=typeof window<"u"&&window.trustedTypes;if(oc)try{wa=oc.createPolicy("vue",{createHTML:t=>t})}catch{}const Ld=wa?t=>wa.createHTML(t):t=>t,f_="http://www.w3.org/2000/svg",d_="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,ac=pn&&pn.createElement("template"),h_={insert:(t,n,r)=>{n.insertBefore(t,r||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,r,o)=>{const a=n==="svg"?pn.createElementNS(f_,t):n==="mathml"?pn.createElementNS(d_,t):r?pn.createElement(t,{is:r}):pn.createElement(t);return t==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:t=>pn.createTextNode(t),createComment:t=>pn.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>pn.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,r,o,a,u){const c=r?r.previousSibling:n.lastChild;if(a&&(a===u||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===u||!(a=a.nextSibling)););else{ac.innerHTML=Ld(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const f=ac.content;if(o==="svg"||o==="mathml"){const d=f.firstChild;for(;d.firstChild;)f.appendChild(d.firstChild);f.removeChild(d)}n.insertBefore(f,r)}return[c?c.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},Tn="transition",Hi="animation",dr=Symbol("_vtc"),xd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p_=lt({},Uf,xd),m_=t=>(t.displayName="Transition",t.props=p_,t),Ei=m_((t,{slots:n})=>ja(lm,__(t),n)),Hn=(t,n=[])=>{Pe(t)?t.forEach(r=>r(...n)):t&&t(...n)},uc=t=>t?Pe(t)?t.some(n=>n.length>1):t.length>1:!1;function __(t){const n={};for(const X in t)X in xd||(n[X]=t[X]);if(t.css===!1)return n;const{name:r="v",type:o,duration:a,enterFromClass:u=`${r}-enter-from`,enterActiveClass:c=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:d=u,appearActiveClass:_=c,appearToClass:m=f,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:b=`${r}-leave-active`,leaveToClass:T=`${r}-leave-to`}=t,$=g_(a),C=$&&$[0],w=$&&$[1],{onBeforeEnter:P,onEnter:p,onEnterCancelled:v,onLeave:R,onLeaveCancelled:O,onBeforeAppear:k=P,onAppear:I=p,onAppearCancelled:V=v}=n,K=(X,fe,me,Ie)=>{X._enterCancelled=Ie,Un(X,fe?m:f),Un(X,fe?_:c),me&&me()},se=(X,fe)=>{X._isLeaving=!1,Un(X,g),Un(X,T),Un(X,b),fe&&fe()},ie=X=>(fe,me)=>{const Ie=X?I:p,Se=()=>K(fe,X,me);Hn(Ie,[fe,Se]),cc(()=>{Un(fe,X?d:u),cn(fe,X?m:f),uc(Ie)||lc(fe,o,C,Se)})};return lt(n,{onBeforeEnter(X){Hn(P,[X]),cn(X,u),cn(X,c)},onBeforeAppear(X){Hn(k,[X]),cn(X,d),cn(X,_)},onEnter:ie(!1),onAppear:ie(!0),onLeave(X,fe){X._isLeaving=!0;const me=()=>se(X,fe);cn(X,g),X._enterCancelled?(cn(X,b),hc()):(hc(),cn(X,b)),cc(()=>{X._isLeaving&&(Un(X,g),cn(X,T),uc(R)||lc(X,o,w,me))}),Hn(R,[X,me])},onEnterCancelled(X){K(X,!1,void 0,!0),Hn(v,[X])},onAppearCancelled(X){K(X,!0,void 0,!0),Hn(V,[X])},onLeaveCancelled(X){se(X),Hn(O,[X])}})}function g_(t){if(t==null)return null;if(Ge(t))return[Fo(t.enter),Fo(t.leave)];{const n=Fo(t);return[n,n]}}function Fo(t){return Pp(t)}function cn(t,n){n.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[dr]||(t[dr]=new Set)).add(n)}function Un(t,n){n.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const r=t[dr];r&&(r.delete(n),r.size||(t[dr]=void 0))}function cc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let v_=0;function lc(t,n,r,o){const a=t._endId=++v_,u=()=>{a===t._endId&&o()};if(r!=null)return setTimeout(u,r);const{type:c,timeout:f,propCount:d}=y_(t,n);if(!c)return o();const _=c+"end";let m=0;const g=()=>{t.removeEventListener(_,b),u()},b=T=>{T.target===t&&++m>=d&&g()};setTimeout(()=>{m(r[$]||"").split(", "),a=o(`${Tn}Delay`),u=o(`${Tn}Duration`),c=fc(a,u),f=o(`${Hi}Delay`),d=o(`${Hi}Duration`),_=fc(f,d);let m=null,g=0,b=0;n===Tn?c>0&&(m=Tn,g=c,b=u.length):n===Hi?_>0&&(m=Hi,g=_,b=d.length):(g=Math.max(c,_),m=g>0?c>_?Tn:Hi:null,b=m?m===Tn?u.length:d.length:0);const T=m===Tn&&/\b(transform|all)(,|$)/.test(o(`${Tn}Property`).toString());return{type:m,timeout:g,propCount:b,hasTransform:T}}function fc(t,n){for(;t.lengthdc(r)+dc(t[o])))}function dc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function hc(){return document.body.offsetHeight}function w_(t,n,r){const o=t[dr];o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?t.removeAttribute("class"):r?t.setAttribute("class",n):t.className=n}const pc=Symbol("_vod"),b_=Symbol("_vsh"),P_=Symbol(""),S_=/(^|;)\s*display\s*:/;function $_(t,n,r){const o=t.style,a=Xe(r);let u=!1;if(r&&!a){if(n)if(Xe(n))for(const c of n.split(";")){const f=c.slice(0,c.indexOf(":")).trim();r[f]==null&&xs(o,f,"")}else for(const c in n)r[c]==null&&xs(o,c,"");for(const c in r)c==="display"&&(u=!0),xs(o,c,r[c])}else if(a){if(n!==r){const c=o[P_];c&&(r+=";"+c),o.cssText=r,u=S_.test(r)}}else n&&t.removeAttribute("style");pc in t&&(t[pc]=u?o.display:"",t[b_]&&(o.display="none"))}const mc=/\s*!important$/;function xs(t,n,r){if(Pe(r))r.forEach(o=>xs(t,n,o));else if(r==null&&(r=""),n.startsWith("--"))t.setProperty(n,r);else{const o=T_(t,n);mc.test(r)?t.setProperty(ii(o),r.replace(mc,""),"important"):t[o]=r}}const _c=["Webkit","Moz","ms"],Vo={};function T_(t,n){const r=Vo[n];if(r)return r;let o=Nt(n);if(o!=="filter"&&o in t)return Vo[n]=o;o=qs(o);for(let a=0;a<_c.length;a++){const u=_c[a]+o;if(u in t)return Vo[n]=u}return n}const gc="http://www.w3.org/1999/xlink";function vc(t,n,r,o,a,u=Lp(n)){o&&n.startsWith("xlink:")?r==null?t.removeAttributeNS(gc,n.slice(6,n.length)):t.setAttributeNS(gc,n,r):r==null||u&&!vf(r)?t.removeAttribute(n):t.setAttribute(n,u?"":yn(r)?String(r):r)}function yc(t,n,r,o,a){if(n==="innerHTML"||n==="textContent"){r!=null&&(t[n]=n==="innerHTML"?Ld(r):r);return}const u=t.tagName;if(n==="value"&&u!=="PROGRESS"&&!u.includes("-")){const f=u==="OPTION"?t.getAttribute("value")||"":t.value,d=r==null?t.type==="checkbox"?"on":"":String(r);(f!==d||!("_value"in t))&&(t.value=d),r==null&&t.removeAttribute(n),t._value=r;return}let c=!1;if(r===""||r==null){const f=typeof t[n];f==="boolean"?r=vf(r):r==null&&f==="string"?(r="",c=!0):f==="number"&&(r=0,c=!0)}try{t[n]=r}catch{}c&&t.removeAttribute(a||n)}function vi(t,n,r,o){t.addEventListener(n,r,o)}function E_(t,n,r,o){t.removeEventListener(n,r,o)}const wc=Symbol("_vei");function R_(t,n,r,o,a=null){const u=t[wc]||(t[wc]={}),c=u[n];if(o&&c)c.value=o;else{const[f,d]=L_(n);if(o){const _=u[n]=k_(o,a);vi(t,f,_,d)}else c&&(E_(t,f,c,d),u[n]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function L_(t){let n;if(bc.test(t)){n={};let o;for(;o=t.match(bc);)t=t.slice(0,t.length-o[0].length),n[o[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ii(t.slice(2)),n]}let Ho=0;const x_=Promise.resolve(),C_=()=>Ho||(x_.then(()=>Ho=0),Ho=Date.now());function k_(t,n){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;Ft(O_(o,r.value),n,5,[o])};return r.value=t,r.attached=C_(),r}function O_(t,n){if(Pe(n)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},n.map(o=>a=>!a._stopped&&o&&o(a))}else return n}const Pc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,A_=(t,n,r,o,a,u)=>{const c=a==="svg";n==="class"?w_(t,o,c):n==="style"?$_(t,r,o):Ds(n)?Ta(n)||R_(t,n,r,o,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):I_(t,n,o,c))?(yc(t,n,o),!t.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&vc(t,n,o,c,u,n!=="value")):t._isVueCE&&(/[A-Z]/.test(n)||!Xe(o))?yc(t,Nt(n),o,u,n):(n==="true-value"?t._trueValue=o:n==="false-value"&&(t._falseValue=o),vc(t,n,o,c))};function I_(t,n,r,o){if(o)return!!(n==="innerHTML"||n==="textContent"||n in t&&Pc(n)&&Ee(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Pc(n)&&Xe(r)?!1:n in t}const Sc=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Pe(n)?r=>Es(n,r):n};function M_(t){t.target.composing=!0}function $c(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Uo=Symbol("_assign"),N_={created(t,{modifiers:{lazy:n,trim:r,number:o}},a){t[Uo]=Sc(a);const u=o||a.props&&a.props.type==="number";vi(t,n?"change":"input",c=>{if(c.target.composing)return;let f=t.value;r&&(f=f.trim()),u&&(f=ua(f)),t[Uo](f)}),r&&vi(t,"change",()=>{t.value=t.value.trim()}),n||(vi(t,"compositionstart",M_),vi(t,"compositionend",$c),vi(t,"change",$c))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,oldValue:r,modifiers:{lazy:o,trim:a,number:u}},c){if(t[Uo]=Sc(c),t.composing)return;const f=(u||t.type==="number")&&!/^0\d/.test(t.value)?ua(t.value):t.value,d=n??"";f!==d&&(document.activeElement===t&&t.type!=="range"&&(o&&n===r||a&&t.value.trim()===d)||(t.value=d))}},z_=lt({patchProp:A_},h_);let Tc;function D_(){return Tc||(Tc=Nm(z_))}const j_=(...t)=>{const n=D_().createApp(...t),{mount:r}=n;return n.mount=o=>{const a=q_(o);if(!a)return;const u=n._component;!Ee(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const c=r(a,!1,B_(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),c},n};function B_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function q_(t){return Xe(t)?document.querySelector(t):t}/*! +**/let wa;const oc=typeof window<"u"&&window.trustedTypes;if(oc)try{wa=oc.createPolicy("vue",{createHTML:t=>t})}catch{}const Lh=wa?t=>wa.createHTML(t):t=>t,f_="http://www.w3.org/2000/svg",h_="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,ac=pn&&pn.createElement("template"),d_={insert:(t,n,r)=>{n.insertBefore(t,r||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,r,o)=>{const a=n==="svg"?pn.createElementNS(f_,t):n==="mathml"?pn.createElementNS(h_,t):r?pn.createElement(t,{is:r}):pn.createElement(t);return t==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:t=>pn.createTextNode(t),createComment:t=>pn.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>pn.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,r,o,a,u){const l=r?r.previousSibling:n.lastChild;if(a&&(a===u||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===u||!(a=a.nextSibling)););else{ac.innerHTML=Lh(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const f=ac.content;if(o==="svg"||o==="mathml"){const h=f.firstChild;for(;h.firstChild;)f.appendChild(h.firstChild);f.removeChild(h)}n.insertBefore(f,r)}return[l?l.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}},Tn="transition",Hi="animation",hr=Symbol("_vtc"),xh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p_=lt({},Uf,xh),m_=t=>(t.displayName="Transition",t.props=p_,t),Ti=m_((t,{slots:n})=>ja(lm,__(t),n)),Hn=(t,n=[])=>{Pe(t)?t.forEach(r=>r(...n)):t&&t(...n)},uc=t=>t?Pe(t)?t.some(n=>n.length>1):t.length>1:!1;function __(t){const n={};for(const X in t)X in xh||(n[X]=t[X]);if(t.css===!1)return n;const{name:r="v",type:o,duration:a,enterFromClass:u=`${r}-enter-from`,enterActiveClass:l=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:h=u,appearActiveClass:_=l,appearToClass:m=f,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:b=`${r}-leave-active`,leaveToClass:E=`${r}-leave-to`}=t,$=g_(a),C=$&&$[0],w=$&&$[1],{onBeforeEnter:P,onEnter:p,onEnterCancelled:v,onLeave:R,onLeaveCancelled:O,onBeforeAppear:k=P,onAppear:I=p,onAppearCancelled:V=v}=n,W=(X,fe,me,Ie)=>{X._enterCancelled=Ie,Un(X,fe?m:f),Un(X,fe?_:l),me&&me()},se=(X,fe)=>{X._isLeaving=!1,Un(X,g),Un(X,E),Un(X,b),fe&&fe()},ie=X=>(fe,me)=>{const Ie=X?I:p,Se=()=>W(fe,X,me);Hn(Ie,[fe,Se]),cc(()=>{Un(fe,X?h:u),cn(fe,X?m:f),uc(Ie)||lc(fe,o,C,Se)})};return lt(n,{onBeforeEnter(X){Hn(P,[X]),cn(X,u),cn(X,l)},onBeforeAppear(X){Hn(k,[X]),cn(X,h),cn(X,_)},onEnter:ie(!1),onAppear:ie(!0),onLeave(X,fe){X._isLeaving=!0;const me=()=>se(X,fe);cn(X,g),X._enterCancelled?(cn(X,b),dc()):(dc(),cn(X,b)),cc(()=>{X._isLeaving&&(Un(X,g),cn(X,E),uc(R)||lc(X,o,w,me))}),Hn(R,[X,me])},onEnterCancelled(X){W(X,!1,void 0,!0),Hn(v,[X])},onAppearCancelled(X){W(X,!0,void 0,!0),Hn(V,[X])},onLeaveCancelled(X){se(X),Hn(O,[X])}})}function g_(t){if(t==null)return null;if(We(t))return[Fo(t.enter),Fo(t.leave)];{const n=Fo(t);return[n,n]}}function Fo(t){return Pp(t)}function cn(t,n){n.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[hr]||(t[hr]=new Set)).add(n)}function Un(t,n){n.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const r=t[hr];r&&(r.delete(n),r.size||(t[hr]=void 0))}function cc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let v_=0;function lc(t,n,r,o){const a=t._endId=++v_,u=()=>{a===t._endId&&o()};if(r!=null)return setTimeout(u,r);const{type:l,timeout:f,propCount:h}=y_(t,n);if(!l)return o();const _=l+"end";let m=0;const g=()=>{t.removeEventListener(_,b),u()},b=E=>{E.target===t&&++m>=h&&g()};setTimeout(()=>{m(r[$]||"").split(", "),a=o(`${Tn}Delay`),u=o(`${Tn}Duration`),l=fc(a,u),f=o(`${Hi}Delay`),h=o(`${Hi}Duration`),_=fc(f,h);let m=null,g=0,b=0;n===Tn?l>0&&(m=Tn,g=l,b=u.length):n===Hi?_>0&&(m=Hi,g=_,b=h.length):(g=Math.max(l,_),m=g>0?l>_?Tn:Hi:null,b=m?m===Tn?u.length:h.length:0);const E=m===Tn&&/\b(transform|all)(,|$)/.test(o(`${Tn}Property`).toString());return{type:m,timeout:g,propCount:b,hasTransform:E}}function fc(t,n){for(;t.lengthhc(r)+hc(t[o])))}function hc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function dc(){return document.body.offsetHeight}function w_(t,n,r){const o=t[hr];o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?t.removeAttribute("class"):r?t.setAttribute("class",n):t.className=n}const pc=Symbol("_vod"),b_=Symbol("_vsh"),P_=Symbol(""),S_=/(^|;)\s*display\s*:/;function $_(t,n,r){const o=t.style,a=Xe(r);let u=!1;if(r&&!a){if(n)if(Xe(n))for(const l of n.split(";")){const f=l.slice(0,l.indexOf(":")).trim();r[f]==null&&Rs(o,f,"")}else for(const l in n)r[l]==null&&Rs(o,l,"");for(const l in r)l==="display"&&(u=!0),Rs(o,l,r[l])}else if(a){if(n!==r){const l=o[P_];l&&(r+=";"+l),o.cssText=r,u=S_.test(r)}}else n&&t.removeAttribute("style");pc in t&&(t[pc]=u?o.display:"",t[b_]&&(o.display="none"))}const mc=/\s*!important$/;function Rs(t,n,r){if(Pe(r))r.forEach(o=>Rs(t,n,o));else if(r==null&&(r=""),n.startsWith("--"))t.setProperty(n,r);else{const o=E_(t,n);mc.test(r)?t.setProperty(ii(o),r.replace(mc,""),"important"):t[o]=r}}const _c=["Webkit","Moz","ms"],Vo={};function E_(t,n){const r=Vo[n];if(r)return r;let o=Nt(n);if(o!=="filter"&&o in t)return Vo[n]=o;o=js(o);for(let a=0;a<_c.length;a++){const u=_c[a]+o;if(u in t)return Vo[n]=u}return n}const gc="http://www.w3.org/1999/xlink";function vc(t,n,r,o,a,u=Lp(n)){o&&n.startsWith("xlink:")?r==null?t.removeAttributeNS(gc,n.slice(6,n.length)):t.setAttributeNS(gc,n,r):r==null||u&&!vf(r)?t.removeAttribute(n):t.setAttribute(n,u?"":wn(r)?String(r):r)}function yc(t,n,r,o,a){if(n==="innerHTML"||n==="textContent"){r!=null&&(t[n]=n==="innerHTML"?Lh(r):r);return}const u=t.tagName;if(n==="value"&&u!=="PROGRESS"&&!u.includes("-")){const f=u==="OPTION"?t.getAttribute("value")||"":t.value,h=r==null?t.type==="checkbox"?"on":"":String(r);(f!==h||!("_value"in t))&&(t.value=h),r==null&&t.removeAttribute(n),t._value=r;return}let l=!1;if(r===""||r==null){const f=typeof t[n];f==="boolean"?r=vf(r):r==null&&f==="string"?(r="",l=!0):f==="number"&&(r=0,l=!0)}try{t[n]=r}catch{}l&&t.removeAttribute(a||n)}function vi(t,n,r,o){t.addEventListener(n,r,o)}function T_(t,n,r,o){t.removeEventListener(n,r,o)}const wc=Symbol("_vei");function R_(t,n,r,o,a=null){const u=t[wc]||(t[wc]={}),l=u[n];if(o&&l)l.value=o;else{const[f,h]=L_(n);if(o){const _=u[n]=k_(o,a);vi(t,f,_,h)}else l&&(T_(t,f,l,h),u[n]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function L_(t){let n;if(bc.test(t)){n={};let o;for(;o=t.match(bc);)t=t.slice(0,t.length-o[0].length),n[o[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ii(t.slice(2)),n]}let Ho=0;const x_=Promise.resolve(),C_=()=>Ho||(x_.then(()=>Ho=0),Ho=Date.now());function k_(t,n){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;Ft(O_(o,r.value),n,5,[o])};return r.value=t,r.attached=C_(),r}function O_(t,n){if(Pe(n)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},n.map(o=>a=>!a._stopped&&o&&o(a))}else return n}const Pc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,A_=(t,n,r,o,a,u)=>{const l=a==="svg";n==="class"?w_(t,o,l):n==="style"?$_(t,r,o):Ns(n)?Ea(n)||R_(t,n,r,o,u):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):I_(t,n,o,l))?(yc(t,n,o),!t.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&vc(t,n,o,l,u,n!=="value")):t._isVueCE&&(/[A-Z]/.test(n)||!Xe(o))?yc(t,Nt(n),o,u,n):(n==="true-value"?t._trueValue=o:n==="false-value"&&(t._falseValue=o),vc(t,n,o,l))};function I_(t,n,r,o){if(o)return!!(n==="innerHTML"||n==="textContent"||n in t&&Pc(n)&&Te(r));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Pc(n)&&Xe(r)?!1:n in t}const Sc=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Pe(n)?r=>$s(n,r):n};function M_(t){t.target.composing=!0}function $c(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Uo=Symbol("_assign"),N_={created(t,{modifiers:{lazy:n,trim:r,number:o}},a){t[Uo]=Sc(a);const u=o||a.props&&a.props.type==="number";vi(t,n?"change":"input",l=>{if(l.target.composing)return;let f=t.value;r&&(f=f.trim()),u&&(f=ua(f)),t[Uo](f)}),r&&vi(t,"change",()=>{t.value=t.value.trim()}),n||(vi(t,"compositionstart",M_),vi(t,"compositionend",$c),vi(t,"change",$c))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,oldValue:r,modifiers:{lazy:o,trim:a,number:u}},l){if(t[Uo]=Sc(l),t.composing)return;const f=(u||t.type==="number")&&!/^0\d/.test(t.value)?ua(t.value):t.value,h=n??"";f!==h&&(document.activeElement===t&&t.type!=="range"&&(o&&n===r||a&&t.value.trim()===h)||(t.value=h))}},z_=lt({patchProp:A_},d_);let Ec;function D_(){return Ec||(Ec=Nm(z_))}const j_=(...t)=>{const n=D_().createApp(...t),{mount:r}=n;return n.mount=o=>{const a=q_(o);if(!a)return;const u=n._component;!Te(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const l=r(a,!1,B_(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),l},n};function B_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function q_(t){return Xe(t)?document.querySelector(t):t}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const yi=typeof document<"u";function Cd(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Z_(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Cd(t.default)}const Be=Object.assign;function Wo(t,n){const r={};for(const o in n){const a=n[o];r[o]=Vt(a)?a.map(t):t(a)}return r}const ir=()=>{},Vt=Array.isArray,kd=/#/g,F_=/&/g,V_=/\//g,H_=/=/g,U_=/\?/g,Od=/\+/g,W_=/%5B/g,K_=/%5D/g,Ad=/%5E/g,G_=/%60/g,Id=/%7B/g,J_=/%7C/g,Md=/%7D/g,Y_=/%20/g;function Ba(t){return encodeURI(""+t).replace(J_,"|").replace(W_,"[").replace(K_,"]")}function X_(t){return Ba(t).replace(Id,"{").replace(Md,"}").replace(Ad,"^")}function ba(t){return Ba(t).replace(Od,"%2B").replace(Y_,"+").replace(kd,"%23").replace(F_,"%26").replace(G_,"`").replace(Id,"{").replace(Md,"}").replace(Ad,"^")}function Q_(t){return ba(t).replace(H_,"%3D")}function eg(t){return Ba(t).replace(kd,"%23").replace(U_,"%3F")}function tg(t){return t==null?"":eg(t).replace(V_,"%2F")}function hr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ng=/\/$/,ig=t=>t.replace(ng,"");function Ko(t,n,r="/"){let o,a={},u="",c="";const f=n.indexOf("#");let d=n.indexOf("?");return f=0&&(d=-1),d>-1&&(o=n.slice(0,d),u=n.slice(d+1,f>-1?f:n.length),a=t(u)),f>-1&&(o=o||n.slice(0,f),c=n.slice(f,n.length)),o=ag(o??n,r),{fullPath:o+(u&&"?")+u+c,path:o,query:a,hash:hr(c)}}function rg(t,n){const r=n.query?t(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Ec(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function sg(t,n,r){const o=n.matched.length-1,a=r.matched.length-1;return o>-1&&o===a&&xi(n.matched[o],r.matched[a])&&Nd(n.params,r.params)&&t(n.query)===t(r.query)&&n.hash===r.hash}function xi(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Nd(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(!og(t[r],n[r]))return!1;return!0}function og(t,n){return Vt(t)?Rc(t,n):Vt(n)?Rc(n,t):t===n}function Rc(t,n){return Vt(n)?t.length===n.length&&t.every((r,o)=>r===n[o]):t.length===1&&t[0]===n}function ag(t,n){if(t.startsWith("/"))return t;if(!t)return n;const r=n.split("/"),o=t.split("/"),a=o[o.length-1];(a===".."||a===".")&&o.push("");let u=r.length-1,c,f;for(c=0;c1&&u--;else break;return r.slice(0,u).join("/")+"/"+o.slice(c).join("/")}const En={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var pr;(function(t){t.pop="pop",t.push="push"})(pr||(pr={}));var rr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(rr||(rr={}));function ug(t){if(!t)if(yi){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),ig(t)}const cg=/^[^#]+#/;function lg(t,n){return t.replace(cg,"#")+n}function fg(t,n){const r=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:n.behavior,left:o.left-r.left-(n.left||0),top:o.top-r.top-(n.top||0)}}const Xs=()=>({left:window.scrollX,top:window.scrollY});function dg(t){let n;if("el"in t){const r=t.el,o=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?o?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;n=fg(a,t)}else n=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function Lc(t,n){return(history.state?history.state.position-n:-1)+t}const Pa=new Map;function hg(t,n){Pa.set(t,n)}function pg(t){const n=Pa.get(t);return Pa.delete(t),n}let mg=()=>location.protocol+"//"+location.host;function zd(t,n){const{pathname:r,search:o,hash:a}=n,u=t.indexOf("#");if(u>-1){let f=a.includes(t.slice(u))?t.slice(u).length:1,d=a.slice(f);return d[0]!=="/"&&(d="/"+d),Ec(d,"")}return Ec(r,t)+o+a}function _g(t,n,r,o){let a=[],u=[],c=null;const f=({state:b})=>{const T=zd(t,location),$=r.value,C=n.value;let w=0;if(b){if(r.value=T,n.value=b,c&&c===$){c=null;return}w=C?b.position-C.position:0}else o(T);a.forEach(P=>{P(r.value,$,{delta:w,type:pr.pop,direction:w?w>0?rr.forward:rr.back:rr.unknown})})};function d(){c=r.value}function _(b){a.push(b);const T=()=>{const $=a.indexOf(b);$>-1&&a.splice($,1)};return u.push(T),T}function m(){const{history:b}=window;b.state&&b.replaceState(Be({},b.state,{scroll:Xs()}),"")}function g(){for(const b of u)b();u=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:d,listen:_,destroy:g}}function xc(t,n,r,o=!1,a=!1){return{back:t,current:n,forward:r,replaced:o,position:window.history.length,scroll:a?Xs():null}}function gg(t){const{history:n,location:r}=window,o={value:zd(t,r)},a={value:n.state};a.value||u(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function u(d,_,m){const g=t.indexOf("#"),b=g>-1?(r.host&&document.querySelector("base")?t:t.slice(g))+d:mg()+t+d;try{n[m?"replaceState":"pushState"](_,"",b),a.value=_}catch(T){console.error(T),r[m?"replace":"assign"](b)}}function c(d,_){const m=Be({},n.state,xc(a.value.back,d,a.value.forward,!0),_,{position:a.value.position});u(d,m,!0),o.value=d}function f(d,_){const m=Be({},a.value,n.state,{forward:d,scroll:Xs()});u(m.current,m,!0);const g=Be({},xc(o.value,d,null),{position:m.position+1},_);u(d,g,!1),o.value=d}return{location:o,state:a,push:f,replace:c}}function vg(t){t=ug(t);const n=gg(t),r=_g(t,n.state,n.location,n.replace);function o(u,c=!0){c||r.pauseListeners(),history.go(u)}const a=Be({location:"",base:t,go:o,createHref:lg.bind(null,t)},n,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}function yg(t){return typeof t=="string"||t&&typeof t=="object"}function Dd(t){return typeof t=="string"||typeof t=="symbol"}const jd=Symbol("");var Cc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Cc||(Cc={}));function Ci(t,n){return Be(new Error,{type:t,[jd]:!0},n)}function ln(t,n){return t instanceof Error&&jd in t&&(n==null||!!(t.type&n))}const kc="[^/]+?",wg={sensitive:!1,strict:!1,start:!0,end:!0},bg=/[.+*?^${}()[\]/\\]/g;function Pg(t,n){const r=Be({},wg,n),o=[];let a=r.start?"^":"";const u=[];for(const _ of t){const m=_.length?[]:[90];r.strict&&!_.length&&(a+="/");for(let g=0;g<_.length;g++){const b=_[g];let T=40+(r.sensitive?.25:0);if(b.type===0)g||(a+="/"),a+=b.value.replace(bg,"\\$&"),T+=40;else if(b.type===1){const{value:$,repeatable:C,optional:w,regexp:P}=b;u.push({name:$,repeatable:C,optional:w});const p=P||kc;if(p!==kc){T+=10;try{new RegExp(`(${p})`)}catch(R){throw new Error(`Invalid custom RegExp for param "${$}" (${p}): `+R.message)}}let v=C?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;g||(v=w&&_.length<2?`(?:/${v})`:"/"+v),w&&(v+="?"),a+=v,T+=20,w&&(T+=-8),C&&(T+=-20),p===".*"&&(T+=-50)}m.push(T)}o.push(m)}if(r.strict&&r.end){const _=o.length-1;o[_][o[_].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const c=new RegExp(a,r.sensitive?"":"i");function f(_){const m=_.match(c),g={};if(!m)return null;for(let b=1;bn.length?n.length===1&&n[0]===80?1:-1:0}function Bd(t,n){let r=0;const o=t.score,a=n.score;for(;r0&&n[n.length-1]<0}const $g={type:0,value:""},Tg=/[a-zA-Z0-9_]/;function Eg(t){if(!t)return[[]];if(t==="/")return[[$g]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(T){throw new Error(`ERR (${r})/"${_}": ${T}`)}let r=0,o=r;const a=[];let u;function c(){u&&a.push(u),u=[]}let f=0,d,_="",m="";function g(){_&&(r===0?u.push({type:0,value:_}):r===1||r===2||r===3?(u.length>1&&(d==="*"||d==="+")&&n(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:_,regexp:m,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):n("Invalid state to consume buffer"),_="")}function b(){_+=d}for(;f{c(v)}:ir}function c(g){if(Dd(g)){const b=o.get(g);b&&(o.delete(g),r.splice(r.indexOf(b),1),b.children.forEach(c),b.alias.forEach(c))}else{const b=r.indexOf(g);b>-1&&(r.splice(b,1),g.record.name&&o.delete(g.record.name),g.children.forEach(c),g.alias.forEach(c))}}function f(){return r}function d(g){const b=kg(g,r);r.splice(b,0,g),g.record.name&&!Mc(g)&&o.set(g.record.name,g)}function _(g,b){let T,$={},C,w;if("name"in g&&g.name){if(T=o.get(g.name),!T)throw Ci(1,{location:g});w=T.record.name,$=Be(Ac(b.params,T.keys.filter(v=>!v.optional).concat(T.parent?T.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),g.params&&Ac(g.params,T.keys.map(v=>v.name))),C=T.stringify($)}else if(g.path!=null)C=g.path,T=r.find(v=>v.re.test(C)),T&&($=T.parse(C),w=T.record.name);else{if(T=b.name?o.get(b.name):r.find(v=>v.re.test(b.path)),!T)throw Ci(1,{location:g,currentLocation:b});w=T.record.name,$=Be({},b.params,g.params),C=T.stringify($)}const P=[];let p=T;for(;p;)P.unshift(p.record),p=p.parent;return{name:w,path:C,params:$,matched:P,meta:Cg(P)}}t.forEach(g=>u(g));function m(){r.length=0,o.clear()}return{addRoute:u,resolve:_,removeRoute:c,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Ac(t,n){const r={};for(const o of n)o in t&&(r[o]=t[o]);return r}function Ic(t){const n={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:xg(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function xg(t){const n={},r=t.props||!1;if("component"in t)n.default=r;else for(const o in t.components)n[o]=typeof r=="object"?r[o]:r;return n}function Mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Cg(t){return t.reduce((n,r)=>Be(n,r.meta),{})}function Nc(t,n){const r={};for(const o in t)r[o]=o in n?n[o]:t[o];return r}function kg(t,n){let r=0,o=n.length;for(;r!==o;){const u=r+o>>1;Bd(t,n[u])<0?o=u:r=u+1}const a=Og(t);return a&&(o=n.lastIndexOf(a,o-1)),o}function Og(t){let n=t;for(;n=n.parent;)if(qd(n)&&Bd(t,n)===0)return n}function qd({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ag(t){const n={};if(t===""||t==="?")return n;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;au&&ba(u)):[o&&ba(o)]).forEach(u=>{u!==void 0&&(n+=(n.length?"&":"")+r,u!=null&&(n+="="+u))})}return n}function Ig(t){const n={};for(const r in t){const o=t[r];o!==void 0&&(n[r]=Vt(o)?o.map(a=>a==null?null:""+a):o==null?o:""+o)}return n}const Mg=Symbol(""),Dc=Symbol(""),Qs=Symbol(""),qa=Symbol(""),Sa=Symbol("");function Ui(){let t=[];function n(o){return t.push(o),()=>{const a=t.indexOf(o);a>-1&&t.splice(a,1)}}function r(){t=[]}return{add:n,list:()=>t.slice(),reset:r}}function kn(t,n,r,o,a,u=c=>c()){const c=o&&(o.enterCallbacks[a]=o.enterCallbacks[a]||[]);return()=>new Promise((f,d)=>{const _=b=>{b===!1?d(Ci(4,{from:r,to:n})):b instanceof Error?d(b):yg(b)?d(Ci(2,{from:n,to:b})):(c&&o.enterCallbacks[a]===c&&typeof b=="function"&&c.push(b),f())},m=u(()=>t.call(o&&o.instances[a],n,r,_));let g=Promise.resolve(m);t.length<3&&(g=g.then(_)),g.catch(b=>d(b))})}function Go(t,n,r,o,a=u=>u()){const u=[];for(const c of t)for(const f in c.components){let d=c.components[f];if(!(n!=="beforeRouteEnter"&&!c.instances[f]))if(Cd(d)){const m=(d.__vccOpts||d)[n];m&&u.push(kn(m,r,o,c,f,a))}else{let _=d();u.push(()=>_.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${c.path}"`);const g=Z_(m)?m.default:m;c.mods[f]=m,c.components[f]=g;const T=(g.__vccOpts||g)[n];return T&&kn(T,r,o,c,f,a)()}))}}return u}function jc(t){const n=Zt(Qs),r=Zt(qa),o=rt(()=>{const d=he(t.to);return n.resolve(d)}),a=rt(()=>{const{matched:d}=o.value,{length:_}=d,m=d[_-1],g=r.matched;if(!m||!g.length)return-1;const b=g.findIndex(xi.bind(null,m));if(b>-1)return b;const T=Bc(d[_-2]);return _>1&&Bc(m)===T&&g[g.length-1].path!==T?g.findIndex(xi.bind(null,d[_-2])):b}),u=rt(()=>a.value>-1&&Bg(r.params,o.value.params)),c=rt(()=>a.value>-1&&a.value===r.matched.length-1&&Nd(r.params,o.value.params));function f(d={}){if(jg(d)){const _=n[he(t.replace)?"replace":"push"](he(t.to)).catch(ir);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>_),_}return Promise.resolve()}return{route:o,href:rt(()=>o.value.href),isActive:u,isExactActive:c,navigate:f}}function Ng(t){return t.length===1?t[0]:t}const zg=st({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:jc,setup(t,{slots:n}){const r=Vs(jc(t)),{options:o}=Zt(Qs),a=rt(()=>({[qc(t.activeClass,o.linkActiveClass,"router-link-active")]:r.isActive,[qc(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const u=n.default&&Ng(n.default(r));return t.custom?u:ja("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},u)}}}),Dg=zg;function jg(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function Bg(t,n){for(const r in n){const o=n[r],a=t[r];if(typeof o=="string"){if(o!==a)return!1}else if(!Vt(a)||a.length!==o.length||o.some((u,c)=>u!==a[c]))return!1}return!0}function Bc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qc=(t,n,r)=>t??n??r,qg=st({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:r}){const o=Zt(Sa),a=rt(()=>t.route||o.value),u=Zt(Dc,0),c=rt(()=>{let _=he(u);const{matched:m}=a.value;let g;for(;(g=m[_])&&!g.components;)_++;return _}),f=rt(()=>a.value.matched[c.value]);Rs(Dc,rt(()=>c.value+1)),Rs(Mg,f),Rs(Sa,a);const d=Ke();return vn(()=>[d.value,f.value,t.name],([_,m,g],[b,T,$])=>{m&&(m.instances[g]=_,T&&T!==m&&_&&_===b&&(m.leaveGuards.size||(m.leaveGuards=T.leaveGuards),m.updateGuards.size||(m.updateGuards=T.updateGuards))),_&&m&&(!T||!xi(m,T)||!b)&&(m.enterCallbacks[g]||[]).forEach(C=>C(_))},{flush:"post"}),()=>{const _=a.value,m=t.name,g=f.value,b=g&&g.components[m];if(!b)return Zc(r.default,{Component:b,route:_});const T=g.props[m],$=T?T===!0?_.params:typeof T=="function"?T(_):T:null,w=ja(b,Be({},$,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(g.instances[m]=null)},ref:d}));return Zc(r.default,{Component:w,route:_})||w}}});function Zc(t,n){if(!t)return null;const r=t(n);return r.length===1?r[0]:r}const Zg=qg;function Fg(t){const n=Lg(t.routes,t),r=t.parseQuery||Ag,o=t.stringifyQuery||zc,a=t.history,u=Ui(),c=Ui(),f=Ui(),d=Jp(En);let _=En;yi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Wo.bind(null,j=>""+j),g=Wo.bind(null,tg),b=Wo.bind(null,hr);function T(j,G){let ee,ae;return Dd(j)?(ee=n.getRecordMatcher(j),ae=G):ae=j,n.addRoute(ae,ee)}function $(j){const G=n.getRecordMatcher(j);G&&n.removeRoute(G)}function C(){return n.getRoutes().map(j=>j.record)}function w(j){return!!n.getRecordMatcher(j)}function P(j,G){if(G=Be({},G||d.value),typeof j=="string"){const A=Ko(r,j,G.path),B=n.resolve({path:A.path},G),H=a.createHref(A.fullPath);return Be(A,B,{params:b(B.params),hash:hr(A.hash),redirectedFrom:void 0,href:H})}let ee;if(j.path!=null)ee=Be({},j,{path:Ko(r,j.path,G.path).path});else{const A=Be({},j.params);for(const B in A)A[B]==null&&delete A[B];ee=Be({},j,{params:g(A)}),G.params=g(G.params)}const ae=n.resolve(ee,G),z=j.hash||"";ae.params=m(b(ae.params));const y=rg(o,Be({},j,{hash:X_(z),path:ae.path})),E=a.createHref(y);return Be({fullPath:y,hash:z,query:o===zc?Ig(j.query):j.query||{}},ae,{redirectedFrom:void 0,href:E})}function p(j){return typeof j=="string"?Ko(r,j,d.value.path):Be({},j)}function v(j,G){if(_!==j)return Ci(8,{from:G,to:j})}function R(j){return I(j)}function O(j){return R(Be(p(j),{replace:!0}))}function k(j){const G=j.matched[j.matched.length-1];if(G&&G.redirect){const{redirect:ee}=G;let ae=typeof ee=="function"?ee(j):ee;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=p(ae):{path:ae},ae.params={}),Be({query:j.query,hash:j.hash,params:ae.path!=null?{}:j.params},ae)}}function I(j,G){const ee=_=P(j),ae=d.value,z=j.state,y=j.force,E=j.replace===!0,A=k(ee);if(A)return I(Be(p(A),{state:typeof A=="object"?Be({},z,A.state):z,force:y,replace:E}),G||ee);const B=ee;B.redirectedFrom=G;let H;return!y&&sg(o,ae,ee)&&(H=Ci(16,{to:B,from:ae}),D(ae,ae,!0,!1)),(H?Promise.resolve(H):se(B,ae)).catch(J=>ln(J)?ln(J,2)?J:W(J):re(J,B,ae)).then(J=>{if(J){if(ln(J,2))return I(Be({replace:E},p(J.to),{state:typeof J.to=="object"?Be({},z,J.to.state):z,force:y}),G||B)}else J=X(B,ae,!0,E,z);return ie(B,ae,J),J})}function V(j,G){const ee=v(j,G);return ee?Promise.reject(ee):Promise.resolve()}function K(j){const G=x.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(j):j()}function se(j,G){let ee;const[ae,z,y]=Vg(j,G);ee=Go(ae.reverse(),"beforeRouteLeave",j,G);for(const A of ae)A.leaveGuards.forEach(B=>{ee.push(kn(B,j,G))});const E=V.bind(null,j,G);return ee.push(E),q(ee).then(()=>{ee=[];for(const A of u.list())ee.push(kn(A,j,G));return ee.push(E),q(ee)}).then(()=>{ee=Go(z,"beforeRouteUpdate",j,G);for(const A of z)A.updateGuards.forEach(B=>{ee.push(kn(B,j,G))});return ee.push(E),q(ee)}).then(()=>{ee=[];for(const A of y)if(A.beforeEnter)if(Vt(A.beforeEnter))for(const B of A.beforeEnter)ee.push(kn(B,j,G));else ee.push(kn(A.beforeEnter,j,G));return ee.push(E),q(ee)}).then(()=>(j.matched.forEach(A=>A.enterCallbacks={}),ee=Go(y,"beforeRouteEnter",j,G,K),ee.push(E),q(ee))).then(()=>{ee=[];for(const A of c.list())ee.push(kn(A,j,G));return ee.push(E),q(ee)}).catch(A=>ln(A,8)?A:Promise.reject(A))}function ie(j,G,ee){f.list().forEach(ae=>K(()=>ae(j,G,ee)))}function X(j,G,ee,ae,z){const y=v(j,G);if(y)return y;const E=G===En,A=yi?history.state:{};ee&&(ae||E?a.replace(j.fullPath,Be({scroll:E&&A&&A.scroll},z)):a.push(j.fullPath,z)),d.value=j,D(j,G,ee,E),W()}let fe;function me(){fe||(fe=a.listen((j,G,ee)=>{if(!M.listening)return;const ae=P(j),z=k(ae);if(z){I(Be(z,{replace:!0,force:!0}),ae).catch(ir);return}_=ae;const y=d.value;yi&&hg(Lc(y.fullPath,ee.delta),Xs()),se(ae,y).catch(E=>ln(E,12)?E:ln(E,2)?(I(Be(p(E.to),{force:!0}),ae).then(A=>{ln(A,20)&&!ee.delta&&ee.type===pr.pop&&a.go(-1,!1)}).catch(ir),Promise.reject()):(ee.delta&&a.go(-ee.delta,!1),re(E,ae,y))).then(E=>{E=E||X(ae,y,!1),E&&(ee.delta&&!ln(E,8)?a.go(-ee.delta,!1):ee.type===pr.pop&&ln(E,20)&&a.go(-1,!1)),ie(ae,y,E)}).catch(ir)}))}let Ie=Ui(),Se=Ui(),$e;function re(j,G,ee){W(j);const ae=Se.list();return ae.length?ae.forEach(z=>z(j,G,ee)):console.error(j),Promise.reject(j)}function Qe(){return $e&&d.value!==En?Promise.resolve():new Promise((j,G)=>{Ie.add([j,G])})}function W(j){return $e||($e=!j,me(),Ie.list().forEach(([G,ee])=>j?ee(j):G()),Ie.reset()),j}function D(j,G,ee,ae){const{scrollBehavior:z}=t;if(!yi||!z)return Promise.resolve();const y=!ee&&pg(Lc(j.fullPath,0))||(ae||!ee)&&history.state&&history.state.scroll||null;return Bf().then(()=>z(j,G,y)).then(E=>E&&dg(E)).catch(E=>re(E,j,G))}const Y=j=>a.go(j);let Z;const x=new Set,M={currentRoute:d,listening:!0,addRoute:T,removeRoute:$,clearRoutes:n.clearRoutes,hasRoute:w,getRoutes:C,resolve:P,options:t,push:R,replace:O,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:u.add,beforeResolve:c.add,afterEach:f.add,onError:Se.add,isReady:Qe,install(j){const G=this;j.component("RouterLink",Dg),j.component("RouterView",Zg),j.config.globalProperties.$router=G,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>he(d)}),yi&&!Z&&d.value===En&&(Z=!0,R(a.location).catch(z=>{}));const ee={};for(const z in En)Object.defineProperty(ee,z,{get:()=>d.value[z],enumerable:!0});j.provide(Qs,G),j.provide(qa,Mf(ee)),j.provide(Sa,d);const ae=j.unmount;x.add(j),j.unmount=function(){x.delete(j),x.size<1&&(_=En,fe&&fe(),fe=null,d.value=En,Z=!1,$e=!1),ae()}}};function q(j){return j.reduce((G,ee)=>G.then(()=>K(ee)),Promise.resolve())}return M}function Vg(t,n){const r=[],o=[],a=[],u=Math.max(n.matched.length,t.matched.length);for(let c=0;cxi(_,f))?o.push(f):r.push(f));const d=t.matched[c];d&&(n.matched.find(_=>xi(_,d))||a.push(d))}return[r,o,a]}function eo(){return Zt(Qs)}function to(t){return Zt(qa)}function Zd(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Hg(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function Fd(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Ug(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})])}function gr(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function vr(t,n){return de(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function Vd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zr={exports:{}},Jo={},fn={},Wn={},Yo={},Xo={},Qo={},Fc;function Ns(){return Fc||(Fc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(p){if(super(),!t.IDENTIFIER.test(p))throw new Error("CodeGen: name must be a valid identifier");this.str=p}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(p){super(),this._items=typeof p=="string"?[p]:p}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const p=this._items[0];return p===""||p==='""'}get str(){var p;return(p=this._str)!==null&&p!==void 0?p:this._str=this._items.reduce((v,R)=>`${v}${R}`,"")}get names(){var p;return(p=this._names)!==null&&p!==void 0?p:this._names=this._items.reduce((v,R)=>(R instanceof r&&(v[R.str]=(v[R.str]||0)+1),v),{})}}t._Code=o,t.nil=new o("");function a(P,...p){const v=[P[0]];let R=0;for(;R{if(g.scopePath===void 0)throw new Error(`CodeGen: name "${g}" has no value`);return(0,n._)`${_}${g.scopePath}`})}scopeCode(_=this._values,m,g){return this._reduceValues(_,b=>{if(b.value===void 0)throw new Error(`CodeGen: name "${b}" has no value`);return b.value.code},m,g)}_reduceValues(_,m,g={},b){let T=n.nil;for(const $ in _){const C=_[$];if(!C)continue;const w=g[$]=g[$]||new Map;C.forEach(P=>{if(w.has(P))return;w.set(P,o.Started);let p=m(P);if(p){const v=this.opts.es5?t.varKinds.var:t.varKinds.const;T=(0,n._)`${T}${v} ${P} = ${p};${this.opts._n}`}else if(p=b==null?void 0:b(P))T=(0,n._)`${T}${p}${this.opts._n}`;else throw new r(P);w.set(P,o.Completed)})}return T}}t.ValueScope=f}(ea)),ea}var Uc;function Oe(){return Uc||(Uc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=Ns(),r=Hc();var o=Ns();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var a=Hc();Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class u{optimizeNodes(){return this}optimizeNames(x,M){return this}}class c extends u{constructor(x,M,q){super(),this.varKind=x,this.name=M,this.rhs=q}render({es5:x,_n:M}){const q=x?r.varKinds.var:this.varKind,j=this.rhs===void 0?"":` = ${this.rhs}`;return`${q} ${this.name}${j};`+M}optimizeNames(x,M){if(x[this.name.str])return this.rhs&&(this.rhs=me(this.rhs,x,M)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends u{constructor(x,M,q){super(),this.lhs=x,this.rhs=M,this.sideEffects=q}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,M){if(!(this.lhs instanceof n.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=me(this.rhs,x,M),this}get names(){const x=this.lhs instanceof n.Name?{}:{...this.lhs.names};return fe(x,this.rhs)}}class d extends f{constructor(x,M,q,j){super(x,q,j),this.op=M}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class _ extends u{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class m extends u{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class g extends u{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class b extends u{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,M){return this.code=me(this.code,x,M),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class T extends u{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((M,q)=>M+q.render(x),"")}optimizeNodes(){const{nodes:x}=this;let M=x.length;for(;M--;){const q=x[M].optimizeNodes();Array.isArray(q)?x.splice(M,1,...q):q?x[M]=q:x.splice(M,1)}return x.length>0?this:void 0}optimizeNames(x,M){const{nodes:q}=this;let j=q.length;for(;j--;){const G=q[j];G.optimizeNames(x,M)||(Ie(x,G.names),q.splice(j,1))}return q.length>0?this:void 0}get names(){return this.nodes.reduce((x,M)=>X(x,M.names),{})}}class $ extends T{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class C extends T{}class w extends ${}w.kind="else";class P extends ${constructor(x,M){super(M),this.condition=x}render(x){let M=`if(${this.condition})`+super.render(x);return this.else&&(M+="else "+this.else.render(x)),M}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let M=this.else;if(M){const q=M.optimizeNodes();M=this.else=Array.isArray(q)?new w(q):q}if(M)return x===!1?M instanceof P?M:M.nodes:this.nodes.length?this:new P(Se(x),M instanceof P?[M]:M.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,M){var q;if(this.else=(q=this.else)===null||q===void 0?void 0:q.optimizeNames(x,M),!!(super.optimizeNames(x,M)||this.else))return this.condition=me(this.condition,x,M),this}get names(){const x=super.names;return fe(x,this.condition),this.else&&X(x,this.else.names),x}}P.kind="if";class p extends ${}p.kind="for";class v extends p{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,M){if(super.optimizeNames(x,M))return this.iteration=me(this.iteration,x,M),this}get names(){return X(super.names,this.iteration.names)}}class R extends p{constructor(x,M,q,j){super(),this.varKind=x,this.name=M,this.from=q,this.to=j}render(x){const M=x.es5?r.varKinds.var:this.varKind,{name:q,from:j,to:G}=this;return`for(${M} ${q}=${j}; ${q}<${G}; ${q}++)`+super.render(x)}get names(){const x=fe(super.names,this.from);return fe(x,this.to)}}class O extends p{constructor(x,M,q,j){super(),this.loop=x,this.varKind=M,this.name=q,this.iterable=j}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,M){if(super.optimizeNames(x,M))return this.iterable=me(this.iterable,x,M),this}get names(){return X(super.names,this.iterable.names)}}class k extends ${constructor(x,M,q){super(),this.name=x,this.args=M,this.async=q}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}k.kind="func";class I extends T{render(x){return"return "+super.render(x)}}I.kind="return";class V extends ${render(x){let M="try"+super.render(x);return this.catch&&(M+=this.catch.render(x)),this.finally&&(M+=this.finally.render(x)),M}optimizeNodes(){var x,M;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(M=this.finally)===null||M===void 0||M.optimizeNodes(),this}optimizeNames(x,M){var q,j;return super.optimizeNames(x,M),(q=this.catch)===null||q===void 0||q.optimizeNames(x,M),(j=this.finally)===null||j===void 0||j.optimizeNames(x,M),this}get names(){const x=super.names;return this.catch&&X(x,this.catch.names),this.finally&&X(x,this.finally.names),x}}class K extends ${constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}K.kind="catch";class se extends ${render(x){return"finally"+super.render(x)}}se.kind="finally";class ie{constructor(x,M={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...M,_n:M.lines?` -`:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new C]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,M){const q=this._extScope.value(x,M);return(this._values[q.prefix]||(this._values[q.prefix]=new Set)).add(q),q}getScopeValue(x,M){return this._extScope.getValue(x,M)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,M,q,j){const G=this._scope.toName(M);return q!==void 0&&j&&(this._constants[G.str]=q),this._leafNode(new c(x,G,q)),G}const(x,M,q){return this._def(r.varKinds.const,x,M,q)}let(x,M,q){return this._def(r.varKinds.let,x,M,q)}var(x,M,q){return this._def(r.varKinds.var,x,M,q)}assign(x,M,q){return this._leafNode(new f(x,M,q))}add(x,M){return this._leafNode(new d(x,t.operators.ADD,M))}code(x){return typeof x=="function"?x():x!==n.nil&&this._leafNode(new b(x)),this}object(...x){const M=["{"];for(const[q,j]of x)M.length>1&&M.push(","),M.push(q),(q!==j||this.opts.es5)&&(M.push(":"),(0,n.addCodeArg)(M,j));return M.push("}"),new n._Code(M)}if(x,M,q){if(this._blockNode(new P(x)),M&&q)this.code(M).else().code(q).endIf();else if(M)this.code(M).endIf();else if(q)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new P(x))}else(){return this._elseNode(new w)}endIf(){return this._endBlockNode(P,w)}_for(x,M){return this._blockNode(x),M&&this.code(M).endFor(),this}for(x,M){return this._for(new v(x),M)}forRange(x,M,q,j,G=this.opts.es5?r.varKinds.var:r.varKinds.let){const ee=this._scope.toName(x);return this._for(new R(G,ee,M,q),()=>j(ee))}forOf(x,M,q,j=r.varKinds.const){const G=this._scope.toName(x);if(this.opts.es5){const ee=M instanceof n.Name?M:this.var("_arr",M);return this.forRange("_i",0,(0,n._)`${ee}.length`,ae=>{this.var(G,(0,n._)`${ee}[${ae}]`),q(G)})}return this._for(new O("of",j,G,M),()=>q(G))}forIn(x,M,q,j=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,n._)`Object.keys(${M})`,q);const G=this._scope.toName(x);return this._for(new O("in",j,G,M),()=>q(G))}endFor(){return this._endBlockNode(p)}label(x){return this._leafNode(new _(x))}break(x){return this._leafNode(new m(x))}return(x){const M=new I;if(this._blockNode(M),this.code(x),M.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(x,M,q){if(!M&&!q)throw new Error('CodeGen: "try" without "catch" and "finally"');const j=new V;if(this._blockNode(j),this.code(x),M){const G=this.name("e");this._currNode=j.catch=new K(G),M(G)}return q&&(this._currNode=j.finally=new se,this.code(q)),this._endBlockNode(K,se)}throw(x){return this._leafNode(new g(x))}block(x,M){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(M),this}endBlock(x){const M=this._blockStarts.pop();if(M===void 0)throw new Error("CodeGen: not in self-balancing block");const q=this._nodes.length-M;if(q<0||x!==void 0&&q!==x)throw new Error(`CodeGen: wrong number of nodes: ${q} vs ${x} expected`);return this._nodes.length=M,this}func(x,M=n.nil,q,j){return this._blockNode(new k(x,M,q)),j&&this.code(j).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,M){const q=this._currNode;if(q instanceof x||M&&q instanceof M)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${M?`${x.kind}/${M.kind}`:x.kind}"`)}_elseNode(x){const M=this._currNode;if(!(M instanceof P))throw new Error('CodeGen: "else" without "if"');return this._currNode=M.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const M=this._nodes;M[M.length-1]=x}}t.CodeGen=ie;function X(Z,x){for(const M in x)Z[M]=(Z[M]||0)+(x[M]||0);return Z}function fe(Z,x){return x instanceof n._CodeOrName?X(Z,x.names):Z}function me(Z,x,M){if(Z instanceof n.Name)return q(Z);if(!j(Z))return Z;return new n._Code(Z._items.reduce((G,ee)=>(ee instanceof n.Name&&(ee=q(ee)),ee instanceof n._Code?G.push(...ee._items):G.push(ee),G),[]));function q(G){const ee=M[G.str];return ee===void 0||x[G.str]!==1?G:(delete x[G.str],ee)}function j(G){return G instanceof n._Code&&G._items.some(ee=>ee instanceof n.Name&&x[ee.str]===1&&M[ee.str]!==void 0)}}function Ie(Z,x){for(const M in x)Z[M]=(Z[M]||0)-(x[M]||0)}function Se(Z){return typeof Z=="boolean"||typeof Z=="number"||Z===null?!Z:(0,n._)`!${Y(Z)}`}t.not=Se;const $e=D(t.operators.AND);function re(...Z){return Z.reduce($e)}t.and=re;const Qe=D(t.operators.OR);function W(...Z){return Z.reduce(Qe)}t.or=W;function D(Z){return(x,M)=>x===n.nil?M:M===n.nil?x:(0,n._)`${Y(x)} ${Z} ${Y(M)}`}function Y(Z){return Z instanceof n.Name?Z:(0,n._)`(${Z})`}}(Xo)),Xo}var xe={},Wc;function De(){if(Wc)return xe;Wc=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.checkStrictMode=xe.getErrorPath=xe.Type=xe.useFunc=xe.setEvaluated=xe.evaluatedPropsToName=xe.mergeEvaluated=xe.eachItem=xe.unescapeJsonPointer=xe.escapeJsonPointer=xe.escapeFragment=xe.unescapeFragment=xe.schemaRefOrVal=xe.schemaHasRulesButRef=xe.schemaHasRules=xe.checkUnknownRules=xe.alwaysValidSchema=xe.toHash=void 0;const t=Oe(),n=Ns();function r(O){const k={};for(const I of O)k[I]=!0;return k}xe.toHash=r;function o(O,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(a(O,k),!u(k,O.self.RULES.all))}xe.alwaysValidSchema=o;function a(O,k=O.schema){const{opts:I,self:V}=O;if(!I.strictSchema||typeof k=="boolean")return;const K=V.RULES.keywords;for(const se in k)K[se]||R(O,`unknown keyword: "${se}"`)}xe.checkUnknownRules=a;function u(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(k[I])return!0;return!1}xe.schemaHasRules=u;function c(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(I!=="$ref"&&k.all[I])return!0;return!1}xe.schemaHasRulesButRef=c;function f({topSchemaRef:O,schemaPath:k},I,V,K){if(!K){if(typeof I=="number"||typeof I=="boolean")return I;if(typeof I=="string")return(0,t._)`${I}`}return(0,t._)`${O}${k}${(0,t.getProperty)(V)}`}xe.schemaRefOrVal=f;function d(O){return g(decodeURIComponent(O))}xe.unescapeFragment=d;function _(O){return encodeURIComponent(m(O))}xe.escapeFragment=_;function m(O){return typeof O=="number"?`${O}`:O.replace(/~/g,"~0").replace(/\//g,"~1")}xe.escapeJsonPointer=m;function g(O){return O.replace(/~1/g,"/").replace(/~0/g,"~")}xe.unescapeJsonPointer=g;function b(O,k){if(Array.isArray(O))for(const I of O)k(I);else k(O)}xe.eachItem=b;function T({mergeNames:O,mergeToName:k,mergeValues:I,resultToName:V}){return(K,se,ie,X)=>{const fe=ie===void 0?se:ie instanceof t.Name?(se instanceof t.Name?O(K,se,ie):k(K,se,ie),ie):se instanceof t.Name?(k(K,ie,se),se):I(se,ie);return X===t.Name&&!(fe instanceof t.Name)?V(K,fe):fe}}xe.mergeEvaluated={props:T({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>{O.if((0,t._)`${k} === true`,()=>O.assign(I,!0),()=>O.assign(I,(0,t._)`${I} || {}`).code((0,t._)`Object.assign(${I}, ${k})`))}),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>{k===!0?O.assign(I,!0):(O.assign(I,(0,t._)`${I} || {}`),C(O,I,k))}),mergeValues:(O,k)=>O===!0?!0:{...O,...k},resultToName:$}),items:T({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>O.assign(I,(0,t._)`${k} === true ? true : ${I} > ${k} ? ${I} : ${k}`)),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>O.assign(I,k===!0?!0:(0,t._)`${I} > ${k} ? ${I} : ${k}`)),mergeValues:(O,k)=>O===!0?!0:Math.max(O,k),resultToName:(O,k)=>O.var("items",k)})};function $(O,k){if(k===!0)return O.var("props",!0);const I=O.var("props",(0,t._)`{}`);return k!==void 0&&C(O,I,k),I}xe.evaluatedPropsToName=$;function C(O,k,I){Object.keys(I).forEach(V=>O.assign((0,t._)`${k}${(0,t.getProperty)(V)}`,!0))}xe.setEvaluated=C;const w={};function P(O,k){return O.scopeValue("func",{ref:k,code:w[k.code]||(w[k.code]=new n._Code(k.code))})}xe.useFunc=P;var p;(function(O){O[O.Num=0]="Num",O[O.Str=1]="Str"})(p||(xe.Type=p={}));function v(O,k,I){if(O instanceof t.Name){const V=k===p.Num;return I?V?(0,t._)`"[" + ${O} + "]"`:(0,t._)`"['" + ${O} + "']"`:V?(0,t._)`"/" + ${O}`:(0,t._)`"/" + ${O}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return I?(0,t.getProperty)(O).toString():"/"+m(O)}xe.getErrorPath=v;function R(O,k,I=O.opts.strictSchema){if(I){if(k=`strict mode: ${k}`,I===!0)throw new Error(k);O.self.logger.warn(k)}}return xe.checkStrictMode=R,xe}var Fr={},Kc;function zn(){if(Kc)return Fr;Kc=1,Object.defineProperty(Fr,"__esModule",{value:!0});const t=Oe(),n={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};return Fr.default=n,Fr}var Gc;function no(){return Gc||(Gc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=Oe(),r=De(),o=zn();t.keywordError={message:({keyword:w})=>(0,n.str)`must pass "${w}" keyword validation`},t.keyword$DataError={message:({keyword:w,schemaType:P})=>P?(0,n.str)`"${w}" keyword must be ${P} ($data)`:(0,n.str)`"${w}" keyword is invalid ($data)`};function a(w,P=t.keywordError,p,v){const{it:R}=w,{gen:O,compositeRule:k,allErrors:I}=R,V=g(w,P,p);v??(k||I)?d(O,V):_(R,(0,n._)`[${V}]`)}t.reportError=a;function u(w,P=t.keywordError,p){const{it:v}=w,{gen:R,compositeRule:O,allErrors:k}=v,I=g(w,P,p);d(R,I),O||k||_(v,o.default.vErrors)}t.reportExtraError=u;function c(w,P){w.assign(o.default.errors,P),w.if((0,n._)`${o.default.vErrors} !== null`,()=>w.if(P,()=>w.assign((0,n._)`${o.default.vErrors}.length`,P),()=>w.assign(o.default.vErrors,null)))}t.resetErrorsCount=c;function f({gen:w,keyword:P,schemaValue:p,data:v,errsCount:R,it:O}){if(R===void 0)throw new Error("ajv implementation error");const k=w.name("err");w.forRange("i",R,o.default.errors,I=>{w.const(k,(0,n._)`${o.default.vErrors}[${I}]`),w.if((0,n._)`${k}.instancePath === undefined`,()=>w.assign((0,n._)`${k}.instancePath`,(0,n.strConcat)(o.default.instancePath,O.errorPath))),w.assign((0,n._)`${k}.schemaPath`,(0,n.str)`${O.errSchemaPath}/${P}`),O.opts.verbose&&(w.assign((0,n._)`${k}.schema`,p),w.assign((0,n._)`${k}.data`,v))})}t.extendErrors=f;function d(w,P){const p=w.const("err",P);w.if((0,n._)`${o.default.vErrors} === null`,()=>w.assign(o.default.vErrors,(0,n._)`[${p}]`),(0,n._)`${o.default.vErrors}.push(${p})`),w.code((0,n._)`${o.default.errors}++`)}function _(w,P){const{gen:p,validateName:v,schemaEnv:R}=w;R.$async?p.throw((0,n._)`new ${w.ValidationError}(${P})`):(p.assign((0,n._)`${v}.errors`,P),p.return(!1))}const m={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function g(w,P,p){const{createErrors:v}=w.it;return v===!1?(0,n._)`{}`:b(w,P,p)}function b(w,P,p={}){const{gen:v,it:R}=w,O=[T(R,p),$(w,p)];return C(w,P,O),v.object(...O)}function T({errorPath:w},{instancePath:P}){const p=P?(0,n.str)`${w}${(0,r.getErrorPath)(P,r.Type.Str)}`:w;return[o.default.instancePath,(0,n.strConcat)(o.default.instancePath,p)]}function $({keyword:w,it:{errSchemaPath:P}},{schemaPath:p,parentSchema:v}){let R=v?P:(0,n.str)`${P}/${w}`;return p&&(R=(0,n.str)`${R}${(0,r.getErrorPath)(p,r.Type.Str)}`),[m.schemaPath,R]}function C(w,{params:P,message:p},v){const{keyword:R,data:O,schemaValue:k,it:I}=w,{opts:V,propertyName:K,topSchemaRef:se,schemaPath:ie}=I;v.push([m.keyword,R],[m.params,typeof P=="function"?P(w):P||(0,n._)`{}`]),V.messages&&v.push([m.message,typeof p=="function"?p(w):p]),V.verbose&&v.push([m.schema,k],[m.parentSchema,(0,n._)`${se}${ie}`],[o.default.data,O]),K&&v.push([m.propertyName,K])}}(Yo)),Yo}var Jc;function Wg(){if(Jc)return Wn;Jc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.boolOrEmptySchema=Wn.topBoolOrEmptySchema=void 0;const t=no(),n=Oe(),r=zn(),o={message:"boolean schema is false"};function a(f){const{gen:d,schema:_,validateName:m}=f;_===!1?c(f,!1):typeof _=="object"&&_.$async===!0?d.return(r.default.data):(d.assign((0,n._)`${m}.errors`,null),d.return(!0))}Wn.topBoolOrEmptySchema=a;function u(f,d){const{gen:_,schema:m}=f;m===!1?(_.var(d,!1),c(f)):_.var(d,!0)}Wn.boolOrEmptySchema=u;function c(f,d){const{gen:_,data:m}=f,g={gen:_,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,t.reportError)(g,o,void 0,d)}return Wn}var dt={},Kn={},Yc;function Hd(){if(Yc)return Kn;Yc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.getRules=Kn.isJSONType=void 0;const t=["string","number","integer","boolean","null","object","array"],n=new Set(t);function r(a){return typeof a=="string"&&n.has(a)}Kn.isJSONType=r;function o(){const a={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...a,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},a.number,a.string,a.array,a.object],post:{rules:[]},all:{},keywords:{}}}return Kn.getRules=o,Kn}var dn={},Xc;function Ud(){if(Xc)return dn;Xc=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.shouldUseRule=dn.shouldUseGroup=dn.schemaHasRulesForType=void 0;function t({schema:o,self:a},u){const c=a.RULES.types[u];return c&&c!==!0&&n(o,c)}dn.schemaHasRulesForType=t;function n(o,a){return a.rules.some(u=>r(o,u))}dn.shouldUseGroup=n;function r(o,a){var u;return o[a.keyword]!==void 0||((u=a.definition.implements)===null||u===void 0?void 0:u.some(c=>o[c]!==void 0))}return dn.shouldUseRule=r,dn}var Qc;function zs(){if(Qc)return dt;Qc=1,Object.defineProperty(dt,"__esModule",{value:!0}),dt.reportTypeError=dt.checkDataTypes=dt.checkDataType=dt.coerceAndCheckDataType=dt.getJSONTypes=dt.getSchemaTypes=dt.DataType=void 0;const t=Hd(),n=Ud(),r=no(),o=Oe(),a=De();var u;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(u||(dt.DataType=u={}));function c(p){const v=f(p.type);if(v.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!v.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&v.push("null")}return v}dt.getSchemaTypes=c;function f(p){const v=Array.isArray(p)?p:p?[p]:[];if(v.every(t.isJSONType))return v;throw new Error("type must be JSONType or JSONType[]: "+v.join(","))}dt.getJSONTypes=f;function d(p,v){const{gen:R,data:O,opts:k}=p,I=m(v,k.coerceTypes),V=v.length>0&&!(I.length===0&&v.length===1&&(0,n.schemaHasRulesForType)(p,v[0]));if(V){const K=$(v,O,k.strictNumbers,u.Wrong);R.if(K,()=>{I.length?g(p,v,I):w(p)})}return V}dt.coerceAndCheckDataType=d;const _=new Set(["string","number","integer","boolean","null"]);function m(p,v){return v?p.filter(R=>_.has(R)||v==="array"&&R==="array"):[]}function g(p,v,R){const{gen:O,data:k,opts:I}=p,V=O.let("dataType",(0,o._)`typeof ${k}`),K=O.let("coerced",(0,o._)`undefined`);I.coerceTypes==="array"&&O.if((0,o._)`${V} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>O.assign(k,(0,o._)`${k}[0]`).assign(V,(0,o._)`typeof ${k}`).if($(v,k,I.strictNumbers),()=>O.assign(K,k))),O.if((0,o._)`${K} !== undefined`);for(const ie of R)(_.has(ie)||ie==="array"&&I.coerceTypes==="array")&&se(ie);O.else(),w(p),O.endIf(),O.if((0,o._)`${K} !== undefined`,()=>{O.assign(k,K),b(p,K)});function se(ie){switch(ie){case"string":O.elseIf((0,o._)`${V} == "number" || ${V} == "boolean"`).assign(K,(0,o._)`"" + ${k}`).elseIf((0,o._)`${k} === null`).assign(K,(0,o._)`""`);return;case"number":O.elseIf((0,o._)`${V} == "boolean" || ${k} === null - || (${V} == "string" && ${k} && ${k} == +${k})`).assign(K,(0,o._)`+${k}`);return;case"integer":O.elseIf((0,o._)`${V} === "boolean" || ${k} === null - || (${V} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(K,(0,o._)`+${k}`);return;case"boolean":O.elseIf((0,o._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(K,!1).elseIf((0,o._)`${k} === "true" || ${k} === 1`).assign(K,!0);return;case"null":O.elseIf((0,o._)`${k} === "" || ${k} === 0 || ${k} === false`),O.assign(K,null);return;case"array":O.elseIf((0,o._)`${V} === "string" || ${V} === "number" - || ${V} === "boolean" || ${k} === null`).assign(K,(0,o._)`[${k}]`)}}}function b({gen:p,parentData:v,parentDataProperty:R},O){p.if((0,o._)`${v} !== undefined`,()=>p.assign((0,o._)`${v}[${R}]`,O))}function T(p,v,R,O=u.Correct){const k=O===u.Correct?o.operators.EQ:o.operators.NEQ;let I;switch(p){case"null":return(0,o._)`${v} ${k} null`;case"array":I=(0,o._)`Array.isArray(${v})`;break;case"object":I=(0,o._)`${v} && typeof ${v} == "object" && !Array.isArray(${v})`;break;case"integer":I=V((0,o._)`!(${v} % 1) && !isNaN(${v})`);break;case"number":I=V();break;default:return(0,o._)`typeof ${v} ${k} ${p}`}return O===u.Correct?I:(0,o.not)(I);function V(K=o.nil){return(0,o.and)((0,o._)`typeof ${v} == "number"`,K,R?(0,o._)`isFinite(${v})`:o.nil)}}dt.checkDataType=T;function $(p,v,R,O){if(p.length===1)return T(p[0],v,R,O);let k;const I=(0,a.toHash)(p);if(I.array&&I.object){const V=(0,o._)`typeof ${v} != "object"`;k=I.null?V:(0,o._)`!${v} || ${V}`,delete I.null,delete I.array,delete I.object}else k=o.nil;I.number&&delete I.integer;for(const V in I)k=(0,o.and)(k,T(V,v,R,O));return k}dt.checkDataTypes=$;const C={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:v})=>typeof p=="string"?(0,o._)`{type: ${p}}`:(0,o._)`{type: ${v}}`};function w(p){const v=P(p);(0,r.reportError)(v,C)}dt.reportTypeError=w;function P(p){const{gen:v,data:R,schema:O}=p,k=(0,a.schemaRefOrVal)(p,O,"type");return{gen:v,keyword:"type",data:R,schema:O.type,schemaCode:k,schemaValue:k,parentSchema:O,params:{},it:p}}return dt}var Wi={},el;function Kg(){if(el)return Wi;el=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.assignDefaults=void 0;const t=Oe(),n=De();function r(a,u){const{properties:c,items:f}=a.schema;if(u==="object"&&c)for(const d in c)o(a,d,c[d].default);else u==="array"&&Array.isArray(f)&&f.forEach((d,_)=>o(a,_,d.default))}Wi.assignDefaults=r;function o(a,u,c){const{gen:f,compositeRule:d,data:_,opts:m}=a;if(c===void 0)return;const g=(0,t._)`${_}${(0,t.getProperty)(u)}`;if(d){(0,n.checkStrictMode)(a,`default is ignored for: ${g}`);return}let b=(0,t._)`${g} === undefined`;m.useDefaults==="empty"&&(b=(0,t._)`${b} || ${g} === null || ${g} === ""`),f.if(b,(0,t._)`${g} = ${(0,t.stringify)(c)}`)}return Wi}var Bt={},Fe={},tl;function Ht(){if(tl)return Fe;tl=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.validateUnion=Fe.validateArray=Fe.usePattern=Fe.callValidateCode=Fe.schemaProperties=Fe.allSchemaProperties=Fe.noPropertyInData=Fe.propertyInData=Fe.isOwnProperty=Fe.hasPropFunc=Fe.reportMissingProp=Fe.checkMissingProp=Fe.checkReportMissingProp=void 0;const t=Oe(),n=De(),r=zn(),o=De();function a(p,v){const{gen:R,data:O,it:k}=p;R.if(m(R,O,v,k.opts.ownProperties),()=>{p.setParams({missingProperty:(0,t._)`${v}`},!0),p.error()})}Fe.checkReportMissingProp=a;function u({gen:p,data:v,it:{opts:R}},O,k){return(0,t.or)(...O.map(I=>(0,t.and)(m(p,v,I,R.ownProperties),(0,t._)`${k} = ${I}`)))}Fe.checkMissingProp=u;function c(p,v){p.setParams({missingProperty:v},!0),p.error()}Fe.reportMissingProp=c;function f(p){return p.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}Fe.hasPropFunc=f;function d(p,v,R){return(0,t._)`${f(p)}.call(${v}, ${R})`}Fe.isOwnProperty=d;function _(p,v,R,O){const k=(0,t._)`${v}${(0,t.getProperty)(R)} !== undefined`;return O?(0,t._)`${k} && ${d(p,v,R)}`:k}Fe.propertyInData=_;function m(p,v,R,O){const k=(0,t._)`${v}${(0,t.getProperty)(R)} === undefined`;return O?(0,t.or)(k,(0,t.not)(d(p,v,R))):k}Fe.noPropertyInData=m;function g(p){return p?Object.keys(p).filter(v=>v!=="__proto__"):[]}Fe.allSchemaProperties=g;function b(p,v){return g(v).filter(R=>!(0,n.alwaysValidSchema)(p,v[R]))}Fe.schemaProperties=b;function T({schemaCode:p,data:v,it:{gen:R,topSchemaRef:O,schemaPath:k,errorPath:I},it:V},K,se,ie){const X=ie?(0,t._)`${p}, ${v}, ${O}${k}`:v,fe=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,I)],[r.default.parentData,V.parentData],[r.default.parentDataProperty,V.parentDataProperty],[r.default.rootData,r.default.rootData]];V.opts.dynamicRef&&fe.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const me=(0,t._)`${X}, ${R.object(...fe)}`;return se!==t.nil?(0,t._)`${K}.call(${se}, ${me})`:(0,t._)`${K}(${me})`}Fe.callValidateCode=T;const $=(0,t._)`new RegExp`;function C({gen:p,it:{opts:v}},R){const O=v.unicodeRegExp?"u":"",{regExp:k}=v.code,I=k(R,O);return p.scopeValue("pattern",{key:I.toString(),ref:I,code:(0,t._)`${k.code==="new RegExp"?$:(0,o.useFunc)(p,k)}(${R}, ${O})`})}Fe.usePattern=C;function w(p){const{gen:v,data:R,keyword:O,it:k}=p,I=v.name("valid");if(k.allErrors){const K=v.let("valid",!0);return V(()=>v.assign(K,!1)),K}return v.var(I,!0),V(()=>v.break()),I;function V(K){const se=v.const("len",(0,t._)`${R}.length`);v.forRange("i",0,se,ie=>{p.subschema({keyword:O,dataProp:ie,dataPropType:n.Type.Num},I),v.if((0,t.not)(I),K)})}}Fe.validateArray=w;function P(p){const{gen:v,schema:R,keyword:O,it:k}=p;if(!Array.isArray(R))throw new Error("ajv implementation error");if(R.some(se=>(0,n.alwaysValidSchema)(k,se))&&!k.opts.unevaluated)return;const V=v.let("valid",!1),K=v.name("_valid");v.block(()=>R.forEach((se,ie)=>{const X=p.subschema({keyword:O,schemaProp:ie,compositeRule:!0},K);v.assign(V,(0,t._)`${V} || ${K}`),p.mergeValidEvaluated(X,K)||v.if((0,t.not)(V))})),p.result(V,()=>p.reset(),()=>p.error(!0))}return Fe.validateUnion=P,Fe}var nl;function Gg(){if(nl)return Bt;nl=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.validateKeywordUsage=Bt.validSchemaType=Bt.funcKeywordCode=Bt.macroKeywordCode=void 0;const t=Oe(),n=zn(),r=Ht(),o=no();function a(b,T){const{gen:$,keyword:C,schema:w,parentSchema:P,it:p}=b,v=T.macro.call(p.self,w,P,p),R=_($,C,v);p.opts.validateSchema!==!1&&p.self.validateSchema(v,!0);const O=$.name("valid");b.subschema({schema:v,schemaPath:t.nil,errSchemaPath:`${p.errSchemaPath}/${C}`,topSchemaRef:R,compositeRule:!0},O),b.pass(O,()=>b.error(!0))}Bt.macroKeywordCode=a;function u(b,T){var $;const{gen:C,keyword:w,schema:P,parentSchema:p,$data:v,it:R}=b;d(R,T);const O=!v&&T.compile?T.compile.call(R.self,P,p,R):T.validate,k=_(C,w,O),I=C.let("valid");b.block$data(I,V),b.ok(($=T.valid)!==null&&$!==void 0?$:I);function V(){if(T.errors===!1)ie(),T.modifying&&c(b),X(()=>b.error());else{const fe=T.async?K():se();T.modifying&&c(b),X(()=>f(b,fe))}}function K(){const fe=C.let("ruleErrs",null);return C.try(()=>ie((0,t._)`await `),me=>C.assign(I,!1).if((0,t._)`${me} instanceof ${R.ValidationError}`,()=>C.assign(fe,(0,t._)`${me}.errors`),()=>C.throw(me))),fe}function se(){const fe=(0,t._)`${k}.errors`;return C.assign(fe,null),ie(t.nil),fe}function ie(fe=T.async?(0,t._)`await `:t.nil){const me=R.opts.passContext?n.default.this:n.default.self,Ie=!("compile"in T&&!v||T.schema===!1);C.assign(I,(0,t._)`${fe}${(0,r.callValidateCode)(b,k,me,Ie)}`,T.modifying)}function X(fe){var me;C.if((0,t.not)((me=T.valid)!==null&&me!==void 0?me:I),fe)}}Bt.funcKeywordCode=u;function c(b){const{gen:T,data:$,it:C}=b;T.if(C.parentData,()=>T.assign($,(0,t._)`${C.parentData}[${C.parentDataProperty}]`))}function f(b,T){const{gen:$}=b;$.if((0,t._)`Array.isArray(${T})`,()=>{$.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${T} : ${n.default.vErrors}.concat(${T})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,o.extendErrors)(b)},()=>b.error())}function d({schemaEnv:b},T){if(T.async&&!b.$async)throw new Error("async keyword in sync schema")}function _(b,T,$){if($===void 0)throw new Error(`keyword "${T}" failed to compile`);return b.scopeValue("keyword",typeof $=="function"?{ref:$}:{ref:$,code:(0,t.stringify)($)})}function m(b,T,$=!1){return!T.length||T.some(C=>C==="array"?Array.isArray(b):C==="object"?b&&typeof b=="object"&&!Array.isArray(b):typeof b==C||$&&typeof b>"u")}Bt.validSchemaType=m;function g({schema:b,opts:T,self:$,errSchemaPath:C},w,P){if(Array.isArray(w.keyword)?!w.keyword.includes(P):w.keyword!==P)throw new Error("ajv implementation error");const p=w.dependencies;if(p!=null&&p.some(v=>!Object.prototype.hasOwnProperty.call(b,v)))throw new Error(`parent schema must have dependencies of ${P}: ${p.join(",")}`);if(w.validateSchema&&!w.validateSchema(b[P])){const R=`keyword "${P}" value is invalid at path "${C}": `+$.errorsText(w.validateSchema.errors);if(T.validateSchema==="log")$.logger.error(R);else throw new Error(R)}}return Bt.validateKeywordUsage=g,Bt}var hn={},il;function Jg(){if(il)return hn;il=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.extendSubschemaMode=hn.extendSubschemaData=hn.getSubschema=void 0;const t=Oe(),n=De();function r(u,{keyword:c,schemaProp:f,schema:d,schemaPath:_,errSchemaPath:m,topSchemaRef:g}){if(c!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(c!==void 0){const b=u.schema[c];return f===void 0?{schema:b,schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(c)}`,errSchemaPath:`${u.errSchemaPath}/${c}`}:{schema:b[f],schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(c)}${(0,t.getProperty)(f)}`,errSchemaPath:`${u.errSchemaPath}/${c}/${(0,n.escapeFragment)(f)}`}}if(d!==void 0){if(_===void 0||m===void 0||g===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:_,topSchemaRef:g,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}hn.getSubschema=r;function o(u,c,{dataProp:f,dataPropType:d,data:_,dataTypes:m,propertyName:g}){if(_!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:b}=c;if(f!==void 0){const{errorPath:$,dataPathArr:C,opts:w}=c,P=b.let("data",(0,t._)`${c.data}${(0,t.getProperty)(f)}`,!0);T(P),u.errorPath=(0,t.str)`${$}${(0,n.getErrorPath)(f,d,w.jsPropertySyntax)}`,u.parentDataProperty=(0,t._)`${f}`,u.dataPathArr=[...C,u.parentDataProperty]}if(_!==void 0){const $=_ instanceof t.Name?_:b.let("data",_,!0);T($),g!==void 0&&(u.propertyName=g)}m&&(u.dataTypes=m);function T($){u.data=$,u.dataLevel=c.dataLevel+1,u.dataTypes=[],c.definedProperties=new Set,u.parentData=c.data,u.dataNames=[...c.dataNames,$]}}hn.extendSubschemaData=o;function a(u,{jtdDiscriminator:c,jtdMetadata:f,compositeRule:d,createErrors:_,allErrors:m}){d!==void 0&&(u.compositeRule=d),_!==void 0&&(u.createErrors=_),m!==void 0&&(u.allErrors=m),u.jtdDiscriminator=c,u.jtdMetadata=f}return hn.extendSubschemaMode=a,hn}var yt={},ta,rl;function Wd(){return rl||(rl=1,ta=function t(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var o,a,u;if(Array.isArray(n)){if(o=n.length,o!=r.length)return!1;for(a=o;a--!==0;)if(!t(n[a],r[a]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(u=Object.keys(n),o=u.length,o!==Object.keys(r).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,u[a]))return!1;for(a=o;a--!==0;){var c=u[a];if(!t(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}),ta}var na={exports:{}},sl;function Yg(){if(sl)return na.exports;sl=1;var t=na.exports=function(o,a,u){typeof a=="function"&&(u=a,a={}),u=a.cb||u;var c=typeof u=="function"?u:u.pre||function(){},f=u.post||function(){};n(a,c,f,o,"",o)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function n(o,a,u,c,f,d,_,m,g,b){if(c&&typeof c=="object"&&!Array.isArray(c)){a(c,f,d,_,m,g,b);for(var T in c){var $=c[T];if(Array.isArray($)){if(T in t.arrayKeywords)for(var C=0;C<$.length;C++)n(o,a,u,$[C],f+"/"+T+"/"+C,d,f,T,c,C)}else if(T in t.propsKeywords){if($&&typeof $=="object")for(var w in $)n(o,a,u,$[w],f+"/"+T+"/"+r(w),d,f,T,c,w)}else(T in t.keywords||o.allKeys&&!(T in t.skipKeywords))&&n(o,a,u,$,f+"/"+T,d,f,T,c)}u(c,f,d,_,m,g,b)}}function r(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return na.exports}var ol;function io(){if(ol)return yt;ol=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.getSchemaRefs=yt.resolveUrl=yt.normalizeId=yt._getFullPath=yt.getFullPath=yt.inlineRef=void 0;const t=De(),n=Wd(),r=Yg(),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function a(C,w=!0){return typeof C=="boolean"?!0:w===!0?!c(C):w?f(C)<=w:!1}yt.inlineRef=a;const u=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(C){for(const w in C){if(u.has(w))return!0;const P=C[w];if(Array.isArray(P)&&P.some(c)||typeof P=="object"&&c(P))return!0}return!1}function f(C){let w=0;for(const P in C){if(P==="$ref")return 1/0;if(w++,!o.has(P)&&(typeof C[P]=="object"&&(0,t.eachItem)(C[P],p=>w+=f(p)),w===1/0))return 1/0}return w}function d(C,w="",P){P!==!1&&(w=g(w));const p=C.parse(w);return _(C,p)}yt.getFullPath=d;function _(C,w){return C.serialize(w).split("#")[0]+"#"}yt._getFullPath=_;const m=/#\/?$/;function g(C){return C?C.replace(m,""):""}yt.normalizeId=g;function b(C,w,P){return P=g(P),C.resolve(w,P)}yt.resolveUrl=b;const T=/^[a-z_][-a-z0-9._]*$/i;function $(C,w){if(typeof C=="boolean")return{};const{schemaId:P,uriResolver:p}=this.opts,v=g(C[P]||w),R={"":v},O=d(p,v,!1),k={},I=new Set;return r(C,{allKeys:!0},(se,ie,X,fe)=>{if(fe===void 0)return;const me=O+ie;let Ie=R[fe];typeof se[P]=="string"&&(Ie=Se.call(this,se[P])),$e.call(this,se.$anchor),$e.call(this,se.$dynamicAnchor),R[ie]=Ie;function Se(re){const Qe=this.opts.uriResolver.resolve;if(re=g(Ie?Qe(Ie,re):re),I.has(re))throw K(re);I.add(re);let W=this.refs[re];return typeof W=="string"&&(W=this.refs[W]),typeof W=="object"?V(se,W.schema,re):re!==g(me)&&(re[0]==="#"?(V(se,k[re],re),k[re]=se):this.refs[re]=me),re}function $e(re){if(typeof re=="string"){if(!T.test(re))throw new Error(`invalid anchor "${re}"`);Se.call(this,`#${re}`)}}}),k;function V(se,ie,X){if(ie!==void 0&&!n(se,ie))throw K(X)}function K(se){return new Error(`reference "${se}" resolves to more than one schema`)}}return yt.getSchemaRefs=$,yt}var al;function ro(){if(al)return fn;al=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.getData=fn.KeywordCxt=fn.validateFunctionCode=void 0;const t=Wg(),n=zs(),r=Ud(),o=zs(),a=Kg(),u=Gg(),c=Jg(),f=Oe(),d=zn(),_=io(),m=De(),g=no();function b(z){if(O(z)&&(I(z),R(z))){w(z);return}T(z,()=>(0,t.topBoolOrEmptySchema)(z))}fn.validateFunctionCode=b;function T({gen:z,validateName:y,schema:E,schemaEnv:A,opts:B},H){B.code.es5?z.func(y,(0,f._)`${d.default.data}, ${d.default.valCxt}`,A.$async,()=>{z.code((0,f._)`"use strict"; ${p(E,B)}`),C(z,B),z.code(H)}):z.func(y,(0,f._)`${d.default.data}, ${$(B)}`,A.$async,()=>z.code(p(E,B)).code(H))}function $(z){return(0,f._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${z.dynamicRef?(0,f._)`, ${d.default.dynamicAnchors}={}`:f.nil}}={}`}function C(z,y){z.if(d.default.valCxt,()=>{z.var(d.default.instancePath,(0,f._)`${d.default.valCxt}.${d.default.instancePath}`),z.var(d.default.parentData,(0,f._)`${d.default.valCxt}.${d.default.parentData}`),z.var(d.default.parentDataProperty,(0,f._)`${d.default.valCxt}.${d.default.parentDataProperty}`),z.var(d.default.rootData,(0,f._)`${d.default.valCxt}.${d.default.rootData}`),y.dynamicRef&&z.var(d.default.dynamicAnchors,(0,f._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{z.var(d.default.instancePath,(0,f._)`""`),z.var(d.default.parentData,(0,f._)`undefined`),z.var(d.default.parentDataProperty,(0,f._)`undefined`),z.var(d.default.rootData,d.default.data),y.dynamicRef&&z.var(d.default.dynamicAnchors,(0,f._)`{}`)})}function w(z){const{schema:y,opts:E,gen:A}=z;T(z,()=>{E.$comment&&y.$comment&&fe(z),se(z),A.let(d.default.vErrors,null),A.let(d.default.errors,0),E.unevaluated&&P(z),V(z),me(z)})}function P(z){const{gen:y,validateName:E}=z;z.evaluated=y.const("evaluated",(0,f._)`${E}.evaluated`),y.if((0,f._)`${z.evaluated}.dynamicProps`,()=>y.assign((0,f._)`${z.evaluated}.props`,(0,f._)`undefined`)),y.if((0,f._)`${z.evaluated}.dynamicItems`,()=>y.assign((0,f._)`${z.evaluated}.items`,(0,f._)`undefined`))}function p(z,y){const E=typeof z=="object"&&z[y.schemaId];return E&&(y.code.source||y.code.process)?(0,f._)`/*# sourceURL=${E} */`:f.nil}function v(z,y){if(O(z)&&(I(z),R(z))){k(z,y);return}(0,t.boolOrEmptySchema)(z,y)}function R({schema:z,self:y}){if(typeof z=="boolean")return!z;for(const E in z)if(y.RULES.all[E])return!0;return!1}function O(z){return typeof z.schema!="boolean"}function k(z,y){const{schema:E,gen:A,opts:B}=z;B.$comment&&E.$comment&&fe(z),ie(z),X(z);const H=A.const("_errs",d.default.errors);V(z,H),A.var(y,(0,f._)`${H} === ${d.default.errors}`)}function I(z){(0,m.checkUnknownRules)(z),K(z)}function V(z,y){if(z.opts.jtd)return Se(z,[],!1,y);const E=(0,n.getSchemaTypes)(z.schema),A=(0,n.coerceAndCheckDataType)(z,E);Se(z,E,!A,y)}function K(z){const{schema:y,errSchemaPath:E,opts:A,self:B}=z;y.$ref&&A.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(y,B.RULES)&&B.logger.warn(`$ref: keywords ignored in schema at path "${E}"`)}function se(z){const{schema:y,opts:E}=z;y.default!==void 0&&E.useDefaults&&E.strictSchema&&(0,m.checkStrictMode)(z,"default is ignored in the schema root")}function ie(z){const y=z.schema[z.opts.schemaId];y&&(z.baseId=(0,_.resolveUrl)(z.opts.uriResolver,z.baseId,y))}function X(z){if(z.schema.$async&&!z.schemaEnv.$async)throw new Error("async schema in sync schema")}function fe({gen:z,schemaEnv:y,schema:E,errSchemaPath:A,opts:B}){const H=E.$comment;if(B.$comment===!0)z.code((0,f._)`${d.default.self}.logger.log(${H})`);else if(typeof B.$comment=="function"){const J=(0,f.str)`${A}/$comment`,ce=z.scopeValue("root",{ref:y.root});z.code((0,f._)`${d.default.self}.opts.$comment(${H}, ${J}, ${ce}.schema)`)}}function me(z){const{gen:y,schemaEnv:E,validateName:A,ValidationError:B,opts:H}=z;E.$async?y.if((0,f._)`${d.default.errors} === 0`,()=>y.return(d.default.data),()=>y.throw((0,f._)`new ${B}(${d.default.vErrors})`)):(y.assign((0,f._)`${A}.errors`,d.default.vErrors),H.unevaluated&&Ie(z),y.return((0,f._)`${d.default.errors} === 0`))}function Ie({gen:z,evaluated:y,props:E,items:A}){E instanceof f.Name&&z.assign((0,f._)`${y}.props`,E),A instanceof f.Name&&z.assign((0,f._)`${y}.items`,A)}function Se(z,y,E,A){const{gen:B,schema:H,data:J,allErrors:ce,opts:ue,self:oe}=z,{RULES:Q}=oe;if(H.$ref&&(ue.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(H,Q))){B.block(()=>j(z,"$ref",Q.all.$ref.definition));return}ue.jtd||re(z,y),B.block(()=>{for(const le of Q.rules)_e(le);_e(Q.post)});function _e(le){(0,r.shouldUseGroup)(H,le)&&(le.type?(B.if((0,o.checkDataType)(le.type,J,ue.strictNumbers)),$e(z,le),y.length===1&&y[0]===le.type&&E&&(B.else(),(0,o.reportTypeError)(z)),B.endIf()):$e(z,le),ce||B.if((0,f._)`${d.default.errors} === ${A||0}`))}}function $e(z,y){const{gen:E,schema:A,opts:{useDefaults:B}}=z;B&&(0,a.assignDefaults)(z,y.type),E.block(()=>{for(const H of y.rules)(0,r.shouldUseRule)(A,H)&&j(z,H.keyword,H.definition,y.type)})}function re(z,y){z.schemaEnv.meta||!z.opts.strictTypes||(Qe(z,y),z.opts.allowUnionTypes||W(z,y),D(z,z.dataTypes))}function Qe(z,y){if(y.length){if(!z.dataTypes.length){z.dataTypes=y;return}y.forEach(E=>{Z(z.dataTypes,E)||M(z,`type "${E}" not allowed by context "${z.dataTypes.join(",")}"`)}),x(z,y)}}function W(z,y){y.length>1&&!(y.length===2&&y.includes("null"))&&M(z,"use allowUnionTypes to allow union type keyword")}function D(z,y){const E=z.self.RULES.all;for(const A in E){const B=E[A];if(typeof B=="object"&&(0,r.shouldUseRule)(z.schema,B)){const{type:H}=B.definition;H.length&&!H.some(J=>Y(y,J))&&M(z,`missing type "${H.join(",")}" for keyword "${A}"`)}}}function Y(z,y){return z.includes(y)||y==="number"&&z.includes("integer")}function Z(z,y){return z.includes(y)||y==="integer"&&z.includes("number")}function x(z,y){const E=[];for(const A of z.dataTypes)Z(y,A)?E.push(A):y.includes("integer")&&A==="number"&&E.push("integer");z.dataTypes=E}function M(z,y){const E=z.schemaEnv.baseId+z.errSchemaPath;y+=` at "${E}" (strictTypes)`,(0,m.checkStrictMode)(z,y,z.opts.strictTypes)}class q{constructor(y,E,A){if((0,u.validateKeywordUsage)(y,E,A),this.gen=y.gen,this.allErrors=y.allErrors,this.keyword=A,this.data=y.data,this.schema=y.schema[A],this.$data=E.$data&&y.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(y,this.schema,A,this.$data),this.schemaType=E.schemaType,this.parentSchema=y.schema,this.params={},this.it=y,this.def=E,this.$data)this.schemaCode=y.gen.const("vSchema",ae(this.$data,y));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,E.schemaType,E.allowUndefined))throw new Error(`${A} value must be ${JSON.stringify(E.schemaType)}`);("code"in E?E.trackErrors:E.errors!==!1)&&(this.errsCount=y.gen.const("_errs",d.default.errors))}result(y,E,A){this.failResult((0,f.not)(y),E,A)}failResult(y,E,A){this.gen.if(y),A?A():this.error(),E?(this.gen.else(),E(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(y,E){this.failResult((0,f.not)(y),void 0,E)}fail(y){if(y===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(y),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(y){if(!this.$data)return this.fail(y);const{schemaCode:E}=this;this.fail((0,f._)`${E} !== undefined && (${(0,f.or)(this.invalid$data(),y)})`)}error(y,E,A){if(E){this.setParams(E),this._error(y,A),this.setParams({});return}this._error(y,A)}_error(y,E){(y?g.reportExtraError:g.reportError)(this,this.def.error,E)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(y){this.allErrors||this.gen.if(y)}setParams(y,E){E?Object.assign(this.params,y):this.params=y}block$data(y,E,A=f.nil){this.gen.block(()=>{this.check$data(y,A),E()})}check$data(y=f.nil,E=f.nil){if(!this.$data)return;const{gen:A,schemaCode:B,schemaType:H,def:J}=this;A.if((0,f.or)((0,f._)`${B} === undefined`,E)),y!==f.nil&&A.assign(y,!0),(H.length||J.validateSchema)&&(A.elseIf(this.invalid$data()),this.$dataError(),y!==f.nil&&A.assign(y,!1)),A.else()}invalid$data(){const{gen:y,schemaCode:E,schemaType:A,def:B,it:H}=this;return(0,f.or)(J(),ce());function J(){if(A.length){if(!(E instanceof f.Name))throw new Error("ajv implementation error");const ue=Array.isArray(A)?A:[A];return(0,f._)`${(0,o.checkDataTypes)(ue,E,H.opts.strictNumbers,o.DataType.Wrong)}`}return f.nil}function ce(){if(B.validateSchema){const ue=y.scopeValue("validate$data",{ref:B.validateSchema});return(0,f._)`!${ue}(${E})`}return f.nil}}subschema(y,E){const A=(0,c.getSubschema)(this.it,y);(0,c.extendSubschemaData)(A,this.it,y),(0,c.extendSubschemaMode)(A,y);const B={...this.it,...A,items:void 0,props:void 0};return v(B,E),B}mergeEvaluated(y,E){const{it:A,gen:B}=this;A.opts.unevaluated&&(A.props!==!0&&y.props!==void 0&&(A.props=m.mergeEvaluated.props(B,y.props,A.props,E)),A.items!==!0&&y.items!==void 0&&(A.items=m.mergeEvaluated.items(B,y.items,A.items,E)))}mergeValidEvaluated(y,E){const{it:A,gen:B}=this;if(A.opts.unevaluated&&(A.props!==!0||A.items!==!0))return B.if(E,()=>this.mergeEvaluated(y,f.Name)),!0}}fn.KeywordCxt=q;function j(z,y,E,A){const B=new q(z,E,y);"code"in E?E.code(B,A):B.$data&&E.validate?(0,u.funcKeywordCode)(B,E):"macro"in E?(0,u.macroKeywordCode)(B,E):(E.compile||E.validate)&&(0,u.funcKeywordCode)(B,E)}const G=/^\/(?:[^~]|~0|~1)*$/,ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ae(z,{dataLevel:y,dataNames:E,dataPathArr:A}){let B,H;if(z==="")return d.default.rootData;if(z[0]==="/"){if(!G.test(z))throw new Error(`Invalid JSON-pointer: ${z}`);B=z,H=d.default.rootData}else{const oe=ee.exec(z);if(!oe)throw new Error(`Invalid JSON-pointer: ${z}`);const Q=+oe[1];if(B=oe[2],B==="#"){if(Q>=y)throw new Error(ue("property/index",Q));return A[y-Q]}if(Q>y)throw new Error(ue("data",Q));if(H=E[y-Q],!B)return H}let J=H;const ce=B.split("/");for(const oe of ce)oe&&(H=(0,f._)`${H}${(0,f.getProperty)((0,m.unescapeJsonPointer)(oe))}`,J=(0,f._)`${J} && ${H}`);return J;function ue(oe,Q){return`Cannot access ${oe} ${Q} levels up, current level is ${y}`}}return fn.getData=ae,fn}var Vr={},ul;function Za(){if(ul)return Vr;ul=1,Object.defineProperty(Vr,"__esModule",{value:!0});class t extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return Vr.default=t,Vr}var Hr={},cl;function so(){if(cl)return Hr;cl=1,Object.defineProperty(Hr,"__esModule",{value:!0});const t=io();class n extends Error{constructor(o,a,u,c){super(c||`can't resolve reference ${u} from id ${a}`),this.missingRef=(0,t.resolveUrl)(o,a,u),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(o,this.missingRef))}}return Hr.default=n,Hr}var Tt={},ll;function Fa(){if(ll)return Tt;ll=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.resolveSchema=Tt.getCompilingSchema=Tt.resolveRef=Tt.compileSchema=Tt.SchemaEnv=void 0;const t=Oe(),n=Za(),r=zn(),o=io(),a=De(),u=ro();class c{constructor(P){var p;this.refs={},this.dynamicAnchors={};let v;typeof P.schema=="object"&&(v=P.schema),this.schema=P.schema,this.schemaId=P.schemaId,this.root=P.root||this,this.baseId=(p=P.baseId)!==null&&p!==void 0?p:(0,o.normalizeId)(v==null?void 0:v[P.schemaId||"$id"]),this.schemaPath=P.schemaPath,this.localRefs=P.localRefs,this.meta=P.meta,this.$async=v==null?void 0:v.$async,this.refs={}}}Tt.SchemaEnv=c;function f(w){const P=m.call(this,w);if(P)return P;const p=(0,o.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:v,lines:R}=this.opts.code,{ownProperties:O}=this.opts,k=new t.CodeGen(this.scope,{es5:v,lines:R,ownProperties:O});let I;w.$async&&(I=k.scopeValue("Error",{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const V=k.scopeName("validate");w.validateName=V;const K={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,t.stringify)(w.schema)}:{ref:w.schema}),validateName:V,ValidationError:I,schema:w.schema,schemaEnv:w,rootId:p,baseId:w.baseId||p,schemaPath:t.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let se;try{this._compilations.add(w),(0,u.validateFunctionCode)(K),k.optimize(this.opts.code.optimize);const ie=k.toString();se=`${k.scopeRefs(r.default.scope)}return ${ie}`,this.opts.code.process&&(se=this.opts.code.process(se,w));const fe=new Function(`${r.default.self}`,`${r.default.scope}`,se)(this,this.scope.get());if(this.scope.value(V,{ref:fe}),fe.errors=null,fe.schema=w.schema,fe.schemaEnv=w,w.$async&&(fe.$async=!0),this.opts.code.source===!0&&(fe.source={validateName:V,validateCode:ie,scopeValues:k._values}),this.opts.unevaluated){const{props:me,items:Ie}=K;fe.evaluated={props:me instanceof t.Name?void 0:me,items:Ie instanceof t.Name?void 0:Ie,dynamicProps:me instanceof t.Name,dynamicItems:Ie instanceof t.Name},fe.source&&(fe.source.evaluated=(0,t.stringify)(fe.evaluated))}return w.validate=fe,w}catch(ie){throw delete w.validate,delete w.validateName,se&&this.logger.error("Error compiling schema, function code:",se),ie}finally{this._compilations.delete(w)}}Tt.compileSchema=f;function d(w,P,p){var v;p=(0,o.resolveUrl)(this.opts.uriResolver,P,p);const R=w.refs[p];if(R)return R;let O=b.call(this,w,p);if(O===void 0){const k=(v=w.localRefs)===null||v===void 0?void 0:v[p],{schemaId:I}=this.opts;k&&(O=new c({schema:k,schemaId:I,root:w,baseId:P}))}if(O!==void 0)return w.refs[p]=_.call(this,O)}Tt.resolveRef=d;function _(w){return(0,o.inlineRef)(w.schema,this.opts.inlineRefs)?w.schema:w.validate?w:f.call(this,w)}function m(w){for(const P of this._compilations)if(g(P,w))return P}Tt.getCompilingSchema=m;function g(w,P){return w.schema===P.schema&&w.root===P.root&&w.baseId===P.baseId}function b(w,P){let p;for(;typeof(p=this.refs[P])=="string";)P=p;return p||this.schemas[P]||T.call(this,w,P)}function T(w,P){const p=this.opts.uriResolver.parse(P),v=(0,o._getFullPath)(this.opts.uriResolver,p);let R=(0,o.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&v===R)return C.call(this,p,w);const O=(0,o.normalizeId)(v),k=this.refs[O]||this.schemas[O];if(typeof k=="string"){const I=T.call(this,w,k);return typeof(I==null?void 0:I.schema)!="object"?void 0:C.call(this,p,I)}if(typeof(k==null?void 0:k.schema)=="object"){if(k.validate||f.call(this,k),O===(0,o.normalizeId)(P)){const{schema:I}=k,{schemaId:V}=this.opts,K=I[V];return K&&(R=(0,o.resolveUrl)(this.opts.uriResolver,R,K)),new c({schema:I,schemaId:V,root:w,baseId:R})}return C.call(this,p,k)}}Tt.resolveSchema=T;const $=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function C(w,{baseId:P,schema:p,root:v}){var R;if(((R=w.fragment)===null||R===void 0?void 0:R[0])!=="/")return;for(const I of w.fragment.slice(1).split("/")){if(typeof p=="boolean")return;const V=p[(0,a.unescapeFragment)(I)];if(V===void 0)return;p=V;const K=typeof p=="object"&&p[this.opts.schemaId];!$.has(I)&&K&&(P=(0,o.resolveUrl)(this.opts.uriResolver,P,K))}let O;if(typeof p!="boolean"&&p.$ref&&!(0,a.schemaHasRulesButRef)(p,this.RULES)){const I=(0,o.resolveUrl)(this.opts.uriResolver,P,p.$ref);O=T.call(this,v,I)}const{schemaId:k}=this.opts;if(O=O||new c({schema:p,schemaId:k,root:v,baseId:P}),O.schema!==O.root.schema)return O}return Tt}const Xg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Qg="Meta-schema for $data reference (JSON AnySchema extension proposal)",ev="object",tv=["$data"],nv={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},iv=!1,rv={$id:Xg,description:Qg,type:ev,required:tv,properties:nv,additionalProperties:iv};var Ur={},Ki={exports:{}},ia,fl;function sv(){return fl||(fl=1,ia={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),ia}var ra,dl;function ov(){if(dl)return ra;dl=1;const{HEX:t}=sv();function n($){if(c($,".")<3)return{host:$,isIPV4:!1};const C=$.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[w]=C;return w?{host:u(w,"."),isIPV4:!0}:{host:$,isIPV4:!1}}function r($,C=!1){let w="",P=!0;for(const p of $){if(t[p]===void 0)return;p!=="0"&&P===!0&&(P=!1),P||(w+=p)}return C&&w.length===0&&(w="0"),w}function o($){let C=0;const w={error:!1,address:"",zone:""},P=[],p=[];let v=!1,R=!1,O=!1;function k(){if(p.length){if(v===!1){const I=r(p);if(I!==void 0)P.push(I);else return w.error=!0,!1}p.length=0}return!0}for(let I=0;I<$.length;I++){const V=$[I];if(!(V==="["||V==="]"))if(V===":"){if(R===!0&&(O=!0),!k())break;if(C++,P.push(":"),C>7){w.error=!0;break}I-1>=0&&$[I-1]===":"&&(R=!0);continue}else if(V==="%"){if(!k())break;v=!0}else{p.push(V);continue}}return p.length&&(v?w.zone=p.join(""):O?P.push(p.join("")):P.push(r(p))),w.address=P.join(""),w}function a($,C={}){if(c($,":")<2)return{host:$,isIPV6:!1};const w=o($);if(w.error)return{host:$,isIPV6:!1};{let P=w.address,p=w.address;return w.zone&&(P+="%"+w.zone,p+="%25"+w.zone),{host:P,escapedHost:p,isIPV6:!0}}}function u($,C){let w="",P=!0;const p=$.length;for(let v=0;v/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(P)));function b(w){let P=0;for(let p=0,v=w.length;p126||g[P])return!0;return!1}const T=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function $(w,P){const p=Object.assign({},P),v={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},R=w.indexOf("%")!==-1;let O=!1;p.reference==="suffix"&&(w=(p.scheme?p.scheme+":":"")+"//"+w);const k=w.match(T);if(k){if(v.scheme=k[1],v.userinfo=k[3],v.host=k[4],v.port=parseInt(k[5],10),v.path=k[6]||"",v.query=k[7],v.fragment=k[8],isNaN(v.port)&&(v.port=k[5]),v.host){const V=n(v.host);if(V.isIPV4===!1){const K=t(V.host,{isIPV4:!1});v.host=K.host.toLowerCase(),O=K.isIPV6}else v.host=V.host,O=!0}v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",p.reference&&p.reference!=="suffix"&&p.reference!==v.reference&&(v.error=v.error||"URI is not a "+p.reference+" reference.");const I=u[(p.scheme||v.scheme||"").toLowerCase()];if(!p.unicodeSupport&&(!I||!I.unicodeSupport)&&v.host&&(p.domainHost||I&&I.domainHost)&&O===!1&&b(v.host))try{v.host=URL.domainToASCII(v.host.toLowerCase())}catch(V){v.error=v.error||"Host's domain name can not be converted to ASCII: "+V}(!I||I&&!I.skipNormalize)&&(R&&v.scheme!==void 0&&(v.scheme=unescape(v.scheme)),R&&v.userinfo!==void 0&&(v.userinfo=unescape(v.userinfo)),R&&v.host!==void 0&&(v.host=unescape(v.host)),v.path!==void 0&&v.path.length&&(v.path=escape(unescape(v.path))),v.fragment!==void 0&&v.fragment.length&&(v.fragment=encodeURI(decodeURIComponent(v.fragment)))),I&&I.parse&&I.parse(v,p)}else v.error=v.error||"URI can not be parsed.";return v}const C={SCHEMES:u,normalize:c,resolve:f,resolveComponents:d,equal:_,serialize:m,parse:$};return Ki.exports=C,Ki.exports.default=C,Ki.exports.fastUri=C,Ki.exports}var ml;function cv(){if(ml)return Ur;ml=1,Object.defineProperty(Ur,"__esModule",{value:!0});const t=uv();return t.code='require("ajv/dist/runtime/uri").default',Ur.default=t,Ur}var _l;function lv(){return _l||(_l=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=ro();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Oe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const o=Za(),a=so(),u=Hd(),c=Fa(),f=Oe(),d=io(),_=zs(),m=De(),g=rv,b=cv(),T=(W,D)=>new RegExp(W,D);T.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],C=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),w={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},P={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},p=200;function v(W){var D,Y,Z,x,M,q,j,G,ee,ae,z,y,E,A,B,H,J,ce,ue,oe,Q,_e,le,ge,ye;const Te=W.strict,Ne=(D=W.code)===null||D===void 0?void 0:D.optimize,Ae=Ne===!0||Ne===void 0?1:Ne||0,at=(Z=(Y=W.code)===null||Y===void 0?void 0:Y.regExp)!==null&&Z!==void 0?Z:T,ot=(x=W.uriResolver)!==null&&x!==void 0?x:b.default;return{strictSchema:(q=(M=W.strictSchema)!==null&&M!==void 0?M:Te)!==null&&q!==void 0?q:!0,strictNumbers:(G=(j=W.strictNumbers)!==null&&j!==void 0?j:Te)!==null&&G!==void 0?G:!0,strictTypes:(ae=(ee=W.strictTypes)!==null&&ee!==void 0?ee:Te)!==null&&ae!==void 0?ae:"log",strictTuples:(y=(z=W.strictTuples)!==null&&z!==void 0?z:Te)!==null&&y!==void 0?y:"log",strictRequired:(A=(E=W.strictRequired)!==null&&E!==void 0?E:Te)!==null&&A!==void 0?A:!1,code:W.code?{...W.code,optimize:Ae,regExp:at}:{optimize:Ae,regExp:at},loopRequired:(B=W.loopRequired)!==null&&B!==void 0?B:p,loopEnum:(H=W.loopEnum)!==null&&H!==void 0?H:p,meta:(J=W.meta)!==null&&J!==void 0?J:!0,messages:(ce=W.messages)!==null&&ce!==void 0?ce:!0,inlineRefs:(ue=W.inlineRefs)!==null&&ue!==void 0?ue:!0,schemaId:(oe=W.schemaId)!==null&&oe!==void 0?oe:"$id",addUsedSchema:(Q=W.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(_e=W.validateSchema)!==null&&_e!==void 0?_e:!0,validateFormats:(le=W.validateFormats)!==null&&le!==void 0?le:!0,unicodeRegExp:(ge=W.unicodeRegExp)!==null&&ge!==void 0?ge:!0,int32range:(ye=W.int32range)!==null&&ye!==void 0?ye:!0,uriResolver:ot}}class R{constructor(D={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,D=this.opts={...D,...v(D)};const{es5:Y,lines:Z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:C,es5:Y,lines:Z}),this.logger=X(D.logger);const x=D.validateFormats;D.validateFormats=!1,this.RULES=(0,u.getRules)(),O.call(this,w,D,"NOT SUPPORTED"),O.call(this,P,D,"DEPRECATED","warn"),this._metaOpts=se.call(this),D.formats&&V.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),D.keywords&&K.call(this,D.keywords),typeof D.meta=="object"&&this.addMetaSchema(D.meta),I.call(this),D.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:D,meta:Y,schemaId:Z}=this.opts;let x=g;Z==="id"&&(x={...g},x.id=x.$id,delete x.$id),Y&&D&&this.addMetaSchema(x,x[Z],!1)}defaultMeta(){const{meta:D,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof D=="object"?D[Y]||D:void 0}validate(D,Y){let Z;if(typeof D=="string"){if(Z=this.getSchema(D),!Z)throw new Error(`no schema with key or ref "${D}"`)}else Z=this.compile(D);const x=Z(Y);return"$async"in Z||(this.errors=Z.errors),x}compile(D,Y){const Z=this._addSchema(D,Y);return Z.validate||this._compileSchemaEnv(Z)}compileAsync(D,Y){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:Z}=this.opts;return x.call(this,D,Y);async function x(ae,z){await M.call(this,ae.$schema);const y=this._addSchema(ae,z);return y.validate||q.call(this,y)}async function M(ae){ae&&!this.getSchema(ae)&&await x.call(this,{$ref:ae},!0)}async function q(ae){try{return this._compileSchemaEnv(ae)}catch(z){if(!(z instanceof a.default))throw z;return j.call(this,z),await G.call(this,z.missingSchema),q.call(this,ae)}}function j({missingSchema:ae,missingRef:z}){if(this.refs[ae])throw new Error(`AnySchema ${ae} is loaded but ${z} cannot be resolved`)}async function G(ae){const z=await ee.call(this,ae);this.refs[ae]||await M.call(this,z.$schema),this.refs[ae]||this.addSchema(z,ae,Y)}async function ee(ae){const z=this._loading[ae];if(z)return z;try{return await(this._loading[ae]=Z(ae))}finally{delete this._loading[ae]}}}addSchema(D,Y,Z,x=this.opts.validateSchema){if(Array.isArray(D)){for(const q of D)this.addSchema(q,void 0,Z,x);return this}let M;if(typeof D=="object"){const{schemaId:q}=this.opts;if(M=D[q],M!==void 0&&typeof M!="string")throw new Error(`schema ${q} must be string`)}return Y=(0,d.normalizeId)(Y||M),this._checkUnique(Y),this.schemas[Y]=this._addSchema(D,Z,Y,x,!0),this}addMetaSchema(D,Y,Z=this.opts.validateSchema){return this.addSchema(D,Y,!0,Z),this}validateSchema(D,Y){if(typeof D=="boolean")return!0;let Z;if(Z=D.$schema,Z!==void 0&&typeof Z!="string")throw new Error("$schema must be a string");if(Z=Z||this.opts.defaultMeta||this.defaultMeta(),!Z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(Z,D);if(!x&&Y){const M="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(M);else throw new Error(M)}return x}getSchema(D){let Y;for(;typeof(Y=k.call(this,D))=="string";)D=Y;if(Y===void 0){const{schemaId:Z}=this.opts,x=new c.SchemaEnv({schema:{},schemaId:Z});if(Y=c.resolveSchema.call(this,x,D),!Y)return;this.refs[D]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema(D){if(D instanceof RegExp)return this._removeAllSchemas(this.schemas,D),this._removeAllSchemas(this.refs,D),this;switch(typeof D){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const Y=k.call(this,D);return typeof Y=="object"&&this._cache.delete(Y.schema),delete this.schemas[D],delete this.refs[D],this}case"object":{const Y=D;this._cache.delete(Y);let Z=D[this.opts.schemaId];return Z&&(Z=(0,d.normalizeId)(Z),delete this.schemas[Z],delete this.refs[Z]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(D){for(const Y of D)this.addKeyword(Y);return this}addKeyword(D,Y){let Z;if(typeof D=="string")Z=D,typeof Y=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=Z);else if(typeof D=="object"&&Y===void 0){if(Y=D,Z=Y.keyword,Array.isArray(Z)&&!Z.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(me.call(this,Z,Y),!Y)return(0,m.eachItem)(Z,M=>Ie.call(this,M)),this;$e.call(this,Y);const x={...Y,type:(0,_.getJSONTypes)(Y.type),schemaType:(0,_.getJSONTypes)(Y.schemaType)};return(0,m.eachItem)(Z,x.type.length===0?M=>Ie.call(this,M,x):M=>x.type.forEach(q=>Ie.call(this,M,x,q))),this}getKeyword(D){const Y=this.RULES.all[D];return typeof Y=="object"?Y.definition:!!Y}removeKeyword(D){const{RULES:Y}=this;delete Y.keywords[D],delete Y.all[D];for(const Z of Y.rules){const x=Z.rules.findIndex(M=>M.keyword===D);x>=0&&Z.rules.splice(x,1)}return this}addFormat(D,Y){return typeof Y=="string"&&(Y=new RegExp(Y)),this.formats[D]=Y,this}errorsText(D=this.errors,{separator:Y=", ",dataVar:Z="data"}={}){return!D||D.length===0?"No errors":D.map(x=>`${Z}${x.instancePath} ${x.message}`).reduce((x,M)=>x+Y+M)}$dataMetaSchema(D,Y){const Z=this.RULES.all;D=JSON.parse(JSON.stringify(D));for(const x of Y){const M=x.split("/").slice(1);let q=D;for(const j of M)q=q[j];for(const j in Z){const G=Z[j];if(typeof G!="object")continue;const{$data:ee}=G.definition,ae=q[j];ee&&ae&&(q[j]=Qe(ae))}}return D}_removeAllSchemas(D,Y){for(const Z in D){const x=D[Z];(!Y||Y.test(Z))&&(typeof x=="string"?delete D[Z]:x&&!x.meta&&(this._cache.delete(x.schema),delete D[Z]))}}_addSchema(D,Y,Z,x=this.opts.validateSchema,M=this.opts.addUsedSchema){let q;const{schemaId:j}=this.opts;if(typeof D=="object")q=D[j];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof D!="boolean")throw new Error("schema must be object or boolean")}let G=this._cache.get(D);if(G!==void 0)return G;Z=(0,d.normalizeId)(q||Z);const ee=d.getSchemaRefs.call(this,D,Z);return G=new c.SchemaEnv({schema:D,schemaId:j,meta:Y,baseId:Z,localRefs:ee}),this._cache.set(G.schema,G),M&&!Z.startsWith("#")&&(Z&&this._checkUnique(Z),this.refs[Z]=G),x&&this.validateSchema(D,!0),G}_checkUnique(D){if(this.schemas[D]||this.refs[D])throw new Error(`schema with key or id "${D}" already exists`)}_compileSchemaEnv(D){if(D.meta?this._compileMetaSchema(D):c.compileSchema.call(this,D),!D.validate)throw new Error("ajv implementation error");return D.validate}_compileMetaSchema(D){const Y=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,D)}finally{this.opts=Y}}}R.ValidationError=o.default,R.MissingRefError=a.default,t.default=R;function O(W,D,Y,Z="error"){for(const x in W){const M=x;M in D&&this.logger[Z](`${Y}: option ${x}. ${W[M]}`)}}function k(W){return W=(0,d.normalizeId)(W),this.schemas[W]||this.refs[W]}function I(){const W=this.opts.schemas;if(W)if(Array.isArray(W))this.addSchema(W);else for(const D in W)this.addSchema(W[D],D)}function V(){for(const W in this.opts.formats){const D=this.opts.formats[W];D&&this.addFormat(W,D)}}function K(W){if(Array.isArray(W)){this.addVocabulary(W);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const D in W){const Y=W[D];Y.keyword||(Y.keyword=D),this.addKeyword(Y)}}function se(){const W={...this.opts};for(const D of $)delete W[D];return W}const ie={log(){},warn(){},error(){}};function X(W){if(W===!1)return ie;if(W===void 0)return console;if(W.log&&W.warn&&W.error)return W;throw new Error("logger must implement log, warn and error methods")}const fe=/^[a-z_$][a-z0-9_$:-]*$/i;function me(W,D){const{RULES:Y}=this;if((0,m.eachItem)(W,Z=>{if(Y.keywords[Z])throw new Error(`Keyword ${Z} is already defined`);if(!fe.test(Z))throw new Error(`Keyword ${Z} has invalid name`)}),!!D&&D.$data&&!("code"in D||"validate"in D))throw new Error('$data keyword must have "code" or "validate" function')}function Ie(W,D,Y){var Z;const x=D==null?void 0:D.post;if(Y&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:M}=this;let q=x?M.post:M.rules.find(({type:G})=>G===Y);if(q||(q={type:Y,rules:[]},M.rules.push(q)),M.keywords[W]=!0,!D)return;const j={keyword:W,definition:{...D,type:(0,_.getJSONTypes)(D.type),schemaType:(0,_.getJSONTypes)(D.schemaType)}};D.before?Se.call(this,q,j,D.before):q.rules.push(j),M.all[W]=j,(Z=D.implements)===null||Z===void 0||Z.forEach(G=>this.addKeyword(G))}function Se(W,D,Y){const Z=W.rules.findIndex(x=>x.keyword===Y);Z>=0?W.rules.splice(Z,0,D):(W.rules.push(D),this.logger.warn(`rule ${Y} is not defined`))}function $e(W){let{metaSchema:D}=W;D!==void 0&&(W.$data&&this.opts.$data&&(D=Qe(D)),W.validateSchema=this.compile(D,!0))}const re={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Qe(W){return{anyOf:[W,re]}}}(Jo)),Jo}var Wr={},Kr={},Gr={},gl;function fv(){if(gl)return Gr;gl=1,Object.defineProperty(Gr,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Gr.default=t,Gr}var Rn={},vl;function dv(){if(vl)return Rn;vl=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.callRef=Rn.getValidate=void 0;const t=so(),n=Ht(),r=Oe(),o=zn(),a=Fa(),u=De(),c={keyword:"$ref",schemaType:"string",code(_){const{gen:m,schema:g,it:b}=_,{baseId:T,schemaEnv:$,validateName:C,opts:w,self:P}=b,{root:p}=$;if((g==="#"||g==="#/")&&T===p.baseId)return R();const v=a.resolveRef.call(P,p,T,g);if(v===void 0)throw new t.default(b.opts.uriResolver,T,g);if(v instanceof a.SchemaEnv)return O(v);return k(v);function R(){if($===p)return d(_,C,$,$.$async);const I=m.scopeValue("root",{ref:p});return d(_,(0,r._)`${I}.validate`,p,p.$async)}function O(I){const V=f(_,I);d(_,V,I,I.$async)}function k(I){const V=m.scopeValue("schema",w.code.source===!0?{ref:I,code:(0,r.stringify)(I)}:{ref:I}),K=m.name("valid"),se=_.subschema({schema:I,dataTypes:[],schemaPath:r.nil,topSchemaRef:V,errSchemaPath:g},K);_.mergeEvaluated(se),_.ok(K)}}};function f(_,m){const{gen:g}=_;return m.validate?g.scopeValue("validate",{ref:m.validate}):(0,r._)`${g.scopeValue("wrapper",{ref:m})}.validate`}Rn.getValidate=f;function d(_,m,g,b){const{gen:T,it:$}=_,{allErrors:C,schemaEnv:w,opts:P}=$,p=P.passContext?o.default.this:r.nil;b?v():R();function v(){if(!w.$async)throw new Error("async schema referenced by sync schema");const I=T.let("valid");T.try(()=>{T.code((0,r._)`await ${(0,n.callValidateCode)(_,m,p)}`),k(m),C||T.assign(I,!0)},V=>{T.if((0,r._)`!(${V} instanceof ${$.ValidationError})`,()=>T.throw(V)),O(V),C||T.assign(I,!1)}),_.ok(I)}function R(){_.result((0,n.callValidateCode)(_,m,p),()=>k(m),()=>O(m))}function O(I){const V=(0,r._)`${I}.errors`;T.assign(o.default.vErrors,(0,r._)`${o.default.vErrors} === null ? ${V} : ${o.default.vErrors}.concat(${V})`),T.assign(o.default.errors,(0,r._)`${o.default.vErrors}.length`)}function k(I){var V;if(!$.opts.unevaluated)return;const K=(V=g==null?void 0:g.validate)===null||V===void 0?void 0:V.evaluated;if($.props!==!0)if(K&&!K.dynamicProps)K.props!==void 0&&($.props=u.mergeEvaluated.props(T,K.props,$.props));else{const se=T.var("props",(0,r._)`${I}.evaluated.props`);$.props=u.mergeEvaluated.props(T,se,$.props,r.Name)}if($.items!==!0)if(K&&!K.dynamicItems)K.items!==void 0&&($.items=u.mergeEvaluated.items(T,K.items,$.items));else{const se=T.var("items",(0,r._)`${I}.evaluated.items`);$.items=u.mergeEvaluated.items(T,se,$.items,r.Name)}}}return Rn.callRef=d,Rn.default=c,Rn}var yl;function hv(){if(yl)return Kr;yl=1,Object.defineProperty(Kr,"__esModule",{value:!0});const t=fv(),n=dv(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,n.default];return Kr.default=r,Kr}var Jr={},Yr={},wl;function pv(){if(wl)return Yr;wl=1,Object.defineProperty(Yr,"__esModule",{value:!0});const t=Oe(),n=t.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},o={message:({keyword:u,schemaCode:c})=>(0,t.str)`must be ${r[u].okStr} ${c}`,params:({keyword:u,schemaCode:c})=>(0,t._)`{comparison: ${r[u].okStr}, limit: ${c}}`},a={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:o,code(u){const{keyword:c,data:f,schemaCode:d}=u;u.fail$data((0,t._)`${f} ${r[c].fail} ${d} || isNaN(${f})`)}};return Yr.default=a,Yr}var Xr={},bl;function mv(){if(bl)return Xr;bl=1,Object.defineProperty(Xr,"__esModule",{value:!0});const t=Oe(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must be multiple of ${o}`,params:({schemaCode:o})=>(0,t._)`{multipleOf: ${o}}`},code(o){const{gen:a,data:u,schemaCode:c,it:f}=o,d=f.opts.multipleOfPrecision,_=a.let("res"),m=d?(0,t._)`Math.abs(Math.round(${_}) - ${_}) > 1e-${d}`:(0,t._)`${_} !== parseInt(${_})`;o.fail$data((0,t._)`(${c} === 0 || (${_} = ${u}/${c}, ${m}))`)}};return Xr.default=r,Xr}var Qr={},es={},Pl;function _v(){if(Pl)return es;Pl=1,Object.defineProperty(es,"__esModule",{value:!0});function t(n){const r=n.length;let o=0,a=0,u;for(;a=55296&&u<=56319&&a(0,t._)`{limit: ${u}}`},code(u){const{keyword:c,data:f,schemaCode:d,it:_}=u,m=c==="maxLength"?t.operators.GT:t.operators.LT,g=_.opts.unicode===!1?(0,t._)`${f}.length`:(0,t._)`${(0,n.useFunc)(u.gen,r.default)}(${f})`;u.fail$data((0,t._)`${g} ${m} ${d}`)}};return Qr.default=a,Qr}var ts={},$l;function vv(){if($l)return ts;$l=1,Object.defineProperty(ts,"__esModule",{value:!0});const t=Ht(),n=Oe(),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,n.str)`must match pattern "${a}"`,params:({schemaCode:a})=>(0,n._)`{pattern: ${a}}`},code(a){const{data:u,$data:c,schema:f,schemaCode:d,it:_}=a,m=_.opts.unicodeRegExp?"u":"",g=c?(0,n._)`(new RegExp(${d}, ${m}))`:(0,t.usePattern)(a,f);a.fail$data((0,n._)`!${g}.test(${u})`)}};return ts.default=o,ts}var ns={},Tl;function yv(){if(Tl)return ns;Tl=1,Object.defineProperty(ns,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:a}){const u=o==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} properties`},params:({schemaCode:o})=>(0,t._)`{limit: ${o}}`},code(o){const{keyword:a,data:u,schemaCode:c}=o,f=a==="maxProperties"?t.operators.GT:t.operators.LT;o.fail$data((0,t._)`Object.keys(${u}).length ${f} ${c}`)}};return ns.default=r,ns}var is={},El;function wv(){if(El)return is;El=1,Object.defineProperty(is,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=De(),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:u}})=>(0,n.str)`must have required property '${u}'`,params:({params:{missingProperty:u}})=>(0,n._)`{missingProperty: ${u}}`},code(u){const{gen:c,schema:f,schemaCode:d,data:_,$data:m,it:g}=u,{opts:b}=g;if(!m&&f.length===0)return;const T=f.length>=b.loopRequired;if(g.allErrors?$():C(),b.strictRequired){const p=u.parentSchema.properties,{definedProperties:v}=u.it;for(const R of f)if((p==null?void 0:p[R])===void 0&&!v.has(R)){const O=g.schemaEnv.baseId+g.errSchemaPath,k=`required property "${R}" is not defined at "${O}" (strictRequired)`;(0,r.checkStrictMode)(g,k,g.opts.strictRequired)}}function $(){if(T||m)u.block$data(n.nil,w);else for(const p of f)(0,t.checkReportMissingProp)(u,p)}function C(){const p=c.let("missing");if(T||m){const v=c.let("valid",!0);u.block$data(v,()=>P(p,v)),u.ok(v)}else c.if((0,t.checkMissingProp)(u,f,p)),(0,t.reportMissingProp)(u,p),c.else()}function w(){c.forOf("prop",d,p=>{u.setParams({missingProperty:p}),c.if((0,t.noPropertyInData)(c,_,p,b.ownProperties),()=>u.error())})}function P(p,v){u.setParams({missingProperty:p}),c.forOf(p,d,()=>{c.assign(v,(0,t.propertyInData)(c,_,p,b.ownProperties)),c.if((0,n.not)(v),()=>{u.error(),c.break()})},n.nil)}}};return is.default=a,is}var rs={},Rl;function bv(){if(Rl)return rs;Rl=1,Object.defineProperty(rs,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:a}){const u=o==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} items`},params:({schemaCode:o})=>(0,t._)`{limit: ${o}}`},code(o){const{keyword:a,data:u,schemaCode:c}=o,f=a==="maxItems"?t.operators.GT:t.operators.LT;o.fail$data((0,t._)`${u}.length ${f} ${c}`)}};return rs.default=r,rs}var ss={},os={},Ll;function Va(){if(Ll)return os;Ll=1,Object.defineProperty(os,"__esModule",{value:!0});const t=Wd();return t.code='require("ajv/dist/runtime/equal").default',os.default=t,os}var xl;function Pv(){if(xl)return ss;xl=1,Object.defineProperty(ss,"__esModule",{value:!0});const t=zs(),n=Oe(),r=De(),o=Va(),u={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:c,j:f}})=>(0,n.str)`must NOT have duplicate items (items ## ${f} and ${c} are identical)`,params:({params:{i:c,j:f}})=>(0,n._)`{i: ${c}, j: ${f}}`},code(c){const{gen:f,data:d,$data:_,schema:m,parentSchema:g,schemaCode:b,it:T}=c;if(!_&&!m)return;const $=f.let("valid"),C=g.items?(0,t.getSchemaTypes)(g.items):[];c.block$data($,w,(0,n._)`${b} === false`),c.ok($);function w(){const R=f.let("i",(0,n._)`${d}.length`),O=f.let("j");c.setParams({i:R,j:O}),f.assign($,!0),f.if((0,n._)`${R} > 1`,()=>(P()?p:v)(R,O))}function P(){return C.length>0&&!C.some(R=>R==="object"||R==="array")}function p(R,O){const k=f.name("item"),I=(0,t.checkDataTypes)(C,k,T.opts.strictNumbers,t.DataType.Wrong),V=f.const("indices",(0,n._)`{}`);f.for((0,n._)`;${R}--;`,()=>{f.let(k,(0,n._)`${d}[${R}]`),f.if(I,(0,n._)`continue`),C.length>1&&f.if((0,n._)`typeof ${k} == "string"`,(0,n._)`${k} += "_"`),f.if((0,n._)`typeof ${V}[${k}] == "number"`,()=>{f.assign(O,(0,n._)`${V}[${k}]`),c.error(),f.assign($,!1).break()}).code((0,n._)`${V}[${k}] = ${R}`)})}function v(R,O){const k=(0,r.useFunc)(f,o.default),I=f.name("outer");f.label(I).for((0,n._)`;${R}--;`,()=>f.for((0,n._)`${O} = ${R}; ${O}--;`,()=>f.if((0,n._)`${k}(${d}[${R}], ${d}[${O}])`,()=>{c.error(),f.assign($,!1).break(I)})))}}};return ss.default=u,ss}var as={},Cl;function Sv(){if(Cl)return as;Cl=1,Object.defineProperty(as,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:u})=>(0,t._)`{allowedValue: ${u}}`},code(u){const{gen:c,data:f,$data:d,schemaCode:_,schema:m}=u;d||m&&typeof m=="object"?u.fail$data((0,t._)`!${(0,n.useFunc)(c,r.default)}(${f}, ${_})`):u.fail((0,t._)`${m} !== ${f}`)}};return as.default=a,as}var us={},kl;function $v(){if(kl)return us;kl=1,Object.defineProperty(us,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:u})=>(0,t._)`{allowedValues: ${u}}`},code(u){const{gen:c,data:f,$data:d,schema:_,schemaCode:m,it:g}=u;if(!d&&_.length===0)throw new Error("enum must have non-empty array");const b=_.length>=g.opts.loopEnum;let T;const $=()=>T??(T=(0,n.useFunc)(c,r.default));let C;if(b||d)C=c.let("valid"),u.block$data(C,w);else{if(!Array.isArray(_))throw new Error("ajv implementation error");const p=c.const("vSchema",m);C=(0,t.or)(..._.map((v,R)=>P(p,R)))}u.pass(C);function w(){c.assign(C,!1),c.forOf("v",m,p=>c.if((0,t._)`${$()}(${f}, ${p})`,()=>c.assign(C,!0).break()))}function P(p,v){const R=_[v];return typeof R=="object"&&R!==null?(0,t._)`${$()}(${f}, ${p}[${v}])`:(0,t._)`${f} === ${R}`}}};return us.default=a,us}var Ol;function Tv(){if(Ol)return Jr;Ol=1,Object.defineProperty(Jr,"__esModule",{value:!0});const t=pv(),n=mv(),r=gv(),o=vv(),a=yv(),u=wv(),c=bv(),f=Pv(),d=Sv(),_=$v(),m=[t.default,n.default,r.default,o.default,a.default,u.default,c.default,f.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,_.default];return Jr.default=m,Jr}var cs={},mi={},Al;function Kd(){if(Al)return mi;Al=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.validateAdditionalItems=void 0;const t=Oe(),n=De(),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,t.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,t._)`{limit: ${u}}`},code(u){const{parentSchema:c,it:f}=u,{items:d}=c;if(!Array.isArray(d)){(0,n.checkStrictMode)(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}a(u,d)}};function a(u,c){const{gen:f,schema:d,data:_,keyword:m,it:g}=u;g.items=!0;const b=f.const("len",(0,t._)`${_}.length`);if(d===!1)u.setParams({len:c.length}),u.pass((0,t._)`${b} <= ${c.length}`);else if(typeof d=="object"&&!(0,n.alwaysValidSchema)(g,d)){const $=f.var("valid",(0,t._)`${b} <= ${c.length}`);f.if((0,t.not)($),()=>T($)),u.ok($)}function T($){f.forRange("i",c.length,b,C=>{u.subschema({keyword:m,dataProp:C,dataPropType:n.Type.Num},$),g.allErrors||f.if((0,t.not)($),()=>f.break())})}}return mi.validateAdditionalItems=a,mi.default=o,mi}var ls={},_i={},Il;function Gd(){if(Il)return _i;Il=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.validateTuple=void 0;const t=Oe(),n=De(),r=Ht(),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(u){const{schema:c,it:f}=u;if(Array.isArray(c))return a(u,"additionalItems",c);f.items=!0,!(0,n.alwaysValidSchema)(f,c)&&u.ok((0,r.validateArray)(u))}};function a(u,c,f=u.schema){const{gen:d,parentSchema:_,data:m,keyword:g,it:b}=u;C(_),b.opts.unevaluated&&f.length&&b.items!==!0&&(b.items=n.mergeEvaluated.items(d,f.length,b.items));const T=d.name("valid"),$=d.const("len",(0,t._)`${m}.length`);f.forEach((w,P)=>{(0,n.alwaysValidSchema)(b,w)||(d.if((0,t._)`${$} > ${P}`,()=>u.subschema({keyword:g,schemaProp:P,dataProp:P},T)),u.ok(T))});function C(w){const{opts:P,errSchemaPath:p}=b,v=f.length,R=v===w.minItems&&(v===w.maxItems||w[c]===!1);if(P.strictTuples&&!R){const O=`"${g}" is ${v}-tuple, but minItems or maxItems/${c} are not specified or different at path "${p}"`;(0,n.checkStrictMode)(b,O,P.strictTuples)}}}return _i.validateTuple=a,_i.default=o,_i}var Ml;function Ev(){if(Ml)return ls;Ml=1,Object.defineProperty(ls,"__esModule",{value:!0});const t=Gd(),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,t.validateTuple)(r,"items")};return ls.default=n,ls}var fs={},Nl;function Rv(){if(Nl)return fs;Nl=1,Object.defineProperty(fs,"__esModule",{value:!0});const t=Oe(),n=De(),r=Ht(),o=Kd(),u={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:c}})=>(0,t.str)`must NOT have more than ${c} items`,params:({params:{len:c}})=>(0,t._)`{limit: ${c}}`},code(c){const{schema:f,parentSchema:d,it:_}=c,{prefixItems:m}=d;_.items=!0,!(0,n.alwaysValidSchema)(_,f)&&(m?(0,o.validateAdditionalItems)(c,m):c.ok((0,r.validateArray)(c)))}};return fs.default=u,fs}var ds={},zl;function Lv(){if(zl)return ds;zl=1,Object.defineProperty(ds,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:a,max:u}})=>u===void 0?(0,t.str)`must contain at least ${a} valid item(s)`:(0,t.str)`must contain at least ${a} and no more than ${u} valid item(s)`,params:({params:{min:a,max:u}})=>u===void 0?(0,t._)`{minContains: ${a}}`:(0,t._)`{minContains: ${a}, maxContains: ${u}}`},code(a){const{gen:u,schema:c,parentSchema:f,data:d,it:_}=a;let m,g;const{minContains:b,maxContains:T}=f;_.opts.next?(m=b===void 0?1:b,g=T):m=1;const $=u.const("len",(0,t._)`${d}.length`);if(a.setParams({min:m,max:g}),g===void 0&&m===0){(0,n.checkStrictMode)(_,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(g!==void 0&&m>g){(0,n.checkStrictMode)(_,'"minContains" > "maxContains" is always invalid'),a.fail();return}if((0,n.alwaysValidSchema)(_,c)){let v=(0,t._)`${$} >= ${m}`;g!==void 0&&(v=(0,t._)`${v} && ${$} <= ${g}`),a.pass(v);return}_.items=!0;const C=u.name("valid");g===void 0&&m===1?P(C,()=>u.if(C,()=>u.break())):m===0?(u.let(C,!0),g!==void 0&&u.if((0,t._)`${d}.length > 0`,w)):(u.let(C,!1),w()),a.result(C,()=>a.reset());function w(){const v=u.name("_valid"),R=u.let("count",0);P(v,()=>u.if(v,()=>p(R)))}function P(v,R){u.forRange("i",0,$,O=>{a.subschema({keyword:"contains",dataProp:O,dataPropType:n.Type.Num,compositeRule:!0},v),R()})}function p(v){u.code((0,t._)`${v}++`),g===void 0?u.if((0,t._)`${v} >= ${m}`,()=>u.assign(C,!0).break()):(u.if((0,t._)`${v} > ${g}`,()=>u.assign(C,!1).break()),m===1?u.assign(C,!0):u.if((0,t._)`${v} >= ${m}`,()=>u.assign(C,!0)))}}};return ds.default=o,ds}var oa={},Dl;function xv(){return Dl||(Dl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=Oe(),r=De(),o=Ht();t.error={message:({params:{property:d,depsCount:_,deps:m}})=>{const g=_===1?"property":"properties";return(0,n.str)`must have ${g} ${m} when property ${d} is present`},params:({params:{property:d,depsCount:_,deps:m,missingProperty:g}})=>(0,n._)`{property: ${d}, + */const yi=typeof document<"u";function Ch(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Z_(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Ch(t.default)}const Be=Object.assign;function Ko(t,n){const r={};for(const o in n){const a=n[o];r[o]=Vt(a)?a.map(t):t(a)}return r}const ir=()=>{},Vt=Array.isArray,kh=/#/g,F_=/&/g,V_=/\//g,H_=/=/g,U_=/\?/g,Oh=/\+/g,K_=/%5B/g,W_=/%5D/g,Ah=/%5E/g,G_=/%60/g,Ih=/%7B/g,J_=/%7C/g,Mh=/%7D/g,Y_=/%20/g;function Ba(t){return encodeURI(""+t).replace(J_,"|").replace(K_,"[").replace(W_,"]")}function X_(t){return Ba(t).replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function ba(t){return Ba(t).replace(Oh,"%2B").replace(Y_,"+").replace(kh,"%23").replace(F_,"%26").replace(G_,"`").replace(Ih,"{").replace(Mh,"}").replace(Ah,"^")}function Q_(t){return ba(t).replace(H_,"%3D")}function eg(t){return Ba(t).replace(kh,"%23").replace(U_,"%3F")}function tg(t){return t==null?"":eg(t).replace(V_,"%2F")}function dr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ng=/\/$/,ig=t=>t.replace(ng,"");function Wo(t,n,r="/"){let o,a={},u="",l="";const f=n.indexOf("#");let h=n.indexOf("?");return f=0&&(h=-1),h>-1&&(o=n.slice(0,h),u=n.slice(h+1,f>-1?f:n.length),a=t(u)),f>-1&&(o=o||n.slice(0,f),l=n.slice(f,n.length)),o=ag(o??n,r),{fullPath:o+(u&&"?")+u+l,path:o,query:a,hash:dr(l)}}function rg(t,n){const r=n.query?t(n.query):"";return n.path+(r&&"?")+r+(n.hash||"")}function Tc(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function sg(t,n,r){const o=n.matched.length-1,a=r.matched.length-1;return o>-1&&o===a&&xi(n.matched[o],r.matched[a])&&Nh(n.params,r.params)&&t(n.query)===t(r.query)&&n.hash===r.hash}function xi(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Nh(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(!og(t[r],n[r]))return!1;return!0}function og(t,n){return Vt(t)?Rc(t,n):Vt(n)?Rc(n,t):t===n}function Rc(t,n){return Vt(n)?t.length===n.length&&t.every((r,o)=>r===n[o]):t.length===1&&t[0]===n}function ag(t,n){if(t.startsWith("/"))return t;if(!t)return n;const r=n.split("/"),o=t.split("/"),a=o[o.length-1];(a===".."||a===".")&&o.push("");let u=r.length-1,l,f;for(l=0;l1&&u--;else break;return r.slice(0,u).join("/")+"/"+o.slice(l).join("/")}const Rn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var pr;(function(t){t.pop="pop",t.push="push"})(pr||(pr={}));var rr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(rr||(rr={}));function ug(t){if(!t)if(yi){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),ig(t)}const cg=/^[^#]+#/;function lg(t,n){return t.replace(cg,"#")+n}function fg(t,n){const r=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:n.behavior,left:o.left-r.left-(n.left||0),top:o.top-r.top-(n.top||0)}}const Js=()=>({left:window.scrollX,top:window.scrollY});function hg(t){let n;if("el"in t){const r=t.el,o=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?o?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;n=fg(a,t)}else n=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function Lc(t,n){return(history.state?history.state.position-n:-1)+t}const Pa=new Map;function dg(t,n){Pa.set(t,n)}function pg(t){const n=Pa.get(t);return Pa.delete(t),n}let mg=()=>location.protocol+"//"+location.host;function zh(t,n){const{pathname:r,search:o,hash:a}=n,u=t.indexOf("#");if(u>-1){let f=a.includes(t.slice(u))?t.slice(u).length:1,h=a.slice(f);return h[0]!=="/"&&(h="/"+h),Tc(h,"")}return Tc(r,t)+o+a}function _g(t,n,r,o){let a=[],u=[],l=null;const f=({state:b})=>{const E=zh(t,location),$=r.value,C=n.value;let w=0;if(b){if(r.value=E,n.value=b,l&&l===$){l=null;return}w=C?b.position-C.position:0}else o(E);a.forEach(P=>{P(r.value,$,{delta:w,type:pr.pop,direction:w?w>0?rr.forward:rr.back:rr.unknown})})};function h(){l=r.value}function _(b){a.push(b);const E=()=>{const $=a.indexOf(b);$>-1&&a.splice($,1)};return u.push(E),E}function m(){const{history:b}=window;b.state&&b.replaceState(Be({},b.state,{scroll:Js()}),"")}function g(){for(const b of u)b();u=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:_,destroy:g}}function xc(t,n,r,o=!1,a=!1){return{back:t,current:n,forward:r,replaced:o,position:window.history.length,scroll:a?Js():null}}function gg(t){const{history:n,location:r}=window,o={value:zh(t,r)},a={value:n.state};a.value||u(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function u(h,_,m){const g=t.indexOf("#"),b=g>-1?(r.host&&document.querySelector("base")?t:t.slice(g))+h:mg()+t+h;try{n[m?"replaceState":"pushState"](_,"",b),a.value=_}catch(E){console.error(E),r[m?"replace":"assign"](b)}}function l(h,_){const m=Be({},n.state,xc(a.value.back,h,a.value.forward,!0),_,{position:a.value.position});u(h,m,!0),o.value=h}function f(h,_){const m=Be({},a.value,n.state,{forward:h,scroll:Js()});u(m.current,m,!0);const g=Be({},xc(o.value,h,null),{position:m.position+1},_);u(h,g,!1),o.value=h}return{location:o,state:a,push:f,replace:l}}function vg(t){t=ug(t);const n=gg(t),r=_g(t,n.state,n.location,n.replace);function o(u,l=!0){l||r.pauseListeners(),history.go(u)}const a=Be({location:"",base:t,go:o,createHref:lg.bind(null,t)},n,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}function yg(t){return typeof t=="string"||t&&typeof t=="object"}function Dh(t){return typeof t=="string"||typeof t=="symbol"}const jh=Symbol("");var Cc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Cc||(Cc={}));function Ci(t,n){return Be(new Error,{type:t,[jh]:!0},n)}function ln(t,n){return t instanceof Error&&jh in t&&(n==null||!!(t.type&n))}const kc="[^/]+?",wg={sensitive:!1,strict:!1,start:!0,end:!0},bg=/[.+*?^${}()[\]/\\]/g;function Pg(t,n){const r=Be({},wg,n),o=[];let a=r.start?"^":"";const u=[];for(const _ of t){const m=_.length?[]:[90];r.strict&&!_.length&&(a+="/");for(let g=0;g<_.length;g++){const b=_[g];let E=40+(r.sensitive?.25:0);if(b.type===0)g||(a+="/"),a+=b.value.replace(bg,"\\$&"),E+=40;else if(b.type===1){const{value:$,repeatable:C,optional:w,regexp:P}=b;u.push({name:$,repeatable:C,optional:w});const p=P||kc;if(p!==kc){E+=10;try{new RegExp(`(${p})`)}catch(R){throw new Error(`Invalid custom RegExp for param "${$}" (${p}): `+R.message)}}let v=C?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;g||(v=w&&_.length<2?`(?:/${v})`:"/"+v),w&&(v+="?"),a+=v,E+=20,w&&(E+=-8),C&&(E+=-20),p===".*"&&(E+=-50)}m.push(E)}o.push(m)}if(r.strict&&r.end){const _=o.length-1;o[_][o[_].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const l=new RegExp(a,r.sensitive?"":"i");function f(_){const m=_.match(l),g={};if(!m)return null;for(let b=1;bn.length?n.length===1&&n[0]===80?1:-1:0}function Bh(t,n){let r=0;const o=t.score,a=n.score;for(;r0&&n[n.length-1]<0}const $g={type:0,value:""},Eg=/[a-zA-Z0-9_]/;function Tg(t){if(!t)return[[]];if(t==="/")return[[$g]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(E){throw new Error(`ERR (${r})/"${_}": ${E}`)}let r=0,o=r;const a=[];let u;function l(){u&&a.push(u),u=[]}let f=0,h,_="",m="";function g(){_&&(r===0?u.push({type:0,value:_}):r===1||r===2||r===3?(u.length>1&&(h==="*"||h==="+")&&n(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:_,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):n("Invalid state to consume buffer"),_="")}function b(){_+=h}for(;f{l(v)}:ir}function l(g){if(Dh(g)){const b=o.get(g);b&&(o.delete(g),r.splice(r.indexOf(b),1),b.children.forEach(l),b.alias.forEach(l))}else{const b=r.indexOf(g);b>-1&&(r.splice(b,1),g.record.name&&o.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function f(){return r}function h(g){const b=kg(g,r);r.splice(b,0,g),g.record.name&&!Mc(g)&&o.set(g.record.name,g)}function _(g,b){let E,$={},C,w;if("name"in g&&g.name){if(E=o.get(g.name),!E)throw Ci(1,{location:g});w=E.record.name,$=Be(Ac(b.params,E.keys.filter(v=>!v.optional).concat(E.parent?E.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),g.params&&Ac(g.params,E.keys.map(v=>v.name))),C=E.stringify($)}else if(g.path!=null)C=g.path,E=r.find(v=>v.re.test(C)),E&&($=E.parse(C),w=E.record.name);else{if(E=b.name?o.get(b.name):r.find(v=>v.re.test(b.path)),!E)throw Ci(1,{location:g,currentLocation:b});w=E.record.name,$=Be({},b.params,g.params),C=E.stringify($)}const P=[];let p=E;for(;p;)P.unshift(p.record),p=p.parent;return{name:w,path:C,params:$,matched:P,meta:Cg(P)}}t.forEach(g=>u(g));function m(){r.length=0,o.clear()}return{addRoute:u,resolve:_,removeRoute:l,clearRoutes:m,getRoutes:f,getRecordMatcher:a}}function Ac(t,n){const r={};for(const o of n)o in t&&(r[o]=t[o]);return r}function Ic(t){const n={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:xg(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function xg(t){const n={},r=t.props||!1;if("component"in t)n.default=r;else for(const o in t.components)n[o]=typeof r=="object"?r[o]:r;return n}function Mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Cg(t){return t.reduce((n,r)=>Be(n,r.meta),{})}function Nc(t,n){const r={};for(const o in t)r[o]=o in n?n[o]:t[o];return r}function kg(t,n){let r=0,o=n.length;for(;r!==o;){const u=r+o>>1;Bh(t,n[u])<0?o=u:r=u+1}const a=Og(t);return a&&(o=n.lastIndexOf(a,o-1)),o}function Og(t){let n=t;for(;n=n.parent;)if(qh(n)&&Bh(t,n)===0)return n}function qh({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ag(t){const n={};if(t===""||t==="?")return n;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;au&&ba(u)):[o&&ba(o)]).forEach(u=>{u!==void 0&&(n+=(n.length?"&":"")+r,u!=null&&(n+="="+u))})}return n}function Ig(t){const n={};for(const r in t){const o=t[r];o!==void 0&&(n[r]=Vt(o)?o.map(a=>a==null?null:""+a):o==null?o:""+o)}return n}const Mg=Symbol(""),Dc=Symbol(""),Ys=Symbol(""),qa=Symbol(""),Sa=Symbol("");function Ui(){let t=[];function n(o){return t.push(o),()=>{const a=t.indexOf(o);a>-1&&t.splice(a,1)}}function r(){t=[]}return{add:n,list:()=>t.slice(),reset:r}}function On(t,n,r,o,a,u=l=>l()){const l=o&&(o.enterCallbacks[a]=o.enterCallbacks[a]||[]);return()=>new Promise((f,h)=>{const _=b=>{b===!1?h(Ci(4,{from:r,to:n})):b instanceof Error?h(b):yg(b)?h(Ci(2,{from:n,to:b})):(l&&o.enterCallbacks[a]===l&&typeof b=="function"&&l.push(b),f())},m=u(()=>t.call(o&&o.instances[a],n,r,_));let g=Promise.resolve(m);t.length<3&&(g=g.then(_)),g.catch(b=>h(b))})}function Go(t,n,r,o,a=u=>u()){const u=[];for(const l of t)for(const f in l.components){let h=l.components[f];if(!(n!=="beforeRouteEnter"&&!l.instances[f]))if(Ch(h)){const m=(h.__vccOpts||h)[n];m&&u.push(On(m,r,o,l,f,a))}else{let _=h();u.push(()=>_.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${f}" at "${l.path}"`);const g=Z_(m)?m.default:m;l.mods[f]=m,l.components[f]=g;const E=(g.__vccOpts||g)[n];return E&&On(E,r,o,l,f,a)()}))}}return u}function jc(t){const n=Zt(Ys),r=Zt(qa),o=rt(()=>{const h=de(t.to);return n.resolve(h)}),a=rt(()=>{const{matched:h}=o.value,{length:_}=h,m=h[_-1],g=r.matched;if(!m||!g.length)return-1;const b=g.findIndex(xi.bind(null,m));if(b>-1)return b;const E=Bc(h[_-2]);return _>1&&Bc(m)===E&&g[g.length-1].path!==E?g.findIndex(xi.bind(null,h[_-2])):b}),u=rt(()=>a.value>-1&&Bg(r.params,o.value.params)),l=rt(()=>a.value>-1&&a.value===r.matched.length-1&&Nh(r.params,o.value.params));function f(h={}){if(jg(h)){const _=n[de(t.replace)?"replace":"push"](de(t.to)).catch(ir);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>_),_}return Promise.resolve()}return{route:o,href:rt(()=>o.value.href),isActive:u,isExactActive:l,navigate:f}}function Ng(t){return t.length===1?t[0]:t}const zg=st({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:jc,setup(t,{slots:n}){const r=Zs(jc(t)),{options:o}=Zt(Ys),a=rt(()=>({[qc(t.activeClass,o.linkActiveClass,"router-link-active")]:r.isActive,[qc(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const u=n.default&&Ng(n.default(r));return t.custom?u:ja("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},u)}}}),Dg=zg;function jg(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function Bg(t,n){for(const r in n){const o=n[r],a=t[r];if(typeof o=="string"){if(o!==a)return!1}else if(!Vt(a)||a.length!==o.length||o.some((u,l)=>u!==a[l]))return!1}return!0}function Bc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qc=(t,n,r)=>t??n??r,qg=st({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:r}){const o=Zt(Sa),a=rt(()=>t.route||o.value),u=Zt(Dc,0),l=rt(()=>{let _=de(u);const{matched:m}=a.value;let g;for(;(g=m[_])&&!g.components;)_++;return _}),f=rt(()=>a.value.matched[l.value]);Es(Dc,rt(()=>l.value+1)),Es(Mg,f),Es(Sa,a);const h=Ye();return vn(()=>[h.value,f.value,t.name],([_,m,g],[b,E,$])=>{m&&(m.instances[g]=_,E&&E!==m&&_&&_===b&&(m.leaveGuards.size||(m.leaveGuards=E.leaveGuards),m.updateGuards.size||(m.updateGuards=E.updateGuards))),_&&m&&(!E||!xi(m,E)||!b)&&(m.enterCallbacks[g]||[]).forEach(C=>C(_))},{flush:"post"}),()=>{const _=a.value,m=t.name,g=f.value,b=g&&g.components[m];if(!b)return Zc(r.default,{Component:b,route:_});const E=g.props[m],$=E?E===!0?_.params:typeof E=="function"?E(_):E:null,w=ja(b,Be({},$,n,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(g.instances[m]=null)},ref:h}));return Zc(r.default,{Component:w,route:_})||w}}});function Zc(t,n){if(!t)return null;const r=t(n);return r.length===1?r[0]:r}const Zg=qg;function Fg(t){const n=Lg(t.routes,t),r=t.parseQuery||Ag,o=t.stringifyQuery||zc,a=t.history,u=Ui(),l=Ui(),f=Ui(),h=Jp(Rn);let _=Rn;yi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Ko.bind(null,j=>""+j),g=Ko.bind(null,tg),b=Ko.bind(null,dr);function E(j,G){let ee,ae;return Dh(j)?(ee=n.getRecordMatcher(j),ae=G):ae=j,n.addRoute(ae,ee)}function $(j){const G=n.getRecordMatcher(j);G&&n.removeRoute(G)}function C(){return n.getRoutes().map(j=>j.record)}function w(j){return!!n.getRecordMatcher(j)}function P(j,G){if(G=Be({},G||h.value),typeof j=="string"){const A=Wo(r,j,G.path),B=n.resolve({path:A.path},G),H=a.createHref(A.fullPath);return Be(A,B,{params:b(B.params),hash:dr(A.hash),redirectedFrom:void 0,href:H})}let ee;if(j.path!=null)ee=Be({},j,{path:Wo(r,j.path,G.path).path});else{const A=Be({},j.params);for(const B in A)A[B]==null&&delete A[B];ee=Be({},j,{params:g(A)}),G.params=g(G.params)}const ae=n.resolve(ee,G),z=j.hash||"";ae.params=m(b(ae.params));const y=rg(o,Be({},j,{hash:X_(z),path:ae.path})),T=a.createHref(y);return Be({fullPath:y,hash:z,query:o===zc?Ig(j.query):j.query||{}},ae,{redirectedFrom:void 0,href:T})}function p(j){return typeof j=="string"?Wo(r,j,h.value.path):Be({},j)}function v(j,G){if(_!==j)return Ci(8,{from:G,to:j})}function R(j){return I(j)}function O(j){return R(Be(p(j),{replace:!0}))}function k(j){const G=j.matched[j.matched.length-1];if(G&&G.redirect){const{redirect:ee}=G;let ae=typeof ee=="function"?ee(j):ee;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=p(ae):{path:ae},ae.params={}),Be({query:j.query,hash:j.hash,params:ae.path!=null?{}:j.params},ae)}}function I(j,G){const ee=_=P(j),ae=h.value,z=j.state,y=j.force,T=j.replace===!0,A=k(ee);if(A)return I(Be(p(A),{state:typeof A=="object"?Be({},z,A.state):z,force:y,replace:T}),G||ee);const B=ee;B.redirectedFrom=G;let H;return!y&&sg(o,ae,ee)&&(H=Ci(16,{to:B,from:ae}),D(ae,ae,!0,!1)),(H?Promise.resolve(H):se(B,ae)).catch(J=>ln(J)?ln(J,2)?J:K(J):re(J,B,ae)).then(J=>{if(J){if(ln(J,2))return I(Be({replace:T},p(J.to),{state:typeof J.to=="object"?Be({},z,J.to.state):z,force:y}),G||B)}else J=X(B,ae,!0,T,z);return ie(B,ae,J),J})}function V(j,G){const ee=v(j,G);return ee?Promise.reject(ee):Promise.resolve()}function W(j){const G=x.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(j):j()}function se(j,G){let ee;const[ae,z,y]=Vg(j,G);ee=Go(ae.reverse(),"beforeRouteLeave",j,G);for(const A of ae)A.leaveGuards.forEach(B=>{ee.push(On(B,j,G))});const T=V.bind(null,j,G);return ee.push(T),q(ee).then(()=>{ee=[];for(const A of u.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).then(()=>{ee=Go(z,"beforeRouteUpdate",j,G);for(const A of z)A.updateGuards.forEach(B=>{ee.push(On(B,j,G))});return ee.push(T),q(ee)}).then(()=>{ee=[];for(const A of y)if(A.beforeEnter)if(Vt(A.beforeEnter))for(const B of A.beforeEnter)ee.push(On(B,j,G));else ee.push(On(A.beforeEnter,j,G));return ee.push(T),q(ee)}).then(()=>(j.matched.forEach(A=>A.enterCallbacks={}),ee=Go(y,"beforeRouteEnter",j,G,W),ee.push(T),q(ee))).then(()=>{ee=[];for(const A of l.list())ee.push(On(A,j,G));return ee.push(T),q(ee)}).catch(A=>ln(A,8)?A:Promise.reject(A))}function ie(j,G,ee){f.list().forEach(ae=>W(()=>ae(j,G,ee)))}function X(j,G,ee,ae,z){const y=v(j,G);if(y)return y;const T=G===Rn,A=yi?history.state:{};ee&&(ae||T?a.replace(j.fullPath,Be({scroll:T&&A&&A.scroll},z)):a.push(j.fullPath,z)),h.value=j,D(j,G,ee,T),K()}let fe;function me(){fe||(fe=a.listen((j,G,ee)=>{if(!M.listening)return;const ae=P(j),z=k(ae);if(z){I(Be(z,{replace:!0,force:!0}),ae).catch(ir);return}_=ae;const y=h.value;yi&&dg(Lc(y.fullPath,ee.delta),Js()),se(ae,y).catch(T=>ln(T,12)?T:ln(T,2)?(I(Be(p(T.to),{force:!0}),ae).then(A=>{ln(A,20)&&!ee.delta&&ee.type===pr.pop&&a.go(-1,!1)}).catch(ir),Promise.reject()):(ee.delta&&a.go(-ee.delta,!1),re(T,ae,y))).then(T=>{T=T||X(ae,y,!1),T&&(ee.delta&&!ln(T,8)?a.go(-ee.delta,!1):ee.type===pr.pop&&ln(T,20)&&a.go(-1,!1)),ie(ae,y,T)}).catch(ir)}))}let Ie=Ui(),Se=Ui(),$e;function re(j,G,ee){K(j);const ae=Se.list();return ae.length?ae.forEach(z=>z(j,G,ee)):console.error(j),Promise.reject(j)}function Qe(){return $e&&h.value!==Rn?Promise.resolve():new Promise((j,G)=>{Ie.add([j,G])})}function K(j){return $e||($e=!j,me(),Ie.list().forEach(([G,ee])=>j?ee(j):G()),Ie.reset()),j}function D(j,G,ee,ae){const{scrollBehavior:z}=t;if(!yi||!z)return Promise.resolve();const y=!ee&&pg(Lc(j.fullPath,0))||(ae||!ee)&&history.state&&history.state.scroll||null;return Bf().then(()=>z(j,G,y)).then(T=>T&&hg(T)).catch(T=>re(T,j,G))}const Y=j=>a.go(j);let Z;const x=new Set,M={currentRoute:h,listening:!0,addRoute:E,removeRoute:$,clearRoutes:n.clearRoutes,hasRoute:w,getRoutes:C,resolve:P,options:t,push:R,replace:O,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:u.add,beforeResolve:l.add,afterEach:f.add,onError:Se.add,isReady:Qe,install(j){const G=this;j.component("RouterLink",Dg),j.component("RouterView",Zg),j.config.globalProperties.$router=G,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>de(h)}),yi&&!Z&&h.value===Rn&&(Z=!0,R(a.location).catch(z=>{}));const ee={};for(const z in Rn)Object.defineProperty(ee,z,{get:()=>h.value[z],enumerable:!0});j.provide(Ys,G),j.provide(qa,Mf(ee)),j.provide(Sa,h);const ae=j.unmount;x.add(j),j.unmount=function(){x.delete(j),x.size<1&&(_=Rn,fe&&fe(),fe=null,h.value=Rn,Z=!1,$e=!1),ae()}}};function q(j){return j.reduce((G,ee)=>G.then(()=>W(ee)),Promise.resolve())}return M}function Vg(t,n){const r=[],o=[],a=[],u=Math.max(n.matched.length,t.matched.length);for(let l=0;lxi(_,f))?o.push(f):r.push(f));const h=t.matched[l];h&&(n.matched.find(_=>xi(_,h))||a.push(h))}return[r,o,a]}function Xs(){return Zt(Ys)}function Qs(t){return Zt(qa)}function Zh(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Hg(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function Fh(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Ug(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})])}function eo(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function to(t,n){return he(),be("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[ne("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function Vh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Br={exports:{}},Jo={},fn={},Kn={},Yo={},Xo={},Qo={},Fc;function Is(){return Fc||(Fc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(p){if(super(),!t.IDENTIFIER.test(p))throw new Error("CodeGen: name must be a valid identifier");this.str=p}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(p){super(),this._items=typeof p=="string"?[p]:p}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const p=this._items[0];return p===""||p==='""'}get str(){var p;return(p=this._str)!==null&&p!==void 0?p:this._str=this._items.reduce((v,R)=>`${v}${R}`,"")}get names(){var p;return(p=this._names)!==null&&p!==void 0?p:this._names=this._items.reduce((v,R)=>(R instanceof r&&(v[R.str]=(v[R.str]||0)+1),v),{})}}t._Code=o,t.nil=new o("");function a(P,...p){const v=[P[0]];let R=0;for(;R{if(g.scopePath===void 0)throw new Error(`CodeGen: name "${g}" has no value`);return(0,n._)`${_}${g.scopePath}`})}scopeCode(_=this._values,m,g){return this._reduceValues(_,b=>{if(b.value===void 0)throw new Error(`CodeGen: name "${b}" has no value`);return b.value.code},m,g)}_reduceValues(_,m,g={},b){let E=n.nil;for(const $ in _){const C=_[$];if(!C)continue;const w=g[$]=g[$]||new Map;C.forEach(P=>{if(w.has(P))return;w.set(P,o.Started);let p=m(P);if(p){const v=this.opts.es5?t.varKinds.var:t.varKinds.const;E=(0,n._)`${E}${v} ${P} = ${p};${this.opts._n}`}else if(p=b==null?void 0:b(P))E=(0,n._)`${E}${p}${this.opts._n}`;else throw new r(P);w.set(P,o.Completed)})}return E}}t.ValueScope=f}(ea)),ea}var Uc;function Oe(){return Uc||(Uc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=Is(),r=Hc();var o=Is();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var a=Hc();Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class u{optimizeNodes(){return this}optimizeNames(x,M){return this}}class l extends u{constructor(x,M,q){super(),this.varKind=x,this.name=M,this.rhs=q}render({es5:x,_n:M}){const q=x?r.varKinds.var:this.varKind,j=this.rhs===void 0?"":` = ${this.rhs}`;return`${q} ${this.name}${j};`+M}optimizeNames(x,M){if(x[this.name.str])return this.rhs&&(this.rhs=me(this.rhs,x,M)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends u{constructor(x,M,q){super(),this.lhs=x,this.rhs=M,this.sideEffects=q}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,M){if(!(this.lhs instanceof n.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=me(this.rhs,x,M),this}get names(){const x=this.lhs instanceof n.Name?{}:{...this.lhs.names};return fe(x,this.rhs)}}class h extends f{constructor(x,M,q,j){super(x,q,j),this.op=M}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class _ extends u{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class m extends u{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class g extends u{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class b extends u{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,M){return this.code=me(this.code,x,M),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class E extends u{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((M,q)=>M+q.render(x),"")}optimizeNodes(){const{nodes:x}=this;let M=x.length;for(;M--;){const q=x[M].optimizeNodes();Array.isArray(q)?x.splice(M,1,...q):q?x[M]=q:x.splice(M,1)}return x.length>0?this:void 0}optimizeNames(x,M){const{nodes:q}=this;let j=q.length;for(;j--;){const G=q[j];G.optimizeNames(x,M)||(Ie(x,G.names),q.splice(j,1))}return q.length>0?this:void 0}get names(){return this.nodes.reduce((x,M)=>X(x,M.names),{})}}class $ extends E{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class C extends E{}class w extends ${}w.kind="else";class P extends ${constructor(x,M){super(M),this.condition=x}render(x){let M=`if(${this.condition})`+super.render(x);return this.else&&(M+="else "+this.else.render(x)),M}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let M=this.else;if(M){const q=M.optimizeNodes();M=this.else=Array.isArray(q)?new w(q):q}if(M)return x===!1?M instanceof P?M:M.nodes:this.nodes.length?this:new P(Se(x),M instanceof P?[M]:M.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,M){var q;if(this.else=(q=this.else)===null||q===void 0?void 0:q.optimizeNames(x,M),!!(super.optimizeNames(x,M)||this.else))return this.condition=me(this.condition,x,M),this}get names(){const x=super.names;return fe(x,this.condition),this.else&&X(x,this.else.names),x}}P.kind="if";class p extends ${}p.kind="for";class v extends p{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,M){if(super.optimizeNames(x,M))return this.iteration=me(this.iteration,x,M),this}get names(){return X(super.names,this.iteration.names)}}class R extends p{constructor(x,M,q,j){super(),this.varKind=x,this.name=M,this.from=q,this.to=j}render(x){const M=x.es5?r.varKinds.var:this.varKind,{name:q,from:j,to:G}=this;return`for(${M} ${q}=${j}; ${q}<${G}; ${q}++)`+super.render(x)}get names(){const x=fe(super.names,this.from);return fe(x,this.to)}}class O extends p{constructor(x,M,q,j){super(),this.loop=x,this.varKind=M,this.name=q,this.iterable=j}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,M){if(super.optimizeNames(x,M))return this.iterable=me(this.iterable,x,M),this}get names(){return X(super.names,this.iterable.names)}}class k extends ${constructor(x,M,q){super(),this.name=x,this.args=M,this.async=q}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}k.kind="func";class I extends E{render(x){return"return "+super.render(x)}}I.kind="return";class V extends ${render(x){let M="try"+super.render(x);return this.catch&&(M+=this.catch.render(x)),this.finally&&(M+=this.finally.render(x)),M}optimizeNodes(){var x,M;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(M=this.finally)===null||M===void 0||M.optimizeNodes(),this}optimizeNames(x,M){var q,j;return super.optimizeNames(x,M),(q=this.catch)===null||q===void 0||q.optimizeNames(x,M),(j=this.finally)===null||j===void 0||j.optimizeNames(x,M),this}get names(){const x=super.names;return this.catch&&X(x,this.catch.names),this.finally&&X(x,this.finally.names),x}}class W extends ${constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}W.kind="catch";class se extends ${render(x){return"finally"+super.render(x)}}se.kind="finally";class ie{constructor(x,M={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...M,_n:M.lines?` +`:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new C]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,M){const q=this._extScope.value(x,M);return(this._values[q.prefix]||(this._values[q.prefix]=new Set)).add(q),q}getScopeValue(x,M){return this._extScope.getValue(x,M)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,M,q,j){const G=this._scope.toName(M);return q!==void 0&&j&&(this._constants[G.str]=q),this._leafNode(new l(x,G,q)),G}const(x,M,q){return this._def(r.varKinds.const,x,M,q)}let(x,M,q){return this._def(r.varKinds.let,x,M,q)}var(x,M,q){return this._def(r.varKinds.var,x,M,q)}assign(x,M,q){return this._leafNode(new f(x,M,q))}add(x,M){return this._leafNode(new h(x,t.operators.ADD,M))}code(x){return typeof x=="function"?x():x!==n.nil&&this._leafNode(new b(x)),this}object(...x){const M=["{"];for(const[q,j]of x)M.length>1&&M.push(","),M.push(q),(q!==j||this.opts.es5)&&(M.push(":"),(0,n.addCodeArg)(M,j));return M.push("}"),new n._Code(M)}if(x,M,q){if(this._blockNode(new P(x)),M&&q)this.code(M).else().code(q).endIf();else if(M)this.code(M).endIf();else if(q)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new P(x))}else(){return this._elseNode(new w)}endIf(){return this._endBlockNode(P,w)}_for(x,M){return this._blockNode(x),M&&this.code(M).endFor(),this}for(x,M){return this._for(new v(x),M)}forRange(x,M,q,j,G=this.opts.es5?r.varKinds.var:r.varKinds.let){const ee=this._scope.toName(x);return this._for(new R(G,ee,M,q),()=>j(ee))}forOf(x,M,q,j=r.varKinds.const){const G=this._scope.toName(x);if(this.opts.es5){const ee=M instanceof n.Name?M:this.var("_arr",M);return this.forRange("_i",0,(0,n._)`${ee}.length`,ae=>{this.var(G,(0,n._)`${ee}[${ae}]`),q(G)})}return this._for(new O("of",j,G,M),()=>q(G))}forIn(x,M,q,j=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,n._)`Object.keys(${M})`,q);const G=this._scope.toName(x);return this._for(new O("in",j,G,M),()=>q(G))}endFor(){return this._endBlockNode(p)}label(x){return this._leafNode(new _(x))}break(x){return this._leafNode(new m(x))}return(x){const M=new I;if(this._blockNode(M),this.code(x),M.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(x,M,q){if(!M&&!q)throw new Error('CodeGen: "try" without "catch" and "finally"');const j=new V;if(this._blockNode(j),this.code(x),M){const G=this.name("e");this._currNode=j.catch=new W(G),M(G)}return q&&(this._currNode=j.finally=new se,this.code(q)),this._endBlockNode(W,se)}throw(x){return this._leafNode(new g(x))}block(x,M){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(M),this}endBlock(x){const M=this._blockStarts.pop();if(M===void 0)throw new Error("CodeGen: not in self-balancing block");const q=this._nodes.length-M;if(q<0||x!==void 0&&q!==x)throw new Error(`CodeGen: wrong number of nodes: ${q} vs ${x} expected`);return this._nodes.length=M,this}func(x,M=n.nil,q,j){return this._blockNode(new k(x,M,q)),j&&this.code(j).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,M){const q=this._currNode;if(q instanceof x||M&&q instanceof M)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${M?`${x.kind}/${M.kind}`:x.kind}"`)}_elseNode(x){const M=this._currNode;if(!(M instanceof P))throw new Error('CodeGen: "else" without "if"');return this._currNode=M.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const M=this._nodes;M[M.length-1]=x}}t.CodeGen=ie;function X(Z,x){for(const M in x)Z[M]=(Z[M]||0)+(x[M]||0);return Z}function fe(Z,x){return x instanceof n._CodeOrName?X(Z,x.names):Z}function me(Z,x,M){if(Z instanceof n.Name)return q(Z);if(!j(Z))return Z;return new n._Code(Z._items.reduce((G,ee)=>(ee instanceof n.Name&&(ee=q(ee)),ee instanceof n._Code?G.push(...ee._items):G.push(ee),G),[]));function q(G){const ee=M[G.str];return ee===void 0||x[G.str]!==1?G:(delete x[G.str],ee)}function j(G){return G instanceof n._Code&&G._items.some(ee=>ee instanceof n.Name&&x[ee.str]===1&&M[ee.str]!==void 0)}}function Ie(Z,x){for(const M in x)Z[M]=(Z[M]||0)-(x[M]||0)}function Se(Z){return typeof Z=="boolean"||typeof Z=="number"||Z===null?!Z:(0,n._)`!${Y(Z)}`}t.not=Se;const $e=D(t.operators.AND);function re(...Z){return Z.reduce($e)}t.and=re;const Qe=D(t.operators.OR);function K(...Z){return Z.reduce(Qe)}t.or=K;function D(Z){return(x,M)=>x===n.nil?M:M===n.nil?x:(0,n._)`${Y(x)} ${Z} ${Y(M)}`}function Y(Z){return Z instanceof n.Name?Z:(0,n._)`(${Z})`}}(Xo)),Xo}var xe={},Kc;function De(){if(Kc)return xe;Kc=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.checkStrictMode=xe.getErrorPath=xe.Type=xe.useFunc=xe.setEvaluated=xe.evaluatedPropsToName=xe.mergeEvaluated=xe.eachItem=xe.unescapeJsonPointer=xe.escapeJsonPointer=xe.escapeFragment=xe.unescapeFragment=xe.schemaRefOrVal=xe.schemaHasRulesButRef=xe.schemaHasRules=xe.checkUnknownRules=xe.alwaysValidSchema=xe.toHash=void 0;const t=Oe(),n=Is();function r(O){const k={};for(const I of O)k[I]=!0;return k}xe.toHash=r;function o(O,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(a(O,k),!u(k,O.self.RULES.all))}xe.alwaysValidSchema=o;function a(O,k=O.schema){const{opts:I,self:V}=O;if(!I.strictSchema||typeof k=="boolean")return;const W=V.RULES.keywords;for(const se in k)W[se]||R(O,`unknown keyword: "${se}"`)}xe.checkUnknownRules=a;function u(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(k[I])return!0;return!1}xe.schemaHasRules=u;function l(O,k){if(typeof O=="boolean")return!O;for(const I in O)if(I!=="$ref"&&k.all[I])return!0;return!1}xe.schemaHasRulesButRef=l;function f({topSchemaRef:O,schemaPath:k},I,V,W){if(!W){if(typeof I=="number"||typeof I=="boolean")return I;if(typeof I=="string")return(0,t._)`${I}`}return(0,t._)`${O}${k}${(0,t.getProperty)(V)}`}xe.schemaRefOrVal=f;function h(O){return g(decodeURIComponent(O))}xe.unescapeFragment=h;function _(O){return encodeURIComponent(m(O))}xe.escapeFragment=_;function m(O){return typeof O=="number"?`${O}`:O.replace(/~/g,"~0").replace(/\//g,"~1")}xe.escapeJsonPointer=m;function g(O){return O.replace(/~1/g,"/").replace(/~0/g,"~")}xe.unescapeJsonPointer=g;function b(O,k){if(Array.isArray(O))for(const I of O)k(I);else k(O)}xe.eachItem=b;function E({mergeNames:O,mergeToName:k,mergeValues:I,resultToName:V}){return(W,se,ie,X)=>{const fe=ie===void 0?se:ie instanceof t.Name?(se instanceof t.Name?O(W,se,ie):k(W,se,ie),ie):se instanceof t.Name?(k(W,ie,se),se):I(se,ie);return X===t.Name&&!(fe instanceof t.Name)?V(W,fe):fe}}xe.mergeEvaluated={props:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>{O.if((0,t._)`${k} === true`,()=>O.assign(I,!0),()=>O.assign(I,(0,t._)`${I} || {}`).code((0,t._)`Object.assign(${I}, ${k})`))}),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>{k===!0?O.assign(I,!0):(O.assign(I,(0,t._)`${I} || {}`),C(O,I,k))}),mergeValues:(O,k)=>O===!0?!0:{...O,...k},resultToName:$}),items:E({mergeNames:(O,k,I)=>O.if((0,t._)`${I} !== true && ${k} !== undefined`,()=>O.assign(I,(0,t._)`${k} === true ? true : ${I} > ${k} ? ${I} : ${k}`)),mergeToName:(O,k,I)=>O.if((0,t._)`${I} !== true`,()=>O.assign(I,k===!0?!0:(0,t._)`${I} > ${k} ? ${I} : ${k}`)),mergeValues:(O,k)=>O===!0?!0:Math.max(O,k),resultToName:(O,k)=>O.var("items",k)})};function $(O,k){if(k===!0)return O.var("props",!0);const I=O.var("props",(0,t._)`{}`);return k!==void 0&&C(O,I,k),I}xe.evaluatedPropsToName=$;function C(O,k,I){Object.keys(I).forEach(V=>O.assign((0,t._)`${k}${(0,t.getProperty)(V)}`,!0))}xe.setEvaluated=C;const w={};function P(O,k){return O.scopeValue("func",{ref:k,code:w[k.code]||(w[k.code]=new n._Code(k.code))})}xe.useFunc=P;var p;(function(O){O[O.Num=0]="Num",O[O.Str=1]="Str"})(p||(xe.Type=p={}));function v(O,k,I){if(O instanceof t.Name){const V=k===p.Num;return I?V?(0,t._)`"[" + ${O} + "]"`:(0,t._)`"['" + ${O} + "']"`:V?(0,t._)`"/" + ${O}`:(0,t._)`"/" + ${O}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return I?(0,t.getProperty)(O).toString():"/"+m(O)}xe.getErrorPath=v;function R(O,k,I=O.opts.strictSchema){if(I){if(k=`strict mode: ${k}`,I===!0)throw new Error(k);O.self.logger.warn(k)}}return xe.checkStrictMode=R,xe}var qr={},Wc;function zn(){if(Wc)return qr;Wc=1,Object.defineProperty(qr,"__esModule",{value:!0});const t=Oe(),n={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};return qr.default=n,qr}var Gc;function no(){return Gc||(Gc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=Oe(),r=De(),o=zn();t.keywordError={message:({keyword:w})=>(0,n.str)`must pass "${w}" keyword validation`},t.keyword$DataError={message:({keyword:w,schemaType:P})=>P?(0,n.str)`"${w}" keyword must be ${P} ($data)`:(0,n.str)`"${w}" keyword is invalid ($data)`};function a(w,P=t.keywordError,p,v){const{it:R}=w,{gen:O,compositeRule:k,allErrors:I}=R,V=g(w,P,p);v??(k||I)?h(O,V):_(R,(0,n._)`[${V}]`)}t.reportError=a;function u(w,P=t.keywordError,p){const{it:v}=w,{gen:R,compositeRule:O,allErrors:k}=v,I=g(w,P,p);h(R,I),O||k||_(v,o.default.vErrors)}t.reportExtraError=u;function l(w,P){w.assign(o.default.errors,P),w.if((0,n._)`${o.default.vErrors} !== null`,()=>w.if(P,()=>w.assign((0,n._)`${o.default.vErrors}.length`,P),()=>w.assign(o.default.vErrors,null)))}t.resetErrorsCount=l;function f({gen:w,keyword:P,schemaValue:p,data:v,errsCount:R,it:O}){if(R===void 0)throw new Error("ajv implementation error");const k=w.name("err");w.forRange("i",R,o.default.errors,I=>{w.const(k,(0,n._)`${o.default.vErrors}[${I}]`),w.if((0,n._)`${k}.instancePath === undefined`,()=>w.assign((0,n._)`${k}.instancePath`,(0,n.strConcat)(o.default.instancePath,O.errorPath))),w.assign((0,n._)`${k}.schemaPath`,(0,n.str)`${O.errSchemaPath}/${P}`),O.opts.verbose&&(w.assign((0,n._)`${k}.schema`,p),w.assign((0,n._)`${k}.data`,v))})}t.extendErrors=f;function h(w,P){const p=w.const("err",P);w.if((0,n._)`${o.default.vErrors} === null`,()=>w.assign(o.default.vErrors,(0,n._)`[${p}]`),(0,n._)`${o.default.vErrors}.push(${p})`),w.code((0,n._)`${o.default.errors}++`)}function _(w,P){const{gen:p,validateName:v,schemaEnv:R}=w;R.$async?p.throw((0,n._)`new ${w.ValidationError}(${P})`):(p.assign((0,n._)`${v}.errors`,P),p.return(!1))}const m={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function g(w,P,p){const{createErrors:v}=w.it;return v===!1?(0,n._)`{}`:b(w,P,p)}function b(w,P,p={}){const{gen:v,it:R}=w,O=[E(R,p),$(w,p)];return C(w,P,O),v.object(...O)}function E({errorPath:w},{instancePath:P}){const p=P?(0,n.str)`${w}${(0,r.getErrorPath)(P,r.Type.Str)}`:w;return[o.default.instancePath,(0,n.strConcat)(o.default.instancePath,p)]}function $({keyword:w,it:{errSchemaPath:P}},{schemaPath:p,parentSchema:v}){let R=v?P:(0,n.str)`${P}/${w}`;return p&&(R=(0,n.str)`${R}${(0,r.getErrorPath)(p,r.Type.Str)}`),[m.schemaPath,R]}function C(w,{params:P,message:p},v){const{keyword:R,data:O,schemaValue:k,it:I}=w,{opts:V,propertyName:W,topSchemaRef:se,schemaPath:ie}=I;v.push([m.keyword,R],[m.params,typeof P=="function"?P(w):P||(0,n._)`{}`]),V.messages&&v.push([m.message,typeof p=="function"?p(w):p]),V.verbose&&v.push([m.schema,k],[m.parentSchema,(0,n._)`${se}${ie}`],[o.default.data,O]),W&&v.push([m.propertyName,W])}}(Yo)),Yo}var Jc;function Kg(){if(Jc)return Kn;Jc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.boolOrEmptySchema=Kn.topBoolOrEmptySchema=void 0;const t=no(),n=Oe(),r=zn(),o={message:"boolean schema is false"};function a(f){const{gen:h,schema:_,validateName:m}=f;_===!1?l(f,!1):typeof _=="object"&&_.$async===!0?h.return(r.default.data):(h.assign((0,n._)`${m}.errors`,null),h.return(!0))}Kn.topBoolOrEmptySchema=a;function u(f,h){const{gen:_,schema:m}=f;m===!1?(_.var(h,!1),l(f)):_.var(h,!0)}Kn.boolOrEmptySchema=u;function l(f,h){const{gen:_,data:m}=f,g={gen:_,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:f};(0,t.reportError)(g,o,void 0,h)}return Kn}var ht={},Wn={},Yc;function Hh(){if(Yc)return Wn;Yc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.getRules=Wn.isJSONType=void 0;const t=["string","number","integer","boolean","null","object","array"],n=new Set(t);function r(a){return typeof a=="string"&&n.has(a)}Wn.isJSONType=r;function o(){const a={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...a,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},a.number,a.string,a.array,a.object],post:{rules:[]},all:{},keywords:{}}}return Wn.getRules=o,Wn}var hn={},Xc;function Uh(){if(Xc)return hn;Xc=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.shouldUseRule=hn.shouldUseGroup=hn.schemaHasRulesForType=void 0;function t({schema:o,self:a},u){const l=a.RULES.types[u];return l&&l!==!0&&n(o,l)}hn.schemaHasRulesForType=t;function n(o,a){return a.rules.some(u=>r(o,u))}hn.shouldUseGroup=n;function r(o,a){var u;return o[a.keyword]!==void 0||((u=a.definition.implements)===null||u===void 0?void 0:u.some(l=>o[l]!==void 0))}return hn.shouldUseRule=r,hn}var Qc;function Ms(){if(Qc)return ht;Qc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.reportTypeError=ht.checkDataTypes=ht.checkDataType=ht.coerceAndCheckDataType=ht.getJSONTypes=ht.getSchemaTypes=ht.DataType=void 0;const t=Hh(),n=Uh(),r=no(),o=Oe(),a=De();var u;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(u||(ht.DataType=u={}));function l(p){const v=f(p.type);if(v.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!v.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&v.push("null")}return v}ht.getSchemaTypes=l;function f(p){const v=Array.isArray(p)?p:p?[p]:[];if(v.every(t.isJSONType))return v;throw new Error("type must be JSONType or JSONType[]: "+v.join(","))}ht.getJSONTypes=f;function h(p,v){const{gen:R,data:O,opts:k}=p,I=m(v,k.coerceTypes),V=v.length>0&&!(I.length===0&&v.length===1&&(0,n.schemaHasRulesForType)(p,v[0]));if(V){const W=$(v,O,k.strictNumbers,u.Wrong);R.if(W,()=>{I.length?g(p,v,I):w(p)})}return V}ht.coerceAndCheckDataType=h;const _=new Set(["string","number","integer","boolean","null"]);function m(p,v){return v?p.filter(R=>_.has(R)||v==="array"&&R==="array"):[]}function g(p,v,R){const{gen:O,data:k,opts:I}=p,V=O.let("dataType",(0,o._)`typeof ${k}`),W=O.let("coerced",(0,o._)`undefined`);I.coerceTypes==="array"&&O.if((0,o._)`${V} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>O.assign(k,(0,o._)`${k}[0]`).assign(V,(0,o._)`typeof ${k}`).if($(v,k,I.strictNumbers),()=>O.assign(W,k))),O.if((0,o._)`${W} !== undefined`);for(const ie of R)(_.has(ie)||ie==="array"&&I.coerceTypes==="array")&&se(ie);O.else(),w(p),O.endIf(),O.if((0,o._)`${W} !== undefined`,()=>{O.assign(k,W),b(p,W)});function se(ie){switch(ie){case"string":O.elseIf((0,o._)`${V} == "number" || ${V} == "boolean"`).assign(W,(0,o._)`"" + ${k}`).elseIf((0,o._)`${k} === null`).assign(W,(0,o._)`""`);return;case"number":O.elseIf((0,o._)`${V} == "boolean" || ${k} === null + || (${V} == "string" && ${k} && ${k} == +${k})`).assign(W,(0,o._)`+${k}`);return;case"integer":O.elseIf((0,o._)`${V} === "boolean" || ${k} === null + || (${V} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(W,(0,o._)`+${k}`);return;case"boolean":O.elseIf((0,o._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(W,!1).elseIf((0,o._)`${k} === "true" || ${k} === 1`).assign(W,!0);return;case"null":O.elseIf((0,o._)`${k} === "" || ${k} === 0 || ${k} === false`),O.assign(W,null);return;case"array":O.elseIf((0,o._)`${V} === "string" || ${V} === "number" + || ${V} === "boolean" || ${k} === null`).assign(W,(0,o._)`[${k}]`)}}}function b({gen:p,parentData:v,parentDataProperty:R},O){p.if((0,o._)`${v} !== undefined`,()=>p.assign((0,o._)`${v}[${R}]`,O))}function E(p,v,R,O=u.Correct){const k=O===u.Correct?o.operators.EQ:o.operators.NEQ;let I;switch(p){case"null":return(0,o._)`${v} ${k} null`;case"array":I=(0,o._)`Array.isArray(${v})`;break;case"object":I=(0,o._)`${v} && typeof ${v} == "object" && !Array.isArray(${v})`;break;case"integer":I=V((0,o._)`!(${v} % 1) && !isNaN(${v})`);break;case"number":I=V();break;default:return(0,o._)`typeof ${v} ${k} ${p}`}return O===u.Correct?I:(0,o.not)(I);function V(W=o.nil){return(0,o.and)((0,o._)`typeof ${v} == "number"`,W,R?(0,o._)`isFinite(${v})`:o.nil)}}ht.checkDataType=E;function $(p,v,R,O){if(p.length===1)return E(p[0],v,R,O);let k;const I=(0,a.toHash)(p);if(I.array&&I.object){const V=(0,o._)`typeof ${v} != "object"`;k=I.null?V:(0,o._)`!${v} || ${V}`,delete I.null,delete I.array,delete I.object}else k=o.nil;I.number&&delete I.integer;for(const V in I)k=(0,o.and)(k,E(V,v,R,O));return k}ht.checkDataTypes=$;const C={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:v})=>typeof p=="string"?(0,o._)`{type: ${p}}`:(0,o._)`{type: ${v}}`};function w(p){const v=P(p);(0,r.reportError)(v,C)}ht.reportTypeError=w;function P(p){const{gen:v,data:R,schema:O}=p,k=(0,a.schemaRefOrVal)(p,O,"type");return{gen:v,keyword:"type",data:R,schema:O.type,schemaCode:k,schemaValue:k,parentSchema:O,params:{},it:p}}return ht}var Ki={},el;function Wg(){if(el)return Ki;el=1,Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.assignDefaults=void 0;const t=Oe(),n=De();function r(a,u){const{properties:l,items:f}=a.schema;if(u==="object"&&l)for(const h in l)o(a,h,l[h].default);else u==="array"&&Array.isArray(f)&&f.forEach((h,_)=>o(a,_,h.default))}Ki.assignDefaults=r;function o(a,u,l){const{gen:f,compositeRule:h,data:_,opts:m}=a;if(l===void 0)return;const g=(0,t._)`${_}${(0,t.getProperty)(u)}`;if(h){(0,n.checkStrictMode)(a,`default is ignored for: ${g}`);return}let b=(0,t._)`${g} === undefined`;m.useDefaults==="empty"&&(b=(0,t._)`${b} || ${g} === null || ${g} === ""`),f.if(b,(0,t._)`${g} = ${(0,t.stringify)(l)}`)}return Ki}var Bt={},Ze={},tl;function Ht(){if(tl)return Ze;tl=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.validateUnion=Ze.validateArray=Ze.usePattern=Ze.callValidateCode=Ze.schemaProperties=Ze.allSchemaProperties=Ze.noPropertyInData=Ze.propertyInData=Ze.isOwnProperty=Ze.hasPropFunc=Ze.reportMissingProp=Ze.checkMissingProp=Ze.checkReportMissingProp=void 0;const t=Oe(),n=De(),r=zn(),o=De();function a(p,v){const{gen:R,data:O,it:k}=p;R.if(m(R,O,v,k.opts.ownProperties),()=>{p.setParams({missingProperty:(0,t._)`${v}`},!0),p.error()})}Ze.checkReportMissingProp=a;function u({gen:p,data:v,it:{opts:R}},O,k){return(0,t.or)(...O.map(I=>(0,t.and)(m(p,v,I,R.ownProperties),(0,t._)`${k} = ${I}`)))}Ze.checkMissingProp=u;function l(p,v){p.setParams({missingProperty:v},!0),p.error()}Ze.reportMissingProp=l;function f(p){return p.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}Ze.hasPropFunc=f;function h(p,v,R){return(0,t._)`${f(p)}.call(${v}, ${R})`}Ze.isOwnProperty=h;function _(p,v,R,O){const k=(0,t._)`${v}${(0,t.getProperty)(R)} !== undefined`;return O?(0,t._)`${k} && ${h(p,v,R)}`:k}Ze.propertyInData=_;function m(p,v,R,O){const k=(0,t._)`${v}${(0,t.getProperty)(R)} === undefined`;return O?(0,t.or)(k,(0,t.not)(h(p,v,R))):k}Ze.noPropertyInData=m;function g(p){return p?Object.keys(p).filter(v=>v!=="__proto__"):[]}Ze.allSchemaProperties=g;function b(p,v){return g(v).filter(R=>!(0,n.alwaysValidSchema)(p,v[R]))}Ze.schemaProperties=b;function E({schemaCode:p,data:v,it:{gen:R,topSchemaRef:O,schemaPath:k,errorPath:I},it:V},W,se,ie){const X=ie?(0,t._)`${p}, ${v}, ${O}${k}`:v,fe=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,I)],[r.default.parentData,V.parentData],[r.default.parentDataProperty,V.parentDataProperty],[r.default.rootData,r.default.rootData]];V.opts.dynamicRef&&fe.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const me=(0,t._)`${X}, ${R.object(...fe)}`;return se!==t.nil?(0,t._)`${W}.call(${se}, ${me})`:(0,t._)`${W}(${me})`}Ze.callValidateCode=E;const $=(0,t._)`new RegExp`;function C({gen:p,it:{opts:v}},R){const O=v.unicodeRegExp?"u":"",{regExp:k}=v.code,I=k(R,O);return p.scopeValue("pattern",{key:I.toString(),ref:I,code:(0,t._)`${k.code==="new RegExp"?$:(0,o.useFunc)(p,k)}(${R}, ${O})`})}Ze.usePattern=C;function w(p){const{gen:v,data:R,keyword:O,it:k}=p,I=v.name("valid");if(k.allErrors){const W=v.let("valid",!0);return V(()=>v.assign(W,!1)),W}return v.var(I,!0),V(()=>v.break()),I;function V(W){const se=v.const("len",(0,t._)`${R}.length`);v.forRange("i",0,se,ie=>{p.subschema({keyword:O,dataProp:ie,dataPropType:n.Type.Num},I),v.if((0,t.not)(I),W)})}}Ze.validateArray=w;function P(p){const{gen:v,schema:R,keyword:O,it:k}=p;if(!Array.isArray(R))throw new Error("ajv implementation error");if(R.some(se=>(0,n.alwaysValidSchema)(k,se))&&!k.opts.unevaluated)return;const V=v.let("valid",!1),W=v.name("_valid");v.block(()=>R.forEach((se,ie)=>{const X=p.subschema({keyword:O,schemaProp:ie,compositeRule:!0},W);v.assign(V,(0,t._)`${V} || ${W}`),p.mergeValidEvaluated(X,W)||v.if((0,t.not)(V))})),p.result(V,()=>p.reset(),()=>p.error(!0))}return Ze.validateUnion=P,Ze}var nl;function Gg(){if(nl)return Bt;nl=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.validateKeywordUsage=Bt.validSchemaType=Bt.funcKeywordCode=Bt.macroKeywordCode=void 0;const t=Oe(),n=zn(),r=Ht(),o=no();function a(b,E){const{gen:$,keyword:C,schema:w,parentSchema:P,it:p}=b,v=E.macro.call(p.self,w,P,p),R=_($,C,v);p.opts.validateSchema!==!1&&p.self.validateSchema(v,!0);const O=$.name("valid");b.subschema({schema:v,schemaPath:t.nil,errSchemaPath:`${p.errSchemaPath}/${C}`,topSchemaRef:R,compositeRule:!0},O),b.pass(O,()=>b.error(!0))}Bt.macroKeywordCode=a;function u(b,E){var $;const{gen:C,keyword:w,schema:P,parentSchema:p,$data:v,it:R}=b;h(R,E);const O=!v&&E.compile?E.compile.call(R.self,P,p,R):E.validate,k=_(C,w,O),I=C.let("valid");b.block$data(I,V),b.ok(($=E.valid)!==null&&$!==void 0?$:I);function V(){if(E.errors===!1)ie(),E.modifying&&l(b),X(()=>b.error());else{const fe=E.async?W():se();E.modifying&&l(b),X(()=>f(b,fe))}}function W(){const fe=C.let("ruleErrs",null);return C.try(()=>ie((0,t._)`await `),me=>C.assign(I,!1).if((0,t._)`${me} instanceof ${R.ValidationError}`,()=>C.assign(fe,(0,t._)`${me}.errors`),()=>C.throw(me))),fe}function se(){const fe=(0,t._)`${k}.errors`;return C.assign(fe,null),ie(t.nil),fe}function ie(fe=E.async?(0,t._)`await `:t.nil){const me=R.opts.passContext?n.default.this:n.default.self,Ie=!("compile"in E&&!v||E.schema===!1);C.assign(I,(0,t._)`${fe}${(0,r.callValidateCode)(b,k,me,Ie)}`,E.modifying)}function X(fe){var me;C.if((0,t.not)((me=E.valid)!==null&&me!==void 0?me:I),fe)}}Bt.funcKeywordCode=u;function l(b){const{gen:E,data:$,it:C}=b;E.if(C.parentData,()=>E.assign($,(0,t._)`${C.parentData}[${C.parentDataProperty}]`))}function f(b,E){const{gen:$}=b;$.if((0,t._)`Array.isArray(${E})`,()=>{$.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,o.extendErrors)(b)},()=>b.error())}function h({schemaEnv:b},E){if(E.async&&!b.$async)throw new Error("async keyword in sync schema")}function _(b,E,$){if($===void 0)throw new Error(`keyword "${E}" failed to compile`);return b.scopeValue("keyword",typeof $=="function"?{ref:$}:{ref:$,code:(0,t.stringify)($)})}function m(b,E,$=!1){return!E.length||E.some(C=>C==="array"?Array.isArray(b):C==="object"?b&&typeof b=="object"&&!Array.isArray(b):typeof b==C||$&&typeof b>"u")}Bt.validSchemaType=m;function g({schema:b,opts:E,self:$,errSchemaPath:C},w,P){if(Array.isArray(w.keyword)?!w.keyword.includes(P):w.keyword!==P)throw new Error("ajv implementation error");const p=w.dependencies;if(p!=null&&p.some(v=>!Object.prototype.hasOwnProperty.call(b,v)))throw new Error(`parent schema must have dependencies of ${P}: ${p.join(",")}`);if(w.validateSchema&&!w.validateSchema(b[P])){const R=`keyword "${P}" value is invalid at path "${C}": `+$.errorsText(w.validateSchema.errors);if(E.validateSchema==="log")$.logger.error(R);else throw new Error(R)}}return Bt.validateKeywordUsage=g,Bt}var dn={},il;function Jg(){if(il)return dn;il=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.extendSubschemaMode=dn.extendSubschemaData=dn.getSubschema=void 0;const t=Oe(),n=De();function r(u,{keyword:l,schemaProp:f,schema:h,schemaPath:_,errSchemaPath:m,topSchemaRef:g}){if(l!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const b=u.schema[l];return f===void 0?{schema:b,schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}`,errSchemaPath:`${u.errSchemaPath}/${l}`}:{schema:b[f],schemaPath:(0,t._)`${u.schemaPath}${(0,t.getProperty)(l)}${(0,t.getProperty)(f)}`,errSchemaPath:`${u.errSchemaPath}/${l}/${(0,n.escapeFragment)(f)}`}}if(h!==void 0){if(_===void 0||m===void 0||g===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:_,topSchemaRef:g,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}dn.getSubschema=r;function o(u,l,{dataProp:f,dataPropType:h,data:_,dataTypes:m,propertyName:g}){if(_!==void 0&&f!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:b}=l;if(f!==void 0){const{errorPath:$,dataPathArr:C,opts:w}=l,P=b.let("data",(0,t._)`${l.data}${(0,t.getProperty)(f)}`,!0);E(P),u.errorPath=(0,t.str)`${$}${(0,n.getErrorPath)(f,h,w.jsPropertySyntax)}`,u.parentDataProperty=(0,t._)`${f}`,u.dataPathArr=[...C,u.parentDataProperty]}if(_!==void 0){const $=_ instanceof t.Name?_:b.let("data",_,!0);E($),g!==void 0&&(u.propertyName=g)}m&&(u.dataTypes=m);function E($){u.data=$,u.dataLevel=l.dataLevel+1,u.dataTypes=[],l.definedProperties=new Set,u.parentData=l.data,u.dataNames=[...l.dataNames,$]}}dn.extendSubschemaData=o;function a(u,{jtdDiscriminator:l,jtdMetadata:f,compositeRule:h,createErrors:_,allErrors:m}){h!==void 0&&(u.compositeRule=h),_!==void 0&&(u.createErrors=_),m!==void 0&&(u.allErrors=m),u.jtdDiscriminator=l,u.jtdMetadata=f}return dn.extendSubschemaMode=a,dn}var yt={},ta,rl;function Kh(){return rl||(rl=1,ta=function t(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var o,a,u;if(Array.isArray(n)){if(o=n.length,o!=r.length)return!1;for(a=o;a--!==0;)if(!t(n[a],r[a]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(u=Object.keys(n),o=u.length,o!==Object.keys(r).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,u[a]))return!1;for(a=o;a--!==0;){var l=u[a];if(!t(n[l],r[l]))return!1}return!0}return n!==n&&r!==r}),ta}var na={exports:{}},sl;function Yg(){if(sl)return na.exports;sl=1;var t=na.exports=function(o,a,u){typeof a=="function"&&(u=a,a={}),u=a.cb||u;var l=typeof u=="function"?u:u.pre||function(){},f=u.post||function(){};n(a,l,f,o,"",o)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function n(o,a,u,l,f,h,_,m,g,b){if(l&&typeof l=="object"&&!Array.isArray(l)){a(l,f,h,_,m,g,b);for(var E in l){var $=l[E];if(Array.isArray($)){if(E in t.arrayKeywords)for(var C=0;C<$.length;C++)n(o,a,u,$[C],f+"/"+E+"/"+C,h,f,E,l,C)}else if(E in t.propsKeywords){if($&&typeof $=="object")for(var w in $)n(o,a,u,$[w],f+"/"+E+"/"+r(w),h,f,E,l,w)}else(E in t.keywords||o.allKeys&&!(E in t.skipKeywords))&&n(o,a,u,$,f+"/"+E,h,f,E,l)}u(l,f,h,_,m,g,b)}}function r(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return na.exports}var ol;function io(){if(ol)return yt;ol=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.getSchemaRefs=yt.resolveUrl=yt.normalizeId=yt._getFullPath=yt.getFullPath=yt.inlineRef=void 0;const t=De(),n=Kh(),r=Yg(),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function a(C,w=!0){return typeof C=="boolean"?!0:w===!0?!l(C):w?f(C)<=w:!1}yt.inlineRef=a;const u=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(C){for(const w in C){if(u.has(w))return!0;const P=C[w];if(Array.isArray(P)&&P.some(l)||typeof P=="object"&&l(P))return!0}return!1}function f(C){let w=0;for(const P in C){if(P==="$ref")return 1/0;if(w++,!o.has(P)&&(typeof C[P]=="object"&&(0,t.eachItem)(C[P],p=>w+=f(p)),w===1/0))return 1/0}return w}function h(C,w="",P){P!==!1&&(w=g(w));const p=C.parse(w);return _(C,p)}yt.getFullPath=h;function _(C,w){return C.serialize(w).split("#")[0]+"#"}yt._getFullPath=_;const m=/#\/?$/;function g(C){return C?C.replace(m,""):""}yt.normalizeId=g;function b(C,w,P){return P=g(P),C.resolve(w,P)}yt.resolveUrl=b;const E=/^[a-z_][-a-z0-9._]*$/i;function $(C,w){if(typeof C=="boolean")return{};const{schemaId:P,uriResolver:p}=this.opts,v=g(C[P]||w),R={"":v},O=h(p,v,!1),k={},I=new Set;return r(C,{allKeys:!0},(se,ie,X,fe)=>{if(fe===void 0)return;const me=O+ie;let Ie=R[fe];typeof se[P]=="string"&&(Ie=Se.call(this,se[P])),$e.call(this,se.$anchor),$e.call(this,se.$dynamicAnchor),R[ie]=Ie;function Se(re){const Qe=this.opts.uriResolver.resolve;if(re=g(Ie?Qe(Ie,re):re),I.has(re))throw W(re);I.add(re);let K=this.refs[re];return typeof K=="string"&&(K=this.refs[K]),typeof K=="object"?V(se,K.schema,re):re!==g(me)&&(re[0]==="#"?(V(se,k[re],re),k[re]=se):this.refs[re]=me),re}function $e(re){if(typeof re=="string"){if(!E.test(re))throw new Error(`invalid anchor "${re}"`);Se.call(this,`#${re}`)}}}),k;function V(se,ie,X){if(ie!==void 0&&!n(se,ie))throw W(X)}function W(se){return new Error(`reference "${se}" resolves to more than one schema`)}}return yt.getSchemaRefs=$,yt}var al;function ro(){if(al)return fn;al=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.getData=fn.KeywordCxt=fn.validateFunctionCode=void 0;const t=Kg(),n=Ms(),r=Uh(),o=Ms(),a=Wg(),u=Gg(),l=Jg(),f=Oe(),h=zn(),_=io(),m=De(),g=no();function b(z){if(O(z)&&(I(z),R(z))){w(z);return}E(z,()=>(0,t.topBoolOrEmptySchema)(z))}fn.validateFunctionCode=b;function E({gen:z,validateName:y,schema:T,schemaEnv:A,opts:B},H){B.code.es5?z.func(y,(0,f._)`${h.default.data}, ${h.default.valCxt}`,A.$async,()=>{z.code((0,f._)`"use strict"; ${p(T,B)}`),C(z,B),z.code(H)}):z.func(y,(0,f._)`${h.default.data}, ${$(B)}`,A.$async,()=>z.code(p(T,B)).code(H))}function $(z){return(0,f._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${z.dynamicRef?(0,f._)`, ${h.default.dynamicAnchors}={}`:f.nil}}={}`}function C(z,y){z.if(h.default.valCxt,()=>{z.var(h.default.instancePath,(0,f._)`${h.default.valCxt}.${h.default.instancePath}`),z.var(h.default.parentData,(0,f._)`${h.default.valCxt}.${h.default.parentData}`),z.var(h.default.parentDataProperty,(0,f._)`${h.default.valCxt}.${h.default.parentDataProperty}`),z.var(h.default.rootData,(0,f._)`${h.default.valCxt}.${h.default.rootData}`),y.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{z.var(h.default.instancePath,(0,f._)`""`),z.var(h.default.parentData,(0,f._)`undefined`),z.var(h.default.parentDataProperty,(0,f._)`undefined`),z.var(h.default.rootData,h.default.data),y.dynamicRef&&z.var(h.default.dynamicAnchors,(0,f._)`{}`)})}function w(z){const{schema:y,opts:T,gen:A}=z;E(z,()=>{T.$comment&&y.$comment&&fe(z),se(z),A.let(h.default.vErrors,null),A.let(h.default.errors,0),T.unevaluated&&P(z),V(z),me(z)})}function P(z){const{gen:y,validateName:T}=z;z.evaluated=y.const("evaluated",(0,f._)`${T}.evaluated`),y.if((0,f._)`${z.evaluated}.dynamicProps`,()=>y.assign((0,f._)`${z.evaluated}.props`,(0,f._)`undefined`)),y.if((0,f._)`${z.evaluated}.dynamicItems`,()=>y.assign((0,f._)`${z.evaluated}.items`,(0,f._)`undefined`))}function p(z,y){const T=typeof z=="object"&&z[y.schemaId];return T&&(y.code.source||y.code.process)?(0,f._)`/*# sourceURL=${T} */`:f.nil}function v(z,y){if(O(z)&&(I(z),R(z))){k(z,y);return}(0,t.boolOrEmptySchema)(z,y)}function R({schema:z,self:y}){if(typeof z=="boolean")return!z;for(const T in z)if(y.RULES.all[T])return!0;return!1}function O(z){return typeof z.schema!="boolean"}function k(z,y){const{schema:T,gen:A,opts:B}=z;B.$comment&&T.$comment&&fe(z),ie(z),X(z);const H=A.const("_errs",h.default.errors);V(z,H),A.var(y,(0,f._)`${H} === ${h.default.errors}`)}function I(z){(0,m.checkUnknownRules)(z),W(z)}function V(z,y){if(z.opts.jtd)return Se(z,[],!1,y);const T=(0,n.getSchemaTypes)(z.schema),A=(0,n.coerceAndCheckDataType)(z,T);Se(z,T,!A,y)}function W(z){const{schema:y,errSchemaPath:T,opts:A,self:B}=z;y.$ref&&A.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(y,B.RULES)&&B.logger.warn(`$ref: keywords ignored in schema at path "${T}"`)}function se(z){const{schema:y,opts:T}=z;y.default!==void 0&&T.useDefaults&&T.strictSchema&&(0,m.checkStrictMode)(z,"default is ignored in the schema root")}function ie(z){const y=z.schema[z.opts.schemaId];y&&(z.baseId=(0,_.resolveUrl)(z.opts.uriResolver,z.baseId,y))}function X(z){if(z.schema.$async&&!z.schemaEnv.$async)throw new Error("async schema in sync schema")}function fe({gen:z,schemaEnv:y,schema:T,errSchemaPath:A,opts:B}){const H=T.$comment;if(B.$comment===!0)z.code((0,f._)`${h.default.self}.logger.log(${H})`);else if(typeof B.$comment=="function"){const J=(0,f.str)`${A}/$comment`,ce=z.scopeValue("root",{ref:y.root});z.code((0,f._)`${h.default.self}.opts.$comment(${H}, ${J}, ${ce}.schema)`)}}function me(z){const{gen:y,schemaEnv:T,validateName:A,ValidationError:B,opts:H}=z;T.$async?y.if((0,f._)`${h.default.errors} === 0`,()=>y.return(h.default.data),()=>y.throw((0,f._)`new ${B}(${h.default.vErrors})`)):(y.assign((0,f._)`${A}.errors`,h.default.vErrors),H.unevaluated&&Ie(z),y.return((0,f._)`${h.default.errors} === 0`))}function Ie({gen:z,evaluated:y,props:T,items:A}){T instanceof f.Name&&z.assign((0,f._)`${y}.props`,T),A instanceof f.Name&&z.assign((0,f._)`${y}.items`,A)}function Se(z,y,T,A){const{gen:B,schema:H,data:J,allErrors:ce,opts:ue,self:oe}=z,{RULES:Q}=oe;if(H.$ref&&(ue.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(H,Q))){B.block(()=>j(z,"$ref",Q.all.$ref.definition));return}ue.jtd||re(z,y),B.block(()=>{for(const le of Q.rules)_e(le);_e(Q.post)});function _e(le){(0,r.shouldUseGroup)(H,le)&&(le.type?(B.if((0,o.checkDataType)(le.type,J,ue.strictNumbers)),$e(z,le),y.length===1&&y[0]===le.type&&T&&(B.else(),(0,o.reportTypeError)(z)),B.endIf()):$e(z,le),ce||B.if((0,f._)`${h.default.errors} === ${A||0}`))}}function $e(z,y){const{gen:T,schema:A,opts:{useDefaults:B}}=z;B&&(0,a.assignDefaults)(z,y.type),T.block(()=>{for(const H of y.rules)(0,r.shouldUseRule)(A,H)&&j(z,H.keyword,H.definition,y.type)})}function re(z,y){z.schemaEnv.meta||!z.opts.strictTypes||(Qe(z,y),z.opts.allowUnionTypes||K(z,y),D(z,z.dataTypes))}function Qe(z,y){if(y.length){if(!z.dataTypes.length){z.dataTypes=y;return}y.forEach(T=>{Z(z.dataTypes,T)||M(z,`type "${T}" not allowed by context "${z.dataTypes.join(",")}"`)}),x(z,y)}}function K(z,y){y.length>1&&!(y.length===2&&y.includes("null"))&&M(z,"use allowUnionTypes to allow union type keyword")}function D(z,y){const T=z.self.RULES.all;for(const A in T){const B=T[A];if(typeof B=="object"&&(0,r.shouldUseRule)(z.schema,B)){const{type:H}=B.definition;H.length&&!H.some(J=>Y(y,J))&&M(z,`missing type "${H.join(",")}" for keyword "${A}"`)}}}function Y(z,y){return z.includes(y)||y==="number"&&z.includes("integer")}function Z(z,y){return z.includes(y)||y==="integer"&&z.includes("number")}function x(z,y){const T=[];for(const A of z.dataTypes)Z(y,A)?T.push(A):y.includes("integer")&&A==="number"&&T.push("integer");z.dataTypes=T}function M(z,y){const T=z.schemaEnv.baseId+z.errSchemaPath;y+=` at "${T}" (strictTypes)`,(0,m.checkStrictMode)(z,y,z.opts.strictTypes)}class q{constructor(y,T,A){if((0,u.validateKeywordUsage)(y,T,A),this.gen=y.gen,this.allErrors=y.allErrors,this.keyword=A,this.data=y.data,this.schema=y.schema[A],this.$data=T.$data&&y.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(y,this.schema,A,this.$data),this.schemaType=T.schemaType,this.parentSchema=y.schema,this.params={},this.it=y,this.def=T,this.$data)this.schemaCode=y.gen.const("vSchema",ae(this.$data,y));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,T.schemaType,T.allowUndefined))throw new Error(`${A} value must be ${JSON.stringify(T.schemaType)}`);("code"in T?T.trackErrors:T.errors!==!1)&&(this.errsCount=y.gen.const("_errs",h.default.errors))}result(y,T,A){this.failResult((0,f.not)(y),T,A)}failResult(y,T,A){this.gen.if(y),A?A():this.error(),T?(this.gen.else(),T(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(y,T){this.failResult((0,f.not)(y),void 0,T)}fail(y){if(y===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(y),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(y){if(!this.$data)return this.fail(y);const{schemaCode:T}=this;this.fail((0,f._)`${T} !== undefined && (${(0,f.or)(this.invalid$data(),y)})`)}error(y,T,A){if(T){this.setParams(T),this._error(y,A),this.setParams({});return}this._error(y,A)}_error(y,T){(y?g.reportExtraError:g.reportError)(this,this.def.error,T)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(y){this.allErrors||this.gen.if(y)}setParams(y,T){T?Object.assign(this.params,y):this.params=y}block$data(y,T,A=f.nil){this.gen.block(()=>{this.check$data(y,A),T()})}check$data(y=f.nil,T=f.nil){if(!this.$data)return;const{gen:A,schemaCode:B,schemaType:H,def:J}=this;A.if((0,f.or)((0,f._)`${B} === undefined`,T)),y!==f.nil&&A.assign(y,!0),(H.length||J.validateSchema)&&(A.elseIf(this.invalid$data()),this.$dataError(),y!==f.nil&&A.assign(y,!1)),A.else()}invalid$data(){const{gen:y,schemaCode:T,schemaType:A,def:B,it:H}=this;return(0,f.or)(J(),ce());function J(){if(A.length){if(!(T instanceof f.Name))throw new Error("ajv implementation error");const ue=Array.isArray(A)?A:[A];return(0,f._)`${(0,o.checkDataTypes)(ue,T,H.opts.strictNumbers,o.DataType.Wrong)}`}return f.nil}function ce(){if(B.validateSchema){const ue=y.scopeValue("validate$data",{ref:B.validateSchema});return(0,f._)`!${ue}(${T})`}return f.nil}}subschema(y,T){const A=(0,l.getSubschema)(this.it,y);(0,l.extendSubschemaData)(A,this.it,y),(0,l.extendSubschemaMode)(A,y);const B={...this.it,...A,items:void 0,props:void 0};return v(B,T),B}mergeEvaluated(y,T){const{it:A,gen:B}=this;A.opts.unevaluated&&(A.props!==!0&&y.props!==void 0&&(A.props=m.mergeEvaluated.props(B,y.props,A.props,T)),A.items!==!0&&y.items!==void 0&&(A.items=m.mergeEvaluated.items(B,y.items,A.items,T)))}mergeValidEvaluated(y,T){const{it:A,gen:B}=this;if(A.opts.unevaluated&&(A.props!==!0||A.items!==!0))return B.if(T,()=>this.mergeEvaluated(y,f.Name)),!0}}fn.KeywordCxt=q;function j(z,y,T,A){const B=new q(z,T,y);"code"in T?T.code(B,A):B.$data&&T.validate?(0,u.funcKeywordCode)(B,T):"macro"in T?(0,u.macroKeywordCode)(B,T):(T.compile||T.validate)&&(0,u.funcKeywordCode)(B,T)}const G=/^\/(?:[^~]|~0|~1)*$/,ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ae(z,{dataLevel:y,dataNames:T,dataPathArr:A}){let B,H;if(z==="")return h.default.rootData;if(z[0]==="/"){if(!G.test(z))throw new Error(`Invalid JSON-pointer: ${z}`);B=z,H=h.default.rootData}else{const oe=ee.exec(z);if(!oe)throw new Error(`Invalid JSON-pointer: ${z}`);const Q=+oe[1];if(B=oe[2],B==="#"){if(Q>=y)throw new Error(ue("property/index",Q));return A[y-Q]}if(Q>y)throw new Error(ue("data",Q));if(H=T[y-Q],!B)return H}let J=H;const ce=B.split("/");for(const oe of ce)oe&&(H=(0,f._)`${H}${(0,f.getProperty)((0,m.unescapeJsonPointer)(oe))}`,J=(0,f._)`${J} && ${H}`);return J;function ue(oe,Q){return`Cannot access ${oe} ${Q} levels up, current level is ${y}`}}return fn.getData=ae,fn}var Zr={},ul;function Za(){if(ul)return Zr;ul=1,Object.defineProperty(Zr,"__esModule",{value:!0});class t extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return Zr.default=t,Zr}var Fr={},cl;function so(){if(cl)return Fr;cl=1,Object.defineProperty(Fr,"__esModule",{value:!0});const t=io();class n extends Error{constructor(o,a,u,l){super(l||`can't resolve reference ${u} from id ${a}`),this.missingRef=(0,t.resolveUrl)(o,a,u),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(o,this.missingRef))}}return Fr.default=n,Fr}var Et={},ll;function Fa(){if(ll)return Et;ll=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.resolveSchema=Et.getCompilingSchema=Et.resolveRef=Et.compileSchema=Et.SchemaEnv=void 0;const t=Oe(),n=Za(),r=zn(),o=io(),a=De(),u=ro();class l{constructor(P){var p;this.refs={},this.dynamicAnchors={};let v;typeof P.schema=="object"&&(v=P.schema),this.schema=P.schema,this.schemaId=P.schemaId,this.root=P.root||this,this.baseId=(p=P.baseId)!==null&&p!==void 0?p:(0,o.normalizeId)(v==null?void 0:v[P.schemaId||"$id"]),this.schemaPath=P.schemaPath,this.localRefs=P.localRefs,this.meta=P.meta,this.$async=v==null?void 0:v.$async,this.refs={}}}Et.SchemaEnv=l;function f(w){const P=m.call(this,w);if(P)return P;const p=(0,o.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:v,lines:R}=this.opts.code,{ownProperties:O}=this.opts,k=new t.CodeGen(this.scope,{es5:v,lines:R,ownProperties:O});let I;w.$async&&(I=k.scopeValue("Error",{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const V=k.scopeName("validate");w.validateName=V;const W={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,t.stringify)(w.schema)}:{ref:w.schema}),validateName:V,ValidationError:I,schema:w.schema,schemaEnv:w,rootId:p,baseId:w.baseId||p,schemaPath:t.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let se;try{this._compilations.add(w),(0,u.validateFunctionCode)(W),k.optimize(this.opts.code.optimize);const ie=k.toString();se=`${k.scopeRefs(r.default.scope)}return ${ie}`,this.opts.code.process&&(se=this.opts.code.process(se,w));const fe=new Function(`${r.default.self}`,`${r.default.scope}`,se)(this,this.scope.get());if(this.scope.value(V,{ref:fe}),fe.errors=null,fe.schema=w.schema,fe.schemaEnv=w,w.$async&&(fe.$async=!0),this.opts.code.source===!0&&(fe.source={validateName:V,validateCode:ie,scopeValues:k._values}),this.opts.unevaluated){const{props:me,items:Ie}=W;fe.evaluated={props:me instanceof t.Name?void 0:me,items:Ie instanceof t.Name?void 0:Ie,dynamicProps:me instanceof t.Name,dynamicItems:Ie instanceof t.Name},fe.source&&(fe.source.evaluated=(0,t.stringify)(fe.evaluated))}return w.validate=fe,w}catch(ie){throw delete w.validate,delete w.validateName,se&&this.logger.error("Error compiling schema, function code:",se),ie}finally{this._compilations.delete(w)}}Et.compileSchema=f;function h(w,P,p){var v;p=(0,o.resolveUrl)(this.opts.uriResolver,P,p);const R=w.refs[p];if(R)return R;let O=b.call(this,w,p);if(O===void 0){const k=(v=w.localRefs)===null||v===void 0?void 0:v[p],{schemaId:I}=this.opts;k&&(O=new l({schema:k,schemaId:I,root:w,baseId:P}))}if(O!==void 0)return w.refs[p]=_.call(this,O)}Et.resolveRef=h;function _(w){return(0,o.inlineRef)(w.schema,this.opts.inlineRefs)?w.schema:w.validate?w:f.call(this,w)}function m(w){for(const P of this._compilations)if(g(P,w))return P}Et.getCompilingSchema=m;function g(w,P){return w.schema===P.schema&&w.root===P.root&&w.baseId===P.baseId}function b(w,P){let p;for(;typeof(p=this.refs[P])=="string";)P=p;return p||this.schemas[P]||E.call(this,w,P)}function E(w,P){const p=this.opts.uriResolver.parse(P),v=(0,o._getFullPath)(this.opts.uriResolver,p);let R=(0,o.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&v===R)return C.call(this,p,w);const O=(0,o.normalizeId)(v),k=this.refs[O]||this.schemas[O];if(typeof k=="string"){const I=E.call(this,w,k);return typeof(I==null?void 0:I.schema)!="object"?void 0:C.call(this,p,I)}if(typeof(k==null?void 0:k.schema)=="object"){if(k.validate||f.call(this,k),O===(0,o.normalizeId)(P)){const{schema:I}=k,{schemaId:V}=this.opts,W=I[V];return W&&(R=(0,o.resolveUrl)(this.opts.uriResolver,R,W)),new l({schema:I,schemaId:V,root:w,baseId:R})}return C.call(this,p,k)}}Et.resolveSchema=E;const $=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function C(w,{baseId:P,schema:p,root:v}){var R;if(((R=w.fragment)===null||R===void 0?void 0:R[0])!=="/")return;for(const I of w.fragment.slice(1).split("/")){if(typeof p=="boolean")return;const V=p[(0,a.unescapeFragment)(I)];if(V===void 0)return;p=V;const W=typeof p=="object"&&p[this.opts.schemaId];!$.has(I)&&W&&(P=(0,o.resolveUrl)(this.opts.uriResolver,P,W))}let O;if(typeof p!="boolean"&&p.$ref&&!(0,a.schemaHasRulesButRef)(p,this.RULES)){const I=(0,o.resolveUrl)(this.opts.uriResolver,P,p.$ref);O=E.call(this,v,I)}const{schemaId:k}=this.opts;if(O=O||new l({schema:p,schemaId:k,root:v,baseId:P}),O.schema!==O.root.schema)return O}return Et}const Xg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Qg="Meta-schema for $data reference (JSON AnySchema extension proposal)",ev="object",tv=["$data"],nv={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},iv=!1,rv={$id:Xg,description:Qg,type:ev,required:tv,properties:nv,additionalProperties:iv};var Vr={},Wi={exports:{}},ia,fl;function sv(){return fl||(fl=1,ia={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),ia}var ra,hl;function ov(){if(hl)return ra;hl=1;const{HEX:t}=sv();function n($){if(l($,".")<3)return{host:$,isIPV4:!1};const C=$.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[w]=C;return w?{host:u(w,"."),isIPV4:!0}:{host:$,isIPV4:!1}}function r($,C=!1){let w="",P=!0;for(const p of $){if(t[p]===void 0)return;p!=="0"&&P===!0&&(P=!1),P||(w+=p)}return C&&w.length===0&&(w="0"),w}function o($){let C=0;const w={error:!1,address:"",zone:""},P=[],p=[];let v=!1,R=!1,O=!1;function k(){if(p.length){if(v===!1){const I=r(p);if(I!==void 0)P.push(I);else return w.error=!0,!1}p.length=0}return!0}for(let I=0;I<$.length;I++){const V=$[I];if(!(V==="["||V==="]"))if(V===":"){if(R===!0&&(O=!0),!k())break;if(C++,P.push(":"),C>7){w.error=!0;break}I-1>=0&&$[I-1]===":"&&(R=!0);continue}else if(V==="%"){if(!k())break;v=!0}else{p.push(V);continue}}return p.length&&(v?w.zone=p.join(""):O?P.push(p.join("")):P.push(r(p))),w.address=P.join(""),w}function a($,C={}){if(l($,":")<2)return{host:$,isIPV6:!1};const w=o($);if(w.error)return{host:$,isIPV6:!1};{let P=w.address,p=w.address;return w.zone&&(P+="%"+w.zone,p+="%25"+w.zone),{host:P,escapedHost:p,isIPV6:!0}}}function u($,C){let w="",P=!0;const p=$.length;for(let v=0;v/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(P)));function b(w){let P=0;for(let p=0,v=w.length;p126||g[P])return!0;return!1}const E=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function $(w,P){const p=Object.assign({},P),v={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},R=w.indexOf("%")!==-1;let O=!1;p.reference==="suffix"&&(w=(p.scheme?p.scheme+":":"")+"//"+w);const k=w.match(E);if(k){if(v.scheme=k[1],v.userinfo=k[3],v.host=k[4],v.port=parseInt(k[5],10),v.path=k[6]||"",v.query=k[7],v.fragment=k[8],isNaN(v.port)&&(v.port=k[5]),v.host){const V=n(v.host);if(V.isIPV4===!1){const W=t(V.host,{isIPV4:!1});v.host=W.host.toLowerCase(),O=W.isIPV6}else v.host=V.host,O=!0}v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",p.reference&&p.reference!=="suffix"&&p.reference!==v.reference&&(v.error=v.error||"URI is not a "+p.reference+" reference.");const I=u[(p.scheme||v.scheme||"").toLowerCase()];if(!p.unicodeSupport&&(!I||!I.unicodeSupport)&&v.host&&(p.domainHost||I&&I.domainHost)&&O===!1&&b(v.host))try{v.host=URL.domainToASCII(v.host.toLowerCase())}catch(V){v.error=v.error||"Host's domain name can not be converted to ASCII: "+V}(!I||I&&!I.skipNormalize)&&(R&&v.scheme!==void 0&&(v.scheme=unescape(v.scheme)),R&&v.userinfo!==void 0&&(v.userinfo=unescape(v.userinfo)),R&&v.host!==void 0&&(v.host=unescape(v.host)),v.path!==void 0&&v.path.length&&(v.path=escape(unescape(v.path))),v.fragment!==void 0&&v.fragment.length&&(v.fragment=encodeURI(decodeURIComponent(v.fragment)))),I&&I.parse&&I.parse(v,p)}else v.error=v.error||"URI can not be parsed.";return v}const C={SCHEMES:u,normalize:l,resolve:f,resolveComponents:h,equal:_,serialize:m,parse:$};return Wi.exports=C,Wi.exports.default=C,Wi.exports.fastUri=C,Wi.exports}var ml;function cv(){if(ml)return Vr;ml=1,Object.defineProperty(Vr,"__esModule",{value:!0});const t=uv();return t.code='require("ajv/dist/runtime/uri").default',Vr.default=t,Vr}var _l;function lv(){return _l||(_l=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=ro();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var r=Oe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const o=Za(),a=so(),u=Hh(),l=Fa(),f=Oe(),h=io(),_=Ms(),m=De(),g=rv,b=cv(),E=(K,D)=>new RegExp(K,D);E.code="new RegExp";const $=["removeAdditional","useDefaults","coerceTypes"],C=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),w={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},P={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},p=200;function v(K){var D,Y,Z,x,M,q,j,G,ee,ae,z,y,T,A,B,H,J,ce,ue,oe,Q,_e,le,ge,ye;const Ee=K.strict,Ne=(D=K.code)===null||D===void 0?void 0:D.optimize,Ae=Ne===!0||Ne===void 0?1:Ne||0,at=(Z=(Y=K.code)===null||Y===void 0?void 0:Y.regExp)!==null&&Z!==void 0?Z:E,ot=(x=K.uriResolver)!==null&&x!==void 0?x:b.default;return{strictSchema:(q=(M=K.strictSchema)!==null&&M!==void 0?M:Ee)!==null&&q!==void 0?q:!0,strictNumbers:(G=(j=K.strictNumbers)!==null&&j!==void 0?j:Ee)!==null&&G!==void 0?G:!0,strictTypes:(ae=(ee=K.strictTypes)!==null&&ee!==void 0?ee:Ee)!==null&&ae!==void 0?ae:"log",strictTuples:(y=(z=K.strictTuples)!==null&&z!==void 0?z:Ee)!==null&&y!==void 0?y:"log",strictRequired:(A=(T=K.strictRequired)!==null&&T!==void 0?T:Ee)!==null&&A!==void 0?A:!1,code:K.code?{...K.code,optimize:Ae,regExp:at}:{optimize:Ae,regExp:at},loopRequired:(B=K.loopRequired)!==null&&B!==void 0?B:p,loopEnum:(H=K.loopEnum)!==null&&H!==void 0?H:p,meta:(J=K.meta)!==null&&J!==void 0?J:!0,messages:(ce=K.messages)!==null&&ce!==void 0?ce:!0,inlineRefs:(ue=K.inlineRefs)!==null&&ue!==void 0?ue:!0,schemaId:(oe=K.schemaId)!==null&&oe!==void 0?oe:"$id",addUsedSchema:(Q=K.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(_e=K.validateSchema)!==null&&_e!==void 0?_e:!0,validateFormats:(le=K.validateFormats)!==null&&le!==void 0?le:!0,unicodeRegExp:(ge=K.unicodeRegExp)!==null&&ge!==void 0?ge:!0,int32range:(ye=K.int32range)!==null&&ye!==void 0?ye:!0,uriResolver:ot}}class R{constructor(D={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,D=this.opts={...D,...v(D)};const{es5:Y,lines:Z}=this.opts.code;this.scope=new f.ValueScope({scope:{},prefixes:C,es5:Y,lines:Z}),this.logger=X(D.logger);const x=D.validateFormats;D.validateFormats=!1,this.RULES=(0,u.getRules)(),O.call(this,w,D,"NOT SUPPORTED"),O.call(this,P,D,"DEPRECATED","warn"),this._metaOpts=se.call(this),D.formats&&V.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),D.keywords&&W.call(this,D.keywords),typeof D.meta=="object"&&this.addMetaSchema(D.meta),I.call(this),D.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:D,meta:Y,schemaId:Z}=this.opts;let x=g;Z==="id"&&(x={...g},x.id=x.$id,delete x.$id),Y&&D&&this.addMetaSchema(x,x[Z],!1)}defaultMeta(){const{meta:D,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof D=="object"?D[Y]||D:void 0}validate(D,Y){let Z;if(typeof D=="string"){if(Z=this.getSchema(D),!Z)throw new Error(`no schema with key or ref "${D}"`)}else Z=this.compile(D);const x=Z(Y);return"$async"in Z||(this.errors=Z.errors),x}compile(D,Y){const Z=this._addSchema(D,Y);return Z.validate||this._compileSchemaEnv(Z)}compileAsync(D,Y){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:Z}=this.opts;return x.call(this,D,Y);async function x(ae,z){await M.call(this,ae.$schema);const y=this._addSchema(ae,z);return y.validate||q.call(this,y)}async function M(ae){ae&&!this.getSchema(ae)&&await x.call(this,{$ref:ae},!0)}async function q(ae){try{return this._compileSchemaEnv(ae)}catch(z){if(!(z instanceof a.default))throw z;return j.call(this,z),await G.call(this,z.missingSchema),q.call(this,ae)}}function j({missingSchema:ae,missingRef:z}){if(this.refs[ae])throw new Error(`AnySchema ${ae} is loaded but ${z} cannot be resolved`)}async function G(ae){const z=await ee.call(this,ae);this.refs[ae]||await M.call(this,z.$schema),this.refs[ae]||this.addSchema(z,ae,Y)}async function ee(ae){const z=this._loading[ae];if(z)return z;try{return await(this._loading[ae]=Z(ae))}finally{delete this._loading[ae]}}}addSchema(D,Y,Z,x=this.opts.validateSchema){if(Array.isArray(D)){for(const q of D)this.addSchema(q,void 0,Z,x);return this}let M;if(typeof D=="object"){const{schemaId:q}=this.opts;if(M=D[q],M!==void 0&&typeof M!="string")throw new Error(`schema ${q} must be string`)}return Y=(0,h.normalizeId)(Y||M),this._checkUnique(Y),this.schemas[Y]=this._addSchema(D,Z,Y,x,!0),this}addMetaSchema(D,Y,Z=this.opts.validateSchema){return this.addSchema(D,Y,!0,Z),this}validateSchema(D,Y){if(typeof D=="boolean")return!0;let Z;if(Z=D.$schema,Z!==void 0&&typeof Z!="string")throw new Error("$schema must be a string");if(Z=Z||this.opts.defaultMeta||this.defaultMeta(),!Z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(Z,D);if(!x&&Y){const M="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(M);else throw new Error(M)}return x}getSchema(D){let Y;for(;typeof(Y=k.call(this,D))=="string";)D=Y;if(Y===void 0){const{schemaId:Z}=this.opts,x=new l.SchemaEnv({schema:{},schemaId:Z});if(Y=l.resolveSchema.call(this,x,D),!Y)return;this.refs[D]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema(D){if(D instanceof RegExp)return this._removeAllSchemas(this.schemas,D),this._removeAllSchemas(this.refs,D),this;switch(typeof D){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const Y=k.call(this,D);return typeof Y=="object"&&this._cache.delete(Y.schema),delete this.schemas[D],delete this.refs[D],this}case"object":{const Y=D;this._cache.delete(Y);let Z=D[this.opts.schemaId];return Z&&(Z=(0,h.normalizeId)(Z),delete this.schemas[Z],delete this.refs[Z]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(D){for(const Y of D)this.addKeyword(Y);return this}addKeyword(D,Y){let Z;if(typeof D=="string")Z=D,typeof Y=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=Z);else if(typeof D=="object"&&Y===void 0){if(Y=D,Z=Y.keyword,Array.isArray(Z)&&!Z.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(me.call(this,Z,Y),!Y)return(0,m.eachItem)(Z,M=>Ie.call(this,M)),this;$e.call(this,Y);const x={...Y,type:(0,_.getJSONTypes)(Y.type),schemaType:(0,_.getJSONTypes)(Y.schemaType)};return(0,m.eachItem)(Z,x.type.length===0?M=>Ie.call(this,M,x):M=>x.type.forEach(q=>Ie.call(this,M,x,q))),this}getKeyword(D){const Y=this.RULES.all[D];return typeof Y=="object"?Y.definition:!!Y}removeKeyword(D){const{RULES:Y}=this;delete Y.keywords[D],delete Y.all[D];for(const Z of Y.rules){const x=Z.rules.findIndex(M=>M.keyword===D);x>=0&&Z.rules.splice(x,1)}return this}addFormat(D,Y){return typeof Y=="string"&&(Y=new RegExp(Y)),this.formats[D]=Y,this}errorsText(D=this.errors,{separator:Y=", ",dataVar:Z="data"}={}){return!D||D.length===0?"No errors":D.map(x=>`${Z}${x.instancePath} ${x.message}`).reduce((x,M)=>x+Y+M)}$dataMetaSchema(D,Y){const Z=this.RULES.all;D=JSON.parse(JSON.stringify(D));for(const x of Y){const M=x.split("/").slice(1);let q=D;for(const j of M)q=q[j];for(const j in Z){const G=Z[j];if(typeof G!="object")continue;const{$data:ee}=G.definition,ae=q[j];ee&&ae&&(q[j]=Qe(ae))}}return D}_removeAllSchemas(D,Y){for(const Z in D){const x=D[Z];(!Y||Y.test(Z))&&(typeof x=="string"?delete D[Z]:x&&!x.meta&&(this._cache.delete(x.schema),delete D[Z]))}}_addSchema(D,Y,Z,x=this.opts.validateSchema,M=this.opts.addUsedSchema){let q;const{schemaId:j}=this.opts;if(typeof D=="object")q=D[j];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof D!="boolean")throw new Error("schema must be object or boolean")}let G=this._cache.get(D);if(G!==void 0)return G;Z=(0,h.normalizeId)(q||Z);const ee=h.getSchemaRefs.call(this,D,Z);return G=new l.SchemaEnv({schema:D,schemaId:j,meta:Y,baseId:Z,localRefs:ee}),this._cache.set(G.schema,G),M&&!Z.startsWith("#")&&(Z&&this._checkUnique(Z),this.refs[Z]=G),x&&this.validateSchema(D,!0),G}_checkUnique(D){if(this.schemas[D]||this.refs[D])throw new Error(`schema with key or id "${D}" already exists`)}_compileSchemaEnv(D){if(D.meta?this._compileMetaSchema(D):l.compileSchema.call(this,D),!D.validate)throw new Error("ajv implementation error");return D.validate}_compileMetaSchema(D){const Y=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,D)}finally{this.opts=Y}}}R.ValidationError=o.default,R.MissingRefError=a.default,t.default=R;function O(K,D,Y,Z="error"){for(const x in K){const M=x;M in D&&this.logger[Z](`${Y}: option ${x}. ${K[M]}`)}}function k(K){return K=(0,h.normalizeId)(K),this.schemas[K]||this.refs[K]}function I(){const K=this.opts.schemas;if(K)if(Array.isArray(K))this.addSchema(K);else for(const D in K)this.addSchema(K[D],D)}function V(){for(const K in this.opts.formats){const D=this.opts.formats[K];D&&this.addFormat(K,D)}}function W(K){if(Array.isArray(K)){this.addVocabulary(K);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const D in K){const Y=K[D];Y.keyword||(Y.keyword=D),this.addKeyword(Y)}}function se(){const K={...this.opts};for(const D of $)delete K[D];return K}const ie={log(){},warn(){},error(){}};function X(K){if(K===!1)return ie;if(K===void 0)return console;if(K.log&&K.warn&&K.error)return K;throw new Error("logger must implement log, warn and error methods")}const fe=/^[a-z_$][a-z0-9_$:-]*$/i;function me(K,D){const{RULES:Y}=this;if((0,m.eachItem)(K,Z=>{if(Y.keywords[Z])throw new Error(`Keyword ${Z} is already defined`);if(!fe.test(Z))throw new Error(`Keyword ${Z} has invalid name`)}),!!D&&D.$data&&!("code"in D||"validate"in D))throw new Error('$data keyword must have "code" or "validate" function')}function Ie(K,D,Y){var Z;const x=D==null?void 0:D.post;if(Y&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:M}=this;let q=x?M.post:M.rules.find(({type:G})=>G===Y);if(q||(q={type:Y,rules:[]},M.rules.push(q)),M.keywords[K]=!0,!D)return;const j={keyword:K,definition:{...D,type:(0,_.getJSONTypes)(D.type),schemaType:(0,_.getJSONTypes)(D.schemaType)}};D.before?Se.call(this,q,j,D.before):q.rules.push(j),M.all[K]=j,(Z=D.implements)===null||Z===void 0||Z.forEach(G=>this.addKeyword(G))}function Se(K,D,Y){const Z=K.rules.findIndex(x=>x.keyword===Y);Z>=0?K.rules.splice(Z,0,D):(K.rules.push(D),this.logger.warn(`rule ${Y} is not defined`))}function $e(K){let{metaSchema:D}=K;D!==void 0&&(K.$data&&this.opts.$data&&(D=Qe(D)),K.validateSchema=this.compile(D,!0))}const re={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Qe(K){return{anyOf:[K,re]}}}(Jo)),Jo}var Hr={},Ur={},Kr={},gl;function fv(){if(gl)return Kr;gl=1,Object.defineProperty(Kr,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Kr.default=t,Kr}var Ln={},vl;function hv(){if(vl)return Ln;vl=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.callRef=Ln.getValidate=void 0;const t=so(),n=Ht(),r=Oe(),o=zn(),a=Fa(),u=De(),l={keyword:"$ref",schemaType:"string",code(_){const{gen:m,schema:g,it:b}=_,{baseId:E,schemaEnv:$,validateName:C,opts:w,self:P}=b,{root:p}=$;if((g==="#"||g==="#/")&&E===p.baseId)return R();const v=a.resolveRef.call(P,p,E,g);if(v===void 0)throw new t.default(b.opts.uriResolver,E,g);if(v instanceof a.SchemaEnv)return O(v);return k(v);function R(){if($===p)return h(_,C,$,$.$async);const I=m.scopeValue("root",{ref:p});return h(_,(0,r._)`${I}.validate`,p,p.$async)}function O(I){const V=f(_,I);h(_,V,I,I.$async)}function k(I){const V=m.scopeValue("schema",w.code.source===!0?{ref:I,code:(0,r.stringify)(I)}:{ref:I}),W=m.name("valid"),se=_.subschema({schema:I,dataTypes:[],schemaPath:r.nil,topSchemaRef:V,errSchemaPath:g},W);_.mergeEvaluated(se),_.ok(W)}}};function f(_,m){const{gen:g}=_;return m.validate?g.scopeValue("validate",{ref:m.validate}):(0,r._)`${g.scopeValue("wrapper",{ref:m})}.validate`}Ln.getValidate=f;function h(_,m,g,b){const{gen:E,it:$}=_,{allErrors:C,schemaEnv:w,opts:P}=$,p=P.passContext?o.default.this:r.nil;b?v():R();function v(){if(!w.$async)throw new Error("async schema referenced by sync schema");const I=E.let("valid");E.try(()=>{E.code((0,r._)`await ${(0,n.callValidateCode)(_,m,p)}`),k(m),C||E.assign(I,!0)},V=>{E.if((0,r._)`!(${V} instanceof ${$.ValidationError})`,()=>E.throw(V)),O(V),C||E.assign(I,!1)}),_.ok(I)}function R(){_.result((0,n.callValidateCode)(_,m,p),()=>k(m),()=>O(m))}function O(I){const V=(0,r._)`${I}.errors`;E.assign(o.default.vErrors,(0,r._)`${o.default.vErrors} === null ? ${V} : ${o.default.vErrors}.concat(${V})`),E.assign(o.default.errors,(0,r._)`${o.default.vErrors}.length`)}function k(I){var V;if(!$.opts.unevaluated)return;const W=(V=g==null?void 0:g.validate)===null||V===void 0?void 0:V.evaluated;if($.props!==!0)if(W&&!W.dynamicProps)W.props!==void 0&&($.props=u.mergeEvaluated.props(E,W.props,$.props));else{const se=E.var("props",(0,r._)`${I}.evaluated.props`);$.props=u.mergeEvaluated.props(E,se,$.props,r.Name)}if($.items!==!0)if(W&&!W.dynamicItems)W.items!==void 0&&($.items=u.mergeEvaluated.items(E,W.items,$.items));else{const se=E.var("items",(0,r._)`${I}.evaluated.items`);$.items=u.mergeEvaluated.items(E,se,$.items,r.Name)}}}return Ln.callRef=h,Ln.default=l,Ln}var yl;function dv(){if(yl)return Ur;yl=1,Object.defineProperty(Ur,"__esModule",{value:!0});const t=fv(),n=hv(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,n.default];return Ur.default=r,Ur}var Wr={},Gr={},wl;function pv(){if(wl)return Gr;wl=1,Object.defineProperty(Gr,"__esModule",{value:!0});const t=Oe(),n=t.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},o={message:({keyword:u,schemaCode:l})=>(0,t.str)`must be ${r[u].okStr} ${l}`,params:({keyword:u,schemaCode:l})=>(0,t._)`{comparison: ${r[u].okStr}, limit: ${l}}`},a={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:o,code(u){const{keyword:l,data:f,schemaCode:h}=u;u.fail$data((0,t._)`${f} ${r[l].fail} ${h} || isNaN(${f})`)}};return Gr.default=a,Gr}var Jr={},bl;function mv(){if(bl)return Jr;bl=1,Object.defineProperty(Jr,"__esModule",{value:!0});const t=Oe(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must be multiple of ${o}`,params:({schemaCode:o})=>(0,t._)`{multipleOf: ${o}}`},code(o){const{gen:a,data:u,schemaCode:l,it:f}=o,h=f.opts.multipleOfPrecision,_=a.let("res"),m=h?(0,t._)`Math.abs(Math.round(${_}) - ${_}) > 1e-${h}`:(0,t._)`${_} !== parseInt(${_})`;o.fail$data((0,t._)`(${l} === 0 || (${_} = ${u}/${l}, ${m}))`)}};return Jr.default=r,Jr}var Yr={},Xr={},Pl;function _v(){if(Pl)return Xr;Pl=1,Object.defineProperty(Xr,"__esModule",{value:!0});function t(n){const r=n.length;let o=0,a=0,u;for(;a=55296&&u<=56319&&a(0,t._)`{limit: ${u}}`},code(u){const{keyword:l,data:f,schemaCode:h,it:_}=u,m=l==="maxLength"?t.operators.GT:t.operators.LT,g=_.opts.unicode===!1?(0,t._)`${f}.length`:(0,t._)`${(0,n.useFunc)(u.gen,r.default)}(${f})`;u.fail$data((0,t._)`${g} ${m} ${h}`)}};return Yr.default=a,Yr}var Qr={},$l;function vv(){if($l)return Qr;$l=1,Object.defineProperty(Qr,"__esModule",{value:!0});const t=Ht(),n=Oe(),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,n.str)`must match pattern "${a}"`,params:({schemaCode:a})=>(0,n._)`{pattern: ${a}}`},code(a){const{data:u,$data:l,schema:f,schemaCode:h,it:_}=a,m=_.opts.unicodeRegExp?"u":"",g=l?(0,n._)`(new RegExp(${h}, ${m}))`:(0,t.usePattern)(a,f);a.fail$data((0,n._)`!${g}.test(${u})`)}};return Qr.default=o,Qr}var es={},El;function yv(){if(El)return es;El=1,Object.defineProperty(es,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:a}){const u=o==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} properties`},params:({schemaCode:o})=>(0,t._)`{limit: ${o}}`},code(o){const{keyword:a,data:u,schemaCode:l}=o,f=a==="maxProperties"?t.operators.GT:t.operators.LT;o.fail$data((0,t._)`Object.keys(${u}).length ${f} ${l}`)}};return es.default=r,es}var ts={},Tl;function wv(){if(Tl)return ts;Tl=1,Object.defineProperty(ts,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=De(),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:u}})=>(0,n.str)`must have required property '${u}'`,params:({params:{missingProperty:u}})=>(0,n._)`{missingProperty: ${u}}`},code(u){const{gen:l,schema:f,schemaCode:h,data:_,$data:m,it:g}=u,{opts:b}=g;if(!m&&f.length===0)return;const E=f.length>=b.loopRequired;if(g.allErrors?$():C(),b.strictRequired){const p=u.parentSchema.properties,{definedProperties:v}=u.it;for(const R of f)if((p==null?void 0:p[R])===void 0&&!v.has(R)){const O=g.schemaEnv.baseId+g.errSchemaPath,k=`required property "${R}" is not defined at "${O}" (strictRequired)`;(0,r.checkStrictMode)(g,k,g.opts.strictRequired)}}function $(){if(E||m)u.block$data(n.nil,w);else for(const p of f)(0,t.checkReportMissingProp)(u,p)}function C(){const p=l.let("missing");if(E||m){const v=l.let("valid",!0);u.block$data(v,()=>P(p,v)),u.ok(v)}else l.if((0,t.checkMissingProp)(u,f,p)),(0,t.reportMissingProp)(u,p),l.else()}function w(){l.forOf("prop",h,p=>{u.setParams({missingProperty:p}),l.if((0,t.noPropertyInData)(l,_,p,b.ownProperties),()=>u.error())})}function P(p,v){u.setParams({missingProperty:p}),l.forOf(p,h,()=>{l.assign(v,(0,t.propertyInData)(l,_,p,b.ownProperties)),l.if((0,n.not)(v),()=>{u.error(),l.break()})},n.nil)}}};return ts.default=a,ts}var ns={},Rl;function bv(){if(Rl)return ns;Rl=1,Object.defineProperty(ns,"__esModule",{value:!0});const t=Oe(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:a}){const u=o==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${u} than ${a} items`},params:({schemaCode:o})=>(0,t._)`{limit: ${o}}`},code(o){const{keyword:a,data:u,schemaCode:l}=o,f=a==="maxItems"?t.operators.GT:t.operators.LT;o.fail$data((0,t._)`${u}.length ${f} ${l}`)}};return ns.default=r,ns}var is={},rs={},Ll;function Va(){if(Ll)return rs;Ll=1,Object.defineProperty(rs,"__esModule",{value:!0});const t=Kh();return t.code='require("ajv/dist/runtime/equal").default',rs.default=t,rs}var xl;function Pv(){if(xl)return is;xl=1,Object.defineProperty(is,"__esModule",{value:!0});const t=Ms(),n=Oe(),r=De(),o=Va(),u={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:l,j:f}})=>(0,n.str)`must NOT have duplicate items (items ## ${f} and ${l} are identical)`,params:({params:{i:l,j:f}})=>(0,n._)`{i: ${l}, j: ${f}}`},code(l){const{gen:f,data:h,$data:_,schema:m,parentSchema:g,schemaCode:b,it:E}=l;if(!_&&!m)return;const $=f.let("valid"),C=g.items?(0,t.getSchemaTypes)(g.items):[];l.block$data($,w,(0,n._)`${b} === false`),l.ok($);function w(){const R=f.let("i",(0,n._)`${h}.length`),O=f.let("j");l.setParams({i:R,j:O}),f.assign($,!0),f.if((0,n._)`${R} > 1`,()=>(P()?p:v)(R,O))}function P(){return C.length>0&&!C.some(R=>R==="object"||R==="array")}function p(R,O){const k=f.name("item"),I=(0,t.checkDataTypes)(C,k,E.opts.strictNumbers,t.DataType.Wrong),V=f.const("indices",(0,n._)`{}`);f.for((0,n._)`;${R}--;`,()=>{f.let(k,(0,n._)`${h}[${R}]`),f.if(I,(0,n._)`continue`),C.length>1&&f.if((0,n._)`typeof ${k} == "string"`,(0,n._)`${k} += "_"`),f.if((0,n._)`typeof ${V}[${k}] == "number"`,()=>{f.assign(O,(0,n._)`${V}[${k}]`),l.error(),f.assign($,!1).break()}).code((0,n._)`${V}[${k}] = ${R}`)})}function v(R,O){const k=(0,r.useFunc)(f,o.default),I=f.name("outer");f.label(I).for((0,n._)`;${R}--;`,()=>f.for((0,n._)`${O} = ${R}; ${O}--;`,()=>f.if((0,n._)`${k}(${h}[${R}], ${h}[${O}])`,()=>{l.error(),f.assign($,!1).break(I)})))}}};return is.default=u,is}var ss={},Cl;function Sv(){if(Cl)return ss;Cl=1,Object.defineProperty(ss,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:u})=>(0,t._)`{allowedValue: ${u}}`},code(u){const{gen:l,data:f,$data:h,schemaCode:_,schema:m}=u;h||m&&typeof m=="object"?u.fail$data((0,t._)`!${(0,n.useFunc)(l,r.default)}(${f}, ${_})`):u.fail((0,t._)`${m} !== ${f}`)}};return ss.default=a,ss}var os={},kl;function $v(){if(kl)return os;kl=1,Object.defineProperty(os,"__esModule",{value:!0});const t=Oe(),n=De(),r=Va(),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:u})=>(0,t._)`{allowedValues: ${u}}`},code(u){const{gen:l,data:f,$data:h,schema:_,schemaCode:m,it:g}=u;if(!h&&_.length===0)throw new Error("enum must have non-empty array");const b=_.length>=g.opts.loopEnum;let E;const $=()=>E??(E=(0,n.useFunc)(l,r.default));let C;if(b||h)C=l.let("valid"),u.block$data(C,w);else{if(!Array.isArray(_))throw new Error("ajv implementation error");const p=l.const("vSchema",m);C=(0,t.or)(..._.map((v,R)=>P(p,R)))}u.pass(C);function w(){l.assign(C,!1),l.forOf("v",m,p=>l.if((0,t._)`${$()}(${f}, ${p})`,()=>l.assign(C,!0).break()))}function P(p,v){const R=_[v];return typeof R=="object"&&R!==null?(0,t._)`${$()}(${f}, ${p}[${v}])`:(0,t._)`${f} === ${R}`}}};return os.default=a,os}var Ol;function Ev(){if(Ol)return Wr;Ol=1,Object.defineProperty(Wr,"__esModule",{value:!0});const t=pv(),n=mv(),r=gv(),o=vv(),a=yv(),u=wv(),l=bv(),f=Pv(),h=Sv(),_=$v(),m=[t.default,n.default,r.default,o.default,a.default,u.default,l.default,f.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},h.default,_.default];return Wr.default=m,Wr}var as={},mi={},Al;function Wh(){if(Al)return mi;Al=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.validateAdditionalItems=void 0;const t=Oe(),n=De(),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,t.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,t._)`{limit: ${u}}`},code(u){const{parentSchema:l,it:f}=u,{items:h}=l;if(!Array.isArray(h)){(0,n.checkStrictMode)(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}a(u,h)}};function a(u,l){const{gen:f,schema:h,data:_,keyword:m,it:g}=u;g.items=!0;const b=f.const("len",(0,t._)`${_}.length`);if(h===!1)u.setParams({len:l.length}),u.pass((0,t._)`${b} <= ${l.length}`);else if(typeof h=="object"&&!(0,n.alwaysValidSchema)(g,h)){const $=f.var("valid",(0,t._)`${b} <= ${l.length}`);f.if((0,t.not)($),()=>E($)),u.ok($)}function E($){f.forRange("i",l.length,b,C=>{u.subschema({keyword:m,dataProp:C,dataPropType:n.Type.Num},$),g.allErrors||f.if((0,t.not)($),()=>f.break())})}}return mi.validateAdditionalItems=a,mi.default=o,mi}var us={},_i={},Il;function Gh(){if(Il)return _i;Il=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.validateTuple=void 0;const t=Oe(),n=De(),r=Ht(),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(u){const{schema:l,it:f}=u;if(Array.isArray(l))return a(u,"additionalItems",l);f.items=!0,!(0,n.alwaysValidSchema)(f,l)&&u.ok((0,r.validateArray)(u))}};function a(u,l,f=u.schema){const{gen:h,parentSchema:_,data:m,keyword:g,it:b}=u;C(_),b.opts.unevaluated&&f.length&&b.items!==!0&&(b.items=n.mergeEvaluated.items(h,f.length,b.items));const E=h.name("valid"),$=h.const("len",(0,t._)`${m}.length`);f.forEach((w,P)=>{(0,n.alwaysValidSchema)(b,w)||(h.if((0,t._)`${$} > ${P}`,()=>u.subschema({keyword:g,schemaProp:P,dataProp:P},E)),u.ok(E))});function C(w){const{opts:P,errSchemaPath:p}=b,v=f.length,R=v===w.minItems&&(v===w.maxItems||w[l]===!1);if(P.strictTuples&&!R){const O=`"${g}" is ${v}-tuple, but minItems or maxItems/${l} are not specified or different at path "${p}"`;(0,n.checkStrictMode)(b,O,P.strictTuples)}}}return _i.validateTuple=a,_i.default=o,_i}var Ml;function Tv(){if(Ml)return us;Ml=1,Object.defineProperty(us,"__esModule",{value:!0});const t=Gh(),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,t.validateTuple)(r,"items")};return us.default=n,us}var cs={},Nl;function Rv(){if(Nl)return cs;Nl=1,Object.defineProperty(cs,"__esModule",{value:!0});const t=Oe(),n=De(),r=Ht(),o=Wh(),u={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,t.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,t._)`{limit: ${l}}`},code(l){const{schema:f,parentSchema:h,it:_}=l,{prefixItems:m}=h;_.items=!0,!(0,n.alwaysValidSchema)(_,f)&&(m?(0,o.validateAdditionalItems)(l,m):l.ok((0,r.validateArray)(l)))}};return cs.default=u,cs}var ls={},zl;function Lv(){if(zl)return ls;zl=1,Object.defineProperty(ls,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:a,max:u}})=>u===void 0?(0,t.str)`must contain at least ${a} valid item(s)`:(0,t.str)`must contain at least ${a} and no more than ${u} valid item(s)`,params:({params:{min:a,max:u}})=>u===void 0?(0,t._)`{minContains: ${a}}`:(0,t._)`{minContains: ${a}, maxContains: ${u}}`},code(a){const{gen:u,schema:l,parentSchema:f,data:h,it:_}=a;let m,g;const{minContains:b,maxContains:E}=f;_.opts.next?(m=b===void 0?1:b,g=E):m=1;const $=u.const("len",(0,t._)`${h}.length`);if(a.setParams({min:m,max:g}),g===void 0&&m===0){(0,n.checkStrictMode)(_,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(g!==void 0&&m>g){(0,n.checkStrictMode)(_,'"minContains" > "maxContains" is always invalid'),a.fail();return}if((0,n.alwaysValidSchema)(_,l)){let v=(0,t._)`${$} >= ${m}`;g!==void 0&&(v=(0,t._)`${v} && ${$} <= ${g}`),a.pass(v);return}_.items=!0;const C=u.name("valid");g===void 0&&m===1?P(C,()=>u.if(C,()=>u.break())):m===0?(u.let(C,!0),g!==void 0&&u.if((0,t._)`${h}.length > 0`,w)):(u.let(C,!1),w()),a.result(C,()=>a.reset());function w(){const v=u.name("_valid"),R=u.let("count",0);P(v,()=>u.if(v,()=>p(R)))}function P(v,R){u.forRange("i",0,$,O=>{a.subschema({keyword:"contains",dataProp:O,dataPropType:n.Type.Num,compositeRule:!0},v),R()})}function p(v){u.code((0,t._)`${v}++`),g===void 0?u.if((0,t._)`${v} >= ${m}`,()=>u.assign(C,!0).break()):(u.if((0,t._)`${v} > ${g}`,()=>u.assign(C,!1).break()),m===1?u.assign(C,!0):u.if((0,t._)`${v} >= ${m}`,()=>u.assign(C,!0)))}}};return ls.default=o,ls}var oa={},Dl;function xv(){return Dl||(Dl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=Oe(),r=De(),o=Ht();t.error={message:({params:{property:h,depsCount:_,deps:m}})=>{const g=_===1?"property":"properties";return(0,n.str)`must have ${g} ${m} when property ${h} is present`},params:({params:{property:h,depsCount:_,deps:m,missingProperty:g}})=>(0,n._)`{property: ${h}, missingProperty: ${g}, depsCount: ${_}, - deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(d){const[_,m]=u(d);c(d,_),f(d,m)}};function u({schema:d}){const _={},m={};for(const g in d){if(g==="__proto__")continue;const b=Array.isArray(d[g])?_:m;b[g]=d[g]}return[_,m]}function c(d,_=d.schema){const{gen:m,data:g,it:b}=d;if(Object.keys(_).length===0)return;const T=m.let("missing");for(const $ in _){const C=_[$];if(C.length===0)continue;const w=(0,o.propertyInData)(m,g,$,b.opts.ownProperties);d.setParams({property:$,depsCount:C.length,deps:C.join(", ")}),b.allErrors?m.if(w,()=>{for(const P of C)(0,o.checkReportMissingProp)(d,P)}):(m.if((0,n._)`${w} && (${(0,o.checkMissingProp)(d,C,T)})`),(0,o.reportMissingProp)(d,T),m.else())}}t.validatePropertyDeps=c;function f(d,_=d.schema){const{gen:m,data:g,keyword:b,it:T}=d,$=m.name("valid");for(const C in _)(0,r.alwaysValidSchema)(T,_[C])||(m.if((0,o.propertyInData)(m,g,C,T.opts.ownProperties),()=>{const w=d.subschema({keyword:b,schemaProp:C},$);d.mergeValidEvaluated(w,$)},()=>m.var($,!0)),d.ok($))}t.validateSchemaDeps=f,t.default=a}(oa)),oa}var hs={},jl;function Cv(){if(jl)return hs;jl=1,Object.defineProperty(hs,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:a})=>(0,t._)`{propertyName: ${a.propertyName}}`},code(a){const{gen:u,schema:c,data:f,it:d}=a;if((0,n.alwaysValidSchema)(d,c))return;const _=u.name("valid");u.forIn("key",f,m=>{a.setParams({propertyName:m}),a.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},_),u.if((0,t.not)(_),()=>{a.error(!0),d.allErrors||u.break()})}),a.ok(_)}};return hs.default=o,hs}var ps={},Bl;function Jd(){if(Bl)return ps;Bl=1,Object.defineProperty(ps,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=zn(),o=De(),u={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:c})=>(0,n._)`{additionalProperty: ${c.additionalProperty}}`},code(c){const{gen:f,schema:d,parentSchema:_,data:m,errsCount:g,it:b}=c;if(!g)throw new Error("ajv implementation error");const{allErrors:T,opts:$}=b;if(b.props=!0,$.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(b,d))return;const C=(0,t.allSchemaProperties)(_.properties),w=(0,t.allSchemaProperties)(_.patternProperties);P(),c.ok((0,n._)`${g} === ${r.default.errors}`);function P(){f.forIn("key",m,k=>{!C.length&&!w.length?R(k):f.if(p(k),()=>R(k))})}function p(k){let I;if(C.length>8){const V=(0,o.schemaRefOrVal)(b,_.properties,"properties");I=(0,t.isOwnProperty)(f,V,k)}else C.length?I=(0,n.or)(...C.map(V=>(0,n._)`${k} === ${V}`)):I=n.nil;return w.length&&(I=(0,n.or)(I,...w.map(V=>(0,n._)`${(0,t.usePattern)(c,V)}.test(${k})`))),(0,n.not)(I)}function v(k){f.code((0,n._)`delete ${m}[${k}]`)}function R(k){if($.removeAdditional==="all"||$.removeAdditional&&d===!1){v(k);return}if(d===!1){c.setParams({additionalProperty:k}),c.error(),T||f.break();return}if(typeof d=="object"&&!(0,o.alwaysValidSchema)(b,d)){const I=f.name("valid");$.removeAdditional==="failing"?(O(k,I,!1),f.if((0,n.not)(I),()=>{c.reset(),v(k)})):(O(k,I),T||f.if((0,n.not)(I),()=>f.break()))}}function O(k,I,V){const K={keyword:"additionalProperties",dataProp:k,dataPropType:o.Type.Str};V===!1&&Object.assign(K,{compositeRule:!0,createErrors:!1,allErrors:!1}),c.subschema(K,I)}}};return ps.default=u,ps}var ms={},ql;function kv(){if(ql)return ms;ql=1,Object.defineProperty(ms,"__esModule",{value:!0});const t=ro(),n=Ht(),r=De(),o=Jd(),a={keyword:"properties",type:"object",schemaType:"object",code(u){const{gen:c,schema:f,parentSchema:d,data:_,it:m}=u;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&o.default.code(new t.KeywordCxt(m,o.default,"additionalProperties"));const g=(0,n.allSchemaProperties)(f);for(const w of g)m.definedProperties.add(w);m.opts.unevaluated&&g.length&&m.props!==!0&&(m.props=r.mergeEvaluated.props(c,(0,r.toHash)(g),m.props));const b=g.filter(w=>!(0,r.alwaysValidSchema)(m,f[w]));if(b.length===0)return;const T=c.name("valid");for(const w of b)$(w)?C(w):(c.if((0,n.propertyInData)(c,_,w,m.opts.ownProperties)),C(w),m.allErrors||c.else().var(T,!0),c.endIf()),u.it.definedProperties.add(w),u.ok(T);function $(w){return m.opts.useDefaults&&!m.compositeRule&&f[w].default!==void 0}function C(w){u.subschema({keyword:"properties",schemaProp:w,dataProp:w},T)}}};return ms.default=a,ms}var _s={},Zl;function Ov(){if(Zl)return _s;Zl=1,Object.defineProperty(_s,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=De(),o=De(),a={keyword:"patternProperties",type:"object",schemaType:"object",code(u){const{gen:c,schema:f,data:d,parentSchema:_,it:m}=u,{opts:g}=m,b=(0,t.allSchemaProperties)(f),T=b.filter(R=>(0,r.alwaysValidSchema)(m,f[R]));if(b.length===0||T.length===b.length&&(!m.opts.unevaluated||m.props===!0))return;const $=g.strictSchema&&!g.allowMatchingProperties&&_.properties,C=c.name("valid");m.props!==!0&&!(m.props instanceof n.Name)&&(m.props=(0,o.evaluatedPropsToName)(c,m.props));const{props:w}=m;P();function P(){for(const R of b)$&&p(R),m.allErrors?v(R):(c.var(C,!0),v(R),c.if(C))}function p(R){for(const O in $)new RegExp(R).test(O)&&(0,r.checkStrictMode)(m,`property ${O} matches pattern ${R} (use allowMatchingProperties)`)}function v(R){c.forIn("key",d,O=>{c.if((0,n._)`${(0,t.usePattern)(u,R)}.test(${O})`,()=>{const k=T.includes(R);k||u.subschema({keyword:"patternProperties",schemaProp:R,dataProp:O,dataPropType:o.Type.Str},C),m.opts.unevaluated&&w!==!0?c.assign((0,n._)`${w}[${O}]`,!0):!k&&!m.allErrors&&c.if((0,n.not)(C),()=>c.break())})})}}};return _s.default=a,_s}var gs={},Fl;function Av(){if(Fl)return gs;Fl=1,Object.defineProperty(gs,"__esModule",{value:!0});const t=De(),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:o,schema:a,it:u}=r;if((0,t.alwaysValidSchema)(u,a)){r.fail();return}const c=o.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},c),r.failResult(c,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return gs.default=n,gs}var vs={},Vl;function Iv(){if(Vl)return vs;Vl=1,Object.defineProperty(vs,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ht().validateUnion,error:{message:"must match a schema in anyOf"}};return vs.default=n,vs}var ys={},Hl;function Mv(){if(Hl)return ys;Hl=1,Object.defineProperty(ys,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:a})=>(0,t._)`{passingSchemas: ${a.passing}}`},code(a){const{gen:u,schema:c,parentSchema:f,it:d}=a;if(!Array.isArray(c))throw new Error("ajv implementation error");if(d.opts.discriminator&&f.discriminator)return;const _=c,m=u.let("valid",!1),g=u.let("passing",null),b=u.name("_valid");a.setParams({passing:g}),u.block(T),a.result(m,()=>a.reset(),()=>a.error(!0));function T(){_.forEach(($,C)=>{let w;(0,n.alwaysValidSchema)(d,$)?u.var(b,!0):w=a.subschema({keyword:"oneOf",schemaProp:C,compositeRule:!0},b),C>0&&u.if((0,t._)`${b} && ${m}`).assign(m,!1).assign(g,(0,t._)`[${g}, ${C}]`).else(),u.if(b,()=>{u.assign(m,!0),u.assign(g,C),w&&a.mergeEvaluated(w,t.Name)})})}}};return ys.default=o,ys}var ws={},Ul;function Nv(){if(Ul)return ws;Ul=1,Object.defineProperty(ws,"__esModule",{value:!0});const t=De(),n={keyword:"allOf",schemaType:"array",code(r){const{gen:o,schema:a,it:u}=r;if(!Array.isArray(a))throw new Error("ajv implementation error");const c=o.name("valid");a.forEach((f,d)=>{if((0,t.alwaysValidSchema)(u,f))return;const _=r.subschema({keyword:"allOf",schemaProp:d},c);r.ok(c),r.mergeEvaluated(_)})}};return ws.default=n,ws}var bs={},Wl;function zv(){if(Wl)return bs;Wl=1,Object.defineProperty(bs,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:u})=>(0,t.str)`must match "${u.ifClause}" schema`,params:({params:u})=>(0,t._)`{failingKeyword: ${u.ifClause}}`},code(u){const{gen:c,parentSchema:f,it:d}=u;f.then===void 0&&f.else===void 0&&(0,n.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const _=a(d,"then"),m=a(d,"else");if(!_&&!m)return;const g=c.let("valid",!0),b=c.name("_valid");if(T(),u.reset(),_&&m){const C=c.let("ifClause");u.setParams({ifClause:C}),c.if(b,$("then",C),$("else",C))}else _?c.if(b,$("then")):c.if((0,t.not)(b),$("else"));u.pass(g,()=>u.error(!0));function T(){const C=u.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},b);u.mergeEvaluated(C)}function $(C,w){return()=>{const P=u.subschema({keyword:C},b);c.assign(g,b),u.mergeValidEvaluated(P,g),w?c.assign(w,(0,t._)`${C}`):u.setParams({ifClause:C})}}}};function a(u,c){const f=u.schema[c];return f!==void 0&&!(0,n.alwaysValidSchema)(u,f)}return bs.default=o,bs}var Ps={},Kl;function Dv(){if(Kl)return Ps;Kl=1,Object.defineProperty(Ps,"__esModule",{value:!0});const t=De(),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:o,it:a}){o.if===void 0&&(0,t.checkStrictMode)(a,`"${r}" without "if" is ignored`)}};return Ps.default=n,Ps}var Gl;function jv(){if(Gl)return cs;Gl=1,Object.defineProperty(cs,"__esModule",{value:!0});const t=Kd(),n=Ev(),r=Gd(),o=Rv(),a=Lv(),u=xv(),c=Cv(),f=Jd(),d=kv(),_=Ov(),m=Av(),g=Iv(),b=Mv(),T=Nv(),$=zv(),C=Dv();function w(P=!1){const p=[m.default,g.default,b.default,T.default,$.default,C.default,c.default,f.default,u.default,d.default,_.default];return P?p.push(n.default,o.default):p.push(t.default,r.default),p.push(a.default),p}return cs.default=w,cs}var Ss={},$s={},Jl;function Bv(){if(Jl)return $s;Jl=1,Object.defineProperty($s,"__esModule",{value:!0});const t=Oe(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must match format "${o}"`,params:({schemaCode:o})=>(0,t._)`{format: ${o}}`},code(o,a){const{gen:u,data:c,$data:f,schema:d,schemaCode:_,it:m}=o,{opts:g,errSchemaPath:b,schemaEnv:T,self:$}=m;if(!g.validateFormats)return;f?C():w();function C(){const P=u.scopeValue("formats",{ref:$.formats,code:g.code.formats}),p=u.const("fDef",(0,t._)`${P}[${_}]`),v=u.let("fType"),R=u.let("format");u.if((0,t._)`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>u.assign(v,(0,t._)`${p}.type || "string"`).assign(R,(0,t._)`${p}.validate`),()=>u.assign(v,(0,t._)`"string"`).assign(R,p)),o.fail$data((0,t.or)(O(),k()));function O(){return g.strictSchema===!1?t.nil:(0,t._)`${_} && !${R}`}function k(){const I=T.$async?(0,t._)`(${p}.async ? await ${R}(${c}) : ${R}(${c}))`:(0,t._)`${R}(${c})`,V=(0,t._)`(typeof ${R} == "function" ? ${I} : ${R}.test(${c}))`;return(0,t._)`${R} && ${R} !== true && ${v} === ${a} && !${V}`}}function w(){const P=$.formats[d];if(!P){O();return}if(P===!0)return;const[p,v,R]=k(P);p===a&&o.pass(I());function O(){if(g.strictSchema===!1){$.logger.warn(V());return}throw new Error(V());function V(){return`unknown format "${d}" ignored in schema at path "${b}"`}}function k(V){const K=V instanceof RegExp?(0,t.regexpCode)(V):g.code.formats?(0,t._)`${g.code.formats}${(0,t.getProperty)(d)}`:void 0,se=u.scopeValue("formats",{key:d,ref:V,code:K});return typeof V=="object"&&!(V instanceof RegExp)?[V.type||"string",V.validate,(0,t._)`${se}.validate`]:["string",V,se]}function I(){if(typeof P=="object"&&!(P instanceof RegExp)&&P.async){if(!T.$async)throw new Error("async format in sync schema");return(0,t._)`await ${R}(${c})`}return typeof v=="function"?(0,t._)`${R}(${c})`:(0,t._)`${R}.test(${c})`}}}};return $s.default=r,$s}var Yl;function qv(){if(Yl)return Ss;Yl=1,Object.defineProperty(Ss,"__esModule",{value:!0});const n=[Bv().default];return Ss.default=n,Ss}var Gn={},Xl;function Zv(){return Xl||(Xl=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.contentVocabulary=Gn.metadataVocabulary=void 0,Gn.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Gn.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Gn}var Ql;function Fv(){if(Ql)return Wr;Ql=1,Object.defineProperty(Wr,"__esModule",{value:!0});const t=hv(),n=Tv(),r=jv(),o=qv(),a=Zv(),u=[t.default,n.default,(0,r.default)(),o.default,a.metadataVocabulary,a.contentVocabulary];return Wr.default=u,Wr}var Ts={},Gi={},ef;function Vv(){if(ef)return Gi;ef=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.DiscrError=void 0;var t;return function(n){n.Tag="tag",n.Mapping="mapping"}(t||(Gi.DiscrError=t={})),Gi}var tf;function Hv(){if(tf)return Ts;tf=1,Object.defineProperty(Ts,"__esModule",{value:!0});const t=Oe(),n=Vv(),r=Fa(),o=so(),a=De(),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:f,tagName:d}})=>f===n.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:f,tag:d,tagName:_}})=>(0,t._)`{error: ${f}, tag: ${_}, tagValue: ${d}}`},code(f){const{gen:d,data:_,schema:m,parentSchema:g,it:b}=f,{oneOf:T}=g;if(!b.opts.discriminator)throw new Error("discriminator: requires discriminator option");const $=m.propertyName;if(typeof $!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!T)throw new Error("discriminator: requires oneOf keyword");const C=d.let("valid",!1),w=d.const("tag",(0,t._)`${_}${(0,t.getProperty)($)}`);d.if((0,t._)`typeof ${w} == "string"`,()=>P(),()=>f.error(!1,{discrError:n.DiscrError.Tag,tag:w,tagName:$})),f.ok(C);function P(){const R=v();d.if(!1);for(const O in R)d.elseIf((0,t._)`${w} === ${O}`),d.assign(C,p(R[O]));d.else(),f.error(!1,{discrError:n.DiscrError.Mapping,tag:w,tagName:$}),d.endIf()}function p(R){const O=d.name("valid"),k=f.subschema({keyword:"oneOf",schemaProp:R},O);return f.mergeEvaluated(k,t.Name),O}function v(){var R;const O={},k=V(g);let I=!0;for(let ie=0;iethis.addVocabulary($)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const $=this.opts.$data?this.$dataMetaSchema(u,c):u;this.addMetaSchema($,f,!1),this.refs["http://json-schema.org/schema"]=f}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(f)?f:void 0)}}n.Ajv=d,t.exports=n=d,t.exports.Ajv=d,Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var _=ro();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return _.KeywordCxt}});var m=Oe();Object.defineProperty(n,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var g=Za();Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return g.default}});var b=so();Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return b.default}})}(Zr,Zr.exports)),Zr.exports}var ey=Qv();const ty=Vd(ey),yr=new ty({coerceTypes:!0}),ny={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};yr.compile(ny);const iy={type:"object",properties:{Artist:{type:"string",nullable:!0},Description:{type:"string",nullable:!0},Photograph:{type:"object",properties:{Image:{type:"string"},Photographer:{type:"string"}},required:["Image","Photographer"],nullable:!0},Location:{type:"object",properties:{Coordinates:{type:"string",nullable:!0},"Located On":{type:"string"}},required:["Located On"],nullable:!0},Medium:{type:"string",nullable:!0},Title:{type:"string",nullable:!0}},additionalProperties:!0},Yd=yr.compile(iy),ry={type:"object",properties:{type:{type:"string"},features:{type:"array",items:{type:"object",properties:{id:{type:"string"},type:{type:"string"},geometry:{type:"object",properties:{type:{type:"string"},coordinates:{type:"array",items:{type:"number"}}},required:["type","coordinates"]},properties:{type:"object",properties:{nodeId:{type:"string"}},required:["nodeId"]}},required:["id","type","properties"]}}},nullable:!0,required:["type","features"]};yr.compile(ry);const sy={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};yr.compile(sy);var gn=(t=>(t.ARTWORK="Artwork",t.ARTIST="Artist",t.STRUCTURE="Structure",t.PHOTOGRAPHER="Photographer",t))(gn||{});const oy={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};yr.compile(oy);const ti=(t,n,r,o)=>{if(o.graphIdToNameTable[t.graph_id]==="Artwork"){const c=n.find(f=>f.resourceinstance_id===t.resourceinstanceid);return(c==null?void 0:c.data[o.imageNodeId])??void 0}const a=r.find(c=>c.resourceinstanceidto_id===t.resourceinstanceid&&c.resourceinstancefrom_graphid_id===o.nameToGraphIdTable.Artwork);if(!a)return;const u=n.find(c=>c.resourceinstance_id===a.resourceinstanceidfrom_id);return(u==null?void 0:u.data[o.imageNodeId])??void 0},ay=(t,n,r,o)=>{if(o.graphIdToNameTable[t.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===t.resourceinstanceid&&f.resourceinstancefrom_graphid_id===o.nameToGraphIdTable.Artwork);if(!a)return;const u=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>u.includes(f.resourceinstanceid))??void 0},Ri=(t,n,r,o)=>{const a=r.find(c=>c.resourceinstanceidfrom_id===t.resourceinstanceid&&c.resourceinstanceto_graphid_id===o.nameToGraphIdTable.Artist);return a?n==null?void 0:n.find(c=>c.resourceinstanceid===a.resourceinstanceidto_id):void 0},uy=t=>t.split("|"),cy={class:"search-result"},ly={class:"metadata"},fy={class:"title-wrapper"},dy={class:"title"},hy={key:0,class:"artist-credit"},py=["src"],my=["src"],_y=st({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{},artist:{}},setup(t){const n=t,r=!0,o=n.imageTileData?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,u)=>{const c=ki("RouterLink");return he(o)!==void 0?(de(),Ze(c,{key:0,to:`/wac/resource/${n.resourceId}`,class:"search-item-container"},{default:it(()=>{var f,d;return[ne("div",cy,[ne("div",ly,[ne("div",fy,[n.resourceType==="Artwork"?(de(),Ze(he(gr),{key:0,class:"search-list-item-icon"})):Ve("",!0),n.resourceType==="Artist"?(de(),Ze(he(vr),{key:1,class:"search-list-item-icon"})):Ve("",!0),ne("div",dy,en(n.resourceName),1)]),n.resourceType==="Artwork"?(de(),be("div",hy,en((f=n.artist)!=null&&f.displayname?` by ${(d=n.artist)==null?void 0:d.displayname}`:""),1)):Ve("",!0)]),he(o)?(de(),be("img",{key:0,class:"image",src:he(o),alt:"thumbnail image"},null,8,py)):(de(),be("img",{key:1,class:"image",src:he(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available"},null,8,my))])]}),_:1},8,["to"])):Ve("",!0)}}}),zt=(t,n)=>{const r=t.__vccOpts||t;for(const[o,a]of n)r[o]=a;return r},Li=zt(_y,[["__scopeId","data-v-ee4fd092"]]),gy={class:"search-list-container"},vy={class:"search-content-container"},yy={key:0,class:"search-results-container"},wy={class:"search-results-header"},by={class:"search-results-header-title"},Py={class:"search-results-landing"},Sy={key:0,class:"search-results-container"},$y={class:"search-results-header"},Ty={class:"search-results-header-title"},Ey={class:"search-results-landing"},Ry={key:0,class:"search-results-container"},Ly={class:"search-results-header"},xy={class:"search-results-header-title"},Cy={class:"search-results"},ky=st({__name:"SearchList",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=eo(),r=Ke(null),o=t,a=o.resourcesPrefetch.filter(f=>o.idReferences.graphIdToNameTable[f.graph_id]==="Artwork").slice(0,4),u=o.resourcesPrefetch.filter(f=>o.idReferences.graphIdToNameTable[f.graph_id]==="Artist").reverse().slice(0,8),c=rt(()=>o.resourcesPrefetch.filter(f=>{const d=f.descriptors.en.name.toLowerCase().includes(o.query.toLowerCase()),_=r.value?o.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return d&&_}));return(f,d)=>(de(),be("div",gy,[ne("div",vy,[ke(Ei,null,{default:it(()=>[o.query===""&&r.value===null?(de(),be("div",yy,[ne("div",wy,[ne("div",by,[ke(he(gr),{class:"search-results-header-icon"}),d[2]||(d[2]=ne("h1",null,"Artworks",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:d[0]||(d[0]=_=>he(n).push("/artworks"))}," SEE ALL ")]),ne("div",Py,[(de(!0),be(Je,null,nn(he(a),_=>(de(),Ze(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":he(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:he(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ei,null,{default:it(()=>[o.query===""&&r.value===null?(de(),be("div",Sy,[ne("div",$y,[ne("div",Ty,[ke(he(vr),{class:"search-results-header-icon"}),d[3]||(d[3]=ne("h1",null,"Artists",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:d[1]||(d[1]=_=>he(n).push("/artists"))}," SEE ALL ")]),ne("div",Ey,[(de(!0),be(Je,null,nn(he(u),_=>(de(),Ze(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":he(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:he(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1}),ke(Ei,null,{default:it(()=>[o.query!==""&&r.value===null?(de(),be("div",Ry,[ne("div",Ly,[ne("div",xy,[ke(he(Fd),{class:"search-results-header-icon"}),d[4]||(d[4]=ne("h1",null,"Search Results",-1))])]),ne("div",Cy,[(de(!0),be(Je,null,nn(c.value,_=>(de(),Ze(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":he(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:he(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ve("",!0)]),_:1})])]))}}),Oy=zt(ky,[["__scopeId","data-v-e4a8a664"]]),Ay=st({__name:"SearchView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t;return(r,o)=>(de(),Ze(Oy,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"route-query":n.routeQuery,query:r.query},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references","route-query","query"]))}}),Iy=st({__name:"ResourcePanelProvider",props:{id:{}},setup(t){const n=t,r=to(),o=Ke(),a=Ke(),u=Ke(!1);async function c(){try{const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});_.search=m.toString();const b=await(await fetch(_.toString())).json();o.value=b}catch{o.value=void 0,u.value=!0}}async function f(){const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(_.toString()).then(g=>g.json());a.value=m.related_resources.related_resources}async function d(){try{await c(),await f()}catch{u.value=!0}}return vn(()=>r.params.id,d,{immediate:!0}),(_,m)=>(de(),Ze(Ei,null,{default:it(()=>[o.value&&a.value?Qn(_.$slots,"default",{key:0,resource:o.value,resourceRelations:a.value,error:u.value}):Ve("",!0)]),_:3}))}}),My={},Ny={key:0,class:"resource-detail-more-by-artist"};function zy(t,n){return de(),be(Je,null,[n[0]||(n[0]=ne("div",{class:"resource-detail-header"},null,-1)),Qn(t.$slots,"items",{},void 0,!0),t.$slots["more-by-artist"]?(de(),be("div",Ny,[Qn(t.$slots,"more-by-artist",{},void 0,!0)])):Ve("",!0),n[1]||(n[1]=ne("div",null,null,-1))],64)}const Dy=zt(My,[["render",zy],["__scopeId","data-v-70164744"]]),jy={class:"resource-detail-item"},By={class:"resource-detail-item-header"},qy={key:0,class:"resource-detail-item-title"},Zy={key:1,class:"resource-detail-item-byline"},Fy={key:0,class:"resource-detail-item-image"},Vy=["src"],Hy=["src"],Uy={key:1,class:"resource-detail-item-credit"},Wy={key:1,class:"resource-detail-item-description"},Ky=st({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(t){const r=t,o=rt(()=>r.imageUrl?uy(r.imageUrl).map(a=>"https://arches.arches-app-demo.opentechstrategies.com"+a.trim()):void 0);return(a,u)=>(de(),be("div",jy,[ne("div",By,[a.$slots["item-header-title"]?(de(),be("div",qy,[Qn(a.$slots,"item-header-title",{},void 0,!0)])):Ve("",!0),a.$slots["item-header-byline"]?(de(),be("div",Zy,[Qn(a.$slots,"item-header-byline",{},void 0,!0)])):Ve("",!0)]),o.value?(de(),be("figure",Fy,[(de(!0),be(Je,null,nn(o.value,c=>(de(),be("img",{key:c,src:c,alt:"resource image"},null,8,Vy))),128)),o.value?Ve("",!0):(de(),be("img",{key:0,src:he(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Hy)),a.$slots["item-credit"]?(de(),be("figcaption",Uy,[Qn(a.$slots,"item-credit",{},void 0,!0)])):Ve("",!0)])):Ve("",!0),a.$slots["item-description"]?(de(),be("div",Wy,[Qn(a.$slots,"item-description",{},void 0,!0)])):Ve("",!0)]))}}),Gy=zt(Ky,[["__scopeId","data-v-f639004e"]]),Jy={key:0},Yy={key:1},Xd=st({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(t){const n=Ke(),r=Ke(),o=Ke(),a=t,{graphIdToNameTable:u}=a.idReferences;return vn(()=>a.resourceRelations,c=>{n.value=c.find(f=>u[f.graph_id]==="Photographer"),r.value=c.find(f=>u[f.graph_id]==="Structure"),o.value=c.find(f=>u[f.graph_id]==="Artist")},{immediate:!0}),(c,f)=>{var _;const d=ki("RouterLink");return a.panelResourceType!==void 0?(de(),Ze(Gy,{key:0,"image-url":(_=a.artwork.Photograph)==null?void 0:_.Image},rd({_:2},[a.panelResourceType!==he(gn).ARTWORK?{name:"item-header-title",fn:it(()=>[ke(d,{to:`/wac/resource/${a.artworkId}`,class:"resource-link"},{default:it(()=>[An(en(c.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,o.value&&r.value?{name:"item-header-byline",fn:it(()=>[ne("span",null,[a.panelResourceType!==he(gn).ARTIST?(de(),be("span",Jy,[f[0]||(f[0]=An("by ")),ke(d,{to:`/wac/resource/${o.value.resourceinstanceid}`,class:"resource-link"},{default:it(()=>[An(en(o.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),a.panelResourceType!==he(gn).STRUCTURE?(de(),be("span",Yy," at "+en(r.value.displayname),1)):Ve("",!0)])]),key:"1"}:void 0,a.artwork.Description&&a.panelResourceType===he(gn).ARTWORK?{name:"item-description",fn:it(()=>[ne("p",null,en(a.artwork.Description),1)]),key:"2"}:void 0]),1032,["image-url"])):Ve("",!0)}}}),aa=st({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences,o=Ke(),a=Ke();async function u(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.relatedArtwork.resourceinstanceid}`),d=new URLSearchParams({format:"json"});f.search=d.toString();const m=await(await fetch(f.toString())).json();o.value=m}async function c(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),d=await fetch(f.toString()).then(_=>_.json());a.value=d.related_resources.related_resources}return u(),c(),(f,d)=>{var _;return he(Yd)((_=o.value)==null?void 0:_.resource)&&he(r)[o.value.graph_id]==="Artwork"&&a.value&&o.value!==void 0?(de(),Ze(Xd,{key:0,artwork:o.value.resource,"artwork-id":o.value.resourceinstanceid,"resource-relations":a.value,"id-references":n.idReferences,"panel-resource-type":n.panelResourceType},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):Ve("",!0)}}}),Xy=["src","alt"],Qy=st({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(t){const n=t,r=rt(()=>{var a;return(a=n.imageTileData)!=null&&a.length?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0}),o=rt(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png");return(a,u)=>{const c=ki("RouterLink");return de(),Ze(c,{to:`/wac/resource/${n.artwork.resourceinstanceid}`},{default:it(()=>[ne("div",null,[ne("img",{class:"more-artwork-image",src:r.value||o.value,alt:r.value?"Thumbnail image":"No image available"},null,8,Xy)])]),_:1},8,["to"])}}}),ew=zt(Qy,[["__scopeId","data-v-ba592a51"]]),tw={key:0},nw={key:0,class:"more-artworks-by-artist-title"},iw={class:"more-artworks-by-artist-gallery"},rw=st({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(t){const n=t,r=rt(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),o=rt(()=>{if(r.value)return ay(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,u)=>{var f;const c=ki("RouterLink");return o.value&&o.value.length>1?(de(),be("div",tw,[r.value?(de(),be("div",nw,[u[0]||(u[0]=An(" More artwork by ")),ke(c,{to:`/wac/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:it(()=>[An(en(r.value.displayname),1)]),_:1},8,["to"])])):Ve("",!0),ne("div",iw,[(de(!0),be(Je,null,nn((f=o.value)==null?void 0:f.filter(d=>{var _;return(d==null?void 0:d.resourceinstanceid)!==((_=n.resource)==null?void 0:_.resourceinstanceid)}),d=>(de(),Ze(ew,{key:d.resourceinstanceid,artwork:d,"image-tile-data":he(ti)(d,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):Ve("",!0)}}}),sw=zt(rw,[["__scopeId","data-v-1336561a"]]),ow={key:0,class:"resource-detail"},aw={class:"resource-detail-header"},uw={class:"resource-detail-title"},cw={type:"button",class:"back-button"},lw=st({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences;return(o,a)=>{const u=ki("RouterLink");return n.resource?(de(),be("div",ow,[ne("div",aw,[ne("div",uw,[he(r)[n.resource.graph_id]==="Artwork"?(de(),Ze(he(gr),{key:0,class:"resource-header-icon"})):Ve("",!0),he(r)[n.resource.graph_id]==="Artist"?(de(),Ze(he(vr),{key:1,class:"resource-header-icon"})):Ve("",!0),ne("div",null,en(n.resource.displayname??""),1)]),ke(u,{to:"/",class:"resource-detail-back-button"},{default:it(()=>[ne("button",cw,[ke(he(Zd),{class:"back-button-icon"}),a[0]||(a[0]=ne("span",null,"Back ",-1))])]),_:1})]),ke(Dy,null,rd({items:it(()=>[he(Yd)(n.resource.resource)&&he(r)[n.resource.graph_id]==="Artwork"?(de(),Ze(Xd,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":he(gn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):he(r)[n.resource.graph_id]==="Artist"?(de(!0),be(Je,{key:1},nn(o.resourceRelations.filter(c=>he(r)[c.graph_id]==="Artwork"),c=>(de(),Ze(aa,{key:c.graph_id,"related-artwork":c,"id-references":n.idReferences,"panel-resource-type":he(gn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):he(r)[n.resource.graph_id]==="Structure"?(de(!0),be(Je,{key:2},nn(o.resourceRelations.filter(c=>he(r)[c.graph_id]==="Artwork"),c=>(de(),Ze(aa,{key:c.resourceinstanceid,"related-artwork":c,"id-references":n.idReferences,"panel-resource-type":he(gn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):he(r)[n.resource.graph_id]==="Photographer"?(de(!0),be(Je,{key:3},nn(o.resourceRelations.filter(c=>he(r)[c.graph_id]==="Artwork"),c=>(de(),Ze(aa,{key:c.root_ontology_class,"related-artwork":c,"id-references":n.idReferences,"panel-resource-type":he(gn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):Ve("",!0)]),_:2},[he(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:it(()=>[ke(sw,{resource:n.resource,"resource-relations":o.resourceRelations,"resource-relations-prefetch":n.resourceRelationsPrefetch,"resources-prefetch":n.resourcesPrefetch,"images-prefetch":n.imagesPrefetch,"id-references":n.idReferences},null,8,["resource","resource-relations","resource-relations-prefetch","resources-prefetch","images-prefetch","id-references"])]),key:"0"}:void 0]),1024)])):Ve("",!0)}}}),fw=zt(lw,[["__scopeId","data-v-52a1b6d4"]]),dw={key:1},hw=st({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(t){const n=to(),r=t;return(o,a)=>(de(),Ze(Iy,{id:he(n).params.id},{default:it(({resource:u,resourceRelations:c,error:f})=>[u&&c&&!f?(de(),Ze(fw,{key:0,resource:u,"resource-relations":c,"id-references":r.idReferences,"resource-relations-prefetch":r.resourceRelationsPrefetch,"images-prefetch":r.imagesPrefetch,"resources-prefetch":r.resourcesPrefetch},null,8,["resource","resource-relations","id-references","resource-relations-prefetch","images-prefetch","resources-prefetch"])):f?(de(),be("div",dw,[ne("p",null,"No Resource found with id "+en(he(n).params.id),1)])):Ve("",!0)]),_:1},8,["id"]))}}),pw={class:"search-results-container"},mw={class:"search-results-header"},_w={class:"back-button-icon"},gw={class:"credits"},vw={class:"credit"},yw=["src"],ww={class:"credit"},bw=["src"],Pw=st({__name:"AboutView",setup(t){const n=eo(),r=!0;return(o,a)=>(de(),be("div",pw,[ne("div",mw,[a[2]||(a[2]=ne("div",{class:"search-results-header-title"},[ne("h1",null,"WAC: A Visual Journey")],-1)),ne("button",{type:"button",class:"back-button",onClick:a[0]||(a[0]=u=>he(n).push("/"))},[ne("div",_w,[ke(he(Zd))]),a[1]||(a[1]=ne("span",null,"Back",-1))])]),a[5]||(a[5]=ne("p",null," In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in the creative spirit by using urban spaces and reclaimable resources to revitalize and transform the South Loop business district into one of the city's major cultural assets. The heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by Michigan Avenue and to the west by State Street. The corridor is regarded as an “living urban canvas” due to its ever-growing number of large-scale mural installations and collaborative projects. ",-1)),a[6]||(a[6]=ne("br",null,null,-1)),a[7]||(a[7]=ne("p",null,"See Columbia College's page about the Wabash Arts Corridor for more information.",-1)),a[8]||(a[8]=ne("br",null,null,-1)),a[9]||(a[9]=ne("p",null," About / Credit This site is a project of Open Tech Strategies, LLC. Our thanks to the artists and curators who created and continue to build the Wabash Arts Corridor in Chicago. Please write us at info@opentechstrategies.com to suggest changes or improvements to this site. ",-1)),a[10]||(a[10]=ne("br",null,null,-1)),a[11]||(a[11]=ne("p",null," This site is free & open source software, based on the Arches heritage data management platform. See the application code, the data, and our data import scripts. Contributions welcome. ",-1)),a[12]||(a[12]=ne("br",null,null,-1)),ne("div",gw,[ne("div",vw,[a[3]||(a[3]=ne("p",null,"Designed by",-1)),ne("img",{src:he(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,yw)]),ne("div",ww,[a[4]||(a[4]=ne("p",null,"Powered by",-1)),ne("img",{src:he(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,bw)])])]))}}),Sw=zt(Pw,[["__scopeId","data-v-0c6e91f4"]]),$w={class:"search-results-container"},Tw={class:"search-results-header"},Ew={class:"search-results-header-title"},Rw={class:"search-results"},Lw=st({__name:"ArtistsView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=Ke(null),r=t;r.routeQuery&&(r.routeQuery==="artworks"?n.value="Artwork":r.routeQuery==="artists"?n.value="Artist":r.routeQuery==="about"&&(n.value="About"));const o=rt(()=>r.resourcesPrefetch.filter(a=>{const u=a.descriptors.en.name.toLowerCase().includes(r.query.toLowerCase()),c=n.value?r.idReferences.graphIdToNameTable[a.graph_id]===n.value:!0;return u&&c}));return(a,u)=>(de(),be("div",$w,[ne("div",Tw,[ne("div",Ew,[ke(he(vr),{class:"search-results-header-icon"}),u[0]||(u[0]=ne("h1",null,"Artists",-1))])]),ne("div",Rw,[(de(!0),be(Je,null,nn(o.value,c=>(de(),Ze(Li,{key:c.resourceinstanceid,"resource-name":c.descriptors.en.name,"resource-description":c.descriptors.en.description,"resource-id":c.resourceinstanceid,"resource-type":r.idReferences.graphIdToNameTable[c.graph_id],"image-tile-data":he(ti)(c,r.imagesPrefetch,r.resourceRelationsPrefetch,r.idReferences),artist:he(Ri)(c,r.resourcesPrefetch,r.resourceRelationsPrefetch,r.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}}),xw={class:"search-results-container"},Cw={class:"search-results-header"},kw={class:"search-results-header-title"},Ow={class:"search-results"},Aw=st({__name:"ArtworksView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=Ke(null),r=t;r.routeQuery&&(r.routeQuery==="artworks"?n.value="Artwork":r.routeQuery==="artists"?n.value="Artist":r.routeQuery==="about"&&(n.value="About"));const o=rt(()=>r.resourcesPrefetch.filter(a=>{const u=a.descriptors.en.name.toLowerCase().includes(r.query.toLowerCase()),c=n.value?r.idReferences.graphIdToNameTable[a.graph_id]===n.value:!0;return u&&c}));return(a,u)=>(de(),be("div",xw,[ne("div",Cw,[ne("div",kw,[ke(he(gr),{class:"search-results-header-icon"}),u[0]||(u[0]=ne("h1",null,"Artworks",-1))])]),ne("div",Ow,[(de(!0),be(Je,null,nn(o.value,c=>(de(),Ze(Li,{key:c.resourceinstanceid,"resource-name":c.descriptors.en.name,"resource-description":c.descriptors.en.description,"resource-id":c.resourceinstanceid,"resource-type":r.idReferences.graphIdToNameTable[c.graph_id],"image-tile-data":he(ti)(c,r.imagesPrefetch,r.resourceRelationsPrefetch,r.idReferences),artist:he(Ri)(c,r.resourcesPrefetch,r.resourceRelationsPrefetch,r.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}});var Yi={exports:{}};/* @preserve + deps: ${m}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(h){const[_,m]=u(h);l(h,_),f(h,m)}};function u({schema:h}){const _={},m={};for(const g in h){if(g==="__proto__")continue;const b=Array.isArray(h[g])?_:m;b[g]=h[g]}return[_,m]}function l(h,_=h.schema){const{gen:m,data:g,it:b}=h;if(Object.keys(_).length===0)return;const E=m.let("missing");for(const $ in _){const C=_[$];if(C.length===0)continue;const w=(0,o.propertyInData)(m,g,$,b.opts.ownProperties);h.setParams({property:$,depsCount:C.length,deps:C.join(", ")}),b.allErrors?m.if(w,()=>{for(const P of C)(0,o.checkReportMissingProp)(h,P)}):(m.if((0,n._)`${w} && (${(0,o.checkMissingProp)(h,C,E)})`),(0,o.reportMissingProp)(h,E),m.else())}}t.validatePropertyDeps=l;function f(h,_=h.schema){const{gen:m,data:g,keyword:b,it:E}=h,$=m.name("valid");for(const C in _)(0,r.alwaysValidSchema)(E,_[C])||(m.if((0,o.propertyInData)(m,g,C,E.opts.ownProperties),()=>{const w=h.subschema({keyword:b,schemaProp:C},$);h.mergeValidEvaluated(w,$)},()=>m.var($,!0)),h.ok($))}t.validateSchemaDeps=f,t.default=a}(oa)),oa}var fs={},jl;function Cv(){if(jl)return fs;jl=1,Object.defineProperty(fs,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:a})=>(0,t._)`{propertyName: ${a.propertyName}}`},code(a){const{gen:u,schema:l,data:f,it:h}=a;if((0,n.alwaysValidSchema)(h,l))return;const _=u.name("valid");u.forIn("key",f,m=>{a.setParams({propertyName:m}),a.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},_),u.if((0,t.not)(_),()=>{a.error(!0),h.allErrors||u.break()})}),a.ok(_)}};return fs.default=o,fs}var hs={},Bl;function Jh(){if(Bl)return hs;Bl=1,Object.defineProperty(hs,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=zn(),o=De(),u={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,n._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:f,schema:h,parentSchema:_,data:m,errsCount:g,it:b}=l;if(!g)throw new Error("ajv implementation error");const{allErrors:E,opts:$}=b;if(b.props=!0,$.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(b,h))return;const C=(0,t.allSchemaProperties)(_.properties),w=(0,t.allSchemaProperties)(_.patternProperties);P(),l.ok((0,n._)`${g} === ${r.default.errors}`);function P(){f.forIn("key",m,k=>{!C.length&&!w.length?R(k):f.if(p(k),()=>R(k))})}function p(k){let I;if(C.length>8){const V=(0,o.schemaRefOrVal)(b,_.properties,"properties");I=(0,t.isOwnProperty)(f,V,k)}else C.length?I=(0,n.or)(...C.map(V=>(0,n._)`${k} === ${V}`)):I=n.nil;return w.length&&(I=(0,n.or)(I,...w.map(V=>(0,n._)`${(0,t.usePattern)(l,V)}.test(${k})`))),(0,n.not)(I)}function v(k){f.code((0,n._)`delete ${m}[${k}]`)}function R(k){if($.removeAdditional==="all"||$.removeAdditional&&h===!1){v(k);return}if(h===!1){l.setParams({additionalProperty:k}),l.error(),E||f.break();return}if(typeof h=="object"&&!(0,o.alwaysValidSchema)(b,h)){const I=f.name("valid");$.removeAdditional==="failing"?(O(k,I,!1),f.if((0,n.not)(I),()=>{l.reset(),v(k)})):(O(k,I),E||f.if((0,n.not)(I),()=>f.break()))}}function O(k,I,V){const W={keyword:"additionalProperties",dataProp:k,dataPropType:o.Type.Str};V===!1&&Object.assign(W,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(W,I)}}};return hs.default=u,hs}var ds={},ql;function kv(){if(ql)return ds;ql=1,Object.defineProperty(ds,"__esModule",{value:!0});const t=ro(),n=Ht(),r=De(),o=Jh(),a={keyword:"properties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,parentSchema:h,data:_,it:m}=u;m.opts.removeAdditional==="all"&&h.additionalProperties===void 0&&o.default.code(new t.KeywordCxt(m,o.default,"additionalProperties"));const g=(0,n.allSchemaProperties)(f);for(const w of g)m.definedProperties.add(w);m.opts.unevaluated&&g.length&&m.props!==!0&&(m.props=r.mergeEvaluated.props(l,(0,r.toHash)(g),m.props));const b=g.filter(w=>!(0,r.alwaysValidSchema)(m,f[w]));if(b.length===0)return;const E=l.name("valid");for(const w of b)$(w)?C(w):(l.if((0,n.propertyInData)(l,_,w,m.opts.ownProperties)),C(w),m.allErrors||l.else().var(E,!0),l.endIf()),u.it.definedProperties.add(w),u.ok(E);function $(w){return m.opts.useDefaults&&!m.compositeRule&&f[w].default!==void 0}function C(w){u.subschema({keyword:"properties",schemaProp:w,dataProp:w},E)}}};return ds.default=a,ds}var ps={},Zl;function Ov(){if(Zl)return ps;Zl=1,Object.defineProperty(ps,"__esModule",{value:!0});const t=Ht(),n=Oe(),r=De(),o=De(),a={keyword:"patternProperties",type:"object",schemaType:"object",code(u){const{gen:l,schema:f,data:h,parentSchema:_,it:m}=u,{opts:g}=m,b=(0,t.allSchemaProperties)(f),E=b.filter(R=>(0,r.alwaysValidSchema)(m,f[R]));if(b.length===0||E.length===b.length&&(!m.opts.unevaluated||m.props===!0))return;const $=g.strictSchema&&!g.allowMatchingProperties&&_.properties,C=l.name("valid");m.props!==!0&&!(m.props instanceof n.Name)&&(m.props=(0,o.evaluatedPropsToName)(l,m.props));const{props:w}=m;P();function P(){for(const R of b)$&&p(R),m.allErrors?v(R):(l.var(C,!0),v(R),l.if(C))}function p(R){for(const O in $)new RegExp(R).test(O)&&(0,r.checkStrictMode)(m,`property ${O} matches pattern ${R} (use allowMatchingProperties)`)}function v(R){l.forIn("key",h,O=>{l.if((0,n._)`${(0,t.usePattern)(u,R)}.test(${O})`,()=>{const k=E.includes(R);k||u.subschema({keyword:"patternProperties",schemaProp:R,dataProp:O,dataPropType:o.Type.Str},C),m.opts.unevaluated&&w!==!0?l.assign((0,n._)`${w}[${O}]`,!0):!k&&!m.allErrors&&l.if((0,n.not)(C),()=>l.break())})})}}};return ps.default=a,ps}var ms={},Fl;function Av(){if(Fl)return ms;Fl=1,Object.defineProperty(ms,"__esModule",{value:!0});const t=De(),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:o,schema:a,it:u}=r;if((0,t.alwaysValidSchema)(u,a)){r.fail();return}const l=o.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),r.failResult(l,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return ms.default=n,ms}var _s={},Vl;function Iv(){if(Vl)return _s;Vl=1,Object.defineProperty(_s,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ht().validateUnion,error:{message:"must match a schema in anyOf"}};return _s.default=n,_s}var gs={},Hl;function Mv(){if(Hl)return gs;Hl=1,Object.defineProperty(gs,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:a})=>(0,t._)`{passingSchemas: ${a.passing}}`},code(a){const{gen:u,schema:l,parentSchema:f,it:h}=a;if(!Array.isArray(l))throw new Error("ajv implementation error");if(h.opts.discriminator&&f.discriminator)return;const _=l,m=u.let("valid",!1),g=u.let("passing",null),b=u.name("_valid");a.setParams({passing:g}),u.block(E),a.result(m,()=>a.reset(),()=>a.error(!0));function E(){_.forEach(($,C)=>{let w;(0,n.alwaysValidSchema)(h,$)?u.var(b,!0):w=a.subschema({keyword:"oneOf",schemaProp:C,compositeRule:!0},b),C>0&&u.if((0,t._)`${b} && ${m}`).assign(m,!1).assign(g,(0,t._)`[${g}, ${C}]`).else(),u.if(b,()=>{u.assign(m,!0),u.assign(g,C),w&&a.mergeEvaluated(w,t.Name)})})}}};return gs.default=o,gs}var vs={},Ul;function Nv(){if(Ul)return vs;Ul=1,Object.defineProperty(vs,"__esModule",{value:!0});const t=De(),n={keyword:"allOf",schemaType:"array",code(r){const{gen:o,schema:a,it:u}=r;if(!Array.isArray(a))throw new Error("ajv implementation error");const l=o.name("valid");a.forEach((f,h)=>{if((0,t.alwaysValidSchema)(u,f))return;const _=r.subschema({keyword:"allOf",schemaProp:h},l);r.ok(l),r.mergeEvaluated(_)})}};return vs.default=n,vs}var ys={},Kl;function zv(){if(Kl)return ys;Kl=1,Object.defineProperty(ys,"__esModule",{value:!0});const t=Oe(),n=De(),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:u})=>(0,t.str)`must match "${u.ifClause}" schema`,params:({params:u})=>(0,t._)`{failingKeyword: ${u.ifClause}}`},code(u){const{gen:l,parentSchema:f,it:h}=u;f.then===void 0&&f.else===void 0&&(0,n.checkStrictMode)(h,'"if" without "then" and "else" is ignored');const _=a(h,"then"),m=a(h,"else");if(!_&&!m)return;const g=l.let("valid",!0),b=l.name("_valid");if(E(),u.reset(),_&&m){const C=l.let("ifClause");u.setParams({ifClause:C}),l.if(b,$("then",C),$("else",C))}else _?l.if(b,$("then")):l.if((0,t.not)(b),$("else"));u.pass(g,()=>u.error(!0));function E(){const C=u.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},b);u.mergeEvaluated(C)}function $(C,w){return()=>{const P=u.subschema({keyword:C},b);l.assign(g,b),u.mergeValidEvaluated(P,g),w?l.assign(w,(0,t._)`${C}`):u.setParams({ifClause:C})}}}};function a(u,l){const f=u.schema[l];return f!==void 0&&!(0,n.alwaysValidSchema)(u,f)}return ys.default=o,ys}var ws={},Wl;function Dv(){if(Wl)return ws;Wl=1,Object.defineProperty(ws,"__esModule",{value:!0});const t=De(),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:o,it:a}){o.if===void 0&&(0,t.checkStrictMode)(a,`"${r}" without "if" is ignored`)}};return ws.default=n,ws}var Gl;function jv(){if(Gl)return as;Gl=1,Object.defineProperty(as,"__esModule",{value:!0});const t=Wh(),n=Tv(),r=Gh(),o=Rv(),a=Lv(),u=xv(),l=Cv(),f=Jh(),h=kv(),_=Ov(),m=Av(),g=Iv(),b=Mv(),E=Nv(),$=zv(),C=Dv();function w(P=!1){const p=[m.default,g.default,b.default,E.default,$.default,C.default,l.default,f.default,u.default,h.default,_.default];return P?p.push(n.default,o.default):p.push(t.default,r.default),p.push(a.default),p}return as.default=w,as}var bs={},Ps={},Jl;function Bv(){if(Jl)return Ps;Jl=1,Object.defineProperty(Ps,"__esModule",{value:!0});const t=Oe(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must match format "${o}"`,params:({schemaCode:o})=>(0,t._)`{format: ${o}}`},code(o,a){const{gen:u,data:l,$data:f,schema:h,schemaCode:_,it:m}=o,{opts:g,errSchemaPath:b,schemaEnv:E,self:$}=m;if(!g.validateFormats)return;f?C():w();function C(){const P=u.scopeValue("formats",{ref:$.formats,code:g.code.formats}),p=u.const("fDef",(0,t._)`${P}[${_}]`),v=u.let("fType"),R=u.let("format");u.if((0,t._)`typeof ${p} == "object" && !(${p} instanceof RegExp)`,()=>u.assign(v,(0,t._)`${p}.type || "string"`).assign(R,(0,t._)`${p}.validate`),()=>u.assign(v,(0,t._)`"string"`).assign(R,p)),o.fail$data((0,t.or)(O(),k()));function O(){return g.strictSchema===!1?t.nil:(0,t._)`${_} && !${R}`}function k(){const I=E.$async?(0,t._)`(${p}.async ? await ${R}(${l}) : ${R}(${l}))`:(0,t._)`${R}(${l})`,V=(0,t._)`(typeof ${R} == "function" ? ${I} : ${R}.test(${l}))`;return(0,t._)`${R} && ${R} !== true && ${v} === ${a} && !${V}`}}function w(){const P=$.formats[h];if(!P){O();return}if(P===!0)return;const[p,v,R]=k(P);p===a&&o.pass(I());function O(){if(g.strictSchema===!1){$.logger.warn(V());return}throw new Error(V());function V(){return`unknown format "${h}" ignored in schema at path "${b}"`}}function k(V){const W=V instanceof RegExp?(0,t.regexpCode)(V):g.code.formats?(0,t._)`${g.code.formats}${(0,t.getProperty)(h)}`:void 0,se=u.scopeValue("formats",{key:h,ref:V,code:W});return typeof V=="object"&&!(V instanceof RegExp)?[V.type||"string",V.validate,(0,t._)`${se}.validate`]:["string",V,se]}function I(){if(typeof P=="object"&&!(P instanceof RegExp)&&P.async){if(!E.$async)throw new Error("async format in sync schema");return(0,t._)`await ${R}(${l})`}return typeof v=="function"?(0,t._)`${R}(${l})`:(0,t._)`${R}.test(${l})`}}}};return Ps.default=r,Ps}var Yl;function qv(){if(Yl)return bs;Yl=1,Object.defineProperty(bs,"__esModule",{value:!0});const n=[Bv().default];return bs.default=n,bs}var Gn={},Xl;function Zv(){return Xl||(Xl=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.contentVocabulary=Gn.metadataVocabulary=void 0,Gn.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Gn.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Gn}var Ql;function Fv(){if(Ql)return Hr;Ql=1,Object.defineProperty(Hr,"__esModule",{value:!0});const t=dv(),n=Ev(),r=jv(),o=qv(),a=Zv(),u=[t.default,n.default,(0,r.default)(),o.default,a.metadataVocabulary,a.contentVocabulary];return Hr.default=u,Hr}var Ss={},Gi={},ef;function Vv(){if(ef)return Gi;ef=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.DiscrError=void 0;var t;return function(n){n.Tag="tag",n.Mapping="mapping"}(t||(Gi.DiscrError=t={})),Gi}var tf;function Hv(){if(tf)return Ss;tf=1,Object.defineProperty(Ss,"__esModule",{value:!0});const t=Oe(),n=Vv(),r=Fa(),o=so(),a=De(),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:f,tagName:h}})=>f===n.DiscrError.Tag?`tag "${h}" must be string`:`value of tag "${h}" must be in oneOf`,params:({params:{discrError:f,tag:h,tagName:_}})=>(0,t._)`{error: ${f}, tag: ${_}, tagValue: ${h}}`},code(f){const{gen:h,data:_,schema:m,parentSchema:g,it:b}=f,{oneOf:E}=g;if(!b.opts.discriminator)throw new Error("discriminator: requires discriminator option");const $=m.propertyName;if(typeof $!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!E)throw new Error("discriminator: requires oneOf keyword");const C=h.let("valid",!1),w=h.const("tag",(0,t._)`${_}${(0,t.getProperty)($)}`);h.if((0,t._)`typeof ${w} == "string"`,()=>P(),()=>f.error(!1,{discrError:n.DiscrError.Tag,tag:w,tagName:$})),f.ok(C);function P(){const R=v();h.if(!1);for(const O in R)h.elseIf((0,t._)`${w} === ${O}`),h.assign(C,p(R[O]));h.else(),f.error(!1,{discrError:n.DiscrError.Mapping,tag:w,tagName:$}),h.endIf()}function p(R){const O=h.name("valid"),k=f.subschema({keyword:"oneOf",schemaProp:R},O);return f.mergeEvaluated(k,t.Name),O}function v(){var R;const O={},k=V(g);let I=!0;for(let ie=0;iethis.addVocabulary($)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const $=this.opts.$data?this.$dataMetaSchema(u,l):u;this.addMetaSchema($,f,!1),this.refs["http://json-schema.org/schema"]=f}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(f)?f:void 0)}}n.Ajv=h,t.exports=n=h,t.exports.Ajv=h,Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var _=ro();Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return _.KeywordCxt}});var m=Oe();Object.defineProperty(n,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var g=Za();Object.defineProperty(n,"ValidationError",{enumerable:!0,get:function(){return g.default}});var b=so();Object.defineProperty(n,"MissingRefError",{enumerable:!0,get:function(){return b.default}})}(Br,Br.exports)),Br.exports}var ey=Qv();const ty=Vh(ey),gr=new ty({coerceTypes:!0}),ny={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};gr.compile(ny);const iy={type:"object",properties:{Artist:{type:"string",nullable:!0},Description:{type:"string",nullable:!0},Photograph:{type:"object",properties:{Image:{type:"string"},Photographer:{type:"string"}},required:["Image","Photographer"],nullable:!0},Location:{type:"object",properties:{Coordinates:{type:"string",nullable:!0},"Located On":{type:"string"}},required:["Located On"],nullable:!0},Medium:{type:"string",nullable:!0},Title:{type:"string",nullable:!0}},additionalProperties:!0},Yh=gr.compile(iy),ry={type:"object",properties:{type:{type:"string"},features:{type:"array",items:{type:"object",properties:{id:{type:"string"},type:{type:"string"},geometry:{type:"object",properties:{type:{type:"string"},coordinates:{type:"array",items:{type:"number"}}},required:["type","coordinates"]},properties:{type:"object",properties:{nodeId:{type:"string"}},required:["nodeId"]}},required:["id","type","properties"]}}},nullable:!0,required:["type","features"]};gr.compile(ry);const sy={type:"object",properties:{Name:{type:"string"}},required:["Name"],additionalProperties:!0};gr.compile(sy);var gn=(t=>(t.ARTWORK="Artwork",t.ARTIST="Artist",t.STRUCTURE="Structure",t.PHOTOGRAPHER="Photographer",t))(gn||{});const oy={type:"object",properties:{Location:{type:"object",properties:{Address:{type:"string"},Coordinates:{type:"string",nullable:!0}},required:["Address"]}},required:["Location"],additionalProperties:!0};gr.compile(oy);const ti=(t,n,r,o)=>{if(o.graphIdToNameTable[t.graph_id]==="Artwork"){const l=n.find(f=>f.resourceinstance_id===t.resourceinstanceid);return(l==null?void 0:l.data[o.imageNodeId])??void 0}const a=r.find(l=>l.resourceinstanceidto_id===t.resourceinstanceid&&l.resourceinstancefrom_graphid_id===o.nameToGraphIdTable.Artwork);if(!a)return;const u=n.find(l=>l.resourceinstance_id===a.resourceinstanceidfrom_id);return(u==null?void 0:u.data[o.imageNodeId])??void 0},ay=(t,n,r,o)=>{if(o.graphIdToNameTable[t.graph_id]!=="Artist")return;const a=r.filter(f=>f.resourceinstanceidto_id===t.resourceinstanceid&&f.resourceinstancefrom_graphid_id===o.nameToGraphIdTable.Artwork);if(!a)return;const u=a.map(f=>f.resourceinstanceidfrom_id);return n.filter(f=>u.includes(f.resourceinstanceid))??void 0},Ri=(t,n,r,o)=>{const a=r.find(l=>l.resourceinstanceidfrom_id===t.resourceinstanceid&&l.resourceinstanceto_graphid_id===o.nameToGraphIdTable.Artist);return a?n==null?void 0:n.find(l=>l.resourceinstanceid===a.resourceinstanceidto_id):void 0},uy=t=>t.split("|"),cy={class:"search-result"},ly={class:"metadata"},fy={class:"title-wrapper"},hy={class:"title"},dy={key:0,class:"artist-credit h3-sub"},py=["src"],my=["src"],_y=st({__name:"SearchListItem",props:{resourceName:{},resourceId:{},resourceDescription:{},resourceType:{},imageTileData:{},artist:{}},setup(t){const n=t,r=!0,o=n.imageTileData?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0;return(a,u)=>{const l=ki("RouterLink");return de(o)!==void 0?(he(),Fe(l,{key:0,to:`/wac/resource/${n.resourceId}`,class:"search-item-container"},{default:it(()=>{var f,h;return[ne("div",cy,[ne("div",ly,[ne("div",fy,[ne("h3",hy,en(n.resourceName),1)]),n.resourceType==="Artwork"?(he(),be("h3",dy,en((f=n.artist)!=null&&f.displayname?` by ${(h=n.artist)==null?void 0:h.displayname}`:""),1)):Ke("",!0)]),de(o)?(he(),be("img",{key:0,class:"image",src:de(o),alt:"thumbnail image"},null,8,py)):(he(),be("img",{key:1,class:"image",src:de(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available"},null,8,my))])]}),_:1},8,["to"])):Ke("",!0)}}}),zt=(t,n)=>{const r=t.__vccOpts||t;for(const[o,a]of n)r[o]=a;return r},Li=zt(_y,[["__scopeId","data-v-1f081ed9"]]),gy={class:"search-list-container"},vy={class:"search-content-container"},yy={key:0,class:"search-results-container"},wy={class:"search-results-header"},by={class:"search-results-header-title"},Py={class:"search-results-landing"},Sy={key:0,class:"search-results-container"},$y={class:"search-results-header"},Ey={class:"search-results-header-title"},Ty={class:"search-results-landing"},Ry={key:0,class:"search-results-container"},Ly={class:"search-results-header"},xy={class:"search-results-header-title"},Cy={class:"search-results"},ky=st({__name:"SearchList",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=Xs(),r=Ye(null),o=t,a=o.resourcesPrefetch.filter(f=>o.idReferences.graphIdToNameTable[f.graph_id]==="Artwork").slice(0,4),u=o.resourcesPrefetch.filter(f=>o.idReferences.graphIdToNameTable[f.graph_id]==="Artist").reverse().slice(0,8),l=rt(()=>o.resourcesPrefetch.filter(f=>{const h=f.descriptors.en.name.toLowerCase().includes(o.query.toLowerCase()),_=r.value?o.idReferences.graphIdToNameTable[f.graph_id]===r.value:!0;return h&&_}));return(f,h)=>(he(),be("div",gy,[ne("div",vy,[ke(Ti,null,{default:it(()=>[o.query===""&&r.value===null?(he(),be("div",yy,[ne("div",wy,[ne("div",by,[ke(de(eo),{class:"search-results-header-icon"}),h[2]||(h[2]=ne("h1",null,"Artworks",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:h[0]||(h[0]=_=>de(n).push("/artworks"))}," SEE ALL ")]),ne("div",Py,[(he(!0),be(Ge,null,nn(de(a),_=>(he(),Fe(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":de(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:de(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ke("",!0)]),_:1}),ke(Ti,null,{default:it(()=>[o.query===""&&r.value===null?(he(),be("div",Sy,[ne("div",$y,[ne("div",Ey,[ke(de(to),{class:"search-results-header-icon"}),h[3]||(h[3]=ne("h1",null,"Artists",-1))]),ne("button",{type:"button",class:"see-all-button",onClick:h[1]||(h[1]=_=>de(n).push("/artists"))}," SEE ALL ")]),ne("div",Ty,[(he(!0),be(Ge,null,nn(de(u),_=>(he(),Fe(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":de(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:de(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ke("",!0)]),_:1}),ke(Ti,null,{default:it(()=>[o.query!==""&&r.value===null?(he(),be("div",Ry,[ne("div",Ly,[ne("div",xy,[ke(de(Fh),{class:"search-results-header-icon"}),h[4]||(h[4]=ne("h1",null,"Search Results",-1))])]),ne("div",Cy,[(he(!0),be(Ge,null,nn(l.value,_=>(he(),Fe(Li,{key:_.resourceinstanceid,"resource-name":_.descriptors.en.name,"resource-description":_.descriptors.en.description,"resource-id":_.resourceinstanceid,"resource-type":o.idReferences.graphIdToNameTable[_.graph_id],"image-tile-data":de(ti)(_,o.imagesPrefetch,o.resourceRelationsPrefetch,o.idReferences),artist:de(Ri)(_,o.resourcesPrefetch,o.resourceRelationsPrefetch,o.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])])):Ke("",!0)]),_:1})])]))}}),Oy=zt(ky,[["__scopeId","data-v-b972d572"]]),Ay=st({__name:"SearchView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t;return(r,o)=>(he(),Fe(Oy,{"resource-relations-prefetch":n.resourceRelationsPrefetch,"images-prefetch":n.imagesPrefetch,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"route-query":n.routeQuery,query:r.query},null,8,["resource-relations-prefetch","images-prefetch","resources-prefetch","id-references","route-query","query"]))}}),Iy=st({__name:"ResourcePanelProvider",props:{id:{}},setup(t){const n=t,r=Qs(),o=Ye(),a=Ye(),u=Ye(!1);async function l(){try{const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.id}`),m=new URLSearchParams({format:"json"});_.search=m.toString();const b=await(await fetch(_.toString())).json();o.value=b}catch{o.value=void 0,u.value=!0}}async function f(){const _=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.id}`),m=await fetch(_.toString()).then(g=>g.json());a.value=m.related_resources.related_resources}async function h(){try{await l(),await f()}catch{u.value=!0}}return vn(()=>r.params.id,h,{immediate:!0}),(_,m)=>(he(),Fe(Ti,null,{default:it(()=>[o.value&&a.value?Qn(_.$slots,"default",{key:0,resource:o.value,resourceRelations:a.value,error:u.value}):Ke("",!0)]),_:3}))}}),My={},Ny={key:0,class:"resource-detail-more-by-artist"};function zy(t,n){return he(),be(Ge,null,[n[0]||(n[0]=ne("div",{class:"resource-detail-header"},null,-1)),Qn(t.$slots,"items",{},void 0,!0),t.$slots["more-by-artist"]?(he(),be("div",Ny,[Qn(t.$slots,"more-by-artist",{},void 0,!0)])):Ke("",!0),n[1]||(n[1]=ne("div",null,null,-1))],64)}const Dy=zt(My,[["render",zy],["__scopeId","data-v-70164744"]]),jy={class:"resource-detail-item"},By={class:"resource-detail-item-header"},qy={key:0,class:"resource-detail-item-title"},Zy={key:1,class:"resource-detail-item-byline"},Fy={key:0,class:"resource-detail-item-image"},Vy=["src"],Hy=["src"],Uy={key:1,class:"resource-detail-item-credit"},Ky={key:1,class:"resource-detail-item-description"},Wy=st({__name:"ResourceDetailItem",props:{imageUrl:{}},setup(t){const r=t,o=rt(()=>r.imageUrl?uy(r.imageUrl).map(a=>"https://arches.arches-app-demo.opentechstrategies.com"+a.trim()):void 0);return(a,u)=>(he(),be("div",jy,[ne("div",By,[a.$slots["item-header-title"]?(he(),be("div",qy,[Qn(a.$slots,"item-header-title",{},void 0,!0)])):Ke("",!0),a.$slots["item-header-byline"]?(he(),be("div",Zy,[Qn(a.$slots,"item-header-byline",{},void 0,!0)])):Ke("",!0)]),o.value?(he(),be("figure",Fy,[(he(!0),be(Ge,null,nn(o.value,l=>(he(),be("img",{key:l,src:l,alt:"resource image"},null,8,Vy))),128)),o.value?Ke("",!0):(he(),be("img",{key:0,src:de(!0)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png":"/noimage.png",alt:"no image available",loading:"lazy"},null,8,Hy)),a.$slots["item-credit"]?(he(),be("figcaption",Uy,[Qn(a.$slots,"item-credit",{},void 0,!0)])):Ke("",!0)])):Ke("",!0),a.$slots["item-description"]?(he(),be("div",Ky,[Qn(a.$slots,"item-description",{},void 0,!0)])):Ke("",!0)]))}}),Gy=zt(Wy,[["__scopeId","data-v-926824c6"]]),Jy={key:0,class:"h2-sub"},Yy={key:1,class:"h2-sub"},Xh=st({__name:"ArtworkDetailItem",props:{artwork:{},artworkId:{},panelResourceType:{},resourceRelations:{},idReferences:{}},setup(t){const n=Ye(),r=Ye(),o=Ye(),a=t,{graphIdToNameTable:u}=a.idReferences;return vn(()=>a.resourceRelations,l=>{n.value=l.find(f=>u[f.graph_id]==="Photographer"),r.value=l.find(f=>u[f.graph_id]==="Structure"),o.value=l.find(f=>u[f.graph_id]==="Artist")},{immediate:!0}),(l,f)=>{var _;const h=ki("RouterLink");return a.panelResourceType!==void 0?(he(),Fe(Gy,{key:0,"image-url":(_=a.artwork.Photograph)==null?void 0:_.Image},rh({_:2},[a.panelResourceType!==de(gn).ARTWORK?{name:"item-header-title",fn:it(()=>[ke(h,{to:`/wac/resource/${a.artworkId}`,class:"resource-link"},{default:it(()=>[yn(en(l.artwork.Title),1)]),_:1},8,["to"])]),key:"0"}:void 0,o.value&&r.value?{name:"item-header-byline",fn:it(()=>[a.panelResourceType!==de(gn).ARTIST?(he(),be("h2",Jy,[f[0]||(f[0]=yn(" by ")),ke(h,{to:`/wac/resource/${o.value.resourceinstanceid}`,class:"resource-link"},{default:it(()=>[yn(en(o.value.displayname),1)]),_:1},8,["to"])])):Ke("",!0),a.panelResourceType!==de(gn).STRUCTURE?(he(),be("h2",Yy," at "+en(r.value.displayname),1)):Ke("",!0)]),key:"1"}:void 0,a.artwork.Description&&a.panelResourceType===de(gn).ARTWORK?{name:"item-description",fn:it(()=>[ne("p",null,en(a.artwork.Description),1)]),key:"2"}:void 0]),1032,["image-url"])):Ke("",!0)}}}),aa=st({__name:"RelatedArtworkDetailItem",props:{relatedArtwork:{},idReferences:{},panelResourceType:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences,o=Ye(),a=Ye();async function u(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resources/${n.relatedArtwork.resourceinstanceid}`),h=new URLSearchParams({format:"json"});f.search=h.toString();const m=await(await fetch(f.toString())).json();o.value=m}async function l(){const f=new URL(`https://arches.arches-app-demo.opentechstrategies.com/resource/related/${n.relatedArtwork.resourceinstanceid}`),h=await fetch(f.toString()).then(_=>_.json());a.value=h.related_resources.related_resources}return u(),l(),(f,h)=>{var _;return de(Yh)((_=o.value)==null?void 0:_.resource)&&de(r)[o.value.graph_id]==="Artwork"&&a.value&&o.value!==void 0?(he(),Fe(Xh,{key:0,artwork:o.value.resource,"artwork-id":o.value.resourceinstanceid,"resource-relations":a.value,"id-references":n.idReferences,"panel-resource-type":n.panelResourceType},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):Ke("",!0)}}}),Xy=["src","alt"],Qy=st({__name:"MoreArtworksByArtistItem",props:{artwork:{},imageTileData:{}},setup(t){const n=t,r=rt(()=>{var a;return(a=n.imageTileData)!=null&&a.length?"https://arches.arches-app-demo.opentechstrategies.com"+n.imageTileData[0].url:void 0}),o=rt(()=>"https://arches-app-demo.opentechstrategies.com/archesdataviewer/noimage.png");return(a,u)=>{const l=ki("RouterLink");return he(),Fe(l,{to:`/wac/resource/${n.artwork.resourceinstanceid}`},{default:it(()=>[ne("div",null,[ne("img",{class:"more-artwork-image",src:r.value||o.value,alt:r.value?"Thumbnail image":"No image available"},null,8,Xy)])]),_:1},8,["to"])}}}),ew=zt(Qy,[["__scopeId","data-v-ba592a51"]]),tw={key:0},nw={key:0,class:"more-artworks-by-artist-title"},iw={class:"more-artworks-by-artist-gallery"},rw=st({__name:"MoreArtworksByArtist",props:{resource:{},resourcesPrefetch:{},resourceRelations:{},idReferences:{},resourceRelationsPrefetch:{},imagesPrefetch:{}},setup(t){const n=t,r=rt(()=>n.resourceRelations.find(a=>n.idReferences.graphIdToNameTable[a.graph_id]==="Artist")),o=rt(()=>{if(r.value)return ay(r.value,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)});return(a,u)=>{var f;const l=ki("RouterLink");return o.value&&o.value.length>1?(he(),be("div",tw,[r.value?(he(),be("div",nw,[u[0]||(u[0]=yn(" More artwork by ")),ke(l,{to:`/wac/resource/${r.value.resourceinstanceid}`,class:"resource-link"},{default:it(()=>[yn(en(r.value.displayname),1)]),_:1},8,["to"])])):Ke("",!0),ne("div",iw,[(he(!0),be(Ge,null,nn((f=o.value)==null?void 0:f.filter(h=>{var _;return(h==null?void 0:h.resourceinstanceid)!==((_=n.resource)==null?void 0:_.resourceinstanceid)}),h=>(he(),Fe(ew,{key:h.resourceinstanceid,artwork:h,"image-tile-data":de(ti)(h,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["artwork","image-tile-data"]))),128))])])):Ke("",!0)}}}),sw=zt(rw,[["__scopeId","data-v-1336561a"]]),ow={key:0,class:"resource-detail"},aw={class:"resource-detail-header"},uw={class:"resource-detail-title"},cw={type:"button",class:"back-button"},lw=st({__name:"ResourcePanel",props:{resource:{},resourceRelations:{},resourceRelationsPrefetch:{},imagesPrefetch:{},idReferences:{},resourcesPrefetch:{}},setup(t){const n=t,{graphIdToNameTable:r}=n.idReferences;return(o,a)=>{const u=ki("RouterLink");return n.resource?(he(),be("div",ow,[ne("div",aw,[ne("div",uw,[de(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(de(eo),{key:0,class:"resource-header-icon"})):Ke("",!0),de(r)[n.resource.graph_id]==="Artist"?(he(),Fe(de(to),{key:1,class:"resource-header-icon"})):Ke("",!0),ne("h1",null,en(n.resource.displayname??""),1)]),ke(u,{to:"/",class:"resource-detail-back-button"},{default:it(()=>[ne("button",cw,[ke(de(Zh),{class:"back-button-icon"}),a[0]||(a[0]=yn(" BACK "))])]),_:1})]),ke(Dy,null,rh({items:it(()=>[de(Yh)(n.resource.resource)&&de(r)[n.resource.graph_id]==="Artwork"?(he(),Fe(Xh,{key:0,artwork:n.resource.resource,"artwork-id":n.resource.resourceinstanceid,"resource-relations":n.resourceRelations,"id-references":n.idReferences,"panel-resource-type":de(gn).ARTWORK},null,8,["artwork","artwork-id","resource-relations","id-references","panel-resource-type"])):de(r)[n.resource.graph_id]==="Artist"?(he(!0),be(Ge,{key:1},nn(o.resourceRelations.filter(l=>de(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.graph_id,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":de(gn).ARTIST},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):de(r)[n.resource.graph_id]==="Structure"?(he(!0),be(Ge,{key:2},nn(o.resourceRelations.filter(l=>de(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.resourceinstanceid,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":de(gn).STRUCTURE},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):de(r)[n.resource.graph_id]==="Photographer"?(he(!0),be(Ge,{key:3},nn(o.resourceRelations.filter(l=>de(r)[l.graph_id]==="Artwork"),l=>(he(),Fe(aa,{key:l.root_ontology_class,"related-artwork":l,"id-references":n.idReferences,"panel-resource-type":de(gn).PHOTOGRAPHER},null,8,["related-artwork","id-references","panel-resource-type"]))),128)):Ke("",!0)]),_:2},[de(r)[n.resource.graph_id]==="Artwork"?{name:"more-by-artist",fn:it(()=>[ke(sw,{resource:n.resource,"resource-relations":o.resourceRelations,"resource-relations-prefetch":n.resourceRelationsPrefetch,"resources-prefetch":n.resourcesPrefetch,"images-prefetch":n.imagesPrefetch,"id-references":n.idReferences},null,8,["resource","resource-relations","resource-relations-prefetch","resources-prefetch","images-prefetch","id-references"])]),key:"0"}:void 0]),1024)])):Ke("",!0)}}}),fw=zt(lw,[["__scopeId","data-v-52121b51"]]),hw={key:1},dw=st({__name:"ResourceDetailView",props:{resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{}},setup(t){const n=Qs(),r=t;return(o,a)=>(he(),Fe(Iy,{id:de(n).params.id},{default:it(({resource:u,resourceRelations:l,error:f})=>[u&&l&&!f?(he(),Fe(fw,{key:0,resource:u,"resource-relations":l,"id-references":r.idReferences,"resource-relations-prefetch":r.resourceRelationsPrefetch,"images-prefetch":r.imagesPrefetch,"resources-prefetch":r.resourcesPrefetch},null,8,["resource","resource-relations","id-references","resource-relations-prefetch","images-prefetch","resources-prefetch"])):f?(he(),be("div",hw,[ne("p",null,"No Resource found with id "+en(de(n).params.id),1)])):Ke("",!0)]),_:1},8,["id"]))}}),pw={class:"search-results-container about"},mw={class:"search-results-header about-title"},_w={class:"back-button-icon"},gw={class:"credits"},vw={class:"credit"},yw=["src"],ww={class:"credit"},bw=["src"],Pw=st({__name:"AboutView",setup(t){const n=Xs(),r=!0;return(o,a)=>(he(),be("div",pw,[ne("div",mw,[a[2]||(a[2]=ne("div",{class:"search-results-header-title"},[ne("h1",null,"WAC: A Visual Journey")],-1)),ne("button",{type:"button",class:"back-button",onClick:a[0]||(a[0]=u=>de(n).push("/"))},[ne("div",_w,[ke(de(Zh))]),a[1]||(a[1]=ne("span",null,"BACK",-1))])]),a[5]||(a[5]=ne("div",null,[ne("p",null," In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in the creative spirit by using urban spaces and reclaimable resources to revitalize and transform the South Loop business district into one of the city's major cultural assets. The heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by Michigan Avenue and to the west by State Street. The corridor is regarded as an “living urban canvas” due to its ever-growing number of large-scale mural installations and collaborative projects. "),ne("br"),ne("p",null,"See Columbia College's page about the Wabash Arts Corridor for more information."),ne("br"),ne("p",null," About / Credit This site is a project of Open Tech Strategies, LLC. Our thanks to the artists and curators who created and continue to build the Wabash Arts Corridor in Chicago. Please write us at info@opentechstrategies.com to suggest changes or improvements to this site. "),ne("br"),ne("p",null," This site is free & open source software, based on the Arches heritage data management platform. See the application code, the data, and our data import scripts. Contributions welcome. "),ne("br")],-1)),ne("div",gw,[ne("div",vw,[a[3]||(a[3]=ne("p",null,"Designed by",-1)),ne("img",{src:de(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,yw)]),ne("div",ww,[a[4]||(a[4]=ne("p",null,"Powered by",-1)),ne("img",{src:de(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,bw)])])]))}}),Sw=zt(Pw,[["__scopeId","data-v-9e6eb1b1"]]),$w={class:"search-results-container"},Ew={class:"search-results-header"},Tw={class:"search-results-header-title"},Rw={class:"search-results"},Lw="Artist",xw=st({__name:"ArtistsView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=rt(()=>n.resourcesPrefetch.filter(o=>{const a=o.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[o.graph_id]===Lw;return a&&u}));return(o,a)=>(he(),be("div",$w,[ne("div",Ew,[ne("div",Tw,[ke(de(to),{class:"search-results-header-icon"}),a[0]||(a[0]=ne("h1",null,"Artists",-1))])]),ne("div",Rw,[(he(!0),be(Ge,null,nn(r.value,u=>(he(),Fe(Li,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":de(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:de(Ri)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}}),Cw={class:"search-results-container"},kw={class:"search-results-header"},Ow={class:"search-results-header-title"},Aw={class:"search-results"},Iw="Artwork",Mw=st({__name:"ArtworksView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},query:{}},setup(t){const n=t,r=rt(()=>n.resourcesPrefetch.filter(o=>{const a=o.descriptors.en.name.toLowerCase().includes(n.query.toLowerCase()),u=n.idReferences.graphIdToNameTable[o.graph_id]===Iw;return a&&u}));return(o,a)=>(he(),be("div",Cw,[ne("div",kw,[ne("div",Ow,[ke(de(eo),{class:"search-results-header-icon"}),a[0]||(a[0]=ne("h1",null,"Artworks",-1))])]),ne("div",Aw,[(he(!0),be(Ge,null,nn(r.value,u=>(he(),Fe(Li,{key:u.resourceinstanceid,"resource-name":u.descriptors.en.name,"resource-description":u.descriptors.en.description,"resource-id":u.resourceinstanceid,"resource-type":n.idReferences.graphIdToNameTable[u.graph_id],"image-tile-data":de(ti)(u,n.imagesPrefetch,n.resourceRelationsPrefetch,n.idReferences),artist:de(Ri)(u,n.resourcesPrefetch,n.resourceRelationsPrefetch,n.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))),128))])]))}});var Yi={exports:{}};/* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */var Iw=Yi.exports,rf;function Mw(){return rf||(rf=1,function(t,n){(function(r,o){o(n)})(Iw,function(r){var o="1.9.4";function a(e){var i,s,l,h;for(s=1,l=arguments.length;s"u"||!L||!L.Mixin)){e=v(e)?e:[e];for(var i=0;i0?Math.floor(e):Math.ceil(e)};re.prototype={clone:function(){return new re(this.x,this.y)},add:function(e){return this.clone()._add(W(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(W(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new re(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new re(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Qe(this.x),this.y=Qe(this.y),this},distanceTo:function(e){e=W(e);var i=e.x-this.x,s=e.y-this.y;return Math.sqrt(i*i+s*s)},equals:function(e){return e=W(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=W(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+b(this.x)+", "+b(this.y)+")"}};function W(e,i,s){return e instanceof re?e:v(e)?new re(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new re(e.x,e.y):new re(e,i,s)}function D(e,i){if(e)for(var s=i?[e,i]:e,l=0,h=s.length;l=this.min.x&&s.x<=this.max.x&&i.y>=this.min.y&&s.y<=this.max.y},intersects:function(e){e=Y(e);var i=this.min,s=this.max,l=e.min,h=e.max,S=h.x>=i.x&&l.x<=s.x,N=h.y>=i.y&&l.y<=s.y;return S&&N},overlaps:function(e){e=Y(e);var i=this.min,s=this.max,l=e.min,h=e.max,S=h.x>i.x&&l.xi.y&&l.y=i.lat&&h.lat<=s.lat&&l.lng>=i.lng&&h.lng<=s.lng},intersects:function(e){e=x(e);var i=this._southWest,s=this._northEast,l=e.getSouthWest(),h=e.getNorthEast(),S=h.lat>=i.lat&&l.lat<=s.lat,N=h.lng>=i.lng&&l.lng<=s.lng;return S&&N},overlaps:function(e){e=x(e);var i=this._southWest,s=this._northEast,l=e.getSouthWest(),h=e.getNorthEast(),S=h.lat>i.lat&&l.lati.lng&&l.lng1,oh=function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",g,i),window.removeEventListener("testPassiveEventSupport",g,i)}catch{}return e}(),ah=function(){return!!document.createElement("canvas").getContext}(),oo=!!(document.createElementNS&&B("svg").createSVGRect),uh=!!oo&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),ch=!oo&&function(){try{var e=document.createElement("div");e.innerHTML='';var i=e.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),lh=navigator.platform.indexOf("Mac")===0,fh=navigator.platform.indexOf("Linux")===0;function Ut(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var ve={ie:ce,ielt9:ue,edge:oe,webkit:Q,android:_e,android23:le,androidStock:ye,opera:Te,chrome:Ne,gecko:Ae,safari:at,phantom:ot,opera12:$t,win:xt,ie3d:bn,webkit3d:ri,gecko3d:pt,any3d:Ct,mobile:Pn,mobileWebkit:eh,mobileWebkit3d:th,msPointer:Ha,pointer:Ua,touch:nh,touchNative:Wa,mobileOpera:ih,mobileGecko:rh,retina:sh,passiveEvents:oh,canvas:ah,svg:oo,vml:ch,inlineSvg:uh,mac:lh,linux:fh},Ka=ve.msPointer?"MSPointerDown":"pointerdown",Ga=ve.msPointer?"MSPointerMove":"pointermove",Ja=ve.msPointer?"MSPointerUp":"pointerup",Ya=ve.msPointer?"MSPointerCancel":"pointercancel",ao={touchstart:Ka,touchmove:Ga,touchend:Ja,touchcancel:Ya},Xa={touchstart:gh,touchmove:wr,touchend:wr,touchcancel:wr},si={},Qa=!1;function dh(e,i,s){return i==="touchstart"&&_h(),Xa[i]?(s=Xa[i].bind(this,s),e.addEventListener(ao[i],s,!1),s):(console.warn("wrong event specified:",i),g)}function hh(e,i,s){if(!ao[i]){console.warn("wrong event specified:",i);return}e.removeEventListener(ao[i],s,!1)}function ph(e){si[e.pointerId]=e}function mh(e){si[e.pointerId]&&(si[e.pointerId]=e)}function eu(e){delete si[e.pointerId]}function _h(){Qa||(document.addEventListener(Ka,ph,!0),document.addEventListener(Ga,mh,!0),document.addEventListener(Ja,eu,!0),document.addEventListener(Ya,eu,!0),Qa=!0)}function wr(e,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var s in si)i.touches.push(si[s]);i.changedTouches=[i],e(i)}}function gh(e,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&ft(i),wr(e,i)}function vh(e){var i={},s,l;for(l in e)s=e[l],i[l]=s&&s.bind?s.bind(e):s;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var yh=200;function wh(e,i){e.addEventListener("dblclick",i);var s=0,l;function h(S){if(S.detail!==1){l=S.detail;return}if(!(S.pointerType==="mouse"||S.sourceCapabilities&&!S.sourceCapabilities.firesTouchEvents)){var N=su(S);if(!(N.some(function(U){return U instanceof HTMLLabelElement&&U.attributes.for})&&!N.some(function(U){return U instanceof HTMLInputElement||U instanceof HTMLSelectElement}))){var F=Date.now();F-s<=yh?(l++,l===2&&i(vh(S))):l=1,s=F}}}return e.addEventListener("click",h),{dblclick:i,simDblclick:h}}function bh(e,i){e.removeEventListener("dblclick",i.dblclick),e.removeEventListener("click",i.simDblclick)}var uo=Sr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Oi=Sr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tu=Oi==="webkitTransition"||Oi==="OTransition"?Oi+"End":"transitionend";function nu(e){return typeof e=="string"?document.getElementById(e):e}function Ai(e,i){var s=e.style[i]||e.currentStyle&&e.currentStyle[i];if((!s||s==="auto")&&document.defaultView){var l=document.defaultView.getComputedStyle(e,null);s=l?l[i]:null}return s==="auto"?null:s}function ze(e,i,s){var l=document.createElement(e);return l.className=i||"",s&&s.appendChild(l),l}function Ye(e){var i=e.parentNode;i&&i.removeChild(e)}function br(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function oi(e){var i=e.parentNode;i&&i.lastChild!==e&&i.appendChild(e)}function ai(e){var i=e.parentNode;i&&i.firstChild!==e&&i.insertBefore(e,i.firstChild)}function co(e,i){if(e.classList!==void 0)return e.classList.contains(i);var s=Pr(e);return s.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(s)}function Le(e,i){if(e.classList!==void 0)for(var s=$(i),l=0,h=s.length;l0?2*window.devicePixelRatio:1;function au(e){return ve.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/$h:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function Po(e,i){var s=i.relatedTarget;if(!s)return!0;try{for(;s&&s!==e;)s=s.parentNode}catch{return!1}return s!==e}var Th={__proto__:null,on:Re,off:Ue,stopPropagation:Bn,disableScrollPropagation:bo,disableClickPropagation:zi,preventDefault:ft,stop:qn,getPropagationPath:su,getMousePosition:ou,getWheelDelta:au,isExternalTarget:Po,addListener:Re,removeListener:Ue},uu=$e.extend({run:function(e,i,s,l){this.stop(),this._el=e,this._inProgress=!0,this._duration=s||.25,this._easeOutPower=1/Math.max(l||.5,.2),this._startPos=jn(e),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=ie(this._animate,this),this._step()},_step:function(e){var i=+new Date-this._startTime,s=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,i){this._enforcingBounds=!0;var s=this.getCenter(),l=this._limitCenter(s,this._zoom,x(e));return s.equals(l)||this.panTo(l,i),this._enforcingBounds=!1,this},panInside:function(e,i){i=i||{};var s=W(i.paddingTopLeft||i.padding||[0,0]),l=W(i.paddingBottomRight||i.padding||[0,0]),h=this.project(this.getCenter()),S=this.project(e),N=this.getPixelBounds(),F=Y([N.min.add(s),N.max.subtract(l)]),U=F.getSize();if(!F.contains(S)){this._enforcingBounds=!0;var te=S.subtract(F.getCenter()),pe=F.extend(S).getSize().subtract(U);h.x+=te.x<0?-pe.x:pe.x,h.y+=te.y<0?-pe.y:pe.y,this.panTo(this.unproject(h),i),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=a({animate:!1,pan:!0},e===!0?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var s=this.getSize(),l=i.divideBy(2).round(),h=s.divideBy(2).round(),S=l.subtract(h);return!S.x&&!S.y?this:(e.animate&&e.pan?this.panBy(S):(e.pan&&this._rawPanBy(S),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(c(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:s}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=a({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=c(this._handleGeolocationResponse,this),s=c(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,s,e):navigator.geolocation.getCurrentPosition(i,s,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var i=e.code,s=e.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+s+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var i=e.coords.latitude,s=e.coords.longitude,l=new M(i,s),h=l.toBounds(e.coords.accuracy*2),S=this._locateOptions;if(S.setView){var N=this.getBoundsZoom(h);this.setView(l,S.maxZoom?Math.min(N,S.maxZoom):N)}var F={latlng:l,bounds:h,timestamp:e.timestamp};for(var U in e.coords)typeof e.coords[U]=="number"&&(F[U]=e.coords[U]);this.fire("locationfound",F)}},addHandler:function(e,i){if(!i)return this;var s=this[e]=new i(this);return this._handlers.push(s),this.options[e]&&s.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Ye(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(X(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Ye(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,i){var s="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),l=ze("div",s,i||this._mapPane);return e&&(this._panes[e]=l),l},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),i=this.unproject(e.getBottomLeft()),s=this.unproject(e.getTopRight());return new Z(i,s)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,i,s){e=x(e),s=W(s||[0,0]);var l=this.getZoom()||0,h=this.getMinZoom(),S=this.getMaxZoom(),N=e.getNorthWest(),F=e.getSouthEast(),U=this.getSize().subtract(s),te=Y(this.project(F,l),this.project(N,l)).getSize(),pe=ve.any3d?this.options.zoomSnap:1,we=U.x/te.x,Ce=U.y/te.y,vt=i?Math.max(we,Ce):Math.min(we,Ce);return l=this.getScaleZoom(vt,l),pe&&(l=Math.round(l/(pe/100))*(pe/100),l=i?Math.ceil(l/pe)*pe:Math.floor(l/pe)*pe),Math.max(h,Math.min(S,l))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new re(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,i){var s=this._getTopLeftPoint(e,i);return new D(s,s.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,i){var s=this.options.crs;return i=i===void 0?this._zoom:i,s.scale(e)/s.scale(i)},getScaleZoom:function(e,i){var s=this.options.crs;i=i===void 0?this._zoom:i;var l=s.zoom(e*s.scale(i));return isNaN(l)?1/0:l},project:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(q(e),i)},unproject:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(W(e),i)},layerPointToLatLng:function(e){var i=W(e).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(e){var i=this.project(q(e))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(q(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(x(e))},distance:function(e,i){return this.options.crs.distance(q(e),q(i))},containerPointToLayerPoint:function(e){return W(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return W(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var i=this.containerPointToLayerPoint(W(e));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(q(e)))},mouseEventToContainerPoint:function(e){return ou(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var i=this._container=nu(e);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Re(i,"scroll",this._onScroll,this),this._containerId=d(i)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve.any3d,Le(e,"leaflet-container"+(ve.touch?" leaflet-touch":"")+(ve.retina?" leaflet-retina":"")+(ve.ielt9?" leaflet-oldie":"")+(ve.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ai(e,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),tt(this._mapPane,new re(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Le(e.markerPane,"leaflet-zoom-hide"),Le(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,i,s){tt(this._mapPane,new re(0,0));var l=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var h=this._zoom!==i;this._moveStart(h,s)._move(e,i)._moveEnd(h),this.fire("viewreset"),l&&this.fire("load")},_moveStart:function(e,i){return e&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(e,i,s,l){i===void 0&&(i=this._zoom);var h=this._zoom!==i;return this._zoom=i,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),l?s&&s.pinch&&this.fire("zoom",s):((h||s&&s.pinch)&&this.fire("zoom",s),this.fire("move",s)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return X(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){tt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[d(this._container)]=this;var i=e?Ue:Re;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),ve.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){X(this._resizeRequest),this._resizeRequest=ie(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,i){for(var s=[],l,h=i==="mouseout"||i==="mouseover",S=e.target||e.srcElement,N=!1;S;){if(l=this._targets[d(S)],l&&(i==="click"||i==="preclick")&&this._draggableMoved(l)){N=!0;break}if(l&&l.listens(i,!0)&&(h&&!Po(S,e)||(s.push(l),h))||S===this._container)break;S=S.parentNode}return!s.length&&!N&&!h&&this.listens(i,!0)&&(s=[this]),s},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var i=e.target||e.srcElement;if(!(!this._loaded||i._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(i))){var s=e.type;s==="mousedown"&&_o(i),this._fireDOMEvent(e,s)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,s){if(e.type==="click"){var l=a({},e);l.type="preclick",this._fireDOMEvent(l,l.type,s)}var h=this._findEventTargets(e,i);if(s){for(var S=[],N=0;N0?Math.round(e-i)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(i))},_limitZoom:function(e){var i=this.getMinZoom(),s=this.getMaxZoom(),l=ve.any3d?this.options.zoomSnap:1;return l&&(e=Math.round(e/l)*l),Math.max(i,Math.min(s,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){et(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,i){var s=this._getCenterOffset(e)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(s)?!1:(this.panBy(s,i),!0)},_createAnimProxy:function(){var e=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(i){var s=uo,l=this._proxy.style[s];Dn(this._proxy,this.project(i.center,i.zoom),this.getZoomScale(i.zoom,1)),l===this._proxy.style[s]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Ye(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),i=this.getZoom();Dn(this._proxy,this.project(e,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,i,s){if(this._animatingZoom)return!0;if(s=s||{},!this._zoomAnimated||s.animate===!1||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var l=this.getZoomScale(i),h=this._getCenterOffset(e)._divideBy(1-1/l);return s.animate!==!0&&!this.getSize().contains(h)?!1:(ie(function(){this._moveStart(!0,s.noMoveStart||!1)._animateZoom(e,i,!0)},this),!0)},_animateZoom:function(e,i,s,l){this._mapPane&&(s&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=i,Le(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:i,noUpdate:l}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(c(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&et(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Eh(e,i){return new Me(e,i)}var Dt=me.extend({options:{position:"topright"},initialize:function(e){C(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var i=this._map;return i&&i.removeControl(this),this.options.position=e,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var i=this._container=this.onAdd(e),s=this.getPosition(),l=e._controlCorners[s];return Le(i,"leaflet-control"),s.indexOf("bottom")!==-1?l.insertBefore(i,l.firstChild):l.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Ye(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Di=function(e){return new Dt(e)};Me.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},i="leaflet-",s=this._controlContainer=ze("div",i+"control-container",this._container);function l(h,S){var N=i+h+" "+i+S;e[h+S]=ze("div",N,s)}l("top","left"),l("top","right"),l("bottom","left"),l("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Ye(this._controlCorners[e]);Ye(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var cu=Dt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,i,s,l){return s1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=i&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var i=this._getLayer(d(e.target)),s=i.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;s&&this._map.fire(s,i)},_createRadioElement:function(e,i){var s='",l=document.createElement("div");return l.innerHTML=s,l.firstChild},_addItem:function(e){var i=document.createElement("label"),s=this._map.hasLayer(e.layer),l;e.overlay?(l=document.createElement("input"),l.type="checkbox",l.className="leaflet-control-layers-selector",l.defaultChecked=s):l=this._createRadioElement("leaflet-base-layers_"+d(this),s),this._layerControlInputs.push(l),l.layerId=d(e.layer),Re(l,"click",this._onInputClick,this);var h=document.createElement("span");h.innerHTML=" "+e.name;var S=document.createElement("span");i.appendChild(S),S.appendChild(l),S.appendChild(h);var N=e.overlay?this._overlaysList:this._baseLayersList;return N.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,i,s,l=[],h=[];this._handlingClick=!0;for(var S=e.length-1;S>=0;S--)i=e[S],s=this._getLayer(i.layerId).layer,i.checked?l.push(s):i.checked||h.push(s);for(S=0;S=0;h--)i=e[h],s=this._getLayer(i.layerId).layer,i.disabled=s.options.minZoom!==void 0&&ls.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,Re(e,"click",ft),this.expand();var i=this;setTimeout(function(){Ue(e,"click",ft),i._preventClick=!1})}}),Rh=function(e,i,s){return new cu(e,i,s)},So=Dt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var i="leaflet-control-zoom",s=ze("div",i+" leaflet-bar"),l=this.options;return this._zoomInButton=this._createButton(l.zoomInText,l.zoomInTitle,i+"-in",s,this._zoomIn),this._zoomOutButton=this._createButton(l.zoomOutText,l.zoomOutTitle,i+"-out",s,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),s},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,i,s,l,h){var S=ze("a",s,l);return S.innerHTML=e,S.href="#",S.title=i,S.setAttribute("role","button"),S.setAttribute("aria-label",i),zi(S),Re(S,"click",qn),Re(S,"click",h,this),Re(S,"click",this._refocusOnMap,this),S},_updateDisabled:function(){var e=this._map,i="leaflet-disabled";et(this._zoomInButton,i),et(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Le(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Le(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Me.mergeOptions({zoomControl:!0}),Me.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new So,this.addControl(this.zoomControl))});var Lh=function(e){return new So(e)},lu=Dt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var i="leaflet-control-scale",s=ze("div",i),l=this.options;return this._addScales(l,i+"-line",s),e.on(l.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),s},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,i,s){e.metric&&(this._mScale=ze("div",i,s)),e.imperial&&(this._iScale=ze("div",i,s))},_update:function(){var e=this._map,i=e.getSize().y/2,s=e.distance(e.containerPointToLatLng([0,i]),e.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(s)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var i=this._getRoundNum(e),s=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,s,i/e)},_updateImperial:function(e){var i=e*3.2808399,s,l,h;i>5280?(s=i/5280,l=this._getRoundNum(s),this._updateScale(this._iScale,l+" mi",l/s)):(h=this._getRoundNum(i),this._updateScale(this._iScale,h+" ft",h/i))},_updateScale:function(e,i,s){e.style.width=Math.round(this.options.maxWidth*s)+"px",e.innerHTML=i},_getRoundNum:function(e){var i=Math.pow(10,(Math.floor(e)+"").length-1),s=e/i;return s=s>=10?10:s>=5?5:s>=3?3:s>=2?2:1,i*s}}),xh=function(e){return new lu(e)},Ch='',$o=Dt.extend({options:{position:"bottomright",prefix:''+(ve.inlineSvg?Ch+" ":"")+"Leaflet"},initialize:function(e){C(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),zi(this._container);for(var i in e._layers)e._layers[i].getAttribution&&this.addAttribution(e._layers[i].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var i in this._attributions)this._attributions[i]&&e.push(i);var s=[];this.options.prefix&&s.push(this.options.prefix),e.length&&s.push(e.join(", ")),this._container.innerHTML=s.join(' ')}}});Me.mergeOptions({attributionControl:!0}),Me.addInitHook(function(){this.options.attributionControl&&new $o().addTo(this)});var kh=function(e){return new $o(e)};Dt.Layers=cu,Dt.Zoom=So,Dt.Scale=lu,Dt.Attribution=$o,Di.layers=Rh,Di.zoom=Lh,Di.scale=xh,Di.attribution=kh;var Kt=me.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Kt.addTo=function(e,i){return e.addHandler(i,this),this};var Oh={Events:Se},fu=ve.touch?"touchstart mousedown":"mousedown",Sn=$e.extend({options:{clickTolerance:3},initialize:function(e,i,s,l){C(this,l),this._element=e,this._dragStartTarget=i||e,this._preventOutline=s},enable:function(){this._enabled||(Re(this._dragStartTarget,fu,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Sn._dragging===this&&this.finishDrag(!0),Ue(this._dragStartTarget,fu,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!co(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){Sn._dragging===this&&this.finishDrag();return}if(!(Sn._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(Sn._dragging=this,this._preventOutline&&_o(this._element),ho(),Ii(),!this._moving)){this.fire("down");var i=e.touches?e.touches[0]:e,s=iu(this._element);this._startPoint=new re(i.clientX,i.clientY),this._startPos=jn(this._element),this._parentScale=go(s);var l=e.type==="mousedown";Re(document,l?"mousemove":"touchmove",this._onMove,this),Re(document,l?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var i=e.touches&&e.touches.length===1?e.touches[0]:e,s=new re(i.clientX,i.clientY)._subtract(this._startPoint);!s.x&&!s.y||Math.abs(s.x)+Math.abs(s.y)S&&(N=F,S=U);S>s&&(i[N]=1,Eo(e,i,s,l,N),Eo(e,i,s,N,h))}function Nh(e,i){for(var s=[e[0]],l=1,h=0,S=e.length;li&&(s.push(e[l]),h=l);return hi.max.x&&(s|=2),e.yi.max.y&&(s|=8),s}function zh(e,i){var s=i.x-e.x,l=i.y-e.y;return s*s+l*l}function ji(e,i,s,l){var h=i.x,S=i.y,N=s.x-h,F=s.y-S,U=N*N+F*F,te;return U>0&&(te=((e.x-h)*N+(e.y-S)*F)/U,te>1?(h=s.x,S=s.y):te>0&&(h+=N*te,S+=F*te)),N=e.x-h,F=e.y-S,l?N*N+F*F:new re(h,S)}function Ot(e){return!v(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function vu(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ot(e)}function yu(e,i){var s,l,h,S,N,F,U,te;if(!e||e.length===0)throw new Error("latlngs not passed");Ot(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var pe=q([0,0]),we=x(e),Ce=we.getNorthWest().distanceTo(we.getSouthWest())*we.getNorthEast().distanceTo(we.getNorthWest());Ce<1700&&(pe=To(e));var vt=e.length,ut=[];for(s=0;sl){U=(S-l)/h,te=[F.x-U*(F.x-N.x),F.y-U*(F.y-N.y)];break}var St=i.unproject(W(te));return q([St.lat+pe.lat,St.lng+pe.lng])}var Dh={__proto__:null,simplify:pu,pointToSegmentDistance:mu,closestPointOnSegment:Ih,clipSegment:gu,_getEdgeIntersection:Er,_getBitCode:Zn,_sqClosestPointOnSegment:ji,isFlat:Ot,_flat:vu,polylineCenter:yu},Ro={project:function(e){return new re(e.lng,e.lat)},unproject:function(e){return new M(e.y,e.x)},bounds:new D([-180,-90],[180,90])},Lo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new D([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var i=Math.PI/180,s=this.R,l=e.lat*i,h=this.R_MINOR/s,S=Math.sqrt(1-h*h),N=S*Math.sin(l),F=Math.tan(Math.PI/4-l/2)/Math.pow((1-N)/(1+N),S/2);return l=-s*Math.log(Math.max(F,1e-10)),new re(e.lng*i*s,l)},unproject:function(e){for(var i=180/Math.PI,s=this.R,l=this.R_MINOR/s,h=Math.sqrt(1-l*l),S=Math.exp(-e.y/s),N=Math.PI/2-2*Math.atan(S),F=0,U=.1,te;F<15&&Math.abs(U)>1e-7;F++)te=h*Math.sin(N),te=Math.pow((1-te)/(1+te),h/2),U=Math.PI/2-2*Math.atan(S*te)-N,N+=U;return new M(N*i,e.x*i/s)}},jh={__proto__:null,LonLat:Ro,Mercator:Lo,SphericalMercator:ae},Bh=a({},G,{code:"EPSG:3395",projection:Lo,transformation:function(){var e=.5/(Math.PI*Lo.R);return y(e,.5,-e,.5)}()}),wu=a({},G,{code:"EPSG:4326",projection:Ro,transformation:y(1/180,1,-1/180,.5)}),qh=a({},j,{projection:Ro,transformation:y(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,i){var s=i.lng-e.lng,l=i.lat-e.lat;return Math.sqrt(s*s+l*l)},infinite:!0});j.Earth=G,j.EPSG3395=Bh,j.EPSG3857=E,j.EPSG900913=A,j.EPSG4326=wu,j.Simple=qh;var jt=$e.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[d(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[d(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var i=e.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var s=this.getEvents();i.on(s,this),this.once("remove",function(){i.off(s,this)},this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});Me.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var i=d(e);return this._layers[i]?this:(this._layers[i]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var i=d(e);return this._layers[i]?(this._loaded&&e.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return d(e)in this._layers},eachLayer:function(e,i){for(var s in this._layers)e.call(i,this._layers[s]);return this},_addLayers:function(e){e=e?v(e)?e:[e]:[];for(var i=0,s=e.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof M&&i[0].equals(i[s-1])&&i.pop(),i},_setLatLngs:function(e){sn.prototype._setLatLngs.call(this,e),Ot(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ot(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,i=this.options.weight,s=new re(i,i);if(e=new D(e.min.subtract(s),e.max.add(s)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var l=0,h=this._rings.length,S;le.y!=h.y>e.y&&e.x<(h.x-l.x)*(e.y-l.y)/(h.y-l.y)+l.x&&(i=!i);return i||sn.prototype._containsPoint.call(this,e,!0)}});function Gh(e,i){return new li(e,i)}var on=rn.extend({initialize:function(e,i){C(this,i),this._layers={},e&&this.addData(e)},addData:function(e){var i=v(e)?e:e.features,s,l,h;if(i){for(s=0,l=i.length;s0&&h.push(h[0].slice()),h}function fi(e,i){return e.feature?a({},e.feature,{geometry:i}):Or(i)}function Or(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var Oo={toGeoJSON:function(e){return fi(this,{type:"Point",coordinates:ko(this.getLatLng(),e)})}};Rr.include(Oo),xo.include(Oo),Lr.include(Oo),sn.include({toGeoJSON:function(e){var i=!Ot(this._latlngs),s=kr(this._latlngs,i?1:0,!1,e);return fi(this,{type:(i?"Multi":"")+"LineString",coordinates:s})}}),li.include({toGeoJSON:function(e){var i=!Ot(this._latlngs),s=i&&!Ot(this._latlngs[0]),l=kr(this._latlngs,s?2:i?1:0,!0,e);return i||(l=[l]),fi(this,{type:(s?"Multi":"")+"Polygon",coordinates:l})}}),ui.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(s){i.push(s.toGeoJSON(e).geometry.coordinates)}),fi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(e);var s=i==="GeometryCollection",l=[];return this.eachLayer(function(h){if(h.toGeoJSON){var S=h.toGeoJSON(e);if(s)l.push(S.geometry);else{var N=Or(S);N.type==="FeatureCollection"?l.push.apply(l,N.features):l.push(N)}}}),s?fi(this,{geometries:l,type:"GeometryCollection"}):{type:"FeatureCollection",features:l}}});function Su(e,i){return new on(e,i)}var Jh=Su,Ar=jt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,i,s){this._url=e,this._bounds=x(i),C(this,s)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Le(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Ye(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&oi(this._image),this},bringToBack:function(){return this._map&&ai(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=x(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",i=this._image=e?this._url:ze("img");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onload=c(this.fire,this,"load"),i.onerror=c(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(e){var i=this._map.getZoomScale(e.zoom),s=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Dn(this._image,s,i)},_reset:function(){var e=this._image,i=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),s=i.getSize();tt(e,i.min),e.style.width=s.x+"px",e.style.height=s.y+"px"},_updateOpacity:function(){kt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Yh=function(e,i,s){return new Ar(e,i,s)},$u=Ar.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",i=this._image=e?this._url:ze("video");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onloadeddata=c(this.fire,this,"load"),e){for(var s=i.getElementsByTagName("source"),l=[],h=0;h0?l:[i.src];return}v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var S=0;Sh?(i.height=h+"px",Le(e,S)):et(e,S),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var i=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),s=this._getAnchor();tt(this._container,i.add(s))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,i=parseInt(Ai(this._container,"marginBottom"),10)||0,s=this._container.offsetHeight+i,l=this._containerWidth,h=new re(this._containerLeft,-s-this._containerBottom);h._add(jn(this._container));var S=e.layerPointToContainerPoint(h),N=W(this.options.autoPanPadding),F=W(this.options.autoPanPaddingTopLeft||N),U=W(this.options.autoPanPaddingBottomRight||N),te=e.getSize(),pe=0,we=0;S.x+l+U.x>te.x&&(pe=S.x+l-te.x+U.x),S.x-pe-F.x<0&&(pe=S.x-F.x),S.y+s+U.y>te.y&&(we=S.y+s-te.y+U.y),S.y-we-F.y<0&&(we=S.y-F.y),(pe||we)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([pe,we]))}},_getAnchor:function(){return W(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ep=function(e,i){return new Ir(e,i)};Me.mergeOptions({closePopupOnClick:!0}),Me.include({openPopup:function(e,i,s){return this._initOverlay(Ir,e,i,s).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),jt.include({bindPopup:function(e,i){return this._popup=this._initOverlay(Ir,this._popup,e,i),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof rn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){qn(e);var i=e.layer||e.target;if(this._popup._source===i&&!(i instanceof $n)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=i,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Mr=Gt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Gt.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Gt.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Gt.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",i=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ze("div",i),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+d(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var i,s,l=this._map,h=this._container,S=l.latLngToContainerPoint(l.getCenter()),N=l.layerPointToContainerPoint(e),F=this.options.direction,U=h.offsetWidth,te=h.offsetHeight,pe=W(this.options.offset),we=this._getAnchor();F==="top"?(i=U/2,s=te):F==="bottom"?(i=U/2,s=0):F==="center"?(i=U/2,s=te/2):F==="right"?(i=0,s=te/2):F==="left"?(i=U,s=te/2):N.xthis.options.maxZoom||sl?this._retainParent(h,S,N,l):!1)},_retainChildren:function(e,i,s,l){for(var h=2*e;h<2*e+2;h++)for(var S=2*i;S<2*i+2;S++){var N=new re(h,S);N.z=s+1;var F=this._tileCoordsToKey(N),U=this._tiles[F];if(U&&U.active){U.retain=!0;continue}else U&&U.loaded&&(U.retain=!0);s+1this.options.maxZoom||this.options.minZoom!==void 0&&h1){this._setView(e,s);return}for(var we=h.min.y;we<=h.max.y;we++)for(var Ce=h.min.x;Ce<=h.max.x;Ce++){var vt=new re(Ce,we);if(vt.z=this._tileZoom,!!this._isValidTile(vt)){var ut=this._tiles[this._tileCoordsToKey(vt)];ut?ut.current=!0:N.push(vt)}}if(N.sort(function(St,hi){return St.distanceTo(S)-hi.distanceTo(S)}),N.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var At=document.createDocumentFragment();for(Ce=0;Ces.max.x)||!i.wrapLat&&(e.ys.max.y))return!1}if(!this.options.bounds)return!0;var l=this._tileCoordsToBounds(e);return x(this.options.bounds).overlaps(l)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var i=this._map,s=this.getTileSize(),l=e.scaleBy(s),h=l.add(s),S=i.unproject(l,e.z),N=i.unproject(h,e.z);return[S,N]},_tileCoordsToBounds:function(e){var i=this._tileCoordsToNwSe(e),s=new Z(i[0],i[1]);return this.options.noWrap||(s=this._map.wrapLatLngBounds(s)),s},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var i=e.split(":"),s=new re(+i[0],+i[1]);return s.z=+i[2],s},_removeTile:function(e){var i=this._tiles[e];i&&(Ye(i.el),delete this._tiles[e],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Le(e,"leaflet-tile");var i=this.getTileSize();e.style.width=i.x+"px",e.style.height=i.y+"px",e.onselectstart=g,e.onmousemove=g,ve.ielt9&&this.options.opacity<1&&kt(e,this.options.opacity)},_addTile:function(e,i){var s=this._getTilePos(e),l=this._tileCoordsToKey(e),h=this.createTile(this._wrapCoords(e),c(this._tileReady,this,e));this._initTile(h),this.createTile.length<2&&ie(c(this._tileReady,this,e,null,h)),tt(h,s),this._tiles[l]={el:h,coords:e,current:!0},i.appendChild(h),this.fire("tileloadstart",{tile:h,coords:e})},_tileReady:function(e,i,s){i&&this.fire("tileerror",{error:i,tile:s,coords:e});var l=this._tileCoordsToKey(e);s=this._tiles[l],s&&(s.loaded=+new Date,this._map._fadeAnimated?(kt(s.el,0),X(this._fadeFrame),this._fadeFrame=ie(this._updateOpacity,this)):(s.active=!0,this._pruneTiles()),i||(Le(s.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:s.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ve.ielt9||!this._map._fadeAnimated?ie(this._pruneTiles,this):setTimeout(c(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var i=new re(this._wrapX?m(e.x,this._wrapX):e.x,this._wrapY?m(e.y,this._wrapY):e.y);return i.z=e.z,i},_pxBoundsToTileRange:function(e){var i=this.getTileSize();return new D(e.min.unscaleBy(i).floor(),e.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function ip(e){return new qi(e)}var di=qi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,i){this._url=e,i=C(this,i),i.detectRetina&&ve.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),typeof i.subdomains=="string"&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,i){return this._url===e&&i===void 0&&(i=!0),this._url=e,i||this.redraw(),this},createTile:function(e,i){var s=document.createElement("img");return Re(s,"load",c(this._tileOnLoad,this,i,s)),Re(s,"error",c(this._tileOnError,this,i,s)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(s.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(s.referrerPolicy=this.options.referrerPolicy),s.alt="",s.src=this.getTileUrl(e),s},getTileUrl:function(e){var i={r:ve.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var s=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=s),i["-y"]=s}return p(this._url,a(i,this.options))},_tileOnLoad:function(e,i){ve.ielt9?setTimeout(c(e,this,null,i),0):e(null,i)},_tileOnError:function(e,i,s){var l=this.options.errorTileUrl;l&&i.getAttribute("src")!==l&&(i.src=l),e(s,i)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,i=this.options.maxZoom,s=this.options.zoomReverse,l=this.options.zoomOffset;return s&&(e=i-e),e+l},_getSubdomain:function(e){var i=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var e,i;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(i=this._tiles[e].el,i.onload=g,i.onerror=g,!i.complete)){i.src=O;var s=this._tiles[e].coords;Ye(i),delete this._tiles[e],this.fire("tileabort",{tile:i,coords:s})}},_removeTile:function(e){var i=this._tiles[e];if(i)return i.el.setAttribute("src",O),qi.prototype._removeTile.call(this,e)},_tileReady:function(e,i,s){if(!(!this._map||s&&s.getAttribute("src")===O))return qi.prototype._tileReady.call(this,e,i,s)}});function Ru(e,i){return new di(e,i)}var Lu=di.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var s=a({},this.defaultWmsParams);for(var l in i)l in this.options||(s[l]=i[l]);i=C(this,i);var h=i.detectRetina&&ve.retina?2:1,S=this.getTileSize();s.width=S.x*h,s.height=S.y*h,this.wmsParams=s},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,di.prototype.onAdd.call(this,e)},getTileUrl:function(e){var i=this._tileCoordsToNwSe(e),s=this._crs,l=Y(s.project(i[0]),s.project(i[1])),h=l.min,S=l.max,N=(this._wmsVersion>=1.3&&this._crs===wu?[h.y,h.x,S.y,S.x]:[h.x,h.y,S.x,S.y]).join(","),F=di.prototype.getTileUrl.call(this,e);return F+w(this.wmsParams,F,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+N},setParams:function(e,i){return a(this.wmsParams,e),i||this.redraw(),this}});function rp(e,i){return new Lu(e,i)}di.WMS=Lu,Ru.wms=rp;var an=jt.extend({options:{padding:.1},initialize:function(e){C(this,e),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Le(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,i){var s=this._map.getZoomScale(i,this._zoom),l=this._map.getSize().multiplyBy(.5+this.options.padding),h=this._map.project(this._center,i),S=l.multiplyBy(-s).add(h).subtract(this._map._getNewPixelOrigin(e,i));ve.any3d?Dn(this._container,S,s):tt(this._container,S)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,i=this._map.getSize(),s=this._map.containerPointToLayerPoint(i.multiplyBy(-e)).round();this._bounds=new D(s,s.add(i.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),xu=an.extend({options:{tolerance:0},getEvents:function(){var e=an.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){an.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Re(e,"mousemove",this._onMouseMove,this),Re(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Re(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){X(this._redrawRequest),delete this._ctx,Ye(this._container),Ue(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var i in this._layers)e=this._layers[i],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){an.prototype._update.call(this);var e=this._bounds,i=this._container,s=e.getSize(),l=ve.retina?2:1;tt(i,e.min),i.width=l*s.x,i.height=l*s.y,i.style.width=s.x+"px",i.style.height=s.y+"px",ve.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){an.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[d(e)]=e;var i=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var i=e._order,s=i.next,l=i.prev;s?s.prev=l:this._drawLast=l,l?l.next=s:this._drawFirst=s,delete e._order,delete this._layers[d(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var i=e.options.dashArray.split(/[, ]+/),s=[],l,h;for(h=0;h')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),sp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(an.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var i=e._container=Zi("shape");Le(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",e._path=Zi("path"),i.appendChild(e._path),this._updateStyle(e),this._layers[d(e)]=e},_addPath:function(e){var i=e._container;this._container.appendChild(i),e.options.interactive&&e.addInteractiveTarget(i)},_removePath:function(e){var i=e._container;Ye(i),e.removeInteractiveTarget(i),delete this._layers[d(e)]},_updateStyle:function(e){var i=e._stroke,s=e._fill,l=e.options,h=e._container;h.stroked=!!l.stroke,h.filled=!!l.fill,l.stroke?(i||(i=e._stroke=Zi("stroke")),h.appendChild(i),i.weight=l.weight+"px",i.color=l.color,i.opacity=l.opacity,l.dashArray?i.dashStyle=v(l.dashArray)?l.dashArray.join(" "):l.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=l.lineCap.replace("butt","flat"),i.joinstyle=l.lineJoin):i&&(h.removeChild(i),e._stroke=null),l.fill?(s||(s=e._fill=Zi("fill")),h.appendChild(s),s.color=l.fillColor||l.color,s.opacity=l.fillOpacity):s&&(h.removeChild(s),e._fill=null)},_updateCircle:function(e){var i=e._point.round(),s=Math.round(e._radius),l=Math.round(e._radiusY||s);this._setPath(e,e._empty()?"M0 0":"AL "+i.x+","+i.y+" "+s+","+l+" 0,"+65535*360)},_setPath:function(e,i){e._path.v=i},_bringToFront:function(e){oi(e._container)},_bringToBack:function(e){ai(e._container)}},Nr=ve.vml?Zi:B,Fi=an.extend({_initContainer:function(){this._container=Nr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Nr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Ye(this._container),Ue(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){an.prototype._update.call(this);var e=this._bounds,i=e.getSize(),s=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,s.setAttribute("width",i.x),s.setAttribute("height",i.y)),tt(s,e.min),s.setAttribute("viewBox",[e.min.x,e.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(e){var i=e._path=Nr("path");e.options.className&&Le(i,e.options.className),e.options.interactive&&Le(i,"leaflet-interactive"),this._updateStyle(e),this._layers[d(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Ye(e._path),e.removeInteractiveTarget(e._path),delete this._layers[d(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var i=e._path,s=e.options;i&&(s.stroke?(i.setAttribute("stroke",s.color),i.setAttribute("stroke-opacity",s.opacity),i.setAttribute("stroke-width",s.weight),i.setAttribute("stroke-linecap",s.lineCap),i.setAttribute("stroke-linejoin",s.lineJoin),s.dashArray?i.setAttribute("stroke-dasharray",s.dashArray):i.removeAttribute("stroke-dasharray"),s.dashOffset?i.setAttribute("stroke-dashoffset",s.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),s.fill?(i.setAttribute("fill",s.fillColor||s.color),i.setAttribute("fill-opacity",s.fillOpacity),i.setAttribute("fill-rule",s.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(e,i){this._setPath(e,H(e._parts,i))},_updateCircle:function(e){var i=e._point,s=Math.max(Math.round(e._radius),1),l=Math.max(Math.round(e._radiusY),1)||s,h="a"+s+","+l+" 0 1,0 ",S=e._empty()?"M0 0":"M"+(i.x-s)+","+i.y+h+s*2+",0 "+h+-s*2+",0 ";this._setPath(e,S)},_setPath:function(e,i){e._path.setAttribute("d",i)},_bringToFront:function(e){oi(e._path)},_bringToBack:function(e){ai(e._path)}});ve.vml&&Fi.include(sp);function ku(e){return ve.svg||ve.vml?new Fi(e):null}Me.include({getRenderer:function(e){var i=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var i=this._paneRenderers[e];return i===void 0&&(i=this._createRenderer({pane:e}),this._paneRenderers[e]=i),i},_createRenderer:function(e){return this.options.preferCanvas&&Cu(e)||ku(e)}});var Ou=li.extend({initialize:function(e,i){li.prototype.initialize.call(this,this._boundsToLatLngs(e),i)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=x(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function op(e,i){return new Ou(e,i)}Fi.create=Nr,Fi.pointsToPath=H,on.geometryToLayer=xr,on.coordsToLatLng=Co,on.coordsToLatLngs=Cr,on.latLngToCoords=ko,on.latLngsToCoords=kr,on.getFeature=fi,on.asFeature=Or,Me.mergeOptions({boxZoom:!0});var Au=Kt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Re(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ue(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Ye(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Ii(),ho(),this._startPoint=this._map.mouseEventToContainerPoint(e),Re(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Le(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var i=new D(this._point,this._startPoint),s=i.getSize();tt(this._box,i.min),this._box.style.width=s.x+"px",this._box.style.height=s.y+"px"},_finish:function(){this._moved&&(Ye(this._box),et(this._container,"leaflet-crosshair")),Mi(),po(),Ue(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(c(this._resetState,this),0);var i=new Z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Me.addInitHook("addHandler","boxZoom",Au),Me.mergeOptions({doubleClickZoom:!0});var Iu=Kt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var i=this._map,s=i.getZoom(),l=i.options.zoomDelta,h=e.originalEvent.shiftKey?s-l:s+l;i.options.doubleClickZoom==="center"?i.setZoom(h):i.setZoomAround(e.containerPoint,h)}});Me.addInitHook("addHandler","doubleClickZoom",Iu),Me.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Mu=Kt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new Sn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}Le(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){et(this._map._container,"leaflet-grab"),et(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=x(this._map.options.maxBounds);this._offsetLimit=Y(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var i=this._lastTime=+new Date,s=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(s),this._times.push(i),this._prunePositions(i)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,i){return e-(e-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;e.xi.max.x&&(e.x=this._viscousLimit(e.x,i.max.x)),e.y>i.max.y&&(e.y=this._viscousLimit(e.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,i=Math.round(e/2),s=this._initialWorldOffset,l=this._draggable._newPos.x,h=(l-i+s)%e+i-s,S=(l+i+s)%e-i-s,N=Math.abs(h+s)0?S:-S))-i;this._delta=0,this._startTime=null,N&&(e.options.scrollWheelZoom==="center"?e.setZoom(i+N):e.setZoomAround(this._lastMousePos,i+N))}});Me.addInitHook("addHandler","scrollWheelZoom",zu);var ap=600;Me.mergeOptions({tapHold:ve.touchNative&&ve.safari&&ve.mobile,tapTolerance:15});var Du=Kt.extend({addHooks:function(){Re(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ue(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var i=e.touches[0];this._startPos=this._newPos=new re(i.clientX,i.clientY),this._holdTimeout=setTimeout(c(function(){this._cancel(),this._isTapValid()&&(Re(document,"touchend",ft),Re(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),ap),Re(document,"touchend touchcancel contextmenu",this._cancel,this),Re(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){Ue(document,"touchend",ft),Ue(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),Ue(document,"touchend touchcancel contextmenu",this._cancel,this),Ue(document,"touchmove",this._onMove,this)},_onMove:function(e){var i=e.touches[0];this._newPos=new re(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,i){var s=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});s._simulated=!0,i.target.dispatchEvent(s)}});Me.addInitHook("addHandler","tapHold",Du),Me.mergeOptions({touchZoom:ve.touch,bounceAtZoomLimits:!0});var ju=Kt.extend({addHooks:function(){Le(this._map._container,"leaflet-touch-zoom"),Re(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){et(this._map._container,"leaflet-touch-zoom"),Ue(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var i=this._map;if(!(!e.touches||e.touches.length!==2||i._animatingZoom||this._zooming)){var s=i.mouseEventToContainerPoint(e.touches[0]),l=i.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),i.options.touchZoom!=="center"&&(this._pinchStartLatLng=i.containerPointToLatLng(s.add(l)._divideBy(2))),this._startDist=s.distanceTo(l),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),Re(document,"touchmove",this._onTouchMove,this),Re(document,"touchend touchcancel",this._onTouchEnd,this),ft(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var i=this._map,s=i.mouseEventToContainerPoint(e.touches[0]),l=i.mouseEventToContainerPoint(e.touches[1]),h=s.distanceTo(l)/this._startDist;if(this._zoom=i.getScaleZoom(h,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoomi.getMaxZoom()&&h>1)&&(this._zoom=i._limitZoom(this._zoom)),i.options.touchZoom==="center"){if(this._center=this._startLatLng,h===1)return}else{var S=s._add(l)._divideBy(2)._subtract(this._centerPoint);if(h===1&&S.x===0&&S.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(S),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),X(this._animRequest);var N=c(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=ie(N,this,!0),ft(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,X(this._animRequest),Ue(document,"touchmove",this._onTouchMove,this),Ue(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});Me.addInitHook("addHandler","touchZoom",ju),Me.BoxZoom=Au,Me.DoubleClickZoom=Iu,Me.Drag=Mu,Me.Keyboard=Nu,Me.ScrollWheelZoom=zu,Me.TapHold=Du,Me.TouchZoom=ju,r.Bounds=D,r.Browser=ve,r.CRS=j,r.Canvas=xu,r.Circle=xo,r.CircleMarker=Lr,r.Class=me,r.Control=Dt,r.DivIcon=Eu,r.DivOverlay=Gt,r.DomEvent=Th,r.DomUtil=Sh,r.Draggable=Sn,r.Evented=$e,r.FeatureGroup=rn,r.GeoJSON=on,r.GridLayer=qi,r.Handler=Kt,r.Icon=ci,r.ImageOverlay=Ar,r.LatLng=M,r.LatLngBounds=Z,r.Layer=jt,r.LayerGroup=ui,r.LineUtil=Dh,r.Map=Me,r.Marker=Rr,r.Mixin=Oh,r.Path=$n,r.Point=re,r.PolyUtil=Ah,r.Polygon=li,r.Polyline=sn,r.Popup=Ir,r.PosAnimation=uu,r.Projection=jh,r.Rectangle=Ou,r.Renderer=an,r.SVG=Fi,r.SVGOverlay=Tu,r.TileLayer=di,r.Tooltip=Mr,r.Transformation=z,r.Util=fe,r.VideoOverlay=$u,r.bind=c,r.bounds=Y,r.canvas=Cu,r.circle=Wh,r.circleMarker=Uh,r.control=Di,r.divIcon=np,r.extend=a,r.featureGroup=Fh,r.geoJSON=Su,r.geoJson=Jh,r.gridLayer=ip,r.icon=Vh,r.imageOverlay=Yh,r.latLng=q,r.latLngBounds=x,r.layerGroup=Zh,r.map=Eh,r.marker=Hh,r.point=W,r.polygon=Gh,r.polyline=Kh,r.popup=ep,r.rectangle=op,r.setOptions=C,r.stamp=d,r.svg=ku,r.svgOverlay=Qh,r.tileLayer=Ru,r.tooltip=tp,r.transformation=y,r.version=o,r.videoOverlay=Xh;var up=window.L;r.noConflict=function(){return window.L=up,this},window.L=r})}(Yi,Yi.exports)),Yi.exports}var Nw=Mw();const Qt=Vd(Nw),zw={class:"map-container expanded"},Dw={class:"map-wrapper"},jw={key:0,class:"search-list-item-wrapper"},sf=41.87213786,of=-87.62576558,af=14,uf=18,Bw=st({__name:"MobileLeafleftMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{},imagesPrefetch:{},resourceRelationsPrefetch:{}},setup(t){const n=to(),r=Ke([]),o=Ke(void 0),a=Ke(!1),u=t;r.value=u.resourcesPrefetch.map(T=>{var $;return{resource:T,coordinates:(($=u.locationsPrefetch.find(C=>C.resourceinstance_id===T.resourceinstanceid))==null?void 0:$.data[u.idReferences.coordinatesNodeId])??void 0}});const c=Ke(null);let f;const d=new Map,_=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),g=T=>{const $=Qt.map(T).setView([sf,of],af);return f=$,Qt.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo($),$.attributionControl.setPosition("topright"),r.value.forEach(C=>{var w;if(C.coordinates){const P=((w=C.coordinates)==null?void 0:w.features[0].geometry.coordinates)??void 0;if(P){const p=Qt.marker([P[1],P[0]],{icon:_});p.bindPopup(`${C.resource.descriptors.en.name}`),p.on("click",()=>{a.value=!1,setTimeout(()=>{o.value=C.resource.resourceinstanceid,a.value=!0},200)}),d.set(C.resource.resourceinstanceid,p),p.addTo($)}}}),f};Ks(()=>{if(c.value&&(f=g(c.value),n.params.id)){const T=d.get(n.params.id);T&&(T.openPopup(),f==null||f.flyTo(T.getLatLng(),uf))}}),vn(()=>o.value,T=>{if(d.forEach($=>{$.setIcon(_),$.setZIndexOffset(0)}),T){const $=d.get(T);$?($.setIcon(m),$.setZIndexOffset(1e3),$.openPopup(),f==null||f.flyTo($.getLatLng(),uf)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([sf,of],af)},{immediate:!0});const b=rt(()=>u.resourcesPrefetch.find(T=>T.resourceinstanceid===o.value));return(T,$)=>(de(),be("div",zw,[ne("div",null,[ne("div",Dw,[ne("div",{id:"map",ref_key:"mapElement",ref:c},null,512)])]),ke(Ei,{name:"slide-up"},{default:it(()=>[b.value&&a.value?(de(),be("div",jw,[(de(),Ze(Li,{key:b.value.resourceinstanceid,"resource-name":b.value.descriptors.en.name,"resource-description":b.value.descriptors.en.description,"resource-id":b.value.resourceinstanceid,"resource-type":u.idReferences.graphIdToNameTable[b.value.graph_id],class:"search-list-item","image-tile-data":he(ti)(b.value,u.imagesPrefetch,u.resourceRelationsPrefetch,u.idReferences),artist:he(Ri)(b.value,u.resourcesPrefetch,u.resourceRelationsPrefetch,u.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))])):Ve("",!0)]),_:1})]))}}),qw=zt(Bw,[["__scopeId","data-v-aaeccb3d"]]),Zw={class:"mobile-map-container"},Fw={key:1,class:"map-placeholder"},Vw=st({__name:"MapView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},locationsPrefetch:{},query:{}},setup(t){const n=t;return(r,o)=>(de(),be("div",Zw,[r.resourcesPrefetch&&r.idReferences&&r.locationsPrefetch&&r.imagesPrefetch&&r.resourceRelationsPrefetch?(de(),Ze(qw,{key:0,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"locations-prefetch":n.locationsPrefetch,"images-prefetch":n.imagesPrefetch,"resource-relations-prefetch":n.resourceRelationsPrefetch},null,8,["resources-prefetch","id-references","locations-prefetch","images-prefetch","resource-relations-prefetch"])):(de(),be("div",Fw,"Loading map…"))]))}}),Hw=zt(Vw,[["__scopeId","data-v-edffe4af"]]),Uw=[{path:"/",component:Ay},{path:"/wac/resource/:id",component:hw},{path:"/artists",component:Lw},{path:"/artworks",component:Aw},{path:"/about",component:Sw},{path:"/map",component:Hw}],Ww=Fg({history:vg(),routes:Uw}),Kw={class:"map-container expanded chevron-expanded"},Gw={class:"map-wrapper"},cf=41.87213786,lf=-87.62576558,ff=14,df=18,Jw=st({__name:"DesktopLeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(t){const n=eo(),r=to(),o=Ke([]),a=t;o.value=a.resourcesPrefetch.map(g=>{var b;return{resource:g,coordinates:((b=a.locationsPrefetch.find(T=>T.resourceinstance_id===g.resourceinstanceid))==null?void 0:b.data[a.idReferences.coordinatesNodeId])??void 0}});const u=Ke(null);let c;const f=new Map,d=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),_=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),m=g=>{const b=Qt.map(g).setView([cf,lf],ff);return c=b,Qt.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(b),o.value.forEach(T=>{var $;if(T.coordinates){const C=(($=T.coordinates)==null?void 0:$.features[0].geometry.coordinates)??void 0;if(C){const w=Qt.marker([C[1],C[0]],{icon:d});w.bindPopup(`${T.resource.descriptors.en.name}`),w.on("click",()=>{n.push(`/wac/resource/${T.resource.resourceinstanceid}`)}),f.set(T.resource.resourceinstanceid,w),w.addTo(b)}}}),c};return Ks(()=>{if(u.value&&(c=m(u.value),r.params.id)){const g=f.get(r.params.id);g&&(g.openPopup(),c==null||c.flyTo(g.getLatLng(),df))}}),vn(()=>r.params.id,g=>{if(f.forEach(b=>{b.setIcon(d),b.setZIndexOffset(0)}),g){const b=f.get(g);b?(b.setIcon(_),b.setZIndexOffset(1e3),b.openPopup(),c==null||c.flyTo(b.getLatLng(),df)):c==null||c.closePopup()}else c==null||c.closePopup(),c==null||c.setView([cf,lf],ff)},{immediate:!0}),(g,b)=>(de(),be("div",Kw,[ne("div",null,[ne("div",Gw,[ne("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])]))}}),Yw=zt(Jw,[["__scopeId","data-v-690d2d81"]]),Xw={class:"home"},Qw={class:"welcome"},e0={class:"welcome-content"},t0={class:"welcome-credits"},n0={class:"welcome-credit"},i0=["src"],r0={class:"welcome-credit"},s0=["src"],o0={id:"map-container"},a0={key:1,class:"map-placeholder"},u0={id:"search-list-container"},c0={class:"search-header"},l0={class:"search-input-wrapper"},f0=st({__name:"App",setup(t){const n=eo(),r=!0,o=Ke(void 0),a=Ke(void 0),u=Ke(void 0),c=Ke(void 0),f=Ke(void 0),d=Ke(""),_=Ke("");async function m(){try{const g=new URL("https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),T=await(await fetch(g.toString())).json();o.value=T.idReferences,a.value=T.images,u.value=T.locations,c.value=T.resourceRelations,f.value=T.resources}catch{o.value=void 0,a.value=void 0,u.value=void 0,c.value=void 0,f.value=void 0}}return m(),vn(()=>n.currentRoute.value,g=>(_.value=g.path,!0)),(g,b)=>{const T=ki("RouterView");return de(),be("div",Xw,[ne("header",Qw,[ne("div",e0,[b[7]||(b[7]=ne("h1",{class:"welcome-text"},[An(" Explore Chicago’s "),ne("br"),An(" Wabash Arts Corridor ")],-1)),ne("div",t0,[ne("div",n0,[b[5]||(b[5]=ne("p",null,"Designed by",-1)),ne("img",{src:he(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,i0)]),ne("div",r0,[b[6]||(b[6]=ne("p",null,"Powered by",-1)),ne("img",{src:he(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,s0)])])])]),ne("main",null,[ne("div",o0,[f.value&&o.value&&u.value?(de(),Ze(Yw,{key:0,"resources-prefetch":f.value,"id-references":o.value,"locations-prefetch":u.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(de(),be("div",a0,"Loading map…"))]),ne("div",u0,[ne("div",c0,[ne("div",l0,[ke(he(Fd),{class:"search-icon"}),om(ne("input",{"onUpdate:modelValue":b[0]||(b[0]=$=>d.value=$),class:"search-input",placeholder:"Search"},null,512),[[N_,d.value]])]),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artworks"}]),onClick:b[1]||(b[1]=$=>he(n).push("/artworks"))},[ke(he(gr),{class:"button-icon"}),b[8]||(b[8]=ne("span",null,"Artworks",-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artists"}]),onClick:b[2]||(b[2]=$=>he(n).push("/artists"))},[ke(he(vr),{class:"button-icon"}),b[9]||(b[9]=ne("span",null,"Artists",-1))],2),ne("button",{id:"map-icon",type:"button",class:Xn(["nav-button map-icon",{active:_.value==="/map"}]),onClick:b[3]||(b[3]=$=>he(n).push("/map"))},[ke(he(Ug),{class:"button-icon"}),b[10]||(b[10]=ne("span",null,"Map",-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/about"}]),onClick:b[4]||(b[4]=$=>he(n).push("/about"))},[ke(he(Hg),{class:"button-icon"}),b[11]||(b[11]=ne("span",null,"About",-1))],2)]),ke(T,null,{default:it(({Component:$})=>[f.value&&c.value&&o.value&&a.value&&u.value?(de(),Ze(Ei,{key:0},{default:it(()=>[(de(),Ze(bm($),{"resources-prefetch":f.value,"resource-relations-prefetch":c.value,"id-references":o.value,"images-prefetch":a.value,"locations-prefetch":u.value,query:d.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch","locations-prefetch","query"]))]),_:2},1024)):Ve("",!0)]),_:1})])])])}}}),d0=zt(f0,[["__scopeId","data-v-a9dda051"]]),Qd=j_(d0);Qd.use(Ww);Qd.mount("#app"); + */var Nw=Yi.exports,rf;function zw(){return rf||(rf=1,function(t,n){(function(r,o){o(n)})(Nw,function(r){var o="1.9.4";function a(e){var i,s,c,d;for(s=1,c=arguments.length;s"u"||!L||!L.Mixin)){e=v(e)?e:[e];for(var i=0;i0?Math.floor(e):Math.ceil(e)};re.prototype={clone:function(){return new re(this.x,this.y)},add:function(e){return this.clone()._add(K(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(K(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new re(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new re(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Qe(this.x),this.y=Qe(this.y),this},distanceTo:function(e){e=K(e);var i=e.x-this.x,s=e.y-this.y;return Math.sqrt(i*i+s*s)},equals:function(e){return e=K(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=K(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+b(this.x)+", "+b(this.y)+")"}};function K(e,i,s){return e instanceof re?e:v(e)?new re(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new re(e.x,e.y):new re(e,i,s)}function D(e,i){if(e)for(var s=i?[e,i]:e,c=0,d=s.length;c=this.min.x&&s.x<=this.max.x&&i.y>=this.min.y&&s.y<=this.max.y},intersects:function(e){e=Y(e);var i=this.min,s=this.max,c=e.min,d=e.max,S=d.x>=i.x&&c.x<=s.x,N=d.y>=i.y&&c.y<=s.y;return S&&N},overlaps:function(e){e=Y(e);var i=this.min,s=this.max,c=e.min,d=e.max,S=d.x>i.x&&c.xi.y&&c.y=i.lat&&d.lat<=s.lat&&c.lng>=i.lng&&d.lng<=s.lng},intersects:function(e){e=x(e);var i=this._southWest,s=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>=i.lat&&c.lat<=s.lat,N=d.lng>=i.lng&&c.lng<=s.lng;return S&&N},overlaps:function(e){e=x(e);var i=this._southWest,s=this._northEast,c=e.getSouthWest(),d=e.getNorthEast(),S=d.lat>i.lat&&c.lati.lng&&c.lng1,od=function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",g,i),window.removeEventListener("testPassiveEventSupport",g,i)}catch{}return e}(),ad=function(){return!!document.createElement("canvas").getContext}(),oo=!!(document.createElementNS&&B("svg").createSVGRect),ud=!!oo&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),cd=!oo&&function(){try{var e=document.createElement("div");e.innerHTML='';var i=e.firstChild;return i.style.behavior="url(#default#VML)",i&&typeof i.adj=="object"}catch{return!1}}(),ld=navigator.platform.indexOf("Mac")===0,fd=navigator.platform.indexOf("Linux")===0;function Ut(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var ve={ie:ce,ielt9:ue,edge:oe,webkit:Q,android:_e,android23:le,androidStock:ye,opera:Ee,chrome:Ne,gecko:Ae,safari:at,phantom:ot,opera12:$t,win:xt,ie3d:Pn,webkit3d:ri,gecko3d:pt,any3d:Ct,mobile:Sn,mobileWebkit:ed,mobileWebkit3d:td,msPointer:Ha,pointer:Ua,touch:nd,touchNative:Ka,mobileOpera:id,mobileGecko:rd,retina:sd,passiveEvents:od,canvas:ad,svg:oo,vml:cd,inlineSvg:ud,mac:ld,linux:fd},Wa=ve.msPointer?"MSPointerDown":"pointerdown",Ga=ve.msPointer?"MSPointerMove":"pointermove",Ja=ve.msPointer?"MSPointerUp":"pointerup",Ya=ve.msPointer?"MSPointerCancel":"pointercancel",ao={touchstart:Wa,touchmove:Ga,touchend:Ja,touchcancel:Ya},Xa={touchstart:gd,touchmove:vr,touchend:vr,touchcancel:vr},si={},Qa=!1;function hd(e,i,s){return i==="touchstart"&&_d(),Xa[i]?(s=Xa[i].bind(this,s),e.addEventListener(ao[i],s,!1),s):(console.warn("wrong event specified:",i),g)}function dd(e,i,s){if(!ao[i]){console.warn("wrong event specified:",i);return}e.removeEventListener(ao[i],s,!1)}function pd(e){si[e.pointerId]=e}function md(e){si[e.pointerId]&&(si[e.pointerId]=e)}function eu(e){delete si[e.pointerId]}function _d(){Qa||(document.addEventListener(Wa,pd,!0),document.addEventListener(Ga,md,!0),document.addEventListener(Ja,eu,!0),document.addEventListener(Ya,eu,!0),Qa=!0)}function vr(e,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){i.touches=[];for(var s in si)i.touches.push(si[s]);i.changedTouches=[i],e(i)}}function gd(e,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&ft(i),vr(e,i)}function vd(e){var i={},s,c;for(c in e)s=e[c],i[c]=s&&s.bind?s.bind(e):s;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}var yd=200;function wd(e,i){e.addEventListener("dblclick",i);var s=0,c;function d(S){if(S.detail!==1){c=S.detail;return}if(!(S.pointerType==="mouse"||S.sourceCapabilities&&!S.sourceCapabilities.firesTouchEvents)){var N=su(S);if(!(N.some(function(U){return U instanceof HTMLLabelElement&&U.attributes.for})&&!N.some(function(U){return U instanceof HTMLInputElement||U instanceof HTMLSelectElement}))){var F=Date.now();F-s<=yd?(c++,c===2&&i(vd(S))):c=1,s=F}}}return e.addEventListener("click",d),{dblclick:i,simDblclick:d}}function bd(e,i){e.removeEventListener("dblclick",i.dblclick),e.removeEventListener("click",i.simDblclick)}var uo=br(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Oi=br(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tu=Oi==="webkitTransition"||Oi==="OTransition"?Oi+"End":"transitionend";function nu(e){return typeof e=="string"?document.getElementById(e):e}function Ai(e,i){var s=e.style[i]||e.currentStyle&&e.currentStyle[i];if((!s||s==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(e,null);s=c?c[i]:null}return s==="auto"?null:s}function ze(e,i,s){var c=document.createElement(e);return c.className=i||"",s&&s.appendChild(c),c}function Je(e){var i=e.parentNode;i&&i.removeChild(e)}function yr(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function oi(e){var i=e.parentNode;i&&i.lastChild!==e&&i.appendChild(e)}function ai(e){var i=e.parentNode;i&&i.firstChild!==e&&i.insertBefore(e,i.firstChild)}function co(e,i){if(e.classList!==void 0)return e.classList.contains(i);var s=wr(e);return s.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(s)}function Le(e,i){if(e.classList!==void 0)for(var s=$(i),c=0,d=s.length;c0?2*window.devicePixelRatio:1;function au(e){return ve.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/$d:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function Po(e,i){var s=i.relatedTarget;if(!s)return!0;try{for(;s&&s!==e;)s=s.parentNode}catch{return!1}return s!==e}var Ed={__proto__:null,on:Re,off:He,stopPropagation:Bn,disableScrollPropagation:bo,disableClickPropagation:zi,preventDefault:ft,stop:qn,getPropagationPath:su,getMousePosition:ou,getWheelDelta:au,isExternalTarget:Po,addListener:Re,removeListener:He},uu=$e.extend({run:function(e,i,s,c){this.stop(),this._el=e,this._inProgress=!0,this._duration=s||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=jn(e),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=ie(this._animate,this),this._step()},_step:function(e){var i=+new Date-this._startTime,s=this._duration*1e3;ithis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,i){this._enforcingBounds=!0;var s=this.getCenter(),c=this._limitCenter(s,this._zoom,x(e));return s.equals(c)||this.panTo(c,i),this._enforcingBounds=!1,this},panInside:function(e,i){i=i||{};var s=K(i.paddingTopLeft||i.padding||[0,0]),c=K(i.paddingBottomRight||i.padding||[0,0]),d=this.project(this.getCenter()),S=this.project(e),N=this.getPixelBounds(),F=Y([N.min.add(s),N.max.subtract(c)]),U=F.getSize();if(!F.contains(S)){this._enforcingBounds=!0;var te=S.subtract(F.getCenter()),pe=F.extend(S).getSize().subtract(U);d.x+=te.x<0?-pe.x:pe.x,d.y+=te.y<0?-pe.y:pe.y,this.panTo(this.unproject(d),i),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=a({animate:!1,pan:!0},e===!0?{animate:!0}:e);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var s=this.getSize(),c=i.divideBy(2).round(),d=s.divideBy(2).round(),S=c.subtract(d);return!S.x&&!S.y?this:(e.animate&&e.pan?this.panBy(S):(e.pan&&this._rawPanBy(S),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(l(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:s}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=a({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=l(this._handleGeolocationResponse,this),s=l(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,s,e):navigator.geolocation.getCurrentPosition(i,s,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var i=e.code,s=e.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+s+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var i=e.coords.latitude,s=e.coords.longitude,c=new M(i,s),d=c.toBounds(e.coords.accuracy*2),S=this._locateOptions;if(S.setView){var N=this.getBoundsZoom(d);this.setView(c,S.maxZoom?Math.min(N,S.maxZoom):N)}var F={latlng:c,bounds:d,timestamp:e.timestamp};for(var U in e.coords)typeof e.coords[U]=="number"&&(F[U]=e.coords[U]);this.fire("locationfound",F)}},addHandler:function(e,i){if(!i)return this;var s=this[e]=new i(this);return this._handlers.push(s),this.options[e]&&s.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Je(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(X(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Je(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,i){var s="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),c=ze("div",s,i||this._mapPane);return e&&(this._panes[e]=c),c},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),i=this.unproject(e.getBottomLeft()),s=this.unproject(e.getTopRight());return new Z(i,s)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,i,s){e=x(e),s=K(s||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),S=this.getMaxZoom(),N=e.getNorthWest(),F=e.getSouthEast(),U=this.getSize().subtract(s),te=Y(this.project(F,c),this.project(N,c)).getSize(),pe=ve.any3d?this.options.zoomSnap:1,we=U.x/te.x,Ce=U.y/te.y,vt=i?Math.max(we,Ce):Math.min(we,Ce);return c=this.getScaleZoom(vt,c),pe&&(c=Math.round(c/(pe/100))*(pe/100),c=i?Math.ceil(c/pe)*pe:Math.floor(c/pe)*pe),Math.max(d,Math.min(S,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new re(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,i){var s=this._getTopLeftPoint(e,i);return new D(s,s.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,i){var s=this.options.crs;return i=i===void 0?this._zoom:i,s.scale(e)/s.scale(i)},getScaleZoom:function(e,i){var s=this.options.crs;i=i===void 0?this._zoom:i;var c=s.zoom(e*s.scale(i));return isNaN(c)?1/0:c},project:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.latLngToPoint(q(e),i)},unproject:function(e,i){return i=i===void 0?this._zoom:i,this.options.crs.pointToLatLng(K(e),i)},layerPointToLatLng:function(e){var i=K(e).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(e){var i=this.project(q(e))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(q(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(x(e))},distance:function(e,i){return this.options.crs.distance(q(e),q(i))},containerPointToLayerPoint:function(e){return K(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return K(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var i=this.containerPointToLayerPoint(K(e));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(q(e)))},mouseEventToContainerPoint:function(e){return ou(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var i=this._container=nu(e);if(i){if(i._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Re(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ve.any3d,Le(e,"leaflet-container"+(ve.touch?" leaflet-touch":"")+(ve.retina?" leaflet-retina":"")+(ve.ielt9?" leaflet-oldie":"")+(ve.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=Ai(e,"position");i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),tt(this._mapPane,new re(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Le(e.markerPane,"leaflet-zoom-hide"),Le(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,i,s){tt(this._mapPane,new re(0,0));var c=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var d=this._zoom!==i;this._moveStart(d,s)._move(e,i)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(e,i){return e&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(e,i,s,c){i===void 0&&(i=this._zoom);var d=this._zoom!==i;return this._zoom=i,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),c?s&&s.pinch&&this.fire("zoom",s):((d||s&&s.pinch)&&this.fire("zoom",s),this.fire("move",s)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return X(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){tt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[h(this._container)]=this;var i=e?He:Re;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),ve.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){X(this._resizeRequest),this._resizeRequest=ie(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,i){for(var s=[],c,d=i==="mouseout"||i==="mouseover",S=e.target||e.srcElement,N=!1;S;){if(c=this._targets[h(S)],c&&(i==="click"||i==="preclick")&&this._draggableMoved(c)){N=!0;break}if(c&&c.listens(i,!0)&&(d&&!Po(S,e)||(s.push(c),d))||S===this._container)break;S=S.parentNode}return!s.length&&!N&&!d&&this.listens(i,!0)&&(s=[this]),s},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var i=e.target||e.srcElement;if(!(!this._loaded||i._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(i))){var s=e.type;s==="mousedown"&&_o(i),this._fireDOMEvent(e,s)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,i,s){if(e.type==="click"){var c=a({},e);c.type="preclick",this._fireDOMEvent(c,c.type,s)}var d=this._findEventTargets(e,i);if(s){for(var S=[],N=0;N0?Math.round(e-i)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(i))},_limitZoom:function(e){var i=this.getMinZoom(),s=this.getMaxZoom(),c=ve.any3d?this.options.zoomSnap:1;return c&&(e=Math.round(e/c)*c),Math.max(i,Math.min(s,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){et(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,i){var s=this._getCenterOffset(e)._trunc();return(i&&i.animate)!==!0&&!this.getSize().contains(s)?!1:(this.panBy(s,i),!0)},_createAnimProxy:function(){var e=this._proxy=ze("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(i){var s=uo,c=this._proxy.style[s];Dn(this._proxy,this.project(i.center,i.zoom),this.getZoomScale(i.zoom,1)),c===this._proxy.style[s]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Je(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),i=this.getZoom();Dn(this._proxy,this.project(e,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,i,s){if(this._animatingZoom)return!0;if(s=s||{},!this._zoomAnimated||s.animate===!1||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(i),d=this._getCenterOffset(e)._divideBy(1-1/c);return s.animate!==!0&&!this.getSize().contains(d)?!1:(ie(function(){this._moveStart(!0,s.noMoveStart||!1)._animateZoom(e,i,!0)},this),!0)},_animateZoom:function(e,i,s,c){this._mapPane&&(s&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=i,Le(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:i,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(l(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&et(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Td(e,i){return new Me(e,i)}var Dt=me.extend({options:{position:"topright"},initialize:function(e){C(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var i=this._map;return i&&i.removeControl(this),this.options.position=e,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var i=this._container=this.onAdd(e),s=this.getPosition(),c=e._controlCorners[s];return Le(i,"leaflet-control"),s.indexOf("bottom")!==-1?c.insertBefore(i,c.firstChild):c.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Je(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Di=function(e){return new Dt(e)};Me.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},i="leaflet-",s=this._controlContainer=ze("div",i+"control-container",this._container);function c(d,S){var N=i+d+" "+i+S;e[d+S]=ze("div",N,s)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Je(this._controlCorners[e]);Je(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var cu=Dt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,i,s,c){return s1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=i&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var i=this._getLayer(h(e.target)),s=i.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;s&&this._map.fire(s,i)},_createRadioElement:function(e,i){var s='",c=document.createElement("div");return c.innerHTML=s,c.firstChild},_addItem:function(e){var i=document.createElement("label"),s=this._map.hasLayer(e.layer),c;e.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=s):c=this._createRadioElement("leaflet-base-layers_"+h(this),s),this._layerControlInputs.push(c),c.layerId=h(e.layer),Re(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+e.name;var S=document.createElement("span");i.appendChild(S),S.appendChild(c),S.appendChild(d);var N=e.overlay?this._overlaysList:this._baseLayersList;return N.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,i,s,c=[],d=[];this._handlingClick=!0;for(var S=e.length-1;S>=0;S--)i=e[S],s=this._getLayer(i.layerId).layer,i.checked?c.push(s):i.checked||d.push(s);for(S=0;S=0;d--)i=e[d],s=this._getLayer(i.layerId).layer,i.disabled=s.options.minZoom!==void 0&&cs.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,Re(e,"click",ft),this.expand();var i=this;setTimeout(function(){He(e,"click",ft),i._preventClick=!1})}}),Rd=function(e,i,s){return new cu(e,i,s)},So=Dt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var i="leaflet-control-zoom",s=ze("div",i+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,i+"-in",s,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,i+"-out",s,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),s},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,i,s,c,d){var S=ze("a",s,c);return S.innerHTML=e,S.href="#",S.title=i,S.setAttribute("role","button"),S.setAttribute("aria-label",i),zi(S),Re(S,"click",qn),Re(S,"click",d,this),Re(S,"click",this._refocusOnMap,this),S},_updateDisabled:function(){var e=this._map,i="leaflet-disabled";et(this._zoomInButton,i),et(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Le(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Le(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Me.mergeOptions({zoomControl:!0}),Me.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new So,this.addControl(this.zoomControl))});var Ld=function(e){return new So(e)},lu=Dt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var i="leaflet-control-scale",s=ze("div",i),c=this.options;return this._addScales(c,i+"-line",s),e.on(c.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),s},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,i,s){e.metric&&(this._mScale=ze("div",i,s)),e.imperial&&(this._iScale=ze("div",i,s))},_update:function(){var e=this._map,i=e.getSize().y/2,s=e.distance(e.containerPointToLatLng([0,i]),e.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(s)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var i=this._getRoundNum(e),s=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,s,i/e)},_updateImperial:function(e){var i=e*3.2808399,s,c,d;i>5280?(s=i/5280,c=this._getRoundNum(s),this._updateScale(this._iScale,c+" mi",c/s)):(d=this._getRoundNum(i),this._updateScale(this._iScale,d+" ft",d/i))},_updateScale:function(e,i,s){e.style.width=Math.round(this.options.maxWidth*s)+"px",e.innerHTML=i},_getRoundNum:function(e){var i=Math.pow(10,(Math.floor(e)+"").length-1),s=e/i;return s=s>=10?10:s>=5?5:s>=3?3:s>=2?2:1,i*s}}),xd=function(e){return new lu(e)},Cd='',$o=Dt.extend({options:{position:"bottomright",prefix:''+(ve.inlineSvg?Cd+" ":"")+"Leaflet"},initialize:function(e){C(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=ze("div","leaflet-control-attribution"),zi(this._container);for(var i in e._layers)e._layers[i].getAttribution&&this.addAttribution(e._layers[i].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var i in this._attributions)this._attributions[i]&&e.push(i);var s=[];this.options.prefix&&s.push(this.options.prefix),e.length&&s.push(e.join(", ")),this._container.innerHTML=s.join(' ')}}});Me.mergeOptions({attributionControl:!0}),Me.addInitHook(function(){this.options.attributionControl&&new $o().addTo(this)});var kd=function(e){return new $o(e)};Dt.Layers=cu,Dt.Zoom=So,Dt.Scale=lu,Dt.Attribution=$o,Di.layers=Rd,Di.zoom=Ld,Di.scale=xd,Di.attribution=kd;var Wt=me.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Wt.addTo=function(e,i){return e.addHandler(i,this),this};var Od={Events:Se},fu=ve.touch?"touchstart mousedown":"mousedown",$n=$e.extend({options:{clickTolerance:3},initialize:function(e,i,s,c){C(this,c),this._element=e,this._dragStartTarget=i||e,this._preventOutline=s},enable:function(){this._enabled||(Re(this._dragStartTarget,fu,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&($n._dragging===this&&this.finishDrag(!0),He(this._dragStartTarget,fu,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!co(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){$n._dragging===this&&this.finishDrag();return}if(!($n._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&($n._dragging=this,this._preventOutline&&_o(this._element),ho(),Ii(),!this._moving)){this.fire("down");var i=e.touches?e.touches[0]:e,s=iu(this._element);this._startPoint=new re(i.clientX,i.clientY),this._startPos=jn(this._element),this._parentScale=go(s);var c=e.type==="mousedown";Re(document,c?"mousemove":"touchmove",this._onMove,this),Re(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var i=e.touches&&e.touches.length===1?e.touches[0]:e,s=new re(i.clientX,i.clientY)._subtract(this._startPoint);!s.x&&!s.y||Math.abs(s.x)+Math.abs(s.y)S&&(N=F,S=U);S>s&&(i[N]=1,To(e,i,s,c,N),To(e,i,s,N,d))}function Nd(e,i){for(var s=[e[0]],c=1,d=0,S=e.length;ci&&(s.push(e[c]),d=c);return di.max.x&&(s|=2),e.yi.max.y&&(s|=8),s}function zd(e,i){var s=i.x-e.x,c=i.y-e.y;return s*s+c*c}function ji(e,i,s,c){var d=i.x,S=i.y,N=s.x-d,F=s.y-S,U=N*N+F*F,te;return U>0&&(te=((e.x-d)*N+(e.y-S)*F)/U,te>1?(d=s.x,S=s.y):te>0&&(d+=N*te,S+=F*te)),N=e.x-d,F=e.y-S,c?N*N+F*F:new re(d,S)}function Ot(e){return!v(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function vu(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ot(e)}function yu(e,i){var s,c,d,S,N,F,U,te;if(!e||e.length===0)throw new Error("latlngs not passed");Ot(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var pe=q([0,0]),we=x(e),Ce=we.getNorthWest().distanceTo(we.getSouthWest())*we.getNorthEast().distanceTo(we.getNorthWest());Ce<1700&&(pe=Eo(e));var vt=e.length,ut=[];for(s=0;sc){U=(S-c)/d,te=[F.x-U*(F.x-N.x),F.y-U*(F.y-N.y)];break}var St=i.unproject(K(te));return q([St.lat+pe.lat,St.lng+pe.lng])}var Dd={__proto__:null,simplify:pu,pointToSegmentDistance:mu,closestPointOnSegment:Id,clipSegment:gu,_getEdgeIntersection:$r,_getBitCode:Zn,_sqClosestPointOnSegment:ji,isFlat:Ot,_flat:vu,polylineCenter:yu},Ro={project:function(e){return new re(e.lng,e.lat)},unproject:function(e){return new M(e.y,e.x)},bounds:new D([-180,-90],[180,90])},Lo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new D([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var i=Math.PI/180,s=this.R,c=e.lat*i,d=this.R_MINOR/s,S=Math.sqrt(1-d*d),N=S*Math.sin(c),F=Math.tan(Math.PI/4-c/2)/Math.pow((1-N)/(1+N),S/2);return c=-s*Math.log(Math.max(F,1e-10)),new re(e.lng*i*s,c)},unproject:function(e){for(var i=180/Math.PI,s=this.R,c=this.R_MINOR/s,d=Math.sqrt(1-c*c),S=Math.exp(-e.y/s),N=Math.PI/2-2*Math.atan(S),F=0,U=.1,te;F<15&&Math.abs(U)>1e-7;F++)te=d*Math.sin(N),te=Math.pow((1-te)/(1+te),d/2),U=Math.PI/2-2*Math.atan(S*te)-N,N+=U;return new M(N*i,e.x*i/s)}},jd={__proto__:null,LonLat:Ro,Mercator:Lo,SphericalMercator:ae},Bd=a({},G,{code:"EPSG:3395",projection:Lo,transformation:function(){var e=.5/(Math.PI*Lo.R);return y(e,.5,-e,.5)}()}),wu=a({},G,{code:"EPSG:4326",projection:Ro,transformation:y(1/180,1,-1/180,.5)}),qd=a({},j,{projection:Ro,transformation:y(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,i){var s=i.lng-e.lng,c=i.lat-e.lat;return Math.sqrt(s*s+c*c)},infinite:!0});j.Earth=G,j.EPSG3395=Bd,j.EPSG3857=T,j.EPSG900913=A,j.EPSG4326=wu,j.Simple=qd;var jt=$e.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[h(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[h(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var i=e.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var s=this.getEvents();i.on(s,this),this.once("remove",function(){i.off(s,this)},this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});Me.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(e);return this._layers[i]?this:(this._layers[i]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var i=h(e);return this._layers[i]?(this._loaded&&e.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return h(e)in this._layers},eachLayer:function(e,i){for(var s in this._layers)e.call(i,this._layers[s]);return this},_addLayers:function(e){e=e?v(e)?e:[e]:[];for(var i=0,s=e.length;ithis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&i[0]instanceof M&&i[0].equals(i[s-1])&&i.pop(),i},_setLatLngs:function(e){sn.prototype._setLatLngs.call(this,e),Ot(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ot(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,i=this.options.weight,s=new re(i,i);if(e=new D(e.min.subtract(s),e.max.add(s)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,S;ce.y!=d.y>e.y&&e.x<(d.x-c.x)*(e.y-c.y)/(d.y-c.y)+c.x&&(i=!i);return i||sn.prototype._containsPoint.call(this,e,!0)}});function Gd(e,i){return new li(e,i)}var on=rn.extend({initialize:function(e,i){C(this,i),this._layers={},e&&this.addData(e)},addData:function(e){var i=v(e)?e:e.features,s,c,d;if(i){for(s=0,c=i.length;s0&&d.push(d[0].slice()),d}function fi(e,i){return e.feature?a({},e.feature,{geometry:i}):Cr(i)}function Cr(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var Oo={toGeoJSON:function(e){return fi(this,{type:"Point",coordinates:ko(this.getLatLng(),e)})}};Er.include(Oo),xo.include(Oo),Tr.include(Oo),sn.include({toGeoJSON:function(e){var i=!Ot(this._latlngs),s=xr(this._latlngs,i?1:0,!1,e);return fi(this,{type:(i?"Multi":"")+"LineString",coordinates:s})}}),li.include({toGeoJSON:function(e){var i=!Ot(this._latlngs),s=i&&!Ot(this._latlngs[0]),c=xr(this._latlngs,s?2:i?1:0,!0,e);return i||(c=[c]),fi(this,{type:(s?"Multi":"")+"Polygon",coordinates:c})}}),ui.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(s){i.push(s.toGeoJSON(e).geometry.coordinates)}),fi(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint")return this.toMultiPoint(e);var s=i==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var S=d.toGeoJSON(e);if(s)c.push(S.geometry);else{var N=Cr(S);N.type==="FeatureCollection"?c.push.apply(c,N.features):c.push(N)}}}),s?fi(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function Su(e,i){return new on(e,i)}var Jd=Su,kr=jt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,i,s){this._url=e,this._bounds=x(i),C(this,s)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Le(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Je(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&oi(this._image),this},bringToBack:function(){return this._map&&ai(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=x(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",i=this._image=e?this._url:ze("img");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onload=l(this.fire,this,"load"),i.onerror=l(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=i.src;return}i.src=this._url,i.alt=this.options.alt},_animateZoom:function(e){var i=this._map.getZoomScale(e.zoom),s=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Dn(this._image,s,i)},_reset:function(){var e=this._image,i=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),s=i.getSize();tt(e,i.min),e.style.width=s.x+"px",e.style.height=s.y+"px"},_updateOpacity:function(){kt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Yd=function(e,i,s){return new kr(e,i,s)},$u=kr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",i=this._image=e?this._url:ze("video");if(Le(i,"leaflet-image-layer"),this._zoomAnimated&&Le(i,"leaflet-zoom-animated"),this.options.className&&Le(i,this.options.className),i.onselectstart=g,i.onmousemove=g,i.onloadeddata=l(this.fire,this,"load"),e){for(var s=i.getElementsByTagName("source"),c=[],d=0;d0?c:[i.src];return}v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var S=0;Sd?(i.height=d+"px",Le(e,S)):et(e,S),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var i=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),s=this._getAnchor();tt(this._container,i.add(s))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,i=parseInt(Ai(this._container,"marginBottom"),10)||0,s=this._container.offsetHeight+i,c=this._containerWidth,d=new re(this._containerLeft,-s-this._containerBottom);d._add(jn(this._container));var S=e.layerPointToContainerPoint(d),N=K(this.options.autoPanPadding),F=K(this.options.autoPanPaddingTopLeft||N),U=K(this.options.autoPanPaddingBottomRight||N),te=e.getSize(),pe=0,we=0;S.x+c+U.x>te.x&&(pe=S.x+c-te.x+U.x),S.x-pe-F.x<0&&(pe=S.x-F.x),S.y+s+U.y>te.y&&(we=S.y+s-te.y+U.y),S.y-we-F.y<0&&(we=S.y-F.y),(pe||we)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([pe,we]))}},_getAnchor:function(){return K(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ep=function(e,i){return new Or(e,i)};Me.mergeOptions({closePopupOnClick:!0}),Me.include({openPopup:function(e,i,s){return this._initOverlay(Or,e,i,s).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),jt.include({bindPopup:function(e,i){return this._popup=this._initOverlay(Or,this._popup,e,i),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof rn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){qn(e);var i=e.layer||e.target;if(this._popup._source===i&&!(i instanceof En)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=i,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Ar=Gt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Gt.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Gt.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Gt.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",i=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ze("div",i),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var i,s,c=this._map,d=this._container,S=c.latLngToContainerPoint(c.getCenter()),N=c.layerPointToContainerPoint(e),F=this.options.direction,U=d.offsetWidth,te=d.offsetHeight,pe=K(this.options.offset),we=this._getAnchor();F==="top"?(i=U/2,s=te):F==="bottom"?(i=U/2,s=0):F==="center"?(i=U/2,s=te/2):F==="right"?(i=0,s=te/2):F==="left"?(i=U,s=te/2):N.xthis.options.maxZoom||sc?this._retainParent(d,S,N,c):!1)},_retainChildren:function(e,i,s,c){for(var d=2*e;d<2*e+2;d++)for(var S=2*i;S<2*i+2;S++){var N=new re(d,S);N.z=s+1;var F=this._tileCoordsToKey(N),U=this._tiles[F];if(U&&U.active){U.retain=!0;continue}else U&&U.loaded&&(U.retain=!0);s+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(e,s);return}for(var we=d.min.y;we<=d.max.y;we++)for(var Ce=d.min.x;Ce<=d.max.x;Ce++){var vt=new re(Ce,we);if(vt.z=this._tileZoom,!!this._isValidTile(vt)){var ut=this._tiles[this._tileCoordsToKey(vt)];ut?ut.current=!0:N.push(vt)}}if(N.sort(function(St,di){return St.distanceTo(S)-di.distanceTo(S)}),N.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var At=document.createDocumentFragment();for(Ce=0;Ces.max.x)||!i.wrapLat&&(e.ys.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(e);return x(this.options.bounds).overlaps(c)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var i=this._map,s=this.getTileSize(),c=e.scaleBy(s),d=c.add(s),S=i.unproject(c,e.z),N=i.unproject(d,e.z);return[S,N]},_tileCoordsToBounds:function(e){var i=this._tileCoordsToNwSe(e),s=new Z(i[0],i[1]);return this.options.noWrap||(s=this._map.wrapLatLngBounds(s)),s},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var i=e.split(":"),s=new re(+i[0],+i[1]);return s.z=+i[2],s},_removeTile:function(e){var i=this._tiles[e];i&&(Je(i.el),delete this._tiles[e],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Le(e,"leaflet-tile");var i=this.getTileSize();e.style.width=i.x+"px",e.style.height=i.y+"px",e.onselectstart=g,e.onmousemove=g,ve.ielt9&&this.options.opacity<1&&kt(e,this.options.opacity)},_addTile:function(e,i){var s=this._getTilePos(e),c=this._tileCoordsToKey(e),d=this.createTile(this._wrapCoords(e),l(this._tileReady,this,e));this._initTile(d),this.createTile.length<2&&ie(l(this._tileReady,this,e,null,d)),tt(d,s),this._tiles[c]={el:d,coords:e,current:!0},i.appendChild(d),this.fire("tileloadstart",{tile:d,coords:e})},_tileReady:function(e,i,s){i&&this.fire("tileerror",{error:i,tile:s,coords:e});var c=this._tileCoordsToKey(e);s=this._tiles[c],s&&(s.loaded=+new Date,this._map._fadeAnimated?(kt(s.el,0),X(this._fadeFrame),this._fadeFrame=ie(this._updateOpacity,this)):(s.active=!0,this._pruneTiles()),i||(Le(s.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:s.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ve.ielt9||!this._map._fadeAnimated?ie(this._pruneTiles,this):setTimeout(l(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var i=new re(this._wrapX?m(e.x,this._wrapX):e.x,this._wrapY?m(e.y,this._wrapY):e.y);return i.z=e.z,i},_pxBoundsToTileRange:function(e){var i=this.getTileSize();return new D(e.min.unscaleBy(i).floor(),e.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function ip(e){return new qi(e)}var hi=qi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,i){this._url=e,i=C(this,i),i.detectRetina&&ve.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),typeof i.subdomains=="string"&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,i){return this._url===e&&i===void 0&&(i=!0),this._url=e,i||this.redraw(),this},createTile:function(e,i){var s=document.createElement("img");return Re(s,"load",l(this._tileOnLoad,this,i,s)),Re(s,"error",l(this._tileOnError,this,i,s)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(s.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(s.referrerPolicy=this.options.referrerPolicy),s.alt="",s.src=this.getTileUrl(e),s},getTileUrl:function(e){var i={r:ve.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var s=this._globalTileRange.max.y-e.y;this.options.tms&&(i.y=s),i["-y"]=s}return p(this._url,a(i,this.options))},_tileOnLoad:function(e,i){ve.ielt9?setTimeout(l(e,this,null,i),0):e(null,i)},_tileOnError:function(e,i,s){var c=this.options.errorTileUrl;c&&i.getAttribute("src")!==c&&(i.src=c),e(s,i)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,i=this.options.maxZoom,s=this.options.zoomReverse,c=this.options.zoomOffset;return s&&(e=i-e),e+c},_getSubdomain:function(e){var i=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var e,i;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(i=this._tiles[e].el,i.onload=g,i.onerror=g,!i.complete)){i.src=O;var s=this._tiles[e].coords;Je(i),delete this._tiles[e],this.fire("tileabort",{tile:i,coords:s})}},_removeTile:function(e){var i=this._tiles[e];if(i)return i.el.setAttribute("src",O),qi.prototype._removeTile.call(this,e)},_tileReady:function(e,i,s){if(!(!this._map||s&&s.getAttribute("src")===O))return qi.prototype._tileReady.call(this,e,i,s)}});function Ru(e,i){return new hi(e,i)}var Lu=hi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,i){this._url=e;var s=a({},this.defaultWmsParams);for(var c in i)c in this.options||(s[c]=i[c]);i=C(this,i);var d=i.detectRetina&&ve.retina?2:1,S=this.getTileSize();s.width=S.x*d,s.height=S.y*d,this.wmsParams=s},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code,hi.prototype.onAdd.call(this,e)},getTileUrl:function(e){var i=this._tileCoordsToNwSe(e),s=this._crs,c=Y(s.project(i[0]),s.project(i[1])),d=c.min,S=c.max,N=(this._wmsVersion>=1.3&&this._crs===wu?[d.y,d.x,S.y,S.x]:[d.x,d.y,S.x,S.y]).join(","),F=hi.prototype.getTileUrl.call(this,e);return F+w(this.wmsParams,F,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+N},setParams:function(e,i){return a(this.wmsParams,e),i||this.redraw(),this}});function rp(e,i){return new Lu(e,i)}hi.WMS=Lu,Ru.wms=rp;var an=jt.extend({options:{padding:.1},initialize:function(e){C(this,e),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Le(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,i){var s=this._map.getZoomScale(i,this._zoom),c=this._map.getSize().multiplyBy(.5+this.options.padding),d=this._map.project(this._center,i),S=c.multiplyBy(-s).add(d).subtract(this._map._getNewPixelOrigin(e,i));ve.any3d?Dn(this._container,S,s):tt(this._container,S)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,i=this._map.getSize(),s=this._map.containerPointToLayerPoint(i.multiplyBy(-e)).round();this._bounds=new D(s,s.add(i.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),xu=an.extend({options:{tolerance:0},getEvents:function(){var e=an.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){an.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Re(e,"mousemove",this._onMouseMove,this),Re(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Re(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){X(this._redrawRequest),delete this._ctx,Je(this._container),He(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var i in this._layers)e=this._layers[i],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){an.prototype._update.call(this);var e=this._bounds,i=this._container,s=e.getSize(),c=ve.retina?2:1;tt(i,e.min),i.width=c*s.x,i.height=c*s.y,i.style.width=s.x+"px",i.style.height=s.y+"px",ve.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){an.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[h(e)]=e;var i=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var i=e._order,s=i.next,c=i.prev;s?s.prev=c:this._drawLast=c,c?c.next=s:this._drawFirst=s,delete e._order,delete this._layers[h(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var i=e.options.dashArray.split(/[, ]+/),s=[],c,d;for(d=0;d')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),sp={_initContainer:function(){this._container=ze("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(an.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var i=e._container=Zi("shape");Le(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",e._path=Zi("path"),i.appendChild(e._path),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){var i=e._container;this._container.appendChild(i),e.options.interactive&&e.addInteractiveTarget(i)},_removePath:function(e){var i=e._container;Je(i),e.removeInteractiveTarget(i),delete this._layers[h(e)]},_updateStyle:function(e){var i=e._stroke,s=e._fill,c=e.options,d=e._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(i||(i=e._stroke=Zi("stroke")),d.appendChild(i),i.weight=c.weight+"px",i.color=c.color,i.opacity=c.opacity,c.dashArray?i.dashStyle=v(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=c.lineCap.replace("butt","flat"),i.joinstyle=c.lineJoin):i&&(d.removeChild(i),e._stroke=null),c.fill?(s||(s=e._fill=Zi("fill")),d.appendChild(s),s.color=c.fillColor||c.color,s.opacity=c.fillOpacity):s&&(d.removeChild(s),e._fill=null)},_updateCircle:function(e){var i=e._point.round(),s=Math.round(e._radius),c=Math.round(e._radiusY||s);this._setPath(e,e._empty()?"M0 0":"AL "+i.x+","+i.y+" "+s+","+c+" 0,"+65535*360)},_setPath:function(e,i){e._path.v=i},_bringToFront:function(e){oi(e._container)},_bringToBack:function(e){ai(e._container)}},Ir=ve.vml?Zi:B,Fi=an.extend({_initContainer:function(){this._container=Ir("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ir("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Je(this._container),He(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){an.prototype._update.call(this);var e=this._bounds,i=e.getSize(),s=this._container;(!this._svgSize||!this._svgSize.equals(i))&&(this._svgSize=i,s.setAttribute("width",i.x),s.setAttribute("height",i.y)),tt(s,e.min),s.setAttribute("viewBox",[e.min.x,e.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(e){var i=e._path=Ir("path");e.options.className&&Le(i,e.options.className),e.options.interactive&&Le(i,"leaflet-interactive"),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Je(e._path),e.removeInteractiveTarget(e._path),delete this._layers[h(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var i=e._path,s=e.options;i&&(s.stroke?(i.setAttribute("stroke",s.color),i.setAttribute("stroke-opacity",s.opacity),i.setAttribute("stroke-width",s.weight),i.setAttribute("stroke-linecap",s.lineCap),i.setAttribute("stroke-linejoin",s.lineJoin),s.dashArray?i.setAttribute("stroke-dasharray",s.dashArray):i.removeAttribute("stroke-dasharray"),s.dashOffset?i.setAttribute("stroke-dashoffset",s.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),s.fill?(i.setAttribute("fill",s.fillColor||s.color),i.setAttribute("fill-opacity",s.fillOpacity),i.setAttribute("fill-rule",s.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(e,i){this._setPath(e,H(e._parts,i))},_updateCircle:function(e){var i=e._point,s=Math.max(Math.round(e._radius),1),c=Math.max(Math.round(e._radiusY),1)||s,d="a"+s+","+c+" 0 1,0 ",S=e._empty()?"M0 0":"M"+(i.x-s)+","+i.y+d+s*2+",0 "+d+-s*2+",0 ";this._setPath(e,S)},_setPath:function(e,i){e._path.setAttribute("d",i)},_bringToFront:function(e){oi(e._path)},_bringToBack:function(e){ai(e._path)}});ve.vml&&Fi.include(sp);function ku(e){return ve.svg||ve.vml?new Fi(e):null}Me.include({getRenderer:function(e){var i=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var i=this._paneRenderers[e];return i===void 0&&(i=this._createRenderer({pane:e}),this._paneRenderers[e]=i),i},_createRenderer:function(e){return this.options.preferCanvas&&Cu(e)||ku(e)}});var Ou=li.extend({initialize:function(e,i){li.prototype.initialize.call(this,this._boundsToLatLngs(e),i)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=x(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function op(e,i){return new Ou(e,i)}Fi.create=Ir,Fi.pointsToPath=H,on.geometryToLayer=Rr,on.coordsToLatLng=Co,on.coordsToLatLngs=Lr,on.latLngToCoords=ko,on.latLngsToCoords=xr,on.getFeature=fi,on.asFeature=Cr,Me.mergeOptions({boxZoom:!0});var Au=Wt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Re(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){He(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Je(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Ii(),ho(),this._startPoint=this._map.mouseEventToContainerPoint(e),Re(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ze("div","leaflet-zoom-box",this._container),Le(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var i=new D(this._point,this._startPoint),s=i.getSize();tt(this._box,i.min),this._box.style.width=s.x+"px",this._box.style.height=s.y+"px"},_finish:function(){this._moved&&(Je(this._box),et(this._container,"leaflet-crosshair")),Mi(),po(),He(document,{contextmenu:qn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(l(this._resetState,this),0);var i=new Z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Me.addInitHook("addHandler","boxZoom",Au),Me.mergeOptions({doubleClickZoom:!0});var Iu=Wt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var i=this._map,s=i.getZoom(),c=i.options.zoomDelta,d=e.originalEvent.shiftKey?s-c:s+c;i.options.doubleClickZoom==="center"?i.setZoom(d):i.setZoomAround(e.containerPoint,d)}});Me.addInitHook("addHandler","doubleClickZoom",Iu),Me.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Mu=Wt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new $n(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}Le(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){et(this._map._container,"leaflet-grab"),et(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=x(this._map.options.maxBounds);this._offsetLimit=Y(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var i=this._lastTime=+new Date,s=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(s),this._times.push(i),this._prunePositions(i)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,i){return e-(e-i)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;e.xi.max.x&&(e.x=this._viscousLimit(e.x,i.max.x)),e.y>i.max.y&&(e.y=this._viscousLimit(e.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,i=Math.round(e/2),s=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-i+s)%e+i-s,S=(c+i+s)%e-i-s,N=Math.abs(d+s)0?S:-S))-i;this._delta=0,this._startTime=null,N&&(e.options.scrollWheelZoom==="center"?e.setZoom(i+N):e.setZoomAround(this._lastMousePos,i+N))}});Me.addInitHook("addHandler","scrollWheelZoom",zu);var ap=600;Me.mergeOptions({tapHold:ve.touchNative&&ve.safari&&ve.mobile,tapTolerance:15});var Du=Wt.extend({addHooks:function(){Re(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){He(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var i=e.touches[0];this._startPos=this._newPos=new re(i.clientX,i.clientY),this._holdTimeout=setTimeout(l(function(){this._cancel(),this._isTapValid()&&(Re(document,"touchend",ft),Re(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))},this),ap),Re(document,"touchend touchcancel contextmenu",this._cancel,this),Re(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){He(document,"touchend",ft),He(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),He(document,"touchend touchcancel contextmenu",this._cancel,this),He(document,"touchmove",this._onMove,this)},_onMove:function(e){var i=e.touches[0];this._newPos=new re(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,i){var s=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});s._simulated=!0,i.target.dispatchEvent(s)}});Me.addInitHook("addHandler","tapHold",Du),Me.mergeOptions({touchZoom:ve.touch,bounceAtZoomLimits:!0});var ju=Wt.extend({addHooks:function(){Le(this._map._container,"leaflet-touch-zoom"),Re(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){et(this._map._container,"leaflet-touch-zoom"),He(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var i=this._map;if(!(!e.touches||e.touches.length!==2||i._animatingZoom||this._zooming)){var s=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),i.options.touchZoom!=="center"&&(this._pinchStartLatLng=i.containerPointToLatLng(s.add(c)._divideBy(2))),this._startDist=s.distanceTo(c),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),Re(document,"touchmove",this._onTouchMove,this),Re(document,"touchend touchcancel",this._onTouchEnd,this),ft(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var i=this._map,s=i.mouseEventToContainerPoint(e.touches[0]),c=i.mouseEventToContainerPoint(e.touches[1]),d=s.distanceTo(c)/this._startDist;if(this._zoom=i.getScaleZoom(d,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoomi.getMaxZoom()&&d>1)&&(this._zoom=i._limitZoom(this._zoom)),i.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{var S=s._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&S.x===0&&S.y===0)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(S),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),X(this._animRequest);var N=l(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=ie(N,this,!0),ft(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,X(this._animRequest),He(document,"touchmove",this._onTouchMove,this),He(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});Me.addInitHook("addHandler","touchZoom",ju),Me.BoxZoom=Au,Me.DoubleClickZoom=Iu,Me.Drag=Mu,Me.Keyboard=Nu,Me.ScrollWheelZoom=zu,Me.TapHold=Du,Me.TouchZoom=ju,r.Bounds=D,r.Browser=ve,r.CRS=j,r.Canvas=xu,r.Circle=xo,r.CircleMarker=Tr,r.Class=me,r.Control=Dt,r.DivIcon=Tu,r.DivOverlay=Gt,r.DomEvent=Ed,r.DomUtil=Sd,r.Draggable=$n,r.Evented=$e,r.FeatureGroup=rn,r.GeoJSON=on,r.GridLayer=qi,r.Handler=Wt,r.Icon=ci,r.ImageOverlay=kr,r.LatLng=M,r.LatLngBounds=Z,r.Layer=jt,r.LayerGroup=ui,r.LineUtil=Dd,r.Map=Me,r.Marker=Er,r.Mixin=Od,r.Path=En,r.Point=re,r.PolyUtil=Ad,r.Polygon=li,r.Polyline=sn,r.Popup=Or,r.PosAnimation=uu,r.Projection=jd,r.Rectangle=Ou,r.Renderer=an,r.SVG=Fi,r.SVGOverlay=Eu,r.TileLayer=hi,r.Tooltip=Ar,r.Transformation=z,r.Util=fe,r.VideoOverlay=$u,r.bind=l,r.bounds=Y,r.canvas=Cu,r.circle=Kd,r.circleMarker=Ud,r.control=Di,r.divIcon=np,r.extend=a,r.featureGroup=Fd,r.geoJSON=Su,r.geoJson=Jd,r.gridLayer=ip,r.icon=Vd,r.imageOverlay=Yd,r.latLng=q,r.latLngBounds=x,r.layerGroup=Zd,r.map=Td,r.marker=Hd,r.point=K,r.polygon=Gd,r.polyline=Wd,r.popup=ep,r.rectangle=op,r.setOptions=C,r.stamp=h,r.svg=ku,r.svgOverlay=Qd,r.tileLayer=Ru,r.tooltip=tp,r.transformation=y,r.version=o,r.videoOverlay=Xd;var up=window.L;r.noConflict=function(){return window.L=up,this},window.L=r})}(Yi,Yi.exports)),Yi.exports}var Dw=zw();const Qt=Vh(Dw),jw={class:"map-container expanded"},Bw={class:"map-wrapper"},qw={key:0,class:"search-list-item-wrapper"},sf=41.87213786,of=-87.62576558,af=14,uf=18,Zw=st({__name:"MobileLeafleftMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{},imagesPrefetch:{},resourceRelationsPrefetch:{}},setup(t){const n=Qs(),r=Ye([]),o=Ye(void 0),a=Ye(!1),u=t;r.value=u.resourcesPrefetch.map(E=>{var $;return{resource:E,coordinates:(($=u.locationsPrefetch.find(C=>C.resourceinstance_id===E.resourceinstanceid))==null?void 0:$.data[u.idReferences.coordinatesNodeId])??void 0}});const l=Ye(null);let f;const h=new Map,_=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),m=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),g=E=>{const $=Qt.map(E).setView([sf,of],af);return f=$,Qt.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo($),$.attributionControl.setPosition("topright"),r.value.forEach(C=>{var w;if(C.coordinates){const P=((w=C.coordinates)==null?void 0:w.features[0].geometry.coordinates)??void 0;if(P){const p=Qt.marker([P[1],P[0]],{icon:_});p.bindPopup(`${C.resource.descriptors.en.name}`),p.on("click",()=>{a.value=!1,setTimeout(()=>{o.value=C.resource.resourceinstanceid,a.value=!0},200)}),h.set(C.resource.resourceinstanceid,p),p.addTo($)}}}),f};Us(()=>{if(l.value&&(f=g(l.value),n.params.id)){const E=h.get(n.params.id);E&&(E.openPopup(),f==null||f.flyTo(E.getLatLng(),uf))}}),vn(()=>o.value,E=>{if(h.forEach($=>{$.setIcon(_),$.setZIndexOffset(0)}),E){const $=h.get(E);$?($.setIcon(m),$.setZIndexOffset(1e3),$.openPopup(),f==null||f.flyTo($.getLatLng(),uf)):f==null||f.closePopup()}else f==null||f.closePopup(),f==null||f.setView([sf,of],af)},{immediate:!0});const b=rt(()=>u.resourcesPrefetch.find(E=>E.resourceinstanceid===o.value));return(E,$)=>(he(),be("div",jw,[ne("div",null,[ne("div",Bw,[ne("div",{id:"map",ref_key:"mapElement",ref:l},null,512)])]),ke(Ti,{name:"slide-up"},{default:it(()=>[b.value&&a.value?(he(),be("div",qw,[(he(),Fe(Li,{key:b.value.resourceinstanceid,"resource-name":b.value.descriptors.en.name,"resource-description":b.value.descriptors.en.description,"resource-id":b.value.resourceinstanceid,"resource-type":u.idReferences.graphIdToNameTable[b.value.graph_id],class:"search-list-item","image-tile-data":de(ti)(b.value,u.imagesPrefetch,u.resourceRelationsPrefetch,u.idReferences),artist:de(Ri)(b.value,u.resourcesPrefetch,u.resourceRelationsPrefetch,u.idReferences)},null,8,["resource-name","resource-description","resource-id","resource-type","image-tile-data","artist"]))])):Ke("",!0)]),_:1})]))}}),Fw=zt(Zw,[["__scopeId","data-v-aaeccb3d"]]),Vw={class:"mobile-map-container"},Hw={key:1,class:"map-placeholder"},Uw=st({__name:"MapView",props:{routeQuery:{},resourcesPrefetch:{},imagesPrefetch:{},resourceRelationsPrefetch:{},idReferences:{},locationsPrefetch:{},query:{}},setup(t){const n=t;return(r,o)=>(he(),be("div",Vw,[r.resourcesPrefetch&&r.idReferences&&r.locationsPrefetch&&r.imagesPrefetch&&r.resourceRelationsPrefetch?(he(),Fe(Fw,{key:0,"resources-prefetch":n.resourcesPrefetch,"id-references":n.idReferences,"locations-prefetch":n.locationsPrefetch,"images-prefetch":n.imagesPrefetch,"resource-relations-prefetch":n.resourceRelationsPrefetch},null,8,["resources-prefetch","id-references","locations-prefetch","images-prefetch","resource-relations-prefetch"])):(he(),be("div",Hw,"Loading map…"))]))}}),Kw=zt(Uw,[["__scopeId","data-v-edffe4af"]]),Ww=[{path:"/",component:Ay},{path:"/wac/resource/:id",component:dw},{path:"/artists",component:xw},{path:"/artworks",component:Mw},{path:"/about",component:Sw},{path:"/map",component:Kw}],Gw=Fg({history:vg(),routes:Ww}),Jw={class:"map-container expanded chevron-expanded"},Yw={class:"map-wrapper"},cf=41.87213786,lf=-87.62576558,ff=14,hf=18,Xw=st({__name:"DesktopLeafletMap",props:{resourcesPrefetch:{},locationsPrefetch:{},idReferences:{}},setup(t){const n=Xs(),r=Qs(),o=Ye([]),a=t;o.value=a.resourcesPrefetch.map(g=>{var b;return{resource:g,coordinates:((b=a.locationsPrefetch.find(E=>E.resourceinstance_id===g.resourceinstanceid))==null?void 0:b.data[a.idReferences.coordinatesNodeId])??void 0}});const u=Ye(null);let l;const f=new Map,h=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon.png",iconSize:[22,34],popupAnchor:[0,-32]}),_=Qt.icon({iconUrl:"https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/marker-icon-active.png",iconSize:[33,51],popupAnchor:[0,-32]}),m=g=>{const b=Qt.map(g).setView([cf,lf],ff);return l=b,Qt.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:20,attribution:'© OpenStreetMap'}).addTo(b),o.value.forEach(E=>{var $;if(E.coordinates){const C=(($=E.coordinates)==null?void 0:$.features[0].geometry.coordinates)??void 0;if(C){const w=Qt.marker([C[1],C[0]],{icon:h});w.bindPopup(`${E.resource.descriptors.en.name}`),w.on("click",()=>{n.push(`/wac/resource/${E.resource.resourceinstanceid}`)}),f.set(E.resource.resourceinstanceid,w),w.addTo(b)}}}),l};return Us(()=>{if(u.value&&(l=m(u.value),r.params.id)){const g=f.get(r.params.id);g&&(g.openPopup(),l==null||l.flyTo(g.getLatLng(),hf))}}),vn(()=>r.params.id,g=>{if(f.forEach(b=>{b.setIcon(h),b.setZIndexOffset(0)}),g){const b=f.get(g);b?(b.setIcon(_),b.setZIndexOffset(1e3),b.openPopup(),l==null||l.flyTo(b.getLatLng(),hf)):l==null||l.closePopup()}else l==null||l.closePopup(),l==null||l.setView([cf,lf],ff)},{immediate:!0}),(g,b)=>(he(),be("div",Jw,[ne("div",null,[ne("div",Yw,[ne("div",{id:"map",ref_key:"mapElement",ref:u},null,512)])])]))}}),Qw=zt(Xw,[["__scopeId","data-v-b21518fe"]]),e0={class:"home"},t0={class:"welcome"},n0={class:"welcome-content"},i0={class:"welcome-credits"},r0={class:"welcome-credit",href:"https://opentechstrategies.com/"},s0=["src"],o0={class:"welcome-credit",href:"https://www.archesproject.org/"},a0=["src"],u0={id:"map-container"},c0={key:1,class:"map-placeholder"},l0={id:"search-list-container"},f0={class:"search-header"},h0={class:"search-input-wrapper"},d0=st({__name:"App",setup(t){const n=Xs(),r=!0,o=Ye(void 0),a=Ye(void 0),u=Ye(void 0),l=Ye(void 0),f=Ye(void 0),h=Ye(""),_=Ye("");async function m(){try{const g=new URL("https://arches.arches-app-demo.opentechstrategies.com/archesdataviewer/prefetch/"),E=await(await fetch(g.toString())).json();o.value=E.idReferences,a.value=E.images,u.value=E.locations,l.value=E.resourceRelations,f.value=E.resources}catch{o.value=void 0,a.value=void 0,u.value=void 0,l.value=void 0,f.value=void 0}}return m(),vn(()=>n.currentRoute.value,g=>(_.value=g.path,!0)),(g,b)=>{const E=ki("RouterView");return he(),be("div",e0,[ne("header",t0,[ne("div",n0,[b[7]||(b[7]=ne("h1",{class:"welcome-text"},[ne("a",{href:"/"},[yn(" Explore Chicago’s "),ne("br"),yn(" Wabash Arts Corridor ")])],-1)),ne("div",i0,[ne("a",r0,[b[5]||(b[5]=ne("p",null,"Designed by",-1)),ne("img",{id:"ots-logo",src:de(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/ots_logo.png":"/ots_logo.png",alt:"no image available",loading:"lazy"},null,8,s0)]),ne("a",o0,[b[6]||(b[6]=ne("p",null,"Powered by",-1)),ne("img",{id:"arches-logo",src:de(r)?"https://arches-app-demo.opentechstrategies.com/archesdataviewer/arches_logo.png":"/arches_logo.png",alt:"no image available",loading:"lazy"},null,8,a0)])])])]),ne("main",null,[ne("div",u0,[f.value&&o.value&&u.value?(he(),Fe(Qw,{key:0,"resources-prefetch":f.value,"id-references":o.value,"locations-prefetch":u.value},null,8,["resources-prefetch","id-references","locations-prefetch"])):(he(),be("div",c0,"Loading map…"))]),ne("div",l0,[ne("div",f0,[ne("div",h0,[ke(de(Fh),{class:"search-icon"}),om(ne("input",{"onUpdate:modelValue":b[0]||(b[0]=$=>h.value=$),class:"search-input",placeholder:"Search"},null,512),[[N_,h.value]])]),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artworks"}]),onClick:b[1]||(b[1]=$=>de(n).push("/artworks"))},[ke(de(eo),{class:"button-icon"}),b[8]||(b[8]=ne("p",null,"Artworks",-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/artists"}]),onClick:b[2]||(b[2]=$=>de(n).push("/artists"))},[ke(de(to),{class:"button-icon"}),b[9]||(b[9]=ne("p",null,"Artists",-1))],2),ne("button",{id:"map-icon",type:"button",class:Xn(["nav-button map-icon",{active:_.value==="/map"}]),onClick:b[3]||(b[3]=$=>de(n).push("/map"))},[ke(de(Ug),{class:"button-icon"}),b[10]||(b[10]=ne("p",null,"Map",-1))],2),ne("button",{type:"button",class:Xn(["nav-button",{active:_.value==="/about"}]),onClick:b[4]||(b[4]=$=>de(n).push("/about"))},[ke(de(Hg),{class:"button-icon"}),b[11]||(b[11]=ne("p",null,"About",-1))],2)]),ke(E,null,{default:it(({Component:$})=>[f.value&&l.value&&o.value&&a.value&&u.value?(he(),Fe(Ti,{key:0},{default:it(()=>[(he(),Fe(bm($),{"resources-prefetch":f.value,"resource-relations-prefetch":l.value,"id-references":o.value,"images-prefetch":a.value,"locations-prefetch":u.value,query:h.value},null,8,["resources-prefetch","resource-relations-prefetch","id-references","images-prefetch","locations-prefetch","query"]))]),_:2},1024)):Ke("",!0)]),_:1})])])])}}}),p0=zt(d0,[["__scopeId","data-v-d8f3b2e0"]]),Qh=j_(p0);Qh.use(Gw);Qh.mount("#app"); diff --git a/archesdataviewer/static/vite_build/index.html b/archesdataviewer/static/vite_build/index.html index 2fca00a..ba16181 100644 --- a/archesdataviewer/static/vite_build/index.html +++ b/archesdataviewer/static/vite_build/index.html @@ -1,11 +1,17 @@ - + - - + + + + + Arches Data Viewer - - + +