@mozaic-ds/web-components 1.6.0 → 1.7.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 (191) hide show
  1. package/dist/Condition20.js +1 -1
  2. package/dist/attributes.js +1 -1
  3. package/dist/branches.js +1 -1
  4. package/dist/branches.js.map +1 -1
  5. package/dist/bundle.d.ts +2 -0
  6. package/dist/bundle.d.ts.map +1 -1
  7. package/dist/bundle.js +2 -0
  8. package/dist/components/accordionlist/AccordionList.js +2 -2
  9. package/dist/components/accordionlistItem/AccordionListItem.js +2 -2
  10. package/dist/components/actionbottombar/ActionBottomBar.js +2 -2
  11. package/dist/components/actionlistbox/ActionListbox.js +2 -2
  12. package/dist/components/actionlistbox/ActionListbox.svelte +1 -1
  13. package/dist/components/actionlistboxitem/ActionListboxItem.js +1 -1
  14. package/dist/components/avatar/Avatar.js +1 -1
  15. package/dist/components/breadcrumb/Breadcrumb.js +2 -2
  16. package/dist/components/builtinmenu/BuiltInMenu.js +2 -2
  17. package/dist/components/builtinmenuitem/BuiltInMenuItem.js +2 -2
  18. package/dist/components/button/Button.js +1 -1
  19. package/dist/components/callout/Callout.js +2 -2
  20. package/dist/components/carousel/Carousel.js +2 -2
  21. package/dist/components/checkbox/Checkbox.js +1 -1
  22. package/dist/components/checkboxgroup/CheckboxGroup.js +1 -1
  23. package/dist/components/checklistmenu/CheckListMenu.js +1 -1
  24. package/dist/components/circularprogressbar/CircularProgressbar.js +2 -2
  25. package/dist/components/combobox/Combobox.js +4 -0
  26. package/dist/components/combobox/Combobox.js.map +1 -0
  27. package/dist/components/combobox/Combobox.spec.js +186 -0
  28. package/dist/components/combobox/Combobox.stories.d.ts +17 -0
  29. package/dist/components/combobox/Combobox.stories.d.ts.map +1 -0
  30. package/dist/components/combobox/Combobox.stories.js +126 -0
  31. package/dist/components/combobox/Combobox.svelte +415 -0
  32. package/dist/components/combobox/Combobox.svelte.d.ts +99 -0
  33. package/dist/components/combobox/Combobox.svelte.d.ts.map +1 -0
  34. package/dist/components/combobox/README.md +38 -0
  35. package/dist/components/container/Container.js +2 -2
  36. package/dist/components/datepicker/Datepicker.js +3 -3
  37. package/dist/components/datepicker/Datepicker.js.map +1 -1
  38. package/dist/components/datepicker/Datepicker.svelte +2 -1
  39. package/dist/components/divider/Divider.js +1 -1
  40. package/dist/components/drawer/Drawer.js +4 -4
  41. package/dist/components/drawer/Drawer.svelte +2 -1
  42. package/dist/components/field/Field.js +1 -1
  43. package/dist/components/fileuploader/FileUploader.js +2 -2
  44. package/dist/components/fileuploader/FileUploader.js.map +1 -1
  45. package/dist/components/fileuploader/FileUploader.svelte +1 -4
  46. package/dist/components/fileuploaderitem/FileUploaderItem.js +3 -3
  47. package/dist/components/fileuploaderitem/FileUploaderItem.svelte +1 -4
  48. package/dist/components/flag/Flag.js +2 -2
  49. package/dist/components/iconbutton/IconButton.js +2 -2
  50. package/dist/components/kpiitem/KpiItem.js +1 -1
  51. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js +2 -2
  52. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js +2 -2
  53. package/dist/components/link/Link.js +1 -1
  54. package/dist/components/loader/Loader.js +2 -2
  55. package/dist/components/loadingoverlay/LoadingOverlay.js +2 -2
  56. package/dist/components/loadingoverlay/LoadingOverlay.svelte +1 -1
  57. package/dist/components/modal/Modal.js +4 -4
  58. package/dist/components/modal/Modal.js.map +1 -1
  59. package/dist/components/modal/Modal.spec.js +3 -1
  60. package/dist/components/modal/Modal.svelte +9 -3
  61. package/dist/components/modal/Modal.svelte.d.ts +4 -0
  62. package/dist/components/modal/Modal.svelte.d.ts.map +1 -1
  63. package/dist/components/modal/README.md +1 -0
  64. package/dist/components/navigationindicator/NavigationIndicator.js +2 -2
  65. package/dist/components/numberbadge/NumberBadge.js +2 -2
  66. package/dist/components/optionlistbox/OptionListbox.js +23 -0
  67. package/dist/components/optionlistbox/OptionListbox.js.map +1 -0
  68. package/dist/components/optionlistbox/OptionListbox.spec.js +350 -0
  69. package/dist/components/optionlistbox/OptionListbox.svelte +566 -0
  70. package/dist/components/optionlistbox/OptionListbox.svelte.d.ts +92 -0
  71. package/dist/components/optionlistbox/OptionListbox.svelte.d.ts.map +1 -0
  72. package/dist/components/optionlistbox/README.md +38 -0
  73. package/dist/components/overlay/Overlay.js +2 -2
  74. package/dist/components/overlay/Overlay.svelte +2 -2
  75. package/dist/components/pageheader/PageHeader.js +1 -1
  76. package/dist/components/pagination/Pagination.js +4 -4
  77. package/dist/components/passwordinput/PasswordInput.js +3 -3
  78. package/dist/components/passwordinput/PasswordInput.js.map +1 -1
  79. package/dist/components/passwordinput/PasswordInput.svelte +2 -1
  80. package/dist/components/phonenumber/PhoneNumber.js +4 -4
  81. package/dist/components/phonenumber/PhoneNumber.js.map +1 -1
  82. package/dist/components/phonenumber/PhoneNumber.svelte +3 -2
  83. package/dist/components/pincode/Pincode.js +2 -2
  84. package/dist/components/popover/Popover.js +1 -1
  85. package/dist/components/quantityselector/QuantitySelector.js +2 -2
  86. package/dist/components/quantityselector/QuantitySelector.svelte +1 -1
  87. package/dist/components/radio/Radio.js +2 -2
  88. package/dist/components/radiogroup/RadioGroup.js +2 -2
  89. package/dist/components/segmentedcontrol/README.md +6 -3
  90. package/dist/components/segmentedcontrol/SegmentedControl.js +2 -2
  91. package/dist/components/segmentedcontrol/SegmentedControl.js.map +1 -1
  92. package/dist/components/segmentedcontrol/SegmentedControl.spec.js +60 -23
  93. package/dist/components/segmentedcontrol/SegmentedControl.stories.d.ts.map +1 -1
  94. package/dist/components/segmentedcontrol/SegmentedControl.stories.js +6 -1
  95. package/dist/components/segmentedcontrol/SegmentedControl.svelte +23 -10
  96. package/dist/components/segmentedcontrol/SegmentedControl.svelte.d.ts +10 -3
  97. package/dist/components/segmentedcontrol/SegmentedControl.svelte.d.ts.map +1 -1
  98. package/dist/components/select/Select.js +1 -1
  99. package/dist/components/sidebar/Sidebar.js +1 -1
  100. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.js +2 -2
  101. package/dist/components/sidebarfooter/SidebarFooter.js +1 -1
  102. package/dist/components/sidebarfooter/_SidebarFooterMenu.js +2 -2
  103. package/dist/components/sidebarheader/SidebarHeader.js +1 -1
  104. package/dist/components/sidebarnavitem/SidebarNavItem.js +2 -2
  105. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.js +1 -1
  106. package/dist/components/sidebarshortcuts/SidebarShortcuts.js +2 -2
  107. package/dist/components/starrating/StarRating.js +2 -2
  108. package/dist/components/statusbadge/StatusBadge.js +2 -2
  109. package/dist/components/statusdot/StatusDot.js +2 -2
  110. package/dist/components/statusmessage/StatusMessage.js +2 -2
  111. package/dist/components/statusmessage/StatusMessage.js.map +1 -1
  112. package/dist/components/statusmessage/StatusMessage.svelte +5 -0
  113. package/dist/components/statusnotification/StatusNotification.js +2 -2
  114. package/dist/components/statusnotification/StatusNotification.js.map +1 -1
  115. package/dist/components/statusnotification/StatusNotification.svelte +5 -0
  116. package/dist/components/stepperbottombar/StepperBottomBar.js +1 -1
  117. package/dist/components/steppercompact/StepperCompact.js +2 -2
  118. package/dist/components/stepperinline/README.md +6 -2
  119. package/dist/components/stepperinline/StepperInline.js +2 -2
  120. package/dist/components/stepperinline/StepperInline.js.map +1 -1
  121. package/dist/components/stepperinline/StepperInline.spec.js +57 -23
  122. package/dist/components/stepperinline/StepperInline.stories.d.ts.map +1 -1
  123. package/dist/components/stepperinline/StepperInline.stories.js +6 -11
  124. package/dist/components/stepperinline/StepperInline.svelte +23 -10
  125. package/dist/components/stepperinline/StepperInline.svelte.d.ts +10 -2
  126. package/dist/components/stepperinline/StepperInline.svelte.d.ts.map +1 -1
  127. package/dist/components/stepperstacked/README.md +15 -0
  128. package/dist/components/stepperstacked/StepperStacked.js +18 -0
  129. package/dist/components/stepperstacked/StepperStacked.js.map +1 -0
  130. package/dist/components/stepperstacked/StepperStacked.spec.js +138 -0
  131. package/dist/components/stepperstacked/StepperStacked.stories.d.ts +8 -0
  132. package/dist/components/stepperstacked/StepperStacked.stories.d.ts.map +1 -0
  133. package/dist/components/stepperstacked/StepperStacked.stories.js +33 -0
  134. package/dist/components/stepperstacked/StepperStacked.svelte +214 -0
  135. package/dist/components/stepperstacked/StepperStacked.svelte.d.ts +35 -0
  136. package/dist/components/stepperstacked/StepperStacked.svelte.d.ts.map +1 -0
  137. package/dist/components/tab/README.md +1 -0
  138. package/dist/components/tab/Tab.js +2 -2
  139. package/dist/components/tab/Tab.js.map +1 -1
  140. package/dist/components/tab/Tab.svelte +17 -1
  141. package/dist/components/tab/Tab.svelte.d.ts +4 -0
  142. package/dist/components/tab/Tab.svelte.d.ts.map +1 -1
  143. package/dist/components/tabs/Tabs.js +1 -1
  144. package/dist/components/tabs/Tabs.stories.d.ts +1 -0
  145. package/dist/components/tabs/Tabs.stories.d.ts.map +1 -1
  146. package/dist/components/tabs/Tabs.stories.js +10 -0
  147. package/dist/components/tag/README.md +1 -0
  148. package/dist/components/tag/Tag.js +2 -2
  149. package/dist/components/tag/Tag.js.map +1 -1
  150. package/dist/components/tag/Tag.svelte +7 -0
  151. package/dist/components/tag/Tag.svelte.d.ts +4 -0
  152. package/dist/components/tag/Tag.svelte.d.ts.map +1 -1
  153. package/dist/components/textarea/Textarea.js +2 -2
  154. package/dist/components/textarea/Textarea.js.map +1 -1
  155. package/dist/components/textarea/Textarea.svelte +1 -0
  156. package/dist/components/textinput/README.md +1 -0
  157. package/dist/components/textinput/Textinput.js +4 -4
  158. package/dist/components/textinput/Textinput.js.map +1 -1
  159. package/dist/components/textinput/Textinput.stories.d.ts.map +1 -1
  160. package/dist/components/textinput/Textinput.stories.js +1 -0
  161. package/dist/components/textinput/Textinput.svelte +5 -1
  162. package/dist/components/textinput/Textinput.svelte.d.ts +2 -1
  163. package/dist/components/textinput/Textinput.svelte.d.ts.map +1 -1
  164. package/dist/components/tile/Tile.js +1 -1
  165. package/dist/components/tileclickable/TileClickable.js +1 -1
  166. package/dist/components/tileexpandable/TileExpandable.js +1 -1
  167. package/dist/components/tileselectable/TileSelectable.js +2 -2
  168. package/dist/components/toaster/Toaster.js +3 -3
  169. package/dist/components/toaster/Toaster.js.map +1 -1
  170. package/dist/components/toaster/Toaster.svelte +6 -1
  171. package/dist/components/toggle/Toggle.js +1 -1
  172. package/dist/components/togglegroup/ToggleGroup.js +2 -2
  173. package/dist/components/tooltip/Tooltip.js +2 -2
  174. package/dist/custom-element.js +3 -3
  175. package/dist/custom-element.js.map +1 -1
  176. package/dist/documentation/DarkMode.mdx +115 -0
  177. package/dist/each.js +1 -1
  178. package/dist/each.js.map +1 -1
  179. package/dist/floating-item.svelte.js +1 -1
  180. package/dist/if.js +1 -1
  181. package/dist/if.js.map +1 -1
  182. package/dist/index-client.js +1 -1
  183. package/dist/input.js +1 -1
  184. package/dist/main.d.ts +3 -1
  185. package/dist/main.d.ts.map +1 -1
  186. package/dist/main.js +3 -1
  187. package/dist/svelte-component.js +1 -1
  188. package/dist/svelte-component.js.map +1 -1
  189. package/dist/svelte-element.js +1 -1
  190. package/dist/this.js +1 -1
  191. package/package.json +3 -2
