@solid-design-system/components 1.22.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/components/es/carousel.js +3 -3
  2. package/dist/components/es/checkbox.js +1 -11
  3. package/dist/components/es/event.js +1 -1
  4. package/dist/components/es/input.js +1 -0
  5. package/dist/components/es/interactive.js +1 -0
  6. package/dist/components/es/live.js +11 -0
  7. package/dist/components/es/radio-group.js +1 -1
  8. package/dist/components/es/radio.js +1 -1
  9. package/dist/components/es/solid-components2.js +1 -1
  10. package/dist/components/es/solid-element.js +1 -1
  11. package/dist/components/es/tooltip.js +4 -0
  12. package/dist/components/umd/solid-components.js +23 -20
  13. package/dist/custom-elements.json +1 -1
  14. package/dist/package/components/icon/library.system.d.ts +9 -1
  15. package/dist/package/components/icon/library.system.js +52 -9
  16. package/dist/package/components/input/input.d.ts +76 -0
  17. package/dist/package/components/input/input.js +390 -0
  18. package/dist/package/components/radio/radio.js +1 -3
  19. package/dist/package/components/radio-group/radio-group.js +7 -8
  20. package/dist/package/components/tooltip/tooltip.d.ts +39 -0
  21. package/dist/package/components/tooltip/tooltip.js +233 -0
  22. package/dist/package/internal/animate.js +11 -0
  23. package/dist/package/solid-components.d.ts +2 -0
  24. package/dist/package/solid-components.js +22 -18
  25. package/dist/package/styles/form-control.styles.d.ts +2 -0
  26. package/dist/package/styles/form-control.styles.js +5 -0
  27. package/dist/package/styles/tailwind.css.js +1 -1
  28. package/dist/versioned-components/es/accordion-group.js +1 -1
  29. package/dist/versioned-components/es/accordion.js +1 -1
  30. package/dist/versioned-components/es/badge.js +1 -1
  31. package/dist/versioned-components/es/brandshape.js +1 -1
  32. package/dist/versioned-components/es/button.js +1 -1
  33. package/dist/versioned-components/es/carousel-item.js +1 -1
  34. package/dist/versioned-components/es/carousel.js +3 -3
  35. package/dist/versioned-components/es/checkbox-group.js +1 -1
  36. package/dist/versioned-components/es/checkbox.js +1 -11
  37. package/dist/versioned-components/es/divider.js +1 -1
  38. package/dist/versioned-components/es/drawer.js +1 -1
  39. package/dist/versioned-components/es/dropdown.js +1 -1
  40. package/dist/versioned-components/es/event.js +1 -1
  41. package/dist/versioned-components/es/form.js +1 -1
  42. package/dist/versioned-components/es/icon.js +1 -1
  43. package/dist/versioned-components/es/include.js +1 -1
  44. package/dist/versioned-components/es/input.js +1 -0
  45. package/dist/versioned-components/es/interactive.js +1 -0
  46. package/dist/versioned-components/es/link.js +1 -1
  47. package/dist/versioned-components/es/live.js +11 -0
  48. package/dist/versioned-components/es/navigation-item.js +1 -1
  49. package/dist/versioned-components/es/popup.js +1 -1
  50. package/dist/versioned-components/es/radio-group.js +1 -1
  51. package/dist/versioned-components/es/radio.js +1 -1
  52. package/dist/versioned-components/es/solid-components2.js +1 -1
  53. package/dist/versioned-components/es/solid-element.js +1 -1
  54. package/dist/versioned-components/es/spinner.js +1 -1
  55. package/dist/versioned-components/es/tag.js +1 -1
  56. package/dist/versioned-components/es/teaser.js +1 -1
  57. package/dist/versioned-components/es/tooltip.js +4 -0
  58. package/dist/versioned-components/es/video.js +1 -1
  59. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  60. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  61. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  62. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  63. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  64. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  65. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  66. package/dist/versioned-package/components/badge/badge.js +1 -1
  67. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  68. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  69. package/dist/versioned-package/components/button/button.d.ts +1 -1
  70. package/dist/versioned-package/components/button/button.js +4 -4
  71. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  72. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  73. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  74. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  75. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  76. package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
  77. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  78. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  79. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  80. package/dist/versioned-package/components/divider/divider.js +2 -2
  81. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  82. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  83. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  84. package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
  85. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  86. package/dist/versioned-package/components/icon/icon.js +1 -1
  87. package/dist/versioned-package/components/icon/library.system.d.ts +9 -1
  88. package/dist/versioned-package/components/icon/library.system.js +52 -9
  89. package/dist/versioned-package/components/include/include.d.ts +1 -1
  90. package/dist/versioned-package/components/include/include.js +1 -1
  91. package/dist/versioned-package/components/input/input.d.ts +76 -0
  92. package/dist/versioned-package/components/input/input.js +390 -0
  93. package/dist/versioned-package/components/link/link.d.ts +1 -1
  94. package/dist/versioned-package/components/link/link.js +2 -2
  95. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  96. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  97. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  98. package/dist/versioned-package/components/popup/popup.js +1 -1
  99. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  100. package/dist/versioned-package/components/radio/radio.js +3 -5
  101. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  102. package/dist/versioned-package/components/radio-group/radio-group.js +20 -21
  103. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  104. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  105. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  106. package/dist/versioned-package/components/tag/tag.js +2 -2
  107. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  108. package/dist/versioned-package/components/tooltip/tooltip.d.ts +39 -0
  109. package/dist/versioned-package/components/tooltip/tooltip.js +233 -0
  110. package/dist/versioned-package/components/video/video.d.ts +1 -1
  111. package/dist/versioned-package/components/video/video.js +2 -2
  112. package/dist/versioned-package/internal/animate.js +11 -0
  113. package/dist/versioned-package/internal/form.js +2 -2
  114. package/dist/versioned-package/solid-components.d.ts +2 -0
  115. package/dist/versioned-package/solid-components.js +22 -18
  116. package/dist/versioned-package/styles/form-control.styles.d.ts +2 -0
  117. package/dist/versioned-package/styles/form-control.styles.js +5 -0
  118. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  119. package/dist/versioned-styles/solid-styles.css +1 -1
  120. package/dist/vscode.html-custom-data.json +705 -23
  121. package/dist/web-types.json +772 -1
  122. package/package.json +5 -5
