diff --git a/13/4677/2924.png b/13/4677/2924.png index d6147e3..0a4c82a 100644 Binary files a/13/4677/2924.png and b/13/4677/2924.png differ diff --git a/13/4677/2925.png b/13/4677/2925.png index f863685..ff93b30 100644 Binary files a/13/4677/2925.png and b/13/4677/2925.png differ diff --git a/13/4677/2926.png b/13/4677/2926.png index f9a8b64..7ef1718 100644 Binary files a/13/4677/2926.png and b/13/4677/2926.png differ diff --git a/13/4678/2925.png b/13/4678/2925.png index 1ed1b85..399ccd2 100644 Binary files a/13/4678/2925.png and b/13/4678/2925.png differ diff --git a/13/4678/2926.png b/13/4678/2926.png index e759ef5..a03419c 100644 Binary files a/13/4678/2926.png and b/13/4678/2926.png differ diff --git a/13/4679/2925.png b/13/4679/2925.png index 2021cdf..2322054 100644 Binary files a/13/4679/2925.png and b/13/4679/2925.png differ diff --git a/13/4679/2926.png b/13/4679/2926.png index b57f3f1..92e271d 100644 Binary files a/13/4679/2926.png and b/13/4679/2926.png differ diff --git a/14/9355/5848.png b/14/9355/5848.png index 79f09c6..fa44629 100644 Binary files a/14/9355/5848.png and b/14/9355/5848.png differ diff --git a/14/9355/5850.png b/14/9355/5850.png index d956387..5e036d8 100644 Binary files a/14/9355/5850.png and b/14/9355/5850.png differ diff --git a/14/9355/5852.png b/14/9355/5852.png index ceb4570..390d706 100644 Binary files a/14/9355/5852.png and b/14/9355/5852.png differ diff --git a/14/9356/5850.png b/14/9356/5850.png index 3df8bcc..27ba02f 100644 Binary files a/14/9356/5850.png and b/14/9356/5850.png differ diff --git a/14/9356/5851.png b/14/9356/5851.png index 463de0e..060b976 100644 Binary files a/14/9356/5851.png and b/14/9356/5851.png differ diff --git a/14/9356/5852.png b/14/9356/5852.png index a2b284c..05626a9 100644 Binary files a/14/9356/5852.png and b/14/9356/5852.png differ diff --git a/14/9357/5850.png b/14/9357/5850.png index 5738dd3..a4550df 100644 Binary files a/14/9357/5850.png and b/14/9357/5850.png differ diff --git a/14/9357/5851.png b/14/9357/5851.png index 5d2478f..bc41a26 100644 Binary files a/14/9357/5851.png and b/14/9357/5851.png differ diff --git a/14/9357/5852.png b/14/9357/5852.png index 492c205..3c78210 100644 Binary files a/14/9357/5852.png and b/14/9357/5852.png differ diff --git a/14/9358/5851.png b/14/9358/5851.png index 73b0bd0..6410905 100644 Binary files a/14/9358/5851.png and b/14/9358/5851.png differ diff --git a/14/9358/5852.png b/14/9358/5852.png index 95a3c5e..a08f27c 100644 Binary files a/14/9358/5852.png and b/14/9358/5852.png differ diff --git a/14/9358/5853.png b/14/9358/5853.png index f63d6bb..e1efe88 100644 Binary files a/14/9358/5853.png and b/14/9358/5853.png differ diff --git a/14/9359/5850.png b/14/9359/5850.png index 2b7c729..5c346c6 100644 Binary files a/14/9359/5850.png and b/14/9359/5850.png differ diff --git a/14/9359/5852.png b/14/9359/5852.png index e87e66e..0e35edf 100644 Binary files a/14/9359/5852.png and b/14/9359/5852.png differ diff --git a/15/18710/11697.png b/15/18710/11697.png index 336b82d..180472c 100644 Binary files a/15/18710/11697.png and b/15/18710/11697.png differ diff --git a/15/18710/11701.png b/15/18710/11701.png index 1e4048d..aa8ed36 100644 Binary files a/15/18710/11701.png and b/15/18710/11701.png differ diff --git a/15/18711/11704.png b/15/18711/11704.png index 8a738ef..16be05c 100644 Binary files a/15/18711/11704.png and b/15/18711/11704.png differ diff --git a/15/18712/11701.png b/15/18712/11701.png index d170616..3179bae 100644 Binary files a/15/18712/11701.png and b/15/18712/11701.png differ diff --git a/15/18712/11702.png b/15/18712/11702.png index c5f180a..bea02b3 100644 Binary files a/15/18712/11702.png and b/15/18712/11702.png differ diff --git a/15/18713/11704.png b/15/18713/11704.png index 7abd5c1..05a6a9e 100644 Binary files a/15/18713/11704.png and b/15/18713/11704.png differ diff --git a/15/18714/11700.png b/15/18714/11700.png index 128e055..f57b175 100644 Binary files a/15/18714/11700.png and b/15/18714/11700.png differ diff --git a/15/18714/11702.png b/15/18714/11702.png index 723dc33..7517b61 100644 Binary files a/15/18714/11702.png and b/15/18714/11702.png differ diff --git a/15/18714/11703.png b/15/18714/11703.png index 5c99103..f09d7db 100644 Binary files a/15/18714/11703.png and b/15/18714/11703.png differ diff --git a/15/18715/11704.png b/15/18715/11704.png index cc0ee37..68a3032 100644 Binary files a/15/18715/11704.png and b/15/18715/11704.png differ diff --git a/15/18716/11702.png b/15/18716/11702.png index 3a28fb2..7f4a564 100644 Binary files a/15/18716/11702.png and b/15/18716/11702.png differ diff --git a/15/18716/11704.png b/15/18716/11704.png index 3eccf8d..aacd908 100644 Binary files a/15/18716/11704.png and b/15/18716/11704.png differ diff --git a/15/18717/11707.png b/15/18717/11707.png index 1fd14ca..d5dc5d0 100644 Binary files a/15/18717/11707.png and b/15/18717/11707.png differ diff --git a/15/18718/11700.png b/15/18718/11700.png index e9fc764..ecf6293 100644 Binary files a/15/18718/11700.png and b/15/18718/11700.png differ diff --git a/15/18718/11704.png b/15/18718/11704.png index d964a62..f188504 100644 Binary files a/15/18718/11704.png and b/15/18718/11704.png differ diff --git a/FiraSans-Regular.ttf b/FiraSans-Regular.ttf new file mode 100644 index 0000000..a4e6563 Binary files /dev/null and b/FiraSans-Regular.ttf differ diff --git a/Roboto-Regular.ttf b/Roboto-Regular.ttf new file mode 100644 index 0000000..2c97eea Binary files /dev/null and b/Roboto-Regular.ttf differ diff --git a/assets/index-iTIDoRTQ.css b/assets/index-iTIDoRTQ.css deleted file mode 100644 index 926b875..0000000 --- a/assets/index-iTIDoRTQ.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:TheLedDisplaySt;font-style:normal;src:local("TheLedDisplaySt"),url(../../TheLedDisplaySt.woff) format("woff")}:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64);--vt-c-background: "#1E232B";--vt-c-background-soft: "#2A2E34";--vt-c-background-mute: "#3B3F46";--vt-c-border: "#EC9C04";--vt-c-border-hover: "#F5B301";--vt-c-text: "#FED053"}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-background);--color-background-soft: var(--vt-c-background-soft);--color-background-mute: var(--vt-c-background-mute);--color-border: var(--vt-c-border);--color-border-hover: var(--vt-c-border-hover);--color-heading: var(--vt-c-text);--color-text: var(--vt-c-text)}--p-tabs-tab-active-border-color: var(--vt-c-text)}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:#fed053;background:#1e232b;transition:color .5s,background-color .5s;font-family:Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:18px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@tailwind base;@tailwind components;@tailwind utilities;#app{margin:0 auto;padding:2rem;font-weight:400}@media (min-width: 1024px){body{display:flex;place-items:center;color:#fed053;background:#1e232b}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.parent[data-v-256cacd1]{position:relative;display:flex;flex-direction:column;align-items:end;justify-content:end;height:100vh;width:100vw;background-color:#1e232b}.child[data-v-256cacd1]{position:absolute;top:0;left:0;width:100%;height:100%}@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}#map[data-v-6b4cfa47]{height:100%;width:100%;background:#1e232b;flex-grow:1;display:block} diff --git a/assets/index-y_ss0yjx.js b/assets/index-y_ss0yjx.js deleted file mode 100644 index 7cc9b1e..0000000 --- a/assets/index-y_ss0yjx.js +++ /dev/null @@ -1,3581 +0,0 @@ -var xy=Object.defineProperty;var ky=(n,e,t)=>e in n?xy(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var $f=(n,e,t)=>ky(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();/** -* @vue/shared v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function ud(n,e){const t=new Set(n.split(","));return r=>t.has(r)}const dt={},ui=[],Rn=()=>{},Ry=()=>!1,Vl=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),dd=n=>n.startsWith("onUpdate:"),_t=Object.assign,fd=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},Iy=Object.prototype.hasOwnProperty,je=(n,e)=>Iy.call(n,e),Se=Array.isArray,di=n=>Gl(n)==="[object Map]",Jg=n=>Gl(n)==="[object Set]",Pe=n=>typeof n=="function",pt=n=>typeof n=="string",uo=n=>typeof n=="symbol",ct=n=>n!==null&&typeof n=="object",Qg=n=>(ct(n)||Pe(n))&&Pe(n.then)&&Pe(n.catch),em=Object.prototype.toString,Gl=n=>em.call(n),Ty=n=>Gl(n).slice(8,-1),tm=n=>Gl(n)==="[object Object]",hd=n=>pt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,ia=ud(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kl=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},Ey=/-(\w)/g,Nn=Kl(n=>n.replace(Ey,(e,t)=>t?t.toUpperCase():"")),Py=/\B([A-Z])/g,fo=Kl(n=>n.replace(Py,"-$1").toLowerCase()),Hl=Kl(n=>n.charAt(0).toUpperCase()+n.slice(1)),dl=Kl(n=>n?`on${Hl(n)}`:""),ro=(n,e)=>!Object.is(n,e),_c=(n,...e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,writable:r,value:t})},Oy=n=>{const e=parseFloat(n);return isNaN(e)?n:e},Ly=n=>{const e=pt(n)?Number(n):NaN;return isNaN(e)?n:e};let zf;const rm=()=>zf||(zf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tn(n){if(Se(n)){const e={};for(let t=0;t{if(t){const r=t.split(Ay);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function ke(n){let e="";if(pt(n))e=n;else if(Se(n))for(let t=0;t!!(n&&n.__v_isRef===!0),Ge=n=>pt(n)?n:n==null?"":Se(n)||ct(n)&&(n.toString===em||!Pe(n.toString))?im(n)?Ge(n.value):JSON.stringify(n,am,2):String(n),am=(n,e)=>im(e)?am(n,e.value):di(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[r,o],i)=>(t[xc(r,i)+" =>"]=o,t),{})}:Jg(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>xc(t))}:uo(e)?xc(e):ct(e)&&!Se(e)&&!tm(e)?String(e):e,xc=(n,e="")=>{var t;return uo(n)?`Symbol(${(t=n.description)!=null?t:e})`:n};/** -* @vue/reactivity v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Bn;class zy{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Bn,!e&&Bn&&(this.index=(Bn.scopes||(Bn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Bn;try{return Bn=this,e()}finally{Bn=t}}}on(){Bn=this}off(){Bn=this.parent}stop(e){if(this._active){let t,r;for(t=0,r=this.effects.length;t=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),po()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Qr,t=Ao;try{return Qr=!0,Ao=this,this._runnings++,Nf(this),this.fn()}finally{jf(this),this._runnings--,Ao=t,Qr=e}}stop(){this.active&&(Nf(this),jf(this),this.onStop&&this.onStop(),this.active=!1)}}function Vy(n){return n.value}function Nf(n){n._trackId++,n._depsLength=0}function jf(n){if(n.deps.length>n._depsLength){for(let e=n._depsLength;e{const t=new Map;return t.cleanup=n,t.computed=e,t},cu=new WeakMap,Bo=Symbol(""),uu=Symbol("");function tn(n,e,t){if(Qr&&Ao){let r=cu.get(n);r||cu.set(n,r=new Map);let o=r.get(t);o||r.set(t,o=dm(()=>r.delete(t))),cm(Ao,o)}}function _r(n,e,t,r,o,i){const a=cu.get(n);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(t==="length"&&Se(n)){const l=Number(r);a.forEach((c,u)=>{(u==="length"||!uo(u)&&u>=l)&&s.push(c)})}else switch(t!==void 0&&s.push(a.get(t)),e){case"add":Se(n)?hd(t)&&s.push(a.get("length")):(s.push(a.get(Bo)),di(n)&&s.push(a.get(uu)));break;case"delete":Se(n)||(s.push(a.get(Bo)),di(n)&&s.push(a.get(uu)));break;case"set":di(n)&&s.push(a.get(Bo));break}gd();for(const l of s)l&&um(l,4);md()}const Gy=ud("__proto__,__v_isRef,__isVue"),fm=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(uo)),Vf=Ky();function Ky(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const r=Ye(this);for(let i=0,a=this.length;i{n[e]=function(...t){ho(),gd();const r=Ye(this)[e].apply(this,t);return md(),po(),r}}),n}function Hy(n){uo(n)||(n=String(n));const e=Ye(this);return tn(e,"has",n),e.hasOwnProperty(n)}class hm{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,r){const o=this._isReadonly,i=this._isShallow;if(t==="__v_isReactive")return!o;if(t==="__v_isReadonly")return o;if(t==="__v_isShallow")return i;if(t==="__v_raw")return r===(o?i?ov:bm:i?mm:gm).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const a=Se(e);if(!o){if(a&&je(Vf,t))return Reflect.get(Vf,t,r);if(t==="hasOwnProperty")return Hy}const s=Reflect.get(e,t,r);return(uo(t)?fm.has(t):Gy(t))||(o||tn(e,"get",t),i)?s:Ct(s)?a&&hd(t)?s:s.value:ct(s)?o?vd(s):_s(s):s}}class pm extends hm{constructor(e=!1){super(!1,e)}set(e,t,r,o){let i=e[t];if(!this._isShallow){const l=Fo(i);if(!yi(r)&&!Fo(r)&&(i=Ye(i),r=Ye(r)),!Se(e)&&Ct(i)&&!Ct(r))return l?!1:(i.value=r,!0)}const a=Se(e)&&hd(t)?Number(t)n,Wl=n=>Reflect.getPrototypeOf(n);function zs(n,e,t=!1,r=!1){n=n.__v_raw;const o=Ye(n),i=Ye(e);t||(ro(e,i)&&tn(o,"get",e),tn(o,"get",i));const{has:a}=Wl(o),s=r?bd:t?Cd:Ca;if(a.call(o,e))return s(n.get(e));if(a.call(o,i))return s(n.get(i));n!==o&&n.get(e)}function Ns(n,e=!1){const t=this.__v_raw,r=Ye(t),o=Ye(n);return e||(ro(n,o)&&tn(r,"has",n),tn(r,"has",o)),n===o?t.has(n):t.has(n)||t.has(o)}function js(n,e=!1){return n=n.__v_raw,!e&&tn(Ye(n),"iterate",Bo),Reflect.get(n,"size",n)}function Gf(n,e=!1){!e&&!yi(n)&&!Fo(n)&&(n=Ye(n));const t=Ye(this);return Wl(t).has.call(t,n)||(t.add(n),_r(t,"add",n,n)),this}function Kf(n,e,t=!1){!t&&!yi(e)&&!Fo(e)&&(e=Ye(e));const r=Ye(this),{has:o,get:i}=Wl(r);let a=o.call(r,n);a||(n=Ye(n),a=o.call(r,n));const s=i.call(r,n);return r.set(n,e),a?ro(e,s)&&_r(r,"set",n,e):_r(r,"add",n,e),this}function Hf(n){const e=Ye(this),{has:t,get:r}=Wl(e);let o=t.call(e,n);o||(n=Ye(n),o=t.call(e,n)),r&&r.call(e,n);const i=e.delete(n);return o&&_r(e,"delete",n,void 0),i}function Wf(){const n=Ye(this),e=n.size!==0,t=n.clear();return e&&_r(n,"clear",void 0,void 0),t}function Vs(n,e){return function(r,o){const i=this,a=i.__v_raw,s=Ye(a),l=e?bd:n?Cd:Ca;return!n&&tn(s,"iterate",Bo),a.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function Gs(n,e,t){return function(...r){const o=this.__v_raw,i=Ye(o),a=di(i),s=n==="entries"||n===Symbol.iterator&&a,l=n==="keys"&&a,c=o[n](...r),u=t?bd:e?Cd:Ca;return!e&&tn(i,"iterate",l?uu:Bo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Or(n){return function(...e){return n==="delete"?!1:n==="clear"?void 0:this}}function Zy(){const n={get(i){return zs(this,i)},get size(){return js(this)},has:Ns,add:Gf,set:Kf,delete:Hf,clear:Wf,forEach:Vs(!1,!1)},e={get(i){return zs(this,i,!1,!0)},get size(){return js(this)},has:Ns,add(i){return Gf.call(this,i,!0)},set(i,a){return Kf.call(this,i,a,!0)},delete:Hf,clear:Wf,forEach:Vs(!1,!0)},t={get(i){return zs(this,i,!0)},get size(){return js(this,!0)},has(i){return Ns.call(this,i,!0)},add:Or("add"),set:Or("set"),delete:Or("delete"),clear:Or("clear"),forEach:Vs(!0,!1)},r={get(i){return zs(this,i,!0,!0)},get size(){return js(this,!0)},has(i){return Ns.call(this,i,!0)},add:Or("add"),set:Or("set"),delete:Or("delete"),clear:Or("clear"),forEach:Vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Gs(i,!1,!1),t[i]=Gs(i,!0,!1),e[i]=Gs(i,!1,!0),r[i]=Gs(i,!0,!0)}),[n,t,e,r]}const[qy,Jy,Qy,ev]=Zy();function yd(n,e){const t=e?n?ev:Qy:n?Jy:qy;return(r,o,i)=>o==="__v_isReactive"?!n:o==="__v_isReadonly"?n:o==="__v_raw"?r:Reflect.get(je(t,o)&&o in r?t:r,o,i)}const tv={get:yd(!1,!1)},nv={get:yd(!1,!0)},rv={get:yd(!0,!1)};const gm=new WeakMap,mm=new WeakMap,bm=new WeakMap,ov=new WeakMap;function iv(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function av(n){return n.__v_skip||!Object.isExtensible(n)?0:iv(Ty(n))}function _s(n){return Fo(n)?n:wd(n,!1,Uy,tv,gm)}function ym(n){return wd(n,!1,Yy,nv,mm)}function vd(n){return wd(n,!0,Xy,rv,bm)}function wd(n,e,t,r,o){if(!ct(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const i=o.get(n);if(i)return i;const a=av(n);if(a===0)return n;const s=new Proxy(n,a===2?r:t);return o.set(n,s),s}function aa(n){return Fo(n)?aa(n.__v_raw):!!(n&&n.__v_isReactive)}function Fo(n){return!!(n&&n.__v_isReadonly)}function yi(n){return!!(n&&n.__v_isShallow)}function vm(n){return n?!!n.__v_raw:!1}function Ye(n){const e=n&&n.__v_raw;return e?Ye(e):n}function sv(n){return Object.isExtensible(n)&&nm(n,"__v_skip",!0),n}const Ca=n=>ct(n)?_s(n):n,Cd=n=>ct(n)?vd(n):n;class wm{constructor(e,t,r,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pd(()=>e(this._value),()=>fl(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=Ye(this);return(!e._cacheable||e.effect.dirty)&&ro(e._value,e._value=e.effect.run())&&fl(e,4),Cm(e),e.effect._dirtyLevel>=2&&fl(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function lv(n,e,t=!1){let r,o;const i=Pe(n);return i?(r=n,o=Rn):(r=n.get,o=n.set),new wm(r,o,i||!o,t)}function Cm(n){var e;Qr&&Ao&&(n=Ye(n),cm(Ao,(e=n.dep)!=null?e:n.dep=dm(()=>n.dep=void 0,n instanceof wm?n:void 0)))}function fl(n,e=4,t,r){n=Ye(n);const o=n.dep;o&&um(o,e)}function Ct(n){return!!(n&&n.__v_isRef===!0)}function Ne(n){return Sm(n,!1)}function cv(n){return Sm(n,!0)}function Sm(n,e){return Ct(n)?n:new uv(n,e)}class uv{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ye(e),this._value=t?e:Ca(e)}get value(){return Cm(this),this._value}set value(e){const t=this.__v_isShallow||yi(e)||Fo(e);e=t?e:Ye(e),ro(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=t?e:Ca(e),fl(this,4))}}function at(n){return Ct(n)?n.value:n}const dv={get:(n,e,t)=>at(Reflect.get(n,e,t)),set:(n,e,t,r)=>{const o=n[e];return Ct(o)&&!Ct(t)?(o.value=t,!0):Reflect.set(n,e,t,r)}};function _m(n){return aa(n)?n:new Proxy(n,dv)}/** -* @vue/runtime-core v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function eo(n,e,t,r){try{return r?n(...r):n()}catch(o){Ul(o,e,t)}}function En(n,e,t,r){if(Pe(n)){const o=eo(n,e,t,r);return o&&Qg(o)&&o.catch(i=>{Ul(i,e,t)}),o}if(Se(n)){const o=[];for(let i=0;i>>1,o=$t[r],i=_a(o);iYn&&$t.splice(e,1)}function gv(n){Se(n)?fi.push(...n):(!Gr||!Gr.includes(n,n.allowRecurse?Io+1:Io))&&fi.push(n),km()}function Uf(n,e,t=Sa?Yn+1:0){for(;t<$t.length;t++){const r=$t[t];if(r&&r.pre){if(n&&r.id!==n.uid)continue;$t.splice(t,1),t--,r()}}}function Rm(n){if(fi.length){const e=[...new Set(fi)].sort((t,r)=>_a(t)-_a(r));if(fi.length=0,Gr){Gr.push(...e);return}for(Gr=e,Io=0;Ion.id==null?1/0:n.id,mv=(n,e)=>{const t=_a(n)-_a(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function Im(n){du=!1,Sa=!0,$t.sort(mv);try{for(Yn=0;Yn<$t.length;Yn++){const e=$t[Yn];e&&e.active!==!1&&eo(e,e.i,e.i?15:14)}}finally{Yn=0,$t.length=0,Rm(),Sa=!1,Sd=null,($t.length||fi.length)&&Im()}}let It=null,Tm=null;function vl(n){const e=It;return It=n,Tm=n&&n.type.__scopeId||null,e}function ne(n,e=It,t){if(!e||n._n)return n;const r=(...o)=>{r._d&&lh(-1);const i=vl(e);let a;try{a=n(...o)}finally{vl(i),r._d&&lh(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Vt(n,e){if(It===null)return n;const t=Ql(It),r=n.dirs||(n.dirs=[]);for(let o=0;o{n.isMounted=!0}),Dm(()=>{n.isUnmounting=!0}),n}const yn=[Function,Array],Pm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yn,onEnter:yn,onAfterEnter:yn,onEnterCancelled:yn,onBeforeLeave:yn,onLeave:yn,onAfterLeave:yn,onLeaveCancelled:yn,onBeforeAppear:yn,onAppear:yn,onAfterAppear:yn,onAppearCancelled:yn},Om=n=>{const e=n.subTree;return e.component?Om(e.component):e},bv={name:"BaseTransition",props:Pm,setup(n,{slots:e}){const t=Ld(),r=Em();return()=>{const o=e.default&&kd(e.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const f of o)if(f.type!==qt){i=f;break}}const a=Ye(n),{mode:s}=a;if(r.isLeaving)return kc(i);const l=Xf(i);if(!l)return kc(i);let c=xa(l,a,r,t,f=>c=f);vi(l,c);const u=t.subTree,d=u&&Xf(u);if(d&&d.type!==qt&&!To(l,d)&&Om(t).type!==qt){const f=xa(d,a,r,t);if(vi(d,f),s==="out-in"&&l.type!==qt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,t.update.active!==!1&&(t.effect.dirty=!0,t.update())},kc(i);s==="in-out"&&l.type!==qt&&(f.delayLeave=(h,p,g)=>{const b=Lm(r,d);b[String(d.key)]=d,h[Kr]=()=>{p(),h[Kr]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return i}}},yv=bv;function Lm(n,e){const{leavingVNodes:t}=n;let r=t.get(e.type);return r||(r=Object.create(null),t.set(e.type,r)),r}function xa(n,e,t,r,o){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:b,onAppear:y,onAfterAppear:m,onAppearCancelled:C}=e,_=String(n.key),k=Lm(t,n),I=(P,F)=>{P&&En(P,r,9,F)},E=(P,F)=>{const M=F[1];I(P,F),Se(P)?P.every(O=>O.length<=1)&&M():P.length<=1&&M()},T={mode:a,persisted:s,beforeEnter(P){let F=l;if(!t.isMounted)if(i)F=b||l;else return;P[Kr]&&P[Kr](!0);const M=k[_];M&&To(n,M)&&M.el[Kr]&&M.el[Kr](),I(F,[P])},enter(P){let F=c,M=u,O=d;if(!t.isMounted)if(i)F=y||c,M=m||u,O=C||d;else return;let W=!1;const Z=P[Ks]=te=>{W||(W=!0,te?I(O,[P]):I(M,[P]),T.delayedLeave&&T.delayedLeave(),P[Ks]=void 0)};F?E(F,[P,Z]):Z()},leave(P,F){const M=String(n.key);if(P[Ks]&&P[Ks](!0),t.isUnmounting)return F();I(f,[P]);let O=!1;const W=P[Kr]=Z=>{O||(O=!0,F(),Z?I(g,[P]):I(p,[P]),P[Kr]=void 0,k[M]===n&&delete k[M])};k[M]=n,h?E(h,[P,W]):W()},clone(P){const F=xa(P,e,t,r,o);return o&&o(F),F}};return T}function kc(n){if(Xl(n))return n=io(n),n.children=null,n}function Xf(n){if(!Xl(n))return n;const{shapeFlag:e,children:t}=n;if(t){if(e&16)return t[0];if(e&32&&Pe(t.default))return t.default()}}function vi(n,e){n.shapeFlag&6&&n.component?vi(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function kd(n,e=!1,t){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!n.type.__asyncLoader,Xl=n=>n.type.__isKeepAlive;function vv(n,e){Am(n,"a",e)}function wv(n,e){Am(n,"da",e)}function Am(n,e,t=Et){const r=n.__wdc||(n.__wdc=()=>{let o=t;for(;o;){if(o.isDeactivated)return;o=o.parent}return n()});if(Yl(e,r,t),t){let o=t.parent;for(;o&&o.parent;)Xl(o.parent.vnode)&&Cv(r,e,t,o),o=o.parent}}function Cv(n,e,t,r){const o=Yl(e,n,r,!0);Fm(()=>{fd(r[e],o)},t)}function Yl(n,e,t=Et,r=!1){if(t){const o=t[n]||(t[n]=[]),i=e.__weh||(e.__weh=(...a)=>{ho();const s=xs(t),l=En(e,t,n,a);return s(),po(),l});return r?o.unshift(i):o.push(i),i}}const Tr=n=>(e,t=Et)=>{(!Jl||n==="sp")&&Yl(n,(...r)=>e(...r),t)},Sv=Tr("bm"),Li=Tr("m"),_v=Tr("bu"),Bm=Tr("u"),Dm=Tr("bum"),Fm=Tr("um"),xv=Tr("sp"),kv=Tr("rtg"),Rv=Tr("rtc");function Iv(n,e=Et){Yl("ec",n,e)}const Rd="components",Tv="directives";function Y(n,e){return Id(Rd,n,!0,e)||n}const $m=Symbol.for("v-ndc");function ge(n){return pt(n)?Id(Rd,n,!1)||n:n||$m}function Wt(n){return Id(Tv,n)}function Id(n,e,t=!0,r=!1){const o=It||Et;if(o){const i=o.type;if(n===Rd){const s=y2(i,!1);if(s&&(s===e||s===Nn(e)||s===Hl(Nn(e))))return i}const a=Yf(o[n]||i[n],e)||Yf(o.appContext[n],e);return!a&&r?i:a}}function Yf(n,e){return n&&(n[e]||n[Nn(e)]||n[Hl(Nn(e))])}function st(n,e,t,r){let o;const i=t;if(Se(n)||pt(n)){o=new Array(n.length);for(let a=0,s=n.length;ae(a,s,void 0,i));else{const a=Object.keys(n);o=new Array(a.length);for(let s=0,l=a.length;s{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return n}function U(n,e,t={},r,o){if(It.isCE||It.parent&&sa(It.parent)&&It.parent.isCE)return e!=="default"&&(t.name=e),ue("slot",t,r&&r());let i=n[e];i&&i._c&&(i._d=!1),v();const a=i&&zm(i(t)),s=A(de,{key:(t.key||a&&a.key||`_${e}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&n._===1?64:-2);return s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function zm(n){return n.some(e=>Cl(e)?!(e.type===qt||e.type===de&&!zm(e.children)):!0)?n:null}function Hs(n,e){const t={};for(const r in n)t[/[A-Z]/.test(r)?`on:${r}`:dl(r)]=n[r];return t}const fu=n=>n?i0(n)?Ql(n):fu(n.parent):null,la=_t(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>fu(n.parent),$root:n=>fu(n.root),$emit:n=>n.emit,$options:n=>Td(n),$forceUpdate:n=>n.f||(n.f=()=>{n.effect.dirty=!0,xd(n.update)}),$nextTick:n=>n.n||(n.n=_d.bind(n.proxy)),$watch:n=>Qv.bind(n)}),Rc=(n,e)=>n!==dt&&!n.__isScriptSetup&&je(n,e),Ev={get({_:n},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=n;let c;if(e[0]!=="$"){const h=a[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return o[e];case 4:return t[e];case 3:return i[e]}else{if(Rc(r,e))return a[e]=1,r[e];if(o!==dt&&je(o,e))return a[e]=2,o[e];if((c=n.propsOptions[0])&&je(c,e))return a[e]=3,i[e];if(t!==dt&&je(t,e))return a[e]=4,t[e];hu&&(a[e]=0)}}const u=la[e];let d,f;if(u)return e==="$attrs"&&tn(n.attrs,"get",""),u(n);if((d=s.__cssModules)&&(d=d[e]))return d;if(t!==dt&&je(t,e))return a[e]=4,t[e];if(f=l.config.globalProperties,je(f,e))return f[e]},set({_:n},e,t){const{data:r,setupState:o,ctx:i}=n;return Rc(o,e)?(o[e]=t,!0):r!==dt&&je(r,e)?(r[e]=t,!0):je(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(i[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!t[a]||n!==dt&&je(n,a)||Rc(e,a)||(s=i[0])&&je(s,a)||je(r,a)||je(la,a)||je(o.config.globalProperties,a)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:je(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function Zf(n){return Se(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}let hu=!0;function Pv(n){const e=Td(n),t=n.proxy,r=n.ctx;hu=!1,e.beforeCreate&&qf(e.beforeCreate,n,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:b,beforeDestroy:y,beforeUnmount:m,destroyed:C,unmounted:_,render:k,renderTracked:I,renderTriggered:E,errorCaptured:T,serverPrefetch:P,expose:F,inheritAttrs:M,components:O,directives:W,filters:Z}=e;if(c&&Ov(c,r,null),a)for(const re in a){const ee=a[re];Pe(ee)&&(r[re]=ee.bind(t))}if(o){const re=o.call(t,t);ct(re)&&(n.data=_s(re))}if(hu=!0,i)for(const re in i){const ee=i[re],ye=Pe(ee)?ee.bind(t,t):Pe(ee.get)?ee.get.bind(t,t):Rn,G=!Pe(ee)&&Pe(ee.set)?ee.set.bind(t):Rn,q=kn({get:ye,set:G});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>q.value,set:ie=>q.value=ie})}if(s)for(const re in s)Nm(s[re],r,t,re);if(l){const re=Pe(l)?l.call(t):l;Reflect.ownKeys(re).forEach(ee=>{wr(ee,re[ee])})}u&&qf(u,n,"c");function D(re,ee){Se(ee)?ee.forEach(ye=>re(ye.bind(t))):ee&&re(ee.bind(t))}if(D(Sv,d),D(Li,f),D(_v,h),D(Bm,p),D(vv,g),D(wv,b),D(Iv,T),D(Rv,I),D(kv,E),D(Dm,m),D(Fm,_),D(xv,P),Se(F))if(F.length){const re=n.exposed||(n.exposed={});F.forEach(ee=>{Object.defineProperty(re,ee,{get:()=>t[ee],set:ye=>t[ee]=ye})})}else n.exposed||(n.exposed={});k&&n.render===Rn&&(n.render=k),M!=null&&(n.inheritAttrs=M),O&&(n.components=O),W&&(n.directives=W)}function Ov(n,e,t=Rn){Se(n)&&(n=pu(n));for(const r in n){const o=n[r];let i;ct(o)?"default"in o?i=pe(o.from||r,o.default,!0):i=pe(o.from||r):i=pe(o),Ct(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[r]=i}}function qf(n,e,t){En(Se(n)?n.map(r=>r.bind(e.proxy)):n.bind(e.proxy),e,t)}function Nm(n,e,t,r){const o=r.includes(".")?t0(t,r):()=>t[r];if(pt(n)){const i=e[n];Pe(i)&&cn(o,i)}else if(Pe(n))cn(o,n.bind(t));else if(ct(n))if(Se(n))n.forEach(i=>Nm(i,e,t,r));else{const i=Pe(n.handler)?n.handler.bind(t):e[n.handler];Pe(i)&&cn(o,i,n)}}function Td(n){const e=n.type,{mixins:t,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=n.appContext,s=i.get(e);let l;return s?l=s:!o.length&&!t&&!r?l=e:(l={},o.length&&o.forEach(c=>wl(l,c,a,!0)),wl(l,e,a)),ct(e)&&i.set(e,l),l}function wl(n,e,t,r=!1){const{mixins:o,extends:i}=e;i&&wl(n,i,t,!0),o&&o.forEach(a=>wl(n,a,t,!0));for(const a in e)if(!(r&&a==="expose")){const s=Lv[a]||t&&t[a];n[a]=s?s(n[a],e[a]):e[a]}return n}const Lv={data:Jf,props:Qf,emits:Qf,methods:ea,computed:ea,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:ea,directives:ea,watch:Av,provide:Jf,inject:Mv};function Jf(n,e){return e?n?function(){return _t(Pe(n)?n.call(this,this):n,Pe(e)?e.call(this,this):e)}:e:n}function Mv(n,e){return ea(pu(n),pu(e))}function pu(n){if(Se(n)){const e={};for(let t=0;t1)return t&&Pe(e)?e.call(r&&r.proxy):e}}const Vm={},Gm=()=>Object.create(Vm),Km=n=>Object.getPrototypeOf(n)===Vm;function Fv(n,e,t,r=!1){const o={},i=Gm();n.propsDefaults=Object.create(null),Hm(n,e,o,i);for(const a in n.propsOptions[0])a in o||(o[a]=void 0);t?n.props=r?o:ym(o):n.type.props?n.props=o:n.props=i,n.attrs=i}function $v(n,e,t,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=n,s=Ye(o),[l]=n.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=n.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=Wm(d,e,!0);_t(a,f),h&&s.push(...h)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!i&&!l)return ct(n)&&r.set(n,ui),ui;if(Se(i))for(let u=0;u-1,h[1]=g<0||p-1||je(h,"default"))&&s.push(d)}}}const c=[a,s];return ct(n)&&r.set(n,c),c}function eh(n){return n[0]!=="$"&&!ia(n)}function th(n){return n===null?"null":typeof n=="function"?n.name||"":typeof n=="object"&&n.constructor&&n.constructor.name||""}function nh(n,e){return th(n)===th(e)}function rh(n,e){return Se(e)?e.findIndex(t=>nh(t,n)):Pe(e)&&nh(e,n)?0:-1}const Um=n=>n[0]==="_"||n==="$stable",Ed=n=>Se(n)?n.map(Xn):[Xn(n)],Nv=(n,e,t)=>{if(e._n)return e;const r=ne((...o)=>Ed(e(...o)),t);return r._c=!1,r},Xm=(n,e,t)=>{const r=n._ctx;for(const o in n){if(Um(o))continue;const i=n[o];if(Pe(i))e[o]=Nv(o,i,r);else if(i!=null){const a=Ed(i);e[o]=()=>a}}},Ym=(n,e)=>{const t=Ed(e);n.slots.default=()=>t},Zm=(n,e,t)=>{for(const r in e)(t||r!=="_")&&(n[r]=e[r])},jv=(n,e,t)=>{const r=n.slots=Gm();if(n.vnode.shapeFlag&32){const o=e._;o?(Zm(r,e,t),t&&nm(r,"_",o,!0)):Xm(e,r)}else e&&Ym(n,e)},Vv=(n,e,t)=>{const{vnode:r,slots:o}=n;let i=!0,a=dt;if(r.shapeFlag&32){const s=e._;s?t&&s===1?i=!1:Zm(o,e,t):(i=!e.$stable,Xm(e,o)),a=e}else e&&(Ym(n,e),a={default:1});if(i)for(const s in o)!Um(s)&&a[s]==null&&delete o[s]};function mu(n,e,t,r,o=!1){if(Se(n)){n.forEach((f,h)=>mu(f,e&&(Se(e)?e[h]:e),t,r,o));return}if(sa(r)&&!o)return;const i=r.shapeFlag&4?Ql(r.component):r.el,a=o?null:i,{i:s,r:l}=n,c=e&&e.r,u=s.refs===dt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(pt(c)?(u[c]=null,je(d,c)&&(d[c]=null)):Ct(c)&&(c.value=null)),Pe(l))eo(l,s,12,[a,u]);else{const f=pt(l),h=Ct(l);if(f||h){const p=()=>{if(n.f){const g=f?je(d,l)?d[l]:u[l]:l.value;o?Se(g)&&fd(g,i):Se(g)?g.includes(i)||g.push(i):f?(u[l]=[i],je(d,l)&&(d[l]=u[l])):(l.value=[i],n.k&&(u[n.k]=l.value))}else f?(u[l]=a,je(d,l)&&(d[l]=a)):h&&(l.value=a,n.k&&(u[n.k]=a))};a?(p.id=-1,Xt(p,t)):p()}}}const qm=Symbol("_vte"),Gv=n=>n.__isTeleport,ua=n=>n&&(n.disabled||n.disabled===""),oh=n=>typeof SVGElement<"u"&&n instanceof SVGElement,ih=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,bu=(n,e)=>{const t=n&&n.to;return pt(t)?e?e(t):null:t},Kv={name:"Teleport",__isTeleport:!0,process(n,e,t,r,o,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:b}}=c,y=ua(e.props);let{shapeFlag:m,children:C,dynamicChildren:_}=e;if(n==null){const k=e.el=g(""),I=e.anchor=g(""),E=e.target=bu(e.props,p),T=e.targetStart=g(""),P=e.targetAnchor=g("");h(k,t,r),h(I,t,r),T[qm]=P,E&&(h(T,E),h(P,E),a==="svg"||oh(E)?a="svg":(a==="mathml"||ih(E))&&(a="mathml"));const F=(M,O)=>{m&16&&u(C,M,O,o,i,a,s,l)};y?F(t,I):E&&F(E,P)}else{e.el=n.el,e.targetStart=n.targetStart;const k=e.anchor=n.anchor,I=e.target=n.target,E=e.targetAnchor=n.targetAnchor,T=ua(n.props),P=T?t:I,F=T?k:E;if(a==="svg"||oh(I)?a="svg":(a==="mathml"||ih(I))&&(a="mathml"),_?(f(n.dynamicChildren,_,P,o,i,a,s),Pd(n,e,!0)):l||d(n,e,P,F,o,i,a,s,!1),y)T?e.props&&n.props&&e.props.to!==n.props.to&&(e.props.to=n.props.to):Ws(e,t,k,c,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const M=e.target=bu(e.props,p);M&&Ws(e,M,null,c,0)}else T&&Ws(e,I,E,c,1)}Jm(e)},remove(n,e,t,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=n;if(d&&(o(c),o(u)),i&&o(l),a&16){const h=i||!ua(f);for(let p=0;p{if(S===x)return;S&&!To(S,x)&&(V=B(S),ie(S,$,X,!0),S=null),x.patchFlag===-2&&(Q=!1,x.dynamicChildren=null);const{type:K,ref:le,shapeFlag:he}=x;switch(K){case ql:b(S,x,L,V);break;case qt:y(S,x,L,V);break;case Ec:S==null&&m(x,L,V,se);break;case de:O(S,x,L,V,$,X,se,J,Q);break;default:he&1?k(S,x,L,V,$,X,se,J,Q):he&6?W(S,x,L,V,$,X,se,J,Q):(he&64||he&128)&&K.process(S,x,L,V,$,X,se,J,Q,ce)}le!=null&&$&&mu(le,S&&S.ref,X,x||S,!x)},b=(S,x,L,V)=>{if(S==null)r(x.el=s(x.children),L,V);else{const $=x.el=S.el;x.children!==S.children&&c($,x.children)}},y=(S,x,L,V)=>{S==null?r(x.el=l(x.children||""),L,V):x.el=S.el},m=(S,x,L,V)=>{[S.el,S.anchor]=p(S.children,x,L,V,S.el,S.anchor)},C=({el:S,anchor:x},L,V)=>{let $;for(;S&&S!==x;)$=f(S),r(S,L,V),S=$;r(x,L,V)},_=({el:S,anchor:x})=>{let L;for(;S&&S!==x;)L=f(S),o(S),S=L;o(x)},k=(S,x,L,V,$,X,se,J,Q)=>{x.type==="svg"?se="svg":x.type==="math"&&(se="mathml"),S==null?I(x,L,V,$,X,se,J,Q):P(S,x,$,X,se,J,Q)},I=(S,x,L,V,$,X,se,J)=>{let Q,K;const{props:le,shapeFlag:he,transition:fe,dirs:Ce}=S;if(Q=S.el=a(S.type,X,le&&le.is,le),he&8?u(Q,S.children):he&16&&T(S.children,Q,null,V,$,Ic(S,X),se,J),Ce&&wo(S,null,V,"created"),E(Q,S,S.scopeId,se,V),le){for(const Ke in le)Ke!=="value"&&!ia(Ke)&&i(Q,Ke,null,le[Ke],X,V);"value"in le&&i(Q,"value",null,le.value,X),(K=le.onVnodeBeforeMount)&&Kn(K,V,S)}Ce&&wo(S,null,V,"beforeMount");const Ie=Yv($,fe);Ie&&fe.beforeEnter(Q),r(Q,x,L),((K=le&&le.onVnodeMounted)||Ie||Ce)&&Xt(()=>{K&&Kn(K,V,S),Ie&&fe.enter(Q),Ce&&wo(S,null,V,"mounted")},$)},E=(S,x,L,V,$)=>{if(L&&h(S,L),V)for(let X=0;X{for(let K=Q;K{const J=x.el=S.el;let{patchFlag:Q,dynamicChildren:K,dirs:le}=x;Q|=S.patchFlag&16;const he=S.props||dt,fe=x.props||dt;let Ce;if(L&&Co(L,!1),(Ce=fe.onVnodeBeforeUpdate)&&Kn(Ce,L,x,S),le&&wo(x,S,L,"beforeUpdate"),L&&Co(L,!0),(he.innerHTML&&fe.innerHTML==null||he.textContent&&fe.textContent==null)&&u(J,""),K?F(S.dynamicChildren,K,J,L,V,Ic(x,$),X):se||ee(S,x,J,null,L,V,Ic(x,$),X,!1),Q>0){if(Q&16)M(J,he,fe,L,$);else if(Q&2&&he.class!==fe.class&&i(J,"class",null,fe.class,$),Q&4&&i(J,"style",he.style,fe.style,$),Q&8){const Ie=x.dynamicProps;for(let Ke=0;Ke{Ce&&Kn(Ce,L,x,S),le&&wo(x,S,L,"updated")},V)},F=(S,x,L,V,$,X,se)=>{for(let J=0;J{if(x!==L){if(x!==dt)for(const X in x)!ia(X)&&!(X in L)&&i(S,X,x[X],null,$,V);for(const X in L){if(ia(X))continue;const se=L[X],J=x[X];se!==J&&X!=="value"&&i(S,X,J,se,$,V)}"value"in L&&i(S,"value",x.value,L.value,$)}},O=(S,x,L,V,$,X,se,J,Q)=>{const K=x.el=S?S.el:s(""),le=x.anchor=S?S.anchor:s("");let{patchFlag:he,dynamicChildren:fe,slotScopeIds:Ce}=x;Ce&&(J=J?J.concat(Ce):Ce),S==null?(r(K,L,V),r(le,L,V),T(x.children||[],L,le,$,X,se,J,Q)):he>0&&he&64&&fe&&S.dynamicChildren?(F(S.dynamicChildren,fe,L,$,X,se,J),(x.key!=null||$&&x===$.subTree)&&Pd(S,x,!0)):ee(S,x,L,le,$,X,se,J,Q)},W=(S,x,L,V,$,X,se,J,Q)=>{x.slotScopeIds=J,S==null?x.shapeFlag&512?$.ctx.activate(x,L,V,se,Q):Z(x,L,V,$,X,se,Q):te(S,x,Q)},Z=(S,x,L,V,$,X,se)=>{const J=S.component=h2(S,V,$);if(Xl(S)&&(J.ctx.renderer=ce),p2(J,!1,se),J.asyncDep){if($&&$.registerDep(J,D,se),!S.el){const Q=J.subTree=ue(qt);y(null,Q,x,L)}}else D(J,S,x,L,$,X,se)},te=(S,x,L)=>{const V=x.component=S.component;if(o2(S,x,L))if(V.asyncDep&&!V.asyncResolved){re(V,x,L);return}else V.next=x,pv(V.update),V.effect.dirty=!0,V.update();else x.el=S.el,V.vnode=x},D=(S,x,L,V,$,X,se)=>{const J=()=>{if(S.isMounted){let{next:le,bu:he,u:fe,parent:Ce,vnode:Ie}=S;{const lr=Qm(S);if(lr){le&&(le.el=Ie.el,re(S,le,se)),lr.asyncDep.then(()=>{S.isUnmounted||J()});return}}let Ke=le,_e;Co(S,!1),le?(le.el=Ie.el,re(S,le,se)):le=Ie,he&&_c(he),(_e=le.props&&le.props.onVnodeBeforeUpdate)&&Kn(_e,Ce,le,Ie),Co(S,!0);const vt=Tc(S),Ut=S.subTree;S.subTree=vt,g(Ut,vt,d(Ut.el),B(Ut),S,$,X),le.el=vt.el,Ke===null&&i2(S,vt.el),fe&&Xt(fe,$),(_e=le.props&&le.props.onVnodeUpdated)&&Xt(()=>Kn(_e,Ce,le,Ie),$)}else{let le;const{el:he,props:fe}=x,{bm:Ce,m:Ie,parent:Ke}=S,_e=sa(x);if(Co(S,!1),Ce&&_c(Ce),!_e&&(le=fe&&fe.onVnodeBeforeMount)&&Kn(le,Ke,x),Co(S,!0),he&&et){const vt=()=>{S.subTree=Tc(S),et(he,S.subTree,S,$,null)};_e?x.type.__asyncLoader().then(()=>!S.isUnmounted&&vt()):vt()}else{const vt=S.subTree=Tc(S);g(null,vt,L,V,S,$,X),x.el=vt.el}if(Ie&&Xt(Ie,$),!_e&&(le=fe&&fe.onVnodeMounted)){const vt=x;Xt(()=>Kn(le,Ke,vt),$)}(x.shapeFlag&256||Ke&&sa(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&S.a&&Xt(S.a,$),S.isMounted=!0,x=L=V=null}},Q=S.effect=new pd(J,Rn,()=>xd(K),S.scope),K=S.update=()=>{Q.dirty&&Q.run()};K.i=S,K.id=S.uid,Co(S,!0),K()},re=(S,x,L)=>{x.component=S;const V=S.vnode.props;S.vnode=x,S.next=null,$v(S,x.props,V,L),Vv(S,x.children,L),ho(),Uf(S),po()},ee=(S,x,L,V,$,X,se,J,Q=!1)=>{const K=S&&S.children,le=S?S.shapeFlag:0,he=x.children,{patchFlag:fe,shapeFlag:Ce}=x;if(fe>0){if(fe&128){G(K,he,L,V,$,X,se,J,Q);return}else if(fe&256){ye(K,he,L,V,$,X,se,J,Q);return}}Ce&8?(le&16&&Be(K,$,X),he!==K&&u(L,he)):le&16?Ce&16?G(K,he,L,V,$,X,se,J,Q):Be(K,$,X,!0):(le&8&&u(L,""),Ce&16&&T(he,L,V,$,X,se,J,Q))},ye=(S,x,L,V,$,X,se,J,Q)=>{S=S||ui,x=x||ui;const K=S.length,le=x.length,he=Math.min(K,le);let fe;for(fe=0;fele?Be(S,$,X,!0,!1,he):T(x,L,V,$,X,se,J,Q,he)},G=(S,x,L,V,$,X,se,J,Q)=>{let K=0;const le=x.length;let he=S.length-1,fe=le-1;for(;K<=he&&K<=fe;){const Ce=S[K],Ie=x[K]=Q?Hr(x[K]):Xn(x[K]);if(To(Ce,Ie))g(Ce,Ie,L,null,$,X,se,J,Q);else break;K++}for(;K<=he&&K<=fe;){const Ce=S[he],Ie=x[fe]=Q?Hr(x[fe]):Xn(x[fe]);if(To(Ce,Ie))g(Ce,Ie,L,null,$,X,se,J,Q);else break;he--,fe--}if(K>he){if(K<=fe){const Ce=fe+1,Ie=Cefe)for(;K<=he;)ie(S[K],$,X,!0),K++;else{const Ce=K,Ie=K,Ke=new Map;for(K=Ie;K<=fe;K++){const Mt=x[K]=Q?Hr(x[K]):Xn(x[K]);Mt.key!=null&&Ke.set(Mt.key,K)}let _e,vt=0;const Ut=fe-Ie+1;let lr=!1,Vo=0;const yo=new Array(Ut);for(K=0;K=Ut){ie(Mt,$,X,!0);continue}let rn;if(Mt.key!=null)rn=Ke.get(Mt.key);else for(_e=Ie;_e<=fe;_e++)if(yo[_e-Ie]===0&&To(Mt,x[_e])){rn=_e;break}rn===void 0?ie(Mt,$,X,!0):(yo[rn-Ie]=K+1,rn>=Vo?Vo=rn:lr=!0,g(Mt,x[rn],L,null,$,X,se,J,Q),vt++)}const $s=lr?Zv(yo):ui;for(_e=$s.length-1,K=Ut-1;K>=0;K--){const Mt=Ie+K,rn=x[Mt],Go=Mt+1{const{el:X,type:se,transition:J,children:Q,shapeFlag:K}=S;if(K&6){q(S.component.subTree,x,L,V);return}if(K&128){S.suspense.move(x,L,V);return}if(K&64){se.move(S,x,L,ce);return}if(se===de){r(X,x,L);for(let he=0;heJ.enter(X),$);else{const{leave:he,delayLeave:fe,afterLeave:Ce}=J,Ie=()=>r(X,x,L),Ke=()=>{he(X,()=>{Ie(),Ce&&Ce()})};fe?fe(X,Ie,Ke):Ke()}else r(X,x,L)},ie=(S,x,L,V=!1,$=!1)=>{const{type:X,props:se,ref:J,children:Q,dynamicChildren:K,shapeFlag:le,patchFlag:he,dirs:fe,cacheIndex:Ce}=S;if(he===-2&&($=!1),J!=null&&mu(J,null,L,S,!0),Ce!=null&&(x.renderCache[Ce]=void 0),le&256){x.ctx.deactivate(S);return}const Ie=le&1&&fe,Ke=!sa(S);let _e;if(Ke&&(_e=se&&se.onVnodeBeforeUnmount)&&Kn(_e,x,S),le&6)Qe(S.component,L,V);else{if(le&128){S.suspense.unmount(L,V);return}Ie&&wo(S,null,x,"beforeUnmount"),le&64?S.type.remove(S,x,L,ce,V):K&&!K.hasOnce&&(X!==de||he>0&&he&64)?Be(K,x,L,!1,!0):(X===de&&he&384||!$&&le&16)&&Be(Q,x,L),V&&me(S)}(Ke&&(_e=se&&se.onVnodeUnmounted)||Ie)&&Xt(()=>{_e&&Kn(_e,x,S),Ie&&wo(S,null,x,"unmounted")},L)},me=S=>{const{type:x,el:L,anchor:V,transition:$}=S;if(x===de){j(L,V);return}if(x===Ec){_(S);return}const X=()=>{o(L),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(S.shapeFlag&1&&$&&!$.persisted){const{leave:se,delayLeave:J}=$,Q=()=>se(L,X);J?J(S.el,X,Q):Q()}else X()},j=(S,x)=>{let L;for(;S!==x;)L=f(S),o(S),S=L;o(x)},Qe=(S,x,L)=>{const{bum:V,scope:$,update:X,subTree:se,um:J,m:Q,a:K}=S;ah(Q),ah(K),V&&_c(V),$.stop(),X&&(X.active=!1,ie(se,S,x,L)),J&&Xt(J,x),Xt(()=>{S.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Be=(S,x,L,V=!1,$=!1,X=0)=>{for(let se=X;se{if(S.shapeFlag&6)return B(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const x=f(S.anchor||S.el),L=x&&x[qm];return L?f(L):x};let ae=!1;const oe=(S,x,L)=>{S==null?x._vnode&&ie(x._vnode,null,null,!0):g(x._vnode||null,S,x,null,null,null,L),ae||(ae=!0,Uf(),Rm(),ae=!1),x._vnode=S},ce={p:g,um:ie,m:q,r:me,mt:Z,mc:T,pc:ee,pbc:F,n:B,o:n};let De,et;return{render:oe,hydrate:De,createApp:Dv(oe,De)}}function Ic({type:n,props:e},t){return t==="svg"&&n==="foreignObject"||t==="mathml"&&n==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function Co({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function Yv(n,e){return(!n||n&&!n.pendingBranch)&&e&&!e.persisted}function Pd(n,e,t=!1){const r=n.children,o=e.children;if(Se(r)&&Se(o))for(let i=0;i>1,n[t[s]]0&&(e[r]=t[i-1]),t[i]=r)}}for(i=t.length,a=t[i-1];i-- >0;)t[i]=a,a=e[a];return t}function Qm(n){const e=n.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qm(e)}function ah(n){if(n)for(let e=0;epe(qv),Us={};function cn(n,e,t){return e0(n,e,t)}function e0(n,e,{immediate:t,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=dt){if(e&&i){const I=e;e=(...E)=>{I(...E),k()}}const l=Et,c=I=>r===!0?I:Xr(I,r===!1?1:void 0);let u,d=!1,f=!1;if(Ct(n)?(u=()=>n.value,d=yi(n)):aa(n)?(u=()=>c(n),d=!0):Se(n)?(f=!0,d=n.some(I=>aa(I)||yi(I)),u=()=>n.map(I=>{if(Ct(I))return I.value;if(aa(I))return c(I);if(Pe(I))return eo(I,l,2)})):Pe(n)?e?u=()=>eo(n,l,2):u=()=>(h&&h(),En(n,l,3,[p])):u=Rn,e&&r){const I=u;u=()=>Xr(I())}let h,p=I=>{h=C.onStop=()=>{eo(I,l,4),h=C.onStop=void 0}},g;if(Jl)if(p=Rn,e?t&&En(e,l,3,[u(),f?[]:void 0,p]):u(),o==="sync"){const I=Jv();g=I.__watcherHandles||(I.__watcherHandles=[])}else return Rn;let b=f?new Array(n.length).fill(Us):Us;const y=()=>{if(!(!C.active||!C.dirty))if(e){const I=C.run();(r||d||(f?I.some((E,T)=>ro(E,b[T])):ro(I,b)))&&(h&&h(),En(e,l,3,[I,b===Us?void 0:f&&b[0]===Us?[]:b,p]),b=I)}else C.run()};y.allowRecurse=!!e;let m;o==="sync"?m=y:o==="post"?m=()=>Xt(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),m=()=>xd(y));const C=new pd(u,Rn,m),_=jy(),k=()=>{C.stop(),_&&fd(_.effects,C)};return e?t?y():b=C.run():o==="post"?Xt(C.run.bind(C),l&&l.suspense):C.run(),g&&g.push(k),k}function Qv(n,e,t){const r=this.proxy,o=pt(n)?n.includes(".")?t0(r,n):()=>r[n]:n.bind(r,r);let i;Pe(e)?i=e:(i=e.handler,t=e);const a=xs(this),s=e0(o,i.bind(r),t);return a(),s}function t0(n,e){const t=e.split(".");return()=>{let r=n;for(let o=0;o{Xr(r,e,t)});else if(tm(n)){for(const r in n)Xr(n[r],e,t);for(const r of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,r)&&Xr(n[r],e,t)}return n}const e2=(n,e)=>e==="modelValue"||e==="model-value"?n.modelModifiers:n[`${e}Modifiers`]||n[`${Nn(e)}Modifiers`]||n[`${fo(e)}Modifiers`];function t2(n,e,...t){if(n.isUnmounted)return;const r=n.vnode.props||dt;let o=t;const i=e.startsWith("update:"),a=i&&e2(r,e.slice(7));a&&(a.trim&&(o=t.map(u=>pt(u)?u.trim():u)),a.number&&(o=t.map(Oy)));let s,l=r[s=dl(e)]||r[s=dl(Nn(e))];!l&&i&&(l=r[s=dl(fo(e))]),l&&En(l,n,6,o);const c=r[s+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[s])return;n.emitted[s]=!0,En(c,n,6,o)}}function n0(n,e,t=!1){const r=e.emitsCache,o=r.get(n);if(o!==void 0)return o;const i=n.emits;let a={},s=!1;if(!Pe(n)){const l=c=>{const u=n0(c,e,!0);u&&(s=!0,_t(a,u))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!i&&!s?(ct(n)&&r.set(n,null),null):(Se(i)?i.forEach(l=>a[l]=null):_t(a,i),ct(n)&&r.set(n,a),a)}function Zl(n,e){return!n||!Vl(e)?!1:(e=e.slice(2).replace(/Once$/,""),je(n,e[0].toLowerCase()+e.slice(1))||je(n,fo(e))||je(n,e))}function Tc(n){const{type:e,vnode:t,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=n,b=vl(n);let y,m;try{if(t.shapeFlag&4){const _=o||r,k=_;y=Xn(c.call(k,_,u,d,h,f,p)),m=s}else{const _=e;y=Xn(_.length>1?_(d,{attrs:s,slots:a,emit:l}):_(d,null)),m=e.props?s:n2(s)}}catch(_){da.length=0,Ul(_,n,1),y=ue(qt)}let C=y;if(m&&g!==!1){const _=Object.keys(m),{shapeFlag:k}=C;_.length&&k&7&&(i&&_.some(dd)&&(m=r2(m,i)),C=io(C,m,!1,!0))}return t.dirs&&(C=io(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(t.dirs):t.dirs),t.transition&&(C.transition=t.transition),y=C,vl(b),y}const n2=n=>{let e;for(const t in n)(t==="class"||t==="style"||Vl(t))&&((e||(e={}))[t]=n[t]);return e},r2=(n,e)=>{const t={};for(const r in n)(!dd(r)||!(r.slice(9)in e))&&(t[r]=n[r]);return t};function o2(n,e,t){const{props:r,children:o,component:i}=n,{props:a,children:s,patchFlag:l}=e,c=i.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return r?sh(r,a,c):!!a;if(l&8){const u=e.dynamicProps;for(let d=0;dn.__isSuspense;function s2(n,e){e&&e.pendingBranch?Se(n)?e.effects.push(...n):e.effects.push(n):gv(n)}const de=Symbol.for("v-fgt"),ql=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),Ec=Symbol.for("v-stc"),da=[];let un=null;function v(n=!1){da.push(un=n?null:[])}function l2(){da.pop(),un=da[da.length-1]||null}let ka=1;function lh(n){ka+=n,n<0&&un&&(un.hasOnce=!0)}function r0(n){return n.dynamicChildren=ka>0?un||ui:null,l2(),ka>0&&un&&un.push(n),n}function R(n,e,t,r,o,i){return r0(N(n,e,t,r,o,i,!0))}function A(n,e,t,r,o){return r0(ue(n,e,t,r,o,!0))}function Cl(n){return n?n.__v_isVNode===!0:!1}function To(n,e){return n.type===e.type&&n.key===e.key}const o0=({key:n})=>n??null,hl=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?pt(n)||Ct(n)||Pe(n)?{i:It,r:n,k:e,f:!!t}:n:null);function N(n,e=null,t=null,r=0,o=null,i=n===de?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&o0(e),ref:e&&hl(e),scopeId:Tm,slotScopeIds:null,children:t,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:It};return s?(Od(l,t),i&128&&n.normalize(l)):t&&(l.shapeFlag|=pt(t)?8:16),ka>0&&!a&&un&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&un.push(l),l}const ue=c2;function c2(n,e=null,t=null,r=0,o=null,i=!1){if((!n||n===$m)&&(n=qt),Cl(n)){const s=io(n,e,!0);return t&&Od(s,t),ka>0&&!i&&un&&(s.shapeFlag&6?un[un.indexOf(n)]=s:un.push(s)),s.patchFlag=-2,s}if(v2(n)&&(n=n.__vccOpts),e){e=u2(e);let{class:s,style:l}=e;s&&!pt(s)&&(e.class=ke(s)),ct(l)&&(vm(l)&&!Se(l)&&(l=_t({},l)),e.style=Tn(l))}const a=pt(n)?1:a2(n)?128:Gv(n)?64:ct(n)?4:Pe(n)?2:0;return N(n,e,t,r,o,a,i,!0)}function u2(n){return n?vm(n)||Km(n)?_t({},n):n:null}function io(n,e,t=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=n,c=e?w(o||{},e):o,u={__v_isVNode:!0,__v_skip:!0,type:n.type,props:c,key:c&&o0(c),ref:e&&e.ref?t&&i?Se(i)?i.concat(hl(e)):[i,hl(e)]:hl(e):i,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:s,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==de?a===-1?16:a|16:a,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:l,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&io(n.ssContent),ssFallback:n.ssFallback&&io(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return l&&r&&vi(u,l.clone(u)),u}function fn(n=" ",e=0){return ue(ql,null,n,e)}function H(n="",e=!1){return e?(v(),A(qt,null,n)):ue(qt,null,n)}function Xn(n){return n==null||typeof n=="boolean"?ue(qt):Se(n)?ue(de,null,n.slice()):typeof n=="object"?Hr(n):ue(ql,null,String(n))}function Hr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:io(n)}function Od(n,e){let t=0;const{shapeFlag:r}=n;if(e==null)e=null;else if(Se(e))t=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),Od(n,o()),o._c&&(o._d=!0));return}else{t=32;const o=e._;!o&&!Km(e)?e._ctx=It:o===3&&It&&(It.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Pe(e)?(e={default:e,_ctx:It},t=32):(e=String(e),r&64?(t=16,e=[fn(e)]):t=8);n.children=e,n.shapeFlag|=t}function w(...n){const e={};for(let t=0;tEt||It;let Sl,yu;{const n=rm(),e=(t,r)=>{let o;return(o=n[t])||(o=n[t]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};Sl=e("__VUE_INSTANCE_SETTERS__",t=>Et=t),yu=e("__VUE_SSR_SETTERS__",t=>Jl=t)}const xs=n=>{const e=Et;return Sl(n),n.scope.on(),()=>{n.scope.off(),Sl(e)}},ch=()=>{Et&&Et.scope.off(),Sl(null)};function i0(n){return n.vnode.shapeFlag&4}let Jl=!1;function p2(n,e=!1,t=!1){e&&yu(e);const{props:r,children:o}=n.vnode,i=i0(n);Fv(n,r,i,e),jv(n,o,t);const a=i?g2(n,e):void 0;return e&&yu(!1),a}function g2(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,Ev);const{setup:r}=t;if(r){const o=n.setupContext=r.length>1?b2(n):null,i=xs(n);ho();const a=eo(r,n,0,[n.props,o]);if(po(),i(),Qg(a)){if(a.then(ch,ch),e)return a.then(s=>{uh(n,s,e)}).catch(s=>{Ul(s,n,0)});n.asyncDep=a}else uh(n,a,e)}else a0(n,e)}function uh(n,e,t){Pe(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:ct(e)&&(n.setupState=_m(e)),a0(n,t)}let dh;function a0(n,e,t){const r=n.type;if(!n.render){if(!e&&dh&&!r.render){const o=r.template||Td(n).template;if(o){const{isCustomElement:i,compilerOptions:a}=n.appContext.config,{delimiters:s,compilerOptions:l}=r,c=_t(_t({isCustomElement:i,delimiters:s},a),l);r.render=dh(o,c)}}n.render=r.render||Rn}{const o=xs(n);ho();try{Pv(n)}finally{po(),o()}}}const m2={get(n,e){return tn(n,"get",""),n[e]}};function b2(n){const e=t=>{n.exposed=t||{}};return{attrs:new Proxy(n.attrs,m2),slots:n.slots,emit:n.emit,expose:e}}function Ql(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(_m(sv(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in la)return la[t](n)},has(e,t){return t in e||t in la}})):n.proxy}function y2(n,e=!0){return Pe(n)?n.displayName||n.name:n.name||e&&n.__name}function v2(n){return Pe(n)&&"__vccOpts"in n}const kn=(n,e)=>lv(n,e,Jl);function Md(n,e,t){const r=arguments.length;return r===2?ct(e)&&!Se(e)?Cl(e)?ue(n,null,[e]):ue(n,e):ue(n,null,e):(r>3?t=Array.prototype.slice.call(arguments,2):r===3&&Cl(t)&&(t=[t]),ue(n,e,t))}const w2="3.4.32";/** -* @vue/runtime-dom v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const C2="http://www.w3.org/2000/svg",S2="http://www.w3.org/1998/Math/MathML",yr=typeof document<"u"?document:null,fh=yr&&yr.createElement("template"),_2={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,r)=>{const o=e==="svg"?yr.createElementNS(C2,n):e==="mathml"?yr.createElementNS(S2,n):t?yr.createElement(n,{is:t}):yr.createElement(n);return n==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:n=>yr.createTextNode(n),createComment:n=>yr.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>yr.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,r,o,i){const a=t?t.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),t),!(o===i||!(o=o.nextSibling)););else{fh.innerHTML=r==="svg"?`${n}`:r==="mathml"?`${n}`:n;const s=fh.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}e.insertBefore(s,t)}return[a?a.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Lr="transition",Gi="animation",wi=Symbol("_vtc"),Mi=(n,{slots:e})=>Md(yv,l0(n),e);Mi.displayName="Transition";const s0={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},x2=Mi.props=_t({},Pm,s0),So=(n,e=[])=>{Se(n)?n.forEach(t=>t(...e)):n&&n(...e)},hh=n=>n?Se(n)?n.some(e=>e.length>1):n.length>1:!1;function l0(n){const e={};for(const O in n)O in s0||(e[O]=n[O]);if(n.css===!1)return e;const{name:t="v",type:r,duration:o,enterFromClass:i=`${t}-enter-from`,enterActiveClass:a=`${t}-enter-active`,enterToClass:s=`${t}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:h=`${t}-leave-to`}=n,p=k2(o),g=p&&p[0],b=p&&p[1],{onBeforeEnter:y,onEnter:m,onEnterCancelled:C,onLeave:_,onLeaveCancelled:k,onBeforeAppear:I=y,onAppear:E=m,onAppearCancelled:T=C}=e,P=(O,W,Z)=>{Nr(O,W?u:s),Nr(O,W?c:a),Z&&Z()},F=(O,W)=>{O._isLeaving=!1,Nr(O,d),Nr(O,h),Nr(O,f),W&&W()},M=O=>(W,Z)=>{const te=O?E:m,D=()=>P(W,O,Z);So(te,[W,D]),ph(()=>{Nr(W,O?l:i),gr(W,O?u:s),hh(te)||gh(W,r,g,D)})};return _t(e,{onBeforeEnter(O){So(y,[O]),gr(O,i),gr(O,a)},onBeforeAppear(O){So(I,[O]),gr(O,l),gr(O,c)},onEnter:M(!1),onAppear:M(!0),onLeave(O,W){O._isLeaving=!0;const Z=()=>F(O,W);gr(O,d),gr(O,f),u0(),ph(()=>{O._isLeaving&&(Nr(O,d),gr(O,h),hh(_)||gh(O,r,b,Z))}),So(_,[O,Z])},onEnterCancelled(O){P(O,!1),So(C,[O])},onAppearCancelled(O){P(O,!0),So(T,[O])},onLeaveCancelled(O){F(O),So(k,[O])}})}function k2(n){if(n==null)return null;if(ct(n))return[Pc(n.enter),Pc(n.leave)];{const e=Pc(n);return[e,e]}}function Pc(n){return Ly(n)}function gr(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[wi]||(n[wi]=new Set)).add(e)}function Nr(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.remove(r));const t=n[wi];t&&(t.delete(e),t.size||(n[wi]=void 0))}function ph(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let R2=0;function gh(n,e,t,r){const o=n._endId=++R2,i=()=>{o===n._endId&&r()};if(t)return setTimeout(i,t);const{type:a,timeout:s,propCount:l}=c0(n,e);if(!a)return r();const c=a+"end";let u=0;const d=()=>{n.removeEventListener(c,f),i()},f=h=>{h.target===n&&++u>=l&&d()};setTimeout(()=>{u(t[p]||"").split(", "),o=r(`${Lr}Delay`),i=r(`${Lr}Duration`),a=mh(o,i),s=r(`${Gi}Delay`),l=r(`${Gi}Duration`),c=mh(s,l);let u=null,d=0,f=0;e===Lr?a>0&&(u=Lr,d=a,f=i.length):e===Gi?c>0&&(u=Gi,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?Lr:Gi:null,f=u?u===Lr?i.length:l.length:0);const h=u===Lr&&/\b(transform|all)(,|$)/.test(r(`${Lr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function mh(n,e){for(;n.lengthbh(t)+bh(n[r])))}function bh(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function u0(){return document.body.offsetHeight}function I2(n,e,t){const r=n[wi];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const yh=Symbol("_vod"),T2=Symbol("_vsh"),E2=Symbol(""),P2=/(^|;)\s*display\s*:/;function O2(n,e,t){const r=n.style,o=pt(t);let i=!1;if(t&&!o){if(e)if(pt(e))for(const a of e.split(";")){const s=a.slice(0,a.indexOf(":")).trim();t[s]==null&&pl(r,s,"")}else for(const a in e)t[a]==null&&pl(r,a,"");for(const a in t)a==="display"&&(i=!0),pl(r,a,t[a])}else if(o){if(e!==t){const a=r[E2];a&&(t+=";"+a),r.cssText=t,i=P2.test(t)}}else e&&n.removeAttribute("style");yh in n&&(n[yh]=i?r.display:"",n[T2]&&(r.display="none"))}const vh=/\s*!important$/;function pl(n,e,t){if(Se(t))t.forEach(r=>pl(n,e,r));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const r=L2(n,e);vh.test(t)?n.setProperty(fo(r),t.replace(vh,""),"important"):n[r]=t}}const wh=["Webkit","Moz","ms"],Oc={};function L2(n,e){const t=Oc[e];if(t)return t;let r=Nn(e);if(r!=="filter"&&r in n)return Oc[e]=r;r=Hl(r);for(let o=0;oLc||($2.then(()=>Lc=0),Lc=Date.now());function N2(n,e){const t=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=t.attached)return;En(j2(r,t.value),e,5,[r])};return t.value=n,t.attached=z2(),t}function j2(n,e){if(Se(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const kh=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,V2=(n,e,t,r,o,i)=>{const a=o==="svg";e==="class"?I2(n,r,a):e==="style"?O2(n,t,r):Vl(e)?dd(e)||D2(n,e,t,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):G2(n,e,r,a))?(M2(n,e,r),!n.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Sh(n,e,r,a,i,e!=="value")):(e==="true-value"?n._trueValue=r:e==="false-value"&&(n._falseValue=r),Sh(n,e,r,a))};function G2(n,e,t,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in n&&kh(e)&&Pe(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=n.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return kh(e)&&pt(t)?!1:e in n}const d0=new WeakMap,f0=new WeakMap,_l=Symbol("_moveCb"),Rh=Symbol("_enterCb"),h0={name:"TransitionGroup",props:_t({},x2,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=Ld(),r=Em();let o,i;return Bm(()=>{if(!o.length)return;const a=n.moveClass||`${n.name||"v"}-move`;if(!Y2(o[0].el,t.vnode.el,a))return;o.forEach(W2),o.forEach(U2);const s=o.filter(X2);u0(),s.forEach(l=>{const c=l.el,u=c.style;gr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[_l]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[_l]=null,Nr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Ye(n),s=l0(a);let l=a.tag||de;if(o=[],i)for(let c=0;cdelete n.mode;h0.props;const H2=h0;function W2(n){const e=n.el;e[_l]&&e[_l](),e[Rh]&&e[Rh]()}function U2(n){f0.set(n,n.el.getBoundingClientRect())}function X2(n){const e=d0.get(n),t=f0.get(n),r=e.left-t.left,o=e.top-t.top;if(r||o){const i=n.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",n}}function Y2(n,e,t){const r=n.cloneNode(),o=n[wi];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),t.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(r);const{hasTransform:a}=c0(r);return i.removeChild(r),a}const Z2=["ctrl","shift","alt","meta"],q2={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>Z2.some(t=>n[`${t}Key`]&&!e.includes(t))},p0=(n,e)=>{const t=n._withMods||(n._withMods={}),r=e.join(".");return t[r]||(t[r]=(o,...i)=>{for(let a=0;a{const t=n._withKeys||(n._withKeys={}),r=e.join(".");return t[r]||(t[r]=o=>{if(!("key"in o))return;const i=fo(o.key);if(e.some(a=>a===i||J2[a]===i))return n(o)})},Q2=_t({patchProp:V2},_2);let Ih;function e5(){return Ih||(Ih=Uv(Q2))}const t5=(...n)=>{const e=e5().createApp(...n),{mount:t}=e;return e.mount=r=>{const o=r5(r);if(!o)return;const i=e._component;!Pe(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=t(o,!1,n5(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},e};function n5(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function r5(n){return pt(n)?document.querySelector(n):n}var o5=Object.defineProperty,Th=Object.getOwnPropertySymbols,i5=Object.prototype.hasOwnProperty,a5=Object.prototype.propertyIsEnumerable,Eh=(n,e,t)=>e in n?o5(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,s5=(n,e)=>{for(var t in e||(e={}))i5.call(e,t)&&Eh(n,t,e[t]);if(Th)for(var t of Th(e))a5.call(e,t)&&Eh(n,t,e[t]);return n};function hn(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&typeof n=="object"&&Object.keys(n).length===0}function l5(n,e,t,r=1){let o=-1;const i=hn(n),a=hn(e);return i&&a?o=0:i?o=r:a?o=-r:typeof n=="string"&&typeof e=="string"?o=t(n,e):o=ne?1:0,o}function vu(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){var t=Array.isArray(n),r=Array.isArray(e),o,i,a;if(t&&r){if(i=n.length,i!=e.length)return!1;for(o=i;o--!==0;)if(!vu(n[o],e[o]))return!1;return!0}if(t!=r)return!1;var s=n instanceof Date,l=e instanceof Date;if(s!=l)return!1;if(s&&l)return n.getTime()==e.getTime();var c=n instanceof RegExp,u=e instanceof RegExp;if(c!=u)return!1;if(c&&u)return n.toString()==e.toString();var d=Object.keys(n);if(i=d.length,i!==Object.keys(e).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,d[o]))return!1;for(o=i;o--!==0;)if(a=d[o],!vu(n[a],e[a]))return!1;return!0}return n!==n&&e!==e}function Ad(n){return!!(n&&n.constructor&&n.call&&n.apply)}function Ve(n){return!hn(n)}function Me(n,e){if(!n||!e)return null;try{const t=n[e];if(Ve(t))return t}catch{}if(Object.keys(n).length){if(Ad(e))return e(n);if(e.indexOf(".")===-1)return n[e];{let t=e.split("."),r=n;for(let o=0,i=t.length;oFn(i)===o)||""],t),r.join("."),t):void 0:rr(n,t)}function Dd(n,e=!0){return Array.isArray(n)&&(e||n.length!==0)}function g0(n){return Ve(n)&&!isNaN(n)}function u5(n=""){return Ve(n)&&n.length===1&&!!n.match(/\S| /)}function xl(){return new Intl.Collator(void 0,{numeric:!0}).compare}function Sr(n,e){if(e){const t=e.test(n);return e.lastIndex=0,t}return!1}function d5(...n){const e=(t={},r={})=>{const o=s5({},t);return Object.keys(r).forEach(i=>{ar(r[i])&&i in t&&ar(t[i])?o[i]=e(t[i],r[i]):o[i]=r[i]}),o};return n.reduce((t,r,o)=>o===0?r:e(t,r),{})}function fa(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function vn(n){return n&&n.search(/[\xC0-\xFF]/g)>-1&&(n=n.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),n}function Oh(n,e,t){n&&e!==t&&(t>=n.length&&(t%=n.length,e%=n.length),n.splice(t,0,n.splice(e,1)[0]))}function kl(n,e,t=1,r,o=1){const i=l5(n,e,r,t);let a=t;return(hn(n)||hn(e))&&(a=o===1?t:o),a*i}function f5(n){return en(n,!1)?n[0].toUpperCase()+n.slice(1):n}function m0(n){return en(n)?n.replace(/(_)/g,"-").replace(/[A-Z]/g,(e,t)=>t===0?e:"-"+e.toLowerCase()).toLowerCase():n}function Lh(n){return en(n)?n.replace(/[A-Z]/g,(e,t)=>t===0?e:"."+e.toLowerCase()).toLowerCase():n}function ec(){const n=new Map;return{on(e,t){let r=n.get(e);return r?r.push(t):r=[t],n.set(e,r),this},off(e,t){let r=n.get(e);return r&&r.splice(r.indexOf(t)>>>0,1),this},emit(e,t){let r=n.get(e);r&&r.slice().map(o=>{o(t)})},clear(){n.clear()}}}var h5=Object.defineProperty,p5=Object.defineProperties,g5=Object.getOwnPropertyDescriptors,Rl=Object.getOwnPropertySymbols,b0=Object.prototype.hasOwnProperty,y0=Object.prototype.propertyIsEnumerable,Mh=(n,e,t)=>e in n?h5(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Ki=(n,e)=>{for(var t in e||(e={}))b0.call(e,t)&&Mh(n,t,e[t]);if(Rl)for(var t of Rl(e))y0.call(e,t)&&Mh(n,t,e[t]);return n},Bc=(n,e)=>p5(n,g5(e)),Hi=(n,e)=>{var t={};for(var r in n)b0.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&Rl)for(var r of Rl(n))e.indexOf(r)<0&&y0.call(n,r)&&(t[r]=n[r]);return t};function m5(...n){return d5(...n)}var b5=ec(),Dn=b5;function Ah(n,e){Dd(n)?n.push(...e||[]):ar(n)&&Object.assign(n,e)}function y5(n){return ar(n)&&n.hasOwnProperty("value")&&n.hasOwnProperty("type")?n.value:n}function Bh(n,e=""){return["opacity","z-index","line-height","font-weight","flex","flex-grow","flex-shrink","order"].some(r=>e.endsWith(r))?n:`${n}`.trim().split(" ").map(i=>g0(i)?`${i}px`:i).join(" ")}function v5(n){return n.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function wu(n="",e=""){return v5(`${en(n,!1)&&en(e,!1)?`${n}-`:n}${e}`)}function v0(n="",e=""){return`--${wu(n,e)}`}function w0(n,e="",t="",r=[],o){if(en(n)){const i=/{([^}]*)}/g,a=n.trim();if(Sr(a,i)){const s=a.replaceAll(i,u=>{const f=u.replace(/{|}/g,"").split(".").filter(h=>!r.some(p=>Sr(h,p)));return`var(${v0(t,m0(f.join("-")))}${Ve(o)?`, ${o}`:""})`}),l=/(\d+\s+[\+\-\*\/]\s+\d+)/g,c=/var\([^)]+\)/g;return Sr(s.replace(c,"0"),l)?`calc(${s})`:s}return Bh(a,e)}else if(g0(n))return Bh(n,e)}function w5(n,e,t){en(e,!1)&&n.push(`${e}:${t};`)}function ta(n,e){return n?`${n}{${e}}`:""}var Un=n=>{var e;const t=ot.getTheme(),r=Cu(t,n,void 0,"variable"),o=(e=r.match(/--[\w-]+/g))==null?void 0:e[0],i=Cu(t,n,void 0,"value");return{name:o,variable:r,value:i}},Dc=(...n)=>Cu(ot.getTheme(),...n),Cu=(n={},e,t,r="variable")=>{if(e){const{variable:o,options:i}=ot.defaults||{},{prefix:a,transform:s}=(n==null?void 0:n.options)||i||{},c=Sr(e,/{([^}]*)}/g)?e:`{${e}}`;return r==="value"||s==="strict"?ot.getTokenValue(e):w0(c,void 0,a,[o.excludedKeyRegex],t)}return""};function C5(n,e={}){const t=ot.defaults.variable,{prefix:r=t.prefix,selector:o=t.selector,excludedKeyRegex:i=t.excludedKeyRegex}=e,a=(c,u="")=>Object.entries(c).reduce((d,[f,h])=>{const p=Sr(f,i)?wu(u):wu(u,m0(f)),g=y5(h);if(ar(g)){const{variables:b,tokens:y}=a(g,p);Ah(d.tokens,y),Ah(d.variables,b)}else d.tokens.push((r?p.replace(`${r}-`,""):p).replaceAll("-",".")),w5(d.variables,v0(p),w0(g,p,r,[i]));return d},{variables:[],tokens:[]}),{variables:s,tokens:l}=a(n,r);return{value:s,tokens:l,declarations:s.join(""),css:ta(o,s.join(""))}}var On={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(n){return{type:"class",selector:n,matched:this.pattern.test(n.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(n){return{type:"attr",selector:`:root${n}`,matched:this.pattern.test(n.trim())}}},media:{pattern:/^@media (.*)$/,resolve(n){return{type:"media",selector:`${n}{:root{[CSS]}}`,matched:this.pattern.test(n.trim())}}},system:{pattern:/^system$/,resolve(n){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(n.trim())}}},custom:{resolve(n){return{type:"custom",selector:n,matched:!0}}}},resolve(n){const e=Object.keys(this.rules).filter(t=>t!=="custom").map(t=>this.rules[t]);return[n].flat().map(t=>{var r;return(r=e.map(o=>o.resolve(t)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(t)})}},_toVariables(n,e){return C5(n,{prefix:e==null?void 0:e.prefix})},getCommon({name:n="",theme:e={},params:t,set:r,defaults:o}){var i,a,s,l;const{preset:c,options:u}=e;let d,f,h,p;if(Ve(c)){const{primitive:g,semantic:b}=c,y=b||{},{colorScheme:m}=y,C=Hi(y,["colorScheme"]),_=m||{},{dark:k}=_,I=Hi(_,["dark"]),E=Ve(g)?this._toVariables({primitive:g},u):{},T=Ve(C)?this._toVariables({semantic:C},u):{},P=Ve(I)?this._toVariables({light:I},u):{},F=Ve(k)?this._toVariables({dark:k},u):{},[M,O]=[(i=E.declarations)!=null?i:"",E.tokens],[W,Z]=[(a=T.declarations)!=null?a:"",T.tokens||[]],[te,D]=[(s=P.declarations)!=null?s:"",P.tokens||[]],[re,ee]=[(l=F.declarations)!=null?l:"",F.tokens||[]];d=this.transformCSS(n,M,"light","variable",u,r,o),f=O;const ye=this.transformCSS(n,`${W}${te}color-scheme:light`,"light","variable",u,r,o),G=this.transformCSS(n,`${re}color-scheme:dark`,"dark","variable",u,r,o);h=`${ye}${G}`,p=[...new Set([...Z,...D,...ee])]}return{primitive:{css:d,tokens:f},semantic:{css:h,tokens:p}}},getPreset({name:n="",preset:e={},options:t,params:r,set:o,defaults:i,selector:a}){var s,l,c;const u=n.replace("-directive",""),d=e,{colorScheme:f}=d,h=Hi(d,["colorScheme"]),p=f||{},{dark:g}=p,b=Hi(p,["dark"]),y=Ve(h)?this._toVariables({[u]:h},t):{},m=Ve(b)?this._toVariables({[u]:b},t):{},C=Ve(g)?this._toVariables({[u]:g},t):{},[_,k]=[(s=y.declarations)!=null?s:"",y.tokens||[]],[I,E]=[(l=m.declarations)!=null?l:"",m.tokens||[]],[T,P]=[(c=C.declarations)!=null?c:"",C.tokens||[]],F=[...new Set([...k,...E,...P])],M=this.transformCSS(u,`${_}${I}`,"light","variable",t,o,i,a),O=this.transformCSS(u,T,"dark","variable",t,o,i,a);return{css:`${M}${O}`,tokens:F}},getPresetC({name:n="",theme:e={},params:t,set:r,defaults:o}){var i;const{preset:a,options:s}=e,l=(i=a==null?void 0:a.components)==null?void 0:i[n];return this.getPreset({name:n,preset:l,options:s,params:t,set:r,defaults:o})},getPresetD({name:n="",theme:e={},params:t,set:r,defaults:o}){var i;const a=n.replace("-directive",""),{preset:s,options:l}=e,c=(i=s==null?void 0:s.directives)==null?void 0:i[a];return this.getPreset({name:a,preset:c,options:l,params:t,set:r,defaults:o})},getColorSchemeOption(n,e){var t;return this.regex.resolve((t=n.darkModeSelector)!=null?t:e.options.darkModeSelector)},getLayerOrder(n,e={},t,r){const{cssLayer:o}=e;return o?`@layer ${rr(o.order||"primeui",t)}`:""},getCommonStyleSheet({name:n="",theme:e={},params:t,props:r={},set:o,defaults:i}){const a=this.getCommon({name:n,theme:e,params:t,set:o,defaults:i}),s=Object.entries(r).reduce((l,[c,u])=>l.push(`${c}="${u}"`)&&l,[]).join(" ");return Object.entries(a||{}).reduce((l,[c,u])=>{if(u!=null&&u.css){const d=fa(u==null?void 0:u.css),f=`${c}-variables`;l.push(``)}return l},[]).join("")},getStyleSheet({name:n="",theme:e={},params:t,props:r={},set:o,defaults:i}){var a;const s={name:n,theme:e,params:t,set:o,defaults:i},l=(a=n.includes("-directive")?this.getPresetD(s):this.getPresetC(s))==null?void 0:a.css,c=Object.entries(r).reduce((u,[d,f])=>u.push(`${d}="${f}"`)&&u,[]).join(" ");return l?``:""},createTokens(n={},e,t="",r="",o={}){return Object.entries(n).forEach(([i,a])=>{const s=Sr(i,e.variable.excludedKeyRegex)?t:t?`${t}.${Lh(i)}`:Lh(i),l=r?`${r}.${i}`:i;ar(a)?this.createTokens(a,e,s,l,o):(o[s]||(o[s]={paths:[],computed(c,u={}){if(c){const d=this.paths.find(f=>f.scheme===c)||this.paths.find(f=>f.scheme==="none");return d==null?void 0:d.computed(c,u.binding)}return this.paths.map(d=>d.computed(d.scheme,u[d.scheme]))}}),o[s].paths.push({path:l,value:a,scheme:l.includes("colorScheme.light")?"light":l.includes("colorScheme.dark")?"dark":"none",computed(c,u={}){const d=/{([^}]*)}/g;let f=a;if(u.name=this.path,u.binding||(u.binding={}),Sr(a,d)){const p=a.trim().replaceAll(d,y=>{var m,C;const _=y.replace(/{|}/g,"");return(C=(m=o[_])==null?void 0:m.computed(c,u))==null?void 0:C.value}),g=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,b=/var\([^)]+\)/g;f=Sr(p.replace(b,"0"),g)?`calc(${p})`:p}return hn(u.binding)&&delete u.binding,{colorScheme:c,path:this.path,paths:u,value:f.includes("undefined")?void 0:f}}}))}),o},getTokenValue(n,e,t){var r;const i=(l=>l.split(".").filter(u=>!Sr(u.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(e),a=e.includes("colorScheme.light")?"light":e.includes("colorScheme.dark")?"dark":void 0,s=[(r=n[i])==null?void 0:r.computed(a)].flat().filter(l=>l);return s.length===1?s[0].value:s.reduce((l={},c)=>{const u=c,{colorScheme:d}=u,f=Hi(u,["colorScheme"]);return l[d]=f,l},void 0)},transformCSS(n,e,t,r,o={},i,a,s){if(Ve(e)){const{cssLayer:l}=o;if(r!=="style"){const c=this.getColorSchemeOption(o,a),u=s?ta(s,e):e;e=t==="dark"?c.reduce((d,{selector:f})=>(Ve(f)&&(d+=f.includes("[CSS]")?f.replace("[CSS]",u):ta(f,u)),d),""):ta(s??":root",e)}if(l){const c={name:"primeui",order:"primeui"};ar(l)&&(c.name=rr(l.name,{name:n,type:r})),Ve(c.name)&&(e=ta(`@layer ${c.name}`,e),i==null||i.layerNames(c.name))}return e}return""}},ot={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(n={}){const{theme:e}=n;e&&(this._theme=Bc(Ki({},e),{options:Ki(Ki({},this.defaults.options),e.options)}),this._tokens=On.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var n;return((n=this.theme)==null?void 0:n.preset)||{}},get options(){var n;return((n=this.theme)==null?void 0:n.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(n){this.update({theme:n}),Dn.emit("theme:change",n)},getPreset(){return this.preset},setPreset(n){this._theme=Bc(Ki({},this.theme),{preset:n}),this._tokens=On.createTokens(n,this.defaults),this.clearLoadedStyleNames(),Dn.emit("preset:change",n),Dn.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(n){this._theme=Bc(Ki({},this.theme),{options:n}),this.clearLoadedStyleNames(),Dn.emit("options:change",n),Dn.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(n){this._layerNames.add(n)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(n){return this._loadedStyleNames.has(n)},setLoadedStyleName(n){this._loadedStyleNames.add(n)},deleteLoadedStyleName(n){this._loadedStyleNames.delete(n)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(n){return On.getTokenValue(this.tokens,n,this.defaults)},getCommon(n="",e){return On.getCommon({name:n,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(n="",e){const t={name:n,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return On.getPresetC(t)},getDirective(n="",e){const t={name:n,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return On.getPresetD(t)},getCustomPreset(n="",e,t,r){const o={name:n,preset:e,options:this.options,selector:t,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return On.getPreset(o)},getLayerOrderCSS(n=""){return On.getLayerOrder(n,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(n="",e,t="style",r){return On.transformCSS(n,e,r,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(n="",e,t={}){return On.getCommonStyleSheet({name:n,theme:this.theme,params:e,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(n,e,t={}){return On.getStyleSheet({name:n,theme:this.theme,params:e,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(n){this._loadingStyles.add(n)},onStyleUpdated(n){this._loadingStyles.add(n)},onStyleLoaded(n,{name:e}){this._loadingStyles.size&&(this._loadingStyles.delete(e),Dn.emit(`theme:${e}:load`,n),!this._loadingStyles.size&&Dn.emit("theme:load"))}},xt={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},Il={AND:"and",OR:"or"};function Dh(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=S5(n))||e){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw i}}}}function S5(n,e){if(n){if(typeof n=="string")return Fh(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Fh(n,e):void 0}}function Fh(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tt.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null?!0:e==null?!1:e.toDateString()===t.toDateString()},dateIsNot:function(e,t){return t==null?!0:e==null?!1:e.toDateString()!==t.toDateString()},dateBefore:function(e,t){return t==null?!0:e==null?!1:e.getTime()t.getTime()}},register:function(e,t){this.filters[e]=t}};function ha(n,e){return n?n.classList?n.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(n.className):!1}function Ft(n,e){if(n&&e){const t=r=>{ha(n,r)||(n.classList?n.classList.add(r):n.className+=" "+r)};[e].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function _5(){return window.innerWidth-document.documentElement.offsetWidth}function Ci(n){for(const e of document==null?void 0:document.styleSheets)try{for(const t of e==null?void 0:e.cssRules)for(const r of t==null?void 0:t.style)if(n.test(r))return{name:r,value:t.style.getPropertyValue(r).trim()}}catch{}return null}function _u(n="p-overflow-hidden"){const e=Ci(/-scrollbar-width$/);e!=null&&e.name&&document.body.style.setProperty(e.name,_5()+"px"),Ft(document.body,n)}function x5(n){if(n){let e=document.createElement("a");if(e.download!==void 0){const{name:t,src:r}=n;return e.setAttribute("href",r),e.setAttribute("download",t),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e),!0}}return!1}function k5(n,e){let t=new Blob([n],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,e+".csv"):x5({name:e+".csv",src:URL.createObjectURL(t)})||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}function zt(n,e){if(n&&e){const t=r=>{n.classList?n.classList.remove(r):n.className=n.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[e].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(t))}}function xu(n="p-overflow-hidden"){const e=Ci(/-scrollbar-width$/);e!=null&&e.name&&document.body.style.removeProperty(e.name),zt(document.body,n)}function C0(n){let e={width:0,height:0};return n&&(n.style.visibility="hidden",n.style.display="block",e.width=n.offsetWidth,e.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),e}function tc(){let n=window,e=document,t=e.documentElement,r=e.getElementsByTagName("body")[0],o=n.innerWidth||t.clientWidth||r.clientWidth,i=n.innerHeight||t.clientHeight||r.clientHeight;return{width:o,height:i}}function S0(){let n=document.documentElement;return(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}function Fd(){let n=document.documentElement;return(window.pageYOffset||n.scrollTop)-(n.clientTop||0)}function _0(n,e,t=!0){var r,o,i,a;if(n){const s=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:C0(n),l=s.height,c=s.width,u=e.offsetHeight,d=e.offsetWidth,f=e.getBoundingClientRect(),h=Fd(),p=S0(),g=tc();let b,y,m="top";f.top+u+l>g.height?(b=f.top+h-l,m="bottom",b<0&&(b=h)):b=u+f.top+h,f.left+c>g.width?y=Math.max(0,f.left+p+d-c):y=f.left+p,n.style.top=b+"px",n.style.left=y+"px",n.style.transformOrigin=m,t&&(n.style.marginTop=m==="bottom"?`calc(${(o=(r=Ci(/-anchor-gutter$/))==null?void 0:r.value)!=null?o:"2px"} * -1)`:(a=(i=Ci(/-anchor-gutter$/))==null?void 0:i.value)!=null?a:"")}}function Ra(n,e){n&&(typeof e=="string"?n.style.cssText=e:Object.entries(e||{}).forEach(([t,r])=>n.style[t]=r))}function yt(n,e){return n instanceof HTMLElement?n.offsetWidth:0}function R5(n,e,t=!0){var r,o,i,a;if(n){const s=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:C0(n),l=e.offsetHeight,c=e.getBoundingClientRect(),u=tc();let d,f,h="top";c.top+l+s.height>u.height?(d=-1*s.height,h="bottom",c.top+d<0&&(d=-1*c.top)):d=l,s.width>u.width?f=c.left*-1:c.left+s.width>u.width?f=(c.left+s.width-u.width)*-1:f=0,n.style.top=d+"px",n.style.left=f+"px",n.style.transformOrigin=h,t&&(n.style.marginTop=h==="bottom"?`calc(${(o=(r=Ci(/-anchor-gutter$/))==null?void 0:r.value)!=null?o:"2px"} * -1)`:(a=(i=Ci(/-anchor-gutter$/))==null?void 0:i.value)!=null?a:"")}}function Ai(n){return typeof HTMLElement=="object"?n instanceof HTMLElement:n&&typeof n=="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}function gl(){if(window.getSelection){const n=window.getSelection()||{};n.empty?n.empty():n.removeAllRanges&&n.rangeCount>0&&n.getRangeAt(0).getClientRects().length>0&&n.removeAllRanges()}}function Tl(n,e={}){if(Ai(n)){const t=(r,o)=>{var i,a;const s=(i=n==null?void 0:n.$attrs)!=null&&i[r]?[(a=n==null?void 0:n.$attrs)==null?void 0:a[r]]:[];return[o].flat().reduce((l,c)=>{if(c!=null){const u=typeof c;if(u==="string"||u==="number")l.push(c);else if(u==="object"){const d=Array.isArray(c)?t(r,c):Object.entries(c).map(([f,h])=>r==="style"&&(h||h===0)?`${f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${h}`:h?f:void 0);l=d.length?l.concat(d.filter(f=>!!f)):l}}return l},s)};Object.entries(e).forEach(([r,o])=>{if(o!=null){const i=r.match(/^on(.+)/);i?n.addEventListener(i[1].toLowerCase(),o):r==="p-bind"?Tl(n,o):(o=r==="class"?[...new Set(t("class",o))].join(" ").trim():r==="style"?t("style",o).join(";").trim():o,(n.$attrs=n.$attrs||{})&&(n.$attrs[r]=o),n.setAttribute(r,o))}})}}function pa(n,e={},...t){if(n){const r=document.createElement(n);return Tl(r,e),r.append(...t),r}}function I5(n,e){if(n){n.style.opacity="0";let t=+new Date,r="0",o=function(){r=`${+n.style.opacity+(new Date().getTime()-t)/e}`,n.style.opacity=r,t=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}}function Ht(n,e){return Ai(n)?Array.from(n.querySelectorAll(e)):[]}function ht(n,e){return Ai(n)?n.matches(e)?n:n.querySelector(e):null}function St(n,e){n&&document.activeElement!==n&&n.focus(e)}function rt(n,e){if(Ai(n)){const t=n.getAttribute(e);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function $d(n,e=""){let t=Ht(n,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`),r=[];for(let o of t)getComputedStyle(o).display!="none"&&getComputedStyle(o).visibility!="hidden"&&r.push(o);return r}function Eo(n,e){const t=$d(n,e);return t.length>0?t[0]:null}function Cr(n){if(n){let e=n.offsetHeight,t=getComputedStyle(n);return e-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),e}return 0}function T5(n){if(n){n.style.visibility="hidden",n.style.display="block";let e=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",e}return 0}function E5(n){if(n){n.style.visibility="hidden",n.style.display="block";let e=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",e}return 0}function zd(n){if(n){let e=n.parentNode;return e&&e instanceof ShadowRoot&&e.host&&(e=e.host),e}return null}function ml(n){var e;if(n){let t=(e=zd(n))==null?void 0:e.childNodes,r=0;if(t)for(let o=0;o0?t[t.length-1]:null}function Nd(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return t;t=t.nextElementSibling}return null}function Zn(n){if(n){let e=n.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function an(n,e){return n?n.offsetHeight:0}function k0(n,e=[]){const t=zd(n);return t===null?e:k0(t,e.concat([t]))}function jd(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return t;t=t.previousElementSibling}return null}function P5(n){let e=[];if(n){let t=k0(n);const r=/(auto|scroll)/,o=i=>{try{let a=window.getComputedStyle(i,null);return r.test(a.getPropertyValue("overflow"))||r.test(a.getPropertyValue("overflowX"))||r.test(a.getPropertyValue("overflowY"))}catch{return!1}};for(let i of t){let a=i.nodeType===1&&i.dataset.scrollselectors;if(a){let s=a.split(",");for(let l of s){let c=ht(i,l);c&&o(c)&&e.push(c)}}i.nodeType!==9&&o(i)&&e.push(i)}}return e}function $h(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function R0(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&zd(n))}function $n(n){if(n){let e=n.offsetWidth,t=getComputedStyle(n);return e-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth),e}return 0}function zh(n,e,t){n[e].apply(n,t)}function O5(){return/(android)/i.test(navigator.userAgent)}function Fc(n){if(n){const e=n.nodeName,t=n.parentElement&&n.parentElement.nodeName;return e==="INPUT"||e==="TEXTAREA"||e==="BUTTON"||e==="A"||t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||!!n.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function I0(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Nh(n,e=""){return Ai(n)?n.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`):!1}function El(n){return!!(n&&n.offsetParent!=null)}function Vd(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function Bi(n,e="",t){Ai(n)&&t!==null&&t!==void 0&&n.setAttribute(e,t)}function Ia(n){"@babel/helpers - typeof";return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ia(n)}function jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Vh(n){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:!0;Ld()?Li(n):e?n():_d(n)}var D5=0;function F5(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=Ne(!1),r=Ne(n),o=Ne(null),i=I0()?window.document:void 0,a=e.document,s=a===void 0?i:a,l=e.immediate,c=l===void 0?!0:l,u=e.manual,d=u===void 0?!1:u,f=e.name,h=f===void 0?"style_".concat(++D5):f,p=e.id,g=p===void 0?void 0:p,b=e.media,y=b===void 0?void 0:b,m=e.nonce,C=m===void 0?void 0:m,_=e.first,k=_===void 0?!1:_,I=e.onMounted,E=I===void 0?void 0:I,T=e.onUpdated,P=T===void 0?void 0:T,F=e.onLoad,M=F===void 0?void 0:F,O=e.props,W=O===void 0?{}:O,Z=function(){},te=function(ee){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s){var G=Vh(Vh({},W),ye),q=G.name||h,ie=G.id||g,me=G.nonce||C;o.value=s.querySelector('style[data-primevue-style-id="'.concat(q,'"]'))||s.getElementById(ie)||s.createElement("style"),o.value.isConnected||(r.value=ee||n,Tl(o.value,{type:"text/css",id:ie,media:y,nonce:me}),k?s.head.prepend(o.value):s.head.appendChild(o.value),Bi(o.value,"data-primevue-style-id",q),Tl(o.value,G),o.value.onload=function(j){return M==null?void 0:M(j,{name:q})},E==null||E(q)),!t.value&&(Z=cn(r,function(j){o.value.textContent=j,P==null||P(q)},{immediate:!0}),t.value=!0)}},D=function(){!s||!t.value||(Z(),R0(o.value)&&s.head.removeChild(o.value),t.value=!1)};return c&&!d&&B5(te),{id:g,name:h,el:o,css:r,unload:D,load:te,isLoaded:vd(t)}}function Ta(n){"@babel/helpers - typeof";return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ta(n)}function Gh(n,e){return j5(n)||N5(n,e)||z5(n,e)||$5()}function $5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z5(n,e){if(n){if(typeof n=="string")return Kh(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Kh(n,e):void 0}}function Kh(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i},o=r(rr(e,{dt:Dc}));return o?F5(fa(o),$c({name:this.name},t)):{}},loadCSS:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,e)},loadTheme:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.theme,t,function(r){return ot.transformCSS(t.name||e.name,r)})},getCommonTheme:function(e){return ot.getCommon(this.name,e)},getComponentTheme:function(e){return ot.getComponent(this.name,e)},getDirectiveTheme:function(e){return ot.getDirective(this.name,e)},getPresetTheme:function(e,t,r){return ot.getCustomPreset(this.name,e,t,r)},getLayerOrderThemeCSS:function(){return ot.getLayerOrderCSS(this.name)},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=rr(this.css,{dt:Dc}),o=fa("".concat(r).concat(e)),i=Object.entries(t).reduce(function(a,s){var l=Gh(s,2),c=l[0],u=l[1];return a.push("".concat(c,'="').concat(u,'"'))&&a},[]).join(" ");return'")}return""},getCommonThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ot.getCommonStyleSheet(this.name,e,t)},getThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[ot.getStyleSheet(this.name,e,t)];if(this.theme){var o=this.name==="base"?"global-style":"".concat(this.name,"-style"),i=rr(this.theme,{dt:Dc}),a=fa(ot.transformCSS(o,i)),s=Object.entries(t).reduce(function(l,c){var u=Gh(c,2),d=u[0],f=u[1];return l.push("".concat(d,'="').concat(f,'"'))&&l},[]).join(" ");r.push('"))}return r.join("")},extend:function(e){return $c($c({},this),{},{css:void 0,theme:void 0},e)}},oi=ec();function Ea(n){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ea(n)}function Wh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function ga(n){for(var e=1;e{const c=o(a,s,l),u=c.value+(c.key===a?0:l)+1;return n.push({key:a,value:u}),u},t=a=>{n=n.filter(s=>s.value!==a)},r=(a,s)=>o(a).value,o=(a,s,l=0)=>[...n].reverse().find(c=>!0)||{key:a,value:l},i=a=>a&&parseInt(a.style.zIndex,10)||0;return{get:i,set:(a,s,l)=>{s&&(s.style.zIndex=String(e(a,!0,l)))},clear:a=>{a&&(t(i(a)),a.style.zIndex="")},getCurrent:a=>r(a)}}var Ot=i3();function Pa(n){"@babel/helpers - typeof";return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pa(n)}function a3(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s3(n,e){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:function(){};a3(this,n),this.element=e,this.listener=t}return l3(n,[{key:"bindScrollListener",value:function(){this.scrollableParents=P5(this.element);for(var t=0;tn.length)&&(e=n.length);for(var t=0,r=Array(e);t0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=[];return o.forEach(function(a){a.children instanceof Array?i=i.concat(t._recursive(i,a.children)):a.type.name===t.type?i.push(a):Ve(a.key)&&(i=i.concat(r.filter(function(s){return t._isMatched(s,a.key)}).map(function(s){return s.vnode})))}),i}}])}();function lt(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return o3(n)}function $o(n,e){if(n){var t=n.props;if(t){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=Object.prototype.hasOwnProperty.call(t,r)?r:e;return n.type.extends.props[e].type===Boolean&&t[o]===""?!0:t[o]}}return null}var Xh=Re.extend({name:"common"});function La(n){"@babel/helpers - typeof";return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},La(n)}function w3(n){return O0(n)||C3(n)||P0(n)||E0()}function C3(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Ys(n,e){return O0(n)||S3(n,e)||P0(n,e)||E0()}function E0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P0(n,e){if(n){if(typeof n=="string")return Yh(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Yh(n,e):void 0}}function Yh(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t1?t-1:0),o=1;o0&&arguments[0]!==void 0?arguments[0]:function(){};Yr.clearLoadedStyleNames(),Dn.on("theme:change",e)},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){var t;return this[e]||((t=this._getHostInstance(this))===null||t===void 0?void 0:t[e])},_getOptionValue:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Bd(e,t,r)},_getPTValue:function(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=/./g.test(r)&&!!o[r.split(".")[0]],s=this._getPropValue("ptOptions")||((e=this.$primevueConfig)===null||e===void 0?void 0:e.ptOptions)||{},l=s.mergeSections,c=l===void 0?!0:l,u=s.mergeProps,d=u===void 0?!1:u,f=i?a?this._useGlobalPT(this._getPTClassValue,r,o):this._useDefaultPT(this._getPTClassValue,r,o):void 0,h=a?void 0:this._getPTSelf(t,this._getPTClassValue,r,Fe(Fe({},o),{},{global:f||{}})),p=this._getPTDatasets(r);return c||!c&&h?d?this._mergeProps(d,f,h,p):Fe(Fe(Fe({},f),h),p):Fe(Fe({},h),p)},_getPTSelf:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length,r=new Array(t>1?t-1:0),o=1;o0&&arguments[0]!==void 0?arguments[0]:"",o="data-pc-",i=r==="root"&&Ve((e=this.pt)===null||e===void 0?void 0:e["data-pc-section"]);return r!=="transition"&&Fe(Fe({},r==="root"&&Fe(bl({},"".concat(o,"name"),Fn(i?(t=this.pt)===null||t===void 0?void 0:t["data-pc-section"]:this.$.type.name)),i&&bl({},"".concat(o,"extend"),Fn(this.$.type.name)))),{},bl({},"".concat(o,"section"),Fn(r)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return en(e)||Dd(e)?{class:e}:e},_getPT:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,i=function(s){var l,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=o?o(s):s,d=Fn(r),f=Fn(t.$name);return(l=c?d!==f?u==null?void 0:u[d]:void 0:u==null?void 0:u[d])!==null&&l!==void 0?l:u};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)},_usePT:function(e,t,r,o){var i=function(g){return t(g,r,o)};if(e!=null&&e.hasOwnProperty("_usept")){var a,s=e._usept||((a=this.$primevueConfig)===null||a===void 0?void 0:a.ptOptions)||{},l=s.mergeSections,c=l===void 0?!0:l,u=s.mergeProps,d=u===void 0?!1:u,f=i(e.originalValue),h=i(e.value);return f===void 0&&h===void 0?void 0:en(h)?h:en(f)?f:c||!c&&h?d?this._mergeProps(d,f,h):Fe(Fe({},f),h):h}return i(e)},_useGlobalPT:function(e,t,r){return this._usePT(this.globalPT,e,t,r)},_useDefaultPT:function(e,t,r){return this._usePT(this.defaultPT,e,t,r)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,Fe(Fe({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w(this.$_attrsWithoutPT,this.ptm(e,t))},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,Fe({instance:this},r),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,Fe(Fe({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var o=this._getOptionValue(this.$style.inlineStyles,e,Fe(Fe({},this.$params),r)),i=this._getOptionValue(Xh.inlineStyles,e,Fe(Fe({},this.$params),r));return[i,o]}}},computed:{globalPT:function(){var e,t=this;return this._getPT((e=this.$primevueConfig)===null||e===void 0?void 0:e.pt,void 0,function(r){return rr(r,{instance:t})})},defaultPT:function(){var e,t=this;return this._getPT((e=this.$primevueConfig)===null||e===void 0?void 0:e.pt,void 0,function(r){return t._getOptionValue(r,t.$name,Fe({},t.$params))||rr(r,Fe({},t.$params))})},isUnstyled:function(){var e;return this.unstyled!==void 0?this.unstyled:(e=this.$primevueConfig)===null||e===void 0?void 0:e.unstyled},$theme:function(){var e;return(e=this.$primevueConfig)===null||e===void 0?void 0:e.theme},$style:function(){return Fe(Fe({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var e;return{nonce:(e=this.$primevueConfig)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce}},$primevueConfig:function(){var e;return(e=this.$primevue)===null||e===void 0?void 0:e.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e==null?void 0:e.$props,state:e==null?void 0:e.$data,attrs:e==null?void 0:e.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=Ys(e,1),r=t[0];return r==null?void 0:r.startsWith("pt:")}).reduce(function(e,t){var r=Ys(t,2),o=r[0],i=r[1],a=o.split(":"),s=w3(a),l=s.slice(1);return l==null||l.reduce(function(c,u,d,f){return!c[u]&&(c[u]=d===f.length-1?i:{}),c[u]},e),e},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=Ys(e,1),r=t[0];return!(r!=null&&r.startsWith("pt:"))}).reduce(function(e,t){var r=Ys(t,2),o=r[0],i=r[1];return e[o]=i,e},{})},$attrSelector:function(){return lt("pc")}}},k3=` -.p-icon { - display: inline-block; -} - -.p-icon-spin { - -webkit-animation: p-icon-spin 2s infinite linear; - animation: p-icon-spin 2s infinite linear; -} - -@-webkit-keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} - -@keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -`,R3=Re.extend({name:"baseicon",css:k3});function Ma(n){"@babel/helpers - typeof";return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ma(n)}function qh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Jh(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,r=Array(e);t0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,l=function(){var m=Le._getOptionValue.apply(Le,arguments);return en(m)||Dd(m)?{class:m}:m},c=((e=r.binding)===null||e===void 0||(e=e.value)===null||e===void 0?void 0:e.ptOptions)||((t=r.$primevueConfig)===null||t===void 0?void 0:t.ptOptions)||{},u=c.mergeSections,d=u===void 0?!0:u,f=c.mergeProps,h=f===void 0?!1:f,p=s?Le._useDefaultPT(r,r.defaultPT(),l,i,a):void 0,g=Le._usePT(r,Le._getPT(o,r.$name),l,i,He(He({},a),{},{global:p||{}})),b=Le._getPTDatasets(r,i);return d||!d&&g?h?Le._mergeProps(r,h,p,g,b):He(He(He({},p),g),b):He(He({},g),b)},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r="data-pc-";return He(He({},t==="root"&&Ru({},"".concat(r,"name"),Fn(e.$name))),{},Ru({},"".concat(r,"section"),Fn(t)))},_getPT:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,o=function(a){var s,l=r?r(a):a,c=Fn(t);return(s=l==null?void 0:l[c])!==null&&s!==void 0?s:l};return e!=null&&e.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e)},_usePT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=function(b){return r(b,o,i)};if(t!=null&&t.hasOwnProperty("_usept")){var s,l=t._usept||((s=e.$primevueConfig)===null||s===void 0?void 0:s.ptOptions)||{},c=l.mergeSections,u=c===void 0?!0:c,d=l.mergeProps,f=d===void 0?!1:d,h=a(t.originalValue),p=a(t.value);return h===void 0&&p===void 0?void 0:en(p)?p:en(h)?h:u||!u&&p?f?Le._mergeProps(e,f,h,p):He(He({},h),p):p}return a(t)},_useDefaultPT:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return Le._usePT(e,t,r,o,i)},_loadStyles:function(e,t,r){var o,i=Le._getConfig(t,r),a={nonce:i==null||(o=i.csp)===null||o===void 0?void 0:o.nonce};Le._loadCoreStyles(e.$instance,a),Le._loadThemeStyles(e.$instance,a),Le._loadScopedThemeStyles(e.$instance,a),Le._themeChangeListener(function(){return Le._loadThemeStyles(e.$instance,a)})},_loadCoreStyles:function(){var e,t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(!Yr.isStyleNameLoaded((e=r.$style)===null||e===void 0?void 0:e.name)&&(t=r.$style)!==null&&t!==void 0&&t.name){var i;Re.loadCSS(o),r.isUnstyled()&&((i=r.$style)===null||i===void 0||i.loadCSS(o)),Yr.setLoadedStyleName(r.$style.name)}},_loadThemeStyles:function(){var e,t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(!(r!=null&&r.isUnstyled())){if(!ot.isStyleNameLoaded("common")){var i,a,s=((i=r.$style)===null||i===void 0||(a=i.getCommonTheme)===null||a===void 0?void 0:a.call(i))||{},l=s.primitive,c=s.semantic;Re.load(l==null?void 0:l.css,He({name:"primitive-variables"},o)),Re.load(c==null?void 0:c.css,He({name:"semantic-variables"},o)),Re.loadTheme(He({name:"global-style"},o)),ot.setLoadedStyleName("common")}if(!ot.isStyleNameLoaded((e=r.$style)===null||e===void 0?void 0:e.name)&&(t=r.$style)!==null&&t!==void 0&&t.name){var u,d,f,h,p=((u=r.$style)===null||u===void 0||(d=u.getDirectiveTheme)===null||d===void 0?void 0:d.call(u))||{},g=p.css;(f=r.$style)===null||f===void 0||f.load(g,He({name:"".concat(r.$style.name,"-variables")},o)),(h=r.$style)===null||h===void 0||h.loadTheme(He({name:"".concat(r.$style.name,"-style")},o)),ot.setLoadedStyleName(r.$style.name)}if(!ot.isStyleNameLoaded("layer-order")){var b,y,m=(b=r.$style)===null||b===void 0||(y=b.getLayerOrderThemeCSS)===null||y===void 0?void 0:y.call(b);Re.load(m,He({name:"layer-order",first:!0},o)),ot.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=e.preset();if(r&&e.$attrSelector){var o,i,a,s=((o=e.$style)===null||o===void 0||(i=o.getPresetTheme)===null||i===void 0?void 0:i.call(o,r,"[".concat(e.$attrSelector,"]")))||{},l=s.css,c=(a=e.$style)===null||a===void 0?void 0:a.load(l,He({name:"".concat(e.$attrSelector,"-").concat(e.$style.name)},t));e.scopedStyleEl=c.el}},_themeChangeListener:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};Yr.clearLoadedStyleNames(),Dn.on("theme:change",e)},_hook:function(e,t,r,o,i,a){var s,l,c="on".concat(f5(t)),u=Le._getConfig(o,i),d=r==null?void 0:r.$instance,f=Le._usePT(d,Le._getPT(o==null||(s=o.value)===null||s===void 0?void 0:s.pt,e),Le._getOptionValue,"hooks.".concat(c)),h=Le._useDefaultPT(d,u==null||(l=u.pt)===null||l===void 0||(l=l.directives)===null||l===void 0?void 0:l[e],Le._getOptionValue,"hooks.".concat(c)),p={el:r,binding:o,vnode:i,prevVnode:a};f==null||f(d,p),h==null||h(d,p)},_mergeProps:function(){for(var e=arguments.length>1?arguments[1]:void 0,t=arguments.length,r=new Array(t>2?t-2:0),o=2;o1&&arguments[1]!==void 0?arguments[1]:{},r=function(a,s,l,c,u){var d,f,h;s._$instances=s._$instances||{};var p=Le._getConfig(l,c),g=s._$instances[e]||{},b=hn(g)?He(He({},t),t==null?void 0:t.methods):{};s._$instances[e]=He(He({},g),{},{$name:e,$host:s,$binding:l,$modifiers:l==null?void 0:l.modifiers,$value:l==null?void 0:l.value,$el:g.$el||s||void 0,$style:He({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},t==null?void 0:t.style),$primevueConfig:p,$attrSelector:s.$attrSelector,defaultPT:function(){return Le._getPT(p==null?void 0:p.pt,void 0,function(m){var C;return m==null||(C=m.directives)===null||C===void 0?void 0:C[e]})},isUnstyled:function(){var m,C;return((m=s.$instance)===null||m===void 0||(m=m.$binding)===null||m===void 0||(m=m.value)===null||m===void 0?void 0:m.unstyled)!==void 0?(C=s.$instance)===null||C===void 0||(C=C.$binding)===null||C===void 0||(C=C.value)===null||C===void 0?void 0:C.unstyled:p==null?void 0:p.unstyled},theme:function(){var m;return(m=s.$instance)===null||m===void 0||(m=m.$primevueConfig)===null||m===void 0?void 0:m.theme},preset:function(){var m;return(m=s.$instance)===null||m===void 0||(m=m.$binding)===null||m===void 0||(m=m.value)===null||m===void 0?void 0:m.dt},ptm:function(){var m,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Le._getPTValue(s.$instance,(m=s.$instance)===null||m===void 0||(m=m.$binding)===null||m===void 0||(m=m.value)===null||m===void 0?void 0:m.pt,C,He({},_))},ptmo:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Le._getPTValue(s.$instance,m,C,_,!1)},cx:function(){var m,C,_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(m=s.$instance)!==null&&m!==void 0&&m.isUnstyled()?void 0:Le._getOptionValue((C=s.$instance)===null||C===void 0||(C=C.$style)===null||C===void 0?void 0:C.classes,_,He({},k))},sx:function(){var m,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return _?Le._getOptionValue((m=s.$instance)===null||m===void 0||(m=m.$style)===null||m===void 0?void 0:m.inlineStyles,C,He({},k)):void 0}},b),s.$instance=s._$instances[e],(d=(f=s.$instance)[a])===null||d===void 0||d.call(f,s,l,c,u),s["$".concat(e)]=s.$instance,Le._hook(e,a,s,l,c,u),s.$pd||(s.$pd={}),s.$pd[e]=He(He({},(h=s.$pd)===null||h===void 0?void 0:h[e]),{},{name:e,instance:s.$instance})},o=function(a){var s,l,c,u,d,f=(s=a.$instance)===null||s===void 0?void 0:s.watch;f==null||(l=f.config)===null||l===void 0||l.call(a.$instance,(c=a.$instance)===null||c===void 0?void 0:c.$primevueConfig),oi.on("config:change",function(h){var p,g=h.newValue,b=h.oldValue;return f==null||(p=f.config)===null||p===void 0?void 0:p.call(a.$instance,g,b)}),f==null||(u=f["config.ripple"])===null||u===void 0||u.call(a.$instance,(d=a.$instance)===null||d===void 0||(d=d.$primevueConfig)===null||d===void 0?void 0:d.ripple),oi.on("config:ripple:change",function(h){var p,g=h.newValue,b=h.oldValue;return f==null||(p=f["config.ripple"])===null||p===void 0?void 0:p.call(a.$instance,g,b)})};return{created:function(a,s,l,c){r("created",a,s,l,c)},beforeMount:function(a,s,l,c){a.$attrSelector=lt("pd"),Le._loadStyles(a,s,l),r("beforeMount",a,s,l,c),o(a)},mounted:function(a,s,l,c){Le._loadStyles(a,s,l),r("mounted",a,s,l,c)},beforeUpdate:function(a,s,l,c){r("beforeUpdate",a,s,l,c)},updated:function(a,s,l,c){Le._loadStyles(a,s,l),r("updated",a,s,l,c)},beforeUnmount:function(a,s,l,c){r("beforeUnmount",a,s,l,c)},unmounted:function(a,s,l,c){var u;(u=a.$instance)===null||u===void 0||(u=u.scopedStyleEl)===null||u===void 0||(u=u.value)===null||u===void 0||u.remove(),r("unmounted",a,s,l,c)}}},extend:function(){var e=Le._getMeta.apply(Le,arguments),t=Qh(e,2),r=t[0],o=t[1];return He({extend:function(){var a=Le._getMeta.apply(Le,arguments),s=Qh(a,2),l=s[0],c=s[1];return Le.extend(l,He(He(He({},o),o==null?void 0:o.methods),c))}},Le._extend(r,o))}},K3=function(e){var t=e.dt;return` -.p-ink { - display: block; - position: absolute; - background: `.concat(t("ripple.background"),`; - border-radius: 100%; - transform: scale(0); - pointer-events: none; -} - -.p-ink-active { - animation: ripple 0.4s linear; -} - -@keyframes ripple { - 100% { - opacity: 0; - transform: scale(2.5); - } -} -`)},H3={root:"p-ink"},W3=Re.extend({name:"ripple-directive",theme:K3,classes:H3}),U3=Le.extend({style:W3});function Ba(n){"@babel/helpers - typeof";return Ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(n)}function X3(n){return J3(n)||q3(n)||Z3(n)||Y3()}function Y3(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z3(n,e){if(n){if(typeof n=="string")return Iu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Iu(n,e):void 0}}function q3(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function J3(n){if(Array.isArray(n))return Iu(n)}function Iu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t .p-checkbox-box { - border-color: `).concat(t("checkbox.invalid.border.color"),`; -} - -.p-checkbox.p-variant-filled .p-checkbox-box { - background: `).concat(t("checkbox.filled.background"),`; -} - -.p-checkbox-checked.p-variant-filled .p-checkbox-box { - background: `).concat(t("checkbox.checked.background"),`; -} - -.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - background: `).concat(t("checkbox.checked.hover.background"),`; -} - -.p-checkbox.p-disabled { - opacity: 1; -} - -.p-checkbox.p-disabled .p-checkbox-box { - background: `).concat(t("checkbox.disabled.background"),`; - border-color: `).concat(t("checkbox.checked.disabled.border.color"),`; -} - -.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { - color: `).concat(t("checkbox.icon.disabled.color"),`; -} -`)},g6={root:function(e){var t=e.instance,r=e.props;return["p-checkbox p-component",{"p-checkbox-checked":t.checked,"p-disabled":r.disabled,"p-invalid":r.invalid,"p-variant-filled":r.variant?r.variant==="filled":t.$primevue.config.inputStyle==="filled"||t.$primevue.config.inputVariant==="filled"}]},box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},m6=Re.extend({name:"checkbox",theme:p6,classes:g6}),b6={name:"BaseCheckbox",extends:xe,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default:null},indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:m6,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function y6(n){return S6(n)||C6(n)||w6(n)||v6()}function v6(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w6(n,e){if(n){if(typeof n=="string")return Tu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Tu(n,e):void 0}}function C6(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function S6(n){if(Array.isArray(n))return Tu(n)}function Tu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tn.length)&&(e=n.length);for(var t=0,r=Array(e);t0}}},Aw=["value","aria-invalid"];function Bw(n,e,t,r,o,i){return v(),R("input",w({type:"text",class:n.cx("root"),value:n.modelValue,"aria-invalid":n.invalid||void 0,onInput:e[0]||(e[0]=function(){return i.onInput&&i.onInput.apply(i,arguments)})},i.getPTOptions("root")),null,16,Aw)}rc.render=Bw;var Zr=ec(),Dw=function(e){var t=e.dt;return` -.p-virtualscroller { - position: relative; - overflow: auto; - contain: strict; - transform: translateZ(0); - will-change: scroll-position; - outline: 0 none; -} - -.p-virtualscroller-content { - position: absolute; - top: 0; - left: 0; - min-height: 100%; - min-width: 100%; - will-change: transform; -} - -.p-virtualscroller-spacer { - position: absolute; - top: 0; - left: 0; - height: 1px; - width: 1px; - transform-origin: 0 0; - pointer-events: none; -} - -.p-virtualscroller-loader { - position: sticky; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: `.concat(t("virtualscroller.loader.mask.background"),`; - color: `).concat(t("virtualscroller.loader.mask.color"),`; -} - -.p-virtualscroller-loader-mask { - display: flex; - align-items: center; - justify-content: center; -} - -.p-virtualscroller-loading-icon { - font-size: `).concat(t("virtualscroller.loader.icon.size"),`; - width: `).concat(t("virtualscroller.loader.icon.size"),`; - height: `).concat(t("virtualscroller.loader.icon.size"),`; -} - -.p-virtualscroller-horizontal > .p-virtualscroller-content { - display: flex; -} - -.p-virtualscroller-inline .p-virtualscroller-content { - position: static; -} -`)},ap=Re.extend({name:"virtualscroller",theme:Dw}),Fw={name:"BaseVirtualScroller",extends:xe,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:ap,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var e;ap.loadCSS({nonce:(e=this.$primevueConfig)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce})}};function Va(n){"@babel/helpers - typeof";return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Va(n)}function sp(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Wi(n){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"auto",o=this.isBoth(),i=this.isHorizontal(),a=o?e.every(function(E){return E>-1}):e>-1;if(a){var s=this.first,l=this.element,c=l.scrollTop,u=c===void 0?0:c,d=l.scrollLeft,f=d===void 0?0:d,h=this.calculateNumItems(),p=h.numToleratedItems,g=this.getContentPosition(),b=this.itemSize,y=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,P=arguments.length>1?arguments[1]:void 0;return T<=P?0:T},m=function(T,P,F){return T*P+F},C=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return t.scrollTo({left:T,top:P,behavior:r})},_=o?{rows:0,cols:0}:0,k=!1,I=!1;o?(_={rows:y(e[0],p[0]),cols:y(e[1],p[1])},C(m(_.cols,b[1],g.left),m(_.rows,b[0],g.top)),I=this.lastScrollPos.top!==u||this.lastScrollPos.left!==f,k=_.rows!==s.rows||_.cols!==s.cols):(_=y(e,p),i?C(m(_,b,g.left),u):C(f,m(_,b,g.top)),I=this.lastScrollPos!==(i?f:u),k=_!==s),this.isRangeChanged=k,I&&(this.first=_)}},scrollInView:function(e,t){var r=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(t){var i=this.isBoth(),a=this.isHorizontal(),s=i?e.every(function(b){return b>-1}):e>-1;if(s){var l=this.getRenderedRange(),c=l.first,u=l.viewport,d=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return r.scrollTo({left:y,top:m,behavior:o})},f=t==="to-start",h=t==="to-end";if(f){if(i)u.first.rows-c.rows>e[0]?d(u.first.cols*this.itemSize[1],(u.first.rows-1)*this.itemSize[0]):u.first.cols-c.cols>e[1]&&d((u.first.cols-1)*this.itemSize[1],u.first.rows*this.itemSize[0]);else if(u.first-c>e){var p=(u.first-1)*this.itemSize;a?d(p,0):d(0,p)}}else if(h){if(i)u.last.rows-c.rows<=e[0]+1?d(u.first.cols*this.itemSize[1],(u.first.rows+1)*this.itemSize[0]):u.last.cols-c.cols<=e[1]+1&&d((u.first.cols+1)*this.itemSize[1],u.first.rows*this.itemSize[0]);else if(u.last-c<=e+1){var g=(u.first+1)*this.itemSize;a?d(g,0):d(0,g)}}}}else this.scrollToIndex(e,o)},getRenderedRange:function(){var e=function(d,f){return Math.floor(d/(f||d))},t=this.first,r=0;if(this.element){var o=this.isBoth(),i=this.isHorizontal(),a=this.element,s=a.scrollTop,l=a.scrollLeft;if(o)t={rows:e(s,this.itemSize[0]),cols:e(l,this.itemSize[1])},r={rows:t.rows+this.numItemsInViewport.rows,cols:t.cols+this.numItemsInViewport.cols};else{var c=i?l:s;t=e(c,this.itemSize),r=t+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:t,last:r}}},calculateNumItems:function(){var e=this.isBoth(),t=this.isHorizontal(),r=this.itemSize,o=this.getContentPosition(),i=this.element?this.element.offsetWidth-o.left:0,a=this.element?this.element.offsetHeight-o.top:0,s=function(f,h){return Math.ceil(f/(h||f))},l=function(f){return Math.ceil(f/2)},c=e?{rows:s(a,r[0]),cols:s(i,r[1])}:s(t?i:a,r),u=this.d_numToleratedItems||(e?[l(c.rows),l(c.cols)]:l(c));return{numItemsInViewport:c,numToleratedItems:u}},calculateOptions:function(){var e=this,t=this.isBoth(),r=this.first,o=this.calculateNumItems(),i=o.numItemsInViewport,a=o.numToleratedItems,s=function(u,d,f){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return e.getLast(u+d+(u0&&arguments[0]!==void 0?arguments[0]:0,o=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(o?((e=this.columns||this.items[0])===null||e===void 0?void 0:e.length)||0:((t=this.items)===null||t===void 0?void 0:t.length)||0,r):0},getContentPosition:function(){if(this.content){var e=getComputedStyle(this.content),t=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),r=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),o=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),i=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:t,right:r,top:o,bottom:i,x:t+r,y:o+i}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var e=this;if(this.element){var t=this.isBoth(),r=this.isHorizontal(),o=this.element.parentElement,i=this.scrollWidth||"".concat(this.element.offsetWidth||o.offsetWidth,"px"),a=this.scrollHeight||"".concat(this.element.offsetHeight||o.offsetHeight,"px"),s=function(c,u){return e.element.style[c]=u};t||r?(s("height",a),s("width",i)):s("height",a)}},setSpacerSize:function(){var e=this,t=this.items;if(t){var r=this.isBoth(),o=this.isHorizontal(),i=this.getContentPosition(),a=function(l,c,u){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return e.spacerStyle=Wi(Wi({},e.spacerStyle),G0({},"".concat(l),(c||[]).length*u+d+"px"))};r?(a("height",t,this.itemSize[0],i.y),a("width",this.columns||t[1],this.itemSize[1],i.x)):o?a("width",this.columns||t,this.itemSize,i.x):a("height",t,this.itemSize,i.y)}},setContentPosition:function(e){var t=this;if(this.content&&!this.appendOnly){var r=this.isBoth(),o=this.isHorizontal(),i=e?e.first:this.first,a=function(u,d){return u*d},s=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return t.contentStyle=Wi(Wi({},t.contentStyle),{transform:"translate3d(".concat(u,"px, ").concat(d,"px, 0)")})};if(r)s(a(i.cols,this.itemSize[1]),a(i.rows,this.itemSize[0]));else{var l=a(i,this.itemSize);o?s(l,0):s(0,l)}}},onScrollPositionChange:function(e){var t=this,r=e.target,o=this.isBoth(),i=this.isHorizontal(),a=this.getContentPosition(),s=function(M,O){return M?M>O?M-O:M:0},l=function(M,O){return Math.floor(M/(O||M))},c=function(M,O,W,Z,te,D){return M<=te?te:D?W-Z-te:O+te-1},u=function(M,O,W,Z,te,D,re){return M<=D?0:Math.max(0,re?MO?W:M-2*D)},d=function(M,O,W,Z,te,D){var re=O+Z+2*te;return M>=te&&(re+=te+1),t.getLast(re,D)},f=s(r.scrollTop,a.top),h=s(r.scrollLeft,a.left),p=o?{rows:0,cols:0}:0,g=this.last,b=!1,y=this.lastScrollPos;if(o){var m=this.lastScrollPos.top<=f,C=this.lastScrollPos.left<=h;if(!this.appendOnly||this.appendOnly&&(m||C)){var _={rows:l(f,this.itemSize[0]),cols:l(h,this.itemSize[1])},k={rows:c(_.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],m),cols:c(_.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],C)};p={rows:u(_.rows,k.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],m),cols:u(_.cols,k.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],C)},g={rows:d(_.rows,p.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:d(_.cols,p.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},b=p.rows!==this.first.rows||g.rows!==this.last.rows||p.cols!==this.first.cols||g.cols!==this.last.cols||this.isRangeChanged,y={top:f,left:h}}}else{var I=i?h:f,E=this.lastScrollPos<=I;if(!this.appendOnly||this.appendOnly&&E){var T=l(I,this.itemSize),P=c(T,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,E);p=u(T,P,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,E),g=d(T,p,this.last,this.numItemsInViewport,this.d_numToleratedItems),b=p!==this.first||g!==this.last||this.isRangeChanged,y=I}}return{first:p,last:g,isRangeChanged:b,scrollPos:y}},onScrollChange:function(e){var t=this.onScrollPositionChange(e),r=t.first,o=t.last,i=t.isRangeChanged,a=t.scrollPos;if(i){var s={first:r,last:o};if(this.setContentPosition(s),this.first=r,this.last=o,this.lastScrollPos=a,this.$emit("scroll-index-change",s),this.lazy&&this.isPageChanged(r)){var l,c,u={first:this.step?Math.min(this.getPageByFirst(r)*this.step,(((l=this.items)===null||l===void 0?void 0:l.length)||0)-this.step):r,last:Math.min(this.step?(this.getPageByFirst(r)+1)*this.step:o,((c=this.items)===null||c===void 0?void 0:c.length)||0)},d=this.lazyLoadState.first!==u.first||this.lazyLoadState.last!==u.last;d&&this.$emit("lazy-load",u),this.lazyLoadState=u}}},onScroll:function(e){var t=this;if(this.$emit("scroll",e),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var r=this.onScrollPositionChange(e),o=r.isRangeChanged,i=o||(this.step?this.isPageChanged():!1);i&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){t.onScrollChange(e),t.d_loading&&t.showLoader&&(!t.lazy||t.loading===void 0)&&(t.d_loading=!1,t.page=t.getPageByFirst())},this.delay)}}else this.onScrollChange(e)},onResize:function(){var e=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(El(e.element)){var t=e.isBoth(),r=e.isVertical(),o=e.isHorizontal(),i=[$n(e.element),Cr(e.element)],a=i[0],s=i[1],l=a!==e.defaultWidth,c=s!==e.defaultHeight,u=t?l||c:o?l:r?c:!1;u&&(e.d_numToleratedItems=e.numToleratedItems,e.defaultWidth=a,e.defaultHeight=s,e.defaultContentWidth=$n(e.content),e.defaultContentHeight=Cr(e.content),e.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(e){var t=(this.items||[]).length,r=this.isBoth()?this.first.rows+e:this.first+e;return{index:r,count:t,first:r===0,last:r===t-1,even:r%2===0,odd:r%2!==0}},getLoaderOptions:function(e,t){var r=this.loaderArr.length;return Wi({index:e,count:r,first:e===0,last:e===r-1,even:e%2===0,odd:e%2!==0},t)},getPageByFirst:function(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(e){return this.step?this.page!==this.getPageByFirst(e??this.first):!0},setContentEl:function(e){this.content=e||this.content||ht(this.element,'[data-pc-section="content"]')},elementRef:function(e){this.element=e},contentRef:function(e){this.content=e}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var e=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(t){return e.columns?t:t.slice(e.appendOnly?0:e.first.cols,e.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var e=this.isBoth(),t=this.isHorizontal();if(e||t)return this.d_loading&&this.loaderDisabled?e?this.loaderArr[0]:this.loaderArr:this.columns.slice(e?this.first.cols:this.first,e?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:ks}},Nw=["tabindex"];function jw(n,e,t,r,o,i){var a=Y("SpinnerIcon");return n.disabled?(v(),R(de,{key:1},[U(n.$slots,"default"),U(n.$slots,"content",{items:n.items,rows:n.items,columns:i.loadedColumns})],64)):(v(),R("div",w({key:0,ref:i.elementRef,class:i.containerClass,tabindex:n.tabindex,style:n.style,onScroll:e[0]||(e[0]=function(){return i.onScroll&&i.onScroll.apply(i,arguments)})},n.ptmi("root")),[U(n.$slots,"content",{styleClass:i.contentClass,items:i.loadedItems,getItemOptions:i.getOptions,loading:o.d_loading,getLoaderOptions:i.getLoaderOptions,itemSize:n.itemSize,rows:i.loadedRows,columns:i.loadedColumns,contentRef:i.contentRef,spacerStyle:o.spacerStyle,contentStyle:o.contentStyle,vertical:i.isVertical(),horizontal:i.isHorizontal(),both:i.isBoth()},function(){return[N("div",w({ref:i.contentRef,class:i.contentClass,style:o.contentStyle},n.ptm("content")),[(v(!0),R(de,null,st(i.loadedItems,function(s,l){return U(n.$slots,"item",{key:l,item:s,options:i.getOptions(l)})}),128))],16)]}),n.showSpacer?(v(),R("div",w({key:0,class:"p-virtualscroller-spacer",style:o.spacerStyle},n.ptm("spacer")),null,16)):H("",!0),!n.loaderDisabled&&n.showLoader&&o.d_loading?(v(),R("div",w({key:1,class:i.loaderClass},n.ptm("loader")),[n.$slots&&n.$slots.loader?(v(!0),R(de,{key:0},st(o.loaderArr,function(s,l){return U(n.$slots,"loader",{key:l,options:i.getLoaderOptions(l,i.isBoth()&&{numCols:n.d_numItemsInViewport.cols})})}),128)):H("",!0),U(n.$slots,"loadingicon",{},function(){return[ue(a,w({spin:"",class:"p-virtualscroller-loading-icon"},n.ptm("loadingIcon")),null,16)]})],16)):H("",!0)],16,Nw))}Hd.render=jw;var Vw=function(e){var t=e.dt;return` -.p-select { - display: inline-flex; - cursor: pointer; - position: relative; - user-select: none; - background: `.concat(t("select.background"),`; - border: 1px solid `).concat(t("select.border.color"),`; - transition: background `).concat(t("select.transition.duration"),", color ").concat(t("select.transition.duration"),", border-color ").concat(t("select.transition.duration"),`, - outline-color `).concat(t("select.transition.duration"),", box-shadow ").concat(t("select.transition.duration"),`; - border-radius: `).concat(t("select.border.radius"),`; - outline-color: transparent; - box-shadow: `).concat(t("select.shadow"),`; -} - -.p-select:not(.p-disabled):hover { - border-color: `).concat(t("select.hover.border.color"),`; -} - -.p-select:not(.p-disabled).p-focus { - border-color: `).concat(t("select.focus.border.color"),`; - box-shadow: `).concat(t("select.focus.ring.shadow"),`; - outline: `).concat(t("select.focus.ring.width")," ").concat(t("select.focus.ring.style")," ").concat(t("select.focus.ring.color"),`; - outline-offset: `).concat(t("select.focus.ring.offset"),`; -} - -.p-select.p-variant-filled { - background: `).concat(t("select.filled.background"),`; -} - -.p-select.p-variant-filled.p-focus { - background: `).concat(t("select.filled.focus.background"),`; -} - -.p-select.p-invalid { - border-color: `).concat(t("select.invalid.border.color"),`; -} - -.p-select.p-disabled { - opacity: 1; - background: `).concat(t("select.disabled.background"),`; -} - -.p-select-clear-icon { - position: absolute; - top: 50%; - margin-top: -0.5rem; - color: `).concat(t("select.clear.icon.color"),`; - right: `).concat(t("select.dropdown.width"),`; -} - -.p-select-dropdown { - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - background: transparent; - color: `).concat(t("select.dropdown.color"),`; - width: `).concat(t("select.dropdown.width"),`; - border-top-right-radius: `).concat(t("select.border.radius"),`; - border-bottom-right-radius: `).concat(t("select.border.radius"),`; -} - -.p-select-label { - display: block; - white-space: nowrap; - overflow: hidden; - flex: 1 1 auto; - width: 1%; - padding: `).concat(t("select.padding.y")," ").concat(t("select.padding.x"),`; - text-overflow: ellipsis; - cursor: pointer; - color: `).concat(t("select.color"),`; - background: transparent; - border: 0 none; - outline: 0 none; -} - -.p-select-label.p-placeholder { - color: `).concat(t("select.placeholder.color"),`; -} - -.p-select:has(.p-select-clear-icon) .p-select-label { - padding-right: calc(1rem + `).concat(t("select.padding.x"),`); -} - -.p-select.p-disabled .p-select-label { - color: `).concat(t("select.disabled.color"),`; -} - -.p-select-label-empty { - overflow: hidden; - opacity: 0; -} - -input.p-select-label { - cursor: default; -} - -.p-select .p-select-overlay { - min-width: 100%; -} - -.p-select-overlay { - position: absolute; - top: 0; - left: 0; - background: `).concat(t("select.overlay.background"),`; - color: `).concat(t("select.overlay.color"),`; - border: 1px solid `).concat(t("select.overlay.border.color"),`; - border-radius: `).concat(t("select.overlay.border.radius"),`; - box-shadow: `).concat(t("select.overlay.shadow"),`; -} - -.p-select-header { - padding: `).concat(t("select.list.header.padding"),`; -} - -.p-select-filter { - width: 100%; -} - -.p-select-list-container { - overflow: auto; -} - -.p-select-option-group { - cursor: auto; - margin: 0; - padding: `).concat(t("select.option.group.padding"),`; - background: `).concat(t("select.option.group.background"),`; - color: `).concat(t("select.option.group.color"),`; - font-weight: `).concat(t("select.option.group.font.weight"),`; -} - -.p-select-list { - margin: 0; - padding: 0; - list-style-type: none; - padding: `).concat(t("select.list.padding"),`; - gap: `).concat(t("select.list.gap"),`; - display: flex; - flex-direction: column; -} - -.p-select-option { - cursor: pointer; - font-weight: normal; - white-space: nowrap; - position: relative; - overflow: hidden; - display: flex; - align-items: center; - padding: `).concat(t("select.option.padding"),`; - border: 0 none; - color: `).concat(t("select.option.color"),`; - background: transparent; - transition: background `).concat(t("select.transition.duration"),", color ").concat(t("select.transition.duration"),", border-color ").concat(t("select.transition.duration"),`, - box-shadow `).concat(t("select.transition.duration"),", outline-color ").concat(t("select.transition.duration"),`; - border-radius: `).concat(t("select.option.border.radius"),`; -} - -.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { - background: `).concat(t("select.option.focus.background"),`; - color: `).concat(t("select.option.focus.color"),`; -} - -.p-select-option.p-select-option-selected { - background: `).concat(t("select.option.selected.background"),`; - color: `).concat(t("select.option.selected.color"),`; -} - -.p-select-option.p-select-option-selected.p-focus { - background: `).concat(t("select.option.selected.focus.background"),`; - color: `).concat(t("select.option.selected.focus.color"),`; -} - -.p-select-option-check-icon { - position: relative; - margin-inline-start: `).concat(t("select.checkmark.gutter.start"),`; - margin-inline-end: `).concat(t("select.checkmark.gutter.end"),`; - color: `).concat(t("select.checkmark.color"),`; -} - -.p-select-empty-message { - padding: `).concat(t("select.empty.message.padding"),`; -} - -.p-select-fluid { - display: flex; -} -`)},Gw={root:function(e){var t=e.instance,r=e.props,o=e.state;return["p-select p-component p-inputwrapper",{"p-disabled":r.disabled,"p-invalid":r.invalid,"p-variant-filled":r.variant?r.variant==="filled":t.$primevue.config.inputStyle==="filled"||t.$primevue.config.inputVariant==="filled","p-focus":o.focused,"p-inputwrapper-filled":t.hasSelectedOption,"p-inputwrapper-focus":o.focused||o.overlayVisible,"p-select-open":o.overlayVisible,"p-select-fluid":r.fluid}]},label:function(e){var t=e.instance,r=e.props;return["p-select-label",{"p-placeholder":!r.editable&&t.label===r.placeholder,"p-select-label-empty":!r.editable&&!t.$slots.value&&(t.label==="p-emptylabel"||t.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(e){var t=e.instance,r=e.props,o=e.state,i=e.option,a=e.focusedOption;return["p-select-option",{"p-select-option-selected":t.isSelected(i)&&r.highlightOnSelect,"p-focus":o.focusedOptionIndex===a,"p-disabled":t.isOptionDisabled(i)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},Kw=Re.extend({name:"select",theme:Vw,classes:Gw}),Hw={name:"BaseSelect",extends:xe,props:{modelValue:null,options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dataKey:null,showClear:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Kw,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function Ga(n){"@babel/helpers - typeof";return Ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ga(n)}function Ww(n){return Zw(n)||Yw(n)||Xw(n)||Uw()}function Uw(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xw(n,e){if(n){if(typeof n=="string")return Mu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Mu(n,e):void 0}}function Yw(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Zw(n){if(Array.isArray(n))return Mu(n)}function Mu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t2&&arguments[2]!==void 0?arguments[2]:!0,o=this.getOptionValue(t);this.updateModel(e,o),r&&this.hide(!0)},onOptionMouseMove:function(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)},onFilterChange:function(e){var t=e.target.value;this.filterValue=t,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:e,value:t}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(e){Zr.emit("overlay-click",{originalEvent:e,target:this.$el})},onOverlayKeyDown:function(e){switch(e.code){case"Escape":this.onEscapeKey(e);break}},onArrowDownKey:function(e){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(e,this.findSelectedOptionIndex());else{var t=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,t)}e.preventDefault()},onArrowUpKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e.altKey&&!t)this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),e.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,r),!this.overlayVisible&&this.show(),e.preventDefault()}},onArrowLeftKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t&&(this.focusedOptionIndex=-1)},onHomeKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t){var r=e.currentTarget;e.shiftKey?r.setSelectionRange(0,e.target.selectionStart):(r.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()},onEndKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t){var r=e.currentTarget;if(e.shiftKey)r.setSelectionRange(e.target.selectionStart,r.value.length);else{var o=r.value.length;r.setSelectionRange(o,o),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()},onPageUpKey:function(e){this.scrollInView(0),e.preventDefault()},onPageDownKey:function(e){this.scrollInView(this.visibleOptions.length-1),e.preventDefault()},onEnterKey:function(e){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(e)),e.preventDefault()},onSpaceKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!t&&this.onEnterKey(e)},onEscapeKey:function(e){this.overlayVisible&&this.hide(!0),e.preventDefault(),e.stopPropagation()},onTabKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t||(this.overlayVisible&&this.hasFocusableElements()?(St(this.$refs.firstHiddenFocusableElementOnOverlay),e.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t&&!this.overlayVisible&&this.show()},onOverlayEnter:function(e){Ot.set("overlay",e,this.$primevue.config.zIndex.overlay),Ra(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&St(this.$refs.filterInput.$el)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(e){Ot.clear(e)},alignOverlay:function(){this.appendTo==="self"?R5(this.overlay,this.$el):(this.overlay.style.minWidth=yt(this.$el)+"px",_0(this.overlay,this.$el))},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.overlay&&!e.$el.contains(t.target)&&!e.overlay.contains(t.target)&&e.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new Gd(this.$refs.container,function(){e.overlayVisible&&e.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!Vd()&&e.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var e=this;if(!this.editable&&!this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.inputId,'"]'));t&&El(t)&&(this.labelClickListener=function(){St(e.$refs.focusInput)},t.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var e=document.querySelector('label[for="'.concat(this.inputId,'"]'));e&&El(e)&&e.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return $d(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(e){var t;return this.isValidOption(e)&&typeof this.getOptionLabel(e)=="string"&&((t=this.getOptionLabel(e))===null||t===void 0?void 0:t.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(e){return Ve(e)&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))},isValidSelectedOption:function(e){return this.isValidOption(e)&&this.isSelected(e)},isSelected:function(e){return this.isValidOption(e)&&go(this.modelValue,this.getOptionValue(e),this.equalityKey)},findFirstOptionIndex:function(){var e=this;return this.visibleOptions.findIndex(function(t){return e.isValidOption(t)})},findLastOptionIndex:function(){var e=this;return Ph(this.visibleOptions,function(t){return e.isValidOption(t)})},findNextOptionIndex:function(e){var t=this,r=e-1?r+e+1:e},findPrevOptionIndex:function(e){var t=this,r=e>0?Ph(this.visibleOptions.slice(0,e),function(o){return t.isValidOption(o)}):-1;return r>-1?r:e},findSelectedOptionIndex:function(){var e=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(t){return e.isValidSelectedOption(t)}):-1},findFirstFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e},findLastFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e},searchOptions:function(e,t){var r=this;this.searchValue=(this.searchValue||"")+t;var o=-1,i=!1;return Ve(this.searchValue)&&(this.focusedOptionIndex!==-1?(o=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(a){return r.isOptionMatched(a)}),o=o===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(a){return r.isOptionMatched(a)}):o+this.focusedOptionIndex):o=this.visibleOptions.findIndex(function(a){return r.isOptionMatched(a)}),o!==-1&&(i=!0),o===-1&&this.focusedOptionIndex===-1&&(o=this.findFirstFocusedOptionIndex()),o!==-1&&this.changeFocusedOptionIndex(e,o)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),i},changeFocusedOptionIndex:function(e,t){this.focusedOptionIndex!==t&&(this.focusedOptionIndex=t,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(e,this.visibleOptions[t],!1))},scrollInView:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=t!==-1?"".concat(e.id,"_").concat(t):e.focusedOptionId,o=ht(e.list,'li[id="'.concat(r,'"]'));o?o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"start"}):e.virtualScrollerDisabled||e.virtualScroller&&e.virtualScroller.scrollToIndex(t!==-1?t:e.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(e,t){this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},flatOptions:function(e){var t=this;return(e||[]).reduce(function(r,o,i){r.push({optionGroup:o,group:!0,index:i});var a=t.getOptionGroupChildren(o);return a&&a.forEach(function(s){return r.push(s)}),r},[])},overlayRef:function(e){this.overlay=e},listRef:function(e,t){this.list=e,t&&t(e)},virtualScrollerRef:function(e){this.virtualScroller=e}},computed:{visibleOptions:function(){var e=this,t=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Su.filter(t,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var o=this.options||[],i=[];return o.forEach(function(a){var s=e.getOptionGroupChildren(a),l=s.filter(function(c){return r.includes(c)});l.length>0&&i.push(cp(cp({},a),{},K0({},typeof e.optionGroupChildren=="string"?e.optionGroupChildren:"items",Ww(l))))}),this.flatOptions(i)}return r}return t},hasSelectedOption:function(){return Ve(this.modelValue)},label:function(){var e=this.findSelectedOptionIndex();return e!==-1?this.getOptionLabel(this.visibleOptions[e]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var e=this.findSelectedOptionIndex();return e!==-1?this.getOptionLabel(this.visibleOptions[e]):this.modelValue||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return Ve(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var e=this;return this.visibleOptions.filter(function(t){return!e.isOptionGroup(t)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:nn},components:{InputText:rc,VirtualScroller:Hd,Portal:Di,InputIcon:V0,IconField:j0,TimesIcon:Fi,ChevronDownIcon:Rs,SpinnerIcon:ks,SearchIcon:N0,CheckIcon:ao,BlankIcon:z0}},Qw=["id"],e9=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],t9=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],n9=["id"],r9=["id"],o9=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function i9(n,e,t,r,o,i){var a=Y("SpinnerIcon"),s=Y("InputText"),l=Y("SearchIcon"),c=Y("InputIcon"),u=Y("IconField"),d=Y("CheckIcon"),f=Y("BlankIcon"),h=Y("VirtualScroller"),p=Y("Portal"),g=Wt("ripple");return v(),R("div",w({ref:"container",id:o.id,class:n.cx("root"),onClick:e[11]||(e[11]=function(){return i.onContainerClick&&i.onContainerClick.apply(i,arguments)})},n.ptmi("root")),[n.editable?(v(),R("input",w({key:0,ref:"focusInput",id:n.labelId||n.inputId,type:"text",class:[n.cx("label"),n.inputClass,n.labelClass],style:[n.inputStyle,n.labelStyle],value:i.editableInputValue,placeholder:n.placeholder,tabindex:n.disabled?-1:n.tabindex,disabled:n.disabled,autocomplete:"off",role:"combobox","aria-label":n.ariaLabel,"aria-labelledby":n.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":o.overlayVisible,"aria-controls":o.id+"_list","aria-activedescendant":o.focused?i.focusedOptionId:void 0,"aria-invalid":n.invalid||void 0,onFocus:e[0]||(e[0]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:e[1]||(e[1]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:e[2]||(e[2]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)}),onInput:e[3]||(e[3]=function(){return i.onEditableInput&&i.onEditableInput.apply(i,arguments)})},n.ptm("label")),null,16,e9)):(v(),R("span",w({key:1,ref:"focusInput",id:n.labelId||n.inputId,class:[n.cx("label"),n.inputClass,n.labelClass],style:[n.inputStyle,n.labelStyle],tabindex:n.disabled?-1:n.tabindex,role:"combobox","aria-label":n.ariaLabel||(i.label==="p-emptylabel"?void 0:i.label),"aria-labelledby":n.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":o.overlayVisible,"aria-controls":o.id+"_list","aria-activedescendant":o.focused?i.focusedOptionId:void 0,"aria-disabled":n.disabled,onFocus:e[4]||(e[4]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:e[5]||(e[5]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:e[6]||(e[6]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)})},n.ptm("label")),[U(n.$slots,"value",{value:n.modelValue,placeholder:n.placeholder},function(){return[fn(Ge(i.label==="p-emptylabel"?" ":i.label||"empty"),1)]})],16,t9)),n.showClear&&n.modelValue!=null?U(n.$slots,"clearicon",{key:2,class:ke(n.cx("clearIcon")),clearCallback:i.onClearClick},function(){return[(v(),A(ge(n.clearIcon?"i":"TimesIcon"),w({ref:"clearIcon",class:[n.cx("clearIcon"),n.clearIcon],onClick:i.onClearClick},n.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):H("",!0),N("div",w({class:n.cx("dropdown")},n.ptm("dropdown")),[n.loading?U(n.$slots,"loadingicon",{key:0,class:ke(n.cx("loadingIcon"))},function(){return[n.loadingIcon?(v(),R("span",w({key:0,class:[n.cx("loadingIcon"),"pi-spin",n.loadingIcon],"aria-hidden":"true"},n.ptm("loadingIcon")),null,16)):(v(),A(a,w({key:1,class:n.cx("loadingIcon"),spin:"","aria-hidden":"true"},n.ptm("loadingIcon")),null,16,["class"]))]}):U(n.$slots,"dropdownicon",{key:1,class:ke(n.cx("dropdownIcon"))},function(){return[(v(),A(ge(n.dropdownIcon?"span":"ChevronDownIcon"),w({class:[n.cx("dropdownIcon"),n.dropdownIcon],"aria-hidden":"true"},n.ptm("dropdownIcon")),null,16,["class"]))]})],16),ue(p,{appendTo:n.appendTo},{default:ne(function(){return[ue(Mi,w({name:"p-connected-overlay",onEnter:i.onOverlayEnter,onAfterEnter:i.onOverlayAfterEnter,onLeave:i.onOverlayLeave,onAfterLeave:i.onOverlayAfterLeave},n.ptm("transition")),{default:ne(function(){return[o.overlayVisible?(v(),R("div",w({key:0,ref:i.overlayRef,class:[n.cx("overlay"),n.panelClass,n.overlayClass],style:[n.panelStyle,n.overlayStyle],onClick:e[9]||(e[9]=function(){return i.onOverlayClick&&i.onOverlayClick.apply(i,arguments)}),onKeydown:e[10]||(e[10]=function(){return i.onOverlayKeyDown&&i.onOverlayKeyDown.apply(i,arguments)})},n.ptm("overlay")),[N("span",w({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:e[7]||(e[7]=function(){return i.onFirstHiddenFocus&&i.onFirstHiddenFocus.apply(i,arguments)})},n.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),U(n.$slots,"header",{value:n.modelValue,options:i.visibleOptions}),n.filter?(v(),R("div",w({key:0,class:n.cx("header")},n.ptm("header")),[ue(u,w({unstyled:n.unstyled},n.ptm("pcFilterContainer")),{default:ne(function(){return[ue(s,{ref:"filterInput",type:"text",value:o.filterValue,onVnodeMounted:i.onFilterUpdated,onVnodeUpdated:i.onFilterUpdated,class:ke(n.cx("pcFilter")),placeholder:n.filterPlaceholder,variant:n.variant,unstyled:n.unstyled,role:"searchbox",autocomplete:"off","aria-owns":o.id+"_list","aria-activedescendant":i.focusedOptionId,onKeydown:i.onFilterKeyDown,onBlur:i.onFilterBlur,onInput:i.onFilterChange,pt:n.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),ue(c,w({unstyled:n.unstyled},n.ptm("pcFilterIconContainer")),{default:ne(function(){return[U(n.$slots,"filtericon",{},function(){return[n.filterIcon?(v(),R("span",w({key:0,class:n.filterIcon},n.ptm("filterIcon")),null,16)):(v(),A(l,Ss(w({key:1},n.ptm("filterIcon"))),null,16))]})]}),_:3},16,["unstyled"])]}),_:3},16,["unstyled"]),N("span",w({role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),Ge(i.filterResultMessageText),17)],16)):H("",!0),N("div",w({class:n.cx("listContainer"),style:{"max-height":i.virtualScrollerDisabled?n.scrollHeight:""}},n.ptm("listContainer")),[ue(h,w({ref:i.virtualScrollerRef},n.virtualScrollerOptions,{items:i.visibleOptions,style:{height:n.scrollHeight},tabindex:-1,disabled:i.virtualScrollerDisabled,pt:n.ptm("virtualScroller")}),oo({content:ne(function(b){var y=b.styleClass,m=b.contentRef,C=b.items,_=b.getItemOptions,k=b.contentStyle,I=b.itemSize;return[N("ul",w({ref:function(T){return i.listRef(T,m)},id:o.id+"_list",class:[n.cx("list"),y],style:k,role:"listbox"},n.ptm("list")),[(v(!0),R(de,null,st(C,function(E,T){return v(),R(de,{key:i.getOptionRenderKey(E,i.getOptionIndex(T,_))},[i.isOptionGroup(E)?(v(),R("li",w({key:0,id:o.id+"_"+i.getOptionIndex(T,_),style:{height:I?I+"px":void 0},class:n.cx("optionGroup"),role:"option",ref_for:!0},n.ptm("optionGroup")),[U(n.$slots,"optiongroup",{option:E.optionGroup,index:i.getOptionIndex(T,_)},function(){return[N("span",w({class:n.cx("optionGroupLabel"),ref_for:!0},n.ptm("optionGroupLabel")),Ge(i.getOptionGroupLabel(E.optionGroup)),17)]})],16,r9)):Vt((v(),R("li",w({key:1,id:o.id+"_"+i.getOptionIndex(T,_),class:n.cx("option",{option:E,focusedOption:i.getOptionIndex(T,_)}),style:{height:I?I+"px":void 0},role:"option","aria-label":i.getOptionLabel(E),"aria-selected":i.isSelected(E),"aria-disabled":i.isOptionDisabled(E),"aria-setsize":i.ariaSetSize,"aria-posinset":i.getAriaPosInset(i.getOptionIndex(T,_)),onClick:function(F){return i.onOptionSelect(F,E)},onMousemove:function(F){return i.onOptionMouseMove(F,i.getOptionIndex(T,_))},"data-p-selected":i.isSelected(E),"data-p-focused":o.focusedOptionIndex===i.getOptionIndex(T,_),"data-p-disabled":i.isOptionDisabled(E),ref_for:!0},i.getPTItemOptions(E,_,T,"option")),[n.checkmark?(v(),R(de,{key:0},[i.isSelected(E)?(v(),A(d,w({key:0,class:n.cx("optionCheckIcon"),ref_for:!0},n.ptm("optionCheckIcon")),null,16,["class"])):(v(),A(f,w({key:1,class:n.cx("optionBlankIcon"),ref_for:!0},n.ptm("optionBlankIcon")),null,16,["class"]))],64)):H("",!0),U(n.$slots,"option",{option:E,selected:i.isSelected(E),index:i.getOptionIndex(T,_)},function(){return[N("span",w({class:n.cx("optionLabel"),ref_for:!0},n.ptm("optionLabel")),Ge(i.getOptionLabel(E)),17)]})],16,o9)),[[g]])],64)}),128)),o.filterValue&&(!C||C&&C.length===0)?(v(),R("li",w({key:0,class:n.cx("emptyMessage"),role:"option"},n.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[U(n.$slots,"emptyfilter",{},function(){return[fn(Ge(i.emptyFilterMessageText),1)]})],16)):!n.options||n.options&&n.options.length===0?(v(),R("li",w({key:1,class:n.cx("emptyMessage"),role:"option"},n.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[U(n.$slots,"empty",{},function(){return[fn(Ge(i.emptyMessageText),1)]})],16)):H("",!0)],16,n9)]}),_:2},[n.$slots.loader?{name:"loader",fn:ne(function(b){var y=b.options;return[U(n.$slots,"loader",{options:y})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),U(n.$slots,"footer",{value:n.modelValue,options:i.visibleOptions}),!n.options||n.options&&n.options.length===0?(v(),R("span",w({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),Ge(i.emptyMessageText),17)):H("",!0),N("span",w({role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),Ge(i.selectedMessageText),17),N("span",w({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:e[8]||(e[8]=function(){return i.onLastHiddenFocus&&i.onLastHiddenFocus.apply(i,arguments)})},n.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):H("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,Qw)}oc.render=i9;var H0={name:"AngleDownIcon",extends:Ze},a9=N("path",{d:"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",fill:"currentColor"},null,-1),s9=[a9];function l9(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),s9,16)}H0.render=l9;var W0={name:"AngleUpIcon",extends:Ze},c9=N("path",{d:"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",fill:"currentColor"},null,-1),u9=[c9];function d9(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),u9,16)}W0.render=d9;var f9=function(e){var t=e.dt;return` -.p-inputnumber { - display: inline-flex; - position: relative; -} - -.p-inputnumber-button { - display: flex; - align-items: center; - justify-content: center; - flex: 0 0 auto; - cursor: pointer; - background: `.concat(t("inputnumber.button.background"),`; - color: `).concat(t("inputnumber.button.color"),`; - width: `).concat(t("inputnumber.button.width"),`; - transition: background `).concat(t("inputnumber.transition.duration"),", color ").concat(t("inputnumber.transition.duration"),", border-color ").concat(t("inputnumber.transition.duration"),", outline-color ").concat(t("inputnumber.transition.duration"),`; -} - -.p-inputnumber-button:hover { - background: `).concat(t("inputnumber.button.hover.background"),`; - color: `).concat(t("inputnumber.button.hover.color"),`; -} - -.p-inputnumber-button:active { - background: `).concat(t("inputnumber.button.active.background"),`; - color: `).concat(t("inputnumber.button.active.color"),`; -} - -.p-inputnumber-stacked .p-inputnumber-button { - position: relative; - border: 0 none; -} - -.p-inputnumber-stacked .p-inputnumber-button-group { - display: flex; - flex-direction: column; - position: absolute; - top: 1px; - right: 1px; - height: calc(100% - 2px); -} - -.p-inputnumber-stacked .p-inputnumber-increment-button { - padding: 0; - border-top-right-radius: calc(`).concat(t("inputnumber.button.border.radius"),` - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-decrement-button { - padding: 0; - border-bottom-right-radius: calc(`).concat(t("inputnumber.button.border.radius"),` - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-button { - flex: 1 1 auto; - border: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-button { - border: 1px solid `).concat(t("inputnumber.button.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-button:hover { - border-color: `).concat(t("inputnumber.button.hover.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-button:active { - border-color: `).concat(t("inputnumber.button.active.border.color"),`; -} - -.p-inputnumber-horizontal .p-inputnumber-increment-button { - order: 3; - border-top-right-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-bottom-right-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-left: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-input { - order: 2; - border-radius: 0; -} - -.p-inputnumber-horizontal .p-inputnumber-decrement-button { - order: 1; - border-top-left-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-bottom-left-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-right: 0 none; -} - -.p-inputnumber-vertical { - flex-direction: column; -} - -.p-inputnumber-vertical .p-inputnumber-button { - border: 1px solid `).concat(t("inputnumber.button.border.color"),`; - padding: `).concat(t("inputnumber.button.vertical.padding"),`; 0; -} - -.p-inputnumber-vertical .p-inputnumber-button:hover { - border-color: `).concat(t("inputnumber.button.hover.border.color"),`; -} - -.p-inputnumber-vertical .p-inputnumber-button:active { - border-color: `).concat(t("inputnumber.button.active.border.color"),`; -} - -.p-inputnumber-vertical .p-inputnumber-increment-button { - order: 1; - border-top-left-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-top-right-radius: `).concat(t("inputnumber.button.border.radius"),`; - width: 100%; - border-bottom: 0 none; -} - -.p-inputnumber-vertical .p-inputnumber-input { - order: 2; - border-radius: 0; - text-align: center; -} - -.p-inputnumber-vertical .p-inputnumber-decrement-button { - order: 3; - border-bottom-left-radius: `).concat(t("inputnumber.button.border.radius"),`; - border-bottom-right-radius: `).concat(t("inputnumber.button.border.radius"),`; - width: 100%; - border-top: 0 none; -} - -.p-inputnumber-input { - flex: 1 1 auto; -} - -.p-inputnumber-fluid { - width: 100%; -} - -.p-inputnumber-fluid .p-inputnumber-input { - width: 1%; -} - -.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { - width: 100%; -} -`)},h9={root:function(e){var t=e.instance,r=e.props;return["p-inputnumber p-component p-inputwrapper",{"p-inputwrapper-filled":t.filled||r.allowEmpty===!1,"p-inputwrapper-focus":t.focused,"p-inputnumber-stacked":r.showButtons&&r.buttonLayout==="stacked","p-inputnumber-horizontal":r.showButtons&&r.buttonLayout==="horizontal","p-inputnumber-vertical":r.showButtons&&r.buttonLayout==="vertical","p-inputnumber-fluid":t.fluid}]},pcInput:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:function(e){var t=e.instance,r=e.props;return["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":r.showButtons&&r.max!==null&&t.maxBoundry()}]},decrementButton:function(e){var t=e.instance,r=e.props;return["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":r.showButtons&&r.min!==null&&t.minBoundry()}]}},p9=Re.extend({name:"inputnumber",theme:f9,classes:h9}),g9={name:"BaseInputNumber",extends:xe,props:{modelValue:{type:Number,default:null},format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:"stacked"},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:"decimal"},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:"halfExpand",validator:function(e){return["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"].includes(e)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},fluid:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:p9,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function Ka(n){"@babel/helpers - typeof";return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ka(n)}function up(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function dp(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,r=Array(e);t0&&t>l){var d=this.isDecimalMode()&&(this.minFractionDigits||0)0?i:""):i=o.slice(0,t-1)+o.slice(t)}this.updateValue(e,i,null,"delete-single")}else i=this.deleteRange(o,t,r),this.updateValue(e,i,null,"delete-range");break}case"Delete":if(e.preventDefault(),t===r){var f=o.charAt(t),h=this.getDecimalCharIndexes(o),p=h.decimalCharIndex,g=h.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(f)){var b=this.getDecimalLength(o);if(this._group.test(f))this._group.lastIndex=0,i=o.slice(0,t)+o.slice(t+2);else if(this._decimal.test(f))this._decimal.lastIndex=0,b?this.$refs.input.$el.setSelectionRange(t+1,t+1):i=o.slice(0,t)+o.slice(t+1);else if(p>0&&t>p){var y=this.isDecimalMode()&&(this.minFractionDigits||0)0?i:""):i=o.slice(0,t)+o.slice(t+1)}this.updateValue(e,i,null,"delete-back-single")}else i=this.deleteRange(o,t,r),this.updateValue(e,i,null,"delete-range");break;case"Home":e.preventDefault(),Ve(this.min)&&this.updateModel(e,this.min);break;case"End":e.preventDefault(),Ve(this.max)&&this.updateModel(e,this.max);break}}},onInputKeyPress:function(e){if(!this.readonly){var t=e.key,r=this.isDecimalSign(t),o=this.isMinusSign(t);e.code!=="Enter"&&e.preventDefault(),(Number(t)>=0&&Number(t)<=9||o||r)&&this.insert(e,t,{isDecimalSign:r,isMinusSign:o})}},onPaste:function(e){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("Text");if(t){var r=this.parseValue(t);r!=null&&this.insert(e,r.toString())}},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(e){return this._minusSign.test(e)||e==="-"?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(e){return this._decimal.test(e)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode==="decimal"},getDecimalCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var r=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,""),o=r.search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:t,decimalCharIndexWithoutPrefix:o}},getCharIndexes:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var r=e.search(this._minusSign);this._minusSign.lastIndex=0;var o=e.search(this._suffix);this._suffix.lastIndex=0;var i=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:t,minusCharIndex:r,suffixCharIndex:o,currencyCharIndex:i}},insert:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},o=t.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&o!==-1)){var i=this.$refs.input.$el.selectionStart,a=this.$refs.input.$el.selectionEnd,s=this.$refs.input.$el.value.trim(),l=this.getCharIndexes(s),c=l.decimalCharIndex,u=l.minusCharIndex,d=l.suffixCharIndex,f=l.currencyCharIndex,h;if(r.isMinusSign)i===0&&(h=s,(u===-1||a!==0)&&(h=this.insertText(s,t,0,a)),this.updateValue(e,h,t,"insert"));else if(r.isDecimalSign)c>0&&i===c?this.updateValue(e,s,t,"insert"):c>i&&c0&&i>c){if(i+t.length-(c+1)<=p){var b=f>=i?f-1:d>=i?d:s.length;h=s.slice(0,i)+t+s.slice(i+t.length,b)+s.slice(b),this.updateValue(e,h,t,g)}}else h=this.insertText(s,t,i,a),this.updateValue(e,h,t,g)}}},insertText:function(e,t,r,o){var i=t==="."?t:t.split(".");if(i.length===2){var a=e.slice(r,o).search(this._decimal);return this._decimal.lastIndex=0,a>0?e.slice(0,r)+this.formatValue(t)+e.slice(o):this.formatValue(t)||e}else return o-r===e.length?this.formatValue(t):r===0?t+e.slice(o):o===e.length?e.slice(0,r)+t:e.slice(0,r)+t+e.slice(o)},deleteRange:function(e,t,r){var o;return r-t===e.length?o="":t===0?o=e.slice(r):r===e.length?o=e.slice(0,t):o=e.slice(0,t)+e.slice(r),o},initCursor:function(){var e=this.$refs.input.$el.selectionStart,t=this.$refs.input.$el.value,r=t.length,o=null,i=(this.prefixChar||"").length;t=t.replace(this._prefix,""),e=e-i;var a=t.charAt(e);if(this.isNumeralChar(a))return e+i;for(var s=e-1;s>=0;)if(a=t.charAt(s),this.isNumeralChar(a)){o=s+i;break}else s--;if(o!==null)this.$refs.input.$el.setSelectionRange(o+1,o+1);else{for(s=e;sthis.max?this.max:e},updateInput:function(e,t,r,o){t=t||"";var i=this.$refs.input.$el.value,a=this.formatValue(e),s=i.length;if(a!==o&&(a=this.concatValues(a,o)),s===0){this.$refs.input.$el.value=a,this.$refs.input.$el.setSelectionRange(0,0);var l=this.initCursor(),c=l+t.length;this.$refs.input.$el.setSelectionRange(c,c)}else{var u=this.$refs.input.$el.selectionStart,d=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=a;var f=a.length;if(r==="range-insert"){var h=this.parseValue((i||"").slice(0,u)),p=h!==null?h.toString():"",g=p.split("").join("(".concat(this.groupChar,")?")),b=new RegExp(g,"g");b.test(a);var y=t.split("").join("(".concat(this.groupChar,")?")),m=new RegExp(y,"g");m.test(a.slice(b.lastIndex)),d=b.lastIndex+m.lastIndex,this.$refs.input.$el.setSelectionRange(d,d)}else if(f===s)r==="insert"||r==="delete-back-single"?this.$refs.input.$el.setSelectionRange(d+1,d+1):r==="delete-single"?this.$refs.input.$el.setSelectionRange(d-1,d-1):(r==="delete-range"||r==="spin")&&this.$refs.input.$el.setSelectionRange(d,d);else if(r==="delete-back-single"){var C=i.charAt(d-1),_=i.charAt(d),k=s-f,I=this._group.test(_);I&&k===1?d+=1:!I&&this.isNumeralChar(C)&&(d+=-1*k+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(d,d)}else if(i==="-"&&r==="insert"){this.$refs.input.$el.setSelectionRange(0,0);var E=this.initCursor(),T=E+t.length+1;this.$refs.input.$el.setSelectionRange(T,T)}else d=d+(f-s),this.$refs.input.$el.setSelectionRange(d,d)}this.$refs.input.$el.setAttribute("aria-valuenow",e)},concatValues:function(e,t){if(e&&t){var r=t.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?r!==-1?e.replace(this.suffixChar,"").split(this._decimal)[0]+t.replace(this.suffixChar,"").slice(r)+this.suffixChar:e:r!==-1?e.split(this._decimal)[0]+t.slice(r):e}return e},getDecimalLength:function(e){if(e){var t=e.split(this._decimal);if(t.length===2)return t[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0},updateModel:function(e,t){this.d_modelValue=t,this.$emit("update:modelValue",t)},onInputFocus:function(e){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==$h()&&this.highlightOnFocus&&e.target.select(),this.$emit("focus",e)},onInputBlur:function(e){this.focused=!1;var t=e.target,r=this.validateValue(this.parseValue(t.value));this.$emit("blur",{originalEvent:e,value:t.value}),t.value=this.formatValue(r),t.setAttribute("aria-valuenow",r),this.updateModel(e,r),!this.disabled&&!this.readonly&&this.highlightOnFocus&&gl()},clearTimer:function(){this.timer&&clearInterval(this.timer)},maxBoundry:function(){return this.d_modelValue>=this.max},minBoundry:function(){return this.d_modelValue<=this.min}},computed:{filled:function(){return this.modelValue!=null&&this.modelValue.toString().length>0},upButtonListeners:function(){var e=this;return{mousedown:function(r){return e.onUpButtonMouseDown(r)},mouseup:function(r){return e.onUpButtonMouseUp(r)},mouseleave:function(r){return e.onUpButtonMouseLeave(r)},keydown:function(r){return e.onUpButtonKeyDown(r)},keyup:function(r){return e.onUpButtonKeyUp(r)}}},downButtonListeners:function(){var e=this;return{mousedown:function(r){return e.onDownButtonMouseDown(r)},mouseup:function(r){return e.onDownButtonMouseUp(r)},mouseleave:function(r){return e.onDownButtonMouseLeave(r)},keydown:function(r){return e.onDownButtonKeyDown(r)},keyup:function(r){return e.onDownButtonKeyUp(r)}}},formattedValue:function(){var e=!this.modelValue&&!this.allowEmpty?0:this.modelValue;return this.formatValue(e)},getFormatter:function(){return this.numberFormat}},components:{InputText:rc,AngleUpIcon:W0,AngleDownIcon:H0}},x9=["disabled"],k9=["disabled"],R9=["disabled"],I9=["disabled"];function T9(n,e,t,r,o,i){var a=Y("InputText");return v(),R("span",w({class:n.cx("root")},n.ptmi("root")),[ue(a,{ref:"input",id:n.inputId,role:"spinbutton",class:ke([n.cx("pcInput"),n.inputClass]),style:Tn(n.inputStyle),value:i.formattedValue,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,inputmode:n.mode==="decimal"&&!n.minFractionDigits?"numeric":"decimal",disabled:n.disabled,readonly:n.readonly,placeholder:n.placeholder,"aria-labelledby":n.ariaLabelledby,"aria-label":n.ariaLabel,invalid:n.invalid,variant:n.variant,onInput:i.onUserInput,onKeydown:i.onInputKeyDown,onKeypress:i.onInputKeyPress,onPaste:i.onPaste,onClick:i.onInputClick,onFocus:i.onInputFocus,onBlur:i.onInputBlur,pt:n.ptm("pcInput"),unstyled:n.unstyled},null,8,["id","class","style","value","aria-valuemin","aria-valuemax","aria-valuenow","inputmode","disabled","readonly","placeholder","aria-labelledby","aria-label","invalid","variant","onInput","onKeydown","onKeypress","onPaste","onClick","onFocus","onBlur","pt","unstyled"]),n.showButtons&&n.buttonLayout==="stacked"?(v(),R("span",w({key:0,class:n.cx("buttonGroup")},n.ptm("buttonGroup")),[U(n.$slots,"incrementbutton",{listeners:i.upButtonListeners},function(){return[N("button",w({class:[n.cx("incrementButton"),n.incrementButtonClass]},Hs(i.upButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("incrementButton")),[U(n.$slots,n.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(v(),A(ge(n.incrementIcon||n.incrementButtonIcon?"span":"AngleUpIcon"),w({class:[n.incrementIcon,n.incrementButtonIcon]},n.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,x9)]}),U(n.$slots,"decrementbutton",{listeners:i.downButtonListeners},function(){return[N("button",w({class:[n.cx("decrementButton"),n.decrementButtonClass]},Hs(i.downButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("decrementButton")),[U(n.$slots,n.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(v(),A(ge(n.decrementIcon||n.decrementButtonIcon?"span":"AngleDownIcon"),w({class:[n.decrementIcon,n.decrementButtonIcon]},n.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,k9)]})],16)):H("",!0),U(n.$slots,"incrementbutton",{listeners:i.upButtonListeners},function(){return[n.showButtons&&n.buttonLayout!=="stacked"?(v(),R("button",w({key:0,class:[n.cx("incrementButton"),n.incrementButtonClass]},Hs(i.upButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("incrementButton")),[U(n.$slots,n.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(v(),A(ge(n.incrementIcon||n.incrementButtonIcon?"span":"AngleUpIcon"),w({class:[n.incrementIcon,n.incrementButtonIcon]},n.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,R9)):H("",!0)]}),U(n.$slots,"decrementbutton",{listeners:i.downButtonListeners},function(){return[n.showButtons&&n.buttonLayout!=="stacked"?(v(),R("button",w({key:0,class:[n.cx("decrementButton"),n.decrementButtonClass]},Hs(i.downButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("decrementButton")),[U(n.$slots,n.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(v(),A(ge(n.decrementIcon||n.decrementButtonIcon?"span":"AngleDownIcon"),w({class:[n.decrementIcon,n.decrementButtonIcon]},n.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,I9)):H("",!0)]})],16)}U0.render=T9;var X0={name:"AngleDoubleRightIcon",extends:Ze},E9=N("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z",fill:"currentColor"},null,-1),P9=[E9];function O9(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),P9,16)}X0.render=O9;var Y0={name:"AngleRightIcon",extends:Ze},L9=N("path",{d:"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",fill:"currentColor"},null,-1),M9=[L9];function A9(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),M9,16)}Y0.render=A9;var Z0={name:"AngleLeftIcon",extends:Ze},B9=N("path",{d:"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z",fill:"currentColor"},null,-1),D9=[B9];function F9(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),D9,16)}Z0.render=F9;var $9={name:"BasePaginator",extends:xe,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:lw,provide:function(){return{$pcPaginator:this,$parentInstance:this}}},q0={name:"CurrentPageReport",hostName:"Paginator",extends:xe,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};function z9(n,e,t,r,o,i){return v(),R("span",w({class:n.cx("current")},n.ptm("current")),Ge(i.text),17)}q0.render=z9;var J0={name:"FirstPageLink",hostName:"Paginator",extends:xe,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:$0},directives:{ripple:nn}};function N9(n,e,t,r,o,i){var a=Wt("ripple");return Vt((v(),R("button",w({class:n.cx("first"),type:"button"},i.getPTOptions("first"),{"data-pc-group-section":"pagebutton"}),[(v(),A(ge(t.template||"AngleDoubleLeftIcon"),w({class:n.cx("firstIcon")},i.getPTOptions("firstIcon")),null,16,["class"]))],16)),[[a]])}J0.render=N9;var Q0={name:"JumpToPageDropdown",hostName:"Paginator",extends:xe,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;tn.length)&&(e=n.length);for(var t=0,r=Array(e);t0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e=0&&Y9(this.$refs.paginator).forEach(function(t){t.setAttribute(e.attributeSelector,"")})},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){e=this.template,e.default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown");for(var t in e)e[t]=this.template[t].split(" ").map(function(r){return r.trim()});return e}return e.default=this.template.split(" ").map(function(r){return r.trim()}),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return this.page===0},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),r=Math.max(0,Math.ceil(this.page-t/2)),o=Math.min(e-1,r+t-1),i=this.pageLinkSize-(o-r+1);return r=Math.max(0,r-i),[r,o]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,r=t[0],o=t[1],i=r;i<=o;i++)e.push(i+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return this.pageCount===0},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return lt()}},components:{CurrentPageReport:q0,FirstPageLink:J0,LastPageLink:t1,NextPageLink:n1,PageLinks:r1,PrevPageLink:o1,RowsPerPageDropdown:i1,JumpToPageDropdown:Q0,JumpToPageInput:e1}};function nC(n,e,t,r,o,i){var a=Y("FirstPageLink"),s=Y("PrevPageLink"),l=Y("NextPageLink"),c=Y("LastPageLink"),u=Y("PageLinks"),d=Y("CurrentPageReport"),f=Y("RowsPerPageDropdown"),h=Y("JumpToPageDropdown"),p=Y("JumpToPageInput");return n.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(v(),R("nav",Ss(w({key:0},n.ptmi("paginatorContainer"))),[(v(!0),R(de,null,st(i.templateItems,function(g,b){return v(),R("div",w({key:b,ref_for:!0,ref:"paginator",class:n.cx("paginator",{key:b})},n.ptm("root")),[n.$slots.start?(v(),R("div",w({key:0,class:n.cx("contentStart"),ref_for:!0},n.ptm("contentStart")),[U(n.$slots,"start",{state:i.currentState})],16)):H("",!0),N("div",w({class:n.cx("content"),ref_for:!0},n.ptm("content")),[(v(!0),R(de,null,st(g,function(y){return v(),R(de,{key:y},[y==="FirstPageLink"?(v(),A(a,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:n.$slots.firsticon||n.$slots.firstpagelinkicon,onClick:e[0]||(e[0]=function(m){return i.changePageToFirst(m)}),disabled:i.isFirstPage||i.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):y==="PrevPageLink"?(v(),A(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:n.$slots.previcon||n.$slots.prevpagelinkicon,onClick:e[1]||(e[1]=function(m){return i.changePageToPrev(m)}),disabled:i.isFirstPage||i.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):y==="NextPageLink"?(v(),A(l,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:n.$slots.nexticon||n.$slots.nextpagelinkicon,onClick:e[2]||(e[2]=function(m){return i.changePageToNext(m)}),disabled:i.isLastPage||i.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):y==="LastPageLink"?(v(),A(c,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:n.$slots.lasticon||n.$slots.lastpagelinkicon,onClick:e[3]||(e[3]=function(m){return i.changePageToLast(m)}),disabled:i.isLastPage||i.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):y==="PageLinks"?(v(),A(u,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:e[4]||(e[4]=function(m){return i.changePageLink(m)}),pt:n.pt},null,8,["aria-label","value","page","pt"])):y==="CurrentPageReport"?(v(),A(d,{key:5,"aria-live":"polite",template:n.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:o.d_first,rows:o.d_rows,totalRecords:n.totalRecords,unstyled:n.unstyled,pt:n.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):y==="RowsPerPageDropdown"&&n.rowsPerPageOptions?(v(),A(f,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:o.d_rows,options:n.rowsPerPageOptions,onRowsChange:e[5]||(e[5]=function(m){return i.onRowChange(m)}),disabled:i.empty,templates:n.$slots,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):y==="JumpToPageDropdown"?(v(),A(h,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:e[6]||(e[6]=function(m){return i.changePage(m)}),disabled:i.empty,templates:n.$slots,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):y==="JumpToPageInput"?(v(),A(p,{key:8,page:i.currentPage,onPageChange:e[7]||(e[7]=function(m){return i.changePage(m)}),disabled:i.empty,unstyled:n.unstyled,pt:n.pt},null,8,["page","disabled","unstyled","pt"])):H("",!0)],64)}),128))],16),n.$slots.end?(v(),R("div",w({key:1,class:n.cx("contentEnd"),ref_for:!0},n.ptm("contentEnd")),[U(n.$slots,"end",{state:i.currentState})],16)):H("",!0)],16)}),128))],16)):H("",!0)}Wd.render=nC;var rC=function(e){var t=e.dt;return` -.p-dataview { - border-color: `.concat(t("dataview.border.color"),`; - border-width: `).concat(t("dataview.border.width"),`; - border-style: solid; - border-radius: `).concat(t("dataview.border.radius"),`; - padding: `).concat(t("dataview.padding"),`; -} - -.p-dataview-header { - background: `).concat(t("dataview.header.background"),`; - color: `).concat(t("dataview.header.color"),`; - border-color: `).concat(t("dataview.header.border.color"),`; - border-width: `).concat(t("dataview.header.border.width"),`; - border-style: solid; - padding: `).concat(t("dataview.header.padding"),`; - border-radius: `).concat(t("dataview.header.border.radius"),`; -} - -.p-dataview-content { - background: `).concat(t("dataview.content.background"),`; - border-color: `).concat(t("dataview.content.border.color"),`; - border-width: `).concat(t("dataview.content.border.width"),`; - border-style: solid; - color: `).concat(t("dataview.content.color"),`; - padding: `).concat(t("dataview.content.padding"),`; - border-radius: `).concat(t("dataview.content.border.radius"),`; -} - -.p-dataview-footer { - background: `).concat(t("dataview.footer.background"),`; - color: `).concat(t("dataview.footer.color"),`; - border-color: `).concat(t("dataview.footer.border.color"),`; - border-width: `).concat(t("dataview.footer.border.width"),`; - border-style: solid; - padding: `).concat(t("dataview.footer.padding"),`; - border-radius: `).concat(t("dataview.footer.border.radius"),`; -} - -.p-dataview-paginator-top { - border-width: `).concat(t("dataview.paginator.top.border.width"),`; - border-color: `).concat(t("dataview.paginator.top.border.color"),`; - border-style: solid; -} - -.p-dataview-paginator-bottom { - border-width: `).concat(t("dataview.paginator.bottom.border.width"),`; - border-color: `).concat(t("dataview.paginator.bottom.border.color"),`; - border-style: solid; -} -`)},oC={root:function(e){var t=e.props;return["p-dataview p-component",{"p-dataview-list":t.layout==="list","p-dataview-grid":t.layout==="grid"}]},header:"p-dataview-header",pcPaginator:function(e){var t=e.position;return"p-dataview-paginator-"+t},content:"p-dataview-content",emptyMessage:"p-dataview-empty-message",footer:"p-dataview-footer"},iC=Re.extend({name:"dataview",theme:rC,classes:oC}),aC={name:"BaseDataView",extends:xe,props:{value:{type:Array,default:null},layout:{type:String,default:"list"},rows:{type:Number,default:0},first:{type:Number,default:0},totalRecords:{type:Number,default:0},paginator:{type:Boolean,default:!1},paginatorPosition:{type:String,default:"bottom"},alwaysShowPaginator:{type:Boolean,default:!0},paginatorTemplate:{type:String,default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},currentPageReportTemplate:{type:String,default:"({currentPage} of {totalPages})"},sortField:{type:[String,Function],default:null},sortOrder:{type:Number,default:null},lazy:{type:Boolean,default:!1},dataKey:{type:String,default:null}},style:iC,provide:function(){return{$pcDataView:this,$parentInstance:this}}};function sC(n){return dC(n)||uC(n)||cC(n)||lC()}function lC(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cC(n,e){if(n){if(typeof n=="string")return Fu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Fu(n,e):void 0}}function uC(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function dC(n){if(Array.isArray(n))return Fu(n)}function Fu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tparseInt(e["max-height"],10)?this.$el.style.height=e["max-height"]:this.$el.style.height=this.$refs.content.offsetHeight+parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth)+"px")},moveBar:function(){var e=this;if(this.$refs.content){var t=this.$refs.content.scrollWidth,r=this.$refs.content.clientWidth,o=(this.$el.clientHeight-this.$refs.xBar.clientHeight)*-1;this.scrollXRatio=r/t;var i=this.$refs.content.scrollHeight,a=this.$refs.content.clientHeight,s=(this.$el.clientWidth-this.$refs.yBar.clientWidth)*-1;this.scrollYRatio=a/i,this.frame=this.requestAnimationFrame(function(){e.$refs.xBar&&(e.scrollXRatio>=1?(e.$refs.xBar.setAttribute("data-p-scrollpanel-hidden","true"),!e.isUnstyled&&Ft(e.$refs.xBar,"p-scrollpanel-hidden")):(e.$refs.xBar.setAttribute("data-p-scrollpanel-hidden","false"),!e.isUnstyled&&zt(e.$refs.xBar,"p-scrollpanel-hidden"),e.$refs.xBar.style.cssText="width:"+Math.max(e.scrollXRatio*100,10)+"%; left:"+e.$refs.content.scrollLeft/t*100+"%;bottom:"+o+"px;")),e.$refs.yBar&&(e.scrollYRatio>=1?(e.$refs.yBar.setAttribute("data-p-scrollpanel-hidden","true"),!e.isUnstyled&&Ft(e.$refs.yBar,"p-scrollpanel-hidden")):(e.$refs.yBar.setAttribute("data-p-scrollpanel-hidden","false"),!e.isUnstyled&&zt(e.$refs.yBar,"p-scrollpanel-hidden"),e.$refs.yBar.style.cssText="height:"+Math.max(e.scrollYRatio*100,10)+"%; top: calc("+e.$refs.content.scrollTop/i*100+"% - "+e.$refs.xBar.clientHeight+"px);right:"+s+"px;"))})}},onYBarMouseDown:function(e){this.isYBarClicked=!0,this.$refs.yBar.focus(),this.lastPageY=e.pageY,this.$refs.yBar.setAttribute("data-p-scrollpanel-grabbed","true"),!this.isUnstyled&&Ft(this.$refs.yBar,"p-scrollpanel-grabbed"),document.body.setAttribute("data-p-scrollpanel-grabbed","true"),!this.isUnstyled&&Ft(document.body,"p-scrollpanel-grabbed"),this.bindDocumentMouseListeners(),e.preventDefault()},onXBarMouseDown:function(e){this.isXBarClicked=!0,this.$refs.xBar.focus(),this.lastPageX=e.pageX,this.$refs.yBar.setAttribute("data-p-scrollpanel-grabbed","false"),!this.isUnstyled&&Ft(this.$refs.xBar,"p-scrollpanel-grabbed"),document.body.setAttribute("data-p-scrollpanel-grabbed","false"),!this.isUnstyled&&Ft(document.body,"p-scrollpanel-grabbed"),this.bindDocumentMouseListeners(),e.preventDefault()},onScroll:function(e){this.lastScrollLeft!==e.target.scrollLeft?(this.lastScrollLeft=e.target.scrollLeft,this.orientation="horizontal"):this.lastScrollTop!==e.target.scrollTop&&(this.lastScrollTop=e.target.scrollTop,this.orientation="vertical"),this.moveBar()},onKeyDown:function(e){if(this.orientation==="vertical")switch(e.code){case"ArrowDown":{this.setTimer("scrollTop",this.step),e.preventDefault();break}case"ArrowUp":{this.setTimer("scrollTop",this.step*-1),e.preventDefault();break}case"ArrowLeft":case"ArrowRight":{e.preventDefault();break}}else if(this.orientation==="horizontal")switch(e.code){case"ArrowRight":{this.setTimer("scrollLeft",this.step),e.preventDefault();break}case"ArrowLeft":{this.setTimer("scrollLeft",this.step*-1),e.preventDefault();break}case"ArrowDown":case"ArrowUp":{e.preventDefault();break}}},onKeyUp:function(){this.clearTimer()},repeat:function(e,t){this.$refs.content[e]+=t,this.moveBar()},setTimer:function(e,t){var r=this;this.clearTimer(),this.timer=setTimeout(function(){r.repeat(e,t)},40)},clearTimer:function(){this.timer&&clearTimeout(this.timer)},onDocumentMouseMove:function(e){this.isXBarClicked?this.onMouseMoveForXBar(e):this.isYBarClicked?this.onMouseMoveForYBar(e):(this.onMouseMoveForXBar(e),this.onMouseMoveForYBar(e))},onMouseMoveForXBar:function(e){var t=this,r=e.pageX-this.lastPageX;this.lastPageX=e.pageX,this.frame=this.requestAnimationFrame(function(){t.$refs.content.scrollLeft+=r/t.scrollXRatio})},onMouseMoveForYBar:function(e){var t=this,r=e.pageY-this.lastPageY;this.lastPageY=e.pageY,this.frame=this.requestAnimationFrame(function(){t.$refs.content.scrollTop+=r/t.scrollYRatio})},onFocus:function(e){this.$refs.xBar.isSameNode(e.target)?this.orientation="horizontal":this.$refs.yBar.isSameNode(e.target)&&(this.orientation="vertical")},onBlur:function(){this.orientation==="horizontal"&&(this.orientation="vertical")},onDocumentMouseUp:function(){this.$refs.yBar.setAttribute("data-p-scrollpanel-grabbed","false"),!this.isUnstyled&&zt(this.$refs.yBar,"p-scrollpanel-grabbed"),this.$refs.xBar.setAttribute("data-p-scrollpanel-grabbed","false"),!this.isUnstyled&&zt(this.$refs.xBar,"p-scrollpanel-grabbed"),document.body.setAttribute("data-p-scrollpanel-grabbed","false"),!this.isUnstyled&&zt(document.body,"p-scrollpanel-grabbed"),this.unbindDocumentMouseListeners(),this.isXBarClicked=!1,this.isYBarClicked=!1},requestAnimationFrame:function(e){var t=window.requestAnimationFrame||this.timeoutFrame;return t(e)},refresh:function(){this.moveBar()},scrollTop:function(e){var t=this.$refs.content.scrollHeight-this.$refs.content.clientHeight;e=e>t?t:e>0?e:0,this.$refs.content.scrollTop=e},timeoutFrame:function(e){setTimeout(e,0)},bindDocumentMouseListeners:function(){var e=this;this.documentMouseMoveListener||(this.documentMouseMoveListener=function(t){e.onDocumentMouseMove(t)},document.addEventListener("mousemove",this.documentMouseMoveListener)),this.documentMouseUpListener||(this.documentMouseUpListener=function(t){e.onDocumentMouseUp(t)},document.addEventListener("mouseup",this.documentMouseUpListener))},unbindDocumentMouseListeners:function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},bindDocumentResizeListener:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(){e.moveBar()},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentResizeListener:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},computed:{contentId:function(){return this.id+"_content"}}},bC=["id"],yC=["aria-controls","aria-valuenow"],vC=["aria-controls","aria-valuenow"];function wC(n,e,t,r,o,i){return v(),R("div",w({class:n.cx("root")},n.ptmi("root")),[N("div",w({class:n.cx("contentContainer")},n.ptm("contentContainer")),[N("div",w({ref:"content",id:i.contentId,class:n.cx("content"),onScroll:e[0]||(e[0]=function(){return i.onScroll&&i.onScroll.apply(i,arguments)}),onMouseenter:e[1]||(e[1]=function(){return i.moveBar&&i.moveBar.apply(i,arguments)})},n.ptm("content")),[U(n.$slots,"default")],16,bC)],16),N("div",w({ref:"xBar",class:n.cx("barx"),tabindex:"0",role:"scrollbar","aria-orientation":"horizontal","aria-controls":i.contentId,"aria-valuenow":o.lastScrollLeft,onMousedown:e[2]||(e[2]=function(){return i.onXBarMouseDown&&i.onXBarMouseDown.apply(i,arguments)}),onKeydown:e[3]||(e[3]=function(a){return i.onKeyDown(a)}),onKeyup:e[4]||(e[4]=function(){return i.onKeyUp&&i.onKeyUp.apply(i,arguments)}),onFocus:e[5]||(e[5]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:e[6]||(e[6]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)})},n.ptm("barx"),{"data-pc-group-section":"bar"}),null,16,yC),N("div",w({ref:"yBar",class:n.cx("bary"),tabindex:"0",role:"scrollbar","aria-orientation":"vertical","aria-controls":i.contentId,"aria-valuenow":o.lastScrollTop,onMousedown:e[7]||(e[7]=function(){return i.onYBarMouseDown&&i.onYBarMouseDown.apply(i,arguments)}),onKeydown:e[8]||(e[8]=function(a){return i.onKeyDown(a)}),onKeyup:e[9]||(e[9]=function(){return i.onKeyUp&&i.onKeyUp.apply(i,arguments)}),onFocus:e[10]||(e[10]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)})},n.ptm("bary"),{"data-pc-group-section":"bar"}),null,16,vC)],16)}l1.render=wC;var Ud={name:"PlusIcon",extends:Ze},CC=N("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1),SC=[CC];function _C(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),SC,16)}Ud.render=_C;var xC=function(e){var t=e.dt;return` -.p-tooltip { - position: absolute; - display: none; - max-width: `.concat(t("tooltip.max.width"),`; -} - -.p-tooltip-right, -.p-tooltip-left { - padding: 0 `).concat(t("tooltip.gutter"),`; -} - -.p-tooltip-top, -.p-tooltip-bottom { - padding: `).concat(t("tooltip.gutter"),` 0; -} - -.p-tooltip-text { - white-space: pre-line; - word-break: break-word; - background: `).concat(t("tooltip.background"),`; - color: `).concat(t("tooltip.color"),`; - padding: `).concat(t("tooltip.padding"),`; - box-shadow: `).concat(t("tooltip.shadow"),`; - border-radius: `).concat(t("tooltip.border.radius"),`; -} - -.p-tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - scale: 2; -} - -.p-tooltip-right .p-tooltip-arrow { - margin-top: calc(-1 * `).concat(t("tooltip.gutter"),`); - border-width: `).concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter"),` 0; - border-right-color: `).concat(t("tooltip.background"),`; -} - -.p-tooltip-left .p-tooltip-arrow { - margin-top: calc(-1 * `).concat(t("tooltip.gutter"),`); - border-width: `).concat(t("tooltip.gutter")," 0 ").concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter"),`; - border-left-color: `).concat(t("tooltip.background"),`; -} - -.p-tooltip-top .p-tooltip-arrow { - margin-left: calc(-1 * `).concat(t("tooltip.gutter"),`); - border-width: `).concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter")," 0 ").concat(t("tooltip.gutter"),`; - border-top-color: `).concat(t("tooltip.background"),`; - border-bottom-color: `).concat(t("tooltip.background"),`; -} - -.p-tooltip-bottom .p-tooltip-arrow { - margin-left: calc(-1 * `).concat(t("tooltip.gutter"),`); - border-width: 0 `).concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter")," ").concat(t("tooltip.gutter"),`; - border-top-color: `).concat(t("tooltip.background"),`; - border-bottom-color: `).concat(t("tooltip.background"),`; -} -`)},kC={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},RC=Re.extend({name:"tooltip-directive",theme:xC,classes:kC}),IC=Le.extend({style:RC});function TC(n,e){return LC(n)||OC(n,e)||PC(n,e)||EC()}function EC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PC(n,e){if(n){if(typeof n=="string")return hp(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?hp(n,e):void 0}}function hp(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tl.width||i<0||o<0||o+s>l.height},getTarget:function(e){return ha(e,"p-inputwrapper")?ht(e,"input"):e},getModifiers:function(e){return e.modifiers&&Object.keys(e.modifiers).length?e.modifiers:e.arg&&to(e.arg)==="object"?Object.entries(e.arg).reduce(function(t,r){var o=TC(r,2),i=o[0],a=o[1];return(i==="event"||i==="position")&&(t[a]=!0),t},{}):{}}}});function Ha(n){"@babel/helpers - typeof";return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ha(n)}function zc(n,e,t){return(e=DC(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function DC(n){var e=FC(n,"string");return Ha(e)=="symbol"?e:e+""}function FC(n,e){if(Ha(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(Ha(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var $C=function(e){var t=e.dt;return` -.p-speeddial { - position: static; - display: flex; - gap: `.concat(t("speeddial.gap"),`; -} - -.p-speeddial-button { - z-index: 1; -} - -.p-speeddial-button.p-speeddial-rotate { - transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, background `).concat(t("speeddial.transition.duration"),", color ").concat(t("speeddial.transition.duration"),", border-color ").concat(t("speeddial.transition.duration"),`, - box-shadow `).concat(t("speeddial.transition.duration"),", outline-color ").concat(t("speeddial.transition.duration"),`; - will-change: transform; -} - -.p-speeddial-list { - margin: 0; - padding: 0; - list-style: none; - display: flex; - align-items: center; - justify-content: center; - transition: top 0s linear `).concat(t("speeddial.transition.duration"),`; - pointer-events: none; - outline: 0 none; - z-index: 2; - gap: `).concat(t("speeddial.gap"),`; -} - -.p-speeddial-item { - transform: scale(0); - opacity: 0; - transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, opacity 0.8s; - will-change: transform; -} - -.p-speeddial-circle .p-speeddial-item, -.p-speeddial-semi-circle .p-speeddial-item, -.p-speeddial-quarter-circle .p-speeddial-item { - position: absolute; -} - -.p-speeddial-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0; - background: `).concat(t("mask.background"),`; - border-radius: 6px; - transition: opacity 150ms; -} - -.p-speeddial-mask-visible { - pointer-events: none; - opacity: 1; - transition: opacity 150ms; -} - -.p-speeddial-open .p-speeddial-list { - pointer-events: auto; -} - -.p-speeddial-open .p-speeddial-item { - transform: scale(1); - opacity: 1; -} - -.p-speeddial-open .p-speeddial-rotate { - transform: rotate(45deg); -} -`)},zC={root:function(e){var t=e.props;return{alignItems:(t.direction==="up"||t.direction==="down")&&"center",justifyContent:(t.direction==="left"||t.direction==="right")&&"center",flexDirection:t.direction==="up"?"column-reverse":t.direction==="down"?"column":t.direction==="left"?"row-reverse":t.direction==="right"?"row":null}},list:function(e){var t=e.props;return{flexDirection:t.direction==="up"?"column-reverse":t.direction==="down"?"column":t.direction==="left"?"row-reverse":t.direction==="right"?"row":null}}},NC={root:function(e){var t=e.instance,r=e.props;return["p-speeddial p-component p-speeddial-".concat(r.type),zc(zc(zc({},"p-speeddial-direction-".concat(r.direction),r.type!=="circle"),"p-speeddial-open",t.d_visible),"p-disabled",r.disabled)]},pcButton:function(e){var t=e.props;return["p-speeddial-button",{"p-speeddial-rotate":t.rotateAnimation&&!t.hideIcon}]},list:"p-speeddial-list",item:"p-speeddial-item",action:"p-speeddial-action",actionIcon:"p-speeddial-action-icon",mask:function(e){var t=e.instance;return["p-speeddial-mask",{"p-speeddial-mask-visible":t.d_visible}]}},jC=Re.extend({name:"speeddial",theme:$C,classes:NC,inlineStyles:zC}),VC={name:"BaseSpeedDial",extends:xe,props:{model:null,visible:{type:Boolean,default:!1},direction:{type:String,default:"up"},transitionDelay:{type:Number,default:30},type:{type:String,default:"linear"},radius:{type:Number,default:0},mask:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hideOnClickOutside:{type:Boolean,default:!0},buttonClass:null,maskStyle:null,maskClass:null,showIcon:{type:String,default:void 0},hideIcon:{type:String,default:void 0},rotateAnimation:{type:Boolean,default:!0},tooltipOptions:null,style:null,class:null,buttonProps:{type:Object,default:function(){return{rounded:!0}}},actionButtonProps:{type:Object,default:function(){return{severity:"secondary",rounded:!0,size:"small"}}},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:jC,provide:function(){return{$pcSpeedDial:this,$parentInstance:this}}};function Wa(n){"@babel/helpers - typeof";return Wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wa(n)}function gp(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function GC(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,r=Array(e);t .p-datatable-table-container { - position: relative; -} - -.p-datatable-scrollable-table > .p-datatable-thead { - top: 0; - z-index: 1; -} - -.p-datatable-scrollable-table > .p-datatable-frozen-tbody { - position: sticky; - z-index: 1; -} - -.p-datatable-scrollable-table>.p-datatable-tfoot { - bottom: 0; - z-index: 1; -} - -.p-datatable-scrollable .p-datatable-frozen-column { - position: sticky; - background: inherit; -} - -.p-datatable-scrollable th.p-datatable-frozen-column { - z-index: 1; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead { - background: `.concat(t("datatable.header.cell.background"),`; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot { - background: `).concat(t("datatable.footer.cell.background"),`; -} - -.p-datatable-flex-scrollable { - display: flex; - flex-direction: column; - height: 100%; -} - -.p-datatable-flex-scrollable > .p-datatable-table-container { - display: flex; - flex-direction: column; - flex: 1; - height: 100%; -} - -.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header { - position: sticky; - z-index: 1; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th, -.p-datatable-resizable-table > .p-datatable-tfoot > tr > td, -.p-datatable-resizable-table > .p-datatable-tbody > tr > td { - overflow: hidden; - white-space: nowrap; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) { - background-clip: padding-box; - position: relative; -} - -.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer { - display: none; -} - -.p-datatable-column-resizer { - display: block; - position: absolute; - top: 0; - right: 0; - margin: 0; - width: `).concat(t("datatable.column.resizer.width"),`; - height: 100%; - padding: 0px; - cursor: col-resize; - border: 1px solid transparent; -} - -.p-datatable-column-header-content { - display: flex; - align-items: center; - gap: `).concat(t("datatable.header.cell.gap"),`; -} - -.p-datatable-column-resize-indicator { - width: `).concat(t("datatable.resize.indicator.width"),`; - position: absolute; - z-index: 10; - display: none; - background: `).concat(t("datatable.resize.indicator.color"),`; -} - -.p-datatable-row-reorder-indicator-up, -.p-datatable-row-reorder-indicator-down { - position: absolute; - display: none; -} - -.p-datatable-reorderable-column, -.p-datatable-reorderable-row-handle { - cursor: move; -} - -.p-datatable-mask { - position: absolute; - display: flex; - align-items: center; - justify-content: center; - z-index: 2; -} - -.p-datatable-inline-filter { - display: flex; - align-items: center; - width: 100%; - gap: `).concat(t("datatable.filter.inline.gap"),`; -} - -.p-datatable-inline-filter .p-datatable-filter-element-container { - flex: 1 1 auto; - width: 1%; -} - -.p-datatable-filter-overlay { - background: `).concat(t("datatable.filter.overlay.select.background"),`; - color: `).concat(t("datatable.filter.overlay.select.color"),`; - border: 1px solid `).concat(t("datatable.filter.overlay.select.border.color"),`; - border-radius: `).concat(t("datatable.filter.overlay.select.border.radius"),`; - box-shadow: `).concat(t("datatable.filter.overlay.select.shadow"),`; - min-width: 12.5rem; -} - -.p-datatable-filter-constraint-list { - margin: 0; - list-style: none; - display: flex; - flex-direction: column; - padding: `).concat(t("datatable.filter.constraint.list.padding"),`; - gap: `).concat(t("datatable.filter.constraint.list.gap"),`; -} - -.p-datatable-filter-constraint { - padding: `).concat(t("datatable.filter.constraint.padding"),`; - color: `).concat(t("datatable.filter.constraint.color"),`; - border-radius: `).concat(t("datatable.filter.constraint.border.radius"),`; - cursor: pointer; - transition: background `).concat(t("datatable.transition.duration"),", color ").concat(t("datatable.transition.duration"),", border-color ").concat(t("datatable.transition.duration"),`, - box-shadow `).concat(t("datatable.transition.duration"),`; -} - -.p-datatable-filter-constraint-selected { - background: `).concat(t("datatable.filter.constraint.selected.background"),`; - color: `).concat(t("datatable.filter.constraint.selected.color"),`; -} - -.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover { - background: `).concat(t("datatable.filter.constraint.focus.background"),`; - color: `).concat(t("datatable.filter.constraint.focus.color"),`; -} - -.p-datatable-filter-constraint:focus-visible { - outline: 0 none; - background: `).concat(t("datatable.filter.constraint.focus.background"),`; - color: `).concat(t("datatable.filter.constraint.focus.color"),`; -} - -.p-datatable-filter-constraint-selected:focus-visible { - outline: 0 none; - background: `).concat(t("datatable.filter.constraint.selected.focus.background"),`; - color: `).concat(t("datatable.filter.constraint.selected.focus.color"),`; -} - -.p-datatable-filter-constraint-separator { - border-top: 1px solid `).concat(t("datatable.filter.constraint.separator.border.color"),`; -} - -.p-datatable-popover-filter { - display: inline-flex; - margin-left: auto; -} - -.p-datatable-filter-overlay-popover { - background: `).concat(t("datatable.filter.overlay.popover.background"),`; - color: `).concat(t("datatable.filter.overlay.popover.color"),`; - border: 1px solid `).concat(t("datatable.filter.overlay.popover.border.color"),`; - border-radius: `).concat(t("datatable.filter.overlay.popover.border.radius"),`; - box-shadow: `).concat(t("datatable.filter.overlay.popover.shadow"),`; - min-width: 12.5rem; - padding: `).concat(t("datatable.filter.overlay.popover.padding"),`; - display: flex; - flex-direction: column; - gap: `).concat(t("datatable.filter.overlay.popover.gap"),`; -} - -.p-datatable-filter-operator-dropdown { - width: 100%; -} - -.p-datatable-filter-rule-list, -.p-datatable-filter-rule { - display: flex; - flex-direction: column; - gap: `).concat(t("datatable.filter.overlay.popover.gap"),`; -} - -.p-datatable-filter-rule { - border-bottom: 1px solid `).concat(t("datatable.filter.rule.border.color"),`; -} - -.p-datatable-filter-rule:last-child { - border-bottom: 0 none; -} - -.p-datatable-filter-add-rule-button { - width: 100%; -} - -.p-datatable-filter-remove-button { - width: 100%; -} - -.p-datatable-filter-buttonbar { - padding: 0; - display: flex; - align-items: center; - justify-content: space-between; -} - -.p-datatable-virtualscroller-spacer { - display: flex; -} - -.p-datatable .p-virtualscroller .p-virtualscroller-loading { - transform: none !important; - min-height: 0; - position: sticky; - top: 0; - left: 0; -} - -.p-datatable-paginator-top { - border-color: `).concat(t("datatable.paginator.top.border.color"),`; - border-style: solid; - border-width: `).concat(t("datatable.paginator.top.border.width"),`; -} - -.p-datatable-paginator-bottom { - border-color: `).concat(t("datatable.paginator.bottom.border.color"),`; - border-style: solid; - border-width: `).concat(t("datatable.paginator.bottom.border.width"),`; -} - -.p-datatable-header { - background: `).concat(t("datatable.header.background"),`; - color: `).concat(t("datatable.header.color"),`; - border-color: `).concat(t("datatable.header.border.color"),`; - border-style: solid; - border-width: `).concat(t("datatable.header.border.width"),`; - padding: `).concat(t("datatable.header.padding"),`; -} - -.p-datatable-footer { - background: `).concat(t("datatable.footer.background"),`; - color: `).concat(t("datatable.footer.color"),`; - border-color: `).concat(t("datatable.footer.border.color"),`; - border-style: solid; - border-width: `).concat(t("datatable.footer.border.width"),`; - padding: `).concat(t("datatable.footer.padding"),`; -} - -.p-datatable-header-cell { - padding: `).concat(t("datatable.header.cell.padding"),`; - background: `).concat(t("datatable.header.cell.background"),`; - border-color: `).concat(t("datatable.header.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - color: `).concat(t("datatable.header.cell.color"),`; - font-weight: normal; - text-align: left; - transition: background `).concat(t("datatable.transition.duration"),", color ").concat(t("datatable.transition.duration"),", border-color ").concat(t("datatable.transition.duration"),`, - outline-color `).concat(t("datatable.transition.duration"),", box-shadow ").concat(t("datatable.transition.duration"),`; -} - -.p-datatable-column-title { - font-weight: `).concat(t("datatable.column.title.font.weight"),`; -} - -.p-datatable-tbody > tr { - outline-color: transparent; - background: `).concat(t("datatable.row.background"),`; - color: `).concat(t("datatable.row.color"),`; - transition: background `).concat(t("datatable.transition.duration"),", color ").concat(t("datatable.transition.duration"),", border-color ").concat(t("datatable.transition.duration"),`, - outline-color `).concat(t("datatable.transition.duration"),", box-shadow ").concat(t("datatable.transition.duration"),`; -} - -.p-datatable-tbody > tr > td { - text-align: left; - border-color: `).concat(t("datatable.body.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - padding: `).concat(t("datatable.body.cell.padding"),`; -} - -.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { - background: `).concat(t("datatable.row.hover.background"),`; - color: `).concat(t("datatable.row.hover.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected { - background: `).concat(t("datatable.row.selected.background"),`; - color: `).concat(t("datatable.row.selected.color"),`; -} - -.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td { - border-bottom-color: `).concat(t("datatable.body.cell.selected.border.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected > td { - border-bottom-color: `).concat(t("datatable.body.cell.selected.border.color"),`; -} - -.p-datatable-tbody > tr:focus-visible, -.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected { - box-shadow: `).concat(t("datatable.body.cell.focus.ring.shadow"),`; - outline: `).concat(t("datatable.body.cell.focus.ring.width")," ").concat(t("datatable.body.cell.focus.ring.style")," ").concat(t("datatable.body.cell.focus.ring.color"),`; - outline-offset: `).concat(t("datatable.body.cell.focus.ring.offset"),`; -} - -.p-datatable-tfoot > tr > td { - text-align: left; - padding: `).concat(t("datatable.footer.cell.padding"),`; - border-color: `).concat(t("datatable.footer.cell.border.color"),`; - border-style: solid; - border-width: 0 0 1px 0; - color: `).concat(t("datatable.footer.cell.color"),`; - background: `).concat(t("datatable.footer.cell.background"),`; -} - -.p-datatable-column-footer { - font-weight: `).concat(t("datatable.column.footer.font.weight"),`; -} - -.p-datatable-sortable-column { - cursor: pointer; - user-select: none; - outline-color: transparent; -} - -.p-datatable-column-title, -.p-datatable-sort-icon, -.p-datatable-sort-badge { - vertical-align: middle; -} - -.p-datatable-sort-icon { - color: `).concat(t("datatable.sort.icon.color"),`; - transition: color `).concat(t("datatable.transition.duration"),`; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover { - background: `).concat(t("datatable.header.cell.hover.background"),`; - color: `).concat(t("datatable.header.cell.hover.color"),`; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon { - color: `).concat(t("datatable.sort.icon.hover.color"),`; -} - -.p-datatable-column-sorted { - background: `).concat(t("datatable.header.cell.selected.background"),`; - color: `).concat(t("datatable.header.cell.selected.color"),`; -} - -.p-datatable-column-sorted .p-datatable-sort-icon { - color: `).concat(t("datatable.header.cell.selected.color"),`; -} - -.p-datatable-sortable-column:focus-visible { - box-shadow: `).concat(t("datatable.header.cell.focus.ring.shadow"),`; - outline: `).concat(t("datatable.header.cell.focus.ring.width")," ").concat(t("datatable.header.cell.focus.ring.style")," ").concat(t("datatable.header.cell.focus.ring.color"),`; - outline-offset: `).concat(t("datatable.header.cell.focus.ring.offset"),`; -} - -.p-datatable-hoverable .p-datatable-selectable-row { - cursor: pointer; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-top > td { - box-shadow: inset 0 2px 0 0 `).concat(t("datatable.drop.point.color"),`; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { - box-shadow: inset 0 -2px 0 0 `).concat(t("datatable.drop.point.color"),`; -} - -.p-datatable-loading-icon { - font-size: `).concat(t("datatable.loading.icon.size"),`; - width: `).concat(t("datatable.loading.icon.size"),`; - height: `).concat(t("datatable.loading.icon.size"),`; -} - -.p-datatable-gridlines .p-datatable-header { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-footer { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-top { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-bottom { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td { - border-width: 1px 0 0 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { - border-width: 1px 1px 0 1px; -} - -p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child { - border-width: 1px 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td { - border-width: 0 0 0 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 0 1px 0 1px; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { - background: `).concat(t("datatable.row.striped.background"),`; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { - background: `).concat(t("datatable.row.selected.background"),`; - color: `).concat(t("datatable.row.selected.color"),`; -} - -.p-datatable.p-datatable-sm .p-datatable-header { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-thead > tr > th { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-sm .p-datatable-footer { - padding: 0.375rem 0.5rem; -} - -.p-datatable.p-datatable-lg .p-datatable-header { - padding: 0.9375rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-thead > tr > th { - padding: 0.9375rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-tbody>tr>td { - padding: 0.9375rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-tfoot>tr>td { - padding: 0.9375rem 1.25rem; -} - -.p-datatable.p-datatable-lg .p-datatable-footer { - padding: 0.9375rem 1.25rem; -} - -.p-datatable-row-toggle-button { - display: inline-flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; - width: `).concat(t("datatable.row.toggle.button.size"),`; - height: `).concat(t("datatable.row.toggle.button.size"),`; - color: `).concat(t("datatable.row.toggle.button.color"),`; - border: 0 none; - background: transparent; - cursor: pointer; - border-radius: `).concat(t("datatable.row.toggle.button.border.radius"),`; - transition: background `).concat(t("datatable.transition.duration"),", color ").concat(t("datatable.transition.duration"),", border-color ").concat(t("datatable.transition.duration"),`, - outline-color `).concat(t("datatable.transition.duration"),", box-shadow ").concat(t("datatable.transition.duration"),`; - outline-color: transparent; - user-select: none; -} - -.p-datatable-row-toggle-button:enabled:hover { - color: `).concat(t("datatable.row.toggle.button.hover.color"),`; - background: `).concat(t("datatable.row.toggle.button.hover.background"),`; -} - -.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover { - background: `).concat(t("datatable.row.toggle.button.selected.hover.background"),`; - `).concat(t("datatable.row.toggle.button.selected.hover.color"),`; -} - -.p-datatable-row-toggle-button:focus-visible { - box-shadow: `).concat(t("datatable.row.toggle.button.focus.ring.shadow"),`; - outline: `).concat(t("datatable.row.toggle.button.focus.ring.width")," ").concat(t("datatable.row.toggle.button.focus.ring.style")," ").concat(t("datatable.row.toggle.button.focus.ring.color"),`; - outline-offset: `).concat(t("datatable.row.toggle.button.focus.ring.offset"),`; -} -`)},s8={root:function(e){var t=e.props;return["p-datatable p-component",{"p-datatable-hoverable":t.rowHover||t.selectionMode,"p-datatable-resizable":t.resizableColumns,"p-datatable-resizable-fit":t.resizableColumns&&t.columnResizeMode==="fit","p-datatable-scrollable":t.scrollable,"p-datatable-flex-scrollable":t.scrollable&&t.scrollHeight==="flex","p-datatable-striped":t.stripedRows,"p-datatable-gridlines":t.showGridlines,"p-datatable-sm":t.size==="small","p-datatable-lg":t.size==="large"}]},mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:function(e){var t=e.position;return"p-datatable-paginator-"+t},tableContainer:"p-datatable-table-container",table:function(e){var t=e.props;return["p-datatable-table",{"p-datatable-scrollable-table":t.scrollable,"p-datatable-resizable-table":t.resizableColumns,"p-datatable-resizable-table-fit":t.resizableColumns&&t.columnResizeMode==="fit"}]},thead:"p-datatable-thead",headerCell:function(e){var t=e.instance,r=e.props,o=e.column;return o&&!t.columnProp(o,"hidden")&&(r.rowGroupMode!=="subheader"||r.groupRowsBy!==t.columnProp(o,"field"))?["p-datatable-header-cell",{"p-datatable-frozen-column":t.columnProp(o,"frozen")}]:["p-datatable-header-cell",{"p-datatable-sortable-column":t.columnProp("sortable"),"p-datatable-resizable-column":t.resizableColumns,"p-datatable-column-sorted":t.isColumnSorted(),"p-datatable-frozen-column":t.columnProp("frozen"),"p-datatable-reorderable-column":r.reorderableColumns}]},columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:function(e){var t=e.props;return["p-datatable-filter",{"p-datatable-inline-filter":t.display==="row","p-datatable-popover-filter":t.display==="menu"}]},filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:function(e){e.instance;var t=e.props;return["p-datatable-filter-overlay p-component",{"p-datatable-filter-overlay-popover":t.display==="menu"}]},filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:function(e){var t=e.instance,r=e.matchMode;return["p-datatable-filter-constraint",{"p-datatable-filter-constraint-selected":r&&t.isRowMatchModeSelected(r.value)}]},filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:function(e){var t=e.props;return t.frozenRow?"p-datatable-tbody p-datatable-frozen-tbody":"p-datatable-tbody"},rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",row:function(e){var t=e.instance,r=e.props,o=e.index,i=e.columnSelectionMode,a=[];return r.selectionMode&&a.push("p-datatable-selectable-row"),r.selection&&a.push({"p-datatable-row-selected":i?t.isSelected&&t.$parentInstance.$parentInstance.highlightOnSelect:t.isSelected}),r.contextMenuSelection&&a.push({"p-datatable-contextmenu-row-selected":t.isSelectedWithContextMenu}),a.push(o%2===0?"p-row-even":"p-row-odd"),a},rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:function(e){var t=e.instance;return[{"p-datatable-frozen-column":t.columnProp("frozen")}]},reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:function(e){var t=e.instance;return[{"p-datatable-frozen-column":t.columnProp("frozen")}]},virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-footer",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down"},l8={tableContainer:{overflow:"auto"},thead:{position:"sticky"},tfoot:{position:"sticky"}},c8=Re.extend({name:"datatable",theme:a8,classes:s8,inlineStyles:l8}),Is={name:"ChevronRightIcon",extends:Ze},u8=N("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1),d8=[u8];function f8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),d8,16)}Is.render=f8;var f1={name:"BarsIcon",extends:Ze},h8=N("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"},null,-1),p8=[h8];function g8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),p8,16)}f1.render=g8;var h1={name:"PencilIcon",extends:Ze},m8=N("path",{d:"M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",fill:"currentColor"},null,-1),b8=[m8];function y8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),b8,16)}h1.render=y8;var v8=function(e){var t=e.dt;return` -.p-radiobutton { - position: relative; - display: inline-flex; - user-select: none; - vertical-align: bottom; - width: `.concat(t("radiobutton.width"),`; - height: `).concat(t("radiobutton.height"),`; -} - -.p-radiobutton-input { - cursor: pointer; - appearance: none; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - opacity: 0; - z-index: 1; - outline: 0 none; - border: 1px solid transparent; - border-radius: 50%; -} - -.p-radiobutton-box { - display: flex; - justify-content: center; - align-items: center; - border-radius: 50%; - border: 1px solid `).concat(t("radiobutton.border.color"),`; - background: `).concat(t("radiobutton.background"),`; - width: `).concat(t("radiobutton.width"),`; - height: `).concat(t("radiobutton.height"),`; - transition: background `).concat(t("radiobutton.transition.duration"),", color ").concat(t("radiobutton.transition.duration"),", border-color ").concat(t("radiobutton.transition.duration"),", box-shadow ").concat(t("radiobutton.transition.duration"),", outline-color ").concat(t("radiobutton.transition.duration"),`; - outline-color: transparent; - box-shadow: `).concat(t("radiobutton.shadow"),`; -} - -.p-radiobutton-icon { - transition-duration: `).concat(t("radiobutton.transition.duration"),`; - background: transparent; - font-size: `).concat(t("radiobutton.icon.size"),`; - width: `).concat(t("radiobutton.icon.size"),`; - height: `).concat(t("radiobutton.icon.size"),`; - border-radius: 50%; - backface-visibility: hidden; - transform: translateZ(0) scale(0.1); -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box { - border-color: `).concat(t("radiobutton.hover.border.color"),`; -} - -.p-radiobutton-checked .p-radiobutton-box { - border-color: `).concat(t("radiobutton.checked.border.color"),`; - background: `).concat(t("radiobutton.checked.background"),`; -} - -.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon { - background: `).concat(t("radiobutton.icon.checked.color"),`; - transform: translateZ(0) scale(1, 1); - visibility: visible; -} - -.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box { - border-color: `).concat(t("radiobutton.checked.hover.border.color"),`; - background: `).concat(t("radiobutton.checked.hover.background"),`; -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon { - background: `).concat(t("radiobutton.icon.checked.hover.color"),`; -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box { - border-color: `).concat(t("radiobutton.focus.border.color"),`; - box-shadow: `).concat(t("radiobutton.focus.ring.shadow"),`; - outline: `).concat(t("radiobutton.focus.ring.width")," ").concat(t("radiobutton.focus.ring.style")," ").concat(t("radiobutton.focus.ring.color"),`; - outline-offset: `).concat(t("radiobutton.focus.ring.offset"),`; -} - -.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box { - border-color: `).concat(t("radiobutton.checked.focus.border.color"),`; -} - -.p-radiobutton.p-invalid > .p-radiobutton-box { - border-color: `).concat(t("radiobutton.invalid.border.color"),`; -} - -.p-radiobutton.p-variant-filled .p-radiobutton-box { - background: `).concat(t("radiobutton.filled.background"),`; -} - -.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box { - background: `).concat(t("radiobutton.checked.background"),`; -} - -.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box { - background: `).concat(t("radiobutton.checked.hover.background"),`; -} - -.p-radiobutton.p-disabled { - opacity: 1; -} - -.p-radiobutton.p-disabled .p-radiobutton-box { - background: `).concat(t("radiobutton.disabled.background"),`; - border-color: `).concat(t("radiobutton.checked.disabled.border.color"),`; -} - -.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon { - background: `).concat(t("radiobutton.icon.disabled.color"),`; -} -`)},w8={root:function(e){var t=e.instance,r=e.props;return["p-radiobutton p-component",{"p-radiobutton-checked":t.checked,"p-disabled":r.disabled,"p-invalid":r.invalid,"p-variant-filled":r.variant?r.variant==="filled":t.$primevue.config.inputStyle==="filled"||t.$primevue.config.inputVariant==="filled"}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},C8=Re.extend({name:"radiobutton",theme:v8,classes:w8}),S8={name:"BaseRadioButton",extends:xe,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default:null},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:C8,provide:function(){return{$pcRadioButton:this,$parentInstance:this}}},p1={name:"RadioButton",extends:S8,inheritAttrs:!1,emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){var t=e==="root"?this.ptmi:this.ptm;return t(e,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(e){if(!this.disabled&&!this.readonly){var t=this.binary?!this.checked:this.value;this.$emit("update:modelValue",t),this.$emit("change",e)}},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{checked:function(){return this.modelValue!=null&&(this.binary?!!this.modelValue:go(this.modelValue,this.value))}}},_8=["data-p-checked","data-p-disabled"],x8=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label","aria-invalid"];function k8(n,e,t,r,o,i){return v(),R("div",w({class:n.cx("root")},i.getPTOptions("root"),{"data-p-checked":i.checked,"data-p-disabled":n.disabled}),[N("input",w({id:n.inputId,type:"radio",class:[n.cx("input"),n.inputClass],style:n.inputStyle,value:n.value,name:n.name,checked:i.checked,tabindex:n.tabindex,disabled:n.disabled,readonly:n.readonly,"aria-labelledby":n.ariaLabelledby,"aria-label":n.ariaLabel,"aria-invalid":n.invalid||void 0,onFocus:e[0]||(e[0]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:e[1]||(e[1]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onChange:e[2]||(e[2]=function(){return i.onChange&&i.onChange.apply(i,arguments)})},i.getPTOptions("input")),null,16,x8),N("div",w({class:n.cx("box")},i.getPTOptions("box")),[N("div",w({class:n.cx("icon")},i.getPTOptions("icon")),null,16)],16)],16,_8)}p1.render=k8;var g1={name:"FilterIcon",extends:Ze},R8=N("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1),I8=[R8];function T8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),I8,16)}g1.render=T8;var m1={name:"FilterSlashIcon",extends:Ze},E8=N("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z",fill:"currentColor"},null,-1),P8=[E8];function O8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),P8,16)}m1.render=O8;var b1={name:"TrashIcon",extends:Ze},L8=N("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",fill:"currentColor"},null,-1),M8=[L8];function A8(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),M8,16)}b1.render=A8;var B8=Re.extend({name:"focustrap-directive"}),D8=Le.extend({style:B8});function Ua(n){"@babel/helpers - typeof";return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ua(n)}function mp(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function bp(n){for(var e=1;e=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw i}}}}function lS(n,e){if(n){if(typeof n=="string")return vp(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vp(n,e):void 0}}function vp(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t-1:this.groupRowsBy===t:!1},findIndexInSelection:function(e){return this.findIndex(e,this.selection)},findIndex:function(e,t){var r=-1;if(t&&t.length){for(var o=0;o-1:!1},isRowGroupExpanded:function(){if(this.expandableRowGroups&&this.expandedRowGroups){var e=Me(this.rowData,this.groupRowsBy);return this.expandedRowGroups.indexOf(e)>-1}return!1},isSelected:function(){return this.rowData&&this.selection?this.dataKey?this.selectionKeys?this.selectionKeys[Me(this.rowData,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(this.rowData)>-1:this.equals(this.rowData,this.selection):!1},isSelectedWithContextMenu:function(){return this.rowData&&this.contextMenuSelection?this.equals(this.rowData,this.contextMenuSelection,this.dataKey):!1},shouldRenderRowGroupHeader:function(){var e=Me(this.rowData,this.groupRowsBy),t=this.value[this.rowIndex-1];if(t){var r=Me(t,this.groupRowsBy);return e!==r}else return!0},shouldRenderRowGroupFooter:function(){if(this.expandableRowGroups&&!this.isRowGroupExpanded)return!1;var e=Me(this.rowData,this.groupRowsBy),t=this.value[this.rowIndex+1];if(t){var r=Me(t,this.groupRowsBy);return e!==r}else return!0},columnsLength:function(){var e=this;if(this.columns){var t=0;return this.columns.forEach(function(r){e.columnProp(r,"selectionMode")==="single"&&t--,e.columnProp(r,"hidden")&&t++}),this.columns.length-t}return 0}},components:{DTBodyCell:w1,ChevronDownIcon:Rs,ChevronRightIcon:Is}};function Za(n){"@babel/helpers - typeof";return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Za(n)}function Sp(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Mr(n){for(var e=1;e=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw i}}}}function ES(n,e){if(n){if(typeof n=="string")return kp(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?kp(n,e):void 0}}function kp(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t1},removeRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.removeRule:void 0},addRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.addRule:void 0},isShowAddConstraint:function(){return this.showAddButton&&this.filters[this.field].operator&&this.fieldConstraints&&this.fieldConstraints.length-1?e:e+1},isMultiSorted:function(){return this.sortMode==="multiple"&&this.columnProp("sortable")&&this.getMultiSortMetaIndex()>-1},isColumnSorted:function(){return this.sortMode==="single"?this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")):this.isMultiSorted()},updateStickyPosition:function(){if(this.columnProp("frozen")){var e=this.columnProp("alignFrozen");if(e==="right"){var t=0,r=Nd(this.$el,'[data-p-frozen-column="true"]');r&&(t=yt(r)+parseFloat(r.style.right||0)),this.styleObject.right=t+"px"}else{var o=0,i=jd(this.$el,'[data-p-frozen-column="true"]');i&&(o=yt(i)+parseFloat(i.style.left||0)),this.styleObject.left=o+"px"}var a=this.$el.parentElement.nextElementSibling;if(a){var s=ml(this.$el);a.children[s]&&(a.children[s].style.left=this.styleObject.left,a.children[s].style.right=this.styleObject.right)}}},onHeaderCheckboxChange:function(e){this.$emit("checkbox-change",e)}},computed:{containerClass:function(){return[this.cx("headerCell"),this.filterColumn?this.columnProp("filterHeaderClass"):this.columnProp("headerClass"),this.columnProp("class")]},containerStyle:function(){var e=this.filterColumn?this.columnProp("filterHeaderStyle"):this.columnProp("headerStyle"),t=this.columnProp("style");return this.columnProp("frozen")?[t,e,this.styleObject]:[t,e]},sortState:function(){var e=!1,t=null;if(this.sortMode==="single")e=this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")),t=e?this.sortOrder:0;else if(this.sortMode==="multiple"){var r=this.getMultiSortMetaIndex();r>-1&&(e=!0,t=this.multiSortMeta[r].order)}return{sorted:e,sortOrder:t}},sortableColumnIcon:function(){var e=this.sortState,t=e.sorted,r=e.sortOrder;if(t){if(t&&r>0)return ju;if(t&&r<0)return Nu}else return zu;return null},ariaSort:function(){if(this.columnProp("sortable")){var e=this.sortState,t=e.sorted,r=e.sortOrder;return t&&r<0?"descending":t&&r>0?"ascending":"none"}else return null}},components:{Badge:Kd,DTHeaderCheckbox:Zd,DTColumnFilter:Yd,SortAltIcon:zu,SortAmountUpAltIcon:ju,SortAmountDownIcon:Nu}};function ts(n){"@babel/helpers - typeof";return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ts(n)}function Ep(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Pp(n){for(var e=1;e=0||{}.propertyIsEnumerable.call(n,t)&&(o[t]=n[t])}return o}function t_(n,e){if(n==null)return{};var t={};for(var r in n)if({}.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function Lp(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function on(n){for(var e=1;e=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw i}}}}function ut(n){return u_(n)||c_(n)||qd(n)||l_()}function l_(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qd(n,e){if(n){if(typeof n=="string")return Vu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Vu(n,e):void 0}}function c_(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function u_(n){if(Array.isArray(n))return Vu(n)}function Vu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tr?this.multisortField(e,t,r+1):0:kl(o,i,this.d_multiSortMeta[r].order,a,this.d_nullSortOrder)},addMultiSortField:function(e){var t=this.d_multiSortMeta.findIndex(function(r){return r.field===e});t>=0?this.removableSort&&this.d_multiSortMeta[t].order*-1===this.defaultSortOrder?this.d_multiSortMeta.splice(t,1):this.d_multiSortMeta[t]={field:e,order:this.d_multiSortMeta[t].order*-1}:this.d_multiSortMeta.push({field:e,order:this.defaultSortOrder}),this.d_multiSortMeta=ut(this.d_multiSortMeta)},getActiveFilters:function(e){var t=function(a){var s=Mp(a,2),l=s[0],c=s[1];if(c.constraints){var u=c.constraints.filter(function(d){return d.value!==null});if(u.length>0)return[l,on(on({},c),{},{constraints:u})]}else if(c.value!==null)return[l,c]},r=function(a){return a!==void 0},o=Object.entries(e).map(t).filter(r);return Object.fromEntries(o)},filter:function(e){var t=this;if(e){this.clearEditingMetaData();var r=this.getActiveFilters(this.filters),o;r.global&&(o=this.globalFilterFields||this.columns.map(function(_){return t.columnProp(_,"filterField")||t.columnProp(_,"field")}));for(var i=[],a=0;a=a.length?a.length-1:r+1;this.onRowClick({originalEvent:e,data:a[s],index:s})}e.preventDefault()},onArrowUpKey:function(e,t,r,o){var i=this.findPrevSelectableRow(t);if(i&&this.focusRowChange(t,i),e.shiftKey){var a=this.dataToRender(o.rows),s=r-1<=0?0:r-1;this.onRowClick({originalEvent:e,data:a[s],index:s})}e.preventDefault()},onHomeKey:function(e,t,r,o){var i=this.findFirstSelectableRow();if(i&&this.focusRowChange(t,i),e.ctrlKey&&e.shiftKey){var a=this.dataToRender(o.rows);this.$emit("update:selection",a.slice(0,r+1))}e.preventDefault()},onEndKey:function(e,t,r,o){var i=this.findLastSelectableRow();if(i&&this.focusRowChange(t,i),e.ctrlKey&&e.shiftKey){var a=this.dataToRender(o.rows);this.$emit("update:selection",a.slice(r,a.length))}e.preventDefault()},onEnterKey:function(e,t,r){this.onRowClick({originalEvent:e,data:t,index:r}),e.preventDefault()},onSpaceKey:function(e,t,r,o){if(this.onEnterKey(e,t,r),e.shiftKey&&this.selection!==null){var i=this.dataToRender(o.rows),a;if(this.selection.length>0){var s,l;s=Ac(this.selection[0],i),l=Ac(this.selection[this.selection.length-1],i),a=r<=s?l:s}else a=Ac(this.selection,i);var c=a!==r?i.slice(Math.min(a,r),Math.max(a,r)+1):t;this.$emit("update:selection",c)}},onTabKey:function(e,t){var r=this.$refs.bodyRef&&this.$refs.bodyRef.$el,o=Ht(r,'tr[data-p-selectable-row="true"]');if(e.code==="Tab"&&o&&o.length>0){var i=ht(r,'tr[data-p-selected="true"]'),a=ht(r,'tr[data-p-selectable-row="true"][tabindex="0"]');i?(i.tabIndex="0",a&&a!==i&&(a.tabIndex="-1")):(o[0].tabIndex="0",a!==o[0]&&(o[t].tabIndex="-1"))}},findNextSelectableRow:function(e){var t=e.nextElementSibling;return t?rt(t,"data-p-selectable-row")===!0?t:this.findNextSelectableRow(t):null},findPrevSelectableRow:function(e){var t=e.previousElementSibling;return t?rt(t,"data-p-selectable-row")===!0?t:this.findPrevSelectableRow(t):null},findFirstSelectableRow:function(){var e=ht(this.$refs.table,'tr[data-p-selectable-row="true"]');return e},findLastSelectableRow:function(){var e=Ht(this.$refs.table,'tr[data-p-selectable-row="true"]');return e?e[e.length-1]:null},focusRowChange:function(e,t){e.tabIndex="-1",t.tabIndex="0",St(t)},toggleRowWithRadio:function(e){var t=e.data;this.isSelected(t)?(this.$emit("update:selection",null),this.$emit("row-unselect",{originalEvent:e.originalEvent,data:t,index:e.index,type:"radiobutton"})):(this.$emit("update:selection",t),this.$emit("row-select",{originalEvent:e.originalEvent,data:t,index:e.index,type:"radiobutton"}))},toggleRowWithCheckbox:function(e){var t=e.data;if(this.isSelected(t)){var r=this.findIndexInSelection(t),o=this.selection.filter(function(a,s){return s!=r});this.$emit("update:selection",o),this.$emit("row-unselect",{originalEvent:e.originalEvent,data:t,index:e.index,type:"checkbox"})}else{var i=this.selection?ut(this.selection):[];i=[].concat(ut(i),[t]),this.$emit("update:selection",i),this.$emit("row-select",{originalEvent:e.originalEvent,data:t,index:e.index,type:"checkbox"})}},toggleRowsWithCheckbox:function(e){if(this.selectAll!==null)this.$emit("select-all-change",e);else{var t=e.originalEvent,r=e.checked,o=[];r?(o=this.frozenValue?[].concat(ut(this.frozenValue),ut(this.processedData)):this.processedData,this.$emit("row-select-all",{originalEvent:t,data:o})):this.$emit("row-unselect-all",{originalEvent:t}),this.$emit("update:selection",o)}},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isSelected:function(e){return e&&this.selection?this.dataKey?this.d_selectionKeys?this.d_selectionKeys[Me(e,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(e)>-1:this.equals(e,this.selection):!1},findIndexInSelection:function(e){return this.findIndex(e,this.selection)},findIndex:function(e,t){var r=-1;if(t&&t.length){for(var o=0;othis.anchorRowIndex?(t=this.anchorRowIndex,r=this.rangeRowIndex):this.rangeRowIndexparseInt(o,10)){if(this.columnResizeMode==="fit"){var i=this.resizeColumnElement.nextElementSibling,a=i.offsetWidth-e;r>15&&a>15&&this.resizeTableCells(r,a)}else if(this.columnResizeMode==="expand"){var s=this.$refs.table.offsetWidth+e+"px",l=function(f){f&&(f.style.width=f.style.minWidth=s)};if(this.resizeTableCells(r),l(this.$refs.table),!this.virtualScrollerDisabled){var c=this.$refs.bodyRef&&this.$refs.bodyRef.$el,u=this.$refs.frozenBodyRef&&this.$refs.frozenBodyRef.$el;l(c),l(u)}}this.$emit("column-resize-end",{element:this.resizeColumnElement,delta:e})}this.$refs.resizeHelper.style.display="none",this.resizeColumn=null,this.$el.removeAttribute("data-p-unselectable-text"),!this.isUnstyled&&(this.$el.style["user-select"]=""),this.unbindColumnResizeEvents(),this.isStateful()&&this.saveState()},resizeTableCells:function(e,t){var r=ml(this.resizeColumnElement),o=[],i=Ht(this.$refs.table,'thead[data-pc-section="thead"] > tr > th');i.forEach(function(l){return o.push(yt(l))}),this.destroyStyleElement(),this.createStyleElement();var a="",s='[data-pc-name="datatable"]['.concat(this.attributeSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');o.forEach(function(l,c){var u=c===r?e:t&&c===r+1?t:l,d="width: ".concat(u,"px !important; max-width: ").concat(u,"px !important");a+=` - `.concat(s,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(c+1,`), - `).concat(s,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(c+1,`), - `).concat(s,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(c+1,`) { - `).concat(d,` - } - `)}),this.styleElement.innerHTML=a},bindColumnResizeEvents:function(){var e=this;this.documentColumnResizeListener||(this.documentColumnResizeListener=document.addEventListener("mousemove",function(){e.columnResizing&&e.onColumnResize(event)})),this.documentColumnResizeEndListener||(this.documentColumnResizeEndListener=document.addEventListener("mouseup",function(){e.columnResizing&&(e.columnResizing=!1,e.onColumnResizeEnd())}))},unbindColumnResizeEvents:function(){this.documentColumnResizeListener&&(document.removeEventListener("document",this.documentColumnResizeListener),this.documentColumnResizeListener=null),this.documentColumnResizeEndListener&&(document.removeEventListener("document",this.documentColumnResizeEndListener),this.documentColumnResizeEndListener=null)},onColumnHeaderMouseDown:function(e){var t=e.originalEvent,r=e.column;this.reorderableColumns&&this.columnProp(r,"reorderableColumn")!==!1&&(t.target.nodeName==="INPUT"||t.target.nodeName==="TEXTAREA"||rt(t.target,'[data-pc-section="columnresizer"]')?t.currentTarget.draggable=!1:t.currentTarget.draggable=!0)},onColumnHeaderDragStart:function(e){var t=e.originalEvent,r=e.column;if(this.columnResizing){t.preventDefault();return}this.colReorderIconWidth=E5(this.$refs.reorderIndicatorUp),this.colReorderIconHeight=T5(this.$refs.reorderIndicatorUp),this.draggedColumn=r,this.draggedColumnElement=this.findParentHeader(t.target),t.dataTransfer.setData("text","b")},onColumnHeaderDragOver:function(e){var t=e.originalEvent,r=e.column,o=this.findParentHeader(t.target);if(this.reorderableColumns&&this.draggedColumnElement&&o&&!this.columnProp(r,"frozen")){t.preventDefault();var i=Zn(this.$el),a=Zn(o);if(this.draggedColumnElement!==o){var s=a.left-i.left,l=a.left+o.offsetWidth/2;this.$refs.reorderIndicatorUp.style.top=a.top-i.top-(this.colReorderIconHeight-1)+"px",this.$refs.reorderIndicatorDown.style.top=a.top-i.top+o.offsetHeight+"px",t.pageX>l?(this.$refs.reorderIndicatorUp.style.left=s+o.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=s+o.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=1):(this.$refs.reorderIndicatorUp.style.left=s-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=s-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=-1),this.$refs.reorderIndicatorUp.style.display="block",this.$refs.reorderIndicatorDown.style.display="block"}}},onColumnHeaderDragLeave:function(e){var t=e.originalEvent;this.reorderableColumns&&this.draggedColumnElement&&(t.preventDefault(),this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none")},onColumnHeaderDrop:function(e){var t=this,r=e.originalEvent,o=e.column;if(r.preventDefault(),this.draggedColumnElement){var i=ml(this.draggedColumnElement),a=ml(this.findParentHeader(r.target)),s=i!==a;if(s&&(a-i===1&&this.dropPosition===-1||a-i===-1&&this.dropPosition===1)&&(s=!1),s){var l=function(y,m){return t.columnProp(y,"columnKey")||t.columnProp(m,"columnKey")?t.columnProp(y,"columnKey")===t.columnProp(m,"columnKey"):t.columnProp(y,"field")===t.columnProp(m,"field")},c=this.columns.findIndex(function(b){return l(b,t.draggedColumn)}),u=this.columns.findIndex(function(b){return l(b,o)}),d=[],f=Ht(this.$el,'thead[data-pc-section="thead"] > tr > th');f.forEach(function(b){return d.push(yt(b))});var h=d.find(function(b,y){return y===c}),p=d.filter(function(b,y){return y!==c}),g=[].concat(ut(p.slice(0,u)),[h],ut(p.slice(u)));this.addColumnWidthStyles(g),uc&&this.dropPosition===-1&&u--,Oh(this.columns,c,u),this.updateReorderableColumns(),this.$emit("column-reorder",{originalEvent:r,dragIndex:c,dropIndex:u})}this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none",this.draggedColumnElement.draggable=!1,this.draggedColumnElement=null,this.draggedColumn=null,this.dropPosition=null}},findParentHeader:function(e){if(e.nodeName==="TH")return e;for(var t=e.parentElement;t.nodeName!=="TH"&&(t=t.parentElement,!!t););return t},findColumnByKey:function(e,t){if(e&&e.length)for(var r=0;rthis.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1,r=ut(this.processedData);Oh(r,this.draggedRowIndex+this.d_first,t+this.d_first),this.$emit("row-reorder",{originalEvent:e,dragIndex:this.draggedRowIndex,dropIndex:t,value:r})}this.onRowDragLeave(e),this.onRowDragEnd(e),e.preventDefault()},toggleRow:function(e){var t=this,r=e.expanded,o=e_(e,QS),i=e.data,a;if(this.dataKey){var s=Me(i,this.dataKey);a=this.expandedRows?on({},this.expandedRows):{},r?a[s]=!0:delete a[s]}else a=this.expandedRows?ut(this.expandedRows):[],r?a.push(i):a=a.filter(function(l){return!t.equals(i,l)});this.$emit("update:expandedRows",a),r?this.$emit("row-expand",o):this.$emit("row-collapse",o)},toggleRowGroup:function(e){var t=e.originalEvent,r=e.data,o=Me(r,this.groupRowsBy),i=this.expandedRowGroups?ut(this.expandedRowGroups):[];this.isRowGroupExpanded(r)?(i=i.filter(function(a){return a!==o}),this.$emit("update:expandedRowGroups",i),this.$emit("rowgroup-collapse",{originalEvent:t,data:o})):(i.push(o),this.$emit("update:expandedRowGroups",i),this.$emit("rowgroup-expand",{originalEvent:t,data:o}))},isRowGroupExpanded:function(e){if(this.expandableRowGroups&&this.expandedRowGroups){var t=Me(e,this.groupRowsBy);return this.expandedRowGroups.indexOf(t)>-1}return!1},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.d_first,t.rows=this.d_rows),this.d_sortField&&(t.sortField=this.d_sortField,t.sortOrder=this.d_sortOrder),this.d_multiSortMeta&&(t.multiSortMeta=this.d_multiSortMeta),this.hasFilters&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&(t.columnOrder=this.d_columnOrder),this.expandedRows&&(t.expandedRows=this.expandedRows),this.expandedRowGroups&&(t.expandedRowGroups=this.expandedRowGroups),this.selection&&(t.selection=this.selection,t.selectionKeys=this.d_selectionKeys),Object.keys(t).length&&e.setItem(this.stateKey,JSON.stringify(t)),this.$emit("state-save",t)},restoreState:function(){var e=this.getStorage(),t=e.getItem(this.stateKey),r=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,o=function(s,l){return typeof l=="string"&&r.test(l)?new Date(l):l};if(t){var i=JSON.parse(t,o);this.paginator&&(this.d_first=i.first,this.d_rows=i.rows),i.sortField&&(this.d_sortField=i.sortField,this.d_sortOrder=i.sortOrder),i.multiSortMeta&&(this.d_multiSortMeta=i.multiSortMeta),i.filters&&this.$emit("update:filters",i.filters),this.resizableColumns&&(this.columnWidthsState=i.columnWidths,this.tableWidthState=i.tableWidth),this.reorderableColumns&&(this.d_columnOrder=i.columnOrder),i.expandedRows&&this.$emit("update:expandedRows",i.expandedRows),i.expandedRowGroups&&this.$emit("update:expandedRowGroups",i.expandedRowGroups),i.selection&&(this.d_selectionKeys=i.d_selectionKeys,this.$emit("update:selection",i.selection)),this.$emit("state-restore",i)}},saveColumnWidths:function(e){var t=[],r=Ht(this.$el,'thead[data-pc-section="thead"] > tr > th');r.forEach(function(o){return t.push(yt(o))}),e.columnWidths=t.join(","),this.columnResizeMode==="expand"&&(e.tableWidth=yt(this.$refs.table)+"px")},addColumnWidthStyles:function(e){this.createStyleElement();var t="",r='[data-pc-name="datatable"]['.concat(this.attributeSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');e.forEach(function(o,i){var a="width: ".concat(o,"px !important; max-width: ").concat(o,"px !important");t+=` - `.concat(r,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(i+1,`), - `).concat(r,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(i+1,`), - `).concat(r,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(i+1,`) { - `).concat(a,` - } - `)}),this.styleElement.innerHTML=t},restoreColumnWidths:function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),Ve(e)&&this.addColumnWidthStyles(e)}},onCellEditInit:function(e){this.$emit("cell-edit-init",e)},onCellEditComplete:function(e){this.$emit("cell-edit-complete",e)},onCellEditCancel:function(e){this.$emit("cell-edit-cancel",e)},onRowEditInit:function(e){var t=this.editingRows?ut(this.editingRows):[];t.push(e.data),this.$emit("update:editingRows",t),this.$emit("row-edit-init",e)},onRowEditSave:function(e){var t=ut(this.editingRows);t.splice(this.findIndex(e.data,t),1),this.$emit("update:editingRows",t),this.$emit("row-edit-save",e)},onRowEditCancel:function(e){var t=ut(this.editingRows);t.splice(this.findIndex(e.data,t),1),this.$emit("update:editingRows",t),this.$emit("row-edit-cancel",e)},onEditingMetaChange:function(e){var t=e.data,r=e.field,o=e.index,i=e.editing,a=on({},this.d_editingMeta),s=a[o];if(i)!s&&(s=a[o]={data:on({},t),fields:[]}),s.fields.push(r);else if(s){var l=s.fields.filter(function(c){return c!==r});l.length?s.fields=l:delete a[o]}this.d_editingMeta=a},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(e){return{originalEvent:e,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(e){this.d_filters=e},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(){var e={};return this.filters&&Object.entries(this.filters).forEach(function(t){var r=Mp(t,2),o=r[0],i=r[1];e[o]=i.operator?{operator:i.operator,constraints:i.constraints.map(function(a){return on({},a)})}:on({},i)}),e},updateReorderableColumns:function(){var e=this,t=[];this.columns.forEach(function(r){return t.push(e.columnProp(r,"columnKey")||e.columnProp(r,"field"))}),this.d_columnOrder=t},createStyleElement:function(){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",Bi(this.styleElement,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(e){var t=e||this.processedData;if(t&&this.paginator){var r=this.lazy?0:this.d_first;return t.slice(r,r+this.d_rows)}return t},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(e){return Ve(e)}},computed:{columns:function(){var e=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var t=[],r=Ui(this.d_columnOrder),o;try{for(r.s();!(o=r.n()).done;){var i=o.value,a=this.findColumnByKey(e,i);a&&!this.columnProp(a,"hidden")&&t.push(a)}}catch(s){r.e(s)}finally{r.f()}return[].concat(t,ut(e.filter(function(s){return t.indexOf(s)<0})))}return e},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var e,t=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return t.columnProp(r,"type")==="header"})},footerColumnGroup:function(){var e,t=this;return(e=this.columnGroups)===null||e===void 0?void 0:e.find(function(r){return t.columnProp(r,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var e,t=this.value||[];return!this.lazy&&!((e=this.virtualScrollerOptions)!==null&&e!==void 0&&e.lazy)&&t&&t.length&&(this.hasFilters&&(t=this.filter(t)),this.sorted&&(this.sortMode==="single"?t=this.sortSingle(t):this.sortMode==="multiple"&&(t=this.sortMultiple(t)))),t},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var e=this.processedData;return e?e.length:0},empty:function(){var e=this.processedData;return!e||e.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var e=this;if(this.selectAll!==null)return this.selectAll;var t=this.frozenValue?[].concat(ut(this.frozenValue),ut(this.processedData)):this.processedData;return Ve(t)&&this.selection&&Array.isArray(this.selection)&&t.every(function(r){return e.selection.some(function(o){return e.equals(o,r)})})},attributeSelector:function(){return lt()},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return on(on({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:on({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:on({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return on(on({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return hn(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:Wd,DTTableHeader:R1,DTTableBody:S1,DTTableFooter:x1,DTVirtualScroller:Hd,ArrowDownIcon:u1,ArrowUpIcon:d1,SpinnerIcon:ks}};function os(n){"@babel/helpers - typeof";return os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},os(n)}function Ap(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Bp(n){for(var e=1;e=e.minX&&l+r=e.minY&&c+o{},jn=Array.isArray,L1=/#/g,G_=/&/g,K_=/\//g,H_=/=/g,W_=/\?/g,M1=/\+/g,U_=/%5B/g,X_=/%5D/g,A1=/%5E/g,Y_=/%60/g,B1=/%7B/g,Z_=/%7C/g,D1=/%7D/g,q_=/%20/g;function Jd(n){return encodeURI(""+n).replace(Z_,"|").replace(U_,"[").replace(X_,"]")}function J_(n){return Jd(n).replace(B1,"{").replace(D1,"}").replace(A1,"^")}function Gu(n){return Jd(n).replace(M1,"%2B").replace(q_,"+").replace(L1,"%23").replace(G_,"%26").replace(Y_,"`").replace(B1,"{").replace(D1,"}").replace(A1,"^")}function Q_(n){return Gu(n).replace(H_,"%3D")}function ex(n){return Jd(n).replace(L1,"%23").replace(W_,"%3F")}function tx(n){return n==null?"":ex(n).replace(K_,"%2F")}function as(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const nx=/\/$/,rx=n=>n.replace(nx,"");function Vc(n,e,t="/"){let r,o={},i="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return s=0&&(l=-1),l>-1&&(r=e.slice(0,l),i=e.slice(l+1,s>-1?s:e.length),o=n(i)),s>-1&&(r=r||e.slice(0,s),a=e.slice(s,e.length)),r=sx(r??e,t),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:as(a)}}function ox(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function $p(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function ix(n,e,t){const r=e.matched.length-1,o=t.matched.length-1;return r>-1&&r===o&&_i(e.matched[r],t.matched[o])&&F1(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function _i(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function F1(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!ax(n[t],e[t]))return!1;return!0}function ax(n,e){return jn(n)?zp(n,e):jn(e)?zp(e,n):n===e}function zp(n,e){return jn(e)?n.length===e.length&&n.every((t,r)=>t===e[r]):n.length===1&&n[0]===e}function sx(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),r=n.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=t.length-1,a,s;for(a=0;a1&&i--;else break;return t.slice(0,i).join("/")+"/"+r.slice(a).join("/")}const Ar={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ss;(function(n){n.pop="pop",n.push="push"})(ss||(ss={}));var ba;(function(n){n.back="back",n.forward="forward",n.unknown=""})(ba||(ba={}));function lx(n){if(!n)if(Jo){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),rx(n)}const cx=/^[^#]+#/;function ux(n,e){return n.replace(cx,"#")+e}function dx(n,e){const t=document.documentElement.getBoundingClientRect(),r=n.getBoundingClientRect();return{behavior:e.behavior,left:r.left-t.left-(e.left||0),top:r.top-t.top-(e.top||0)}}const ic=()=>({left:window.scrollX,top:window.scrollY});function fx(n){let e;if("el"in n){const t=n.el,r=typeof t=="string"&&t.startsWith("#"),o=typeof t=="string"?r?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!o)return;e=dx(o,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Np(n,e){return(history.state?history.state.position-e:-1)+n}const Ku=new Map;function hx(n,e){Ku.set(n,e)}function px(n){const e=Ku.get(n);return Ku.delete(n),e}let gx=()=>location.protocol+"//"+location.host;function $1(n,e){const{pathname:t,search:r,hash:o}=e,i=n.indexOf("#");if(i>-1){let s=o.includes(n.slice(i))?n.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),$p(l,"")}return $p(t,n)+r+o}function mx(n,e,t,r){let o=[],i=[],a=null;const s=({state:f})=>{const h=$1(n,location),p=t.value,g=e.value;let b=0;if(f){if(t.value=h,e.value=f,a&&a===p){a=null;return}b=g?f.position-g.position:0}else r(h);o.forEach(y=>{y(t.value,p,{delta:b,type:ss.pop,direction:b?b>0?ba.forward:ba.back:ba.unknown})})};function l(){a=t.value}function c(f){o.push(f);const h=()=>{const p=o.indexOf(f);p>-1&&o.splice(p,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(nt({},f.state,{scroll:ic()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function jp(n,e,t,r=!1,o=!1){return{back:n,current:e,forward:t,replaced:r,position:window.history.length,scroll:o?ic():null}}function bx(n){const{history:e,location:t}=window,r={value:$1(n,t)},o={value:e.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=n.indexOf("#"),f=d>-1?(t.host&&document.querySelector("base")?n:n.slice(d))+l:gx()+n+l;try{e[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(h){console.error(h),t[u?"replace":"assign"](f)}}function a(l,c){const u=nt({},e.state,jp(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,u,!0),r.value=l}function s(l,c){const u=nt({},o.value,e.state,{forward:l,scroll:ic()});i(u.current,u,!0);const d=nt({},jp(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:o,push:s,replace:a}}function yx(n){n=lx(n);const e=bx(n),t=mx(n,e.state,e.location,e.replace);function r(i,a=!0){a||t.pauseListeners(),history.go(i)}const o=nt({location:"",base:n,go:r,createHref:ux.bind(null,n)},e,t);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function vx(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),yx(n)}function wx(n){return typeof n=="string"||n&&typeof n=="object"}function z1(n){return typeof n=="string"||typeof n=="symbol"}const N1=Symbol("");var Vp;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Vp||(Vp={}));function xi(n,e){return nt(new Error,{type:n,[N1]:!0},e)}function fr(n,e){return n instanceof Error&&N1 in n&&(e==null||!!(n.type&e))}const Gp="[^/]+?",Cx={sensitive:!1,strict:!1,start:!0,end:!0},Sx=/[.+*?^${}()[\]/\\]/g;function _x(n,e){const t=nt({},Cx,e),r=[];let o=t.start?"^":"";const i=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(o+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function j1(n,e){let t=0;const r=n.score,o=e.score;for(;t0&&e[e.length-1]<0}const kx={type:0,value:""},Rx=/[a-zA-Z0-9_]/;function Ix(n){if(!n)return[[]];if(n==="/")return[[kx]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(h){throw new Error(`ERR (${t})/"${c}": ${h}`)}let t=0,r=t;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(t===0?i.push({type:0,value:c}):t===1||t===2||t===3?(i.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(C)}:ma}function a(d){if(z1(d)){const f=r.get(d);f&&(r.delete(d),t.splice(t.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=t.indexOf(d);f>-1&&(t.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return t}function l(d){const f=Mx(d,t);t.splice(f,0,d),d.record.name&&!Wp(d)&&r.set(d.record.name,d)}function c(d,f){let h,p={},g,b;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw xi(1,{location:d});b=h.record.name,p=nt(Hp(f.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&Hp(d.params,h.keys.map(C=>C.name))),g=h.stringify(p)}else if(d.path!=null)g=d.path,h=t.find(C=>C.re.test(g)),h&&(p=h.parse(g),b=h.record.name);else{if(h=f.name?r.get(f.name):t.find(C=>C.re.test(f.path)),!h)throw xi(1,{location:d,currentLocation:f});b=h.record.name,p=nt({},f.params,d.params),g=h.stringify(p)}const y=[];let m=h;for(;m;)y.unshift(m.record),m=m.parent;return{name:b,path:g,params:p,matched:y,meta:Lx(y)}}n.forEach(d=>i(d));function u(){t.length=0,r.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:o}}function Hp(n,e){const t={};for(const r of e)r in n&&(t[r]=n[r]);return t}function Px(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:Ox(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function Ox(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const r in n.components)e[r]=typeof t=="object"?t[r]:t;return e}function Wp(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function Lx(n){return n.reduce((e,t)=>nt(e,t.meta),{})}function Up(n,e){const t={};for(const r in n)t[r]=r in e?e[r]:n[r];return t}function Mx(n,e){let t=0,r=e.length;for(;t!==r;){const i=t+r>>1;j1(n,e[i])<0?r=i:t=i+1}const o=Ax(n);return o&&(r=e.lastIndexOf(o,r-1)),r}function Ax(n){let e=n;for(;e=e.parent;)if(V1(e)&&j1(n,e)===0)return e}function V1({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Bx(n){const e={};if(n===""||n==="?")return e;const r=(n[0]==="?"?n.slice(1):n).split("&");for(let o=0;oi&&Gu(i)):[r&&Gu(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+t,i!=null&&(e+="="+i))})}return e}function Dx(n){const e={};for(const t in n){const r=n[t];r!==void 0&&(e[t]=jn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return e}const Fx=Symbol(""),Yp=Symbol(""),Qd=Symbol(""),G1=Symbol(""),Hu=Symbol("");function Xi(){let n=[];function e(r){return n.push(r),()=>{const o=n.indexOf(r);o>-1&&n.splice(o,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function Wr(n,e,t,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(xi(4,{from:t,to:e})):f instanceof Error?l(f):wx(f)?l(xi(2,{from:e,to:f})):(a&&r.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>n.call(r&&r.instances[o],e,t,c));let d=Promise.resolve(u);n.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Gc(n,e,t,r,o=i=>i()){const i=[];for(const a of n)for(const s in a.components){let l=a.components[s];if(!(e!=="beforeRouteEnter"&&!a.instances[s]))if($x(l)){const u=(l.__vccOpts||l)[e];u&&i.push(Wr(u,t,r,a,s,o))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=V_(u)?u.default:u;a.components[s]=d;const h=(d.__vccOpts||d)[e];return h&&Wr(h,t,r,a,s,o)()}))}}return i}function $x(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function Zp(n){const e=pe(Qd),t=pe(G1),r=kn(()=>{const l=at(n.to);return e.resolve(l)}),o=kn(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=t.matched;if(!u||!d.length)return-1;const f=d.findIndex(_i.bind(null,u));if(f>-1)return f;const h=qp(l[c-2]);return c>1&&qp(u)===h&&d[d.length-1].path!==h?d.findIndex(_i.bind(null,l[c-2])):f}),i=kn(()=>o.value>-1&&Vx(t.params,r.value.params)),a=kn(()=>o.value>-1&&o.value===t.matched.length-1&&F1(t.params,r.value.params));function s(l={}){return jx(l)?e[at(n.replace)?"replace":"push"](at(n.to)).catch(ma):Promise.resolve()}return{route:r,href:kn(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const zx=Mm({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:Zp,setup(n,{slots:e}){const t=_s(Zp(n)),{options:r}=pe(Qd),o=kn(()=>({[Jp(n.activeClass,r.linkActiveClass,"router-link-active")]:t.isActive,[Jp(n.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const i=e.default&&e.default(t);return n.custom?i:Md("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:o.value},i)}}}),Nx=zx;function jx(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function Vx(n,e){for(const t in e){const r=e[t],o=n[t];if(typeof r=="string"){if(r!==o)return!1}else if(!jn(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function qp(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Jp=(n,e,t)=>n??e??t,Gx=Mm({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const r=pe(Hu),o=kn(()=>n.route||r.value),i=pe(Yp,0),a=kn(()=>{let c=at(i);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=kn(()=>o.value.matched[a.value]);wr(Yp,kn(()=>a.value+1)),wr(Fx,s),wr(Hu,o);const l=Ne();return cn(()=>[l.value,s.value,n.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!_i(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=n.name,d=s.value,f=d&&d.components[u];if(!f)return Qp(t.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=Md(f,nt({},p,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Qp(t.default,{Component:b,route:c})||b}}});function Qp(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const Kx=Gx;function Hx(n){const e=Ex(n.routes,n),t=n.parseQuery||Bx,r=n.stringifyQuery||Xp,o=n.history,i=Xi(),a=Xi(),s=Xi(),l=cv(Ar);let c=Ar;Jo&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=jc.bind(null,B=>""+B),d=jc.bind(null,tx),f=jc.bind(null,as);function h(B,ae){let oe,ce;return z1(B)?(oe=e.getRecordMatcher(B),ce=ae):ce=B,e.addRoute(ce,oe)}function p(B){const ae=e.getRecordMatcher(B);ae&&e.removeRoute(ae)}function g(){return e.getRoutes().map(B=>B.record)}function b(B){return!!e.getRecordMatcher(B)}function y(B,ae){if(ae=nt({},ae||l.value),typeof B=="string"){const x=Vc(t,B,ae.path),L=e.resolve({path:x.path},ae),V=o.createHref(x.fullPath);return nt(x,L,{params:f(L.params),hash:as(x.hash),redirectedFrom:void 0,href:V})}let oe;if(B.path!=null)oe=nt({},B,{path:Vc(t,B.path,ae.path).path});else{const x=nt({},B.params);for(const L in x)x[L]==null&&delete x[L];oe=nt({},B,{params:d(x)}),ae.params=d(ae.params)}const ce=e.resolve(oe,ae),De=B.hash||"";ce.params=u(f(ce.params));const et=ox(r,nt({},B,{hash:J_(De),path:ce.path})),S=o.createHref(et);return nt({fullPath:et,hash:De,query:r===Xp?Dx(B.query):B.query||{}},ce,{redirectedFrom:void 0,href:S})}function m(B){return typeof B=="string"?Vc(t,B,l.value.path):nt({},B)}function C(B,ae){if(c!==B)return xi(8,{from:ae,to:B})}function _(B){return E(B)}function k(B){return _(nt(m(B),{replace:!0}))}function I(B){const ae=B.matched[B.matched.length-1];if(ae&&ae.redirect){const{redirect:oe}=ae;let ce=typeof oe=="function"?oe(B):oe;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=m(ce):{path:ce},ce.params={}),nt({query:B.query,hash:B.hash,params:ce.path!=null?{}:B.params},ce)}}function E(B,ae){const oe=c=y(B),ce=l.value,De=B.state,et=B.force,S=B.replace===!0,x=I(oe);if(x)return E(nt(m(x),{state:typeof x=="object"?nt({},De,x.state):De,force:et,replace:S}),ae||oe);const L=oe;L.redirectedFrom=ae;let V;return!et&&ix(r,ce,oe)&&(V=xi(16,{to:L,from:ce}),q(ce,ce,!0,!1)),(V?Promise.resolve(V):F(L,ce)).catch($=>fr($)?fr($,2)?$:G($):ee($,L,ce)).then($=>{if($){if(fr($,2))return E(nt({replace:S},m($.to),{state:typeof $.to=="object"?nt({},De,$.to.state):De,force:et}),ae||L)}else $=O(L,ce,!0,S,De);return M(L,ce,$),$})}function T(B,ae){const oe=C(B,ae);return oe?Promise.reject(oe):Promise.resolve()}function P(B){const ae=j.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(B):B()}function F(B,ae){let oe;const[ce,De,et]=Wx(B,ae);oe=Gc(ce.reverse(),"beforeRouteLeave",B,ae);for(const x of ce)x.leaveGuards.forEach(L=>{oe.push(Wr(L,B,ae))});const S=T.bind(null,B,ae);return oe.push(S),Be(oe).then(()=>{oe=[];for(const x of i.list())oe.push(Wr(x,B,ae));return oe.push(S),Be(oe)}).then(()=>{oe=Gc(De,"beforeRouteUpdate",B,ae);for(const x of De)x.updateGuards.forEach(L=>{oe.push(Wr(L,B,ae))});return oe.push(S),Be(oe)}).then(()=>{oe=[];for(const x of et)if(x.beforeEnter)if(jn(x.beforeEnter))for(const L of x.beforeEnter)oe.push(Wr(L,B,ae));else oe.push(Wr(x.beforeEnter,B,ae));return oe.push(S),Be(oe)}).then(()=>(B.matched.forEach(x=>x.enterCallbacks={}),oe=Gc(et,"beforeRouteEnter",B,ae,P),oe.push(S),Be(oe))).then(()=>{oe=[];for(const x of a.list())oe.push(Wr(x,B,ae));return oe.push(S),Be(oe)}).catch(x=>fr(x,8)?x:Promise.reject(x))}function M(B,ae,oe){s.list().forEach(ce=>P(()=>ce(B,ae,oe)))}function O(B,ae,oe,ce,De){const et=C(B,ae);if(et)return et;const S=ae===Ar,x=Jo?history.state:{};oe&&(ce||S?o.replace(B.fullPath,nt({scroll:S&&x&&x.scroll},De)):o.push(B.fullPath,De)),l.value=B,q(B,ae,oe,S),G()}let W;function Z(){W||(W=o.listen((B,ae,oe)=>{if(!Qe.listening)return;const ce=y(B),De=I(ce);if(De){E(nt(De,{replace:!0}),ce).catch(ma);return}c=ce;const et=l.value;Jo&&hx(Np(et.fullPath,oe.delta),ic()),F(ce,et).catch(S=>fr(S,12)?S:fr(S,2)?(E(S.to,ce).then(x=>{fr(x,20)&&!oe.delta&&oe.type===ss.pop&&o.go(-1,!1)}).catch(ma),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),ee(S,ce,et))).then(S=>{S=S||O(ce,et,!1),S&&(oe.delta&&!fr(S,8)?o.go(-oe.delta,!1):oe.type===ss.pop&&fr(S,20)&&o.go(-1,!1)),M(ce,et,S)}).catch(ma)}))}let te=Xi(),D=Xi(),re;function ee(B,ae,oe){G(B);const ce=D.list();return ce.length?ce.forEach(De=>De(B,ae,oe)):console.error(B),Promise.reject(B)}function ye(){return re&&l.value!==Ar?Promise.resolve():new Promise((B,ae)=>{te.add([B,ae])})}function G(B){return re||(re=!B,Z(),te.list().forEach(([ae,oe])=>B?oe(B):ae()),te.reset()),B}function q(B,ae,oe,ce){const{scrollBehavior:De}=n;if(!Jo||!De)return Promise.resolve();const et=!oe&&px(Np(B.fullPath,0))||(ce||!oe)&&history.state&&history.state.scroll||null;return _d().then(()=>De(B,ae,et)).then(S=>S&&fx(S)).catch(S=>ee(S,B,ae))}const ie=B=>o.go(B);let me;const j=new Set,Qe={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:g,resolve:y,options:n,push:_,replace:k,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:D.add,isReady:ye,install(B){const ae=this;B.component("RouterLink",Nx),B.component("RouterView",Kx),B.config.globalProperties.$router=ae,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>at(l)}),Jo&&!me&&l.value===Ar&&(me=!0,_(o.location).catch(De=>{}));const oe={};for(const De in Ar)Object.defineProperty(oe,De,{get:()=>l.value[De],enumerable:!0});B.provide(Qd,ae),B.provide(G1,ym(oe)),B.provide(Hu,l);const ce=B.unmount;j.add(B),B.unmount=function(){j.delete(B),j.size<1&&(c=Ar,W&&W(),W=null,l.value=Ar,me=!1,re=!1),ce()}}};function Be(B){return B.reduce((ae,oe)=>ae.then(()=>P(oe)),Promise.resolve())}return Qe}function Wx(n,e){const t=[],r=[],o=[],i=Math.max(e.matched.length,n.matched.length);for(let a=0;a_i(c,s))?r.push(s):t.push(s));const l=n.matched[a];l&&(e.matched.find(c=>_i(c,l))||o.push(l))}return[t,r,o]}const Ux={style:{color:"#FED053","user-select":"none"}},Xx={style:{color:"#FED053","user-select":"none",margin:"5%"}},K1={__name:"TimeTable",emits:["selectTime"],setup(n,{emit:e}){const t=pe("selectedStartStation"),r=pe("extraTimetable"),o=pe("currentTimetable"),i=pe("timetableVisible"),a=pe("selectedTime"),s=pe("isWeekend"),l=pe("toast"),c=e,u=Ne("current");let d=Ne(null);const f=(y,m)=>{if(!m)return;if(y==="current"){const _=o.value.findIndex(k=>k.future);if(_!==-1){let k;k=()=>{const I=m.$el.querySelectorAll(".p-datatable-selectable-row");I[_]?I[_].scrollIntoView({behavior:"auto"}):setTimeout(k,100)},k()}return}const C=m.$el.querySelectorAll(".p-datatable-selectable-row");C&&C[0].scrollIntoView({behavior:"auto"})},h=y=>{u.value=y,f(y,d.value)},p=y=>{if(!y.data.future){l.add({severity:"error",summary:"Selected time is in the past",life:3e3});return}l.add({severity:"info",summary:"Time Selected",detail:y.data,life:3e3}),c("selectTime",{selectedTime:a.value})},g=y=>{y.stopImmediatePropagation(),console.log("onBusNumberClicked",y)};cn(d,y=>{f(u.value,y)});const b=Ne([{breakpoint:"1400px",numVisible:2,numScroll:1},{breakpoint:"1199px",numVisible:3,numScroll:1},{breakpoint:"767px",numVisible:2,numScroll:1},{breakpoint:"575px",numVisible:1,numScroll:1}]);return(y,m)=>{const C=Y("Tag"),_=Y("Carousel"),k=Y("Tab"),I=Y("TabList"),E=Y("Tabs"),T=Y("Column"),P=Y("DataTable"),F=Y("Drawer");return v(),A(F,{visible:at(i),"onUpdate:visible":m[1]||(m[1]=M=>Ct(i)?i.value=M:null),position:"full",showCloseIcon:!0,style:{"background-color":"#1E232B"}},{header:ne(()=>[N("h2",Ux,"Station "+Ge(at(t).n),1),ue(_,{value:at(t).busses,responsiveOptions:b.value,numVisible:3,numScroll:1,circular:"",autoplayInterval:3e3,showIndicators:!1,showNavigators:!1},{item:ne(M=>[ue(C,{rounded:!0,value:M.data.busNo,style:Tn({minWidth:"40px",userSelect:"none",fontFamily:"TheLedDisplaySt",backgroundColor:M.data.c,color:M.data.bc})},null,8,["value","style"])]),_:1},8,["value","responsiveOptions"])]),default:ne(()=>[ue(P,{ref_key:"busTable",ref:d,selection:at(a),"onUpdate:selection":m[0]||(m[0]=M=>Ct(a)?a.value=M:null),value:u.value==="current"?at(o):at(r),selectionMode:u.value==="current"?"single":null,scrollable:"",scrollHeight:"flex",onRowSelect:p,style:{"background-color":"#1E232B"}},{header:ne(()=>[ue(E,{value:u.value,"onUpdate:value":h},{default:ne(()=>[ue(I,null,{default:ne(()=>[ue(k,{value:"current",style:{color:"#FED053",width:"50%"}},{default:ne(()=>[fn("Current")]),_:1}),ue(k,{value:"extra",style:{color:"#FED053",width:"50%"}},{default:ne(()=>[fn(Ge(at(s)?"Weekdays":"Saturday / Sunday"),1)]),_:1})]),_:1})]),_:1},8,["value"])]),default:ne(()=>[ue(T,{header:"Bus",style:{color:"#FED053","user-select":"none"}},{body:ne(M=>[ue(C,{rounded:!0,onClick:g,value:M.data.busNo,style:Tn({minWidth:"40px",userSelect:"none",fontFamily:"TheLedDisplaySt",backgroundColor:M.data.c,color:M.data.bc})},null,8,["value","style"]),N("span",Xx,Ge(M.data.to),1)]),_:1}),ue(T,{header:"Time"},{body:ne(M=>[N("span",{style:Tn(M.data.future?"color: #FED053;user-select: none;":"color: #3B3F46;user-select: none;")},Ge(M.data.time),5)]),_:1})]),_:1},8,["selection","value","selectionMode"])]),_:1},8,["visible"])}}},Yx=N("h2",{style:{color:"#FED053","user-select":"none"}},"Urban Bus Lines",-1),H1={__name:"Busses",setup(n){const e=pe("bussesListVisible"),t=pe("busLines"),r=pe("selectedBusLine"),o=i=>{console.log(i.data),r.value=i.data};return(i,a)=>{const s=Y("Tag"),l=Y("Column"),c=Y("DataTable"),u=Y("Drawer");return v(),A(u,{visible:at(e),"onUpdate:visible":a[1]||(a[1]=d=>Ct(e)?e.value=d:null),position:"full",showCloseIcon:!0,style:{"background-color":"#1E232B"}},{header:ne(()=>[Yx]),default:ne(()=>[ue(c,{selection:at(r),"onUpdate:selection":a[0]||(a[0]=d=>Ct(r)?r.value=d:null),value:at(t),selectionMode:"single",scrollable:"",scrollHeight:"flex",style:{"background-color":"#1E232B"},onRowSelect:o},{default:ne(()=>[ue(l,{header:"Bus",style:{color:"#FED053","user-select":"none"}},{body:ne(d=>[ue(s,{rounded:!0,value:d.data.n,style:Tn({minWidth:"40px",userSelect:"none",fontFamily:"TheLedDisplaySt",backgroundColor:d.data.c,color:d.data.bc})},null,8,["value","style"])]),_:1}),ue(l,{field:"f",header:"From",style:{color:"#FED053","user-select":"none"}}),ue(l,{field:"t",header:"To",style:{color:"#FED053","user-select":"none"}})]),_:1},8,["selection","value"])]),_:1},8,["visible"])}}},W1={__name:"TerminalChooser",setup(n){const e=pe("terminalChooserVisible"),t=pe("terminalsList"),r=pe("selectedStartStation"),o=pe("busStationsMap"),i=pe("currentTerminal"),a=s=>{o.has(s.data.i)?(r.value=o.get(s.data.i),e.value=!1):console.error("station not found?",s.data)};return(s,l)=>{const c=Y("Column"),u=Y("Tag"),d=Y("DataTable"),f=Y("Drawer");return v(),A(f,{visible:at(e),"onUpdate:visible":l[0]||(l[0]=h=>Ct(e)?e.value=h:null),position:"full",showCloseIcon:!0,style:{"background-color":"#1E232B"}},{header:ne(()=>[fn(" Terminal "+Ge(at(i).n),1)]),default:ne(()=>[ue(d,{value:at(t),selectionMode:"single",scrollable:"",scrollHeight:"flex",onRowSelect:a,style:{"background-color":"#1E232B"}},{default:ne(()=>[ue(c,{field:"s",header:"Terminal"}),ue(c,null,{body:ne(h=>[(v(!0),R(de,null,st(h.data.busses,p=>(v(),A(u,{rounded:!0,value:p.n,style:Tn("font-family:TheLedDisplaySt;min-width:40px;user-select:none;color:'#1E232B';background-color:"+p.c)},null,8,["value","style"]))),256))]),_:1})]),_:1},8,["value"])]),_:1},8,["visible"])}}},U1=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},Zx={class:"parent items-center"},qx={class:"parent"},Jx={style:{position:"relative",bottom:"10%",right:"10%"}},Qx={__name:"Main",setup(n){const e=pe("toast"),t=pe("busStationsMap"),r=pe("busLinesMap"),o=pe("isWeekend"),i=pe("decompressDateTime"),a=pe("naturalSortBussesNo"),s=pe("selectedStartStation"),l=pe("loadStationTimetables"),c=pe("selectedStations"),u=pe("extraTimetable"),d=pe("currentTimetable"),f=pe("timetableVisible"),h=pe("bussesListVisible"),p=pe("metroBussesListVisible"),g=pe("buslineVisible"),b=pe("selectedBusLine"),y=pe("loadingInProgress"),m=pe("userLocation"),C=pe("pathfinderMode"),_=pe("terminalChooserVisible"),k=pe("terminalsList"),I=pe("currentTerminal");cn(b,O=>{h.value=!1,g.value=!0});const E=Ne([{label:"Busses",icon:"pi pi-map-marker",command:()=>{const O=Z=>{m.value={lat:Z.coords.latitude,lon:Z.coords.longitude,acc:Z.accuracy},e.add({severity:"info",summary:"Your location was acquired",detail:`Lat ${m.value.lat} Lon ${m.value.lon}`,life:3e3})},W=Z=>{e.add({severity:"error",summary:"Your location is NOT accessible",detail:Z.message,life:3e3})};navigator.geolocation?navigator.geolocation.getCurrentPosition(O,W):e.add({severity:"error",summary:"Geolocation is not supported by this browser",life:3e3})}},{label:"Urban Busses",icon:"pi pi-compass",command:()=>{h.value=!0}},{label:"Metropolitan Busses",icon:"pi pi-external-link",command:()=>{e.add({severity:"error",summary:"Metropolitan busses not implemented",life:3e3}),p.value=!0}},{label:"Path Finder",icon:"pi pi-directions",command:()=>{e.add({severity:"error",summary:"Path finder not implemented",life:3e3}),C.value=!0}}]),T=async()=>{const O=new Date,W=O.getHours()*60+O.getMinutes();y.value=!0,await l(s.value.i,Z=>{const te=[],D=[],re=new Map;Z.forEach(ee=>{if(r.has(ee.b)){const ye=r.get(ee.b);re.has(ye.n)||(re.set(ye.n,!0),s.value.busses.push({busNo:ye.n,c:ye.c,bc:ye.bc})),ee.t.forEach(G=>{const q={to:ye.t,busNo:ye.n,c:ye.c,bc:ye.bc,future:!0};i(q,G),o?q.day===2||q.day===3||q.day===4?(W>=q.minutes&&(q.future=!1),te.push(q)):D.push(q):q.day===1?(W>=q.minutes&&(q.future=!1),te.push(q)):D.push(q)})}te.sort((ye,G)=>ye.encTime-G.encTime),D.sort((ye,G)=>ye.encTime-G.encTime),s.value.busses.sort(a),d.value=te,u.value=D,y.value=!1,f.value=!0})},()=>{console.error("error loading time tables",s.value.i),e.add({severity:"error",summary:"Error loading timetables",life:3e3}),y.value=!1})},P=O=>{c.value.push(O.featureId),t.has(O.featureId)?(s.value=t.get(O.featureId),s.value.busses=[]):console.error(`error finding bus station ${O.featureId} in map`)};cn(s,O=>{O.busses=[],setTimeout(T,500)});const F=O=>{console.log("removing",O.featureId);const W=c.value.indexOf(O.featureId);W>=0&&c.value.splice(W,1)},M=O=>{const W=[];I.value=O.terminal,O.terminal.c.forEach(Z=>{W.push({i:Z.i,s:Z.s,busses:Z.busses})}),k.value=W,_.value=!0};return Li(()=>{}),(O,W)=>{const Z=Y("Map"),te=Y("SpeedDial"),D=Y("router-view"),re=Y("BusLine"),ee=Y("ProgressSpinner"),ye=Y("Dialog");return v(),R(de,null,[N("div",Zx,[N("div",qx,[ue(Z,{class:"child",onSelectStation:P,onDeselectStation:F,onTerminalChooser:M}),N("div",Jx,[ue(te,{model:E.value,radius:180,type:"quarter-circle",direction:"up-left",pt:{pcbutton:{root:{class:"my-speeddial-button"}}},style:{position:"absolute",right:0,bottom:0}},null,8,["model"])])]),ue(D),ue(K1),ue(re),ue(H1),ue(W1)]),ue(ye,{visible:at(y),modal:"",draggable:!1,closable:!1,style:{"text-align":"center"}},{default:ne(()=>[ue(ee)]),_:1},8,["visible"])],64)}}},ek=U1(Qx,[["__scopeId","data-v-256cacd1"]]),ef=Hx({history:vx(),routes:[{path:"/",component:ek}]});ef.beforeResolve((n,e,t)=>{n.name&&console.log("loading..."),t()});ef.afterEach((n,e)=>{console.log("loading done.")});var tk=function(e){var t=e.dt;return` -.p-tabs { - display: flex; - flex-direction: column; -} - -.p-tablist { - position: relative; -} - -.p-tabs-scrollable > .p-tablist { - overflow: hidden; -} - -.p-tablist-viewport { - overflow-x: auto; - overflow-y: hidden; - scroll-behavior: smooth; - scrollbar-width: none; - overscroll-behavior: contain auto; -} - -.p-tablist-viewport::-webkit-scrollbar { - display: none; -} - -.p-tablist-tab-list { - position: relative; - display: flex; - background: `.concat(t("tabs.tablist.background"),`; - border-style: solid; - border-color: `).concat(t("tabs.tablist.border.color"),`; - border-width: `).concat(t("tabs.tablist.border.width"),`; -} - -.p-tablist-nav-button { - all: unset; - position: absolute; - top: 0; - z-index: 2; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - background: `).concat(t("tabs.nav.button.background"),`; - color: `).concat(t("tabs.nav.button.color"),`; - width: `).concat(t("tabs.nav.button.width"),`; - transition: color `).concat(t("tabs.transition.duration"),", outline-color ").concat(t("tabs.transition.duration"),", box-shadow ").concat(t("tabs.transition.duration"),`; - box-shadow: `).concat(t("tabs.nav.button.shadow"),`; - outline-color: transparent; - cursor: pointer; -} - -.p-tablist-nav-button:focus-visible { - z-index: 1; - box-shadow: `).concat(t("tabs.nav.button.focus.ring.shadow"),`; - outline: `).concat(t("tabs.nav.button.focus.ring.width")," ").concat(t("tabs.nav.button.focus.ring.style")," ").concat(t("tabs.nav.button.focus.ring.color"),`; - outline-offset: `).concat(t("tabs.nav.button.focus.ring.offset"),`; -} - -.p-tablist-nav-button:hover { - color: `).concat(t("tabs.nav.button.hover.color"),`; -} - -.p-tablist-prev-button { - left: 0; -} - -.p-tablist-next-button { - right: 0; -} - -.p-tab { - cursor: pointer; - user-select: none; - position: relative; - border-style: solid; - white-space: nowrap; - background: `).concat(t("tabs.tab.background"),`; - border-width: `).concat(t("tabs.tab.border.width"),`; - border-color: `).concat(t("tabs.tab.border.color"),`; - color: `).concat(t("tabs.tab.color"),`; - padding: `).concat(t("tabs.tab.padding"),`; - font-weight: `).concat(t("tabs.tab.font.weight"),`; - transition: background `).concat(t("tabs.transition.duration"),", border-color ").concat(t("tabs.transition.duration"),", color ").concat(t("tabs.transition.duration"),", outline-color ").concat(t("tabs.transition.duration"),", box-shadow ").concat(t("tabs.transition.duration"),`; - margin: `).concat(t("tabs.tab.margin"),`; - outline-color: transparent; -} - -.p-tab:not(.p-disabled):focus-visible { - z-index: 1; - box-shadow: `).concat(t("tabs.tab.focus.ring.shadow"),`; - outline: `).concat(t("tabs.tab.focus.ring.width")," ").concat(t("tabs.tab.focus.ring.style")," ").concat(t("tabs.tab.focus.ring.color"),`; - outline-offset: `).concat(t("tabs.tab.focus.ring.offset"),`; -} - -.p-tab:not(.p-tab-active):not(.p-disabled):hover { - background: `).concat(t("tabs.tab.hover.background"),`; - border-color: `).concat(t("tabs.tab.hover.border.color"),`; - color: `).concat(t("tabs.tab.hover.color"),`; -} - -.p-tab-active { - background: `).concat(t("tabs.tab.active.background"),`; - border-color: `).concat(t("tabs.tab.active.border.color"),`; - color: `).concat(t("tabs.tab.active.color"),`; -} - -.p-tabpanels { - background: `).concat(t("tabs.tabpanel.background"),`; - color: `).concat(t("tabs.tabpanel.color"),`; - padding: `).concat(t("tabs.tabpanel.padding"),`; - outline: 0 none; -} - -.p-tabpanel:focus-visible { - box-shadow: `).concat(t("tabs.tabpanel.focus.ring.shadow"),`; - outline: `).concat(t("tabs.tabpanel.focus.ring.width")," ").concat(t("tabs.tabpanel.focus.ring.style")," ").concat(t("tabs.tabpanel.focus.ring.color"),`; - outline-offset: `).concat(t("tabs.tabpanel.focus.ring.offset"),`; -} - -.p-tablist-active-bar { - z-index: 1; - display: block; - position: absolute; - bottom: `).concat(t("tabs.active.bar.bottom"),`; - height: `).concat(t("tabs.active.bar.height"),`; - background: `).concat(t("tabs.active.bar.background"),`; - transition: 250ms cubic-bezier(0.35, 0, 0.25, 1); -} -`)},nk={root:function(e){var t=e.props;return["p-tabs p-component",{"p-tabs-scrollable":t.scrollable}]}},rk=Re.extend({name:"tabs",theme:tk,classes:nk}),ok={name:"BaseTabs",extends:xe,props:{value:{type:String,default:void 0},lazy:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},showNavigators:{type:Boolean,default:!0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:rk,provide:function(){return{$pcTabs:this,$parentInstance:this}}},X1={name:"Tabs",extends:ok,inheritAttrs:!1,emits:["update:value"],data:function(){return{id:this.$attrs.id,d_value:this.value}},watch:{"$attrs.id":function(e){this.id=e||lt()},value:function(e){this.d_value=e}},mounted:function(){this.id=this.id||lt()},methods:{updateValue:function(e){this.d_value!==e&&(this.d_value=e,this.$emit("update:value",e))},isVertical:function(){return this.orientation==="vertical"}}};function ik(n,e,t,r,o,i){return v(),R("div",w({class:n.cx("root")},n.ptmi("root")),[U(n.$slots,"default")],16)}X1.render=ik;var ak={root:function(e){var t=e.instance,r=e.props;return["p-tab",{"p-tab-active":t.active,"p-disabled":r.disabled}]}},sk=Re.extend({name:"tab",classes:ak}),lk={name:"BaseTab",extends:xe,props:{value:{type:String,default:void 0},disabled:{type:Boolean,default:!1},as:{type:String,default:"BUTTON"},asChild:{type:Boolean,default:!1}},style:sk,provide:function(){return{$pcTab:this,$parentInstance:this}}},Y1={name:"Tab",extends:lk,inheritAttrs:!1,inject:["$pcTabs","$pcTabList"],methods:{onFocus:function(){this.$pcTabs.selectOnFocus&&this.changeActiveValue()},onClick:function(){this.changeActiveValue()},onKeydown:function(e){switch(e.code){case"ArrowRight":this.onArrowRightKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"NumpadEnter":case"Space":this.onEnterKey(e);break}},onArrowRightKey:function(e){var t=this.findNextTab(e.currentTarget);t?this.changeFocusedTab(e,t):this.onHomeKey(e),e.preventDefault()},onArrowLeftKey:function(e){var t=this.findPrevTab(e.currentTarget);t?this.changeFocusedTab(e,t):this.onEndKey(e),e.preventDefault()},onHomeKey:function(e){var t=this.findFirstTab();this.changeFocusedTab(e,t),e.preventDefault()},onEndKey:function(e){var t=this.findLastTab();this.changeFocusedTab(e,t),e.preventDefault()},onPageDownKey:function(e){this.scrollInView(this.findLastTab()),e.preventDefault()},onPageUpKey:function(e){this.scrollInView(this.findFirstTab()),e.preventDefault()},onEnterKey:function(e){this.changeActiveValue(),e.preventDefault()},findNextTab:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t?e:e.nextElementSibling;return r?rt(r,"data-p-disabled")||rt(r,"data-pc-section")==="inkbar"?this.findNextTab(r):ht(r,'[data-pc-name="tab"]'):null},findPrevTab:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t?e:e.previousElementSibling;return r?rt(r,"data-p-disabled")||rt(r,"data-pc-section")==="inkbar"?this.findPrevTab(r):ht(r,'[data-pc-name="tab"]'):null},findFirstTab:function(){return this.findNextTab(this.$pcTabList.$refs.content.firstElementChild,!0)},findLastTab:function(){return this.findPrevTab(this.$pcTabList.$refs.content.lastElementChild,!0)},changeActiveValue:function(){this.$pcTabs.updateValue(this.value)},changeFocusedTab:function(e,t){St(t),this.scrollInView(t)},scrollInView:function(e){var t;e==null||(t=e.scrollIntoView)===null||t===void 0||t.call(e,{block:"nearest"})}},computed:{active:function(){var e;return go((e=this.$pcTabs)===null||e===void 0?void 0:e.d_value,this.value)},id:function(){var e;return"".concat((e=this.$pcTabs)===null||e===void 0?void 0:e.id,"_tab_").concat(this.value)},ariaControls:function(){var e;return"".concat((e=this.$pcTabs)===null||e===void 0?void 0:e.id,"_tabpanel_").concat(this.value)},attrs:function(){return w(this.asAttrs,this.a11yAttrs,this.ptmi("root",this.ptParams))},asAttrs:function(){return this.as==="BUTTON"?{type:"button",disabled:this.disabled}:void 0},a11yAttrs:function(){return{id:this.id,tabindex:this.active?this.$pcTabs.tabindex:-1,role:"tab","aria-selected":this.active,"aria-controls":this.ariaControls,"data-pc-name":"tab","data-p-disabled":this.disabled,"data-p-active":this.active,onFocus:this.onFocus,onKeydown:this.onKeydown}},ptParams:function(){return{context:{active:this.active}}}},directives:{ripple:nn}};function ck(n,e,t,r,o,i){var a=Wt("ripple");return n.asChild?U(n.$slots,"default",{key:1,class:ke(n.cx("root")),active:i.active,a11yAttrs:i.a11yAttrs,onClick:i.onClick}):Vt((v(),A(ge(n.as),w({key:0,class:n.cx("root"),onClick:i.onClick},i.attrs),{default:ne(function(){return[U(n.$slots,"default")]}),_:3},16,["class","onClick"])),[[a]])}Y1.render=ck;var tf={name:"ChevronLeftIcon",extends:Ze},uk=N("path",{d:"M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",fill:"currentColor"},null,-1),dk=[uk];function fk(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),dk,16)}tf.render=fk;var hk={root:"p-tablist",content:function(e){var t=e.instance;return["p-tablist-content",{"p-tablist-viewport":t.$pcTabs.scrollable}]},tabs:"p-tablist-tab-list",inkbar:"p-tablist-active-bar",prevButton:"p-tablist-prev-button p-tablist-nav-button",nextButton:"p-tablist-next-button p-tablist-nav-button"},pk=Re.extend({name:"tablist",classes:hk}),gk={name:"BaseTabList",extends:xe,props:{},style:pk,provide:function(){return{$pcTabList:this,$parentInstance:this}}},Z1={name:"TabList",extends:gk,inheritAttrs:!1,inject:["$pcTabs"],data:function(){return{isPrevButtonEnabled:!1,isNextButtonEnabled:!0}},resizeObserver:void 0,watch:{showNavigators:function(e){e?this.bindResizeObserver():this.unbindResizeObserver()},activeValue:{flush:"post",handler:function(){this.updateInkBar()}}},mounted:function(){var e=this;this.$nextTick(function(){e.updateInkBar()}),this.showNavigators&&(this.updateButtonState(),this.bindResizeObserver())},updated:function(){this.showNavigators&&this.updateButtonState()},beforeUnmount:function(){this.unbindResizeObserver()},methods:{onScroll:function(e){this.showNavigators&&this.updateButtonState(),e.preventDefault()},onPrevButtonClick:function(){var e=this.$refs.content,t=$n(e),r=e.scrollLeft-t;e.scrollLeft=r<=0?0:r},onNextButtonClick:function(){var e=this.$refs.content,t=$n(e)-this.getVisibleButtonWidths(),r=e.scrollLeft+t,o=e.scrollWidth-t;e.scrollLeft=r>=o?o:r},bindResizeObserver:function(){var e=this;this.resizeObserver=new ResizeObserver(function(){return e.updateButtonState()}),this.resizeObserver.observe(this.$refs.list)},unbindResizeObserver:function(){var e;(e=this.resizeObserver)===null||e===void 0||e.unobserve(this.$refs.list),this.resizeObserver=void 0},updateInkBar:function(){var e=this.$refs,t=e.content,r=e.inkbar,o=e.tabs,i=ht(t,'[data-pc-name="tab"][data-p-active="true"]');this.$pcTabs.isVertical()?(r.style.height=an(i)+"px",r.style.top=Zn(i).top-Zn(o).top+"px"):(r.style.width=yt(i)+"px",r.style.left=Zn(i).left-Zn(o).left+"px")},updateButtonState:function(){var e=this.$refs,t=e.list,r=e.content,o=r.scrollLeft,i=r.scrollTop,a=r.scrollWidth,s=r.scrollHeight,l=r.offsetWidth,c=r.offsetHeight,u=[$n(r),Cr(r)],d=u[0],f=u[1];this.$pcTabs.isVertical()?(this.isPrevButtonEnabled=i!==0,this.isNextButtonEnabled=t.offsetHeight>=c&&parseInt(i)!==s-f):(this.isPrevButtonEnabled=o!==0,this.isNextButtonEnabled=t.offsetWidth>=l&&parseInt(o)!==a-d)},getVisibleButtonWidths:function(){var e=this.$refs,t=e.prevBtn,r=e.nextBtn;return[t,r].reduce(function(o,i){return i?o+$n(i):o},0)}},computed:{templates:function(){return this.$pcTabs.$slots},activeValue:function(){return this.$pcTabs.d_value},showNavigators:function(){return this.$pcTabs.scrollable&&this.$pcTabs.showNavigators},prevButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.previous:void 0},nextButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.next:void 0}},components:{ChevronLeftIcon:tf,ChevronRightIcon:Is}},mk=["aria-label","tabindex"],bk=["aria-orientation"],yk=["aria-label","tabindex"];function vk(n,e,t,r,o,i){var a=Wt("ripple");return v(),R("div",w({ref:"list",class:n.cx("root")},n.ptmi("root")),[i.showNavigators&&o.isPrevButtonEnabled?Vt((v(),R("button",w({key:0,ref:"prevButton",class:n.cx("prevButton"),"aria-label":i.prevButtonAriaLabel,tabindex:i.$pcTabs.tabindex,onClick:e[0]||(e[0]=function(){return i.onPrevButtonClick&&i.onPrevButtonClick.apply(i,arguments)})},n.ptm("prevButton"),{"data-pc-group-section":"navigator"}),[(v(),A(ge(i.templates.previcon||"ChevronLeftIcon"),w({"aria-hidden":"true"},n.ptm("prevIcon")),null,16))],16,mk)),[[a]]):H("",!0),N("div",w({ref:"content",class:n.cx("content"),onScroll:e[1]||(e[1]=function(){return i.onScroll&&i.onScroll.apply(i,arguments)})},n.ptm("content")),[N("div",w({ref:"tabs",class:n.cx("tabs"),role:"tablist","aria-orientation":i.$pcTabs.orientation||"horizontal"},n.ptm("tabs")),[U(n.$slots,"default"),N("span",w({ref:"inkbar",class:n.cx("inkbar"),role:"presentation","aria-hidden":"true"},n.ptm("inkbar")),null,16)],16,bk)],16),i.showNavigators&&o.isNextButtonEnabled?Vt((v(),R("button",w({key:1,ref:"nextButton",class:n.cx("nextButton"),"aria-label":i.nextButtonAriaLabel,tabindex:i.$pcTabs.tabindex,onClick:e[2]||(e[2]=function(){return i.onNextButtonClick&&i.onNextButtonClick.apply(i,arguments)})},n.ptm("nextButton"),{"data-pc-group-section":"navigator"}),[(v(),A(ge(i.templates.nexticon||"ChevronRightIcon"),w({"aria-hidden":"true"},n.ptm("nextIcon")),null,16))],16,yk)),[[a]]):H("",!0)],16)}Z1.render=vk;var wk=function(e){var t=e.dt;return` -.p-timeline { - display: flex; - flex-grow: 1; - flex-direction: column; -} - -.p-timeline-left .p-timeline-event-opposite { - text-align: right; -} - -.p-timeline-left .p-timeline-event-content { - text-align: left; -} - -.p-timeline-right .p-timeline-event { - flex-direction: row-reverse; -} - -.p-timeline-right .p-timeline-event-opposite { - text-align: left; -} - -.p-timeline-right .p-timeline-event-content { - text-align: right; -} - -.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) { - flex-direction: row-reverse; -} - -.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite { - text-align: right; -} - -.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content { - text-align: left; -} - -.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite { - text-align: left; -} - -.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content { - text-align: right; -} - -.p-timeline-vertical .p-timeline-event-opposite, -.p-timeline-vertical .p-timeline-event-content { - padding: `.concat(t("timeline.vertical.event.content.padding"),`; -} - -.p-timeline-vertical .p-timeline-event-connector { - width: `).concat(t("timeline.event.connector.size"),`; -} - -.p-timeline-event { - display: flex; - position: relative; - min-height: `).concat(t("timeline.event.min.height"),`; -} - -.p-timeline-event:last-child { - min-height: 0; -} - -.p-timeline-event-opposite { - flex: 1; -} - -.p-timeline-event-content { - flex: 1; -} - -.p-timeline-event-separator { - flex: 0; - display: flex; - align-items: center; - flex-direction: column; -} - -.p-timeline-event-marker { - display: inline-flex; - align-items: center; - justify-content: center; - position: relative; - align-self: baseline; - border-width: `).concat(t("timeline.event.marker.border.width"),`; - border-style: solid; - border-color: `).concat(t("timeline.event.marker.border.color"),`; - border-radius: `).concat(t("timeline.event.marker.border.radius"),`; - width: `).concat(t("timeline.event.marker.size"),`; - height: `).concat(t("timeline.event.marker.size"),`; - background: `).concat(t("timeline.event.marker.background"),`; -} - -.p-timeline-event-marker::before { - content: " "; - border-radius: `).concat(t("timeline.event.marker.content.border.radius"),`; - width: `).concat(t("timeline.event.marker.content.size"),`; - height:`).concat(t("timeline.event.marker.content.size"),`; - background: `).concat(t("timeline.event.marker.content.background"),`; -} - -.p-timeline-event-marker::after { - content: " "; - position: absolute; - width: 100%; - height: 100%; - border-radius: `).concat(t("timeline.event.marker.border.radius"),`; - box-shadow: `).concat(t("timeline.event.marker.content.inset.shadow"),`; -} - -.p-timeline-event-connector { - flex-grow: 1; - background: `).concat(t("timeline.event.connector.color"),`; -} - -.p-timeline-horizontal { - flex-direction: row; -} - -.p-timeline-horizontal .p-timeline-event { - flex-direction: column; - flex: 1; -} - -.p-timeline-horizontal .p-timeline-event:last-child { - flex: 0; -} - -.p-timeline-horizontal .p-timeline-event-separator { - flex-direction: row; -} - -.p-timeline-horizontal .p-timeline-event-connector { - width: 100%; - height: `).concat(t("timeline.event.connector.size"),`; -} - -.p-timeline-horizontal .p-timeline-event-opposite, -.p-timeline-horizontal .p-timeline-event-content { - padding: `).concat(t("timeline.horizontal.event.content.padding"),`; -} - -.p-timeline-horizontal.p-timeline-alternate .p-timeline-event:nth-child(even) { - flex-direction: column-reverse; -} - -.p-timeline-bottom .p-timeline-event { - flex-direction: column-reverse; -} -`)},Ck={root:function(e){var t=e.props;return["p-timeline p-component","p-timeline-"+t.align,"p-timeline-"+t.layout]},event:"p-timeline-event",eventOpposite:"p-timeline-event-opposite",eventSeparator:"p-timeline-event-separator",eventMarker:"p-timeline-event-marker",eventConnector:"p-timeline-event-connector",eventContent:"p-timeline-event-content"},Sk=Re.extend({name:"timeline",theme:wk,classes:Ck}),_k={name:"BaseTimeline",extends:xe,props:{value:null,align:{mode:String,default:"left"},layout:{mode:String,default:"vertical"},dataKey:null},style:Sk,provide:function(){return{$pcTimeline:this,$parentInstance:this}}},q1={name:"Timeline",extends:_k,inheritAttrs:!1,methods:{getKey:function(e,t){return this.dataKey?Me(e,this.dataKey):t},getPTOptions:function(e,t){return this.ptm(e,{context:{index:t,count:this.value.length}})}}};function xk(n,e,t,r,o,i){return v(),R("div",w({class:n.cx("root")},n.ptmi("root")),[(v(!0),R(de,null,st(n.value,function(a,s){return v(),R("div",w({key:i.getKey(a,s),class:n.cx("event"),ref_for:!0},i.getPTOptions("event",s)),[N("div",w({class:n.cx("eventOpposite",{index:s}),ref_for:!0},i.getPTOptions("eventOpposite",s)),[U(n.$slots,"opposite",{item:a,index:s})],16),N("div",w({class:n.cx("eventSeparator"),ref_for:!0},i.getPTOptions("eventSeparator",s)),[U(n.$slots,"marker",{item:a,index:s},function(){return[N("div",w({class:n.cx("eventMarker"),ref_for:!0},i.getPTOptions("eventMarker",s)),null,16)]}),s!==n.value.length-1?U(n.$slots,"connector",{key:0,item:a,index:s},function(){return[N("div",w({class:n.cx("eventConnector"),ref_for:!0},i.getPTOptions("eventConnector",s)),null,16)]}):H("",!0)],16),N("div",w({class:n.cx("eventContent"),ref_for:!0},i.getPTOptions("eventContent",s)),[U(n.$slots,"content",{item:a,index:s})],16)],16)}),128))],16)}q1.render=xk;var J1={name:"ChevronUpIcon",extends:Ze},kk=N("path",{d:"M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",fill:"currentColor"},null,-1),Rk=[kk];function Ik(n,e,t,r,o,i){return v(),R("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),Rk,16)}J1.render=Ik;var Tk=function(e){var t=e.dt;return` -.p-carousel { - display: flex; - flex-direction: column; -} - -.p-carousel-content-container { - display: flex; - flex-direction: column; - overflow: auto; -} - -.p-carousel-content { - display: flex; - flex-direction: row; - gap: `.concat(t("carousel.content.gap"),`; -} - -.p-carousel-viewport { - overflow: hidden; - width: 100%; -} - -.p-carousel-item-list { - display: flex; - flex-direction: row; -} - -.p-carousel-prev-button, -.p-carousel-next-button { - align-self: center; -} - -.p-carousel-indicator-list { - display: flex; - flex-direction: row; - justify-content: center; - flex-wrap: wrap; - padding: `).concat(t("carousel.indicator.list.padding"),`; - gap: `).concat(t("carousel.indicator.list.gap"),`; - margin: 0; - list-style: none; -} - -.p-carousel-indicator-button { - display: flex; - align-items: center; - justify-content: center; - background: `).concat(t("carousel.indicator.background"),`; - width: `).concat(t("carousel.indicator.width"),`; - height: `).concat(t("carousel.indicator.height"),`; - border: 0 none; - transition: background `).concat(t("carousel.transition.duration"),", color ").concat(t("carousel.transition.duration"),", outline-color ").concat(t("carousel.transition.duration"),", box-shadow ").concat(t("carousel.transition.duration"),`; - outline-color: transparent; - border-radius: `).concat(t("carousel.indicator.border.radius"),`; - padding: 0; - margin: 0; - user-select: none; - cursor: pointer; -} - -.p-carousel-indicator-button:focus-visible { - box-shadow: `).concat(t("carousel.indicator.focus.ring.shadow"),`; - outline: `).concat(t("carousel.indicator.focus.ring.width")," ").concat(t("carousel.indicator.focus.ring.style")," ").concat(t("carousel.indicator.focus.ring.color"),`; - outline-offset: `).concat(t("carousel.indicator.focus.ring.offset"),`; -} - -.p-carousel-indicator-button:hover { - background: `).concat(t("carousel.indicator.hover.background"),`; -} - -.p-carousel-indicator-active .p-carousel-indicator-button { - background: `).concat(t("carousel.indicator.active.background"),`; -} - -.p-carousel-vertical .p-carousel-content { - flex-direction: column; -} - -.p-carousel-vertical .p-carousel-item-list { - flex-direction: column; - height: 100%; -} - -.p-items-hidden .p-carousel-item { - visibility: hidden; -} - -.p-items-hidden .p-carousel-item.p-carousel-item-active { - visibility: visible; -} -`)},Ek={root:function(e){var t=e.instance;return["p-carousel p-component",{"p-carousel-vertical":t.isVertical(),"p-carousel-horizontal":!t.isVertical()}]},header:"p-carousel-header",contentContainer:"p-carousel-content-container",content:"p-carousel-content",pcPrevButton:function(e){var t=e.instance;return["p-carousel-prev-button",{"p-disabled":t.backwardIsDisabled}]},viewport:"p-carousel-viewport",itemList:"p-carousel-item-list",itemClone:function(e){var t=e.index,r=e.value,o=e.totalShiftedItems,i=e.d_numVisible;return["p-carousel-item p-carousel-item-clone",{"p-carousel-item-active":o*-1===r.length+i,"p-carousel-item-start":t===0,"p-carousel-item-end":r.slice(-1*i).length-1===t}]},item:function(e){var t=e.instance,r=e.index;return["p-carousel-item",{"p-carousel-item-active":t.firstIndex()<=r&&t.lastIndex()>=r,"p-carousel-item-start":t.firstIndex()===r,"p-carousel-item-end":t.lastIndex()===r}]},pcNextButton:function(e){var t=e.instance;return["p-carousel-next-button",{"p-disabled":t.forwardIsDisabled}]},indicatorList:"p-carousel-indicator-list",indicator:function(e){var t=e.instance,r=e.index;return["p-carousel-indicator",{"p-carousel-indicator-active":t.d_page===r}]},indicatorButton:"p-carousel-indicator-button",footer:"p-carousel-footer"},Pk=Re.extend({name:"carousel",theme:Tk,classes:Ek}),Ok={name:"BaseCarousel",extends:xe,props:{value:null,page:{type:Number,default:0},numVisible:{type:Number,default:1},numScroll:{type:Number,default:1},responsiveOptions:Array,orientation:{type:String,default:"horizontal"},verticalViewPortHeight:{type:String,default:"300px"},contentClass:String,containerClass:String,indicatorsContentClass:String,circular:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:0},showNavigators:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},prevButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},nextButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}}},style:Pk,provide:function(){return{$pcCarousel:this,$parentInstance:this}}};function Wo(n){return Bk(n)||Ak(n)||Mk(n)||Lk()}function Lk(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mk(n,e){if(n){if(typeof n=="string")return Wu(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Wu(n,e):void 0}}function Ak(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Bk(n){if(Array.isArray(n))return Wu(n)}function Wu(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);tthis.d_page?this.navForward({},e):e0&&(this.isRemainingItemsAdded=!0)),t!==this.totalShiftedItems&&(this.totalShiftedItems=t,e=!0)}!e&&this.isAutoplay()&&this.startAutoplay()},updated:function(){if(!this.empty){var e=this.isCircular(),t=!1,r=this.totalShiftedItems;if(this.autoplayInterval&&this.stopAutoplay(),this.d_oldNumScroll!==this.d_numScroll||this.d_oldNumVisible!==this.d_numVisible||this.d_oldValue.length!==this.value.length){this.remainingItems=(this.value.length-this.d_numVisible)%this.d_numScroll;var o=this.d_page;this.totalIndicators!==0&&o>=this.totalIndicators&&(o=this.totalIndicators-1,this.$emit("update:page",o),this.d_page=o,t=!0),r=o*this.d_numScroll*-1,e&&(r-=this.d_numVisible),o===this.totalIndicators-1&&this.remainingItems>0?(r+=-1*this.remainingItems+this.d_numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,r!==this.totalShiftedItems&&(this.totalShiftedItems=r,t=!0),this.d_oldNumScroll=this.d_numScroll,this.d_oldNumVisible=this.d_numVisible,this.d_oldValue=this.value,this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(r*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(r*(100/this.d_numVisible),"%, 0, 0)")}e&&(this.d_page===0?r=-1*this.d_numVisible:r===0&&(r=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),r!==this.totalShiftedItems&&(this.totalShiftedItems=r,t=!0)),!t&&this.isAutoplay()&&this.startAutoplay()}},beforeUnmount:function(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()},methods:{getIndicatorPTOptions:function(e){return{context:{highlighted:e===this.d_page}}},step:function(e,t){var r=this.totalShiftedItems,o=this.isCircular();if(t!=null)r=this.d_numScroll*t*-1,o&&(r-=this.d_numVisible),this.isRemainingItemsAdded=!1;else{r+=this.d_numScroll*e,this.isRemainingItemsAdded&&(r+=this.remainingItems-this.d_numScroll*e,this.isRemainingItemsAdded=!1);var i=o?r+this.d_numVisible:r;t=Math.abs(Math.floor(i/this.d_numScroll))}o&&this.d_page===this.totalIndicators-1&&e===-1?(r=-1*(this.value.length+this.d_numVisible),t=0):o&&this.d_page===0&&e===1?(r=0,t=this.totalIndicators-1):t===this.totalIndicators-1&&this.remainingItems>0&&(r+=this.remainingItems*-1-this.d_numScroll*e,this.isRemainingItemsAdded=!0),this.$refs.itemsContainer&&(!this.isUnstyled&&zt(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transform=this.isVertical()?"translate3d(0, ".concat(r*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(r*(100/this.d_numVisible),"%, 0, 0)"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=r,this.$emit("update:page",t),this.d_page=t},calculatePosition:function(){if(this.$refs.itemsContainer&&this.responsiveOptions){for(var e=window.innerWidth,t={numVisible:this.numVisible,numScroll:this.numScroll},r=0;r=e&&(t=o)}if(this.d_numScroll!==t.numScroll){var i=this.d_page;i=parseInt(i*this.d_numScroll/t.numScroll),this.totalShiftedItems=t.numScroll*i*-1,this.isCircular()&&(this.totalShiftedItems-=t.numVisible),this.d_numScroll=t.numScroll,this.$emit("update:page",i),this.d_page=i}this.d_numVisible!==t.numVisible&&(this.d_numVisible=t.numVisible)}},navBackward:function(e,t){(this.d_circular||this.d_page!==0)&&this.step(1,t),this.allowAutoplay=!1,e.cancelable&&e.preventDefault()},navForward:function(e,t){(this.d_circular||this.d_pager?this.navForward(e,t):tthis.swipeThreshold&&e.cancelable&&e.preventDefault()},onTouchEnd:function(e){var t=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,t.pageY-this.startPos.y):this.changePageOnTouch(e,t.pageX-this.startPos.x)},changePageOnTouch:function(e,t){Math.abs(t)>this.swipeThreshold&&(t<0?this.navForward(e):this.navBackward(e))},onIndicatorKeydown:function(e){switch(e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":e.preventDefault();break;case"Tab":this.onTabKey();break}},onRightKey:function(){var e=Wo(Ht(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,t+1===e.length?e.length-1:t+1)},onLeftKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)},onHomeKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)},onEndKey:function(){var e=Wo(Ht(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,e.length-1)},onTabKey:function(){var e=Wo(Ht(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=e.findIndex(function(i){return rt(i,"data-p-active")===!0}),r=ht(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]'),o=e.findIndex(function(i){return i===r.parentElement});e[o].children[0].tabIndex="-1",e[t].children[0].tabIndex="0"},findFocusedIndicatorIndex:function(){var e=Wo(Ht(this.$refs.indicatorContent,'[data-pc-section="indicator"]')),t=ht(this.$refs.indicatorContent,'[data-pc-section="indicator"] > button[tabindex="0"]');return e.findIndex(function(r){return r===t.parentElement})},changedFocusedIndicator:function(e,t){var r=Wo(Ht(this.$refs.indicatorContent,'[data-pc-section="indicator"]'));r[e].children[0].tabIndex="-1",r[t].children[0].tabIndex="0",r[t].children[0].focus()},bindDocumentListeners:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(t){e.calculatePosition(t)},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentListeners:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)},startAutoplay:function(){var e=this;this.interval=setInterval(function(){e.d_page===e.totalIndicators-1?e.step(-1,0):e.step(-1,e.d_page+1)},this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)},createStyle:function(){if(!this.carouselStyle){var e;this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",Bi(this.carouselStyle,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.body.appendChild(this.carouselStyle)}var t=` - .p-carousel[`.concat(this.attributeSelector,`] .p-carousel-item { - flex: 1 0 `).concat(100/this.d_numVisible,`% - } - `);if(this.responsiveOptions&&!this.isUnstyled){var r=Wo(this.responsiveOptions),o=xl();r.sort(function(s,l){var c=s.breakpoint,u=l.breakpoint;return kl(c,u,-1,o)});for(var i=0;i=this.d_numVisible},isAutoplay:function(){return this.autoplayInterval&&this.allowAutoplay},firstIndex:function(){return this.isCircular()?-1*(this.totalShiftedItems+this.d_numVisible):this.totalShiftedItems*-1},lastIndex:function(){return this.firstIndex()+this.d_numVisible-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{totalIndicators:function(){return this.value?Math.max(Math.ceil((this.value.length-this.d_numVisible)/this.d_numScroll)+1,0):0},backwardIsDisabled:function(){return this.value&&(!this.circular||this.value.lengthl||i.lastIndex()=l,"data-p-carousel-item-start":i.firstIndex()===l,"data-p-carousel-item-end":i.lastIndex()===l}),[U(n.$slots,"item",{data:s,index:l})],16,$k)}),128)),i.isCircular()?(v(!0),R(de,{key:1},st(n.value.slice(0,o.d_numVisible),function(s,l){return v(),R("div",w({key:l+"_fcloned",class:n.cx("itemClone",{index:l,value:n.value,totalShiftedItems:o.totalShiftedItems,d_numVisible:o.d_numVisible}),ref_for:!0},n.ptm("itemClone")),[U(n.$slots,"item",{data:s,index:l})],16)}),128)):H("",!0)],16)],16),n.showNavigators?(v(),A(a,w({key:1,class:n.cx("pcNextButton"),disabled:i.forwardIsDisabled,"aria-label":i.ariaNextButtonLabel,unstyled:n.unstyled,onClick:i.navForward},n.nextButtonProps,{pt:n.ptm("pcNextButton"),"data-pc-group-section":"navigator"}),{icon:ne(function(s){return[U(n.$slots,"nexticon",{},function(){return[(v(),A(ge(i.isVertical()?"ChevronDownIcon":"ChevronRightIcon"),w({class:s.class},n.ptm("pcNextButton").icon),null,16,["class"]))]})]}),_:3},16,["class","disabled","aria-label","unstyled","onClick","pt"])):H("",!0)],16,Dk),i.totalIndicators>=0&&n.showIndicators?(v(),R("ul",w({key:0,ref:"indicatorContent",class:[n.cx("indicatorList"),n.indicatorsContentClass],onKeydown:e[4]||(e[4]=function(){return i.onIndicatorKeydown&&i.onIndicatorKeydown.apply(i,arguments)})},n.ptm("indicatorList")),[(v(!0),R(de,null,st(i.totalIndicators,function(s,l){return v(),R("li",w({key:"p-carousel-indicator-"+l.toString(),class:n.cx("indicator",{index:l}),ref_for:!0},n.ptm("indicator",i.getIndicatorPTOptions(l)),{"data-p-active":o.d_page===l}),[N("button",w({class:n.cx("indicatorButton"),type:"button",tabindex:o.d_page===l?"0":"-1","aria-label":i.ariaPageLabel(l+1),"aria-current":o.d_page===l?"page":void 0,onClick:function(u){return i.onIndicatorClick(u,l)},ref_for:!0},n.ptm("indicatorButton",i.getIndicatorPTOptions(l))),null,16,Nk)],16,zk)}),128))],16)):H("",!0)],16)),n.$slots.footer?(v(),R("div",w({key:3,class:n.cx("footer")},n.ptm("footer")),[U(n.$slots,"footer")],16)):H("",!0)],16)}Q1.render=jk;const Ln=[{i:2657710288,n:"1 Decembrie 1918",s:"Strada Independentei",lt:45.6663474,ln:25.5995298},{i:2657713531,n:"1 Decembrie 1918",s:"Strada Independentei",lt:45.6665913,ln:25.5981614},{i:8934219721,n:"13 Decembrie",s:"Strada Ioan Popasu",lt:45.6747427,ln:25.6105011},{i:3709554462,n:"13 Decembrie",s:"Strada Zaharia Stancu",lt:45.6704175,ln:25.6174552},{i:3709554464,n:"13 Decembrie",s:"Strada Zaharia Stancu",lt:45.6709572,ln:25.6152586},{i:3343778544,n:"Academia Henri Coanda",s:"Bulevardul Grivitei",lt:45.6622757,ln:25.5931677},{i:10964817435,n:"Aeroportul Brasov",s:"Strada Aeroportului",lt:45.6940446,ln:25.5174547},{i:3707831693,n:"Agetaps",s:"Calea Feldioarei",lt:45.6895838,ln:25.5830845},{i:3709045329,n:"Agricultorilor",s:"Strada Agricultorilor",lt:45.6664255,ln:25.5727183},{i:3709045330,n:"Albinelor",s:"Strada Lanii",lt:45.6873906,ln:25.5455955},{i:3709053148,n:"Albinelor",s:"Strada Lanii",lt:45.6873654,ln:25.5454697},{i:11671674452,n:"Alexandru Ciurcu",s:"Strada Alexandru Ciurcu",lt:45.6729755,ln:25.5931533},{i:9171965584,n:"Argintului",s:"Strada Argintului",lt:45.6701631,ln:25.5962497},{i:9171965589,n:"Argintului",s:"Strada Argintului",lt:45.6707706,ln:25.596177},{i:3701356184,n:"Astra",s:"Strada Lunga",lt:45.6478919,ln:25.5887933},{i:9245702218,n:"Astra",s:"Strada Lunga",lt:45.6473339,ln:25.589274,b:!0},{i:3709521409,n:"Atelier",s:"Strada Carierei",lt:45.6480445,ln:25.5566941},{i:3709521410,n:"Atelier",s:"Strada Carierei",lt:45.6479113,ln:25.556264},{i:8989955187,n:"Auchan Coresi",s:"Strada Henri Coanda",lt:45.6729823,ln:25.6183389},{i:3709600097,n:"Aurora",s:"Calea Bucuresti",lt:45.6176261,ln:25.6518642},{i:3709600098,n:"Aurora",s:"Calea Bucuresti",lt:45.6172952,ln:25.6518939},{i:611633523,n:"Aurora",s:"Strada Lacurilor",lt:45.6180031,ln:25.6484114},{i:611633524,n:"Aurora",s:"Strada Lacurilor",lt:45.6181187,ln:25.6488818,b:!0},{i:3708912141,n:"Autogara 2",s:"Strada Avram Iancu",lt:45.6635585,ln:25.5829205},{i:3708932940,n:"Autogara 2",s:"Strada Avram Iancu",lt:45.6630096,ln:25.5833114,b:!0},{i:3652393629,n:"Autogara 3",s:"Strada Harmanului",lt:45.6632524,ln:25.6294289,b:!0},{i:3652436626,n:"Autogara 3",s:"Strada Harmanului",lt:45.6635081,ln:25.6305547,b:!0},{i:5562037662,n:"Avantgarden",s:"Strada Egretei",lt:45.6653314,ln:25.5563832},{i:3713539336,n:"Avicola Magurele",s:"Strada Cucului",lt:45.6280619,ln:25.5208396},{i:9267236358,n:"Baciului",s:"Strada Baciului",lt:45.7190089,ln:25.5968256},{i:3713232805,n:"Baciului Pensiune",s:"Strada Baciului",lt:45.7154989,ln:25.5883049},{i:9267236357,n:"Baciului Pensiune",s:"Strada Baciului",lt:45.7153525,ln:25.5875466},{i:3713320057,n:"Balcescu",s:"Strada Nicolae Balcescu",lt:45.6416224,ln:25.5924212,b:!0},{i:3707775824,n:"Bariera Bartolomeu",s:"Strada Lunga",lt:45.6645319,ln:25.5779253},{i:3654024249,n:"Bartolomeu Gara",s:"Calea Fagarasului",lt:45.6630053,ln:25.5762364,b:!0},{i:3709045331,n:"Bartolomeu Nord",s:"Strada Lanii",lt:45.673613,ln:25.5622684},{i:3709053149,n:"Bartolomeu Nord",s:"Strada Lanii",lt:45.6735637,ln:25.5620389},{i:3708889560,n:"Bellevue Residence",s:"Calea Poienii",lt:45.6456317,ln:25.5801916},{i:3708897317,n:"Bellevue Residence",s:"Calea Poienii",lt:45.6447915,ln:25.5802674},{i:9933396271,n:"Belvedere",s:"Strada Stejerisului",lt:45.6363432,ln:25.564806},{i:3709600099,n:"Benzinaria Petrom",s:"DN1",lt:45.5739192,ln:25.6149947},{i:3709600100,n:"Benzinaria Petrom",s:"DN1",lt:45.5732727,ln:25.6133293},{i:611633526,n:"Berzei",s:"Calea Bucuresti",lt:45.6403109,ln:25.6278697,b:!0},{i:2657675435,n:"Berzei",s:"Calea Bucuresti",lt:45.6396254,ln:25.6281475,b:!0},{i:2657677035,n:"Berzei",s:"Strada Berzei",lt:45.6396045,ln:25.6271076},{i:3713514685,n:"Biserica",s:"Strada Vasile Alecsandri",lt:45.638911,ln:25.6161519},{i:3701356185,n:"Biserica Bartolomeu",s:"Strada Lunga",lt:45.6627145,ln:25.5781042,b:!0},{i:3713320054,n:"Biserica Neagra",s:"Strada Dupa Ziduri",lt:45.6403895,ln:25.585606,b:!0},{i:2657703726,n:"Biserica Tractorul",s:"Strada 13 Decembrie",lt:45.6646449,ln:25.6088279,b:!0},{i:12010293521,n:"Bisericii Romane",s:"Strada De Mijloc",lt:45.6543109,ln:25.5867837},{i:3701356186,n:"Bisericii Romane",s:"Strada Lunga",lt:45.6518096,ln:25.5858936,b:!0},{i:3713320055,n:"Brancoveanu",s:"Strada Constantin Brancoveanu",lt:45.6391797,ln:25.5828979},{i:299937126,n:"Branduselor",s:"Bulevardul Alexandru Vlahuta",lt:45.653676,ln:25.6241355,b:!0},{i:464267110,n:"Branduselor",s:"Bulevardul Alexandru Vlahuta",lt:45.6548695,ln:25.6239998,b:!0},{i:3708936521,n:"Brintex",s:"Soseaua Cristianului",lt:45.6570839,ln:25.5593167},{i:3708943733,n:"Brintex",s:"Soseaua Cristianului",lt:45.6574388,ln:25.5597805},{i:11681500791,n:"Bronzului",s:"Strada 1 Decembrie 1918",lt:45.6670673,ln:25.5990654},{i:1635108121,n:"Bulevardul Garii",s:"Bulevardul Garii",lt:45.6604283,ln:25.6121235,b:!0},{i:11893411924,n:"Bunloc",s:"Strada Bolnoc",lt:45.6043786,ln:25.660807},{i:465241917,n:"CEC",s:"Strada Harmanului",lt:45.6546607,ln:25.6153092,b:!0},{i:3709338123,n:"CET",s:"Strada Timisul Sec",lt:45.66115,ln:25.6400314},{i:3709338124,n:"CET",s:"Strada Timisul Sec",lt:45.6608254,ln:25.6401453},{i:3652393631,n:"Camera de Comert",s:"Strada Iuliu Maniu",lt:45.6510143,ln:25.6082315},{i:10775488e3,n:"Camil Petrescu",s:"Strada Camil Petrescu",lt:45.667923,ln:25.6120119},{i:3709045332,n:"Camine IAR",s:"Strada Lanii",lt:45.6708754,ln:25.5659141},{i:3709053150,n:"Camine IAR",s:"Strada Lanii",lt:45.6709999,ln:25.5655357,b:!0},{i:12010293528,n:"Campului",s:"Strada De Mijloc",lt:45.6624848,ln:25.5815986},{i:3708962050,n:"Campus Genius",s:"Strada Institutului",lt:45.668711,ln:25.5489268},{i:3708974250,n:"Campus Genius",s:"Strada Institutului",lt:45.6692519,ln:25.5479439},{i:2910431428,n:"Caprioara",s:"Bulevardul Garii",lt:45.6597046,ln:25.6147679},{i:3701493888,n:"Caramidariei",s:"Soseaua Cristianului",lt:45.6583356,ln:25.5633734,b:!0},{i:3713539337,n:"Caramidariei",s:"Soseaua Cristianului",lt:45.6585789,ln:25.5633976},{i:2657652503,n:"Carfil",s:"Strada Zizinului",lt:45.6491948,ln:25.6474881,b:!0},{i:2657653187,n:"Carfil",s:"Strada Zizinului",lt:45.6490033,ln:25.6481453},{i:3709521411,n:"Carierei",s:"Strada Carierei",lt:45.6579723,ln:25.5785139},{i:3701356188,n:"Carierei",s:"Strada Lunga",lt:45.6582467,ln:25.5805245,b:!0},{i:272095075,n:"Carpatilor",s:"Bulevardul Muncii",lt:45.6418449,ln:25.6146143},{i:273437289,n:"Carpatilor",s:"Bulevardul Muncii",lt:45.6419676,ln:25.61576,b:!0},{i:611633519,n:"Carrefour",s:"Calea Bucuresti",lt:45.6315835,ln:25.6370869,b:!0},{i:3707795549,n:"Case",s:"Strada Albinelor",lt:45.6861726,ln:25.5363162},{i:3708889555,n:"Case",s:"Strada Albinelor",lt:45.6858504,ln:25.5366215},{i:2679017945,n:"Castanilor",s:"Strada Castanilor",lt:45.6492418,ln:25.6042211},{i:2279493798,n:"Ceferistilor",s:"Strada Ceferistilor",lt:45.6608833,ln:25.6271803},{i:2657655619,n:"Cernatului",s:"Strada Zizinului",lt:45.6489197,ln:25.6524437},{i:3709393825,n:"Cernatului",s:"Strada Zizinului",lt:45.6491088,ln:25.6515477},{i:3713232808,n:"Cimitirul Central",s:"Strada Dimitrie Anghel",lt:45.6726828,ln:25.5752284},{i:3713232809,n:"Cimitirul Central",s:"Strada Dimitrie Anghel",lt:45.6732995,ln:25.5751702},{i:3652479572,n:"Colegiul Nicolae Titulescu",s:"Strada 13 Decembrie",lt:45.6685192,ln:25.6101786,b:!0},{i:3652479573,n:"Colegiul Nicolae Titulescu",s:"Strada 13 Decembrie",lt:45.6697168,ln:25.6110421},{i:2538009452,n:"Cometei",s:"Bulevardul Saturn",lt:45.6384849,ln:25.6363183},{i:3701409064,n:"Cometei",s:"Bulevardul Saturn",lt:45.6371218,ln:25.6365179,b:!0},{i:3654024250,n:"Complex Bartolomeu",s:"Strada Stadionului",lt:45.663562,ln:25.5788149,b:!0},{i:2537998221,n:"Complexul Mare",s:"Bulevardul Saturn",lt:45.6453425,ln:25.6315871,b:!0},{i:2537999895,n:"Complexul Mare",s:"Bulevardul Saturn",lt:45.6438516,ln:25.6327488,b:!0},{i:3707786425,n:"Conforest",s:"Calea Feldioarei",lt:45.6710752,ln:25.5792146},{i:3708889556,n:"Conforest",s:"Calea Feldioarei",lt:45.6710065,ln:25.5790481},{i:3713477178,n:"Coresi",s:"Strada 13 Decembrie",lt:45.6726778,ln:25.6122096},{i:3713477179,n:"Coresi",s:"Strada 13 Decembrie",lt:45.6720971,ln:25.6115033},{i:3709554453,n:"Coresi 1",s:"Strada Zaharia Stancu",lt:45.6688948,ln:25.6290119},{i:3709554454,n:"Coresi 1",s:"Strada Zaharia Stancu",lt:45.6690767,ln:25.629668},{i:3709554455,n:"Coresi 2",s:"Strada Zaharia Stancu",lt:45.6698582,ln:25.6217009},{i:3709554456,n:"Coresi 2",s:"Strada Zaharia Stancu",lt:45.669948,ln:25.6229528},{i:3708991157,n:"Cosmesti",s:"Strada Borzesti",lt:45.6662667,ln:25.5801666},{i:3709291642,n:"Cosmesti",s:"Strada Cosmesti",lt:45.6658088,ln:25.5792841},{i:3713179295,n:"Craiter",s:"Strada Dacia",lt:45.6568848,ln:25.6334316,b:!0},{i:2683090885,n:"Dacia",s:"Bulevardul Victoriei",lt:45.6580579,ln:25.6126944,b:!0},{i:3709600101,n:"Dambul Morii",s:"DN1",lt:45.5956639,ln:25.6376746},{i:3709600102,n:"Dambul Morii",s:"DN1",lt:45.5944792,ln:25.6350362},{i:12010293526,n:"De Mijloc",s:"Strada De Mijloc",lt:45.6596074,ln:25.5830517},{i:9172134414,n:"Dedeman",s:"Bulevardul Grivitei",lt:45.6787281,ln:25.5870849},{i:3708936522,n:"Depozite ILF",s:"Soseaua Cristianului",lt:45.6562302,ln:25.5565781},{i:3713232810,n:"Dimitrie Anghel",s:"Strada Dimitrie Anghel",lt:45.6688406,ln:25.5761445},{i:3713232811,n:"Dimitrie Anghel",s:"Strada Dimitrie Anghel",lt:45.6690782,ln:25.5762439},{i:3709393826,n:"Diversitas",s:"Strada Timisul Sec",lt:45.658092,ln:25.6429636},{i:3709393827,n:"Diversitas",s:"Strada Timisul Sec",lt:45.6584275,ln:25.64284},{i:3713232812,n:"Dulgherului",s:"Strada Barsei",lt:45.7082167,ln:25.5524146},{i:3713232813,n:"Dulgherului",s:"Strada Barsei",lt:45.7073953,ln:25.5525669},{i:3654024251,n:"Ecaterina Teodoroiu",s:"Strada Buzesti",lt:45.665282,ln:25.5841191},{i:3654024252,n:"Ecaterina Teodoroiu",s:"Strada Buzesti",lt:45.6653161,ln:25.5837193},{i:5562037663,n:"Egretei",s:"Strada Egretei",lt:45.6641807,ln:25.5653372},{i:3707786426,n:"Elmas",s:"Calea Feldioarei",lt:45.6875433,ln:25.5829245},{i:3709393829,n:"Energo",s:"Strada Timisul Sec",lt:45.6533192,ln:25.6537378},{i:3709393828,n:"Energo",s:"Strada Zizinului",lt:45.6531025,ln:25.6536832},{i:3709521412,n:"Fabrica de Var",s:"Strada Cucului",lt:45.6455888,ln:25.5526887},{i:9167564057,n:"Facultate Constructii",s:"Strada Turnului",lt:45.6632792,ln:25.6193555},{i:3707795551,n:"Facultativa (Albinelor)",s:"Strada Albinelor",lt:45.6916418,ln:25.5489943},{i:3708889561,n:"Facultativa (Albinelor)",s:"Strada Albinelor",lt:45.6919165,ln:25.5495501},{i:3713232818,n:"Facultativa (Baciului)",s:"Strada Baciului",lt:45.713988,ln:25.5839991},{i:3713232819,n:"Facultativa (Baciului)",s:"Strada Baciului",lt:45.7142618,ln:25.584407},{i:2657570995,n:"Facultativa (Brazilor)",s:"Strada Brazilor",lt:45.6180439,ln:25.6317872},{i:3709521414,n:"Facultativa (Carierei)",s:"Strada Carierei",lt:45.6519492,ln:25.5626529},{i:3709521415,n:"Facultativa (Carierei)",s:"Strada Carierei",lt:45.6519873,ln:25.5620916},{i:3713539339,n:"Facultativa (Cucului)",s:"Strada Cucului",lt:45.6333603,ln:25.5157496},{i:3713539340,n:"Facultativa (Cucului)",s:"Strada Cucului",lt:45.6340352,ln:25.5183521},{i:3714980425,n:"Facultativa (Cucului)",s:"Strada Cucului",lt:45.6332767,ln:25.5159008},{i:3714980427,n:"Facultativa (Cucului)",s:"Strada Cucului",lt:45.6341164,ln:25.5188786},{i:3709600103,n:"Facultativa (DN1)",s:"DN1",lt:45.5876102,ln:25.6276913},{i:3709600104,n:"Facultativa (DN1)",s:"DN1",lt:45.5868997,ln:25.6260426},{i:3707786427,n:"Facultativa (Fagurului)",s:"Strada Fagurului",lt:45.7011735,ln:25.5640617},{i:3707831699,n:"Facultativa (Fagurului)",s:"Strada Fagurului",lt:45.7011327,ln:25.5642618},{i:3713232816,n:"Facultativa (Fagurului)",s:"Strada Fagurului",lt:45.7128231,ln:25.5711398},{i:3713232817,n:"Facultativa (Fagurului)",s:"Strada Fagurului",lt:45.7127286,ln:25.5706854},{i:9171391885,n:"Facultativa (Fundaturii)",s:"Strada Fundaturii",lt:45.678718,ln:25.5445749},{i:9710744128,n:"Facultativa (Fundaturii)",s:"Strada Fundaturii",lt:45.6787749,ln:25.5448113},{i:9164528578,n:"Facultativa (Fundătura Hărmanului)",s:"Fundatura Harmanului",lt:45.6753352,ln:25.6488485},{i:9164528582,n:"Facultativa (Fundătura Hărmanului)",s:"Fundatura Harmanului",lt:45.6753169,ln:25.6485919},{i:3713232814,n:"Facultativa (Izvorului)",s:"Strada Izvorului",lt:45.7066057,ln:25.5633486},{i:3713232815,n:"Facultativa (Izvorului)",s:"Strada Izvorului",lt:45.7065918,ln:25.5631004},{i:9174164594,n:"Facultativa (Pe Tocile)",s:"Strada Pe Tocile",lt:45.6306224,ln:25.5724697},{i:3708991158,n:"Facultativa (Pelicanului)",s:"Strada Pelicanului",lt:45.6658272,ln:25.5652835},{i:3709393830,n:"Facultativa (Timisul Sec)",s:"Strada Timisul Sec",lt:45.6493004,ln:25.6554667},{i:3707795550,n:"Facultativa II (Albinelor)",s:"Strada Albinelor",lt:45.6898969,ln:25.5469273},{i:3708889558,n:"Facultativa II (Albinelor)",s:"Strada Albinelor",lt:45.690399,ln:25.5476737},{i:3709521416,n:"Facultativa II (Carierei)",s:"Strada Carierei",lt:45.6559073,ln:25.5749668},{i:3709521417,n:"Facultativa II (Carierei)",s:"Strada Carierei",lt:45.6557109,ln:25.5745955},{i:9174164610,n:"Facultativa II (Podul Cretului)",s:"Strada Podul Cretului",lt:45.6229941,ln:25.5627504},{i:10011185841,n:"Facultativa II (Podul Cretului)",s:"Strada Podul Cretului",lt:45.623196,ln:25.5630564},{i:3713539338,n:"Facultativa MTI (DN73)",s:"DN73",lt:45.6484594,ln:25.5310678},{i:3473944089,n:"Faget",s:"Bulevardul Garii",lt:45.6597273,ln:25.6081054,b:!0},{i:3368804794,n:"Faget",s:"Strada 13 Decembrie",lt:45.6610007,ln:25.6078061},{i:3707786428,n:"Fagurului",s:"Strada Fagurului",lt:45.7054086,ln:25.5721688},{i:3707831700,n:"Fagurului",s:"Strada Fagurului",lt:45.7053918,ln:25.572321},{i:3707786430,n:"Fantanii",s:"Strada Fantanii",lt:45.7077005,ln:25.5758035},{i:3707831703,n:"Fantanii",s:"Strada Fantanii",lt:45.7073875,ln:25.5752672},{i:3701534855,n:"Fartec",s:"Strada Stadionului",lt:45.6661018,ln:25.5888806,b:!0},{i:3707786429,n:"Feldioarei",s:"Strada Fantanii",lt:45.7081861,ln:25.5790947},{i:3707831701,n:"Feldioarei",s:"Strada Fantanii",lt:45.708149,ln:25.5796069},{i:10064979821,n:"Ferma 11",s:"DN13",lt:45.7663575,ln:25.586659},{i:10064979823,n:"Ferma 11",s:"DN13",lt:45.7668055,ln:25.58697},{i:353099740,n:"Fragilor",s:"Bulevardul Valea Cetatii",lt:45.6325937,ln:25.6046494},{i:353100201,n:"Fragilor",s:"Bulevardul Valea Cetatii",lt:45.633025,ln:25.6056697},{i:3713264153,n:"Fundatura Harmanului",s:"Fundatura Harmanului",lt:45.6670216,ln:25.6370187},{i:3713264154,n:"Fundatura Harmanului",s:"Fundatura Harmanului",lt:45.6669403,ln:25.6365827},{i:3708889565,n:"Fundaturii",s:"Strada Albinelor",lt:45.6855842,ln:25.5414182},{i:3709045334,n:"Fundaturii",s:"Strada Albinelor",lt:45.6857019,ln:25.5414058},{i:11014591991,n:"Fundaturii",s:"Strada Fundaturii",lt:45.685313,ln:25.541451},{i:8926599968,n:"Fundaturii cap linie",s:"Strada Fundaturii",lt:45.683155,ln:25.5433533},{i:9710744131,n:"Fundaturii cap linie",s:"Strada Fundaturii",lt:45.683067,ln:25.5431803},{i:2537994014,n:"Gemenii",s:"Bulevardul Saturn",lt:45.6487112,ln:25.627606,b:!0},{i:2537995437,n:"Gemenii",s:"Bulevardul Saturn",lt:45.6481242,ln:25.6286154,b:!0},{i:3709393831,n:"Gemenii",s:"Strada Zizinului",lt:45.6494359,ln:25.6289045},{i:3709393832,n:"Gemenii",s:"Strada Zizinului",lt:45.6496162,ln:25.6285545},{i:3707786431,n:"Gheorghe Doja",s:"Calea Feldioarei",lt:45.6669823,ln:25.5777503},{i:3708889567,n:"Gheorghe Doja",s:"Calea Feldioarei",lt:45.6677765,ln:25.5780074},{i:3709600105,n:"Halta Timisul de Jos",s:"DN1",lt:45.5850982,ln:25.6241291},{i:3709600106,n:"Halta Timisul de Jos",s:"DN1",lt:45.5840536,ln:25.6230994},{i:11817868371,n:"Harmanului",s:"Strada Harmanului",lt:45.6648974,ln:25.7071165},{i:9164260788,n:"Harmanului 1",s:"Strada Harmanului",lt:45.6590842,ln:25.7087372},{i:9164260789,n:"Harmanului 2",s:"Strada Harmanului",lt:45.6544908,ln:25.7100391},{i:8227802075,n:"Hidro A",s:"Bulevardul 15 Noiembrie",lt:45.6511534,ln:25.6099749,b:!0},{i:3640849654,n:"Hidro B",s:"Bulevardul 15 Noiembrie",lt:45.6514317,ln:25.6138925,b:!0},{i:3708974251,n:"Hornbach",s:"DN1",lt:45.6608538,ln:25.550737},{i:3709449858,n:"Hotel Trifan",s:"Bulevardul Grivitei",lt:45.6710682,ln:25.5905385},{i:3709458524,n:"Hotel Trifan",s:"Bulevardul Grivitei",lt:45.6706846,ln:25.5904077},{i:3654024253,n:"Huniade",s:"Strada Buzesti",lt:45.666413,ln:25.5890145},{i:3654024254,n:"Huniade",s:"Strada Buzesti",lt:45.6663846,ln:25.5884694},{i:9171277177,n:"IAR Ghimbav",s:"DJ101A",lt:45.6938583,ln:25.5299278},{i:3708962051,n:"ICPC",s:"Strada Institutului",lt:45.6731399,ln:25.5429743},{i:3708974252,n:"ICPC",s:"Strada Institutului",lt:45.6730677,ln:25.5416153},{i:300089535,n:"IUS",s:"Strada Harmanului",lt:45.6564711,ln:25.6184058,b:!0},{i:8313496897,n:"IUS",s:"Strada Harmanului",lt:45.6565822,ln:25.619044},{i:3343778546,n:"Iancu Jianu",s:"Strada Aurel Vlaicu",lt:45.6601915,ln:25.6020281},{i:3343778547,n:"Iancu Jianu",s:"Strada Aurel Vlaicu",lt:45.6604478,ln:25.6008838,b:!0},{i:5372688332,n:"Ignis",s:"Strada Carierei",lt:45.6497222,ln:25.5590554},{i:9245675516,n:"Ignis",s:"Strada Carierei",lt:45.6498194,ln:25.5593711},{i:3709437150,n:"Independentei",s:"Strada Independentei",lt:45.6664814,ln:25.595403,b:!0},{i:2683091443,n:"Infostar",s:"Bulevardul Victoriei",lt:45.6552856,ln:25.6121936,b:!0},{i:2683094124,n:"Infostar",s:"Bulevardul Victoriei",lt:45.6550657,ln:25.6126735,b:!0},{i:3713179296,n:"Intrarea Ceferistilor",s:"Strada Ceferistilor",lt:45.6566119,ln:25.6314654},{i:9174164597,n:"Invatatorilor",s:"Strada Invatatorilor",lt:45.6277546,ln:25.5677609},{i:9174164599,n:"Invatatorilor",s:"Strada Invatatorilor",lt:45.6278537,ln:25.5680486},{i:3713539341,n:"Ioan Clopotel",s:"Soseaua Cristianului",lt:45.652257,ln:25.5430368},{i:8934219723,n:"Ioan Popasu",s:"Strada Ioan Popasu",lt:45.6751153,ln:25.605763},{i:8934219725,n:"Ioan Popasu",s:"Strada Ioan Popasu",lt:45.6750493,ln:25.6054304},{i:9171965586,n:"Ioan Socec",s:"Strada 1 Decembrie 1918",lt:45.6707036,ln:25.5993865},{i:11681500789,n:"Ioan Socec",s:"Strada 1 Decembrie 1918",lt:45.6700281,ln:25.5995249},{i:567945864,n:"Ioan Ursu",s:"Strada 13 Decembrie",lt:45.6740375,ln:25.6122145},{i:3708932941,n:"Iuliu Maniu",s:"Strada Alexandru Ioan Cuza",lt:45.6495495,ln:25.597862},{i:3709478534,n:"Iuliu Maniu",s:"Strada Alexandru Ioan Cuza",lt:45.6493103,ln:25.5985303,b:!0},{i:3709449855,n:"Iveco",s:"Bulevardul Grivitei",lt:45.6830331,ln:25.5842514},{i:9164143097,n:"Izvor Cap Linie",s:"Strada Izvorului",lt:45.6708238,ln:25.7042616},{i:9164143090,n:"Izvorului",s:"DJ103A",lt:45.6512534,ln:25.7036907},{i:9168992171,n:"Izvorului",s:"DJ103A",lt:45.6512304,ln:25.7050778},{i:9164143091,n:"Izvorului 1",s:"Strada Izvorului",lt:45.6542708,ln:25.7038553},{i:9164143092,n:"Izvorului 2",s:"Strada Izvorului",lt:45.6598081,ln:25.7034393},{i:9164143093,n:"Izvorului 3",s:"Strada Izvorului",lt:45.6638874,ln:25.7037736},{i:3713233439,n:"Izvorului spre Baciului",s:"Strada Izvorului",lt:45.7022107,ln:25.5561327},{i:9174164614,n:"Junilor",s:"Strada Egalitatii",lt:45.6297481,ln:25.5711627},{i:9174164607,n:"La Moara",s:"Strada Podul Cretului",lt:45.6243185,ln:25.5643413},{i:9174164608,n:"La Moara",s:"Strada Podul Cretului",lt:45.6243124,ln:25.5645069},{i:3709002258,n:"Lanurilor",s:"Strada Spicului",lt:45.6633191,ln:25.5670994},{i:3709449854,n:"Leroy Merlin",s:"Bulevardul Grivitei",lt:45.6735968,ln:25.5896857},{i:3713264155,n:"Liceul CFR",s:"Fundatura Harmanului",lt:45.6725026,ln:25.6455404},{i:3713264156,n:"Liceul CFR",s:"Fundatura Harmanului",lt:45.6725034,ln:25.6453419},{i:264561536,n:"Liceul Hans Mattis Teutsch",s:"Bulevardul Valea Cetatii",lt:45.6363005,ln:25.6085693,b:!0},{i:272095079,n:"Liceul Hans Mattis Teutsch",s:"Bulevardul Valea Cetatii",lt:45.6380032,ln:25.6095804},{i:267042578,n:"Liceul Mesota",s:"Bulevardul Mihail Kogalniceanu",lt:45.6543967,ln:25.6114434,b:!0},{i:3713320056,n:"Liceul Saguna",s:"Strada Prundului",lt:45.6383557,ln:25.5851066,b:!0},{i:611633527,n:"Liceul de Informatica",s:"Calea Bucuresti",lt:45.6448536,ln:25.6230731,b:!0},{i:3701356190,n:"Liceul de Informatica",s:"Calea Bucuresti",lt:45.6433484,ln:25.6242806,b:!0},{i:9183614613,n:"Livada Postei",s:"Statia Livada Postei",lt:45.6456508,ln:25.5889315},{i:2375041368,n:"Livada Postei",s:"Statia RAT Livada Postei - Peron 2",lt:45.6457602,ln:25.5881942},{i:2375041372,n:"Livada Postei",s:"Statia RAT Livada Postei - Peron 2",lt:45.6457304,ln:25.5883417},{i:2375041371,n:"Livada Postei",s:"Statia RAT Livada Postei - Peron 4",lt:45.645701,ln:25.5885858},{i:2375041369,n:"Livada Postei",s:"Statia RAT Livada Postei - Peron 5",lt:45.645675,ln:25.5887748},{i:3652436629,n:"Livada Postei",s:"Statia RAT Livada Postei - Peron 6",lt:45.6455214,ln:25.5880813},{i:8934219727,n:"Liviu Rebreanu",s:"Strada Nicolae Labis",lt:45.6794284,ln:25.6068818},{i:8934219728,n:"Liviu Rebreanu",s:"Strada Nicolae Labis",lt:45.6793493,ln:25.6065861},{i:9164528581,n:"Liziera Brasov",s:"Strada Brasovului",lt:45.6785563,ln:25.6542915},{i:3713232824,n:"Lujerului",s:"Strada Barsei",lt:45.7146401,ln:25.551021},{i:3713539342,n:"Magurele",s:"Strada Cucului",lt:45.6360104,ln:25.5236554},{i:3709521420,n:"Marasesti",s:"Strada Carierei",lt:45.6543862,ln:25.5722989},{i:3709521421,n:"Marasesti",s:"Strada Carierei",lt:45.6544889,ln:25.5726159},{i:3701356191,n:"Memorandului",s:"Strada Lunga",lt:45.6550329,ln:25.5827737},{i:3713233425,n:"Merilor",s:"Strada Plugarilor",lt:45.6909151,ln:25.5658567},{i:3713233426,n:"Merilor",s:"Strada Plugarilor",lt:45.6904729,ln:25.566226},{i:3709463825,n:"Metabras",s:"Bulevardul Grivitei",lt:45.6764478,ln:25.588232},{i:3713264157,n:"Metabras",s:"Fundatura Harmanului",lt:45.6685404,ln:25.6398153},{i:3713264158,n:"Metabras",s:"Fundatura Harmanului",lt:45.6683145,ln:25.6391115},{i:3701600885,n:"Metro",s:"Calea Bucuresti",lt:45.6222468,ln:25.6465867,b:!0},{i:611633518,n:"Metrom",s:"Strada Carpatilor",lt:45.6349937,ln:25.6241368},{i:3713302845,n:"Metrom",s:"Strada Carpatilor",lt:45.6347377,ln:25.6241871,b:!0},{i:9183241806,n:"Mihai Viteazul",s:"Strada Mihai Viteazul",lt:45.5901676,ln:25.4635793},{i:9183241807,n:"Mihai Viteazul",s:"Strada Mihai Viteazul",lt:45.5904875,ln:25.4629909},{i:3473944193,n:"Mircea cel Batran",s:"Strada 13 Decembrie",lt:45.6587755,ln:25.6066534},{i:3652479574,n:"Mircea cel Batran",s:"Strada 13 Decembrie",lt:45.6569819,ln:25.6063242,b:!0},{i:3709463826,n:"Mol",s:"Bulevardul Grivitei",lt:45.6839582,ln:25.5834393},{i:3708991159,n:"Molnar Janos",s:"Strada Molnar Janos",lt:45.6654689,ln:25.5684165},{i:3707786432,n:"Mondotrans",s:"Calea Feldioarei",lt:45.7055747,ln:25.580571},{i:3707831705,n:"Mondotrans",s:"Calea Feldioarei",lt:45.7061499,ln:25.5804013},{i:3708912142,n:"Morii",s:"Strada Avram Iancu",lt:45.6584498,ln:25.587095},{i:3708932942,n:"Morii",s:"Strada Avram Iancu",lt:45.6580113,ln:25.5874178,b:!0},{i:272095077,n:"Muncii",s:"Bulevardul Muncii",lt:45.6399897,ln:25.6115582},{i:290004759,n:"Muncii",s:"Bulevardul Muncii",lt:45.6391149,ln:25.610686,b:!0},{i:3713514686,n:"Muncii",s:"Strada Tampei",lt:45.6384065,ln:25.611171},{i:310840809,n:"Neptun",s:"Bulevardul Saturn",lt:45.6418281,ln:25.6353,b:!0},{i:2538006527,n:"Neptun",s:"Bulevardul Saturn",lt:45.6409444,ln:25.6357666},{i:3652479575,n:"Nicolae Labis",s:"Strada 13 Decembrie",lt:45.6776436,ln:25.6138071},{i:3652479576,n:"Nicolae Labis",s:"Strada 13 Decembrie",lt:45.6771957,ln:25.6133391,b:!0},{i:8934219729,n:"Nicolae Labis",s:"Strada Nicolae Labis",lt:45.6789266,ln:25.6125424},{i:8934219730,n:"Nicolae Labis",s:"Strada Nicolae Labis",lt:45.6789744,ln:25.6133861},{i:2657574024,n:"Noua",s:"Statia RAT Noua - Peron 2",lt:45.6202864,ln:25.6340644,b:!0},{i:9969267235,n:"Noua",s:"Statia RAT Noua - Peron 2",lt:45.6202777,ln:25.6341293,b:!0},{i:3713233429,n:"Oitelor",s:"Strada Plugarilor",lt:45.6930701,ln:25.5629752},{i:3713233430,n:"Oitelor",s:"Strada Plugarilor",lt:45.692794,ln:25.5631726},{i:3707786433,n:"Oligopol",s:"Calea Feldioarei",lt:45.6823008,ln:25.5817844},{i:3708889569,n:"Oligopol",s:"Calea Feldioarei",lt:45.681874,ln:25.5815197},{i:3343781090,n:"Onix",s:"Bulevardul Grivitei",lt:45.6534164,ln:25.6040477,b:!0},{i:1923401916,n:"Onix",s:"Strada 13 Decembrie",lt:45.6539511,ln:25.6052812,b:!0},{i:1923401922,n:"Onix",s:"Strada 13 Decembrie",lt:45.6523577,ln:25.6043645,b:!0},{i:3708912143,n:"Opera Brasov",s:"Strada Avram Iancu",lt:45.6557063,ln:25.5910214},{i:3708932943,n:"Opera Brasov",s:"Strada Avram Iancu",lt:45.655118,ln:25.591637,b:!0},{i:2537991836,n:"Panait Cerna",s:"Bulevardul Alexandru Vlahuta",lt:45.6506059,ln:25.6261276,b:!0},{i:9164803420,n:"Panselelor",s:"Strada Panselelor",lt:45.6274871,ln:25.6225393},{i:3709600107,n:"Pantex",s:"DN1",lt:45.6064948,ln:25.653226},{i:3709600108,n:"Pantex",s:"Strada Garii Darste",lt:45.6067111,ln:25.6532543},{i:3709393833,n:"Papa Reale",s:"Strada Timis Triaj",lt:45.6653639,ln:25.6439767},{i:3709393834,n:"Papa Reale",s:"Strada Timis Triaj",lt:45.6656703,ln:25.644182},{i:9164803421,n:"Parc Industrial Metrom",s:"Strada Panselelor",lt:45.6307278,ln:25.6244269},{i:9164803422,n:"Parc Industrial Metrom",s:"Strada Panselelor",lt:45.630856,ln:25.6248726},{i:9167564061,n:"Patinoarul Olimpic",s:"Strada Turnului",lt:45.6642626,ln:25.6147493},{i:262148563,n:"Patria",s:"Bulevardul 15 Noiembrie",lt:45.6485793,ln:25.6052085,b:!0},{i:3713179297,n:"Pavilioanele CFR",s:"Strada Pavilioanele CFR",lt:45.6597698,ln:25.6321095},{i:9170142236,n:"Pelicanului",s:"Strada Pelicanului",lt:45.6658937,ln:25.5602867},{i:9173869312,n:"Pensiunea Stupina",s:"Strada Plugarilor",lt:45.6862878,ln:25.5695448},{i:9173869313,n:"Pensiunea Stupina",s:"Strada Plugarilor",lt:45.6858722,ln:25.5696768},{i:9171304342,n:"Piata Agroalimentara",s:"Calea Feldioarei",lt:45.6900413,ln:25.5833949},{i:272095074,n:"Piata Decebal",s:"Strada Carpatilor",lt:45.643518,ln:25.6178653,b:!0},{i:307019142,n:"Piata Decebal",s:"Strada Carpatilor",lt:45.6441626,ln:25.6182955,b:!0},{i:2657706440,n:"Piata Tractorul",s:"Strada Independentei",lt:45.6662191,ln:25.6037742},{i:3654024255,n:"Piata Tractorul",s:"Strada Independentei",lt:45.6659647,ln:25.6047079},{i:2854669944,n:"Piata Unirii",s:"Strada Constantin Brancoveanu",lt:45.6361885,ln:25.5792177},{i:3713320059,n:"Piata Unirii",s:"Strada Prundului",lt:45.6362074,ln:25.5807667,b:!0},{i:3343778549,n:"Plevnei",s:"Bulevardul Grivitei",lt:45.6594159,ln:25.5954628,b:!0},{i:3343778551,n:"Plevnei",s:"Bulevardul Grivitei",lt:45.6608638,ln:25.5946464,b:!0},{i:3343778550,n:"Plevnei",s:"Strada Aurel Vlaicu",lt:45.6603357,ln:25.5963445},{i:3713233431,n:"Plugarilor",s:"Strada Plugarilor",lt:45.6948387,ln:25.5610156},{i:3713233432,n:"Plugarilor",s:"Strada Plugarilor",lt:45.6949768,ln:25.5610705},{i:3709045336,n:"Pod Barsa",s:"Strada Lanii",lt:45.6829462,ln:25.5531099},{i:3709053152,n:"Pod Barsa",s:"Strada Lanii",lt:45.6826482,ln:25.55339},{i:9174164604,n:"Podul Cretului",s:"Strada Invatatorilor",lt:45.6261716,ln:25.5663939},{i:9174164606,n:"Podul Cretului",s:"Strada Podul Cretului",lt:45.6256672,ln:25.5662935},{i:611633521,n:"Poiana Darste",s:"Strada Lacurilor",lt:45.6164617,ln:25.6450323},{i:611633522,n:"Poiana Darste",s:"Strada Lacurilor",lt:45.6164087,ln:25.6452559,b:!0},{i:3701600887,n:"Poienelor",s:"Calea Bucuresti",lt:45.6346775,ln:25.6332897},{i:2680751671,n:"Poienelor",s:"Strada Carpatilor",lt:45.6319101,ln:25.6287993},{i:2680755471,n:"Poienelor",s:"Strada Poienelor",lt:45.6317781,ln:25.6295221},{i:285721074,n:"Poligrafie",s:"Strada Zizinului",lt:45.6491289,ln:25.6395788},{i:2657617744,n:"Poligrafie",s:"Strada Zizinului",lt:45.6488834,ln:25.6406342},{i:3701356193,n:"Pompieri",s:"Strada Berzei",lt:45.6371593,ln:25.6222616},{i:3709045337,n:"Posta",s:"Strada Lanii",lt:45.6678808,ln:25.571073},{i:3709053153,n:"Posta",s:"Strada Lanii",lt:45.6683184,ln:25.5703733},{i:1864408175,n:"Praktiker",s:"Calea Bucuresti",lt:45.6304762,ln:25.637928,b:!0},{i:9183241804,n:"Primaria Veche",s:"Strada Ion Luca Caragiale",lt:45.588178,ln:25.4629135},{i:9331332656,n:"Primaria Veche",s:"Strada Ion Luca Caragiale",lt:45.5880219,ln:25.462588},{i:2552635273,n:"Primarie",s:"Strada Iuliu Maniu",lt:45.6465502,ln:25.5960826,b:!0},{i:3407053697,n:"RAT Brasov",s:"Strada Harmanului",lt:45.6695665,ln:25.6386828},{i:3407053698,n:"RAT Brasov",s:"Strada Harmanului",lt:45.66969,ln:25.6384158,b:!0},{i:9173869315,n:"Racordnorm",s:"Strada Plugarilor",lt:45.6886335,ln:25.5678339},{i:9173869316,n:"Racordnorm",s:"Strada Plugarilor",lt:45.6884761,ln:25.5677602},{i:2683092725,n:"Rapid",s:"Bulevardul Victoriei",lt:45.6591505,ln:25.6134741,b:!0},{i:3709521422,n:"Rasaritul",s:"Strada Carierei",lt:45.6532947,ln:25.5660106},{i:3709521423,n:"Rasaritul",s:"Strada Carierei",lt:45.6532922,ln:25.5656919},{i:3708932944,n:"Rial",s:"Strada Alexandru Ioan Cuza",lt:45.6513785,ln:25.5955884},{i:9274823440,n:"Roman",s:"Statia RAT Roman - Peron 1",lt:45.6327617,ln:25.6322576,b:!0},{i:9274823441,n:"Roman",s:"Statia RAT Roman - Peron 2",lt:45.6328119,ln:25.6323655,b:!0},{i:9187345290,n:"Roman",s:"Statia RAT Roman - Peron 3",lt:45.6328623,ln:25.6324584,b:!0},{i:9274823442,n:"Roman",s:"Statia RAT Roman - Peron 4",lt:45.6329062,ln:25.6325543,b:!0},{i:9274823443,n:"Roman",s:"Statia RAT Roman - Peron 5",lt:45.6329471,ln:25.6326427,b:!0},{i:9274823444,n:"Roman",s:"Statia RAT Roman - Peron 6",lt:45.632988,ln:25.6327206,b:!0},{i:9187345296,n:"Roman",s:"Statia RAT Roman - Peron 7",lt:45.6330326,ln:25.6327976},{i:2657624300,n:"Romradiatoare",s:"Strada Zizinului",lt:45.6491879,ln:25.64348},{i:2657624828,n:"Romradiatoare",s:"Strada Zizinului",lt:45.6490428,ln:25.6444286},{i:3708962052,n:"Roplant",s:"Strada Fanarului",lt:45.6607084,ln:25.5562399},{i:3708974253,n:"Roplant",s:"Strada Fanarului",lt:45.6608612,ln:25.5562994},{i:611633517,n:"Rozmarinului",s:"Strada Prunului",lt:45.6190557,ln:25.6373028,b:!0},{i:9275045757,n:"Rulmentul",s:"Statia RAT Rulmentul - Peron 1",lt:45.6822398,ln:25.6150512,b:!0},{i:9275045758,n:"Rulmentul",s:"Statia RAT Rulmentul - Peron 2",lt:45.6821763,ln:25.6150259,b:!0},{i:9275045759,n:"Rulmentul",s:"Statia RAT Rulmentul - Peron 3",lt:45.6821091,ln:25.6149984,b:!0},{i:2657605414,n:"Rulmentul",s:"Statia RAT Rulmentul - Peron 4",lt:45.6820366,ln:25.6149591,b:!0},{i:9275045760,n:"Rulmentul",s:"Statia RAT Rulmentul - Peron 5",lt:45.6819792,ln:25.6149371,b:!0},{i:3708943734,n:"Sala Sporturilor",s:"Bulevardul Garii",lt:45.6590241,ln:25.62075,b:!0},{i:2537929578,n:"Sanitas",s:"Strada Iuliu Maniu",lt:45.6493188,ln:25.6005197,b:!0},{i:3708904920,n:"Saturn",s:"Bulevardul Saturn",lt:45.6350388,ln:25.6352924},{i:9274932345,n:"Saturn",s:"Statia RAT Saturn - Peron 1",lt:45.6344388,ln:25.6354637,b:!0},{i:9274932346,n:"Saturn",s:"Statia RAT Saturn - Peron 2",lt:45.6344746,ln:25.6355256,b:!0},{i:9274932347,n:"Saturn",s:"Statia RAT Saturn - Peron 3",lt:45.6345048,ln:25.635596,b:!0},{i:9274932348,n:"Saturn",s:"Statia RAT Saturn - Peron 4",lt:45.6345323,ln:25.6356562,b:!0},{i:9274932349,n:"Saturn",s:"Statia RAT Saturn - Peron 5",lt:45.6345698,ln:25.6357249,b:!0},{i:3701409066,n:"Saturn",s:"Statia RAT Saturn - Peron 7",lt:45.6346304,ln:25.6358535,b:!0},{i:314157693,n:"Scoala Generala 25",s:"Bulevardul Valea Cetatii",lt:45.6341274,ln:25.606007},{i:3713514691,n:"Scoala Generala 4",s:"Strada Tampei",lt:45.6377052,ln:25.612733},{i:3713514692,n:"Scoala Generala 4",s:"Strada Vasile Alecsandri",lt:45.6383701,ln:25.6150295},{i:2657569557,n:"Scoala Generala 9",s:"Strada Brazilor",lt:45.6152961,ln:25.6306928},{i:12010293524,n:"Scolii",s:"Strada De Mijloc",lt:45.6576762,ln:25.5843407},{i:464246419,n:"Scriitorilor",s:"Strada Zizinului",lt:45.6505031,ln:25.6211072,b:!0},{i:611633525,n:"Selgros",s:"Calea Bucuresti",lt:45.6244514,ln:25.6446908,b:!0},{i:3701493889,n:"Service",s:"Soseaua Cristianului",lt:45.6595715,ln:25.5666734},{i:3709393835,n:"Silnef",s:"Strada Timisul Sec",lt:45.656023,ln:25.6473163},{i:3709393836,n:"Silnef",s:"Strada Timisul Sec",lt:45.656262,ln:25.6470106},{i:3701356195,n:"Soarelui",s:"Calea Bucuresti",lt:45.6370002,ln:25.6313461,b:!0},{i:9174164612,n:"Solomon",s:"Strada Printre Pietre",lt:45.6201966,ln:25.5586201},{i:3708912144,n:"Spital Marzescu",s:"Strada Alexandru Ioan Cuza",lt:45.6511399,ln:25.596019},{i:2657704969,n:"Spital Tractorul",s:"Strada Independentei",lt:45.6659125,ln:25.6084883},{i:310018170,n:"Spitalul Judetean",s:"Calea Bucuresti",lt:45.646294,ln:25.6211042,b:!0},{i:2910858095,n:"Spitalul Judetean",s:"Calea Bucuresti",lt:45.6474386,ln:25.6192565},{i:3701356196,n:"Spitalul Judetean",s:"Calea Bucuresti",lt:45.6488106,ln:25.6187292,b:!0},{i:9275068609,n:"Stadionul Municipal",s:"Statia RAT Stadionul Municipal - Peron 2",lt:45.6599165,ln:25.5698583},{i:9275068610,n:"Stadionul Municipal",s:"Statia RAT Stadionul Municipal - Peron 3",lt:45.6598824,ln:25.5699105},{i:9275068611,n:"Stadionul Municipal",s:"Statia RAT Stadionul Municipal - Peron 3",lt:45.6598413,ln:25.5699736},{i:9275068612,n:"Stadionul Municipal",s:"Statia RAT Stadionul Municipal - Peron 4",lt:45.6597858,ln:25.570036},{i:9182766577,n:"Stadionul Municipal",s:"Statia RAT Stadionul Municipal - Peron 5",lt:45.659747,ln:25.5700998},{i:9565453078,n:"Stadionul Municipal",s:"Statia Stadionul Municipal",lt:45.6596089,ln:25.5703094},{i:3474036169,n:"Stadionul Tineretului",s:"Strada Stadionului",lt:45.6647951,ln:25.5840658},{i:3708932945,n:"Stadionul Tineretului",s:"Strada Stadionului",lt:45.6645439,ln:25.5832041},{i:5218033007,n:"Stadionul Tineretului",s:"Strada Stadionului",lt:45.6650644,ln:25.5835381,b:!0},{i:254344601,n:"Star",s:"Strada Nicolae Balcescu",lt:45.6449812,ln:25.5989181,b:!0},{i:3713233434,n:"Statie Epurare",s:"Strada Plugarilor",lt:45.6804507,ln:25.5725298},{i:3713233435,n:"Statie Epurare",s:"Strada Plugarilor",lt:45.680786,ln:25.5725377},{i:11671674450,n:"Stefan Baciu",s:"Strada Stefan Baciu",lt:45.6734628,ln:25.5989591},{i:3713232802,n:"Strada Baciului",s:"Strada Baciului",lt:45.7127783,ln:25.5805751},{i:3713232803,n:"Strada Baciului",s:"Strada Baciului",lt:45.7127618,ln:25.5802068},{i:3713232820,n:"Strada Fagurului",s:"Strada Fagurului",lt:45.7146015,ln:25.5776142},{i:3713232821,n:"Strada Fagurului",s:"Strada Fagurului",lt:45.7146928,ln:25.5770188},{i:3713232822,n:"Strada Izvorului",s:"Strada Izvorului",lt:45.7092075,ln:25.5694481},{i:3713232823,n:"Strada Izvorului",s:"Strada Izvorului",lt:45.7092443,ln:25.5690902},{i:611633516,n:"Strand Noua",s:"Strada Lacurilor",lt:45.6154538,ln:25.6406352,b:!0},{i:611633515,n:"Strand Noua",s:"Strada Stejarului",lt:45.6155199,ln:25.6393355},{i:3713233437,n:"Stupini Centru",s:"Strada Albinelor",lt:45.6979331,ln:25.5573587},{i:3707786434,n:"Stupini Centru",s:"Strada Barsei",lt:45.698919,ln:25.5578514},{i:3708889572,n:"Stupini Centru",s:"Strada Fagurului",lt:45.6984264,ln:25.5588435},{i:3713233436,n:"Stupini Centru",s:"Strada Plugarilor",lt:45.6979081,ln:25.5584338},{i:3713233438,n:"Stupini Izvorului",s:"Strada Barsei",lt:45.7021741,ln:25.5556552},{i:3831052316,n:"Stupini Izvorului",s:"Strada Barsei",lt:45.7023854,ln:25.5558685},{i:9179480454,n:"Stupinii Noi",s:"Strada Bressan",lt:45.7227357,ln:25.5710654},{i:3707786435,n:"Surlasului",s:"Strada Albinelor",lt:45.6938328,ln:25.5523383},{i:9170035655,n:"Surlasului",s:"Strada Albinelor",lt:45.693651,ln:25.5524634},{i:3708962054,n:"Targ Auto",s:"Strada Institutului",lt:45.6630724,ln:25.5565253},{i:3708974254,n:"Targ Auto",s:"Strada Institutului",lt:45.663392,ln:25.5559068},{i:2655859050,n:"Teatrul Dramatic",s:"Bulevardul Eroilor",lt:45.6452942,ln:25.598207,b:!0},{i:11801788120,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 1",lt:45.6608359,ln:25.6126209,b:!0},{i:11801788125,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 10",lt:45.6606749,ln:25.6122751,b:!0},{i:10198827064,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 2",lt:45.6608741,ln:25.6123147,b:!0},{i:11801788119,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 2",lt:45.6608261,ln:25.612308,b:!0},{i:11801788122,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 3",lt:45.6607839,ln:25.6126093,b:!0},{i:11801788124,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 5",lt:45.6607348,ln:25.6125952,b:!0},{i:11801788121,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 6",lt:45.6607727,ln:25.6122944,b:!0},{i:11801788123,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 6",lt:45.6607279,ln:25.6122869,b:!0},{i:11801788126,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 7",lt:45.6606836,ln:25.6125858,b:!0},{i:11801788127,n:"Terminal Gara",s:"Statia RATBv Terminal Gara - Peron 9",lt:45.6606285,ln:25.6125736,b:!0},{i:3709393837,n:"Timis Triaj",s:"Strada Timis Triaj",lt:45.6668652,ln:25.6494429},{i:3707786436,n:"Tipografia Brastar",s:"Calea Feldioarei",lt:45.6983562,ln:25.582023},{i:3707831709,n:"Tipografia Brastar",s:"Calea Feldioarei",lt:45.6979175,ln:25.582067},{i:3701356197,n:"Toamnei",s:"Strada Toamnei",lt:45.6525755,ln:25.6157688,b:!0},{i:264864013,n:"Toamnei",s:"Strada Zizinului",lt:45.6507174,ln:25.6181913,b:!0},{i:465241947,n:"Toamnei(CEC)",s:"Strada Harmanului",lt:45.6544948,ln:25.6155511,b:!0},{i:3713320058,n:"Tocile",s:"Strada Doctor Vasile Saftu",lt:45.6330207,ln:25.5766243,b:!0},{i:9174164592,n:"Tocile",s:"Strada Pe Tocile",lt:45.6326854,ln:25.5752983},{i:3652479577,n:"Tractorul",s:"Strada 13 Decembrie",lt:45.6668285,ln:25.6099574,b:!0},{i:3653874651,n:"Traian",s:"Strada Zizinului",lt:45.6501587,ln:25.6230583,b:!0},{i:9274917899,n:"Triaj",s:"Statie RAT Triaj - Peron 1",lt:45.6755206,ln:25.6474401,b:!0},{i:9274917901,n:"Triaj",s:"Statie RAT Triaj - Peron 3",lt:45.6756116,ln:25.6476167,b:!0},{i:9274917902,n:"Triaj",s:"Statie RAT Triaj - Peron 4",lt:45.6756595,ln:25.6477026,b:!0},{i:9274917903,n:"Triaj",s:"Statie RAT Triaj - Peron 5",lt:45.6757124,ln:25.6477835,b:!0},{i:9274917904,n:"Triaj",s:"Statie RAT Triaj - Peron 6",lt:45.6757608,ln:25.6478564,b:!0},{i:9188081130,n:"Triaj",s:"Statie RAT Triaj - Peron 7",lt:45.6758035,ln:25.647935,b:!0},{i:10774754860,n:"Tudor Arghezi",s:"Strada Camil Petrescu",lt:45.6657272,ln:25.620462},{i:3347300843,n:"Tudor Vladimirescu",s:"DN1",lt:45.6649011,ln:25.5940212,b:!0},{i:9167564063,n:"Turnului",s:"Strada Turnului",lt:45.6649448,ln:25.6096242},{i:3707786437,n:"Unitate Militara",s:"Calea Feldioarei",lt:45.6762856,ln:25.5804104},{i:3708889575,n:"Unitate Militara",s:"Strada Dihamului",lt:45.6755595,ln:25.5800582},{i:3343778552,n:"Universitate",s:"Bulevardul Grivitei",lt:45.6558762,ln:25.6000287,b:!0},{i:3343778553,n:"Universitate",s:"Bulevardul Grivitei",lt:45.6567355,ln:25.5991831},{i:9167564059,n:"Universitate Spiru Haret",s:"Strada Turnului",lt:45.6644578,ln:25.6140261},{i:2657492053,n:"Valea Cetatii",s:"Bulevardul Valea Cetatii",lt:45.6305677,ln:25.6012173},{i:3713443720,n:"Valea Cetatii",s:"Bulevardul Valea Cetatii",lt:45.6306176,ln:25.6017425,b:!0},{i:9174164596,n:"Varistei",s:"Strada Invatatorilor",lt:45.6294434,ln:25.5689633},{i:3709002260,n:"Vectra",s:"Strada Lanurilor",lt:45.6641499,ln:25.5704002},{i:464276377,n:"Vlahuta",s:"Bulevardul Alexandru Vlahuta",lt:45.6576868,ln:25.6221929,b:!0},{i:300089533,n:"Vlahuta",s:"Strada Harmanului",lt:45.658037,ln:25.6208429,b:!0},{i:3652436632,n:"Vlahuta",s:"Strada Harmanului",lt:45.6589696,ln:25.6228889},{i:611633514,n:"Vulturului",s:"Strada Carpatilor",lt:45.6391024,ln:25.6197031},{i:2680733271,n:"Vulturului",s:"Strada Carpatilor",lt:45.639739,ln:25.6192262},{i:300099701,n:"Warte",s:"Calea Poienii",lt:45.6461175,ln:25.5770457},{i:300099706,n:"Warte",s:"Strada Stejerisului",lt:45.6463057,ln:25.5766224},{i:3708991160,n:"Zlatna",s:"Strada Gheorghe Doja",lt:45.6667827,ln:25.5747442},{i:3709002261,n:"Zlatna",s:"Strada Gheorghe Doja",lt:45.6665605,ln:25.5761179}],wn=[{i:5369802,b:"1: Livada Postei - Triaj",f:"Livada Postei",t:"Triaj",n:"1",c:"#ffe900",d:1,s:[2375041371,2655859050,262148563,8227802075,3701356197,465241947,8313496897,3652436632,3652436626,3407053697,9274917899]},{i:5369803,b:"1: Triaj - Livada Postei",f:"Triaj",t:"Livada Postei",n:"1",c:"#ffe900",d:2,s:[9274917899,3407053698,3652393629,300089533,300089535,465241917,267042578,3652393631,2537929578,2552635273,2375041371]},{i:5369951,b:"2: Livada Postei - Rulmentul",f:"Livada Postei",t:"Rulmentul",n:"2",c:"#00b64f",d:1,s:[9183614613,2655859050,2679017945,1923401916,3652479574,3368804794,3652479577,3652479573,3713477178,3652479575,2657605414]},{i:5369952,b:"2: Rulmentul - Livada Postei",f:"Rulmentul",t:"Livada Postei",n:"2",c:"#00b64f",d:2,s:[2657605414,3652479576,3713477179,3652479572,2657703726,3473944193,1923401922,2537929578,2552635273,9183614613]},{i:12995687,b:"2B: Rulmentul - Ioan Popasu - Livada Postei",f:"Rulmentul",t:"Livada Postei",n:"2B",c:"#00b64f",d:2,s:[9275045759,8934219730,8934219727,8934219725,567945864,3713477179,3652479572,2657703726,3473944193,1923401922,2537929578,2552635273,2375041371]},{i:12995686,b:"2B: Livada Postei - Ioan Popasu - Rulmentul",f:"Livada Postei",t:"Rulmentul",n:"2B",c:"#00b64f",d:1,s:[2375041371,2655859050,2679017945,1923401916,3652479574,3368804794,3652479577,3652479573,3713477178,8934219721,8934219723,8934219728,8934219729,9275045759]},{i:5417774,b:"3: Stadionul Tineretului - Valea Cetatii",f:"Stadionul Tineretului",t:"Valea Cetatii",n:"3",c:"#a6aca2",d:1,s:[3474036169,3701534855,3343778544,3343778549,3343778552,1923401922,262148563,8227802075,3640849654,2910858095,272095074,272095075,272095077,272095079,314157693,353099740,2657492053]},{i:5417775,b:"3: Valea Cetatii - Stadionul Tineretului",f:"Valea Cetatii",t:"Stadionul Tineretului",n:"3",c:"#a6aca2",d:2,s:[3713443720,353100201,264561536,290004759,273437289,307019142,3701356196,3701356197,267042578,3343781090,3343778553,3343778551,3347300843,3474036169]},{i:14280746,b:"4: Tocile - Terminal Gara",f:"Tocile",t:"Terminal Gara",n:"4",c:"#7da1c5",d:2,s:[3713320058,3713320059,3713320056,2375041369,2655859050,262148563,8227802075,2683094124,2683092725,10198827064]},{i:14280747,b:"4: Terminal Gara - Tocile",f:"Terminal Gara",t:"Tocile",n:"4",c:"#7da1c5",d:1,s:[10198827064,2683090885,2683091443,267042578,3652393631,2537929578,2552635273,2375041368,3713320054,3713320055,2854669944,3713320058]},{i:5397475,b:"5: Stadionul Municipal - Roman",f:"Stadionul Municipal",t:"Roman",n:"5",c:"#ec2738",d:1,s:[9275068611,3701356185,3701356188,3701356191,3701356186,3701356184,2655859050,262148563,8227802075,3640849654,310018170,3701356190,2657677035,3701356193,3713302845,2680755471,9274823441]},{i:17828247,b:"5: Roman - De Mijloc - Stadionul Municipal",f:"Roman",t:"Stadionul Municipal",n:"5",c:"#ec2738",d:2,s:[9274823441,3701356195,611633526,611633527,3701356196,3701356197,267042578,3652393631,2537929578,2552635273,9245702218,12010293521,12010293524,12010293526,12010293528,3654024249,9275068611]},{i:5372252,b:"5M: Stadionul Municipal - Magurele",f:"Stadionul Municipal",t:"Magurele",n:"5M",c:"#e77721",d:2,s:[9275068609,3701493889,3713539337,3713539341,3713539338,3714980425,3713539336,3714980427,3713539342]},{i:5372251,b:"5M: Magurele - Stadionul Municipal",f:"Magurele",t:"Stadionul Municipal",n:"5M",c:"#e77721",d:1,s:[3713539342,3713539340,3713539339,3708936522,3708936521,3701493888,9275068609]},{i:5372281,b:"6: Saturn - Livada Postei",f:"Saturn",t:"Livada Postei",n:"6",c:"#00b298",d:1,s:[3701409066,3701409064,310840809,2537998221,2537995437,464246419,267042578,3652393631,2537929578,2552635273,2375041371]},{i:5372280,b:"6: Livada Postei - Saturn",f:"Livada Postei",t:"Saturn",n:"6",c:"#00b298",d:2,s:[2375041371,2655859050,262148563,8227802075,264864013,3653874651,2537994014,2537999895,2538006527,2538009452,3701409066]},{i:5417865,b:"7: Rulmentul - Roman",f:"Rulmentul",t:"Roman",n:"7",c:"#ff6900",d:2,s:[2657605414,3652479576,3713477179,3652479572,2657703726,3473944193,1923401922,262148563,8227802075,3640849654,2910858095,272095074,2680733271,3713302845,2680755471,9274823444]},{i:5417864,b:"7: Roman - Rulmentul",f:"Roman",t:"Rulmentul",n:"7",c:"#ff6900",d:1,s:[9274823444,2680751671,611633518,611633514,307019142,3701356196,3701356197,267042578,1923401916,3652479574,3368804794,3652479577,3652479573,3713477178,3652479575,2657605414]},{i:5417963,b:"8: Rulmentul - Saturn",f:"Rulmentul",t:"Saturn",n:"8",c:"#e5bedd",d:1,s:[2657605414,3652479576,3713477179,3652479572,2657703726,3473944089,2910431428,464276377,299937126,2537994014,2537999895,2538006527,2538009452,9274932348]},{i:5417964,b:"8: Saturn - Rulmentul",f:"Saturn",t:"Rulmentul",n:"8",c:"#e5bedd",d:2,s:[9274932348,3701409064,310840809,2537998221,2537995437,2537991836,464267110,3708943734,1635108121,3368804794,3652479577,3652479573,3713477178,3652479575,2657605414]},{i:5372431,b:"9: Stadionul Municipal - Rulmentul",f:"Stadionul Municipal",t:"Rulmentul",n:"9",c:"#eee04b",d:2,s:[9275068610,3654024250,3654024251,3654024253,2657710288,3654024255,3652479577,3652479573,3713477178,8934219721,8934219723,8934219728,8934219729,9275045760]},{i:5372432,b:"9: Rulmentul - Stadionul Municipal",f:"Rulmentul",t:"Stadionul Municipal",n:"9",c:"#eee04b",d:1,s:[9275045760,8934219730,8934219727,8934219725,567945864,3713477179,3652479572,2657704969,2657706440,2657713531,3654024254,3654024252,3654024249,9275068610]},{i:5417974,b:"10: Triaj - Valea Cetatii",f:"Triaj",t:"Valea Cetatii",n:"10",c:"#9e292f",d:1,s:[9274917899,3407053698,3652393629,300089533,300089535,465241917,267042578,8227802075,3640849654,2910858095,272095074,272095075,272095077,272095079,314157693,353099740,2657492053]},{i:5417975,b:"10: Valea Cetatii - Triaj",f:"Valea Cetatii",t:"Triaj",n:"10",c:"#9e292f",d:2,s:[3713443720,353100201,264561536,290004759,273437289,307019142,3701356196,3701356197,465241947,8313496897,3652436632,3652436626,3407053697,9274917899]},{i:17828246,b:"14: Livada Postei - De Mijloc - Fabrica de Var",f:"Livada Postei",t:"Fabrica de Var",n:"14",c:"#6dc24b",d:2,s:[2375041369,9245702218,12010293521,12010293524,12010293526,12010293528,3701356185,3709521411,3709521417,3709521421,3709521423,3709521415,5372688332,3709521410,3709521412]},{i:5399072,b:"14: Fabrica de Var - Livada Postei",f:"Fabrica de Var",t:"Livada Postei",n:"14",c:"#6dc24b",d:1,s:[3709521412,3709521409,9245675516,3709521414,3709521422,3709521420,3709521416,3701356188,3701356191,3701356186,3701356184,2375041369]},{i:5409348,b:"15: Triaj - Avantgarden",f:"Triaj",t:"Avantgarden",n:"15",c:"#06048c",d:2,s:[9274917903,3407053698,3709554454,3709554456,8989955187,3709554464,3652479572,2657704969,2657706440,2657713531,3654024254,3654024252,3708991157,3708991160,3708991159,3708991158,9170142236,5562037662]},{i:5409347,b:"15: Avantgarden - Triaj",f:"Avantgarden",t:"Triaj",n:"15",c:"#06048c",d:1,s:[5562037662,5562037663,3709002258,3709002260,3709045329,3709002261,3709291642,3654024251,3654024253,2657710288,3654024255,3652479577,3652479573,3709554462,3709554455,3709554453,3407053697,9274917903]},{i:5386103,b:"16: Livada Postei - Stadionul Municipal",f:"Livada Postei",t:"Stadionul Municipal",n:"16",c:"#fa6544",d:2,s:[2375041372,2655859050,2679017945,3343781090,3343778553,3343778551,3347300843,5218033007,3654024249,3701493889,3701493888,9182766577]},{i:5386102,b:"16: Stadionul Municipal - Livada Postei",f:"Stadionul Municipal",t:"Livada Postei",n:"16",c:"#fa6544",d:1,s:[9182766577,3654024250,3474036169,3701534855,3343778544,3343778549,3343778552,1923401922,2537929578,2552635273,2375041372]},{i:5386136,b:"17: Noua - Livada Postei",f:"Noua",t:"Livada Postei",n:"17",c:"#6ad1e2",d:2,s:[2657574024,611633517,611633516,611633522,611633524,611633525,611633519,3701356195,611633526,611633527,3701356196,3701356197,267042578,3652393631,2537929578,2552635273,2375041369]},{i:5386137,b:"17: Livada Postei - Noua",f:"Livada Postei",t:"Noua",n:"17",c:"#6ad1e2",d:1,s:[2375041369,2655859050,262148563,8227802075,3640849654,310018170,3701356190,2657675435,3701600887,1864408175,3701600885,611633523,611633521,611633515,2657569557,2657570995,2657574024]},{i:5409920,b:"17B: Timisul de Jos - Terminal Gara",f:"Benzinaria Petrom",t:"Terminal Gara",n:"17B",c:"#ffc72c",d:1,s:[3709600099,3709600105,3709600103,3709600101,3709600107,11893411924,3709600097,611633525,611633519,9274932345,3701409064,310840809,2537998221,2537995437,2537991836,464267110,3708943734,11801788121]},{i:5409919,b:"17B: Terminal Gara -Timisul de Jos",f:"Terminal Gara",t:"Benzinaria Petrom",n:"17B",c:"#ffc72c",d:2,s:[11801788121,2910431428,464276377,299937126,2537994014,2537999895,2538006527,2538009452,3708904920,1864408175,3701600885,3709600098,11893411924,3709600108,3709600102,3709600104,3709600106,3709600099]},{i:13338246,b:"18: Bariera Bartolomeu - IAR Ghimbav",f:"Bariera Bartolomeu",t:"IAR Ghimbav",n:"18",c:"#e58799",d:2,s:[3707775824,3707786431,3707786425,3707786437,3707786433,3707786426,9171304342,3707786436,3707786432,3707786429,3707786430,3707786428,3707786427,3713233437,3707786435,3707795551,3707795550,3709045334,3707795549,9171277177]},{i:13338245,b:"18: IAR Ghimbav - Bariera Bartolomeu",f:"IAR Ghimbav",t:"Bariera Bartolomeu",n:"18",c:"#e58799",d:1,s:[9171277177,3708889555,8926599968,3708889565,3708889558,3708889561,9170035655,3708889572,3707831699,3707831700,3707831703,3707831701,3707831705,3707831709,3707831693,3708889569,3708889575,3708889556,3708889567,3707775824]},{i:5387307,b:"20: Poiana Brasov - Livada Postei",f:"Poiana Brasov",t:"Livada Postei",n:"20",c:"#96d700",d:2,s:[3708889570,3708897319,3708897315,3708897316,300099701,3708897317,3652436629]},{i:5387306,b:"20: Livada Postei - Poiana Brasov",f:"Livada Postei",t:"Poiana Brasov",n:"20",c:"#96d700",d:1,s:[3652436629,3708889560,300099706,3708889559,3708889557,3708889571,3708889570]},{i:14428424,b:"20B: Livada Postei - Belvedere",f:"Livada Postei",t:"Belvedere",n:"20B",c:"#ceef6c",d:2,s:[3652436629,2854669944,2655859050,2552635273,9245702218,3701356185,9933396271]},{i:14428467,b:"20B: Belvedere - Livada Postei",f:"Belvedere",t:"Livada Postei",n:"20B",c:"#ceef6c",d:1,s:[9933396271,3652436629]},{i:5386246,b:"21: Noua - Triaj",f:"Noua",t:"Triaj",n:"21",c:"#fc4c01",d:1,s:[2657574024,611633517,611633516,611633522,611633524,611633525,611633519,9274932347,3701409064,310840809,2537998221,2537995437,2537991836,464267110,3652436632,3652436626,3407053697,9274917901]},{i:5386247,b:"21: Triaj - Noua",f:"Triaj",t:"Noua",n:"21",c:"#fc4c01",d:2,s:[9274917901,3407053698,3652393629,464276377,299937126,2537994014,2537999895,2538006527,2538009452,3708904920,1864408175,3701600885,611633523,611633521,611633515,2657569557,2657570995,2657574024]},{i:5387343,b:"22: Saturn - Stadionul Tineretului",f:"Saturn",t:"Stadionul Tineretului",n:"22",c:"#bb29ba",d:2,s:[9274932349,3701409064,310840809,2537998221,2537995437,464246419,3701356197,267042578,1923401922,2537929578,3708912144,3708912143,3708912142,3708912141,3708932945]},{i:5387344,b:"22: Stadionul Tineretului - Saturn",f:"Stadionul Tineretului",t:"Saturn",n:"22",c:"#bb29ba",d:1,s:[3708932945,3708932940,3708932942,3708932943,3708932944,3708932941,262148563,8227802075,264864013,3653874651,2537994014,2537999895,2538006527,2538009452,9274932349]},{i:5388542,b:"23: Depozite ILF - Saturn",f:"Depozite ILF",t:"Saturn",n:"23",c:"#005ebe",d:1,s:[3708936522,3708936521,3701493888,9275068612,3654024250,3474036169,3701534855,3343778544,3343778550,3343778546,3473944089,2910431428,464276377,299937126,2537994014,2537999895,2538006527,2538009452,9274932346]},{i:5388543,b:"23: Saturn - Depozite ILF",f:"Saturn",t:"Depozite ILF",n:"23",c:"#005ebe",d:2,s:[9274932346,3701409064,310840809,2537998221,2537995437,2537991836,464267110,3708943734,1635108121,3343778547,3343778551,3347300843,5218033007,3654024249,3701493889,3713539337,3708943733,3708936522]},{i:5388613,b:"23B: Triaj - Stadionul Municipal",f:"Triaj",t:"Stadionul Municipal",n:"23B",c:"#db3eb1",d:2,s:[9274917902,3407053698,3652393629,3708943734,1635108121,3473944193,3343781090,3343778553,3343778551,3347300843,5218033007,3654024249,9275068611]},{i:5388612,b:"23B: Stadionul Municipal - Triaj",f:"Stadionul Municipal",t:"Triaj",n:"23B",c:"#db3eb1",d:1,s:[9275068611,3654024250,3474036169,3701534855,3343778544,3343778549,3343778552,1923401916,3652479574,3473944089,2910431428,3652436632,3652436626,3407053697,9274917902]},{i:17828245,b:"24: Livada Postei - De Mijloc - Baciului",f:"Livada Postei",t:"Baciului",n:"24",c:"#7b2854",d:2,s:[2375041372,9245702218,12010293521,12010293524,12010293526,12010293528,3654024249,3701493889,3713539337,3708962052,3708962054,3708962050,3708962051,9710744128,8926599968,3708889565,3708889558,3708889561,9170035655,3707786434,3713233439,3713232814,3713232822,3713232816,3713232820,3713232802,3713232818,3713232805,9267236358]},{i:13337513,b:"24: Baciului - Stupinii Noi - Livada Postei",f:"Baciului",t:"Livada Postei",n:"24",c:"#7b2854",d:1,s:[9267236358,9267236357,3713232819,3713232803,9179480454,3713232821,3713232817,3713232823,3713232815,3831052316,3713233437,3707786435,3707795551,3707795550,3709045334,9710744131,9171391885,3708974252,3708974250,3708974254,3708974253,3708974251,3701493888,9275068612,3701356185,3701356188,3701356191,3701356186,3701356184,2375041372]},{i:5389640,b:"25: Roman - Avantgarden",f:"Roman",t:"Avantgarden",n:"25",c:"#a4e1b5",d:1,s:[9187345290,611633519,3701409064,310840809,2537998221,2537995437,2537991836,464267110,3708943734,1635108121,3343778547,3343778551,3347300843,5218033007,3708991157,3708991160,3708991159,3708991158,9170142236,5562037662]},{i:5389639,b:"25: Avantgarden - Roman",f:"Avantgarden",t:"Roman",n:"25",c:"#a4e1b5",d:2,s:[5562037662,5562037663,3709002258,3709002260,3709045329,3709002261,3654024250,3474036169,3701534855,3343778544,3343778550,3343778546,3473944089,2910431428,464276377,299937126,2537994014,2537999895,2538006527,2538009452,3708904920,9187345290]},{i:13338406,b:"28: IAR Ghimbav - Livada Postei",f:"IAR Ghimbav",t:"Livada Postei",n:"28",c:"#fbda66",d:1,s:[9171277177,3708889555,9710744131,3708889565,3709053148,3709053152,3709053149,3709053150,3709053153,3708991159,3708991158,9170142236,5562037662,3708974253,3708974251,3701493888,9275068610,3701356185,3701356188,3701356191,3701356186,3701356184,2375041372]},{i:17828242,b:"28: Livada Postei - De Mijloc - IAR Ghimbav",f:"Livada Postei",t:"IAR Ghimbav",n:"28",c:"#fbda66",d:2,s:[2375041372,9245702218,12010293521,12010293524,12010293526,12010293528,3654024249,3701493889,3713539337,3708962052,3708962054,5562037663,3709002258,3709002260,3709045329,3709045337,3709045332,3709045331,3709045336,3709045330,3709045334,3707795549,9171277177]},{i:16198891,b:"29: Bartolomeu Nord - Terminal Gara",f:"Bartolomeu Nord",t:"Terminal Gara",n:"29",c:"#ef3341",d:1,s:[3709053149,3709053150,3709053153,3709002261,3709291642,3654024251,3654024253,2657710288,3654024255,2657703726,3473944089,11801788123]},{i:16198892,b:"29: Terminal Gara - Bartolomeu Nord",f:"Terminal Gara",t:"Bartolomeu Nord",n:"29",c:"#ef3341",d:2,s:[11801788123,3368804794,2657704969,2657706440,2657713531,3654024254,3654024252,3708991157,3708991160,3709045337,3709045332,3709045331]},{i:5390264,b:"31: Livada Postei - Valea Cetatii",f:"Livada Postei",t:"Valea Cetatii",n:"31",c:"#ff5001",d:1,s:[9183614613,2655859050,262148563,8227802075,3640849654,2910858095,272095074,272095075,272095077,272095079,314157693,353099740,2657492053]},{i:5390265,b:"31: Valea Cetatii - Livada Postei",f:"Valea Cetatii",t:"Livada Postei",n:"31",c:"#ff5001",d:2,s:[3713443720,353100201,264561536,290004759,273437289,307019142,3701356196,3701356197,267042578,3652393631,2537929578,2552635273,9183614613]},{i:16218665,b:"32: Valea Cetatii - 13 Decembrie",f:"Valea Cetatii",t:"13 Decembrie",n:"32",c:"#023c9f",d:2,s:[3713443720,353100201,264561536,290004759,273437289,307019142,3701356196,3701356197,2683094124,2683092725,1635108121,3368804794,3652479577,10775488e3,10774754860,3709554454,3709554456,3709554464]},{i:16218666,b:"32: 13 Decembrie - Valea Cetatii",f:"13 Decembrie",t:"Valea Cetatii",n:"32",c:"#023c9f",d:1,s:[3709554464,3652479572,2657703726,3473944089,11801788119,2683090885,2683091443,267042578,8227802075,3640849654,2910858095,272095074,272095075,272095077,272095079,314157693,353099740,2657492053]},{i:5418079,b:"33: Valea Cetatii - Roman",f:"Valea Cetatii",t:"Roman",n:"33",c:"#c8c8c6",d:2,s:[3713443720,353100201,264561536,3713514691,3713514685,2680733271,3713302845,2680755471,9274823444]},{i:5418078,b:"33: Roman - Valea Cetatii",f:"Roman",t:"Valea Cetatii",n:"33",c:"#c8c8c6",d:1,s:[9274823444,2680751671,611633518,611633514,3713514692,3713514686,272095079,314157693,353099740,2657492053]},{i:5390289,b:"34: Livada Postei - Timis Triaj",f:"Livada Postei",t:"Timis Triaj",n:"34",c:"#98999b",d:2,s:[9183614613,2655859050,262148563,8227802075,264864013,3653874651,3709393831,2657617744,2657624828,2657653187,2657655619,3709393830,3709393829,3709393836,3709393827,3709338123,3709393833,3709393837]},{i:5390288,b:"34: Timis Triaj - Livada Postei",f:"Timis Triaj",t:"Livada Postei",n:"34",c:"#98999b",d:1,s:[3709393837,3709393834,3709338124,3709393826,3709393835,3709393828,3709393825,2657652503,2657624300,285721074,3709393832,464246419,3701356197,267042578,3652393631,2537929578,2552635273,9183614613]},{i:5390300,b:"34B: Izvor - Livada Postei",f:"Izvor Cap Linie",t:"Livada Postei",n:"34B",c:"#eebae1",d:1,s:[9164143097,11817868371,9164260788,9164260789,9164143090,3709393825,2657652503,2657624300,285721074,3709393832,464246419,3701356197,267042578,3652393631,2537929578,2552635273,9183614613]},{i:5390299,b:"34B: Livada Postei - Izvor",f:"Livada Postei",t:"Izvor Cap Linie",n:"34B",c:"#eebae1",d:2,s:[9183614613,2655859050,262148563,8227802075,264864013,3653874651,3709393831,2657617744,2657624828,2657653187,2657655619,9164143091,9164143092,9164143093,9164143097]},{i:5390328,b:"35: Terminal Gara - Noua",f:"Terminal Gara",t:"Noua",n:"35",c:"#b095a6",d:1,s:[11801788121,2683090885,2683091443,267042578,8227802075,3640849654,310018170,3701356190,2657675435,3701600887,1864408175,3701600885,611633523,611633521,611633515,2657569557,2657570995,9969267235]},{i:5390329,b:"35: Noua - Terminal Gara",f:"Noua",t:"Terminal Gara",n:"35",c:"#b095a6",d:2,s:[9969267235,611633517,611633516,611633522,611633524,611633525,611633519,3701356195,611633526,611633527,3701356196,3701356197,2683094124,2683092725,11801788121]},{i:5390330,b:"36: Independentei - Livada Postei",f:"Independentei",t:"Livada Postei",n:"36",c:"#487a7b",d:1,s:[3709437150,9171965584,9171965586,2657710288,3654024255,2657703726,3473944193,1923401922,2537929578,2552635273,2375041371]},{i:5390331,b:"36: Livada Postei - Independentei",f:"Livada Postei",t:"Independentei",n:"36",c:"#487a7b",d:2,s:[2375041371,2655859050,2679017945,1923401916,3652479574,3368804794,2657704969,2657706440,11681500791,11681500789,11671674450,11671674452,9171965589,3709437150]},{i:5410018,b:"37: Craiter - Hidro A",f:"Craiter",t:"Hidro A",n:"37",c:"#764212",d:2,s:[3713179295,3713179297,3652393629,3708943734,11801788119,2683090885,2683091443,267042578,8227802075]},{i:5410019,b:"37: Hidro A - Craiter",f:"Hidro A",t:"Craiter",n:"37",c:"#764212",d:1,s:[8227802075,2683094124,2683092725,2910431428,3652436632,2279493798,3713179296,3713179295]},{i:5390361,b:"40: Lujerului - Terminal Gara",f:"Lujerului",t:"Terminal Gara",n:"40",c:"#ffc90d",d:2,s:[3713232824,3713232813,3713233438,3708889572,3707831699,3707831700,3707831703,3707831701,3707831705,3707831709,3707831693,3709463826,3709463825,3709458524,3343778550,3343778546,3473944089,11801788125]},{i:5390360,b:"40: Terminal Gara - Lujerului",f:"Terminal Gara",t:"Lujerului",n:"40",c:"#ffc90d",d:1,s:[11801788125,3343778547,3343778551,3709449858,3709449854,9172134414,3709449855,3707786426,9171304342,3707786436,3707786432,3707786429,3707786430,3707786428,3707786427,3707786434,3831052316,3713232812,3713232824]},{i:5410088,b:"41: Lujerului - Livada Postei",f:"Lujerului",t:"Livada Postei",n:"41",c:"#7bafd4",d:1,s:[3713232824,3713232813,3713233438,3713233436,3713233431,3713233430,3713233426,9173869316,9173869313,3713233434,3713232808,3713232810,3707775824,3654024250,3708932940,3708932942,3708932943,3708932944,3708932941,2552635273,2375041372]},{i:5410087,b:"41: Livada Postei - Lujerului",f:"Livada Postei",t:"Lujerului",n:"41",c:"#7bafd4",d:2,s:[2375041372,2655859050,3709478534,3708912144,3708912143,3708912142,3708912141,3708932945,3708991157,3713232811,3713232809,3713233435,9173869312,9173869315,3713233425,3713233429,3713233432,3707786434,3831052316,3713232812,3713232824]},{i:14292150,b:"50: Camera de Comert - Solomon",f:"Camera de Comert",t:"Solomon",n:"50",c:"#d0006e",d:2,s:[3652393631,2537929578,2552635273,2375041368,3713320054,3713320055,2854669944,9174164592,9174164594,9174164596,9174164597,9174164604,9174164607,9174164610,9174164612]},{i:13329734,b:"50: Solomon - Camera de Comert",f:"Solomon",t:"Camera de Comert",n:"50",c:"#d0006e",d:1,s:[9174164612,10011185841,9174164608,9174164606,9174164599,9174164614,3713320058,3713320059,3713320056,3713320057,254344601,262148563,3652393631]},{i:13330002,b:"52: Panselelor - Tocile",f:"Panselelor",t:"Tocile",n:"52",c:"#9ad3dc",d:1,s:[9164803420,9164803422,2680755471,9274823440,611633519,3701409064,310840809,2537998221,2537995437,464246419,267042578,1923401922,2537929578,2552635273,3713320054,3713320055,2854669944,3713320058]},{i:13330003,b:"52: Tocile - Panselelor",f:"Tocile",t:"Panselelor",n:"52",c:"#9ad3dc",d:2,s:[3713320058,3713320059,3713320056,3713320057,254344601,262148563,8227802075,264864013,3653874651,2537994014,2537999895,2538006527,2538009452,3708904920,2680751671,9164803421,9164803420]},{i:13319272,b:"53: Panselelor - Facultate Constructii",f:"Panselelor",t:"Facultate Constructii",n:"53",c:"#f82b3c",d:2,s:[9164803420,9164803422,2680755471,9187345290,3701356195,611633526,611633527,3701356196,3701356197,2683094124,2683092725,1635108121,3368804794,9167564063,9167564061,9167564057]},{i:13319271,b:"53: Facultate Constructii - Panselelor",f:"Facultate Constructii",t:"Panselelor",n:"53",c:"#f82b3c",d:1,s:[9167564057,9167564059,2657703726,3473944089,2683090885,2683091443,267042578,8227802075,3640849654,310018170,3701356190,2657677035,3701356193,3713302845,9164803421,9164803420]},{i:14899833,b:"54: Hidro A - Triaj",f:"Hidro A",t:"Triaj",n:"54",c:"#98999b",d:1,s:[8227802075,3701356197,2683094124,2683092725,2910431428,3652436632,3652436626,3713264153,3713264157,3713264155,9164528578,9164528581,9164528582,9274917903]},{i:14899832,b:"54: Triaj - Hidro A",f:"Triaj",t:"Hidro A",n:"54",c:"#98999b",d:2,s:[9274917903,9164528578,9164528581,9164528582,3713264156,3713264158,3713264154,3652393629,3708943734,11801788119,2683090885,2683091443,267042578,8227802075]},{i:13326483,b:"60: Silver Mountain - Telecabina",f:"Silver Mountain",t:"Telecabina",n:"60",c:"#6b99ba",d:1,s:[9171470075,9473586964,10586930357,9171470095]},{i:13326484,b:"60: Telecabina - Silver Mountain",f:"Telecabina",t:"Silver Mountain",n:"60",c:"#6b99ba",d:2,s:[9171470095,9171470093,3708897319,9171470075]},{i:13688026,b:"100: Terminal Gara - Telecabina",f:"Terminal Gara",t:"Telecabina",n:"100",c:"#0085ca",d:2,s:[11801788120,3652393631,3652436629,3708889560,300099706,3708889559,3708889557,3708889571,10586930357,9171470095]},{i:13688025,b:"100: Telecabina - Terminal Gara",f:"Telecabina",t:"Terminal Gara",n:"100",c:"#0085ca",d:1,s:[9171470095,9171470093,3708897319,3708897315,3708897316,300099701,3708897317,2375041369,8227802075,11801788120]},{i:15962950,b:"A1: Aeroportul Brasov - Terminal Gara",f:"Aeroportul Brasov",t:"Terminal Gara",n:"A1",c:"#ffffff",d:2,s:[10964817435,3708889555,11014591991,9710744131,9171391885,3708974252,3708974250,3708974254,3708974253,3708974251,3701493888,9275068610,3701356185,3701356191,2375041369,8227802075,11801788120]},{i:17828248,b:"A1: Terminal Gara - Scolii - Aeroportul Brasov",f:"Terminal Gara",t:"Aeroportul Brasov",n:"A1",c:"#ffffff",d:1,s:[11801788120,3652393631,2375041368,12010293524,3654024249,9565453078,3713539337,3708962052,3708962054,3708962050,3708962051,9710744128,8926599968,3708889565,3707795549,10964817435]}],Mn=[{i:2375041371,s:[2375041369,2375041372,3652436629,2375041371,9183614613,2375041368],r:{lt:45.6456508,ln:25.5889315}},{i:9274823441,s:[9274823441,9274823444,9187345290,9274823442,9187345296,9274823443,9274823440],r:{lt:45.6327617,ln:25.6322576}},{i:2657605414,s:[9275045759,9275045760,9275045758,9275045757,2657605414],r:{lt:45.6822398,ln:25.6150512}},{i:3701409066,s:[3701409066,9274932348,9274932349,9274932346,3708904920,9274932345,9274932347],r:{lt:45.6350388,ln:25.6352924}},{i:9275068611,s:[9275068611,9275068609,9275068610,9182766577,9275068612,9565453078],r:{lt:45.6606749,ln:25.6122751}},{i:10198827064,s:[11801788121,11801788123,11801788127,11801788124,11801788122,11801788126,10198827064,11801788125,11801788120,11801788119],r:{lt:45.6606749,ln:25.6122751}},{i:9274917899,s:[9274917899,9274917903,9274917901,9274917902,9188081130,9274917904],r:{lt:45.6755206,ln:25.6474401}}],nf={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class eb{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||nf[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const Ts=6378137,ai=Math.PI*Ts,Vk=[-ai,-ai,ai,ai],Gk=[-180,-85,180,85],el=Ts*Math.log(Math.tan(Math.PI/2));class Uo extends eb{constructor(e){super({code:e,units:"m",extent:Vk,global:!0,worldExtent:Gk,getPointResolution:function(t,r){return t/Math.cosh(r[1]/Ts)}})}}const eg=[new Uo("EPSG:3857"),new Uo("EPSG:102100"),new Uo("EPSG:102113"),new Uo("EPSG:900913"),new Uo("http://www.opengis.net/def/crs/EPSG/0/3857"),new Uo("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Kk(n,e,t){const r=n.length;t=t>1?t:2,e===void 0&&(t>2?e=n.slice():e=new Array(r));for(let o=0;oel?i=el:i<-el&&(i=-el),e[o+1]=i}return e}function Hk(n,e,t){const r=n.length;t=t>1?t:2,e===void 0&&(t>2?e=n.slice():e=new Array(r));for(let o=0;oo&&(l=l|kt.RIGHT),si&&(l=l|kt.ABOVE),l===kt.UNKNOWN&&(l=kt.INTERSECTING),l}function pn(){return[1/0,1/0,-1/0,-1/0]}function so(n,e,t,r,o){return o?(o[0]=n,o[1]=e,o[2]=t,o[3]=r,o):[n,e,t,r]}function sc(n){return so(1/0,1/0,-1/0,-1/0,n)}function rf(n,e){const t=n[0],r=n[1];return so(t,r,t,r,e)}function of(n,e,t,r,o){const i=sc(o);return ob(i,n,e,t,r)}function ls(n,e){return n[0]==e[0]&&n[2]==e[2]&&n[1]==e[1]&&n[3]==e[3]}function qk(n,e){return e[0]n[2]&&(n[2]=e[2]),e[1]n[3]&&(n[3]=e[3]),n}function ya(n,e){e[0]n[2]&&(n[2]=e[0]),e[1]n[3]&&(n[3]=e[1])}function ob(n,e,t,r,o){for(;te[0]?r[0]=n[0]:r[0]=e[0],n[1]>e[1]?r[1]=n[1]:r[1]=e[1],n[2]=e[0]&&n[1]<=e[3]&&n[3]>=e[1]}function dc(n){return n[2]=a&&g<=l),!r&&i&kt.RIGHT&&!(o&kt.RIGHT)&&(b=h-(f-l)*p,r=b>=s&&b<=c),!r&&i&kt.BELOW&&!(o&kt.BELOW)&&(g=f-(h-s)/p,r=g>=a&&g<=l),!r&&i&kt.LEFT&&!(o&kt.LEFT)&&(b=h-(f-a)*p,r=b>=s&&b<=c)}return r}function ab(n,e){const t=e.getExtent(),r=lo(n);if(e.canWrapX()&&(r[0]=t[2])){const o=Je(t),a=Math.floor((r[0]-t[0])/o)*o;n[0]-=a,n[2]-=a}return n}function sb(n,e,t){if(e.canWrapX()){const r=e.getExtent();if(!isFinite(n[0])||!isFinite(n[2]))return[[r[0],n[1],r[2],n[3]]];ab(n,e);const o=Je(r);if(Je(n)>o&&!t)return[[r[0],n[1],r[2],n[3]]];if(n[0]r[2])return[[n[0],n[1],r[2],n[3]],[r[0],n[1],n[2]-o,n[3]]]}return[n]}function wt(n,e,t){return Math.min(Math.max(n,e),t)}function nR(n,e,t,r,o,i){const a=o-t,s=i-r;if(a!==0||s!==0){const l=((n-t)*a+(e-r)*s)/(a*a+s*s);l>1?(t=o,r=i):l>0&&(t+=a*l,r+=s*l)}return pi(n,e,t,r)}function pi(n,e,t,r){const o=t-n,i=r-e;return o*o+i*i}function rR(n){const e=n.length;for(let r=0;ri&&(i=l,o=s)}if(i===0)return null;const a=n[o];n[o]=n[r],n[r]=a;for(let s=r+1;s=0;r--){t[r]=n[r][e]/n[r][r];for(let o=r-1;o>=0;o--)n[o][e]-=n[o][r]*t[r]}return t}function yl(n){return n*Math.PI/180}function gi(n,e){const t=n%e;return t*e<0?t+e:t}function xn(n,e,t){return n+t*(e-n)}function af(n,e){const t=Math.pow(10,e);return Math.round(n*t)/t}function tl(n,e){return Math.floor(af(n,e))}function nl(n,e){return Math.ceil(af(n,e))}function lb(n,e){return n[0]+=+e[0],n[1]+=+e[1],n}function Ol(n,e){let t=!0;for(let r=n.length-1;r>=0;--r)if(n[r]!=e[r]){t=!1;break}return t}function sf(n,e){const t=Math.cos(e),r=Math.sin(e),o=n[0]*t-n[1]*r,i=n[1]*t+n[0]*r;return n[0]=o,n[1]=i,n}function cb(n,e){return n[0]*=e,n[1]*=e,n}function ub(n,e){if(e.canWrapX()){const t=Je(e.getExtent()),r=oR(n,e,t);r&&(n[0]-=r*t)}return n}function oR(n,e,t){const r=e.getExtent();let o=0;return e.canWrapX()&&(n[0]r[2])&&(t=t||Je(r),o=Math.floor((n[0]-r[0])/t)),o}const iR=63710088e-1;function rg(n,e,t){t=t||iR;const r=yl(n[1]),o=yl(e[1]),i=(o-r)/2,a=yl(e[0]-n[0])/2,s=Math.sin(i)*Math.sin(i)+Math.sin(a)*Math.sin(a)*Math.cos(r)*Math.cos(o);return 2*t*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))}function db(...n){console.warn(...n)}let Qu=!0;function fb(n){Qu=!1}function lf(n,e){if(e!==void 0){for(let t=0,r=n.length;t=-180&&n[0]<=180&&n[1]>=-90&&n[1]<=90&&(Qu=!1,db("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),n}function gb(n,e){return n}function Po(n,e){return n}function cR(){ig(eg),ig(ng),lR(ng,eg,Kk,Hk)}cR();class Er{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Ii={PROPERTYCHANGE:"propertychange"};class df{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function uR(n,e,t){let r,o;t=t||xr;let i=0,a=n.length,s=!1;for(;i>1),o=+t(n[r],e),o<0?i=r+1:(a=r,s=!o);return s?i:~i}function xr(n,e){return n>e?1:n0?o-1:o}return r-1}if(t>0){for(let o=1;o0||a===0)})}function cs(){return!0}function fc(){return!1}function Ti(){}function mb(n){let e=!1,t,r,o;return function(){const i=Array.prototype.slice.call(arguments);return(!e||this!==o||!bo(i,r))&&(e=!0,o=this,r=i,t=n.apply(this,arguments)),t}}function hR(n){function e(){let t;try{t=n()}catch(r){return Promise.reject(r)}return t instanceof Promise?t:Promise.resolve(t)}return e()}class hc extends df{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,t){if(!e||!t)return;const r=this.listeners_||(this.listeners_={}),o=r[e]||(r[e]=[]);o.includes(t)||o.push(t)}dispatchEvent(e){const t=typeof e=="string",r=t?e:e.type,o=this.listeners_&&this.listeners_[r];if(!o)return;const i=t?new Er(e):e;i.target||(i.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),s=this.pendingRemovals_||(this.pendingRemovals_={});r in a||(a[r]=0,s[r]=0),++a[r];let l;for(let c=0,u=o.length;c0:!1}removeEventListener(e,t){if(!this.listeners_)return;const r=this.listeners_[e];if(!r)return;const o=r.indexOf(t);o!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(r[o]=Ti,++this.pendingRemovals_[e]):(r.splice(o,1),r.length===0&&delete this.listeners_[e]))}}const Ee={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function Ue(n,e,t,r,o){if(r&&r!==n&&(t=t.bind(r)),o){const a=t;t=function(){n.removeEventListener(e,t),a.apply(this,arguments)}}const i={target:n,type:e,listener:t};return n.addEventListener(e,t),i}function Ml(n,e,t,r){return Ue(n,e,t,r,!0)}function ft(n){n&&n.target&&(n.target.removeEventListener(n.type,n.listener),Es(n))}class Ps extends hc{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(Ee.CHANGE)}getRevision(){return this.revision_}onInternal(e,t){if(Array.isArray(e)){const r=e.length,o=new Array(r);for(let i=0;iMath.round(t*sg[r])/sg[r]).join(", ")+")"}function no(n,e,t,r,o,i){i=i||[];let a=0;for(let s=e;s{if(!r)return this.getSimplifiedGeometry(t);const o=this.clone();return o.applyTransform(r),o.getSimplifiedGeometry(t)})}simplifyTransformed(e,t){return this.simplifyTransformedInternal(this.getRevision(),e,t)}clone(){return We()}closestPointXY(e,t,r,o){return We()}containsXY(e,t){const r=this.getClosestPoint([e,t]);return r[0]===e&&r[1]===t}getClosestPoint(e,t){return t=t||[NaN,NaN],this.closestPointXY(e[0],e[1],t,1/0),t}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return We()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&sc(t),this.extentRevision_=this.getRevision()}return eR(this.extent_,e)}rotate(e,t){We()}scale(e,t,r){We()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return We()}getType(){return We()}applyTransform(e){We()}intersectsExtent(e){return We()}translate(e,t){We()}transform(e,t){const r=Pn(e),o=r.getUnits()=="tile-pixels"?function(i,a,s){const l=r.getExtent(),c=r.getWorldExtent(),u=Nt(c)/Nt(l);return Ir(lg,c[0],c[3],u,-u,0,0,0),no(i,0,i.length,s,lg,a),Ll(r,t)(i,a,s)}:Ll(r,t);return this.applyTransform(o),this}}class pf extends CR{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return of(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return We()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const t=this.getSimplifiedGeometryInternal(e);return t.getFlatCoordinates().length1)d=t;else if(f>0){for(let h=0;ho&&(o=c),i=s,a=l}return o}function RR(n,e,t,r,o){for(let i=0,a=t.length;i0;){const d=c.pop(),f=c.pop();let h=0;const p=n[f],g=n[f+1],b=n[d],y=n[d+1];for(let m=f+r;mh&&(u=m,h=k)}h>o&&(l[(u-e)/r]=1,f+r0&&g>h)&&(p<0&&b0&&b>p)){c=d,u=f;continue}i[a++]=c,i[a++]=u,s=c,l=u,c=d,u=f}return i[a++]=c,i[a++]=u,a}function _b(n,e,t,r,o,i,a,s){for(let l=0,c=t.length;l1?a:2,i=i||new Array(a);for(let u=0;ui&&(c-s)*(i-l)-(o-s)*(u-l)>0&&a++:u<=i&&(c-s)*(i-l)-(o-s)*(u-l)<0&&a--,s=c,l=u}return a!==0}function kb(n,e,t,r,o,i){if(t.length===0||!Oo(n,e,t[0],r,o,i))return!1;for(let a=1,s=t.length;a=o[0]&&i[2]<=o[2]||i[1]>=o[1]&&i[3]<=o[3]?!0:OR(n,e,t,r,function(a,s){return tR(o,a,s)}):!1}function Ib(n,e,t,r,o){return!!(Rb(n,e,t,r,o)||Oo(n,e,t,r,o[0],o[1])||Oo(n,e,t,r,o[0],o[3])||Oo(n,e,t,r,o[2],o[1])||Oo(n,e,t,r,o[2],o[3]))}function MR(n,e,t,r,o){if(!Ib(n,e,t[0],r,o))return!1;if(t.length===1)return!0;for(let i=1,a=t.length;iy&&(c=(u+d)/2,kb(n,e,t,r,c,p)&&(b=c,y=m)),u=d}return isNaN(b)&&(b=o[i]),a?(a.push(b,p,y),a):[b,p,y]}function BR(n,e,t,r,o){let i=[];for(let a=0,s=t.length;a0}function FR(n,e,t,r,o){o=o!==void 0?o:!1;for(let i=0,a=t.length;i{const n=G=>G.split(/(\d+)/).map((q,ie)=>ie%2===0?q:parseInt(q,10)),e=(G,q)=>{const ie=n(G.busNo),me=n(q.busNo);for(let j=0;j155?"#1E232B":"#FED053";for(let Be=0;Be{G.day=q>>13&3;const ie=q>>6&31,me=q&63;G.time=`${ie<10?"0"+ie:ie}:${me<10?"0"+me:me}`,G.minutes=ie*60+me,G.encTime=q},k=Ne([]),I=Ne([]),E=Ne(!1),T=Ne(null),P=Ne(!1),F=Ne(!1),M=Ne(!1),O=Ne(!1),W=Ne(!1),Z=Ne(null),te=new Map,D=[];for(let G=0;G({loadStationTimetables:async(t,r,o)=>{await fetch(`./tt/${t}.json`).then(i=>{const a=i.headers.get("content-type");return i.ok&&a&&a.indexOf("application/json")!==-1?i.json():null}).then(i=>{i?r(i):o()})},loadBusTimetables:async(t,r,o)=>{await fetch(`./rtt/${t}.json`).then(i=>{const a=i.headers.get("content-type");return i.ok&&a&&a.indexOf("application/json")!==-1?i.json():null}).then(i=>{i?r(i):o()})}}),VR={__name:"App",setup(n){const{loadStationTimetables:e,loadBusTimetables:t}=jR(),r=NR();wr("toast",Y7()),wr("loadBusTimetables",t),wr("loadStationTimetables",e);for(const i in r)wr(i,r[i]);wr("selectedStations",Ne([]));const o=()=>{const i=window.innerWidth,a=window.innerHeight;let s;if(window.screen.orientation)s=window.screen.orientation.type;else if(window.orientation)switch(window.orientation){case 0:s="portrait-primary";break;case 90:s="landscape-primary";break;case-90:s="landscape-secondary";break;case 180:s="portrait-secondary";break;default:s="unknown";break}else s="unknown";return{width:i,height:a,orientation:s}};return Li(()=>{window.addEventListener("orientationchange",()=>{const{w:i,h:a,o:s}=o();console.log("your device orientation",`W ${i} H ${a} O ${s}`)}),window.addEventListener("resize",()=>{const{w:i,h:a,o:s}=o();console.log("your device resized",`W ${i} H ${a} O ${s}`)})}),(i,a)=>{const s=Y("Toast"),l=Y("router-view");return v(),R(de,null,[ue(s,{position:"top-center"}),ue(l)],64)}}},Yt={ADD:"add",REMOVE:"remove"},gg={LENGTH:"length"};class rl extends Er{constructor(e,t,r){super(e),this.element=t,this.index=r}}class er extends sr{constructor(e,t){if(super(),this.on,this.once,this.un,t=t||{},this.unique_=!!t.unique,this.array_=e||[],this.unique_)for(let r=0,o=this.array_.length;r0;)this.pop()}extend(e){for(let t=0,r=e.length;tthis.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(t),this.array_.splice(e,0,t),this.updateLength_(),this.dispatchEvent(new rl(Yt.ADD,t,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const t=this.getLength();return this.insertAt(t,e),this.getLength()}remove(e){const t=this.array_;for(let r=0,o=t.length;r=this.getLength())return;const t=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new rl(Yt.REMOVE,t,e)),t}setAt(e,t){const r=this.getLength();if(e>=r){this.insertAt(e,t);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(t,e);const o=this.array_[e];this.array_[e]=t,this.dispatchEvent(new rl(Yt.REMOVE,o,e)),this.dispatchEvent(new rl(Yt.ADD,t,e))}updateLength_(){this.set(gg.LENGTH,this.array_.length)}assertUnique_(e,t){for(let r=0,o=this.array_.length;r.0031308?1.055*Math.pow(i,1/2.4)-.055:i=i*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s=s*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};hs.xyz=function(n,e){var t=n[0]/255,r=n[1]/255,o=n[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var i=t*.41239079926595+r*.35758433938387+o*.18048078840183,a=t*.21263900587151+r*.71516867876775+o*.072192315360733,s=t*.019330818715591+r*.11919477979462+o*.95053215224966;return e=e||Pt.whitepoint[2].E,[i*e[0],a*e[1],s*e[2]]};const yf={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(n,e,t){var r,o,i,a,s,l,c,u,d,f,h,p,g;if(i=n[0],a=n[1],s=n[2],i===0)return[0,0,0];var b=.0011070564598794539;return e=e||"D65",t=t||2,d=Pt.whitepoint[t][e][0],f=Pt.whitepoint[t][e][1],h=Pt.whitepoint[t][e][2],p=4*d/(d+15*f+3*h),g=9*f/(d+15*f+3*h),r=a/(13*i)+p||0,o=s/(13*i)+g||0,c=i>8?f*Math.pow((i+16)/116,3):f*i*b,l=c*9*r/(4*o)||0,u=c*(12-3*r-20*o)/(4*o)||0,[l,c,u]}};Pt.luv=function(n,e,t){var r,o,i,a,s,l,c,u,d,f,h,p,g,b=.008856451679035631,y=903.2962962962961;e=e||"D65",t=t||2,d=Pt.whitepoint[t][e][0],f=Pt.whitepoint[t][e][1],h=Pt.whitepoint[t][e][2],p=4*d/(d+15*f+3*h),g=9*f/(d+15*f+3*h),l=n[0],c=n[1],u=n[2],r=4*l/(l+15*c+3*u)||0,o=9*c/(l+15*c+3*u)||0;var m=c/f;return i=m<=b?y*m:116*Math.pow(m,1/3)-16,a=13*i*(r-p),s=13*i*(o-g),[i,a,s]};var Tb={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(n){var e=n[0],t=n[1],r=n[2],o,i,a;return a=r/360*2*Math.PI,o=t*Math.cos(a),i=t*Math.sin(a),[e,o,i]},xyz:function(n){return yf.xyz(Tb.luv(n))}};yf.lchuv=function(n){var e=n[0],t=n[1],r=n[2],o=Math.sqrt(t*t+r*r),i=Math.atan2(r,t),a=i*360/2/Math.PI;return a<0&&(a+=360),[e,o,a]};Pt.lchuv=function(n){return yf.lchuv(Pt.luv(n))};const mg={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var bg={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function KR(n){var u,d;var e,t=[],r=1,o;if(typeof n=="number")return{space:"rgb",values:[n>>>16,(n&65280)>>>8,n&255],alpha:1};if(typeof n=="number")return{space:"rgb",values:[n>>>16,(n&65280)>>>8,n&255],alpha:1};if(n=String(n).toLowerCase(),mg[n])t=mg[n].slice(),o="rgb";else if(n==="transparent")r=0,o="rgb",t=[0,0,0];else if(n[0]==="#"){var i=n.slice(1),a=i.length,s=a<=4;r=1,s?(t=[parseInt(i[0]+i[0],16),parseInt(i[1]+i[1],16),parseInt(i[2]+i[2],16)],a===4&&(r=parseInt(i[3]+i[3],16)/255)):(t=[parseInt(i[0]+i[1],16),parseInt(i[2]+i[3],16),parseInt(i[4]+i[5],16)],a===8&&(r=parseInt(i[6]+i[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(n)){var l=e[1];o=l.replace(/a$/,"");var c=o==="cmyk"?4:o==="gray"?1:3;t=e[2].trim().split(/\s*[,\/]\s*|\s+/),o==="color"&&(o=t.shift()),t=t.map(function(f,h){if(f[f.length-1]==="%")return f=parseFloat(f)/100,h===3?f:o==="rgb"?f*255:o[0]==="h"||o[0]==="l"&&!h?f*100:o==="lab"?f*125:o==="lch"?h<2?f*150:f*360:o[0]==="o"&&!h?f:o==="oklab"?f*.4:o==="oklch"?h<2?f*.4:f*360:f;if(o[h]==="h"||h===2&&o[o.length-1]==="h"){if(bg[f]!==void 0)return bg[f];if(f.endsWith("deg"))return parseFloat(f);if(f.endsWith("turn"))return parseFloat(f)*360;if(f.endsWith("grad"))return parseFloat(f)*360/400;if(f.endsWith("rad"))return parseFloat(f)*180/Math.PI}return f==="none"?0:parseFloat(f)}),r=t.length>c?t.pop():1}else/[0-9](?:\s|\/|,)/.test(n)&&(t=n.match(/([0-9]+)/g).map(function(f){return parseFloat(f)}),o=((d=(u=n.match(/([a-z])/ig))==null?void 0:u.join(""))==null?void 0:d.toLowerCase())||"rgb");return{space:o,values:t,alpha:r}}const Hc={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(n){var e=n[0]/360,t=n[1]/100,r=n[2]/100,o,i,a,s,l,c=0;if(t===0)return l=r*255,[l,l,l];for(i=r<.5?r*(1+t):r+t-r*t,o=2*r-i,s=[0,0,0];c<3;)a=e+1/3*-(c-1),a<0?a++:a>1&&a--,l=6*a<1?o+(i-o)*6*a:2*a<1?i:3*a<2?o+(i-o)*(2/3-a)*6:o,s[c++]=l*255;return s}};hs.hsl=function(n){var e=n[0]/255,t=n[1]/255,r=n[2]/255,o=Math.min(e,t,r),i=Math.max(e,t,r),a=i-o,s,l,c;return i===o?s=0:e===i?s=(t-r)/a:t===i?s=2+(r-e)/a:r===i&&(s=4+(e-t)/a),s=Math.min(s*60,360),s<0&&(s+=360),c=(o+i)/2,i===o?l=0:c<=.5?l=a/(i+o):l=a/(2-i-o),[s,l*100,c*100]};function HR(n){Array.isArray(n)&&n.raw&&(n=String.raw(...arguments)),n instanceof Number&&(n=+n);var e,t=KR(n);if(!t.space)return[];const r=t.space[0]==="h"?Hc.min:hs.min,o=t.space[0]==="h"?Hc.max:hs.max;return e=Array(3),e[0]=Math.min(Math.max(t.values[0],r[0]),o[0]),e[1]=Math.min(Math.max(t.values[1],r[1]),o[1]),e[2]=Math.min(Math.max(t.values[2],r[2]),o[2]),t.space[0]==="h"&&(e=Hc.rgb(e)),e.push(Math.min(Math.max(t.alpha,0),1)),e}function WR(n){return typeof n=="string"?n:wf(n)}const UR=1024,Yi={};let Wc=0;function XR(n){if(n.length===4)return n;const e=n.slice();return e[3]=1,e}function yg(n){const e=Pt.lchuv(hs.xyz(n));return e[3]=n[3],e}function YR(n){const e=Pt.rgb(Tb.xyz(n));return e[3]=n[3],e}function vf(n){if(Yi.hasOwnProperty(n))return Yi[n];if(Wc>=UR){let t=0;for(const r in Yi)t++&3||(delete Yi[r],--Wc)}const e=HR(n);if(e.length!==4)throw new Error('Failed to parse "'+n+'" as color');for(const t of e)if(isNaN(t))throw new Error('Failed to parse "'+n+'" as color');return Eb(e),Yi[n]=e,++Wc,e}function ps(n){return Array.isArray(n)?n:vf(n)}function Eb(n){return n[0]=wt(n[0]+.5|0,0,255),n[1]=wt(n[1]+.5|0,0,255),n[2]=wt(n[2]+.5|0,0,255),n[3]=wt(n[3],0,1),n}function wf(n){let e=n[0];e!=(e|0)&&(e=e+.5|0);let t=n[1];t!=(t|0)&&(t=t+.5|0);let r=n[2];r!=(r|0)&&(r=r+.5|0);const o=n[3]===void 0?1:Math.round(n[3]*1e3)/1e3;return"rgba("+e+","+t+","+r+","+o+")"}function ZR(n){try{return vf(n),!0}catch{return!1}}const co=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",qR=co.includes("firefox"),JR=co.includes("safari")&&!co.includes("chrom");JR&&(co.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(co));const QR=co.includes("webkit")&&!co.includes("edge"),Pb=co.includes("macintosh"),Ob=typeof devicePixelRatio<"u"?devicePixelRatio:1,Lb=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,Mb=typeof Image<"u"&&Image.prototype.decode,Ab=function(){let n=!1;try{const e=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return n}();function Lt(n,e,t,r){let o;return t&&t.length?o=t.shift():Lb?o=new OffscreenCanvas(n||300,e||300):o=document.createElement("canvas"),n&&(o.width=n),e&&(o.height=e),o.getContext("2d",r)}let Uc;function Bl(){return Uc||(Uc=Lt(1,1)),Uc}function pc(n){const e=n.canvas;e.width=1,e.height=1,n.clearRect(0,0,1,1)}function vg(n,e){const t=e.parentNode;t&&t.replaceChild(n,e)}function td(n){return n&&n.parentNode?n.parentNode.removeChild(n):null}function eI(n){for(;n.lastChild;)n.removeChild(n.lastChild)}function tI(n,e){const t=n.childNodes;for(let r=0;;++r){const o=t[r],i=e[r];if(!o&&!i)break;if(o!==i){if(!o){n.appendChild(i);continue}if(!i){n.removeChild(o),--r;continue}n.insertBefore(i,o)}}}function nI(n,e,t){const r=n;let o=!0,i=!1,a=!1;const s=[Ml(r,Ee.LOAD,function(){a=!0,i||e()})];return r.src&&Mb?(i=!0,r.decode().then(function(){o&&e()}).catch(function(l){o&&(a?e():t())})):s.push(Ml(r,Ee.ERROR,t)),function(){o=!1,s.forEach(ft)}}function rI(n,e){return new Promise((t,r)=>{function o(){a(),t(n)}function i(){a(),r(new Error("Image load error"))}function a(){n.removeEventListener("load",o),n.removeEventListener("error",i)}n.addEventListener("load",o),n.addEventListener("error",i)})}function oI(n,e){return e&&(n.src=e),n.src&&Mb?new Promise((t,r)=>n.decode().then(()=>t(n)).catch(o=>n.complete&&n.width?t(n):r(o))):rI(n)}class iI{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const t in this.cache_){const r=this.cache_[t];!(e++&3)&&!r.hasListener()&&(delete this.cache_[t],delete this.patternCache_[t],--this.cacheSize_)}}}get(e,t,r){const o=Xc(e,t,r);return o in this.cache_?this.cache_[o]:null}getPattern(e,t,r){const o=Xc(e,t,r);return o in this.patternCache_?this.patternCache_[o]:null}set(e,t,r,o,i){const a=Xc(e,t,r),s=a in this.cache_;this.cache_[a]=o,i&&(o.getImageState()===Ae.IDLE&&o.load(),o.getImageState()===Ae.LOADING?o.ready().then(()=>{this.patternCache_[a]=Bl().createPattern(o.getImage(1),"repeat")}):this.patternCache_[a]=Bl().createPattern(o.getImage(1),"repeat")),s||++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function Xc(n,e,t){const r=t?ps(t):"null";return e+":"+n+":"+r}const tr=new iI;let Zi=null;class aI extends hc{constructor(e,t,r,o,i){super(),this.hitDetectionImage_=null,this.image_=e,this.crossOrigin_=r,this.canvas_={},this.color_=i,this.imageState_=o===void 0?Ae.IDLE:o,this.size_=e&&e.width&&e.height?[e.width,e.height]:null,this.src_=t,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===Ae.LOADED){Zi||(Zi=Lt(1,1,void 0,{willReadFrequently:!0})),Zi.drawImage(this.image_,0,0);try{Zi.getImageData(0,0,1,1),this.tainted_=!1}catch{Zi=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(Ee.CHANGE)}handleImageError_(){this.imageState_=Ae.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=Ae.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(e){return this.image_||this.initializeImage_(),this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_}getPixelRatio(e){return this.replaceColor_(e),this.canvas_[e]?e:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const e=this.size_[0],t=this.size_[1],r=Lt(e,t);r.fillRect(0,0,e,t),this.hitDetectionImage_=r.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===Ae.IDLE){this.image_||this.initializeImage_(),this.imageState_=Ae.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&oI(this.image_,this.src_).then(e=>{this.image_=e,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(e){if(!this.color_||this.canvas_[e]||this.imageState_!==Ae.LOADED)return;const t=this.image_,r=document.createElement("canvas");r.width=Math.ceil(t.width*e),r.height=Math.ceil(t.height*e);const o=r.getContext("2d");o.scale(e,e),o.drawImage(t,0,0),o.globalCompositeOperation="multiply",o.fillStyle=WR(this.color_),o.fillRect(0,0,r.width/e,r.height/e),o.globalCompositeOperation="destination-in",o.drawImage(t,0,0),this.canvas_[e]=r}ready(){return this.ready_||(this.ready_=new Promise(e=>{this.imageState_===Ae.LOADED||this.imageState_===Ae.ERROR?e():this.addEventListener(Ee.CHANGE,function t(){(this.imageState_===Ae.LOADED||this.imageState_===Ae.ERROR)&&(this.removeEventListener(Ee.CHANGE,t),e())})})),this.ready_}}function Cf(n,e,t,r,o,i){let a=e===void 0?void 0:tr.get(e,t,o);return a||(a=new aI(n,n&&"src"in n?n.src||void 0:e,t,r,o),tr.set(e,t,o,a,i)),i&&a&&!tr.getPattern(e,t,o)&&tr.set(e,t,o,a,i),a}class qn{constructor(e){e=e||{},this.patternImage_=null,this.color_=null,e.color!==void 0&&this.setColor(e.color)}clone(){const e=this.getColor();return new qn({color:Array.isArray(e)?e.slice():e||void 0})}getColor(){return this.color_}setColor(e){if(e!==null&&typeof e=="object"&&"src"in e){const t=Cf(null,e.src,"anonymous",void 0,e.offset?null:e.color?e.color:null,!(e.offset&&e.size));t.ready().then(()=>{this.patternImage_=null}),t.getImageState()===Ae.IDLE&&t.load(),t.getImageState()===Ae.LOADING&&(this.patternImage_=t)}this.color_=e}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}class Do{constructor(e){e=e||{},this.color_=e.color!==void 0?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=e.lineDash!==void 0?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}clone(){const e=this.getColor();return new Do({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(e){this.color_=e}setLineCap(e){this.lineCap_=e}setLineDash(e){this.lineDash_=e}setLineDashOffset(e){this.lineDashOffset_=e}setLineJoin(e){this.lineJoin_=e}setMiterLimit(e){this.miterLimit_=e}setWidth(e){this.width_=e}}function wg(n){return n[0]>0&&n[1]>0}function sI(n,e,t){return t===void 0&&(t=[0,0]),t[0]=n[0]*e+.5|0,t[1]=n[1]*e+.5|0,t}function dn(n,e){return Array.isArray(n)?n:(e===void 0?e=[n,n]:(e[0]=n,e[1]=n),e)}class gc{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=dn(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new gc({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return We()}getImage(e){return We()}getHitDetectionImage(){return We()}getPixelRatio(e){return 1}getImageState(){return We()}getImageSize(){return We()}getOrigin(){return We()}getSize(){return We()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=dn(e)}listenImageChange(e){We()}load(){We()}unlistenImageChange(e){We()}ready(){return Promise.resolve()}}function nr(n){return n?Array.isArray(n)?wf(n):typeof n=="object"&&"src"in n?lI(n):n:null}function lI(n){if(!n.offset||!n.size)return tr.getPattern(n.src,"anonymous",n.color);const e=n.src+":"+n.offset,t=tr.getPattern(e,void 0,n.color);if(t)return t;const r=tr.get(n.src,"anonymous",null);if(r.getImageState()!==Ae.LOADED)return null;const o=Lt(n.size[0],n.size[1]);return o.drawImage(r.getImage(1),n.offset[0],n.offset[1],n.size[0],n.size[1],0,0,n.size[0],n.size[1]),Cf(o.canvas,e,void 0,Ae.LOADED,n.color,!0),tr.getPattern(e,void 0,n.color)}const ol="ol-hidden",mc="ol-unselectable",Sf="ol-control",Cg="ol-collapsed",cI=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),Sg=["style","variant","weight","size","lineHeight","family"],Bb=function(n){const e=n.match(cI);if(!e)return null;const t={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let r=0,o=Sg.length;rMath.max(o,Fl(n,i)),0);return t[e]=r,r}function fI(n,e){const t=[],r=[],o=[];let i=0,a=0,s=0,l=0;for(let c=0,u=e.length;c<=u;c+=2){const d=e[c];if(d===` -`||c===u){i=Math.max(i,a),o.push(a),a=0,s+=l,l=0;continue}const f=e[c+1]||n.font,h=Fl(f,d);t.push(h),a+=h;const p=dI(f);r.push(p),l=Math.max(l,p)}return{width:i,height:s,widths:t,heights:r,lineWidths:o}}function hI(n,e,t,r,o,i,a,s,l,c,u){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=d=>d.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),r.contextInstructions?(n.translate(l,c),n.scale(u[0],u[1]),pI(r,n)):u[0]<0||u[1]<0?(n.translate(l,c),n.scale(u[0],u[1]),n.drawImage(r,o,i,a,s,0,0,a,s)):n.drawImage(r,o,i,a,s,l,c,a*u[0],s*u[1]),n.restore()}function pI(n,e){const t=n.contextInstructions;for(let r=0,o=t.length;rthis.imageState_=Ae.LOADED),this.render()}clone(){const e=this.getScale(),t=new Os({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){let t=this.canvases_[e];if(!t){const r=this.renderOptions_,o=Lt(r.size*e,r.size*e);this.draw_(r,o,e),t=o.canvas,this.canvases_[e]=t}return t}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let o=this.radius_,i=this.radius2_===void 0?o:this.radius2_;if(oh&&(f=(h+f)/2,h=f),p>g&&(p=(g+p)/2,g=p);let b=wt(r[0],f,h),y=wt(r[1],p,g);if(a&&t&&o){const m=30*o;b+=-m*Math.log(1+Math.max(0,f-r[0])/m)+m*Math.log(1+Math.max(0,r[0]-h)/m),y+=-m*Math.log(1+Math.max(0,p-r[1])/m)+m*Math.log(1+Math.max(0,r[1]-g)/m)}return[b,y]}}function yI(n){return n}function xf(n,e,t,r){const o=Je(e)/t[0],i=Nt(e)/t[1];return r?Math.min(n,Math.max(o,i)):Math.min(n,Math.min(o,i))}function kf(n,e,t){let r=Math.min(n,e);const o=50;return r*=Math.log(1+o*Math.max(0,n/e-1))/o+1,t&&(r=Math.max(r,t),r/=Math.log(1+o*Math.max(0,t/n-1))/o+1),wt(r,t/2,e*2)}function vI(n,e,t,r){return e=e!==void 0?e:!0,function(o,i,a,s){if(o!==void 0){const l=n[0],c=n[n.length-1],u=t?xf(l,t,a,r):l;if(s)return e?kf(o,u,c):wt(o,c,u);const d=Math.min(u,o),f=Math.floor(ff(n,d,i));return n[f]>u&&f1&&typeof arguments[t-1]=="function"&&(r=arguments[t-1],--t);let o=0;for(;o0}getInteracting(){return this.hints_[Dt.INTERACTING]>0}cancelAnimations(){this.setHint(Dt.ANIMATING,-this.hints_[Dt.ANIMATING]);let e;for(let t=0,r=this.animations_.length;t=0;--r){const o=this.animations_[r];let i=!0;for(let a=0,s=o.length;a0?c/l.duration:1;u>=1?(l.complete=!0,u=1):i=!1;const d=l.easing(u);if(l.sourceCenter){const f=l.sourceCenter[0],h=l.sourceCenter[1],p=l.targetCenter[0],g=l.targetCenter[1];this.nextCenter_=l.targetCenter;const b=f+d*(p-f),y=h+d*(g-h);this.targetCenter_=[b,y]}if(l.sourceResolution&&l.targetResolution){const f=d===1?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){const h=this.getViewportSize_(this.getRotation()),p=this.constraints_.resolution(f,0,h,!0);this.targetCenter_=this.calculateCenterZoom(p,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=f,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const f=d===1?gi(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){const h=this.constraints_.rotation(f,!0);this.targetCenter_=this.calculateCenterRotate(h,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=f}if(this.applyTargetState_(!0),t=!0,!l.complete)break}if(i){this.animations_[r]=null,this.setHint(Dt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=o[0].callback;a&&il(a,!0)}}this.animations_=this.animations_.filter(Boolean),t&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,t){let r;const o=this.getCenterInternal();return o!==void 0&&(r=[o[0]-t[0],o[1]-t[1]],sf(r,e-this.getRotation()),lb(r,t)),r}calculateCenterZoom(e,t){let r;const o=this.getCenterInternal(),i=this.getResolution();if(o!==void 0&&i!==void 0){const a=t[0]-e*(t[0]-o[0])/i,s=t[1]-e*(t[1]-o[1])/i;r=[a,s]}return r}getViewportSize_(e){const t=this.viewportSize_;if(e){const r=t[0],o=t[1];return[Math.abs(r*Math.cos(e))+Math.abs(o*Math.sin(e)),Math.abs(r*Math.sin(e))+Math.abs(o*Math.cos(e))]}return t}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&ed(e,this.getProjection())}getCenterInternal(){return this.get(An.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const t=this.calculateExtentInternal(e);return gb(t,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const t=this.getCenterInternal();$e(t,"The view center is not defined");const r=this.getResolution();$e(r!==void 0,"The view resolution is not defined");const o=this.getRotation();return $e(o!==void 0,"The view rotation is not defined"),qu(t,r,o,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(An.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,t){return this.getResolutionForExtentInternal(Po(e,this.getProjection()),t)}getResolutionForExtentInternal(e,t){t=t||this.getViewportSizeMinusPadding_();const r=Je(e)/t[0],o=Nt(e)/t[1];return Math.max(r,o)}getResolutionForValueFunction(e){e=e||2;const t=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,o=Math.log(t/r)/Math.log(e);return function(i){return t/Math.pow(e,i*o)}}getRotation(){return this.get(An.ROTATION)}getValueForResolutionFunction(e){const t=Math.log(e||2),r=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,i=Math.log(r/o)/t;return function(a){return Math.log(r/a)/t/i}}getViewportSizeMinusPadding_(e){let t=this.getViewportSize_(e);const r=this.padding_;return r&&(t=[t[0]-r[1]-r[3],t[1]-r[0]-r[2]]),t}getState(){const e=this.getProjection(),t=this.getResolution(),r=this.getRotation();let o=this.getCenterInternal();const i=this.padding_;if(i){const a=this.getViewportSizeMinusPadding_();o=qc(o,this.getViewportSize_(),[a[0]/2+i[3],a[1]/2+i[0]],t,r)}return{center:o.slice(0),projection:e!==void 0?e:null,resolution:t,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:r,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const t=this.getResolution();return t!==void 0&&(e=this.getZoomForResolution(t)),e}getZoomForResolution(e){let t=this.minZoom_||0,r,o;if(this.resolutions_){const i=ff(this.resolutions_,e,1);t=i,r=this.resolutions_[i],i==this.resolutions_.length-1?o=2:o=r/this.resolutions_[i+1]}else r=this.maxResolution_,o=this.zoomFactor_;return t+Math.log(r/e)/Math.log(o)}getResolutionForZoom(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const t=wt(Math.floor(e),0,this.resolutions_.length-2),r=this.resolutions_[t]/this.resolutions_[t+1];return this.resolutions_[t]/Math.pow(r,wt(e-t,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,t){let r;if($e(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){$e(!dc(e),"Cannot fit empty extent provided as `geometry`");const o=Po(e,this.getProjection());r=pg(o)}else if(e.getType()==="Circle"){const o=Po(e.getExtent(),this.getProjection());r=pg(o),r.rotate(this.getRotation(),lo(o))}else r=e;this.fitInternal(r,t)}rotatedExtentForGeometry(e){const t=this.getRotation(),r=Math.cos(t),o=Math.sin(-t),i=e.getFlatCoordinates(),a=e.getStride();let s=1/0,l=1/0,c=-1/0,u=-1/0;for(let d=0,f=i.length;d{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}isVisible(e){let t;const r=this.getMapInternal();!e&&r&&(e=r.getView()),e instanceof Jn?t={viewState:e.getState(),extent:e.calculateExtent()}:t=e,!t.layerStatesArray&&r&&(t.layerStatesArray=r.getLayerGroup().getLayerStatesArray());let o;t.layerStatesArray?o=t.layerStatesArray.find(a=>a.layer===this):o=this.getLayerState();const i=this.getExtent();return If(o,t.viewState)&&(!i||Jt(i,t.extent))}getAttributions(e){if(!this.isVisible(e))return[];let t;const r=this.getSource();if(r&&(t=r.getAttributions()),!t)return[];const o=e instanceof Jn?e.getViewStateAndExtent():e;let i=t(o);return Array.isArray(i)||(i=[i]),i}render(e,t){const r=this.getRenderer();return r.prepareFrame(e)?(this.rendered=!0,r.renderFrame(e,t)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(e,t){}renderDeferred(e){const t=this.getRenderer();t&&t.renderDeferred(e)}setMapInternal(e){e||this.unrender(),this.set(tt.MAP,e)}getMapInternal(){return this.get(tt.MAP)}setMap(e){this.mapPrecomposeKey_&&(ft(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(ft(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=Ue(e,In.PRECOMPOSE,function(t){const o=t.frameState.layerStatesArray,i=this.getLayerState(!1);$e(!o.some(function(a){return a.layer===i.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),o.push(i)},this),this.mapRenderKey_=Ue(this,Ee.CHANGE,e.render,e),this.changed())}setSource(e){this.set(tt.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function If(n,e){if(!n.visible)return!1;const t=e.resolution;if(t=n.maxResolution)return!1;const r=e.zoom;return r>n.minZoom&&r<=n.maxZoom}function EI(n,e,t,r,o){jb(n,e,t||0,r||n.length-1,o||PI)}function jb(n,e,t,r,o){for(;r>t;){if(r-t>600){var i=r-t+1,a=e-t+1,s=Math.log(i),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(i-l)/i)*(a-i/2<0?-1:1),u=Math.max(t,Math.floor(e-a*l/i+c)),d=Math.min(r,Math.floor(e+(i-a)*l/i+c));jb(n,e,u,d,o)}var f=n[e],h=t,p=r;for(qi(n,t,e),o(n[r],f)>0&&qi(n,t,r);h0;)p--}o(n[t],f)===0?qi(n,t,p):(p++,qi(n,p,r)),p<=e&&(t=p+1),e<=p&&(r=p-1)}}function qi(n,e,t){var r=n[e];n[e]=n[t],n[t]=r}function PI(n,e){return ne?1:0}let Vb=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let t=this.data;const r=[];if(!sl(e,t))return r;const o=this.toBBox,i=[];for(;t;){for(let a=0;a=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(o,i,t)}_split(e,t){const r=e[t],o=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,o);const a=this._chooseSplitIndex(r,i,o),s=ti(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,Xo(r,this.toBBox),Xo(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(r,s)}_splitRoot(e,t){this.data=ti([e,t]),this.data.height=e.height+1,this.data.leaf=!1,Xo(this.data,this.toBBox)}_chooseSplitIndex(e,t,r){let o,i=1/0,a=1/0;for(let s=t;s<=r-t;s++){const l=na(e,0,s,this.toBBox),c=na(e,s,r,this.toBBox),u=BI(l,c),d=Jc(l)+Jc(c);u=t;c--){const u=e.children[c];ra(s,e.leaf?i(u):u),l+=al(s)}return l}_adjustParentBBoxes(e,t,r){for(let o=r;o>=0;o--)ra(t[o],e)}_condense(e){for(let t=e.length-1,r;t>=0;t--)e[t].children.length===0?t>0?(r=e[t-1].children,r.splice(r.indexOf(e[t]),1)):this.clear():Xo(e[t],this.toBBox)}};function OI(n,e,t){if(!t)return e.indexOf(n);for(let r=0;r=n.minX&&e.maxY>=n.minY}function ti(n){return{children:n,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Tg(n,e,t,r,o){const i=[e,t];for(;i.length;){if(t=i.pop(),e=i.pop(),t-e<=r)continue;const a=e+Math.ceil((t-e)/r/2)*r;EI(n,a,e,t,o),i.push(e,a,a,t)}}function Eg(n,e,t,r){return t!==void 0&&r!==void 0?[t/n,r/e]:t!==void 0?t/n:r!==void 0?r/e:1}class Ms extends gc{constructor(e){e=e||{};const t=e.opacity!==void 0?e.opacity:1,r=e.rotation!==void 0?e.rotation:0,o=e.scale!==void 0?e.scale:1,i=e.rotateWithView!==void 0?e.rotateWithView:!1;super({opacity:t,rotation:r,scale:o,displacement:e.displacement!==void 0?e.displacement:[0,0],rotateWithView:i,declutterMode:e.declutterMode}),this.anchor_=e.anchor!==void 0?e.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=e.anchorOrigin!==void 0?e.anchorOrigin:"top-left",this.anchorXUnits_=e.anchorXUnits!==void 0?e.anchorXUnits:"fraction",this.anchorYUnits_=e.anchorYUnits!==void 0?e.anchorYUnits:"fraction",this.crossOrigin_=e.crossOrigin!==void 0?e.crossOrigin:null;const a=e.img!==void 0?e.img:null;let s=e.src;$e(!(s!==void 0&&a),"`image` and `src` cannot be provided at the same time"),(s===void 0||s.length===0)&&a&&(s=a.src||Xe(a)),$e(s!==void 0&&s.length>0,"A defined and non-empty `src` or `image` must be provided"),$e(!((e.width!==void 0||e.height!==void 0)&&e.scale!==void 0),"`width` or `height` cannot be provided together with `scale`");let l;if(e.src!==void 0?l=Ae.IDLE:a!==void 0&&("complete"in a?a.complete?l=a.src?Ae.LOADED:Ae.IDLE:l=Ae.LOADING:l=Ae.LOADED),this.color_=e.color!==void 0?ps(e.color):null,this.iconImage_=Cf(a,s,this.crossOrigin_,l,this.color_),this.offset_=e.offset!==void 0?e.offset:[0,0],this.offsetOrigin_=e.offsetOrigin!==void 0?e.offsetOrigin:"top-left",this.origin_=null,this.size_=e.size!==void 0?e.size:null,e.width!==void 0||e.height!==void 0){let c,u;if(e.size)[c,u]=e.size;else{const d=this.getImage(1);if(d.width&&d.height)c=d.width,u=d.height;else if(d instanceof HTMLImageElement){this.initialOptions_=e;const f=()=>{if(this.unlistenImageChange(f),!this.initialOptions_)return;const h=this.iconImage_.getSize();this.setScale(Eg(h[0],h[1],e.width,e.height))};this.listenImageChange(f);return}}c!==void 0&&this.setScale(Eg(c,u,e.width,e.height))}}clone(){let e,t,r;return this.initialOptions_?(t=this.initialOptions_.width,r=this.initialOptions_.height):(e=this.getScale(),e=Array.isArray(e)?e.slice():e),new Ms({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:e,width:t,height:r,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let e=this.normalizedAnchor_;if(!e){e=this.anchor_;const o=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!o)return null;e=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(e[0]*=o[0]),this.anchorYUnits_=="fraction"&&(e[1]*=o[1])}if(this.anchorOrigin_!="top-left"){if(!o)return null;e===this.anchor_&&(e=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(e[0]=-e[0]+o[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(e[1]=-e[1]+o[1])}this.normalizedAnchor_=e}const t=this.getDisplacement(),r=this.getScaleArray();return[e[0]-t[0]/r[0],e[1]+t[1]/r[1]]}setAnchor(e){this.anchor_=e,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(e){return this.iconImage_.getImage(e)}getPixelRatio(e){return this.iconImage_.getPixelRatio(e)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let e=this.offset_;if(this.offsetOrigin_!="top-left"){const t=this.getSize(),r=this.iconImage_.getSize();if(!t||!r)return null;e=e.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(e[0]=r[0]-t[0]-e[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(e[1]=r[1]-t[1]-e[1])}return this.origin_=e,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const e=this.getScaleArray();if(this.size_)return this.size_[0]*e[0];if(this.iconImage_.getImageState()==Ae.LOADED)return this.iconImage_.getSize()[0]*e[0]}getHeight(){const e=this.getScaleArray();if(this.size_)return this.size_[1]*e[1];if(this.iconImage_.getImageState()==Ae.LOADED)return this.iconImage_.getSize()[1]*e[1]}setScale(e){delete this.initialOptions_,super.setScale(e)}listenImageChange(e){this.iconImage_.addEventListener(Ee.CHANGE,e)}load(){this.iconImage_.load()}unlistenImageChange(e){this.iconImage_.removeEventListener(Ee.CHANGE,e)}ready(){return this.iconImage_.ready()}}let jo=0;const $i=0,mt=1<",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Coalesce:"coalesce",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette",ToString:"to-string"},NI={[z.Get]:Te(([n,e])=>e!==void 0?zI(e.value):At,Oe(1,2),jI),[z.Var]:Te(([n])=>n.type,Oe(1,1),VI),[z.Id]:Te(be|ln,Ji,GI),[z.Concat]:Te(ln,Oe(2,1/0),ze(At)),[z.GeometryType]:Te(ln,Ji,KI),[z.Resolution]:Te(be,Ji),[z.Zoom]:Te(be,Ji),[z.Time]:Te(be,Ji),[z.Any]:Te(mt,Oe(2,1/0),ze(mt)),[z.All]:Te(mt,Oe(2,1/0),ze(mt)),[z.Not]:Te(mt,Oe(1,1),ze(mt)),[z.Equal]:Te(mt,Oe(2,2),ze(At),Br),[z.NotEqual]:Te(mt,Oe(2,2),ze(At),Br),[z.GreaterThan]:Te(mt,Oe(2,2),ze(At),Br),[z.GreaterThanOrEqualTo]:Te(mt,Oe(2,2),ze(At),Br),[z.LessThan]:Te(mt,Oe(2,2),ze(At),Br),[z.LessThanOrEqualTo]:Te(mt,Oe(2,2),ze(At),Br),[z.Multiply]:Te(n=>{let e=be|Rt;for(let t=0;t{let e=At;for(let t=1;t{let e=At;for(let t=2;t{let e=Rt|be;for(let t=3;t{let e=At;for(let t=1;tn.length===2?or|wa:n.length===3||n.length===4?or|Rt:or,Oe(1,1/0),ze(be)),[z.Color]:Te(Rt,Oe(1,4),ze(be)),[z.Band]:Te(be,Oe(1,3),ze(be)),[z.Palette]:Te(Rt,Oe(2,2),ZI),[z.ToString]:Te(ln,Oe(1,1),ze(mt|be|ln|Rt))};function jI(n,e){const t=qe(n[1],e);if(!(t instanceof qr))throw new Error("Expected a literal argument for get operation");if(typeof t.value!="string")throw new Error("Expected a string argument for get operation");if(e.properties.add(t.value),n.length===3){const r=qe(n[2],e);return[t,r]}return[t]}function VI(n,e,t,r){const o=n[1];if(typeof o!="string")throw new Error("Expected a string argument for var operation");if(e.variables.add(o),!("variables"in e.style)||e.style.variables[o]===void 0)return[new qr(At,o)];const i=e.style.variables[o],a=qe(i,e);if(a.value=o,r&&!ir(r,a.type))throw new Error(`The variable ${o} has type ${jt(a.type)} but the following type was expected: ${jt(r)}`);return[a]}function GI(n,e){e.featureId=!0}function KI(n,e){e.geometryType=!0}function Ji(n,e){const t=n[0];if(n.length!==1)throw new Error(`Expected no arguments for ${t} operation`);return[]}function Oe(n,e){return function(t,r){const o=t[0],i=t.length-1;if(n===e){if(i!==n){const a=n===1?"":"s";throw new Error(`Expected ${n} argument${a} for ${o}, got ${i}`)}}else if(ie){const a=e===1/0?`${n} or more`:`${n} to ${e}`;throw new Error(`Expected ${a} arguments for ${o}, got ${i}`)}}}function ze(n){return function(e,t){const r=e[0],o=e.length-1,i=new Array(o);for(let a=0;ar.featureId;case z.GeometryType:return r=>r.geometryType;case z.Concat:{const r=n.args.map(o=>Vn(o));return o=>"".concat(...r.map(i=>i(o).toString()))}case z.Resolution:return r=>r.resolution;case z.Any:case z.All:case z.Between:case z.In:case z.Not:return tT(n);case z.Equal:case z.NotEqual:case z.LessThan:case z.LessThanOrEqualTo:case z.GreaterThan:case z.GreaterThanOrEqualTo:return eT(n);case z.Multiply:case z.Divide:case z.Add:case z.Subtract:case z.Clamp:case z.Mod:case z.Pow:case z.Abs:case z.Floor:case z.Ceil:case z.Round:case z.Sin:case z.Cos:case z.Atan:case z.Sqrt:return nT(n);case z.Case:return rT(n);case z.Match:return oT(n);case z.Interpolate:return iT(n);case z.ToString:return aT(n);default:throw new Error(`Unsupported operator ${t}`)}}function JI(n,e){const t=n.operator,r=n.args.length,o=new Array(r);for(let i=0;i{for(let a=0;a{for(let a=0;ao.properties[r];case z.Var:return o=>o.variables[r];default:throw new Error(`Unsupported accessor operator ${n.operator}`)}}function eT(n,e){const t=n.operator,r=Vn(n.args[0]),o=Vn(n.args[1]);switch(t){case z.Equal:return i=>r(i)===o(i);case z.NotEqual:return i=>r(i)!==o(i);case z.LessThan:return i=>r(i)r(i)<=o(i);case z.GreaterThan:return i=>r(i)>o(i);case z.GreaterThanOrEqualTo:return i=>r(i)>=o(i);default:throw new Error(`Unsupported comparison operator ${t}`)}}function tT(n,e){const t=n.operator,r=n.args.length,o=new Array(r);for(let i=0;i{for(let a=0;a{for(let a=0;a{const a=o[0](i),s=o[1](i),l=o[2](i);return a>=s&&a<=l};case z.In:return i=>{const a=o[0](i);for(let s=1;s!o[0](i);default:throw new Error(`Unsupported logical operator ${t}`)}}function nT(n,e){const t=n.operator,r=n.args.length,o=new Array(r);for(let i=0;i{let a=1;for(let s=0;so[0](i)/o[1](i);case z.Add:return i=>{let a=0;for(let s=0;so[0](i)-o[1](i);case z.Clamp:return i=>{const a=o[0](i),s=o[1](i);if(al?l:a};case z.Mod:return i=>o[0](i)%o[1](i);case z.Pow:return i=>Math.pow(o[0](i),o[1](i));case z.Abs:return i=>Math.abs(o[0](i));case z.Floor:return i=>Math.floor(o[0](i));case z.Ceil:return i=>Math.ceil(o[0](i));case z.Round:return i=>Math.round(o[0](i));case z.Sin:return i=>Math.sin(o[0](i));case z.Cos:return i=>Math.cos(o[0](i));case z.Atan:return r===2?i=>Math.atan2(o[0](i),o[1](i)):i=>Math.atan(o[0](i));case z.Sqrt:return i=>Math.sqrt(o[0](i));default:throw new Error(`Unsupported numeric operator ${t}`)}}function rT(n,e){const t=n.args.length,r=new Array(t);for(let o=0;o{for(let i=0;i{const i=r[0](o);for(let a=1;a{const i=r[0](o),a=r[1](o);let s,l;for(let c=2;c=a)return c===2?d:f?sT(i,a,s,l,u,d):oa(i,a,s,l,u,d);s=u,l=d}return l}}function aT(n,e){const t=n.operator,r=n.args.length,o=new Array(r);for(let i=0;i{const a=o[0](i);return n.args[0].type===Rt?wf(a):a.toString()};default:throw new Error(`Unsupported convert operator ${t}`)}}function oa(n,e,t,r,o,i){const a=o-t;if(a===0)return r;const s=e-t,l=n===1?s/a:(Math.pow(n,s)-1)/(Math.pow(n,a)-1);return r+l*(i-r)}function sT(n,e,t,r,o,i){if(o-t===0)return r;const s=yg(r),l=yg(i);let c=l[2]-s[2];c>180?c-=360:c<-180&&(c+=360);const u=[oa(n,e,t,s[0],o,l[0]),oa(n,e,t,s[1],o,l[1]),s[2]+oa(n,e,t,0,o,c),oa(n,e,t,r[3],o,i[3])];return Eb(YR(u))}function lT(n){return!0}function cT(n){const e=Kb(),t=uT(n,e),r=Wb();return function(o,i){if(r.properties=o.getPropertiesInternal(),r.resolution=i,e.featureId){const a=o.getId();a!==void 0?r.featureId=a:r.featureId=null}return e.geometryType&&(r.geometryType=Hb(o.getGeometry())),t(r)}}function Og(n){const e=Kb(),t=n.length,r=new Array(t);for(let a=0;a4)throw new Error(`Expected a color with 3 or 4 values for ${e}`);return t}function Zb(n,e){const t=As(n,e);if(t.length!==2)throw new Error(`Expected an array of two numbers for ${e}`);return t}function CT(n,e){return typeof n=="number"?n:Zb(n,e)}const Bg={RENDER_ORDER:"renderOrder"};class qb extends bc{constructor(e){e=e||{};const t=Object.assign({},e);delete t.style,delete t.renderBuffer,delete t.updateWhileAnimating,delete t.updateWhileInteracting,super(t),this.declutter_=e.declutter?String(e.declutter):void 0,this.renderBuffer_=e.renderBuffer!==void 0?e.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(e.style),this.updateWhileAnimating_=e.updateWhileAnimating!==void 0?e.updateWhileAnimating:!1,this.updateWhileInteracting_=e.updateWhileInteracting!==void 0?e.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(e){return super.getFeatures(e)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(Bg.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(e,t){const r=this.getDeclutter();r in e.declutter||(e.declutter[r]=new Vb(9)),this.getRenderer().renderDeclutter(e,t)}setRenderOrder(e){this.set(Bg.RENDER_ORDER,e)}setStyle(e){this.style_=e===void 0?$b:e;const t=ST(e);this.styleFunction_=e===null?void 0:gI(t),this.changed()}}function ST(n){if(n===void 0)return $b;if(!n)return null;if(typeof n=="function"||n instanceof sn)return n;if(!Array.isArray(n))return Og([n]);if(n.length===0)return[];const e=n.length,t=n[0];if(t instanceof sn){const o=new Array(e);for(let i=0;il&&(this.instructions.push([ve.CUSTOM,l,u,e,r,li,i]),this.hitDetectionInstructions.push([ve.CUSTOM,l,u,e,o||r,li,i]));break;case"Point":c=e.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),u=this.coordinates.length,this.instructions.push([ve.CUSTOM,l,u,e,r,void 0,i]),this.hitDetectionInstructions.push([ve.CUSTOM,l,u,e,o||r,void 0,i]);break}this.endGeometry(t)}beginGeometry(e,t,r){this.beginGeometryInstruction1_=[ve.BEGIN_GEOMETRY,t,0,e,r],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[ve.BEGIN_GEOMETRY,t,0,e,r],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const e=this.hitDetectionInstructions;e.reverse();let t;const r=e.length;let o,i,a=-1;for(t=0;tthis.maxLineWidth&&(this.maxLineWidth=r.lineWidth,this.bufferedMaxExtent_=null)}else r.strokeStyle=void 0,r.lineCap=void 0,r.lineDash=null,r.lineDashOffset=void 0,r.lineJoin=void 0,r.lineWidth=void 0,r.miterLimit=void 0}createFill(e){const t=e.fillStyle,r=[ve.SET_FILL_STYLE,t];return typeof t!="string"&&r.push(e.fillPatternScale),r}applyStroke(e){this.instructions.push(this.createStroke(e))}createStroke(e){return[ve.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,this.applyPixelRatio(e.lineDash),e.lineDashOffset*this.pixelRatio]}updateFillStyle(e,t){const r=e.fillStyle;(typeof r!="string"||e.currentFillStyle!=r)&&(r!==void 0&&this.instructions.push(t.call(this,e)),e.currentFillStyle=r)}updateStrokeStyle(e,t){const r=e.strokeStyle,o=e.lineCap,i=e.lineDash,a=e.lineDashOffset,s=e.lineJoin,l=e.lineWidth,c=e.miterLimit;(e.currentStrokeStyle!=r||e.currentLineCap!=o||i!=e.currentLineDash&&!bo(e.currentLineDash,i)||e.currentLineDashOffset!=a||e.currentLineJoin!=s||e.currentLineWidth!=l||e.currentMiterLimit!=c)&&(r!==void 0&&t.call(this,e),e.currentStrokeStyle=r,e.currentLineCap=o,e.currentLineDash=i,e.currentLineDashOffset=a,e.currentLineJoin=s,e.currentLineWidth=l,e.currentMiterLimit=c)}endGeometry(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const t=[ve.END_GEOMETRY,e];this.instructions.push(t),this.hitDetectionInstructions.push(t)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=tb(this.maxExtent),this.maxLineWidth>0)){const e=this.resolution*(this.maxLineWidth+1)/2;ac(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}class _T extends Bs{constructor(e,t,r,o){super(e,t,r,o),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(e,t,r){if(!this.image_||this.maxExtent&&!Ri(this.maxExtent,e.getFlatCoordinates()))return;this.beginGeometry(e,t,r);const o=e.getFlatCoordinates(),i=e.getStride(),a=this.coordinates.length,s=this.appendFlatPointCoordinates(o,i);this.instructions.push([ve.DRAW_IMAGE,a,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([ve.DRAW_IMAGE,a,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(t)}drawMultiPoint(e,t,r){if(!this.image_)return;this.beginGeometry(e,t,r);const o=e.getFlatCoordinates(),i=[];for(let l=0,c=o.length;l=n){const p=(n-s+h)/h,g=xn(c,d,p),b=xn(u,f,p);l.push(g,b),i.push(l),l=[g,b],s==n&&(a+=o),s=0}else if(s0&&i.push(l),i}function RT(n,e,t,r,o){let i=t,a=t,s=0,l=0,c=t,u,d,f,h,p,g,b,y,m,C;for(d=t;dn&&(l>s&&(s=l,i=c,a=d),l=0,c=d-o)),f=h,b=m,y=C),p=_,g=k}return l+=h,l>s?[c,d]:[i,a]}const Nl={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class IT extends Bs{constructor(e,t,r,o){super(e,t,r,o),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[Zt]={fillStyle:Zt},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const e=super.finish();return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e}drawText(e,t,r){const o=this.textFillState_,i=this.textStrokeState_,a=this.textState_;if(this.text_===""||!a||!o&&!i)return;const s=this.coordinates;let l=s.length;const c=e.getType();let u=null,d=e.getStride();if(a.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!Jt(this.maxExtent,e.getExtent()))return;let f;if(u=e.getFlatCoordinates(),c=="LineString")f=[u.length];else if(c=="MultiLineString")f=e.getEnds();else if(c=="Polygon")f=e.getEnds().slice(0,1);else if(c=="MultiPolygon"){const b=e.getEndss();f=[];for(let y=0,m=b.length;y{const k=s[(m+_)*2]===u[_*d]&&s[(m+_)*2+1]===u[_*d+1];return k||--m,k})}this.saveTextStates_(),(a.backgroundFill||a.backgroundStroke)&&(this.setFillStrokeStyle(a.backgroundFill,a.backgroundStroke),a.backgroundFill&&this.updateFillStyle(this.state,this.createFill),a.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(e,t,r);let p=a.padding;if(p!=Lo&&(a.scale[0]<0||a.scale[1]<0)){let m=a.padding[0],C=a.padding[1],_=a.padding[2],k=a.padding[3];a.scale[0]<0&&(C=-C,k=-k),a.scale[1]<0&&(m=-m,_=-_),p=[m,C,_,k]}const g=this.pixelRatio;this.instructions.push([ve.DRAW_IMAGE,l,h,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,p==Lo?Lo:p.map(function(m){return m*g}),!!a.backgroundFill,!!a.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,f]);const b=1/g,y=this.state.fillStyle;a.backgroundFill&&(this.state.fillStyle=Zt,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([ve.DRAW_IMAGE,l,h,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[b,b],NaN,this.declutterMode_,this.declutterImageWithText_,p,!!a.backgroundFill,!!a.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?Zt:this.fillKey_,this.textOffsetX_,this.textOffsetY_,f]),a.backgroundFill&&(this.state.fillStyle=y,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(t)}}saveTextStates_(){const e=this.textStrokeState_,t=this.textState_,r=this.textFillState_,o=this.strokeKey_;e&&(o in this.strokeStates||(this.strokeStates[o]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));const i=this.textKey_;i in this.textStates||(this.textStates[i]={font:t.font,textAlign:t.textAlign||bs,justify:t.justify,textBaseline:t.textBaseline||Dl,scale:t.scale});const a=this.fillKey_;r&&(a in this.fillStates||(this.fillStates[a]={fillStyle:r.fillStyle}))}drawChars_(e,t){const r=this.textStrokeState_,o=this.textState_,i=this.strokeKey_,a=this.textKey_,s=this.fillKey_;this.saveTextStates_();const l=this.pixelRatio,c=Nl[o.textBaseline],u=this.textOffsetY_*l,d=this.text_,f=r?r.lineWidth*Math.abs(o.scale[0])/2:0;this.instructions.push([ve.DRAW_CHARS,e,t,c,o.overflow,s,o.maxAngle,l,u,i,f*l,d,a,1,this.declutterMode_]),this.hitDetectionInstructions.push([ve.DRAW_CHARS,e,t,c,o.overflow,s&&Zt,o.maxAngle,l,u,i,f*l,d,a,1/l,this.declutterMode_])}setTextStyle(e,t){let r,o,i;if(!e)this.text_="";else{const a=e.getFill();a?(o=this.textFillState_,o||(o={},this.textFillState_=o),o.fillStyle=nr(a.getColor()||Zt)):(o=null,this.textFillState_=o);const s=e.getStroke();if(!s)i=null,this.textStrokeState_=i;else{i=this.textStrokeState_,i||(i={},this.textStrokeState_=i);const p=s.getLineDash(),g=s.getLineDashOffset(),b=s.getWidth(),y=s.getMiterLimit();i.lineCap=s.getLineCap()||Pi,i.lineDash=p?p.slice():kr,i.lineDashOffset=g===void 0?Rr:g,i.lineJoin=s.getLineJoin()||Oi,i.lineWidth=b===void 0?ys:b,i.miterLimit=y===void 0?gs:y,i.strokeStyle=nr(s.getColor()||ms)}r=this.textState_;const l=e.getFont()||Db;uI(l);const c=e.getScaleArray();r.overflow=e.getOverflow(),r.font=l,r.maxAngle=e.getMaxAngle(),r.placement=e.getPlacement(),r.textAlign=e.getTextAlign(),r.repeat=e.getRepeat(),r.justify=e.getJustify(),r.textBaseline=e.getTextBaseline()||Dl,r.backgroundFill=e.getBackgroundFill(),r.backgroundStroke=e.getBackgroundStroke(),r.padding=e.getPadding()||Lo,r.scale=c===void 0?[1,1]:c;const u=e.getOffsetX(),d=e.getOffsetY(),f=e.getRotateWithView(),h=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=u===void 0?0:u,this.textOffsetY_=d===void 0?0:d,this.textRotateWithView_=f===void 0?!1:f,this.textRotation_=h===void 0?0:h,this.strokeKey_=i?(typeof i.strokeStyle=="string"?i.strokeStyle:Xe(i.strokeStyle))+i.lineCap+i.lineDashOffset+"|"+i.lineWidth+i.lineJoin+i.miterLimit+"["+i.lineDash.join()+"]":"",this.textKey_=r.font+r.scale+(r.textAlign||"?")+(r.repeat||"?")+(r.justify||"?")+(r.textBaseline||"?"),this.fillKey_=o&&o.fillStyle?typeof o.fillStyle=="string"?o.fillStyle:"|"+Xe(o.fillStyle):""}this.declutterMode_=e.getDeclutterMode(),this.declutterImageWithText_=t}}const TT={Circle:Fg,Default:Bs,Image:_T,LineString:xT,Polygon:Fg,Text:IT};class ET{constructor(e,t,r,o){this.tolerance_=e,this.maxExtent_=t,this.pixelRatio_=o,this.resolution_=r,this.buildersByZIndex_={}}finish(){const e={};for(const t in this.buildersByZIndex_){e[t]=e[t]||{};const r=this.buildersByZIndex_[t];for(const o in r){const i=r[o].finish();e[t][o]=i}}return e}getBuilder(e,t){const r=e!==void 0?e.toString():"0";let o=this.buildersByZIndex_[r];o===void 0&&(o={},this.buildersByZIndex_[r]=o);let i=o[t];if(i===void 0){const a=TT[t];i=new a(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),o[t]=i}return i}}class PT extends Ps{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e}getFeatures(e){return We()}getData(e){return null}prepareFrame(e){return We()}renderFrame(e,t){return We()}loadedTileCallback(e,t,r){e[t]||(e[t]={}),e[t][r.tileCoord.toString()]=r}createLoadedTileFinder(e,t,r){return(o,i)=>{const a=this.loadedTileCallback.bind(this,r,o);return e.forEachLoadedTile(t,o,i,a)}}forEachFeatureAtCoordinate(e,t,r,o,i){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){const t=e.target;(t.getState()===Ae.LOADED||t.getState()===Ae.ERROR)&&this.renderIfReadyAndVisible()}loadImage(e){let t=e.getState();return t!=Ae.LOADED&&t!=Ae.ERROR&&e.addEventListener(Ee.CHANGE,this.boundHandleImageChange_),t==Ae.IDLE&&(e.load(),t=e.getState()),t==Ae.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&e.getSourceState()==="ready"&&e.changed()}renderDeferred(e){}disposeInternal(){delete this.layer_,super.disposeInternal()}}class Qb extends Er{constructor(e,t,r,o){super(e),this.inversePixelTransform=t,this.frameState=r,this.context=o}}class ey{constructor(){$f(this,"pushMethodArgs_",(...e)=>(this.instructions_[this.zIndex+this.offset_].push(e),this));this.instructions_=[],this.zIndex=0,this.offset_=0,this.context_=new Proxy(Bl(),{get:(e,t)=>{if(typeof Bl()[t]=="function")return this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(t),this.pushMethodArgs_},set:(e,t,r)=>(this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(t,r),!0)})}pushFunction(e){this.instructions_[this.zIndex+this.offset_].push(e)}getContext(){return this.context_}draw(e){this.instructions_.forEach(t=>{for(let r=0,o=t.length;rD[2]}else M=_>P;const O=Math.PI,W=[],Z=I+r===e;e=I,b=0,y=E,f=n[e],h=n[e+1];let te;if(Z){m(),te=Math.atan2(h-g,f-p),M&&(te+=te>0?-O:O);const D=(P+_)/2,re=(F+k)/2;return W[0]=[D,re,(T-i)/2,te,o],W}o=o.replace(/\n/g," ");for(let D=0,re=o.length;D0?-O:O),te!==void 0){let j=ee-te;if(j+=j>O?-2*O:j<-O?2*O:0,Math.abs(j)>a)return null}te=ee;const ye=D;let G=0;for(;D0&&n.push(` -`,""),n.push(e,""),n}class AT{constructor(e,t,r,o,i){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=o.instructions,this.coordinates=o.coordinates,this.coordinateCache_={},this.renderedTransform_=zn(),this.hitDetectionInstructions=o.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=o.fillStates||{},this.strokeStates=o.strokeStates||{},this.textStates=o.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=i?new ey:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,r,o){const i=e+t+r+o;if(this.labels_[i])return this.labels_[i];const a=o?this.strokeStates[o]:null,s=r?this.fillStates[r]:null,l=this.textStates[t],c=this.pixelRatio,u=[l.scale[0]*c,l.scale[1]*c],d=Array.isArray(e),f=l.justify?Nl[l.justify]:eu(Array.isArray(e)?e[0]:e,l.textAlign||bs),h=o&&a.lineWidth?a.lineWidth:0,p=d?e:e.split(` -`).reduce(MT,[]),{width:g,height:b,widths:y,heights:m,lineWidths:C}=fI(l,p),_=g+h,k=[],I=(_+2)*u[0],E=(b+h)*u[1],T={width:I<0?Math.floor(I):Math.ceil(I),height:E<0?Math.floor(E):Math.ceil(E),contextInstructions:k};(u[0]!=1||u[1]!=1)&&k.push("scale",u),o&&(k.push("strokeStyle",a.strokeStyle),k.push("lineWidth",h),k.push("lineCap",a.lineCap),k.push("lineJoin",a.lineJoin),k.push("miterLimit",a.miterLimit),k.push("setLineDash",[a.lineDash]),k.push("lineDashOffset",a.lineDashOffset)),r&&k.push("fillStyle",s.fillStyle),k.push("textBaseline","middle"),k.push("textAlign","center");const P=.5-f;let F=f*_+P*h;const M=[],O=[];let W=0,Z=0,te=0,D=0,re;for(let ee=0,ye=p.length;eee?e-c:i,_=a+u>t?t-u:a,k=p[3]+C*f[0]+p[1],I=p[0]+_*f[1]+p[2],E=y-p[3],T=m-p[0];(g||d!==0)&&(Dr[0]=E,Fr[0]=E,Dr[1]=T,hr[1]=T,hr[0]=E+k,pr[0]=hr[0],pr[1]=T+I,Fr[1]=pr[1]);let P;return d!==0?(P=Ir(zn(),r,o,1,1,d,-r,-o),Tt(P,Dr),Tt(P,hr),Tt(P,pr),Tt(P,Fr),so(Math.min(Dr[0],hr[0],pr[0],Fr[0]),Math.min(Dr[1],hr[1],pr[1],Fr[1]),Math.max(Dr[0],hr[0],pr[0],Fr[0]),Math.max(Dr[1],hr[1],pr[1],Fr[1]),Yo)):so(Math.min(E,E+k),Math.min(T,T+I),Math.max(E,E+k),Math.max(T,T+I),Yo),h&&(y=Math.round(y),m=Math.round(m)),{drawImageX:y,drawImageY:m,drawImageW:C,drawImageH:_,originX:c,originY:u,declutterBox:{minX:Yo[0],minY:Yo[1],maxX:Yo[2],maxY:Yo[3],value:b},canvasTransform:P,scale:f}}replayImageOrLabel_(e,t,r,o,i,a,s){const l=!!(a||s),c=o.declutterBox,u=s?s[2]*o.scale[0]/2:0;return c.minX-u<=t[0]&&c.maxX+u>=0&&c.minY-u<=t[1]&&c.maxY+u>=0&&(l&&this.replayTextBackground_(e,Dr,hr,pr,Fr,a,s),hI(e,o.canvasTransform,i,r,o.originX,o.originY,o.drawImageW,o.drawImageH,o.drawImageX,o.drawImageY,o.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=Tt(this.renderedTransform_,[0,0]),o=512*this.pixelRatio;e.save(),e.translate(r[0]%o,r[1]%o),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6])}drawLabelWithPointPlacement_(e,t,r,o){const i=this.textStates[t],a=this.createLabel(e,t,o,r),s=this.strokeStates[r],l=this.pixelRatio,c=eu(Array.isArray(e)?e[0]:e,i.textAlign||bs),u=Nl[i.textBaseline||Dl],d=s&&s.lineWidth?s.lineWidth:0,f=a.width/l-2*i.scale[0],h=c*f+2*(.5-c)*d,p=u*a.height/l+2*(.5-u)*d;return{label:a,anchorX:h,anchorY:p}}execute_(e,t,r,o,i,a,s,l){const c=this.zIndexContext_;let u;this.pixelCoordinates_&&bo(r,this.renderedTransform_)?u=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),u=no(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),mR(this.renderedTransform_,r));let d=0;const f=o.length;let h=0,p,g,b,y,m,C,_,k,I,E,T,P,F,M=0,O=0,W=null,Z=null;const te=this.coordinateCache_,D=this.viewRotation_,re=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,ee={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:D},ye=this.instructions!=o||this.overlaps?0:200;let G,q,ie,me;for(;dye&&(this.fill_(e),M=0),O>ye&&(e.stroke(),O=0),!M&&!O&&(e.beginPath(),m=NaN,C=NaN),++d;break;case ve.CIRCLE:h=j[1];const Be=u[h],B=u[h+1],ae=u[h+2],oe=u[h+3],ce=ae-Be,De=oe-B,et=Math.sqrt(ce*ce+De*De);e.moveTo(Be+et,B),e.arc(Be,B,et,0,2*Math.PI,!0),++d;break;case ve.CLOSE_PATH:e.closePath(),++d;break;case ve.CUSTOM:h=j[1],p=j[2];const S=j[3],x=j[4],L=j[5];ee.geometry=S,ee.feature=G,d in te||(te[d]=[]);const V=te[d];L?L(u,h,p,2,V):(V[0]=u[h],V[1]=u[h+1],V.length=2),c&&(c.zIndex=j[6]),x(V,ee),++d;break;case ve.DRAW_IMAGE:h=j[1],p=j[2],I=j[3],g=j[4],b=j[5];let $=j[6];const X=j[7],se=j[8],J=j[9],Q=j[10];let K=j[11];const le=j[12];let he=j[13];y=j[14]||"declutter";const fe=j[15];if(!I&&j.length>=20){E=j[19],T=j[20],P=j[21],F=j[22];const gn=this.drawLabelWithPointPlacement_(E,T,P,F);I=gn.label,j[3]=I;const vo=j[23];g=(gn.anchorX-vo)*this.pixelRatio,j[4]=g;const mn=j[24];b=(gn.anchorY-mn)*this.pixelRatio,j[5]=b,$=I.height,j[6]=$,he=I.width,j[13]=he}let Ce;j.length>25&&(Ce=j[25]);let Ie,Ke,_e;j.length>17?(Ie=j[16],Ke=j[17],_e=j[18]):(Ie=Lo,Ke=!1,_e=!1),Q&&re?K+=D:!Q&&!re&&(K-=D);let vt=0;for(;h!ny.includes(n));class DT{constructor(e,t,r,o,i,a,s){this.maxExtent_=e,this.overlaps_=o,this.pixelRatio_=r,this.resolution_=t,this.renderBuffer_=a,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=zn(),this.renderedContext_=null,this.deferredZIndexContexts_={},this.createExecutors_(i,s)}clip(e,t){const r=this.getClipCoords(t);e.beginPath(),e.moveTo(r[0],r[1]),e.lineTo(r[2],r[3]),e.lineTo(r[4],r[5]),e.lineTo(r[6],r[7]),e.clip()}createExecutors_(e,t){for(const r in e){let o=this.executorsByZIndex_[r];o===void 0&&(o={},this.executorsByZIndex_[r]=o);const i=e[r];for(const a in i){const s=i[a];o[a]=new AT(this.resolution_,this.pixelRatio_,this.overlaps_,s,t)}}}hasExecutors(e){for(const t in this.executorsByZIndex_){const r=this.executorsByZIndex_[t];for(let o=0,i=e.length;o0){if(!a||E==="none"||h!=="Image"&&h!=="Text"||a.includes(k)){const M=(f[P]-3)/4,O=o-M%s,W=o-(M/s|0),Z=i(k,I,O*O+W*W);if(Z)return Z}u.clearRect(0,0,s,s);break}}const g=Object.keys(this.executorsByZIndex_).map(Number);g.sort(xr);let b,y,m,C,_;for(b=g.length-1;b>=0;--b){const k=g[b].toString();for(m=this.executorsByZIndex_[k],y=ci.length-1;y>=0;--y)if(h=ci[y],C=m[h],C!==void 0&&(_=C.executeHitDetection(u,l,r,p,d),_))return _}}getClipCoords(e){const t=this.maxExtent_;if(!t)return null;const r=t[0],o=t[1],i=t[2],a=t[3],s=[r,o,r,a,i,a,i,o];return no(s,0,8,2,e,s),s}isEmpty(){return ki(this.executorsByZIndex_)}execute(e,t,r,o,i,a,s){const l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(xr),a=a||ci;const c=ci.length;let u,d,f,h,p;for(s&&l.reverse(),u=0,d=l.length;uy.execute(k,t,r,o,i,s)),_&&C.restore(),m){m.offset();const k=l[u]*c+f;this.deferredZIndexContexts_[k]||(this.deferredZIndexContexts_[k]=[]),this.deferredZIndexContexts_[k].push(m)}}}}this.renderedContext_=e}getDeferredZIndexContexts(){return this.deferredZIndexContexts_}getRenderedContext(){return this.renderedContext_}renderDeferred(){const e=this.deferredZIndexContexts_,t=Object.keys(e).map(Number).sort(xr);for(let r=0,o=t.length;r{i.draw(this.renderedContext_),i.clear()}),e[t[r]].length=0}}const tu={};function FT(n){if(tu[n]!==void 0)return tu[n];const e=n*2+1,t=n*n,r=new Array(t+1);for(let i=0;i<=n;++i)for(let a=0;a<=n;++a){const s=i*i+a*a;if(s>t)break;let l=r[s];l||(l=[],r[s]=l),l.push(((n+i)*e+(n+a))*4+3),i>0&&l.push(((n-i)*e+(n+a))*4+3),a>0&&(l.push(((n+i)*e+(n-a))*4+3),i>0&&l.push(((n-i)*e+(n-a))*4+3))}const o=[];for(let i=0,a=r.length;id*this.pixelRatio_),lineDashOffset:(a||Rr)*this.pixelRatio_,lineJoin:s!==void 0?s:Oi,lineWidth:(l!==void 0?l:ys)*this.pixelRatio_,miterLimit:c!==void 0?c:gs,strokeStyle:nr(r||ms)}}}setImageStyle(e){let t;if(!e||!(t=e.getSize())){this.image_=null;return}const r=e.getPixelRatio(this.pixelRatio_),o=e.getAnchor(),i=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=o[0]*r,this.imageAnchorY_=o[1]*r,this.imageHeight_=t[1]*r,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=i[0],this.imageOriginY_=i[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation();const a=e.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/r,a[1]*this.pixelRatio_/r],this.imageWidth_=t[0]*r}setTextStyle(e){if(!e)this.text_="";else{const t=e.getFill();if(!t)this.textFillState_=null;else{const h=t.getColor();this.textFillState_={fillStyle:nr(h||Zt)}}const r=e.getStroke();if(!r)this.textStrokeState_=null;else{const h=r.getColor(),p=r.getLineCap(),g=r.getLineDash(),b=r.getLineDashOffset(),y=r.getLineJoin(),m=r.getWidth(),C=r.getMiterLimit();this.textStrokeState_={lineCap:p!==void 0?p:Pi,lineDash:g||kr,lineDashOffset:b||Rr,lineJoin:y!==void 0?y:Oi,lineWidth:m!==void 0?m:ys,miterLimit:C!==void 0?C:gs,strokeStyle:nr(h||ms)}}const o=e.getFont(),i=e.getOffsetX(),a=e.getOffsetY(),s=e.getRotateWithView(),l=e.getRotation(),c=e.getScaleArray(),u=e.getText(),d=e.getTextAlign(),f=e.getTextBaseline();this.textState_={font:o!==void 0?o:Db,textAlign:d!==void 0?d:bs,textBaseline:f!==void 0?f:Dl},this.text_=u!==void 0?Array.isArray(u)?u.reduce((h,p,g)=>h+=g%2?" ":p,""):u:"",this.textOffsetX_=i!==void 0?this.pixelRatio_*i:0,this.textOffsetY_=a!==void 0?this.pixelRatio_*a:0,this.textRotateWithView_=s!==void 0?s:!1,this.textRotation_=l!==void 0?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}}}const Qn=.5;function $T(n,e,t,r,o,i,a,s,l){const c=o,u=n[0]*Qn,d=n[1]*Qn,f=Lt(u,d);f.imageSmoothingEnabled=!1;const h=f.canvas,p=new ry(f,Qn,o,null,a,s,null),g=t.length,b=Math.floor((256*256*256-1)/g),y={};for(let C=1;C<=g;++C){const _=t[C-1],k=_.getStyleFunction()||r;if(!k)continue;let I=k(_,i);if(!I)continue;Array.isArray(I)||(I=[I]);const T=(C*b).toString(16).padStart(7,"#00000");for(let P=0,F=I.length;P0;return d&&Promise.all(l).then(()=>o(null)),GT(n,e,t,r,i,a,s),d}function GT(n,e,t,r,o,i,a){const s=t.getGeometryFunction()(e);if(!s)return;const l=s.simplifyTransformed(r,o);if(t.getRenderer())ay(n,l,t,e,a);else{const u=oy[l.getType()];u(n,l,t,e,a,i)}}function ay(n,e,t,r,o){if(e.getType()=="GeometryCollection"){const a=e.getGeometries();for(let s=0,l=a.length;s{if(this.frameState&&!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const r=this.frameState.size.slice(),o=this.renderedCenter_,i=this.renderedResolution_,a=this.renderedRotation_,s=this.renderedProjection_,l=this.wrappedRenderedExtent_,c=this.getLayer(),u=[],d=r[0]*Qn,f=r[1]*Qn;u.push(this.getRenderTransform(o,i,a,Qn,d,f,0).slice());const h=c.getSource(),p=s.getExtent();if(h.getWrapX()&&s.canWrapX()&&!si(p,l)){let g=l[0];const b=Je(p);let y=0,m;for(;gp[2];)++y,m=b*y,u.push(this.getRenderTransform(o,i,a,Qn,d,f,m).slice()),g-=b}this.hitDetectionImageData_=$T(r,u,this.renderedFeatures_,c.getStyleFunction(),l,i,a,ad(i,this.renderedPixelRatio_))}t(zT(e,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(e,t,r,o,i){if(!this.replayGroup_)return;const a=t.viewState.resolution,s=t.viewState.rotation,l=this.getLayer(),c={},u=function(p,g,b){const y=Xe(p),m=c[y];if(m){if(m!==!0&&bd=p.forEachFeatureAtCoordinate(e,a,s,r,u,h&&t.declutter[h]?t.declutter[h].all().map(g=>g.value):null)),d}handleFontsChanged(){const e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()}handleStyleImageChange_(e){this.renderIfReadyAndVisible()}prepareFrame(e){const t=this.getLayer(),r=t.getSource();if(!r)return!1;const o=e.viewHints[Dt.ANIMATING],i=e.viewHints[Dt.INTERACTING],a=t.getUpdateWhileAnimating(),s=t.getUpdateWhileInteracting();if(this.ready&&!a&&o||!s&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const l=e.extent,c=e.viewState,u=c.projection,d=c.resolution,f=e.pixelRatio,h=t.getRevision(),p=t.getRenderBuffer();let g=t.getRenderOrder();g===void 0&&(g=jT);const b=c.center.slice(),y=ac(l,p*d),m=y.slice(),C=[y.slice()],_=u.getExtent();if(r.getWrapX()&&u.canWrapX()&&!si(_,e.extent)){const Z=Je(_),te=Math.max(Je(y)/2,Z);y[0]=_[0]-te,y[2]=_[2]+te,ub(b,u);const D=ab(C[0],u);D[0]<_[0]&&D[2]<_[2]?C.push([D[0]+Z,D[1],D[2]+Z,D[3]]):D[0]>_[0]&&D[2]>_[2]&&C.push([D[0]-Z,D[1],D[2]-Z,D[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==h&&this.renderedRenderOrder_==g&&this.renderedFrameDeclutter_===!!e.declutter&&si(this.wrappedRenderedExtent_,y))return bo(this.renderedExtent_,m)||(this.hitDetectionImageData_=null,this.renderedExtent_=m),this.renderedCenter_=b,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const k=new ET(iy(d,f),y,d,f);let I;for(let Z=0,te=C.length;Z{let D;const re=Z.getStyleFunction()||t.getStyleFunction();if(re&&(D=re(Z,d)),D){const ee=this.renderFeature(Z,E,D,k,I,this.getLayer().getDeclutter(),te);T=T&&!ee}},F=gb(y),M=r.getFeaturesInExtent(F);g&&M.sort(g);for(let Z=0,te=M.length;Z{if(e===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),t&&this.simplifiedGeometry_.applyTransform(t);const r=this.simplifiedGeometry_.getFlatCoordinates();let o;switch(this.type_){case"LineString":r.length=gf(r,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,e,r,0),o=[r.length];break;case"MultiLineString":o=[],r.length=TR(r,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,e,r,0,o);break;case"Polygon":o=[],r.length=_b(r,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(e),r,0,o);break}return o&&(this.simplifiedGeometry_=new _n(this.type_,r,o,2,this.properties_,this.id_)),this.squaredTolerance_=e,this.simplifiedGeometry_}),this}}_n.prototype.getFlatCoordinates=_n.prototype.getOrientedFlatCoordinates;class sy extends sr{constructor(e){super(),this.projection=Pn(e.projection),this.attributions_=Kg(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible!==void 0?e.attributionsCollapsible:!0,this.loading=!1,this.state_=e.state!==void 0?e.state:"ready",this.wrapX_=e.wrapX!==void 0?e.wrapX:!1,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const t=this;this.viewPromise_=new Promise(function(r,o){t.viewResolver=r,t.viewRejector=o})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=Kg(e),this.changed()}setState(e){this.state_=e,this.changed()}}function Kg(n){return n?Array.isArray(n)?function(e){return n}:typeof n=="function"?n:function(e){return[n]}:null}const Cn={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"};function QT(n,e){return[[-1/0,-1/0,1/0,1/0]]}let eE=!1;function tE(n,e,t,r,o,i,a){const s=new XMLHttpRequest;s.open("GET",typeof n=="function"?n(t,r,o):n,!0),e.getType()=="arraybuffer"&&(s.responseType="arraybuffer"),s.withCredentials=eE,s.onload=function(l){if(!s.status||s.status>=200&&s.status<300){const c=e.getType();try{let u;c=="text"||c=="json"?u=s.responseText:c=="xml"?u=s.responseXML||s.responseText:c=="arraybuffer"&&(u=s.response),u?i(e.readFeatures(u,{extent:t,featureProjection:o}),e.readProjection(u)):a()}catch{a()}}else a()},s.onerror=a,s.send()}function Hg(n,e){return function(t,r,o,i,a){const s=this;tE(n,e,t,r,o,function(l,c){s.addFeatures(l),i!==void 0&&i(l)},a||Ti)}}class $r extends Er{constructor(e,t,r){super(e),this.feature=t,this.features=r}}class ly extends sy{constructor(e){e=e||{},super({attributions:e.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:e.wrapX!==void 0?e.wrapX:!0}),this.on,this.once,this.un,this.loader_=Ti,this.format_=e.format,this.overlaps_=e.overlaps===void 0?!0:e.overlaps,this.url_=e.url,e.loader!==void 0?this.loader_=e.loader:this.url_!==void 0&&($e(this.format_,"`format` must be set when `url` is set"),this.loader_=Hg(this.url_,this.format_)),this.strategy_=e.strategy!==void 0?e.strategy:QT;const t=e.useSpatialIndex!==void 0?e.useSpatialIndex:!0;this.featuresRtree_=t?new Vg:null,this.loadedExtentsRtree_=new Vg,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let r,o;Array.isArray(e.features)?o=e.features:e.features&&(r=e.features,o=r.getArray()),!t&&r===void 0&&(r=new er(o)),o!==void 0&&this.addFeaturesInternal(o),r!==void 0&&this.bindFeaturesCollection_(r)}addFeature(e){this.addFeatureInternal(e),this.changed()}addFeatureInternal(e){const t=Xe(e);if(!this.addToIndex_(t,e)){this.featuresCollection_&&this.featuresCollection_.remove(e);return}this.setupChangeEvents_(t,e);const r=e.getGeometry();if(r){const o=r.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(o,e)}else this.nullGeometryFeatures_[t]=e;this.dispatchEvent(new $r(Cn.ADDFEATURE,e))}setupChangeEvents_(e,t){t instanceof _n||(this.featureChangeKeys_[e]=[Ue(t,Ee.CHANGE,this.handleFeatureChange_,this),Ue(t,Ii.PROPERTYCHANGE,this.handleFeatureChange_,this)])}addToIndex_(e,t){let r=!0;if(t.getId()!==void 0){const o=String(t.getId());if(!(o in this.idIndex_))this.idIndex_[o]=t;else if(t instanceof _n){const i=this.idIndex_[o];i instanceof _n?Array.isArray(i)?i.push(t):this.idIndex_[o]=[i,t]:r=!1}else r=!1}return r&&($e(!(e in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[e]=t),r}addFeatures(e){this.addFeaturesInternal(e),this.changed()}addFeaturesInternal(e){const t=[],r=[],o=[];for(let i=0,a=e.length;i{t||(t=!0,this.addFeature(r.element),t=!1)}),e.addEventListener(Yt.REMOVE,r=>{t||(t=!0,this.removeFeature(r.element),t=!1)}),this.featuresCollection_=e}clear(e){if(e){for(const r in this.featureChangeKeys_)this.featureChangeKeys_[r].forEach(ft);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const r=o=>{this.removeFeatureInternal(o)};this.featuresRtree_.forEach(r);for(const o in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[o])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const t=new $r(Cn.CLEAR);this.dispatchEvent(t),this.changed()}forEachFeature(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureAtCoordinateDirect(e,t){const r=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(r,function(o){const i=o.getGeometry();if(i instanceof _n||i.intersectsCoordinate(e))return t(o)})}forEachFeatureInExtent(e,t){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureIntersectingExtent(e,t){return this.forEachFeatureInExtent(e,function(r){const o=r.getGeometry();if(o instanceof _n||o.intersectsExtent(e)){const i=t(r);if(i)return i}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),ki(this.nullGeometryFeatures_)||hf(e,Object.values(this.nullGeometryFeatures_))),e}getFeaturesAtCoordinate(e){const t=[];return this.forEachFeatureAtCoordinateDirect(e,function(r){t.push(r)}),t}getFeaturesInExtent(e,t){if(this.featuresRtree_){if(!(t&&t.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(e);const o=sb(e,t);return[].concat(...o.map(i=>this.featuresRtree_.getInExtent(i)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(e,t){const r=e[0],o=e[1];let i=null;const a=[NaN,NaN];let s=1/0;const l=[-1/0,-1/0,1/0,1/0];return t=t||cs,this.featuresRtree_.forEachInExtent(l,function(c){if(t(c)){const u=c.getGeometry(),d=s;if(s=u instanceof _n?0:u.closestPointXY(r,o,a,s),s{--this.loadingExtentsCount_,this.dispatchEvent(new $r(Cn.FEATURESLOADEND,void 0,u))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new $r(Cn.FEATURESLOADERROR))}),o.insert(l,{extent:l.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(e){const t=this.loadedExtentsRtree_;let r;t.forEachInExtent(e,function(o){if(ls(o.extent,e))return r=o,!0}),r&&t.remove(r)}removeFeatures(e){const t=[];for(let r=0,o=e.length;r0&&this.changed()}removeFeature(e){if(!e)return;this.removeFeatureInternal(e)&&this.changed()}removeFeatureInternal(e){const t=Xe(e);if(!(t in this.uidIndex_))return;t in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[t]:this.featuresRtree_&&this.featuresRtree_.remove(e);const r=this.featureChangeKeys_[t];r==null||r.forEach(ft),delete this.featureChangeKeys_[t];const o=e.getId();if(o!==void 0){const i=o.toString(),a=this.idIndex_[i];a===e?delete this.idIndex_[i]:Array.isArray(a)&&(a.splice(a.indexOf(e),1),a.length===1&&(this.idIndex_[i]=a[0]))}return delete this.uidIndex_[t],this.hasListener(Cn.REMOVEFEATURE)&&this.dispatchEvent(new $r(Cn.REMOVEFEATURE,e)),e}removeFromIdIndex_(e){let t=!1;for(const r in this.idIndex_){const o=this.idIndex_[r];if(e instanceof _n&&Array.isArray(o)&&o.includes(e))o.splice(o.indexOf(e),1);else if(this.idIndex_[r]===e){delete this.idIndex_[r],t=!0;break}}return t}setLoader(e){this.loader_=e}setUrl(e){$e(this.format_,"`format` must be set when `url` is set"),this.url_=e,this.setLoader(Hg(e,this.format_))}}function nE(n){if(!(n.context instanceof CanvasRenderingContext2D))throw new Error("Only works for render events from Canvas 2D layers");const e=n.inversePixelTransform[0],t=n.inversePixelTransform[1],r=Math.sqrt(e*e+t*t),o=n.frameState,i=gR(n.inversePixelTransform.slice(),o.coordinateToPixelTransform),a=ad(o.viewState.resolution,r);let s;return new ry(n.context,r,o.extent,i,o.viewState.rotation,a,s)}const we={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class cy extends hc{constructor(e,t,r){super(),r=r||{},this.tileCoord=e,this.state=t,this.interimTile=null,this.key="",this.transition_=r.transition===void 0?250:r.transition,this.transitionStarts_={},this.interpolate=!!r.interpolate}changed(){this.dispatchEvent(Ee.CHANGE)}release(){this.state===we.ERROR&&this.setState(we.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let e=this.interimTile;if(!e)return this;do{if(e.getState()==we.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this}refreshInterimChain(){let e=this.interimTile;if(!e)return;let t=this;do{if(e.getState()==we.LOADED){e.interimTile=null;break}e.getState()==we.LOADING?t=e:e.getState()==we.IDLE?t.interimTile=e.interimTile:t=e,e=t.interimTile}while(e)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==we.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}load(){We()}getAlpha(e,t){if(!this.transition_)return 1;let r=this.transitionStarts_[e];if(!r)r=t,this.transitionStarts_[e]=r;else if(r===-1)return 1;const o=t-r+1e3/60;return o>=this.transition_?1:Nb(o/this.transition_)}inTransition(e){return this.transition_?this.transitionStarts_[e]!==-1:!1}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}}class uy extends cy{constructor(e,t,r,o,i,a){super(e,t,a),this.crossOrigin_=o,this.src_=r,this.key=r,this.image_=new Image,o!==null&&(this.image_.crossOrigin=o),this.unlisten_=null,this.tileLoadFunction_=i}getImage(){return this.image_}setImage(e){this.image_=e,this.state=we.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=we.ERROR,this.unlistenImage_(),this.image_=rE(),this.changed()}handleImageLoad_(){const e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=we.LOADED:this.state=we.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==we.ERROR&&(this.state=we.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==we.IDLE&&(this.state=we.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=nI(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function rE(){const n=Lt(1,1);return n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1),n.canvas}class oE{constructor(e,t,r){this.decay_=e,this.minVelocity_=t,this.delay_=r,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(e,t){this.points_.push(e,t,Date.now())}end(){if(this.points_.length<6)return!1;const e=Date.now()-this.delay_,t=this.points_.length-3;if(this.points_[t+2]0&&this.points_[r+2]>e;)r-=3;const o=this.points_[t+2]-this.points_[r+2];if(o<1e3/60)return!1;const i=this.points_[t]-this.points_[r],a=this.points_[t+1]-this.points_[r+1];return this.angle_=Math.atan2(a,i),this.initialVelocity_=Math.sqrt(i*i+a*a)/o,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}class iE extends df{constructor(e){super(),this.map_=e}dispatchRenderEvent(e,t){We()}calculateMatrices2D(e){const t=e.viewState,r=e.coordinateToPixelTransform,o=e.pixelToCoordinateTransform;Ir(r,e.size[0]/2,e.size[1]/2,1/t.resolution,-1/t.resolution,-t.rotation,-t.center[0],-t.center[1]),yb(o,r)}forEachFeatureAtCoordinate(e,t,r,o,i,a,s,l){let c;const u=t.viewState;function d(_,k,I,E){return i.call(a,k,_?I:null,E)}const f=u.projection,h=ub(e.slice(),f),p=[[0,0]];if(f.canWrapX()&&o){const _=f.getExtent(),k=Je(_);p.push([-k,0],[k,0])}const g=t.layerStatesArray,b=g.length,y=[],m=[];for(let _=0;_=0;--k){const I=g[k],E=I.layer;if(E.hasRenderer()&&If(I,u)&&s.call(l,E)){const T=E.getRenderer(),P=E.getSource();if(T&&P){const F=P.getWrapX()?h:e,M=d.bind(null,I.managed);m[0]=F[0]+p[_][0],m[1]=F[1]+p[_][1],c=T.forEachFeatureAtCoordinate(m,t,r,M,y)}if(c)return c}}if(y.length===0)return;const C=1/y.length;return y.forEach((_,k)=>_.distanceSq+=k*C),y.sort((_,k)=>_.distanceSq-k.distanceSq),y.some(_=>c=_.callback(_.feature,_.layer,_.geometry)),c}hasFeatureAtCoordinate(e,t,r,o,i,a){return this.forEachFeatureAtCoordinate(e,t,r,o,cs,this,i,a)!==void 0}getMap(){return this.map_}renderFrame(e){We()}scheduleExpireIconCache(e){tr.canExpireCache()&&e.postRenderFunctions.push(aE)}}function aE(n,e){tr.expire()}class sE extends iE{constructor(e){super(e),this.fontChangeListenerKey_=Ue(br,Ii.PROPERTYCHANGE,e.redrawText.bind(e)),this.element_=document.createElement("div");const t=this.element_.style;t.position="absolute",t.width="100%",t.height="100%",t.zIndex="0",this.element_.className=mc+" ol-layers";const r=e.getViewport();r.insertBefore(this.element_,r.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(e,t){const r=this.getMap();if(r.hasListener(e)){const o=new Qb(e,void 0,t);r.dispatchEvent(o)}}disposeInternal(){ft(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(e){if(!e){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(e),this.dispatchRenderEvent(In.PRECOMPOSE,e);const t=e.layerStatesArray.sort(function(s,l){return s.zIndex-l.zIndex});t.some(s=>s.layer instanceof qb&&s.layer.getDeclutter())&&(e.declutter={});const o=e.viewState;this.children_.length=0;const i=[];let a=null;for(let s=0,l=t.length;s=0;--r){const o=t[r],i=o.layer;i.getDeclutter()&&i.renderDeclutter(e,o)}t.forEach(r=>r.layer.renderDeferred(e))}}}class Ur extends Er{constructor(e,t){super(e),this.layer=t}}const nu={LAYERS:"layers"};class zi extends zb{constructor(e){e=e||{};const t=Object.assign({},e);delete t.layers;let r=e.layers;super(t),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(nu.LAYERS,this.handleLayersChanged_),r?Array.isArray(r)?r=new er(r.slice(),{unique:!0}):$e(typeof r.getArray=="function","Expected `layers` to be an array or a `Collection`"):r=new er(void 0,{unique:!0}),this.setLayers(r)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(ft),this.layersListenerKeys_.length=0;const e=this.getLayers();this.layersListenerKeys_.push(Ue(e,Yt.ADD,this.handleLayersAdd_,this),Ue(e,Yt.REMOVE,this.handleLayersRemove_,this));for(const r in this.listenerKeys_)this.listenerKeys_[r].forEach(ft);Es(this.listenerKeys_);const t=e.getArray();for(let r=0,o=t.length;r{this.clickTimeoutId_=void 0;const r=new jr(bt.SINGLECLICK,this.map_,e);this.dispatchEvent(r)},250)}updateActivePointers_(e){const t=e,r=t.pointerId;if(t.type==bt.POINTERUP||t.type==bt.POINTERCANCEL){delete this.trackedTouches_[r];for(const o in this.trackedTouches_)if(this.trackedTouches_[o].target!==t.target){delete this.trackedTouches_[o];break}}else(t.type==bt.POINTERDOWN||t.type==bt.POINTERMOVE)&&(this.trackedTouches_[r]=t);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(e){this.updateActivePointers_(e);const t=new jr(bt.POINTERUP,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(t),this.emulateClicks_&&!t.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(ft),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(e){return e.button===0}handlePointerDown_(e){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(e);const t=new jr(bt.POINTERDOWN,this.map_,e,void 0,void 0,this.activePointers_);if(this.dispatchEvent(t),this.down_=new PointerEvent(e.type,e),Object.defineProperty(this.down_,"target",{writable:!1,value:e.target}),this.dragListenerKeys_.length===0){const r=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Ue(r,bt.POINTERMOVE,this.handlePointerMove_,this),Ue(r,bt.POINTERUP,this.handlePointerUp_,this),Ue(this.element_,bt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==r&&this.dragListenerKeys_.push(Ue(this.element_.getRootNode(),bt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(e){if(this.isMoving_(e)){this.updateActivePointers_(e),this.dragging_=!0;const t=new jr(bt.POINTERDRAG,this.map_,e,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(t)}}relayMoveEvent_(e){this.originalPointerMoveEvent_=e;const t=!!(this.down_&&this.isMoving_(e));this.dispatchEvent(new jr(bt.POINTERMOVE,this.map_,e,t))}handleTouchMove_(e){const t=this.originalPointerMoveEvent_;(!t||t.defaultPrevented)&&(typeof e.cancelable!="boolean"||e.cancelable===!0)&&e.preventDefault()}isMoving_(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(ft(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(Ee.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(ft(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(ft),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Vr={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Bt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},jl=1/0;class cE{constructor(e,t){this.priorityFunction_=e,this.keyFunction_=t,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,Es(this.queuedElements_)}dequeue(){const e=this.elements_,t=this.priorities_,r=e[0];e.length==1?(e.length=0,t.length=0):(e[0]=e.pop(),t[0]=t.pop(),this.siftUp_(0));const o=this.keyFunction_(r);return delete this.queuedElements_[o],r}enqueue(e){$e(!(this.keyFunction_(e)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const t=this.priorityFunction_(e);return t!=jl?(this.elements_.push(e),this.priorities_.push(t),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(e){return e*2+1}getRightChildIndex_(e){return e*2+2}getParentIndex_(e){return e-1>>1}heapify_(){let e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)}isEmpty(){return this.elements_.length===0}isKeyQueued(e){return e in this.queuedElements_}isQueued(e){return this.isKeyQueued(this.keyFunction_(e))}siftUp_(e){const t=this.elements_,r=this.priorities_,o=t.length,i=t[e],a=r[e],s=e;for(;e>1;){const l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){const s=this.getParentIndex_(t);if(o[s]>a)r[t]=r[s],o[t]=o[s],t=s;else break}r[t]=i,o[t]=a}reprioritize(){const e=this.priorityFunction_,t=this.elements_,r=this.priorities_;let o=0;const i=t.length;let a,s,l;for(s=0;s0;)i=this.dequeue()[0],a=i.getKey(),o=i.getState(),o===we.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++r,i.load())}}function dE(n,e,t,r,o){if(!n||!(t in n.wantedTiles)||!n.wantedTiles[t][e.getKey()])return jl;const i=n.viewState.center,a=r[0]-i[0],s=r[1]-i[1];return 65536*Math.log(o)+Math.sqrt(a*a+s*s)/o}class Ef extends sr{constructor(e){super();const t=e.element;t&&!e.target&&!t.style.pointerEvents&&(t.style.pointerEvents="auto"),this.element=t||null,this.target_=null,this.map_=null,this.listenerKeys=[],e.render&&(this.render=e.render),e.target&&this.setTarget(e.target)}disposeInternal(){td(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(e){this.map_&&td(this.element);for(let t=0,r=this.listenerKeys.length;to.getAttributions(e)))),r=!this.getMap().getAllLayers().some(o=>o.getSource()&&o.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(r),t}async updateElement_(e){if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const t=await Promise.all(this.collectSourceAttributions_(e).map(o=>hR(()=>o))),r=t.length>0;if(this.renderedVisible_!=r&&(this.element.style.display=r?"":"none",this.renderedVisible_=r),!bo(t,this.renderedAttributions_)){eI(this.ulElement_);for(let o=0,i=t.length;o0&&r%(2*Math.PI)!==0?t.animate({rotation:0,duration:this.duration_,easing:No}):t.setRotation(0))}render(e){const t=e.frameState;if(!t)return;const r=t.viewState.rotation;if(r!=this.rotation_){const o="rotate("+r+"rad)";if(this.autoHide_){const i=this.element.classList.contains(ol);!i&&r===0?this.element.classList.add(ol):i&&r!==0&&this.element.classList.remove(ol)}this.label_.style.transform=o}this.rotation_=r}}class pE extends Ef{constructor(e){e=e||{},super({element:document.createElement("div"),target:e.target});const t=e.className!==void 0?e.className:"ol-zoom",r=e.delta!==void 0?e.delta:1,o=e.zoomInClassName!==void 0?e.zoomInClassName:t+"-in",i=e.zoomOutClassName!==void 0?e.zoomOutClassName:t+"-out",a=e.zoomInLabel!==void 0?e.zoomInLabel:"+",s=e.zoomOutLabel!==void 0?e.zoomOutLabel:"–",l=e.zoomInTipLabel!==void 0?e.zoomInTipLabel:"Zoom in",c=e.zoomOutTipLabel!==void 0?e.zoomOutTipLabel:"Zoom out",u=document.createElement("button");u.className=o,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof a=="string"?document.createTextNode(a):a),u.addEventListener(Ee.CLICK,this.handleClick_.bind(this,r),!1);const d=document.createElement("button");d.className=i,d.setAttribute("type","button"),d.title=c,d.appendChild(typeof s=="string"?document.createTextNode(s):s),d.addEventListener(Ee.CLICK,this.handleClick_.bind(this,-r),!1);const f=t+" "+mc+" "+Sf,h=this.element;h.className=f,h.appendChild(u),h.appendChild(d),this.duration_=e.duration!==void 0?e.duration:250}handleClick_(e,t){t.preventDefault(),this.zoomByDelta_(e)}zoomByDelta_(e){const r=this.getMap().getView();if(!r)return;const o=r.getZoom();if(o!==void 0){const i=r.getConstrainedZoom(o+e);this.duration_>0?(r.getAnimating()&&r.cancelAnimations(),r.animate({zoom:i,duration:this.duration_,easing:No})):r.setZoom(i)}}}function gE(n){n=n||{};const e=new er;return(n.zoom!==void 0?n.zoom:!0)&&e.push(new pE(n.zoomOptions)),(n.rotate!==void 0?n.rotate:!0)&&e.push(new hE(n.rotateOptions)),(n.attribution!==void 0?n.attribution:!0)&&e.push(new fE(n.attributionOptions)),e}const Wg={ACTIVE:"active"};class Ds extends sr{constructor(e){super(),this.on,this.once,this.un,e&&e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Wg.ACTIVE)}getMap(){return this.map_}handleEvent(e){return!0}setActive(e){this.set(Wg.ACTIVE,e)}setMap(e){this.map_=e}}function mE(n,e,t){const r=n.getCenterInternal();if(r){const o=[r[0]+e[0],r[1]+e[1]];n.animateInternal({duration:t!==void 0?t:250,easing:xI,center:n.getConstrainedCenter(o)})}}function Pf(n,e,t,r){const o=n.getZoom();if(o===void 0)return;const i=n.getConstrainedZoom(o+e),a=n.getResolutionForZoom(i);n.getAnimating()&&n.cancelAnimations(),n.animate({resolution:a,anchor:t,duration:r!==void 0?r:250,easing:No})}class bE extends Ds{constructor(e){super(),e=e||{},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:250}handleEvent(e){let t=!1;if(e.type==bt.DBLCLICK){const r=e.originalEvent,o=e.map,i=e.coordinate,a=r.shiftKey?-this.delta_:this.delta_,s=o.getView();Pf(s,a,i,this.duration_),r.preventDefault(),t=!0}return!t}}class Fs extends Ds{constructor(e){e=e||{},super(e),e.handleDownEvent&&(this.handleDownEvent=e.handleDownEvent),e.handleDragEvent&&(this.handleDragEvent=e.handleDragEvent),e.handleMoveEvent&&(this.handleMoveEvent=e.handleMoveEvent),e.handleUpEvent&&(this.handleUpEvent=e.handleUpEvent),e.stopDown&&(this.stopDown=e.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(e){return!1}handleDragEvent(e){}handleEvent(e){if(!e.originalEvent)return!0;let t=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==bt.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==bt.POINTERUP){const r=this.handleUpEvent(e);this.handlingDownUpSequence=r&&this.targetPointers.length>0}}else if(e.type==bt.POINTERDOWN){const r=this.handleDownEvent(e);this.handlingDownUpSequence=r,t=this.stopDown(r)}else e.type==bt.POINTERMOVE&&this.handleMoveEvent(e);return!t}handleMoveEvent(e){}handleUpEvent(e){return!1}stopDown(e){return e}updateTrackedPointers_(e){e.activePointers&&(this.targetPointers=e.activePointers)}}function Of(n){const e=n.length;let t=0,r=0;for(let o=0;o0&&this.condition_(e)){const r=e.map.getView();return this.lastCentroid=null,r.getAnimating()&&r.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}class kE extends Fs{constructor(e){e=e||{},super({stopDown:fc}),this.condition_=e.condition?e.condition:yE,this.lastAngle_=void 0,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){if(!ru(e))return;const t=e.map,r=t.getView();if(r.getConstraints().rotation===Rf)return;const o=t.getSize(),i=e.pixel,a=Math.atan2(o[1]/2-i[1],i[0]-o[0]/2);if(this.lastAngle_!==void 0){const s=a-this.lastAngle_;r.adjustRotationInternal(-s)}this.lastAngle_=a}handleUpEvent(e){return ru(e)?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){return ru(e)&&fy(e)&&this.condition_(e)?(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}class RE extends df{constructor(e){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const e=this.startPixel_,t=this.endPixel_,r="px",o=this.element_.style;o.left=Math.min(e[0],t[0])+r,o.top=Math.min(e[1],t[1])+r,o.width=Math.abs(t[0]-e[0])+r,o.height=Math.abs(t[1]-e[1])+r}setMap(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(e,t){this.startPixel_=e,this.endPixel_=t,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){if(!this.map_)return;const e=this.startPixel_,t=this.endPixel_,o=[e,[e[0],t[1]],t,[t[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);o[4]=o[0].slice(),this.geometry_?this.geometry_.setCoordinates([o]):this.geometry_=new ds([o])}getGeometry(){return this.geometry_}}const Qi={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class cl extends Er{constructor(e,t,r){super(e),this.coordinate=t,this.mapBrowserEvent=r}}class IE extends Fs{constructor(e){super(),this.on,this.once,this.un,e=e||{},this.box_=new RE(e.className||"ol-dragbox"),this.minArea_=e.minArea!==void 0?e.minArea:64,e.onBoxEnd&&(this.onBoxEnd=e.onBoxEnd),this.startPixel_=null,this.condition_=e.condition?e.condition:fy,this.boxEndCondition_=e.boxEndCondition?e.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(e,t,r){const o=r[0]-t[0],i=r[1]-t[1];return o*o+i*i>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(e){this.startPixel_&&(this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new cl(Qi.BOXDRAG,e.coordinate,e)))}handleUpEvent(e){if(!this.startPixel_)return!1;this.box_.setMap(null);const t=this.boxEndCondition_(e,this.startPixel_,e.pixel);return t&&this.onBoxEnd(e),this.dispatchEvent(new cl(t?Qi.BOXEND:Qi.BOXCANCEL,e.coordinate,e)),!1}handleDownEvent(e){return this.condition_(e)?(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new cl(Qi.BOXSTART,e.coordinate,e)),!0):!1}onBoxEnd(e){}setActive(e){e||(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new cl(Qi.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setActive(e)}}class TE extends IE{constructor(e){e=e||{};const t=e.condition?e.condition:SE;super({condition:t,className:e.className||"ol-dragzoom",minArea:e.minArea}),this.duration_=e.duration!==void 0?e.duration:200,this.out_=e.out!==void 0?e.out:!1}onBoxEnd(e){const r=this.getMap().getView();let o=this.getGeometry();if(this.out_){const i=r.rotatedExtentForGeometry(o),a=r.getResolutionForExtentInternal(i),s=r.getResolution()/a;o=o.clone(),o.scale(s*s)}r.fitInternal(o,{duration:this.duration_,easing:No})}}const ko={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class EE extends Ds{constructor(e){super(),e=e||{},this.defaultCondition_=function(t){return hy(t)&&py(t)},this.condition_=e.condition!==void 0?e.condition:this.defaultCondition_,this.duration_=e.duration!==void 0?e.duration:100,this.pixelDelta_=e.pixelDelta!==void 0?e.pixelDelta:128}handleEvent(e){let t=!1;if(e.type==Ee.KEYDOWN){const r=e.originalEvent,o=r.key;if(this.condition_(e)&&(o==ko.DOWN||o==ko.LEFT||o==ko.RIGHT||o==ko.UP)){const a=e.map.getView(),s=a.getResolution()*this.pixelDelta_;let l=0,c=0;o==ko.DOWN?c=-s:o==ko.LEFT?l=-s:o==ko.RIGHT?l=s:c=s;const u=[l,c];sf(u,a.getRotation()),mE(a,u,this.duration_),r.preventDefault(),t=!0}}return!t}}class PE extends Ds{constructor(e){super(),e=e||{},this.condition_=e.condition?e.condition:function(t){return!CE(t)&&py(t)},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:100}handleEvent(e){let t=!1;if(e.type==Ee.KEYDOWN||e.type==Ee.KEYPRESS){const r=e.originalEvent,o=r.key;if(this.condition_(e)&&(o==="+"||o==="-")){const i=e.map,a=o==="+"?this.delta_:-this.delta_,s=i.getView();Pf(s,a,void 0,this.duration_),r.preventDefault(),t=!0}}return!t}}class OE extends Ds{constructor(e){e=e||{},super(e),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=e.maxDelta!==void 0?e.maxDelta:1,this.duration_=e.duration!==void 0?e.duration:250,this.timeout_=e.timeout!==void 0?e.timeout:80,this.useAnchor_=e.useAnchor!==void 0?e.useAnchor:!0,this.constrainResolution_=e.constrainResolution!==void 0?e.constrainResolution:!1;const t=e.condition?e.condition:wE;this.condition_=e.onFocusOnly?ld(dy,t):t,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const e=this.getMap();if(!e)return;e.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(e){if(!this.condition_(e)||e.type!==Ee.WHEEL)return!0;const r=e.map,o=e.originalEvent;o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate);let i;if(e.type==Ee.WHEEL&&(i=o.deltaY,qR&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(i/=Ob),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(i*=40)),i===0)return!1;this.lastDelta_=i;const a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(i)<4?"trackpad":"wheel");const s=r.getView();if(this.mode_==="trackpad"&&!(s.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(s.getAnimating()&&s.cancelAnimations(),s.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),s.adjustZoom(-i/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=i;const l=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,r),l),!1}handleWheelZoom_(e){const t=e.getView();t.getAnimating()&&t.cancelAnimations();let r=-wt(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(t.getConstrainResolution()||this.constrainResolution_)&&(r=r?r>0?1:-1:0),Pf(t,r,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(e){this.useAnchor_=e,e||(this.lastAnchor_=null)}}class LE extends Fs{constructor(e){e=e||{};const t=e;t.stopDown||(t.stopDown=fc),super(t),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=e.threshold!==void 0?e.threshold:.3,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){let t=0;const r=this.targetPointers[0],o=this.targetPointers[1],i=Math.atan2(o.clientY-r.clientY,o.clientX-r.clientX);if(this.lastAngle_!==void 0){const l=i-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),t=l}this.lastAngle_=i;const a=e.map,s=a.getView();s.getConstraints().rotation!==Rf&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(Of(this.targetPointers))),this.rotating_&&(a.render(),s.adjustRotationInternal(t,this.anchor_)))}handleUpEvent(e){return this.targetPointers.length<2?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){if(this.targetPointers.length>=2){const t=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1}}class ME extends Fs{constructor(e){e=e||{};const t=e;t.stopDown||(t.stopDown=fc),super(t),this.anchor_=null,this.duration_=e.duration!==void 0?e.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(e){let t=1;const r=this.targetPointers[0],o=this.targetPointers[1],i=r.clientX-o.clientX,a=r.clientY-o.clientY,s=Math.sqrt(i*i+a*a);this.lastDistance_!==void 0&&(t=this.lastDistance_/s),this.lastDistance_=s;const l=e.map,c=l.getView();t!=1&&(this.lastScaleDelta_=t),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Of(this.targetPointers))),l.render(),c.adjustResolutionInternal(t,this.anchor_)}handleUpEvent(e){if(this.targetPointers.length<2){const r=e.map.getView(),o=this.lastScaleDelta_>1?1:-1;return r.endInteraction(this.duration_,o),!1}return!0}handleDownEvent(e){if(this.targetPointers.length>=2){const t=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1}}function AE(n){n=n||{};const e=new er,t=new oE(-.005,.05,100);return(n.altShiftDragRotate!==void 0?n.altShiftDragRotate:!0)&&e.push(new kE),(n.doubleClickZoom!==void 0?n.doubleClickZoom:!0)&&e.push(new bE({delta:n.zoomDelta,duration:n.zoomDuration})),(n.dragPan!==void 0?n.dragPan:!0)&&e.push(new xE({onFocusOnly:n.onFocusOnly,kinetic:t})),(n.pinchRotate!==void 0?n.pinchRotate:!0)&&e.push(new LE),(n.pinchZoom!==void 0?n.pinchZoom:!0)&&e.push(new ME({duration:n.zoomDuration})),(n.keyboard!==void 0?n.keyboard:!0)&&(e.push(new EE),e.push(new PE({delta:n.zoomDelta,duration:n.zoomDuration}))),(n.mouseWheelZoom!==void 0?n.mouseWheelZoom:!0)&&e.push(new OE({onFocusOnly:n.onFocusOnly,duration:n.zoomDuration})),(n.shiftDragZoom!==void 0?n.shiftDragZoom:!0)&&e.push(new TE({duration:n.zoomDuration})),e}function gy(n){if(n instanceof bc){n.setMapInternal(null);return}n instanceof zi&&n.getLayers().forEach(gy)}function my(n,e){if(n instanceof bc){n.setMapInternal(e);return}if(n instanceof zi){const t=n.getLayers().getArray();for(let r=0,o=t.length;rthis.updateSize()),this.controls=t.controls||gE(),this.interactions=t.interactions||AE({onFocusOnly:!0}),this.overlays_=t.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new uE(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Bt.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(Bt.VIEW,this.handleViewChanged_),this.addChangeListener(Bt.SIZE,this.handleSizeChanged_),this.addChangeListener(Bt.TARGET,this.handleTargetChanged_),this.setProperties(t.values);const r=this;e.view&&!(e.view instanceof Jn)&&e.view.then(function(o){r.setView(new Jn(o))}),this.controls.addEventListener(Yt.ADD,o=>{o.element.setMap(this)}),this.controls.addEventListener(Yt.REMOVE,o=>{o.element.setMap(null)}),this.interactions.addEventListener(Yt.ADD,o=>{o.element.setMap(this)}),this.interactions.addEventListener(Yt.REMOVE,o=>{o.element.setMap(null)}),this.overlays_.addEventListener(Yt.ADD,o=>{this.addOverlayInternal_(o.element)}),this.overlays_.addEventListener(Yt.REMOVE,o=>{const i=o.element.getId();i!==void 0&&delete this.overlayIdIndex_[i.toString()],o.element.setMap(null)}),this.controls.forEach(o=>{o.setMap(this)}),this.interactions.forEach(o=>{o.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(e){this.getControls().push(e)}addInteraction(e){this.getInteractions().push(e)}addLayer(e){this.getLayerGroup().getLayers().push(e)}handleLayerAdd_(e){my(e.layer,this)}addOverlay(e){this.getOverlays().push(e)}addOverlayInternal_(e){const t=e.getId();t!==void 0&&(this.overlayIdIndex_[t.toString()]=e),e.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(e,t,r){if(!this.frameState_||!this.renderer_)return;const o=this.getCoordinateFromPixelInternal(e);r=r!==void 0?r:{};const i=r.hitTolerance!==void 0?r.hitTolerance:0,a=r.layerFilter!==void 0?r.layerFilter:cs,s=r.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(o,this.frameState_,i,s,t,null,a,null)}getFeaturesAtPixel(e,t){const r=[];return this.forEachFeatureAtPixel(e,function(o){r.push(o)},t),r}getAllLayers(){const e=[];function t(r){r.forEach(function(o){o instanceof zi?t(o.getLayers()):e.push(o)})}return t(this.getLayers()),e}hasFeatureAtPixel(e,t){if(!this.frameState_||!this.renderer_)return!1;const r=this.getCoordinateFromPixelInternal(e);t=t!==void 0?t:{};const o=t.layerFilter!==void 0?t.layerFilter:cs,i=t.hitTolerance!==void 0?t.hitTolerance:0,a=t.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(r,this.frameState_,i,a,o,null)}getEventCoordinate(e){return this.getCoordinateFromPixel(this.getEventPixel(e))}getEventCoordinateInternal(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))}getEventPixel(e){const r=this.viewport_.getBoundingClientRect(),o=this.getSize(),i=r.width/o[0],a=r.height/o[1],s="changedTouches"in e?e.changedTouches[0]:e;return[(s.clientX-r.left)/i,(s.clientY-r.top)/a]}getTarget(){return this.get(Bt.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(e){return ed(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())}getCoordinateFromPixelInternal(e){const t=this.frameState_;return t?Tt(t.pixelToCoordinateTransform,e.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(e){const t=this.overlayIdIndex_[e.toString()];return t!==void 0?t:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Bt.LAYERGROUP)}setLayers(e){const t=this.getLayerGroup();if(e instanceof er){t.setLayers(e);return}const r=t.getLayers();r.clear(),r.extend(e)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const e=this.getLayerGroup().getLayerStatesArray();for(let t=0,r=e.length;t=0;i--){const a=o[i];if(a.getMap()!==this||!a.getActive()||!this.getTargetElement())continue;if(!a.handleEvent(e)||e.propagationStopped)break}}}handlePostRender(){const e=this.frameState_,t=this.tileQueue_;if(!t.isEmpty()){let o=this.maxTilesLoading_,i=o;if(e){const a=e.viewHints;if(a[Dt.ANIMATING]||a[Dt.INTERACTING]){const s=Date.now()-e.time>8;o=s?0:8,i=s?0:2}}t.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(e){const t=this.getLayerGroup();t&&this.handleLayerRemove_(new Ur("removelayer",t)),this.set(Bt.LAYERGROUP,e)}setSize(e){this.set(Bt.SIZE,e)}setTarget(e){this.set(Bt.TARGET,e)}setView(e){if(!e||e instanceof Jn){this.set(Bt.VIEW,e);return}this.set(Bt.VIEW,new Jn);const t=this;e.then(function(r){t.setView(new Jn(r))})}updateSize(){const e=this.getTargetElement();let t;if(e){const o=getComputedStyle(e),i=e.offsetWidth-parseFloat(o.borderLeftWidth)-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight)-parseFloat(o.borderRightWidth),a=e.offsetHeight-parseFloat(o.borderTopWidth)-parseFloat(o.paddingTop)-parseFloat(o.paddingBottom)-parseFloat(o.borderBottomWidth);!isNaN(i)&&!isNaN(a)&&(t=[i,a],!wg(t)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&db("No map visible because the map container's width or height are 0."))}const r=this.getSize();t&&(!r||!bo(t,r))&&(this.setSize(t),this.updateViewportSize_(t))}updateViewportSize_(e){const t=this.getView();t&&t.setViewportSize(e)}};function DE(n){let e=null;n.keyboardEventTarget!==void 0&&(e=typeof n.keyboardEventTarget=="string"?document.getElementById(n.keyboardEventTarget):n.keyboardEventTarget);const t={},r=n.layers&&typeof n.layers.getLayers=="function"?n.layers:new zi({layers:n.layers});t[Bt.LAYERGROUP]=r,t[Bt.TARGET]=n.target,t[Bt.VIEW]=n.view instanceof Jn?n.view:new Jn;let o;n.controls!==void 0&&(Array.isArray(n.controls)?o=new er(n.controls.slice()):($e(typeof n.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),o=n.controls));let i;n.interactions!==void 0&&(Array.isArray(n.interactions)?i=new er(n.interactions.slice()):($e(typeof n.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),i=n.interactions));let a;return n.overlays!==void 0?Array.isArray(n.overlays)?a=new er(n.overlays.slice()):($e(typeof n.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),a=n.overlays):a=new er,{controls:o,interactions:i,keyboardEventTarget:e,overlays:a,values:t}}class FE{constructor(e){this.highWaterMark=e!==void 0?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let t=this.oldest_;for(;t;)e(t.value_,t.key_,this),t=t.newer}get(e,t){const r=this.entries_[e];return $e(r!==void 0,"Tried to get a value for a key that does not exist in the cache"),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_}remove(e){const t=this.entries_[e];return $e(t!==void 0,"Tried to get a value for a key that does not exist in the cache"),t===this.newest_?(this.newest_=t.older,this.newest_&&(this.newest_.newer=null)):t===this.oldest_?(this.oldest_=t.newer,this.oldest_&&(this.oldest_.older=null)):(t.newer.older=t.older,t.older.newer=t.newer),delete this.entries_[e],--this.count_,t.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let t=0,r;for(r=this.newest_;r;r=r.older)e[t++]=r.key_;return e}getValues(){const e=new Array(this.count_);let t=0,r;for(r=this.newest_;r;r=r.older)e[t++]=r.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){var t;return(t=this.entries_[e])==null?void 0:t.value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,t){this.get(e),this.entries_[e].value_=t}set(e,t){$e(!(e in this.entries_),"Tried to set a value for a key that is used already");const r={key_:e,newer:null,older:this.newest_,value_:t};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[e]=r,++this.count_}setSize(e){this.highWaterMark=e}}function Ug(n,e,t,r){return r!==void 0?(r[0]=n,r[1]=e,r[2]=t,r):[n,e,t]}function Cc(n,e,t){return n+"/"+e+"/"+t}function by(n){return Cc(n[0],n[1],n[2])}function $E(n){return n.split("/").map(Number)}function zE(n){return(n[1]<t||t>e.getMaxZoom())return!1;const i=e.getFullTileRange(t);return i?i.containsXY(r,o):!0}class yy extends FE{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(e){for(;this.canExpireCache()&&!(this.peekLast().getKey()in e);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const e=this.peekFirstKey(),r=$E(e)[0];this.forEach(o=>{o.tileCoord[0]!==r&&(this.remove(by(o.tileCoord)),o.release())})}}class Lf{constructor(e,t,r,o){this.minX=e,this.maxX=t,this.minY=r,this.maxY=o}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,t){return this.minX<=e&&e<=this.maxX&&this.minY<=t&&t<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function Zo(n,e,t,r,o){return o!==void 0?(o.minX=n,o.maxX=e,o.minY=t,o.maxY=r,o):new Lf(n,e,t,r)}const jE=.5,VE=10,Xg=.25;class GE{constructor(e,t,r,o,i,a){this.sourceProj_=e,this.targetProj_=t;let s={};const l=Ll(this.targetProj_,this.sourceProj_);this.transformInv_=function(m){const C=m[0]+"/"+m[1];return s[C]||(s[C]=l(m)),s[C]},this.maxSourceExtent_=o,this.errorThresholdSquared_=i*i,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!o&&!!this.sourceProj_.getExtent()&&Je(o)>=Je(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Je(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Je(this.targetProj_.getExtent()):null;const c=zo(r),u=uc(r),d=cc(r),f=lc(r),h=this.transformInv_(c),p=this.transformInv_(u),g=this.transformInv_(d),b=this.transformInv_(f),y=VE+(a?Math.max(0,Math.ceil(Math.log2(Zu(r)/(a*a*256*256)))):0);if(this.addQuad_(c,u,d,f,h,p,g,b,y),this.wrapsXInSource_){let m=1/0;this.triangles_.forEach(function(C,_,k){m=Math.min(m,C.source[0][0],C.source[1][0],C.source[2][0])}),this.triangles_.forEach(C=>{if(Math.max(C.source[0][0],C.source[1][0],C.source[2][0])-m>this.sourceWorldWidth_/2){const _=[[C.source[0][0],C.source[0][1]],[C.source[1][0],C.source[1][1]],[C.source[2][0],C.source[2][1]]];_[0][0]-m>this.sourceWorldWidth_/2&&(_[0][0]-=this.sourceWorldWidth_),_[1][0]-m>this.sourceWorldWidth_/2&&(_[1][0]-=this.sourceWorldWidth_),_[2][0]-m>this.sourceWorldWidth_/2&&(_[2][0]-=this.sourceWorldWidth_);const k=Math.min(_[0][0],_[1][0],_[2][0]);Math.max(_[0][0],_[1][0],_[2][0])-k.5&&d<1;let p=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const b=Xu([e,t,r,o]);p=Je(b)/this.targetWorldWidth_>Xg||p}!h&&this.sourceProj_.isGlobal()&&d&&(p=d>Xg||p)}if(!p&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!Jt(u,this.maxSourceExtent_))return;let g=0;if(!p&&(!isFinite(i[0])||!isFinite(i[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)p=!0;else if(g=(!isFinite(i[0])||!isFinite(i[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(s[0])||!isFinite(s[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),g!=1&&g!=2&&g!=4&&g!=8)return}if(c>0){if(!p){const b=[(e[0]+r[0])/2,(e[1]+r[1])/2],y=this.transformInv_(b);let m;h?m=(gi(i[0],f)+gi(s[0],f))/2-gi(y[0],f):m=(i[0]+s[0])/2-y[0];const C=(i[1]+s[1])/2-y[1];p=m*m+C*C>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])){const b=[(t[0]+r[0])/2,(t[1]+r[1])/2],y=this.transformInv_(b),m=[(o[0]+e[0])/2,(o[1]+e[1])/2],C=this.transformInv_(m);this.addQuad_(e,t,b,m,i,a,y,C,c-1),this.addQuad_(m,b,r,o,C,y,s,l,c-1)}else{const b=[(e[0]+t[0])/2,(e[1]+t[1])/2],y=this.transformInv_(b),m=[(r[0]+o[0])/2,(r[1]+o[1])/2],C=this.transformInv_(m);this.addQuad_(e,b,m,o,i,y,C,l,c-1),this.addQuad_(b,t,r,m,y,a,s,C,c-1)}return}}if(h){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}g&11||this.addTriangle_(e,r,o,i,s,l),g&14||this.addTriangle_(e,r,t,i,s,a),g&&(g&13||this.addTriangle_(t,o,e,a,l,i),g&7||this.addTriangle_(t,o,r,a,l,s))}calculateSourceExtent(){const e=pn();return this.triangles_.forEach(function(t,r,o){const i=t.source;ya(e,i[0]),ya(e,i[1]),ya(e,i[2])}),e}getTriangles(){return this.triangles_}}let ou;const bi=[];function Yg(n,e,t,r,o){n.beginPath(),n.moveTo(0,0),n.lineTo(e,t),n.lineTo(r,o),n.closePath(),n.save(),n.clip(),n.fillRect(0,0,Math.max(e,r)+1,Math.max(t,o)),n.restore()}function iu(n,e){return Math.abs(n[e*4]-210)>2||Math.abs(n[e*4+3]-.75*255)>2}function KE(){if(ou===void 0){const n=Lt(6,6,bi);n.globalCompositeOperation="lighter",n.fillStyle="rgba(210, 0, 0, 0.75)",Yg(n,4,5,4,0),Yg(n,4,5,0,5);const e=n.getImageData(0,0,3,3).data;ou=iu(e,0)||iu(e,4)||iu(e,8),pc(n),bi.push(n.canvas)}return ou}function Zg(n,e,t,r){const o=pb(t,e,n);let i=og(e,r,t);const a=e.getMetersPerUnit();a!==void 0&&(i*=a);const s=n.getMetersPerUnit();s!==void 0&&(i/=s);const l=n.getExtent();if(!l||Ri(l,o)){const c=og(n,i,o)/i;isFinite(c)&&c>0&&(i/=c)}return i}function HE(n,e,t,r){const o=lo(t);let i=Zg(n,e,o,r);return(!isFinite(i)||i<=0)&&ib(t,function(a){return i=Zg(n,e,a,r),isFinite(i)&&i>0}),i}function WE(n,e,t,r,o,i,a,s,l,c,u,d,f,h){const p=Lt(Math.round(t*n),Math.round(t*e),bi);if(d||(p.imageSmoothingEnabled=!1),l.length===0)return p.canvas;p.scale(t,t);function g(k){return Math.round(k*t)/t}p.globalCompositeOperation="lighter";const b=pn();l.forEach(function(k,I,E){qk(b,k.extent)});let y;const m=t/r,C=(d?1:1+Math.pow(2,-24))/m;{if(y=Lt(Math.round(Je(b)*m),Math.round(Nt(b)*m),bi),d||(y.imageSmoothingEnabled=!1),o&&h){const k=(o[0]-b[0])*m,I=-(o[3]-b[3])*m,E=Je(o)*m,T=Nt(o)*m;y.rect(k,I,E,T),y.clip()}l.forEach(function(k,I,E){if(k.image.width>0&&k.image.height>0){if(k.clipExtent){y.save();const O=(k.clipExtent[0]-b[0])*m,W=-(k.clipExtent[3]-b[3])*m,Z=Je(k.clipExtent)*m,te=Nt(k.clipExtent)*m;y.rect(d?O:Math.round(O),d?W:Math.round(W),d?Z:Math.round(O+Z)-Math.round(O),d?te:Math.round(W+te)-Math.round(W)),y.clip()}const T=(k.extent[0]-b[0])*m,P=-(k.extent[3]-b[3])*m,F=Je(k.extent)*m,M=Nt(k.extent)*m;y.drawImage(k.image,c,c,k.image.width-2*c,k.image.height-2*c,d?T:Math.round(T),d?P:Math.round(P),d?F:Math.round(T+F)-Math.round(T),d?M:Math.round(P+M)-Math.round(P)),k.clipExtent&&y.restore()}})}const _=zo(a);return s.getTriangles().forEach(function(k,I,E){const T=k.source,P=k.target;let F=T[0][0],M=T[0][1],O=T[1][0],W=T[1][1],Z=T[2][0],te=T[2][1];const D=g((P[0][0]-_[0])/i),re=g(-(P[0][1]-_[1])/i),ee=g((P[1][0]-_[0])/i),ye=g(-(P[1][1]-_[1])/i),G=g((P[2][0]-_[0])/i),q=g(-(P[2][1]-_[1])/i),ie=F,me=M;F=0,M=0,O-=ie,W-=me,Z-=ie,te-=me;const j=[[O,W,0,0,ee-D],[Z,te,0,0,G-D],[0,0,O,W,ye-re],[0,0,Z,te,q-re]],Qe=rR(j);if(!Qe)return;if(p.save(),p.beginPath(),KE()||!d){p.moveTo(ee,ye);const B=4,ae=D-ee,oe=re-ye;for(let ce=0;ce{const F=t.getTileRangeForExtentAndZ(P,this.sourceZ_);for(let M=F.minX;M<=F.maxX;M++)for(let O=F.minY;O<=F.maxY;O++){const W=c(this.sourceZ_,M,O,s);if(W){const Z=E*I;this.sourceTiles_.push({tile:W,offset:Z})}}++E}),this.sourceTiles_.length===0&&(this.state=we.EMPTY)}}getImage(){return this.canvas_}reproject_(){const e=[];if(this.sourceTiles_.forEach(t=>{var o;const r=t.tile;if(r&&r.getState()==we.LOADED){const i=this.sourceTileGrid_.getTileCoordExtent(r.tileCoord);i[0]+=t.offset,i[2]+=t.offset;const a=(o=this.clipExtent_)==null?void 0:o.slice();a&&(a[0]+=t.offset,a[2]+=t.offset),e.push({extent:i,clipExtent:a,image:r.getImage()})}}),this.sourceTiles_.length=0,e.length===0)this.state=we.ERROR;else{const t=this.wrappedTileCoord_[0],r=this.targetTileGrid_.getTileSize(t),o=typeof r=="number"?r:r[0],i=typeof r=="number"?r:r[1],a=this.targetTileGrid_.getResolution(t),s=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=WE(o,i,this.pixelRatio_,s,this.sourceTileGrid_.getExtent(),a,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=we.LOADED}this.changed()}load(){if(this.state==we.IDLE){this.state=we.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(({tile:t})=>{const r=t.getState();if(r==we.IDLE||r==we.LOADING){e++;const o=Ue(t,Ee.CHANGE,function(i){const a=t.getState();(a==we.LOADED||a==we.ERROR||a==we.EMPTY)&&(ft(o),e--,e===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(o)}}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:t},r,o){t.getState()==we.IDLE&&t.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(ft),this.sourcesListenerKeys_=null}release(){this.canvas_&&(pc(this.canvas_.getContext("2d")),bi.push(this.canvas_),this.canvas_=null),super.release()}}const ul={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class UE extends bc{constructor(e){e=e||{};const t=Object.assign({},e);delete t.preload,delete t.useInterimTilesOnError,super(t),this.on,this.once,this.un,this.setPreload(e.preload!==void 0?e.preload:0),this.setUseInterimTilesOnError(e.useInterimTilesOnError!==void 0?e.useInterimTilesOnError:!0)}getPreload(){return this.get(ul.PRELOAD)}setPreload(e){this.set(ul.PRELOAD,e)}getUseInterimTilesOnError(){return this.get(ul.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(e){this.set(ul.USE_INTERIM_TILES_ON_ERROR,e)}getData(e){return super.getData(e)}}class XE extends ty{constructor(e){super(e),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=pn(),this.tmpTileRange_=new Lf(0,0,0,0)}isDrawableTile(e){const t=this.getLayer(),r=e.getState(),o=t.getUseInterimTilesOnError();return r==we.LOADED||r==we.EMPTY||r==we.ERROR&&!o}getTile(e,t,r,o){const i=o.pixelRatio,a=o.viewState.projection,s=this.getLayer();let c=s.getSource().getTile(e,t,r,i,a);return c.getState()==we.ERROR&&s.getUseInterimTilesOnError()&&s.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(c)||(c=c.getInterimTile()),c}getData(e){const t=this.frameState;if(!t)return null;const r=this.getLayer(),o=Tt(t.pixelToCoordinateTransform,e.slice()),i=r.getExtent();if(i&&!Ri(i,o))return null;const a=t.pixelRatio,s=t.viewState.projection,l=t.viewState,c=r.getRenderSource(),u=c.getTileGridForProjection(l.projection),d=c.getTilePixelRatio(t.pixelRatio);for(let f=u.getZForResolution(l.resolution);f>=u.getMinZoom();--f){const h=u.getTileCoordForCoordAndZ(o,f),p=c.getTile(f,h[1],h[2],a,s);if(!(p instanceof uy||p instanceof cd)||p instanceof cd&&p.getState()===we.EMPTY)return null;if(p.getState()!==we.LOADED)continue;const g=u.getOrigin(f),b=dn(u.getTileSize(f)),y=u.getResolution(f),m=Math.floor(d*((o[0]-g[0])/y-h[1]*b[0])),C=Math.floor(d*((g[1]-o[1])/y-h[2]*b[1])),_=Math.round(d*c.getGutterForProjection(l.projection));return this.getImageData(p.getImage(),m+_,C+_)}return null}loadedTileCallback(e,t,r){return this.isDrawableTile(r)?super.loadedTileCallback(e,t,r):!1}prepareFrame(e){return!!this.getLayer().getSource()}renderFrame(e,t){const r=e.layerStatesArray[e.layerIndex],o=e.viewState,i=o.projection,a=o.resolution,s=o.center,l=o.rotation,c=e.pixelRatio,u=this.getLayer(),d=u.getSource(),f=d.getRevision(),h=d.getTileGridForProjection(i),p=h.getZForResolution(a,d.zDirection),g=h.getResolution(p);let b=e.extent;const y=e.viewState.resolution,m=d.getTilePixelRatio(c);this.prepareContainer(e,t);const C=this.context.canvas.width,_=this.context.canvas.height,k=r.extent&&Po(r.extent);k&&(b=va(b,Po(r.extent)));const I=g*C/2/m,E=g*_/2/m,T=[s[0]-I,s[1]-E,s[0]+I,s[1]+E],P=h.getTileRangeForExtentAndZ(b,p),F={};F[p]={};const M=this.createLoadedTileFinder(d,i,F),O=this.tmpExtent,W=this.tmpTileRange_;this.newTiles_=!1;const Z=l?Ju(o.center,y,l,e.size):void 0;for(let q=P.minX;q<=P.maxX;++q)for(let ie=P.minY;ie<=P.maxY;++ie){if(l&&!h.tileCoordIntersectsViewport([p,q,ie],Z))continue;const me=this.getTile(p,q,ie,e);if(this.isDrawableTile(me)){const Be=Xe(this);if(me.getState()==we.LOADED){F[p][me.tileCoord.toString()]=me;let B=me.inTransition(Be);B&&r.opacity!==1&&(me.endTransition(Be),B=!1),!this.newTiles_&&(B||!this.renderedTiles.includes(me))&&(this.newTiles_=!0)}if(me.getAlpha(Be,e.time)===1)continue}const j=h.getTileCoordChildTileRange(me.tileCoord,W,O);let Qe=!1;j&&(Qe=M(p+1,j)),Qe||h.forEachTileCoordParentTileRange(me.tileCoord,M,W,O)}const te=g/a*c/m,D=this.getRenderContext(e);Ir(this.tempTransform,C/2,_/2,te,te,0,-C/2,-_/2),k&&this.clipUnrotated(D,e,k),d.getInterpolate()||(D.imageSmoothingEnabled=!1),this.preRender(D,e),this.renderedTiles.length=0;let re=Object.keys(F).map(Number);re.sort(xr);let ee,ye,G;r.opacity===1&&(!this.containerReused||d.getOpaque(e.viewState.projection))?re=re.reverse():(ee=[],ye=[]);for(let q=re.length-1;q>=0;--q){const ie=re[q],me=d.getTilePixelSize(ie,c,i),Qe=h.getResolution(ie)/g,Be=me[0]*Qe*te,B=me[1]*Qe*te,ae=h.getTileCoordForCoordAndZ(zo(T),ie),oe=h.getTileCoordExtent(ae),ce=Tt(this.tempTransform,[m*(oe[0]-T[0])/g,m*(T[3]-oe[3])/g]),De=m*d.getGutterForProjection(i),et=F[ie];for(const S in et){const x=et[S],L=x.tileCoord,V=ae[1]-L[1],$=Math.round(ce[0]-(V-1)*Be),X=ae[2]-L[2],se=Math.round(ce[1]-(X-1)*B),J=Math.round(ce[0]-V*Be),Q=Math.round(ce[1]-X*B),K=$-J,le=se-Q,he=p===ie,fe=he&&x.getAlpha(Xe(this),e.time)!==1;let Ce=!1;if(!fe)if(ee){G=[J,Q,J+K,Q,J+K,Q+le,J,Q+le];for(let Ie=0,Ke=ee.length;Iei-o),"`resolutions` must be sorted in descending order");let t;if(!e.origins){for(let o=0,i=this.resolutions_.length-1;o{const a=new Lf(Math.min(0,o[0]),Math.max(o[0]-1,-1),Math.min(0,o[1]),Math.max(o[1]-1,-1));if(r){const s=this.getTileRangeForExtentAndZ(r,i);a.minX=Math.max(s.minX,a.minX),a.maxX=Math.min(s.maxX,a.maxX),a.minY=Math.max(s.minY,a.minY),a.maxY=Math.min(s.maxY,a.maxY)}return a}):r&&this.calculateTileRanges_(r)}forEachTileCoord(e,t,r){const o=this.getTileRangeForExtentAndZ(e,t);for(let i=o.minX,a=o.maxX;i<=a;++i)for(let s=o.minY,l=o.maxY;s<=l;++s)r([t,i,s])}forEachTileCoordParentTileRange(e,t,r,o){let i,a,s,l=null,c=e[0]-1;for(this.zoomFactor_===2?(a=e[1],s=e[2]):l=this.getTileCoordExtent(e,o);c>=this.minZoom;){if(a!==void 0&&s!==void 0?(a=Math.floor(a/2),s=Math.floor(s/2),i=Zo(a,a,s,s,r)):i=this.getTileRangeForExtentAndZ(l,c,r),t(c,i))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,t,r){if(e[0]this.maxZoom||t0?r:Math.max(i/t[0],o/t[1]);const a=e+1,s=new Array(a);for(let l=0;lr.highWaterMark&&(r.highWaterMark=e)}useTile(e,t,r,o){}}class tP extends Er{constructor(e,t){super(e),this.tile=t}}function nP(n,e){const t=/\{z\}/g,r=/\{x\}/g,o=/\{y\}/g,i=/\{-y\}/g;return function(a,s,l){if(a)return n.replace(t,a[0].toString()).replace(r,a[1].toString()).replace(o,a[2].toString()).replace(i,function(){const c=a[0],u=e.getFullTileRange(c);if(!u)throw new Error("The {-y} placeholder requires a tile grid with extent");return(u.getHeight()-a[2]-1).toString()})}}function rP(n,e){const t=n.length,r=new Array(t);for(let o=0;othis.getTileInternal(b,y,m,C,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return g.key=d,c?(g.interimTile=c,g.refreshInterimChain(),s.replace(u,g)):s.set(u,g),g}getTileInternal(e,t,r,o,i){let a=null;const s=Cc(e,t,r),l=this.getKey();if(!this.tileCache.containsKey(s))a=this.createTile_(e,t,r,o,i,l),this.tileCache.set(s,a);else if(a=this.tileCache.get(s),a.key!=l){const c=a;a=this.createTile_(e,t,r,o,i,l),c.getState()==we.IDLE?a.interimTile=c.interimTile:a.interimTile=c,a.refreshInterimChain(),this.tileCache.replace(s,a)}return a}setRenderReprojectionEdges(e){if(this.renderReprojectionEdges_!=e){this.renderReprojectionEdges_=e;for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}}setTileGridForProjection(e,t){const r=Pn(e);if(r){const o=Xe(r);o in this.tileGridForProjection||(this.tileGridForProjection[o]=t)}}clear(){super.clear();for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear()}}function sP(n,e){n.getImage().src=e}class lP extends aP{constructor(e){e=e||{};const t=e.projection!==void 0?e.projection:"EPSG:3857",r=e.tileGrid!==void 0?e.tileGrid:JE({extent:Mf(t),maxResolution:e.maxResolution,maxZoom:e.maxZoom,minZoom:e.minZoom,tileSize:e.tileSize});super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,opaque:e.opaque,projection:t,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileGrid:r,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.gutter_=e.gutter!==void 0?e.gutter:0}getGutter(){return this.gutter_}}class cP extends ly{constructor(e){e=e||{},super({attributions:e.attributions,wrapX:e.wrapX}),this.resolution=void 0,this.distance=e.distance!==void 0?e.distance:20,this.minDistance=e.minDistance||0,this.interpolationRatio=0,this.features=[],this.geometryFunction=e.geometryFunction||function(t){const r=t.getGeometry();return $e(!r||r.getType()==="Point","The default `geometryFunction` can only handle `Point` or null geometries"),r},this.createCustomCluster_=e.createCluster,this.source=null,this.boundRefresh_=this.refresh.bind(this),this.updateDistance(this.distance,this.minDistance),this.setSource(e.source||null)}clear(e){this.features.length=0,super.clear(e)}getDistance(){return this.distance}getSource(){return this.source}loadFeatures(e,t,r){var o;(o=this.source)==null||o.loadFeatures(e,t,r),t!==this.resolution&&(this.resolution=t,this.refresh())}setDistance(e){this.updateDistance(e,this.minDistance)}setMinDistance(e){this.updateDistance(this.distance,e)}getMinDistance(){return this.minDistance}setSource(e){this.source&&this.source.removeEventListener(Ee.CHANGE,this.boundRefresh_),this.source=e,e&&e.addEventListener(Ee.CHANGE,this.boundRefresh_),this.refresh()}refresh(){this.clear(),this.cluster(),this.addFeatures(this.features)}updateDistance(e,t){const r=e===0?0:Math.min(t,e)/e,o=e!==this.distance||this.interpolationRatio!==r;this.distance=e,this.minDistance=t,this.interpolationRatio=r,o&&this.refresh()}cluster(){if(this.resolution===void 0||!this.source)return;const e=pn(),t=this.distance*this.resolution,r=this.source.getFeatures(),o={};for(let i=0,a=r.length;i=0;--s){const l=this.geometryFunction(e[s]);l?lb(r,l.getCoordinates()):e.splice(s,1)}cb(r,1/e.length);const o=lo(t),i=this.interpolationRatio,a=new Ei([r[0]*(1-i)+o[0]*i,r[1]*(1-i)+o[1]*i]);return this.createCustomCluster_?this.createCustomCluster_(a,e):new fs({geometry:a,features:e})}}const uP={id:"map"},qg=60,dP=10,fP={__name:"Map",emits:["selectStation","deselectStation","terminalChooser"],setup(n,{emit:e}){const t=e,r=pe("mapCenter"),o=pe("mapZoom"),i=pe("maxZoom"),a=pe("selectedStations"),s=pe("busStations"),l=pe("loadingInProgress"),c=pe("terminalsMap"),u=pe("terminalsData"),d=pe("toast"),f=new Jn({center:r.value,zoom:o.value-1,minZoom:o.value,maxZoom:i.value}),h=new Ms({anchorXUnits:"fraction",anchorYUnits:"pixels",src:"svgs/bus.svg",scale:2}),p=new Os({radius:8,points:3,angle:Math.PI,displacement:[0,10],fill:new qn({color:"#F5B301"})}),g=(k,I)=>{if(k.get("features").length===1){const T=k.get("features")[0],P=I<4?"25px Roboto,sans-serif":"15px Roboto,sans-serif",F=new mi({font:P,text:T.get("stationName"),fill:new qn({color:"#FED053"}),backgroundFill:new qn({color:"#2A2E34"}),padding:[0,0,0,0],textBaseline:"bottom",offsetY:-15,stroke:new Do({color:"#3B3F46",width:3})});if(I<4&&!T.get("isTerminal")){const M=new mi({font:"15px Roboto,sans-serif",text:T.get("stationStreet"),fill:new qn({color:"#F5B301"}),padding:[0,0,0,0],textBaseline:"bottom",offsetY:50});return[new sn({image:p,text:F}),new sn({image:h,text:M})]}else return[new sn({image:p,text:F}),new sn({image:h})]}const E=new mi({font:"15px sans-serif",text:`${k.get("features").length}`,fill:new qn({color:"#FED053"}),textBaseline:"bottom",stroke:new Do({color:"#3B3F46",width:3}),offsetX:0,offsetY:25});return new sn({image:h,text:E})},b=new ly,y=new cP({source:b,distance:qg}),m=new JT({source:y,style:g}),C=new YE({source:new lP({url:"./{z}/{x}/{y}.png",minZoom:o.value,maxZoom:i.value,tileSize:2048})}),_=(k,I)=>{const T=Date.now(),P=I.getGeometry().clone();let F,M;F=function(O){const Z=O.frameState.time-T;if(Z>=1e3){bb(M),m.un("postrender",F);return}const te=nE(O),D=Z/1e3,re=No(D)*50+5,ee=new sn({image:new Ls({radius:re,stroke:new Do({color:"#EC9C04",width:3})})});te.setStyle(ee),te.drawGeometry(P),k.render()},M=m.on("postrender",F)};return Li(async()=>{let k=!1;const I=[];s.value.forEach(T=>{if(!c.has(T.i)){const P=new fs({geometry:T.point});P.setId(T.i),P.set("stationName",T.n),P.set("stationStreet",T.s),I.push(P)}});for(let T=0;T{f.getZoom()>17?y.setDistance(dP):y.setDistance(qg)}),E.on("click",T=>{m.getFeatures(T.pixel).then(P=>{if(P.length){const F=P[0].get("features");switch(F.length){case 1:const M=F[0],O=I.indexOf(M);if(O<0)return;if(M.get("isTerminal")){for(let D=0;DD.getGeometry().getCoordinates()));E.getView().fit(te,{duration:1e3,padding:[50,50,50,50]});break}}else E.forEachFeatureAtPixel(T.pixel,function(F){const M=I.indexOf(F);if(M<0)return;if(F.get("isTerminal")){console.error("feature is terminal, but should be detected as cluster feature"),d.add({severity:"error",summary:"Terminal feature detected, but should be cluster feature",life:3e3});return}a.value.indexOf(F.getId())<0?(f.animate({center:I[M].getGeometry().getCoordinates(),duration:1e3,zoom:i.value}),t("selectStation",{featureId:F.getId()}),_(E,F)):t("deselectStation",{featureId:F.getId()})})})})}),(k,I)=>(v(),R("div",uP))}},hP=U1(fP,[["__scopeId","data-v-6b4cfa47"]]),pP={style:{color:"#FED053","user-select":"none"}},gP=["onClick"],mP={__name:"BusLine",setup(n){const e=pe("busLinesMap"),t=pe("busStationsMap"),r=pe("selectedBusLine"),o=pe("buslineVisible"),i=pe("stationsLinesMap"),a=Ne([]),s=pe("selectedStartStation");cn(r,d=>{const f=[];d.s.forEach(h=>{if(t.has(h)){const p={...t.get(h)};p.otherBusses=[];const g=i.get(h);for(let b of g.keys())b!==d.i&&(e.has(b)?p.otherBusses.push(e.get(b)):console.error("line with id not found",b));f.push(p)}}),a.value=f});const l=(d,f)=>{d.stopImmediatePropagation(),console.log("onBusNumberClicked",f)},c=(d,f)=>{d.stopImmediatePropagation(),t.has(f.i)?s.value=t.get(f.i):console.log("error finding station",f.i)},u=Ne([{breakpoint:"1400px",numVisible:3,numScroll:1},{breakpoint:"1199px",numVisible:3,numScroll:1},{breakpoint:"767px",numVisible:2,numScroll:1},{breakpoint:"575px",numVisible:1,numScroll:1}]);return(d,f)=>{const h=Y("Tag"),p=Y("Carousel"),g=Y("Timeline"),b=Y("Drawer");return v(),A(b,{visible:at(o),"onUpdate:visible":f[0]||(f[0]=y=>Ct(o)?o.value=y:null),position:"full",showCloseIcon:!0,style:{"background-color":"#1E232B"}},{header:ne(()=>[ue(h,{rounded:!0,value:at(r).n,style:Tn({minWidth:"40px",userSelect:"none",fontFamily:"TheLedDisplaySt",backgroundColor:at(r).c,color:at(r).bc})},null,8,["value","style"]),N("h2",pP,Ge(at(r).b)+" (Urban)",1)]),default:ne(()=>[ue(g,{value:a.value,align:"alternate"},{content:ne(y=>[N("h3",{onClick:m=>c(m,y.item),style:{color:"#FED053","user-select":"none"}},[N("b",null,Ge(y.item.n),1)],8,gP)]),opposite:ne(y=>[ue(p,{value:y.item.otherBusses,responsiveOptions:u.value,numVisible:3,numScroll:1,circular:"",autoplayInterval:3e3,showIndicators:!1,showNavigators:!1},{item:ne(m=>[ue(h,{style:Tn({minWidth:"40px",userSelect:"none",fontFamily:"TheLedDisplaySt",backgroundColor:m.data.c,color:m.data.bc}),onClick:C=>l(C,m.data),rounded:!0,value:m.data.n},null,8,["style","onClick","value"])]),_:2},1032,["value","responsiveOptions"])]),_:1},8,["value"])]),_:1},8,["visible"])}}},bP=m5(i7,{semantic:{colorScheme:{dark:{primary:{color:"#EC9C04",contrastColor:"#FED053",hoverColor:"#F5B301",activeColor:"#F5B301"},highlight:{background:"#1E232B",focusBackground:"#FED053",color:"#EC9C04",focusColor:"#FED053"}}}}}),Sy=Un("primary.color");console.log("primaryColor",Sy,Un("blue.500").value);Sy.value="#1E232B";const it=t5(VR);it.use(ef);it.use(Z7);it.use(r3,{ripple:!0,theme:{preset:bP,options:{darkModeSelector:".dark-mode"}}});const yP=document.querySelector("html");yP.classList.toggle("dark-mode");it.directive("ripple",nn);it.component("Button",mo);it.component("Checkbox",nc);it.component("Tag",M0);it.component("Toast",B0);it.component("ProgressSpinner",F0);it.component("DataView",s1);it.component("ScrollPanel",l1);it.component("InputText",rc);it.component("SpeedDial",c1);it.component("DataTable",I1);it.component("Column",b_);it.component("Drawer",T1);it.component("Dialog",O1);it.component("Tabs",X1);it.component("Tab",Y1);it.component("TabList",Z1);it.component("Timeline",q1);it.component("Carousel",Q1);it.component("Map",hP);it.component("TimeTable",K1);it.component("Busses",H1);it.component("BusLine",mP);it.component("TerminalChooser",W1);it.mount("#app"); diff --git a/index.html b/index.html index 4473e58..511906a 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ Brașov Busses and Stations - - + +