@m3e/core 1.0.0-rc.1 → 1.0.0-rc.3

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 (179) hide show
  1. package/README.md +1 -2
  2. package/dist/a11y.js +6 -18
  3. package/dist/a11y.js.map +1 -1
  4. package/dist/a11y.min.js +5 -5
  5. package/dist/a11y.min.js.map +1 -1
  6. package/dist/css-custom-data.json +20 -0
  7. package/dist/custom-elements.json +3605 -3375
  8. package/dist/html-custom-data.json +36 -6
  9. package/dist/index.js +417 -33
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.min.js +95 -84
  12. package/dist/index.min.js.map +1 -1
  13. package/dist/src/a11y/FocusTrapElement.d.ts +1 -1
  14. package/dist/src/a11y/FocusTrapElement.d.ts.map +1 -1
  15. package/dist/src/shared/controllers/PressedController.d.ts +2 -0
  16. package/dist/src/shared/controllers/PressedController.d.ts.map +1 -1
  17. package/dist/src/shared/mixins/AttachInternals.d.ts.map +1 -1
  18. package/dist/src/shared/mixins/Checked.d.ts.map +1 -1
  19. package/dist/src/shared/mixins/CheckedIndeterminate.d.ts.map +1 -1
  20. package/dist/src/shared/mixins/ConstraintValidation.d.ts.map +1 -1
  21. package/dist/src/shared/mixins/Dirty.d.ts.map +1 -1
  22. package/dist/src/shared/mixins/Disabled.d.ts.map +1 -1
  23. package/dist/src/shared/mixins/DisabledInteractive.d.ts.map +1 -1
  24. package/dist/src/shared/mixins/EventAttribute.d.ts.map +1 -1
  25. package/dist/src/shared/mixins/Focusable.d.ts.map +1 -1
  26. package/dist/src/shared/mixins/FormAssociated.d.ts.map +1 -1
  27. package/dist/src/shared/mixins/FormSubmitter.d.ts +4 -1
  28. package/dist/src/shared/mixins/FormSubmitter.d.ts.map +1 -1
  29. package/dist/src/shared/mixins/HtmlFor.d.ts.map +1 -1
  30. package/dist/src/shared/mixins/KeyboardClick.d.ts.map +1 -1
  31. package/dist/src/shared/mixins/Labelled.d.ts.map +1 -1
  32. package/dist/src/shared/mixins/LinkButton.d.ts +13 -3
  33. package/dist/src/shared/mixins/LinkButton.d.ts.map +1 -1
  34. package/dist/src/shared/mixins/ReadOnly.d.ts.map +1 -1
  35. package/dist/src/shared/mixins/Required.d.ts.map +1 -1
  36. package/dist/src/shared/mixins/RequiredConstraintValidation.d.ts.map +1 -1
  37. package/dist/src/shared/mixins/Role.d.ts.map +1 -1
  38. package/dist/src/shared/mixins/Selected.d.ts.map +1 -1
  39. package/dist/src/shared/mixins/Touched.d.ts.map +1 -1
  40. package/dist/src/shared/mixins/Vertical.d.ts.map +1 -1
  41. package/dist/src/shared/primitives/CollapsibleElement.d.ts +1 -1
  42. package/dist/src/shared/primitives/CollapsibleElement.d.ts.map +1 -1
  43. package/dist/src/shared/primitives/ElevationElement.d.ts +0 -1
  44. package/dist/src/shared/primitives/ElevationElement.d.ts.map +1 -1
  45. package/dist/src/shared/primitives/FocusRingElement.d.ts +0 -1
  46. package/dist/src/shared/primitives/FocusRingElement.d.ts.map +1 -1
  47. package/dist/src/shared/primitives/PseudoCheckboxElement.d.ts +0 -1
  48. package/dist/src/shared/primitives/PseudoCheckboxElement.d.ts.map +1 -1
  49. package/dist/src/shared/primitives/PseudoRadioElement.d.ts +0 -1
  50. package/dist/src/shared/primitives/PseudoRadioElement.d.ts.map +1 -1
  51. package/dist/src/shared/primitives/RippleElement.d.ts +0 -1
  52. package/dist/src/shared/primitives/RippleElement.d.ts.map +1 -1
  53. package/dist/src/shared/primitives/ScrollContainerElement.d.ts +1 -4
  54. package/dist/src/shared/primitives/ScrollContainerElement.d.ts.map +1 -1
  55. package/dist/src/shared/primitives/SlideElement.d.ts +1 -3
  56. package/dist/src/shared/primitives/SlideElement.d.ts.map +1 -1
  57. package/dist/src/shared/primitives/StateLayerElement.d.ts +0 -1
  58. package/dist/src/shared/primitives/StateLayerElement.d.ts.map +1 -1
  59. package/dist/src/shared/primitives/TextHighlightElement.d.ts +81 -0
  60. package/dist/src/shared/primitives/TextHighlightElement.d.ts.map +1 -0
  61. package/dist/src/shared/primitives/TextOverflowElement.d.ts +0 -1
  62. package/dist/src/shared/primitives/TextOverflowElement.d.ts.map +1 -1
  63. package/dist/src/shared/primitives/index.d.ts +1 -0
  64. package/dist/src/shared/primitives/index.d.ts.map +1 -1
  65. package/dist/src/shared/utils/scrollIntoViewIfNeeded.d.ts +2 -2
  66. package/dist/src/shared/utils/scrollIntoViewIfNeeded.d.ts.map +1 -1
  67. package/package.json +1 -1
  68. package/cem.config.mjs +0 -16
  69. package/demo/index.html +0 -58
  70. package/eslint.config.mjs +0 -21
  71. package/rollup.config.js +0 -132
  72. package/src/a11y/AriaDescriber.ts +0 -130
  73. package/src/a11y/FocusTrapElement.ts +0 -136
  74. package/src/a11y/InteractivityChecker.ts +0 -62
  75. package/src/a11y/LiveAnnouncer.ts +0 -143
  76. package/src/a11y/aria-reference.ts +0 -51
  77. package/src/a11y/index.ts +0 -8
  78. package/src/a11y/keycodes/KeyCode.ts +0 -128
  79. package/src/a11y/keycodes/ModifierKeys.ts +0 -5
  80. package/src/a11y/keycodes/getKeyCode.ts +0 -8
  81. package/src/a11y/keycodes/hasModifierKey.ts +0 -11
  82. package/src/a11y/keycodes/index.ts +0 -5
  83. package/src/a11y/keycodes/isModifierAllowed.ts +0 -12
  84. package/src/a11y/list-key/FocusKeyManager.ts +0 -25
  85. package/src/a11y/list-key/ListKeyManager.ts +0 -350
  86. package/src/a11y/list-key/ListManager.ts +0 -66
  87. package/src/a11y/list-key/RadioKeyManager.ts +0 -49
  88. package/src/a11y/list-key/RovingTabIndexManager.ts +0 -56
  89. package/src/a11y/list-key/SelectionManager.ts +0 -132
  90. package/src/a11y/list-key/Typeahead.ts +0 -131
  91. package/src/a11y/list-key/index.ts +0 -7
  92. package/src/a11y/visuallyHide.ts +0 -18
  93. package/src/anchoring/AnchorOptions.ts +0 -19
  94. package/src/anchoring/AnchorPosition.ts +0 -14
  95. package/src/anchoring/index.ts +0 -3
  96. package/src/anchoring/positionAnchor.ts +0 -53
  97. package/src/bidi/Directionality.ts +0 -85
  98. package/src/bidi/index.ts +0 -1
  99. package/src/index.ts +0 -1
  100. package/src/layout/Breakpoint.ts +0 -26
  101. package/src/layout/BreakpointObserver.ts +0 -44
  102. package/src/layout/index.ts +0 -2
  103. package/src/platform/Platform.ts +0 -67
  104. package/src/platform/index.ts +0 -1
  105. package/src/shared/controllers/FocusController.ts +0 -60
  106. package/src/shared/controllers/HoverController.ts +0 -140
  107. package/src/shared/controllers/IntersectionController.ts +0 -81
  108. package/src/shared/controllers/LongPressController.ts +0 -87
  109. package/src/shared/controllers/MonitorControllerBase.ts +0 -99
  110. package/src/shared/controllers/MutationController.ts +0 -89
  111. package/src/shared/controllers/PressedController.ts +0 -137
  112. package/src/shared/controllers/ResizeController.ts +0 -83
  113. package/src/shared/controllers/ScrollController.ts +0 -100
  114. package/src/shared/controllers/index.ts +0 -8
  115. package/src/shared/decorators/debounce.ts +0 -19
  116. package/src/shared/decorators/index.ts +0 -1
  117. package/src/shared/directives/index.ts +0 -1
  118. package/src/shared/directives/safeStyleMap.ts +0 -108
  119. package/src/shared/index.ts +0 -7
  120. package/src/shared/mixins/AttachInternals.ts +0 -48
  121. package/src/shared/mixins/Checked.ts +0 -50
  122. package/src/shared/mixins/CheckedIndeterminate.ts +0 -47
  123. package/src/shared/mixins/CheckedOrSelected.ts +0 -36
  124. package/src/shared/mixins/ConstraintValidation.ts +0 -213
  125. package/src/shared/mixins/Constructor.ts +0 -2
  126. package/src/shared/mixins/Dirty.ts +0 -71
  127. package/src/shared/mixins/Disabled.ts +0 -49
  128. package/src/shared/mixins/DisabledInteractive.ts +0 -78
  129. package/src/shared/mixins/EventAttribute.ts +0 -25
  130. package/src/shared/mixins/Focusable.ts +0 -52
  131. package/src/shared/mixins/FormAssociated.ts +0 -152
  132. package/src/shared/mixins/FormSubmitter.ts +0 -123
  133. package/src/shared/mixins/HtmlFor.ts +0 -89
  134. package/src/shared/mixins/KeyboardClick.ts +0 -46
  135. package/src/shared/mixins/Labelled.ts +0 -88
  136. package/src/shared/mixins/LinkButton.ts +0 -169
  137. package/src/shared/mixins/ReadOnly.ts +0 -48
  138. package/src/shared/mixins/Required.ts +0 -50
  139. package/src/shared/mixins/RequiredConstraintValidation.ts +0 -45
  140. package/src/shared/mixins/Role.ts +0 -134
  141. package/src/shared/mixins/Selected.ts +0 -50
  142. package/src/shared/mixins/Touched.ts +0 -71
  143. package/src/shared/mixins/Vertical.ts +0 -44
  144. package/src/shared/mixins/hasKeys.ts +0 -10
  145. package/src/shared/mixins/index.ts +0 -24
  146. package/src/shared/primitives/CollapsibleElement.ts +0 -227
  147. package/src/shared/primitives/ElevationElement.ts +0 -254
  148. package/src/shared/primitives/ElevationLevel.ts +0 -2
  149. package/src/shared/primitives/ElevationToken.ts +0 -18
  150. package/src/shared/primitives/FocusRingElement.ts +0 -199
  151. package/src/shared/primitives/FocusRingToken.ts +0 -24
  152. package/src/shared/primitives/PseudoCheckboxElement.ts +0 -116
  153. package/src/shared/primitives/PseudoRadioElement.ts +0 -83
  154. package/src/shared/primitives/RippleElement.ts +0 -289
  155. package/src/shared/primitives/RippleToken.ts +0 -15
  156. package/src/shared/primitives/ScrollContainerElement.ts +0 -151
  157. package/src/shared/primitives/ScrollDividers.ts +0 -2
  158. package/src/shared/primitives/SlideElement.ts +0 -128
  159. package/src/shared/primitives/StateLayerElement.ts +0 -191
  160. package/src/shared/primitives/StateLayerToken.ts +0 -16
  161. package/src/shared/primitives/TextOverflowElement.ts +0 -60
  162. package/src/shared/primitives/index.ts +0 -12
  163. package/src/shared/tokens/ColorToken.ts +0 -142
  164. package/src/shared/tokens/DensityToken.ts +0 -23
  165. package/src/shared/tokens/DesignToken.ts +0 -35
  166. package/src/shared/tokens/ElevationToken.ts +0 -115
  167. package/src/shared/tokens/MotionToken.ts +0 -107
  168. package/src/shared/tokens/ScrollbarToken.ts +0 -13
  169. package/src/shared/tokens/ShapeToken.ts +0 -138
  170. package/src/shared/tokens/StateToken.ts +0 -13
  171. package/src/shared/tokens/TypescaleToken.ts +0 -230
  172. package/src/shared/tokens/index.ts +0 -1
  173. package/src/shared/utils/getTextContent.ts +0 -31
  174. package/src/shared/utils/guid.ts +0 -11
  175. package/src/shared/utils/hasAssignedNodes.ts +0 -8
  176. package/src/shared/utils/index.ts +0 -5
  177. package/src/shared/utils/prefersReducedMotion.ts +0 -9
  178. package/src/shared/utils/scrollIntoViewIfNeeded.ts +0 -18
  179. package/tsconfig.json +0 -9