@@ -1,6 +1,6 @@
1
- import{c as _,e as g,a as w,p as o,k as b,t as u,b as x,d as k,n as E,i as r,j as d,f as C,r as h,m as B}from"../../custom-element.js";import{s as M}from"../../slot.js";import{a as T,s as j}from"../../attributes.js";var D=C('<div><!> <span class="mc-tooltip__content svelte-11vyzsr" role="tooltip"> </span></div>');const S={hash:"svelte-11vyzsr",code:`/**
1
+ import{c as _,e as g,a as w,p as o,s as b,t as u,b as x,d as k,n as E,m as r,h as d,f as C,r as h,k as B}from"../../custom-element.js";import{s as M}from"../../slot.js";import{a as T,s as D}from"../../attributes.js";var S=C('<div><!> <span class="mc-tooltip__content svelte-11vyzsr" role="tooltip"> </span></div>');const j={hash:"svelte-11vyzsr",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */.mc-tooltip.svelte-11vyzsr {display:inline-flex;position:relative;}.mc-tooltip.svelte-11vyzsr:focus, .mc-tooltip.svelte-11vyzsr:hover {cursor:help;}.mc-tooltip.svelte-11vyzsr:focus .mc-tooltip__content:where(.svelte-11vyzsr), .mc-tooltip.svelte-11vyzsr:hover .mc-tooltip__content:where(.svelte-11vyzsr) {visibility:visible;}.mc-tooltip__content.svelte-11vyzsr {font-size:var(--font-size-100, 0.875rem);border-radius:var(--border-radius-s, 0.25rem);line-height:var(--line-height-s, 1.3);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;align-items:center;max-width:16rem;min-width:4rem;background-color:var(--tooltip-color-background, #242938);box-sizing:border-box;color:var(--tooltip-color-text, #ffffff);position:absolute;text-align:center;visibility:hidden;z-index:var(--tooltip-z-index, 1);border:var(--border-width-s, 0.0625rem) solid var(--tooltip-color-border, #636d88);word-break:break-all;padding:0.375rem 0.5rem;}
4
4
  @supports (width: max-content) {.mc-tooltip__content.svelte-11vyzsr {width:max-content;}
5
- }.mc-tooltip__content.svelte-11vyzsr::before {background-color:var(--tooltip-color-border, #636d88);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.625rem;position:absolute;width:0.625rem;}.mc-tooltip__content.svelte-11vyzsr::after {background-color:var(--tooltip-color-background, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.5rem;position:absolute;width:0.5rem;}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:0;left:50%;transform:translate(-50%, calc(-100% - 1rem));}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:0;left:50%;transform:translate(-50%, 100%) rotate(-90deg);}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:-1px;}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:50%;right:0;transform:translate(calc(100% + 1rem), -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;left:0;transform:translate(-99%, -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {left:-1px;}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {left:0;top:50%;transform:translate(calc(-100% - 1rem), -50%);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;right:0;transform:translate(99%, -50%) rotate(180deg);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {right:-1px;}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {bottom:0;left:50%;transform:translate(-50%, calc(100% + 1rem));}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:0;left:50%;transform:translate(-50%, -100%) rotate(90deg);}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:-1px;}.mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {background:none;}.mc-tooltip--standalone.svelte-11vyzsr {cursor:help;}.mc-tooltip--standalone.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {visibility:visible;position:relative;transform:none;top:0;left:0;}`};function q(p,e){g(e,!0),w(p,S);let s=o(e,"id",7),i=o(e,"text",7),n=o(e,"position",7,"top"),a=o(e,"pointer",7,!0),v=o(e,"standalone",7),f=E(e,["$$slots","$$events","$$legacy","$$host","id","text","position","pointer","standalone"]);var y={get id(){return s()},set id(t){s(t),r()},get text(){return i()},set text(t){i(t),r()},get position(){return n()},set position(t="top"){n(t),r()},get pointer(){return a()},set pointer(t=!0){a(t),r()},get standalone(){return v()},set standalone(t){v(t),r()}},l=D();T(l,()=>({class:["mc-tooltip",!a()&&"mc-tooltip--no-pointer",`mc-tooltip--${n()}`,v()&&"mc-tooltip--standalone"],"aria-describedby":s(),...f}),void 0,void 0,void 0,"svelte-11vyzsr");var m=d(l);M(m,e,"default",{},null);var c=b(m,2),z=d(c,!0);return h(c),h(l),u(()=>{j(c,"id",s()),B(z,i())}),x(p,l),k(y)}customElements.define("m-tooltip",_(q,{pointer:{attribute:"pointer",reflect:!0,type:"Boolean"},standalone:{attribute:"standalone",reflect:!0,type:"Boolean"},id:{},text:{},position:{}},["default"],[],{mode:"open"}));export{q as T};
5
+ }.mc-tooltip__content.svelte-11vyzsr::before {background-color:var(--tooltip-color-border, #636d88);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.625rem;position:absolute;width:0.625rem;}.mc-tooltip__content.svelte-11vyzsr::after {background-color:var(--tooltip-color-background, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.5rem;position:absolute;width:0.5rem;}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:0;left:50%;transform:translate(-50%, calc(-100% - 1rem));}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:0;left:50%;transform:translate(-50%, 100%) rotate(-90deg);}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:-1px;}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:50%;right:0;transform:translate(calc(100% + 1rem), -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;left:0;transform:translate(-99%, -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {left:-1px;}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {left:0;top:50%;transform:translate(calc(-100% - 1rem), -50%);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;right:0;transform:translate(99%, -50%) rotate(180deg);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {right:-1px;}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {bottom:0;left:50%;transform:translate(-50%, calc(100% + 1rem));}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:0;left:50%;transform:translate(-50%, -100%) rotate(90deg);}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:-1px;}.mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {background:none;}.mc-tooltip--standalone.svelte-11vyzsr {cursor:help;}.mc-tooltip--standalone.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {visibility:visible;position:relative;transform:none;top:0;left:0;}`};function q(p,e){g(e,!0),w(p,j);let s=o(e,"id",7),i=o(e,"text",7),n=o(e,"position",7,"top"),a=o(e,"pointer",7,!0),v=o(e,"standalone",7),f=E(e,["$$slots","$$events","$$legacy","$$host","id","text","position","pointer","standalone"]);var y={get id(){return s()},set id(t){s(t),r()},get text(){return i()},set text(t){i(t),r()},get position(){return n()},set position(t="top"){n(t),r()},get pointer(){return a()},set pointer(t=!0){a(t),r()},get standalone(){return v()},set standalone(t){v(t),r()}},l=S();T(l,()=>({class:["mc-tooltip",!a()&&"mc-tooltip--no-pointer",`mc-tooltip--${n()}`,v()&&"mc-tooltip--standalone"],"aria-describedby":s(),...f}),void 0,void 0,void 0,"svelte-11vyzsr");var m=d(l);M(m,e,"default",{},null);var c=b(m,2),z=d(c,!0);return h(c),h(l),u(()=>{D(c,"id",s()),B(z,i())}),x(p,l),k(y)}customElements.define("m-tooltip",_(q,{pointer:{attribute:"pointer",reflect:!0,type:"Boolean"},standalone:{attribute:"standalone",reflect:!0,type:"Boolean"},id:{},text:{},position:{}},["default"],[],{mode:"open"}));export{q as T};
6
6
  //# sourceMappingURL=Tooltip.js.map
@@ -1,4 +1,4 @@
1
- typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ts=1,ns=2,rs=4,ss=8,is=16,Sn=1,Nn=4,Rn=8,xn=16,On=1,Cn=2,xt="[",Ot="[!",Ct="]",$e={},A=Symbol(),Pn="http://www.w3.org/1999/xhtml",fs="http://www.w3.org/2000/svg",as="@attach",Qe=!1;var Ln=Array.isArray,Mn=Array.prototype.indexOf,me=Array.prototype.includes,In=Array.from,Be=Object.keys,qe=Object.defineProperty,he=Object.getOwnPropertyDescriptor,us=Object.getOwnPropertyDescriptors,kn=Object.prototype,Dn=Array.prototype,Fn=Object.getPrototypeOf,gt=Object.isExtensible;const jn=()=>{};function Vn(e){for(var t=0;t<e.length;t++)e[t]()}function Pt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const S=2,Re=4,Ue=8,lt=1<<24,ee=16,G=32,ae=64,et=128,M=512,T=1024,N=2048,H=4096,U=8192,X=16384,Te=32768,xe=65536,wt=1<<17,Lt=1<<18,ve=1<<19,Hn=1<<20,ls=1<<25,_e=65536,tt=1<<21,ot=1<<22,re=1<<23,we=Symbol("$state"),Mt=Symbol("legacy props"),os=Symbol(""),le=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},hs=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),ds=1,Ce=3,We=8;function Bn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function qn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function _s(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Yn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Un(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Wn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function zn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Gn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Kn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Xn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ze(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function vs(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function er(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function Ie(e){m=e}let g;function B(e){if(e===null)throw ze(),$e;return g=e}function It(){return B(te(g))}function ps(e){if(m){if(te(g)!==null)throw ze(),$e;g=e}}function tr(e=1){if(m){for(var t=e,n=g;t--;)n=te(n);g=n}}function nr(e=!0){for(var t=0,n=g;;){if(n.nodeType===We){var r=n.data;if(r===Ct){if(t===0)return n;t-=1}else(r===xt||r===Ot||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=te(n);e&&n.remove(),n=s}}function gs(e){if(!e||e.nodeType!==We)throw ze(),$e;return e.data}function kt(e){return e===this.v}function rr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Dt(e){return!rr(e,this.v)}let sr=!1,R=null;function be(e){R=e}function ws(e){return jt().get(e)}function $s(e,t){return jt().set(e,t),t}function ir(e,t=!1,n){R={p:R,i:!1,c:null,e:null,s:e,x:null,l:null}}function fr(e){var t=R,n=t.e;if(n!==null){t.e=null;for(var r of n)sn(r)}return e!==void 0&&(t.x=e),t.i=!0,R=t.p,e??{}}function Ft(){return!0}function jt(e){return R===null&&Bn(),R.c??=new Map(ar(R)||void 0)}function ar(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let oe=[];function Vt(){var e=oe;oe=[],Vn(e)}function se(e){if(oe.length===0&&!Se){var t=oe;queueMicrotask(()=>{t===oe&&Vt()})}oe.push(e)}function ur(){for(;oe.length>0;)Vt()}function Ht(e){var t=p;if(t===null)return v.f|=re,e;if((t.f&Te)===0&&(t.f&Re)===0)throw e;ye(e,t)}function ye(e,t){for(;t!==null;){if((t.f&et)!==0){if((t.f&Te)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const lr=-7169;function y(e,t){e.f=e.f&lr|t}function ct(e){(e.f&M)!==0||e.deps===null?y(e,T):y(e,H)}function Bt(e){if(e!==null)for(const t of e)(t.f&S)===0||(t.f&_e)===0||(t.f^=_e,Bt(t.deps))}function qt(e,t,n){(e.f&N)!==0?t.add(e):(e.f&H)!==0&&n.add(e),Bt(e.deps),y(e,T)}const ke=new Set;let b=null,$t=null,D=null,x=[],Ge=null,nt=!1,Se=!1;class J{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#s=0;#u=0;#i=null;#f=new Set;#n=new Set;#r=new Map;is_fork=!1;#a=!1;is_deferred(){return this.is_fork||this.#u>0}skip_effect(t){this.#r.has(t)||this.#r.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#r.get(t);if(n){this.#r.delete(t);for(var r of n.d)y(r,N),F(r);for(r of n.m)y(r,H),F(r)}}process(t){x=[],this.apply();var n=[],r=[];for(const s of t)this.#o(s,n,r);if(this.is_deferred()){this.#l(r),this.#l(n);for(const[s,i]of this.#r)Gt(s,i)}else{for(const s of this.#e)s();this.#e.clear(),this.#s===0&&this.#h(),$t=this,b=null,mt(r),mt(n),$t=null,this.#i?.resolve()}D=null}#o(t,n,r){t.f^=T;for(var s=t.first,i=null;s!==null;){var f=s.f,a=(f&(G|ae))!==0,u=a&&(f&T)!==0,l=u||(f&U)!==0||this.#r.has(s);if(!l&&s.fn!==null){a?s.f^=T:i!==null&&(f&(Re|Ue|lt))!==0?i.b.defer_effect(s):(f&Re)!==0?n.push(s):Le(s)&&((f&ee)!==0&&this.#n.add(s),Ee(s));var c=s.first;if(c!==null){s=c;continue}}for(;s!==null;){s===i&&(i=null);var h=s.next;if(h!==null){s=h;break}s=s.parent}}}#l(t){for(var n=0;n<t.length;n+=1)qt(t[n],this.#f,this.#n)}capture(t,n){n!==A&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,t.v),D?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,D=null)}flush(){if(this.activate(),x.length>0){if(Ut(),b!==null&&b!==this)return}else this.#s===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#h(){if(ke.size>1){this.previous.clear();var t=D,n=!0;for(const s of ke){if(s===this){n=!1;continue}const i=[];for(const[a,u]of this.current){if(s.current.has(a))if(n&&u!==s.current.get(a))s.current.set(a,u);else continue;i.push(a)}if(i.length===0)continue;const f=[...s.current.keys()].filter(a=>!this.current.has(a));if(f.length>0){var r=x;x=[];const a=new Set,u=new Map;for(const l of i)Wt(l,f,a,u);if(x.length>0){b=s,s.apply();for(const l of x)s.#o(l,[],[]);s.deactivate()}x=r}}b=null,D=t}this.committed=!0,ke.delete(this)}increment(t){this.#s+=1,t&&(this.#u+=1)}decrement(t){this.#s-=1,t&&(this.#u-=1),!this.#a&&(this.#a=!0,se(()=>{this.#a=!1,this.is_deferred()?x.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#f)this.#n.delete(t),y(t,N),F(t);for(const t of this.#n)y(t,H),F(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#i??=Pt()).promise}static ensure(){if(b===null){const t=b=new J;ke.add(b),Se||se(()=>{b===t&&t.flush()})}return b}apply(){}}function Yt(e){var t=Se;Se=!0;try{for(var n;;){if(ur(),x.length===0&&(b?.flush(),x.length===0))return Ge=null,n;Ut()}}finally{Se=t}}function Ut(){nt=!0;var e=null;try{for(var t=0;x.length>0;){var n=J.ensure();if(t++>1e3){var r,s;or()}n.process(x),ie.clear()}}finally{x=[],nt=!1,Ge=null}}function or(){try{zn()}catch(e){ye(e,Ge)}}let K=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(X|U))===0&&Le(r)&&(K=new Set,Ee(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&un(r),K?.size>0)){ie.clear();for(const s of K){if((s.f&(X|U))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)K.has(f)&&(K.delete(f),i.push(f)),f=f.parent;for(let a=i.length-1;a>=0;a--){const u=i[a];(u.f&(X|U))===0&&Ee(u)}}K.clear()}}K=null}}function Wt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&S)!==0?Wt(s,t,n,r):(i&(ot|ee))!==0&&(i&N)===0&&zt(s,t,r)&&(y(s,N),F(s))}}function zt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(me.call(t,s))return!0;if((s.f&S)!==0&&zt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function F(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var n=t.f;if(nt&&t===p&&(n&ee)!==0&&(n&Lt)===0)return;if((n&(ae|G))!==0){if((n&T)===0)return;t.f^=T}}x.push(t)}function Gt(e,t){if(!((e.f&G)!==0&&(e.f&T)!==0)){(e.f&N)!==0?t.d.push(e):(e.f&H)!==0&&t.m.push(e),y(e,T);for(var n=e.first;n!==null;)Gt(n,t),n=n.next}}function cr(e){let t=0,n=Pe(0),r;return()=>{_t()&&(P(n),fn(()=>(t===0&&(r=wn(()=>e(()=>Ne(n)))),t+=1,()=>{se(()=>{t-=1,t===0&&(r?.(),r=void 0,Ne(n))})})))}}var hr=xe|ve;function dr(e,t,n){new _r(e,t,n)}class _r{parent;is_pending=!1;#e;#t=m?g:null;#s;#u;#i;#f=null;#n=null;#r=null;#a=null;#o=0;#l=0;#h=!1;#d=new Set;#_=new Set;#c=null;#w=cr(()=>(this.#c=Pe(this.#o),()=>{this.#c=null}));constructor(t,n,r){this.#e=t,this.#s=n,this.#u=s=>{var i=p;i.b=this,i.f|=et,r(s)},this.parent=p.b,this.#i=Cr(()=>{if(m){const s=this.#t;It(),s.data===Ot?this.#m():this.#$()}else this.#p()},hr),m&&(this.#e=g)}#$(){try{this.#f=pe(()=>this.#u(this.#e))}catch(t){this.error(t)}}#m(){const t=this.#s.pending;t&&(this.is_pending=!0,this.#n=pe(()=>t(this.#e)),se(()=>{var n=this.#a=document.createDocumentFragment(),r=Z();n.append(r),this.#f=this.#v(()=>(J.ensure(),pe(()=>this.#u(r)))),this.#l===0&&(this.#e.before(n),this.#a=null,je(this.#n,()=>{this.#n=null}),this.is_pending=!1)}))}#p(){try{if(this.is_pending=this.has_pending_snippet(),this.#l=0,this.#o=0,this.#f=pe(()=>{this.#u(this.#e)}),this.#l>0){var t=this.#a=document.createDocumentFragment();Mr(this.#f,t);const n=this.#s.pending;this.#n=pe(()=>n(this.#e))}else this.is_pending=!1}catch(n){this.error(n)}}defer_effect(t){qt(t,this.#d,this.#_)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#s.pending}#v(t){var n=p,r=v,s=R;z(this.#i),k(this.#i),be(this.#i.ctx);try{return t()}catch(i){return Ht(i),null}finally{z(n),k(r),be(s)}}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}if(this.#l+=t,this.#l===0){this.is_pending=!1;for(const n of this.#d)y(n,N),F(n);for(const n of this.#_)y(n,H),F(n);this.#d.clear(),this.#_.clear(),this.#n&&je(this.#n,()=>{this.#n=null}),this.#a&&(this.#e.before(this.#a),this.#a=null)}}update_pending_count(t){this.#g(t),this.#o+=t,!(!this.#c||this.#h)&&(this.#h=!0,se(()=>{this.#h=!1,this.#c&&Ye(this.#c,this.#o)}))}get_effect_pending(){return this.#w(),P(this.#c)}error(t){var n=this.#s.onerror;let r=this.#s.failed;if(!n&&!r)throw t;this.#f&&(V(this.#f),this.#f=null),this.#n&&(V(this.#n),this.#n=null),this.#r&&(V(this.#r),this.#r=null),m&&(B(this.#t),tr(),B(nr()));var s=!1,i=!1;const f=()=>{if(s){er();return}s=!0,i&&Qn(),this.#r!==null&&je(this.#r,()=>{this.#r=null}),this.#v(()=>{J.ensure(),this.#p()})};se(()=>{try{i=!0,n?.(t,f),i=!1}catch(a){ye(a,this.#i&&this.#i.parent)}r&&(this.#r=this.#v(()=>{J.ensure();try{return pe(()=>{var a=p;a.b=this,a.f|=et,r(this.#e,()=>t,()=>f)})}catch(a){return ye(a,this.#i.parent),null}}))})}}function vr(e,t,n,r){const s=Ke;var i=e.filter(o=>!o.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var f=b,a=p,u=pr(),l=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(o=>o.promise)):null;function c(o){u();try{r(o)}catch(_){(a.f&X)===0&&ye(_,a)}f?.deactivate(),rt()}if(n.length===0){l.then(()=>c(t.map(s)));return}function h(){u(),Promise.all(n.map(o=>gr(o))).then(o=>c([...t.map(s),...o])).catch(o=>ye(o,a))}l?l.then(h):h()}function pr(){var e=p,t=v,n=R,r=b;return function(i=!0){z(e),k(t),be(n),i&&r?.activate()}}function rt(){z(null),k(null),be(null)}function Ke(e){var t=S|N,n=v!==null&&(v.f&S)!==0?v:null;return p!==null&&(p.f|=ve),{ctx:R,deps:null,effects:null,equals:kt,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??p,ac:null}}function gr(e,t,n){let r=p;r===null&&qn();var s=r.b,i=void 0,f=Pe(A),a=!v,u=new Map;return Or(()=>{var l=Pt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{c===b&&c.committed&&c.deactivate(),rt()})}catch(_){l.reject(_),rt()}var c=b;if(a){var h=s.is_rendered();s.update_pending_count(1),c.increment(h),u.get(c)?.reject(le),u.delete(c),u.set(c,l)}const o=(_,d=void 0)=>{if(c.activate(),d)d!==le&&(f.f|=re,Ye(f,d));else{(f.f&re)!==0&&(f.f^=re),Ye(f,_);for(const[w,$]of u){if(u.delete(w),w===c)break;$.reject(le)}}a&&(s.update_pending_count(-1),c.decrement(h))};l.promise.then(o,_=>o(null,_||"unknown"))}),rn(()=>{for(const l of u.values())l.reject(le)}),new Promise(l=>{function c(h){function o(){h===i?l(f):c(i)}h.then(o,o)}c(i)})}function ms(e){const t=Ke(e);return cn(t),t}function wr(e){const t=Ke(e);return t.equals=Dt,t}function $r(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function mr(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return(t.f&X)===0?t:null;t=t.parent}return null}function ht(e){var t,n=p;z(mr(e));try{e.f&=~_e,$r(e),t=vn(e)}finally{z(n)}return t}function Kt(e){var t=ht(e);if(!e.equals(t)&&(e.wv=dn(),(!b?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){y(e,T);return}fe||(D!==null?(_t()||b?.is_fork)&&D.set(e,t):ct(e))}function br(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(le),t.teardown=jn,t.ac=null,Oe(t,0),vt(t))}function Xt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ee(t)}let st=new Set;const ie=new Map;let Jt=!1;function Pe(e,t){var n={f:0,v:e,reactions:null,equals:kt,rv:0,wv:0};return n}function ne(e,t){const n=Pe(e);return cn(n),n}function yr(e,t=!1,n=!0){const r=Pe(e);return t||(r.equals=Dt),r}function Y(e,t,n=!1){v!==null&&(!j||(v.f&wt)!==0)&&Ft()&&(v.f&(S|ee|ot|wt))!==0&&(I===null||!me.call(I,e))&&Zn();let r=n?ge(t):t;return Ye(e,r)}function Ye(e,t){if(!e.equals(t)){var n=e.v;fe?ie.set(e,t):ie.set(e,n),e.v=t;var r=J.ensure();if(r.capture(e,n),(e.f&S)!==0){const s=e;(e.f&N)!==0&&ht(s),ct(s)}e.wv=dn(),Zt(e,N),p!==null&&(p.f&T)!==0&&(p.f&(G|ae))===0&&(L===null?Ir([e]):L.push(e)),!r.is_fork&&st.size>0&&!Jt&&Er()}return t}function Er(){Jt=!1;for(const e of st)(e.f&T)!==0&&y(e,H),Le(e)&&Ee(e);st.clear()}function bs(e,t=1){var n=P(e),r=t===1?n++:n--;return Y(e,n),r}function Ne(e){Y(e,e.v+1)}function Zt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,a=(f&N)===0;if(a&&y(i,t),(f&S)!==0){var u=i;D?.delete(u),(f&_e)===0&&(f&M&&(i.f|=_e),Zt(u,H))}else a&&((f&ee)!==0&&K!==null&&K.add(i),F(i))}}function ge(e){if(typeof e!="object"||e===null||we in e)return e;const t=Fn(e);if(t!==kn&&t!==Dn)return e;var n=new Map,r=Ln(e),s=ne(0),i=de,f=a=>{if(de===i)return a();var u=v,l=de;k(null),At(i);var c=a();return k(u),At(l),c};return r&&n.set("length",ne(e.length)),new Proxy(e,{defineProperty(a,u,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&Xn();var c=n.get(u);return c===void 0?f(()=>{var h=ne(l.value);return n.set(u,h),h}):Y(c,l.value,!0),!0},deleteProperty(a,u){var l=n.get(u);if(l===void 0){if(u in a){const c=f(()=>ne(A));n.set(u,c),Ne(s)}}else Y(l,A),Ne(s);return!0},get(a,u,l){if(u===we)return e;var c=n.get(u),h=u in a;if(c===void 0&&(!h||he(a,u)?.writable)&&(c=f(()=>{var _=ge(h?a[u]:A),d=ne(_);return d}),n.set(u,c)),c!==void 0){var o=P(c);return o===A?void 0:o}return Reflect.get(a,u,l)},getOwnPropertyDescriptor(a,u){var l=Reflect.getOwnPropertyDescriptor(a,u);if(l&&"value"in l){var c=n.get(u);c&&(l.value=P(c))}else if(l===void 0){var h=n.get(u),o=h?.v;if(h!==void 0&&o!==A)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return l},has(a,u){if(u===we)return!0;var l=n.get(u),c=l!==void 0&&l.v!==A||Reflect.has(a,u);if(l!==void 0||p!==null&&(!c||he(a,u)?.writable)){l===void 0&&(l=f(()=>{var o=c?ge(a[u]):A,_=ne(o);return _}),n.set(u,l));var h=P(l);if(h===A)return!1}return c},set(a,u,l,c){var h=n.get(u),o=u in a;if(r&&u==="length")for(var _=l;_<h.v;_+=1){var d=n.get(_+"");d!==void 0?Y(d,A):_ in a&&(d=f(()=>ne(A)),n.set(_+"",d))}if(h===void 0)(!o||he(a,u)?.writable)&&(h=f(()=>ne(void 0)),Y(h,ge(l)),n.set(u,h));else{o=h.v!==A;var w=f(()=>ge(l));Y(h,w)}var $=Reflect.getOwnPropertyDescriptor(a,u);if($?.set&&$.set.call(c,l),!o){if(r&&typeof u=="string"){var ue=n.get("length"),E=Number(u);Number.isInteger(E)&&E>=ue.v&&Y(ue,E+1)}Ne(s)}return!0},ownKeys(a){P(s);var u=Reflect.ownKeys(a).filter(h=>{var o=n.get(h);return o===void 0||o.v!==A});for(var[l,c]of n)c.v!==A&&!(l in a)&&u.push(l);return u},setPrototypeOf(){Jn()}})}function bt(e){try{if(e!==null&&typeof e=="object"&&we in e)return e[we]}catch{}return e}function ys(e,t){return Object.is(bt(e),bt(t))}var yt,Qt,en,tn;function it(){if(yt===void 0){yt=window,Qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;en=he(t,"firstChild").get,tn=he(t,"nextSibling").get,gt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),gt(n)&&(n.__t=void 0)}}function Z(e=""){return document.createTextNode(e)}function Q(e){return en.call(e)}function te(e){return tn.call(e)}function Es(e,t){if(!m)return Q(e);var n=Q(g);if(n===null)n=g.appendChild(Z());else if(t&&n.nodeType!==Ce){var r=Z();return n?.before(r),B(r),r}return t&&Xe(n),B(n),n}function Ts(e,t=!1){if(!m){var n=Q(e);return n instanceof Comment&&n.data===""?te(n):n}if(t){if(g?.nodeType!==Ce){var r=Z();return g?.before(r),B(r),r}Xe(g)}return g}function As(e,t=1,n=!1){let r=m?g:e;for(var s;t--;)s=r,r=te(r);if(!m)return r;if(n){if(r?.nodeType!==Ce){var i=Z();return r===null?s?.after(i):r.before(i),B(i),i}Xe(r)}return B(r),r}function nn(e){e.textContent=""}function Ss(){return!1}function dt(e,t,n){return document.createElementNS(t??Pn,e,void 0)}function Xe(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Ce;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Ns(e,t){if(t){const n=document.body;e.autofocus=!0,se(()=>{document.activeElement===n&&e.focus()})}}function Rs(e){m&&Q(e)!==null&&nn(e)}let Et=!1;function Tr(){Et||(Et=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Je(e){var t=v,n=p;k(null),z(null);try{return e()}finally{k(t),z(n)}}function xs(e,t,n,r=n){e.addEventListener(t,()=>Je(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Tr()}function Ar(e){p===null&&(v===null&&Wn(),Un()),fe&&Yn()}function Sr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function q(e,t,n){var r=p;r!==null&&(r.f&U)!==0&&(e|=U);var s={ctx:R,deps:null,nodes:null,f:e|N|M,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{Ee(s)}catch(a){throw V(s),a}else t!==null&&F(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ve)===0&&(i=i.first,(e&ee)!==0&&(e&xe)!==0&&i!==null&&(i.f|=xe)),i!==null&&(i.parent=r,r!==null&&Sr(i,r),v!==null&&(v.f&S)!==0&&(e&ae)===0)){var f=v;(f.effects??=[]).push(i)}return s}function _t(){return v!==null&&!j}function rn(e){const t=q(Ue,null,!1);return y(t,T),t.teardown=e,t}function Os(e){Ar();var t=p.f,n=!v&&(t&G)!==0&&(t&Te)===0;if(n){var r=R;(r.e??=[]).push(e)}else return sn(e)}function sn(e){return q(Re|Hn,e,!1)}function Nr(e){J.ensure();const t=q(ae|ve,e,!0);return()=>{V(t)}}function Rr(e){J.ensure();const t=q(ae|ve,e,!0);return(n={})=>new Promise(r=>{n.outro?je(t,()=>{V(t),r(void 0)}):(V(t),r(void 0))})}function xr(e){return q(Re,e,!1)}function Or(e){return q(ot|ve,e,!0)}function fn(e,t=0){return q(Ue|t,e,!0)}function Cs(e,t=[],n=[],r=[]){vr(r,t,n,s=>{q(Ue,()=>e(...s.map(P)),!0)})}function Cr(e,t=0){var n=q(ee|t,e,!0);return n}function Ps(e,t=0){var n=q(lt|t,e,!0);return n}function pe(e){return q(G|ve,e,!0)}function an(e){var t=e.teardown;if(t!==null){const n=fe,r=v;Tt(!0),k(null);try{t.call(null)}finally{Tt(n),k(r)}}}function vt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Je(()=>{s.abort(le)});var r=n.next;(n.f&ae)!==0?n.parent=null:V(n,t),n=r}}function Pr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&G)===0&&V(t),t=n}}function V(e,t=!0){var n=!1;(t||(e.f&Lt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Lr(e.nodes.start,e.nodes.end),n=!0),vt(e,t&&!n),Oe(e,0),y(e,X);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();an(e);var s=e.parent;s!==null&&s.first!==null&&un(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Lr(e,t){for(;e!==null;){var n=e===t?null:te(e);e.remove(),e=n}}function un(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function je(e,t,n=!0){var r=[];ln(e,r,!0);var s=()=>{n&&V(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var a of r)a.out(f)}else s()}function ln(e,t,n){if((e.f&U)===0){e.f^=U;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&xe)!==0||(s.f&G)!==0&&(e.f&ee)!==0;ln(s,t,f?n:!1),s=i}}}function Ls(e){on(e,!0)}function on(e,t){if((e.f&U)!==0){e.f^=U,(e.f&T)===0&&(y(e,N),F(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&xe)!==0||(n.f&G)!==0;on(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const f of i)(f.is_global||t)&&f.in()}}function Mr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:te(n);t.append(n),n=s}}let Ve=!1,fe=!1;function Tt(e){fe=e}let v=null,j=!1;function k(e){v=e}let p=null;function z(e){p=e}let I=null;function cn(e){v!==null&&(I===null?I=[e]:I.push(e))}let O=null,C=0,L=null;function Ir(e){L=e}let hn=1,ce=0,de=ce;function At(e){de=e}function dn(){return++hn}function Le(e){var t=e.f;if((t&N)!==0)return!0;if(t&S&&(e.f&=~_e),(t&H)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Le(i)&&Kt(i),i.wv>e.wv)return!0}(t&M)!==0&&D===null&&y(e,T)}return!1}function _n(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&me.call(I,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&S)!==0?_n(i,t,!1):t===i&&(n?y(i,N):(i.f&T)!==0&&y(i,H),F(i))}}function vn(e){var t=O,n=C,r=L,s=v,i=I,f=R,a=j,u=de,l=e.f;O=null,C=0,L=null,v=(l&(G|ae))===0?e:null,I=null,be(e.ctx),j=!1,de=++ce,e.ac!==null&&(Je(()=>{e.ac.abort(le)}),e.ac=null);try{e.f|=tt;var c=e.fn,h=c();e.f|=Te;var o=e.deps,_=b?.is_fork;if(O!==null){var d;if(_||Oe(e,C),o!==null&&C>0)for(o.length=C+O.length,d=0;d<O.length;d++)o[C+d]=O[d];else e.deps=o=O;if(_t()&&(e.f&M)!==0)for(d=C;d<o.length;d++)(o[d].reactions??=[]).push(e)}else!_&&o!==null&&C<o.length&&(Oe(e,C),o.length=C);if(Ft()&&L!==null&&!j&&o!==null&&(e.f&(S|H|N))===0)for(d=0;d<L.length;d++)_n(L[d],e);if(s!==null&&s!==e){if(ce++,s.deps!==null)for(let w=0;w<n;w+=1)s.deps[w].rv=ce;if(t!==null)for(const w of t)w.rv=ce;L!==null&&(r===null?r=L:r.push(...L))}return(e.f&re)!==0&&(e.f^=re),h}catch(w){return Ht(w)}finally{e.f^=tt,O=t,C=n,L=r,v=s,I=i,be(f),j=a,de=u}}function kr(e,t){let n=t.reactions;if(n!==null){var r=Mn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&S)!==0&&(O===null||!me.call(O,t))){var i=t;(i.f&M)!==0&&(i.f^=M,i.f&=~_e),ct(i),br(i),Oe(i,0)}}function Oe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)kr(e,n[r])}function Ee(e){var t=e.f;if((t&X)===0){y(e,T);var n=p,r=Ve;p=e,Ve=!0;try{(t&(ee|lt))!==0?Pr(e):vt(e),an(e);var s=vn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i;Qe&&sr&&(e.f&N)!==0&&e.deps}finally{Ve=r,p=n}}}async function Ms(){await Promise.resolve(),Yt()}function P(e){var t=e.f,n=(t&S)!==0;if(v!==null&&!j){var r=p!==null&&(p.f&X)!==0;if(!r&&(I===null||!me.call(I,e))){var s=v.deps;if((v.f&tt)!==0)e.rv<ce&&(e.rv=ce,O===null&&s!==null&&s[C]===e?C++:O===null?O=[e]:O.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:me.call(i,v)||i.push(v)}}}if(fe&&ie.has(e))return ie.get(e);if(n){var f=e;if(fe){var a=f.v;return((f.f&T)===0&&f.reactions!==null||gn(f))&&(a=ht(f)),ie.set(f,a),a}var u=(f.f&M)===0&&!j&&v!==null&&(Ve||(v.f&M)!==0),l=(f.f&Te)===0;Le(f)&&(u&&(f.f|=M),Kt(f)),u&&!l&&(Xt(f),pn(f))}if(D?.has(e))return D.get(e);if((e.f&re)!==0)throw e.v;return e.v}function pn(e){if(e.f|=M,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&M)===0&&(Xt(t),pn(t))}function gn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ie.has(t)||(t.f&S)!==0&&gn(t))return!0;return!1}function wn(e){var t=j;try{return j=!0,e()}finally{j=t}}const Ae=Symbol("events"),$n=new Set,ft=new Set;function mn(e,t,n,r={}){function s(i){if(r.capture||at.call(t,i),!i.cancelBubble)return Je(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?se(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function Is(e,t,n,r={}){var s=mn(t,e,n,r);return()=>{e.removeEventListener(t,s,r)}}function ks(e,t,n,r,s){var i={capture:r,passive:s},f=mn(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&rn(()=>{t.removeEventListener(e,f,i)})}function Ds(e,t,n){(t[Ae]??={})[e]=n}function Fs(e){for(var t=0;t<e.length;t++)$n.add(e[t]);for(var n of ft)n(e)}let St=null;function at(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;St=e;var f=0,a=St===e&&e[Ae];if(a){var u=s.indexOf(a);if(u!==-1&&(t===document||t===window)){e[Ae]=t;return}var l=s.indexOf(t);if(l===-1)return;u<=l&&(f=u)}if(i=s[f]||e.target,i!==t){qe(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=v,h=p;k(null),z(null);try{for(var o,_=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var w=i[Ae]?.[r];w!=null&&(!i.disabled||e.target===i)&&w.call(i,e)}catch($){o?_.push($):o=$}if(e.cancelBubble||d===t||d===null)break;i=d}if(o){for(let $ of _)queueMicrotask(()=>{throw $});throw o}}finally{e[Ae]=t,delete e.currentTarget,k(c),z(h)}}}const Dr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Fr(e){return Dr?.createHTML(e)??e}function bn(e,t=!1){var n=dt("template");return e=e.replaceAll("<!>","<!---->"),n.innerHTML=t?Fr(e):e,n.content}function W(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function js(e,t){var n=(t&On)!==0,r=(t&Cn)!==0,s,i=!e.startsWith("<!>");return()=>{if(m)return W(g,null),g;s===void 0&&(s=bn(i?e:"<!>"+e,!0),n||(s=Q(s)));var f=r||Qt?document.importNode(s,!0):s.cloneNode(!0);if(n){var a=Q(f),u=f.lastChild;W(a,u)}else W(f,f);return f}}function jr(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,i;return()=>{if(m)return W(g,null),g;if(!i){var f=bn(s,!0),a=Q(f);i=Q(a)}var u=i.cloneNode(!0);return W(u,u),u}}function Vs(e,t){return jr(e,t,"svg")}function Hs(e=""){if(!m){var t=Z(e+"");return W(t,t),t}var n=g;return n.nodeType!==Ce?(n.before(n=Z()),B(n)):Xe(n),W(n,n),n}function Bs(){if(m)return W(g,null),g;var e=document.createDocumentFragment(),t=document.createComment(""),n=Z();return e.append(t,n),W(t,n),e}function Vr(e,t){if(m){var n=p;((n.f&Te)===0||n.nodes.end===null)&&(n.nodes.end=g),It();return}e!==null&&e.before(t)}function qs(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Hr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ys(e){return Hr.includes(e)}const Br={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Us(e){return e=e.toLowerCase(),Br[e]??e}const qr=["touchstart","touchmove"];function Yr(e){return qr.includes(e)}const Ur=["textarea","script","style","title"];function Ws(e){return Ur.includes(e)}function zs(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function yn(e,t){return En(e,t)}function Wr(e,t){it(),t.intro=t.intro??!1;const n=t.target,r=m,s=g;try{for(var i=Q(n);i&&(i.nodeType!==We||i.data!==xt);)i=te(i);if(!i)throw $e;Ie(!0),B(i);const f=En(e,{...t,anchor:i});return Ie(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw f;return f!==$e&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Gn(),it(),nn(n),Ie(!1),yn(e,t)}finally{Ie(r),B(s)}}const De=new Map;function En(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0}){it();var a=void 0,u=Rr(()=>{var l=n??t.appendChild(Z());dr(l,{pending:()=>{}},o=>{ir({});var _=R;if(i&&(_.c=i),s&&(r.$$events=s),m&&W(o,null),a=e(o,r)||{},m&&(p.nodes.end=g,g===null||g.nodeType!==We||g.data!==Ct))throw ze(),$e;fr()});var c=new Set,h=o=>{for(var _=0;_<o.length;_++){var d=o[_];if(!c.has(d)){c.add(d);var w=Yr(d);for(const E of[t,document]){var $=De.get(E);$===void 0&&($=new Map,De.set(E,$));var ue=$.get(d);ue===void 0?(E.addEventListener(d,at,{passive:w}),$.set(d,1)):$.set(d,ue+1)}}}};return h(In($n)),ft.add(h),()=>{for(var o of c)for(const w of[t,document]){var _=De.get(w),d=_.get(o);--d==0?(w.removeEventListener(o,at),_.delete(o),_.size===0&&De.delete(w)):_.set(o,d)}ft.delete(h),l!==n&&l.parentNode?.removeChild(l)}});return ut.set(a,u),a}let ut=new WeakMap;function zr(e,t){const n=ut.get(e);return n?(ut.delete(e),n(t)):Promise.resolve()}function Gs(e,t){xr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=dt("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function Tn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Tn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Gr(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Tn(e))&&(r&&(r+=" "),r+=t);return r}function Ks(e){return typeof e=="object"?Gr(e):e??""}const Nt=[...`
3
- \r\f \v\uFEFF`];function Kr(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var s in n)if(n[s])r=r?r+" "+s:s;else if(r.length)for(var i=s.length,f=0;(f=r.indexOf(s,f))>=0;){var a=f+i;(f===0||Nt.includes(r[f-1]))&&(a===r.length||Nt.includes(r[a]))?r=(f===0?"":r.substring(0,f))+r.substring(a+1):f=a}}return r===""?null:r}function Rt(e,t=!1){var n=t?" !important;":";",r="";for(var s in e){var i=e[s];i!=null&&i!==""&&(r+=" "+s+": "+i+n)}return r}function Ze(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Xs(e,t){if(t){var n="",r,s;if(Array.isArray(t)?(r=t[0],s=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,f=0,a=!1,u=[];r&&u.push(...Object.keys(r).map(Ze)),s&&u.push(...Object.keys(s).map(Ze));var l=0,c=-1;const w=e.length;for(var h=0;h<w;h++){var o=e[h];if(a?o==="/"&&e[h-1]==="*"&&(a=!1):i?i===o&&(i=!1):o==="/"&&e[h+1]==="*"?a=!0:o==='"'||o==="'"?i=o:o==="("?f++:o===")"&&f--,!a&&i===!1&&f===0){if(o===":"&&c===-1)c=h;else if(o===";"||h===w-1){if(c!==-1){var _=Ze(e.substring(l,c).trim());if(!u.includes(_)){o!==";"&&h++;var d=e.substring(l,h).trim();n+=" "+d+";"}}l=h+1,c=-1}}}}return r&&(n+=Rt(r)),s&&(n+=Rt(s,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function Js(e,t,n,r,s,i){var f=e.__className;if(m||f!==n||f===void 0){var a=Kr(n,r,i);(!m||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e.__className=n}else if(i&&s!==i)for(var u in i){var l=!!i[u];(s==null||l!==!!s[u])&&e.classList.toggle(u,l)}return i}let Fe=!1;function Xr(e){var t=Fe;try{return Fe=!1,[e(),Fe]}finally{Fe=t}}function Zs(e,t=1){const n=e();return e(n+t),n}const Jr={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function Qs(e,t,n){return new Proxy({props:e,exclude:t},Jr)}function ei(e,t,n,r){var s=(n&Rn)!==0,i=(n&xn)!==0,f=r,a=!0,u=()=>(a&&(a=!1,f=i?wn(r):r),f),l;if(s){var c=we in e||Mt in e;l=he(e,t)?.set??(c&&t in e?E=>e[t]=E:void 0)}var h,o=!1;s?[h,o]=Xr(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=u(),l&&(Kn(),l(h)));var _;if(_=()=>{var E=e[t];return E===void 0?u():(a=!0,E)},(n&Nn)===0)return _;if(l){var d=e.$$legacy;return(function(E,Me){return arguments.length>0?((!Me||d||o)&&l(Me?_():E),E):_()})}var w=!1,$=((n&Sn)!==0?Ke:wr)(()=>(w=!1,_()));s&&P($);var ue=p;return(function(E,Me){if(arguments.length>0){const pt=Me?P($):s?ge(E):E;return Y($,pt),w=!0,f!==void 0&&(f=pt),E}return fe&&w||(ue.f&X)!==0?$.v:P($)})}function Zr(e){return new Qr(e)}class Qr{#e;#t;constructor(t){var n=new Map,r=(i,f)=>{var a=yr(f,!1,!1);return n.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return P(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===Mt?!0:(P(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,a){return Y(n.get(f)??r(f,a),a),Reflect.set(i,f,a)}});this.#t=(t.hydrate?Wr:yn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Yt(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||qe(this,i,{get(){return this.#t[i]},set(f){this.#t[i]=f},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{zr(this.#t)}}$set(t){this.#t.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let An;typeof HTMLElement=="function"&&(An=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=dt("slot");r!=="default"&&(i.name=r),Vr(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=es(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=He(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Zr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Nr(()=>{fn(()=>{this.$$r=!0;for(const r of Be(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=He(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=He(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function He(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function es(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function ti(e,t,n,r,s,i){let f=class extends An{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Be(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Be(t).forEach(a=>{qe(f.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){u=He(a,u,t),this.$$d[a]=u;var l=this.$$c;if(l){var c=he(l,a)?.get;c?l[a]=u:l.$set({[a]:u})}}})}),r.forEach(a=>{qe(f.prototype,a,{get(){return this.$$c?.[a]}})}),i&&(f=i(f)),e.element=f,f}export{Us as $,Zs as A,Os as B,ks as C,ws as D,$s as E,cr as F,Is as G,m as H,It as I,Ps as J,V as K,pe as L,xr as M,Xs as N,Ln as O,vs as P,ys as Q,rn as R,xs as S,b as T,$t as U,vr as V,as as W,hs as X,qs as Y,mn as Z,Ns as _,Gs as a,A as a0,Pn as a1,Fn as a2,os as a3,Ys as a4,us as a5,se as a6,Tr as a7,Ie as a8,k as a9,G as aA,ss as aB,nn as aC,Q as aD,g as aE,We as aF,Ct as aG,te as aH,wn as aI,fn as aJ,Ms as aK,Mr as aL,R as aM,Bn as aN,we as aO,Vs as aP,dt as aQ,fs as aR,W as aS,ds as aT,Ws as aU,tr as aV,Hs as aW,bs as aX,de as aY,Ne as aZ,z as aa,v as ab,p as ac,Cr as ad,xe as ae,gs as af,xt as ag,Ot as ah,nr as ai,B as aj,Z as ak,Ye as al,ls as am,_s as an,Ss as ao,rs as ap,wr as aq,In as ar,ts as as,is as at,yr as au,Pe as av,ns as aw,Ls as ax,je as ay,U as az,Vr as b,ti as c,fr as d,ir as e,js as f,ge as g,Ks as h,Yt as i,Es as j,As as k,P as l,zs as m,Qs as n,Fs as o,ei as p,Y as q,ps as r,Js as s,Cs as t,Ds as u,ne as v,ms as w,Ts as x,Bs as y,Rs as z};
1
+ typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ss=1,is=2,fs=4,as=8,ls=16,Sn=1,Nn=4,On=8,Rn=16,xn=1,Cn=2,xt="[",Ct="[!",gt="[?",Pt="]",ye={},T=Symbol(),Pn="http://www.w3.org/1999/xhtml",us="http://www.w3.org/2000/svg",os="@attach",tt=!1;var kn=Array.isArray,Ln=Array.prototype.indexOf,Ee=Array.prototype.includes,In=Array.from,Ye=Object.keys,Ue=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,cs=Object.getOwnPropertyDescriptors,Mn=Object.prototype,Dn=Array.prototype,Fn=Object.getPrototypeOf,wt=Object.isExtensible;const jn=()=>{};function Hn(e){for(var t=0;t<e.length;t++)e[t]()}function kt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const N=2,Oe=4,Te=8,ze=1<<24,ue=16,K=32,oe=64,nt=128,L=512,A=1024,S=2048,V=4096,W=8192,J=16384,we=32768,Pe=65536,$t=1<<17,Vn=1<<18,$e=1<<19,Bn=1<<20,hs=1<<25,ge=65536,rt=1<<21,ot=1<<22,ie=1<<23,me=Symbol("$state"),Lt=Symbol("legacy props"),ds=Symbol(""),he=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},vs=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),ps=1,Le=3,Ge=8;function qn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Yn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gs(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Un(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Wn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function zn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Xn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Jn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Zn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Qn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function er(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ws(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function tr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function De(e){$=e}let w;function B(e){if(e===null)throw Ke(),ye;return w=e}function It(){return B(te(w))}function $s(e){if($){if(te(w)!==null)throw Ke(),ye;w=e}}function nr(e=1){if($){for(var t=e,n=w;t--;)n=te(n);w=n}}function rr(e=!0){for(var t=0,n=w;;){if(n.nodeType===Ge){var r=n.data;if(r===Pt){if(t===0)return n;t-=1}else(r===xt||r===Ct||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=te(n);e&&n.remove(),n=s}}function bs(e){if(!e||e.nodeType!==Ge)throw Ke(),ye;return e.data}function Mt(e){return e===this.v}function sr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Dt(e){return!sr(e,this.v)}let ir=!1,O=null;function Ae(e){O=e}function ms(e){return jt().get(e)}function ys(e,t){return jt().set(e,t),t}function fr(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,l:null}}function ar(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)sn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Ft(){return!0}function jt(e){return O===null&&qn(),O.c??=new Map(lr(O)||void 0)}function lr(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let de=[];function Ht(){var e=de;de=[],Hn(e)}function fe(e){if(de.length===0&&!xe){var t=de;queueMicrotask(()=>{t===de&&Ht()})}de.push(e)}function ur(){for(;de.length>0;)Ht()}function Vt(e){var t=p;if(t===null)return v.f|=ie,e;if((t.f&we)===0&&(t.f&Oe)===0)throw e;se(e,t)}function se(e,t){for(;t!==null;){if((t.f&nt)!==0){if((t.f&we)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const or=-7169;function m(e,t){e.f=e.f&or|t}function ct(e){(e.f&L)!==0||e.deps===null?m(e,A):m(e,V)}function Bt(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&ge)===0||(t.f^=ge,Bt(t.deps))}function qt(e,t,n){(e.f&S)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Bt(e.deps),m(e,A)}const Fe=new Set;let b=null,bt=null,F=null,R=[],Xe=null,xe=!1,Se=null,cr=1;class Z{id=cr++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#i=0;#l=0;#s=null;#f=new Set;#n=new Set;#r=new Map;is_fork=!1;#a=!1;#o(){return this.is_fork||this.#l>0}skip_effect(t){this.#r.has(t)||this.#r.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#r.get(t);if(n){this.#r.delete(t);for(var r of n.d)m(r,S),U(r);for(r of n.m)m(r,V),U(r)}}process(t){R=[],this.apply();var n=Se=[],r=[];for(const s of t)this.#u(s,n,r);if(Se=null,this.#o()){this.#c(r),this.#c(n);for(const[s,i]of this.#r)Gt(s,i)}else{bt=this,b=null;for(const s of this.#e)s(this);this.#e.clear(),this.#i===0&&this.#h(),mt(r),mt(n),this.#f.clear(),this.#n.clear(),bt=null,this.#s?.resolve()}F=null}#u(t,n,r){t.f^=A;for(var s=t.first;s!==null;){var i=s.f,f=(i&(K|oe))!==0,l=f&&(i&A)!==0,a=(i&W)!==0,u=l||this.#r.has(s);if(!u&&s.fn!==null){f?a||(s.f^=A):(i&Oe)!==0?n.push(s):(i&(Te|ze))!==0&&a?r.push(s):Me(s)&&(Ne(s),(i&ue)!==0&&(this.#n.add(s),a&&m(s,S)));var c=s.first;if(c!==null){s=c;continue}}for(;s!==null;){var o=s.next;if(o!==null){s=o;break}s=s.parent}}}#c(t){for(var n=0;n<t.length;n+=1)qt(t[n],this.#f,this.#n)}capture(t,n){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ie)===0&&(this.current.set(t,t.v),F?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,F=null)}flush(){if(R.length>0)b=this,Ut();else if(this.#i===0&&!this.is_fork){for(const t of this.#e)t(this);this.#e.clear(),this.#h(),this.#s?.resolve()}this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#h(){if(Fe.size>1){this.previous.clear();var t=b,n=F,r=!0;for(const i of Fe){if(i===this){r=!1;continue}const f=[];for(const[a,u]of this.current){if(i.current.has(a))if(r&&u!==i.current.get(a))i.current.set(a,u);else continue;f.push(a)}if(f.length===0)continue;const l=[...i.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var s=R;R=[];const a=new Set,u=new Map;for(const c of f)Wt(c,l,a,u);if(R.length>0){b=i,i.apply();for(const c of R)i.#u(c,[],[]);i.deactivate()}R=s}}b=t,F=n}this.#r.clear(),Fe.delete(this)}increment(t){this.#i+=1,t&&(this.#l+=1)}decrement(t){this.#i-=1,t&&(this.#l-=1),!this.#a&&(this.#a=!0,fe(()=>{this.#a=!1,this.#o()?R.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#f)this.#n.delete(t),m(t,S),U(t);for(const t of this.#n)m(t,V),U(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#s??=kt()).promise}static ensure(){if(b===null){const t=b=new Z;Fe.add(b),xe||fe(()=>{b===t&&t.flush()})}return b}apply(){}}function Yt(e){var t=xe;xe=!0;try{for(var n;;){if(ur(),R.length===0&&(b?.flush(),R.length===0))return Xe=null,n;Ut()}}finally{xe=t}}function Ut(){var e=null;try{for(var t=0;R.length>0;){var n=Z.ensure();if(t++>1e3){var r,s;hr()}n.process(R),ae.clear()}}finally{R=[],Xe=null,Se=null}}function hr(){try{Gn()}catch(e){se(e,Xe)}}let X=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(J|W))===0&&Me(r)&&(X=new Set,Ne(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ln(r),X?.size>0)){ae.clear();for(const s of X){if((s.f&(J|W))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)X.has(f)&&(X.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(J|W))===0&&Ne(a)}}X.clear()}}X=null}}function Wt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&N)!==0?Wt(s,t,n,r):(i&(ot|ue))!==0&&(i&S)===0&&zt(s,t,r)&&(m(s,S),U(s))}}function zt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Ee.call(t,s))return!0;if((s.f&N)!==0&&zt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function U(e){var t=Xe=e,n=t.b;if(n?.is_pending&&(e.f&(Oe|Te|ze))!==0&&(e.f&we)===0){n.defer_effect(e);return}for(;t.parent!==null;){t=t.parent;var r=t.f;if(Se!==null&&t===p&&(e.f&Te)===0)return;if((r&(oe|K))!==0){if((r&A)===0)return;t.f^=A}}R.push(t)}function Gt(e,t){if(!((e.f&K)!==0&&(e.f&A)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),m(e,A);for(var n=e.first;n!==null;)Gt(n,t),n=n.next}}function dr(e){let t=0,n=Ie(0),r;return()=>{_t()&&(P(n),fn(()=>(t===0&&(r=wn(()=>e(()=>Ce(n)))),t+=1,()=>{fe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ce(n))})})))}}var _r=Pe|$e;function vr(e,t,n,r){new pr(e,t,n,r)}class pr{parent;is_pending=!1;transform_error;#e;#t=$?w:null;#i;#l;#s;#f=null;#n=null;#r=null;#a=null;#o=0;#u=0;#c=!1;#h=new Set;#_=new Set;#d=null;#$=dr(()=>(this.#d=Ie(this.#o),()=>{this.#d=null}));constructor(t,n,r,s){this.#e=t,this.#i=n,this.#l=i=>{var f=p;f.b=this,f.f|=nt,r(i)},this.parent=p.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#s=Lr(()=>{if($){const i=this.#t;It();const f=i.data===Ct;if(i.data.startsWith(gt)){const a=JSON.parse(i.data.slice(gt.length));this.#m(a)}else f?this.#y():this.#b()}else this.#g()},_r),$&&(this.#e=w)}#b(){try{this.#f=ce(()=>this.#l(this.#e))}catch(t){this.error(t)}}#m(t){const n=this.#i.failed;n&&(this.#r=ce(()=>{n(this.#e,()=>t,()=>()=>{})}))}#y(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#n=ce(()=>t(this.#e)),fe(()=>{var n=this.#a=document.createDocumentFragment(),r=Q();n.append(r),this.#f=this.#p(()=>(Z.ensure(),ce(()=>this.#l(r)))),this.#u===0&&(this.#e.before(n),this.#a=null,Ve(this.#n,()=>{this.#n=null}),this.#v())}))}#g(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#o=0,this.#f=ce(()=>{this.#l(this.#e)}),this.#u>0){var t=this.#a=document.createDocumentFragment();Dr(this.#f,t);const n=this.#i.pending;this.#n=ce(()=>n(this.#e))}else this.#v()}catch(n){this.error(n)}}#v(){this.is_pending=!1;for(const t of this.#h)m(t,S),U(t);for(const t of this.#_)m(t,V),U(t);this.#h.clear(),this.#_.clear()}defer_effect(t){qt(t,this.#h,this.#_)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#p(t){var n=p,r=v,s=O;G(this.#s),M(this.#s),Ae(this.#s.ctx);try{return t()}catch(i){return Vt(i),null}finally{G(n),M(r),Ae(s)}}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#u+=t,this.#u===0&&(this.#v(),this.#n&&Ve(this.#n,()=>{this.#n=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t){this.#w(t),this.#o+=t,!(!this.#d||this.#c)&&(this.#c=!0,fe(()=>{this.#c=!1,this.#d&&We(this.#d,this.#o)}))}get_effect_pending(){return this.#$(),P(this.#d)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(!n&&!r)throw t;this.#f&&(H(this.#f),this.#f=null),this.#n&&(H(this.#n),this.#n=null),this.#r&&(H(this.#r),this.#r=null),$&&(B(this.#t),nr(),B(rr()));var s=!1,i=!1;const f=()=>{if(s){tr();return}s=!0,i&&er(),this.#r!==null&&Ve(this.#r,()=>{this.#r=null}),this.#p(()=>{Z.ensure(),this.#g()})},l=a=>{try{i=!0,n?.(a,f),i=!1}catch(u){se(u,this.#s&&this.#s.parent)}r&&(this.#r=this.#p(()=>{Z.ensure();try{return ce(()=>{var u=p;u.b=this,u.f|=nt,r(this.#e,()=>a,()=>f)})}catch(u){return se(u,this.#s.parent),null}}))};fe(()=>{var a;try{a=this.transform_error(t)}catch(u){se(u,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,u=>se(u,this.#s&&this.#s.parent)):l(a)})}}function gr(e,t,n,r){const s=Je;var i=e.filter(o=>!o.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var f=p,l=wr(),a=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(o=>o.promise)):null;function u(o){l();try{r(o)}catch(h){(f.f&J)===0&&se(h,f)}st()}if(n.length===0){a.then(()=>u(t.map(s)));return}function c(){l(),Promise.all(n.map(o=>br(o))).then(o=>u([...t.map(s),...o])).catch(o=>se(o,f))}a?a.then(c):c()}function wr(){var e=p,t=v,n=O,r=b;return function(i=!0){G(e),M(t),Ae(n),i&&r?.activate()}}function st(e=!0){G(null),M(null),Ae(null),e&&b?.deactivate()}function $r(){var e=p.b,t=b,n=e.is_rendered();return e.update_pending_count(1),t.increment(n),()=>{e.update_pending_count(-1),t.decrement(n)}}function Je(e){var t=N|S,n=v!==null&&(v.f&N)!==0?v:null;return p!==null&&(p.f|=$e),{ctx:O,deps:null,effects:null,equals:Mt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function br(e,t,n){p===null&&Yn();var s=void 0,i=Ie(T),f=!v,l=new Map;return kr(()=>{var a=kt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(st)}catch(h){a.reject(h),st()}var u=b;if(f){var c=$r();l.get(u)?.reject(he),l.delete(u),l.set(u,a)}const o=(h,_=void 0)=>{if(u.activate(),_)_!==he&&(i.f|=ie,We(i,_));else{(i.f&ie)!==0&&(i.f^=ie),We(i,h);for(const[d,g]of l){if(l.delete(d),d===u)break;g.reject(he)}}c&&c()};a.promise.then(o,h=>o(null,h||"unknown"))}),rn(()=>{for(const a of l.values())a.reject(he)}),new Promise(a=>{function u(c){function o(){c===s?a(i):u(s)}c.then(o,o)}u(s)})}function Es(e){const t=Je(e);return cn(t),t}function mr(e){const t=Je(e);return t.equals=Dt,t}function yr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function Er(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&J)===0?t:null;t=t.parent}return null}function ht(e){var t,n=p;G(Er(e));try{e.f&=~ge,yr(e),t=vn(e)}finally{G(n)}return t}function Kt(e){var t=ht(e);if(!e.equals(t)&&(e.wv=dn(),(!b?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){m(e,A);return}le||(F!==null?(_t()||b?.is_fork)&&F.set(e,t):ct(e))}function Tr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(he),t.teardown=jn,t.ac=null,ke(t,0),vt(t))}function Xt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ne(t)}let it=new Set;const ae=new Map;let Jt=!1;function Ie(e,t){var n={f:0,v:e,reactions:null,equals:Mt,rv:0,wv:0};return n}function re(e,t){const n=Ie(e);return cn(n),n}function Ar(e,t=!1,n=!0){const r=Ie(e);return t||(r.equals=Dt),r}function Y(e,t,n=!1){v!==null&&(!j||(v.f&$t)!==0)&&Ft()&&(v.f&(N|ue|ot|$t))!==0&&(I===null||!Ee.call(I,e))&&Qn();let r=n?be(t):t;return We(e,r)}function We(e,t){if(!e.equals(t)){var n=e.v;le?ae.set(e,t):ae.set(e,n),e.v=t;var r=Z.ensure();if(r.capture(e,n),(e.f&N)!==0){const s=e;(e.f&S)!==0&&ht(s),ct(s)}e.wv=dn(),Zt(e,S),p!==null&&(p.f&A)!==0&&(p.f&(K|oe))===0&&(k===null?Fr([e]):k.push(e)),!r.is_fork&&it.size>0&&!Jt&&Sr()}return t}function Sr(){Jt=!1;for(const e of it)(e.f&A)!==0&&m(e,V),Me(e)&&Ne(e);it.clear()}function Ts(e,t=1){var n=P(e),r=t===1?n++:n--;return Y(e,n),r}function Ce(e){Y(e,e.v+1)}function Zt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&S)===0;if(l&&m(i,t),(f&N)!==0){var a=i;F?.delete(a),(f&ge)===0&&(f&L&&(i.f|=ge),Zt(a,V))}else l&&((f&ue)!==0&&X!==null&&X.add(i),U(i))}}function be(e){if(typeof e!="object"||e===null||me in e)return e;const t=Fn(e);if(t!==Mn&&t!==Dn)return e;var n=new Map,r=kn(e),s=re(0),i=pe,f=l=>{if(pe===i)return l();var a=v,u=pe;M(null),St(i);var c=l();return M(a),St(u),c};return r&&n.set("length",re(e.length)),new Proxy(e,{defineProperty(l,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Jn();var c=n.get(a);return c===void 0?f(()=>{var o=re(u.value);return n.set(a,o),o}):Y(c,u.value,!0),!0},deleteProperty(l,a){var u=n.get(a);if(u===void 0){if(a in l){const c=f(()=>re(T));n.set(a,c),Ce(s)}}else Y(u,T),Ce(s);return!0},get(l,a,u){if(a===me)return e;var c=n.get(a),o=a in l;if(c===void 0&&(!o||ve(l,a)?.writable)&&(c=f(()=>{var _=be(o?l[a]:T),d=re(_);return d}),n.set(a,c)),c!==void 0){var h=P(c);return h===T?void 0:h}return Reflect.get(l,a,u)},getOwnPropertyDescriptor(l,a){var u=Reflect.getOwnPropertyDescriptor(l,a);if(u&&"value"in u){var c=n.get(a);c&&(u.value=P(c))}else if(u===void 0){var o=n.get(a),h=o?.v;if(o!==void 0&&h!==T)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(l,a){if(a===me)return!0;var u=n.get(a),c=u!==void 0&&u.v!==T||Reflect.has(l,a);if(u!==void 0||p!==null&&(!c||ve(l,a)?.writable)){u===void 0&&(u=f(()=>{var h=c?be(l[a]):T,_=re(h);return _}),n.set(a,u));var o=P(u);if(o===T)return!1}return c},set(l,a,u,c){var o=n.get(a),h=a in l;if(r&&a==="length")for(var _=u;_<o.v;_+=1){var d=n.get(_+"");d!==void 0?Y(d,T):_ in l&&(d=f(()=>re(T)),n.set(_+"",d))}if(o===void 0)(!h||ve(l,a)?.writable)&&(o=f(()=>re(void 0)),Y(o,be(u)),n.set(a,o));else{h=o.v!==T;var g=f(()=>be(u));Y(o,g)}var y=Reflect.getOwnPropertyDescriptor(l,a);if(y?.set&&y.set.call(c,u),!h){if(r&&typeof a=="string"){var D=n.get("length"),E=Number(a);Number.isInteger(E)&&E>=D.v&&Y(D,E+1)}Ce(s)}return!0},ownKeys(l){P(s);var a=Reflect.ownKeys(l).filter(o=>{var h=n.get(o);return h===void 0||h.v!==T});for(var[u,c]of n)c.v!==T&&!(u in l)&&a.push(u);return a},setPrototypeOf(){Zn()}})}function yt(e){try{if(e!==null&&typeof e=="object"&&me in e)return e[me]}catch{}return e}function As(e,t){return Object.is(yt(e),yt(t))}var Et,Qt,en,tn;function ft(){if(Et===void 0){Et=window,Qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;en=ve(t,"firstChild").get,tn=ve(t,"nextSibling").get,wt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wt(n)&&(n.__t=void 0)}}function Q(e=""){return document.createTextNode(e)}function ee(e){return en.call(e)}function te(e){return tn.call(e)}function Ss(e,t){if(!$)return ee(e);var n=ee(w);if(n===null)n=w.appendChild(Q());else if(t&&n.nodeType!==Le){var r=Q();return n?.before(r),B(r),r}return t&&Ze(n),B(n),n}function Ns(e,t=!1){if(!$){var n=ee(e);return n instanceof Comment&&n.data===""?te(n):n}if(t){if(w?.nodeType!==Le){var r=Q();return w?.before(r),B(r),r}Ze(w)}return w}function Os(e,t=1,n=!1){let r=$?w:e;for(var s;t--;)s=r,r=te(r);if(!$)return r;if(n){if(r?.nodeType!==Le){var i=Q();return r===null?s?.after(i):r.before(i),B(i),i}Ze(r)}return B(r),r}function nn(e){e.textContent=""}function Rs(){return!1}function dt(e,t,n){return document.createElementNS(t??Pn,e,void 0)}function Ze(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Le;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function xs(e,t){if(t){const n=document.body;e.autofocus=!0,fe(()=>{document.activeElement===n&&e.focus()})}}function Cs(e){$&&ee(e)!==null&&nn(e)}let Tt=!1;function Nr(){Tt||(Tt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Qe(e){var t=v,n=p;M(null),G(null);try{return e()}finally{M(t),G(n)}}function Ps(e,t,n,r=n){e.addEventListener(t,()=>Qe(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Nr()}function Or(e){p===null&&(v===null&&zn(),Wn()),le&&Un()}function Rr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function q(e,t){var n=p;n!==null&&(n.f&W)!==0&&(e|=W);var r={ctx:O,deps:null,nodes:null,f:e|S|L,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&Oe)!==0)Se!==null?Se.push(r):U(r);else if(t!==null){try{Ne(r)}catch(f){throw H(r),f}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&$e)===0&&(s=s.first,(e&ue)!==0&&(e&Pe)!==0&&s!==null&&(s.f|=Pe))}if(s!==null&&(s.parent=n,n!==null&&Rr(s,n),v!==null&&(v.f&N)!==0&&(e&oe)===0)){var i=v;(i.effects??=[]).push(s)}return r}function _t(){return v!==null&&!j}function rn(e){const t=q(Te,null);return m(t,A),t.teardown=e,t}function ks(e){Or();var t=p.f,n=!v&&(t&K)!==0&&(t&we)===0;if(n){var r=O;(r.e??=[]).push(e)}else return sn(e)}function sn(e){return q(Oe|Bn,e)}function xr(e){Z.ensure();const t=q(oe|$e,e);return()=>{H(t)}}function Cr(e){Z.ensure();const t=q(oe|$e,e);return(n={})=>new Promise(r=>{n.outro?Ve(t,()=>{H(t),r(void 0)}):(H(t),r(void 0))})}function Pr(e){return q(Oe,e)}function kr(e){return q(ot|$e,e)}function fn(e,t=0){return q(Te|t,e)}function Ls(e,t=[],n=[],r=[]){gr(r,t,n,s=>{q(Te,()=>e(...s.map(P)))})}function Lr(e,t=0){var n=q(ue|t,e);return n}function Is(e,t=0){var n=q(ze|t,e);return n}function ce(e){return q(K|$e,e)}function an(e){var t=e.teardown;if(t!==null){const n=le,r=v;At(!0),M(null);try{t.call(null)}finally{At(n),M(r)}}}function vt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Qe(()=>{s.abort(he)});var r=n.next;(n.f&oe)!==0?n.parent=null:H(n,t),n=r}}function Ir(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&K)===0&&H(t),t=n}}function H(e,t=!0){var n=!1;(t||(e.f&Vn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Mr(e.nodes.start,e.nodes.end),n=!0),vt(e,t&&!n),ke(e,0),m(e,J);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();an(e);var s=e.parent;s!==null&&s.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Mr(e,t){for(;e!==null;){var n=e===t?null:te(e);e.remove(),e=n}}function ln(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ve(e,t,n=!0){var r=[];un(e,r,!0);var s=()=>{n&&H(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var l of r)l.out(f)}else s()}function un(e,t,n){if((e.f&W)===0){e.f^=W;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&Pe)!==0||(s.f&K)!==0&&(e.f&ue)!==0;un(s,t,f?n:!1),s=i}}}function Ms(e){on(e,!0)}function on(e,t){if((e.f&W)!==0){e.f^=W;for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Pe)!==0||(n.f&K)!==0;on(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const f of i)(f.is_global||t)&&f.in()}}function Dr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:te(n);t.append(n),n=s}}let Be=!1,le=!1;function At(e){le=e}let v=null,j=!1;function M(e){v=e}let p=null;function G(e){p=e}let I=null;function cn(e){v!==null&&(I===null?I=[e]:I.push(e))}let x=null,C=0,k=null;function Fr(e){k=e}let hn=1,_e=0,pe=_e;function St(e){pe=e}function dn(){return++hn}function Me(e){var t=e.f;if((t&S)!==0)return!0;if(t&N&&(e.f&=~ge),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Me(i)&&Kt(i),i.wv>e.wv)return!0}(t&L)!==0&&F===null&&m(e,A)}return!1}function _n(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&Ee.call(I,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&N)!==0?_n(i,t,!1):t===i&&(n?m(i,S):(i.f&A)!==0&&m(i,V),U(i))}}function vn(e){var t=x,n=C,r=k,s=v,i=I,f=O,l=j,a=pe,u=e.f;x=null,C=0,k=null,v=(u&(K|oe))===0?e:null,I=null,Ae(e.ctx),j=!1,pe=++_e,e.ac!==null&&(Qe(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=rt;var c=e.fn,o=c();e.f|=we;var h=e.deps,_=b?.is_fork;if(x!==null){var d;if(_||ke(e,C),h!==null&&C>0)for(h.length=C+x.length,d=0;d<x.length;d++)h[C+d]=x[d];else e.deps=h=x;if(_t()&&(e.f&L)!==0)for(d=C;d<h.length;d++)(h[d].reactions??=[]).push(e)}else!_&&h!==null&&C<h.length&&(ke(e,C),h.length=C);if(Ft()&&k!==null&&!j&&h!==null&&(e.f&(N|V|S))===0)for(d=0;d<k.length;d++)_n(k[d],e);if(s!==null&&s!==e){if(_e++,s.deps!==null)for(let g=0;g<n;g+=1)s.deps[g].rv=_e;if(t!==null)for(const g of t)g.rv=_e;k!==null&&(r===null?r=k:r.push(...k))}return(e.f&ie)!==0&&(e.f^=ie),o}catch(g){return Vt(g)}finally{e.f^=rt,x=t,C=n,k=r,v=s,I=i,Ae(f),j=l,pe=a}}function jr(e,t){let n=t.reactions;if(n!==null){var r=Ln.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&N)!==0&&(x===null||!Ee.call(x,t))){var i=t;(i.f&L)!==0&&(i.f^=L,i.f&=~ge),ct(i),Tr(i),ke(i,0)}}function ke(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)jr(e,n[r])}function Ne(e){var t=e.f;if((t&J)===0){m(e,A);var n=p,r=Be;p=e,Be=!0;try{(t&(ue|ze))!==0?Ir(e):vt(e),an(e);var s=vn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i;tt&&ir&&(e.f&S)!==0&&e.deps}finally{Be=r,p=n}}}async function Ds(){await Promise.resolve(),Yt()}function P(e){var t=e.f,n=(t&N)!==0;if(v!==null&&!j){var r=p!==null&&(p.f&J)!==0;if(!r&&(I===null||!Ee.call(I,e))){var s=v.deps;if((v.f&rt)!==0)e.rv<_e&&(e.rv=_e,x===null&&s!==null&&s[C]===e?C++:x===null?x=[e]:x.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:Ee.call(i,v)||i.push(v)}}}if(le&&ae.has(e))return ae.get(e);if(n){var f=e;if(le){var l=f.v;return((f.f&A)===0&&f.reactions!==null||gn(f))&&(l=ht(f)),ae.set(f,l),l}var a=(f.f&L)===0&&!j&&v!==null&&(Be||(v.f&L)!==0),u=(f.f&we)===0;Me(f)&&(a&&(f.f|=L),Kt(f)),a&&!u&&(Xt(f),pn(f))}if(F?.has(e))return F.get(e);if((e.f&ie)!==0)throw e.v;return e.v}function pn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&L)===0&&(Xt(t),pn(t))}function gn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ae.has(t)||(t.f&N)!==0&&gn(t))return!0;return!1}function wn(e){var t=j;try{return j=!0,e()}finally{j=t}}const Re=Symbol("events"),$n=new Set,at=new Set;function bn(e,t,n,r={}){function s(i){if(r.capture||lt.call(t,i),!i.cancelBubble)return Qe(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?fe(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function Fs(e,t,n,r={}){var s=bn(t,e,n,r);return()=>{e.removeEventListener(t,s,r)}}function js(e,t,n,r,s){var i={capture:r,passive:s},f=bn(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&rn(()=>{t.removeEventListener(e,f,i)})}function Hs(e,t,n){(t[Re]??={})[e]=n}function Vs(e){for(var t=0;t<e.length;t++)$n.add(e[t]);for(var n of at)n(e)}let Nt=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Nt=e;var f=0,l=Nt===e&&e[Re];if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e[Re]=t;return}var u=s.indexOf(t);if(u===-1)return;a<=u&&(f=a)}if(i=s[f]||e.target,i!==t){Ue(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=v,o=p;M(null),G(null);try{for(var h,_=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var g=i[Re]?.[r];g!=null&&(!i.disabled||e.target===i)&&g.call(i,e)}catch(y){h?_.push(y):h=y}if(e.cancelBubble||d===t||d===null)break;i=d}if(h){for(let y of _)queueMicrotask(()=>{throw y});throw h}}finally{e[Re]=t,delete e.currentTarget,M(c),G(o)}}}const Hr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Vr(e){return Hr?.createHTML(e)??e}function mn(e){var t=dt("template");return t.innerHTML=Vr(e.replaceAll("<!>","<!---->")),t.content}function z(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Bs(e,t){var n=(t&xn)!==0,r=(t&Cn)!==0,s,i=!e.startsWith("<!>");return()=>{if($)return z(w,null),w;s===void 0&&(s=mn(i?e:"<!>"+e),n||(s=ee(s)));var f=r||Qt?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=ee(f),a=f.lastChild;z(l,a)}else z(f,f);return f}}function Br(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,i;return()=>{if($)return z(w,null),w;if(!i){var f=mn(s),l=ee(f);i=ee(l)}var a=i.cloneNode(!0);return z(a,a),a}}function qs(e,t){return Br(e,t,"svg")}function Ys(e=""){if(!$){var t=Q(e+"");return z(t,t),t}var n=w;return n.nodeType!==Le?(n.before(n=Q()),B(n)):Ze(n),z(n,n),n}function Us(){if($)return z(w,null),w;var e=document.createDocumentFragment(),t=document.createComment(""),n=Q();return e.append(t,n),z(t,n),e}function qr(e,t){if($){var n=p;((n.f&we)===0||n.nodes.end===null)&&(n.nodes.end=w),It();return}e!==null&&e.before(t)}function Ws(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Yr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function zs(e){return Yr.includes(e)}const Ur={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Gs(e){return e=e.toLowerCase(),Ur[e]??e}const Wr=["touchstart","touchmove"];function zr(e){return Wr.includes(e)}const Gr=["textarea","script","style","title"];function Ks(e){return Gr.includes(e)}function Xs(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function yn(e,t){return En(e,t)}function Kr(e,t){ft(),t.intro=t.intro??!1;const n=t.target,r=$,s=w;try{for(var i=ee(n);i&&(i.nodeType!==Ge||i.data!==xt);)i=te(i);if(!i)throw ye;De(!0),B(i);const f=En(e,{...t,anchor:i});return De(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==ye&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Kn(),ft(),nn(n),De(!1),yn(e,t)}finally{De(r),B(s)}}const je=new Map;function En(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0,transformError:l}){ft();var a=void 0,u=Cr(()=>{var c=n??t.appendChild(Q());vr(c,{pending:()=>{}},_=>{fr({});var d=O;if(i&&(d.c=i),s&&(r.$$events=s),$&&z(_,null),a=e(_,r)||{},$&&(p.nodes.end=w,w===null||w.nodeType!==Ge||w.data!==Pt))throw Ke(),ye;ar()},l);var o=new Set,h=_=>{for(var d=0;d<_.length;d++){var g=_[d];if(!o.has(g)){o.add(g);var y=zr(g);for(const ne of[t,document]){var D=je.get(ne);D===void 0&&(D=new Map,je.set(ne,D));var E=D.get(g);E===void 0?(ne.addEventListener(g,lt,{passive:y}),D.set(g,1)):D.set(g,E+1)}}}};return h(In($n)),at.add(h),()=>{for(var _ of o)for(const y of[t,document]){var d=je.get(y),g=d.get(_);--g==0?(y.removeEventListener(_,lt),d.delete(_),d.size===0&&je.delete(y)):d.set(_,g)}at.delete(h),c!==n&&c.parentNode?.removeChild(c)}});return ut.set(a,u),a}let ut=new WeakMap;function Xr(e,t){const n=ut.get(e);return n?(ut.delete(e),n(t)):Promise.resolve()}function Js(e,t){Pr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=dt("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function Tn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Tn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Jr(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Tn(e))&&(r&&(r+=" "),r+=t);return r}function Zs(e){return typeof e=="object"?Jr(e):e??""}const Ot=[...`
3
+ \r\f \v\uFEFF`];function Zr(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var s of Object.keys(n))if(n[s])r=r?r+" "+s:s;else if(r.length)for(var i=s.length,f=0;(f=r.indexOf(s,f))>=0;){var l=f+i;(f===0||Ot.includes(r[f-1]))&&(l===r.length||Ot.includes(r[l]))?r=(f===0?"":r.substring(0,f))+r.substring(l+1):f=l}}return r===""?null:r}function Rt(e,t=!1){var n=t?" !important;":";",r="";for(var s of Object.keys(e)){var i=e[s];i!=null&&i!==""&&(r+=" "+s+": "+i+n)}return r}function et(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Qs(e,t){if(t){var n="",r,s;if(Array.isArray(t)?(r=t[0],s=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,f=0,l=!1,a=[];r&&a.push(...Object.keys(r).map(et)),s&&a.push(...Object.keys(s).map(et));var u=0,c=-1;const g=e.length;for(var o=0;o<g;o++){var h=e[o];if(l?h==="/"&&e[o-1]==="*"&&(l=!1):i?i===h&&(i=!1):h==="/"&&e[o+1]==="*"?l=!0:h==='"'||h==="'"?i=h:h==="("?f++:h===")"&&f--,!l&&i===!1&&f===0){if(h===":"&&c===-1)c=o;else if(h===";"||o===g-1){if(c!==-1){var _=et(e.substring(u,c).trim());if(!a.includes(_)){h!==";"&&o++;var d=e.substring(u,o).trim();n+=" "+d+";"}}u=o+1,c=-1}}}}return r&&(n+=Rt(r)),s&&(n+=Rt(s,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function ei(e,t,n,r,s,i){var f=e.__className;if($||f!==n||f===void 0){var l=Zr(n,r,i);(!$||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):t?e.className=l:e.setAttribute("class",l)),e.__className=n}else if(i&&s!==i)for(var a in i){var u=!!i[a];(s==null||u!==!!s[a])&&e.classList.toggle(a,u)}return i}let He=!1;function Qr(e){var t=He;try{return He=!1,[e(),He]}finally{He=t}}function ti(e,t=1){const n=e();return e(n+t),n}const es={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ni(e,t,n){return new Proxy({props:e,exclude:t},es)}function ri(e,t,n,r){var s=(n&On)!==0,i=(n&Rn)!==0,f=r,l=!0,a=()=>(l&&(l=!1,f=i?wn(r):r),f),u;if(s){var c=me in e||Lt in e;u=ve(e,t)?.set??(c&&t in e?E=>e[t]=E:void 0)}var o,h=!1;s?[o,h]=Qr(()=>e[t]):o=e[t],o===void 0&&r!==void 0&&(o=a(),u&&(Xn(),u(o)));var _;if(_=()=>{var E=e[t];return E===void 0?a():(l=!0,E)},(n&Nn)===0)return _;if(u){var d=e.$$legacy;return(function(E,ne){return arguments.length>0?((!ne||d||h)&&u(ne?_():E),E):_()})}var g=!1,y=((n&Sn)!==0?Je:mr)(()=>(g=!1,_()));s&&P(y);var D=p;return(function(E,ne){if(arguments.length>0){const pt=ne?P(y):s?be(E):E;return Y(y,pt),g=!0,f!==void 0&&(f=pt),E}return le&&g||(D.f&J)!==0?y.v:P(y)})}function ts(e){return new ns(e)}class ns{#e;#t;constructor(t){var n=new Map,r=(i,f)=>{var l=Ar(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return P(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===Lt?!0:(P(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return Y(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#t=(t.hydrate?Kr:yn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Yt(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||Ue(this,i,{get(){return this.#t[i]},set(f){this.#t[i]=f},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{Xr(this.#t)}}$set(t){this.#t.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let An;typeof HTMLElement=="function"&&(An=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=dt("slot");r!=="default"&&(i.name=r),qr(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=rs(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=qe(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ts({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=xr(()=>{fn(()=>{this.$$r=!0;for(const r of Ye(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=qe(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=qe(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Ye(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qe(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function rs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function si(e,t,n,r,s,i){let f=class extends An{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Ye(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Ye(t).forEach(l=>{Ue(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=qe(l,a,t),this.$$d[l]=a;var u=this.$$c;if(u){var c=ve(u,l)?.get;c?u[l]=a:u.$set({[l]:a})}}})}),r.forEach(l=>{Ue(f.prototype,l,{get(){return this.$$c?.[l]}})}),i&&(f=i(f)),e.element=f,f}export{Gs as $,ti as A,ks as B,js as C,ms as D,ys as E,dr as F,Fs as G,$ as H,It as I,Is as J,H as K,ce as L,Pr as M,Qs as N,kn as O,ws as P,As as Q,rn as R,Ps as S,b as T,bt as U,gr as V,os as W,vs as X,Ws as Y,bn as Z,xs as _,Js as a,T as a0,Pn as a1,Fn as a2,ds as a3,zs as a4,cs as a5,fe as a6,Nr as a7,De as a8,M as a9,K as aA,as as aB,nn as aC,Dr as aD,ee as aE,Ct as aF,Ge as aG,Pt as aH,te as aI,wn as aJ,fn as aK,Ds as aL,O as aM,qn as aN,xt as aO,me as aP,qs as aQ,dt as aR,us as aS,z as aT,ps as aU,Ks as aV,nr as aW,pe as aX,Ce as aY,Ys as aZ,Ts as a_,G as aa,v as ab,p as ac,Lr as ad,Pe as ae,bs as af,rr as ag,B as ah,w as ai,Q as aj,We as ak,hs as al,gs as am,Rs as an,fs as ao,mr as ap,In as aq,ss as ar,ls as as,Ar as at,Ie as au,is as av,J as aw,Ms as ax,Ve as ay,W as az,qr as b,si as c,ar as d,fr as e,Bs as f,be as g,Ss as h,P as i,ei as j,Xs as k,Zs as l,Yt as m,ni as n,Vs as o,ri as p,Y as q,$s as r,Os as s,Ls as t,Hs as u,re as v,Es as w,Ns as x,Us as y,Cs as z};
4
4
  //# sourceMappingURL=custom-element.js.map