@@ -1,100 +1,103 @@
1
- var t,e;t=this,e=function(t){var e;const o={"chevron-down":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n ',close:'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>\n </svg>\n ',"status-hook":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none">\n <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>\n </svg>\n ',"status-minus":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">\n <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>\n </svg>\n ',start:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">\n <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>\n </svg>',pause:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>\n </svg>\n '},r={name:"system",resolver:t=>t in o?`data:image/svg+xml,${encodeURIComponent(o[t])}`:"",mutator:t=>t.setAttribute("fill","currentColor")},i=Object.freeze(Object.defineProperty({__proto__:null,default:r,icons:o},Symbol.toStringTag,{value:"Module"}));let s=[r],n=[];function a(t){n.push(t)}function l(t){n=n.filter((e=>e!==t))}function d(t){return s.find((e=>e.name===t))}function c(t,e){h(t),s.push({name:t,resolver:e.resolver,mutator:e.mutator}),n.forEach((e=>{e.library===t&&e.setIcon()}))}function h(t){s=s.filter((e=>e.name!==t))}const p=Object.freeze(Object.defineProperty({__proto__:null,getIconLibrary:d,registerIconLibrary:c,unregisterIconLibrary:h,unwatchIcon:l,watchIcon:a},Symbol.toStringTag,{value:"Module"})),u=new Set,g=new MutationObserver(y),m=new Map;let b,v=document.documentElement.dir||"ltr",f=document.documentElement.lang||navigator.language;function y(){v=document.documentElement.dir||"ltr",f=document.documentElement.lang||navigator.language,[...u.keys()].map((t=>{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}g.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});let w=class{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){u.add(this.host)}hostDisconnected(){u.delete(this.host)}dir(){return`${this.host.dir||v}`.toLowerCase()}lang(){return`${this.host.lang||f}`.toLowerCase()}getTranslationData(t){var e,o;const r=new Intl.Locale(t.replace(/_/g,"-")),i=null==r?void 0:r.language.toLowerCase(),s=null!==(o=null===(e=null==r?void 0:r.region)||void 0===e?void 0:e.toLowerCase())&&void 0!==o?o:"";return{locale:r,language:i,region:s,primary:m.get(`${i}-${s}`),secondary:m.get(i)}}exists(t,e){var o;const{primary:r,secondary:i}=this.getTranslationData(null!==(o=e.lang)&&void 0!==o?o:this.lang());return e=Object.assign({includeFallback:!1},e),!!(r&&r[t]||i&&i[t]||e.includeFallback&&b&&b[t])}term(t,...e){const{primary:o,secondary:r}=this.getTranslationData(this.lang());let i;if(o&&o[t])i=o[t];else if(r&&r[t])i=r[t];else{if(!b||!b[t])return console.error(`No translation found for: ${String(t)}`),String(t);i=b[t]}return"function"==typeof i?i(...e):i}date(t,e){return t=new Date(t),new Intl.DateTimeFormat(this.lang(),e).format(t)}number(t,e){return t=Number(t),isNaN(t)?"":new Intl.NumberFormat(this.lang(),e).format(t)}relativeTime(t,e,o){return new Intl.RelativeTimeFormat(this.lang(),o).format(t,e)}};!function(...t){t.map((t=>{const e=t.$code.toLowerCase();m.has(e)?m.set(e,Object.assign(Object.assign({},m.get(e)),t)):m.set(e,t),b||(b=t)})),y()}({$code:"en",$name:"English",$dir:"ltr",clearEntry:"Clear entry",close:"Close",copy:"Copy",numOptionsSelected:t=>0===t?"No options selected":1===t?"1 option selected":`${t} options selected`,currentValue:"Current value",hidePassword:"Hide password",loading:"Loading",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",toggleColorFormat:"Toggle color format",carousel:"Carousel",nextSlide:"Next slide",previousSlide:"Previous slide",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,slideNum:t=>`Slide ${t}`});class x extends w{}const k=Object.assign({"./components/accordion-group/accordion-group.ts":()=>Promise.resolve().then((()=>_e)),"./components/accordion/accordion.ts":()=>Promise.resolve().then((()=>xe)),"./components/badge/badge.ts":()=>Promise.resolve().then((()=>Oe)),"./components/brandshape/brandshape.ts":()=>Promise.resolve().then((()=>Be)),"./components/button/button.ts":()=>Promise.resolve().then((()=>ao)),"./components/carousel-item/carousel-item.ts":()=>Promise.resolve().then((()=>co)),"./components/carousel/autoplay-controller.ts":()=>Promise.resolve().then((()=>po)),"./components/carousel/carousel.ts":()=>Promise.resolve().then((()=>ko)),"./components/carousel/scroll-controller.ts":()=>Promise.resolve().then((()=>vo)),"./components/checkbox-group/checkbox-group.ts":()=>Promise.resolve().then((()=>Eo)),"./components/checkbox/checkbox.ts":()=>Promise.resolve().then((()=>Mo)),"./components/divider/divider.ts":()=>Promise.resolve().then((()=>Uo)),"./components/drawer/drawer.ts":()=>Promise.resolve().then((()=>Jo)),"./components/dropdown/dropdown.ts":()=>Promise.resolve().then((()=>li)),"./components/icon/icon.ts":()=>Promise.resolve().then((()=>se)),"./components/icon/library.system.ts":()=>Promise.resolve().then((()=>i)),"./components/icon/library.ts":()=>Promise.resolve().then((()=>p)),"./components/icon/request.ts":()=>Promise.resolve().then((()=>Vt)),"./components/include/include.styles.ts":()=>Promise.resolve().then((()=>ci)),"./components/include/include.ts":()=>Promise.resolve().then((()=>mi)),"./components/include/request.ts":()=>Promise.resolve().then((()=>Ut)),"./components/link/link.ts":()=>Promise.resolve().then((()=>wi)),"./components/navigation-item/navigation-item.ts":()=>Promise.resolve().then((()=>Si)),"./components/popup/popup.ts":()=>Promise.resolve().then((()=>ri)),"./components/radio-group/radio-group.ts":()=>Promise.resolve().then((()=>Bi)),"./components/radio/radio.ts":()=>Promise.resolve().then((()=>Fi)),"./components/spinner/spinner.ts":()=>Promise.resolve().then((()=>Fe)),"./components/tag/tag.ts":()=>Promise.resolve().then((()=>Ki)),"./components/teaser/teaser.ts":()=>Promise.resolve().then((()=>Gi)),"./components/video/video.ts":()=>Promise.resolve().then((()=>os))});Object.keys(k).forEach((t=>{k[t]()}));
1
+ var t,e;t=this,e=function(t){var e,o;const i={calendar:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1ZM6 4v1.667a1 1 0 0 0 2 0V4h8v1.667a1 1 0 0 0 2 0V4h2v4H4V4h2ZM4 20V10h16v10H4Z"/>\n <path d="m7.603 13.263.597.81.31-.25c.31-.25.593-.49.733-.63h.017c-.017.333-.033 1.14-.033 1.647V18h1.223v-6.03H9.353l-1.75 1.293ZM14.667 11.867c-1.543 0-2.26 1-2.26 3.163 0 1.9.667 3.063 2.217 3.063s2.193-1.18 2.193-3.13c-.017-2.063-.743-3.097-2.15-3.097v.001Zm-.044 5.333c-.647 0-1-.76-1-2.28 0-1.44.353-2.173 1-2.173s1 .743 1 2.233c0 1.49-.387 2.227-1.017 2.227l.017-.007Z"/>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n ',clock:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13 11.587V8a1 1 0 0 0-2 0v4c0 .07.007.138.021.203l-.001-.006a.855.855 0 0 0 .029.093l-.002-.006c0 .033 0 .067.03.1a.709.709 0 0 0 .055.103l-.002-.003.037.07c.04.057.081.107.127.153l2.827 2.83a1.002 1.002 0 0 0 1.417-1.417L13 11.587Z"/>\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n </svg>\n ',close:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>\n </svg>\n ',"closing-round":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n <path d="M16.373 7.627a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L13.413 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/>\n </svg>',confirm:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21.528 2.167a1 1 0 0 0-1.384.277l-.002.004-11.333 17-5.127-5.153a1 1 0 0 0-1.413 1.414l-.001-.001 6 6a.997.997 0 0 0 .707.293h.1c.307-.032.57-.199.731-.44l.002-.004 12-18a1 1 0 0 0-.276-1.388l-.004-.002Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n </svg>\n ',"eye-crossed-out":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M3 22a1 1 0 0 1-.707-1.707l18-18a1 1 0 0 1 1.414 1.414l-18 18A.991.991 0 0 1 3 22Z"/>\n </svg>\n ',"info-circle":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M13.333 7.833a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001ZM13 11.667a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.667h2v-3.667Z"/><path d="M11 16.333v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1Zm3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2Z"/><path d="M13 16.333v-1h-2v1a1 1 0 0 0 2 0Z"/></svg>',"status-hook":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none">\n <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>\n </svg>\n ',"status-minus":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">\n <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>\n </svg>\n ',pause:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>\n </svg>\n ',risk:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.893 2.553a1.002 1.002 0 0 0-1.784-.006L2.106 20.553A1 1 0 0 0 3 22h18a1 1 0 0 0 .891-1.452l.003.006-9.001-18.001ZM4.617 20 12 5.237 19.383 20H4.617Z"/>\n <path d="M11 10.667V15a1 1 0 0 0 2 0v-4.333a1 1 0 0 0-2 0ZM13 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/>\n </svg>\n ',start:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">\n <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>\n </svg>\n '},r={name:"system",resolver:t=>t in i?`data:image/svg+xml,${encodeURIComponent(i[t])}`:"",mutator:t=>t.setAttribute("fill","currentColor")},s=Object.freeze(Object.defineProperty({__proto__:null,default:r,icons:i},Symbol.toStringTag,{value:"Module"}));let n=[r],a=[];function l(t){a.push(t)}function d(t){a=a.filter((e=>e!==t))}function c(t){return n.find((e=>e.name===t))}function h(t,e){p(t),n.push({name:t,resolver:e.resolver,mutator:e.mutator}),a.forEach((e=>{e.library===t&&e.setIcon()}))}function p(t){n=n.filter((e=>e.name!==t))}const u=Object.freeze(Object.defineProperty({__proto__:null,getIconLibrary:c,registerIconLibrary:h,unregisterIconLibrary:p,unwatchIcon:d,watchIcon:l},Symbol.toStringTag,{value:"Module"})),m=new Set,g=new MutationObserver(w),b=new Map;let v,f=document.documentElement.dir||"ltr",y=document.documentElement.lang||navigator.language;function w(){f=document.documentElement.dir||"ltr",y=document.documentElement.lang||navigator.language,[...m.keys()].map((t=>{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}g.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});let x=class{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){m.add(this.host)}hostDisconnected(){m.delete(this.host)}dir(){return`${this.host.dir||f}`.toLowerCase()}lang(){return`${this.host.lang||y}`.toLowerCase()}getTranslationData(t){var e,o;const i=new Intl.Locale(t.replace(/_/g,"-")),r=null==i?void 0:i.language.toLowerCase(),s=null!==(o=null===(e=null==i?void 0:i.region)||void 0===e?void 0:e.toLowerCase())&&void 0!==o?o:"";return{locale:i,language:r,region:s,primary:b.get(`${r}-${s}`),secondary:b.get(r)}}exists(t,e){var o;const{primary:i,secondary:r}=this.getTranslationData(null!==(o=e.lang)&&void 0!==o?o:this.lang());return e=Object.assign({includeFallback:!1},e),!!(i&&i[t]||r&&r[t]||e.includeFallback&&v&&v[t])}term(t,...e){const{primary:o,secondary:i}=this.getTranslationData(this.lang());let r;if(o&&o[t])r=o[t];else if(i&&i[t])r=i[t];else{if(!v||!v[t])return console.error(`No translation found for: ${String(t)}`),String(t);r=v[t]}return"function"==typeof r?r(...e):r}date(t,e){return t=new Date(t),new Intl.DateTimeFormat(this.lang(),e).format(t)}number(t,e){return t=Number(t),isNaN(t)?"":new Intl.NumberFormat(this.lang(),e).format(t)}relativeTime(t,e,o){return new Intl.RelativeTimeFormat(this.lang(),o).format(t,e)}};!function(...t){t.map((t=>{const e=t.$code.toLowerCase();b.has(e)?b.set(e,Object.assign(Object.assign({},b.get(e)),t)):b.set(e,t),v||(v=t)})),w()}({$code:"en",$name:"English",$dir:"ltr",clearEntry:"Clear entry",close:"Close",copy:"Copy",numOptionsSelected:t=>0===t?"No options selected":1===t?"1 option selected":`${t} options selected`,currentValue:"Current value",hidePassword:"Hide password",loading:"Loading",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",toggleColorFormat:"Toggle color format",carousel:"Carousel",nextSlide:"Next slide",previousSlide:"Previous slide",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,slideNum:t=>`Slide ${t}`});class k extends x{}const $=Object.assign({"./components/accordion-group/accordion-group.ts":()=>Promise.resolve().then((()=>Ae)),"./components/accordion/accordion.ts":()=>Promise.resolve().then((()=>$e)),"./components/badge/badge.ts":()=>Promise.resolve().then((()=>Le)),"./components/brandshape/brandshape.ts":()=>Promise.resolve().then((()=>Ue)),"./components/button/button.ts":()=>Promise.resolve().then((()=>co)),"./components/carousel-item/carousel-item.ts":()=>Promise.resolve().then((()=>po)),"./components/carousel/autoplay-controller.ts":()=>Promise.resolve().then((()=>mo)),"./components/carousel/carousel.ts":()=>Promise.resolve().then((()=>So)),"./components/carousel/scroll-controller.ts":()=>Promise.resolve().then((()=>yo)),"./components/checkbox-group/checkbox-group.ts":()=>Promise.resolve().then((()=>zo)),"./components/checkbox/checkbox.ts":()=>Promise.resolve().then((()=>Uo)),"./components/divider/divider.ts":()=>Promise.resolve().then((()=>No)),"./components/drawer/drawer.ts":()=>Promise.resolve().then((()=>oi)),"./components/dropdown/dropdown.ts":()=>Promise.resolve().then((()=>pr)),"./components/icon/icon.ts":()=>Promise.resolve().then((()=>ne)),"./components/icon/library.system.ts":()=>Promise.resolve().then((()=>s)),"./components/icon/library.ts":()=>Promise.resolve().then((()=>u)),"./components/icon/request.ts":()=>Promise.resolve().then((()=>Nt)),"./components/include/include.styles.ts":()=>Promise.resolve().then((()=>mr)),"./components/include/include.ts":()=>Promise.resolve().then((()=>yr)),"./components/include/request.ts":()=>Promise.resolve().then((()=>Vt)),"./components/input/input.ts":()=>Promise.resolve().then((()=>_r)),"./components/link/link.ts":()=>Promise.resolve().then((()=>Or)),"./components/navigation-item/navigation-item.ts":()=>Promise.resolve().then((()=>Dr)),"./components/popup/popup.ts":()=>Promise.resolve().then((()=>ar)),"./components/radio-group/radio-group.ts":()=>Promise.resolve().then((()=>Zr)),"./components/radio/radio.ts":()=>Promise.resolve().then((()=>Jr)),"./components/spinner/spinner.ts":()=>Promise.resolve().then((()=>Ne)),"./components/tag/tag.ts":()=>Promise.resolve().then((()=>is)),"./components/teaser/teaser.ts":()=>Promise.resolve().then((()=>ls)),"./components/tooltip/tooltip.ts":()=>Promise.resolve().then((()=>us)),"./components/video/video.ts":()=>Promise.resolve().then((()=>fs))});Object.keys($).forEach((t=>{$[t]()}));
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const $=globalThis,C=$.ShadowRoot&&(void 0===$.ShadyCSS||$.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,S=Symbol(),_=new WeakMap;let E=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==S)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(C&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=_.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&_.set(e,t))}return t}toString(){return this.cssText}};const A=t=>new E("string"==typeof t?t:t+"",void 0,S),P=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new E(o,t,S)},z=C?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return A(e)})(t):t
7
+ const C=globalThis,S=C.ShadowRoot&&(void 0===C.ShadyCSS||C.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_=Symbol(),E=new WeakMap;let A=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==_)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(S&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=E.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&E.set(e,t))}return t}toString(){return this.cssText}};const P=t=>new A("string"==typeof t?t:t+"",void 0,_),z=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new A(o,t,_)},O=S?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return P(e)})(t):t
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */,{is:O,defineProperty:L,getOwnPropertyDescriptor:T,getOwnPropertyNames:M,getOwnPropertySymbols:D,getPrototypeOf:B}=Object,j=globalThis,R=j.trustedTypes,U=R?R.emptyScript:"",I=j.reactiveElementPolyfillSupport,F=(t,e)=>t,V={toAttribute(t,e){switch(e){case Boolean:t=t?U:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},N=(t,e)=>!O(t,e),H={attribute:!0,type:String,converter:V,reflect:!1,hasChanged:N};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),j.litPropertyMetadata??(j.litPropertyMetadata=new WeakMap);class q extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=H){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&L(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=T(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==r?void 0:r.call(this)},set(e){const s=null==r?void 0:r.call(this);i.call(this,e),this.requestUpdate(t,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??H}static _$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;const t=B(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){const t=this.properties,e=[...M(t),...D(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(z(t))}else void 0!==t&&e.push(z(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$ES??(this._$ES=[])).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$ES)||e.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(C)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=$.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){var o;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(void 0!==i&&!0===r.reflect){const s=(void 0!==(null==(o=r.converter)?void 0:o.toAttribute)?r.converter:V).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(t,e){var o;const r=this.constructor,i=r._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=r.getPropertyOptions(i),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(o=t.converter)?void 0:o.fromAttribute)?t.converter:V;this._$Em=i,this[i]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??(o=this.constructor.getPropertyOptions(t)),!(o.hasChanged??N)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(o)):this._$ET()}catch(t){throw e=!1,this._$ET(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach((t=>this._$EO(t,this[t])))),this._$ET()}updated(t){}firstUpdated(t){}}q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[F("elementProperties")]=new Map,q[F("finalized")]=new Map,null==I||I({ReactiveElement:q}),(j.reactiveElementVersions??(j.reactiveElementVersions=[])).push("2.0.1");
12
+ */,{is:T,defineProperty:L,getOwnPropertyDescriptor:M,getOwnPropertyNames:B,getOwnPropertySymbols:D,getPrototypeOf:j}=Object,U=globalThis,R=U.trustedTypes,V=R?R.emptyScript:"",F=U.reactiveElementPolyfillSupport,I=(t,e)=>t,N={toAttribute(t,e){switch(e){case Boolean:t=t?V:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},H=(t,e)=>!T(t,e),q={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:H};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),U.litPropertyMetadata??(U.litPropertyMetadata=new WeakMap);class K extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=q){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&L(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=M(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==i?void 0:i.call(this)},set(e){const s=null==i?void 0:i.call(this);r.call(this,e),this.requestUpdate(t,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??q}static _$Ei(){if(this.hasOwnProperty(I("elementProperties")))return;const t=j(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(I("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(I("properties"))){const t=this.properties,e=[...B(t),...D(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$ES??(this._$ES=[])).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$ES)||e.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(S)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=C.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){var o;const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null==(o=i.converter)?void 0:o.toAttribute)?i.converter:N).toAttribute(e,i.type);this._$Em=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Em=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=i.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(o=t.converter)?void 0:o.fromAttribute)?t.converter:N;this._$Em=r,this[r]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??(o=this.constructor.getPropertyOptions(t)),!(o.hasChanged??H)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null==(t=this._$ES)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(o)):this._$ET()}catch(t){throw e=!1,this._$ET(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach((t=>this._$EO(t,this[t])))),this._$ET()}updated(t){}firstUpdated(t){}}K.elementStyles=[],K.shadowRootOptions={mode:"open"},K[I("elementProperties")]=new Map,K[I("finalized")]=new Map,null==F||F({ReactiveElement:K}),(U.reactiveElementVersions??(U.reactiveElementVersions=[])).push("2.0.1");
13
13
  /**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- const K=globalThis,W=K.trustedTypes,Z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,X="$lit$",Y=`lit$${(Math.random()+"").slice(9)}$`,G="?"+Y,J=`<${G}>`,Q=document,tt=()=>Q.createComment(""),et=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ot=Array.isArray,rt="[ \t\n\f\r]",it=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,nt=/>/g,at=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),lt=/'/g,dt=/"/g,ct=/^(?:script|style|textarea|title)$/i,ht=(1,(t,...e)=>({_$litType$:1,strings:t,values:e})),pt=Symbol.for("lit-noChange"),ut=Symbol.for("lit-nothing"),gt=new WeakMap,mt=Q.createTreeWalker(Q,129);function bt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(e):e}class vt{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,s=0;const n=t.length-1,a=this.parts,[l,d]=((t,e)=>{const o=t.length-1,r=[];let i,s=2===e?"<svg>":"",n=it;for(let e=0;e<o;e++){const o=t[e];let a,l,d=-1,c=0;for(;c<o.length&&(n.lastIndex=c,l=n.exec(o),null!==l);)c=n.lastIndex,n===it?"!--"===l[1]?n=st:void 0!==l[1]?n=nt:void 0!==l[2]?(ct.test(l[2])&&(i=RegExp("</"+l[2],"g")),n=at):void 0!==l[3]&&(n=at):n===at?">"===l[0]?(n=i??it,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?at:'"'===l[3]?dt:lt):n===dt||n===lt?n=at:n===st||n===nt?n=it:(n=at,i=void 0);const h=n===at&&t[e+1].startsWith("/>")?" ":"";s+=n===it?o+J:d>=0?(r.push(a),o.slice(0,d)+X+o.slice(d)+Y+h):o+Y+(-2===d?e:h)}return[bt(t,s+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=vt.createElement(l,o),mt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=mt.nextNode())&&a.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(X)){const e=d[s++],o=r.getAttribute(t).split(Y),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:i,name:n[2],strings:o,ctor:"."===n[1]?kt:"?"===n[1]?$t:"@"===n[1]?Ct:xt}),r.removeAttribute(t)}else t.startsWith(Y)&&(a.push({type:6,index:i}),r.removeAttribute(t));if(ct.test(r.tagName)){const t=r.textContent.split(Y),e=t.length-1;if(e>0){r.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],tt()),mt.nextNode(),a.push({type:2,index:++i});r.append(t[e],tt())}}}else if(8===r.nodeType)if(r.data===G)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Y,t+1));)a.push({type:7,index:i}),t+=Y.length-1}i++}}static createElement(t,e){const o=Q.createElement("template");return o.innerHTML=t,o}}function ft(t,e,o=t,r){var i,s;if(e===pt)return e;let n=void 0!==r?null==(i=o._$Co)?void 0:i[r]:o._$Cl;const a=et(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==a&&(null==(s=null==n?void 0:n._$AO)||s.call(n,!1),void 0===a?n=void 0:(n=new a(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??(o._$Co=[]))[r]=n:o._$Cl=n),void 0!==n&&(e=ft(t,n._$AS(t,e.values),n,r)),e}class yt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=((null==t?void 0:t.creationScope)??Q).importNode(e,!0);mt.currentNode=r;let i=mt.nextNode(),s=0,n=0,a=o[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new wt(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new St(i,this,t)),this._$AV.push(e),a=o[++n]}s!==(null==a?void 0:a.index)&&(i=mt.nextNode(),s++)}return mt.currentNode=Q,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class wt{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ut,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=(null==r?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ft(this,t,e),et(t)?t===ut||null==t||""===t?(this._$AH!==ut&&this._$AR(),this._$AH=ut):t!==this._$AH&&t!==pt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ot(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ut&&et(this._$AH)?this._$AA.nextSibling.data=t:this.$(Q.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=vt.createElement(bt(r.h,r.h[0]),this.options)),r);if((null==(e=this._$AH)?void 0:e._$AD)===i)this._$AH.p(o);else{const t=new yt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let e=gt.get(t.strings);return void 0===e&&gt.set(t.strings,e=new vt(t)),e}T(t){ot(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const i of t)r===e.length?e.push(o=new wt(this.k(tt()),this.k(tt()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;for(null==(o=this._$AP)||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class xt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ut,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ut}_$AI(t,e=this,o,r){const i=this.strings;let s=!1;if(void 0===i)t=ft(this,t,e,0),s=!et(t)||t!==this._$AH&&t!==pt,s&&(this._$AH=t);else{const r=t;let n,a;for(t=i[0],n=0;n<i.length-1;n++)a=ft(this,r[o+n],e,n),a===pt&&(a=this._$AH[n]),s||(s=!et(a)||a!==this._$AH[n]),a===ut?t=ut:t!==ut&&(t+=(a??"")+i[n+1]),this._$AH[n]=a}s&&!r&&this.O(t)}O(t){t===ut?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class kt extends xt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ut?void 0:t}}class $t extends xt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ut)}}class Ct extends xt{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ft(this,t,e,0)??ut)===pt)return;const o=this._$AH,r=t===ut&&o!==ut||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ut&&(o===ut||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class St{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ft(this,t)}}const _t=K.litHtmlPolyfillSupport;null==_t||_t(vt,wt),(K.litHtmlVersions??(K.litHtmlVersions=[])).push("3.0.2");
18
+ const Z=globalThis,W=Z.trustedTypes,X=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,Y="$lit$",G=`lit$${(Math.random()+"").slice(9)}$`,J="?"+G,Q=`<${J}>`,tt=document,et=()=>tt.createComment(""),ot=t=>null===t||"object"!=typeof t&&"function"!=typeof t,it=Array.isArray,rt="[ \t\n\f\r]",st=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nt=/-->/g,at=/>/g,lt=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),dt=/'/g,ct=/"/g,ht=/^(?:script|style|textarea|title)$/i,pt=(1,(t,...e)=>({_$litType$:1,strings:t,values:e})),ut=Symbol.for("lit-noChange"),mt=Symbol.for("lit-nothing"),gt=new WeakMap,bt=tt.createTreeWalker(tt,129);function vt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==X?X.createHTML(e):e}class ft{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,d]=((t,e)=>{const o=t.length-1,i=[];let r,s=2===e?"<svg>":"",n=st;for(let e=0;e<o;e++){const o=t[e];let a,l,d=-1,c=0;for(;c<o.length&&(n.lastIndex=c,l=n.exec(o),null!==l);)c=n.lastIndex,n===st?"!--"===l[1]?n=nt:void 0!==l[1]?n=at:void 0!==l[2]?(ht.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=lt):void 0!==l[3]&&(n=lt):n===lt?">"===l[0]?(n=r??st,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?lt:'"'===l[3]?ct:dt):n===ct||n===dt?n=lt:n===nt||n===at?n=st:(n=lt,r=void 0);const h=n===lt&&t[e+1].startsWith("/>")?" ":"";s+=n===st?o+Q:d>=0?(i.push(a),o.slice(0,d)+Y+o.slice(d)+G+h):o+G+(-2===d?e:h)}return[vt(t,s+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=ft.createElement(l,o),bt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=bt.nextNode())&&a.length<n;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Y)){const e=d[s++],o=i.getAttribute(t).split(G),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:n[2],strings:o,ctor:"."===n[1]?$t:"?"===n[1]?Ct:"@"===n[1]?St:kt}),i.removeAttribute(t)}else t.startsWith(G)&&(a.push({type:6,index:r}),i.removeAttribute(t));if(ht.test(i.tagName)){const t=i.textContent.split(G),e=t.length-1;if(e>0){i.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],et()),bt.nextNode(),a.push({type:2,index:++r});i.append(t[e],et())}}}else if(8===i.nodeType)if(i.data===J)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(G,t+1));)a.push({type:7,index:r}),t+=G.length-1}r++}}static createElement(t,e){const o=tt.createElement("template");return o.innerHTML=t,o}}function yt(t,e,o=t,i){var r,s;if(e===ut)return e;let n=void 0!==i?null==(r=o._$Co)?void 0:r[i]:o._$Cl;const a=ot(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==a&&(null==(s=null==n?void 0:n._$AO)||s.call(n,!1),void 0===a?n=void 0:(n=new a(t),n._$AT(t,o,i)),void 0!==i?(o._$Co??(o._$Co=[]))[i]=n:o._$Cl=n),void 0!==n&&(e=yt(t,n._$AS(t,e.values),n,i)),e}class wt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=((null==t?void 0:t.creationScope)??tt).importNode(e,!0);bt.currentNode=i;let r=bt.nextNode(),s=0,n=0,a=o[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new xt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new _t(r,this,t)),this._$AV.push(e),a=o[++n]}s!==(null==a?void 0:a.index)&&(r=bt.nextNode(),s++)}return bt.currentNode=tt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class xt{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=mt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=(null==i?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=yt(this,t,e),ot(t)?t===mt||null==t||""===t?(this._$AH!==mt&&this._$AR(),this._$AH=mt):t!==this._$AH&&t!==ut&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>it(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==mt&&ot(this._$AH)?this._$AA.nextSibling.data=t:this.$(tt.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(vt(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.p(o);else{const t=new wt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let e=gt.get(t.strings);return void 0===e&&gt.set(t.strings,e=new ft(t)),e}T(t){it(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new xt(this.k(et()),this.k(et()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for(null==(o=this._$AP)||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=mt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=mt}_$AI(t,e=this,o,i){const r=this.strings;let s=!1;if(void 0===r)t=yt(this,t,e,0),s=!ot(t)||t!==this._$AH&&t!==ut,s&&(this._$AH=t);else{const i=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=yt(this,i[o+n],e,n),a===ut&&(a=this._$AH[n]),s||(s=!ot(a)||a!==this._$AH[n]),a===mt?t=mt:t!==mt&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!i&&this.O(t)}O(t){t===mt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class $t extends kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===mt?void 0:t}}class Ct extends kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==mt)}}class St extends kt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=yt(this,t,e,0)??mt)===ut)return;const o=this._$AH,i=t===mt&&o!==mt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==mt&&(o===mt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class _t{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){yt(this,t)}}const Et=Z.litHtmlPolyfillSupport;null==Et||Et(ft,xt),(Z.litHtmlVersions??(Z.litHtmlVersions=[])).push("3.0.2");
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- let Et=class extends q{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=(null==o?void 0:o.renderBefore)??e;let i=r._$litPart$;if(void 0===i){const t=(null==o?void 0:o.renderBefore)??null;r._$litPart$=i=new wt(e.insertBefore(tt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return pt}};Et._$litElement$=!0,Et.finalized=!0,null==(e=globalThis.litElementHydrateSupport)||e.call(globalThis,{LitElement:Et});const At=globalThis.litElementPolyfillSupport;null==At||At({LitElement:Et}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");const Pt=t=>e=>"function"==typeof e?((t,e)=>window.customElements.get(t)?(console.warn(`Custom element ${t} already defined. Registration skipped.`),e):(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:o,elements:r}=e;return{kind:o,elements:r,finisher(e){window.customElements.get(t)?console.warn(`Custom element ${t} already defined. Registration skipped.`):window.customElements.define(t,e)}}})(t,e)
24
+ let At=class extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=(null==o?void 0:o.renderBefore)??e;let r=i._$litPart$;if(void 0===r){const t=(null==o?void 0:o.renderBefore)??null;i._$litPart$=r=new xt(e.insertBefore(et(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return ut}};At._$litElement$=!0,At.finalized=!0,null==(e=globalThis.litElementHydrateSupport)||e.call(globalThis,{LitElement:At});const Pt=globalThis.litElementPolyfillSupport;null==Pt||Pt({LitElement:At}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");const zt=t=>e=>"function"==typeof e?((t,e)=>window.customElements.get(t)?(console.warn(`Custom element ${t} already defined. Registration skipped.`),e):(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:o,elements:i}=e;return{kind:o,elements:i,finisher(e){window.customElements.get(t)?console.warn(`Custom element ${t} already defined. Registration skipped.`):window.customElements.define(t,e)}}})(t,e)
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2017 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
- */,zt={attribute:!0,type:String,converter:V,reflect:!1,hasChanged:N},Ot=(t=zt,e,o)=>{const{kind:r,metadata:i}=o;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function Lt(t){return(e,o)=>"object"==typeof o?Ot(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
29
+ */,Ot={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:H},Tt=(t=Ot,e,o)=>{const{kind:i,metadata:r}=o;let s=globalThis.litPropertyMetadata.get(r);if(void 0===s&&globalThis.litPropertyMetadata.set(r,s=new Map),s.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function Lt(t){return(e,o)=>"object"==typeof o?Tt(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
30
30
  /**
31
31
  * @license
32
32
  * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
- */}function Tt(t){return Lt({...t,state:!0,attribute:!1})}
34
+ */}function Mt(t){return Lt({...t,state:!0,attribute:!1})}
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2017 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */const Mt=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,o),o)
39
+ */const Bt=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,o),o)
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
- */;function Dt(t,e){return(o,r,i)=>{const s=e=>{var o;return(null==(o=e.renderRoot)?void 0:o.querySelector(t))??null};if(e){const{get:t,set:n}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Mt(o,r,{get(){if(e){let e=t.call(this);return void 0===e&&(e=s(this),n.call(this,e)),e}return s(this)}})}return Mt(o,r,{get(){return s(this)}})}}
44
+ */;function Dt(t,e){return(o,i,r)=>{const s=e=>{var o;return(null==(o=e.renderRoot)?void 0:o.querySelector(t))??null};if(e){const{get:t,set:n}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Bt(o,i,{get(){if(e){let e=t.call(this);return void 0===e&&(e=s(this),n.call(this,e)),e}return s(this)}})}return Bt(o,i,{get(){return s(this)}})}}
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2021 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
- */function Bt(t){return(e,o)=>{const{slot:r,selector:i}=t??{},s="slot"+(r?`[name=${r}]`:":not([name])");return Mt(e,o,{get(){var e;const o=null==(e=this.renderRoot)?void 0:e.querySelector(s),r=(null==o?void 0:o.assignedElements(t))??[];return void 0===i?r:r.filter((t=>t.matches(i)))}})}}const jt=new Map;function Rt(t,e="cors"){if(jt.has(t))return jt.get(t);const o=fetch(t,{mode:e}).then((async t=>({ok:t.ok,status:t.status,html:await t.text()})));return jt.set(t,o),o}const Ut=Object.freeze(Object.defineProperty({__proto__:null,requestInclude:Rt},Symbol.toStringTag,{value:"Module"})),It=new Map;async function Ft(t){if(It.has(t))return It.get(t);const e=await Rt(t),o={ok:e.ok,status:e.status,svg:null};if(e.ok){const t=document.createElement("div");t.innerHTML=e.html;const r=t.firstElementChild;o.svg="svg"===(null==r?void 0:r.tagName.toLowerCase())?r.outerHTML:""}return It.set(t,o),o}const Vt=Object.freeze(Object.defineProperty({__proto__:null,requestIcon:Ft},Symbol.toStringTag,{value:"Module"})),Nt=t=>(...e)=>({_$litDirective$:t,values:e});
49
+ */function jt(t){return(e,o)=>{const{slot:i,selector:r}=t??{},s="slot"+(i?`[name=${i}]`:":not([name])");return Bt(e,o,{get(){var e;const o=null==(e=this.renderRoot)?void 0:e.querySelector(s),i=(null==o?void 0:o.assignedElements(t))??[];return void 0===r?i:i.filter((t=>t.matches(r)))}})}}const Ut=new Map;function Rt(t,e="cors"){if(Ut.has(t))return Ut.get(t);const o=fetch(t,{mode:e}).then((async t=>({ok:t.ok,status:t.status,html:await t.text()})));return Ut.set(t,o),o}const Vt=Object.freeze(Object.defineProperty({__proto__:null,requestInclude:Rt},Symbol.toStringTag,{value:"Module"})),Ft=new Map;async function It(t){if(Ft.has(t))return Ft.get(t);const e=await Rt(t),o={ok:e.ok,status:e.status,svg:null};if(e.ok){const t=document.createElement("div");t.innerHTML=e.html;const i=t.firstElementChild;o.svg="svg"===(null==i?void 0:i.tagName.toLowerCase())?i.outerHTML:""}return Ft.set(t,o),o}const Nt=Object.freeze(Object.defineProperty({__proto__:null,requestIcon:It},Symbol.toStringTag,{value:"Module"})),Ht=t=>(...e)=>({_$litDirective$:t,values:e});
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */class Ht{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
54
+ */class qt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
- */let qt=class extends Ht{constructor(t){if(super(t),this.et=ut,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ut||null==t)return this.vt=void 0,this.et=t;if(t===pt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};qt.directiveName="unsafeHTML",qt.resultType=1;
59
+ */let Kt=class extends qt{constructor(t){if(super(t),this.et=mt,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===mt||null==t)return this.vt=void 0,this.et=t;if(t===ut)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Kt.directiveName="unsafeHTML",Kt.resultType=1;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- let Kt=class extends qt{};Kt.directiveName="unsafeSVG",Kt.resultType=2;const Wt=Nt(Kt);function Zt(t,e){const o={waitUntilFirstUpdate:!1,...e};return(e,r)=>{const{update:i}=e,s=Array.isArray(t)?t:[t];e.update=function(t){s.forEach((e=>{const i=e;if(t.has(i)){const e=t.get(i),s=this[i];e!==s&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[r](e,s)}})),i.call(this,t)}}}const Xt=P`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`;var Yt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Jt=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Gt(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Yt(e,o,s),s};class Qt extends Et{emit(t,e){const o=new CustomEvent(t,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...e});return this.dispatchEvent(o),o}}Qt.styles=A('/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.\\!right-0{right:var(--sd-spacing-0,0)!important}.-top-\\[1px\\]{top:-1px}.bottom-0{bottom:var(--sd-spacing-0,0)}.bottom-auto{bottom:var(--sd-spacing-auto,auto)}.end-0{inset-inline-end:var(--sd-spacing-0,0)}.end-auto{inset-inline-end:var(--sd-spacing-auto,auto)}.left-0{left:var(--sd-spacing-0,0)}.left-1\\/2{left:50%}.right-0{right:var(--sd-spacing-0,0)}.right-2{right:var(--sd-spacing-2,.5rem)}.start-0{inset-inline-start:var(--sd-spacing-0,0)}.start-auto{inset-inline-start:var(--sd-spacing-auto,auto)}.top-0{top:var(--sd-spacing-0,0)}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:50%}.top-2{top:var(--sd-spacing-2,.5rem)}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.m-0{margin:var(--sd-spacing-0,0)}.m-4{margin:var(--sd-spacing-4,1rem)}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-4{margin-left:var(--sd-spacing-4,1rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-\\[0\\.5em\\]{margin-left:.5em}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-\\[0\\.25em\\]{margin-right:.25em}.mr-\\[0\\.5em\\]{margin-right:.5em}.mt-\\[1px\\]{margin-top:1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.\\!hidden{display:none!important}.hidden{display:none}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2-5,.625rem)}.h-2\\/3{height:66.666667%}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:var(--sd-spacing-5,1.25rem)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-\\[1px\\]{height:1px}.h-\\[48px\\]{height:48px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-full{height:100%}.h-varspacing{height:var(--tw-varspacing)}.max-h-full{max-height:100%}.min-h-\\[48px\\]{min-height:48px}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2-5,.625rem)}.w-2\\/5{width:40%}.w-3{width:var(--sd-spacing-3,.75rem)}.w-4{width:var(--sd-spacing-4,1rem)}.w-5{width:var(--sd-spacing-5,1.25rem)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-\\[--width\\]{width:var(--width)}.w-\\[48px\\]{width:48px}.w-\\[96px\\]{width:96px}.w-full{width:100%}.w-varspacing{width:var(--tw-varspacing)}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[20px\\]{min-width:20px}.min-w-\\[8px\\]{min-width:8px}.max-w-full{max-width:100%}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.rotate-\\[270deg\\]{--tw-rotate:270deg}.rotate-\\[270deg\\],.scale-y-\\[1\\.5\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:var(--sd-spacing-0,0)}.gap-0\\.5{gap:var(--sd-spacing-0-5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.overscroll-x-contain{overscroll-behavior-x:contain}.whitespace-nowrap{white-space:nowrap}.\\!rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)!important}.rounded-full{border-radius:var(--sd-border-radius-full,9999px)}.rounded-md{border-radius:var(--sd-border-radius-md,.375rem)}.rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)}.border{border-width:1px}.border-0{border-width:0}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-accent{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-border-opacity))}.border-error{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-300,218 218 218)/var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity))}.border-primary-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-border-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{background-color:#000000a6}.bg-accent{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-bg-opacity))}.bg-error{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-bg-opacity))}.bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-bg-opacity))}.bg-neutral-800\\/75{background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--sd-opacity-75,.75))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.bg-success{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-success,54 123 40)/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:var(--sd-opacity-75,.75)}.bg-none{background-image:none}.fill-neutral-100{fill:rgb(var(--sd-color-neutral-100,246 246 246)/1)}.fill-primary{fill:rgb(var(--sd-color-primary,0 53 142)/1)}.fill-white{fill:rgb(var(--sd-color-white,255 255 255)/1)}.p-0{padding:var(--sd-spacing-0,0)}.p-4{padding:var(--sd-spacing-4,1rem)}.px-0{padding-left:var(--sd-spacing-0,0);padding-right:var(--sd-spacing-0,0)}.px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.px-3{padding-left:var(--sd-spacing-3,.75rem);padding-right:var(--sd-spacing-3,.75rem)}.px-4{padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem)}.px-6{padding-left:var(--sd-spacing-6,1.5rem);padding-right:var(--sd-spacing-6,1.5rem)}.px-8{padding-left:var(--sd-spacing-8,2rem);padding-right:var(--sd-spacing-8,2rem)}.px-\\[4px\\]{padding-left:4px;padding-right:4px}.px-\\[5px\\]{padding-left:5px;padding-right:5px}.py-2{padding-bottom:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-2,.5rem)}.py-3{padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}.py-4{padding-bottom:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-4,1rem)}.py-6{padding-bottom:var(--sd-spacing-6,1.5rem);padding-top:var(--sd-spacing-6,1.5rem)}.py-8{padding-bottom:var(--sd-spacing-8,2rem);padding-top:var(--sd-spacing-8,2rem)}.py-\\[5px\\]{padding-bottom:5px;padding-top:5px}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-3{padding-right:var(--sd-spacing-3,.75rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-base{font-size:var(--sd-font-size-base,1rem)}.text-lg{font-size:var(--sd-font-size-lg,1.25rem)}.text-sm{font-size:var(--sd-font-size-sm,.875rem)}.text-xl{font-size:var(--sd-font-size-xl,1.5rem)}.font-bold{font-weight:700}.leading-\\[calc\\(var\\(--tw-varspacing\\)-2px\\)\\]{line-height:calc(var(--tw-varspacing) - 2px)}.leading-none{line-height:var(--sd-line-height-none,100%)}.leading-normal{line-height:var(--sd-line-height-normal,150%)}.text-accent{--tw-text-opacity:1;color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.text-error{--tw-text-opacity:1;color:rgb(var(--sd-color-error,204 25 55)/var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-20{opacity:var(--sd-opacity-20,.2)}.shadow{--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-neutral-400{outline-color:rgb(var(--sd-color-neutral-400,195 195 195)/1)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-colors{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10,2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12,3rem)}.varspacing-8{--tw-varspacing:var(--sd-spacing-8,2rem)}.focus-within\\:focus-outline:focus-within{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-within\\:focus-outline-inverted:focus-within{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline-inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\\:border-neutral-500:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.disabled\\:border-neutral-600:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-border-opacity))}.disabled\\:bg-neutral-500:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.disabled\\:bg-neutral-600:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-bg-opacity))}.disabled\\:text-neutral-500:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.disabled\\:text-neutral-600:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.group:hover .group-hover\\:top-0{top:var(--sd-spacing-0,0)}.group:hover .group-hover\\:h-full{height:100%}.group:hover .group-hover\\:border-accent-550{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-error-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.group:hover .group-hover\\:bg-accent-550{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-error-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.peer:focus-visible~.peer-focus-visible\\:outline{outline-style:solid}.peer:focus-visible~.peer-focus-visible\\:outline-2{outline-width:2px}.peer:focus-visible~.peer-focus-visible\\:outline-offset-2{outline-offset:2px}.peer:focus-visible~.peer-focus-visible\\:outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:border-accent-550:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.hover\\:border-error-400:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.hover\\:border-primary-100:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-border-opacity))}.hover\\:border-primary-500:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.hover\\:bg-accent-300:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-300,108 194 84)/var(--tw-bg-opacity))}.hover\\:bg-accent-550:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.hover\\:bg-error-400:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.hover\\:bg-neutral-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.hover\\:bg-neutral-200:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.hover\\:bg-primary-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.hover\\:bg-primary-500:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.hover\\:text-primary-100:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-text-opacity))}.hover\\:text-primary-200:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.hover\\:text-primary-500:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.active\\:border-primary-200:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-border-opacity))}.active\\:border-primary-800:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-border-opacity))}.active\\:bg-accent-700:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-700,33 87 37)/var(--tw-bg-opacity))}.active\\:bg-primary-200:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-bg-opacity))}.active\\:bg-primary-800:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.active\\:text-primary-200:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.active\\:text-primary-400:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.active\\:text-primary-800:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}\n'),Jt([Lt()],Qt.prototype,"dir",2),Jt([Lt()],Qt.prototype,"lang",2);var te=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,oe=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?ee(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&te(e,o,s),s};let re,ie=class extends Qt{constructor(){super(...arguments),this.svg="",this.label="",this.library="default",this.color="currentColor"}connectedCallback(){super.connectedCallback(),a(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),l(this)}getUrl(){const t=d(this.library);return this.name&&t?t.resolver(this.name):this.src}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const e=d(this.library),o=this.getUrl();if(re||(re=new DOMParser),o)try{const r=await Ft(o);if(o===this.getUrl())if(r.ok){const o=re.parseFromString(r.svg,"text/html").body.querySelector("svg");null!==o?(null==(t=null==e?void 0:e.mutator)||t.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch{this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return ht`${Wt(this.svg)}`}};ie.styles=[Xt,P`:host{display:inline-block;width:1em;height:1em;box-sizing:content-box!important}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-text-opacity,1))}// text-primary :host([color=white]) svg{color:rgb(var(--sd-color-white,255 255 255) / var(--tw-text-opacity,1))}`],oe([Tt()],ie.prototype,"svg",2),oe([Lt({reflect:!0})],ie.prototype,"name",2),oe([Lt()],ie.prototype,"src",2),oe([Lt()],ie.prototype,"label",2),oe([Lt({reflect:!0})],ie.prototype,"library",2),oe([Lt({reflect:!0})],ie.prototype,"color",2),oe([Zt("label")],ie.prototype,"handleLabelChange",1),oe([Zt(["name","src","library"])],ie.prototype,"setIcon",1),ie=oe([Pt("sd-icon")],ie);const se=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ie}},Symbol.toStringTag,{value:"Module"}));function ne(t,e,o){return new Promise((r=>{if((null==o?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const i=t.animate(e,{...o,duration:ae()?0:o.duration});i.addEventListener("cancel",r,{once:!0}),i.addEventListener("finish",r,{once:!0})}))}function ae(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function le(t){return Promise.all(t.getAnimations().map((t=>new Promise((e=>{const o=requestAnimationFrame(e);t.addEventListener("cancel",(()=>o),{once:!0}),t.addEventListener("finish",(()=>o),{once:!0}),t.cancel()})))))}function de(t,e){return t.map((t=>({...t,height:"auto"===t.height?`${e}px`:t.height})))}const ce=new Map,he=new WeakMap;function pe(t,e){return"rtl"===e.toLowerCase()?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function ue(t,e){ce.set(t,function(t){return t??{keyframes:[],options:{duration:0}}}(e))}function ge(t,e,o){const r=he.get(t);if(null!=r&&r[e])return pe(r[e],o.dir);const i=ce.get(e);return i?pe(i,o.dir):{keyframes:[],options:{duration:0}}}function me(t,e){return new Promise((o=>{t.addEventListener(e,(function r(i){i.target===t&&(t.removeEventListener(e,r),o())}))}))}function be(){let t,e="",o=0;for(;o<arguments.length;)(t=arguments[o++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}var ve=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,ye=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?fe(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ve(e,o,s),s};let we=class extends Qt{constructor(){super(...arguments),this.localize=new x(this),this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.header.focus(),this.open?this.hide():this.show()}handleSummaryKeyDown(t){("Enter"===t.key||" "===t.key)&&(t.preventDefault(),this.open?this.hide():this.show()),("ArrowUp"===t.key||"ArrowLeft"===t.key)&&(t.preventDefault(),this.hide()),("ArrowDown"===t.key||"ArrowRight"===t.key)&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented)return void(this.open=!1);await le(this.body),this.body.hidden=!1;const{keyframes:t,options:e}=ge(this,"accordion.show",{dir:this.localize.dir()});await ne(this.body,de(t,this.body.scrollHeight),e),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented)return void(this.open=!0);await le(this.body);const{keyframes:t,options:e}=ge(this,"accordion.hide",{dir:this.localize.dir()});await ne(this.body,de(t,this.body.scrollHeight),e),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,me(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,me(this,"sd-after-hide")}render(){return ht`<div part="base" class="outline outline-1 outline-neutral-400 -outline-offset-1"><header part="header" id="header" class="${be("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline",this.open?"bg-white text-accent hover:bg-neutral-200":"text-primary bg-neutral-100 hover:bg-neutral-200")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${be("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${be(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${be(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};we.styles=[Qt.styles,P`:host{display:block}`],ye([Dt('[part="base"]')],we.prototype,"accordion",2),ye([Dt('[part="header"]')],we.prototype,"header",2),ye([Dt('[part="content"]')],we.prototype,"body",2),ye([Lt({type:Boolean,reflect:!0})],we.prototype,"open",2),ye([Lt()],we.prototype,"summary",2),ye([Zt("open",{waitUntilFirstUpdate:!0})],we.prototype,"handleOpenChange",1),we=ye([Pt("sd-accordion")],we),ue("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),ue("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const xe=Object.freeze(Object.defineProperty({__proto__:null,get default(){return we}},Symbol.toStringTag,{value:"Module"}));var ke=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Ce=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?$e(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ke(e,o,s),s};let Se=class extends Qt{constructor(){super(...arguments),this.closeOthers=!1,this.handleAccordionShow=t=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach((e=>{e!==t.target&&e.parentNode===t.target.parentNode&&e.removeAttribute("open")}))}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return ht`<div part="base"><slot></slot></div>`}};Se.styles=[Xt,Qt.styles,P`:host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:-1px}`],Ce([Bt({selector:"sd-accordion"})],Se.prototype,"_accordionsInDefaultSlot",2),Ce([Lt({attribute:"close-others",type:Boolean})],Se.prototype,"closeOthers",2),Se=Ce([Pt("sd-accordion-group")],Se);const _e=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Se}},Symbol.toStringTag,{value:"Module"}));var Ee=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,Pe=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Ae(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Ee(e,o,s),s};let ze=class extends Qt{constructor(){super(...arguments),this.variant="default",this.size="lg",this.inverted=!1}render(){return ht`<span tabindex="0" role="status" part="base" class="${be("inline-flex items-center justify-center gap-x-[1px] text-center leading-none whitespace-nowrap border rounded-full select-none cursor-[inherit]",{default:this.inverted?"text-primary bg-white border-primary":"text-white bg-primary-500 border-white",success:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",error:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant],{sm:"h-2 min-w-[8px] text-[10px]",md:"h-4 px-[4px] min-w-[16px] text-[10px]",lg:"h-5 px-[5px] min-w-[20px] text-[12px]"}[this.size])}"><span part="content" class="${be("sm"===this.size&&"hidden")}"><slot></slot></span></span>`}};ze.styles=[Qt.styles,P`:host{display:inline-flex;align-items:center;justify-content:center}`],Pe([Lt({reflect:!0})],ze.prototype,"variant",2),Pe([Lt({reflect:!0})],ze.prototype,"size",2),Pe([Lt({type:Boolean,reflect:!0})],ze.prototype,"inverted",2),ze=Pe([Pt("sd-badge")],ze);const Oe=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ze}},Symbol.toStringTag,{value:"Module"}));var Le=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,Me=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Te(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Le(e,o,s),s};let De=class extends Qt{constructor(){super(...arguments),this.variant="primary",this.shapes=["top","middle","bottom"],this.componentBreakpoint=0}getSvg(t,e){return{0:this.smallSvg(e),414:this.mediumSvg(e),640:this.largeSvg(e)}[t]}largeSvg(t){return"top"===t?ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return"top"===t?ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return"top"===t?ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:ht`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.setBreakpoint())),this.updateComplete.then((()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return ht`<div class="relative" part="shape-top">${1===this.shapes.length?ht`<div class="relative">${this.getSvg(this.componentBreakpoint,"top")}<div part="content" class="absolute bottom-0 right-0 flex items-end w-2/5 h-2/3 px-6 py-4"><slot></slot></div></div>`:this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return ht`<div class="${be({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${be({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="z-10 relative" part="content"><slot></slot></div></div>`}renderBottomBrandshape(){return ht`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return ht`<div class="${be({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full h-[1px]")}"></div>`}render(){return ht`<div class="${be({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white"}[this.variant])}" part="base">${this.shapes.includes("top")?this.renderTopBrandshape():null} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():null} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():null}</div>`}};De.styles=[Xt,Qt.styles,P`:host{display:block}`],Me([Dt("[part=base]")],De.prototype,"containerElem",2),Me([Lt({type:String})],De.prototype,"variant",2),Me([Lt({type:Array})],De.prototype,"shapes",2),Me([Tt()],De.prototype,"componentBreakpoint",2),De=Me([Pt("sd-brandshape")],De);const Be=Object.freeze(Object.defineProperty({__proto__:null,get default(){return De}},Symbol.toStringTag,{value:"Module"}));var je=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,Ue=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Re(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&je(e,o,s),s};let Ie=class extends Qt{constructor(){super(...arguments),this.color="currentColor",this.localize=new x(this)}render(){return ht`<svg role="progressbar" viewBox="0 0 24 24" class="${be("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};Ie.styles=[Qt.styles,P`:host{display:inline-block;width:1em;height:1em}`],Ue([Lt({reflect:!0})],Ie.prototype,"color",2),Ie=Ue([Pt("sd-spinner")],Ie);const Fe=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ie}},Symbol.toStringTag,{value:"Module"})),Ve=new WeakMap,Ne=new WeakMap,He=new WeakMap,qe=new WeakMap;class Ke{constructor(t,e){this.handleFormData=t=>{const e=this.options.disabled(this.host),o=this.options.name(this.host),r=this.options.value(this.host),i="sd-button"===this.host.tagName.toLowerCase();!e&&!i&&"string"==typeof o&&o.length>0&&typeof r<"u"&&(Array.isArray(r)?r.forEach((e=>{t.formData.append(o,e.toString())})):t.formData.append(o,r.toString()))},this.handleFormSubmit=t=>{var e;const o=this.options.disabled(this.host),r=this.options.reportValidity;this.form&&!this.form.noValidate&&(null==(e=Ve.get(this.form))||e.forEach((t=>{this.setUserInteracted(t,!0)}))),this.form&&!this.form.noValidate&&!o&&!r(this.host)&&(t.preventDefault(),t.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),qe.set(this.host,[])},this.handleInteraction=t=>{const e=qe.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},(this.host=t).addController(this),this.options={form:t=>{if(t.hasAttribute("form")&&""!==t.getAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");if(o)return e.getElementById(o)}return t.closest("form")},name:t=>t.name,value:t=>t.value,defaultValue:t=>t.defaultValue,disabled:t=>t.disabled??!1,reportValidity:t=>"function"!=typeof t.reportValidity||t.reportValidity(),setValue:(t,e)=>t.value=e,assumeInteractionOn:["sd-input"],...e}}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),qe.set(this.host,[]),this.options.assumeInteractionOn.forEach((t=>{this.host.addEventListener(t,this.handleInteraction)}))}hostDisconnected(){this.detachForm(),qe.delete(this.host),this.options.assumeInteractionOn.forEach((t=>{this.host.removeEventListener(t,this.handleInteraction)}))}hostUpdated(){var t;const e=this.options.form(this.host);e||this.detachForm(),e&&this.form!==e&&(this.detachForm(),this.attachForm(e)),this.host.hasUpdated&&this.setValidity(null==(t=this.host)?void 0:t.validity.valid)}attachForm(t){t?(this.form=t,Ve.has(this.form)?Ve.get(this.form).add(this.host):Ve.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),Ne.has(this.form)||(Ne.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&(null==(t=Ve.get(this.form))||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),Ne.has(this.form)&&(this.form.reportValidity=Ne.get(this.form),Ne.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){const t=this.form.querySelectorAll("*");for(const e of t)if("function"==typeof e.reportValidity&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){He.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach((t=>{e.hasAttribute(t)&&o.setAttribute(t,e.getAttribute(t))}))),this.form.append(o),o.click(),o.remove()}}getForm(){return this.form??null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var e;const o=this.host,r=!!He.get(o),i=!!o.required;null!=(e=this.form)&&e.noValidate?(o.removeAttribute("data-required"),o.removeAttribute("data-optional"),o.removeAttribute("data-invalid"),o.removeAttribute("data-valid"),o.removeAttribute("data-user-invalid"),o.removeAttribute("data-user-valid")):(o.toggleAttribute("data-required",i),o.toggleAttribute("data-optional",!i),o.toggleAttribute("data-invalid",!t),o.toggleAttribute("data-valid",t),o.toggleAttribute("data-user-invalid",!t&&r),o.toggleAttribute("data-user-valid",t&&r))}updateValidity(){const t=this.host;this.setValidity(null==t?void 0:t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||null==t||t.preventDefault()}}const We=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Ze=Object.freeze({...We,valid:!1,valueMissing:!0}),Xe=Object.freeze({...We,valid:!1,customError:!0});class Ye{constructor(t,...e){this.slotNames=[],(this.host=t).addController(this),this.slotNames=e,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some((t=>{if(t.nodeType===t.TEXT_NODE&&""!==t.textContent.trim())return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if("sd-visually-hidden"===e.tagName.toLowerCase())return!1;if(!e.hasAttribute("slot"))return!0}return!1}))}hasNamedSlot(t){return null!==this.host.querySelector(`:scope > [slot="${t}"]`)}test(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(t){const e=t.target;(this.slotNames.includes("[default]")&&!e.name||e.name&&this.slotNames.includes(e.name))&&this.host.requestUpdate()}}
65
+ let Zt=class extends Kt{};Zt.directiveName="unsafeSVG",Zt.resultType=2;const Wt=Ht(Zt);function Xt(t,e){const o={waitUntilFirstUpdate:!1,...e};return(e,i)=>{const{update:r}=e,s=Array.isArray(t)?t:[t];e.update=function(t){s.forEach((e=>{const r=e;if(t.has(r)){const e=t.get(r),s=this[r];e!==s&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[i](e,s)}})),r.call(this,t)}}}const Yt=z`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`;var Gt=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,Qt=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Jt(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Gt(e,o,s),s};class te extends At{emit(t,e){const o=new CustomEvent(t,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...e});return this.dispatchEvent(o),o}}te.styles=P('/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.\\!right-0{right:var(--sd-spacing-0,0)!important}.-top-\\[1px\\]{top:-1px}.bottom-0{bottom:var(--sd-spacing-0,0)}.bottom-auto{bottom:var(--sd-spacing-auto,auto)}.end-0{inset-inline-end:var(--sd-spacing-0,0)}.end-auto{inset-inline-end:var(--sd-spacing-auto,auto)}.left-0{left:var(--sd-spacing-0,0)}.left-1\\/2{left:50%}.right-0{right:var(--sd-spacing-0,0)}.right-2{right:var(--sd-spacing-2,.5rem)}.start-0{inset-inline-start:var(--sd-spacing-0,0)}.start-auto{inset-inline-start:var(--sd-spacing-auto,auto)}.top-0{top:var(--sd-spacing-0,0)}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:50%}.top-2{top:var(--sd-spacing-2,.5rem)}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.m-0{margin:var(--sd-spacing-0,0)}.m-4{margin:var(--sd-spacing-4,1rem)}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-4{margin-left:var(--sd-spacing-4,1rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-\\[0\\.5em\\]{margin-left:.5em}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-\\[0\\.25em\\]{margin-right:.25em}.mr-\\[0\\.5em\\]{margin-right:.5em}.mt-\\[1px\\]{margin-top:1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.\\!hidden{display:none!important}.hidden{display:none}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2-5,.625rem)}.h-2\\/3{height:66.666667%}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:var(--sd-spacing-5,1.25rem)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-\\[1px\\]{height:1px}.h-\\[48px\\]{height:48px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-full{height:100%}.h-varspacing{height:var(--tw-varspacing)}.max-h-full{max-height:100%}.min-h-\\[48px\\]{min-height:48px}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2-5,.625rem)}.w-2\\/5{width:40%}.w-3{width:var(--sd-spacing-3,.75rem)}.w-4{width:var(--sd-spacing-4,1rem)}.w-5{width:var(--sd-spacing-5,1.25rem)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-\\[--width\\]{width:var(--width)}.w-\\[48px\\]{width:48px}.w-\\[96px\\]{width:96px}.w-full{width:100%}.w-varspacing{width:var(--tw-varspacing)}.min-w-0{min-width:0}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[20px\\]{min-width:20px}.min-w-\\[8px\\]{min-width:8px}.max-w-full{max-width:100%}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.rotate-\\[270deg\\]{--tw-rotate:270deg}.rotate-\\[270deg\\],.scale-y-\\[1\\.5\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:var(--sd-spacing-0,0)}.gap-0\\.5{gap:var(--sd-spacing-0-5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.overscroll-x-contain{overscroll-behavior-x:contain}.whitespace-nowrap{white-space:nowrap}.\\!rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)!important}.rounded-default{border-radius:var(--sd-border-radius-default,.25rem)}.rounded-full{border-radius:var(--sd-border-radius-full,9999px)}.rounded-md{border-radius:var(--sd-border-radius-md,.375rem)}.rounded-none{border-radius:var(--sd-border-radius-none,0)}.rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-accent{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-border-opacity))}.border-error{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-300,218 218 218)/var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity))}.border-primary-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-border-opacity))}.border-success{--tw-border-opacity:1;border-color:rgb(var(--sd-color-success,54 123 40)/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-border-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{background-color:#000000a6}.bg-accent{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-bg-opacity))}.bg-error{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-bg-opacity))}.bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-bg-opacity))}.bg-neutral-800\\/75{background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--sd-opacity-75,.75))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.bg-success{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-success,54 123 40)/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:var(--sd-opacity-75,.75)}.bg-none{background-image:none}.fill-neutral-100{fill:rgb(var(--sd-color-neutral-100,246 246 246)/1)}.fill-primary{fill:rgb(var(--sd-color-primary,0 53 142)/1)}.fill-white{fill:rgb(var(--sd-color-white,255 255 255)/1)}.p-0{padding:var(--sd-spacing-0,0)}.p-4{padding:var(--sd-spacing-4,1rem)}.px-0{padding-left:var(--sd-spacing-0,0);padding-right:var(--sd-spacing-0,0)}.px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.px-3{padding-left:var(--sd-spacing-3,.75rem);padding-right:var(--sd-spacing-3,.75rem)}.px-4{padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem)}.px-6{padding-left:var(--sd-spacing-6,1.5rem);padding-right:var(--sd-spacing-6,1.5rem)}.px-8{padding-left:var(--sd-spacing-8,2rem);padding-right:var(--sd-spacing-8,2rem)}.px-\\[4px\\]{padding-left:4px;padding-right:4px}.px-\\[5px\\]{padding-left:5px;padding-right:5px}.py-1{padding-bottom:var(--sd-spacing-1,.25rem);padding-top:var(--sd-spacing-1,.25rem)}.py-2{padding-bottom:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-2,.5rem)}.py-3{padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}.py-4{padding-bottom:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-4,1rem)}.py-6{padding-bottom:var(--sd-spacing-6,1.5rem);padding-top:var(--sd-spacing-6,1.5rem)}.py-8{padding-bottom:var(--sd-spacing-8,2rem);padding-top:var(--sd-spacing-8,2rem)}.py-\\[5px\\]{padding-bottom:5px;padding-top:5px}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-3{padding-right:var(--sd-spacing-3,.75rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-base{font-size:var(--sd-font-size-base,1rem)}.text-lg{font-size:var(--sd-font-size-lg,1.25rem)}.text-sm{font-size:var(--sd-font-size-sm,.875rem)}.text-xl{font-size:var(--sd-font-size-xl,1.5rem)}.font-bold{font-weight:700}.leading-\\[calc\\(var\\(--tw-varspacing\\)-2px\\)\\]{line-height:calc(var(--tw-varspacing) - 2px)}.leading-none{line-height:var(--sd-line-height-none,100%)}.leading-normal{line-height:var(--sd-line-height-normal,150%)}.text-accent{--tw-text-opacity:1;color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.text-error{--tw-text-opacity:1;color:rgb(var(--sd-color-error,204 25 55)/var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.text-success{--tw-text-opacity:1;color:rgb(var(--sd-color-success,54 123 40)/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.placeholder-neutral-700::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.placeholder-neutral-700::placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-20{opacity:var(--sd-opacity-20,.2)}.shadow{--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-neutral-400{outline-color:rgb(var(--sd-color-neutral-400,195 195 195)/1)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-colors{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10,2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12,3rem)}.varspacing-8{--tw-varspacing:var(--sd-spacing-8,2rem)}.focus-within\\:focus-outline:focus-within{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-within\\:focus-outline-inverted:focus-within{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline-inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\\:border-neutral-500:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.disabled\\:border-neutral-600:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-border-opacity))}.disabled\\:bg-neutral-500:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.disabled\\:bg-neutral-600:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-bg-opacity))}.disabled\\:text-neutral-500:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.disabled\\:text-neutral-600:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.group:hover .group-hover\\:top-0{top:var(--sd-spacing-0,0)}.group:hover .group-hover\\:h-full{height:100%}.group:hover .group-hover\\:border-accent-550{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-error-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.group:hover .group-hover\\:bg-accent-550{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-error-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.peer:focus-visible~.peer-focus-visible\\:outline{outline-style:solid}.peer:focus-visible~.peer-focus-visible\\:outline-2{outline-width:2px}.peer:focus-visible~.peer-focus-visible\\:outline-offset-2{outline-offset:2px}.peer:focus-visible~.peer-focus-visible\\:outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:border-accent-550:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.hover\\:border-error-400:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.hover\\:border-primary-100:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-border-opacity))}.hover\\:border-primary-500:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.hover\\:bg-accent-300:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-300,108 194 84)/var(--tw-bg-opacity))}.hover\\:bg-accent-550:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.hover\\:bg-error-400:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.hover\\:bg-neutral-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.hover\\:bg-neutral-200:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.hover\\:bg-primary-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.hover\\:bg-primary-500:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.hover\\:text-primary-100:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-text-opacity))}.hover\\:text-primary-200:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.hover\\:text-primary-500:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.active\\:border-primary-200:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-border-opacity))}.active\\:border-primary-800:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-border-opacity))}.active\\:bg-accent-700:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-700,33 87 37)/var(--tw-bg-opacity))}.active\\:bg-primary-200:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-bg-opacity))}.active\\:bg-primary-800:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.active\\:text-primary-200:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.active\\:text-primary-400:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.active\\:text-primary-800:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}\n'),Qt([Lt()],te.prototype,"dir",2),Qt([Lt()],te.prototype,"lang",2);var ee=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,ie=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?oe(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&ee(e,o,s),s};let re,se=class extends te{constructor(){super(...arguments),this.svg="",this.label="",this.library="default",this.color="currentColor"}connectedCallback(){super.connectedCallback(),l(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),d(this)}getUrl(){const t=c(this.library);return this.name&&t?t.resolver(this.name):this.src}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const e=c(this.library),o=this.getUrl();if(re||(re=new DOMParser),o)try{const i=await It(o);if(o===this.getUrl())if(i.ok){const o=re.parseFromString(i.svg,"text/html").body.querySelector("svg");null!==o?(null==(t=null==e?void 0:e.mutator)||t.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch{this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return pt`${Wt(this.svg)}`}};se.styles=[Yt,z`:host{display:inline-block;width:1em;height:1em;box-sizing:content-box!important}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-text-opacity,1))}// text-primary :host([color=white]) svg{color:rgb(var(--sd-color-white,255 255 255) / var(--tw-text-opacity,1))}`],ie([Mt()],se.prototype,"svg",2),ie([Lt({reflect:!0})],se.prototype,"name",2),ie([Lt()],se.prototype,"src",2),ie([Lt()],se.prototype,"label",2),ie([Lt({reflect:!0})],se.prototype,"library",2),ie([Lt({reflect:!0})],se.prototype,"color",2),ie([Xt("label")],se.prototype,"handleLabelChange",1),ie([Xt(["name","src","library"])],se.prototype,"setIcon",1),se=ie([zt("sd-icon")],se);const ne=Object.freeze(Object.defineProperty({__proto__:null,get default(){return se}},Symbol.toStringTag,{value:"Module"}));function ae(t,e,o){return new Promise((i=>{if((null==o?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const r=t.animate(e,{...o,duration:de()?0:o.duration});r.addEventListener("cancel",i,{once:!0}),r.addEventListener("finish",i,{once:!0})}))}function le(t){return(t=t.toString().toLowerCase()).indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?1e3*parseFloat(t):parseFloat(t)}function de(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function ce(t){return Promise.all(t.getAnimations().map((t=>new Promise((e=>{const o=requestAnimationFrame(e);t.addEventListener("cancel",(()=>o),{once:!0}),t.addEventListener("finish",(()=>o),{once:!0}),t.cancel()})))))}function he(t,e){return t.map((t=>({...t,height:"auto"===t.height?`${e}px`:t.height})))}const pe=new Map,ue=new WeakMap;function me(t,e){return"rtl"===e.toLowerCase()?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function ge(t,e){pe.set(t,function(t){return t??{keyframes:[],options:{duration:0}}}(e))}function be(t,e,o){const i=ue.get(t);if(null!=i&&i[e])return me(i[e],o.dir);const r=pe.get(e);return r?me(r,o.dir):{keyframes:[],options:{duration:0}}}function ve(t,e){return new Promise((o=>{t.addEventListener(e,(function i(r){r.target===t&&(t.removeEventListener(e,i),o())}))}))}function fe(){let t,e="",o=0;for(;o<arguments.length;)(t=arguments[o++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}var ye=Object.defineProperty,we=Object.getOwnPropertyDescriptor,xe=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?we(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&ye(e,o,s),s};let ke=class extends te{constructor(){super(...arguments),this.localize=new k(this),this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.header.focus(),this.open?this.hide():this.show()}handleSummaryKeyDown(t){("Enter"===t.key||" "===t.key)&&(t.preventDefault(),this.open?this.hide():this.show()),("ArrowUp"===t.key||"ArrowLeft"===t.key)&&(t.preventDefault(),this.hide()),("ArrowDown"===t.key||"ArrowRight"===t.key)&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented)return void(this.open=!1);await ce(this.body),this.body.hidden=!1;const{keyframes:t,options:e}=be(this,"accordion.show",{dir:this.localize.dir()});await ae(this.body,he(t,this.body.scrollHeight),e),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented)return void(this.open=!0);await ce(this.body);const{keyframes:t,options:e}=be(this,"accordion.hide",{dir:this.localize.dir()});await ae(this.body,he(t,this.body.scrollHeight),e),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,ve(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,ve(this,"sd-after-hide")}render(){return pt`<div part="base" class="outline outline-1 outline-neutral-400 -outline-offset-1"><header part="header" id="header" class="${fe("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline",this.open?"bg-white text-accent hover:bg-neutral-200":"text-primary bg-neutral-100 hover:bg-neutral-200")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${fe("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${fe(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${fe(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};ke.styles=[te.styles,z`:host{display:block}`],xe([Dt('[part="base"]')],ke.prototype,"accordion",2),xe([Dt('[part="header"]')],ke.prototype,"header",2),xe([Dt('[part="content"]')],ke.prototype,"body",2),xe([Lt({type:Boolean,reflect:!0})],ke.prototype,"open",2),xe([Lt()],ke.prototype,"summary",2),xe([Xt("open",{waitUntilFirstUpdate:!0})],ke.prototype,"handleOpenChange",1),ke=xe([zt("sd-accordion")],ke),ge("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),ge("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const $e=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ke}},Symbol.toStringTag,{value:"Module"}));var Ce=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,_e=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Se(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Ce(e,o,s),s};let Ee=class extends te{constructor(){super(...arguments),this.closeOthers=!1,this.handleAccordionShow=t=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach((e=>{e!==t.target&&e.parentNode===t.target.parentNode&&e.removeAttribute("open")}))}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return pt`<div part="base"><slot></slot></div>`}};Ee.styles=[Yt,te.styles,z`:host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:-1px}`],_e([jt({selector:"sd-accordion"})],Ee.prototype,"_accordionsInDefaultSlot",2),_e([Lt({attribute:"close-others",type:Boolean})],Ee.prototype,"closeOthers",2),Ee=_e([zt("sd-accordion-group")],Ee);const Ae=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ee}},Symbol.toStringTag,{value:"Module"}));var Pe=Object.defineProperty,ze=Object.getOwnPropertyDescriptor,Oe=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?ze(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Pe(e,o,s),s};let Te=class extends te{constructor(){super(...arguments),this.variant="default",this.size="lg",this.inverted=!1}render(){return pt`<span tabindex="0" role="status" part="base" class="${fe("inline-flex items-center justify-center gap-x-[1px] text-center leading-none whitespace-nowrap border rounded-full select-none cursor-[inherit]",{default:this.inverted?"text-primary bg-white border-primary":"text-white bg-primary-500 border-white",success:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",error:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant],{sm:"h-2 min-w-[8px] text-[10px]",md:"h-4 px-[4px] min-w-[16px] text-[10px]",lg:"h-5 px-[5px] min-w-[20px] text-[12px]"}[this.size])}"><span part="content" class="${fe("sm"===this.size&&"hidden")}"><slot></slot></span></span>`}};Te.styles=[te.styles,z`:host{display:inline-flex;align-items:center;justify-content:center}`],Oe([Lt({reflect:!0})],Te.prototype,"variant",2),Oe([Lt({reflect:!0})],Te.prototype,"size",2),Oe([Lt({type:Boolean,reflect:!0})],Te.prototype,"inverted",2),Te=Oe([zt("sd-badge")],Te);const Le=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Te}},Symbol.toStringTag,{value:"Module"}));var Me=Object.defineProperty,Be=Object.getOwnPropertyDescriptor,De=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Be(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Me(e,o,s),s};let je=class extends te{constructor(){super(...arguments),this.variant="primary",this.shapes=["top","middle","bottom"],this.componentBreakpoint=0}getSvg(t,e){return{0:this.smallSvg(e),414:this.mediumSvg(e),640:this.largeSvg(e)}[t]}largeSvg(t){return"top"===t?pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return"top"===t?pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return"top"===t?pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:pt`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.setBreakpoint())),this.updateComplete.then((()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return pt`<div class="relative" part="shape-top">${1===this.shapes.length?pt`<div class="relative">${this.getSvg(this.componentBreakpoint,"top")}<div part="content" class="absolute bottom-0 right-0 flex items-end w-2/5 h-2/3 px-6 py-4"><slot></slot></div></div>`:this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return pt`<div class="${fe({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${fe({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="z-10 relative" part="content"><slot></slot></div></div>`}renderBottomBrandshape(){return pt`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return pt`<div class="${fe({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full h-[1px]")}"></div>`}render(){return pt`<div class="${fe({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white"}[this.variant])}" part="base">${this.shapes.includes("top")?this.renderTopBrandshape():null} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():null} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():null}</div>`}};je.styles=[Yt,te.styles,z`:host{display:block}`],De([Dt("[part=base]")],je.prototype,"containerElem",2),De([Lt({type:String})],je.prototype,"variant",2),De([Lt({type:Array})],je.prototype,"shapes",2),De([Mt()],je.prototype,"componentBreakpoint",2),je=De([zt("sd-brandshape")],je);const Ue=Object.freeze(Object.defineProperty({__proto__:null,get default(){return je}},Symbol.toStringTag,{value:"Module"}));var Re=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,Fe=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Ve(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Re(e,o,s),s};let Ie=class extends te{constructor(){super(...arguments),this.color="currentColor",this.localize=new k(this)}render(){return pt`<svg role="progressbar" viewBox="0 0 24 24" class="${fe("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};Ie.styles=[te.styles,z`:host{display:inline-block;width:1em;height:1em}`],Fe([Lt({reflect:!0})],Ie.prototype,"color",2),Ie=Fe([zt("sd-spinner")],Ie);const Ne=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ie}},Symbol.toStringTag,{value:"Module"})),He=new WeakMap,qe=new WeakMap,Ke=new WeakMap,Ze=new WeakMap;class We{constructor(t,e){this.handleFormData=t=>{const e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),r="sd-button"===this.host.tagName.toLowerCase();!e&&!r&&"string"==typeof o&&o.length>0&&typeof i<"u"&&(Array.isArray(i)?i.forEach((e=>{t.formData.append(o,e.toString())})):t.formData.append(o,i.toString()))},this.handleFormSubmit=t=>{var e;const o=this.options.disabled(this.host),i=this.options.reportValidity;this.form&&!this.form.noValidate&&(null==(e=He.get(this.form))||e.forEach((t=>{this.setUserInteracted(t,!0)}))),this.form&&!this.form.noValidate&&!o&&!i(this.host)&&(t.preventDefault(),t.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),Ze.set(this.host,[])},this.handleInteraction=t=>{const e=Ze.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},(this.host=t).addController(this),this.options={form:t=>{if(t.hasAttribute("form")&&""!==t.getAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");if(o)return e.getElementById(o)}return t.closest("form")},name:t=>t.name,value:t=>t.value,defaultValue:t=>t.defaultValue,disabled:t=>t.disabled??!1,reportValidity:t=>"function"!=typeof t.reportValidity||t.reportValidity(),setValue:(t,e)=>t.value=e,assumeInteractionOn:["sd-input"],...e}}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),Ze.set(this.host,[]),this.options.assumeInteractionOn.forEach((t=>{this.host.addEventListener(t,this.handleInteraction)}))}hostDisconnected(){this.detachForm(),Ze.delete(this.host),this.options.assumeInteractionOn.forEach((t=>{this.host.removeEventListener(t,this.handleInteraction)}))}hostUpdated(){var t;const e=this.options.form(this.host);e||this.detachForm(),e&&this.form!==e&&(this.detachForm(),this.attachForm(e)),this.host.hasUpdated&&this.setValidity(null==(t=this.host)?void 0:t.validity.valid)}attachForm(t){t?(this.form=t,He.has(this.form)?He.get(this.form).add(this.host):He.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),qe.has(this.form)||(qe.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&(null==(t=He.get(this.form))||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),qe.has(this.form)&&(this.form.reportValidity=qe.get(this.form),qe.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){const t=this.form.querySelectorAll("*");for(const e of t)if("function"==typeof e.reportValidity&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){Ke.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach((t=>{e.hasAttribute(t)&&o.setAttribute(t,e.getAttribute(t))}))),this.form.append(o),o.click(),o.remove()}}getForm(){return this.form??null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var e;const o=this.host,i=!!Ke.get(o),r=!!o.required;null!=(e=this.form)&&e.noValidate?(o.removeAttribute("data-required"),o.removeAttribute("data-optional"),o.removeAttribute("data-invalid"),o.removeAttribute("data-valid"),o.removeAttribute("data-user-invalid"),o.removeAttribute("data-user-valid")):(o.toggleAttribute("data-required",r),o.toggleAttribute("data-optional",!r),o.toggleAttribute("data-invalid",!t),o.toggleAttribute("data-valid",t),o.toggleAttribute("data-user-invalid",!t&&i),o.toggleAttribute("data-user-valid",t&&i))}updateValidity(){const t=this.host;this.setValidity(null==t?void 0:t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||null==t||t.preventDefault()}}const Xe=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Ye=Object.freeze({...Xe,valid:!1,valueMissing:!0}),Ge=Object.freeze({...Xe,valid:!1,customError:!0});class Je{constructor(t,...e){this.slotNames=[],(this.host=t).addController(this),this.slotNames=e,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some((t=>{if(t.nodeType===t.TEXT_NODE&&""!==t.textContent.trim())return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if("sd-visually-hidden"===e.tagName.toLowerCase())return!1;if(!e.hasAttribute("slot"))return!0}return!1}))}hasNamedSlot(t){return null!==this.host.querySelector(`:scope > [slot="${t}"]`)}test(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(t){const e=t.target;(this.slotNames.includes("[default]")&&!e.name||e.name&&this.slotNames.includes(e.name))&&this.host.requestUpdate()}}
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2020 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */const Ge=Symbol.for(""),Je=t=>{if((null==t?void 0:t.r)===Ge)return null==t?void 0:t._$litStatic$},Qe=(t,...e)=>({_$litStatic$:e.reduce(((e,o,r)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[r+1]),t[0]),r:Ge}),to=new Map,eo=(t=>(e,...o)=>{const r=o.length;let i,s;const n=[],a=[];let l,d=0,c=!1;for(;d<r;){for(l=e[d];d<r&&(s=o[d],void 0!==(i=Je(s)));)l+=i+e[++d],c=!0;d!==r&&a.push(s),n.push(l),d++}if(d===r&&n.push(e[r]),c){const t=n.join("$$lit$$");void 0===(e=to.get(t))&&(n.raw=n,to.set(t,e=n)),o=a}return t(e,...o)})(ht),oo=t=>t??ut;
70
+ */const Qe=Symbol.for(""),to=t=>{if((null==t?void 0:t.r)===Qe)return null==t?void 0:t._$litStatic$},eo=(t,...e)=>({_$litStatic$:e.reduce(((e,o,i)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[i+1]),t[0]),r:Qe}),oo=new Map,io=(t=>(e,...o)=>{const i=o.length;let r,s;const n=[],a=[];let l,d=0,c=!1;for(;d<i;){for(l=e[d];d<i&&(s=o[d],void 0!==(r=to(s)));)l+=r+e[++d],c=!0;d!==i&&a.push(s),n.push(l),d++}if(d===i&&n.push(e[i]),c){const t=n.join("$$lit$$");void 0===(e=oo.get(t))&&(n.raw=n,oo.set(t,e=n)),o=a}return t(e,...o)})(pt),ro=t=>t??mt;
71
71
  /**
72
72
  * @license
73
73
  * Copyright 2018 Google LLC
74
74
  * SPDX-License-Identifier: BSD-3-Clause
75
- */var ro=Object.defineProperty,io=Object.getOwnPropertyDescriptor,so=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?io(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ro(e,o,s),s};let no=class extends Qt{constructor(){super(...arguments),this.formControlController=new Ke(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");return e.getElementById(o)}return t.closest("form")}}),this.hasSlotController=new Ye(this,"[default]","icon-left","icon-right"),this.invalid=!1,this.title="",this.variant="primary",this.inverted=!1,this.size="lg",this.disabled=!1,this.loading=!1,this.type="button",this.name="",this.value="",this.href=""}get validity(){return this.isButton()?this.button.validity:We}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&this.formControlController.submit(this),"reset"===this.type&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return!this.isButton()||this.button.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?Qe`a`:Qe`button`,o={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0};return eo`<${e} part="base" class="${be("font-md leading-[calc(var(--tw-varspacing)-2px)] no-underline\n w-full h-varspacing whitespace-nowrap align-middle inline-flex items-stretch justify-center\n border transition-colors duration-200 ease-in-out rounded-md\n select-none cursor-[inherit]",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",this.disabled&&"cursor-not-allowed",o["icon-only"]&&"px-0 w-varspacing",{sm:"text-sm varspacing-8 px-4",md:"text-base varspacing-10 px-4",lg:"text-base varspacing-12 px-4"}[this.size],{primary:this.inverted?"text-primary bg-white border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:bg-neutral-600 disabled:text-white":"text-white bg-primary border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:bg-neutral-500",secondary:this.inverted?"text-white border-white\n hover:text-primary-100 hover:bg-primary-500 hover:border-primary-100\n active:text-primary-200 active:bg-primary-800 active:border-primary-200\n disabled:text-neutral-600 disabled:border-neutral-600":"text-primary border-primary\n hover:text-primary-500 hover:border-primary-500 hover:bg-primary-100\n active:text-primary-800 active:border-primary-800 active:bg-primary-200\n disabled:text-neutral-500 disabled:border-neutral-500",tertiary:this.inverted?"text-white border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:text-neutral-600":"text-primary border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:text-neutral-500",cta:`text-white bg-accent border-transparent\n hover:bg-accent-550\n active:bg-accent-700\n ${this.inverted?"disabled:bg-neutral-600":"disabled:bg-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${oo(t?void 0:this.disabled)}" type="${oo(t?void 0:this.type)}" title="${this.title}" name="${oo(t?void 0:this.name)}" value="${oo(t?void 0:this.value)}" href="${oo(t?this.href:void 0)}" target="${oo(t?this.target:void 0)}" download="${oo(t?this.download:void 0)}" rel="${oo(t&&this.target?"noreferrer noopener":void 0)}" role="${oo(t?void 0:"button")}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${be("flex flex-auto items-center pointer-events-none",o["icon-only"]&&"hidden",this.loading&&"invisible",o["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" class="${be(o["icon-only"]?"flex flex-auto items-center pointer-events-none":"inline-block",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${be("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",o["icon-only"]&&"hidden",o["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?eo`<sd-spinner class="${be("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-spinner>`:""}</${e}>`}};no.styles=[Xt,Qt.styles,P`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-badge){position:absolute;top:0;right:0;translate:50% -50%;pointer-events:none}::slotted(sd-icon),sd-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`],so([Dt("a, button")],no.prototype,"button",2),so([Bt({selector:"sd-icon"})],no.prototype,"_iconsInDefaultSlot",2),so([Tt()],no.prototype,"invalid",2),so([Lt()],no.prototype,"title",2),so([Lt({reflect:!0})],no.prototype,"variant",2),so([Lt({type:Boolean,reflect:!0})],no.prototype,"inverted",2),so([Lt({reflect:!0})],no.prototype,"size",2),so([Lt({type:Boolean,reflect:!0})],no.prototype,"disabled",2),so([Lt({type:Boolean,reflect:!0})],no.prototype,"loading",2),so([Lt()],no.prototype,"type",2),so([Lt()],no.prototype,"name",2),so([Lt()],no.prototype,"value",2),so([Lt()],no.prototype,"href",2),so([Lt()],no.prototype,"target",2),so([Lt()],no.prototype,"download",2),so([Lt()],no.prototype,"form",2),so([Lt({attribute:"formaction"})],no.prototype,"formAction",2),so([Lt({attribute:"formenctype"})],no.prototype,"formEnctype",2),so([Lt({attribute:"formmethod"})],no.prototype,"formMethod",2),so([Lt({attribute:"formnovalidate",type:Boolean})],no.prototype,"formNoValidate",2),so([Lt({attribute:"formtarget"})],no.prototype,"formTarget",2),so([Zt("disabled",{waitUntilFirstUpdate:!0})],no.prototype,"handleDisabledChange",1),no=so([Pt("sd-button")],no);const ao=Object.freeze(Object.defineProperty({__proto__:null,get default(){return no}},Symbol.toStringTag,{value:"Module"}));Object.defineProperty,Object.getOwnPropertyDescriptor;let lo=class extends Qt{static isCarouselItem(t){return t instanceof Element&&"slide"===t.getAttribute("aria-roledescription")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return ht`<slot></slot>`}};lo.styles=[Qt.styles,P`${Xt}:host{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always}::slotted(img){width:100%;height:100%;object-fit:cover}`],lo=((t,e,o,r)=>{for(var i,s=e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=i(s)||s);return s})([Pt("sd-carousel-item")],lo);const co=Object.freeze(Object.defineProperty({__proto__:null,get default(){return lo}},Symbol.toStringTag,{value:"Module"}));class ho{constructor(t,e){this.timerId=0,this.activeInteractions=0,this.paused=!1,this.stopped=!0,this.pause=()=>{this.activeInteractions++||(this.paused=!0,this.host.requestUpdate())},this.resume=()=>{--this.activeInteractions||(this.paused=!1,this.host.requestUpdate())},this.controlledPause=()=>{this.paused=!0,this.host.requestUpdate()},this.controlledResume=()=>{this.paused=!1,this.host.requestUpdate()},t.addController(this),this.host=t,this.tickCallback=e}hostConnected(){this.host.addEventListener("mouseenter",this.pause),this.host.addEventListener("mouseleave",this.resume),this.host.addEventListener("focusin",this.pause),this.host.addEventListener("focusout",this.resume),this.host.addEventListener("touchstart",this.pause,{passive:!0}),this.host.addEventListener("touchend",this.resume)}hostDisconnected(){this.stop(),this.host.removeEventListener("mouseenter",this.pause),this.host.removeEventListener("mouseleave",this.resume),this.host.removeEventListener("focusin",this.pause),this.host.removeEventListener("focusout",this.resume),this.host.removeEventListener("touchstart",this.pause),this.host.removeEventListener("touchend",this.resume)}start(t){this.stop(),this.stopped=!1,this.timerId=window.setInterval((()=>{this.paused||this.tickCallback()}),t)}stop(){clearInterval(this.timerId),this.stopped=!0,this.host.requestUpdate()}}const po=Object.freeze(Object.defineProperty({__proto__:null,AutoplayController:ho},Symbol.toStringTag,{value:"Module"})),uo=Symbol();var go=Object.defineProperty,mo=Object.getOwnPropertyDescriptor;class bo{constructor(t){this.pointers=new Set,this.dragging=!1,this.scrolling=!1,this.mouseDragging=!1,this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()},this.handlePointerDown=t=>{"touch"!==t.pointerType&&(this.pointers.add(t.pointerId),this.mouseDragging&&!this.dragging&&0===t.button&&(t.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove)))},this.handlePointerMove=t=>{const e=this.host.scrollContainer,o=!!t.movementX||!!t.movementY;!this.dragging&&o?(e.setPointerCapture(t.pointerId),this.handleDragStart()):e.hasPointerCapture(t.pointerId)&&this.handleDrag(t)},this.handlePointerUp=t=>{this.pointers.delete(t.pointerId),this.host.scrollContainer.releasePointerCapture(t.pointerId),0===this.pointers.size&&this.handleDragEnd()},this.handleTouchEnd=t=>{for(const e of t.changedTouches)this.pointers.delete(e.identifier)},this.handleTouchStart=t=>{for(const e of t.touches)this.pointers.add(e.identifier)},this.host=t,t.addController(this)}async hostConnected(){const t=this.host;await t.updateComplete;const e=t.scrollContainer;e.addEventListener("scroll",this.handleScroll,{passive:!0}),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointerup",this.handlePointerUp),e.addEventListener("pointercancel",this.handlePointerUp),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){const t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){const t=this.host;this.dragging=!0,t.scrollContainer.style.setProperty("scroll-snap-type","unset"),t.requestUpdate()}handleDrag(t){this.host.scrollContainer.scrollBy({left:-t.movementX,top:-t.movementY})}async handleDragEnd(){const t=this.host,e=t.scrollContainer;e.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;const o=e.scrollLeft,r=e.scrollTop;e.style.removeProperty("scroll-snap-type");const i=e.scrollLeft,s=e.scrollTop;e.style.setProperty("scroll-snap-type","unset"),e.scrollTo({left:o,top:r,behavior:"auto"}),e.scrollTo({left:i,top:s,behavior:ae()?"auto":"smooth"}),this.scrolling&&await me(e,"scrollend"),e.style.removeProperty("scroll-snap-type"),t.requestUpdate()}}((t,e,o,r)=>{for(var i,s=mo(e,o),n=t.length-1;n>=0;n--)(i=t[n])&&(s=i(e,o,s)||s);s&&go(e,o,s)})([(t,e,o)=>{const r=o.value;o.value=function(...t){clearTimeout(this[uo]),this[uo]=window.setTimeout((()=>{r.apply(this,t)}),100)}}],bo.prototype,"handleScrollEnd");const vo=Object.freeze(Object.defineProperty({__proto__:null,ScrollController:bo},Symbol.toStringTag,{value:"Module"}));var fo=Object.defineProperty,yo=Object.getOwnPropertyDescriptor,wo=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?yo(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&fo(e,o,s),s};let xo=class extends Qt{constructor(){super(...arguments),this.variant="number",this.inverted=!1,this.loop=!1,this.autoplay=!1,this.slidesPerPage=1,this.slidesPerMove=1,this.activeSlide=0,this.pausedAutoplay=!1,this.autoplayController=new ho(this,(()=>this.next())),this.scrollController=new bo(this),this.slides=this.getElementsByTagName("sd-carousel-item"),this.intersectionObserverEntries=new Map,this.localize=new x(this),this.handleSlotChange=t=>{t.some((t=>[...t.addedNodes,...t.removedNodes].some((t=>lo.isCarouselItem(t)&&!t.hasAttribute("data-clone")))))&&this.initializeSlides(),this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-label",this.localize.term("carousel"));const t=new IntersectionObserver((t=>{t.forEach((t=>{this.intersectionObserverEntries.set(t.target,t);const e=t.target;e.toggleAttribute("inert",!t.isIntersecting),e.classList.toggle("--in-view",t.isIntersecting),e.setAttribute("aria-hidden",t.isIntersecting?"false":"true")}))}),{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach((t=>{this.intersectionObserverEntries.set(t.target,t)}))}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}getPageCount(){return Math.ceil(this.getSlides().length/this.slidesPerPage)}getCurrentPage(){return Math.ceil(this.activeSlide/this.slidesPerPage)}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter((e=>!t||!e.hasAttribute("data-clone")))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=t.target,o="rtl"===this.localize.dir(),r=null!==e.closest('[part~="pagination-item"]'),i="ArrowDown"===t.key||!o&&"ArrowRight"===t.key||o&&"ArrowLeft"===t.key,s="ArrowUp"===t.key||!o&&"ArrowLeft"===t.key||o&&"ArrowRight"===t.key;t.preventDefault(),s&&this.previous(),i&&this.next(),"Home"===t.key&&this.goToSlide(0),"End"===t.key&&this.goToSlide(this.getSlides().length-1),r&&this.updateComplete.then((()=>{var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector('[part~="pagination-item--active"]');e&&e.focus()}))}}handleScrollEnd(){const t=this.getSlides(),e=[...this.intersectionObserverEntries.values()].find((t=>t.isIntersecting));if(this.loop&&null!=e&&e.target.hasAttribute("data-clone")){const t=Number(e.target.getAttribute("data-clone"));this.goToSlide(t,"auto")}else e&&(this.activeSlide=t.indexOf(e.target))}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.controlledPause():this.autoplay&&this.autoplayController.controlledResume()}initializeSlides(){const t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach(((t,o)=>{e.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",o+1)),t.hasAttribute("data-clone")&&t.remove()})),this.loop){const e=this.slidesPerPage,o=t.slice(-e),r=t.slice(0,e);o.reverse().forEach(((e,o)=>{const r=e.cloneNode(!0);r.setAttribute("data-clone",String(t.length-o-1)),this.prepend(r)})),r.forEach(((t,e)=>{const o=t.cloneNode(!0);o.setAttribute("data-clone",String(e)),this.append(o)}))}this.getSlides({excludeClones:!1}).forEach((t=>{e.observe(t)})),this.goToSlide(this.activeSlide,"auto")}handelSlideChange(){const t=this.getSlides();t.forEach(((t,e)=>{t.classList.toggle("--is-active",e===this.activeSlide)})),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}})}handleSlidesPerMoveChange(){const t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach(((t,o)=>{Math.abs(o-e)%e==0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")}))}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(t="smooth"){let e=this.activeSlide||this.activeSlide-this.slidesPerMove,o=!1;for(;!o&&e>0;)e-=1,o=Math.abs(e-this.slidesPerMove)%this.slidesPerMove==0;this.goToSlide(e,t)}next(t="smooth"){this.goToSlide(this.activeSlide+this.slidesPerMove,t)}goToSlide(t,e="smooth"){const{slidesPerPage:o,loop:r,scrollContainer:i}=this,s=this.getSlides(),n=this.getSlides({excludeClones:!1}),a=(t+s.length)%s.length;this.activeSlide=a;const l=function(t,e,o){return(t=>Object.is(t,-0)?0:t)(t<0?0:t>o?o:t)}
75
+ */var so=Object.defineProperty,no=Object.getOwnPropertyDescriptor,ao=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?no(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&so(e,o,s),s};let lo=class extends te{constructor(){super(...arguments),this.formControlController=new We(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");return e.getElementById(o)}return t.closest("form")}}),this.hasSlotController=new Je(this,"[default]","icon-left","icon-right"),this.invalid=!1,this.title="",this.variant="primary",this.inverted=!1,this.size="lg",this.disabled=!1,this.loading=!1,this.type="button",this.name="",this.value="",this.href=""}get validity(){return this.isButton()?this.button.validity:Xe}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&this.formControlController.submit(this),"reset"===this.type&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return!this.isButton()||this.button.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?eo`a`:eo`button`,o={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0};return io`<${e} part="base" class="${fe("font-md leading-[calc(var(--tw-varspacing)-2px)] no-underline\n w-full h-varspacing whitespace-nowrap align-middle inline-flex items-stretch justify-center\n border transition-colors duration-200 ease-in-out rounded-md\n select-none cursor-[inherit]",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",this.disabled&&"cursor-not-allowed",o["icon-only"]&&"px-0 w-varspacing",{sm:"text-sm varspacing-8 px-4",md:"text-base varspacing-10 px-4",lg:"text-base varspacing-12 px-4"}[this.size],{primary:this.inverted?"text-primary bg-white border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:bg-neutral-600 disabled:text-white":"text-white bg-primary border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:bg-neutral-500",secondary:this.inverted?"text-white border-white\n hover:text-primary-100 hover:bg-primary-500 hover:border-primary-100\n active:text-primary-200 active:bg-primary-800 active:border-primary-200\n disabled:text-neutral-600 disabled:border-neutral-600":"text-primary border-primary\n hover:text-primary-500 hover:border-primary-500 hover:bg-primary-100\n active:text-primary-800 active:border-primary-800 active:bg-primary-200\n disabled:text-neutral-500 disabled:border-neutral-500",tertiary:this.inverted?"text-white border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:text-neutral-600":"text-primary border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:text-neutral-500",cta:`text-white bg-accent border-transparent\n hover:bg-accent-550\n active:bg-accent-700\n ${this.inverted?"disabled:bg-neutral-600":"disabled:bg-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${ro(t?void 0:this.disabled)}" type="${ro(t?void 0:this.type)}" title="${this.title}" name="${ro(t?void 0:this.name)}" value="${ro(t?void 0:this.value)}" href="${ro(t?this.href:void 0)}" target="${ro(t?this.target:void 0)}" download="${ro(t?this.download:void 0)}" rel="${ro(t&&this.target?"noreferrer noopener":void 0)}" role="${ro(t?void 0:"button")}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${fe("flex flex-auto items-center pointer-events-none",o["icon-only"]&&"hidden",this.loading&&"invisible",o["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" class="${fe(o["icon-only"]?"flex flex-auto items-center pointer-events-none":"inline-block",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${fe("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",o["icon-only"]&&"hidden",o["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?io`<sd-spinner class="${fe("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-spinner>`:""}</${e}>`}};lo.styles=[Yt,te.styles,z`:host{display:inline-block;position:relative;width:auto;cursor:pointer}sd-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-badge){position:absolute;top:0;right:0;translate:50% -50%;pointer-events:none}::slotted(sd-icon),sd-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`],ao([Dt("a, button")],lo.prototype,"button",2),ao([jt({selector:"sd-icon"})],lo.prototype,"_iconsInDefaultSlot",2),ao([Mt()],lo.prototype,"invalid",2),ao([Lt()],lo.prototype,"title",2),ao([Lt({reflect:!0})],lo.prototype,"variant",2),ao([Lt({type:Boolean,reflect:!0})],lo.prototype,"inverted",2),ao([Lt({reflect:!0})],lo.prototype,"size",2),ao([Lt({type:Boolean,reflect:!0})],lo.prototype,"disabled",2),ao([Lt({type:Boolean,reflect:!0})],lo.prototype,"loading",2),ao([Lt()],lo.prototype,"type",2),ao([Lt()],lo.prototype,"name",2),ao([Lt()],lo.prototype,"value",2),ao([Lt()],lo.prototype,"href",2),ao([Lt()],lo.prototype,"target",2),ao([Lt()],lo.prototype,"download",2),ao([Lt()],lo.prototype,"form",2),ao([Lt({attribute:"formaction"})],lo.prototype,"formAction",2),ao([Lt({attribute:"formenctype"})],lo.prototype,"formEnctype",2),ao([Lt({attribute:"formmethod"})],lo.prototype,"formMethod",2),ao([Lt({attribute:"formnovalidate",type:Boolean})],lo.prototype,"formNoValidate",2),ao([Lt({attribute:"formtarget"})],lo.prototype,"formTarget",2),ao([Xt("disabled",{waitUntilFirstUpdate:!0})],lo.prototype,"handleDisabledChange",1),lo=ao([zt("sd-button")],lo);const co=Object.freeze(Object.defineProperty({__proto__:null,get default(){return lo}},Symbol.toStringTag,{value:"Module"}));Object.defineProperty,Object.getOwnPropertyDescriptor;let ho=class extends te{static isCarouselItem(t){return t instanceof Element&&"slide"===t.getAttribute("aria-roledescription")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return pt`<slot></slot>`}};ho.styles=[te.styles,z`${Yt}:host{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always}::slotted(img){width:100%;height:100%;object-fit:cover}`],ho=((t,e,o,i)=>{for(var r,s=e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=r(s)||s);return s})([zt("sd-carousel-item")],ho);const po=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ho}},Symbol.toStringTag,{value:"Module"}));class uo{constructor(t,e){this.timerId=0,this.activeInteractions=0,this.paused=!1,this.stopped=!0,this.pause=()=>{this.activeInteractions++||(this.paused=!0,this.host.requestUpdate())},this.resume=()=>{--this.activeInteractions||(this.paused=!1,this.host.requestUpdate())},this.controlledPause=()=>{this.paused=!0,this.host.requestUpdate()},this.controlledResume=()=>{this.paused=!1,this.host.requestUpdate()},t.addController(this),this.host=t,this.tickCallback=e}hostConnected(){this.host.addEventListener("mouseenter",this.pause),this.host.addEventListener("mouseleave",this.resume),this.host.addEventListener("focusin",this.pause),this.host.addEventListener("focusout",this.resume),this.host.addEventListener("touchstart",this.pause,{passive:!0}),this.host.addEventListener("touchend",this.resume)}hostDisconnected(){this.stop(),this.host.removeEventListener("mouseenter",this.pause),this.host.removeEventListener("mouseleave",this.resume),this.host.removeEventListener("focusin",this.pause),this.host.removeEventListener("focusout",this.resume),this.host.removeEventListener("touchstart",this.pause),this.host.removeEventListener("touchend",this.resume)}start(t){this.stop(),this.stopped=!1,this.timerId=window.setInterval((()=>{this.paused||this.tickCallback()}),t)}stop(){clearInterval(this.timerId),this.stopped=!0,this.host.requestUpdate()}}const mo=Object.freeze(Object.defineProperty({__proto__:null,AutoplayController:uo},Symbol.toStringTag,{value:"Module"})),go=Symbol();var bo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor;class fo{constructor(t){this.pointers=new Set,this.dragging=!1,this.scrolling=!1,this.mouseDragging=!1,this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()},this.handlePointerDown=t=>{"touch"!==t.pointerType&&(this.pointers.add(t.pointerId),this.mouseDragging&&!this.dragging&&0===t.button&&(t.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove)))},this.handlePointerMove=t=>{const e=this.host.scrollContainer,o=!!t.movementX||!!t.movementY;!this.dragging&&o?(e.setPointerCapture(t.pointerId),this.handleDragStart()):e.hasPointerCapture(t.pointerId)&&this.handleDrag(t)},this.handlePointerUp=t=>{this.pointers.delete(t.pointerId),this.host.scrollContainer.releasePointerCapture(t.pointerId),0===this.pointers.size&&this.handleDragEnd()},this.handleTouchEnd=t=>{for(const e of t.changedTouches)this.pointers.delete(e.identifier)},this.handleTouchStart=t=>{for(const e of t.touches)this.pointers.add(e.identifier)},this.host=t,t.addController(this)}async hostConnected(){const t=this.host;await t.updateComplete;const e=t.scrollContainer;e.addEventListener("scroll",this.handleScroll,{passive:!0}),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointerup",this.handlePointerUp),e.addEventListener("pointercancel",this.handlePointerUp),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){const t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){const t=this.host;this.dragging=!0,t.scrollContainer.style.setProperty("scroll-snap-type","unset"),t.requestUpdate()}handleDrag(t){this.host.scrollContainer.scrollBy({left:-t.movementX,top:-t.movementY})}async handleDragEnd(){const t=this.host,e=t.scrollContainer;e.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;const o=e.scrollLeft,i=e.scrollTop;e.style.removeProperty("scroll-snap-type");const r=e.scrollLeft,s=e.scrollTop;e.style.setProperty("scroll-snap-type","unset"),e.scrollTo({left:o,top:i,behavior:"auto"}),e.scrollTo({left:r,top:s,behavior:de()?"auto":"smooth"}),this.scrolling&&await ve(e,"scrollend"),e.style.removeProperty("scroll-snap-type"),t.requestUpdate()}}((t,e,o,i)=>{for(var r,s=vo(e,o),n=t.length-1;n>=0;n--)(r=t[n])&&(s=r(e,o,s)||s);s&&bo(e,o,s)})([(t,e,o)=>{const i=o.value;o.value=function(...t){clearTimeout(this[go]),this[go]=window.setTimeout((()=>{i.apply(this,t)}),100)}}],fo.prototype,"handleScrollEnd");const yo=Object.freeze(Object.defineProperty({__proto__:null,ScrollController:fo},Symbol.toStringTag,{value:"Module"})),wo=".sd-interactive--reset{all:unset;outline:revert}.sd-interactive{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));cursor:pointer;text-decoration-line:none;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-interactive:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-interactive:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-interactive:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-interactive--inverted:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-interactive--inverted:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-interactive--inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--disabled,.sd-interactive[disabled]{cursor:not-allowed}.sd-interactive--disabled,.sd-interactive--disabled:active:not([disabled]),.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled],.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}\n";var xo=Object.defineProperty,ko=Object.getOwnPropertyDescriptor,$o=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?ko(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&xo(e,o,s),s};let Co=class extends te{constructor(){super(...arguments),this.variant="number",this.inverted=!1,this.loop=!1,this.autoplay=!1,this.slidesPerPage=1,this.slidesPerMove=1,this.activeSlide=0,this.pausedAutoplay=!1,this.autoplayController=new uo(this,(()=>this.next())),this.scrollController=new fo(this),this.slides=this.getElementsByTagName("sd-carousel-item"),this.intersectionObserverEntries=new Map,this.localize=new k(this),this.handleSlotChange=t=>{t.some((t=>[...t.addedNodes,...t.removedNodes].some((t=>ho.isCarouselItem(t)&&!t.hasAttribute("data-clone")))))&&this.initializeSlides(),this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-label",this.localize.term("carousel"));const t=new IntersectionObserver((t=>{t.forEach((t=>{this.intersectionObserverEntries.set(t.target,t);const e=t.target;e.toggleAttribute("inert",!t.isIntersecting),e.classList.toggle("--in-view",t.isIntersecting),e.setAttribute("aria-hidden",t.isIntersecting?"false":"true")}))}),{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach((t=>{this.intersectionObserverEntries.set(t.target,t)}))}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}getPageCount(){return Math.ceil(this.getSlides().length/this.slidesPerPage)}getCurrentPage(){return Math.ceil(this.activeSlide/this.slidesPerPage)}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter((e=>!t||!e.hasAttribute("data-clone")))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=t.target,o="rtl"===this.localize.dir(),i=null!==e.closest('[part~="pagination-item"]'),r="ArrowDown"===t.key||!o&&"ArrowRight"===t.key||o&&"ArrowLeft"===t.key,s="ArrowUp"===t.key||!o&&"ArrowLeft"===t.key||o&&"ArrowRight"===t.key;t.preventDefault(),s&&this.previous(),r&&this.next(),"Home"===t.key&&this.goToSlide(0),"End"===t.key&&this.goToSlide(this.getSlides().length-1),i&&this.updateComplete.then((()=>{var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector('[part~="pagination-item--active"]');e&&e.focus()}))}}handleScrollEnd(){const t=this.getSlides(),e=[...this.intersectionObserverEntries.values()].find((t=>t.isIntersecting));if(this.loop&&null!=e&&e.target.hasAttribute("data-clone")){const t=Number(e.target.getAttribute("data-clone"));this.goToSlide(t,"auto")}else e&&(this.activeSlide=t.indexOf(e.target))}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.controlledPause():this.autoplay&&this.autoplayController.controlledResume()}initializeSlides(){const t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach(((t,o)=>{e.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",o+1)),t.hasAttribute("data-clone")&&t.remove()})),this.loop){const e=this.slidesPerPage,o=t.slice(-e),i=t.slice(0,e);o.reverse().forEach(((e,o)=>{const i=e.cloneNode(!0);i.setAttribute("data-clone",String(t.length-o-1)),this.prepend(i)})),i.forEach(((t,e)=>{const o=t.cloneNode(!0);o.setAttribute("data-clone",String(e)),this.append(o)}))}this.getSlides({excludeClones:!1}).forEach((t=>{e.observe(t)})),this.goToSlide(this.activeSlide,"auto")}handelSlideChange(){const t=this.getSlides();t.forEach(((t,e)=>{t.classList.toggle("--is-active",e===this.activeSlide)})),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}})}handleSlidesPerMoveChange(){const t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach(((t,o)=>{Math.abs(o-e)%e==0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")}))}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(t="smooth"){let e=this.activeSlide||this.activeSlide-this.slidesPerMove,o=!1;for(;!o&&e>0;)e-=1,o=Math.abs(e-this.slidesPerMove)%this.slidesPerMove==0;this.goToSlide(e,t)}next(t="smooth"){this.goToSlide(this.activeSlide+this.slidesPerMove,t)}goToSlide(t,e="smooth"){const{slidesPerPage:o,loop:i,scrollContainer:r}=this,s=this.getSlides(),n=this.getSlides({excludeClones:!1}),a=(t+s.length)%s.length;this.activeSlide=a;const l=function(t,e,o){return(t=>Object.is(t,-0)?0:t)(t<0?0:t>o?o:t)}
76
76
  /**
77
77
  * @license
78
78
  * Copyright 2021 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
- */(t+(r?o:0),0,n.length-1),d=n[l],c=i.getBoundingClientRect(),h=d.getBoundingClientRect();i.scrollTo({left:h.left-c.left+i.scrollLeft,top:h.top-c.top+i.scrollTop,behavior:ae()?"auto":e})}render(){const{scrollController:t,slidesPerPage:e}=this,o=this.getPageCount(),r=this.getCurrentPage(),i=this.loop||r>0,s=this.loop||r<o-1,n="ltr"===this.localize.dir();return ht`<div part="base" class="${be("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${be("carousel__slides mb-6\n grid max-h-full w-full items-center justify-items-center overflow-auto",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline","overscroll-x-contain grid-flow-col auto-rows-[100%]\n snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-atomic="true" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${be("w-full flex items-center justify-center relative")}"><div part="navigation" class="${be("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!i}" class="${be("!mr-6 !rounded-sm sd-interactive",!i&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${i?"false":"true"}" @click="${i?()=>this.previous():null}"><slot name="previous-icon"><sd-icon class="${be("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${n?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${"dot"===this.variant?ht`<div part="pagination-dot" role="tablist" class="${be("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${function*(t,e){if(void 0!==t){let o=0;for(const r of t)yield e(r,o++)}}
80
+ */(t+(i?o:0),0,n.length-1),d=n[l],c=r.getBoundingClientRect(),h=d.getBoundingClientRect();r.scrollTo({left:h.left-c.left+r.scrollLeft,top:h.top-c.top+r.scrollTop,behavior:de()?"auto":e})}render(){const{scrollController:t,slidesPerPage:e}=this,o=this.getPageCount(),i=this.getCurrentPage(),r=this.loop||i>0,s=this.loop||i<o-1,n="ltr"===this.localize.dir();return pt`<div part="base" class="${fe("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${fe("carousel__slides mb-6\n grid max-h-full w-full items-center justify-items-center overflow-auto",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline","overscroll-x-contain grid-flow-col auto-rows-[100%]\n snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-atomic="true" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${fe("w-full flex items-center justify-center relative")}"><div part="navigation" class="${fe("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!r}" class="${fe("!mr-6 !rounded-sm sd-interactive",!r&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${r?"false":"true"}" @click="${r?()=>this.previous():null}"><slot name="previous-icon"><sd-icon class="${fe("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${n?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${"dot"===this.variant?pt`<div part="pagination-dot" role="tablist" class="${fe("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${function*(t,e){if(void 0!==t){let o=0;for(const i of t)yield e(i,o++)}}
81
81
  /**
82
82
  * @license
83
83
  * Copyright 2021 Google LLC
84
84
  * SPDX-License-Identifier: BSD-3-Clause
85
- */(function*(t,e,o=1){const r=void 0===e?0:t;e??(e=t);for(let t=r;o>0?t<e:e<t;t+=o)yield t}(o),(t=>{const i=t===r;return ht`<button part="pagination-item ${i?"pagination-item--active":""}" class="${be("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",i?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${i?"true":"false"}" aria-label="${this.localize.term("goToSlide",t+1,o)}" @click="${()=>this.goToSlide(t*e)}" @keydown="${this.handleKeyDown}"><span class="${be("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",i&&"bg-accent border-none",i?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`}))}</div>`:ht`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${be("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${r+1}</span> <span part="pagination-divider" class="${be("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${be("w-5 text-center",this.inverted?"text-white":"text-black")}">${o}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!s}" class="${be("!ml-6 !rounded-sm sd-interactive ",!s&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${s?"false":"true"}" @click="${s?()=>{console.log("click-next"),this.next()}:null}"><slot name="next-icon"><sd-icon class="${be("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${n?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${be("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" @click="${()=>this.pausedAutoplay=!this.pausedAutoplay}"><slot name="autoplay-start" class="${be(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${be(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-icon></slot></button></div></div>`}};xo.styles=[Qt.styles,A(".sd-interactive--reset{all:unset;outline:revert}.sd-interactive{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));cursor:pointer;text-decoration-line:none;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-interactive:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-interactive:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-interactive:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--inverted{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-interactive--inverted:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-interactive--inverted:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-interactive--inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--disabled,.sd-interactive[disabled]{cursor:not-allowed}.sd-interactive--disabled,.sd-interactive--disabled:active:not([disabled]),.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled],.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}\n"),P`${Xt}:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__slides--dragging,.carousel__slides--dropping{scroll-snap-type:unset}.carousel__slides::-webkit-scrollbar{display:none}.carousel__navigation{grid-area:navigation}sd-button::part(label){display:flex;flex:1 1 auto;align-items:center;pointer-events:none}`],wo([Lt({type:String,reflect:!0})],xo.prototype,"variant",2),wo([Lt({type:Boolean,reflect:!0})],xo.prototype,"inverted",2),wo([Lt({type:Boolean,reflect:!0})],xo.prototype,"loop",2),wo([Lt({type:Boolean,reflect:!0})],xo.prototype,"autoplay",2),wo([Lt({type:Number,attribute:"slides-per-page"})],xo.prototype,"slidesPerPage",2),wo([Lt({type:Number,attribute:"slides-per-move"})],xo.prototype,"slidesPerMove",2),wo([Dt("slot:not([name])")],xo.prototype,"defaultSlot",2),wo([Dt(".carousel__slides")],xo.prototype,"scrollContainer",2),wo([Dt(".carousel__pagination")],xo.prototype,"paginationContainer",2),wo([Tt()],xo.prototype,"activeSlide",2),wo([Tt()],xo.prototype,"pausedAutoplay",2),wo([Zt("pausedAutoplay")],xo.prototype,"handlePausedAutoplay",1),wo([Zt("loop",{waitUntilFirstUpdate:!0}),Zt("slidesPerPage",{waitUntilFirstUpdate:!0})],xo.prototype,"initializeSlides",1),wo([Zt("activeSlide")],xo.prototype,"handelSlideChange",1),wo([Zt("slidesPerMove")],xo.prototype,"handleSlidesPerMoveChange",1),wo([Zt("autoplay")],xo.prototype,"handleAutoplayChange",1),xo=wo([Pt("sd-carousel")],xo);const ko=Object.freeze(Object.defineProperty({__proto__:null,get default(){return xo}},Symbol.toStringTag,{value:"Module"}));var $o=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,So=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Co(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&$o(e,o,s),s};let _o=class extends Qt{constructor(){super(...arguments),this.hasSlotController=new Ye(this,"label"),this.label="",this.size="lg",this.orientation="vertical"}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){const t=this.getAllCheckboxes();await Promise.all(t.map((async t=>{await t.updateComplete,t.size=this.size}))),t.some((t=>t.checked))||(t[0].tabIndex=0)}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then((()=>this.syncCheckboxes()))}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||t,o=ht`<slot @slotchange="${this.syncCheckboxes}"></slot>`;return ht`<fieldset part="form-control" class="${be("border-0 p-0 m-0",{sm:"text-sm",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${be("mb-2 p-0 font-bold leading-normal text-black",e?"flex":"hidden")}" aria-hidden="${!e}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${be({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${o}</div></fieldset>`}};_o.styles=[Xt,Qt.styles,P`:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:8px;display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:24px}:host([size=sm]):host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:16px}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:0}`],So([Lt()],_o.prototype,"label",2),So([Lt({reflect:!0})],_o.prototype,"size",2),So([Lt({reflect:!0})],_o.prototype,"orientation",2),So([Zt("size",{waitUntilFirstUpdate:!0})],_o.prototype,"handleSizeChange",1),So([Zt("invalid",{waitUntilFirstUpdate:!0})],_o.prototype,"handleInvalid",1),_o=So([Pt("sd-checkbox-group")],_o);const Eo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return _o}},Symbol.toStringTag,{value:"Module"})),Ao={},Po=Nt(class extends Ht{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===pt||e===ut)return e;const o=t.element,r=t.name;if(3===t.type){if(e===o[r])return pt}else if(4===t.type){if(!!e===o.hasAttribute(r))return pt}else if(1===t.type&&o.getAttribute(r)===e+"")return pt;return((t,e=Ao)=>{t._$AH=e;
85
+ */(function*(t,e,o=1){const i=void 0===e?0:t;e??(e=t);for(let t=i;o>0?t<e:e<t;t+=o)yield t}(o),(t=>{const r=t===i;return pt`<button part="pagination-item ${r?"pagination-item--active":""}" class="${fe("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",r?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${r?"true":"false"}" aria-label="${this.localize.term("goToSlide",t+1,o)}" @click="${()=>this.goToSlide(t*e)}" @keydown="${this.handleKeyDown}"><span class="${fe("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",r&&"bg-accent border-none",r?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`}))}</div>`:pt`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${fe("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${i+1}</span> <span part="pagination-divider" class="${fe("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${fe("w-5 text-center",this.inverted?"text-white":"text-black")}">${o}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!s}" class="${fe("!ml-6 !rounded-sm sd-interactive ",!s&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${s?"false":"true"}" @click="${s?()=>{console.log("click-next"),this.next()}:null}"><slot name="next-icon"><sd-icon class="${fe("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${n?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${fe("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" @click="${()=>this.pausedAutoplay=!this.pausedAutoplay}"><slot name="autoplay-start" class="${fe(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${fe(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-icon></slot></button></div></div>`}};Co.styles=[te.styles,P(wo),z`${Yt}:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__slides--dragging,.carousel__slides--dropping{scroll-snap-type:unset}.carousel__slides::-webkit-scrollbar{display:none}.carousel__navigation{grid-area:navigation}sd-button::part(label){display:flex;flex:1 1 auto;align-items:center;pointer-events:none}`],$o([Lt({type:String,reflect:!0})],Co.prototype,"variant",2),$o([Lt({type:Boolean,reflect:!0})],Co.prototype,"inverted",2),$o([Lt({type:Boolean,reflect:!0})],Co.prototype,"loop",2),$o([Lt({type:Boolean,reflect:!0})],Co.prototype,"autoplay",2),$o([Lt({type:Number,attribute:"slides-per-page"})],Co.prototype,"slidesPerPage",2),$o([Lt({type:Number,attribute:"slides-per-move"})],Co.prototype,"slidesPerMove",2),$o([Dt("slot:not([name])")],Co.prototype,"defaultSlot",2),$o([Dt(".carousel__slides")],Co.prototype,"scrollContainer",2),$o([Dt(".carousel__pagination")],Co.prototype,"paginationContainer",2),$o([Mt()],Co.prototype,"activeSlide",2),$o([Mt()],Co.prototype,"pausedAutoplay",2),$o([Xt("pausedAutoplay")],Co.prototype,"handlePausedAutoplay",1),$o([Xt("loop",{waitUntilFirstUpdate:!0}),Xt("slidesPerPage",{waitUntilFirstUpdate:!0})],Co.prototype,"initializeSlides",1),$o([Xt("activeSlide")],Co.prototype,"handelSlideChange",1),$o([Xt("slidesPerMove")],Co.prototype,"handleSlidesPerMoveChange",1),$o([Xt("autoplay")],Co.prototype,"handleAutoplayChange",1),Co=$o([zt("sd-carousel")],Co);const So=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Co}},Symbol.toStringTag,{value:"Module"}));var _o=Object.defineProperty,Eo=Object.getOwnPropertyDescriptor,Ao=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Eo(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&_o(e,o,s),s};let Po=class extends te{constructor(){super(...arguments),this.hasSlotController=new Je(this,"label"),this.label="",this.size="lg",this.orientation="vertical"}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){const t=this.getAllCheckboxes();await Promise.all(t.map((async t=>{await t.updateComplete,t.size=this.size}))),t.some((t=>t.checked))||(t[0].tabIndex=0)}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then((()=>this.syncCheckboxes()))}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||t,o=pt`<slot @slotchange="${this.syncCheckboxes}"></slot>`;return pt`<fieldset part="form-control" class="${fe("border-0 p-0 m-0",{sm:"text-sm",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${fe("mb-2 p-0 font-bold leading-normal text-black",e?"flex":"hidden")}" aria-hidden="${!e}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${fe({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${o}</div></fieldset>`}};Po.styles=[Yt,te.styles,z`:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:8px;display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:24px}:host([size=sm]):host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:16px}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:0}`],Ao([Lt()],Po.prototype,"label",2),Ao([Lt({reflect:!0})],Po.prototype,"size",2),Ao([Lt({reflect:!0})],Po.prototype,"orientation",2),Ao([Xt("size",{waitUntilFirstUpdate:!0})],Po.prototype,"handleSizeChange",1),Ao([Xt("invalid",{waitUntilFirstUpdate:!0})],Po.prototype,"handleInvalid",1),Po=Ao([zt("sd-checkbox-group")],Po);const zo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Po}},Symbol.toStringTag,{value:"Module"})),Oo=(t="value")=>(e,o)=>{const i=e.constructor,r=i.prototype.attributeChangedCallback;i.prototype.attributeChangedCallback=function(e,s,n){const a=i.getPropertyOptions(t);if(e===("string"==typeof a.attribute?a.attribute:t)){const e=a.converter||N,i=("function"==typeof e?e:(null==e?void 0:e.fromAttribute)??N.fromAttribute)(n,a.type);this[t]!==i&&(this[o]=i)}r.call(this,e,s,n)}}
86
86
  /**
87
87
  * @license
88
88
  * Copyright 2020 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
- */})(t),e}});
90
+ */,To={},Lo=Ht(class extends qt{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===ut||e===mt)return e;const o=t.element,i=t.name;if(3===t.type){if(e===o[i])return ut}else if(4===t.type){if(!!e===o.hasAttribute(i))return ut}else if(1===t.type&&o.getAttribute(i)===e+"")return ut;return((t,e=To)=>{t._$AH=e;
91
91
  /**
92
92
  * @license
93
93
  * Copyright 2020 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
- */var zo=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,Lo=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Oo(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&zo(e,o,s),s};let To=class extends Qt{constructor(){super(...arguments),this.formControlController=new Ke(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.title="",this.name="",this.size="lg",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return ht`<label part="base" class="${be("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed",{sm:"text-sm",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${oo(this.value)}" .indeterminate="${Po(this.indeterminate)}" .checked="${Po(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${be("relative flex flex-initial items-center justify-center border rounded-sm h-4 w-4 \n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 \n peer-focus-visible:outline-primary",{sm:"mt-[2px]",lg:"mt-[3px]"}[this.size],(this.disabled&&this.indeterminate||this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled&&"border-neutral-500")||(this.checked||this.indeterminate)&&"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550"||"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white")}">${this.checked?ht`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-icon>`:""} ${!this.checked&&this.indeterminate?ht`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${be("select-none inline-block ml-2 text-black",this.disabled?"text-neutral-500":"text-neutral-800")}"><slot></slot></span></label>`}};To.styles=[Qt.styles,P`:host{display:block}:host(:focus-visible){outline:0}:host([required]) #label::after{content:' *'}:host([data-user-invalid]) #label{color:rgb(var(--sd-color-error,204 25 55))}:host([data-user-invalid]) #control{border-color:rgb(var(--sd-color-error,204 25 55))}:host([data-user-invalid]):host([indeterminate]) #control{background-color:rgb(var(--sd-color-error,204 25 55))}`],Lo([Dt('input[type="checkbox"]')],To.prototype,"input",2),Lo([Lt()],To.prototype,"title",2),Lo([Lt()],To.prototype,"name",2),Lo([Lt()],To.prototype,"value",2),Lo([Lt({reflect:!0})],To.prototype,"size",2),Lo([Lt({type:Boolean,reflect:!0})],To.prototype,"disabled",2),Lo([Lt({type:Boolean,reflect:!0})],To.prototype,"checked",2),Lo([Lt({type:Boolean,reflect:!0})],To.prototype,"indeterminate",2),Lo([((t="value")=>(e,o)=>{const r=e.constructor,i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(e,s,n){const a=r.getPropertyOptions(t);if(e===("string"==typeof a.attribute?a.attribute:t)){const e=a.converter||V,r=("function"==typeof e?e:(null==e?void 0:e.fromAttribute)??V.fromAttribute)(n,a.type);this[t]!==r&&(this[o]=r)}i.call(this,e,s,n)}})("checked")],To.prototype,"defaultChecked",2),Lo([Lt({reflect:!0})],To.prototype,"form",2),Lo([Lt({type:Boolean,reflect:!0})],To.prototype,"required",2),Lo([Zt("disabled",{waitUntilFirstUpdate:!0})],To.prototype,"handleDisabledChange",1),Lo([Zt(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],To.prototype,"handleStateChange",1),To=Lo([Pt("sd-checkbox")],To);const Mo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return To}},Symbol.toStringTag,{value:"Module"}));var Do=Object.defineProperty,Bo=Object.getOwnPropertyDescriptor,jo=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Bo(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Do(e,o,s),s};let Ro=class extends Qt{constructor(){super(...arguments),this.orientation="horizontal",this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return ht`<hr part="main" class="${be(this.inverted?"border-primary-400":"border-neutral-400","horizontal"===this.orientation?"border-t w-full":" border-l h-full")}">`}};Ro.styles=[Xt,Qt.styles,P`:host{margin:0}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],jo([Lt({reflect:!0})],Ro.prototype,"orientation",2),jo([Lt({type:Boolean,reflect:!0})],Ro.prototype,"inverted",2),Ro=jo([Pt("sd-divider")],Ro);const Uo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ro}},Symbol.toStringTag,{value:"Module"})),Io=new Set;function Fo(t){if(Io.add(t),!document.body.classList.contains("sd-scroll-lock")){const t=function(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}();document.body.classList.add("sd-scroll-lock"),document.body.style.setProperty("--sd-scroll-lock-size",`${t}px`)}}function Vo(t){Io.delete(t),0===Io.size&&(document.body.classList.remove("sd-scroll-lock"),document.body.style.removeProperty("--sd-scrollbar-width"))}function No(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ho(t){const e=t.tagName.toLowerCase();return!("-1"===t.getAttribute("tabindex")||t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")||"input"===e&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked")||null===t.offsetParent||"hidden"===window.getComputedStyle(t).visibility)&&(!!(("audio"===e||"video"===e)&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(e))}function qo(t){const e=[];return function t(o){o instanceof HTMLElement&&(e.push(o),null!==o.shadowRoot&&"open"===o.shadowRoot.mode&&t(o.shadowRoot)),[...o.children].forEach((e=>t(e)))}(t),{start:e.find((t=>Ho(t)))??null,end:e.reverse().find((t=>Ho(t)))??null}}let Ko=[];class Wo{constructor(t){this.tabDirection="forward",this.element=t,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){Ko.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){Ko=Ko.filter((t=>t!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return Ko[Ko.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:t,end:e}=qo(this.element),o="forward"===this.tabDirection?t:e;"function"==typeof(null==o?void 0:o.focus)&&o.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(t){"Tab"===t.key&&t.shiftKey&&(this.tabDirection="backward",requestAnimationFrame((()=>this.checkFocus())))}handleKeyUp(){this.tabDirection="forward"}}var Zo=Object.defineProperty,Xo=Object.getOwnPropertyDescriptor,Yo=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Xo(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Zo(e,o,s),s};let Go=class extends Qt{constructor(){super(...arguments),this.hasSlotController=new Ye(this,"footer"),this.localize=new x(this),this.modal=new Wo(this),this.open=!1,this.label="",this.placement="end",this.contained=!1,this.noHeader=!1,this.handleDocumentKeyDown=t=>{this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),Fo(this)))}disconnectedCallback(){super.disconnectedCallback(),Vo(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=ge(this,"drawer.denyClose",{dir:this.localize.dir()});ne(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),Fo(this));const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([le(this.drawer),le(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=ge(this,`drawer.show${No(this.placement)}`,{dir:this.localize.dir()}),o=ge(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([ne(this.panel,e.keyframes,e.options),ne(this.overlay,o.keyframes,o.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),Vo(this)),await Promise.all([le(this.drawer),le(this.overlay)]);const t=ge(this,`drawer.hide${No(this.placement)}`,{dir:this.localize.dir()}),e=ge(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([ne(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),ne(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const o=this.originalTrigger;"function"==typeof(null==o?void 0:o.focus)&&setTimeout((()=>o.focus())),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),Fo(this)),this.open&&this.contained&&(this.modal.deactivate(),Vo(this))}async show(){if(!this.open)return this.open=!0,me(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,me(this,"sd-after-hide")}render(){return ht`<div part="base" class="${be("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}"><div part="overlay" class="${be("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${be("absolute flex flex-col z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.label}" aria-labelledby="${oo(this.noHeader?void 0:"title")}" tabindex="0">${this.noHeader?"":ht`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${be(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></div>`}};Go.styles=[Qt.styles,P`${Xt}:host{--width:25rem;display:contents}:host([contained]){z-index:initial}:host(:not([contained])){z-index:var(--sd-z-index-drawer)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{width:0;height:0}`],Yo([Dt("[part=base]")],Go.prototype,"drawer",2),Yo([Dt("[part=panel]")],Go.prototype,"panel",2),Yo([Dt("[part=overlay]")],Go.prototype,"overlay",2),Yo([Lt({type:Boolean,reflect:!0})],Go.prototype,"open",2),Yo([Lt({attribute:"label",reflect:!0})],Go.prototype,"label",2),Yo([Lt({reflect:!0})],Go.prototype,"placement",2),Yo([Lt({type:Boolean,reflect:!0})],Go.prototype,"contained",2),Yo([Lt({attribute:"no-header",type:Boolean})],Go.prototype,"noHeader",2),Yo([Zt("open",{waitUntilFirstUpdate:!0})],Go.prototype,"handleOpenChange",1),Yo([Zt("contained",{waitUntilFirstUpdate:!0})],Go.prototype,"handleNoModalChange",1),Go=Yo([Pt("sd-drawer")],Go),ue("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),ue("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),ue("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),ue("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),ue("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),ue("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),ue("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const Jo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Go}},Symbol.toStringTag,{value:"Module"})),Qo=Math.min,tr=Math.max,er=Math.round,or=Math.floor,rr=t=>({x:t,y:t}),ir={left:"right",right:"left",bottom:"top",top:"bottom"},sr={start:"end",end:"start"};function nr(t,e,o){return tr(t,Qo(e,o))}function ar(t,e){return"function"==typeof t?t(e):t}function lr(t){return t.split("-")[0]}function dr(t){return t.split("-")[1]}function cr(t){return"x"===t?"y":"x"}function hr(t){return"y"===t?"height":"width"}function pr(t){return["top","bottom"].includes(lr(t))?"y":"x"}function ur(t){return cr(pr(t))}function gr(t){return t.replace(/start|end/g,(t=>sr[t]))}function mr(t){return t.replace(/left|right|bottom|top/g,(t=>ir[t]))}function br(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function vr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fr(t,e,o){let{reference:r,floating:i}=t;const s=pr(e),n=ur(e),a=hr(n),l=lr(e),d="y"===s,c=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,p=r[a]/2-i[a]/2;let u;switch(l){case"top":u={x:c,y:r.y-i.height};break;case"bottom":u={x:c,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:h};break;case"left":u={x:r.x-i.width,y:h};break;default:u={x:r.x,y:r.y}}switch(dr(e)){case"start":u[n]-=p*(o&&d?-1:1);break;case"end":u[n]+=p*(o&&d?-1:1)}return u}async function yr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:s,rects:n,elements:a,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=ar(e,t),g=br(u),m=a[p?"floating"===h?"reference":"floating":h],b=vr(await s.getClippingRect({element:null==(o=await(null==s.isElement?void 0:s.isElement(m)))||o?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:l})),v="floating"===h?{...n.floating,x:r,y:i}:n.reference,f=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),y=await(null==s.isElement?void 0:s.isElement(f))&&await(null==s.getScale?void 0:s.getScale(f))||{x:1,y:1},w=vr(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:f,strategy:l}):v);return{top:(b.top-w.top+g.top)/y.y,bottom:(w.bottom-b.bottom+g.bottom)/y.y,left:(b.left-w.left+g.left)/y.x,right:(w.right-b.right+g.right)/y.x}}const wr=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,i=await async function(t,e){const{placement:o,platform:r,elements:i}=t,s=await(null==r.isRTL?void 0:r.isRTL(i.floating)),n=lr(o),a=dr(o),l="y"===pr(o),d=["left","top"].includes(n)?-1:1,c=s&&l?-1:1,h=ar(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return a&&"number"==typeof g&&(u="end"===a?-1*g:g),l?{x:u*c,y:p*d}:{x:p*d,y:u*c}}(e,t);return{x:o+i.x,y:r+i.y,data:i}}}},xr=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:i,elements:s}=e,{apply:n=(()=>{}),...a}=ar(t,e),l=await yr(e,a),d=lr(o),c=dr(o),h="y"===pr(o),{width:p,height:u}=r.floating;let g,m;"top"===d||"bottom"===d?(g=d,m=c===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(m=d,g="end"===c?"top":"bottom");const b=u-l[g],v=p-l[m],f=!e.middlewareData.shift;let y=b,w=v;if(h){const t=p-l.left-l.right;w=c||f?Qo(v,t):t}else{const t=u-l.top-l.bottom;y=c||f?Qo(b,t):t}if(f&&!c){const t=tr(l.left,0),e=tr(l.right,0),o=tr(l.top,0),r=tr(l.bottom,0);h?w=p-2*(0!==t||0!==e?t+e:tr(l.left,l.right)):y=u-2*(0!==o||0!==r?o+r:tr(l.top,l.bottom))}await n({...e,availableWidth:w,availableHeight:y});const x=await i.getDimensions(s.floating);return p!==x.width||u!==x.height?{reset:{rects:!0}}:{}}}};function kr(t){return Sr(t)?(t.nodeName||"").toLowerCase():"#document"}function $r(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Cr(t){var e;return null==(e=(Sr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Sr(t){return t instanceof Node||t instanceof $r(t).Node}function _r(t){return t instanceof Element||t instanceof $r(t).Element}function Er(t){return t instanceof HTMLElement||t instanceof $r(t).HTMLElement}function Ar(t){return!(typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof $r(t).ShadowRoot)}function Pr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Mr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function zr(t){return["table","td","th"].includes(kr(t))}function Or(t){const e=Lr(),o=Mr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Lr(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Tr(t){return["html","body","#document"].includes(kr(t))}function Mr(t){return $r(t).getComputedStyle(t)}function Dr(t){return _r(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Br(t){if("html"===kr(t))return t;const e=t.assignedSlot||t.parentNode||Ar(t)&&t.host||Cr(t);return Ar(e)?e.host:e}function jr(t){const e=Br(t);return Tr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Er(e)&&Pr(e)?e:jr(e)}function Rr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=jr(t),s=i===(null==(r=t.ownerDocument)?void 0:r.body),n=$r(i);return s?e.concat(n,n.visualViewport||[],Pr(i)?i:[],n.frameElement&&o?Rr(n.frameElement):[]):e.concat(i,Rr(i,[],o))}function Ur(t){const e=Mr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Er(t),s=i?t.offsetWidth:o,n=i?t.offsetHeight:r,a=er(o)!==s||er(r)!==n;return a&&(o=s,r=n),{width:o,height:r,$:a}}function Ir(t){return _r(t)?t:t.contextElement}function Fr(t){const e=Ir(t);if(!Er(e))return rr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:s}=Ur(e);let n=(s?er(o.width):o.width)/r,a=(s?er(o.height):o.height)/i;return(!n||!Number.isFinite(n))&&(n=1),(!a||!Number.isFinite(a))&&(a=1),{x:n,y:a}}const Vr=rr(0);function Nr(t){const e=$r(t);return Lr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Vr}function Hr(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),s=Ir(t);let n=rr(1);e&&(r?_r(r)&&(n=Fr(r)):n=Fr(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==$r(t))&&e}(s,o,r)?Nr(s):rr(0);let l=(i.left+a.x)/n.x,d=(i.top+a.y)/n.y,c=i.width/n.x,h=i.height/n.y;if(s){const t=$r(s),e=r&&_r(r)?$r(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Fr(o),e=o.getBoundingClientRect(),r=Mr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,d*=t.y,c*=t.x,h*=t.y,l+=i,d+=s,o=$r(o).frameElement}}return vr({width:c,height:h,x:l,y:d})}function qr(t){return Hr(Cr(t)).left+Dr(t).scrollLeft}function Kr(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=$r(t),r=Cr(t),i=o.visualViewport;let s=r.clientWidth,n=r.clientHeight,a=0,l=0;if(i){s=i.width,n=i.height;const t=Lr();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:n,x:a,y:l}}(t,o);else if("document"===e)r=function(t){const e=Cr(t),o=Dr(t),r=t.ownerDocument.body,i=tr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=tr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+qr(t);const a=-o.scrollTop;return"rtl"===Mr(r).direction&&(n+=tr(e.clientWidth,r.clientWidth)-i),{width:i,height:s,x:n,y:a}}(Cr(t));else if(_r(e))r=function(t,e){const o=Hr(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,s=Er(t)?Fr(t):rr(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:i*s.x,y:r*s.y}}(e,o);else{const o=Nr(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return vr(r)}function Wr(t,e){const o=Br(t);return!(o===e||!_r(o)||Tr(o))&&("fixed"===Mr(o).position||Wr(o,e))}function Zr(t,e){const o=e.get(t);if(o)return o;let r=Rr(t,[],!1).filter((t=>_r(t)&&"body"!==kr(t))),i=null;const s="fixed"===Mr(t).position;let n=s?Br(t):t;for(;_r(n)&&!Tr(n);){const e=Mr(n),o=Or(n);!o&&"fixed"===e.position&&(i=null),(s?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Pr(n)&&!o&&Wr(t,n))?r=r.filter((t=>t!==n)):i=e,n=Br(n)}return e.set(t,r),r}function Xr(t,e,o){const r=Er(e),i=Cr(e),s="fixed"===o,n=Hr(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const l=rr(0);if(r||!r&&!s)if(("body"!==kr(e)||Pr(i))&&(a=Dr(e)),r){const t=Hr(e,!0,s,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=qr(i));return{x:n.left+a.scrollLeft-l.x,y:n.top+a.scrollTop-l.y,width:n.width,height:n.height}}function Yr(t,e){return Er(t)&&"fixed"!==Mr(t).position?e?e(t):t.offsetParent:null}function Gr(t,e){const o=$r(t);if(!Er(t))return o;let r=Yr(t,e);for(;r&&zr(r)&&"static"===Mr(r).position;)r=Yr(r,e);return r&&("html"===kr(r)||"body"===kr(r)&&"static"===Mr(r).position&&!Or(r))?o:r||function(t){let e=Br(t);for(;Er(e)&&!Tr(e);){if(Or(e))return e;e=Br(e)}return null}(t)||o}const Jr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Er(o),s=Cr(o);if(o===s)return e;let n={scrollLeft:0,scrollTop:0},a=rr(1);const l=rr(0);if((i||!i&&"fixed"!==r)&&(("body"!==kr(o)||Pr(s))&&(n=Dr(o)),Er(o))){const t=Hr(o);a=Fr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-n.scrollLeft*a.x+l.x,y:e.y*a.y-n.scrollTop*a.y+l.y}},getDocumentElement:Cr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const s=[..."clippingAncestors"===o?Zr(e,this._c):[].concat(o),r],n=s[0],a=s.reduce(((t,o)=>{const r=Kr(e,o,i);return t.top=tr(r.top,t.top),t.right=Qo(r.right,t.right),t.bottom=Qo(r.bottom,t.bottom),t.left=tr(r.left,t.left),t}),Kr(e,n,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Gr,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Gr,s=this.getDimensions;return{reference:Xr(e,await i(o),r),floating:{x:0,y:0,...await s(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ur(t)},getScale:Fr,isElement:_r,isRTL:function(t){return"rtl"===Mr(t).direction}};var Qr=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,ei=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?ti(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Qr(e,o,s),s};let oi=class extends Qt{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=function(t,e,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:n="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,d=Ir(t),c=i||s?[...d?Rr(d):[],...Rr(e)]:[];c.forEach((t=>{i&&t.addEventListener("scroll",o,{passive:!0}),s&&t.addEventListener("resize",o)}));const h=d&&a?function(t,e){let o,r=null;const i=Cr(t);function s(){clearTimeout(o),r&&r.disconnect(),r=null}return function n(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();const{left:d,top:c,width:h,height:p}=t.getBoundingClientRect();if(a||e(),!h||!p)return;const u={rootMargin:-or(c)+"px "+-or(i.clientWidth-(d+h))+"px "+-or(i.clientHeight-(c+p))+"px "+-or(d)+"px",threshold:tr(0,Qo(1,l))||1};let g=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!g)return n();e?n(!1,e):o=setTimeout((()=>{n(!1,1e-7)}),100)}g=!1}try{r=new IntersectionObserver(m,{...u,root:i.ownerDocument})}catch{r=new IntersectionObserver(m,u)}r.observe(t)}(!0),s}(d,o):null;let p=-1,u=null;n&&(u=new ResizeObserver((t=>{let[r]=t;r&&r.target===d&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{u&&u.observe(e)}))),o()})),d&&!l&&u.observe(d),u.observe(e));let g,m=l?Hr(t):null;return l&&function e(){const r=Hr(t);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&o(),m=r,g=requestAnimationFrame(e)}(),o(),()=>{c.forEach((t=>{i&&t.removeEventListener("scroll",o),s&&t.removeEventListener("resize",o)})),h&&h(),u&&u.disconnect(),u=null,l&&cancelAnimationFrame(g)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const t=[wr({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(xr({apply:({rects:t})=>{const e="width"===this.sync||"both"===this.sync,o="height"===this.sync||"both"===this.sync;this.popup.style.width=e?`${t.reference.width}px`:"",this.popup.style.height=o?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:i,middlewareData:s,rects:n,initialPlacement:a,platform:l,elements:d}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...b}=ar(t,e);if(null!=(o=s.arrow)&&o.alignmentOffset)return{};const v=lr(i),f=lr(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(d.floating)),w=p||(f||!m?[mr(a)]:function(t){const e=mr(t);return[gr(t),e,gr(e)]}(a));!p&&"none"!==g&&w.push(...function(t,e,o,r){const i=dr(t);let s=function(t,e,o){const r=["left","right"],i=["right","left"],s=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:r:e?r:i;case"left":case"right":return e?s:n;default:return[]}}(lr(t),"start"===o,r);return i&&(s=s.map((t=>t+"-"+i)),e&&(s=s.concat(s.map(gr)))),s}(a,m,g,y));const x=[a,...w],k=await yr(e,b),$=[];let C=(null==(r=s.flip)?void 0:r.overflows)||[];if(c&&$.push(k[v]),h){const t=function(t,e,o){void 0===o&&(o=!1);const r=dr(t),i=ur(t),s=hr(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[s]>e.floating[s]&&(n=mr(n)),[n,mr(n)]}(i,n,y);$.push(k[t[0]],k[t[1]])}if(C=[...C,{placement:i,overflows:$}],!$.every((t=>t<=0))){var S,_;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=x[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let o=null==(_=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:_.placement;if(!o)switch(u){case"bestFit":{var E;const t=null==(E=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:E[0];t&&(o=t);break}case"initialPlacement":o=a}if(i!==o)return{reset:{placement:o}}}return{}}}}({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:n=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ar(t,e),d={x:o,y:r},c=await yr(e,l),h=pr(lr(i)),p=cr(h);let u=d[p],g=d[h];if(s){const t="y"===p?"bottom":"right";u=nr(u+c["y"===p?"top":"left"],u,u-c[t])}if(n){const t="y"===h?"bottom":"right";g=nr(g+c["y"===h?"top":"left"],g,g-c[t])}const m=a.fn({...e,[p]:u,[h]:g});return{...m,data:{x:m.x-o,y:m.y-r}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(xr({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:s,platform:n,elements:a,middlewareData:l}=e,{element:d,padding:c=0}=ar(t,e)||{};if(null==d)return{};const h=br(c),p={x:o,y:r},u=ur(i),g=hr(u),m=await n.getDimensions(d),b="y"===u,v=b?"top":"left",f=b?"bottom":"right",y=b?"clientHeight":"clientWidth",w=s.reference[g]+s.reference[u]-p[u]-s.floating[g],x=p[u]-s.reference[u],k=await(null==n.getOffsetParent?void 0:n.getOffsetParent(d));let $=k?k[y]:0;(!$||!await(null==n.isElement?void 0:n.isElement(k)))&&($=a.floating[y]||s.floating[g]);const C=w/2-x/2,S=$/2-m[g]/2-1,_=Qo(h[v],S),E=Qo(h[f],S),A=_,P=$-m[g]-E,z=$/2-m[g]/2+C,O=nr(A,z,P),L=!l.arrow&&null!=dr(i)&&z!=O&&s.reference[g]/2-(z<A?_:E)-m[g]/2<0,T=L?z<A?z-A:z-P:0;return{[u]:p[u]+T,data:{[u]:O,centerOffset:z-O-T,...L&&{alignmentOffset:T}},reset:L}}}))({element:this.arrowEl,padding:this.arrowPadding})),((t,e,o)=>{const r=new Map,i={platform:Jr,...o},s={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:n}=o,a=s.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(e));let d=await n.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:h}=fr(d,r,l),p=r,u={},g=0;for(let o=0;o<a.length;o++){const{name:s,fn:m}=a[o],{x:b,y:v,data:f,reset:y}=await m({x:c,y:h,initialPlacement:r,placement:p,strategy:i,middlewareData:u,rects:d,platform:n,elements:{reference:t,floating:e}});c=b??c,h=v??h,u={...u,[s]:{...u[s],...f}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:t,floating:e,strategy:i}):y.rects),({x:c,y:h}=fr(d,p,l))),o=-1)}return{x:c,y:h,placement:p,strategy:i,middlewareData:u}})(t,e,{...i,platform:s})})(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then((({x:t,y:e,middlewareData:o,placement:r})=>{const i="rtl"===getComputedStyle(this).direction,s={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=o.arrow.x,e=o.arrow.y;let r="",n="",a="",l="";if("start"===this.arrowPlacement){const o="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";r="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",n=i?o:"",l=i?"":o}else if("end"===this.arrowPlacement){const o="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";n=i?"":o,l=i?o:"",a="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",r="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",r="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:r,right:n,bottom:a,left:l,[s]:"calc(var(--arrow-size-diagonal) * -1)"})}})),this.emit("sd-reposition")}render(){return ht`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${be("isolate","fixed"!==this.strategy?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?ht`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};oi.styles=[Qt.styles,Xt,P`:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],ei([Dt('[part="popup"]')],oi.prototype,"popup",2),ei([Dt('[part="arrow"]')],oi.prototype,"arrowEl",2),ei([Lt()],oi.prototype,"anchor",2),ei([Lt({type:Boolean,reflect:!0})],oi.prototype,"active",2),ei([Lt({reflect:!0})],oi.prototype,"placement",2),ei([Lt({reflect:!0})],oi.prototype,"strategy",2),ei([Lt({type:Number})],oi.prototype,"distance",2),ei([Lt({type:Number})],oi.prototype,"skidding",2),ei([Lt({type:Boolean})],oi.prototype,"arrow",2),ei([Lt({attribute:"arrow-placement"})],oi.prototype,"arrowPlacement",2),ei([Lt({attribute:"arrow-padding",type:Number})],oi.prototype,"arrowPadding",2),ei([Lt({type:Boolean})],oi.prototype,"flip",2),ei([Lt({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map((t=>t.trim())).filter((t=>""!==t)),toAttribute:t=>t.join(" ")}})],oi.prototype,"flipFallbackPlacements",2),ei([Lt({attribute:"flip-fallback-strategy"})],oi.prototype,"flipFallbackStrategy",2),ei([Lt({type:Object})],oi.prototype,"flipBoundary",2),ei([Lt({attribute:"flip-padding",type:Number})],oi.prototype,"flipPadding",2),ei([Lt({type:Boolean})],oi.prototype,"shift",2),ei([Lt({type:Object})],oi.prototype,"shiftBoundary",2),ei([Lt({attribute:"shift-padding",type:Number})],oi.prototype,"shiftPadding",2),ei([Lt({attribute:"auto-size"})],oi.prototype,"autoSize",2),ei([Lt()],oi.prototype,"sync",2),ei([Lt({type:Object})],oi.prototype,"autoSizeBoundary",2),ei([Lt({attribute:"auto-size-padding",type:Number})],oi.prototype,"autoSizePadding",2),oi=ei([Pt("sd-popup")],oi);const ri=Object.freeze(Object.defineProperty({__proto__:null,get default(){return oi}},Symbol.toStringTag,{value:"Module"}));var ii=Object.defineProperty,si=Object.getOwnPropertyDescriptor,ni=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?si(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ii(e,o,s),s};let ai=class extends Qt{constructor(){super(...arguments),this.localize=new x(this),this.open=!1,this.rounded=!1,this.placement="bottom-start",this.disabled=!1,this.stayOpenOnSelect=!1,this.distance=0,this.skidding=0,this.noAutoSize=!1,this.noFlip=!1,this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}focusOnTrigger(){const t=this.trigger.assignedElements({flatten:!0})[0];"function"==typeof(null==t?void 0:t.focus)&&t.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find((t=>"sd-menu"===t.tagName.toLowerCase()))}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(t){var e;if("Tab"===t.key){if(this.open&&"sd-menu-item"===(null==(e=document.activeElement)?void 0:e.tagName.toLowerCase()))return t.preventDefault(),this.hide(),void this.focusOnTrigger();setTimeout((()=>{var t,e,o;const r=(null==(t=this.containingElement)?void 0:t.getRootNode())instanceof ShadowRoot?null==(o=null==(e=document.activeElement)?void 0:e.shadowRoot)?void 0:o.activeElement:document.activeElement;(!this.containingElement||(null==r?void 0:r.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()}))}}handleDocumentMouseDown(t){const e=t.composedPath();this.containingElement&&!e.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(t){!function(t,e,o="vertical",r="smooth"){const i=function(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}(t,e),s=i.top+e.scrollTop,n=i.left+e.scrollLeft,a=e.scrollLeft,l=e.scrollLeft+e.offsetWidth,d=e.scrollTop,c=e.scrollTop+e.offsetHeight;("horizontal"===o||"both"===o)&&(n<a?e.scrollTo({left:n,behavior:r}):n+t.clientWidth>l&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:r})),("vertical"===o||"both"===o)&&(s<d?e.scrollTo({top:s,behavior:r}):s+t.clientHeight>c&&e.scrollTo({top:s-e.offsetHeight+t.clientHeight,behavior:r}))}(t.target,this.panel)}handlePanelSelect(t){const e=t.target;!this.stayOpenOnSelect&&"sd-menu"===e.tagName.toLowerCase()&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(t){if("Escape"===t.key&&this.open)return t.stopPropagation(),this.focusOnTrigger(),void this.hide();if([" ","Enter"].includes(t.key))return t.preventDefault(),void this.handleTriggerClick();const e=this.getMenu();if(e){const o=e.defaultSlot.assignedElements({flatten:!0}),r=o[0],i=o[o.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||this.show(),o.length>0&&requestAnimationFrame((()=>{("ArrowDown"===t.key||"Home"===t.key)&&(e.setCurrentItem(r),r.focus()),("ArrowUp"===t.key||"End"===t.key)&&(e.setCurrentItem(i),i.focus())})))}}handleTriggerKeyUp(t){" "===t.key&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}updateAccessibleTrigger(){const t=this.trigger.assignedElements({flatten:!0}).find((t=>qo(t).start));let e;if(t){switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":e=t.button;break;default:e=t}e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false")}}async show(){if(!this.open)return this.open=!0,me(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,me(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled)this.open=!1;else if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await le(this),this.panel.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=ge(this,"dropdown.show",{dir:this.localize.dir()});await ne(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await le(this);const{keyframes:t,options:e}=ge(this,"dropdown.hide",{dir:this.localize.dir()});await ne(this.popup.popup,t,e),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return ht`<sd-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${be("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};ai.styles=[Qt.styles,Xt,P`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],ni([Dt("#dropdown")],ai.prototype,"popup",2),ni([Dt("[part=trigger]")],ai.prototype,"trigger",2),ni([Dt("[part=panel]")],ai.prototype,"panel",2),ni([Lt({type:Boolean,reflect:!0})],ai.prototype,"open",2),ni([Lt({type:Boolean,reflect:!0})],ai.prototype,"rounded",2),ni([Lt({reflect:!0})],ai.prototype,"placement",2),ni([Lt({type:Boolean,reflect:!0})],ai.prototype,"disabled",2),ni([Lt({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],ai.prototype,"stayOpenOnSelect",2),ni([Lt({attribute:!1})],ai.prototype,"containingElement",2),ni([Lt({type:Number})],ai.prototype,"distance",2),ni([Lt({type:Number})],ai.prototype,"skidding",2),ni([Lt({type:Boolean,reflect:!0,attribute:"no-auto-size"})],ai.prototype,"noAutoSize",2),ni([Lt({type:Boolean,reflect:!0,attribute:"no-flip"})],ai.prototype,"noFlip",2),ni([Lt({type:Boolean})],ai.prototype,"hoist",2),ni([Zt("open",{waitUntilFirstUpdate:!0})],ai.prototype,"handleOpenChange",1),ai=ni([Pt("sd-dropdown")],ai),ue("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),ue("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const li=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ai}},Symbol.toStringTag,{value:"Module"})),di=P`${Xt}:host{display:block}`,ci=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"}));var hi=Object.defineProperty,pi=Object.getOwnPropertyDescriptor,ui=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?pi(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&hi(e,o,s),s};let gi=class extends Qt{constructor(){super(...arguments),this.mode="cors",this.allowScripts=!1}executeScript(t){const e=document.createElement("script");[...t.attributes].forEach((t=>e.setAttribute(t.name,t.value))),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{const t=this.src,e=await Rt(t,this.mode);if(t!==this.src)return;if(!e.ok)return void this.emit("sd-error",{detail:{status:e.status}});this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach((t=>this.executeScript(t))),this.emit("sd-load")}catch{this.emit("sd-error",{detail:{status:-1}})}}render(){return ht`<slot></slot>`}};gi.styles=di,ui([Lt()],gi.prototype,"src",2),ui([Lt()],gi.prototype,"mode",2),ui([Lt({attribute:"allow-scripts",type:Boolean})],gi.prototype,"allowScripts",2),ui([Zt("src")],gi.prototype,"handleSrcChange",1),gi=ui([Pt("sd-include")],gi);const mi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return gi}},Symbol.toStringTag,{value:"Module"}));var bi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,fi=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?vi(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&bi(e,o,s),s};let yi=class extends Qt{constructor(){super(...arguments),this.hasSlotController=new Ye(this,"[default]","icon-left","icon-right"),this.size="inherit",this.inverted=!1,this.standalone=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return ht`<a part="base" class="${be("inline",this.href?"cursor-pointer":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline"}[this.href?"enabled":"disabled"],this.standalone&&"flex items-start")}" href="${oo(this.href||void 0)}" target="${oo(this.target||void 0)}" download="${oo(this.download||void 0)}" rel="${oo(this.target?"noreferrer noopener":void 0)}" aria-disabled="${this.href?"false":"true"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${be("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${be("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};yi.styles=[Qt.styles,P`::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:1rem}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:1.5rem}`],fi([Dt("a")],yi.prototype,"button",2),fi([Lt({reflect:!0})],yi.prototype,"size",2),fi([Lt({type:Boolean,reflect:!0})],yi.prototype,"inverted",2),fi([Lt({type:Boolean,reflect:!0})],yi.prototype,"standalone",2),fi([Lt()],yi.prototype,"href",2),fi([Lt()],yi.prototype,"target",2),fi([Lt()],yi.prototype,"download",2),yi=fi([Pt("sd-link")],yi);const wi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return yi}},Symbol.toStringTag,{value:"Module"}));var xi=Object.defineProperty,ki=Object.getOwnPropertyDescriptor,$i=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?ki(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&xi(e,o,s),s};let Ci=class extends Qt{constructor(){super(...arguments),this.hasSlotController=new Ye(this,"[default]","description","children"),this.href="",this.current=!1,this.disabled=!1,this.size="base",this.vertical=!1,this.chevron=!1,this.indented=!1,this.relaxed=!1,this.divider=!1,this.open=!1}isButton(){return!this.href&&!this.hasSlotController.test("children")}isLink(){return!!this.href}isAccordion(){return!this.href&&this.hasSlotController.test("children")}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}render(){const t=this.isLink(),e=this.isButton(),o=this.isAccordion(),r=(this.hasSlotController.test("[default]"),this.hasSlotController.test("main"),this.hasSlotController.test("description")),i=this.hasSlotController.test("children"),s=t?Qe`a`:o?Qe`summary`:Qe`button`,n=this.vertical?"pb-3":"pb-2",a=eo`<${s} part="base" class="${be("hover:bg-neutral-200 group transition-all min-h-[48px] cursor-pointer relative focus-visible:focus-outline",{base:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",o?"flex flex-col":"inline-block w-full",this.divider&&this.vertical&&"mt-[1px]",this.vertical?"px-8":"px-4")}" aria-controls="${oo(o?"navigation-item-details":void 0)}" aria-current="${oo(this.current?"page":void 0)}" aria-disabled="${this.disabled}" ?disabled="${oo(e?this.disabled:void 0)}" href="${oo(this.href||void 0)}" target="${oo(t?this.target:void 0)}" download="${oo(t?this.download:void 0)}" rel="${oo(t&&this.target?"noreferrer noopener":void 0)}" role="${t?"link":"button"}" tabindex="${this.disabled?"-1":"0"}" @click="${o?this.handleClickSummary:e?this.handleClickButton:void 0}"><div class="${be("absolute w-full left-0 top-0 pointer-events-none transition-all duration-150",this.vertical?"border-l-4 h-[calc(100%-8px)] top-1 group-hover:h-full group-hover:top-0":"border-b-4 h-full",this.current?"border-accent":"border-transparent",this.disabled&&"border-neutral-500")}"></div><span class="${be("relative pt-3 inline-flex justify-between items-center",o?"grow":"w-full",r?"pb-1":n,this.calculatePaddingX())}">${this.divider&&this.vertical?eo`<sd-divider part="divider" class="${be("w-full transition-all absolute -top-[1px] left-0",this.calculatePaddingX())}"></sd-divider>`:""} <span class="inline-flex items-center flex-auto"><slot part="content" class="inline"></slot></span>${(this.chevron||i)&&this.vertical?eo`<sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${be("h-6 w-6 ml-2 transition-all",o?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${r&&this.vertical?eo`<slot name="description" part="description" class="${be("inline-block text-sm text-left text-black",o?"grow":"w-full",n,this.calculatePaddingX())}"></slot>`:""}</${s}>`;return o?eo`<details id="navigation-item-details" ?open="${this.open}" class="relative flex">${a}<slot name="children"></slot></details>`:eo`${a}`}};Ci.styles=[Xt,Qt.styles,P`:host{box-sizing:border-box;position:relative;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}`],$i([Lt({reflect:!0})],Ci.prototype,"href",2),$i([Lt()],Ci.prototype,"target",2),$i([Lt()],Ci.prototype,"download",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"current",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"disabled",2),$i([Lt({reflect:!0})],Ci.prototype,"size",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"vertical",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"chevron",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"indented",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"relaxed",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"divider",2),$i([Lt({type:Boolean,reflect:!0})],Ci.prototype,"open",2),Ci=$i([(t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})
95
+ */})(t),e}});var Mo=Object.defineProperty,Bo=Object.getOwnPropertyDescriptor,Do=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Bo(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Mo(e,o,s),s};let jo=class extends te{constructor(){super(...arguments),this.formControlController=new We(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.title="",this.name="",this.size="lg",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return pt`<label part="base" class="${fe("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed",{sm:"text-sm",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${ro(this.value)}" .indeterminate="${Lo(this.indeterminate)}" .checked="${Lo(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${fe("relative flex flex-initial items-center justify-center border rounded-sm h-4 w-4 \n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 \n peer-focus-visible:outline-primary",{sm:"mt-[2px]",lg:"mt-[3px]"}[this.size],(this.disabled&&this.indeterminate||this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled&&"border-neutral-500")||(this.checked||this.indeterminate)&&"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550"||"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white")}">${this.checked?pt`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-hook"></sd-icon>`:""} ${!this.checked&&this.indeterminate?pt`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${fe("select-none inline-block ml-2 text-black",this.disabled?"text-neutral-500":"text-neutral-800")}"><slot></slot></span></label>`}};jo.styles=[te.styles,z`:host{display:block}:host(:focus-visible){outline:0}:host([required]) #label::after{content:' *'}:host([data-user-invalid]) #label{color:rgb(var(--sd-color-error,204 25 55))}:host([data-user-invalid]) #control{border-color:rgb(var(--sd-color-error,204 25 55))}:host([data-user-invalid]):host([indeterminate]) #control{background-color:rgb(var(--sd-color-error,204 25 55))}`],Do([Dt('input[type="checkbox"]')],jo.prototype,"input",2),Do([Lt()],jo.prototype,"title",2),Do([Lt()],jo.prototype,"name",2),Do([Lt()],jo.prototype,"value",2),Do([Lt({reflect:!0})],jo.prototype,"size",2),Do([Lt({type:Boolean,reflect:!0})],jo.prototype,"disabled",2),Do([Lt({type:Boolean,reflect:!0})],jo.prototype,"checked",2),Do([Lt({type:Boolean,reflect:!0})],jo.prototype,"indeterminate",2),Do([Oo("checked")],jo.prototype,"defaultChecked",2),Do([Lt({reflect:!0})],jo.prototype,"form",2),Do([Lt({type:Boolean,reflect:!0})],jo.prototype,"required",2),Do([Xt("disabled",{waitUntilFirstUpdate:!0})],jo.prototype,"handleDisabledChange",1),Do([Xt(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],jo.prototype,"handleStateChange",1),jo=Do([zt("sd-checkbox")],jo);const Uo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return jo}},Symbol.toStringTag,{value:"Module"}));var Ro=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Fo=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Vo(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Ro(e,o,s),s};let Io=class extends te{constructor(){super(...arguments),this.orientation="horizontal",this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return pt`<hr part="main" class="${fe(this.inverted?"border-primary-400":"border-neutral-400","horizontal"===this.orientation?"border-t w-full":" border-l h-full")}">`}};Io.styles=[Yt,te.styles,z`:host{margin:0}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],Fo([Lt({reflect:!0})],Io.prototype,"orientation",2),Fo([Lt({type:Boolean,reflect:!0})],Io.prototype,"inverted",2),Io=Fo([zt("sd-divider")],Io);const No=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Io}},Symbol.toStringTag,{value:"Module"})),Ho=new Set;function qo(t){if(Ho.add(t),!document.body.classList.contains("sd-scroll-lock")){const t=function(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}();document.body.classList.add("sd-scroll-lock"),document.body.style.setProperty("--sd-scroll-lock-size",`${t}px`)}}function Ko(t){Ho.delete(t),0===Ho.size&&(document.body.classList.remove("sd-scroll-lock"),document.body.style.removeProperty("--sd-scrollbar-width"))}function Zo(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Wo(t){const e=t.tagName.toLowerCase();return!("-1"===t.getAttribute("tabindex")||t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")||"input"===e&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked")||null===t.offsetParent||"hidden"===window.getComputedStyle(t).visibility)&&(!!(("audio"===e||"video"===e)&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(e))}function Xo(t){const e=[];return function t(o){o instanceof HTMLElement&&(e.push(o),null!==o.shadowRoot&&"open"===o.shadowRoot.mode&&t(o.shadowRoot)),[...o.children].forEach((e=>t(e)))}(t),{start:e.find((t=>Wo(t)))??null,end:e.reverse().find((t=>Wo(t)))??null}}let Yo=[];class Go{constructor(t){this.tabDirection="forward",this.element=t,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){Yo.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){Yo=Yo.filter((t=>t!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return Yo[Yo.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:t,end:e}=Xo(this.element),o="forward"===this.tabDirection?t:e;"function"==typeof(null==o?void 0:o.focus)&&o.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(t){"Tab"===t.key&&t.shiftKey&&(this.tabDirection="backward",requestAnimationFrame((()=>this.checkFocus())))}handleKeyUp(){this.tabDirection="forward"}}var Jo=Object.defineProperty,Qo=Object.getOwnPropertyDescriptor,ti=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Qo(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Jo(e,o,s),s};let ei=class extends te{constructor(){super(...arguments),this.hasSlotController=new Je(this,"footer"),this.localize=new k(this),this.modal=new Go(this),this.open=!1,this.label="",this.placement="end",this.contained=!1,this.noHeader=!1,this.handleDocumentKeyDown=t=>{this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),qo(this)))}disconnectedCallback(){super.disconnectedCallback(),Ko(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=be(this,"drawer.denyClose",{dir:this.localize.dir()});ae(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),qo(this));const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([ce(this.drawer),ce(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=be(this,`drawer.show${Zo(this.placement)}`,{dir:this.localize.dir()}),o=be(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([ae(this.panel,e.keyframes,e.options),ae(this.overlay,o.keyframes,o.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),Ko(this)),await Promise.all([ce(this.drawer),ce(this.overlay)]);const t=be(this,`drawer.hide${Zo(this.placement)}`,{dir:this.localize.dir()}),e=be(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([ae(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),ae(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const o=this.originalTrigger;"function"==typeof(null==o?void 0:o.focus)&&setTimeout((()=>o.focus())),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),qo(this)),this.open&&this.contained&&(this.modal.deactivate(),Ko(this))}async show(){if(!this.open)return this.open=!0,ve(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,ve(this,"sd-after-hide")}render(){return pt`<div part="base" class="${fe("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}"><div part="overlay" class="${fe("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${fe("absolute flex flex-col z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.label}" aria-labelledby="${ro(this.noHeader?void 0:"title")}" tabindex="0">${this.noHeader?"":pt`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${fe(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></div>`}};ei.styles=[te.styles,z`${Yt}:host{--width:25rem;display:contents}:host([contained]){z-index:initial}:host(:not([contained])){z-index:var(--sd-z-index-drawer)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{width:0;height:0}`],ti([Dt("[part=base]")],ei.prototype,"drawer",2),ti([Dt("[part=panel]")],ei.prototype,"panel",2),ti([Dt("[part=overlay]")],ei.prototype,"overlay",2),ti([Lt({type:Boolean,reflect:!0})],ei.prototype,"open",2),ti([Lt({attribute:"label",reflect:!0})],ei.prototype,"label",2),ti([Lt({reflect:!0})],ei.prototype,"placement",2),ti([Lt({type:Boolean,reflect:!0})],ei.prototype,"contained",2),ti([Lt({attribute:"no-header",type:Boolean})],ei.prototype,"noHeader",2),ti([Xt("open",{waitUntilFirstUpdate:!0})],ei.prototype,"handleOpenChange",1),ti([Xt("contained",{waitUntilFirstUpdate:!0})],ei.prototype,"handleNoModalChange",1),ei=ti([zt("sd-drawer")],ei),ge("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),ge("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),ge("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),ge("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),ge("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),ge("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),ge("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const oi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ei}},Symbol.toStringTag,{value:"Module"})),ii=Math.min,ri=Math.max,si=Math.round,ni=Math.floor,ai=t=>({x:t,y:t}),li={left:"right",right:"left",bottom:"top",top:"bottom"},di={start:"end",end:"start"};function ci(t,e,o){return ri(t,ii(e,o))}function hi(t,e){return"function"==typeof t?t(e):t}function pi(t){return t.split("-")[0]}function ui(t){return t.split("-")[1]}function mi(t){return"x"===t?"y":"x"}function gi(t){return"y"===t?"height":"width"}function bi(t){return["top","bottom"].includes(pi(t))?"y":"x"}function vi(t){return mi(bi(t))}function fi(t){return t.replace(/start|end/g,(t=>di[t]))}function yi(t){return t.replace(/left|right|bottom|top/g,(t=>li[t]))}function wi(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function xi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ki(t,e,o){let{reference:i,floating:r}=t;const s=bi(e),n=vi(e),a=gi(n),l=pi(e),d="y"===s,c=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[a]/2-r[a]/2;let u;switch(l){case"top":u={x:c,y:i.y-r.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-r.width,y:h};break;default:u={x:i.x,y:i.y}}switch(ui(e)){case"start":u[n]-=p*(o&&d?-1:1);break;case"end":u[n]+=p*(o&&d?-1:1)}return u}async function $i(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:s,rects:n,elements:a,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=hi(e,t),m=wi(u),g=a[p?"floating"===h?"reference":"floating":h],b=xi(await s.getClippingRect({element:null==(o=await(null==s.isElement?void 0:s.isElement(g)))||o?g:g.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:l})),v="floating"===h?{...n.floating,x:i,y:r}:n.reference,f=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),y=await(null==s.isElement?void 0:s.isElement(f))&&await(null==s.getScale?void 0:s.getScale(f))||{x:1,y:1},w=xi(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:f,strategy:l}):v);return{top:(b.top-w.top+m.top)/y.y,bottom:(w.bottom-b.bottom+m.bottom)/y.y,left:(b.left-w.left+m.left)/y.x,right:(w.right-b.right+m.right)/y.x}}const Ci=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:i}=e,r=await async function(t,e){const{placement:o,platform:i,elements:r}=t,s=await(null==i.isRTL?void 0:i.isRTL(r.floating)),n=pi(o),a=ui(o),l="y"===bi(o),d=["left","top"].includes(n)?-1:1,c=s&&l?-1:1,h=hi(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:m}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return a&&"number"==typeof m&&(u="end"===a?-1*m:m),l?{x:u*c,y:p*d}:{x:p*d,y:u*c}}(e,t);return{x:o+r.x,y:i+r.y,data:r}}}},Si=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:i,platform:r,elements:s}=e,{apply:n=(()=>{}),...a}=hi(t,e),l=await $i(e,a),d=pi(o),c=ui(o),h="y"===bi(o),{width:p,height:u}=i.floating;let m,g;"top"===d||"bottom"===d?(m=d,g=c===(await(null==r.isRTL?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,m="end"===c?"top":"bottom");const b=u-l[m],v=p-l[g],f=!e.middlewareData.shift;let y=b,w=v;if(h){const t=p-l.left-l.right;w=c||f?ii(v,t):t}else{const t=u-l.top-l.bottom;y=c||f?ii(b,t):t}if(f&&!c){const t=ri(l.left,0),e=ri(l.right,0),o=ri(l.top,0),i=ri(l.bottom,0);h?w=p-2*(0!==t||0!==e?t+e:ri(l.left,l.right)):y=u-2*(0!==o||0!==i?o+i:ri(l.top,l.bottom))}await n({...e,availableWidth:w,availableHeight:y});const x=await r.getDimensions(s.floating);return p!==x.width||u!==x.height?{reset:{rects:!0}}:{}}}};function _i(t){return Pi(t)?(t.nodeName||"").toLowerCase():"#document"}function Ei(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ai(t){var e;return null==(e=(Pi(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Pi(t){return t instanceof Node||t instanceof Ei(t).Node}function zi(t){return t instanceof Element||t instanceof Ei(t).Element}function Oi(t){return t instanceof HTMLElement||t instanceof Ei(t).HTMLElement}function Ti(t){return!(typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof Ei(t).ShadowRoot)}function Li(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Ui(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Mi(t){return["table","td","th"].includes(_i(t))}function Bi(t){const e=Di(),o=Ui(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Di(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ji(t){return["html","body","#document"].includes(_i(t))}function Ui(t){return Ei(t).getComputedStyle(t)}function Ri(t){return zi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Vi(t){if("html"===_i(t))return t;const e=t.assignedSlot||t.parentNode||Ti(t)&&t.host||Ai(t);return Ti(e)?e.host:e}function Fi(t){const e=Vi(t);return ji(e)?t.ownerDocument?t.ownerDocument.body:t.body:Oi(e)&&Li(e)?e:Fi(e)}function Ii(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Fi(t),s=r===(null==(i=t.ownerDocument)?void 0:i.body),n=Ei(r);return s?e.concat(n,n.visualViewport||[],Li(r)?r:[],n.frameElement&&o?Ii(n.frameElement):[]):e.concat(r,Ii(r,[],o))}function Ni(t){const e=Ui(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Oi(t),s=r?t.offsetWidth:o,n=r?t.offsetHeight:i,a=si(o)!==s||si(i)!==n;return a&&(o=s,i=n),{width:o,height:i,$:a}}function Hi(t){return zi(t)?t:t.contextElement}function qi(t){const e=Hi(t);if(!Oi(e))return ai(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:s}=Ni(e);let n=(s?si(o.width):o.width)/i,a=(s?si(o.height):o.height)/r;return(!n||!Number.isFinite(n))&&(n=1),(!a||!Number.isFinite(a))&&(a=1),{x:n,y:a}}const Ki=ai(0);function Zi(t){const e=Ei(t);return Di()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ki}function Wi(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),s=Hi(t);let n=ai(1);e&&(i?zi(i)&&(n=qi(i)):n=qi(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Ei(t))&&e}(s,o,i)?Zi(s):ai(0);let l=(r.left+a.x)/n.x,d=(r.top+a.y)/n.y,c=r.width/n.x,h=r.height/n.y;if(s){const t=Ei(s),e=i&&zi(i)?Ei(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=qi(o),e=o.getBoundingClientRect(),i=Ui(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,d*=t.y,c*=t.x,h*=t.y,l+=r,d+=s,o=Ei(o).frameElement}}return xi({width:c,height:h,x:l,y:d})}function Xi(t){return Wi(Ai(t)).left+Ri(t).scrollLeft}function Yi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Ei(t),i=Ai(t),r=o.visualViewport;let s=i.clientWidth,n=i.clientHeight,a=0,l=0;if(r){s=r.width,n=r.height;const t=Di();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:n,x:a,y:l}}(t,o);else if("document"===e)i=function(t){const e=Ai(t),o=Ri(t),i=t.ownerDocument.body,r=ri(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=ri(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Xi(t);const a=-o.scrollTop;return"rtl"===Ui(i).direction&&(n+=ri(e.clientWidth,i.clientWidth)-r),{width:r,height:s,x:n,y:a}}(Ai(t));else if(zi(e))i=function(t,e){const o=Wi(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,s=Oi(t)?qi(t):ai(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:r*s.x,y:i*s.y}}(e,o);else{const o=Zi(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return xi(i)}function Gi(t,e){const o=Vi(t);return!(o===e||!zi(o)||ji(o))&&("fixed"===Ui(o).position||Gi(o,e))}function Ji(t,e){const o=e.get(t);if(o)return o;let i=Ii(t,[],!1).filter((t=>zi(t)&&"body"!==_i(t))),r=null;const s="fixed"===Ui(t).position;let n=s?Vi(t):t;for(;zi(n)&&!ji(n);){const e=Ui(n),o=Bi(n);!o&&"fixed"===e.position&&(r=null),(s?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Li(n)&&!o&&Gi(t,n))?i=i.filter((t=>t!==n)):r=e,n=Vi(n)}return e.set(t,i),i}function Qi(t,e,o){const i=Oi(e),r=Ai(e),s="fixed"===o,n=Wi(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const l=ai(0);if(i||!i&&!s)if(("body"!==_i(e)||Li(r))&&(a=Ri(e)),i){const t=Wi(e,!0,s,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Xi(r));return{x:n.left+a.scrollLeft-l.x,y:n.top+a.scrollTop-l.y,width:n.width,height:n.height}}function tr(t,e){return Oi(t)&&"fixed"!==Ui(t).position?e?e(t):t.offsetParent:null}function er(t,e){const o=Ei(t);if(!Oi(t))return o;let i=tr(t,e);for(;i&&Mi(i)&&"static"===Ui(i).position;)i=tr(i,e);return i&&("html"===_i(i)||"body"===_i(i)&&"static"===Ui(i).position&&!Bi(i))?o:i||function(t){let e=Vi(t);for(;Oi(e)&&!ji(e);){if(Bi(e))return e;e=Vi(e)}return null}(t)||o}const or={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Oi(o),s=Ai(o);if(o===s)return e;let n={scrollLeft:0,scrollTop:0},a=ai(1);const l=ai(0);if((r||!r&&"fixed"!==i)&&(("body"!==_i(o)||Li(s))&&(n=Ri(o)),Oi(o))){const t=Wi(o);a=qi(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-n.scrollLeft*a.x+l.x,y:e.y*a.y-n.scrollTop*a.y+l.y}},getDocumentElement:Ai,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const s=[..."clippingAncestors"===o?Ji(e,this._c):[].concat(o),i],n=s[0],a=s.reduce(((t,o)=>{const i=Yi(e,o,r);return t.top=ri(i.top,t.top),t.right=ii(i.right,t.right),t.bottom=ii(i.bottom,t.bottom),t.left=ri(i.left,t.left),t}),Yi(e,n,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:er,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||er,s=this.getDimensions;return{reference:Qi(e,await r(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ni(t)},getScale:qi,isElement:zi,isRTL:function(t){return"rtl"===Ui(t).direction}};var ir=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,sr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?rr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&ir(e,o,s),s};let nr=class extends te{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=function(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:n="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,d=Hi(t),c=r||s?[...d?Ii(d):[],...Ii(e)]:[];c.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),s&&t.addEventListener("resize",o)}));const h=d&&a?function(t,e){let o,i=null;const r=Ai(t);function s(){clearTimeout(o),i&&i.disconnect(),i=null}return function n(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();const{left:d,top:c,width:h,height:p}=t.getBoundingClientRect();if(a||e(),!h||!p)return;const u={rootMargin:-ni(c)+"px "+-ni(r.clientWidth-(d+h))+"px "+-ni(r.clientHeight-(c+p))+"px "+-ni(d)+"px",threshold:ri(0,ii(1,l))||1};let m=!0;function g(t){const e=t[0].intersectionRatio;if(e!==l){if(!m)return n();e?n(!1,e):o=setTimeout((()=>{n(!1,1e-7)}),100)}m=!1}try{i=new IntersectionObserver(g,{...u,root:r.ownerDocument})}catch{i=new IntersectionObserver(g,u)}i.observe(t)}(!0),s}(d,o):null;let p=-1,u=null;n&&(u=new ResizeObserver((t=>{let[i]=t;i&&i.target===d&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{u&&u.observe(e)}))),o()})),d&&!l&&u.observe(d),u.observe(e));let m,g=l?Wi(t):null;return l&&function e(){const i=Wi(t);g&&(i.x!==g.x||i.y!==g.y||i.width!==g.width||i.height!==g.height)&&o(),g=i,m=requestAnimationFrame(e)}(),o(),()=>{c.forEach((t=>{r&&t.removeEventListener("scroll",o),s&&t.removeEventListener("resize",o)})),h&&h(),u&&u.disconnect(),u=null,l&&cancelAnimationFrame(m)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const t=[Ci({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Si({apply:({rects:t})=>{const e="width"===this.sync||"both"===this.sync,o="height"===this.sync||"both"===this.sync;this.popup.style.width=e?`${t.reference.width}px`:"",this.popup.style.height=o?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:s,rects:n,initialPlacement:a,platform:l,elements:d}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...b}=hi(t,e);if(null!=(o=s.arrow)&&o.alignmentOffset)return{};const v=pi(r),f=pi(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(d.floating)),w=p||(f||!g?[yi(a)]:function(t){const e=yi(t);return[fi(t),e,fi(e)]}(a));!p&&"none"!==m&&w.push(...function(t,e,o,i){const r=ui(t);let s=function(t,e,o){const i=["left","right"],r=["right","left"],s=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?s:n;default:return[]}}(pi(t),"start"===o,i);return r&&(s=s.map((t=>t+"-"+r)),e&&(s=s.concat(s.map(fi)))),s}(a,g,m,y));const x=[a,...w],k=await $i(e,b),$=[];let C=(null==(i=s.flip)?void 0:i.overflows)||[];if(c&&$.push(k[v]),h){const t=function(t,e,o){void 0===o&&(o=!1);const i=ui(t),r=vi(t),s=gi(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[s]>e.floating[s]&&(n=yi(n)),[n,yi(n)]}(r,n,y);$.push(k[t[0]],k[t[1]])}if(C=[...C,{placement:r,overflows:$}],!$.every((t=>t<=0))){var S,_;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=x[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let o=null==(_=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:_.placement;if(!o)switch(u){case"bestFit":{var E;const t=null==(E=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:E[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}}({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:s=!0,crossAxis:n=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=hi(t,e),d={x:o,y:i},c=await $i(e,l),h=bi(pi(r)),p=mi(h);let u=d[p],m=d[h];if(s){const t="y"===p?"bottom":"right";u=ci(u+c["y"===p?"top":"left"],u,u-c[t])}if(n){const t="y"===h?"bottom":"right";m=ci(m+c["y"===h?"top":"left"],m,m-c[t])}const g=a.fn({...e,[p]:u,[h]:m});return{...g,data:{x:g.x-o,y:g.y-i}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Si({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:s,platform:n,elements:a,middlewareData:l}=e,{element:d,padding:c=0}=hi(t,e)||{};if(null==d)return{};const h=wi(c),p={x:o,y:i},u=vi(r),m=gi(u),g=await n.getDimensions(d),b="y"===u,v=b?"top":"left",f=b?"bottom":"right",y=b?"clientHeight":"clientWidth",w=s.reference[m]+s.reference[u]-p[u]-s.floating[m],x=p[u]-s.reference[u],k=await(null==n.getOffsetParent?void 0:n.getOffsetParent(d));let $=k?k[y]:0;(!$||!await(null==n.isElement?void 0:n.isElement(k)))&&($=a.floating[y]||s.floating[m]);const C=w/2-x/2,S=$/2-g[m]/2-1,_=ii(h[v],S),E=ii(h[f],S),A=_,P=$-g[m]-E,z=$/2-g[m]/2+C,O=ci(A,z,P),T=!l.arrow&&null!=ui(r)&&z!=O&&s.reference[m]/2-(z<A?_:E)-g[m]/2<0,L=T?z<A?z-A:z-P:0;return{[u]:p[u]+L,data:{[u]:O,centerOffset:z-O-L,...T&&{alignmentOffset:L}},reset:T}}}))({element:this.arrowEl,padding:this.arrowPadding})),((t,e,o)=>{const i=new Map,r={platform:or,...o},s={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:n}=o,a=s.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(e));let d=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:h}=ki(d,i,l),p=i,u={},m=0;for(let o=0;o<a.length;o++){const{name:s,fn:g}=a[o],{x:b,y:v,data:f,reset:y}=await g({x:c,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:d,platform:n,elements:{reference:t,floating:e}});c=b??c,h=v??h,u={...u,[s]:{...u[s],...f}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):y.rects),({x:c,y:h}=ki(d,p,l))),o=-1)}return{x:c,y:h,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:s})})(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then((({x:t,y:e,middlewareData:o,placement:i})=>{const r="rtl"===getComputedStyle(this).direction,s={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(this.setAttribute("data-current-placement",i),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=o.arrow.x,e=o.arrow.y;let i="",n="",a="",l="";if("start"===this.arrowPlacement){const o="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";i="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",n=r?o:"",l=r?"":o}else if("end"===this.arrowPlacement){const o="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";n=r?"":o,l=r?o:"",a="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",i="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",i="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:i,right:n,bottom:a,left:l,[s]:"calc(var(--arrow-size-diagonal) * -1)"})}})),this.emit("sd-reposition")}render(){return pt`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${fe("isolate","fixed"!==this.strategy?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?pt`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};nr.styles=[te.styles,Yt,z`:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],sr([Dt('[part="popup"]')],nr.prototype,"popup",2),sr([Dt('[part="arrow"]')],nr.prototype,"arrowEl",2),sr([Lt()],nr.prototype,"anchor",2),sr([Lt({type:Boolean,reflect:!0})],nr.prototype,"active",2),sr([Lt({reflect:!0})],nr.prototype,"placement",2),sr([Lt({reflect:!0})],nr.prototype,"strategy",2),sr([Lt({type:Number})],nr.prototype,"distance",2),sr([Lt({type:Number})],nr.prototype,"skidding",2),sr([Lt({type:Boolean})],nr.prototype,"arrow",2),sr([Lt({attribute:"arrow-placement"})],nr.prototype,"arrowPlacement",2),sr([Lt({attribute:"arrow-padding",type:Number})],nr.prototype,"arrowPadding",2),sr([Lt({type:Boolean})],nr.prototype,"flip",2),sr([Lt({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map((t=>t.trim())).filter((t=>""!==t)),toAttribute:t=>t.join(" ")}})],nr.prototype,"flipFallbackPlacements",2),sr([Lt({attribute:"flip-fallback-strategy"})],nr.prototype,"flipFallbackStrategy",2),sr([Lt({type:Object})],nr.prototype,"flipBoundary",2),sr([Lt({attribute:"flip-padding",type:Number})],nr.prototype,"flipPadding",2),sr([Lt({type:Boolean})],nr.prototype,"shift",2),sr([Lt({type:Object})],nr.prototype,"shiftBoundary",2),sr([Lt({attribute:"shift-padding",type:Number})],nr.prototype,"shiftPadding",2),sr([Lt({attribute:"auto-size"})],nr.prototype,"autoSize",2),sr([Lt()],nr.prototype,"sync",2),sr([Lt({type:Object})],nr.prototype,"autoSizeBoundary",2),sr([Lt({attribute:"auto-size-padding",type:Number})],nr.prototype,"autoSizePadding",2),nr=sr([zt("sd-popup")],nr);const ar=Object.freeze(Object.defineProperty({__proto__:null,get default(){return nr}},Symbol.toStringTag,{value:"Module"}));var lr=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,cr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?dr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&lr(e,o,s),s};let hr=class extends te{constructor(){super(...arguments),this.localize=new k(this),this.open=!1,this.rounded=!1,this.placement="bottom-start",this.disabled=!1,this.stayOpenOnSelect=!1,this.distance=0,this.skidding=0,this.noAutoSize=!1,this.noFlip=!1,this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}focusOnTrigger(){const t=this.trigger.assignedElements({flatten:!0})[0];"function"==typeof(null==t?void 0:t.focus)&&t.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find((t=>"sd-menu"===t.tagName.toLowerCase()))}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(t){var e;if("Tab"===t.key){if(this.open&&"sd-menu-item"===(null==(e=document.activeElement)?void 0:e.tagName.toLowerCase()))return t.preventDefault(),this.hide(),void this.focusOnTrigger();setTimeout((()=>{var t,e,o;const i=(null==(t=this.containingElement)?void 0:t.getRootNode())instanceof ShadowRoot?null==(o=null==(e=document.activeElement)?void 0:e.shadowRoot)?void 0:o.activeElement:document.activeElement;(!this.containingElement||(null==i?void 0:i.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()}))}}handleDocumentMouseDown(t){const e=t.composedPath();this.containingElement&&!e.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(t){!function(t,e,o="vertical",i="smooth"){const r=function(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}(t,e),s=r.top+e.scrollTop,n=r.left+e.scrollLeft,a=e.scrollLeft,l=e.scrollLeft+e.offsetWidth,d=e.scrollTop,c=e.scrollTop+e.offsetHeight;("horizontal"===o||"both"===o)&&(n<a?e.scrollTo({left:n,behavior:i}):n+t.clientWidth>l&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:i})),("vertical"===o||"both"===o)&&(s<d?e.scrollTo({top:s,behavior:i}):s+t.clientHeight>c&&e.scrollTo({top:s-e.offsetHeight+t.clientHeight,behavior:i}))}(t.target,this.panel)}handlePanelSelect(t){const e=t.target;!this.stayOpenOnSelect&&"sd-menu"===e.tagName.toLowerCase()&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(t){if("Escape"===t.key&&this.open)return t.stopPropagation(),this.focusOnTrigger(),void this.hide();if([" ","Enter"].includes(t.key))return t.preventDefault(),void this.handleTriggerClick();const e=this.getMenu();if(e){const o=e.defaultSlot.assignedElements({flatten:!0}),i=o[0],r=o[o.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||this.show(),o.length>0&&requestAnimationFrame((()=>{("ArrowDown"===t.key||"Home"===t.key)&&(e.setCurrentItem(i),i.focus()),("ArrowUp"===t.key||"End"===t.key)&&(e.setCurrentItem(r),r.focus())})))}}handleTriggerKeyUp(t){" "===t.key&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}updateAccessibleTrigger(){const t=this.trigger.assignedElements({flatten:!0}).find((t=>Xo(t).start));let e;if(t){switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":e=t.button;break;default:e=t}e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false")}}async show(){if(!this.open)return this.open=!0,ve(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,ve(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled)this.open=!1;else if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await ce(this),this.panel.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=be(this,"dropdown.show",{dir:this.localize.dir()});await ae(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await ce(this);const{keyframes:t,options:e}=be(this,"dropdown.hide",{dir:this.localize.dir()});await ae(this.popup.popup,t,e),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return pt`<sd-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${fe("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};hr.styles=[te.styles,Yt,z`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],cr([Dt("#dropdown")],hr.prototype,"popup",2),cr([Dt("[part=trigger]")],hr.prototype,"trigger",2),cr([Dt("[part=panel]")],hr.prototype,"panel",2),cr([Lt({type:Boolean,reflect:!0})],hr.prototype,"open",2),cr([Lt({type:Boolean,reflect:!0})],hr.prototype,"rounded",2),cr([Lt({reflect:!0})],hr.prototype,"placement",2),cr([Lt({type:Boolean,reflect:!0})],hr.prototype,"disabled",2),cr([Lt({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],hr.prototype,"stayOpenOnSelect",2),cr([Lt({attribute:!1})],hr.prototype,"containingElement",2),cr([Lt({type:Number})],hr.prototype,"distance",2),cr([Lt({type:Number})],hr.prototype,"skidding",2),cr([Lt({type:Boolean,reflect:!0,attribute:"no-auto-size"})],hr.prototype,"noAutoSize",2),cr([Lt({type:Boolean,reflect:!0,attribute:"no-flip"})],hr.prototype,"noFlip",2),cr([Lt({type:Boolean})],hr.prototype,"hoist",2),cr([Xt("open",{waitUntilFirstUpdate:!0})],hr.prototype,"handleOpenChange",1),hr=cr([zt("sd-dropdown")],hr),ge("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),ge("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const pr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return hr}},Symbol.toStringTag,{value:"Module"})),ur=z`${Yt}:host{display:block}`,mr=Object.freeze(Object.defineProperty({__proto__:null,default:ur},Symbol.toStringTag,{value:"Module"}));var gr=Object.defineProperty,br=Object.getOwnPropertyDescriptor,vr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?br(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&gr(e,o,s),s};let fr=class extends te{constructor(){super(...arguments),this.mode="cors",this.allowScripts=!1}executeScript(t){const e=document.createElement("script");[...t.attributes].forEach((t=>e.setAttribute(t.name,t.value))),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{const t=this.src,e=await Rt(t,this.mode);if(t!==this.src)return;if(!e.ok)return void this.emit("sd-error",{detail:{status:e.status}});this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach((t=>this.executeScript(t))),this.emit("sd-load")}catch{this.emit("sd-error",{detail:{status:-1}})}}render(){return pt`<slot></slot>`}};fr.styles=ur,vr([Lt()],fr.prototype,"src",2),vr([Lt()],fr.prototype,"mode",2),vr([Lt({attribute:"allow-scripts",type:Boolean})],fr.prototype,"allowScripts",2),vr([Xt("src")],fr.prototype,"handleSrcChange",1),fr=vr([zt("sd-include")],fr);const yr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return fr}},Symbol.toStringTag,{value:"Module"})),wr=z`.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--sd-input-label-color);margin-bottom:var(--sd-spacing-3x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--sd-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--sd-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--sd-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--sd-input-required-content);margin-inline-start:var(--sd-input-required-content-offset);color:var(--sd-input-required-content-color)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--sd-input-help-text-color);margin-top:var(--sd-spacing-3x-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--sd-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--sd-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--sd-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text{margin-top:var(--sd-spacing-2x-small)}`;var xr=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,$r=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?kr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&xr(e,o,s),s};const Cr=!(null==(o=navigator.userAgentData)?void 0:o.brands.some((t=>t.brand.includes("Chromium"))))&&navigator.userAgent.includes("Firefox");let Sr=class extends te{constructor(){super(...arguments),this.formControlController=new We(this),this.hasSlotController=new Je(this,"help-text","label","left","right","message","placeholder"),this.localize=new k(this),this.hasFocus=!1,this.type="text",this.size="lg",this.value="",this.defaultValue="",this.placeholder="",this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.name="",this.title="",this.required=!1,this.spellcheck=!0}get valueAsDate(){var t;return(null==(t=this.input)?void 0:t.valueAsDate)??null}set valueAsDate(t){const e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t;return(null==(t=this.input)?void 0:t.valueAsNumber)??parseFloat(this.value)}set valueAsNumber(t){const e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(){this.formControlController.setValidity(!1)}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;"Enter"===t.key&&!e&&setTimeout((()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()}))}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,i){this.input.setRangeText(t,e,o,i),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return null==(t=this.input)?void 0:t.checkValidity()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=(this.hasSlotController.test("description"),this.hasSlotController.test("left")),i=this.hasSlotController.test("right"),r=!!this.label||!!t,s=!!this.helpText||!!e,n=this.clearable&&!this.readonly&&("number"==typeof this.value||this.value.length>0),a=this.required||!!this.pattern||!!this.minlength||!!this.maxlength,l=a&&!this.checkValidity(),d=a&&this.checkValidity(),c=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&l?"activeInvalid":this.hasFocus&&d?"activeValid":this.hasFocus?"active":l?"invalid":d?"valid":"default",h="sm"===this.size?"text-sm":"text-base",p={disabled:"text-neutral-500",readonly:"text-black",activeInvalid:"text-error",activeValid:"text-success",active:"text-black",invalid:"text-error",valid:"text-success",default:"text-black"}[c],u={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[c],m=this.disabled?"text-neutral-500":"text-primary",g={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return pt`<div part="form-control" class="${fe("form-control",r&&"form-control--has-label",this.disabled&&"pointer-events-none")}"><label part="form-control-label" class="${fe("form-control-label mb-2",r?"inline-block":"hidden",h)}" for="input" aria-hidden="${r?"false":"true"}"><slot name="label">${this.label}${this.required?"*":""}</slot></label><div part="form-control-input" class="form-control-input relative w-full"><div part="border" class="${fe("absolute w-full h-full pointer-events-none border rounded-default transition-all",u)}"></div><div part="base" class="${fe("px-4 flex flex-row items-center rounded-default transition-all","lg"===this.size?"py-2":"py-1",this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly&&"bg-neutral-100",l&&"form-control-input--invalid",p,!this.value&&"input--empty",this.noSpinButtons&&"input--no-spin-buttons",Cr&&"input--is-firefox")}">${o?pt`<slot name="left" part="left" class="${fe("inline-flex","sm"===this.size?"mr-1":"mr-2",m,b)}"></slot>`:""} <input part="input" id="input" class="${fe("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700","sm"===this.size?"h-6":"h-8",h)}" type="${"password"===this.type&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${ro(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ro(this.placeholder)}" minlength="${ro(this.minlength)}" maxlength="${ro(this.maxlength)}" min="${ro(this.min)}" max="${ro(this.max)}" step="${ro(this.step)}" .value="${Lo(this.value)}" autocapitalize="${ro("password"===this.type?"off":this.autocapitalize)}" autocomplete="${ro("password"===this.type?"off":this.autocomplete)}" autocorrect="${ro("password"===this.type?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ro(this.pattern)}" enterkeyhint="${ro(this.enterkeyhint)}" inputmode="${ro(this.inputmode)}" aria-describedby="help-text" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${n?pt`<button part="clear-button" class="${fe("flex justify-center ",g)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${fe("text-neutral-500",b)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&"password"===this.type?pt`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?pt`<slot name="show-password-icon"><sd-icon class="${fe(m,g,b)}" library="system" name="eye"></sd-icon></slot>`:pt`<slot name="hide-password-icon"><sd-icon class="${fe(m,g,b)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${"date"!==this.type&&"datetime-local"!==this.type||Cr?"":pt`<sd-icon class="${fe(m,g,b)}" library="system" name="calendar"></sd-icon>`} ${"time"===this.type?pt`<sd-icon class="${fe(m,g,b)}" library="system" name="clock"></sd-icon>`:""} ${l?pt`<sd-icon class="${fe("text-error",g,b)}" library="system" name="risk"></sd-icon>`:""} ${d?pt`<sd-icon class="${fe("text-success",g,b)}" library="system" name="confirm"></sd-icon>`:""} ${i?pt`<slot name="right" part="right" class="${fe("inline-flex",m,g,b)}"></slot>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${fe("text-sm text-neutral-700",s?"block":"hidden")}" aria-hidden="${s?"false":"true"}">${this.helpText}</slot></div>`}};Sr.styles=[Yt,wr,te.styles,z`:host{box-sizing:border-box;position:relative;display:inline-block;text-align:left;width:100%}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}input[type=date]::-webkit-calendar-picker-indicator{display:none}input[type=datetime-local]::-webkit-calendar-picker-indicator{display:none}`],$r([Dt("#input")],Sr.prototype,"input",2),$r([Mt()],Sr.prototype,"hasFocus",2),$r([Lt({reflect:!0})],Sr.prototype,"type",2),$r([Lt({reflect:!0})],Sr.prototype,"size",2),$r([Lt()],Sr.prototype,"inputmode",2),$r([Lt()],Sr.prototype,"value",2),$r([Oo()],Sr.prototype,"defaultValue",2),$r([Lt()],Sr.prototype,"placeholder",2),$r([Lt()],Sr.prototype,"label",2),$r([Lt({attribute:"help-text"})],Sr.prototype,"helpText",2),$r([Lt({type:Boolean})],Sr.prototype,"clearable",2),$r([Lt({type:Boolean,reflect:!0})],Sr.prototype,"disabled",2),$r([Lt({type:Boolean,reflect:!0})],Sr.prototype,"readonly",2),$r([Lt({attribute:"password-toggle",type:Boolean})],Sr.prototype,"passwordToggle",2),$r([Lt({attribute:"password-visible",type:Boolean})],Sr.prototype,"passwordVisible",2),$r([Lt({attribute:"no-spin-buttons",type:Boolean})],Sr.prototype,"noSpinButtons",2),$r([Lt({type:Number})],Sr.prototype,"minlength",2),$r([Lt({type:Number})],Sr.prototype,"maxlength",2),$r([Lt({type:Number})],Sr.prototype,"min",2),$r([Lt({type:Number})],Sr.prototype,"max",2),$r([Lt({reflect:!0})],Sr.prototype,"form",2),$r([Lt()],Sr.prototype,"name",2),$r([Lt()],Sr.prototype,"title",2),$r([Lt({type:Boolean,reflect:!0})],Sr.prototype,"required",2),$r([Lt()],Sr.prototype,"pattern",2),$r([Lt()],Sr.prototype,"step",2),$r([Lt()],Sr.prototype,"autocapitalize",2),$r([Lt()],Sr.prototype,"autocorrect",2),$r([Lt()],Sr.prototype,"autocomplete",2),$r([Lt({type:Boolean})],Sr.prototype,"autofocus",2),$r([Lt()],Sr.prototype,"enterkeyhint",2),$r([Lt({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],Sr.prototype,"spellcheck",2),$r([Xt("disabled",{waitUntilFirstUpdate:!0})],Sr.prototype,"handleDisabledChange",1),$r([Xt("step",{waitUntilFirstUpdate:!0})],Sr.prototype,"handleStepChange",1),$r([Xt("value",{waitUntilFirstUpdate:!0})],Sr.prototype,"handleValueChange",1),Sr=$r([zt("sd-input")],Sr);const _r=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Sr}},Symbol.toStringTag,{value:"Module"}));var Er=Object.defineProperty,Ar=Object.getOwnPropertyDescriptor,Pr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Ar(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Er(e,o,s),s};let zr=class extends te{constructor(){super(...arguments),this.hasSlotController=new Je(this,"[default]","icon-left","icon-right"),this.size="inherit",this.inverted=!1,this.standalone=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return pt`<a part="base" class="${fe("inline",this.href?"cursor-pointer":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline"}[this.href?"enabled":"disabled"],this.standalone&&"flex items-start")}" href="${ro(this.href||void 0)}" target="${ro(this.target||void 0)}" download="${ro(this.download||void 0)}" rel="${ro(this.target?"noreferrer noopener":void 0)}" aria-disabled="${this.href?"false":"true"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${fe("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${fe("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};zr.styles=[te.styles,z`::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:1rem}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:1.5rem}`],Pr([Dt("a")],zr.prototype,"button",2),Pr([Lt({reflect:!0})],zr.prototype,"size",2),Pr([Lt({type:Boolean,reflect:!0})],zr.prototype,"inverted",2),Pr([Lt({type:Boolean,reflect:!0})],zr.prototype,"standalone",2),Pr([Lt()],zr.prototype,"href",2),Pr([Lt()],zr.prototype,"target",2),Pr([Lt()],zr.prototype,"download",2),zr=Pr([zt("sd-link")],zr);const Or=Object.freeze(Object.defineProperty({__proto__:null,get default(){return zr}},Symbol.toStringTag,{value:"Module"}));var Tr=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,Mr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Lr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Tr(e,o,s),s};let Br=class extends te{constructor(){super(...arguments),this.hasSlotController=new Je(this,"[default]","description","children"),this.href="",this.current=!1,this.disabled=!1,this.size="base",this.vertical=!1,this.chevron=!1,this.indented=!1,this.relaxed=!1,this.divider=!1,this.open=!1}isButton(){return!this.href&&!this.hasSlotController.test("children")}isLink(){return!!this.href}isAccordion(){return!this.href&&this.hasSlotController.test("children")}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}render(){const t=this.isLink(),e=this.isButton(),o=this.isAccordion(),i=(this.hasSlotController.test("[default]"),this.hasSlotController.test("main"),this.hasSlotController.test("description")),r=this.hasSlotController.test("children"),s=t?eo`a`:o?eo`summary`:eo`button`,n=this.vertical?"pb-3":"pb-2",a=io`<${s} part="base" class="${fe("hover:bg-neutral-200 group transition-all min-h-[48px] cursor-pointer relative focus-visible:focus-outline",{base:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",o?"flex flex-col":"inline-block w-full",this.divider&&this.vertical&&"mt-[1px]",this.vertical?"px-8":"px-4")}" aria-controls="${ro(o?"navigation-item-details":void 0)}" aria-current="${ro(this.current?"page":void 0)}" aria-disabled="${this.disabled}" ?disabled="${ro(e?this.disabled:void 0)}" href="${ro(this.href||void 0)}" target="${ro(t?this.target:void 0)}" download="${ro(t?this.download:void 0)}" rel="${ro(t&&this.target?"noreferrer noopener":void 0)}" role="${t?"link":"button"}" tabindex="${this.disabled?"-1":"0"}" @click="${o?this.handleClickSummary:e?this.handleClickButton:void 0}"><div class="${fe("absolute w-full left-0 top-0 pointer-events-none transition-all duration-150",this.vertical?"border-l-4 h-[calc(100%-8px)] top-1 group-hover:h-full group-hover:top-0":"border-b-4 h-full",this.current?"border-accent":"border-transparent",this.disabled&&"border-neutral-500")}"></div><span class="${fe("relative pt-3 inline-flex justify-between items-center",o?"grow":"w-full",i?"pb-1":n,this.calculatePaddingX())}">${this.divider&&this.vertical?io`<sd-divider part="divider" class="${fe("w-full transition-all absolute -top-[1px] left-0",this.calculatePaddingX())}"></sd-divider>`:""} <span class="inline-flex items-center flex-auto"><slot part="content" class="inline"></slot></span>${(this.chevron||r)&&this.vertical?io`<sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${fe("h-6 w-6 ml-2 transition-all",o?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${i&&this.vertical?io`<slot name="description" part="description" class="${fe("inline-block text-sm text-left text-black",o?"grow":"w-full",n,this.calculatePaddingX())}"></slot>`:""}</${s}>`;return o?io`<details id="navigation-item-details" ?open="${this.open}" class="relative flex">${a}<slot name="children"></slot></details>`:io`${a}`}};Br.styles=[Yt,te.styles,z`:host{box-sizing:border-box;position:relative;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}`],Mr([Lt({reflect:!0})],Br.prototype,"href",2),Mr([Lt()],Br.prototype,"target",2),Mr([Lt()],Br.prototype,"download",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"current",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"disabled",2),Mr([Lt({reflect:!0})],Br.prototype,"size",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"vertical",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"chevron",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"indented",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"relaxed",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"divider",2),Mr([Lt({type:Boolean,reflect:!0})],Br.prototype,"open",2),Br=Mr([(t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})
96
96
  /**
97
97
  * @license
98
98
  * Copyright 2017 Google LLC
99
99
  * SPDX-License-Identifier: BSD-3-Clause
100
- */("sd-navigation-item")],Ci);const Si=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ci}},Symbol.toStringTag,{value:"Module"})),_i=P`${Xt}:host{display:inline-block}.button-group{display:flex;flex-wrap:nowrap}`;var Ei=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Pi=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Ai(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Ei(e,o,s),s};let zi=class extends Qt{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=Oi(t.target);null==e||e.classList.add("sd-button-group__button--focus")}handleBlur(t){const e=Oi(t.target);null==e||e.classList.remove("sd-button-group__button--focus")}handleMouseOver(t){const e=Oi(t.target);null==e||e.classList.add("sd-button-group__button--hover")}handleMouseOut(t){const e=Oi(t.target);null==e||e.classList.remove("sd-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach((e=>{const o=t.indexOf(e),r=Oi(e);null!==r&&(r.classList.add("sd-button-group__button"),r.classList.toggle("sd-button-group__button--first",0===o),r.classList.toggle("sd-button-group__button--inner",o>0&&o<t.length-1),r.classList.toggle("sd-button-group__button--last",o===t.length-1),r.classList.toggle("sd-button-group__button--radio","sd-radio-button"===r.tagName.toLowerCase()))}))}render(){return ht`<slot part="base" class="button-group" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};function Oi(t){const e="sd-button, sd-radio-button";return t.closest(e)??t.querySelector(e)}zi.styles=_i,Pi([Dt("slot")],zi.prototype,"defaultSlot",2),Pi([Tt()],zi.prototype,"disableRole",2),Pi([Lt()],zi.prototype,"label",2),zi=Pi([Pt("sd-button-group")],zi);var Li=Object.defineProperty,Ti=Object.getOwnPropertyDescriptor,Mi=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Ti(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Li(e,o,s),s};let Di=class extends Qt{constructor(){super(...arguments),this.formControlController=new Ke(this),this.hasSlotController=new Ye(this,"label","error-text"),this.customValidityMessage="",this.hasButtonGroup=!1,this.defaultValue="",this.invalid=!1,this.errorText="",this.label="",this.name="option",this.value="",this.size="lg",this.form="",this.required=!1,this.orientation="vertical"}get validity(){const t=this.required&&!this.value;return""!==this.customValidityMessage?(this.invalid=!0,Xe):t?(this.invalid=!0,Ze):(this.invalid=!1,We)}get validationMessage(){const t=this.required&&!this.value;return""!==this.customValidityMessage?(console.log("this.customValidityMessage",this.customValidityMessage),this.customValidityMessage):t?(console.log("this.validationInput.validationMessage",this.validationInput),this.validationInput.validationMessage):""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){const e=t.target.closest("sd-radio, sd-radio-button"),o=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,o.forEach((t=>t.checked=t===e)),this.value!==r&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const e=this.getAllRadios().filter((t=>!t.disabled)),o=e.find((t=>t.checked))??e[0],r=" "===t.key?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,i=this.value;let s=e.indexOf(o)+r;s<0&&(s=e.length-1),s>e.length-1&&(s=0),this.getAllRadios().forEach((t=>{t.checked=!1,this.hasButtonGroup||(t.tabIndex=-1)})),this.value=e[s].value,e[s].checked=!0,this.hasButtonGroup?e[s].shadowRoot.querySelector("button").focus():(e[s].tabIndex=0,e[s].focus()),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),e=t.find((t=>t.checked))||t[0];e&&e.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map((async t=>{await t.updateComplete,t.checked=t.value===this.value,t.size=this.size,t.invalid=this.invalid}))),this.hasButtonGroup=o.some((t=>"sd-radio-button"===t.tagName.toLowerCase())),!o.some((t=>t.checked)))if(this.hasButtonGroup){const e=null==(t=o[0].shadowRoot)?void 0:t.querySelector("button");e&&(e.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const t=null==(e=this.shadowRoot)?void 0:e.querySelector("sd-button-group");t&&(t.disableRole=!0)}}syncRadios(){customElements.get("sd-radio")&&customElements.get("sd-radio-button")?this.syncRadioElements():(customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then((()=>this.syncRadios())),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then((()=>this.syncRadios())))}updateCheckedRadio(){this.getAllRadios().forEach((t=>t.checked=t.value===this.value)),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){const t=this.required&&!this.value,e=""!==this.customValidityMessage;return!t&&!e||(this.formControlController.emitInvalidEvent(),!1)}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorText=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout((()=>this.validationInput.hidden=!0),1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorText=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("error-text"),o=!!this.label||!!t,r=!!this.errorText||!!e,i=ht`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return ht`<fieldset part="form-control" class="${be("form-control form-control--radio-group border-0 p-0 m-0",o&&"form-control--has-label",r&&"text-error",{sm:"text-sm",lg:"text-base"}[this.size])}" role="radiogroup" aria-labelledby="label" aria-errormessage="error-text"><label part="form-control-label" id="label" class="form-control__label mb-2 hidden p-0 font-bold leading-normal text-black" aria-hidden="${!o}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${be("form-control-input flex",this.invalid&&"form-control-input--invalid text-error",{vertical:"form-control-input--vertical flex-col",horizontal:"form-control-input--horizontal flex-row"}[this.orientation])}"><div class="sr-only"><div id="error-message" aria-live="assertive">${this.errorText}</div><label class="radio-group__validation"><input type="text" class="radio-group__validation-input" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${i}</div></fieldset>`}};Di.dependencies={"sd-button-group":zi},Di.styles=[Xt,Qt.styles,P`:host{display:block}.form-control-input--vertical ::slotted(sd-radio){margin-bottom:8px;display:flex}.form-control-input--vertical ::slotted(sd-radio:last-of-type){margin-bottom:0}.form-control-input--horizontal ::slotted(sd-radio){margin-right:24px}.form-control-input--horizontal ::slotted(sd-radio:last-of-type){margin-right:0}.form-control--has-label .form-control__label{display:flex}:host([required]) .form-control--has-label .form-control__label::after{content:'*';margin-left:2px}`],Mi([Dt("slot:not([name])")],Di.prototype,"defaultSlot",2),Mi([Dt(".radio-group__validation-input")],Di.prototype,"validationInput",2),Mi([Tt()],Di.prototype,"hasButtonGroup",2),Mi([Tt()],Di.prototype,"defaultValue",2),Mi([Tt()],Di.prototype,"invalid",2),Mi([Tt()],Di.prototype,"errorText",2),Mi([Lt()],Di.prototype,"label",2),Mi([Lt()],Di.prototype,"name",2),Mi([Lt({reflect:!0})],Di.prototype,"value",2),Mi([Lt({reflect:!0})],Di.prototype,"size",2),Mi([Lt({reflect:!0})],Di.prototype,"form",2),Mi([Lt({type:Boolean,reflect:!0})],Di.prototype,"required",2),Mi([Lt({reflect:!0})],Di.prototype,"orientation",2),Mi([Zt("size",{waitUntilFirstUpdate:!0})],Di.prototype,"handleSizeChange",1),Mi([Zt("invalid",{waitUntilFirstUpdate:!0})],Di.prototype,"handleInvalidChange",1),Mi([Zt("value")],Di.prototype,"handleValueChange",1),Di=Mi([Pt("sd-radio-group")],Di);const Bi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Di}},Symbol.toStringTag,{value:"Module"}));var ji=Object.defineProperty,Ri=Object.getOwnPropertyDescriptor,Ui=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Ri(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ji(e,o,s),s};let Ii=class extends Qt{constructor(){super(...arguments),this.checked=!1,this.hasFocus=!1,this.size="lg",this.invalid=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return ht`<span part="base" class="${be("sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",this.checked&&"radio--checked",this.disabled&&"hover:cursor-not-allowed",this.hasFocus&&"radio--focused",{sm:"small-size text-sm",lg:"text-base"}[this.size])}"><span part="${this.checked?"control--checked":"control--unchecked"}" class="${be("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",(this.disabled?"border-neutral-500":this.invalid&&"border-error hover:border-error-400 group-hover:border-error-400")||this.checked&&"border-accent hover:border-accent-550 group-hover:border-accent-550"||"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}">${this.checked?ht`<span part="checked" class="${be("rounded-full inline-flex text-white border bg-accent h-2.5 w-2.5",(this.disabled?"bg-neutral-500":this.invalid&&"bg-error hover:bg-error-400 group-hover:bg-error-400")||this.checked&&"bg-accent hover:bg-accent-550 group-hover:bg-accent-550"||"bg-neutral-800")}"></span>`:""}</span><slot part="label" class="${be("label ml-2 select-none inline-block",(this.disabled?"text-neutral-500":this.invalid&&"text-error")||"text-black")}"></slot></span>`}};Ii.styles=[Qt.styles,P`:host{display:block}:host(:focus-visible){outline:0}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline:2px solid #00358e;outline-offset:2px}`],Ui([Tt()],Ii.prototype,"checked",2),Ui([Tt()],Ii.prototype,"hasFocus",2),Ui([Lt({reflect:!0})],Ii.prototype,"size",2),Ui([Lt({type:Boolean,reflect:!0})],Ii.prototype,"invalid",2),Ui([Lt({type:Boolean,reflect:!0})],Ii.prototype,"disabled",2),Ui([Lt()],Ii.prototype,"value",2),Ui([Zt("checked")],Ii.prototype,"handleCheckedChange",1),Ui([Zt("disabled",{waitUntilFirstUpdate:!0})],Ii.prototype,"handleDisabledChange",1),Ii=Ui([Pt("sd-radio")],Ii);const Fi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ii}},Symbol.toStringTag,{value:"Module"}));var Vi=Object.defineProperty,Ni=Object.getOwnPropertyDescriptor,Hi=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Ni(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Vi(e,o,s),s};let qi=class extends Qt{constructor(){super(...arguments),this.size="lg",this.selected=!1,this.removable=!1,this.disabled=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}render(){const t=this.isLink(),e=t?Qe`a`:Qe`button`;return eo`<${e} part="base" type="${oo(t?void 0:"button")}" href="${oo(t?this.href:void 0)}" rel="${oo(t&&this.target?"noreferrer noopener":void 0)}" target="${oo(t?this.target:void 0)}" download="${oo(t?this.download:void 0)}" ?disabled="${oo(t?void 0:this.disabled)}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${be("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":"border-primary text-primary hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500 disabled:border-neutral-500 disabled:text-neutral-500",this.disabled&&!t&&"cursor-not-allowed")}"><slot part="content"></slot><slot part="removable-indicator" name="removable-indicator" class="${be(!this.removable&&"hidden",{lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-icon library="system" name="close" label="remove"></sd-icon></slot></${e}>`}};qi.styles=[Qt.styles,P`:host{display:inline-block}`],Hi([Dt("a, button")],qi.prototype,"tag",2),Hi([Lt({reflect:!0})],qi.prototype,"size",2),Hi([Lt({type:Boolean,reflect:!0})],qi.prototype,"selected",2),Hi([Lt({type:Boolean,reflect:!0})],qi.prototype,"removable",2),Hi([Lt({type:Boolean,reflect:!0})],qi.prototype,"disabled",2),Hi([Lt()],qi.prototype,"href",2),Hi([Lt()],qi.prototype,"target",2),Hi([Lt()],qi.prototype,"download",2),qi=Hi([Pt("sd-tag")],qi);const Ki=Object.freeze(Object.defineProperty({__proto__:null,get default(){return qi}},Symbol.toStringTag,{value:"Module"}));var Wi=Object.defineProperty,Zi=Object.getOwnPropertyDescriptor,Xi=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Zi(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Wi(e,o,s),s};let Yi=class extends Qt{constructor(){super(...arguments),this.variant="white",this.breakpoint=448,this.inset=!1,this.hasSlotController=new Ye(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),0===this.breakpoint?this._orientation="horizontal":9999===this.breakpoint?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.updateOrientation())),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(t){super.updated(t),t.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){const t="white border-neutral-300"===this.variant||this.inset,e=this.hasSlotController.test("[default]"),o=this.hasSlotController.test("media"),r=this.hasSlotController.test("meta");return this.hasSlotController.test("headline"),ht`<div class="${be("flex",{white:"bg-white","white border-neutral-300":"bg-white border border-neutral-300","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],"vertical"===this._orientation&&"flex-col","horizontal"===this._orientation&&"flex-row gap-8","horizontal"===this._orientation&&t&&"py-8 px-10")}" part="base"><div style="${"horizontal"===this._orientation?"width: var(--distribution-media, 100%);":""}" class="${be(!t&&"vertical"===this._orientation&&"mb-4",!o&&"hidden")}" part="media"><slot name="media"></slot></div><div style="${"horizontal"===this._orientation?"width: var(--distribution-content, 100%); "+(t?"width: var(--distribution-content, calc(100% - 2rem));":""):""}" class="${be("flex flex-col text-left","horizontal"===this._orientation&&"flex flex-col","vertical"===this._orientation&&t&&"m-4")}" part="content"><div part="meta" class="${be("gap-2 mb-4",!r&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="${be("text-lg font-bold m-0","primary"===this.variant?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="main" class="${be(!e&&"hidden")}"><slot></slot></div></div></div>`}};Yi.styles=[Qt.styles,P`:host{display:block}::slotted(*){margin:0}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:0!important}`],Xi([Lt({reflect:!0})],Yi.prototype,"variant",2),Xi([Lt({reflect:!0,type:Number})],Yi.prototype,"breakpoint",2),Xi([Lt({type:Boolean,reflect:!0})],Yi.prototype,"inset",2),Xi([Dt('[part="base"]')],Yi.prototype,"teaser",2),Xi([Tt()],Yi.prototype,"_orientation",2),Yi=Xi([Pt("sd-teaser")],Yi);const Gi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Yi}},Symbol.toStringTag,{value:"Module"}));var Ji=Object.defineProperty,Qi=Object.getOwnPropertyDescriptor,ts=(t,e,o,r)=>{for(var i,s=r>1?void 0:r?Qi(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Ji(e,o,s),s};let es=class extends Qt{constructor(){super(...arguments),this.playing=!1,this.overlay=!1,this.isBelowBreakpoint=!1,this.hasSlotController=new Ye(this,"[default]","play-icon","poster")}get poster(){const t=this.shadowRoot.querySelector("slot[name=poster]");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}fadeoutPoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0")}hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.display="none")}play(){this.emit("sd-play"),this.playing=!0,this.fadeoutPoster()}handleKeydown(t){t instanceof KeyboardEvent&&("Enter"===t.key||" "===t.key)&&(this.play(),setTimeout((()=>{var t;null==(t=this.querySelector("video"))||t.focus()})))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.handleButtonResize())),this.updateComplete.then((()=>{this.resizeObserver.observe(this.hostEl)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return ht`<div part="base" aria-label="Video Player" class="cursor-pointer"><button part="play-button" aria-label="Play video" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${be(this.playing&&"pointer-events-none","w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${be(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition")}"><slot name="play-icon" part="play-icon" class="${be(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="system" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?ht`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>`:null}<div part="overlay" id="overlay" role="presentation" class="${be(this.overlay&&!this.playing?"opacity-100":"opacity-0","bg-[rgba(0,0,0,0.65)] w-full h-full absolute top-0 left-0 pointer-events-none z-20 play-pause-transition")}"></div><slot></slot></div>`}};es.styles=[Qt.styles,P`:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){transition:opacity .3s}::slotted([slot=poster]){position:absolute;left:0;top:0;width:100%;z-index:10}#default-play-icon,::slotted([slot=play-icon]){position:absolute;left:50%;top:50%;translate:-50% -50%}`],ts([Dt("[part=base]")],es.prototype,"hostEl",2),ts([Lt({type:Boolean,reflect:!0})],es.prototype,"playing",2),ts([Lt({type:Boolean,reflect:!0})],es.prototype,"overlay",2),ts([Lt({type:Boolean})],es.prototype,"isBelowBreakpoint",2),es=ts([Pt("sd-video")],es);const os=Object.freeze(Object.defineProperty({__proto__:null,get default(){return es}},Symbol.toStringTag,{value:"Module"}));t.LocalizeController=x,t.registerIconLibrary=c,t.unregisterIconLibrary=h,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})},"object"==typeof exports&&typeof module<"u"?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=typeof globalThis<"u"?globalThis:t||self)["Solid Components"]={});
100
+ */("sd-navigation-item")],Br);const Dr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Br}},Symbol.toStringTag,{value:"Module"})),jr=z`${Yt}:host{display:inline-block}.button-group{display:flex;flex-wrap:nowrap}`;var Ur=Object.defineProperty,Rr=Object.getOwnPropertyDescriptor,Vr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Rr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Ur(e,o,s),s};let Fr=class extends te{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=Ir(t.target);null==e||e.classList.add("sd-button-group__button--focus")}handleBlur(t){const e=Ir(t.target);null==e||e.classList.remove("sd-button-group__button--focus")}handleMouseOver(t){const e=Ir(t.target);null==e||e.classList.add("sd-button-group__button--hover")}handleMouseOut(t){const e=Ir(t.target);null==e||e.classList.remove("sd-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach((e=>{const o=t.indexOf(e),i=Ir(e);null!==i&&(i.classList.add("sd-button-group__button"),i.classList.toggle("sd-button-group__button--first",0===o),i.classList.toggle("sd-button-group__button--inner",o>0&&o<t.length-1),i.classList.toggle("sd-button-group__button--last",o===t.length-1),i.classList.toggle("sd-button-group__button--radio","sd-radio-button"===i.tagName.toLowerCase()))}))}render(){return pt`<slot part="base" class="button-group" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};function Ir(t){const e="sd-button, sd-radio-button";return t.closest(e)??t.querySelector(e)}Fr.styles=jr,Vr([Dt("slot")],Fr.prototype,"defaultSlot",2),Vr([Mt()],Fr.prototype,"disableRole",2),Vr([Lt()],Fr.prototype,"label",2),Fr=Vr([zt("sd-button-group")],Fr);var Nr=Object.defineProperty,Hr=Object.getOwnPropertyDescriptor,qr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Hr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Nr(e,o,s),s};let Kr=class extends te{constructor(){super(...arguments),this.formControlController=new We(this),this.hasSlotController=new Je(this,"label","error-text"),this.customValidityMessage="",this.hasButtonGroup=!1,this.defaultValue="",this.invalid=!1,this.errorText="",this.label="",this.name="option",this.value="",this.size="lg",this.form="",this.required=!1,this.orientation="vertical"}get validity(){const t=this.required&&!this.value;return""!==this.customValidityMessage?(this.invalid=!0,Ge):t?(this.invalid=!0,Ye):(this.invalid=!1,Xe)}get validationMessage(){const t=this.required&&!this.value;return""!==this.customValidityMessage?(console.log("this.customValidityMessage",this.customValidityMessage),this.customValidityMessage):t?(console.log("this.validationInput.validationMessage",this.validationInput),this.validationInput.validationMessage):""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){const e=t.target.closest("sd-radio, sd-radio-button"),o=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,o.forEach((t=>t.checked=t===e)),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const e=this.getAllRadios().filter((t=>!t.disabled)),o=e.find((t=>t.checked))??e[0],i=" "===t.key?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,r=this.value;let s=e.indexOf(o)+i;s<0&&(s=e.length-1),s>e.length-1&&(s=0),this.getAllRadios().forEach((t=>{t.checked=!1,this.hasButtonGroup||(t.tabIndex=-1)})),this.value=e[s].value,e[s].checked=!0,this.hasButtonGroup?e[s].shadowRoot.querySelector("button").focus():(e[s].tabIndex=0,e[s].focus()),this.value!==r&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),e=t.find((t=>t.checked))||t[0];e&&e.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map((async t=>{await t.updateComplete,t.checked=t.value===this.value,t.size=this.size,t.invalid=this.invalid}))),this.hasButtonGroup=o.some((t=>"sd-radio-button"===t.tagName.toLowerCase())),!o.some((t=>t.checked)))if(this.hasButtonGroup){const e=null==(t=o[0].shadowRoot)?void 0:t.querySelector("button");e&&(e.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const t=null==(e=this.shadowRoot)?void 0:e.querySelector("sd-button-group");t&&(t.disableRole=!0)}}syncRadios(){customElements.get("sd-radio")&&customElements.get("sd-radio-button")?this.syncRadioElements():(customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then((()=>this.syncRadios())),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then((()=>this.syncRadios())))}updateCheckedRadio(){this.getAllRadios().forEach((t=>t.checked=t.value===this.value)),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){const t=this.required&&!this.value,e=""!==this.customValidityMessage;return!t&&!e||(this.formControlController.emitInvalidEvent(),!1)}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorText=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout((()=>this.validationInput.hidden=!0),1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorText=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("error-text"),o=!!this.label||!!t,i=!!this.errorText||!!e,r=pt`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return pt`<fieldset part="form-control" class="${fe("border-0 p-0 m-0",i&&"text-error",{sm:"text-sm",lg:"text-base"}[this.size])}" role="radiogroup" aria-labelledby="label" aria-errormessage="error-text"><label part="form-control-label" id="label" class="${fe("mb-2 p-0 font-bold leading-normal text-black",o?"has-label flex":"hidden")}" aria-hidden="${!o}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${fe("form-control-input flex",this.invalid&&"form-control-input--invalid text-error",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><div id="error-message" aria-live="assertive">${this.errorText}</div><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${r}</div></fieldset>`}};Kr.dependencies={"sd-button-group":Fr},Kr.styles=[Yt,te.styles,z`:host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:8px;display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:24px}:host([size=sm]):host([orientation=horizontal]) ::slotted(sd-radio){margin-right:16px}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:0}:host([required]) #label.has-label::after{content:'*';margin-left:2px}`],qr([Dt("slot:not([name])")],Kr.prototype,"defaultSlot",2),qr([Dt("#validation-input")],Kr.prototype,"validationInput",2),qr([Mt()],Kr.prototype,"hasButtonGroup",2),qr([Mt()],Kr.prototype,"defaultValue",2),qr([Mt()],Kr.prototype,"invalid",2),qr([Mt()],Kr.prototype,"errorText",2),qr([Lt()],Kr.prototype,"label",2),qr([Lt()],Kr.prototype,"name",2),qr([Lt({reflect:!0})],Kr.prototype,"value",2),qr([Lt({reflect:!0})],Kr.prototype,"size",2),qr([Lt({reflect:!0})],Kr.prototype,"form",2),qr([Lt({type:Boolean,reflect:!0})],Kr.prototype,"required",2),qr([Lt({reflect:!0})],Kr.prototype,"orientation",2),qr([Xt("size",{waitUntilFirstUpdate:!0})],Kr.prototype,"handleSizeChange",1),qr([Xt("invalid",{waitUntilFirstUpdate:!0})],Kr.prototype,"handleInvalidChange",1),qr([Xt("value")],Kr.prototype,"handleValueChange",1),Kr=qr([zt("sd-radio-group")],Kr);const Zr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Kr}},Symbol.toStringTag,{value:"Module"}));var Wr=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,Yr=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?Xr(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Wr(e,o,s),s};let Gr=class extends te{constructor(){super(...arguments),this.checked=!1,this.hasFocus=!1,this.size="lg",this.invalid=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return pt`<span part="base" class="${fe("sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",this.disabled&&"hover:cursor-not-allowed",{sm:"small-size text-sm",lg:"text-base"}[this.size])}"><span part="${this.checked?"control--checked":"control--unchecked"}" class="${fe("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",(this.disabled?"border-neutral-500":this.invalid&&"border-error hover:border-error-400 group-hover:border-error-400")||this.checked&&"border-accent hover:border-accent-550 group-hover:border-accent-550"||"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}">${this.checked?pt`<span part="checked" class="${fe("rounded-full inline-flex text-white border bg-accent h-2.5 w-2.5",(this.disabled?"bg-neutral-500":this.invalid&&"bg-error hover:bg-error-400 group-hover:bg-error-400")||this.checked&&"bg-accent hover:bg-accent-550 group-hover:bg-accent-550"||"bg-neutral-800")}"></span>`:""}</span><slot part="label" class="${fe("ml-2 select-none inline-block",(this.disabled?"text-neutral-500":this.invalid&&"text-error")||"text-black")}"></slot></span>`}};Gr.styles=[te.styles,z`:host{display:block}:host(:focus-visible){outline:0}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline:2px solid #00358e;outline-offset:2px}`],Yr([Mt()],Gr.prototype,"checked",2),Yr([Mt()],Gr.prototype,"hasFocus",2),Yr([Lt({reflect:!0})],Gr.prototype,"size",2),Yr([Lt({type:Boolean,reflect:!0})],Gr.prototype,"invalid",2),Yr([Lt({type:Boolean,reflect:!0})],Gr.prototype,"disabled",2),Yr([Lt()],Gr.prototype,"value",2),Yr([Xt("checked")],Gr.prototype,"handleCheckedChange",1),Yr([Xt("disabled",{waitUntilFirstUpdate:!0})],Gr.prototype,"handleDisabledChange",1),Gr=Yr([zt("sd-radio")],Gr);const Jr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Gr}},Symbol.toStringTag,{value:"Module"}));var Qr=Object.defineProperty,ts=Object.getOwnPropertyDescriptor,es=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?ts(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&Qr(e,o,s),s};let os=class extends te{constructor(){super(...arguments),this.size="lg",this.selected=!1,this.removable=!1,this.disabled=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}render(){const t=this.isLink(),e=t?eo`a`:eo`button`;return io`<${e} part="base" type="${ro(t?void 0:"button")}" href="${ro(t?this.href:void 0)}" rel="${ro(t&&this.target?"noreferrer noopener":void 0)}" target="${ro(t?this.target:void 0)}" download="${ro(t?this.download:void 0)}" ?disabled="${ro(t?void 0:this.disabled)}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${fe("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":"border-primary text-primary hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500 disabled:border-neutral-500 disabled:text-neutral-500",this.disabled&&!t&&"cursor-not-allowed")}"><slot part="content"></slot><slot part="removable-indicator" name="removable-indicator" class="${fe(!this.removable&&"hidden",{lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-icon library="system" name="close" label="remove"></sd-icon></slot></${e}>`}};os.styles=[te.styles,z`:host{display:inline-block}`],es([Dt("a, button")],os.prototype,"tag",2),es([Lt({reflect:!0})],os.prototype,"size",2),es([Lt({type:Boolean,reflect:!0})],os.prototype,"selected",2),es([Lt({type:Boolean,reflect:!0})],os.prototype,"removable",2),es([Lt({type:Boolean,reflect:!0})],os.prototype,"disabled",2),es([Lt()],os.prototype,"href",2),es([Lt()],os.prototype,"target",2),es([Lt()],os.prototype,"download",2),os=es([zt("sd-tag")],os);const is=Object.freeze(Object.defineProperty({__proto__:null,get default(){return os}},Symbol.toStringTag,{value:"Module"}));var rs=Object.defineProperty,ss=Object.getOwnPropertyDescriptor,ns=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?ss(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&rs(e,o,s),s};let as=class extends te{constructor(){super(...arguments),this.variant="white",this.breakpoint=448,this.inset=!1,this.hasSlotController=new Je(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),0===this.breakpoint?this._orientation="horizontal":9999===this.breakpoint?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.updateOrientation())),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(t){super.updated(t),t.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){const t="white border-neutral-300"===this.variant||this.inset,e=this.hasSlotController.test("[default]"),o=this.hasSlotController.test("media"),i=this.hasSlotController.test("meta");return this.hasSlotController.test("headline"),pt`<div class="${fe("flex",{white:"bg-white","white border-neutral-300":"bg-white border border-neutral-300","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],"vertical"===this._orientation&&"flex-col","horizontal"===this._orientation&&"flex-row gap-8","horizontal"===this._orientation&&t&&"py-8 px-10")}" part="base"><div style="${"horizontal"===this._orientation?"width: var(--distribution-media, 100%);":""}" class="${fe(!t&&"vertical"===this._orientation&&"mb-4",!o&&"hidden")}" part="media"><slot name="media"></slot></div><div style="${"horizontal"===this._orientation?"width: var(--distribution-content, 100%); "+(t?"width: var(--distribution-content, calc(100% - 2rem));":""):""}" class="${fe("flex flex-col text-left","horizontal"===this._orientation&&"flex flex-col","vertical"===this._orientation&&t&&"m-4")}" part="content"><div part="meta" class="${fe("gap-2 mb-4",!i&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="${fe("text-lg font-bold m-0","primary"===this.variant?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="main" class="${fe(!e&&"hidden")}"><slot></slot></div></div></div>`}};as.styles=[te.styles,z`:host{display:block}::slotted(*){margin:0}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:0!important}`],ns([Lt({reflect:!0})],as.prototype,"variant",2),ns([Lt({reflect:!0,type:Number})],as.prototype,"breakpoint",2),ns([Lt({type:Boolean,reflect:!0})],as.prototype,"inset",2),ns([Dt('[part="base"]')],as.prototype,"teaser",2),ns([Mt()],as.prototype,"_orientation",2),as=ns([zt("sd-teaser")],as);const ls=Object.freeze(Object.defineProperty({__proto__:null,get default(){return as}},Symbol.toStringTag,{value:"Module"}));var ds=Object.defineProperty,cs=Object.getOwnPropertyDescriptor,hs=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?cs(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&ds(e,o,s),s};let ps=class extends te{constructor(){super(...arguments),this.localize=new k(this),this.content="",this.placement="top",this.size="lg",this.disabled=!1,this.open=!1,this.trigger="click focus",this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),this.updateComplete.then((()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}))}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut)}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){this.hasTrigger("click")&&(this.open?this.hide():this.show())}handleFocus(){this.hasTrigger("focus")&&this.show()}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){const t=le(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.show()),t)}}handleMouseOut(){if(this.hasTrigger("hover")){const t=le(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.hide()),t)}}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await ce(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=be(this,"tooltip.show",{dir:this.localize.dir()});await ae(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),await ce(this.body);const{keyframes:t,options:e}=be(this,"tooltip.hide",{dir:this.localize.dir()});await ae(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,ve(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,ve(this,"sd-after-hide")}render(){const t=this.placement.endsWith("-start"),e=this.placement.endsWith("-end");return pt`<sd-popup part="base" exportparts="
101
+ popup:base__popup,
102
+ arrow:base__arrow
103
+ " class="${fe(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":e?"end":"default"]*("sm"===this.size?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" aria-describedby="tooltip" class="${fe("lg"===this.size?"text-xl":"text-base")}"><button class="flex sd-interactive rounded-full"><sd-icon library="system" name="info-circle" class="${fe(this.disabled&&"sd-interactive--disabled")}"></sd-icon></button></slot><slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="Tooltip" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-popup>`}};ps.styles=[te.styles,P(wo),z`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-popup{--arrow-color:rgb(var(--sd-color-primary, 0 53 142) / 1);--arrow-size:10px}sd-popup::part(popup){pointer-events:none;z-index:10;box-shadow:0 1px 3px 0 rgb(81 81 81 / 75%)}sd-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup[placement^=top]::part(popup){transform-origin:bottom}sd-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],hs([Dt("slot:not([name])")],ps.prototype,"defaultSlot",2),hs([Dt("#tooltip")],ps.prototype,"body",2),hs([Dt("sd-popup")],ps.prototype,"popup",2),hs([Lt()],ps.prototype,"content",2),hs([Lt({reflect:!0})],ps.prototype,"placement",2),hs([Lt()],ps.prototype,"size",2),hs([Lt({type:Boolean,reflect:!0})],ps.prototype,"disabled",2),hs([Lt({type:Boolean,reflect:!0})],ps.prototype,"open",2),hs([Lt()],ps.prototype,"trigger",2),hs([Lt({type:Boolean})],ps.prototype,"hoist",2),hs([Xt("open",{waitUntilFirstUpdate:!0})],ps.prototype,"handleOpenChange",1),hs([Xt(["content","hoist","placement"])],ps.prototype,"handleOptionsChange",1),hs([Xt("disabled")],ps.prototype,"handleDisabledChange",1),ps=hs([zt("sd-tooltip")],ps),ge("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),ge("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}});const us=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ps}},Symbol.toStringTag,{value:"Module"}));var ms=Object.defineProperty,gs=Object.getOwnPropertyDescriptor,bs=(t,e,o,i)=>{for(var r,s=i>1?void 0:i?gs(e,o):e,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(e,o,s):r(s))||s);return i&&s&&ms(e,o,s),s};let vs=class extends te{constructor(){super(...arguments),this.playing=!1,this.overlay=!1,this.isBelowBreakpoint=!1,this.hasSlotController=new Je(this,"[default]","play-icon","poster")}get poster(){const t=this.shadowRoot.querySelector("slot[name=poster]");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}fadeoutPoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0")}hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.display="none")}play(){this.emit("sd-play"),this.playing=!0,this.fadeoutPoster()}handleKeydown(t){t instanceof KeyboardEvent&&("Enter"===t.key||" "===t.key)&&(this.play(),setTimeout((()=>{var t;null==(t=this.querySelector("video"))||t.focus()})))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.handleButtonResize())),this.updateComplete.then((()=>{this.resizeObserver.observe(this.hostEl)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return pt`<div part="base" aria-label="Video Player" class="cursor-pointer"><button part="play-button" aria-label="Play video" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${fe(this.playing&&"pointer-events-none","w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${fe(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition")}"><slot name="play-icon" part="play-icon" class="${fe(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="system" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?pt`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>`:null}<div part="overlay" id="overlay" role="presentation" class="${fe(this.overlay&&!this.playing?"opacity-100":"opacity-0","bg-[rgba(0,0,0,0.65)] w-full h-full absolute top-0 left-0 pointer-events-none z-20 play-pause-transition")}"></div><slot></slot></div>`}};vs.styles=[te.styles,z`:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){transition:opacity .3s}::slotted([slot=poster]){position:absolute;left:0;top:0;width:100%;z-index:10}#default-play-icon,::slotted([slot=play-icon]){position:absolute;left:50%;top:50%;translate:-50% -50%}`],bs([Dt("[part=base]")],vs.prototype,"hostEl",2),bs([Lt({type:Boolean,reflect:!0})],vs.prototype,"playing",2),bs([Lt({type:Boolean,reflect:!0})],vs.prototype,"overlay",2),bs([Lt({type:Boolean})],vs.prototype,"isBelowBreakpoint",2),vs=bs([zt("sd-video")],vs);const fs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return vs}},Symbol.toStringTag,{value:"Module"}));t.LocalizeController=k,t.registerIconLibrary=h,t.unregisterIconLibrary=p,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})},"object"==typeof exports&&typeof module<"u"?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=typeof globalThis<"u"?globalThis:t||self)["Solid Components"]={});