package/dist/index.min.js CHANGED
@@ -3,75 +3,75 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
- import{isServer as e,nothing as t,noChange as s,unsafeCSS as i,html as r,css as a,LitElement as o}from"lit";function n(e,t,s,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(o=(a<3?r(o):a>3?r(t,s,o):r(t,s))||o);return a>3&&o&&Object.defineProperty(t,s,o),o}function l(e,t,s,i){if("a"===s&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(e):i?i.value:t.get(e)}function d(e,t,s,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,s):r?r.value=s:t.set(e,s),s}var c,h,p,m,u,v,f,y,g,b,x,$,w,k,_,E,S,A,z,C,L,M,W,P,F,H,T,D,O,U,I,B,N,R,q,V,j,K,Z,G,J,X,Y,Q,ee,te,se,ie,re,ae,oe,ne,le,de,ce,he,pe,me,ue,ve,fe,ye,ge,be,xe,$e;"function"==typeof SuppressedError&&SuppressedError;class we{constructor(e,t){c.set(this,void 0),h.set(this,void 0),p.set(this,new Set),d(this,c,e,"f"),d(this,h,t.target,"f"),l(this,c,"f").addController(this)}get targets(){return l(this,p,"f").values()}hostConnected(){null!==l(this,h,"f")&&this.observe(l(this,h,"f")??l(this,c,"f"))}hostDisconnected(){l(this,p,"f").forEach(e=>this.unobserve(e)),l(this,p,"f").clear()}observe(e){l(this,p,"f").has(e)||(l(this,p,"f").add(e),this._observe(e))}isObserving(e){return l(this,p,"f").has(e)}unobserve(e){l(this,p,"f").delete(e)&&this._unobserve(e)}}c=new WeakMap,h=new WeakMap,p=new WeakMap;class ke extends we{constructor(e,t){super(e,t),m.add(this),u.set(this,void 0),v.set(this,e=>l(this,m,"m",y).call(this,e)),f.set(this,e=>l(this,m,"m",g).call(this,e)),d(this,u,t.callback,"f")}_observe(e){e.addEventListener("keydown",l(this,v,"f")),e.addEventListener("focusin",l(this,v,"f")),e.addEventListener("focusout",l(this,f,"f"))}_unobserve(e){e.removeEventListener("keydown",l(this,v,"f")),e.removeEventListener("focusin",l(this,v,"f")),e.removeEventListener("focusout",l(this,f,"f"))}}u=new WeakMap,v=new WeakMap,f=new WeakMap,m=new WeakSet,y=function(e){const t=e.target;l(this,u,"f").call(this,!0,t.matches(":focus-visible")||matchMedia("(forced-colors: active)").matches,t)},g=function(e){l(this,u,"f").call(this,!1,!1,e.target)};class _e extends we{constructor(e,t){super(e,t),b.add(this),x.set(this,void 0),$.set(this,new Map),w.set(this,new Map),k.set(this,e=>l(this,b,"m",z).call(this,e)),_.set(this,e=>l(this,b,"m",C).call(this,e)),d(this,x,t.callback,"f"),this.startDelay=t.startDelay??0,this.endDelay=t.endDelay??0}clearDelays(){for(const e of this.targets)l(this,b,"m",E).call(this,e)}_observe(e){e.addEventListener("pointerenter",l(this,k,"f")),e.addEventListener("pointerleave",l(this,_,"f"))}_unobserve(e){e.removeEventListener("pointerenter",l(this,k,"f")),e.removeEventListener("pointerleave",l(this,_,"f"))}}x=new WeakMap,$=new WeakMap,w=new WeakMap,k=new WeakMap,_=new WeakMap,b=new WeakSet,E=function(e){l(this,b,"m",S).call(this,e),l(this,b,"m",A).call(this,e)},S=function(e){return!!l(this,$,"f").has(e)&&(clearTimeout(l(this,$,"f").get(e)),l(this,$,"f").delete(e))},A=function(e){return!!l(this,w,"f").has(e)&&(clearTimeout(l(this,w,"f").get(e)),l(this,w,"f").delete(e))},z=function(e){const t=e.target;l(this,b,"m",A).call(this,t),this.startDelay>0?(l(this,b,"m",S).call(this,t),l(this,$,"f").set(t,setTimeout(()=>{l(this,$,"f").delete(t),l(this,x,"f").call(this,!0,t)},this.startDelay))):l(this,x,"f").call(this,!0,t)},C=function(e){const t=e.target;l(this,b,"m",S).call(this,t)||(this.endDelay>0?(l(this,b,"m",A).call(this,t),l(this,w,"f").set(t,setTimeout(()=>{l(this,w,"f").delete(t),l(this,x,"f").call(this,!1,t)},this.endDelay))):l(this,x,"f").call(this,!1,t))};class Ee extends we{constructor(t,s){super(t,s),L.set(this,void 0),M.set(this,void 0),W.set(this,!1),P.set(this,void 0),F.set(this,!0),d(this,L,t,"f"),d(this,M,s.callback,"f"),d(this,W,s.skipInitial??!1,"f"),e||(window.IntersectionObserver?d(this,P,new IntersectionObserver((e,t)=>{l(this,M,"f").call(this,e,t),l(this,L,"f").requestUpdate()},s.init),"f"):console.warn("IntersectionController error: the browser does not support IntersectionObserver."))}async hostUpdated(){l(this,P,"f")&&!l(this,W,"f")&&l(this,F,"f")&&l(this,M,"f").call(this,[],l(this,P,"f")),d(this,F,!1,"f")}_observe(e){l(this,P,"f")?.observe(e),d(this,F,!0,"f"),l(this,L,"f").requestUpdate()}_unobserve(e){l(this,P,"f")?.unobserve(e)}}L=new WeakMap,M=new WeakMap,W=new WeakMap,P=new WeakMap,F=new WeakMap;class Se extends we{constructor(e,t){super(e,t),H.add(this),T.set(this,void 0),D.set(this,void 0),O.set(this,new Set),U.set(this,new Map),I.set(this,e=>l(this,H,"m",N).call(this,e)),B.set(this,e=>l(this,H,"m",R).call(this,e)),d(this,T,t.callback,"f"),d(this,D,t.threshold??500,"f")}_observe(e){e.addEventListener("touchstart",l(this,I,"f")),e.addEventListener("touchend",l(this,B,"f")),e.addEventListener("touchcancel",l(this,B,"f"))}_unobserve(e){e.removeEventListener("touchstart",l(this,I,"f")),e.removeEventListener("touchend",l(this,B,"f")),e.removeEventListener("touchcancel",l(this,B,"f"))}}T=new WeakMap,D=new WeakMap,O=new WeakMap,U=new WeakMap,I=new WeakMap,B=new WeakMap,H=new WeakSet,N=function(e){if(e.currentTarget instanceof HTMLElement&&this.isObserving(e.currentTarget)){const t=e.currentTarget;l(this,U,"f").set(t,setTimeout(()=>{l(this,O,"f").add(t),l(this,U,"f").delete(t),l(this,T,"f").call(this,!0,t)},l(this,D,"f")))}},R=function(e){if(e.currentTarget instanceof HTMLElement&&this.isObserving(e.currentTarget)){const t=e.currentTarget;l(this,O,"f").has(t)&&(l(this,T,"f").call(this,!1,t),l(this,O,"f").delete(t)),l(this,U,"f").has(t)&&(clearTimeout(l(this,U,"f").get(t)),l(this,U,"f").delete(t))}};class Ae extends we{constructor(t,s){super(t,s),q.set(this,void 0),V.set(this,void 0),j.set(this,!1),K.set(this,void 0),Z.set(this,void 0),G.set(this,!0),d(this,q,t,"f"),d(this,V,s.callback,"f"),d(this,j,s.skipInitial??!1,"f"),d(this,K,s.config,"f"),e||(window.MutationObserver?d(this,Z,new MutationObserver((e,t)=>{l(this,V,"f").call(this,e,t),l(this,q,"f").requestUpdate()}),"f"):console.warn("MutationController error: the browser does not support MutationObserver."))}async hostUpdated(){if(l(this,Z,"f")&&!l(this,j,"f")&&l(this,G,"f")){const e=l(this,Z,"f").takeRecords();e.length>0&&l(this,V,"f").call(this,e,l(this,Z,"f"))}d(this,G,!1,"f")}hostDisconnected(){super.hostDisconnected(),l(this,Z,"f")?.disconnect()}_observe(e){l(this,Z,"f")?.observe(e,l(this,K,"f")),d(this,G,!0,"f"),l(this,q,"f").requestUpdate()}_unobserve(){l(this,Z,"f")?.disconnect();for(const e of this.targets)l(this,Z,"f")?.observe(e,l(this,K,"f"))}}q=new WeakMap,V=new WeakMap,j=new WeakMap,K=new WeakMap,Z=new WeakMap,G=new WeakMap;class ze extends we{constructor(e,t){super(e,t),J.add(this),X.set(this,void 0),Y.set(this,void 0),Q.set(this,void 0),ee.set(this,new Set),te.set(this,e=>l(this,J,"m",ae).call(this,e)),se.set(this,e=>l(this,J,"m",oe).call(this,e)),ie.set(this,e=>l(this,J,"m",ne).call(this,e)),re.set(this,e=>l(this,J,"m",le).call(this,e)),d(this,X,t.capture,"f"),d(this,Y,t.callback,"f"),d(this,Q,t.isPressedKey,"f")}hostConnected(){document.addEventListener("pointerup",l(this,se,"f"),{capture:l(this,X,"f")}),super.hostConnected()}hostDisconnected(){document.removeEventListener("pointerup",l(this,se,"f"),{capture:l(this,X,"f")}),super.hostDisconnected(),l(this,ee,"f").clear()}_observe(e){e.addEventListener("pointerdown",l(this,te,"f"),{capture:l(this,X,"f")}),l(this,Q,"f")&&(e.addEventListener("keydown",l(this,ie,"f"),{capture:l(this,X,"f")}),e.addEventListener("keyup",l(this,re,"f"),{capture:l(this,X,"f")}))}_unobserve(e){e.removeEventListener("pointerdown",l(this,te,"f"),{capture:l(this,X,"f")}),l(this,Q,"f")&&(e.removeEventListener("keydown",l(this,ie,"f"),{capture:l(this,X,"f")}),e.removeEventListener("keyup",l(this,re,"f"),{capture:l(this,X,"f")}))}}X=new WeakMap,Y=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,se=new WeakMap,ie=new WeakMap,re=new WeakMap,J=new WeakSet,ae=function(e){if(!("mouse"===e.pointerType&&e.button>1))for(const t of e.composedPath())if(t instanceof HTMLElement&&this.isObserving(t)){l(this,ee,"f").add(t),l(this,Y,"f").call(this,!0,{x:e.x,y:e.y},t);break}},oe=function(e){"mouse"===e.pointerType&&e.button>1||(l(this,ee,"f").forEach(t=>l(this,Y,"f").call(this,!1,{x:e.x,y:e.y},t)),l(this,ee,"f").clear())},ne=function(e){const t=e.target;if(!l(this,ee,"f").has(t)&&l(this,Q,"f")?.call(this,e.key)){" "===e.key&&e.preventDefault(),l(this,ee,"f").add(t);const s=t.getBoundingClientRect();l(this,Y,"f").call(this,!0,{x:s.x+s.width/2,y:s.y+s.height/2},t)}},le=function(e){const t=e.target;if(l(this,ee,"f").has(t)&&l(this,Q,"f")?.call(this,e.key)){l(this,ee,"f").delete(t);const e=t.getBoundingClientRect();l(this,Y,"f").call(this,!1,{x:e.x+e.width/2,y:e.y+e.height/2},t)}};class Ce extends we{constructor(t,s){super(t,s),de.set(this,void 0),ce.set(this,void 0),he.set(this,void 0),pe.set(this,void 0),me.set(this,void 0),ue.set(this,!0),d(this,de,t,"f"),d(this,ce,s.callback,"f"),d(this,he,s.skipInitial??!1,"f"),d(this,pe,s.config,"f"),e||(window.ResizeObserver?d(this,me,new ResizeObserver((e,t)=>{l(this,ce,"f").call(this,e,t),l(this,de,"f").requestUpdate()}),"f"):console.warn("ResizeController error: the browser does not support ResizeObserver."))}async hostUpdated(){l(this,me,"f")&&!l(this,he,"f")&&l(this,ue,"f")&&l(this,ce,"f").call(this,[],l(this,me,"f")),d(this,ue,!1,"f")}_observe(e){l(this,me,"f")?.observe(e,l(this,pe,"f")),d(this,ue,!0,"f"),l(this,de,"f").requestUpdate()}_unobserve(e){l(this,me,"f")?.unobserve(e)}}function Le(e){const t=Symbol("_id");return(s,i,r)=>{const a=r.value;return r.value=function(...s){clearTimeout(this[t]),this[t]=setTimeout(()=>a.apply(this,s),e)},r}}de=new WeakMap,ce=new WeakMap,he=new WeakMap,pe=new WeakMap,me=new WeakMap,ue=new WeakMap;class Me extends we{constructor(e,t){super(e,t),ve.add(this),fe.set(this,void 0),ye.set(this,void 0),ge.set(this,e=>l(this,ve,"m",$e).call(this,e)),be.set(this,new Map),d(this,fe,!0===t.debounce,"f"),d(this,ye,t.callback,"f")}getScrollContainers(e){return l(this,be,"f").get(e)}_observe(e){const t=l(this,ve,"m",xe).call(this,e);if(t.length>0){l(this,be,"f").set(e,t);for(const e of t)(e===document.documentElement?document:e).addEventListener("scroll",l(this,ge,"f"),{passive:!0})}}_unobserve(e){if(l(this,be,"f").has(e)){for(const t of l(this,be,"f").get(e))(t===document.documentElement?document:t).removeEventListener("scroll",l(this,ge,"f"));l(this,be,"f").delete(e)}}_debounceCallback(e){l(this,ye,"f").call(this,e)}}fe=new WeakMap,ye=new WeakMap,ge=new WeakMap,be=new WeakMap,ve=new WeakSet,xe=function(e){const t=new Array;let s=e;for(;s;){const e=getComputedStyle(s);/(auto|scroll)/.test(e.overflow+e.overflowY+e.overflowX)&&t.push(s),s=s.parentElement}return t},$e=function(e){const t=e.target===document?document.documentElement:e.target;l(this,fe,"f")?this._debounceCallback(t):l(this,ye,"f").call(this,t)},n([Le(40)],Me.prototype,"_debounceCallback",null);
6
+ import{isServer as e,nothing as t,noChange as s,unsafeCSS as i,html as r,css as a,LitElement as o}from"lit";function n(e,t,s,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(o=(a<3?r(o):a>3?r(t,s,o):r(t,s))||o);return a>3&&o&&Object.defineProperty(t,s,o),o}function l(e,t,s,i){if("a"===s&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(e):i?i.value:t.get(e)}function d(e,t,s,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,s):r?r.value=s:t.set(e,s),s}var h,c,p,m,u,v,f,y,g,b,x,w,$,k,_,E,S,A,C,z,L,M,W,P,T,F,H,D,O,U,N,I,R,B,q,V,j,K,X,Z,G,J,Y,Q,ee,te,se,ie,re,ae,oe,ne,le,de,he,ce,pe,me,ue,ve,fe,ye,ge,be,xe,we,$e;"function"==typeof SuppressedError&&SuppressedError;class ke{constructor(e,t){h.set(this,void 0),c.set(this,void 0),p.set(this,new Set),d(this,h,e,"f"),d(this,c,t.target,"f"),l(this,h,"f").addController(this)}get targets(){return l(this,p,"f").values()}hostConnected(){null!==l(this,c,"f")&&this.observe(l(this,c,"f")??l(this,h,"f"))}hostDisconnected(){l(this,p,"f").forEach(e=>this.unobserve(e)),l(this,p,"f").clear()}observe(e){l(this,p,"f").has(e)||(l(this,p,"f").add(e),this._observe(e))}isObserving(e){return l(this,p,"f").has(e)}unobserve(e){l(this,p,"f").delete(e)&&this._unobserve(e)}}h=new WeakMap,c=new WeakMap,p=new WeakMap;class _e extends ke{constructor(e,t){super(e,t),m.add(this),u.set(this,void 0),v.set(this,e=>l(this,m,"m",y).call(this,e)),f.set(this,e=>l(this,m,"m",g).call(this,e)),d(this,u,t.callback,"f")}_observe(e){e.addEventListener("keydown",l(this,v,"f")),e.addEventListener("focusin",l(this,v,"f")),e.addEventListener("focusout",l(this,f,"f"))}_unobserve(e){e.removeEventListener("keydown",l(this,v,"f")),e.removeEventListener("focusin",l(this,v,"f")),e.removeEventListener("focusout",l(this,f,"f"))}}u=new WeakMap,v=new WeakMap,f=new WeakMap,m=new WeakSet,y=function(e){const t=e.target;l(this,u,"f").call(this,!0,t.matches(":focus-visible")||matchMedia("(forced-colors: active)").matches,t)},g=function(e){l(this,u,"f").call(this,!1,!1,e.target)};class Ee extends ke{constructor(e,t){super(e,t),b.add(this),x.set(this,void 0),w.set(this,new Map),$.set(this,new Map),k.set(this,e=>l(this,b,"m",C).call(this,e)),_.set(this,e=>l(this,b,"m",z).call(this,e)),d(this,x,t.callback,"f"),this.startDelay=t.startDelay??0,this.endDelay=t.endDelay??0}clearDelays(){for(const e of this.targets)l(this,b,"m",E).call(this,e)}_observe(e){e.addEventListener("pointerenter",l(this,k,"f")),e.addEventListener("pointerleave",l(this,_,"f"))}_unobserve(e){e.removeEventListener("pointerenter",l(this,k,"f")),e.removeEventListener("pointerleave",l(this,_,"f"))}}x=new WeakMap,w=new WeakMap,$=new WeakMap,k=new WeakMap,_=new WeakMap,b=new WeakSet,E=function(e){l(this,b,"m",S).call(this,e),l(this,b,"m",A).call(this,e)},S=function(e){return!!l(this,w,"f").has(e)&&(clearTimeout(l(this,w,"f").get(e)),l(this,w,"f").delete(e))},A=function(e){return!!l(this,$,"f").has(e)&&(clearTimeout(l(this,$,"f").get(e)),l(this,$,"f").delete(e))},C=function(e){const t=e.target;l(this,b,"m",A).call(this,t),this.startDelay>0?(l(this,b,"m",S).call(this,t),l(this,w,"f").set(t,setTimeout(()=>{l(this,w,"f").delete(t),l(this,x,"f").call(this,!0,t)},this.startDelay))):l(this,x,"f").call(this,!0,t)},z=function(e){const t=e.target;l(this,b,"m",S).call(this,t)||(this.endDelay>0?(l(this,b,"m",A).call(this,t),l(this,$,"f").set(t,setTimeout(()=>{l(this,$,"f").delete(t),l(this,x,"f").call(this,!1,t)},this.endDelay))):l(this,x,"f").call(this,!1,t))};class Se extends ke{constructor(t,s){super(t,s),L.set(this,void 0),M.set(this,void 0),W.set(this,!1),P.set(this,void 0),T.set(this,!0),d(this,L,t,"f"),d(this,M,s.callback,"f"),d(this,W,s.skipInitial??!1,"f"),e||(window.IntersectionObserver?d(this,P,new IntersectionObserver((e,t)=>{l(this,M,"f").call(this,e,t),l(this,L,"f").requestUpdate()},s.init),"f"):console.warn("IntersectionController error: the browser does not support IntersectionObserver."))}async hostUpdated(){l(this,P,"f")&&!l(this,W,"f")&&l(this,T,"f")&&l(this,M,"f").call(this,[],l(this,P,"f")),d(this,T,!1,"f")}_observe(e){l(this,P,"f")?.observe(e),d(this,T,!0,"f"),l(this,L,"f").requestUpdate()}_unobserve(e){l(this,P,"f")?.unobserve(e)}}L=new WeakMap,M=new WeakMap,W=new WeakMap,P=new WeakMap,T=new WeakMap;class Ae extends ke{constructor(e,t){super(e,t),F.add(this),H.set(this,void 0),D.set(this,void 0),O.set(this,new Set),U.set(this,new Map),N.set(this,e=>l(this,F,"m",R).call(this,e)),I.set(this,e=>l(this,F,"m",B).call(this,e)),d(this,H,t.callback,"f"),d(this,D,t.threshold??500,"f")}_observe(e){e.addEventListener("touchstart",l(this,N,"f")),e.addEventListener("touchend",l(this,I,"f")),e.addEventListener("touchcancel",l(this,I,"f"))}_unobserve(e){e.removeEventListener("touchstart",l(this,N,"f")),e.removeEventListener("touchend",l(this,I,"f")),e.removeEventListener("touchcancel",l(this,I,"f"))}}H=new WeakMap,D=new WeakMap,O=new WeakMap,U=new WeakMap,N=new WeakMap,I=new WeakMap,F=new WeakSet,R=function(e){if(e.currentTarget instanceof HTMLElement&&this.isObserving(e.currentTarget)){const t=e.currentTarget;l(this,U,"f").set(t,setTimeout(()=>{l(this,O,"f").add(t),l(this,U,"f").delete(t),l(this,H,"f").call(this,!0,t)},l(this,D,"f")))}},B=function(e){if(e.currentTarget instanceof HTMLElement&&this.isObserving(e.currentTarget)){const t=e.currentTarget;l(this,O,"f").has(t)&&(l(this,H,"f").call(this,!1,t),l(this,O,"f").delete(t)),l(this,U,"f").has(t)&&(clearTimeout(l(this,U,"f").get(t)),l(this,U,"f").delete(t))}};class Ce extends ke{constructor(t,s){super(t,s),q.set(this,void 0),V.set(this,void 0),j.set(this,!1),K.set(this,void 0),X.set(this,void 0),Z.set(this,!0),d(this,q,t,"f"),d(this,V,s.callback,"f"),d(this,j,s.skipInitial??!1,"f"),d(this,K,s.config,"f"),e||(window.MutationObserver?d(this,X,new MutationObserver((e,t)=>{l(this,V,"f").call(this,e,t),l(this,q,"f").requestUpdate()}),"f"):console.warn("MutationController error: the browser does not support MutationObserver."))}async hostUpdated(){if(l(this,X,"f")&&!l(this,j,"f")&&l(this,Z,"f")){const e=l(this,X,"f").takeRecords();e.length>0&&l(this,V,"f").call(this,e,l(this,X,"f"))}d(this,Z,!1,"f")}hostDisconnected(){super.hostDisconnected(),l(this,X,"f")?.disconnect()}_observe(e){l(this,X,"f")?.observe(e,l(this,K,"f")),d(this,Z,!0,"f"),l(this,q,"f").requestUpdate()}_unobserve(){l(this,X,"f")?.disconnect();for(const e of this.targets)l(this,X,"f")?.observe(e,l(this,K,"f"))}}q=new WeakMap,V=new WeakMap,j=new WeakMap,K=new WeakMap,X=new WeakMap,Z=new WeakMap;class ze extends ke{constructor(e,t){super(e,t),G.add(this),J.set(this,void 0),Y.set(this,void 0),Q.set(this,void 0),ee.set(this,new Map),te.set(this,void 0),se.set(this,e=>l(this,G,"m",oe).call(this,e)),ie.set(this,e=>l(this,G,"m",ne).call(this,e)),re.set(this,e=>l(this,G,"m",le).call(this,e)),ae.set(this,e=>l(this,G,"m",de).call(this,e)),d(this,J,t.capture,"f"),d(this,Y,t.callback,"f"),d(this,Q,t.isPressedKey,"f"),d(this,te,t.minPressedDuration??0,"f")}hostConnected(){document.addEventListener("pointerup",l(this,ie,"f"),{capture:l(this,J,"f")}),super.hostConnected()}hostDisconnected(){document.removeEventListener("pointerup",l(this,ie,"f"),{capture:l(this,J,"f")}),super.hostDisconnected(),l(this,ee,"f").clear()}_observe(e){e.addEventListener("pointerdown",l(this,se,"f"),{capture:l(this,J,"f")}),l(this,Q,"f")&&(e.addEventListener("keydown",l(this,re,"f"),{capture:l(this,J,"f")}),e.addEventListener("keyup",l(this,ae,"f"),{capture:l(this,J,"f")}))}_unobserve(e){e.removeEventListener("pointerdown",l(this,se,"f"),{capture:l(this,J,"f")}),l(this,Q,"f")&&(e.removeEventListener("keydown",l(this,re,"f"),{capture:l(this,J,"f")}),e.removeEventListener("keyup",l(this,ae,"f"),{capture:l(this,J,"f")}))}}J=new WeakMap,Y=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,se=new WeakMap,ie=new WeakMap,re=new WeakMap,ae=new WeakMap,G=new WeakSet,oe=function(e){if(!("mouse"===e.pointerType&&e.button>1))for(const t of e.composedPath())if(t instanceof HTMLElement&&this.isObserving(t)){l(this,ee,"f").has(t)||(l(this,ee,"f").set(t,performance.now()),l(this,Y,"f").call(this,!0,{x:e.x,y:e.y},t));break}},ne=function(e){if("mouse"===e.pointerType&&e.button>1)return;const t=e.x,s=e.y;for(const e of l(this,ee,"f").keys()){const i=l(this,te,"f")-(performance.now()-l(this,ee,"f").get(e));i>0?setTimeout(()=>{l(this,ee,"f").delete(e),l(this,Y,"f").call(this,!1,{x:t,y:s},e)},i):(l(this,ee,"f").delete(e),l(this,Y,"f").call(this,!1,{x:t,y:s},e))}},le=function(e){if(e.target!==e.currentTarget)return;const t=e.currentTarget;if(!l(this,ee,"f").has(t)&&l(this,Q,"f")?.call(this,e.key)){" "===e.key&&e.preventDefault(),l(this,ee,"f").set(t,performance.now());const s=t.getBoundingClientRect();l(this,Y,"f").call(this,!0,{x:s.x+s.width/2,y:s.y+s.height/2},t)}},de=function(e){const t=e.target;if(l(this,ee,"f").has(t)&&l(this,Q,"f")?.call(this,e.key)){const e=l(this,te,"f")-(performance.now()-l(this,ee,"f").get(t)),s=t.getBoundingClientRect();e>0?setTimeout(()=>{l(this,ee,"f").delete(t),l(this,Y,"f").call(this,!1,{x:s.x+s.width/2,y:s.y+s.height/2},t)},e):(l(this,ee,"f").delete(t),l(this,Y,"f").call(this,!1,{x:s.x+s.width/2,y:s.y+s.height/2},t))}};class Le extends ke{constructor(t,s){super(t,s),he.set(this,void 0),ce.set(this,void 0),pe.set(this,void 0),me.set(this,void 0),ue.set(this,void 0),ve.set(this,!0),d(this,he,t,"f"),d(this,ce,s.callback,"f"),d(this,pe,s.skipInitial??!1,"f"),d(this,me,s.config,"f"),e||(window.ResizeObserver?d(this,ue,new ResizeObserver((e,t)=>{l(this,ce,"f").call(this,e,t),l(this,he,"f").requestUpdate()}),"f"):console.warn("ResizeController error: the browser does not support ResizeObserver."))}async hostUpdated(){l(this,ue,"f")&&!l(this,pe,"f")&&l(this,ve,"f")&&l(this,ce,"f").call(this,[],l(this,ue,"f")),d(this,ve,!1,"f")}_observe(e){l(this,ue,"f")?.observe(e,l(this,me,"f")),d(this,ve,!0,"f"),l(this,he,"f").requestUpdate()}_unobserve(e){l(this,ue,"f")?.unobserve(e)}}function Me(e){const t=Symbol("_id");return(s,i,r)=>{const a=r.value;return r.value=function(...s){clearTimeout(this[t]),this[t]=setTimeout(()=>a.apply(this,s),e)},r}}he=new WeakMap,ce=new WeakMap,pe=new WeakMap,me=new WeakMap,ue=new WeakMap,ve=new WeakMap;class We extends ke{constructor(e,t){super(e,t),fe.add(this),ye.set(this,void 0),ge.set(this,void 0),be.set(this,e=>l(this,fe,"m",$e).call(this,e)),xe.set(this,new Map),d(this,ye,!0===t.debounce,"f"),d(this,ge,t.callback,"f")}getScrollContainers(e){return l(this,xe,"f").get(e)}_observe(e){const t=l(this,fe,"m",we).call(this,e);if(t.length>0){l(this,xe,"f").set(e,t);for(const e of t)(e===document.documentElement?document:e).addEventListener("scroll",l(this,be,"f"),{passive:!0})}}_unobserve(e){if(l(this,xe,"f").has(e)){for(const t of l(this,xe,"f").get(e))(t===document.documentElement?document:t).removeEventListener("scroll",l(this,be,"f"));l(this,xe,"f").delete(e)}}_debounceCallback(e){l(this,ge,"f").call(this,e)}}ye=new WeakMap,ge=new WeakMap,be=new WeakMap,xe=new WeakMap,fe=new WeakSet,we=function(e){const t=new Array;let s=e;for(;s;){const e=getComputedStyle(s);/(auto|scroll)/.test(e.overflow+e.overflowY+e.overflowX)&&t.push(s),s=s.parentElement}return t},$e=function(e){const t=e.target===document?document.documentElement:e.target;l(this,ye,"f")?this._debounceCallback(t):l(this,ge,"f").call(this,t)},n([Me(40)],We.prototype,"_debounceCallback",null);
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const We=1;let Pe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,s){this._$Ct=e,this._$AM=t,this._$Ci=s}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const Fe="important",He=" !"+Fe;const Te=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends Pe{constructor(e){if(super(e),e.type!==We||"style"!==e.name||e.strings?.length>2)throw new Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return t}update(e,[t]){const{style:i}=e.element;void 0===this._previousStyleProperties&&(this._previousStyleProperties=new Set(Object.keys(t)));for(const e of this._previousStyleProperties)null==t[e]&&(this._previousStyleProperties.delete(e),e.includes("-")?i.removeProperty(e):i[e]=null);for(const e in t){const s=t[e];if(null!=s){this._previousStyleProperties.add(e);const t="string"==typeof s&&s.endsWith(He);e.includes("-")||t?i.setProperty(e,t?s.slice(0,-11):s,t?Fe:""):i[e]=s}}return s}});function De(e,...t){return"object"==typeof e&&null!==e&&t.every(t=>t in e)}const Oe=Symbol("internals");function Ue(e){return De(e,Oe)}const Ie=Symbol("_internals");function Be(e,t){class s extends e{get[Oe](){return this[Ie]??(this[Ie]=this.attachInternals())}}return s.formAssociated=t,s}
12
+ const Pe=1;let Te=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,s){this._$Ct=e,this._$AM=t,this._$Ci=s}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const Fe="important",He=" !"+Fe;const De=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends Te{constructor(e){if(super(e),e.type!==Pe||"style"!==e.name||e.strings?.length>2)throw new Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return t}update(e,[t]){const{style:i}=e.element;void 0===this._previousStyleProperties&&(this._previousStyleProperties=new Set(Object.keys(t)));for(const e of this._previousStyleProperties)null==t[e]&&(this._previousStyleProperties.delete(e),e.includes("-")?i.removeProperty(e):i[e]=null);for(const e in t){const s=t[e];if(null!=s){this._previousStyleProperties.add(e);const t="string"==typeof s&&s.endsWith(He);e.includes("-")||t?i.setProperty(e,t?s.slice(0,-11):s,t?Fe:""):i[e]=s}}return s}});function Oe(e,...t){return"object"==typeof e&&null!==e&&t.every(t=>t in e)}const Ue=Symbol("internals");function Ne(e){return Oe(e,Ue)}const Ie=Symbol("_internals");function Re(e,t){class s extends e{get[Ue](){return this[Ie]??(this[Ie]=this.attachInternals())}}return s.formAssociated=t,s}
13
13
  /**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const Ne=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)},Re=globalThis,qe=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ve=Symbol(),je=new WeakMap;
17
+ */const Be=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)},qe=globalThis,Ve=qe.ShadowRoot&&(void 0===qe.ShadyCSS||qe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,je=Symbol(),Ke=new WeakMap;
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2019 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */let Ke=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==Ve)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(qe&&void 0===e){const s=void 0!==t&&1===t.length;s&&(e=je.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&je.set(t,e))}return e}toString(){return this.cssText}};const Ze=qe?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const s of e.cssRules)t+=s.cssText;return(e=>new Ke("string"==typeof e?e:e+"",void 0,Ve))(t)})(e):e,{is:Ge,defineProperty:Je,getOwnPropertyDescriptor:Xe,getOwnPropertyNames:Ye,getOwnPropertySymbols:Qe,getPrototypeOf:et}=Object,tt=globalThis,st=tt.trustedTypes,it=st?st.emptyScript:"",rt=tt.reactiveElementPolyfillSupport,at=(e,t)=>e,ot={toAttribute(e,t){switch(t){case Boolean:e=e?it:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=null!==e;break;case Number:s=null===e?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch(e){s=null}}return s}},nt=(e,t)=>!Ge(e,t),lt={attribute:!0,type:String,converter:ot,reflect:!1,useDefault:!1,hasChanged:nt};
22
+ */let Xe=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==je)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(Ve&&void 0===e){const s=void 0!==t&&1===t.length;s&&(e=Ke.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&Ke.set(t,e))}return e}toString(){return this.cssText}};const Ze=Ve?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const s of e.cssRules)t+=s.cssText;return(e=>new Xe("string"==typeof e?e:e+"",void 0,je))(t)})(e):e,{is:Ge,defineProperty:Je,getOwnPropertyDescriptor:Ye,getOwnPropertyNames:Qe,getOwnPropertySymbols:et,getPrototypeOf:tt}=Object,st=globalThis,it=st.trustedTypes,rt=it?it.emptyScript:"",at=st.reactiveElementPolyfillSupport,ot=(e,t)=>e,nt={toAttribute(e,t){switch(t){case Boolean:e=e?rt:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=null!==e;break;case Number:s=null===e?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch(e){s=null}}return s}},lt=(e,t)=>!Ge(e,t),dt={attribute:!0,type:String,converter:nt,reflect:!1,useDefault:!1,hasChanged:lt};
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;class dt extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=lt){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(e,s,t);void 0!==i&&Je(this.prototype,e,i)}}static getPropertyDescriptor(e,t,s){const{get:i,set:r}=Xe(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:i,set(t){const a=i?.call(this);r?.call(this,t),this.requestUpdate(e,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??lt}static _$Ei(){if(this.hasOwnProperty(at("elementProperties")))return;const e=et(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(at("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(at("properties"))){const e=this.properties,t=[...Ye(e),...Qe(e)];for(const s of t)this.createProperty(s,e[s])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,s]of t)this.elementProperties.set(e,s)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const s=this._$Eu(e,t);void 0!==s&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const e of s)t.unshift(Ze(e))}else void 0!==e&&t.push(Ze(e));return t}static _$Eu(e,t){const s=t.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(qe)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const s of t){const t=document.createElement("style"),i=Re.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=s.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$ET(e,t){const s=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:ot).toAttribute(t,s.type);this._$Em=e,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(e,t){const s=this.constructor,i=s._$Eh.get(e);if(void 0!==i&&this._$Em!==i){const e=s.getPropertyOptions(i),r="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:ot;this._$Em=i;const a=r.fromAttribute(t,e.type);this[i]=a??this._$Ej?.get(i)??a,this._$Em=null}}requestUpdate(e,t,s){if(void 0!==e){const i=this.constructor,r=this[e];if(s??=i.getPropertyOptions(e),!((s.hasChanged??nt)(r,t)||s.useDefault&&s.reflect&&r===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,s))))return;this.C(e,t,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:s,reflect:i,wrapped:r},a){s&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==r||void 0!==a)||(this._$AL.has(e)||(this.hasUpdated||s||(t=void 0),this._$AL.set(e,t)),!0===i&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,s]of e){const{wrapped:e}=s,i=this[t];!0!==e||this._$AL.has(t)||void 0===i||this.C(t,void 0,s,i)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}}dt.elementStyles=[],dt.shadowRootOptions={mode:"open"},dt[at("elementProperties")]=new Map,dt[at("finalized")]=new Map,rt?.({ReactiveElement:dt}),(tt.reactiveElementVersions??=[]).push("2.1.1");
27
+ */Symbol.metadata??=Symbol("metadata"),st.litPropertyMetadata??=new WeakMap;class ht extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=dt){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(e,s,t);void 0!==i&&Je(this.prototype,e,i)}}static getPropertyDescriptor(e,t,s){const{get:i,set:r}=Ye(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:i,set(t){const a=i?.call(this);r?.call(this,t),this.requestUpdate(e,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??dt}static _$Ei(){if(this.hasOwnProperty(ot("elementProperties")))return;const e=tt(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ot("properties"))){const e=this.properties,t=[...Qe(e),...et(e)];for(const s of t)this.createProperty(s,e[s])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,s]of t)this.elementProperties.set(e,s)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const s=this._$Eu(e,t);void 0!==s&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const e of s)t.unshift(Ze(e))}else void 0!==e&&t.push(Ze(e));return t}static _$Eu(e,t){const s=t.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(Ve)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const s of t){const t=document.createElement("style"),i=qe.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=s.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$ET(e,t){const s=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:nt).toAttribute(t,s.type);this._$Em=e,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(e,t){const s=this.constructor,i=s._$Eh.get(e);if(void 0!==i&&this._$Em!==i){const e=s.getPropertyOptions(i),r="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:nt;this._$Em=i;const a=r.fromAttribute(t,e.type);this[i]=a??this._$Ej?.get(i)??a,this._$Em=null}}requestUpdate(e,t,s){if(void 0!==e){const i=this.constructor,r=this[e];if(s??=i.getPropertyOptions(e),!((s.hasChanged??lt)(r,t)||s.useDefault&&s.reflect&&r===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,s))))return;this.C(e,t,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:s,reflect:i,wrapped:r},a){s&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==r||void 0!==a)||(this._$AL.has(e)||(this.hasUpdated||s||(t=void 0),this._$AL.set(e,t)),!0===i&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,s]of e){const{wrapped:e}=s,i=this[t];!0!==e||this._$AL.has(t)||void 0===i||this.C(t,void 0,s,i)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}}ht.elementStyles=[],ht.shadowRootOptions={mode:"open"},ht[ot("elementProperties")]=new Map,ht[ot("finalized")]=new Map,at?.({ReactiveElement:ht}),(st.reactiveElementVersions??=[]).push("2.1.1");
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
32
  */
33
- const ct={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:nt},ht=(e=ct,t,s)=>{const{kind:i,metadata:r}=s;let a=globalThis.litPropertyMetadata.get(r);if(void 0===a&&globalThis.litPropertyMetadata.set(r,a=new Map),"setter"===i&&((e=Object.create(e)).wrapped=!0),a.set(s.name,e),"accessor"===i){const{name:i}=s;return{set(s){const r=t.get.call(this);t.set.call(this,s),this.requestUpdate(i,r,e)},init(t){return void 0!==t&&this.C(i,void 0,e,t),t}}}if("setter"===i){const{name:i}=s;return function(s){const r=this[i];t.call(this,s),this.requestUpdate(i,r,e)}}throw Error("Unsupported decorator location: "+i)};function pt(e){return(t,s)=>"object"==typeof s?ht(e,t,s):((e,t,s)=>{const i=t.hasOwnProperty(s);return t.constructor.createProperty(s,e),i?Object.getOwnPropertyDescriptor(t,s):void 0})(e,t,s)}
33
+ const ct={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:lt},pt=(e=ct,t,s)=>{const{kind:i,metadata:r}=s;let a=globalThis.litPropertyMetadata.get(r);if(void 0===a&&globalThis.litPropertyMetadata.set(r,a=new Map),"setter"===i&&((e=Object.create(e)).wrapped=!0),a.set(s.name,e),"accessor"===i){const{name:i}=s;return{set(s){const r=t.get.call(this);t.set.call(this,s),this.requestUpdate(i,r,e)},init(t){return void 0!==t&&this.C(i,void 0,e,t),t}}}if("setter"===i){const{name:i}=s;return function(s){const r=this[i];t.call(this,s),this.requestUpdate(i,r,e)}}throw Error("Unsupported decorator location: "+i)};function mt(e){return(t,s)=>"object"==typeof s?pt(e,t,s):((e,t,s)=>{const i=t.hasOwnProperty(s);return t.constructor.createProperty(s,e),i?Object.getOwnPropertyDescriptor(t,s):void 0})(e,t,s)}
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */const mt=(e,t,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,s),s);
38
+ */const ut=(e,t,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,s),s);
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */function ut(e,t){return(t,s,i)=>mt(t,s,{get(){return(t=>t.renderRoot?.querySelector(e)??null)(this)}})}
43
+ */function vt(e,t){return(t,s,i)=>ut(t,s,{get(){return(t=>t.renderRoot?.querySelector(e)??null)(this)}})}
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2021 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
- */function vt(e){return De(e,"checked")}function ft(e){class t extends e{constructor(){super(...arguments),this.checked=!1}update(e){super.update(e),e.has("checked")&&("button"===this.role?(this.ariaPressed=`${this.checked}`,this.ariaChecked=null):this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaChecked=`${this.checked}`,this.ariaPressed=null))}}return n([pt({type:Boolean,reflect:!0})],t.prototype,"checked",void 0),t}function yt(e){return De(e,"indeterminate")&&vt(e)}function gt(e){class t extends(ft(e)){constructor(){super(...arguments),this.indeterminate=!1}update(e){super.update(e),e.has("indeterminate")&&this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaChecked=!this.checked&&this.indeterminate?"mixed":`${this.checked}`)}}return n([pt({type:Boolean,reflect:!0})],t.prototype,"indeterminate",void 0),t}function bt(e){return De(e,"selected")}function xt(e){class t extends e{constructor(){super(...arguments),this.selected=!1}update(e){super.update(e),e.has("selected")&&("button"===this.role?(this.ariaPressed=`${this.selected}`,this.ariaSelected=null):this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaSelected=`${this.selected}`,this.ariaPressed=null))}}return n([pt({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),t}function $t(e){return vt(e)||bt(e)}function wt(e){return vt(e)&&e.checked||bt(e)&&e.selected}function kt(e,t){vt(e)?e.checked=t:e.selected=t}function _t(e){return De(e,"dirty","pristine","markAsDirty","markAsPristine")}const Et=Symbol("_eventHandler");function St(e){var t;return t=Et,class extends e{constructor(){super(...arguments),this[t]=()=>this.markAsDirty()}get dirty(){return this.classList.contains("-dirty")}get pristine(){return!this.dirty}connectedCallback(){this.markAsPristine(),super.connectedCallback(),this.addEventListener("change",this[Et])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",this[Et])}markAsPristine(){this.classList.toggle("-dirty",!1)}markAsDirty(){this.classList.toggle("-dirty",!0)}}}function At(e){return De(e,"touched","untouched","markAsTouched","markAsUntouched")}const zt=Symbol("_eventHandler");function Ct(e){var t;return t=zt,class extends e{constructor(){super(...arguments),this[t]=()=>this.markAsTouched()}get touched(){return this.classList.contains("-touched")}get untouched(){return!this.touched}connectedCallback(){this.markAsUntouched(),super.connectedCallback(),this.addEventListener("focusout",this[zt])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this[zt])}markAsTouched(){this.classList.toggle("-touched",!0)}markAsUntouched(){this.classList.toggle("-touched",!1)}}}const Lt={primary:i("var(--md-sys-color-primary, #6750A4)"),onPrimary:i("var(--md-sys-color-on-primary, #FFFFFF)"),primaryContainer:i("var(--md-sys-color-primary-container, #EADDFF)"),onPrimaryContainer:i("var(--md-sys-color-on-primary-container, #4F378B)"),primaryFixed:i("var(--md-sys-color-primary-fixed, #EADDFF)"),primaryFixedDim:i("var(--md-sys-color-primary-fixed-dim, #D0BCFF)"),onPrimaryFixed:i("var(--md-sys-color-on-primary-fixed, #21005D)"),onPrimaryFixedVariant:i("var(--md-sys-color-on-primary-fixed-variant, #4F378B)"),secondary:i("var(--md-sys-color-secondary, #625B71)"),onSecondary:i("var(--md-sys-color-on-secondary, #FFFFFF)"),secondaryContainer:i("var(--md-sys-color-secondary-container, #E8DEF8)"),onSecondaryContainer:i("var(--md-sys-color-on-secondary-container, #4A4458)"),secondaryFixed:i("var(--md-sys-color-secondary-fixed, #E8DEF8)"),secondaryFixedDim:i("var(--md-sys-color-secondary-fixed-dim, #CCC2DC)"),onSecondaryFixed:i("var(--md-sys-color-on-secondary-fixed, #1D192B)"),onSecondaryFixedVariant:i("var(--md-sys-color-on-secondary-fixed-variant, #4A4458)"),tertiary:i("var(--md-sys-color-tertiary, #7D5260)"),onTertiary:i("var(--md-sys-color-on-tertiary, #FFFFFF)"),tertiaryContainer:i("var(--md-sys-color-tertiary-container, #FFD8E4)"),onTertiaryContainer:i("var(--md-sys-color-on-tertiary-container, #633B48)"),tertiaryFixed:i("var(--md-sys-color-tertiary-fixed, #FFD8E4)"),tertiaryFixedDim:i("var(--md-sys-color-tertiary-fixed-dim, #EFB8C8)"),onTertiaryFixed:i("var(--md-sys-color-on-tertiary-fixed, #31111D)"),onTertiaryFixedVariant:i("var(--md-sys-color-on-tertiary-fixed-variant, #633B48)"),error:i("var(--md-sys-color-error, #B3261E)"),onError:i("var(--md-sys-color-on-error, #FFFFFF)"),errorContainer:i("var(--md-sys-color-error-container, #F9DEDC)"),onErrorContainer:i("var(--md-sys-color-on-error-container, #8C1D18)"),surface:i("var(--md-sys-color-surface, #FEF7FF)"),onSurface:i("var(--md-sys-color-on-surface, #1D1B20)"),onSurfaceVariant:i("var(--md-sys-color-on-surface-variant, #49454F)"),surfaceContainerLowest:i("var(--md-sys-color-surface-container-lowest, #FFFFFF)"),surfaceContainerLow:i("var(--md-sys-color-surface-container-low, #F7F2FA)"),surfaceContainer:i("var(--md-sys-color-surface-container, #F3EDF7)"),surfaceContainerHigh:i("var(--md-sys-color-surface-container-high, #ECE6F0)"),surfaceContainerHighest:i("var(--md-sys-color-surface-container-highest, #E6E0E9)"),surfaceDim:i("var(--md-sys-color-surface-dim, #DED8E1)"),surfaceBright:i("var(--md-sys-color-surface-bright, #FEF7FF)"),surfaceVariant:i("var(--md-sys-color-surface-variant, #E7E0EC)"),inverseSurface:i("var(--md-sys-color-inverse-surface, #322F35)"),inverseOnSurface:i("var(--md-sys-color-inverse-on-surface, #F5EFF7)"),inversePrimary:i("var(--md-sys-color-inverse-primary, #D0BCFF)"),outline:i("var(--md-sys-color-outline, #79747E)"),outlineVariant:i("var(--md-sys-color-outline-variant, #CAC4D0)"),shadow:i("var(--md-sys-color-shadow, #000000)"),scrim:i("var(--md-sys-color-scrim, #000000)")},Mt={scale:i("var(--md-sys-density-scale, 0)"),size:i("var(--md-sys-density-size, 0.25rem)")},Wt={...Mt,calc:e=>i(`calc(max(${e}, ${Mt.scale}) * ${Mt.size})`)},Pt=`color-mix(in srgb, var(--m3e-elevation-color, ${Lt.shadow}) 20%, transparent)`,Ft=["0px 0px 0px 0px","0px 2px 1px -1px","0px 3px 1px -2px","0px 3px 3px -2px","0px 2px 4px -1px","0px 3px 5px -1px","0px 3px 5px -1px","0px 4px 5px -2px","0px 5px 5px -3px","0px 5px 6px -3px","0px 6px 6px -3px","0px 6px 7px -4px","0px 7px 8px -4px","0px 7px 8px -4px","0px 7px 9px -4px","0px 8px 9px -5px","0px 8px 10px -5px","0px 8px 11px -5px","0px 9px 11px -5px","0px 9px 12px -6px","0px 10px 13px -6px","0px 10px 13px -6px","0px 10px 14px -6px","0px 11px 14px -7px","0px 11px 15px -7px"],Ht=`color-mix(in srgb, var(--m3e-elevation-color, ${Lt.shadow}) 14%, transparent)`,Tt=["0px 0px 0px 0px","0px 1px 1px 0px","0px 2px 2px 0px","0px 3px 4px 0px","0px 4px 5px 0px","0px 5px 8px 0px","0px 6px 10px 0px","0px 7px 10px 1px","0px 8px 10px 1px","0px 9px 12px 1px","0px 10px 14px 1px","0px 11px 15px 1px","0px 12px 17px 2px","0px 13px 19px 2px","0px 14px 21px 2px","0px 15px 22px 2px","0px 16px 24px 2px","0px 17px 26px 2px","0px 18px 28px 2px","0px 19px 29px 2px","0px 20px 31px 3px","0px 21px 33px 3px","0px 22px 35px 3px","0px 23px 36px 3px","0px 24px 38px 3px"],Dt=`color-mix(in srgb, var(--m3e-elevation-color, ${Lt.shadow}) 12%, transparent)`,Ot=["0px 0px 0px 0px","0px 1px 3px 0px","0px 1px 5px 0px","0px 1px 8px 0px","0px 1px 10px 0px","0px 1px 14px 0px","0px 1px 18px 0px","0px 2px 16px 1px","0px 3px 14px 2px","0px 3px 16px 2px","0px 4px 18px 3px","0px 4px 20px 3px","0px 5px 22px 4px","0px 5px 24px 4px","0px 5px 26px 4px","0px 6px 28px 5px","0px 6px 30px 5px","0px 6px 32px 5px","0px 7px 34px 6px","0px 7px 36px 6px","0px 8px 38px 7px","0px 8px 40px 7px","0px 8px 42px 7px","0px 9px 44px 8px","0px 9px 46px 8px"];function Ut(e){return`${Pt} ${Ft[e]},${Ht} ${Tt[e]},${Dt} ${Ot[e]}`}const It={level0:i(`var(--md-sys-elevation-level0, ${Ut(0)})`),level1:i(`var(--md-sys-elevation-level1, ${Ut(1)})`),level2:i(`var(--md-sys-elevation-level2, ${Ut(3)})`),level3:i(`var(--md-sys-elevation-level3, ${Ut(6)})`),level4:i(`var(--md-sys-elevation-level4, ${Ut(8)})`),level5:i(`var(--md-sys-elevation-level5, ${Ut(12)})`)},Bt={emphasized:i("var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0.0, 0, 1.0))"),emphasizedDecelerate:i("var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1.0))"),emphasizedAccelerate:i("var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0.0, 0.8, 0.15))"),standard:i("var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0.0, 0, 1.0))"),standardDecelerate:i("var(--md-sys-motion-easing-standard-decelerate, cubic-bezier(0, 0, 0, 1))"),standardAccelerate:i("var(--md-sys-motion-easing-standard-accelerate, cubic-bezier(0.3, 0, 1, 1))")},Nt={fastSpatial:i("var(--md-sys-motion-spring-fast-spatial, 350ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),defaultSpatial:i("var(--md-sys-motion-spring-default-spatial, 500ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),slowSpatial:i("var(--md-sys-motion-spring-slow-spatial, 750ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),fastEffects:i("var(--md-sys-motion-spring-fast-effects, 150ms cubic-bezier(0.31, 0.94, 0.34, 1.00))"),defaultEffects:i("var(--md-sys-motion-spring-default-effects, 200ms cubic-bezier(0.34, 0.80, 0.34, 1.00))"),slowEffects:i("var(--md-sys-motion-spring-slow-effects, 200ms cubic-bezier(0.34, 0.88, 0.34, 1.00))")},Rt={easing:Bt,duration:{short1:i("var(--md-sys-motion-duration-short-1, 50ms)"),short2:i("var(--md-sys-motion-duration-short-2, 100ms)"),short3:i("var(--md-sys-motion-duration-short-3, 150ms)"),short4:i("var(--md-sys-motion-duration-short-4, 200ms)"),medium1:i("var(--md-sys-motion-duration-medium-1, 250ms)"),medium2:i("var(--md-sys-motion-duration-medium-2, 300ms)"),medium3:i("var(--md-sys-motion-duration-medium-3, 350ms)"),medium4:i("var(--md-sys-motion-duration-medium-4, 400ms)"),long1:i("var(--md-sys-motion-duration-long-1, 450ms)"),long2:i("var(--md-sys-motion-duration-long-2, 500ms)"),long3:i("var(--md-sys-motion-duration-long-3, 550ms)"),long4:i("var(--md-sys-motion-duration-long-4, 600ms)"),extraLong1:i("var(--md-sys-motion-duration-extra-long-1, 700ms)"),extraLong2:i("var(--md-sys-motion-duration-extra-long-2, 800ms)"),extraLong3:i("var(--md-sys-motion-duration-extra-long-3, 900ms)"),extraLong4:i("var(--md-sys-motion-duration-extra-long-4, 1000ms)")},spring:Nt},qt={width:i("var(--m3e-scrollbar-width, auto)"),thinWidth:i("var(--m3e-scrollbar-thin-width, thin)"),color:i("var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)")},Vt={none:i("var(--md-sys-shape-corner-value-none, 0)"),extraSmall:i("var(--md-sys-shape-corner-value-extra-small, 0.25rem)"),small:i("var(--md-sys-shape-corner-value-small, 0.5rem)"),medium:i("var(--md-sys-shape-corner-value-medium, 0.75rem)"),large:i("var(--md-sys-shape-corner-value-large, 1rem)"),largeIncreased:i("var(--md-sys-shape-corner-value-large-increased, 1.25rem)"),extraLarge:i("var(--md-sys-shape-corner-value-extra-large, 1.75rem)"),extraLargeIncreased:i("var(--md-sys-shape-corner-value-extra-large-increased, 2rem)"),extraExtraLarge:i("var(--md-sys-shape-corner-value-extra-extra-large, 3rem)")},jt={color:Lt,elevation:It,motion:Rt,shape:{corner:{full:i("var(--md-sys-shape-corner-full, 624.9375rem)"),extraLargeTop:i(`var(--md-sys-shape-corner-extra-large-top, ${Vt.extraLarge} ${Vt.extraLarge} ${Vt.none} ${Vt.none})`),extraLarge:i(`var(--md-sys-shape-corner-extra-large, ${Vt.extraLarge})`),extraLargeEnd:i(`${Vt.none} ${Vt.extraLarge} ${Vt.extraLarge} ${Vt.none}`),extraLargeStart:i(`${Vt.extraLarge} ${Vt.none} ${Vt.none} ${Vt.extraLarge}`),largeTop:i(`var(--md-sys-shape-corner-large-top, ${Vt.large} ${Vt.large} ${Vt.none} ${Vt.none})`),largeEnd:i(`var(--md-sys-shape-corner-large-end, ${Vt.none} ${Vt.large} ${Vt.large} ${Vt.none})`),largeStart:i(`var(--md-sys-shape-corner-large-end, ${Vt.large} ${Vt.none} ${Vt.none} ${Vt.large})`),large:i(`var(--md-sys-shape-corner-large, ${Vt.large})`),medium:i(`var(--md-sys-shape-corner-medium, ${Vt.medium})`),mediumTop:i(`${Vt.medium} ${Vt.medium} ${Vt.none} ${Vt.none}`),mediumEnd:i(`${Vt.none} ${Vt.medium} ${Vt.medium} ${Vt.none}`),mediumStart:i(`${Vt.medium} ${Vt.none} ${Vt.none} ${Vt.medium}`),small:i(`var(--md-sys-shape-corner-small, ${Vt.small})`),smallTop:i(`${Vt.small} ${Vt.small} ${Vt.none} ${Vt.none}`),smallEnd:i(`${Vt.none} ${Vt.small} ${Vt.small} ${Vt.none}`),smallStart:i(`${Vt.small} ${Vt.none} ${Vt.none} ${Vt.small}`),extraSmallTop:i(`var(--md-sys-shape-corner-extra-small-top, ${Vt.extraSmall} ${Vt.extraSmall} ${Vt.none} ${Vt.none})`),extraSmall:i(`var(--md-sys-shape-corner-extra-small, ${Vt.extraSmall})`),extraSmallEnd:i(`${Vt.none} ${Vt.extraSmall} ${Vt.extraSmall} ${Vt.none}`),extraSmallStart:i(`${Vt.extraSmall} ${Vt.none} ${Vt.none} ${Vt.extraSmall}`),extraSmallBottom:i(`${Vt.none} ${Vt.none} ${Vt.extraSmall} ${Vt.extraSmall}`),none:i(`var(--md-sys-shape-corner-none, ${Vt.none})`),largeIncreased:i(`var(--md-sys-shape-corner-large-increased, ${Vt.largeIncreased})`),extraLargeIncreased:i(`var(--md-sys-shape-corner-extra-large-increased, ${Vt.extraLargeIncreased})`),extraExtraLarge:i(`var(--md-sys-shape-corner-extra-extra-large, ${Vt.extraExtraLarge})`),value:Vt}},state:{focusStateLayerOpacity:i("var(--md-sys-state-focus-state-layer-opacity, 10%)"),hoverStateLayerOpacity:i("var(--md-sys-state-hover-state-layer-opacity, 8%)"),pressedStateLayerOpacity:i("var(--md-sys-state-pressed-state-layer-opacity, 10%)")},typescale:{standard:{display:{large:{fontSize:i("var(--md-sys-typescale-display-large-font-size, 3.5625rem)"),fontWeight:i("var(--md-sys-typescale-display-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-large-line-height, 4rem)"),tracking:i("var(--md-sys-typescale-display-large-tracking, 0.015625rem)")},medium:{fontSize:i("var(--md-sys-typescale-display-medium-font-size, 2.8125rem)"),fontWeight:i("var(--md-sys-typescale-display-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-medium-line-height, 3.25rem)"),tracking:i("var(--md-sys-typescale-display-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-display-small-font-size, 2.25rem)"),fontWeight:i("var(--md-sys-typescale-display-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-small-line-height, 2.75rem)"),tracking:i("var(--md-sys-typescale-display-small-tracking, 0)")}},headline:{large:{fontSize:i("var(--md-sys-typescale-headline-large-font-size, 2rem)"),fontWeight:i("var(--md-sys-typescale-headline-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-large-line-height, 2.5rem)"),tracking:i("var(--md-sys-typescale-headline-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-headline-medium-font-size, 1.75rem)"),fontWeight:i("var(--md-sys-typescale-headline-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-medium-line-height, 2.25rem)"),tracking:i("var(--md-sys-typescale-headline-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-headline-small-font-size, 1.5rem)"),fontWeight:i("var(--md-sys-typescale-headline-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-small-line-height, 2rem)"),tracking:i("var(--md-sys-typescale-headline-small-tracking, 0)")}},title:{large:{fontSize:i("var(--md-sys-typescale-title-large-font-size, 1.375rem)"),fontWeight:i("var(--md-sys-typescale-title-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-title-large-line-height, 1.75rem)"),tracking:i("var(--md-sys-typescale-title-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-title-medium-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-title-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-title-medium-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-title-medium-tracking, 0.009375rem)")},small:{fontSize:i("var(--md-sys-typescale-title-small-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-title-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-title-small-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-title-small-tracking, 0.00625rem)")}},body:{large:{fontSize:i("var(--md-sys-typescale-body-large-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-body-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-large-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-body-large-tracking, 0.03125rem)")},medium:{fontSize:i("var(--md-sys-typescale-body-medium-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-body-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-medium-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-body-medium-tracking, 0.015625rem)")},small:{fontSize:i("var(--md-sys-typescale-body-small-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-body-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-body-small-tracking, 0.025rem)")}},label:{large:{fontSize:i("var(--md-sys-typescale-label-large-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-label-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-large-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-label-large-tracking, 0.00625rem)")},medium:{fontSize:i("var(--md-sys-typescale-label-medium-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-label-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-medium-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-label-medium-tracking, 0.03125rem)")},small:{fontSize:i("var(--md-sys-typescale-label-small-font-size, 0.6875rem)"),fontWeight:i("var(--md-sys-typescale-label-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-label-small-tracking, 0.03125rem)")}}},emphasized:{display:{large:{fontSize:i("var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-small-tracking, 0)")}},headline:{large:{fontSize:i("var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-small-tracking, 0)")}},title:{large:{fontSize:i("var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-small-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)")}},body:{large:{fontSize:i("var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)")}},label:{large:{fontSize:i("var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-large-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-small-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)")}}}},scrollbar:qt,density:Wt};function Kt(e){return De(e,"disabled")}function Zt(e,t=!0){class s extends e{constructor(){super(...arguments),this.disabled=!1}update(e){super.update(e),e.has("disabled")&&this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaDisabled=this.disabled?"true":null)}}return n([pt({type:Boolean,reflect:t})],s.prototype,"disabled",void 0),s}function Gt(e){return De(e,"disabledInteractive")&&Kt(e)}const Jt=["click","dblclick","auxclick","keydown","keyup"],Xt=["Tab","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Left","Up","Right","Down"],Yt=Symbol("_suppressedEventHandler");function Qt(e){var t;class s extends e{constructor(){super(...arguments),this[t]=e=>{if(this.disabledInteractive){if(e instanceof KeyboardEvent&&Xt.includes(e.key))return;e.stopImmediatePropagation(),e.preventDefault()}},this.disabledInteractive=!1}connectedCallback(){Jt.forEach(e=>this.addEventListener(e,this[Yt],!0)),super.connectedCallback()}disconnectedCallback(){Jt.forEach(e=>this.removeEventListener(e,this[Yt],!0)),super.disconnectedCallback()}update(e){super.update(e),(e.has("disabled")||e.has("disabledInteractive"))&&this.role&&"none"!==this.role&&"presentation"!==this.role&&"none"!==this.role&&(this.ariaDisabled=this.disabled||this.disabledInteractive?"true":null)}}return t=Yt,n([pt({attribute:"disabled-interactive",type:Boolean,reflect:!0})],s.prototype,"disabledInteractive",void 0),s}function es(e){return De(e,"labels")&&Ue(e)}const ts=Symbol("_updateLabels"),ss=Symbol("_eventHandler");function is(e){var t;class s extends e{constructor(){super(...arguments),this[t]=e=>{e.defaultPrevented||this[ts]()}}get labels(){return this[Oe].labels}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this[ss]),this.addEventListener("change",this[ss])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this[ss]),this.removeEventListener("change",this[ss])}update(e){super.update(e),this[ts]()}[(t=ss,ts)](){const e=this.hasAttribute("tabindex"),t=Kt(this)&&this.disabled||Gt(this)&&this.disabledInteractive;for(const s of this.labels)s.style.userSelect=e?"none":"",s.style.cursor=t?"":"pointer",s.style.color=t?`color-mix(in srgb, ${jt.color.onSurface} 38%, transparent)`:At(this)&&this.touched&&this.ariaInvalid?`${jt.color.error}`:""}}return s.formAssociated=!0,s}const rs=Symbol("formValue"),as=Symbol("defaultValue");function os(e){return De(e,"disabled","form","name")&&es(e)&&Ue(e)}const ns=Symbol("_defaultValue"),ls=Symbol("_defaultIndeterminate"),ds=Symbol("_formDisabled");function cs(e){var t,s;class i extends e{constructor(){super(...arguments),this[t]=!1,this[s]=!1}get form(){return this[Oe].form}get labels(){return this[Oe].labels}get[(t=ls,s=ds,rs)](){return null}get[as](){return this[ns]}get name(){return this.getAttribute("name")??""}set name(e){e?this.setAttribute("name",e):this.removeAttribute("name")}get disabled(){return super.disabled||this[ds]}set disabled(e){super.disabled=e}connectedCallback(){super.connectedCallback(),vt(this)?(this[ns]=this.checked,yt(this)&&(this[ls]=this.indeterminate)):"value"in this&&(this[ns]=this.value)}requestUpdate(e,t,s){super.requestUpdate(e,t,s),this[Oe].setFormValue(this[rs])}formDisabledCallback(e){const t=this.disabled;this[ds]=e,this.disabled!=t&&this.requestUpdate("disabled",t)}formResetCallback(){vt(this)?(this.checked=!0===this[ns],yt(this)&&(this.indeterminate=this[ls])):"value"in this&&(this.value=this[as]),_t(this)&&this.markAsPristine(),At(this)&&this.markAsUntouched()}}return i.formAssociated=!0,n([pt({noAccessor:!0})],i.prototype,"name",null),n([pt({type:Boolean})],i.prototype,"disabled",null),i}const hs=Symbol("validate");function ps(e){return De(e,"willValidate","validity","validationMessage","reportValidity","checkValidity","setCustomValidity")&&os(e)}const ms=Symbol("_updateValidity"),us=Symbol("_validityMessage");function vs(t){var s,i;class r extends t{constructor(){super(...arguments),s.add(this)}get willValidate(){return this[Oe].willValidate}get validity(){return this[ms](),this[Oe].validity}get validationMessage(){return this[ms](),this[Oe].validationMessage}[(s=new WeakSet,hs)](){return this[us]?{customError:!0}:void 0}reportValidity(){return At(this)&&this.markAsTouched(),this[ms](),this[Oe].reportValidity()}checkValidity(){return this[ms](),this[Oe].checkValidity()}setCustomValidity(e){this[us]=e||void 0,this[ms]()}requestUpdate(e,t,s){super.requestUpdate(e,t,s),this[ms]()}firstUpdated(e){super.firstUpdated(e),this[ms]()}[ms](){if(e||!this.isConnected)return;const t=this[hs](),r=t&&Object.keys(t).some(e=>!0===t[e]);let a=t?.customError?this[us]:"";t&&!a&&(a=l(this,s,"m",i).call(this,t)),this[Oe].setValidity(t,a),this.ariaInvalid=r?"true":null,this.classList.toggle("-invalid",!0===r)}}return i=function(e){const t=document.createElement("input");return t.type="text",e.valueMissing&&(t.required=!0,t.value=""),e.typeMismatch&&(t.type="email",t.value="not-an-email"),e.patternMismatch&&(t.pattern="[0-9]{4}",t.value="abcd"),e.tooShort&&(t.minLength=5,t.value="abc"),e.tooLong&&(t.maxLength=2,t.value="abcdef"),e.rangeUnderflow&&(t.type="number",t.min="10",t.value="5"),e.rangeOverflow&&(t.type="number",t.max="5",t.value="10"),e.stepMismatch&&(t.type="number",t.step="2",t.value="3"),e.badInput&&(t.type="number",t.value="abc"),t.setCustomValidity(""),t.checkValidity(),t.validationMessage},r}function fs(e,...t){return class extends e{dispatchEvent(e){if(t.includes(e.type)){const t=this.getAttribute(`on${e.type}`);t&&new Function("e",`${t};`).call(this,e)}return super.dispatchEvent(e)}}}const ys=Symbol("_tabindex");function gs(e){var t;return t=ys,class extends e{constructor(){super(...arguments),this[t]=0}connectedCallback(){this[ys]=Number.parseInt(this.getAttribute("tabindex")??"0"),super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||e.has("disabled")||this.setAttribute("tabindex",`${this[ys]}`)}update(e){if(super.update(e),e.has("disabled"))if(this.disabled||"none"===this.role){const e=this.getAttribute("tabindex");e&&(this[ys]=Number.parseInt(e)),this.removeAttribute("tabindex")}else this.hasAttribute("tabindex")||this.setAttribute("tabindex",`${this[ys]}`)}}}function bs(e){return De(e,"name","type","value")&&Ue(e)}const xs=Symbol("_clickHandler");function $s(e){var t;class s extends e{constructor(){super(...arguments),this.type="button",this[t]=async e=>{if(Kt(this)&&this.disabled||Gt(this)&&this.disabledInteractive)return;const t=this[Oe].form;if(t&&"button"!==this.type&&(await new Promise(e=>setTimeout(e)),!e.defaultPrevented))switch(this.type){case"reset":t.reset();break;case"submit":t.addEventListener("submit",e=>Object.defineProperty(e,"submitter",{configurable:!0,enumerable:!0,get:()=>this}),{capture:!0,once:!0}),this[Oe].setFormValue(this.value),t.requestSubmit()}}}get name(){return this.getAttribute("name")??""}set name(e){e?this.setAttribute("name",e):this.removeAttribute("name")}get value(){return this.getAttribute("value")}set value(e){null!=e?this.setAttribute("value",e):this.removeAttribute("value")}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this[xs])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this[xs])}}return t=xs,n([pt()],s.prototype,"name",null),n([pt()],s.prototype,"value",null),n([pt()],s.prototype,"type",void 0),s}function ws(e){return De(e,"htmlFor","control","attach","detach")}const ks=Symbol("_control"),_s=Symbol("_firstUpdated");function Es(e){var t,s;class i extends e{constructor(){super(...arguments),this[t]=null,this[s]=!1,this.htmlFor=null}get control(){return this[ks]}firstUpdated(e){super.firstUpdated(e),this[_s]=!0}update(e){if(super.update(e),e.has("htmlFor"))if(this.htmlFor){const e=this.getRootNode()?.querySelector(`#${this.htmlFor}`);e!==this.control&&(this.control&&this.detach(),e instanceof HTMLElement&&this.attach(e))}else this.control&&this[_s]&&this.detach()}attach(e){this[ks]=e}detach(){this[ks]=null}}return t=ks,s=_s,n([pt({attribute:"for"})],i.prototype,"htmlFor",void 0),i}function Ss(e,t=!0){var s,i,r;return i=new WeakMap,s=new WeakSet,r=function(e){Kt(this)&&this.disabled||Gt(this)&&this.disabledInteractive||(" "===e.key||t&&"Enter"===e.key)&&this.dispatchEvent(new MouseEvent("click",{cancelable:!0,bubbles:!0,composed:!0}))},class extends e{constructor(){super(...arguments),s.add(this),i.set(this,e=>l(this,s,"m",r).call(this,e))}connectedCallback(){super.connectedCallback(),this.addEventListener("keyup",l(this,i,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keyup",l(this,i,"f"))}}}
48
+ */function ft(e){return Oe(e,"checked")}function yt(e){class t extends e{constructor(){super(...arguments),this.checked=!1}update(e){super.update(e),e.has("checked")&&("button"===this.role?(this.ariaPressed=`${this.checked}`,this.ariaChecked=null):this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaChecked=`${this.checked}`,this.ariaPressed=null))}}return n([mt({type:Boolean,reflect:!0})],t.prototype,"checked",void 0),t}function gt(e){return Oe(e,"indeterminate")&&ft(e)}function bt(e){class t extends(yt(e)){constructor(){super(...arguments),this.indeterminate=!1}update(e){super.update(e),e.has("indeterminate")&&this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaChecked=!this.checked&&this.indeterminate?"mixed":`${this.checked}`)}}return n([mt({type:Boolean,reflect:!0})],t.prototype,"indeterminate",void 0),t}function xt(e){return Oe(e,"selected")}function wt(e){class t extends e{constructor(){super(...arguments),this.selected=!1}update(e){super.update(e),e.has("selected")&&("button"===this.role?(this.ariaPressed=`${this.selected}`,this.ariaSelected=null):this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaSelected=`${this.selected}`,this.ariaPressed=null))}}return n([mt({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),t}function $t(e){return ft(e)||xt(e)}function kt(e){return ft(e)&&e.checked||xt(e)&&e.selected}function _t(e,t){ft(e)?e.checked=t:e.selected=t}function Et(e){return Oe(e,"dirty","pristine","markAsDirty","markAsPristine")}const St=Symbol("_eventHandler");function At(e){var t;return t=St,class extends e{constructor(){super(...arguments),this[t]=()=>this.markAsDirty()}get dirty(){return this.classList.contains("-dirty")}get pristine(){return!this.dirty}connectedCallback(){this.markAsPristine(),super.connectedCallback(),this.addEventListener("change",this[St])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",this[St])}markAsPristine(){this.classList.toggle("-dirty",!1)}markAsDirty(){this.classList.toggle("-dirty",!0)}}}function Ct(e){return Oe(e,"touched","untouched","markAsTouched","markAsUntouched")}const zt=Symbol("_eventHandler");function Lt(e){var t;return t=zt,class extends e{constructor(){super(...arguments),this[t]=()=>this.markAsTouched()}get touched(){return this.classList.contains("-touched")}get untouched(){return!this.touched}connectedCallback(){this.markAsUntouched(),super.connectedCallback(),this.addEventListener("focusout",this[zt])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this[zt])}markAsTouched(){this.classList.toggle("-touched",!0)}markAsUntouched(){this.classList.toggle("-touched",!1)}}}const Mt={primary:i("var(--md-sys-color-primary, #6750A4)"),onPrimary:i("var(--md-sys-color-on-primary, #FFFFFF)"),primaryContainer:i("var(--md-sys-color-primary-container, #EADDFF)"),onPrimaryContainer:i("var(--md-sys-color-on-primary-container, #4F378B)"),primaryFixed:i("var(--md-sys-color-primary-fixed, #EADDFF)"),primaryFixedDim:i("var(--md-sys-color-primary-fixed-dim, #D0BCFF)"),onPrimaryFixed:i("var(--md-sys-color-on-primary-fixed, #21005D)"),onPrimaryFixedVariant:i("var(--md-sys-color-on-primary-fixed-variant, #4F378B)"),secondary:i("var(--md-sys-color-secondary, #625B71)"),onSecondary:i("var(--md-sys-color-on-secondary, #FFFFFF)"),secondaryContainer:i("var(--md-sys-color-secondary-container, #E8DEF8)"),onSecondaryContainer:i("var(--md-sys-color-on-secondary-container, #4A4458)"),secondaryFixed:i("var(--md-sys-color-secondary-fixed, #E8DEF8)"),secondaryFixedDim:i("var(--md-sys-color-secondary-fixed-dim, #CCC2DC)"),onSecondaryFixed:i("var(--md-sys-color-on-secondary-fixed, #1D192B)"),onSecondaryFixedVariant:i("var(--md-sys-color-on-secondary-fixed-variant, #4A4458)"),tertiary:i("var(--md-sys-color-tertiary, #7D5260)"),onTertiary:i("var(--md-sys-color-on-tertiary, #FFFFFF)"),tertiaryContainer:i("var(--md-sys-color-tertiary-container, #FFD8E4)"),onTertiaryContainer:i("var(--md-sys-color-on-tertiary-container, #633B48)"),tertiaryFixed:i("var(--md-sys-color-tertiary-fixed, #FFD8E4)"),tertiaryFixedDim:i("var(--md-sys-color-tertiary-fixed-dim, #EFB8C8)"),onTertiaryFixed:i("var(--md-sys-color-on-tertiary-fixed, #31111D)"),onTertiaryFixedVariant:i("var(--md-sys-color-on-tertiary-fixed-variant, #633B48)"),error:i("var(--md-sys-color-error, #B3261E)"),onError:i("var(--md-sys-color-on-error, #FFFFFF)"),errorContainer:i("var(--md-sys-color-error-container, #F9DEDC)"),onErrorContainer:i("var(--md-sys-color-on-error-container, #8C1D18)"),surface:i("var(--md-sys-color-surface, #FEF7FF)"),onSurface:i("var(--md-sys-color-on-surface, #1D1B20)"),onSurfaceVariant:i("var(--md-sys-color-on-surface-variant, #49454F)"),surfaceContainerLowest:i("var(--md-sys-color-surface-container-lowest, #FFFFFF)"),surfaceContainerLow:i("var(--md-sys-color-surface-container-low, #F7F2FA)"),surfaceContainer:i("var(--md-sys-color-surface-container, #F3EDF7)"),surfaceContainerHigh:i("var(--md-sys-color-surface-container-high, #ECE6F0)"),surfaceContainerHighest:i("var(--md-sys-color-surface-container-highest, #E6E0E9)"),surfaceDim:i("var(--md-sys-color-surface-dim, #DED8E1)"),surfaceBright:i("var(--md-sys-color-surface-bright, #FEF7FF)"),surfaceVariant:i("var(--md-sys-color-surface-variant, #E7E0EC)"),inverseSurface:i("var(--md-sys-color-inverse-surface, #322F35)"),inverseOnSurface:i("var(--md-sys-color-inverse-on-surface, #F5EFF7)"),inversePrimary:i("var(--md-sys-color-inverse-primary, #D0BCFF)"),outline:i("var(--md-sys-color-outline, #79747E)"),outlineVariant:i("var(--md-sys-color-outline-variant, #CAC4D0)"),shadow:i("var(--md-sys-color-shadow, #000000)"),scrim:i("var(--md-sys-color-scrim, #000000)")},Wt={scale:i("var(--md-sys-density-scale, 0)"),size:i("var(--md-sys-density-size, 0.25rem)")},Pt={...Wt,calc:e=>i(`calc(max(${e}, ${Wt.scale}) * ${Wt.size})`)},Tt=`color-mix(in srgb, var(--m3e-elevation-color, ${Mt.shadow}) 20%, transparent)`,Ft=["0px 0px 0px 0px","0px 2px 1px -1px","0px 3px 1px -2px","0px 3px 3px -2px","0px 2px 4px -1px","0px 3px 5px -1px","0px 3px 5px -1px","0px 4px 5px -2px","0px 5px 5px -3px","0px 5px 6px -3px","0px 6px 6px -3px","0px 6px 7px -4px","0px 7px 8px -4px","0px 7px 8px -4px","0px 7px 9px -4px","0px 8px 9px -5px","0px 8px 10px -5px","0px 8px 11px -5px","0px 9px 11px -5px","0px 9px 12px -6px","0px 10px 13px -6px","0px 10px 13px -6px","0px 10px 14px -6px","0px 11px 14px -7px","0px 11px 15px -7px"],Ht=`color-mix(in srgb, var(--m3e-elevation-color, ${Mt.shadow}) 14%, transparent)`,Dt=["0px 0px 0px 0px","0px 1px 1px 0px","0px 2px 2px 0px","0px 3px 4px 0px","0px 4px 5px 0px","0px 5px 8px 0px","0px 6px 10px 0px","0px 7px 10px 1px","0px 8px 10px 1px","0px 9px 12px 1px","0px 10px 14px 1px","0px 11px 15px 1px","0px 12px 17px 2px","0px 13px 19px 2px","0px 14px 21px 2px","0px 15px 22px 2px","0px 16px 24px 2px","0px 17px 26px 2px","0px 18px 28px 2px","0px 19px 29px 2px","0px 20px 31px 3px","0px 21px 33px 3px","0px 22px 35px 3px","0px 23px 36px 3px","0px 24px 38px 3px"],Ot=`color-mix(in srgb, var(--m3e-elevation-color, ${Mt.shadow}) 12%, transparent)`,Ut=["0px 0px 0px 0px","0px 1px 3px 0px","0px 1px 5px 0px","0px 1px 8px 0px","0px 1px 10px 0px","0px 1px 14px 0px","0px 1px 18px 0px","0px 2px 16px 1px","0px 3px 14px 2px","0px 3px 16px 2px","0px 4px 18px 3px","0px 4px 20px 3px","0px 5px 22px 4px","0px 5px 24px 4px","0px 5px 26px 4px","0px 6px 28px 5px","0px 6px 30px 5px","0px 6px 32px 5px","0px 7px 34px 6px","0px 7px 36px 6px","0px 8px 38px 7px","0px 8px 40px 7px","0px 8px 42px 7px","0px 9px 44px 8px","0px 9px 46px 8px"];function Nt(e){return`${Tt} ${Ft[e]},${Ht} ${Dt[e]},${Ot} ${Ut[e]}`}const It={level0:i(`var(--md-sys-elevation-level0, ${Nt(0)})`),level1:i(`var(--md-sys-elevation-level1, ${Nt(1)})`),level2:i(`var(--md-sys-elevation-level2, ${Nt(3)})`),level3:i(`var(--md-sys-elevation-level3, ${Nt(6)})`),level4:i(`var(--md-sys-elevation-level4, ${Nt(8)})`),level5:i(`var(--md-sys-elevation-level5, ${Nt(12)})`)},Rt={emphasized:i("var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0.0, 0, 1.0))"),emphasizedDecelerate:i("var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1.0))"),emphasizedAccelerate:i("var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0.0, 0.8, 0.15))"),standard:i("var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0.0, 0, 1.0))"),standardDecelerate:i("var(--md-sys-motion-easing-standard-decelerate, cubic-bezier(0, 0, 0, 1))"),standardAccelerate:i("var(--md-sys-motion-easing-standard-accelerate, cubic-bezier(0.3, 0, 1, 1))")},Bt={fastSpatial:i("var(--md-sys-motion-spring-fast-spatial, 350ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),defaultSpatial:i("var(--md-sys-motion-spring-default-spatial, 500ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),slowSpatial:i("var(--md-sys-motion-spring-slow-spatial, 750ms cubic-bezier(0.27, 1.06, 0.18, 1.00))"),fastEffects:i("var(--md-sys-motion-spring-fast-effects, 150ms cubic-bezier(0.31, 0.94, 0.34, 1.00))"),defaultEffects:i("var(--md-sys-motion-spring-default-effects, 200ms cubic-bezier(0.34, 0.80, 0.34, 1.00))"),slowEffects:i("var(--md-sys-motion-spring-slow-effects, 200ms cubic-bezier(0.34, 0.88, 0.34, 1.00))")},qt={easing:Rt,duration:{short1:i("var(--md-sys-motion-duration-short-1, 50ms)"),short2:i("var(--md-sys-motion-duration-short-2, 100ms)"),short3:i("var(--md-sys-motion-duration-short-3, 150ms)"),short4:i("var(--md-sys-motion-duration-short-4, 200ms)"),medium1:i("var(--md-sys-motion-duration-medium-1, 250ms)"),medium2:i("var(--md-sys-motion-duration-medium-2, 300ms)"),medium3:i("var(--md-sys-motion-duration-medium-3, 350ms)"),medium4:i("var(--md-sys-motion-duration-medium-4, 400ms)"),long1:i("var(--md-sys-motion-duration-long-1, 450ms)"),long2:i("var(--md-sys-motion-duration-long-2, 500ms)"),long3:i("var(--md-sys-motion-duration-long-3, 550ms)"),long4:i("var(--md-sys-motion-duration-long-4, 600ms)"),extraLong1:i("var(--md-sys-motion-duration-extra-long-1, 700ms)"),extraLong2:i("var(--md-sys-motion-duration-extra-long-2, 800ms)"),extraLong3:i("var(--md-sys-motion-duration-extra-long-3, 900ms)"),extraLong4:i("var(--md-sys-motion-duration-extra-long-4, 1000ms)")},spring:Bt},Vt={width:i("var(--m3e-scrollbar-width, auto)"),thinWidth:i("var(--m3e-scrollbar-thin-width, thin)"),color:i("var(--m3e-scrollbar-thumb-color, #938f94) var(--m3e-scrollbar-track-color, transparent)")},jt={none:i("var(--md-sys-shape-corner-value-none, 0)"),extraSmall:i("var(--md-sys-shape-corner-value-extra-small, 0.25rem)"),small:i("var(--md-sys-shape-corner-value-small, 0.5rem)"),medium:i("var(--md-sys-shape-corner-value-medium, 0.75rem)"),large:i("var(--md-sys-shape-corner-value-large, 1rem)"),largeIncreased:i("var(--md-sys-shape-corner-value-large-increased, 1.25rem)"),extraLarge:i("var(--md-sys-shape-corner-value-extra-large, 1.75rem)"),extraLargeIncreased:i("var(--md-sys-shape-corner-value-extra-large-increased, 2rem)"),extraExtraLarge:i("var(--md-sys-shape-corner-value-extra-extra-large, 3rem)")},Kt={color:Mt,elevation:It,motion:qt,shape:{corner:{full:i("var(--md-sys-shape-corner-full, 624.9375rem)"),extraLargeTop:i(`var(--md-sys-shape-corner-extra-large-top, ${jt.extraLarge} ${jt.extraLarge} ${jt.none} ${jt.none})`),extraLarge:i(`var(--md-sys-shape-corner-extra-large, ${jt.extraLarge})`),extraLargeEnd:i(`${jt.none} ${jt.extraLarge} ${jt.extraLarge} ${jt.none}`),extraLargeStart:i(`${jt.extraLarge} ${jt.none} ${jt.none} ${jt.extraLarge}`),largeTop:i(`var(--md-sys-shape-corner-large-top, ${jt.large} ${jt.large} ${jt.none} ${jt.none})`),largeEnd:i(`var(--md-sys-shape-corner-large-end, ${jt.none} ${jt.large} ${jt.large} ${jt.none})`),largeStart:i(`var(--md-sys-shape-corner-large-end, ${jt.large} ${jt.none} ${jt.none} ${jt.large})`),large:i(`var(--md-sys-shape-corner-large, ${jt.large})`),medium:i(`var(--md-sys-shape-corner-medium, ${jt.medium})`),mediumTop:i(`${jt.medium} ${jt.medium} ${jt.none} ${jt.none}`),mediumEnd:i(`${jt.none} ${jt.medium} ${jt.medium} ${jt.none}`),mediumStart:i(`${jt.medium} ${jt.none} ${jt.none} ${jt.medium}`),small:i(`var(--md-sys-shape-corner-small, ${jt.small})`),smallTop:i(`${jt.small} ${jt.small} ${jt.none} ${jt.none}`),smallEnd:i(`${jt.none} ${jt.small} ${jt.small} ${jt.none}`),smallStart:i(`${jt.small} ${jt.none} ${jt.none} ${jt.small}`),extraSmallTop:i(`var(--md-sys-shape-corner-extra-small-top, ${jt.extraSmall} ${jt.extraSmall} ${jt.none} ${jt.none})`),extraSmall:i(`var(--md-sys-shape-corner-extra-small, ${jt.extraSmall})`),extraSmallEnd:i(`${jt.none} ${jt.extraSmall} ${jt.extraSmall} ${jt.none}`),extraSmallStart:i(`${jt.extraSmall} ${jt.none} ${jt.none} ${jt.extraSmall}`),extraSmallBottom:i(`${jt.none} ${jt.none} ${jt.extraSmall} ${jt.extraSmall}`),none:i(`var(--md-sys-shape-corner-none, ${jt.none})`),largeIncreased:i(`var(--md-sys-shape-corner-large-increased, ${jt.largeIncreased})`),extraLargeIncreased:i(`var(--md-sys-shape-corner-extra-large-increased, ${jt.extraLargeIncreased})`),extraExtraLarge:i(`var(--md-sys-shape-corner-extra-extra-large, ${jt.extraExtraLarge})`),value:jt}},state:{focusStateLayerOpacity:i("var(--md-sys-state-focus-state-layer-opacity, 10%)"),hoverStateLayerOpacity:i("var(--md-sys-state-hover-state-layer-opacity, 8%)"),pressedStateLayerOpacity:i("var(--md-sys-state-pressed-state-layer-opacity, 10%)")},typescale:{standard:{display:{large:{fontSize:i("var(--md-sys-typescale-display-large-font-size, 3.5625rem)"),fontWeight:i("var(--md-sys-typescale-display-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-large-line-height, 4rem)"),tracking:i("var(--md-sys-typescale-display-large-tracking, 0.015625rem)")},medium:{fontSize:i("var(--md-sys-typescale-display-medium-font-size, 2.8125rem)"),fontWeight:i("var(--md-sys-typescale-display-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-medium-line-height, 3.25rem)"),tracking:i("var(--md-sys-typescale-display-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-display-small-font-size, 2.25rem)"),fontWeight:i("var(--md-sys-typescale-display-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-display-small-line-height, 2.75rem)"),tracking:i("var(--md-sys-typescale-display-small-tracking, 0)")}},headline:{large:{fontSize:i("var(--md-sys-typescale-headline-large-font-size, 2rem)"),fontWeight:i("var(--md-sys-typescale-headline-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-large-line-height, 2.5rem)"),tracking:i("var(--md-sys-typescale-headline-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-headline-medium-font-size, 1.75rem)"),fontWeight:i("var(--md-sys-typescale-headline-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-medium-line-height, 2.25rem)"),tracking:i("var(--md-sys-typescale-headline-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-headline-small-font-size, 1.5rem)"),fontWeight:i("var(--md-sys-typescale-headline-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-headline-small-line-height, 2rem)"),tracking:i("var(--md-sys-typescale-headline-small-tracking, 0)")}},title:{large:{fontSize:i("var(--md-sys-typescale-title-large-font-size, 1.375rem)"),fontWeight:i("var(--md-sys-typescale-title-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-title-large-line-height, 1.75rem)"),tracking:i("var(--md-sys-typescale-title-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-title-medium-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-title-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-title-medium-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-title-medium-tracking, 0.009375rem)")},small:{fontSize:i("var(--md-sys-typescale-title-small-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-title-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-title-small-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-title-small-tracking, 0.00625rem)")}},body:{large:{fontSize:i("var(--md-sys-typescale-body-large-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-body-large-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-large-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-body-large-tracking, 0.03125rem)")},medium:{fontSize:i("var(--md-sys-typescale-body-medium-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-body-medium-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-medium-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-body-medium-tracking, 0.015625rem)")},small:{fontSize:i("var(--md-sys-typescale-body-small-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-body-small-font-weight, 400)"),lineHeight:i("var(--md-sys-typescale-body-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-body-small-tracking, 0.025rem)")}},label:{large:{fontSize:i("var(--md-sys-typescale-label-large-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-label-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-large-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-label-large-tracking, 0.00625rem)")},medium:{fontSize:i("var(--md-sys-typescale-label-medium-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-label-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-medium-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-label-medium-tracking, 0.03125rem)")},small:{fontSize:i("var(--md-sys-typescale-label-small-font-size, 0.6875rem)"),fontWeight:i("var(--md-sys-typescale-label-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-label-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-label-small-tracking, 0.03125rem)")}}},emphasized:{display:{large:{fontSize:i("var(--md-sys-typescale-emphasized-display-large-font-size, 3.5625rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-large-line-height, 4rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-large-tracking, 0.015625rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-display-medium-font-size, 2.8125rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-medium-line-height, 3.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-display-small-font-size, 2.25rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-display-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-display-small-line-height, 2.75rem)"),tracking:i("var(--md-sys-typescale-emphasized-display-small-tracking, 0)")}},headline:{large:{fontSize:i("var(--md-sys-typescale-emphasized-headline-large-font-size, 2rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-large-line-height, 2.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-headline-medium-font-size, 1.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-medium-line-height, 2.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-medium-tracking, 0)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-headline-small-font-size, 1.5rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-headline-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-headline-small-line-height, 2rem)"),tracking:i("var(--md-sys-typescale-emphasized-headline-small-tracking, 0)")}},title:{large:{fontSize:i("var(--md-sys-typescale-emphasized-title-large-font-size, 1.375rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-large-line-height, 1.75rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-large-tracking, 0)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-title-medium-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-medium-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-medium-line-height, 3.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-medium-tracking, 0.009375rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-title-small-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-title-small-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-title-small-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-title-small-tracking, 0.00625rem)")}},body:{large:{fontSize:i("var(--md-sys-typescale-emphasized-body-large-font-size, 1rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-large-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-large-line-height, 1.5rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-large-tracking, 0.03125rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-body-medium-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-medium-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-medium-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-medium-tracking, 0.015625rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-body-small-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-body-small-font-weight, 500)"),lineHeight:i("var(--md-sys-typescale-emphasized-body-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-body-small-tracking, 0.025rem)")}},label:{large:{fontSize:i("var(--md-sys-typescale-emphasized-label-large-font-size, 0.875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-large-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-large-line-height, 1.25rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-large-tracking, 0.00625rem)")},medium:{fontSize:i("var(--md-sys-typescale-emphasized-label-medium-font-size, 0.75rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-medium-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-medium-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-medium-tracking, 0.03125rem)")},small:{fontSize:i("var(--md-sys-typescale-emphasized-label-small-font-size, 0.6875rem)"),fontWeight:i("var(--md-sys-typescale-emphasized-label-small-font-weight, 700)"),lineHeight:i("var(--md-sys-typescale-emphasized-label-small-line-height, 1rem)"),tracking:i("var(--md-sys-typescale-emphasized-label-small-tracking, 0.03125rem)")}}}},scrollbar:Vt,density:Pt};function Xt(e){return Oe(e,"disabled")}function Zt(e,t=!0){class s extends e{constructor(){super(...arguments),this.disabled=!1}update(e){super.update(e),e.has("disabled")&&this.role&&"none"!==this.role&&"presentation"!==this.role&&(this.ariaDisabled=this.disabled?"true":null)}}return n([mt({type:Boolean,reflect:t})],s.prototype,"disabled",void 0),s}function Gt(e){return Oe(e,"disabledInteractive")&&Xt(e)}const Jt=["click","dblclick","auxclick","keydown","keyup"],Yt=["Tab","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Left","Up","Right","Down"],Qt=Symbol("_suppressedEventHandler");function es(e){var t;class s extends e{constructor(){super(...arguments),this[t]=e=>{if(this.disabledInteractive){if(e instanceof KeyboardEvent&&Yt.includes(e.key))return;e.stopImmediatePropagation(),e.preventDefault()}},this.disabledInteractive=!1}connectedCallback(){Jt.forEach(e=>this.addEventListener(e,this[Qt],!0)),super.connectedCallback()}disconnectedCallback(){Jt.forEach(e=>this.removeEventListener(e,this[Qt],!0)),super.disconnectedCallback()}update(e){super.update(e),(e.has("disabled")||e.has("disabledInteractive"))&&this.role&&"none"!==this.role&&"presentation"!==this.role&&"none"!==this.role&&(this.ariaDisabled=this.disabled||this.disabledInteractive?"true":null)}}return t=Qt,n([mt({attribute:"disabled-interactive",type:Boolean,reflect:!0})],s.prototype,"disabledInteractive",void 0),s}function ts(e){return Oe(e,"labels")&&Ne(e)}const ss=Symbol("_updateLabels"),is=Symbol("_eventHandler");function rs(e){var t;class s extends e{constructor(){super(...arguments),this[t]=e=>{e.defaultPrevented||this[ss]()}}get labels(){return this[Ue].labels}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this[is]),this.addEventListener("change",this[is])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this[is]),this.removeEventListener("change",this[is])}update(e){super.update(e),this[ss]()}[(t=is,ss)](){const e=this.hasAttribute("tabindex"),t=Xt(this)&&this.disabled||Gt(this)&&this.disabledInteractive;for(const s of this.labels)s.style.userSelect=e?"none":"",s.style.cursor=t?"":"pointer",s.style.color=t?`color-mix(in srgb, ${Kt.color.onSurface} 38%, transparent)`:Ct(this)&&this.touched&&this.ariaInvalid?`${Kt.color.error}`:""}}return s.formAssociated=!0,s}const as=Symbol("formValue"),os=Symbol("defaultValue");function ns(e){return Oe(e,"disabled","form","name")&&ts(e)&&Ne(e)}const ls=Symbol("_defaultValue"),ds=Symbol("_defaultIndeterminate"),hs=Symbol("_formDisabled");function cs(e){var t,s;class i extends e{constructor(){super(...arguments),this[t]=!1,this[s]=!1}get form(){return this[Ue].form}get labels(){return this[Ue].labels}get[(t=ds,s=hs,as)](){return null}get[os](){return this[ls]}get name(){return this.getAttribute("name")??""}set name(e){e?this.setAttribute("name",e):this.removeAttribute("name")}get disabled(){return super.disabled||this[hs]}set disabled(e){super.disabled=e}connectedCallback(){super.connectedCallback(),ft(this)?(this[ls]=this.checked,gt(this)&&(this[ds]=this.indeterminate)):"value"in this&&(this[ls]=this.value)}requestUpdate(e,t,s){super.requestUpdate(e,t,s),this[Ue].setFormValue(this[as])}formDisabledCallback(e){const t=this.disabled;this[hs]=e,this.disabled!=t&&this.requestUpdate("disabled",t)}formResetCallback(){ft(this)?(this.checked=!0===this[ls],gt(this)&&(this.indeterminate=this[ds])):"value"in this&&(this.value=this[os]),Et(this)&&this.markAsPristine(),Ct(this)&&this.markAsUntouched()}}return i.formAssociated=!0,n([mt({noAccessor:!0})],i.prototype,"name",null),n([mt({type:Boolean})],i.prototype,"disabled",null),i}const ps=Symbol("validate");function ms(e){return Oe(e,"willValidate","validity","validationMessage","reportValidity","checkValidity","setCustomValidity")&&ns(e)}const us=Symbol("_updateValidity"),vs=Symbol("_validityMessage");function fs(t){var s,i;class r extends t{constructor(){super(...arguments),s.add(this)}get willValidate(){return this[Ue].willValidate}get validity(){return this[us](),this[Ue].validity}get validationMessage(){return this[us](),this[Ue].validationMessage}[(s=new WeakSet,ps)](){return this[vs]?{customError:!0}:void 0}reportValidity(){return Ct(this)&&this.markAsTouched(),this[us](),this[Ue].reportValidity()}checkValidity(){return this[us](),this[Ue].checkValidity()}setCustomValidity(e){this[vs]=e||void 0,this[us]()}requestUpdate(e,t,s){super.requestUpdate(e,t,s),this[us]()}firstUpdated(e){super.firstUpdated(e),this[us]()}[us](){if(e||!this.isConnected)return;const t=this[ps](),r=t&&Object.keys(t).some(e=>!0===t[e]);let a=t?.customError?this[vs]:"";t&&!a&&(a=l(this,s,"m",i).call(this,t)),this[Ue].setValidity(t,a),this.ariaInvalid=r?"true":null,this.classList.toggle("-invalid",!0===r)}}return i=function(e){const t=document.createElement("input");return t.type="text",e.valueMissing&&(t.required=!0,t.value=""),e.typeMismatch&&(t.type="email",t.value="not-an-email"),e.patternMismatch&&(t.pattern="[0-9]{4}",t.value="abcd"),e.tooShort&&(t.minLength=5,t.value="abc"),e.tooLong&&(t.maxLength=2,t.value="abcdef"),e.rangeUnderflow&&(t.type="number",t.min="10",t.value="5"),e.rangeOverflow&&(t.type="number",t.max="5",t.value="10"),e.stepMismatch&&(t.type="number",t.step="2",t.value="3"),e.badInput&&(t.type="number",t.value="abc"),t.setCustomValidity(""),t.checkValidity(),t.validationMessage},r}function ys(e,...t){return class extends e{dispatchEvent(e){if(t.includes(e.type)){const t=this.getAttribute(`on${e.type}`);t&&new Function("e",`${t};`).call(this,e)}return super.dispatchEvent(e)}}}const gs=Symbol("_tabindex");function bs(e){var t;return t=gs,class extends e{constructor(){super(...arguments),this[t]=0}connectedCallback(){this[gs]=Number.parseInt(this.getAttribute("tabindex")??"0"),super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||e.has("disabled")||this.setAttribute("tabindex",`${this[gs]}`)}update(e){if(super.update(e),e.has("disabled"))if(this.disabled||"none"===this.role){const e=this.getAttribute("tabindex");e&&(this[gs]=Number.parseInt(e)),this.removeAttribute("tabindex")}else this.hasAttribute("tabindex")||this.setAttribute("tabindex",`${this[gs]}`)}}}function xs(e){return Oe(e,"name","type","value")&&Ne(e)}const ws=Symbol("_clickHandler");function $s(e){var t;class s extends e{constructor(){super(...arguments),this.type="button",this[t]=async e=>{if(e.defaultPrevented||Xt(this)&&this.disabled||Gt(this)&&this.disabledInteractive)return;const t=this[Ue].form;if(t&&"button"!==this.type&&(await new Promise(e=>setTimeout(e)),!e.defaultPrevented))switch(this.type){case"reset":t.reset();break;case"submit":t.addEventListener("submit",e=>Object.defineProperty(e,"submitter",{configurable:!0,enumerable:!0,get:()=>this}),{capture:!0,once:!0}),this[Ue].setFormValue(this.value),t.requestSubmit()}}}get name(){return this.getAttribute("name")??""}set name(e){e?this.setAttribute("name",e):this.removeAttribute("name")}get value(){return this.getAttribute("value")}set value(e){null!=e?this.setAttribute("value",e):this.removeAttribute("value")}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this[ws])}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this[ws])}}return t=ws,s.formAssociated=!0,n([mt()],s.prototype,"name",null),n([mt()],s.prototype,"value",null),n([mt()],s.prototype,"type",void 0),s}function ks(e){return Oe(e,"htmlFor","control","attach","detach")}const _s=Symbol("_control"),Es=Symbol("_firstUpdated");function Ss(e){var t,s;class i extends e{constructor(){super(...arguments),this[t]=null,this[s]=!1,this.htmlFor=null}get control(){return this[_s]}firstUpdated(e){super.firstUpdated(e),this[Es]=!0}update(e){if(super.update(e),e.has("htmlFor"))if(this.htmlFor){const e=this.getRootNode()?.querySelector(`#${this.htmlFor}`);e!==this.control&&(this.control&&this.detach(),e instanceof HTMLElement&&this.attach(e))}else this.control&&this[Es]&&this.detach()}attach(e){this[_s]=e}detach(){this[_s]=null}}return t=_s,s=Es,n([mt({attribute:"for"})],i.prototype,"htmlFor",void 0),i}function As(e,t=!0){var s,i,r;return i=new WeakMap,s=new WeakSet,r=function(e){e.defaultPrevented||e.target!==e.currentTarget||Xt(this)&&this.disabled||Gt(this)&&this.disabledInteractive||(" "===e.key||t&&"Enter"===e.key)&&this.dispatchEvent(new MouseEvent("click",{cancelable:!0,bubbles:!0,composed:!0}))},class extends e{constructor(){super(...arguments),s.add(this),i.set(this,e=>l(this,s,"m",r).call(this,e))}connectedCallback(){super.connectedCallback(),this.addEventListener("keyup",l(this,i,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keyup",l(this,i,"f"))}}}
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */const As=globalThis,zs=As.trustedTypes,Cs=zs?zs.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ls="$lit$",Ms=`lit$${Math.random().toFixed(9).slice(2)}$`,Ws="?"+Ms,Ps=`<${Ws}>`,Fs=document,Hs=()=>Fs.createComment(""),Ts=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Ds=Array.isArray,Os="[ \t\n\f\r]",Us=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Is=/-->/g,Bs=/>/g,Ns=RegExp(`>|${Os}(?:([^\\s"'>=/]+)(${Os}*=${Os}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Rs=/'/g,qs=/"/g,Vs=/^(?:script|style|textarea|title)$/i,js=Symbol.for("lit-noChange"),Ks=Symbol.for("lit-nothing"),Zs=new WeakMap,Gs=Fs.createTreeWalker(Fs,129);function Js(e,t){if(!Ds(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Cs?Cs.createHTML(t):t}const Xs=(e,t)=>{const s=e.length-1,i=[];let r,a=2===t?"<svg>":3===t?"<math>":"",o=Us;for(let t=0;t<s;t++){const s=e[t];let n,l,d=-1,c=0;for(;c<s.length&&(o.lastIndex=c,l=o.exec(s),null!==l);)c=o.lastIndex,o===Us?"!--"===l[1]?o=Is:void 0!==l[1]?o=Bs:void 0!==l[2]?(Vs.test(l[2])&&(r=RegExp("</"+l[2],"g")),o=Ns):void 0!==l[3]&&(o=Ns):o===Ns?">"===l[0]?(o=r??Us,d=-1):void 0===l[1]?d=-2:(d=o.lastIndex-l[2].length,n=l[1],o=void 0===l[3]?Ns:'"'===l[3]?qs:Rs):o===qs||o===Rs?o=Ns:o===Is||o===Bs?o=Us:(o=Ns,r=void 0);const h=o===Ns&&e[t+1].startsWith("/>")?" ":"";a+=o===Us?s+Ps:d>=0?(i.push(n),s.slice(0,d)+Ls+s.slice(d)+Ms+h):s+Ms+(-2===d?t:h)}return[Js(e,a+(e[s]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),i]};class Ys{constructor({strings:e,_$litType$:t},s){let i;this.parts=[];let r=0,a=0;const o=e.length-1,n=this.parts,[l,d]=Xs(e,t);if(this.el=Ys.createElement(l,s),Gs.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(i=Gs.nextNode())&&n.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const e of i.getAttributeNames())if(e.endsWith(Ls)){const t=d[a++],s=i.getAttribute(e).split(Ms),o=/([.?@])?(.*)/.exec(t);n.push({type:1,index:r,name:o[2],strings:s,ctor:"."===o[1]?ii:"?"===o[1]?ri:"@"===o[1]?ai:si}),i.removeAttribute(e)}else e.startsWith(Ms)&&(n.push({type:6,index:r}),i.removeAttribute(e));if(Vs.test(i.tagName)){const e=i.textContent.split(Ms),t=e.length-1;if(t>0){i.textContent=zs?zs.emptyScript:"";for(let s=0;s<t;s++)i.append(e[s],Hs()),Gs.nextNode(),n.push({type:2,index:++r});i.append(e[t],Hs())}}}else if(8===i.nodeType)if(i.data===Ws)n.push({type:2,index:r});else{let e=-1;for(;-1!==(e=i.data.indexOf(Ms,e+1));)n.push({type:7,index:r}),e+=Ms.length-1}r++}}static createElement(e,t){const s=Fs.createElement("template");return s.innerHTML=e,s}}function Qs(e,t,s=e,i){if(t===js)return t;let r=void 0!==i?s._$Co?.[i]:s._$Cl;const a=Ts(t)?void 0:t._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(e),r._$AT(e,s,i)),void 0!==i?(s._$Co??=[])[i]=r:s._$Cl=r),void 0!==r&&(t=Qs(e,r._$AS(e,t.values),r,i)),t}class ei{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:s}=this._$AD,i=(e?.creationScope??Fs).importNode(t,!0);Gs.currentNode=i;let r=Gs.nextNode(),a=0,o=0,n=s[0];for(;void 0!==n;){if(a===n.index){let t;2===n.type?t=new ti(r,r.nextSibling,this,e):1===n.type?t=new n.ctor(r,n.name,n.strings,this,e):6===n.type&&(t=new oi(r,this,e)),this._$AV.push(t),n=s[++o]}a!==n?.index&&(r=Gs.nextNode(),a++)}return Gs.currentNode=Fs,i}p(e){let t=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(e,s,t),t+=s.strings.length-2):s._$AI(e[t])),t++}}class ti{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,s,i){this.type=2,this._$AH=Ks,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Qs(this,e,t),Ts(e)?e===Ks||null==e||""===e?(this._$AH!==Ks&&this._$AR(),this._$AH=Ks):e!==this._$AH&&e!==js&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>Ds(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Ks&&Ts(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fs.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:s}=e,i="number"==typeof s?this._$AC(e):(void 0===s.el&&(s.el=Ys.createElement(Js(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(t);else{const e=new ei(i,this),s=e.u(this.options);e.p(t),this.T(s),this._$AH=e}}_$AC(e){let t=Zs.get(e.strings);return void 0===t&&Zs.set(e.strings,t=new Ys(e)),t}k(e){Ds(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let s,i=0;for(const r of e)i===t.length?t.push(s=new ti(this.O(Hs()),this.O(Hs()),this,this.options)):s=t[i],s._$AI(r),i++;i<t.length&&(this._$AR(s&&s._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class si{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,s,i,r){this.type=1,this._$AH=Ks,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Ks}_$AI(e,t=this,s,i){const r=this.strings;let a=!1;if(void 0===r)e=Qs(this,e,t,0),a=!Ts(e)||e!==this._$AH&&e!==js,a&&(this._$AH=e);else{const i=e;let o,n;for(e=r[0],o=0;o<r.length-1;o++)n=Qs(this,i[s+o],t,o),n===js&&(n=this._$AH[o]),a||=!Ts(n)||n!==this._$AH[o],n===Ks?e=Ks:e!==Ks&&(e+=(n??"")+r[o+1]),this._$AH[o]=n}a&&!i&&this.j(e)}j(e){e===Ks?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class ii extends si{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Ks?void 0:e}}class ri extends si{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Ks)}}class ai extends si{constructor(e,t,s,i,r){super(e,t,s,i,r),this.type=5}_$AI(e,t=this){if((e=Qs(this,e,t,0)??Ks)===js)return;const s=this._$AH,i=e===Ks&&s!==Ks||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==Ks&&(s===Ks||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class oi{constructor(e,t,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){Qs(this,e)}}const ni=As.litHtmlPolyfillSupport;ni?.(Ys,ti),(As.litHtmlVersions??=[]).push("3.3.1");
53
+ */const Cs=globalThis,zs=Cs.trustedTypes,Ls=zs?zs.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ms="$lit$",Ws=`lit$${Math.random().toFixed(9).slice(2)}$`,Ps="?"+Ws,Ts=`<${Ps}>`,Fs=document,Hs=()=>Fs.createComment(""),Ds=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Os=Array.isArray,Us="[ \t\n\f\r]",Ns=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Is=/-->/g,Rs=/>/g,Bs=RegExp(`>|${Us}(?:([^\\s"'>=/]+)(${Us}*=${Us}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qs=/'/g,Vs=/"/g,js=/^(?:script|style|textarea|title)$/i,Ks=Symbol.for("lit-noChange"),Xs=Symbol.for("lit-nothing"),Zs=new WeakMap,Gs=Fs.createTreeWalker(Fs,129);function Js(e,t){if(!Os(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ls?Ls.createHTML(t):t}const Ys=(e,t)=>{const s=e.length-1,i=[];let r,a=2===t?"<svg>":3===t?"<math>":"",o=Ns;for(let t=0;t<s;t++){const s=e[t];let n,l,d=-1,h=0;for(;h<s.length&&(o.lastIndex=h,l=o.exec(s),null!==l);)h=o.lastIndex,o===Ns?"!--"===l[1]?o=Is:void 0!==l[1]?o=Rs:void 0!==l[2]?(js.test(l[2])&&(r=RegExp("</"+l[2],"g")),o=Bs):void 0!==l[3]&&(o=Bs):o===Bs?">"===l[0]?(o=r??Ns,d=-1):void 0===l[1]?d=-2:(d=o.lastIndex-l[2].length,n=l[1],o=void 0===l[3]?Bs:'"'===l[3]?Vs:qs):o===Vs||o===qs?o=Bs:o===Is||o===Rs?o=Ns:(o=Bs,r=void 0);const c=o===Bs&&e[t+1].startsWith("/>")?" ":"";a+=o===Ns?s+Ts:d>=0?(i.push(n),s.slice(0,d)+Ms+s.slice(d)+Ws+c):s+Ws+(-2===d?t:c)}return[Js(e,a+(e[s]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),i]};class Qs{constructor({strings:e,_$litType$:t},s){let i;this.parts=[];let r=0,a=0;const o=e.length-1,n=this.parts,[l,d]=Ys(e,t);if(this.el=Qs.createElement(l,s),Gs.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(i=Gs.nextNode())&&n.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const e of i.getAttributeNames())if(e.endsWith(Ms)){const t=d[a++],s=i.getAttribute(e).split(Ws),o=/([.?@])?(.*)/.exec(t);n.push({type:1,index:r,name:o[2],strings:s,ctor:"."===o[1]?ri:"?"===o[1]?ai:"@"===o[1]?oi:ii}),i.removeAttribute(e)}else e.startsWith(Ws)&&(n.push({type:6,index:r}),i.removeAttribute(e));if(js.test(i.tagName)){const e=i.textContent.split(Ws),t=e.length-1;if(t>0){i.textContent=zs?zs.emptyScript:"";for(let s=0;s<t;s++)i.append(e[s],Hs()),Gs.nextNode(),n.push({type:2,index:++r});i.append(e[t],Hs())}}}else if(8===i.nodeType)if(i.data===Ps)n.push({type:2,index:r});else{let e=-1;for(;-1!==(e=i.data.indexOf(Ws,e+1));)n.push({type:7,index:r}),e+=Ws.length-1}r++}}static createElement(e,t){const s=Fs.createElement("template");return s.innerHTML=e,s}}function ei(e,t,s=e,i){if(t===Ks)return t;let r=void 0!==i?s._$Co?.[i]:s._$Cl;const a=Ds(t)?void 0:t._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(e),r._$AT(e,s,i)),void 0!==i?(s._$Co??=[])[i]=r:s._$Cl=r),void 0!==r&&(t=ei(e,r._$AS(e,t.values),r,i)),t}class ti{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:s}=this._$AD,i=(e?.creationScope??Fs).importNode(t,!0);Gs.currentNode=i;let r=Gs.nextNode(),a=0,o=0,n=s[0];for(;void 0!==n;){if(a===n.index){let t;2===n.type?t=new si(r,r.nextSibling,this,e):1===n.type?t=new n.ctor(r,n.name,n.strings,this,e):6===n.type&&(t=new ni(r,this,e)),this._$AV.push(t),n=s[++o]}a!==n?.index&&(r=Gs.nextNode(),a++)}return Gs.currentNode=Fs,i}p(e){let t=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(e,s,t),t+=s.strings.length-2):s._$AI(e[t])),t++}}class si{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,s,i){this.type=2,this._$AH=Xs,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ei(this,e,t),Ds(e)?e===Xs||null==e||""===e?(this._$AH!==Xs&&this._$AR(),this._$AH=Xs):e!==this._$AH&&e!==Ks&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>Os(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Xs&&Ds(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fs.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:s}=e,i="number"==typeof s?this._$AC(e):(void 0===s.el&&(s.el=Qs.createElement(Js(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(t);else{const e=new ti(i,this),s=e.u(this.options);e.p(t),this.T(s),this._$AH=e}}_$AC(e){let t=Zs.get(e.strings);return void 0===t&&Zs.set(e.strings,t=new Qs(e)),t}k(e){Os(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let s,i=0;for(const r of e)i===t.length?t.push(s=new si(this.O(Hs()),this.O(Hs()),this,this.options)):s=t[i],s._$AI(r),i++;i<t.length&&(this._$AR(s&&s._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class ii{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,s,i,r){this.type=1,this._$AH=Xs,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Xs}_$AI(e,t=this,s,i){const r=this.strings;let a=!1;if(void 0===r)e=ei(this,e,t,0),a=!Ds(e)||e!==this._$AH&&e!==Ks,a&&(this._$AH=e);else{const i=e;let o,n;for(e=r[0],o=0;o<r.length-1;o++)n=ei(this,i[s+o],t,o),n===Ks&&(n=this._$AH[o]),a||=!Ds(n)||n!==this._$AH[o],n===Xs?e=Xs:e!==Xs&&(e+=(n??"")+r[o+1]),this._$AH[o]=n}a&&!i&&this.j(e)}j(e){e===Xs?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class ri extends ii{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Xs?void 0:e}}class ai extends ii{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Xs)}}class oi extends ii{constructor(e,t,s,i,r){super(e,t,s,i,r),this.type=5}_$AI(e,t=this){if((e=ei(this,e,t,0)??Xs)===Ks)return;const s=this._$AH,i=e===Xs&&s!==Xs||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==Xs&&(s===Xs||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class ni{constructor(e,t,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){ei(this,e)}}const li=Cs.litHtmlPolyfillSupport;li?.(Qs,si),(Cs.litHtmlVersions??=[]).push("3.3.1");
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2018 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"download","href","rel","target")}const hi=Symbol("_clickHandler");function pi(e){var s,i,a,o,d;class c extends e{constructor(){super(...arguments),s.add(this),this[d]=async e=>{if(Gt(this)&&this.disabledInteractive&&(e.preventDefault(),e.stopPropagation()),await new Promise(e=>e()),!e.defaultPrevented&&this.href){e.preventDefault(),e.stopImmediatePropagation();const t=document.createElement("a");t.href=this.href,t.rel=this.rel,t.target=this.target,null!=this.download&&(t.download=this.download),t.addEventListener("click",async()=>{await new Promise(e=>e()),t.remove()}),document.body.appendChild(t),t.click()}},this.href="",this.target="",this.rel=""}get download(){return this.getAttribute("download")}set download(e){const t=this.download;t!==e&&(e?this.setAttribute("download",e):this.removeAttribute("download"),this.requestUpdate("download",t))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this[hi]),this.hasAttribute("href")&&"button"===this.role&&(this.role="link")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this[hi])}[(s=new WeakSet,d=hi,di)](){const e=Kt(this)&&this.disabled,n=Gt(this)&&this.disabledInteractive;return e||n||!this.href?t:r`<a
59
+ const di=e=>e??Xs,hi=Symbol("renderPseudoLink");function ci(e){return Oe(e,"download","href","rel","target")}const pi=Symbol("_clickHandler");function mi(e){var s,i,a,o,d;class h extends e{constructor(){super(...arguments),s.add(this),this[d]=async e=>{if(Gt(this)&&this.disabledInteractive&&(e.preventDefault(),e.stopPropagation()),await new Promise(e=>e()),!e.defaultPrevented&&this.href){e.preventDefault(),e.stopImmediatePropagation();const t=document.createElement("a");t.href=this.href,t.rel=this.rel,t.target=this.target,null!=this.download&&(t.download=this.download),t.addEventListener("click",async()=>{await new Promise(e=>e()),t.remove()}),document.body.appendChild(t),t.click()}},this.href="",this.target="",this.rel=""}get download(){return this.getAttribute("download")}set download(e){const t=this.download;t!==e&&(e?this.setAttribute("download",e):this.removeAttribute("download"),this.requestUpdate("download",t))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this[pi]),this.hasAttribute("href")&&"button"===this.role&&(this.role="link")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this[pi])}[(s=new WeakSet,d=pi,hi)](){const e=Xt(this)&&this.disabled,n=Gt(this)&&this.disabledInteractive;return e||n||!this.href?t:r`<a
60
60
  href="${this.href}"
61
- target="${li(this.target||void 0)}"
62
- rel="${li(this.rel||void 0)}"
63
- download="${li(this.download||void 0)}"
61
+ target="${di(this.target||void 0)}"
62
+ rel="${di(this.rel||void 0)}"
63
+ download="${di(this.download||void 0)}"
64
64
  tabindex="-1"
65
65
  aria-hidden="true"
66
66
  @pointerdown="${l(this,s,"m",i)}"
67
67
  @focus="${l(this,s,"m",a)}"
68
68
  @blur="${l(this,s,"m",o)}"
69
- ></a>`}}return i=function(e){2!==e.button?(e.preventDefault(),e.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))):e.target.removeAttribute("aria-hidden")},a=function(e){e.target.blur(),this.focus()},o=function(e){e.target.setAttribute("aria-hidden","true")},n([pt()],c.prototype,"href",void 0),n([pt()],c.prototype,"target",void 0),n([pt()],c.prototype,"rel",void 0),n([pt({reflect:!1})],c.prototype,"download",null),c}function mi(e){return De(e,"readOnly")}function ui(e,t=!0){class s extends e{constructor(){super(...arguments),this.readOnly=!1}update(e){super.update(e),e.has("readOnly")&&(this.ariaReadOnly=this.readOnly?"true":null)}}return n([pt({attribute:"readonly",type:Boolean,reflect:t})],s.prototype,"readOnly",void 0),s}function vi(e){return De(e,"required","optional")}function fi(e){class t extends e{constructor(){super(...arguments),this.required=!1}get optional(){return!this.required}update(e){super.update(e),e.has("required")&&(this.ariaRequired=`${this.required}`)}}return n([pt({type:Boolean,reflect:!0})],t.prototype,"required",void 0),t}function yi(e){return vi(e)&&ps(e)}function gi(e){return class extends e{[hs](){const e=super[hs]();if(!e&&this.required){if(vt(this)&&!this.checked)return{valueMissing:!0};if(!this.value)return{valueMissing:!0}}return e}}}function bi(e,t){return class extends e{connectedCallback(){this.role=this.role||t,super.connectedCallback()}}}function xi(e){return De(e,"vertical")}function $i(e){class t extends e{constructor(){super(...arguments),this.vertical=!1}update(e){super.update(e),e.has("vertical")&&(this.ariaOrientation=this.vertical?"vertical":"horizontal")}}return n([pt({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),t}function wi(e,t=!1){let s="";switch(e.nodeType){case Node.TEXT_NODE:s=e.nodeValue??"";break;case Node.ELEMENT_NODE:if(e instanceof HTMLSlotElement)for(const i of e.assignedNodes({flatten:!0}))s+=wi(i,t);else for(const i of e.childNodes)s+=wi(i,t)}return t&&(s=s.trim()),s}function ki(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function _i(e){return e.assignedNodes({flatten:!0}).length>0}function Ei(){return e||matchMedia("(prefers-reduced-motion)").matches}function Si(e,t,s="auto"){const i=t.getBoundingClientRect(),r=e.getBoundingClientRect();(r.top<i.top||r.bottom>i.bottom)&&e.scrollIntoView({block:"nearest",behavior:s})}var Ai,zi,Ci,Li,Mi,Wi,Pi;let Fi=class extends(fs(bi(o,"none"),"opening","opened","closing","closed")){constructor(){super(...arguments),Ai.add(this),zi.set(this,!1),Ci.set(this,!1),this.open=!1}update(e){if(super.update(e),this.classList.toggle("-no-animate",!0),!l(this,zi,"f"))return this.open&&(d(this,Ci,!0,"f"),l(this,Ai,"m",Mi).call(this)),void d(this,zi,!0,"f");this.toggleAttribute("inert",!this.open),this.open?(d(this,Ci,!0,"f"),this.classList.toggle("-closing",!1),this.classList.toggle("-opening",!0),this.dispatchEvent(new Event("opening")),l(this,Ai,"m",Wi).call(this),this.classList.toggle("-no-animate",!1),l(this,Ai,"m",Pi).call(this),Ei()?(this.classList.toggle("-opening",!1),this.dispatchEvent(new Event("opened"))):this.addEventListener("transitionend",()=>{this.open&&(l(this,Ai,"m",Mi).call(this),this.classList.toggle("-opening",!1),this.dispatchEvent(new Event("opened")))},{once:!0})):(this.classList.toggle("-opening",!1),this.classList.toggle("-closing",!0),this.dispatchEvent(new Event("closing")),l(this,Ai,"m",Pi).call(this),l(this,Ci,"f")&&this.classList.toggle("-no-animate",!1),Ei()?(l(this,Ai,"m",Wi).call(this),this.classList.toggle("-closing",!1),this.dispatchEvent(new Event("closed"))):requestAnimationFrame(()=>{l(this,Ai,"m",Wi).call(this),this.addEventListener("transitionend",()=>{this.open||(this.classList.toggle("-closing",!1),this.dispatchEvent(new Event("closed")))},{once:!0})}))}render(){return r`<slot @slotchange="${l(this,Ai,"m",Li)}"></slot>`}};zi=new WeakMap,Ci=new WeakMap,Ai=new WeakSet,Li=function(){d(this,zi,!0,"f")},Mi=function(){this.style.height="auto"},Wi=function(){this.style.height=""},Pi=function(){this.style.height=`${this.scrollHeight}px`},Fi.styles=a`
69
+ ></a>`}}return i=function(e){2!==e.button?(e.preventDefault(),e.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}))):e.target.removeAttribute("aria-hidden")},a=function(e){e.target.blur(),this.focus()},o=function(e){e.target.setAttribute("aria-hidden","true")},n([mt()],h.prototype,"href",void 0),n([mt()],h.prototype,"target",void 0),n([mt()],h.prototype,"rel",void 0),n([mt({reflect:!1})],h.prototype,"download",null),h}function ui(e){return Oe(e,"readOnly")}function vi(e,t=!0){class s extends e{constructor(){super(...arguments),this.readOnly=!1}update(e){super.update(e),e.has("readOnly")&&(this.ariaReadOnly=this.readOnly?"true":null)}}return n([mt({attribute:"readonly",type:Boolean,reflect:t})],s.prototype,"readOnly",void 0),s}function fi(e){return Oe(e,"required","optional")}function yi(e){class t extends e{constructor(){super(...arguments),this.required=!1}get optional(){return!this.required}update(e){super.update(e),e.has("required")&&(this.ariaRequired=`${this.required}`)}}return n([mt({type:Boolean,reflect:!0})],t.prototype,"required",void 0),t}function gi(e){return fi(e)&&ms(e)}function bi(e){return class extends e{[ps](){const e=super[ps]();if(!e&&this.required){if(ft(this)&&!this.checked)return{valueMissing:!0};if(!this.value)return{valueMissing:!0}}return e}}}function xi(e,t){return class extends e{connectedCallback(){this.role=this.role||t,super.connectedCallback()}}}function wi(e){return Oe(e,"vertical")}function $i(e){class t extends e{constructor(){super(...arguments),this.vertical=!1}update(e){super.update(e),e.has("vertical")&&(this.ariaOrientation=this.vertical?"vertical":"horizontal")}}return n([mt({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),t}function ki(e,t=!1){let s="";switch(e.nodeType){case Node.TEXT_NODE:s=e.nodeValue??"";break;case Node.ELEMENT_NODE:if(e instanceof HTMLSlotElement)for(const i of e.assignedNodes({flatten:!0}))s+=ki(i,t);else for(const i of e.childNodes)s+=ki(i,t)}return t&&(s=s.trim()),s}function _i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function Ei(e){return e.assignedNodes({flatten:!0}).length>0}function Si(){return e||matchMedia("(prefers-reduced-motion)").matches}function Ai(e,t,s){const i=t.getBoundingClientRect(),r=e.getBoundingClientRect();(r.top<i.top||r.bottom>i.bottom)&&e.scrollIntoView(s)}var Ci,zi,Li,Mi,Wi,Pi,Ti;let Fi=class extends(ys(o,"opening","opened","closing","closed")){constructor(){super(...arguments),Ci.add(this),zi.set(this,!1),Li.set(this,!1),this.open=!1}update(e){if(super.update(e),this.classList.toggle("-no-animate",!0),!l(this,zi,"f"))return this.open&&(d(this,Li,!0,"f"),l(this,Ci,"m",Wi).call(this)),void d(this,zi,!0,"f");this.toggleAttribute("inert",!this.open),this.open?(d(this,Li,!0,"f"),this.classList.toggle("-closing",!1),this.classList.toggle("-opening",!0),this.dispatchEvent(new Event("opening")),l(this,Ci,"m",Pi).call(this),this.classList.toggle("-no-animate",!1),l(this,Ci,"m",Ti).call(this),Si()?(this.classList.toggle("-opening",!1),this.dispatchEvent(new Event("opened"))):this.addEventListener("transitionend",()=>{this.open&&(l(this,Ci,"m",Wi).call(this),this.classList.toggle("-opening",!1),this.dispatchEvent(new Event("opened")))},{once:!0})):(this.classList.toggle("-opening",!1),this.classList.toggle("-closing",!0),this.dispatchEvent(new Event("closing")),l(this,Ci,"m",Ti).call(this),l(this,Li,"f")&&this.classList.toggle("-no-animate",!1),Si()?(l(this,Ci,"m",Pi).call(this),this.classList.toggle("-closing",!1),this.dispatchEvent(new Event("closed"))):requestAnimationFrame(()=>{l(this,Ci,"m",Pi).call(this),this.addEventListener("transitionend",()=>{this.open||(this.classList.toggle("-closing",!1),this.dispatchEvent(new Event("closed")))},{once:!0})}))}render(){return r`<slot @slotchange="${l(this,Ci,"m",Mi)}"></slot>`}};zi=new WeakMap,Li=new WeakMap,Ci=new WeakSet,Mi=function(){d(this,zi,!0,"f")},Wi=function(){this.style.height="auto"},Pi=function(){this.style.height=""},Ti=function(){this.style.height=`${this.scrollHeight}px`},Fi.styles=a`
70
70
  :host {
71
71
  display: block;
72
72
  height: 0px;
73
73
  overflow: hidden;
74
- transition: ${i(`visibility var(--m3e-collapsible-animation-duration, ${jt.motion.duration.medium1})\n ${jt.motion.easing.standard},\n height var(--m3e-collapsible-animation-duration, ${jt.motion.duration.medium1})\n ${jt.motion.easing.standard},\n padding-top var(--m3e-collapsible-animation-duration, ${jt.motion.duration.medium1})\n ${jt.motion.easing.standard},\n padding-bottom var(--m3e-collapsible-animation-duration, ${jt.motion.duration.medium1})\n ${jt.motion.easing.standard}`)};
74
+ transition: ${i(`visibility var(--m3e-collapsible-animation-duration, ${Kt.motion.duration.medium1})\n ${Kt.motion.easing.standard},\n height var(--m3e-collapsible-animation-duration, ${Kt.motion.duration.medium1})\n ${Kt.motion.easing.standard},\n padding-top var(--m3e-collapsible-animation-duration, ${Kt.motion.duration.medium1})\n ${Kt.motion.easing.standard},\n padding-bottom var(--m3e-collapsible-animation-duration, ${Kt.motion.duration.medium1})\n ${Kt.motion.easing.standard}`)};
75
75
  }
76
76
  :host(:not(.-closing):not([open])) {
77
77
  visibility: hidden;
@@ -95,7 +95,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
95
95
  transition: none;
96
96
  }
97
97
  }
98
- `,n([pt({type:Boolean,reflect:!0})],Fi.prototype,"open",void 0),Fi=n([Ne("m3e-collapsible")],Fi);const Hi=i(`var(--m3e-elevation-lift-duration, ${jt.motion.duration.short4})`),Ti=i(`var(--m3e-elevation-lift-easing, ${jt.motion.easing.standard})`),Di=i(`var(--m3e-elevation-settle-duration, ${jt.motion.duration.short3})`),Oi=i(`var(--m3e-elevation-settle-easing, ${jt.motion.easing.standardAccelerate})`),Ui=i(`var(--m3e-elevation-level, ${jt.elevation.level0})`),Ii=i(`var(--m3e-elevation-hover-level, ${jt.elevation.level0})`),Bi=i(`var(--m3e-elevation-focus-level, ${jt.elevation.level0})`),Ni=i(`var(--m3e-elevation-pressed-level, ${jt.elevation.level0})`);var Ri,qi,Vi,ji,Ki,Zi,Gi;let Ji=class extends(Es(bi(o,"none"))){constructor(){super(...arguments),Ri.add(this),qi.set(this,new _e(this,{target:null,callback:e=>l(this,Ri,"m",Ki).call(this,e)})),Vi.set(this,new ke(this,{target:null,callback:e=>l(this,Ri,"m",Zi).call(this,e)})),ji.set(this,new ze(this,{target:null,callback:e=>l(this,Ri,"m",Gi).call(this,e)})),this.disabled=!1,this.level=null}attach(e){super.attach(e),l(this,qi,"f").observe(e),l(this,Vi,"f").observe(e),l(this,ji,"f").observe(e)}detach(){this.control&&(l(this,qi,"f").unobserve(this.control),l(this,Vi,"f").unobserve(this.control),l(this,ji,"f").unobserve(this.control)),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._shadow?.classList.toggle("hover",!1),this._shadow?.classList.toggle("focus",!1),this._shadow?.classList.toggle("pressed",!1),this._shadow?.classList.toggle("resting",!1)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&(this._shadow?.classList.toggle("hover",!1),this._shadow?.classList.toggle("focus",!1),this._shadow?.classList.toggle("pressed",!1),this._shadow?.classList.toggle("resting",!0))}render(){return r`<div class="shadow"></div>`}};qi=new WeakMap,Vi=new WeakMap,ji=new WeakMap,Ri=new WeakSet,Ki=function(e){this.disabled||(this._shadow?.classList.toggle("hover",e),this._shadow?.classList.toggle("resting",!e))},Zi=function(e){this.disabled||this._shadow?.classList.toggle("focus",e)},Gi=function(e){this.disabled||this._shadow?.classList.toggle("pressed",e)},Ji.styles=a`
98
+ `,n([mt({type:Boolean,reflect:!0})],Fi.prototype,"open",void 0),Fi=n([Be("m3e-collapsible")],Fi);const Hi=i(`var(--m3e-elevation-lift-duration, ${Kt.motion.duration.short4})`),Di=i(`var(--m3e-elevation-lift-easing, ${Kt.motion.easing.standard})`),Oi=i(`var(--m3e-elevation-settle-duration, ${Kt.motion.duration.short3})`),Ui=i(`var(--m3e-elevation-settle-easing, ${Kt.motion.easing.standardAccelerate})`),Ni=i(`var(--m3e-elevation-level, ${Kt.elevation.level0})`),Ii=i(`var(--m3e-elevation-hover-level, ${Kt.elevation.level0})`),Ri=i(`var(--m3e-elevation-focus-level, ${Kt.elevation.level0})`),Bi=i(`var(--m3e-elevation-pressed-level, ${Kt.elevation.level0})`);var qi,Vi,ji,Ki,Xi,Zi,Gi;let Ji=class extends(Ss(xi(o,"none"))){constructor(){super(...arguments),qi.add(this),Vi.set(this,new Ee(this,{target:null,callback:e=>l(this,qi,"m",Xi).call(this,e)})),ji.set(this,new _e(this,{target:null,callback:e=>l(this,qi,"m",Zi).call(this,e)})),Ki.set(this,new ze(this,{target:null,callback:e=>l(this,qi,"m",Gi).call(this,e)})),this.disabled=!1,this.level=null}attach(e){super.attach(e),l(this,Vi,"f").observe(e),l(this,ji,"f").observe(e),l(this,Ki,"f").observe(e)}detach(){this.control&&(l(this,Vi,"f").unobserve(this.control),l(this,ji,"f").unobserve(this.control),l(this,Ki,"f").unobserve(this.control)),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._shadow?.classList.toggle("hover",!1),this._shadow?.classList.toggle("focus",!1),this._shadow?.classList.toggle("pressed",!1),this._shadow?.classList.toggle("resting",!1)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&(this._shadow?.classList.toggle("hover",!1),this._shadow?.classList.toggle("focus",!1),this._shadow?.classList.toggle("pressed",!1),this._shadow?.classList.toggle("resting",!0))}render(){return r`<div class="shadow"></div>`}};Vi=new WeakMap,ji=new WeakMap,Ki=new WeakMap,qi=new WeakSet,Xi=function(e){this.disabled||(this._shadow?.classList.toggle("hover",e),this._shadow?.classList.toggle("resting",!e))},Zi=function(e){this.disabled||this._shadow?.classList.toggle("focus",e)},Gi=function(e){this.disabled||this._shadow?.classList.toggle("pressed",e)},Ji.styles=a`
99
99
  :host {
100
100
  display: block;
101
101
  }
@@ -113,51 +113,51 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
113
113
  .shadow.focus,
114
114
  .shadow.pressed {
115
115
  will-change: box-shadow;
116
- transition: ${i(`box-shadow ${Di} ${Oi};`)};
116
+ transition: ${i(`box-shadow ${Oi} ${Ui};`)};
117
117
  }
118
118
  .shadow.hover {
119
119
  will-change: box-shadow;
120
- transition: ${i(`box-shadow ${Hi} ${Ti};`)};
120
+ transition: ${i(`box-shadow ${Hi} ${Di};`)};
121
121
  }
122
122
  .shadow {
123
- box-shadow: ${Ui};
123
+ box-shadow: ${Ni};
124
124
  }
125
125
  .shadow.focus {
126
- box-shadow: ${Bi};
126
+ box-shadow: ${Ri};
127
127
  }
128
128
  .shadow.hover {
129
129
  box-shadow: ${Ii};
130
130
  }
131
131
  .shadow.pressed {
132
- box-shadow: ${Ni};
132
+ box-shadow: ${Bi};
133
133
  }
134
134
  :host([level="0"]) .shadow {
135
- --m3e-elevation-level: ${jt.elevation.level0};
136
- --m3e-elevation-hover-level: ${jt.elevation.level1};
135
+ --m3e-elevation-level: ${Kt.elevation.level0};
136
+ --m3e-elevation-hover-level: ${Kt.elevation.level1};
137
137
  }
138
138
  :host([level="1"]) .shadow {
139
- --m3e-elevation-level: ${jt.elevation.level1};
140
- --m3e-elevation-hover-level: ${jt.elevation.level2};
139
+ --m3e-elevation-level: ${Kt.elevation.level1};
140
+ --m3e-elevation-hover-level: ${Kt.elevation.level2};
141
141
  }
142
142
  :host([level="2"]) .shadow {
143
- --m3e-elevation-level: ${jt.elevation.level2};
144
- --m3e-elevation-hover-level: ${jt.elevation.level3};
143
+ --m3e-elevation-level: ${Kt.elevation.level2};
144
+ --m3e-elevation-hover-level: ${Kt.elevation.level3};
145
145
  }
146
146
  :host([level="3"]) .shadow {
147
- --m3e-elevation-level: ${jt.elevation.level3};
148
- --m3e-elevation-hover-level: ${jt.elevation.level4};
147
+ --m3e-elevation-level: ${Kt.elevation.level3};
148
+ --m3e-elevation-hover-level: ${Kt.elevation.level4};
149
149
  }
150
150
  :host([level="4"]) .shadow {
151
- --m3e-elevation-level: ${jt.elevation.level4};
152
- --m3e-elevation-hover-level: ${jt.elevation.level5};
151
+ --m3e-elevation-level: ${Kt.elevation.level4};
152
+ --m3e-elevation-hover-level: ${Kt.elevation.level5};
153
153
  }
154
154
  :host([level="5"]) .shadow {
155
- --m3e-elevation-level: ${jt.elevation.level5};
156
- --m3e-elevation-hover-level: ${Ui};
155
+ --m3e-elevation-level: ${Kt.elevation.level5};
156
+ --m3e-elevation-hover-level: ${Ni};
157
157
  }
158
158
  :host([level]) .shadow {
159
- --m3e-elevation-focus-level: ${Ui};
160
- --m3e-elevation-pressed-level: ${Ui};
159
+ --m3e-elevation-focus-level: ${Ni};
160
+ --m3e-elevation-pressed-level: ${Ni};
161
161
  }
162
162
  @media (prefers-reduced-motion) {
163
163
  .shadow.resting,
@@ -172,7 +172,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
172
172
  display: none;
173
173
  }
174
174
  }
175
- `,n([ut(".shadow")],Ji.prototype,"_shadow",void 0),n([pt({type:Boolean,reflect:!0})],Ji.prototype,"disabled",void 0),n([pt({type:Number,reflect:!0})],Ji.prototype,"level",void 0),Ji=n([Ne("m3e-elevation")],Ji);const Xi=i(`var(--m3e-focus-ring-color, ${jt.color.secondary})`),Yi=i(`var(--m3e-focus-ring-duration, ${jt.motion.duration.long2})`),Qi=i("var(--m3e-focus-ring-thickness, 0.1875rem)"),er=i("var(--m3e-focus-ring-visibility, visible)"),tr=i("var(--m3e-focus-ring-growth-factor, 2)");var sr,ir,rr;let ar=class extends(Es(bi(o,"none"))){constructor(){super(...arguments),sr.add(this),ir.set(this,new ke(this,{target:null,callback:(e,t)=>l(this,sr,"m",rr).call(this,t)})),this.inward=!1,this.disabled=!1}show(){this._outline?.classList.toggle("visible",!0)}hide(){this._outline?.classList.toggle("visible",!1)}attach(e){super.attach(e),l(this,ir,"f").observe(e)}detach(){this.control&&l(this,ir,"f").unobserve(this.control),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.hide()}render(){return r`<div class="outline"></div>`}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.hide()}};ir=new WeakMap,sr=new WeakSet,rr=function(e){this.disabled||(e?this.show():this.hide())},ar.styles=a`
175
+ `,n([vt(".shadow")],Ji.prototype,"_shadow",void 0),n([mt({type:Boolean,reflect:!0})],Ji.prototype,"disabled",void 0),n([mt({type:Number,reflect:!0})],Ji.prototype,"level",void 0),Ji=n([Be("m3e-elevation")],Ji);const Yi=i(`var(--m3e-focus-ring-color, ${Kt.color.secondary})`),Qi=i(`var(--m3e-focus-ring-duration, ${Kt.motion.duration.long2})`),er=i("var(--m3e-focus-ring-thickness, 0.1875rem)"),tr=i("var(--m3e-focus-ring-visibility, visible)"),sr=i("var(--m3e-focus-ring-growth-factor, 2)");var ir,rr,ar;let or=class extends(Ss(xi(o,"none"))){constructor(){super(...arguments),ir.add(this),rr.set(this,new _e(this,{target:null,callback:(e,t)=>l(this,ir,"m",ar).call(this,t)})),this.inward=!1,this.disabled=!1}show(){this._outline?.classList.toggle("visible",!0)}hide(){this._outline?.classList.toggle("visible",!1)}attach(e){super.attach(e),l(this,rr,"f").observe(e)}detach(){this.control&&l(this,rr,"f").unobserve(this.control),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.hide()}render(){return r`<div class="outline"></div>`}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.hide()}};rr=new WeakMap,ir=new WeakSet,ar=function(e){this.disabled||(e?this.show():this.hide())},or.styles=a`
176
176
  :host {
177
177
  display: block;
178
178
  position: absolute;
@@ -193,34 +193,34 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
193
193
  pointer-events: none;
194
194
  border-radius: inherit;
195
195
  z-index: 1;
196
- outline-color: ${Xi};
197
- outline-width: ${Qi};
198
- visibility: ${er};
196
+ outline-color: ${Yi};
197
+ outline-width: ${er};
198
+ visibility: ${tr};
199
199
  }
200
200
  .outline.visible {
201
201
  outline-style: solid;
202
202
  }
203
203
  :host(:not([inward])) .outline {
204
- outline-offset: calc(${Qi} / ${tr});
204
+ outline-offset: calc(${er} / ${sr});
205
205
  }
206
206
  :host([inward]) .outline {
207
- outline-offset: calc(0px - ${Qi});
207
+ outline-offset: calc(0px - ${er});
208
208
  }
209
209
  :host(:not([inward])) .outline.visible {
210
- animation: grow-shrink ${Yi};
210
+ animation: grow-shrink ${Qi};
211
211
  }
212
212
  :host([inward]) .outline.visible {
213
- animation: shrink-grow ${Yi};
213
+ animation: shrink-grow ${Qi};
214
214
  }
215
215
  @keyframes grow-shrink {
216
216
  50% {
217
- outline-width: calc(${Qi} * ${tr});
217
+ outline-width: calc(${er} * ${sr});
218
218
  }
219
219
  }
220
220
  @keyframes shrink-grow {
221
221
  50% {
222
- outline-offset: calc(0px - calc(${Qi} * ${tr}));
223
- outline-width: calc(${Qi} * ${tr});
222
+ outline-offset: calc(0px - calc(${er} * ${sr}));
223
+ outline-width: calc(${er} * ${sr});
224
224
  }
225
225
  }
226
226
  @media (prefers-reduced-motion) {
@@ -234,11 +234,11 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
234
234
  outline-color: Highlight;
235
235
  }
236
236
  }
237
- `,n([ut(".outline")],ar.prototype,"_outline",void 0),n([pt({type:Boolean,reflect:!0})],ar.prototype,"inward",void 0),n([pt({type:Boolean,reflect:!0})],ar.prototype,"disabled",void 0),ar=n([Ne("m3e-focus-ring")],ar);let or=class extends(gt(Zt(bi(o,"none")))){connectedCallback(){super.connectedCallback(),this.ariaHidden="true"}render(){return this.indeterminate?r`<svg viewBox="0 -960 960 960" fill="currentColor">
237
+ `,n([vt(".outline")],or.prototype,"_outline",void 0),n([mt({type:Boolean,reflect:!0})],or.prototype,"inward",void 0),n([mt({type:Boolean,reflect:!0})],or.prototype,"disabled",void 0),or=n([Be("m3e-focus-ring")],or);let nr=class extends(bt(Zt(xi(o,"none")))){connectedCallback(){super.connectedCallback(),this.ariaHidden="true"}render(){return this.indeterminate?r`<svg viewBox="0 -960 960 960" fill="currentColor">
238
238
  <path Required d="M240-440v-80h480v80H240Z" />
239
239
  </svg>`:this.checked?r`<svg viewBox="0 -960 960 960" fill="currentColor">
240
240
  <path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" />
241
- </svg>`:t}};or.styles=a`
241
+ </svg>`:t}};nr.styles=a`
242
242
  :host {
243
243
  display: inline-block;
244
244
  vertical-align: middle;
@@ -254,16 +254,16 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
254
254
  }
255
255
  :host(:not([disabled])[checked]),
256
256
  :host(:not([disabled])[indeterminate]) {
257
- background-color: var(--m3e-checkbox-selected-container-color, ${jt.color.primary});
258
- color: var(--m3e-checkbox-selected-icon-color, ${jt.color.onPrimary});
257
+ background-color: var(--m3e-checkbox-selected-container-color, ${Kt.color.primary});
258
+ color: var(--m3e-checkbox-selected-icon-color, ${Kt.color.onPrimary});
259
259
  }
260
260
  :host(:not([disabled]):not([checked]):not([indeterminate])) {
261
- border-color: var(--m3e-checkbox-unselected-outline-color, ${jt.color.onSurfaceVariant});
261
+ border-color: var(--m3e-checkbox-unselected-outline-color, ${Kt.color.onSurfaceVariant});
262
262
  }
263
263
  :host([disabled]:not([checked]):not([indeterminate])) {
264
264
  border-color: color-mix(
265
265
  in srgb,
266
- var(--m3e-checkbox-unselected-disabled-outline-color, ${jt.color.onSurface})
266
+ var(--m3e-checkbox-unselected-disabled-outline-color, ${Kt.color.onSurface})
267
267
  var(--m3e-checkbox-unselected-disabled-outline-opacity, 38%),
268
268
  transparent
269
269
  );
@@ -272,25 +272,25 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
272
272
  :host([disabled][indeterminate]) {
273
273
  background-color: color-mix(
274
274
  in srgb,
275
- var(--m3e-checkbox-selected-disabled-container-color, ${jt.color.onSurface})
275
+ var(--m3e-checkbox-selected-disabled-container-color, ${Kt.color.onSurface})
276
276
  var(--m3e-checkbox-selected-disabled-container-opacity, 38%),
277
277
  transparent
278
278
  );
279
279
  color: color-mix(
280
280
  in srgb,
281
- var(--m3e-checkbox-selected-disabled-icon-color, ${jt.color.surface})
281
+ var(--m3e-checkbox-selected-disabled-icon-color, ${Kt.color.surface})
282
282
  var(--m3e-checkbox-selected-disabled-icon-opacity, 100%),
283
283
  transparent
284
284
  );
285
285
  }
286
- `,or=n([Ne("m3e-pseudo-checkbox")],or);let nr=class extends(ft(Zt(bi(o,"none")))){connectedCallback(){super.connectedCallback(),this.ariaHidden="true"}render(){return r`<svg class="icon" viewBox="0 0 20 20">
286
+ `,nr=n([Be("m3e-pseudo-checkbox")],nr);let lr=class extends(yt(Zt(xi(o,"none")))){connectedCallback(){super.connectedCallback(),this.ariaHidden="true"}render(){return r`<svg class="icon" viewBox="0 0 20 20">
287
287
  <mask id="cutout2">
288
288
  <rect width="100%" height="100%" fill="white"></rect>
289
289
  <circle cx="10" cy="10" r="8" fill="black"></circle>
290
290
  </mask>
291
291
  <circle class="outer circle" cx="10" cy="10" r="10" mask="url(#cutout2)"></circle>
292
292
  <circle class="inner circle" cx="10" cy="10" r="5"></circle>
293
- </svg>`}};nr.styles=a`
293
+ </svg>`}};lr.styles=a`
294
294
  :host {
295
295
  display: inline-block;
296
296
  vertical-align: middle;
@@ -306,15 +306,15 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
306
306
  opacity: 0;
307
307
  }
308
308
  :host(:not([checked])) {
309
- color: var(--m3e-radio-unselected-icon-color, ${jt.color.onSurfaceVariant});
309
+ color: var(--m3e-radio-unselected-icon-color, ${Kt.color.onSurfaceVariant});
310
310
  }
311
311
  :host([checked]) {
312
- color: var(--m3e-radio-selected-icon-color, ${jt.color.primary});
312
+ color: var(--m3e-radio-selected-icon-color, ${Kt.color.primary});
313
313
  }
314
314
  :host([disabled]) {
315
- color: color-mix(in srgb, var(--m3e-radio-disabled-icon-color, ${jt.color.onSurface}) 38%, transparent);
315
+ color: color-mix(in srgb, var(--m3e-radio-disabled-icon-color, ${Kt.color.onSurface}) 38%, transparent);
316
316
  }
317
- `,nr=n([Ne("m3e-pseudo-radio")],nr);const lr=i(`var(--m3e-ripple-color, ${jt.color.onSurface})`),dr=i(`var(--m3e-ripple-opacity, ${jt.state.pressedStateLayerOpacity})`),cr=i(`var(--m3e-ripple-enter-duration, ${jt.motion.duration.long4})`),hr=i(`var(--m3e-ripple-exit-duration, ${jt.motion.duration.short2})`),pr=i("var(--m3e-ripple-scale-factor, 2.5)");var mr,ur,vr,fr,yr,gr;let br=class extends(Es(bi(o,"none"))){constructor(){super(...arguments),mr.add(this),ur.set(this,null),vr.set(this,new ze(this,{target:null,isPressedKey:e=>" "===e||!this.disableEnter&&"Enter"===e,callback:(e,{x:t,y:s})=>l(this,mr,"m",gr).call(this,e,t,s)})),this.disabled=!1,this.disableEnter=!1,this.centered=!1,this.unbounded=!1,this.radius=null,this.trigger=null}get visible(){return null!==l(this,ur,"f")}show(e,t,s=!1){l(this,mr,"m",fr).call(this);const i=this.getBoundingClientRect();this.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);let r=this.radius;if(!r||isNaN(r)){const s=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),a=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));r=Math.sqrt(s*s+a*a)}const a=e-i.left,o=t-i.top;d(this,ur,document.createElement("div"),"f"),l(this,ur,"f").classList.add("ripple"),s&&l(this,ur,"f").classList.add("persistent"),l(this,ur,"f").style.left=a-r+"px",l(this,ur,"f").style.top=o-r+"px",l(this,ur,"f").style.width=2*r+"px",l(this,ur,"f").style.height=2*r+"px",l(this,ur,"f").addEventListener("animationend",()=>l(this,mr,"m",yr).call(this,s),{once:!0}),l(this,ur,"f").addEventListener("transitionend",()=>l(this,mr,"m",fr).call(this),{once:!0}),this.shadowRoot?.appendChild(l(this,ur,"f"))}hide(){l(this,ur,"f")?.classList.add("exit")}attach(e){super.attach(e),l(this,vr,"f").observe(e)}detach(){this.control&&l(this,vr,"f").unobserve(this.control),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),l(this,mr,"m",fr).call(this)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.hide()}};var xr;ur=new WeakMap,vr=new WeakMap,mr=new WeakSet,fr=function(){l(this,ur,"f")?.remove(),d(this,ur,null,"f")},yr=function(e){e?l(this,ur,"f")?.classList.add("pressed"):this.hide()},gr=function(e,t,s){this.disabled||(e?this.show(t,s,!0):this.hide())},br.styles=a`
317
+ `,lr=n([Be("m3e-pseudo-radio")],lr);const dr=i(`var(--m3e-ripple-color, ${Kt.color.onSurface})`),hr=i(`var(--m3e-ripple-opacity, ${Kt.state.pressedStateLayerOpacity})`),cr=i(`var(--m3e-ripple-enter-duration, ${Kt.motion.duration.long4})`),pr=i(`var(--m3e-ripple-exit-duration, ${Kt.motion.duration.short2})`),mr=i("var(--m3e-ripple-scale-factor, 2.5)");var ur,vr,fr,yr,gr,br;let xr=class extends(Ss(xi(o,"none"))){constructor(){super(...arguments),ur.add(this),vr.set(this,null),fr.set(this,new ze(this,{target:null,minPressedDuration:150,isPressedKey:e=>" "===e||!this.disableEnter&&"Enter"===e,callback:(e,{x:t,y:s})=>l(this,ur,"m",br).call(this,e,t,s)})),this.disabled=!1,this.disableEnter=!1,this.centered=!1,this.unbounded=!1,this.radius=null,this.trigger=null}get visible(){return null!==l(this,vr,"f")}show(e,t,s=!1){l(this,ur,"m",yr).call(this);const i=this.getBoundingClientRect();this.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);let r=this.radius;if(!r||isNaN(r)){const s=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),a=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));r=Math.sqrt(s*s+a*a)}const a=e-i.left,o=t-i.top;d(this,vr,document.createElement("div"),"f"),l(this,vr,"f").classList.add("ripple"),s&&l(this,vr,"f").classList.add("persistent"),l(this,vr,"f").style.left=a-r+"px",l(this,vr,"f").style.top=o-r+"px",l(this,vr,"f").style.width=2*r+"px",l(this,vr,"f").style.height=2*r+"px",l(this,vr,"f").addEventListener("animationend",()=>l(this,ur,"m",gr).call(this,s),{once:!0}),l(this,vr,"f").addEventListener("transitionend",()=>l(this,ur,"m",yr).call(this),{once:!0}),this.shadowRoot?.appendChild(l(this,vr,"f"))}hide(){l(this,vr,"f")?.classList.add("exit")}attach(e){super.attach(e),l(this,fr,"f").observe(e)}detach(){this.control&&l(this,fr,"f").unobserve(this.control),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),l(this,ur,"m",yr).call(this)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.hide()}};var wr;vr=new WeakMap,fr=new WeakMap,ur=new WeakSet,yr=function(){l(this,vr,"f")?.remove(),d(this,vr,null,"f")},gr=function(e){e?l(this,vr,"f")?.classList.add("pressed"):this.hide()},br=function(e,t,s){this.disabled||(e?this.show(t,s,!0):this.hide())},xr.styles=a`
318
318
  :host {
319
319
  display: block;
320
320
  position: absolute;
@@ -337,8 +337,8 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
337
337
  bottom: 0;
338
338
  pointer-events: none;
339
339
  transform: scale(0);
340
- border-radius: ${jt.shape.corner.full};
341
- background-color: color-mix(in srgb, ${lr} ${dr}, transparent);
340
+ border-radius: ${Kt.shape.corner.full};
341
+ background-color: color-mix(in srgb, ${dr} ${hr}, transparent);
342
342
  will-change: background-color, opacity;
343
343
  }
344
344
  .ripple:not(.persistent) {
@@ -348,25 +348,25 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
348
348
  animation: persistent-ripple ${cr} linear;
349
349
  }
350
350
  .ripple.persistent.pressed {
351
- transform: scale(${pr});
351
+ transform: scale(${mr});
352
352
  }
353
353
  .ripple.exit {
354
- transition: opacity ${hr} cubic-bezier(0, 0, 0.2, 0.1);
354
+ transition: opacity ${pr} cubic-bezier(0, 0, 0.2, 0.1);
355
355
  opacity: 0;
356
356
  }
357
357
  @keyframes persistent-ripple {
358
358
  to {
359
- transform: scale(${pr});
359
+ transform: scale(${mr});
360
360
  }
361
361
  }
362
362
  @keyframes ripple {
363
363
  to {
364
- transform: scale(${pr});
364
+ transform: scale(${mr});
365
365
  }
366
366
  }
367
367
  @media (prefers-reduced-motion) {
368
368
  .ripple {
369
- transform: scale(${pr});
369
+ transform: scale(${mr});
370
370
  }
371
371
  .ripple:not(.persistent),
372
372
  .ripple.persistent {
@@ -381,34 +381,34 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
381
381
  display: none;
382
382
  }
383
383
  }
384
- `,n([pt({type:Boolean,reflect:!0})],br.prototype,"disabled",void 0),n([pt({attribute:"disable-enter",type:Boolean,reflect:!0})],br.prototype,"disableEnter",void 0),n([pt({type:Boolean,reflect:!0})],br.prototype,"centered",void 0),n([pt({type:Boolean,reflect:!0})],br.prototype,"unbounded",void 0),n([pt({type:Number})],br.prototype,"radius",void 0),n([pt()],br.prototype,"trigger",void 0),br=n([Ne("m3e-ripple")],br);let $r=class extends(bi(o,"none")){constructor(){super(...arguments),xr.set(this,()=>this._updateScroll()),this.dividers="above-below",this.thin=!1}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("scroll",l(this,xr,"f"))}update(e){super.update(e),e.has("dividers")&&(this.removeEventListener("scroll",l(this,xr,"f")),"none"!==this.dividers&&this.addEventListener("scroll",l(this,xr,"f")))}render(){return r`<slot @slotchange="${this._updateScroll}"></slot>`}_updateScroll(){const e=("above"===this.dividers||"above-below"===this.dividers)&&this.scrollTop>0,t=("below"===this.dividers||"above-below"===this.dividers)&&this.scrollHeight-this.scrollTop-this.clientHeight>1;this.classList.toggle("-above",e),this.classList.toggle("-below",t)}};var wr,kr;xr=new WeakMap,$r.styles=a`
384
+ `,n([mt({type:Boolean,reflect:!0})],xr.prototype,"disabled",void 0),n([mt({attribute:"disable-enter",type:Boolean,reflect:!0})],xr.prototype,"disableEnter",void 0),n([mt({type:Boolean,reflect:!0})],xr.prototype,"centered",void 0),n([mt({type:Boolean,reflect:!0})],xr.prototype,"unbounded",void 0),n([mt({type:Number})],xr.prototype,"radius",void 0),n([mt()],xr.prototype,"trigger",void 0),xr=n([Be("m3e-ripple")],xr);let $r=class extends o{constructor(){super(...arguments),wr.set(this,()=>this._updateScroll()),this.dividers="above-below",this.thin=!1}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("scroll",l(this,wr,"f"))}update(e){super.update(e),e.has("dividers")&&(this.removeEventListener("scroll",l(this,wr,"f")),"none"!==this.dividers&&this.addEventListener("scroll",l(this,wr,"f")))}render(){return r`<slot @slotchange="${this._updateScroll}"></slot>`}_updateScroll(){const e=("above"===this.dividers||"above-below"===this.dividers)&&this.scrollTop>0,t=("below"===this.dividers||"above-below"===this.dividers)&&this.scrollHeight-this.scrollTop-this.clientHeight>1;this.classList.toggle("-above",e),this.classList.toggle("-below",t)}};var kr,_r;wr=new WeakMap,$r.styles=a`
385
385
  :host {
386
386
  display: block;
387
387
  overflow-y: auto;
388
388
  position: relative;
389
389
  box-sizing: border-box;
390
- scrollbar-color: ${jt.scrollbar.color};
390
+ scrollbar-color: ${Kt.scrollbar.color};
391
391
  border-top: var(--m3e-divider-thickness, 1px) solid transparent;
392
392
  border-bottom: var(--m3e-divider-thickness, 1px) solid transparent;
393
- outline: var(--m3e-focus-ring-color, ${jt.color.secondary});
393
+ outline: var(--m3e-focus-ring-color, ${Kt.color.secondary});
394
394
  outline-width: var(--m3e-focus-ring-thickness, 0.25rem);
395
395
  outline-offset: calc(var(--m3e-focus-ring-thickness, 0.25rem) / 2);
396
396
  }
397
397
  :host([thin]) {
398
- scrollbar-width: ${jt.scrollbar.thinWidth};
398
+ scrollbar-width: ${Kt.scrollbar.thinWidth};
399
399
  }
400
400
  :host(:not([thin])) {
401
- scrollbar-width: ${jt.scrollbar.width};
401
+ scrollbar-width: ${Kt.scrollbar.width};
402
402
  }
403
403
  :host(:not(:focus-visible).-above) {
404
- border-top-color: var(--m3e-divider-color, ${jt.color.outlineVariant});
404
+ border-top-color: var(--m3e-divider-color, ${Kt.color.outlineVariant});
405
405
  }
406
406
  :host(:not(:focus-visible).-below) {
407
- border-bottom-color: var(--m3e-divider-color, ${jt.color.outlineVariant});
407
+ border-bottom-color: var(--m3e-divider-color, ${Kt.color.outlineVariant});
408
408
  }
409
409
  :host(:focus-visible) {
410
410
  outline-style: solid;
411
- animation: grow-shrink var(--m3e-focus-ring-duration, ${jt.motion.duration.long2});
411
+ animation: grow-shrink var(--m3e-focus-ring-duration, ${Kt.motion.duration.long2});
412
412
  }
413
413
  @keyframes grow-shrink {
414
414
  50% {
@@ -432,7 +432,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
432
432
  animation: none;
433
433
  }
434
434
  }
435
- `,n([pt()],$r.prototype,"dividers",void 0),n([pt({type:Boolean,reflect:!0})],$r.prototype,"thin",void 0),n([Le(40)],$r.prototype,"_updateScroll",null),$r=n([Ne("m3e-scroll-container")],$r);let _r=class extends(bi(o,"none")){constructor(){super(...arguments),wr.add(this),this.selectedIndex=null}connectedCallback(){super.connectedCallback(),this.classList.toggle("-no-animate",!0)}update(e){super.update(e),e.has("selectedIndex")&&(null===this.selectedIndex&&this.classList.toggle("-no-animate",!0),l(this,wr,"m",kr).call(this),null!==this.selectedIndex&&this.classList.contains("-no-animate")&&requestAnimationFrame(()=>{null!==this.selectedIndex&&this.classList.toggle("-no-animate",!1)}))}render(){return r`<slot @slotchange="${l(this,wr,"m",kr)}"></slot>`}};wr=new WeakSet,kr=function(){const e=this.selectedIndex??this._items.length;for(let t=0;t<this._items.length;t++){const s=this._items[t];s.classList.toggle("-before",t<e),s.classList.toggle("-after",t>e),s.toggleAttribute("inert",t!==e)}},_r.styles=a`
435
+ `,n([mt()],$r.prototype,"dividers",void 0),n([mt({type:Boolean,reflect:!0})],$r.prototype,"thin",void 0),n([Me(40)],$r.prototype,"_updateScroll",null),$r=n([Be("m3e-scroll-container")],$r);let Er=class extends o{constructor(){super(...arguments),kr.add(this),this.selectedIndex=null}connectedCallback(){super.connectedCallback(),this.classList.toggle("-no-animate",!0)}update(e){super.update(e),e.has("selectedIndex")&&(null===this.selectedIndex&&this.classList.toggle("-no-animate",!0),l(this,kr,"m",_r).call(this),null!==this.selectedIndex&&this.classList.contains("-no-animate")&&requestAnimationFrame(()=>{null!==this.selectedIndex&&this.classList.toggle("-no-animate",!1)}))}render(){return r`<slot @slotchange="${l(this,kr,"m",_r)}"></slot>`}};kr=new WeakSet,_r=function(){const e=this.selectedIndex??this._items.length;for(let t=0;t<this._items.length;t++){const s=this._items[t];s.classList.toggle("-before",t<e),s.classList.toggle("-after",t>e),s.toggleAttribute("inert",t!==e)}},Er.styles=a`
436
436
  :host {
437
437
  display: flex;
438
438
  position: relative;
@@ -441,7 +441,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
441
441
  ::slotted(*) {
442
442
  width: 100%;
443
443
  top: 0;
444
- transition: ${i(`left var(--m3e-slide-animation-duration, ${jt.motion.duration.long2}) ${jt.motion.easing.standard},\n visibility var(--m3e-slide-animation-duration, ${jt.motion.duration.long2}) ${jt.motion.easing.standard} allow-discrete`)};
444
+ transition: ${i(`left var(--m3e-slide-animation-duration, ${Kt.motion.duration.long2}) ${Kt.motion.easing.standard},\n visibility var(--m3e-slide-animation-duration, ${Kt.motion.duration.long2}) ${Kt.motion.easing.standard} allow-discrete`)};
445
445
  }
446
446
  ::slotted(.-before),
447
447
  ::slotted(.-after) {
@@ -467,7 +467,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
467
467
  transition: none;
468
468
  }
469
469
  }
470
- `,n([function(e){return(t,s)=>{const{slot:i,selector:r}=e??{},a="slot"+(i?`[name=${i}]`:":not([name])");return mt(t,s,{get(){const t=this.renderRoot?.querySelector(a),s=t?.assignedElements(e)??[];return void 0===r?s:s.filter(e=>e.matches(r))}})}}({flatten:!0})],_r.prototype,"_items",void 0),n([pt({attribute:"selected-index",type:Number,reflect:!0})],_r.prototype,"selectedIndex",void 0),_r=n([Ne("m3e-slide")],_r);const Er=i(`var(--m3e-state-layer-hover-color, ${jt.color.onSurface})`),Sr=i(`var(--m3e-state-layer-hover-opacity, ${jt.state.hoverStateLayerOpacity})`),Ar=i(`var(--m3e-state-layer-focus-color, ${jt.color.onSurface})`),zr=i(`var(--m3e-state-layer-focus-opacity, ${jt.state.focusStateLayerOpacity})`),Cr=i(`var(--m3e-state-layer-duration, ${jt.motion.duration.medium1})`),Lr=i(`var(--m3e-state-layer-easing, ${jt.motion.easing.standard})`);var Mr,Wr,Pr,Fr,Hr;let Tr=class extends(Es(bi(o,"none"))){constructor(){super(...arguments),Mr.add(this),Wr.set(this,new _e(this,{target:null,callback:e=>l(this,Mr,"m",Fr).call(this,e)})),Pr.set(this,new ke(this,{target:null,callback:e=>l(this,Mr,"m",Hr).call(this,e)})),this.disabled=!1}show(e){this._layer?.classList.toggle(e,!0)}hide(e){this._layer?.classList.toggle(e,!1)}attach(e){super.attach(e),l(this,Wr,"f").observe(e),l(this,Pr,"f").observe(e)}detach(){this.control&&(l(this,Wr,"f").unobserve(this.control),l(this,Pr,"f").unobserve(this.control)),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.hide("hover"),this.hide("focused")}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&(this.hide("hover"),this.hide("focused"))}render(){return r`<div class="layer"></div>`}};Wr=new WeakMap,Pr=new WeakMap,Mr=new WeakSet,Fr=function(e){this.disabled||(e?this.show("hover"):this.hide("hover"))},Hr=function(e){this.disabled||(e?this.show("focused"):this.hide("focused"))},Tr.styles=a`
470
+ `,n([function(e){return(t,s)=>{const{slot:i,selector:r}=e??{},a="slot"+(i?`[name=${i}]`:":not([name])");return ut(t,s,{get(){const t=this.renderRoot?.querySelector(a),s=t?.assignedElements(e)??[];return void 0===r?s:s.filter(e=>e.matches(r))}})}}({flatten:!0})],Er.prototype,"_items",void 0),n([mt({attribute:"selected-index",type:Number,reflect:!0})],Er.prototype,"selectedIndex",void 0),Er=n([Be("m3e-slide")],Er);const Sr=i(`var(--m3e-state-layer-hover-color, ${Kt.color.onSurface})`),Ar=i(`var(--m3e-state-layer-hover-opacity, ${Kt.state.hoverStateLayerOpacity})`),Cr=i(`var(--m3e-state-layer-focus-color, ${Kt.color.onSurface})`),zr=i(`var(--m3e-state-layer-focus-opacity, ${Kt.state.focusStateLayerOpacity})`),Lr=i(`var(--m3e-state-layer-duration, ${Kt.motion.duration.medium1})`),Mr=i(`var(--m3e-state-layer-easing, ${Kt.motion.easing.standard})`);var Wr,Pr,Tr,Fr,Hr;let Dr=class extends(Ss(xi(o,"none"))){constructor(){super(...arguments),Wr.add(this),Pr.set(this,new Ee(this,{target:null,callback:e=>l(this,Wr,"m",Fr).call(this,e)})),Tr.set(this,new _e(this,{target:null,callback:e=>l(this,Wr,"m",Hr).call(this,e)})),this.disabled=!1}show(e){this._layer?.classList.toggle(e,!0)}hide(e){this._layer?.classList.toggle(e,!1)}attach(e){super.attach(e),l(this,Pr,"f").observe(e),l(this,Tr,"f").observe(e)}detach(){this.control&&(l(this,Pr,"f").unobserve(this.control),l(this,Tr,"f").unobserve(this.control)),super.detach()}connectedCallback(){this.ariaHidden="true",super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.hide("hover"),this.hide("focused")}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&(this.hide("hover"),this.hide("focused"))}render(){return r`<div class="layer"></div>`}};Pr=new WeakMap,Tr=new WeakMap,Wr=new WeakSet,Fr=function(e){this.disabled||(e?this.show("hover"):this.hide("hover"))},Hr=function(e){this.disabled||(e?this.show("focused"):this.hide("focused"))},Dr.styles=a`
471
471
  :host {
472
472
  display: block;
473
473
  }
@@ -483,13 +483,13 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
483
483
  }
484
484
  .layer {
485
485
  will-change: background-color;
486
- transition: ${i(`background-color ${Cr} ${Lr}`)};
486
+ transition: ${i(`background-color ${Lr} ${Mr}`)};
487
487
  }
488
488
  .layer.focused {
489
- background-color: color-mix(in srgb, ${Ar} ${zr}, transparent);
489
+ background-color: color-mix(in srgb, ${Cr} ${zr}, transparent);
490
490
  }
491
491
  .layer.hover {
492
- background-color: color-mix(in srgb, ${Er} ${Sr}, transparent);
492
+ background-color: color-mix(in srgb, ${Sr} ${Ar}, transparent);
493
493
  }
494
494
  @media (prefers-reduced-motion) {
495
495
  .layer {
@@ -501,7 +501,7 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
501
501
  display: none;
502
502
  }
503
503
  }
504
- `,n([ut(".layer")],Tr.prototype,"_layer",void 0),n([pt({type:Boolean,reflect:!0})],Tr.prototype,"disabled",void 0),Tr=n([Ne("m3e-state-layer")],Tr);let Dr=class extends o{render(){return r`<span class="base"><slot></slot></span>`}};Dr.styles=a`
504
+ `,n([vt(".layer")],Dr.prototype,"_layer",void 0),n([mt({type:Boolean,reflect:!0})],Dr.prototype,"disabled",void 0),Dr=n([Be("m3e-state-layer")],Dr);let Or=class extends o{render(){return r`<span class="base"><slot></slot></span>`}};var Ur,Nr,Ir,Rr,Br,qr,Vr,jr;Or.styles=a`
505
505
  :host {
506
506
  flex: 1 1 auto;
507
507
  display: inline-flex;
@@ -516,5 +516,16 @@ const li=e=>e??Ks,di=Symbol("renderPseudoLink");function ci(e){return De(e,"down
516
516
  text-overflow: ellipsis;
517
517
  white-space: nowrap;
518
518
  }
519
- `,Dr=n([Ne("m3e-text-overflow")],Dr);export{Be as AttachInternals,ft as Checked,gt as CheckedIndeterminate,vs as ConstraintValidation,jt as DesignToken,St as Dirty,Zt as Disabled,Qt as DisabledInteractive,fs as EventAttribute,ke as FocusController,gs as Focusable,cs as FormAssociated,$s as FormSubmitter,_e as HoverController,Es as HtmlFor,Ee as IntersectionController,Ss as KeyboardClick,is as Labelled,pi as LinkButton,Se as LongPressController,Fi as M3eCollapsibleElement,Ji as M3eElevationElement,ar as M3eFocusRingElement,or as M3ePseudoCheckboxElement,nr as M3ePseudoRadioElement,br as M3eRippleElement,$r as M3eScrollContainerElement,_r as M3eSlide,Tr as M3eStateLayerElement,Dr as M3eTextOverflowElement,Ae as MutationController,ze as PressedController,ui as ReadOnly,fi as Required,gi as RequiredConstraintValidation,Ce as ResizeController,bi as Role,Me as ScrollController,xt as Selected,Ct as Touched,$i as Vertical,kt as checkOrSelect,Le as debounce,as as defaultValue,rs as formValue,wi as getTextContent,ki as guid,_i as hasAssignedNodes,De as hasKeys,Oe as internals,Ue as isAttachInternalsMixin,yt as isCheckedIndeterminateMixin,vt as isCheckedMixin,wt as isCheckedOrSelected,$t as isCheckedOrSelectedMixin,ps as isConstraintValidationMixin,_t as isDirtyMixin,Gt as isDisabledInteractiveMixin,Kt as isDisabledMixin,os as isFormAssociatedMixin,bs as isFormSubmitterMixin,ws as isHtmlForMixin,es as isLabelledMixin,ci as isLinkButtonMixin,mi as isReadOnlyMixin,yi as isRequiredConstraintValidationMixin,vi as isRequiredMixin,bt as isSelectedMixin,At as isTouchedMixin,xi as isVerticalMixin,Ei as prefersReducedMotion,di as renderPseudoLink,Te as safeStyleMap,Si as scrollIntoViewIfNeeded,hs as validate};
519
+ `,Or=n([Be("m3e-text-overflow")],Or);let Kr=jr=class extends o{constructor(){super(),Ur.add(this),Nr.set(this,"m3e-text-highlight-"+jr.__nextId++),Ir.set(this,new Array),Rr.set(this,null),this.disabled=!1,this.term="",this.caseSensitive=!1,this.isSupported&&(d(this,Rr,new CSSStyleSheet,"f"),l(this,Rr,"f").replaceSync(a`
520
+ ::highlight(${i(l(this,Nr,"f"))}) {
521
+ background-color: var(--m3e-text-highlight-container-color, ${Kt.color.secondaryContainer});
522
+ color: var(--m3e-text-highlight-color, ${Kt.color.onSecondaryContainer});
523
+ text-decoration: var(--m3e-text-highlight-decoration);
524
+ text-shadow: var(--m3e-text-highlight-shadow);
525
+ }
526
+ `.toString()))}get isSupported(){return!(e||!CSS.highlights)}get ranges(){return l(this,Ir,"f")}firstUpdated(e){super.firstUpdated(e),this.shadowRoot&&l(this,Rr,"f")&&!this.shadowRoot.adoptedStyleSheets.includes(l(this,Rr,"f"))&&this.shadowRoot.adoptedStyleSheets.push(l(this,Rr,"f"))}updated(e){super.updated(e),(e.has("term")||e.has("caseSensitive")||e.has("disabled"))&&l(this,Ur,"m",Vr).call(this)}render(){return r`<slot @slotchange="${l(this,Ur,"m",Vr)}"></slot>`}};Nr=new WeakMap,Ir=new WeakMap,Rr=new WeakMap,Ur=new WeakSet,Br=function(e){return!/^(\\s|\\n)+$/gi.test(e.data)},qr=function e(t,s){t instanceof HTMLSlotElement?t.assignedElements({flatten:!0}).forEach(t=>{switch(t.nodeType){case Node.TEXT_NODE:l(this,Ur,"m",Br).call(this,t)&&s.push(t);break;case Node.ELEMENT_NODE:l(this,Ur,"m",e).call(this,t,s)}}):t.childNodes.forEach(t=>{switch(t.nodeType){case Node.TEXT_NODE:l(this,Ur,"m",Br).call(this,t)&&s.push(t);break;case Node.ELEMENT_NODE:l(this,Ur,"m",e).call(this,t,s)}})},Vr=function(){if(!this.isSupported||!this.isConnected)return;if(CSS.highlights.delete(l(this,Nr,"f")),l(this,Ir,"f").length=0,this.disabled)return;if(!this.term)return void this.dispatchEvent(new CustomEvent("highlight",{detail:[...l(this,Ir,"f")],bubbles:!1,composed:!1}));const e=new Array;l(this,Ur,"m",qr).call(this,this,e);const t=this.caseSensitive?this.term:this.term.toLowerCase();d(this,Ir,e.map(e=>({el:e,text:(this.caseSensitive?e.textContent:e.textContent?.toLowerCase())??""})).map(({el:e,text:s})=>{const i=new Array;let r=0;for(;r<s.length;){const e=s.indexOf(t,r);if(-1===e)break;i.push(e),r=e+t.length}return i.map(s=>{const i=new Range;return i.setStart(e,s),i.setEnd(e,s+t.length),i})}).flat(),"f"),l(this,Ir,"f").length>0&&CSS.highlights.set(l(this,Nr,"f"),new Highlight(...l(this,Ir,"f"))),this.dispatchEvent(new CustomEvent("highlight",{detail:[...l(this,Ir,"f")],bubbles:!1,composed:!1}))},Kr.styles=a`
527
+ :host {
528
+ display: contents;
529
+ }
530
+ `,Kr.__nextId=0,n([mt({type:Boolean,reflect:!0})],Kr.prototype,"disabled",void 0),n([mt()],Kr.prototype,"term",void 0),n([mt({attribute:"case-sensitive",type:Boolean})],Kr.prototype,"caseSensitive",void 0),Kr=jr=n([Be("m3e-text-highlight")],Kr);export{Re as AttachInternals,yt as Checked,bt as CheckedIndeterminate,fs as ConstraintValidation,Kt as DesignToken,At as Dirty,Zt as Disabled,es as DisabledInteractive,ys as EventAttribute,_e as FocusController,bs as Focusable,cs as FormAssociated,$s as FormSubmitter,Ee as HoverController,Ss as HtmlFor,Se as IntersectionController,As as KeyboardClick,rs as Labelled,mi as LinkButton,Ae as LongPressController,Fi as M3eCollapsibleElement,Ji as M3eElevationElement,or as M3eFocusRingElement,nr as M3ePseudoCheckboxElement,lr as M3ePseudoRadioElement,xr as M3eRippleElement,$r as M3eScrollContainerElement,Er as M3eSlide,Dr as M3eStateLayerElement,Kr as M3eTextHighlightElement,Or as M3eTextOverflowElement,Ce as MutationController,ze as PressedController,vi as ReadOnly,yi as Required,bi as RequiredConstraintValidation,Le as ResizeController,xi as Role,We as ScrollController,wt as Selected,Lt as Touched,$i as Vertical,_t as checkOrSelect,Me as debounce,os as defaultValue,as as formValue,ki as getTextContent,_i as guid,Ei as hasAssignedNodes,Oe as hasKeys,Ue as internals,Ne as isAttachInternalsMixin,gt as isCheckedIndeterminateMixin,ft as isCheckedMixin,kt as isCheckedOrSelected,$t as isCheckedOrSelectedMixin,ms as isConstraintValidationMixin,Et as isDirtyMixin,Gt as isDisabledInteractiveMixin,Xt as isDisabledMixin,ns as isFormAssociatedMixin,xs as isFormSubmitterMixin,ks as isHtmlForMixin,ts as isLabelledMixin,ci as isLinkButtonMixin,ui as isReadOnlyMixin,gi as isRequiredConstraintValidationMixin,fi as isRequiredMixin,xt as isSelectedMixin,Ct as isTouchedMixin,wi as isVerticalMixin,Si as prefersReducedMotion,hi as renderPseudoLink,De as safeStyleMap,Ai as scrollIntoViewIfNeeded,ps as validate};
520
531
  //# sourceMappingURL=index.min.js.map