@fluentui/web-components 3.0.2 → 3.0.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.
- package/CHANGELOG.md +12 -1
- package/custom-elements.json +14 -202
- package/dist/esm/accordion-item/accordion-item.styles.css +3 -1
- package/dist/esm/button/button.styles.css +48 -12
- package/dist/esm/button/button.styles.js +21 -12
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.css +13 -13
- package/dist/esm/checkbox/checkbox.styles.js +14 -14
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.css +59 -14
- package/dist/esm/compound-button/compound-button.styles.js +11 -2
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/dropdown/dropdown.styles.css +8 -8
- package/dist/esm/dropdown/dropdown.styles.js +9 -9
- package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
- package/dist/esm/link/link.styles.css +10 -1
- package/dist/esm/menu-button/menu-button.styles.css +48 -12
- package/dist/esm/menu-item/menu-item.styles.css +23 -39
- package/dist/esm/menu-item/menu-item.styles.js +25 -41
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.base.d.ts +0 -1
- package/dist/esm/menu-list/menu-list.base.js +0 -20
- package/dist/esm/menu-list/menu-list.base.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.css +59 -7
- package/dist/esm/menu-list/menu-list.styles.js +60 -8
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/message-bar/message-bar.styles.css +1 -0
- package/dist/esm/option/option.styles.css +4 -4
- package/dist/esm/option/option.styles.js +5 -5
- package/dist/esm/option/option.styles.js.map +1 -1
- package/dist/esm/slider/slider.styles.css +2 -2
- package/dist/esm/slider/slider.styles.js +3 -2
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/styles/states/index.d.ts +9 -0
- package/dist/esm/styles/states/index.js +9 -0
- package/dist/esm/styles/states/index.js.map +1 -1
- package/dist/esm/switch/switch.styles.css +6 -6
- package/dist/esm/switch/switch.styles.js +7 -7
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/tab/tab.styles.css +10 -9
- package/dist/esm/tab/tab.styles.js +10 -9
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tablist/tablist.base.d.ts +2 -0
- package/dist/esm/tablist/tablist.base.js +11 -7
- package/dist/esm/tablist/tablist.base.js.map +1 -1
- package/dist/esm/tablist/tablist.styles.css +28 -8
- package/dist/esm/tablist/tablist.styles.js +19 -1
- package/dist/esm/tablist/tablist.styles.js.map +1 -1
- package/dist/esm/tablist/tablist.template.html +1 -1
- package/dist/esm/tablist/tablist.template.js +1 -0
- package/dist/esm/tablist/tablist.template.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.css +5 -5
- package/dist/esm/text-input/text-input.styles.js +6 -5
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/textarea/textarea.styles.css +6 -6
- package/dist/esm/textarea/textarea.styles.js +7 -7
- package/dist/esm/textarea/textarea.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.css +48 -12
- package/dist/esm/tree-item/tree-item.base.d.ts +1 -13
- package/dist/esm/tree-item/tree-item.base.js +2 -26
- package/dist/esm/tree-item/tree-item.base.js.map +1 -1
- package/dist/esm/tree-item/tree-item.styles.css +8 -2
- package/dist/esm/tree-item/tree-item.styles.js +8 -2
- package/dist/esm/tree-item/tree-item.styles.js.map +1 -1
- package/dist/web-components-all.js +24 -57
- package/dist/web-components-all.min.js +8 -8
- package/dist/web-components.d.ts +3 -14
- package/dist/web-components.js +24 -57
- package/dist/web-components.min.js +13 -13
- package/package.json +13 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const h=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis.customElements});function ps(o){return e=>e?.nodeType!==Node.ELEMENT_NODE?!1:e.tagName.toLowerCase().endsWith(o)}function gs(...o){return o.every(e=>e instanceof HTMLElement)}const Fu={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Eu={start:"start",end:"end"};function In(o,e="-accordion-item"){return ps(e)(o)}const Du=`${h.prefix}-accordion-item`;class An{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}var le;(function(o){o[o.needsArrayObservation=1101]="needsArrayObservation",o[o.onlySetDOMPolicyOnce=1201]="onlySetDOMPolicyOnce",o[o.bindingInnerHTMLRequiresTrustedTypes=1202]="bindingInnerHTMLRequiresTrustedTypes",o[o.twoWayBindingRequiresObservables=1203]="twoWayBindingRequiresObservables",o[o.hostBindingWithoutHost=1204]="hostBindingWithoutHost",o[o.unsupportedBindingBehavior=1205]="unsupportedBindingBehavior",o[o.directCallToHTMLTagNotAllowed=1206]="directCallToHTMLTagNotAllowed",o[o.onlySetTemplatePolicyOnce=1207]="onlySetTemplatePolicyOnce",o[o.cannotSetTemplatePolicyAfterCompilation=1208]="cannotSetTemplatePolicyAfterCompilation",o[o.blockedByDOMPolicy=1209]="blockedByDOMPolicy",o[o.invalidHydrationAttributeMarker=1210]="invalidHydrationAttributeMarker",o[o.duplicateRenderInstruction=1211]="duplicateRenderInstruction",o[o.missingElementDefinition=1401]="missingElementDefinition",o[o.noRegistrationForContext=1501]="noRegistrationForContext",o[o.noFactoryForResolver=1502]="noFactoryForResolver",o[o.invalidResolverStrategy=1503]="invalidResolverStrategy",o[o.cannotAutoregisterDependency=1504]="cannotAutoregisterDependency",o[o.cannotResolveKey=1505]="cannotResolveKey",o[o.cannotConstructNativeFunction=1506]="cannotConstructNativeFunction",o[o.cannotJITRegisterNonConstructor=1507]="cannotJITRegisterNonConstructor",o[o.cannotJITRegisterIntrinsic=1508]="cannotJITRegisterIntrinsic",o[o.cannotJITRegisterInterface=1509]="cannotJITRegisterInterface",o[o.invalidResolver=1510]="invalidResolver",o[o.invalidKey=1511]="invalidKey",o[o.noDefaultResolver=1512]="noDefaultResolver",o[o.cyclicDependency=1513]="cyclicDependency",o[o.connectUpdateRequiresController=1514]="connectUpdateRequiresController"})(le||(le={}));const Co=o=>typeof o=="function",dt=o=>typeof o=="string",Lu=()=>{},Mu=Object.create(null),Se={warn(o,e){},error(o,e){return new Error(`Error ${o}`)},addMessages(o){Object.assign(Mu,o)}},Hu=Object.freeze([]);function Nn(){const o=new Map;return Object.freeze({register(e){return o.has(e.type)?!1:(o.set(e.type,e),!0)},getByType(e){return o.get(e)},getForInstance(e){if(e!=null)return o.get(e.constructor)}})}function fs(){const o=new WeakMap;return function(e){let t=o.get(e);if(t===void 0){let r=Reflect.getPrototypeOf(e);for(;t===void 0&&r!==null;)t=o.get(r),r=Reflect.getPrototypeOf(r);t=t===void 0?[]:t.slice(0),o.set(e,t)}return t}}function Pt(o){o.prototype.toJSON=Lu}class bs extends An{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}Pt(bs);function ms(o,e){return new bs(o,e)}class Tn{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return this.spillover===void 0?this.sub1===e||this.sub2===e:this.spillover.indexOf(e)!==-1}subscribe(e){const t=this.spillover;if(t===void 0){if(this.has(e))return;if(this.sub1===void 0){this.sub1=e;return}if(this.sub2===void 0){this.sub2=e;return}this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else t.indexOf(e)===-1&&t.push(e)}unsubscribe(e){const t=this.spillover;if(t===void 0)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}notify(e){const t=this.spillover,r=this.subject;if(t===void 0){const n=this.sub1,i=this.sub2;n!==void 0&&n.handleChange(r,e),i!==void 0&&i.handleChange(r,e)}else for(let n=0,i=t.length;n<i;++n)t[n].handleChange(r,e)}}class vs{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,r;(t=this.subscribers[e])===null||t===void 0||t.notify(e),(r=this.subjectSubscribers)===null||r===void 0||r.notify(e)}subscribe(e,t){var r,n;let i;t?i=(r=this.subscribers[t])!==null&&r!==void 0?r:this.subscribers[t]=new Tn(this.subject):i=(n=this.subjectSubscribers)!==null&&n!==void 0?n:this.subjectSubscribers=new Tn(this.subject),i.subscribe(e)}unsubscribe(e,t){var r,n;t?(r=this.subscribers[t])===null||r===void 0||r.unsubscribe(e):(n=this.subjectSubscribers)===null||n===void 0||n.unsubscribe(e)}}const We=[],zn=[],Vu=globalThis.requestAnimationFrame;let _n=!0;function Ru(){if(zn.length)throw zn.shift()}function ju(o){try{o.call()}catch(e){if(_n)zn.push(e),setTimeout(Ru,0);else throw We.length=0,e}}function On(){let e=0;for(;e<We.length;)if(ju(We[e]),e++,e>1024){for(let t=0,r=We.length-e;t<r;t++)We[t]=We[t+e];We.length-=e,e=0}We.length=0}function ys(o){We.push(o),We.length<2&&(_n?Vu(On):On())}const N=Object.freeze({enqueue:ys,next:()=>new Promise(ys),process:On,setMode:o=>_n=o}),wr=Object.freeze({unknown:void 0,coupled:1}),m=(()=>{const o=N.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let r,n=d=>{throw Se.error(le.needsArrayObservation)};function i(d){var c;let f=(c=d.$fastController)!==null&&c!==void 0?c:t.get(d);return f===void 0&&(Array.isArray(d)?f=n(d):t.set(d,f=new vs(d))),f}const s=fs();class l{constructor(c){this.name=c,this.field=`_${c}`,this.callback=`${c}Changed`}getValue(c){return r!==void 0&&r.watch(c,this.name),c[this.field]}setValue(c,f){const w=this.field,F=c[w];if(F!==f){c[w]=f;const G=c[this.callback];Co(G)&&G.call(c,F,f),i(c).notify(this.name)}}}class u extends Tn{constructor(c,f,w=!1){super(c,f),this.expression=c,this.isVolatileBinding=w,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(c){this.isAsync=this.needsQueue=c}bind(c){const f=this.observe(c.source,c.context);return!c.isBound&&this.requiresUnbind(c)&&c.onUnbind(this),f}requiresUnbind(c){return c.sourceLifetime!==wr.coupled||this.first!==this.last||this.first.propertySource!==c.source}unbind(c){this.dispose()}observe(c,f){this.needsRefresh&&this.last!==null&&this.dispose();const w=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let F;try{F=this.expression(c,f)}finally{r=w}return F}disconnect(){this.dispose()}dispose(){if(this.last!==null){let c=this.first;for(;c!==void 0;)c.notifier.unsubscribe(this,c.propertyName),c=c.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(c,f){const w=this.last,F=i(c),G=w===null?this.first:{};if(G.propertySource=c,G.propertyName=f,G.notifier=F,F.subscribe(this,f),w!==null){if(!this.needsRefresh){let ae;r=void 0,ae=w.propertySource[w.propertyName],r=this,c===ae&&(this.needsRefresh=!0)}w.next=G}this.last=G}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let c=this.first;for(;c!==void 0;)yield c,c=c.next}}return Pt(u),Object.freeze({setArrayObserverFactory(d){n=d},getNotifier:i,track(d,c){r&&r.watch(d,c)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(d,c){i(d).notify(c)},defineProperty(d,c){dt(c)&&(c=new l(c)),s(d).push(c),Reflect.defineProperty(d,c.name,{enumerable:!0,get(){return c.getValue(this)},set(f){c.setValue(this,f)}})},getAccessors:s,binding(d,c,f=this.isVolatileBinding(d)){return new u(d,c,f)},isVolatileBinding(d){return e.test(d.toString())}})})();function g(o,e){m.defineProperty(o,e)}const $s=(()=>{let o=null;return{get(){return o},set(e){o=e}}})(),Bo=Object.freeze({default:{index:0,length:0,get event(){return Bo.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return $s.get()},setEvent(o){$s.set(o)}});class qu extends An{createObserver(e){return m.binding(this.evaluate,e,this.isVolatile)}}function ks(o,e,t=m.isVolatileBinding(o)){return new qu(o,e,t)}const Z=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),xs=o=>o,Wu=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-element",{createHTML:xs}):{createHTML:xs};let Sr=Object.freeze({createHTML(o){return Wu.createHTML(o)},protect(o,e,t,r){return r}});const Gu=Sr,Qt=Object.freeze({get policy(){return Sr},setPolicy(o){if(Sr!==Gu)throw Se.error(le.onlySetDOMPolicyOnce);Sr=o},setAttribute(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)},setBooleanAttribute(o,e,t){t?o.setAttribute(e,""):o.removeAttribute(e)}}),Fn="boolean",ws="reflect",Cr=Object.freeze({locate:fs()}),Xu={toView(o){return o?"":null},fromView(o){return!!o}};function Ss(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const ie={toView(o){const e=Ss(o);return e&&e.toString()},fromView:Ss};class Sn{constructor(e,t,r=t.toLowerCase(),n=ws,i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=n,this.converter=i,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,n===Fn&&i===void 0&&(this.converter=Xu)}setValue(e,t){const r=e[this.fieldName],n=this.converter;n!==void 0&&(t=n.fromView(t)),r!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](r,t),e.$fastController.notify(this.name))}getValue(e){return m.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.mode===Fn?this.setValue(e,t!==null):this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,r=this.guards;r.has(e)||t==="fromView"||N.enqueue(()=>{r.add(e);const n=e[this.fieldName];switch(t){case ws:{const i=this.converter;Qt.setAttribute(e,this.attribute,i!==void 0?i.toView(n):n);break}case Fn:Qt.setBooleanAttribute(e,this.attribute,n);break}r.delete(e)})}static collect(e,...t){const r=[];t.push(Cr.locate(e));for(let n=0,i=t.length;n<i;++n){const s=t[n];if(s!==void 0)for(let l=0,u=s.length;l<u;++l){const d=s[l];dt(d)?r.push(new Sn(e,d)):r.push(new Sn(e,d.property,d.attribute,d.mode,d.converter))}}return r}}function a(o,e){let t;function r(n,i){arguments.length>1&&(t.property=i),Cr.locate(n.constructor).push(t)}if(arguments.length>1){t={},r(o,e);return}return t=o===void 0?{}:o,r}let En;function Cs(o){return o.reduce((e,t)=>(t instanceof ge?e.push(...Cs(t.styles)):e.push(t),e),[])}class ge{get strategy(){return this._strategy===null&&(En||ge.setDefaultStrategy(ge.supportsAdoptedStyleSheets?Uu():Yu()),this.withStrategy(En)),this._strategy}constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withStrategy(e){return this._strategy=new e(Cs(this.styles)),this}static setDefaultStrategy(e){En=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new ge(e):e instanceof ge?e:new ge([e])}}ge.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;function Uu(){const o=new Map;return class{constructor(t){this.sheets=t.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=o.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),o.set(r,n)),n})}addStylesTo(t){const r=t;r.adoptedStyleSheets=[...r.adoptedStyleSheets,...this.sheets]}removeStylesFrom(t){const r=t;r.adoptedStyleSheets=r.adoptedStyleSheets.filter(n=>this.sheets.indexOf(n)===-1)}}}let Ku=0;function Yu(){return class{constructor(e){this.styles=e,this.styleClass=`fast-${++Ku}`}addStylesTo(e){const t=e===document?document.body:e;for(let r=0;r<this.styles.length;r++){const n=document.createElement("style");n.innerHTML=this.styles[r],n.className=this.styleClass,t.append(n)}}removeStylesFrom(e){const t=e===document?document.body:e,r=t.querySelectorAll(`.${this.styleClass}`);for(let n=0,i=r.length;n<i;++n)t.removeChild(r[n])}}}const Ju={},Bs=new WeakMap,Dn=Nn(),Po=Object.freeze({register(o){if(!Dn.register(o))return!1;const e=Ps(o.registry);return Object.prototype.hasOwnProperty.call(e,o.name)||m.defineProperty(e,o.name),e[o.name]=o.type,!0},getByType:Dn.getByType,getForInstance:Dn.getForInstance,whenRegistered:Zu});function Ps(o=customElements){if(o===customElements)return Ju;let e=Bs.get(o);return e||(e={},Bs.set(o,e)),e}function Is(o){return o===void 0?void 0:Po.getByType(o)}function Zu(o,e=customElements){const t=Ps(e);Object.prototype.hasOwnProperty.call(t,o)||m.defineProperty(t,o);const r=Is(t[o]);return r!==void 0?Promise.resolve(r):new Promise(n=>{const i=m.getNotifier(t),s={handleChange:()=>{const l=Is(t[o]);l!==void 0&&(i.unsubscribe(s,o),n(l))}};i.subscribe(s,o)})}const As={mode:"open"},Ns={},Ts=new Set,Br=new WeakMap,Pr=new WeakMap,It=new WeakMap,zs=new WeakMap,Qu=new WeakMap;function ep(o){return Co(o)}function tp(o){return typeof o?.then=="function"}function _s(o,e){if(Pr.delete(o),o.template===void 0&&e!==void 0&&(o.template=e),o.template!==void 0)return It.delete(o),Br.delete(o),o.template}function Os(o,e=o.registry,t){if(!t?.length)return;const r=o;let n=zs.get(r);if(!n?.has(e)){n===void 0&&(n=new WeakSet,zs.set(r,n)),n.add(e);for(const i of t)i(o)}}function Ln(o){var e;return(e=Qu.get(o))!==null&&e!==void 0?e:null}function Fs(o){if(o.template!==void 0)return It.delete(o),o.template;const e=Pr.get(o);if(e)return e;const t=Br.get(o);if(!t)return;It.delete(o);let r;try{r=t(o)}catch(n){throw It.set(o,n),n}if(tp(r)){const n=Promise.resolve(r).then(i=>_s(o,i)).catch(i=>{throw Pr.delete(o),It.set(o,i),i});return Pr.set(o,n),n}return _s(o,r)}function op(o,e){const t=o;if(e===void 0){It.delete(t);return}It.set(t,e)}class ot{get isDefined(){return this.platformDefined}constructor(e,t=e.definition){var r;this.platformDefined=!1,dt(t)&&(t={name:t}),this.type=e,this.name=t.name,this.registry=(r=t.registry)!==null&&r!==void 0?r:customElements,ep(t.template)?Br.set(this,t.template):this.template=t.template;const n=e.prototype,i=Sn.collect(e,t.attributes),s=new Array(i.length),l={},u={};for(let d=0,c=i.length;d<c;++d){const f=i[d];s[d]=f.attribute,l[f.name]=f,u[f.attribute]=f,m.defineProperty(n,f)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=l,this.attributeLookup=u,this.shadowOptions=t.shadowOptions===void 0?As:t.shadowOptions===null?void 0:Object.assign(Object.assign({},As),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?Ns:Object.assign(Object.assign({},Ns),t.elementOptions),this.styles=ge.normalize(t.styles),this.schema=t.schema,Po.register(this)}define(e=this.registry,t){const r=this.type;if(!e.get(this.name)){if(Os(this,e,t),this.template===void 0&&Br.has(this))return Promise.resolve().then(()=>Fs(this)).then(n=>{n!==void 0&&!e.get(this.name)&&(this.platformDefined=!0,e.define(this.name,r,this.elementOptions))}).catch(n=>{op(this,n),m.notify(this,"template")}),this;this.platformDefined=!0,e.define(this.name,r,this.elementOptions)}return this}static compose(e,t){const r=Ts.has(e)||Po.getByType(e)?new ot(class extends e{},t):new ot(e,t);return Promise.resolve(r)}static registerBaseType(e){Ts.add(e)}}ot.getByType=Po.getByType,ot.getForInstance=Po.getForInstance,m.defineProperty(ot.prototype,"template");const rp={bubbles:!0,composed:!0,cancelable:!0},Mn="isConnected",Es=new WeakMap,Hn=Symbol("fast-late-attribute-observer");function Ir(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Es.get(o))!==null&&t!==void 0?t:null}let Ds;var fe;(function(o){o[o.connecting=0]="connecting",o[o.connected=1]="connected",o[o.disconnecting=2]="disconnecting",o[o.disconnected=3]="disconnected"})(fe||(fe={}));class qe{get isConnected(){return m.track(this,Mn),this.stage===fe.connected}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:Bo.default}get isBound(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.isBound)!==null&&t!==void 0?t:!1}get sourceLifetime(){var e;return(e=this.view)===null||e===void 0?void 0:e.sourceLifetime}get template(){var e;if(this._template===null){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=(e=t.template)!==null&&e!==void 0?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get shadowOptions(){return this._shadowRootOptions}set shadowOptions(e){if(this._shadowRootOptions===void 0&&e!==void 0){this._shadowRootOptions=e;let t=this.source.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=this.source.attachShadow(e),e.mode==="closed"&&Es.set(this.source,t))}}get mainStyles(){var e;if(this._mainStyles===null){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=(e=t.styles)!==null&&e!==void 0?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}constructor(e,t){this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this.isPrerendered=new Promise(i=>{this._resolvePrerendered=i}),this.isHydrated=new Promise(i=>{this._resolveHydrated=i}),this._template=null,this.stage=fe.disconnected,this.guardBehaviorConnection=!1,this.behaviors=null,this.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this._notifier=new vs(e),this.source=e,this.definition=t,this.shadowOptions=t.shadowOptions;const r=Reflect.getPrototypeOf(e),n=r===null?[]:m.getAccessors(r);if(n.length>0){const i=this.boundObservables=Object.create(null);for(let s=0,l=n.length;s<l;++s){const u=n[s].name,d=e[u];d!==void 0&&(delete e[u],i[u]=d)}Object.keys(i).length===0&&(this.boundObservables=null)}this.captureBoundObservables()}get subject(){return this._notifier.subject}notify(e){this._notifier.notify(e)}subscribe(e,t){this._notifier.subscribe(e,t)}unsubscribe(e,t){this._notifier.unsubscribe(e,t)}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,r;const n=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,i=(r=n.get(e))!==null&&r!==void 0?r:0;i===0?(n.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===fe.connected||this.stage===fe.connecting)&&e.connectedCallback(this)):n.set(e,i+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(r===null)return;const n=r.get(e);n!==void 0&&(n===1||t?(r.delete(e),e.disconnectedCallback&&this.stage!==fe.disconnected&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,n-1))}addStyles(e){var t;if(!e)return;const r=this.source;e instanceof HTMLElement?((t=Ir(r))!==null&&t!==void 0?t:this.source).append(e):e.isAttachedTo(r)||e.addStylesTo(r)}removeStyles(e){var t;if(!e)return;const r=this.source;e instanceof HTMLElement?((t=Ir(r))!==null&&t!==void 0?t:r).removeChild(e):e.isAttachedTo(r)&&e.removeStylesFrom(r)}connect(){this.stage===fe.disconnected&&(this.stage=fe.connecting,this.captureBoundObservables(),this.syncLateAttributes(),this.observeLateAttributes(),this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=fe.connected,m.notify(this,Mn))}bindObservables(){if(this.boundObservables!==null){const e=this.source,t=this.boundObservables,r=Object.keys(t);for(let n=0,i=r.length;n<i;++n){const s=r[n];e[s]=t[s]}this.boundObservables=null}}captureBoundObservables(){const e=this.source,t=Object.getOwnPropertyNames(e),r=i=>{let s=Reflect.getPrototypeOf(e);for(;s!==null;){const l=Reflect.getOwnPropertyDescriptor(s,i);if(l?.get||l?.set)return!0;s=Reflect.getPrototypeOf(s)}return!1};let n=this.boundObservables;for(let i=0,s=t.length;i<s;++i){const l=t[i],u=l[0]==="_"?l.slice(1):l;if(!r(u))continue;const d=e[u],c=l!==u,f=d!==null&&typeof d=="object"&&!d?.$isProxy&&!(Array.isArray(d)&&d?.$fastController);if(d===void 0){c||delete e[l];continue}c&&!f||(delete e[l],(n??(n=this.boundObservables=Object.create(null)))[u]=d)}}syncLateAttributes(){const e=Ln(this.definition);if(e!==null)for(const t of Object.keys(e))this.source.hasAttribute(t)&&this.onAttributeChangedCallback(t,null,this.source.getAttribute(t))}observeLateAttributes(){const e=Ln(this.definition);if(e===null)return;const t=this.source;t[Hn]===void 0&&(t[Hn]=new MutationObserver(r=>{const n=t.$fastController,i=Ln(n.definition);if(i!==null)for(let s=0,l=r.length;s<l;++s){const u=r[s].attributeName;u===null||i[u]===void 0||n.onAttributeChangedCallback(u,null,t.getAttribute(u))}}),t[Hn].observe(t,{attributes:!0,attributeFilter:Object.keys(e)}))}connectBehaviors(){if(this.behaviorsConnected===!1){const e=this.behaviors;if(e!==null){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===fe.connected&&(this.stage=fe.disconnecting,m.notify(this,Mn),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=fe.disconnected)}onAttributeChangedCallback(e,t,r){const n=this.definition.attributeLookup[e];n!==void 0&&n.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return this.stage===fe.connected?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},rp),r))):!1}renderTemplate(e){var t;const r=this.source,n=(t=Ir(r))!==null&&t!==void 0?t:r;if(this.view!==null)this.view.dispose(),this.view=null;else if((!this.needsInitialization||this.hasExistingShadowRoot)&&(!this.hasExistingShadowRoot||!this.needsInitialization))for(let i=n.firstChild;i!==null;i=n.firstChild)n.removeChild(i);if(e){const i=this.hasExistingShadowRoot&&this.needsInitialization;let s=!1;i&&qe.hydrationHook&&(s=qe.hydrationHook(this,e,r,n)),s||this.renderClientSide(e,r,n),this._resolvePrerendered(i),this._resolveHydrated(s)}else this.needsInitialization&&(this._resolvePrerendered(!1),this._resolveHydrated(!1))}renderClientSide(e,t,r){if(this.hasExistingShadowRoot){for(let n=r.firstChild;n!==null;n=r.firstChild)r.removeChild(n);this.hasExistingShadowRoot=!1}this.view=e.render(t,r,t),this.view.sourceLifetime=wr.coupled}static forCustomElement(e,t=!1){const r=e.$fastController;if(r!==void 0&&!t)return r;const n=ot.getForInstance(e);if(n===void 0)throw Se.error(le.missingElementDefinition);return m.getNotifier(n).subscribe({handleChange:()=>{qe.forCustomElement(e,!0),e.$fastController.connect()}},"template"),m.getNotifier(n).subscribe({handleChange:()=>{qe.forCustomElement(e,!0),e.$fastController.connect()}},"shadowOptions"),e.$fastController=new Ds(e,n)}static setStrategy(e){Ds=e}static installHydrationHook(e){qe.hydrationHook=e}}qe.hydrationHook=null,Pt(qe),qe.setStrategy(qe);function Ar(o){var e;return"adoptedStyleSheets"in o?o:(e=Ir(o))!==null&&e!==void 0?e:o.getRootNode()}class Cn{constructor(e){const t=Cn.styleSheetCache;this.sheets=e.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=t.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),t.set(r,n)),n})}addStylesTo(e){Ms(Ar(e),this.sheets)}removeStylesFrom(e){Hs(Ar(e),this.sheets)}}Cn.styleSheetCache=new Map;let np=0;const ip=()=>`fast-${++np}`;function Ls(o){return o===document?document.body:o}class sp{constructor(e){this.styles=e,this.styleClass=ip()}addStylesTo(e){e=Ls(Ar(e));const t=this.styles,r=this.styleClass;for(let n=0;n<t.length;n++){const i=document.createElement("style");i.innerHTML=t[n],i.className=r,e.append(i)}}removeStylesFrom(e){e=Ls(Ar(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let r=0,n=t.length;r<n;++r)e.removeChild(t[r])}}let Ms=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},Hs=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(ge.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Ms=(o,e)=>{o.adoptedStyleSheets.push(...e)},Hs=(o,e)=>{for(const t of e){const r=o.adoptedStyleSheets.indexOf(t);r!==-1&&o.adoptedStyleSheets.splice(r,1)}}}catch{}ge.setDefaultStrategy(Cn)}else ge.setDefaultStrategy(sp);function Vs(o){const e=class extends o{constructor(){super(),qe.forCustomElement(this)}$emit(t,r,n){return this.$fastController.emit(t,r,n)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,r,n){this.$fastController.onAttributeChangedCallback(t,r,n)}};return ot.registerBaseType(e),e}function ap(o){return typeof o?.then=="function"}function lp(o,e,t){return Array.isArray(e)&&(t=e,e=void 0),(Co(o)?ot.compose(o,e):ot.compose(this,o)).then(n=>{Os(n,n.registry,t);const i=Fs(n);return ap(i)?i.then(()=>n.define().type):n.define().type})}function cp(o){return Vs(o)}const k=Object.assign(Vs(HTMLElement),{from:cp,define:lp});function Ce(o,e,t){return Object.assign({},t,{get(){return m.trackVolatile(),t.get.apply(this)}})}const Vn=Nn(),Rs=Object.freeze({getForInstance:Vn.getForInstance,getByType:Vn.getByType,define(o){return Vn.register({type:o}),o}});function js(o,e){const t=[];let r="";for(let n=0,i=o.length-1;n<i;++n){r+=o[n];let s=e[n];Rs.getForInstance(s)!==void 0&&(s=s.createCSS()),s instanceof ge||s instanceof CSSStyleSheet?(r.trim()!==""&&(t.push(r),r=""),t.push(s)):r+=s}return r+=o[o.length-1],r.trim()!==""&&t.push(r),t}const p=(o,...e)=>new ge(js(o,e));class qs{constructor(e){this.value=e.length===0?"":e.length===1?e[0]:new ge(e)}createCSS(){return this.value}}Rs.define(qs),p.partial=(o,...e)=>new qs(js(o,e));const Rn=`fast-${Math.random().toString(36).substring(2,8)}`,Nr=`${Rn}{`,Io=`}${Rn}`,dp=Io.length;let hp=0;const jn=()=>`${Rn}-${++hp}`,Ws=Object.freeze({interpolation:o=>`${Nr}${o}${Io}`,attribute:o=>`${jn()}="${Nr}${o}${Io}"`,comment:o=>`<!--${Nr}${o}${Io}-->`}),Tr=Object.freeze({parse(o,e){const t=o.split(Nr);if(t.length===1)return null;const r=[];for(let n=0,i=t.length;n<i;++n){const s=t[n],l=s.indexOf(Io);let u;if(l===-1)u=s;else{const d=s.substring(0,l);r.push(e[d]),u=s.substring(l+dp)}u!==""&&r.push(u)}return r}}),qn=Nn(),Ge=Object.freeze({getForInstance:qn.getForInstance,getByType:qn.getByType,define(o,e){return e=e||{},e.type=o,qn.register(e),o},assignAspect(o,e){if(!e){o.aspectType=Z.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?Z.tokenList:Z.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=Z.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=Z.event;break;default:o.targetAspect=e,o.aspectType=Z.attribute;break}}});class Wn{constructor(e){this.options=e}createHTML(e){return Ws.attribute(e(this))}createBehavior(){return this}}Pt(Wn);const up=o=>o.nodeType===1,Ao=o=>o?e=>e.nodeType===1&&e.matches(o):up;class pp extends Wn{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=`${e}-c`}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,Hu),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}const Gs=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,gp=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,fp=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,bp=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,mp=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,vp=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function Xs(o){return o&&o.nodeType===Node.COMMENT_NODE}const Le=Object.freeze({attributeMarkerName:"data-fe",legacyAttributeMarkerName:"data-fe-b",legacyCompactAttributeMarkerName:"data-fe-c",contentBindingStartMarker(){return"fe:b"},contentBindingEndMarker(){return"fe:/b"},repeatStartMarker(){return"fe:r"},repeatEndMarker(){return"fe:/r"},elementBoundaryStartMarker(){return"fe:e"},elementBoundaryEndMarker(){return"fe:/e"},isContentBindingStartMarker(o){return o==="fe:b"||Gs.test(o)},isContentBindingEndMarker(o){return o==="fe:/b"||gp.test(o)},isRepeatViewStartMarker(o){return o==="fe:r"||fp.test(o)},isRepeatViewEndMarker(o){return o==="fe:/r"||bp.test(o)},isElementBoundaryStartMarker(o){return Xs(o)&&(o.data==="fe:e"||mp.test(o.data))},isElementBoundaryEndMarker(o){return Xs(o)&&(o.data==="fe:/e"||vp.test(o.data))},parseAttributeBindingCount(o){const e=o.getAttribute(this.attributeMarkerName);if(e===null)return null;const t=e.trim();if(!/^\d+$/.test(t))throw Se.error(le.invalidHydrationAttributeMarker,{value:e});const r=parseInt(t,10);if(r<1)throw Se.error(le.invalidHydrationAttributeMarker,{value:e});return r},parseLegacyAttributeBindingIndices(o){const e=[],t=o.getAttribute(this.legacyAttributeMarkerName);if(t!==null)for(const i of t.trim().split(/\s+/)){if(i==="")continue;const s=Number(i);if(!Number.isInteger(s)||s<0)throw Se.error(le.invalidHydrationAttributeMarker,{value:t});e.push(s)}const r=`${this.legacyAttributeMarkerName}-`,n=`${this.legacyCompactAttributeMarkerName}-`;for(const i of o.getAttributeNames())if(i.startsWith(r)){const s=Number(i.slice(r.length));if(!Number.isInteger(s)||s<0)throw Se.error(le.invalidHydrationAttributeMarker,{value:i});e.push(s)}else if(i.startsWith(n)){const[s,l]=i.slice(n.length).split("-").map(u=>Number(u));if(!Number.isInteger(s)||!Number.isInteger(l)||s<0||l<1)throw Se.error(le.invalidHydrationAttributeMarker,{value:i});for(let u=0;u<l;u++)e.push(s+u)}return e.length===0?null:e},removeLegacyAttributeBindingMarkers(o){o.removeAttribute(this.legacyAttributeMarkerName);for(const e of o.getAttributeNames())(e.startsWith(`${this.legacyAttributeMarkerName}-`)||e.startsWith(`${this.legacyCompactAttributeMarkerName}-`))&&o.removeAttribute(e)},parseLegacyContentBindingStartIndex(o){return yp(Gs,o)}});function yp(o,e){const t=o.exec(e);return t===null?null:Number(t[1])}const zr=Symbol.for("fe-hydration");function Us(o){return o[zr]===zr}const $p="unknown";function kp(o,e){const t=e?`: ${e}`:"";return`Hydration mismatch in <${o}>${t}. Install hydrationDebugger() from "@microsoft/fast-element/hydration.js" and pass it as enableHydration({ debugger: hydrationDebugger() }) for an "Expected / Received" report including the SSR HTML snippet.`}const xp="content following `<!--fe:b-->` content binding marker",wp="matching `<!--fe:/b-->` content binding close marker",Sp="matching `<!--fe:/e-->` element boundary close marker";function Ks(o){return`no more attribute bindings (template defines ${o})`}function Cp(o){return`no more content bindings (template defines ${o})`}function Ys(o,e){const t=(o??$p).toLowerCase();return kp(t,e)}const Bp={formatBindingMismatch(o,e,t,r){return{message:Ys(r,void 0)}},formatStructuralError(o,e,t){return{message:Ys(e,t)}}};let Pp=Bp;function At(){return Pp}function Nt(o){var e;return o?(e=o.getRootNode().host)===null||e===void 0?void 0:e.nodeName:void 0}class Tt extends Error{constructor(e,t,r,n,i){super(e),this.factories=t,this.node=r,this.expected=n,this.received=i}}function Gn(o){return o.nodeType===Node.COMMENT_NODE}function Js(o){return o.nodeType===Node.TEXT_NODE}function Zs(o,e){const t=document.createRange();return t.setStart(o,0),t.setEnd(e,Gn(e)||Js(e)?e.data.length:e.childNodes.length),t}function Ip(o,e,t){const r=Zs(o,e),n=r.commonAncestorContainer,i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(f){return r.comparePoint(f,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),s={},l={},u=Tp(t);let d=u,c=i.currentNode=o;for(;c!==null;){switch(c.nodeType){case Node.ELEMENT_NODE:{const f=c,w=Le.parseLegacyAttributeBindingIndices(f);if(w!==null){for(const G of w){const ae=G+u,ct=t[ae];if(!ct){const So=Ks(t.length),Pn=At().formatStructuralError(c,Nt(c),So);throw new Tt(Pn.message,t,f,Pn.expected,Pn.received)}No(ct,c,s),d=Math.max(d,ae+1)}Le.removeLegacyAttributeBindingMarkers(f);break}const F=Le.parseAttributeBindingCount(f);if(F!==null){for(let G=0;G<F;G++){const ae=t[d++];if(!ae){const ct=Ks(t.length),So=At().formatStructuralError(c,Nt(c),ct);throw new Tt(So.message,t,c,So.expected,So.received)}No(ae,c,s)}f.removeAttribute(Le.attributeMarkerName)}break}case Node.COMMENT_NODE:{const f=c.data;if(Le.isElementBoundaryStartMarker(c))c.data="",Np(i,t,c);else if(Le.isContentBindingStartMarker(f)){const w=Le.parseLegacyContentBindingStartIndex(f),F=w===null?d++:w+u,G=t[F];if(d=Math.max(d,F+1),!G){const ae=Cp(t.length),ct=At().formatStructuralError(c,Nt(c),ae);throw new Tt(ct.message,t,c,ct.expected,ct.received)}Ap(c,i,G,t,s,l)}break}}c=i.nextNode()}return r.detach(),{targets:s,boundaries:l}}function Ap(o,e,t,r,n,i){const s=[];let l=e.nextSibling();if(o.data="",l===null){const c=xp,f=At().formatStructuralError(o,Nt(o),c);throw new Tt(f.message,r,o,f.expected,f.received)}const u=l;let d=0;for(;l!==null;){if(Gn(l)){if(Le.isContentBindingStartMarker(l.data))d++;else if(Le.isContentBindingEndMarker(l.data)){if(d===0)break;d--}}s.push(l),l=e.nextSibling()}if(l===null){const c=wp,f=At().formatStructuralError(o,Nt(o),c);throw new Tt(f.message,r,o,f.expected,f.received)}if(l.data="",s.length===1&&Js(s[0]))No(t,s[0],n);else{l!==u&&l.previousSibling!==null&&(i[t.targetNodeId]={first:u,last:l.previousSibling});const c=l.parentNode.insertBefore(document.createTextNode(""),l);No(t,c,n)}}function Np(o,e,t){let r=0,n=o.nextSibling();for(;n!==null;){if(Gn(n)){if(Le.isElementBoundaryStartMarker(n))n.data="",r++;else if(Le.isElementBoundaryEndMarker(n)){if(r===0){n.data="";return}n.data="",r--}}n=o.nextSibling()}const i=Sp,s=At().formatStructuralError(t,Nt(t),i);throw new Tt(s.message,e,t,s.expected,s.received)}function Tp(o){let e=0;for(let t=0,r=o.length;t<r&&o[t].targetNodeId==="h";++t)e++;return e}function No(o,e,t){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");t[o.targetNodeId]=e}function Xn(o,e){const t=o.parentNode;let r=o,n;for(;r!==e;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.removeChild(r),r=n}t.removeChild(e)}class Qs{constructor(){this.index=0,this.length=0}get event(){return Bo.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}}class _r extends Qs{constructor(e,t,r){super(),this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=wr.unknown,this._skipAttrUpdates=!1,this.isPrerendered=Promise.resolve(!1),this.isHydrated=Promise.resolve(!1),this.context=this,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r=this.firstChild,n;for(;r!==t;)n=r.nextSibling,e.appendChild(r),r=n;e.appendChild(t)}dispose(){Xn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e&&this.context===t)return;let r=this.behaviors;if(r===null){this.source=e,this.context=t,this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const l=n[i].createBehavior();l.bind(this),r[i]=l}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(e.length!==0){Xn(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}Pt(_r),m.defineProperty(_r.prototype,"index"),m.defineProperty(_r.prototype,"length");var ea;const To={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class zp extends Error{constructor(e,t,r,n,i,s){super(e),this.factory=t,this.fragment=r,this.templateString=n,this.expected=i,this.received=s}}class _p extends Qs{get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}constructor(e,t,r,n){super(),this.firstChild=e,this.lastChild=t,this.sourceTemplate=r,this.hostBindingTarget=n,this[ea]=zr,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=wr.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=To.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=r.compile().factories}insertBefore(e){if(this.fragment!==null)if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}appendTo(e){this.fragment!==null&&e.appendChild(this.fragment)}remove(){const e=this.fragment||(this.fragment=document.createDocumentFragment()),t=this.lastChild;let r=this.firstChild,n;for(;r!==t;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.appendChild(r),r=n}e.appendChild(t)}bind(e,t=this){if(this.source===e&&this.context===t)return;this.hydrationStage!==To.hydrated&&(this._hydrationStage=To.hydrating);let r=this.behaviors;if(r===null){this.source=e,this.context=t;try{const{targets:i,boundaries:s}=Ip(this.firstChild,this.lastChild,this.factories);this._targets=i,this._bindingViewBoundaries=s}catch(i){if(i instanceof Tt){let s=this.sourceTemplate.html;typeof s!="string"&&(s=s.innerHTML),i.templateString=s}throw i}this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const l=n[i];if(l.targetNodeId==="h"&&this.hostBindingTarget&&No(l,this.hostBindingTarget,this._targets),l.targetNodeId in this.targets){const u=l.createBehavior();u.bind(this),r[i]=u}else{let u=this.sourceTemplate.html;typeof u!="string"&&(u=u.innerHTML);const d=Zs(this.firstChild,this.lastChild).cloneContents(),c=At().formatBindingMismatch(l,this.firstChild,this.lastChild,Nt(this.firstChild));throw new zp(c.message,l,d,u,c.expected,c.received)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0,this._hydrationStage=To.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){Xn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}}ea=zr,Pt(_p);function Op(o){return o.create!==void 0}function Fp(o,e,t,r){if(t==null&&(t=""),Op(t)){o.textContent="";let n=o.$fastView;if(n===void 0)if(Us(r)&&Us(t)&&r.bindingViewBoundaries[this.targetNodeId]!==void 0&&r.hydrationStage!==To.hydrated){const i=r.bindingViewBoundaries[this.targetNodeId];n=t.hydrate(i.first,i.last)}else n=t.create();else o.$fastTemplate!==t&&(n.isComposed&&(n.remove(),n.unbind()),n=t.create());n.isComposed?n.needsBindOnly&&(n.needsBindOnly=!1,n.bind(r.source,r.context)):(n.isComposed=!0,n.bind(r.source,r.context),n.insertBefore(o),o.$fastView=n,o.$fastTemplate=t)}else{const n=o.$fastView;n!==void 0&&n.isComposed&&(n.isComposed=!1,n.remove(),n.needsBindOnly?n.needsBindOnly=!1:n.unbind()),o.textContent=t}}function Ep(o,e,t){var r;const n=`${this.id}-t`,i=(r=o[n])!==null&&r!==void 0?r:o[n]={v:0,cv:Object.create(null)},s=i.cv;let l=i.v;const u=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let c=0,f=d.length;c<f;++c){const w=d[c];w!==""&&(s[w]=l,u.add(w))}}if(i.v=l+1,l!==0){l-=1;for(const d in s)s[d]===l&&u.remove(d)}}const Dp={[Z.attribute]:Qt.setAttribute,[Z.booleanAttribute]:Qt.setBooleanAttribute,[Z.property]:(o,e,t)=>o[e]=t,[Z.content]:Fp,[Z.tokenList]:Ep,[Z.event]:()=>{}};class eo{constructor(e){this.updateTarget=null,this.aspectType=Z.content,this.dataBinding=e}createHTML(e){return Ws.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=Dp[this.aspectType],r=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw Se.error(le.unsupportedBindingBehavior);this.data=`${this.id}-d`,this.updateTarget=r.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const r=e.targets[this.targetNodeId];switch(this.aspectType){case Z.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Z.content:e.onUnbind(this);default:{const n=(t=r[this.data])!==null&&t!==void 0?t:r[this.data]=this.dataBinding.createObserver(this,this);n.target=r,n.controller=e;const i=n.bind(e);if(e._skipAttrUpdates&&(this.aspectType===Z.attribute||this.aspectType===Z.booleanAttribute))break;this.updateTarget(r,this.targetAspect,i,e);break}}}unbind(e){const r=e.targets[this.targetNodeId].$fastView;r!==void 0&&r.isComposed&&(r.unbind(),r.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){Bo.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);Bo.setEvent(null),r!==!0&&e.preventDefault()}}handleChange(e,t){const r=t.controller;if(!r.isBound)return;const n=t.target;this.updateTarget(n,this.targetAspect,t.bind(r),r)}}Ge.define(eo,{aspected:!0});const ta=(o,e)=>`${o}.${e}`,oa={},Xe={index:0,node:null};function ra(o){o.startsWith("fast-")||Se.warn(le.hostBindingWithoutHost,{name:o})}const Lp=new Proxy(document.createElement("div"),{get(o,e){ra(e);const t=Reflect.get(o,e);return Co(t)?t.bind(o):t},set(o,e,t){return ra(e),Reflect.set(o,e,t)}});class Mp{constructor(e,t,r){this.fragment=e,this.directives=t,this.policy=r,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,r,n,i){var s,l;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,n)),e.id=(s=e.id)!==null&&s!==void 0?s:jn(),e.targetNodeId=r,e.targetTagName=i,e.policy=(l=e.policy)!==null&&l!==void 0?l:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,r){const n=this.descriptors;if(t==="r"||t==="h"||n[t])return;if(!n[e]){const s=e.lastIndexOf("."),l=e.substring(0,s),u=parseInt(e.substring(s+1),10);this.addTargetDescriptor(l,e,u)}let i=oa[t];if(!i){const s=`_${t}`;oa[t]=i={get(){var l;return(l=this[s])!==null&&l!==void 0?l:this[s]=this[e].childNodes[r]}}}n[t]=i}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=e??Lp;for(const n of this.nodeIds)Reflect.get(r,n);return new _r(t,this.factories,r)}}function na(o,e,t,r,n,i=!1){const s=t.attributes,l=o.directives;for(let u=0,d=s.length;u<d;++u){const c=s[u],f=c.value,w=Tr.parse(f,l);let F=null;w===null?i&&(F=new eo(ms(()=>f,o.policy)),Ge.assignAspect(F,c.name)):F=Un.aggregate(w,o.policy),F!==null&&(t.removeAttributeNode(c),u--,d--,o.addFactory(F,e,r,n,t.tagName))}}function Hp(o,e,t,r,n){const i=Tr.parse(e.textContent,o.directives);if(i===null)return Xe.node=e.nextSibling,Xe.index=n+1,Xe;let s,l=s=e;for(let u=0,d=i.length;u<d;++u){const c=i[u];u!==0&&(n++,r=ta(t,n),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),dt(c)?s.textContent=c:(s.textContent=" ",Ge.assignAspect(c),o.addFactory(c,t,r,n,null)),l=s}return Xe.index=n+1,Xe.node=l.nextSibling,Xe}function ia(o,e,t){let r=0,n=e.firstChild;for(;n;){const i=Vp(o,t,n,r);n=i.node,r=i.index}}function Vp(o,e,t,r){const n=ta(e,r);switch(t.nodeType){case 1:na(o,e,t,n,r),ia(o,t,n);break;case 3:return Hp(o,t,e,n,r);case 8:{const i=Tr.parse(t.data,o.directives);i!==null&&o.addFactory(Un.aggregate(i),e,n,r,null);break}}return Xe.index=r+1,Xe.node=t.nextSibling,Xe}function Rp(o,e){return o&&o.nodeType===8&&Tr.parse(o.data,e)!==null}const sa="TEMPLATE",Un={compile(o,e,t=Qt.policy){let r;if(dt(o)){r=document.createElement(sa),r.innerHTML=t.createHTML(o);const s=r.content.firstElementChild;s!==null&&s.tagName===sa&&(r=s)}else r=o;!r.content.firstChild&&!r.content.lastChild&&r.content.appendChild(document.createComment(""));const n=document.adoptNode(r.content),i=new Mp(n,e,t);return na(i,"",r,"h",0,!0),(Rp(n.firstChild,e)||n.childNodes.length===1&&Object.keys(e).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ia(i,n,"r"),Xe.node=null,i.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=Qt.policy){if(o.length===1)return o[0];let t,r=!1,n;const i=o.length,s=o.map(d=>dt(d)?()=>d:(t=d.sourceAspect||t,r=r||d.dataBinding.isVolatile,n=n||d.dataBinding.policy,d.dataBinding.evaluate)),l=(d,c)=>{let f="";for(let w=0;w<i;++w)f+=s[w](d,c);return f},u=new eo(ks(l,n??e,r));return Ge.assignAspect(u,t),u}};class aa extends Wn{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Ge.define(aa);const A=o=>new aa(o),jp=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,qp=Object.create(null);class zt{constructor(e,t=qp){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}zt.empty=new zt(""),Ge.define(zt);function Wp(o,e,t,r=Ge.getForInstance(o)){if(r.aspected){const n=jp.exec(e);n!==null&&Ge.assignAspect(o,n[2])}return o.createHTML(t)}class Bn{constructor(e,t={},r){this.policy=r,this.result=null,this.html=e,this.factories=t}compile(){return this.result===null&&(this.result=Un.compile(this.html,this.factories,this.policy)),this.result}inline(){return new zt(dt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw Se.error(le.cannotSetTemplatePolicyAfterCompilation);if(this.policy)throw Se.error(le.onlySetTemplatePolicyOnce);return this.policy=e,this}render(e,t,r){const n=this.create(r);return n.bind(e),n.appendTo(t),n}create(e){return this.compile().createView(e)}static create(e,t,r){let n="";const i=Object.create(null),s=l=>{var u;const d=(u=l.id)!==null&&u!==void 0?u:l.id=jn();return i[d]=l,d};for(let l=0,u=e.length-1;l<u;++l){const d=e[l];let c=t[l],f;if(n+=d,Co(c))c=new eo(ks(c));else if(c instanceof An)c=new eo(c);else if(!(f=Ge.getForInstance(c))){const w=c;c=new eo(ms(()=>w))}n+=Wp(c,d,s,f)}return new Bn(n+e[e.length-1],i,r)}}Pt(Bn);const b=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Bn.create(o,e);throw Se.error(le.directCallToHTMLTagNotAllowed)};b.partial=o=>new zt(o);const la="slotchange";class ca extends pp{observe(e){e.addEventListener(la,this)}disconnect(e){e.removeEventListener(la,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}Ge.define(ca);function K(o){return dt(o)&&(o={property:o}),new ca(o)}const Gp=":host([hidden]){display:none}";function x(o){return`${Gp}:host{display:${o}}`}const I="var(--colorNeutralForeground1)",Kn="var(--colorNeutralForeground1Hover)",da="var(--colorNeutralForeground1Pressed)",Xp="var(--colorNeutralForeground1Selected)",Ae="var(--colorNeutralForeground2)",_t="var(--colorNeutralForeground2Hover)",Ot="var(--colorNeutralForeground2Pressed)",zo="var(--colorNeutralForeground2Selected)",_o="var(--colorNeutralForeground2BrandHover)",Oo="var(--colorNeutralForeground2BrandPressed)",ha="var(--colorNeutralForeground2BrandSelected)",X="var(--colorNeutralForeground3)",ua="var(--colorNeutralForeground3Hover)",pa="var(--colorNeutralForeground3Pressed)",ga="var(--colorNeutralForeground3Selected)",Up="var(--colorNeutralForeground3BrandHover)",Kp="var(--colorNeutralForeground3BrandPressed)",Yp="var(--colorNeutralForeground3BrandSelected)",Or="var(--colorNeutralForeground4)",Jp="var(--colorNeutralForeground5)",Zp="var(--colorNeutralForeground5Hover)",Qp="var(--colorNeutralForeground5Pressed)",eg="var(--colorNeutralForeground5Selected)",T="var(--colorNeutralForegroundDisabled)",fa="var(--colorBrandForegroundLink)",ba="var(--colorBrandForegroundLinkHover)",ma="var(--colorBrandForegroundLinkPressed)",tg="var(--colorBrandForegroundLinkSelected)",va="var(--colorNeutralForeground2Link)",ya="var(--colorNeutralForeground2LinkHover)",$a="var(--colorNeutralForeground2LinkPressed)",og="var(--colorNeutralForeground2LinkSelected)",rg="var(--colorCompoundBrandForeground1)",ka="var(--colorCompoundBrandForeground1Hover)",xa="var(--colorCompoundBrandForeground1Pressed)",Ue="var(--colorNeutralForegroundOnBrand)",ht="var(--colorNeutralForegroundInverted)",wa="var(--colorNeutralForegroundInvertedHover)",Sa="var(--colorNeutralForegroundInvertedPressed)",ng="var(--colorNeutralForegroundInvertedSelected)",ig="var(--colorNeutralForegroundInverted2)",Yn="var(--colorNeutralForegroundStaticInverted)",sg="var(--colorNeutralForegroundInvertedLink)",ag="var(--colorNeutralForegroundInvertedLinkHover)",lg="var(--colorNeutralForegroundInvertedLinkPressed)",cg="var(--colorNeutralForegroundInvertedLinkSelected)",dg="var(--colorNeutralForegroundInvertedDisabled)",Fo="var(--colorBrandForeground1)",Ca="var(--colorBrandForeground2)",hg="var(--colorBrandForeground2Hover)",ug="var(--colorBrandForeground2Pressed)",Ba="var(--colorNeutralForeground1Static)",pg="var(--colorBrandForegroundInverted)",gg="var(--colorBrandForegroundInvertedHover)",fg="var(--colorBrandForegroundInvertedPressed)",bg="var(--colorBrandForegroundOnLight)",mg="var(--colorBrandForegroundOnLightHover)",vg="var(--colorBrandForegroundOnLightPressed)",yg="var(--colorBrandForegroundOnLightSelected)",C="var(--colorNeutralBackground1)",Eo="var(--colorNeutralBackground1Hover)",Fr="var(--colorNeutralBackground1Pressed)",Jn="var(--colorNeutralBackground1Selected)",$g="var(--colorNeutralBackground2)",kg="var(--colorNeutralBackground2Hover)",xg="var(--colorNeutralBackground2Pressed)",wg="var(--colorNeutralBackground2Selected)",to="var(--colorNeutralBackground3)",Sg="var(--colorNeutralBackground3Hover)",Cg="var(--colorNeutralBackground3Pressed)",Bg="var(--colorNeutralBackground3Selected)",Pa="var(--colorNeutralBackground4)",Pg="var(--colorNeutralBackground4Hover)",Ig="var(--colorNeutralBackground4Pressed)",Ag="var(--colorNeutralBackground4Selected)",Ia="var(--colorNeutralBackground5)",Ng="var(--colorNeutralBackground5Hover)",Tg="var(--colorNeutralBackground5Pressed)",zg="var(--colorNeutralBackground5Selected)",oo="var(--colorNeutralBackground6)",_g="var(--colorNeutralBackground7)",Og="var(--colorNeutralBackground7Hover)",Fg="var(--colorNeutralBackground7Pressed)",Eg="var(--colorNeutralBackground7Selected)",Dg="var(--colorNeutralBackground8)",Zn="var(--colorNeutralBackgroundInverted)",Lg="var(--colorNeutralBackgroundInvertedHover)",Mg="var(--colorNeutralBackgroundInvertedPressed)",Hg="var(--colorNeutralBackgroundInvertedSelected)",Vg="var(--colorNeutralBackgroundStatic)",Rg="var(--colorNeutralBackgroundAlpha)",jg="var(--colorNeutralBackgroundAlpha2)",Qn="var(--colorSubtleBackground)",Do="var(--colorSubtleBackgroundHover)",ro="var(--colorSubtleBackgroundPressed)",ei="var(--colorSubtleBackgroundSelected)",Aa="var(--colorSubtleBackgroundLightAlphaHover)",Na="var(--colorSubtleBackgroundLightAlphaPressed)",Ta="var(--colorSubtleBackgroundLightAlphaSelected)",qg="var(--colorSubtleBackgroundInverted)",Wg="var(--colorSubtleBackgroundInvertedHover)",Gg="var(--colorSubtleBackgroundInvertedPressed)",Xg="var(--colorSubtleBackgroundInvertedSelected)",ce="var(--colorTransparentBackground)",Lo="var(--colorTransparentBackgroundHover)",Mo="var(--colorTransparentBackgroundPressed)",ti="var(--colorTransparentBackgroundSelected)",rt="var(--colorNeutralBackgroundDisabled)",Ug="var(--colorNeutralBackgroundDisabled2)",Kg="var(--colorNeutralBackgroundInvertedDisabled)",Yg="var(--colorNeutralStencil1)",Jg="var(--colorNeutralStencil2)",Zg="var(--colorNeutralStencil1Alpha)",Qg="var(--colorNeutralStencil2Alpha)",Er="var(--colorBackgroundOverlay)",ef="var(--colorScrollbarOverlay)",oi="var(--colorBrandBackground)",ri="var(--colorBrandBackgroundHover)",ni="var(--colorBrandBackgroundPressed)",za="var(--colorBrandBackgroundSelected)",ut="var(--colorCompoundBrandBackground)",Ft="var(--colorCompoundBrandBackgroundHover)",Et="var(--colorCompoundBrandBackgroundPressed)",ii="var(--colorBrandBackgroundStatic)",si="var(--colorBrandBackground2)",tf="var(--colorBrandBackground2Hover)",of="var(--colorBrandBackground2Pressed)",rf="var(--colorBrandBackground3Static)",nf="var(--colorBrandBackground4Static)",sf="var(--colorBrandBackgroundInverted)",af="var(--colorBrandBackgroundInvertedHover)",lf="var(--colorBrandBackgroundInvertedPressed)",cf="var(--colorBrandBackgroundInvertedSelected)",df="var(--colorNeutralCardBackground)",hf="var(--colorNeutralCardBackgroundHover)",uf="var(--colorNeutralCardBackgroundPressed)",pf="var(--colorNeutralCardBackgroundSelected)",gf="var(--colorNeutralCardBackgroundDisabled)",Me="var(--colorNeutralStrokeAccessible)",pt="var(--colorNeutralStrokeAccessibleHover)",gt="var(--colorNeutralStrokeAccessiblePressed)",ff="var(--colorNeutralStrokeAccessibleSelected)",He="var(--colorNeutralStroke1)",ft="var(--colorNeutralStroke1Hover)",no="var(--colorNeutralStroke1Pressed)",bf="var(--colorNeutralStroke1Selected)",io="var(--colorNeutralStroke2)",_a="var(--colorNeutralStroke3)",mf="var(--colorNeutralStroke4)",vf="var(--colorNeutralStroke4Hover)",yf="var(--colorNeutralStroke4Pressed)",$f="var(--colorNeutralStroke4Selected)",kf="var(--colorNeutralStrokeSubtle)",xf="var(--colorNeutralStrokeOnBrand)",Oa="var(--colorNeutralStrokeOnBrand2)",wf="var(--colorNeutralStrokeOnBrand2Hover)",Sf="var(--colorNeutralStrokeOnBrand2Pressed)",Cf="var(--colorNeutralStrokeOnBrand2Selected)",ai="var(--colorBrandStroke1)",li="var(--colorBrandStroke2)",Bf="var(--colorBrandStroke2Hover)",Pf="var(--colorBrandStroke2Pressed)",If="var(--colorBrandStroke2Contrast)",nt="var(--colorCompoundBrandStroke)",Fa="var(--colorCompoundBrandStrokeHover)",ci="var(--colorCompoundBrandStrokePressed)",be="var(--colorNeutralStrokeDisabled)",Af="var(--colorNeutralStrokeDisabled2)",Nf="var(--colorNeutralStrokeInvertedDisabled)",U="var(--colorTransparentStroke)",Dr="var(--colorTransparentStrokeInteractive)",Tf="var(--colorTransparentStrokeDisabled)",zf="var(--colorNeutralStrokeAlpha)",_f="var(--colorNeutralStrokeAlpha2)",Ho="var(--colorStrokeFocus1)",se="var(--colorStrokeFocus2)",Ea="var(--colorNeutralShadowAmbient)",Da="var(--colorNeutralShadowKey)",Of="var(--colorNeutralShadowAmbientLighter)",Ff="var(--colorNeutralShadowKeyLighter)",Ef="var(--colorNeutralShadowAmbientDarker)",Df="var(--colorNeutralShadowKeyDarker)",Lf="var(--colorBrandShadowAmbient)",Mf="var(--colorBrandShadowKey)",di="var(--colorPaletteRedBackground1)",La="var(--colorPaletteRedBackground2)",hi="var(--colorPaletteRedBackground3)",Hf="var(--colorPaletteRedBorderActive)",ui="var(--colorPaletteRedBorder1)",Lr="var(--colorPaletteRedBorder2)",Mr="var(--colorPaletteRedForeground1)",Ma="var(--colorPaletteRedForeground2)",pi="var(--colorPaletteRedForeground3)",Vf="var(--colorPaletteRedForegroundInverted)",gi="var(--colorPaletteGreenBackground1)",Rf="var(--colorPaletteGreenBackground2)",fi="var(--colorPaletteGreenBackground3)",jf="var(--colorPaletteGreenBorderActive)",Ha="var(--colorPaletteGreenBorder1)",Va="var(--colorPaletteGreenBorder2)",Ra="var(--colorPaletteGreenForeground1)",ja="var(--colorPaletteGreenForeground2)",qa="var(--colorPaletteGreenForeground3)",qf="var(--colorPaletteGreenForegroundInverted)",bi="var(--colorPaletteDarkOrangeBackground1)",Wf="var(--colorPaletteDarkOrangeBackground2)",mi="var(--colorPaletteDarkOrangeBackground3)",Gf="var(--colorPaletteDarkOrangeBorderActive)",vi="var(--colorPaletteDarkOrangeBorder1)",Xf="var(--colorPaletteDarkOrangeBorder2)",Wa="var(--colorPaletteDarkOrangeForeground1)",Uf="var(--colorPaletteDarkOrangeForeground2)",yi="var(--colorPaletteDarkOrangeForeground3)",Ga="var(--colorPaletteYellowBackground1)",Kf="var(--colorPaletteYellowBackground2)",Xa="var(--colorPaletteYellowBackground3)",Yf="var(--colorPaletteYellowBorderActive)",Ua="var(--colorPaletteYellowBorder1)",Jf="var(--colorPaletteYellowBorder2)",Zf="var(--colorPaletteYellowForeground1)",Hr="var(--colorPaletteYellowForeground2)",Qf="var(--colorPaletteYellowForeground3)",eb="var(--colorPaletteYellowForegroundInverted)",tb="var(--colorPaletteBerryBackground1)",ob="var(--colorPaletteBerryBackground2)",rb="var(--colorPaletteBerryBackground3)",nb="var(--colorPaletteBerryBorderActive)",ib="var(--colorPaletteBerryBorder1)",sb="var(--colorPaletteBerryBorder2)",ab="var(--colorPaletteBerryForeground1)",lb="var(--colorPaletteBerryForeground2)",cb="var(--colorPaletteBerryForeground3)",db="var(--colorPaletteMarigoldBackground1)",$i="var(--colorPaletteMarigoldBackground2)",hb="var(--colorPaletteMarigoldBackground3)",Ka="var(--colorPaletteMarigoldBorderActive)",ub="var(--colorPaletteMarigoldBorder1)",pb="var(--colorPaletteMarigoldBorder2)",gb="var(--colorPaletteMarigoldForeground1)",Ya="var(--colorPaletteMarigoldForeground2)",fb="var(--colorPaletteMarigoldForeground3)",bb="var(--colorPaletteLightGreenBackground1)",mb="var(--colorPaletteLightGreenBackground2)",vb="var(--colorPaletteLightGreenBackground3)",yb="var(--colorPaletteLightGreenBorderActive)",$b="var(--colorPaletteLightGreenBorder1)",kb="var(--colorPaletteLightGreenBorder2)",xb="var(--colorPaletteLightGreenForeground1)",wb="var(--colorPaletteLightGreenForeground2)",Sb="var(--colorPaletteLightGreenForeground3)",Ja="var(--colorPaletteAnchorBackground2)",Cb="var(--colorPaletteAnchorBorderActive)",Za="var(--colorPaletteAnchorForeground2)",Qa="var(--colorPaletteBeigeBackground2)",Bb="var(--colorPaletteBeigeBorderActive)",el="var(--colorPaletteBeigeForeground2)",tl="var(--colorPaletteBlueBackground2)",Pb="var(--colorPaletteBlueBorderActive)",ol="var(--colorPaletteBlueForeground2)",rl="var(--colorPaletteBrassBackground2)",Ib="var(--colorPaletteBrassBorderActive)",nl="var(--colorPaletteBrassForeground2)",il="var(--colorPaletteBrownBackground2)",Ab="var(--colorPaletteBrownBorderActive)",sl="var(--colorPaletteBrownForeground2)",al="var(--colorPaletteCornflowerBackground2)",Nb="var(--colorPaletteCornflowerBorderActive)",ll="var(--colorPaletteCornflowerForeground2)",cl="var(--colorPaletteCranberryBackground2)",Tb="var(--colorPaletteCranberryBorderActive)",dl="var(--colorPaletteCranberryForeground2)",hl="var(--colorPaletteDarkGreenBackground2)",zb="var(--colorPaletteDarkGreenBorderActive)",ul="var(--colorPaletteDarkGreenForeground2)",pl="var(--colorPaletteDarkRedBackground2)",_b="var(--colorPaletteDarkRedBorderActive)",gl="var(--colorPaletteDarkRedForeground2)",fl="var(--colorPaletteForestBackground2)",Ob="var(--colorPaletteForestBorderActive)",bl="var(--colorPaletteForestForeground2)",ml="var(--colorPaletteGoldBackground2)",Fb="var(--colorPaletteGoldBorderActive)",vl="var(--colorPaletteGoldForeground2)",yl="var(--colorPaletteGrapeBackground2)",Eb="var(--colorPaletteGrapeBorderActive)",$l="var(--colorPaletteGrapeForeground2)",kl="var(--colorPaletteLavenderBackground2)",Db="var(--colorPaletteLavenderBorderActive)",xl="var(--colorPaletteLavenderForeground2)",wl="var(--colorPaletteLightTealBackground2)",Lb="var(--colorPaletteLightTealBorderActive)",Sl="var(--colorPaletteLightTealForeground2)",Cl="var(--colorPaletteLilacBackground2)",Mb="var(--colorPaletteLilacBorderActive)",Bl="var(--colorPaletteLilacForeground2)",Pl="var(--colorPaletteMagentaBackground2)",Hb="var(--colorPaletteMagentaBorderActive)",Il="var(--colorPaletteMagentaForeground2)",Al="var(--colorPaletteMinkBackground2)",Vb="var(--colorPaletteMinkBorderActive)",Nl="var(--colorPaletteMinkForeground2)",Tl="var(--colorPaletteNavyBackground2)",Rb="var(--colorPaletteNavyBorderActive)",zl="var(--colorPaletteNavyForeground2)",_l="var(--colorPalettePeachBackground2)",jb="var(--colorPalettePeachBorderActive)",Ol="var(--colorPalettePeachForeground2)",Fl="var(--colorPalettePinkBackground2)",qb="var(--colorPalettePinkBorderActive)",El="var(--colorPalettePinkForeground2)",Dl="var(--colorPalettePlatinumBackground2)",Wb="var(--colorPalettePlatinumBorderActive)",Ll="var(--colorPalettePlatinumForeground2)",Ml="var(--colorPalettePlumBackground2)",Gb="var(--colorPalettePlumBorderActive)",Hl="var(--colorPalettePlumForeground2)",Vl="var(--colorPalettePumpkinBackground2)",Xb="var(--colorPalettePumpkinBorderActive)",Rl="var(--colorPalettePumpkinForeground2)",jl="var(--colorPalettePurpleBackground2)",Ub="var(--colorPalettePurpleBorderActive)",ql="var(--colorPalettePurpleForeground2)",Wl="var(--colorPaletteRoyalBlueBackground2)",Kb="var(--colorPaletteRoyalBlueBorderActive)",Gl="var(--colorPaletteRoyalBlueForeground2)",Xl="var(--colorPaletteSeafoamBackground2)",Yb="var(--colorPaletteSeafoamBorderActive)",Ul="var(--colorPaletteSeafoamForeground2)",Kl="var(--colorPaletteSteelBackground2)",Jb="var(--colorPaletteSteelBorderActive)",Yl="var(--colorPaletteSteelForeground2)",Jl="var(--colorPaletteTealBackground2)",Zb="var(--colorPaletteTealBorderActive)",Zl="var(--colorPaletteTealForeground2)",Qb="var(--colorStatusSuccessBackground1)",em="var(--colorStatusSuccessBackground2)",tm="var(--colorStatusSuccessBackground3)",om="var(--colorStatusSuccessForeground1)",rm="var(--colorStatusSuccessForeground2)",nm="var(--colorStatusSuccessForeground3)",im="var(--colorStatusSuccessForegroundInverted)",sm="var(--colorStatusSuccessBorderActive)",am="var(--colorStatusSuccessBorder1)",lm="var(--colorStatusSuccessBorder2)",cm="var(--colorStatusWarningBackground1)",dm="var(--colorStatusWarningBackground2)",hm="var(--colorStatusWarningBackground3)",um="var(--colorStatusWarningForeground1)",pm="var(--colorStatusWarningForeground2)",gm="var(--colorStatusWarningForeground3)",fm="var(--colorStatusWarningForegroundInverted)",bm="var(--colorStatusWarningBorderActive)",mm="var(--colorStatusWarningBorder1)",vm="var(--colorStatusWarningBorder2)",ym="var(--colorStatusDangerBackground1)",$m="var(--colorStatusDangerBackground2)",km="var(--colorStatusDangerBackground3)",xm="var(--colorStatusDangerBackground3Hover)",wm="var(--colorStatusDangerBackground3Pressed)",Sm="var(--colorStatusDangerForeground1)",Cm="var(--colorStatusDangerForeground2)",Bm="var(--colorStatusDangerForeground3)",Pm="var(--colorStatusDangerForegroundInverted)",Im="var(--colorStatusDangerBorderActive)",Am="var(--colorStatusDangerBorder1)",Nm="var(--colorStatusDangerBorder2)",Vo="var(--borderRadiusNone)",Ne="var(--borderRadiusSmall)",S="var(--borderRadiusMedium)",ki="var(--borderRadiusLarge)",xi="var(--borderRadiusXLarge)",Tm="var(--borderRadius2XLarge)",zm="var(--borderRadius3XLarge)",_m="var(--borderRadius4XLarge)",Om="var(--borderRadius5XLarge)",Fm="var(--borderRadius6XLarge)",de="var(--borderRadiusCircular)",v="var(--fontFamilyBase)",Ql="var(--fontFamilyMonospace)",ec="var(--fontFamilyNumeric)",so="var(--fontSizeBase100)",E="var(--fontSizeBase200)",z="var(--fontSizeBase300)",he="var(--fontSizeBase400)",Dt="var(--fontSizeBase500)",Ro="var(--fontSizeBase600)",wi="var(--fontSizeHero700)",Si="var(--fontSizeHero800)",Ci="var(--fontSizeHero900)",Bi="var(--fontSizeHero1000)",_="var(--fontWeightRegular)",tc="var(--fontWeightMedium)",M="var(--fontWeightSemibold)",jo="var(--fontWeightBold)",qo="var(--lineHeightBase100)",R="var(--lineHeightBase200)",D="var(--lineHeightBase300)",me="var(--lineHeightBase400)",Wo="var(--lineHeightBase500)",Pi="var(--lineHeightBase600)",Ii="var(--lineHeightHero700)",Ai="var(--lineHeightHero800)",Ni="var(--lineHeightHero900)",Ti="var(--lineHeightHero1000)",Vr="var(--shadow2)",Go="var(--shadow4)",oc="var(--shadow8)",Rr="var(--shadow16)",rc="var(--shadow28)",zi="var(--shadow64)",Em="var(--shadow2Brand)",Dm="var(--shadow4Brand)",Lm="var(--shadow8Brand)",Mm="var(--shadow16Brand)",Hm="var(--shadow28Brand)",Vm="var(--shadow64Brand)",B="var(--strokeWidthThin)",ue="var(--strokeWidthThick)",Be="var(--strokeWidthThicker)",jr="var(--strokeWidthThickest)",Rm="var(--spacingHorizontalNone)",H="var(--spacingHorizontalXXS)",Q="var(--spacingHorizontalXS)",ve="var(--spacingHorizontalSNudge)",Te="var(--spacingHorizontalS)",Ke="var(--spacingHorizontalMNudge)",ee="var(--spacingHorizontalM)",nc="var(--spacingHorizontalL)",ic="var(--spacingHorizontalXL)",Xo="var(--spacingHorizontalXXL)",jm="var(--spacingHorizontalXXXL)",qr="var(--spacingVerticalNone)",Uo="var(--spacingVerticalXXS)",Lt="var(--spacingVerticalXS)",ao="var(--spacingVerticalSNudge)",te="var(--spacingVerticalS)",Ko="var(--spacingVerticalMNudge)",sc="var(--spacingVerticalM)",Wr="var(--spacingVerticalL)",qm="var(--spacingVerticalXL)",bt="var(--spacingVerticalXXL)",ac="var(--spacingVerticalXXXL)",Gr="var(--durationUltraFast)",Yo="var(--durationFaster)",Wm="var(--durationFast)",Jo="var(--durationNormal)",Xr="var(--durationGentle)",lc="var(--durationSlow)",_i="var(--durationSlower)",Zo="var(--durationUltraSlow)",cc="var(--curveAccelerateMax)",mt="var(--curveAccelerateMid)",dc="var(--curveAccelerateMin)",Oi="var(--curveDecelerateMax)",vt="var(--curveDecelerateMid)",hc="var(--curveDecelerateMin)",Fi="var(--curveEasyEaseMax)",Qo="var(--curveEasyEase)",Ur="var(--curveLinear)",Gm="var(--zIndexBackground)",Xm="var(--zIndexContent)",Um="var(--zIndexOverlay)",Km="var(--zIndexPopup)",Ym="var(--zIndexMessages)",Jm="var(--zIndexFloating)",Zm="var(--zIndexPriority)",Qm="var(--zIndexDebug)",uc=p`${x("block")} :host{max-width:fit-content;contain:content;color:${I}}.heading{height:44px;display:grid;position:relative;padding-inline:${ee} ${Ke};border-radius:${S};font-family:${v};font-size:${z};font-weight:${_};line-height:${D};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${ce};border:none;box-sizing:border-box;color:inherit;cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Ne}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${Te};grid-column:1/span 1;grid-row:1}.content{margin:0 ${ee}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${Te};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Ne};outline:none;border:2px solid ${Ho};box-shadow:inset 0 0 0 1px ${se}}:host([disabled]) .button{color:${T}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${z};line-height:${D}}:host([size='small']) .heading{font-size:${E};line-height:${R}}:host([size='large']) .heading{font-size:${he};line-height:${me}}:host([size='extra-large']) .heading{font-size:${Dt};line-height:${Wo}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1;color:currentColor}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${Te};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${ee}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${Ke} ${ee}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`;function ye(o){return o?typeof o=="string"?new zt(o):"inline"in o?o.inline():o:zt.empty}class it{}function st(o){return b`<slot name=end ${A("end")}>${ye(o.end)}</slot>`.inline()}function Ve(o){return b`<slot name=start ${A("start")}>${ye(o.start)}</slot>`.inline()}const ev=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-collapsed aria-hidden=true><path d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z" fill=currentColor /></svg>'),tv=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-expanded aria-hidden=true><path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill=currentColor /></svg>');function ov(o={}){return b`<div class=heading part=heading role=heading aria-level=${e=>e.headinglevel}><button class=button part=button id=control aria-controls=panel aria-expanded=${e=>e.expanded} ?disabled=${e=>e.disabled} ${A("expandbutton")}><slot name=heading></slot></button> ${Ve(o)}<slot name=marker-expanded>${ye(o.expandedIcon)}</slot><slot name=marker-collapsed>${ye(o.collapsedIcon)}</slot></div><div class=content part=content id=panel role=region aria-labelledby=control><slot></slot></div>`}const pc=ov({collapsedIcon:ev,expandedIcon:tv}),gc={name:Du,registry:h.registry,styles:uc,template:pc};function yt(o,...e){const t=Cr.locate(o);e.forEach(r=>{Object.getOwnPropertyNames(r.prototype).forEach(i=>{i!=="constructor"&&Object.defineProperty(o.prototype,i,Object.getOwnPropertyDescriptor(r.prototype,i))}),Cr.locate(r).forEach(i=>t.push(i))})}var rv=Object.defineProperty,nv=Object.getOwnPropertyDescriptor,Kr=(o,e,t,r)=>{for(var n=r>1?void 0:r?nv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&rv(e,t,n),n};class lo extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1}}Kr([a({attribute:"heading-level",mode:"fromView",converter:ie})],lo.prototype,"headinglevel",2),Kr([a({mode:"boolean"})],lo.prototype,"expanded",2),Kr([a({mode:"boolean"})],lo.prototype,"disabled",2),Kr([g],lo.prototype,"expandbutton",2);var iv=Object.defineProperty,sv=Object.getOwnPropertyDescriptor,Ei=(o,e,t,r)=>{for(var n=r>1?void 0:r?sv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&iv(e,t,n),n};class co extends lo{constructor(){super(...arguments),this.block=!1}}Ei([a],co.prototype,"size",2),Ei([a({attribute:"marker-position"})],co.prototype,"markerPosition",2),Ei([a({mode:"boolean"})],co.prototype,"block",2),yt(co,it),co.define(gc);const Yr={single:"single",multi:"multi"},av=`${h.prefix}-accordion`,fc=p`${x("flex")} :host{flex-direction:column;width:100%;contain:content}`;function lv(){return b`<template><slot ${K({property:"slottedAccordionItems",filter:Ao()})}></slot></template>`}const bc=lv(),mc={name:av,registry:h.registry,styles:fc,template:bc};function vc(o,e){if("requestIdleCallback"in globalThis)return globalThis.requestIdleCallback(o,e);const t=Date.now();return setTimeout(()=>{o({didTimeout:e?.timeout?Date.now()-t>=e.timeout:!1,timeRemaining:()=>0})},e?.timeout??1)}function er(o,e,t){const r=t?.shallow??!1,n=t?.timeout??50,i=t?.idleCallback??!1,s=`${r?":scope > ":""}:not(:defined)`,l=u=>{if(o.querySelector(s)===null||u&&u.timeRemaining()<=0){i?vc(e,{timeout:n}):e();return}vc(l,{timeout:n})};l()}var cv=Object.defineProperty,dv=Object.getOwnPropertyDescriptor,yc=(o,e,t,r)=>{for(var n=r>1?void 0:r?dv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&cv(e,t,n),n};class Jr extends k{constructor(){super(...arguments),this._isAdjusting=!1,this.activeItemIndex=0,this.setItems=()=>{er(this,()=>{if(!this.slottedAccordionItems?.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>m.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionItems.forEach((t,r)=>{t.addEventListener("click",this.expandedChangedHandler),m.getNotifier(t).subscribe(this,"expanded")}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}})},this.removeItemListeners=e=>{e.forEach((t,r)=>{m.getNotifier(t).unsubscribe(this,"disabled"),m.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=e=>{const t=e.target;In(t)&&(this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.$emit("change"))}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const r=this.findExpandedItem();if(r){if(t===Yr.single){this.setSingleExpandMode(r);return}r?.expandbutton?.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(e,t){this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&!this._isAdjusting&&(this._isAdjusting=!0,this.setSingleExpandMode(e),this._isAdjusting=!1)}findExpandedItem(){return!this.accordionItems||this.accordionItems?.length===0?null:this.accordionItems.find(e=>In(e)&&e.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Yr.single}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((r,n)=>{In(r)&&(this.activeItemIndex===n?(r.expanded=!0,r.expandbutton?.setAttribute("aria-disabled","true")):(r.expanded=!1,r.hasAttribute("disabled")||r.expandbutton?.removeAttribute("aria-disabled")))})}connectedCallback(){super.connectedCallback(),this.expandmode=this.expandmode||Yr.multi,this.setItems()}}yc([a({attribute:"expand-mode"})],Jr.prototype,"expandmode",2),yc([g],Jr.prototype,"slottedAccordionItems",2),Jr.define(mc);const tr={primary:"primary",outline:"outline",subtle:"subtle",transparent:"transparent"},or={circular:"circular",rounded:"rounded",square:"square"},rr={small:"small",medium:"medium",large:"large"},nr={submit:"submit",reset:"reset",button:"button"},hv={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},uv=`${h.prefix}-button`,$c=tr,kc=or,xc=rr,wc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},pv={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"},gv=`${h.prefix}-anchor-button`,Sc=p`${x("inline-flex")} :host{--icon-spacing:${ve};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${C};color:${I};border:${B} solid ${He};padding:0 ${ee};min-width:96px;border-radius:${S};font-size:${z};font-family:${v};font-weight:${M};line-height:${D};transition-duration:${Yo};transition-property:background,border,color;transition-timing-function:${Qo};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${Eo};color:${Kn};border-color:${ft}}:host(:hover:active){background-color:${Fr};border-color:${no};color:${da};outline-style:none}:host(:focus-visible){border-color:${U};outline:${ue} solid ${U};box-shadow:${Go},0 0 0 2px ${se}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${Q};min-height:24px;min-width:64px;padding:0 ${Te};border-radius:${Ne};font-size:${E};line-height:${R};font-weight:${_}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${ki};padding:0 ${nc};font-size:${he};line-height:${me}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${de}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${Vo}}:host([appearance='primary']){background-color:${oi};color:${Ue};border-color:transparent}:host([appearance='primary']:hover){background-color:${ri}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${Ue}}:host([appearance='primary']:hover:active){background-color:${ni}}:host([appearance='primary']:focus-visible){border-color:${Ue};box-shadow:${Vr},0 0 0 2px ${se}}:host([appearance='outline']){background-color:${ce}}:host([appearance='outline']:hover){background-color:${Lo}}:host([appearance='outline']:hover:active){background-color:${Mo}}:host([appearance='subtle']){background-color:${Qn};color:${Ae};border-color:transparent}:host([appearance='subtle']:hover){background-color:${Do};color:${_t};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${ro};color:${Ot};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${_o}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Oo}}:host([appearance='transparent']){background-color:${ce};color:${Ae}}:host([appearance='transparent']:hover){background-color:${Lo};color:${_o}}:host([appearance='transparent']:hover:active){background-color:${Mo};color:${Oo}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`,ho=p`${Sc} :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${rt};border-color:${be};color:${T};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${ce}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${ce};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${ce}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`,fv=p`${Sc} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;function bv(o={}){return b`<template tabindex=0 @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}>${Ve(o)} <span class=content part=content><slot></slot></span>${st(o)}</template>`}const Cc=bv(),Bc={name:gv,registry:h.registry,styles:fv,template:Cc},Zr=CSS.supports("anchor-name: --a"),mv="anchor"in HTMLElement.prototype,Pc=CSS.supports("selector(:state(g))"),Ic=new Map;function P(o){return Ic.get(o)??Ic.set(o,Pc?`:state(${o})`:`[state--${o}]`).get(o)}function y(o,e,t){if(!(!e||!o)){if(!Pc){o.shadowRoot.host.toggleAttribute(`state--${e}`,t);return}if(t??!o.states.has(e)){o.states.add(e);return}o.states.delete(e)}}const Di=new WeakMap;function Ac(o,e){if(!o||!e)return!1;if(Di.has(o))return Di.get(o).has(e);const t=new Set(Object.values(o));return Di.set(o,t),t.has(e)}function Mt(o,e="",t="",r,n=""){y(o,`${n}${e}`,!1),(!r||Ac(r,t))&&y(o,`${n}${t}`,!0)}var vv=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,$t=(o,e,t,r)=>{for(var n=r>1?void 0:r?yv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&vv(e,t,n),n};class Re extends k{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(e=>{this.handleChange(this,e)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(e,t){if(t in pv){const r=this.$fastController.definition.attributeLookup[t]?.attribute;r&&this.handleProxyAttributeChange(r,this[t])}}clickHandler(e){if(e.composedPath()[0]===this.internalProxyAnchor)return e.stopImmediatePropagation(),!0;if(this.href){const t=e.ctrlKey||e.metaKey;this.handleNavigation(t)}return!0}keydownHandler(e){if(this.href&&e.key==="Enter"){const t=this.isMac&&e.metaKey||e.ctrlKey;this.handleNavigation(t);return}return!0}handleNavigation(e){e?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(e,t){t?this.internalProxyAnchor.setAttribute(e,t):this.internalProxyAnchor.removeAttribute(e)}createProxyElement(){const e=this.internalProxyAnchor??document.createElement("a");return e.inert=!0,e}}$t([a],Re.prototype,"download",2),$t([a],Re.prototype,"href",2),$t([a],Re.prototype,"hreflang",2),$t([a],Re.prototype,"ping",2),$t([a],Re.prototype,"referrerpolicy",2),$t([a],Re.prototype,"rel",2),$t([a],Re.prototype,"target",2),$t([a],Re.prototype,"type",2);var $v=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,Qr=(o,e,t,r)=>{for(var n=r>1?void 0:r?kv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$v(e,t,n),n};class Ht extends Re{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(e,t){Mt(this.elementInternals,e,t,$c)}shapeChanged(e,t){Mt(this.elementInternals,e,t,kc)}sizeChanged(e,t){Mt(this.elementInternals,e,t,xc)}iconOnlyChanged(e,t){y(this.elementInternals,"icon",!!t)}}Qr([a],Ht.prototype,"appearance",2),Qr([a],Ht.prototype,"shape",2),Qr([a],Ht.prototype,"size",2),Qr([a({attribute:"icon-only",mode:"boolean"})],Ht.prototype,"iconOnly",2),yt(Ht,it),Ht.define(Bc);const xv={active:"active",inactive:"inactive"},wv={circular:"circular",square:"square"},Sv={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Li={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},Mi={neutral:"neutral",brand:"brand",colorful:"colorful",...Li},Cv={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128},Bv=`${h.prefix}-avatar`,kt={fastOutSlowInMax:Oi,fastOutSlowInMid:vt,fastOutSlowInMin:hc,slowOutFastInMax:cc,slowOutFastInMid:mt,slowOutFastInMin:dc,fastEase:Fi,normalEase:Qo,nullEasing:Ur},Nc=p`${x("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${v};font-weight:${M};font-size:${z};border-radius:${de};color:${X};background-color:${oo};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${de}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${B} ${C}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${ue} ${C}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${_}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${E}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${he}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Dt}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Ro}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${S}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Ne}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${ki}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${xi}}:host([data-color='brand']){color:${Yn};background-color:${ii}}:host([data-color='dark-red']){color:${gl};background-color:${pl}}:host([data-color='cranberry']){color:${dl};background-color:${cl}}:host([data-color='red']){color:${Ma};background-color:${La}}:host([data-color='pumpkin']){color:${Rl};background-color:${Vl}}:host([data-color='peach']){color:${Ol};background-color:${_l}}:host([data-color='marigold']){color:${Ya};background-color:${$i}}:host([data-color='gold']){color:${vl};background-color:${ml}}:host([data-color='brass']){color:${nl};background-color:${rl}}:host([data-color='brown']){color:${sl};background-color:${il}}:host([data-color='forest']){color:${bl};background-color:${fl}}:host([data-color='seafoam']){color:${Ul};background-color:${Xl}}:host([data-color='dark-green']){color:${ul};background-color:${hl}}:host([data-color='light-teal']){color:${Sl};background-color:${wl}}:host([data-color='teal']){color:${Zl};background-color:${Jl}}:host([data-color='steel']){color:${Yl};background-color:${Kl}}:host([data-color='blue']){color:${ol};background-color:${tl}}:host([data-color='royal-blue']){color:${Gl};background-color:${Wl}}:host([data-color='cornflower']){color:${ll};background-color:${al}}:host([data-color='navy']){color:${zl};background-color:${Tl}}:host([data-color='lavender']){color:${xl};background-color:${kl}}:host([data-color='purple']){color:${ql};background-color:${jl}}:host([data-color='grape']){color:${$l};background-color:${yl}}:host([data-color='lilac']){color:${Bl};background-color:${Cl}}:host([data-color='pink']){color:${El};background-color:${Fl}}:host([data-color='magenta']){color:${Il};background-color:${Pl}}:host([data-color='plum']){color:${Hl};background-color:${Ml}}:host([data-color='beige']){color:${el};background-color:${Qa}}:host([data-color='mink']){color:${Nl};background-color:${Al}}:host([data-color='platinum']){color:${Ll};background-color:${Dl}}:host([data-color='anchor']){color:${Za};background-color:${Ja}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Zo},${Yo};transition-delay:${kt.fastEase},${kt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Zo},${_i};transition-delay:${kt.fastEase},${kt.nullEasing}}:host([active])::before{box-shadow:${oc};border-style:solid;border-color:${ii}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ue});border-width:${ue}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Be});border-width:${Be}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${jr});border-width:${jr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Go}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Rr}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${rc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Zo},${Yo};transition-delay:${kt.fastOutSlowInMin},${kt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Zo},${_i};transition-delay:${kt.fastOutSlowInMin},${kt.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Pv=b`<svg width=1em height=1em viewBox="0 0 20 20" class=default-icon fill=currentcolor aria-hidden=true><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function Iv(){return b`<slot class=default-slot ${K("slottedDefaults")} ${A("defaultSlot")}></slot><span class=monogram ${A("monogram")}>${o=>o.initials}</span> ${Pv}<slot name=badge></slot>`}const Tc=Iv(),zc={name:Bv,registry:h.registry,styles:Nc,template:Tc},Av=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Nv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Tv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zv=/\s+/g,_v=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Ov(o,e,t){let r="";const n=o.split(" ");return n.length!==0&&(r+=n[0].charAt(0).toUpperCase()),t||(n.length===2?r+=n[1].charAt(0).toUpperCase():n.length===3&&(r+=n[2].charAt(0).toUpperCase())),e&&r.length>1?r.charAt(1)+r.charAt(0):r}function Fv(o){return o=o.replace(Av,""),o=o.replace(Nv,""),o=o.replace(zv," "),o=o.trim(),o}function _c(o,e,t){return!o||(o=Fv(o),_v.test(o)||!t?.allowPhoneInitials&&Tv.test(o))?"":Ov(o,e,t?.firstInitialOnly)}var Ev=Object.defineProperty,Dv=Object.getOwnPropertyDescriptor,ir=(o,e,t,r)=>{for(var n=r>1?void 0:r?Dv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ev(e,t,n),n};class Vt extends k{constructor(){super(),this.slottedDefaults=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}defaultSlotChanged(){if(!CSS.supports("selector(:has-slotted)")){const e=this.defaultSlot.assignedElements();this.defaultSlot.classList.toggle("has-slotted",e.length>0)}N.enqueue(()=>{this.cleanupSlottedContent()})}monogramChanged(){this.updateMonogram()}slottedDefaultsChanged(){this.defaultSlot&&this.cleanupSlottedContent()}nameChanged(){this.updateMonogram()}initialsChanged(){this.updateMonogram()}generateInitials(){return this.initials||_c(this.name,window.getComputedStyle(this).direction==="rtl")}updateMonogram(){this.monogram&&(this.monogram.textContent=this.generateInitials()??"")}cleanupSlottedContent(){this.normalize(),CSS.supports("selector(:has-slotted)")||this.defaultSlot.classList.toggle("has-slotted",!!this.slottedDefaults.length),this.innerText.trim()||this.slottedDefaults.forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.remove()})}}ir([g],Vt.prototype,"defaultSlot",2),ir([g],Vt.prototype,"monogram",2),ir([g],Vt.prototype,"slottedDefaults",2),ir([a],Vt.prototype,"name",2),ir([a],Vt.prototype,"initials",2);var Lv=Object.defineProperty,Mv=Object.getOwnPropertyDescriptor,uo=(o,e,t,r)=>{for(var n=r>1?void 0:r?Mv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Lv(e,t,n),n};const xt=class hs extends Vt{handleChange(e,t){switch(t){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials||_c(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}generateColor(){const e=this.color===Mi.colorful;this.currentColor,this.currentColor=e&&this.colorId?this.colorId:e?hs.colors[Hv(this.name??"")%hs.colors.length]:this.color??Mi.neutral,this.setAttribute("data-color",this.currentColor)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};xt.colors=Object.values(Li),uo([a],xt.prototype,"active",2),uo([a],xt.prototype,"shape",2),uo([a],xt.prototype,"appearance",2),uo([a({converter:ie})],xt.prototype,"size",2),uo([a],xt.prototype,"color",2),uo([a({attribute:"color-id"})],xt.prototype,"colorId",2);let Oc=xt;const Hv=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const r=o.charCodeAt(t),n=t%8;e^=(r<<n)+(r>>8-n)}return e};Oc.define(zc);const Fc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Ec={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Vv={circular:"circular",rounded:"rounded",square:"square"},Rv={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},jv=`${h.prefix}-badge`,Dc=p.partial`${x("inline-flex")} :host{position:relative;box-sizing:border-box;align-items:center;justify-content:center;font-family:${v};font-weight:${M};font-size:${E};line-height:${R};min-width:20px;height:20px;padding-inline:calc(${Q} + ${H});border-radius:${de};border-color:${U};background-color:${oi};color:${Ue};contain:content}::slotted(svg){font-size:12px}:host(:not([appearance='ghost']))::after{position:absolute;content:'';top:0;left:0;bottom:0;right:0;border-style:solid;border-width:${B};border-color:inherit;border-radius:inherit}`,Lc=p.partial`:host([size='tiny']){width:6px;height:6px;font-size:4px;line-height:4px;padding-inline:0;min-width:unset}:host([size='tiny']) ::slotted(svg){font-size:6px}:host([size='extra-small']){width:10px;height:10px;font-size:6px;line-height:6px;padding-inline:0;min-width:unset}:host([size='extra-small']) ::slotted(svg){font-size:10px}:host([size='small']){min-width:16px;height:16px;font-size:${so};line-height:${qo};padding-inline:calc(${H} + ${H})}:host([size='small']) ::slotted(svg){font-size:12px}:host([size='large']){min-width:24px;height:24px;font-size:${E};line-height:${R};padding-inline:calc(${Q} + ${H})}:host([size='large']) ::slotted(svg){font-size:16px}:host([size='extra-large']){min-width:32px;height:32px;font-size:${E};line-height:${R};padding-inline:calc(${ve} + ${H})}:host([size='extra-large']) ::slotted(svg){font-size:20px}`,Mc=p.partial`:host([color='danger']){background-color:${hi};color:${Ue}}:host([color='important']){background-color:${I};color:${C}}:host([color='informative']){background-color:${Ia};color:${X}}:host([color='severe']){background-color:${mi};color:${Ue}}:host([color='subtle']){background-color:${C};color:${I}}:host([color='success']){background-color:${fi};color:${Ue}}:host([color='warning']){background-color:${Xa};color:${Ba}}`,Hc=p.partial`:host([appearance='ghost']){color:${Fo};background-color:initial}:host([appearance='ghost'][color='danger']){color:${pi}}:host([appearance='ghost'][color='important']){color:${I}}:host([appearance='ghost'][color='informative']){color:${X}}:host([appearance='ghost'][color='severe']){color:${yi}}:host([appearance='ghost'][color='subtle']){color:${ht}}:host([appearance='ghost'][color='success']){color:${qa}}:host([appearance='ghost'][color='warning']){color:${Hr}}`,qv=p.partial`:host([appearance='outline']){border-color:currentColor;color:${Fo};background-color:initial}:host([appearance='outline'][color='danger']){color:${pi}}:host([appearance='outline'][color='important']){color:${X};border-color:${Me}}:host([appearance='outline'][color='informative']){color:${X};border-color:${io}}:host([appearance='outline'][color='severe']){color:${yi}}:host([appearance='outline'][color='subtle']){color:${Yn}}:host([appearance='outline'][color='success']){color:${ja}}:host([appearance='outline'][color='warning']){color:${Hr}}`,Wv=p.partial`:host([appearance='tint']){background-color:${si};color:${Ca};border-color:${li}}:host([appearance='tint'][color='danger']){background-color:${di};color:${Mr};border-color:${ui}}:host([appearance='tint'][color='important']){background-color:${X};color:${C};border-color:${U}}:host([appearance='tint'][color='informative']){background-color:${Pa};color:${X};border-color:${io}}:host([appearance='tint'][color='severe']){background-color:${bi};color:${Wa};border-color:${vi}}:host([appearance='tint'][color='subtle']){background-color:${C};color:${X};border-color:${io}}:host([appearance='tint'][color='success']){background-color:${gi};color:${Ra};border-color:${Va}}:host([appearance='tint'][color='warning']){background-color:${Ga};color:${Hr};border-color:${Ua}}`,Vc=p`:host([shape='square']){border-radius:${Vo}}:host([shape='rounded']){border-radius:${S}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Ne}}${Wv} ${qv} ${Hc} ${Mc} ${Lc} ${Dc} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;function Gv(o={}){return b`${Ve(o)}<slot>${ye(o.defaultContent)}</slot>${st(o)}`}const Rc=Gv(),jc={name:jv,registry:h.registry,styles:Vc,template:Rc};var Xv=Object.defineProperty,Uv=Object.getOwnPropertyDescriptor,en=(o,e,t,r)=>{for(var n=r>1?void 0:r?Uv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Xv(e,t,n),n};class Rt extends k{constructor(){super(...arguments),this.appearance=Fc.filled,this.color=Ec.brand}}en([a],Rt.prototype,"appearance",2),en([a],Rt.prototype,"color",2),en([a],Rt.prototype,"shape",2),en([a],Rt.prototype,"size",2),yt(Rt,it),Rt.define(jc);function Hi(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${Ve(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot></span>${st(o)}</template>`}const qc=Hi(),Wc={name:uv,registry:h.registry,styles:ho,template:qc};function at(o){const e=o.ownerDocument;o?.isConnected&&o?.hasAttribute("autofocus")&&o?.checkVisibility?.({contentVisibilityAuto:!0,visibilityProperty:!0})&&[null,o,e.body,e.documentElement].includes(e.activeElement)&&N.enqueue(()=>{o.focus()})}var Kv=Object.defineProperty,Yv=Object.getOwnPropertyDescriptor,ze=(o,e,t,r)=>{for(var n=r>1?void 0:r?Yv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Kv(e,t,n),n};class pe extends k{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledChanged(){this.setTabIndex()}disabledFocusableChanged(e,t){this.elementInternals&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==nr.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`,this.setTabIndex(),at(this)}createAndInsertFormSubmissionFallbackControl(){const e=this.formSubmissionFallbackControlSlot??document.createElement("slot");e.setAttribute("name","internal"),this.shadowRoot?.appendChild(e),this.formSubmissionFallbackControlSlot=e;const t=this.formSubmissionFallbackControl??document.createElement("button");t.style.display="none",t.setAttribute("type","submit"),t.setAttribute("slot","internal"),this.formNoValidate&&t.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&t.setAttribute("form",this.elementInternals.form.id),this.name&&t.setAttribute("name",this.name),this.value&&t.setAttribute("value",this.value),this.formAction&&t.setAttribute("formaction",this.formAction??""),this.formEnctype&&t.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&t.setAttribute("formmethod",this.formMethod??""),this.formTarget&&t.setAttribute("formtarget",this.formTarget??""),this.append(t),this.formSubmissionFallbackControl=t}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}if(e.key==="Enter"||e.key===" "){this.click();return}return!0}press(){switch(this.type){case nr.reset:{this.resetForm();break}case nr.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}setTabIndex(){if(this.disabled){this.removeAttribute("tabindex");return}this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==nr.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.formAttribute&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}pe.formAssociated=!0,ze([g],pe.prototype,"defaultSlottedContent",2),ze([a({mode:"boolean"})],pe.prototype,"disabled",2),ze([a({attribute:"disabled-focusable",mode:"boolean"})],pe.prototype,"disabledFocusable",2),ze([a({attribute:"formaction"})],pe.prototype,"formAction",2),ze([a({attribute:"form"})],pe.prototype,"formAttribute",2),ze([a({attribute:"formenctype"})],pe.prototype,"formEnctype",2),ze([a({attribute:"formmethod"})],pe.prototype,"formMethod",2),ze([a({attribute:"formnovalidate",mode:"boolean"})],pe.prototype,"formNoValidate",2),ze([a({attribute:"formtarget"})],pe.prototype,"formTarget",2),ze([a],pe.prototype,"name",2),ze([a],pe.prototype,"type",2),ze([a],pe.prototype,"value",2);var Jv=Object.defineProperty,Zv=Object.getOwnPropertyDescriptor,tn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Zv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Jv(e,t,n),n};class Ye extends pe{constructor(){super(...arguments),this.iconOnly=!1}}tn([a],Ye.prototype,"appearance",2),tn([a],Ye.prototype,"shape",2),tn([a],Ye.prototype,"size",2),tn([a({attribute:"icon-only",mode:"boolean"})],Ye.prototype,"iconOnly",2),yt(Ye,it),Ye.define(Wc);const Qv={circular:"circular",square:"square"},ey={medium:"medium",large:"large"},ty=`${h.prefix}-checkbox`,oy=P("active"),ry=P("bad-input"),$=P("checked"),ny=P("custom-error"),iy=P("description"),$e=P("disabled");P("error");const sy=P("flip-block"),ay=P("focus-visible");P("has-message");const jt=P("indeterminate"),po=P("multiple"),ly=P("open"),cy=P("pattern-mismatch"),dy=P("placeholder-shown"),L=P("pressed"),hy=P("range-overflow"),uy=P("range-underflow"),py=P("required"),Vi=P("selected"),gy=P("step-mismatch"),on=P("submenu"),fy=P("too-long"),by=P("too-short"),my=P("type-mismatch"),vy=P("user-invalid"),yy=P("valid"),$y=P("value-missing"),Gc=p`${x("inline-flex")} :host{--size:16px;background-color:${C};border-radius:${Ne};border:${B} solid ${Me};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${pt}}:host(:active){border-color:${gt}}:host(${$}:hover){background-color:${Ft};border-color:${Fa}}:host(${$}:active){background-color:${Et};border-color:${ci}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${ue} solid ${U};border-radius:${S}}:host(:not([slot='input']):focus-visible)::after{border-color:${se}}.indeterminate-indicator,.checked-indicator{color:${ht};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${$})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${$}),:host(${jt}){border-color:${nt}}:host(${$}),:host(${jt}) .indeterminate-indicator{background-color:${ut}}:host(${jt}) .indeterminate-indicator{border-radius:${Ne};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${de}}:host([disabled]),:host([disabled]${$}){background-color:${rt};border-color:${be}}:host([disabled]){cursor:unset}:host([disabled]${jt}) .indeterminate-indicator{background-color:${be}}:host([disabled]${$}) .checked-indicator{color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${$}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${$}),:host(${jt}) .indeterminate-indicator{background-color:FieldText}:host(${$}:not([disabled]):hover),:host(${jt}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${jt}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${$}) .checked-indicator{color:GrayText}}`,ky=b.partial('<svg fill=currentColor aria-hidden=true class=checked-indicator width=1em height=1em viewBox="0 0 12 12" xmlns=http://www.w3.org/2000/svg><path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill=currentColor></path></svg>'),xy=b.partial("<span class=indeterminate-indicator></span>");function wy(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${ye(o.checkedIndicator)}</slot><slot name=indeterminate-indicator>${ye(o.indeterminateIndicator)}</slot></template>`}const Xc=wy({checkedIndicator:ky,indeterminateIndicator:xy}),Uc={name:ty,registry:h.registry,styles:Gc,template:Xc};var Sy=Object.defineProperty,Cy=Object.getOwnPropertyDescriptor,qt=(o,e,t,r)=>{for(var n=r>1?void 0:r?Cy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Sy(e,t,n),n};class _e extends k{constructor(){super(...arguments),this.initialValue="on",this._keydownPressed=!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(e){this._checked=e,this.setFormValue(e?this.value:null),this.setValidity(),this.setAriaChecked(),y(this.elementInternals,"checked",e),m.notify(this,"checked")}disabledChanged(e,t){this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(e,t){this.disabled=!!t}initialCheckedChanged(e,t){this.dirtyChecked||(this.checked=!!t)}initialValueChanged(e,t){this._value=t}requiredChanged(e,t){this.elementInternals&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals?.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="checkbox",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(e){this._value=e,this.elementInternals&&(this.setFormValue(e),this.setValidity()),m.notify(this,"value")}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;this.dirtyChecked=!0;const t=this.checked;return this.toggleChecked(),t!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.disabled=!!this.disabledAttribute,this.setAriaChecked(),this.setValidity(),at(this)}inputHandler(e){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(e){if(e.key!==" ")return!0;this._keydownPressed=!0}keyupHandler(e){if(!this._keydownPressed||e.key!==" ")return!0;this._keydownPressed=!1,this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(e=this.checked){this.elementInternals&&(this.elementInternals.ariaChecked=e?"true":"false")}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.setValidity()}setValidity(e,t,r){if(this.elementInternals){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...e},t??this.validationMessage,r)}}toggleChecked(e=!this.checked){this.checked=e}}_e.formAssociated=!0,qt([g],_e.prototype,"disabled",2),qt([a({attribute:"disabled",mode:"boolean"})],_e.prototype,"disabledAttribute",2),qt([a({attribute:"form"})],_e.prototype,"formAttribute",2),qt([a({attribute:"checked",mode:"boolean"})],_e.prototype,"initialChecked",2),qt([a({attribute:"value",mode:"fromView"})],_e.prototype,"initialValue",2),qt([a],_e.prototype,"name",2),qt([a({mode:"boolean"})],_e.prototype,"required",2);var By=Object.defineProperty,Py=Object.getOwnPropertyDescriptor,Ri=(o,e,t,r)=>{for(var n=r>1?void 0:r?Py(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&By(e,t,n),n};class sr extends _e{indeterminateChanged(e,t){this.setAriaChecked(),y(this.elementInternals,"indeterminate",t)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(e=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(e)}toggleChecked(e=!this.checked){this.indeterminate=!1,super.toggleChecked(e)}}Ri([g],sr.prototype,"indeterminate",2),Ri([a],sr.prototype,"shape",2),Ri([a],sr.prototype,"size",2),sr.define(Uc);const Iy=tr,Ay=or,Ny=rr,Ty=`${h.prefix}-compound-button`,Kc=p`${ho} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${z};line-height:${D}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ae};line-height:100%;font-size:${E};font-weight:${_}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${_t}}:host(:active) ::slotted([slot='description']){color:${Ot}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${Ue}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${Ae}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${_o}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${Oo}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance])) ::slotted([slot='description']){color:${T}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${ve}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${Q}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${Te}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${he};line-height:${me}}:host([size='large']) ::slotted([slot='description']){font-size:${z}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;function zy(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${Ve(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot><slot name=description></slot></span>${st(o)}</template>`}const Yc=zy(),Jc={name:Ty,registry:h.registry,styles:Kc,template:Yc};class Zc extends Ye{}Zc.define(Jc);const _y={filled:"filled",ghost:"ghost"},Oy={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Fy={circular:"circular",rounded:"rounded"},Ey={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Qc=`${h.prefix}-counter-badge`,ed=p`:host([shape='rounded']){border-radius:${S}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Ne}}${Lc} ${Mc} ${Hc} ${Dc} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;function Dy(o={}){return b`${Ve(o)} <span>${e=>e.displayValue}</span> ${st(o)}`}const td=Dy(),od={name:Qc,registry:h.registry,styles:ed,template:td};var Ly=Object.defineProperty,My=Object.getOwnPropertyDescriptor,ar=(o,e,t,r)=>{for(var n=r>1?void 0:r?My(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ly(e,t,n),n};class Wt extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}get displayValue(){const e=this.count??0;return!this.showZero&&e===0||this.dot?"":this.overflowCount>0&&e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}ar([a({converter:ie})],Wt.prototype,"count",2),ar([a({attribute:"overflow-count",converter:ie})],Wt.prototype,"overflowCount",2),ar([a({attribute:"show-zero",mode:"boolean"})],Wt.prototype,"showZero",2),ar([a({mode:"boolean"})],Wt.prototype,"dot",2),ar([Ce],Wt.prototype,"displayValue",1);var Hy=Object.defineProperty,Vy=Object.getOwnPropertyDescriptor,rn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Vy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Hy(e,t,n),n};class Gt extends Wt{}rn([a],Gt.prototype,"appearance",2),rn([a],Gt.prototype,"color",2),rn([a],Gt.prototype,"shape",2),rn([a],Gt.prototype,"size",2),yt(Gt,it),Gt.define(od);const wt={modal:"modal",nonModal:"non-modal",alert:"alert"};function ji(o,e="-dialog"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Ry=`${h.prefix}-dialog`,rd=p`@layer base{:host{--dialog-backdrop:${Er};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${C};border-radius:${xi};border:none;box-shadow:${zi};color:${I};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${vt};opacity:0}::backdrop{transition-timing-function:${Ur}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${mt}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${B} solid ${U}}}}`,nd=b`<dialog class=dialog part=dialog aria-modal=${o=>o.dialogModal} aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} role=${o=>o.dialogRole} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.hide()} ${A("dialog")}><div tabindex=-1></div><slot></slot></dialog>`,id={name:Ry,registry:h.registry,styles:rd,template:nd};var jy=Object.defineProperty,qy=Object.getOwnPropertyDescriptor,Je=(o,e,t,r)=>{for(var n=r>1?void 0:r?qy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&jy(e,t,n),n};class Oe extends k{constructor(){super(...arguments),this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type!==wt.nonModal)return!0}get dialogRole(){if(this.dialog&&this.type===wt.alert)return"alertdialog"}connectedCallback(){super.connectedCallback(),N.enqueue(()=>{this.type=this.type??wt.modal})}emitBeforeToggle(){this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}show(){N.enqueue(()=>{this.emitBeforeToggle(),this.type===wt.alert||this.type===wt.modal?this.dialog.showModal():this.type===wt.nonModal&&this.dialog.show(),this.querySelector("[autofocus]")?.focus?.(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&this.type!==wt.alert&&e.target===this.dialog&&this.hide(),!0}}Je([g],Oe.prototype,"dialog",2),Je([a({attribute:"aria-describedby"})],Oe.prototype,"ariaDescribedby",2),Je([a({attribute:"aria-labelledby"})],Oe.prototype,"ariaLabelledby",2),Je([a({attribute:"aria-label"})],Oe.prototype,"ariaLabel",2),Je([a],Oe.prototype,"type",2),Je([Ce],Oe.prototype,"dialogDescribedby",1),Je([Ce],Oe.prototype,"dialogLabel",1),Je([Ce],Oe.prototype,"dialogLabelledby",1),Je([Ce],Oe.prototype,"dialogModal",1),Je([Ce],Oe.prototype,"dialogRole",1),Oe.define(id);const Wy=`${h.prefix}-dialog-body`,sd=p`${x("grid")} :host{background:${C};box-sizing:border-box;gap:${te};padding:${bt} ${Xo};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${C};color:${I};column-gap:8px;display:flex;font-family:${v};font-size:${Dt};font-weight:${M};inset-block-start:0;justify-content:space-between;line-height:${Wo};margin-block-end:calc(${te} * -1);margin-block-start:calc(${bt} * -1);padding-block-end:${te};padding-block-start:${bt}}.content{box-sizing:border-box;color:${I};font-family:${v};font-size:${z};font-weight:${_};line-height:${D};min-height:32px}.actions{box-sizing:border-box;background:${C};display:flex;flex-direction:column;gap:${te};inset-block-end:0;margin-block-end:calc(${bt} * -1);padding-block-end:${bt};padding-block-start:${Wr}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${te} * -1);padding-block-start:${te}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}}`,ad=b`<template><div class=title part=title><slot name=title></slot><slot name=title-action></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=actions part=actions><slot name=action></slot></div></template>`,ld={name:Wy,registry:h.registry,styles:sd,template:ad};class cd extends k{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;ji(t)&&t.hide()}return!0}}cd.define(ld);const ke={horizontal:"horizontal",vertical:"vertical"},go={separator:"separator",presentation:"presentation"},qi=ke,Gy={center:"center",start:"start",end:"end"},Xy={strong:"strong",brand:"brand",subtle:"subtle"},Uy=`${h.prefix}-divider`,dd=p`${x("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${io};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${B}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Ae};font-family:${v};font-size:${E};font-weight:${_};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${B};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${He}}:host([appearance='strong']) ::slotted(*){color:${I}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${ai}}:host([appearance='brand']) ::slotted(*){color:${Fo}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${_a}}:host([appearance='subtle']) ::slotted(*){color:${X}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`;function Ky(){return b`<slot></slot>`}const hd=Ky(),ud={name:Uy,registry:h.registry,styles:dd,template:hd};var Yy=Object.defineProperty,Jy=Object.getOwnPropertyDescriptor,pd=(o,e,t,r)=>{for(var n=r>1?void 0:r?Jy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Yy(e,t,n),n};class nn extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??go.separator,this.role!==go.presentation&&(this.elementInternals.ariaOrientation=this.orientation??qi.horizontal)}roleChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.role=`${t??go.separator}`),t===go.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.role!==go.presentation?t??null:null,Mt(this.elementInternals,e,t,qi)}}pd([a],nn.prototype,"role",2),pd([a],nn.prototype,"orientation",2);var Zy=Object.defineProperty,Qy=Object.getOwnPropertyDescriptor,Wi=(o,e,t,r)=>{for(var n=r>1?void 0:r?Qy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Zy(e,t,n),n};class lr extends nn{}Wi([a({attribute:"align-content"})],lr.prototype,"alignContent",2),Wi([a],lr.prototype,"appearance",2),Wi([a({mode:"boolean"})],lr.prototype,"inset",2),lr.define(ud);const gd={start:"start",end:"end"},fd={small:"small",medium:"medium",large:"large",full:"full"},fo={nonModal:"non-modal",modal:"modal",inline:"inline"},e$=`${h.prefix}-drawer`,bd=p`${x("block")} :host{--dialog-backdrop:${Er}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{background:${C};border-radius:0;border:${B} solid ${U};border-inline-end-color:${U};border-inline-start-color:var(--drawer-separator,${U});box-shadow:${zi};box-sizing:border-box;color:${I};font-family:${v};font-size:${z};font-weight:${_};height:100%;line-height:${D};margin-inline-end:auto;margin-inline-start:0;max-height:100vh;max-width:calc(100vw - ${Xo});outline:none;padding:0;bottom:0;top:0;width:var(--drawer-width,592px);z-index:var(--drawer-elevation,1000)}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Xr};transition-timing-function:${vt}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${mt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${mt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${vt};background:var(--dialog-backdrop,${Er});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Ur}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function t$(){return b`<dialog class=dialog part=dialog aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} aria-modal=${o=>o.dialogModal} role=${o=>o.dialogRole} size=${o=>o.size} position=${o=>o.position} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.cancelHandler()} ${A("dialog")}><slot></slot></dialog>`}const md=t$(),vd={name:e$,registry:h.registry,styles:bd,template:md};var o$=Object.defineProperty,r$=Object.getOwnPropertyDescriptor,Fe=(o,e,t,r)=>{for(var n=r>1?void 0:r?r$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&o$(e,t,n),n};class xe extends k{constructor(){super(...arguments),this.position=gd.start,this.size=fd.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type===fo.modal)return!0}get dialogRole(){return this.dialog&&this.type===fo.modal?"dialog":this.role}connectedCallback(){super.connectedCallback(),N.enqueue(()=>{this.type=this.type??fo.modal})}show(){N.enqueue(()=>{this.emitBeforeToggle(),this.type===fo.inline||this.type===fo.nonModal?this.dialog.show():this.dialog.showModal(),this.querySelector("[autofocus]")?.focus?.(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&e.target===this.dialog&&this.hide(),!0}cancelHandler(){this.hide()}}Fe([a],xe.prototype,"type",2),Fe([a({attribute:"aria-labelledby"})],xe.prototype,"ariaLabelledby",2),Fe([a({attribute:"aria-describedby"})],xe.prototype,"ariaDescribedby",2),Fe([a],xe.prototype,"position",2),Fe([g],xe.prototype,"role",2),Fe([a({attribute:"size"})],xe.prototype,"size",2),Fe([g],xe.prototype,"dialog",2),Fe([Ce],xe.prototype,"dialogDescribedby",1),Fe([Ce],xe.prototype,"dialogLabel",1),Fe([Ce],xe.prototype,"dialogLabelledby",1),Fe([Ce],xe.prototype,"dialogModal",1),Fe([Ce],xe.prototype,"dialogRole",1),xe.define(vd);const n$=`${h.prefix}-drawer-body`,Gi=p.partial`font-family:${v};font-size:${z};line-height:${D};font-weight:${_};`,i$=p.partial`font-family:${v};font-size:${z};line-height:${D};font-weight:${M};`,s$=p.partial`font-family:${v};font-size:${z};line-height:${D};font-weight:${jo};`,yd=p.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${_};`,Xi=p.partial`font-family:${v};font-size:${E};line-height:${R};font-weight:${_};`,a$=p.partial`font-family:${v};font-size:${E};line-height:${R};font-weight:${M};`,l$=p.partial`font-family:${v};font-size:${E};line-height:${R};font-weight:${jo};`,c$=p.partial`font-family:${v};font-size:${so};line-height:${qo};font-weight:${_};`,d$=p.partial`font-family:${v};font-size:${so};line-height:${qo};font-weight:${M};`,$d=p.partial`font-family:${v};font-size:${Dt};line-height:${Wo};font-weight:${M};`,h$=p.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${M};`,u$=p.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${jo};`,p$=p.partial`font-family:${v};font-size:${Si};line-height:${Ai};font-weight:${M};`,g$=p.partial`font-family:${v};font-size:${wi};line-height:${Ii};font-weight:${M};`,f$=p.partial`font-family:${v};font-size:${Ro};line-height:${Pi};font-weight:${M};`,b$=p.partial`font-family:${v};font-size:${Ci};line-height:${Ni};font-weight:${M};`,m$=p.partial`font-family:${v};font-size:${Bi};line-height:${Ti};font-weight:${M};`,kd=p`${x("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${ic};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${$d}}.footer{display:flex;justify-content:flex-start;gap:${ee}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;function v$(){return b`<div class=header part=header><slot name=title></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=footer part=footer><slot name=footer></slot></div>`}const xd=v$(),wd={name:n$,registry:h.registry,styles:kd,template:xd};class Sd extends k{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;ji(t,"-drawer")&&t.hide()}return!0}}Sd.define(wd);function y$(o,e="-dropdown"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Cd={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},$$={small:"small",medium:"medium",large:"large"},sn={combobox:"combobox",dropdown:"dropdown",select:"select"},k$=`${h.prefix}-dropdown`,Bd=p`${x("inline-flex")} :host{box-sizing:border-box;color:${I};cursor:pointer}:host(${dy}){color:${Or}}.control{appearance:none;background-color:${C};border-radius:${S};border:${B} solid ${U};box-shadow:inset 0 0 0 ${B} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${H};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${ao} ${Ke};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${Gi}}:host([size='small']) .control{column-gap:${H};padding:${Lt} ${ve};${Xi}}:host([size='large']) .control{column-gap:${Te};padding:${te} ${ee};${yd}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${X};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${B}}.control::after{background-color:${nt};height:${ue};scale:0 1;transition:scale ${Gr} ${vt}}:host(:where(:focus-within)) .control{border-radius:${S};box-shadow:inset 0 0 0 1px ${Ho};outline:${ue} solid ${se}}:host(:where(${ly},:focus-within)) .control::after{scale:1 1;transition-duration:${Jo};transition-timing-function:${mt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${Me}}:host([appearance='transparent']) .control{--control-border-color:${Dr};background-color:${ce};border-radius:${Vo}}:host([appearance='outline']) .control{--control-border-color:${He}}:host([appearance='outline']) .control:hover{--control-border-color:${ft}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${pt}}:host([appearance='outline']) .control:hover::after{background-color:${Ft}}:host([appearance='outline']) .control:active{--control-border-color:${no}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${gt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${Et}}:host([appearance='filled-darker']) .control{background-color:${to}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${U}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${be};background-color:${rt};color:${T}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${D} + (${ao} * 2) + ${B})}:host([size='small']){--margin-offset:calc(${R} + (${Lt} * 2) + ${B})}:host([size='large']){--margin-offset:calc(${me} + (${te} * 2) + ${B})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}}`,x$=b`<svg class=chevron-down-20-regular aria-hidden=true slot=indicator viewBox="0 0 20 20" ${A("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill=currentColor /></svg>`,Pd=b`<input @input=${(o,e)=>o.inputHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-labelledby=${o=>o.ariaLabelledBy} aria-expanded=${o=>o.open} aria-haspopup=listbox placeholder=${o=>o.placeholder} role=combobox ?disabled=${o=>o.disabled} type=${o=>o.type} value=${o=>o.valueAttribute} slot=control ${A("control")}>`,Id=b`<button aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-expanded=${o=>o.open} aria-haspopup=listbox role=combobox ?disabled=${o=>o.disabled} type=button slot=control ${A("control")}>${o=>o.displayValue}</button>`;function w$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @focusout=${(e,t)=>e.focusoutHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @mousedown=${(e,t)=>e.mousedownHandler(t.event)}><div class=control><slot name=control ${A("controlSlot")}></slot><slot name=indicator ${A("indicatorSlot")}>${ye(o.indicator)}</slot></div><slot @slotchange=${(e,t)=>e.slotchangeHandler(t.event)}></slot></template>`}const Ad=w$({indicator:x$}),Nd={name:k$,registry:h.registry,styles:Bd,template:Ad};function Ui(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const S$=`${h.prefix}-listbox`;function St(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const C$=`${h.prefix}-option`,lt={ltr:"ltr",rtl:"rtl"},Ki=o=>o.closest("[dir]")?.dir==="rtl"?lt.rtl:lt.ltr;function Td(o){return o.closest("[lang]")?.lang??"en"}let B$=0;function Ze(o="id-"){const e=`${o}${B$++}`;return document.getElementById(e)?Ze(o):e}var P$=Object.defineProperty,I$=Object.getOwnPropertyDescriptor,Y=(o,e,t,r)=>{for(var n=r>1?void 0:r?I$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&P$(e,t,n),n};const j=class wo extends k{constructor(){super(),this.activeIndex=0,this.id=Ze("dropdown-"),this.required=!1,this.type=sn.dropdown,this.valueAttribute="",this.repositionListbox=()=>{this.frameId&&cancelAnimationFrame(this.frameId),this.frameId=requestAnimationFrame(()=>{const e=this.getBoundingClientRect(),t=window.innerWidth-e.right,r=e.left;this.listbox.style.minWidth=`${e.width}px`,this.listbox.style.top=`${e.top}px`,r+e.width>window.innerWidth||Ki(this)==="rtl"&&t-e.width>0?(this.listbox.style.right=`${t}px`,this.listbox.style.left="unset"):(this.listbox.style.left=`${r}px`,this.listbox.style.right="unset")})},this.elementInternals=this.attachInternals(),this._insertingControl=!1,this.searchTimeoutMs=500,this.searchString="",this.elementInternals.role="presentation"}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const r=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((n,i)=>{n.active=i===r}),this.open&&this.enabledOptions[r]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Ze("input-"))}disabledChanged(e,t){this.listbox&&N.enqueue(()=>{this.options.forEach(r=>{r.disabled=r.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return y(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(Td(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return y(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&m.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",t.tabIndex=-1;const r=m.getNotifier(this);if(r.subscribe(t),r.notify("multiple"),N.enqueue(()=>{this.options.forEach(n=>{n.disabled=n.disabledAttribute||this.disabled,n.name=this.name}),this.enabledOptions.filter(n=>n.defaultSelected).forEach((n,i)=>{n.selected=this.multiple||i===0}),this.setValidity()}),Zr){const n=Ze("--dropdown-anchor-");this.style.setProperty("anchor-name",n),this.listbox.style.setProperty("position-anchor",n)}}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){this.listbox&&N.enqueue(()=>{this.options.forEach(r=>{r.name=t})})}openChanged(e,t){y(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,Zr||this.anchorPositionFallback(t)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??Array.from(this.querySelectorAll("*")).filter(e=>St(e)&&!e.disabled)}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===sn.combobox}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get options(){return this.listbox?.options??Array.from(this.querySelectorAll("*")).filter(e=>St(e))}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.name="validation-message-fallback",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return!this.disabled&&this.required&&this.listbox.selectedOptions.length===0?this._validationFallbackMessage:""}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),m.track(this,"value"))}get willValidate(){return this.elementInternals.willValidate}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(r=>r.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),(t===this.control||e.composedPath().includes(this.indicator))&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(St(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(Td(this),{usage:"search",sensitivity:"base"})),t.filter(r=>this.listCollator.compare(r.text.substring(0,Math.min(r.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)}),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,r=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=r,!0}insertControl(){if(!this._insertingControl){if(this._insertingControl=!0,this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===sn.combobox){Pd.render(this,this);return}Id.render(this,this),this._insertingControl=!1}}handleSearchCharacter(e){const t=this.searchString===e.repeat(this.searchString.length);this.searchString+=e;let r=this.searchString.length>1?this.filterOptions(this.searchString):[],n=!1;if(!r.length&&t&&(r=this.filterOptions(e),n=!0),r.length){const i=this.enabledOptions[this.activeIndex],s=r.indexOf(i),l=n?r[this.getEnabledIndexInBounds(s+1,r.length)]:s>=0?i:r[0];this.activeIndex=this.enabledOptions.indexOf(l)}clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchString="",this.searchTimeout=void 0},this.searchTimeoutMs)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":case"Enter":case"Tab":{if(e.key===" "){if(this.isCombobox)break;e.preventDefault()}if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!this.isCombobox&&e.key.length===1&&e.key!==" "&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(this.open||this.listbox.showPopover(),this.handleSearchCharacter(e.key)),!0;if(!this.open){this.listbox.showPopover();return}let r=this.activeIndex;r+=t;let n=this.getEnabledIndexInBounds(r);return n===0&&this.freeformOption?.hidden&&(n=this.getEnabledIndexInBounds(r+t)),this.activeIndex=n,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!St(e.target)}reportValidity(){return this.elementInternals.reportValidity()}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control&&(this.control.value=this.displayValue),this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,r){if(!this.elementInternals)return;if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const n=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:n,...e},t??this.validationMessage,r??this.control)}slotchangeHandler(e){const t=e.target;er(this,()=>{const r=t.assignedElements().find(n=>Ui(n));r&&(this.listbox=r)})}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}connectedCallback(){super.connectedCallback(),N.enqueue(()=>{this.insertControl()}),at(this)}disconnectedCallback(){wo.AnchorPositionFallbackObserver?.disconnect(),this.debounceController?.abort(),this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=void 0,this.searchString=""),super.disconnectedCallback()}anchorPositionFallback(e){if(wo.AnchorPositionFallbackObserver||(wo.AnchorPositionFallbackObserver=new IntersectionObserver(t=>{t.forEach(({boundingClientRect:r,isIntersecting:n,target:i})=>{if(Ui(i)){if(r.bottom>window.innerHeight){y(i.elementInternals,"flip-block",!0);return}r.top<0&&y(i.elementInternals,"flip-block",!1)}})},{threshold:1})),e){this.debounceController=new AbortController,wo.AnchorPositionFallbackObserver.observe(this.listbox),window.addEventListener("scroll",this.repositionListbox,{passive:!0,capture:!0,signal:this.debounceController.signal}),window.addEventListener("resize",this.repositionListbox,{passive:!0,signal:this.debounceController.signal}),this.repositionListbox();return}wo.AnchorPositionFallbackObserver.unobserve(this.listbox),this.debounceController?.abort(),this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=void 0)}};j.formAssociated=!0,Y([Ce],j.prototype,"activeDescendant",1),Y([g],j.prototype,"activeIndex",2),Y([a({attribute:"aria-labelledby",mode:"fromView"})],j.prototype,"ariaLabelledBy",2),Y([g],j.prototype,"control",2),Y([a({mode:"boolean"})],j.prototype,"disabled",2),Y([Ce],j.prototype,"displayValue",1),Y([a({attribute:"id"})],j.prototype,"id",2),Y([g],j.prototype,"indicator",2),Y([g],j.prototype,"indicatorSlot",2),Y([a({attribute:"value",mode:"fromView"})],j.prototype,"initialValue",2),Y([g],j.prototype,"listbox",2),Y([a({mode:"boolean"})],j.prototype,"multiple",2),Y([a],j.prototype,"name",2),Y([g],j.prototype,"open",2),Y([a],j.prototype,"placeholder",2),Y([a({mode:"boolean"})],j.prototype,"required",2),Y([a],j.prototype,"type",2),Y([a({attribute:"value"})],j.prototype,"valueAttribute",2);let zd=j;var A$=Object.defineProperty,N$=Object.getOwnPropertyDescriptor,_d=(o,e,t,r)=>{for(var n=r>1?void 0:r?N$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&A$(e,t,n),n};class an extends zd{constructor(){super(...arguments),this.appearance=Cd.outline}}_d([a],an.prototype,"appearance",2),_d([a],an.prototype,"size",2),an.define(Nd);const Od={above:"above",after:"after",before:"before"},Pe={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"},T$=`${h.prefix}-field`,Fd=p`${x("inline-grid")} :host{color:${I};align-items:center;gap:0 ${ee};justify-items:start}:has([slot='message']){color:${I};row-gap:${te}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${ee}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${Uo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${sc}}:host(${py}) ::slotted([slot='label'])::after{content:'*'/'';color:${Mr};margin-inline-start:${Q}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${X};font-family:${v};font-size:${E};font-weight:${_};grid-area:message;line-height:${R};margin-block-start:${Uo}}:host(${ay}:focus-within){border-radius:${S};outline:${ue} solid ${se}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${v};font-size:${z};font-weight:${_};grid-area:label;line-height:${D};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${E};line-height:${R}}:host([size='large']) ::slotted(label){font-size:${he};line-height:${me}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${M}}:host(${$e}){cursor:default}::slotted([flag]){display:none}:host(${ry}) ::slotted([flag='${Pe.badInput}']),:host(${ny}) ::slotted([flag='${Pe.customError}']),:host(${cy}) ::slotted([flag='${Pe.patternMismatch}']),:host(${hy}) ::slotted([flag='${Pe.rangeOverflow}']),:host(${uy}) ::slotted([flag='${Pe.rangeUnderflow}']),:host(${gy}) ::slotted([flag='${Pe.stepMismatch}']),:host(${fy}) ::slotted([flag='${Pe.tooLong}']),:host(${by}) ::slotted([flag='${Pe.tooShort}']),:host(${my}) ::slotted([flag='${Pe.typeMismatch}']),:host(${$y}) ::slotted([flag='${Pe.valueMissing}']),:host(${yy}) ::slotted([flag='${Pe.valid}']){display:block}`,Ed=b`<template @click=${(o,e)=>o.clickHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @focusout=${(o,e)=>o.focusoutHandler(e.event)}><slot name=label part=label ${K("labelSlot")}></slot><slot name=input part=input ${K("slottedInputs")}></slot><slot name=message part=message ${K({property:"messageSlot",filter:Ao("[flag]")})}></slot></template>`,Dd={name:T$,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:Fd,template:Ed};var z$=Object.defineProperty,_$=Object.getOwnPropertyDescriptor,ln=(o,e,t,r)=>{for(var n=r>1?void 0:r?_$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&z$(e,t,n),n};class bo extends k{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}get slottedInputObserver(){return this._slottedInputObserver??(this._slottedInputObserver=new MutationObserver(()=>{this.setStates()})),this._slottedInputObserver}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){y(this.elementInternals,"has-message",!!t.length)}slottedInputsChanged(e,t){const r=t?.filter(n=>n.nodeType===Node.ELEMENT_NODE)??[];r?.length&&(this.input=r?.[0])}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties(),this.slottedInputObserver.observe(t,{attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0}))}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("invalid",this.invalidHandler,{capture:!0})}disconnectedCallback(){this.slottedInputObserver.disconnect(),this.removeEventListener("invalid",this.invalidHandler,{capture:!0}),super.disconnectedCallback()}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&y(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return y(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Ze("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&(y(this.elementInternals,"disabled",!!this.input.disabled),y(this.elementInternals,"readonly",!!this.input.readOnly),y(this.elementInternals,"required",!!this.input.required),y(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input?.validity)for(const[e,t]of Object.entries(Pe))y(this.elementInternals,t,this.input.validity[e])}}ln([g],bo.prototype,"labelSlot",2),ln([g],bo.prototype,"messageSlot",2),ln([g],bo.prototype,"slottedInputs",2),ln([g],bo.prototype,"input",2);var O$=Object.defineProperty,F$=Object.getOwnPropertyDescriptor,E$=(o,e,t,r)=>{for(var n=r>1?void 0:r?F$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&O$(e,t,n),n};class Yi extends bo{constructor(){super(...arguments),this.labelPosition=Od.above}}E$([a({attribute:"label-position"})],Yi.prototype,"labelPosition",2),Yi.define(Dd);const D$={none:"none",center:"center",contain:"contain",cover:"cover"},L$={circular:"circular",rounded:"rounded",square:"square"},M$=`${h.prefix}-image`,Ld=p`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${B} solid ${io}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Go}}:host([shape='circular']) ::slotted(img){border-radius:${de}}:host([shape='rounded']) ::slotted(img){border-radius:${S}}`,Md=b`<slot></slot>`,Hd={name:M$,registry:h.registry,styles:Ld,template:Md};var H$=Object.defineProperty,V$=Object.getOwnPropertyDescriptor,cr=(o,e,t,r)=>{for(var n=r>1?void 0:r?V$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&H$(e,t,n),n};class Xt extends k{}cr([a({mode:"boolean"})],Xt.prototype,"block",2),cr([a({mode:"boolean"})],Xt.prototype,"bordered",2),cr([a({mode:"boolean"})],Xt.prototype,"shadow",2),cr([a],Xt.prototype,"fit",2),cr([a],Xt.prototype,"shape",2),Xt.define(Hd);const R$={small:"small",medium:"medium",large:"large"},j$={regular:"regular",semibold:"semibold"},q$=`${h.prefix}-label`,Vd=p`${x("inline-flex")} :host{color:${I};cursor:pointer;font-family:${v};font-size:${z};font-weight:${_};line-height:${D};user-select:none}.asterisk{color:${Mr};margin-inline-start:${Q}}:host([size='small']){font-size:${E};line-height:${R}}:host([size='large']){font-size:${he};line-height:${me}}:host(:is([size='large'],[weight='semibold'])){font-weight:${M}}:host([disabled]),:host([disabled]) .asterisk{color:${T}}`;function W$(){return b`<slot></slot><span part=asterisk class=asterisk aria-hidden=true ?hidden=${o=>!o.required}>*</span>`}const Rd=W$(),jd={name:q$,registry:h.registry,styles:Vd,template:Rd};var G$=Object.defineProperty,X$=Object.getOwnPropertyDescriptor,cn=(o,e,t,r)=>{for(var n=r>1?void 0:r?X$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&G$(e,t,n),n};class mo extends k{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}cn([a],mo.prototype,"size",2),cn([a],mo.prototype,"weight",2),cn([a({mode:"boolean"})],mo.prototype,"disabled",2),cn([a({mode:"boolean"})],mo.prototype,"required",2),mo.define(jd);const U$={subtle:"subtle"},K$=wc,Y$=`${h.prefix}-link`,qd=p`${x("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${fa};cursor:pointer;font-family:${v};font-size:${z};font-weight:${_};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${B};text-overflow:inherit;user-select:text}:host(:hover){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${ba}}:host(:active){color:${ma}}:host([appearance='subtle']:hover){color:${ya}}:host([appearance='subtle']:active){color:${$a}}}:host([appearance='subtle']){color:${va}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:focus-visible),:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)):focus-visible,:host([inline]:focus-visible){outline-style:none;text-decoration-line:underline;text-decoration-style:double;text-decoration-color:${se}}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;function J$(){return b`<template tabindex=0 @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot></slot></template>`}const Wd=J$(),Gd={name:Y$,registry:h.registry,styles:qd,template:Wd};var Z$=Object.defineProperty,Q$=Object.getOwnPropertyDescriptor,Xd=(o,e,t,r)=>{for(var n=r>1?void 0:r?Q$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Z$(e,t,n),n};class dn extends Re{constructor(){super(...arguments),this.inline=!1}}Xd([a],dn.prototype,"appearance",2),Xd([a({mode:"boolean"})],dn.prototype,"inline",2),dn.define(Gd);const Ud=p`${x("inline-flex")} :host{background-color:${C};border-radius:${S};border:${B} solid ${U};box-shadow:${Rr};box-sizing:border-box;flex-direction:column;margin:0;min-inline-size:160px;padding:${Q};row-gap:${H};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:fixed;max-block-size:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-inline-size:anchor-size(inline);inset-block-start:anchor(outside);inset-inline-start:anchor(inside);position-try-fallbacks:flip-block,flip-inline,flip-inline flip-block}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-block-size:var(--listbox-max-height,50vh);position:absolute}:host([popover]${sy}){margin-block-start:revert;translate:0 -100%}}`;function Kd(){return b`<template @beforetoggle=${(o,e)=>o.beforetoggleHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)}><slot ${A("defaultSlot")} @slotchange=${(o,e)=>o.slotchangeHandler(e.event)}></slot></template>`}const Yd=Kd(),Jd={name:S$,registry:h.registry,styles:Ud,template:Yd};var e0=Object.defineProperty,t0=Object.getOwnPropertyDescriptor,dr=(o,e,t,r)=>{for(var n=r>1?void 0:r?t0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&e0(e,t,n),n};class Ut extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="listbox"}defaultSlotChanged(){this.slotchangeHandler()}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),N.enqueue(()=>{this.options.forEach(r=>{r.multiple=!!t})})}optionsChanged(e,t){t?.forEach((r,n)=>{r.elementInternals.ariaPosInSet=`${n+1}`,r.elementInternals.ariaSetSize=`${t.length}`})}beforetoggleHandler(e){if(!this.dropdown)return!0;if(this.dropdown.disabled){this.dropdown.open=!1;return}return this.dropdown.open=e.newState==="open",!0}get enabledOptions(){return this.options?.filter(e=>!e.disabled)??Array.from(this.querySelectorAll("*")).filter(e=>St(e)&&!e.disabled)??[]}get selectedOptions(){return this.options?.filter(e=>e.selected)??[]}clickHandler(e){if(this.dropdown)return!0;const t=e.target;return St(t)&&this.selectOption(this.enabledOptions.indexOf(t)),!0}connectedCallback(){super.connectedCallback(),er(this,()=>{this.id=this.id||Ze("listbox-")},{shallow:!0})}handleChange(e,t){if(t==="multiple"){this.multiple=e.multiple;return}}selectOption(e=this.selectedIndex){let t=this.selectedIndex;if(!this.multiple)this.enabledOptions.forEach((r,n)=>{const i=n===e;r.selected=i,i&&(t=n)});else{const r=this.enabledOptions[e];r&&(r.selected=!r.selected),t=e}this.selectedIndex=t}slotchangeHandler(e){er(this,()=>{if(this.defaultSlot){const t=this.defaultSlot.assignedElements().filter(r=>St(r));this.options=t}})}}dr([g],Ut.prototype,"defaultSlot",2),dr([g],Ut.prototype,"multiple",2),dr([g],Ut.prototype,"options",2),dr([g],Ut.prototype,"selectedIndex",2),dr([g],Ut.prototype,"dropdown",2),Ut.define(Jd);const o0=tr,r0=or,n0=rr,i0=`${h.prefix}-menu-button`,s0=ho,Zd=Hi({end:b.partial('<svg slot=end fill=currentColor aria-hidden=true width=1em height=1em viewBox="0 0 20 20" xmlns=http://www.w3.org/2000/svg><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill=currentColor></path></svg>')}),Qd={name:i0,registry:h.registry,styles:s0,template:Zd};class eh extends Ye{}eh.define(Qd);const J={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},a0={[J.menuitem]:"menuitem",[J.menuitemcheckbox]:"menuitemcheckbox",[J.menuitemradio]:"menuitemradio"};function l0(o,e="-menu-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const c0=`${h.prefix}-menu-item`,th=p`${x("grid")} :host{--indent:0;align-items:center;background:${C};border-radius:${S};color:${Ae};contain:layout;cursor:pointer;flex-shrink:0;font:${_} ${z}/${D} ${v};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${Eo};color:${_t}}:host(:active){background-color:${Jn};color:${Ot}}:host(:active) ::slotted([slot='start']){color:${xa}}:host(${$e}){background-color:${rt};color:${T}}:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:${T}}:host(:focus-visible){border-radius:${S};outline:2px solid ${se}}.content{white-space:nowrap;flex-grow:1;grid-column:auto/span 2;padding:0 2px}:host(:not(${$})) .indicator,:host(:not(${$})) ::slotted([slot='indicator']),:host(:not(${on})) .submenu-glyph,:host(:not(${on})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${X};font:${_} ${E}/${R} ${v};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${on}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${on}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent))/span 1}.content{grid-column:calc(var(--indent) + 1)/span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2)/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}@position-try --inline-inside{inset-inline-start:unset;inset-inline-end:anchor(inside)}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(inside);inset-inline-start:anchor(outside);position-try-fallbacks:--inline-inside,flip-block,flip-block --inline-inside;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${$e}),:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:GrayText}}`,d0=b.partial('<svg class=indicator fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill=currentColor></path></svg>'),h0=b.partial('<svg class=submenu-glyph fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill=currentColor></path></svg>');function u0(o={}){return b`<template tabindex=0 @keydown=${(e,t)=>e.handleMenuItemKeyDown(t.event)} @click=${(e,t)=>e.handleMenuItemClick(t.event)} @mouseover=${(e,t)=>e.handleMouseOver(t.event)} @mouseout=${(e,t)=>e.handleMouseOut(t.event)} @toggle=${(e,t)=>e.handleToggle(t.event)}><slot name=indicator>${ye(o.indicator)}</slot>${Ve(o)}<div part=content class=content><slot></slot></div>${st(o)}<slot name=submenu-glyph>${ye(o.submenuGlyph)}</slot><slot name=submenu ${K({property:"slottedSubmenu"})}></slot></template>`}const oh=u0({indicator:d0,submenuGlyph:h0}),rh={name:c0,registry:h.registry,styles:th,template:oh};var p0=Object.defineProperty,g0=Object.getOwnPropertyDescriptor,vo=(o,e,t,r)=>{for(var n=r>1?void 0:r?g0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&p0(e,t,n),n};class Qe extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=J.menuitem,this.checked=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case"ArrowLeft":return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=e=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=e=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.handleToggle=e=>{e instanceof ToggleEvent&&(e.newState==="open"&&(this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),e.newState==="closed"&&(this.elementInternals.ariaExpanded="false"),this.submenu?.setAttribute("focusgroup",e.newState==="open"?"menu":"none"))},this.handleSubmenuFocusOut=e=>{e.relatedTarget&&this.submenu?.contains(e.relatedTarget)||this.submenu?.togglePopover(!1)},this.invoke=()=>{if(!this.disabled)switch(this.role){case J.menuitemcheckbox:this.checked=!this.checked;break;case J.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case J.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const e=this.getBoundingClientRect(),t=this.submenu.getBoundingClientRect(),r=getComputedStyle(this).direction==="ltr"?"right":"left";if(e.width+t.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(e[r]+t.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${e.width-8}px 0`}}}disabledChanged(e,t){this.elementInternals.ariaDisabled=t?`${t}`:null,y(this.elementInternals,"disabled",t)}roleChanged(e,t){this.elementInternals.role=t??J.menuitem}checkedChanged(e,t){const r=this.role!==J.menuitem;this.elementInternals.ariaChecked=r?`${!!t}`:null,y(this.elementInternals,"checked",r?t:!1),this.$fastController.isConnected&&this.$emit("change",t,{bubbles:!0})}slottedSubmenuChanged(e,t){this.submenu?.removeEventListener("toggle",this.handleToggle),this.submenu?.removeEventListener("focusout",this.handleSubmenuFocusOut),t.length?(this.submenu=t[0],this.submenu.toggleAttribute("popover",!0),this.submenu.setAttribute("focusgroup","none"),this.submenu.addEventListener("toggle",this.handleToggle),this.submenu.addEventListener("focusout",this.handleSubmenuFocusOut),this.elementInternals.ariaHasPopup="menu",y(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,y(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??J.menuitem,this.elementInternals.ariaChecked=this.role!==J.menuitem?`${!!this.checked}`:null,at(this)}}vo([a({mode:"boolean"})],Qe.prototype,"disabled",2),vo([a],Qe.prototype,"role",2),vo([a({mode:"boolean"})],Qe.prototype,"checked",2),vo([a({mode:"boolean"})],Qe.prototype,"hidden",2),vo([g],Qe.prototype,"slottedSubmenu",2),vo([g],Qe.prototype,"submenu",2),yt(Qe,it),Qe.define(rh);const f0=`${h.prefix}-menu-list`,nh=p`${x("flex")} :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${C};border:1px solid ${U};border-radius:${S};box-shadow:${Rr};padding:4px;row-gap:2px}`;function b0(){return b`<template focusgroup=menu><slot ${K("items")}></slot></template>`}const ih=b0(),sh={name:f0,registry:h.registry,styles:nh,template:ih};var hr={INFERRED_ROLE:"data-fg-ir",ITEM:"data-fg-item",AUTHOR_TABINDEX:"data-fg-ati",SEGMENT:"data-fg-seg",SEGMENT_START:"data-fg-segs"},Ji={TOOLBAR:"toolbar",TABLIST:"tablist",RADIOGROUP:"radiogroup",LISTBOX:"listbox",MENU:"menu",MENUBAR:"menubar",NONE:"none"};function Zi(o,e){return o.contains(e)}function m0(){return"focusgroup"in(globalThis?.HTMLElement?.prototype??{})||"focusGroup"in(globalThis?.HTMLElement?.prototype??{})}function v0(o,e,t){const r="forward",n="backward",i="block",s="inline";if(y0(o.composedPath()[0]))return o.key==="Tab"?o.shiftKey?n:r:null;if(o.shiftKey||o.ctrlKey||o.metaKey)return null;const{writingMode:l,direction:u}=window.getComputedStyle(e),d=!l.startsWith("horizontal-"),c=u==="rtl",f=d?i:s,w=d?s:i,F=d?l.endsWith("-rl")!==c:c,G=d&&c,ae={ArrowUp:{axis:w,dir:G?r:n},ArrowDown:{axis:w,dir:G?n:r},ArrowLeft:{axis:f,dir:F?r:n},ArrowRight:{axis:f,dir:F?n:r},Home:{dir:"start"},End:{dir:"end"}}[o.key];return!ae||t&&ae.axis&&ae.axis!==t?null:ae.dir}function y0(o){return o?.nodeType===Node.ELEMENT_NODE&&(["INPUT","TEXTAREA","SELECT"].includes(o.nodeName)&&!["checkbox","radio"].includes(o.getAttribute("type"))||o.isContentEditable||["AUDIO","VIDEO"].includes(o.nodeName)&&o.hasAttribute("controls")||["IFRAME","OBJECT"].includes(o.nodeName))}globalThis.__FOCUSGROUP_POLYFILL__??={o:new Set,b:!1};var $0=globalThis.__FOCUSGROUP_POLYFILL__,k0=$0.o;function Qi(){for(const o of k0)o.takeRecords()}var hn=class{#t;#e;#s=Ji.NONE;#u=void 0;#c=!1;#a=!0;#r;#o=null;#n=!1;#l=null;#p=new AbortController;#d;#h;constructor(o,e,t={}){if(m0()||!o)return;this.#t=o,this.#e=e,this.#d=t.decorateOwner,this.#h=t.decorateItem,this.#g(t.definition),this.#d?.(this.#t,this.#s),this.#f();const r={signal:this.#p.signal};this.#t.addEventListener("keydown",this.#y.bind(this),r),this.#t.addEventListener("focusin",this.#$.bind(this),r),this.#t.addEventListener("focusout",this.#k.bind(this),r)}disconnect(){this.#i(),this.#p.abort(),this.#e?.disconnect?.(),this.#t=null}update(o={}){if(this.#t){if(o.definition!==void 0&&(this.#g(o.definition),this.#d?.(this.#t,this.#s)),o.authorTabindexChanges)for(const e of o.authorTabindexChanges)e.setAttribute(hr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none");this.#b(),this.#f()}}#g(o){this.#s=o?.behavior??Ji.NONE,this.#c=o?.wrap??!1,this.#u=o?.axis,this.#a=o?.memory??!0,this.#a||(this.#o=null)}#f(){if(this.#s===Ji.NONE){this.#b();return}this.#e.decorate?.();for(const{element:e,segmentBoundary:t}of this.#e.items())this.#h?.(e,this.#s),e.setAttribute(hr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none"),e.tabIndex=t?0:-1;(!this.#o?.isConnected||!(this.#e.isItem?.(this.#o)??this.#e.contains(this.#o)))&&(this.#o=null);const o=this.#o??this.#e.start??this.#e.first?.()??null;o&&(o.tabIndex=0,this.#r=o,this.#i(),this.#m(o)),this.#e.flush?.()}#b(){this.#i();let o=!1;for(const{element:e}of this.#e.items()){o=!0,this.#h?.(e,null);const t=e.getAttribute(hr.AUTHOR_TABINDEX);t&&(t==="none"?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t),e.removeAttribute(hr.AUTHOR_TABINDEX))}this.#e.undecorate?.(),o&&this.#e.flush?.()}#y(o){const e=o.composedPath()[0];if(o.defaultPrevented||e===this.#t||!this.#e.contains(e))return;let t;switch(v0(o,e,this.#u)){case"start":t=this.#e.first();break;case"end":t=this.#e.last();break;case"forward":t=this.#e.next(e),!t&&this.#c&&(t=this.#e.first());break;case"backward":t=this.#e.previous(e),!t&&this.#c&&(t=this.#e.last());break}t&&t!==e&&(this.#v(e,t,!0),this.#o=t,o.preventDefault())}#$(o){const e=o.composedPath()[0];if(e===this.#t&&this.#n&&(!o.relatedTarget||!Zi(this.#t,o.relatedTarget))){const r=this.#o||this.#r;this.#i(),r&&r.focus(),o.stopPropagation();return}if(!this.#e.contains(e))return;this.#n&&this.#i();const t=this.#o;if(this.#o=e,t!==e&&e.tabIndex<0){const r=t??this.#r;r&&this.#v(r,e)}}#k(o){if(!o.relatedTarget||!Zi(this.#t,o.relatedTarget)){const r=this.#a?this.#o||this.#r:this.#r;r&&this.#m(r)}if(o.relatedTarget&&Zi(this.#t,o.relatedTarget)||this.#a||!this.#r)return;const e=this.#o;this.#o=null;const t=this.#e.start??this.#e.first?.()??null;if(e!==this.#r||t!==this.#r){for(const{element:r,segmentBoundary:n}of this.#e.items())r.tabIndex=n?0:-1;t&&(t.tabIndex=0,this.#r=t),this.#e.flush?.()}}#m(o){const e=(o.assignedSlot??o).getRootNode(),t=e instanceof ShadowRoot&&e.host.hasAttribute(hr.AUTHOR_TABINDEX);this.#n||!t||(this.#l=this.#t.getAttribute("tabindex"),this.#t.tabIndex=0,this.#n=!0,Qi())}#i(){this.#n&&(this.#l!==null?this.#t.setAttribute("tabindex",this.#l):this.#t.removeAttribute("tabindex"),this.#n=!1,this.#l=null,this.#e.flush?.(),Qi())}#v(o,e,t=!1){e.tabIndex=0,t&&e.focus(),o.tabIndex=this.#e.sameSegment?.(o,e)??!0?-1:0,this.#i(),Qi()}};class un{constructor(e,t){this.getItems=e,this.getStart=t}get start(){return this.getStart?.()??null}first(){return this.getItems()[0]??null}last(){const e=this.getItems();return e[e.length-1]??null}next(e){const t=this.getItems(),r=t.indexOf(e);return r===-1?null:t[r+1]??null}previous(e){const t=this.getItems(),r=t.indexOf(e);return r<=0?null:t[r-1]??null}*items(){for(const e of this.getItems())yield{element:e}}contains(e){return this.getItems().includes(e)}}var x0=Object.defineProperty,w0=Object.getOwnPropertyDescriptor,S0=(o,e,t,r)=>{for(var n=r>1?void 0:r?w0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&x0(e,t,n),n};const es=class us extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.isNestedMenu=()=>this.parentElement!==null&&gs(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.changedMenuItemHandler=e=>{if(this.menuChildren===void 0)return;const t=e.target,r=this.menuChildren.indexOf(t);if(r!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let i=r-1;i>=0;--i){const s=this.menuChildren[i],l=s.role;if(l===J.menuitemradio&&(s.checked=!1),l==="separator")break}const n=this.menuChildren.length-1;for(let i=r+1;i<=n;++i){const s=this.menuChildren[i],l=s.role;if(l===J.menuitemradio&&(s.checked=!1),l==="separator")break}}},this.elementInternals.role="menu"}itemsChanged(e,t){this.$fastController.isConnected&&this.menuChildren!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),!this.slot&&this.isNestedMenu()&&(this.slot="submenu"),N.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),Array.from(this.children).forEach(e=>{m.getNotifier(e).unsubscribe(this,"hidden")}),this.menuChildren=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.menuItems?.find(e=>!e.disabled)?.focus()}static elementIndent(e){const t=e.role,r=e.querySelector("[slot=start]");return t&&t!==J.menuitem?r?2:1:r?1:0}setItems(){const e=Array.from(this.children);e.forEach(r=>{m.getNotifier(r).subscribe(this,"hidden")}),this.menuChildren=e.filter(r=>!r.hasAttribute("hidden")),this.menuItems=this.menuChildren?.filter(this.isMenuItemElement);const t=this.menuItems?.reduce((r,n)=>{const i=us.elementIndent(n);return Math.max(r,i)},0);this.menuItems?.forEach(r=>{r.dataset.indent=`${t}`})}handleChange(e,t){t==="hidden"&&this.setItems()}isMenuItemElement(e){return l0(e)||gs(e)&&!!e.role&&e.role in us.focusableElementRoles}};es.focusableElementRoles=J,S0([g],es.prototype,"items",2);let ah=es;class lh extends ah{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}setItems(){super.setItems(),this.fgItems??(this.fgItems=new un(()=>this.menuItems?.filter(e=>!e.hidden)??[])),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"menu",axis:"block",wrap:!0}})}}lh.define(sh);const C0=`${h.prefix}-menu`,ch=p`${x("inline-block")} ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(outside);inset-inline-start:anchor(self-start);position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;position:fixed;z-index:1}:host([split]) ::slotted([popover]){inset-inline-start:unset;inset-inline-end:anchor(self-end)}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${B} solid ${He};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${B} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function B0(){return b`<template @keydown=${(o,e)=>o.menuKeydownHandler(e.event)}><slot name=primary-action ${A("primaryAction")}></slot><slot name=trigger ${K({property:"slottedTriggers",filter:Ao()})}></slot><slot ${K({property:"slottedMenuList",filter:Ao()})}></slot></template>`}const dh=B0(),hh={name:C0,registry:h.registry,styles:ch,template:dh};var P0=Object.defineProperty,I0=Object.getOwnPropertyDescriptor,Ct=(o,e,t,r)=>{for(var n=r>1?void 0:r?I0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&P0(e,t,n),n};class et extends k{constructor(){super(...arguments),this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=e=>{e?.target instanceof Qe&&(e.target.getAttribute("role")===J.menuitemcheckbox||e.target.getAttribute("role")===J.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=e=>{this._menuList?.togglePopover(!0),e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=e=>{if(e.type==="toggle"&&e.newState){const t=e.newState==="open";this._trigger?.setAttribute("aria-expanded",`${t}`),this._menuList?.setAttribute("focusgroup",t?"menu":"none"),this._open=t,this._open&&this.focusMenuList()}},this.triggerKeydownHandler=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=e=>{e.composedPath().some(t=>t===this._trigger||t===this._menuList)||this.closeMenu()}}slottedMenuListChanged(e,t){this._menuListAbortController?.abort(),t?.length&&(this._menuList=t[0],this._menuList.popover=this.openOnContext?"manual":"",this.addMenuListListeners())}slottedTriggersChanged(e,t){if(this._triggerAbortController?.abort(),t?.length){const r=t[0];this._trigger=r,this._trigger?.isConnected&&(this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this.addTriggerListeners())}}connectedCallback(){super.connectedCallback(),this.setComponent()}disconnectedCallback(){super.disconnectedCallback(),this._triggerAbortController?.abort(),this._menuListAbortController?.abort()}setComponent(){}focusMenuList(){N.enqueue(()=>{this._menuList.focus()})}focusTrigger(){N.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(e,t){this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}persistOnItemClickChanged(e,t){this._menuList&&(this._menuListAbortController?.abort(),this.addMenuListListeners())}openOnContextChanged(e,t){t?this._menuList?.setAttribute("popover","manual"):this._menuList?.setAttribute("popover",""),this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addTriggerListeners(){this._triggerAbortController=new AbortController;const{signal:e}=this._triggerAbortController;this._trigger?.addEventListener("keydown",this.triggerKeydownHandler,{signal:e}),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu,{signal:e}):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu,{signal:e}),document.addEventListener("click",this.documentClickHandler,{signal:e})):this._trigger?.addEventListener("click",this.toggleMenu,{signal:e})}addMenuListListeners(){this._menuListAbortController=new AbortController;const{signal:e}=this._menuListAbortController;this._menuList?.addEventListener("toggle",this.toggleHandler,{signal:e}),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu,{signal:e})}menuKeydownHandler(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":if(this._open&&this.closeMenu(),e.shiftKey&&e.composedPath()[0]!==this._trigger&&e.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(e.shiftKey)return!0;default:return!0}}}Ct([a({attribute:"open-on-hover",mode:"boolean"})],et.prototype,"openOnHover",2),Ct([a({attribute:"open-on-context",mode:"boolean"})],et.prototype,"openOnContext",2),Ct([a({attribute:"close-on-scroll",mode:"boolean"})],et.prototype,"closeOnScroll",2),Ct([a({attribute:"persist-on-item-click",mode:"boolean"})],et.prototype,"persistOnItemClick",2),Ct([a({mode:"boolean"})],et.prototype,"split",2),Ct([g],et.prototype,"slottedMenuList",2),Ct([g],et.prototype,"slottedTriggers",2),Ct([g],et.prototype,"primaryAction",2),et.define(hh);const A0={multiline:"multiline",singleline:"singleline"},N0={rounded:"rounded",square:"square"},T0={success:"success",warning:"warning",error:"error",info:"info"},z0=`${h.prefix}-message-bar`,uh=p`:host{display:grid;box-sizing:border-box;font-family:${v};font-size:${E};line-height:${R};width:100%;background:${to};color:${X};border:1px solid ${He};padding-inline:${ee};border-radius:${S};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${gi};border-color:${Ha}}:host([intent='warning']){background-color:${bi};border-color:${vi}}:host([intent='error']){background-color:${di};border-color:${ui}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${Ko};padding-inline:${ee}}.content{grid-area:body;max-width:520px;padding-block:${Ko};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${X};margin-inline-end:${Te}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${Te};gap:${Te}}:host([layout='multiline']) .actions{margin-block-start:${Ko};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${te}}::slotted(*){font-size:inherit}`;function _0(){return b`<slot name=icon></slot><div class=content><slot></slot></div><div class=actions><slot name=actions></slot></div><slot name=dismiss></slot>`}const ph=_0(),gh={name:z0,registry:h.registry,styles:uh,template:ph};var O0=Object.defineProperty,F0=Object.getOwnPropertyDescriptor,ts=(o,e,t,r)=>{for(var n=r>1?void 0:r?F0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&O0(e,t,n),n};class ur extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}}ts([a],ur.prototype,"shape",2),ts([a],ur.prototype,"layout",2),ts([a],ur.prototype,"intent",2),ur.define(gh);const fh=p`${x("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${Gi} align-items:center;background-color:${C};border-radius:${S};box-sizing:border-box;color:${Ae};column-gap:${Q};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${ve};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${Eo};color:${_t}}:host(:active){background-color:${Fr};color:${Ot}}:host(:disabled){background-color:${C};color:${T};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${Vi}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${po}) .checkmark-16-filled,:host(:not(${po})) .checkmark-12-regular{display:none}:host(${po}) .checkmark-12-regular{background-color:${C};border-radius:${Ne};border:${B} solid ${Me};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${po}${Vi}) .checkmark-12-regular{background-color:${ut};border-color:${nt};fill:${ht}}:host(:disabled${po}) .checkmark-12-regular{border-color:${be}}:host(:disabled${po}${Vi}) .checkmark-12-regular{background-color:${rt}}:host(${oy}){border:${ue} solid ${se}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${ve}}}:host(${iy}){column-gap:${ve};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${X};grid-area:description;${Xi}}@media (forced-colors:active){:host(:disabled){color:GrayText}}`,E0=b.partial('<svg aria-hidden=true class=checkmark-16-filled viewBox="0 0 16 16"><path d="M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032"/></svg> <svg aria-hidden=true class=checkmark-12-regular viewBox="0 0 12 12"><path d="M9.854 3.146a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L5 7.293l4.146-4.147a.5.5 0 0 1 .708 0"/></svg>');function D0(o={}){return b`<slot name=checked-indicator>${ye(o.checkedIndicator)}</slot>${Ve(o)}<div class=content part=content><slot ${K({property:"freeformOutputs",filter:Ao("output")})}></slot></div><div class=description part=description><slot name=description ${K("descriptionSlot")}></slot></div>`}const bh=D0({checkedIndicator:E0}),mh={name:C$,registry:h.registry,styles:fh,template:bh};var L0=Object.defineProperty,M0=Object.getOwnPropertyDescriptor,we=(o,e,t,r)=>{for(var n=r>1?void 0:r?M0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&L0(e,t,n),n};class oe extends k{constructor(){super(),this.active=!1,this.id=Ze("option-"),this.initialValue="",this.multiple=!1,this.elementInternals=this.attachInternals(),this._value=this.initialValue,this.elementInternals.role="option"}activeChanged(e,t){y(this.elementInternals,"active",t)}currentSelectedChanged(e,t){this.selected=!!t}defaultSelectedChanged(e,t){this.selected=!!t}descriptionSlotChanged(e,t){y(this.elementInternals,"description",!!t?.length)}disabledChanged(e,t){this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled),this.setFormValue(!this.disabled&&this.selected?this.value:null)}disabledAttributeChanged(e,t){this.disabled=!!t}initialValueChanged(e,t){this._value=t}multipleChanged(e,t){y(this.elementInternals,"multiple",t),this.selected=!1}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get selected(){return m.track(this,"selected"),!!this.currentSelected}set selected(e){this.currentSelected=e,N.enqueue(()=>{this.elementInternals&&(this.setFormValue(e?this.value:null),this.elementInternals.ariaSelected=e?"true":"false",y(this.elementInternals,"selected",e))}),m.notify(this,"selected")}get text(){return this.freeform?this.value.replace(/\s+/g," ").trim():(this.textAttribute??this.textContent)?.replace(/\s+/g," ").trim()??""}get value(){return m.track(this,"value"),this._value??this.text}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(this.selected?e:null),this.freeformOutputs?.forEach(t=>{t.value=e}),m.notify(this,"value"))}connectedCallback(){super.connectedCallback(),this.freeform&&(this.value="",this.hidden=!0,this.selected=!1)}setFormValue(e,t){if(this.disabled){this.elementInternals.setFormValue(null);return}this.elementInternals.setFormValue(e,e??t)}toggleSelected(e=!this.selected){this.selected=e}}oe.formAssociated=!0,we([g],oe.prototype,"active",2),we([a({attribute:"current-selected",mode:"boolean"})],oe.prototype,"currentSelected",2),we([a({attribute:"selected",mode:"boolean"})],oe.prototype,"defaultSelected",2),we([g],oe.prototype,"descriptionSlot",2),we([g],oe.prototype,"disabled",2),we([a({attribute:"disabled",mode:"boolean"})],oe.prototype,"disabledAttribute",2),we([a({attribute:"form"})],oe.prototype,"formAttribute",2),we([a({mode:"boolean"})],oe.prototype,"freeform",2),we([a({attribute:"id"})],oe.prototype,"id",2),we([a({attribute:"value",mode:"fromView"})],oe.prototype,"initialValue",2),we([g],oe.prototype,"multiple",2),we([a],oe.prototype,"name",2),we([g],oe.prototype,"start",2),we([a({attribute:"text",mode:"fromView"})],oe.prototype,"textAttribute",2),oe.define(mh);const H0={medium:"medium",large:"large"},V0={rounded:"rounded",square:"square"},vh={success:"success",warning:"warning",error:"error"},R0=`${h.prefix}-progress-bar`,yh=p`${x("block")} :host{width:100%;height:2px;overflow-x:hidden;background-color:${oo};border-radius:${S};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min))/(var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${Vo}}.indicator{background-color:${ut};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient( to right,${oo} 0%,${ce} 50%,${oo} 100% );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${hi}}:host([validation-state='warning']) .indicator{background-color:${mi}}:host([validation-state='success']) .indicator{background-color:${fi}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}@media (forced-colors:active){:host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}}`;function j0(){return b`<div class=indicator part=indicator ${A("indicator")}></div>`}const $h=j0(),kh={name:R0,registry:h.registry,styles:yh,template:$h};var q0=Object.defineProperty,W0=Object.getOwnPropertyDescriptor,pr=(o,e,t,r)=>{for(var n=r>1?void 0:r?W0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&q0(e,t,n),n};class Kt extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}indicatorChanged(){this.setIndicatorWidth()}validationStateChanged(e,t){Mt(this.elementInternals,e,t,vh)}valueChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueNow=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}minChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMin=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}maxChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMax=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}setIndicatorWidth(){CSS.supports("width: attr(value type(<number>))")||N.enqueue(()=>{if(typeof this.value!="number"){this.indicator?.style.removeProperty("width");return}const e=this.min??0,t=this.max??100,r=this.value??0,n=t-e,i=n===0?0:Math.fround((r-e)/n*100);this.indicator?.style.setProperty("width",`${i}%`)})}}pr([g],Kt.prototype,"indicator",2),pr([a({attribute:"validation-state"})],Kt.prototype,"validationState",2),pr([a({converter:ie})],Kt.prototype,"value",2),pr([a({converter:ie})],Kt.prototype,"min",2),pr([a({converter:ie})],Kt.prototype,"max",2);var G0=Object.defineProperty,X0=Object.getOwnPropertyDescriptor,xh=(o,e,t,r)=>{for(var n=r>1?void 0:r?X0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&G0(e,t,n),n};class pn extends Kt{}xh([a],pn.prototype,"thickness",2),xh([a],pn.prototype,"shape",2),pn.define(kh);const os=ke,U0=`${h.prefix}-radio-group`,wh=p`${x("flex")} :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${Wr}}:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${X}}::slotted(:hover){color:${Ae}}::slotted(:active){color:${I}}::slotted(${$e}){color:${T}}::slotted(${$}){color:${I}}:host([slot='input']){margin:${te} ${Te}}`;function K0(){return b`<template focusgroup="radiogroup wrap" @disabled=${(o,e)=>o.disabledRadioHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot ${K("slottedRadios")}></slot></template>`}const Sh=K0(),Ch={name:U0,registry:h.registry,styles:wh,template:Sh};function Y0(o,e="-radio"){return ps(e)(o)}const J0=`${h.prefix}-radio`;var Z0=Object.defineProperty,Q0=Object.getOwnPropertyDescriptor,Bt=(o,e,t,r)=>{for(var n=r>1?void 0:r?Q0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Z0(e,t,n),n};class je extends k{constructor(){super(),this.isNavigating=!1,this.dirtyState=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??os.horizontal}checkedIndexChanged(e,t){this.enabledRadios&&this.checkRadio(t)}disabledChanged(e,t){this.radios&&(this.checkedIndex=-1,this.radios?.forEach(r=>{r.disabled=!!r.disabledAttribute||!!this.disabled}))}initialValueChanged(e,t){this.value=t??""}nameChanged(e,t){this.isConnected&&t&&this.radios?.forEach(r=>{r.name=this.name})}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.orientation??os.horizontal}radiosChanged(e,t){const r=t?.length;if(!r)return;!this.name&&t.every(s=>s.name===t[0].name)&&(this.name=t[0].name);const n=this.enabledRadios.findLastIndex(s=>s.initialChecked);t.forEach((s,l)=>{s.ariaPosInSet=`${l+1}`,s.ariaSetSize=`${r}`,this.initialValue&&!this.dirtyState?s.checked=s.value===this.initialValue:s.checked=l===n,s.name=this.name??s.name,s.disabled=!!this.disabled||!!s.disabledAttribute,s.toggleAttribute("focusgroupstart",s.checked&&!s.disabled)}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),(!this.value||this.value&&typeof this.checkedIndex!="number"&&n>=0)&&(this.checkedIndex=n);const i=t.map(s=>s.id).join(" ").trim();i&&this.setAttribute("aria-owns",i)}requiredChanged(e,t){this.elementInternals.ariaRequired=t?"true":null,this.setValidity()}slottedRadiosChanged(e,t){N.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(r=>Y0(r))})}get enabledRadios(){return this.disabled?[]:this.radios?.filter(e=>!e.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(e=>e.checked)?.value??null}set value(e){const t=this.enabledRadios.findIndex(r=>r.value===e);this.checkedIndex=t,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity()),m.track(this,"value")}changeHandler(e){if(this===e.target)return!0;this.dirtyState=!0;const t=this.enabledRadios.indexOf(e.target);return this.checkRadio(t),this.radios?.filter(r=>r.disabled)?.forEach(r=>{r.checked=!1}),!0}checkRadio(e=this.checkedIndex,t=!1){let r=this.checkedIndex;this.enabledRadios.forEach((n,i)=>{const s=i===e;n.checked=s,s&&(r=i,t&&n.$emit("change"))}),this.checkedIndex=r,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return this===e.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){if(!this.disabled&&(this.isNavigating||this.value)){this.radios?.forEach(r=>{r.disabled&&r.checked&&(r.checked=!1)});const t=this.enabledRadios.indexOf(e.target);t>-1&&this.checkRadio(t,!0),this.isNavigating=!1}return!0}keydownHandler(e){switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.isNavigating=!0;break;case" ":this.checkRadio();break}return!0}disabledRadioHandler(e){e.detail===!0&&e.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,r){if(this.$fastController.isConnected){if(!(this.required&&!this.value&&!this.disabled)){this.enabledRadios?.forEach(l=>{l.elementInternals.setValidity({})});return}const i={valueMissing:!0,...e},s=t??this.validationMessage;this.enabledRadios?.forEach((l,u)=>{u===0?l.elementInternals.setValidity(i,s,l):l.elementInternals.setValidity({})})}}}je.formAssociated=!0,Bt([g],je.prototype,"checkedIndex",2),Bt([a({attribute:"disabled",mode:"boolean"})],je.prototype,"disabled",2),Bt([a({attribute:"value",mode:"fromView"})],je.prototype,"initialValue",2),Bt([a],je.prototype,"name",2),Bt([a],je.prototype,"orientation",2),Bt([g],je.prototype,"radios",2),Bt([a({mode:"boolean"})],je.prototype,"required",2),Bt([g],je.prototype,"slottedRadios",2);class Bh extends je{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}radiosChanged(e,t){super.radiosChanged(e,t),this.fgItems??(this.fgItems=new un(()=>this.enabledRadios?.filter(r=>!r.hidden)??[],()=>this.enabledRadios?.find(r=>r.checked)??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"radiogroup",axis:void 0,wrap:!0}})}}Bh.define(Ch);const Ph=p`${x("inline-flex")} :host{--size:16px;aspect-ratio:1;background-color:${C};border:${B} solid ${Me};border-radius:${de};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${de};color:${ht};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:''/'';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${ue} solid ${U};border-radius:${S}}:host(:not([slot='input']):focus-visible)::after{border-color:${se}}:host(:hover){border-color:${pt}}:host(${$}){border-color:${nt}}:host(${$}) .checked-indicator{background-color:${ut}}:host(${$}:hover) .checked-indicator{background-color:${Ft}}:host(:active){border-color:${gt}}:host(${$}:active) .checked-indicator{background-color:${Et}}:host(:focus-visible){outline:none}:host(${$e}){background-color:${rt};border-color:${be}}:host(${$}${$e}) .checked-indicator{background-color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${$e}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${$}) .checked-indicator{background-color:FieldText}:host(${$}:not(${$e}):hover) .checked-indicator{background-color:Highlight}:host(${$e}){border-color:GrayText;color:GrayText}:host(${$e}${$}) .checked-indicator{background-color:GrayText}}`,ek=b.partial("<span part=checked-indicator class=checked-indicator role=presentation></span>");function tk(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${ye(o.checkedIndicator)}</slot></template>`}const Ih=tk({checkedIndicator:ek}),Ah={name:J0,registry:h.registry,styles:Ph,template:Ih};class Nh extends _e{constructor(){super(),this.elementInternals.role="radio"}disabledChanged(e,t){super.disabledChanged(e,t),this.$emit("disabled",t,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(e=!0){super.toggleChecked(e)}}Nh.define(Ah);const ok={neutral:"neutral",brand:"brand",marigold:"marigold"},rk={small:"small",medium:"medium",large:"large"},nk=`${h.prefix}-rating-display`;var ik=Object.defineProperty,sk=Object.getOwnPropertyDescriptor,gr=(o,e,t,r)=>{for(var n=r>1?void 0:r?sk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ik(e,t,n),n};const ak=CSS.supports("width: attr(value type(<number>))"),yo={max:"--_attr-max",value:"--_attr-value",maskImageFilled:"--_mask-image-filled",maskImageOutlined:"--_mask-image-outlined"};function gn(o){return o?["data:image/svg+xml",encodeURIComponent(o.replace(/\n/g,"").replace(/\s+/g," "))].join(","):""}class Yt extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.defaultCustomIconViewBox="0 0 20 20",this.elementInternals.role="img",this.numberFormatter=new Intl.NumberFormat}iconSlotChanged(){this.handleSlotChange()}maxChanged(){this.setCustomPropertyValue("max")}valueChanged(){this.setCustomPropertyValue("value")}connectedCallback(){super.connectedCallback(),this.setCustomPropertyValue("value"),this.setCustomPropertyValue("max")}get formattedCount(){return this.count?this.numberFormatter.format(this.count):""}handleSlotChange(){const e=this.iconSlot.assignedElements()?.find(t=>t.nodeName.toLowerCase()==="svg");this.renderSlottedIcon(e??null)}renderSlottedIcon(e){if(!e){this.display.style.removeProperty(yo.maskImageFilled),this.display.style.removeProperty(yo.maskImageOutlined);return}const t=e.innerHTML,r=e.getAttribute("viewBox")??this.iconViewBox??this.defaultCustomIconViewBox,n=`
|
|
1
|
+
const h=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis.customElements});function us(o){return e=>e?.nodeType!==Node.ELEMENT_NODE?!1:e.tagName.toLowerCase().endsWith(o)}function ps(...o){return o.every(e=>e instanceof HTMLElement)}const Eu={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Du={start:"start",end:"end"};function Pn(o,e="-accordion-item"){return us(e)(o)}const Lu=`${h.prefix}-accordion-item`;class In{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}var ce;(function(o){o[o.needsArrayObservation=1101]="needsArrayObservation",o[o.onlySetDOMPolicyOnce=1201]="onlySetDOMPolicyOnce",o[o.bindingInnerHTMLRequiresTrustedTypes=1202]="bindingInnerHTMLRequiresTrustedTypes",o[o.twoWayBindingRequiresObservables=1203]="twoWayBindingRequiresObservables",o[o.hostBindingWithoutHost=1204]="hostBindingWithoutHost",o[o.unsupportedBindingBehavior=1205]="unsupportedBindingBehavior",o[o.directCallToHTMLTagNotAllowed=1206]="directCallToHTMLTagNotAllowed",o[o.onlySetTemplatePolicyOnce=1207]="onlySetTemplatePolicyOnce",o[o.cannotSetTemplatePolicyAfterCompilation=1208]="cannotSetTemplatePolicyAfterCompilation",o[o.blockedByDOMPolicy=1209]="blockedByDOMPolicy",o[o.invalidHydrationAttributeMarker=1210]="invalidHydrationAttributeMarker",o[o.duplicateRenderInstruction=1211]="duplicateRenderInstruction",o[o.missingElementDefinition=1401]="missingElementDefinition",o[o.noRegistrationForContext=1501]="noRegistrationForContext",o[o.noFactoryForResolver=1502]="noFactoryForResolver",o[o.invalidResolverStrategy=1503]="invalidResolverStrategy",o[o.cannotAutoregisterDependency=1504]="cannotAutoregisterDependency",o[o.cannotResolveKey=1505]="cannotResolveKey",o[o.cannotConstructNativeFunction=1506]="cannotConstructNativeFunction",o[o.cannotJITRegisterNonConstructor=1507]="cannotJITRegisterNonConstructor",o[o.cannotJITRegisterIntrinsic=1508]="cannotJITRegisterIntrinsic",o[o.cannotJITRegisterInterface=1509]="cannotJITRegisterInterface",o[o.invalidResolver=1510]="invalidResolver",o[o.invalidKey=1511]="invalidKey",o[o.noDefaultResolver=1512]="noDefaultResolver",o[o.cyclicDependency=1513]="cyclicDependency",o[o.connectUpdateRequiresController=1514]="connectUpdateRequiresController"})(ce||(ce={}));const So=o=>typeof o=="function",ht=o=>typeof o=="string",Mu=()=>{},Hu=Object.create(null),Ce={warn(o,e){},error(o,e){return new Error(`Error ${o}`)},addMessages(o){Object.assign(Hu,o)}},Vu=Object.freeze([]);function An(){const o=new Map;return Object.freeze({register(e){return o.has(e.type)?!1:(o.set(e.type,e),!0)},getByType(e){return o.get(e)},getForInstance(e){if(e!=null)return o.get(e.constructor)}})}function gs(){const o=new WeakMap;return function(e){let t=o.get(e);if(t===void 0){let r=Reflect.getPrototypeOf(e);for(;t===void 0&&r!==null;)t=o.get(r),r=Reflect.getPrototypeOf(r);t=t===void 0?[]:t.slice(0),o.set(e,t)}return t}}function It(o){o.prototype.toJSON=Mu}class fs extends In{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}It(fs);function bs(o,e){return new fs(o,e)}class Nn{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return this.spillover===void 0?this.sub1===e||this.sub2===e:this.spillover.indexOf(e)!==-1}subscribe(e){const t=this.spillover;if(t===void 0){if(this.has(e))return;if(this.sub1===void 0){this.sub1=e;return}if(this.sub2===void 0){this.sub2=e;return}this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else t.indexOf(e)===-1&&t.push(e)}unsubscribe(e){const t=this.spillover;if(t===void 0)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}notify(e){const t=this.spillover,r=this.subject;if(t===void 0){const n=this.sub1,i=this.sub2;n!==void 0&&n.handleChange(r,e),i!==void 0&&i.handleChange(r,e)}else for(let n=0,i=t.length;n<i;++n)t[n].handleChange(r,e)}}class ms{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,r;(t=this.subscribers[e])===null||t===void 0||t.notify(e),(r=this.subjectSubscribers)===null||r===void 0||r.notify(e)}subscribe(e,t){var r,n;let i;t?i=(r=this.subscribers[t])!==null&&r!==void 0?r:this.subscribers[t]=new Nn(this.subject):i=(n=this.subjectSubscribers)!==null&&n!==void 0?n:this.subjectSubscribers=new Nn(this.subject),i.subscribe(e)}unsubscribe(e,t){var r,n;t?(r=this.subscribers[t])===null||r===void 0||r.unsubscribe(e):(n=this.subjectSubscribers)===null||n===void 0||n.unsubscribe(e)}}const Xe=[],Tn=[],Ru=globalThis.requestAnimationFrame;let zn=!0;function ju(){if(Tn.length)throw Tn.shift()}function qu(o){try{o.call()}catch(e){if(zn)Tn.push(e),setTimeout(ju,0);else throw Xe.length=0,e}}function _n(){let e=0;for(;e<Xe.length;)if(qu(Xe[e]),e++,e>1024){for(let t=0,r=Xe.length-e;t<r;t++)Xe[t]=Xe[t+e];Xe.length-=e,e=0}Xe.length=0}function vs(o){Xe.push(o),Xe.length<2&&(zn?Ru(_n):_n())}const T=Object.freeze({enqueue:vs,next:()=>new Promise(vs),process:_n,setMode:o=>zn=o}),Sr=Object.freeze({unknown:void 0,coupled:1}),m=(()=>{const o=T.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let r,n=d=>{throw Ce.error(ce.needsArrayObservation)};function i(d){var c;let f=(c=d.$fastController)!==null&&c!==void 0?c:t.get(d);return f===void 0&&(Array.isArray(d)?f=n(d):t.set(d,f=new ms(d))),f}const s=gs();class l{constructor(c){this.name=c,this.field=`_${c}`,this.callback=`${c}Changed`}getValue(c){return r!==void 0&&r.watch(c,this.name),c[this.field]}setValue(c,f){const S=this.field,E=c[S];if(E!==f){c[S]=f;const X=c[this.callback];So(X)&&X.call(c,E,f),i(c).notify(this.name)}}}class u extends Nn{constructor(c,f,S=!1){super(c,f),this.expression=c,this.isVolatileBinding=S,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(c){this.isAsync=this.needsQueue=c}bind(c){const f=this.observe(c.source,c.context);return!c.isBound&&this.requiresUnbind(c)&&c.onUnbind(this),f}requiresUnbind(c){return c.sourceLifetime!==Sr.coupled||this.first!==this.last||this.first.propertySource!==c.source}unbind(c){this.dispose()}observe(c,f){this.needsRefresh&&this.last!==null&&this.dispose();const S=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let E;try{E=this.expression(c,f)}finally{r=S}return E}disconnect(){this.dispose()}dispose(){if(this.last!==null){let c=this.first;for(;c!==void 0;)c.notifier.unsubscribe(this,c.propertyName),c=c.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(c,f){const S=this.last,E=i(c),X=S===null?this.first:{};if(X.propertySource=c,X.propertyName=f,X.notifier=E,E.subscribe(this,f),S!==null){if(!this.needsRefresh){let le;r=void 0,le=S.propertySource[S.propertyName],r=this,c===le&&(this.needsRefresh=!0)}S.next=X}this.last=X}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let c=this.first;for(;c!==void 0;)yield c,c=c.next}}return It(u),Object.freeze({setArrayObserverFactory(d){n=d},getNotifier:i,track(d,c){r&&r.watch(d,c)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(d,c){i(d).notify(c)},defineProperty(d,c){ht(c)&&(c=new l(c)),s(d).push(c),Reflect.defineProperty(d,c.name,{enumerable:!0,get(){return c.getValue(this)},set(f){c.setValue(this,f)}})},getAccessors:s,binding(d,c,f=this.isVolatileBinding(d)){return new u(d,c,f)},isVolatileBinding(d){return e.test(d.toString())}})})();function g(o,e){m.defineProperty(o,e)}const $s=(()=>{let o=null;return{get(){return o},set(e){o=e}}})(),Co=Object.freeze({default:{index:0,length:0,get event(){return Co.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return $s.get()},setEvent(o){$s.set(o)}});class Wu extends In{createObserver(e){return m.binding(this.evaluate,e,this.isVolatile)}}function ys(o,e,t=m.isVolatileBinding(o)){return new Wu(o,e,t)}const Q=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),ks=o=>o,Gu=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-element",{createHTML:ks}):{createHTML:ks};let Cr=Object.freeze({createHTML(o){return Gu.createHTML(o)},protect(o,e,t,r){return r}});const Xu=Cr,Qt=Object.freeze({get policy(){return Cr},setPolicy(o){if(Cr!==Xu)throw Ce.error(ce.onlySetDOMPolicyOnce);Cr=o},setAttribute(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)},setBooleanAttribute(o,e,t){t?o.setAttribute(e,""):o.removeAttribute(e)}}),On="boolean",xs="reflect",Br=Object.freeze({locate:gs()}),Uu={toView(o){return o?"":null},fromView(o){return!!o}};function ws(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const se={toView(o){const e=ws(o);return e&&e.toString()},fromView:ws};class wn{constructor(e,t,r=t.toLowerCase(),n=xs,i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=n,this.converter=i,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,n===On&&i===void 0&&(this.converter=Uu)}setValue(e,t){const r=e[this.fieldName],n=this.converter;n!==void 0&&(t=n.fromView(t)),r!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](r,t),e.$fastController.notify(this.name))}getValue(e){return m.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.mode===On?this.setValue(e,t!==null):this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,r=this.guards;r.has(e)||t==="fromView"||T.enqueue(()=>{r.add(e);const n=e[this.fieldName];switch(t){case xs:{const i=this.converter;Qt.setAttribute(e,this.attribute,i!==void 0?i.toView(n):n);break}case On:Qt.setBooleanAttribute(e,this.attribute,n);break}r.delete(e)})}static collect(e,...t){const r=[];t.push(Br.locate(e));for(let n=0,i=t.length;n<i;++n){const s=t[n];if(s!==void 0)for(let l=0,u=s.length;l<u;++l){const d=s[l];ht(d)?r.push(new wn(e,d)):r.push(new wn(e,d.property,d.attribute,d.mode,d.converter))}}return r}}function a(o,e){let t;function r(n,i){arguments.length>1&&(t.property=i),Br.locate(n.constructor).push(t)}if(arguments.length>1){t={},r(o,e);return}return t=o===void 0?{}:o,r}let Fn;function Ss(o){return o.reduce((e,t)=>(t instanceof fe?e.push(...Ss(t.styles)):e.push(t),e),[])}class fe{get strategy(){return this._strategy===null&&(Fn||fe.setDefaultStrategy(fe.supportsAdoptedStyleSheets?Ku():Ju()),this.withStrategy(Fn)),this._strategy}constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withStrategy(e){return this._strategy=new e(Ss(this.styles)),this}static setDefaultStrategy(e){Fn=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new fe(e):e instanceof fe?e:new fe([e])}}fe.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;function Ku(){const o=new Map;return class{constructor(t){this.sheets=t.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=o.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),o.set(r,n)),n})}addStylesTo(t){const r=t;r.adoptedStyleSheets=[...r.adoptedStyleSheets,...this.sheets]}removeStylesFrom(t){const r=t;r.adoptedStyleSheets=r.adoptedStyleSheets.filter(n=>this.sheets.indexOf(n)===-1)}}}let Yu=0;function Ju(){return class{constructor(e){this.styles=e,this.styleClass=`fast-${++Yu}`}addStylesTo(e){const t=e===document?document.body:e;for(let r=0;r<this.styles.length;r++){const n=document.createElement("style");n.innerHTML=this.styles[r],n.className=this.styleClass,t.append(n)}}removeStylesFrom(e){const t=e===document?document.body:e,r=t.querySelectorAll(`.${this.styleClass}`);for(let n=0,i=r.length;n<i;++n)t.removeChild(r[n])}}}const Zu={},Cs=new WeakMap,En=An(),Bo=Object.freeze({register(o){if(!En.register(o))return!1;const e=Bs(o.registry);return Object.prototype.hasOwnProperty.call(e,o.name)||m.defineProperty(e,o.name),e[o.name]=o.type,!0},getByType:En.getByType,getForInstance:En.getForInstance,whenRegistered:Qu});function Bs(o=customElements){if(o===customElements)return Zu;let e=Cs.get(o);return e||(e={},Cs.set(o,e)),e}function Ps(o){return o===void 0?void 0:Bo.getByType(o)}function Qu(o,e=customElements){const t=Bs(e);Object.prototype.hasOwnProperty.call(t,o)||m.defineProperty(t,o);const r=Ps(t[o]);return r!==void 0?Promise.resolve(r):new Promise(n=>{const i=m.getNotifier(t),s={handleChange:()=>{const l=Ps(t[o]);l!==void 0&&(i.unsubscribe(s,o),n(l))}};i.subscribe(s,o)})}const Is={mode:"open"},As={},Ns=new Set,Pr=new WeakMap,Ir=new WeakMap,At=new WeakMap,Ts=new WeakMap,ep=new WeakMap;function tp(o){return So(o)}function op(o){return typeof o?.then=="function"}function zs(o,e){if(Ir.delete(o),o.template===void 0&&e!==void 0&&(o.template=e),o.template!==void 0)return At.delete(o),Pr.delete(o),o.template}function _s(o,e=o.registry,t){if(!t?.length)return;const r=o;let n=Ts.get(r);if(!n?.has(e)){n===void 0&&(n=new WeakSet,Ts.set(r,n)),n.add(e);for(const i of t)i(o)}}function Dn(o){var e;return(e=ep.get(o))!==null&&e!==void 0?e:null}function Os(o){if(o.template!==void 0)return At.delete(o),o.template;const e=Ir.get(o);if(e)return e;const t=Pr.get(o);if(!t)return;At.delete(o);let r;try{r=t(o)}catch(n){throw At.set(o,n),n}if(op(r)){const n=Promise.resolve(r).then(i=>zs(o,i)).catch(i=>{throw Ir.delete(o),At.set(o,i),i});return Ir.set(o,n),n}return zs(o,r)}function rp(o,e){const t=o;if(e===void 0){At.delete(t);return}At.set(t,e)}class rt{get isDefined(){return this.platformDefined}constructor(e,t=e.definition){var r;this.platformDefined=!1,ht(t)&&(t={name:t}),this.type=e,this.name=t.name,this.registry=(r=t.registry)!==null&&r!==void 0?r:customElements,tp(t.template)?Pr.set(this,t.template):this.template=t.template;const n=e.prototype,i=wn.collect(e,t.attributes),s=new Array(i.length),l={},u={};for(let d=0,c=i.length;d<c;++d){const f=i[d];s[d]=f.attribute,l[f.name]=f,u[f.attribute]=f,m.defineProperty(n,f)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=l,this.attributeLookup=u,this.shadowOptions=t.shadowOptions===void 0?Is:t.shadowOptions===null?void 0:Object.assign(Object.assign({},Is),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?As:Object.assign(Object.assign({},As),t.elementOptions),this.styles=fe.normalize(t.styles),this.schema=t.schema,Bo.register(this)}define(e=this.registry,t){const r=this.type;if(!e.get(this.name)){if(_s(this,e,t),this.template===void 0&&Pr.has(this))return Promise.resolve().then(()=>Os(this)).then(n=>{n!==void 0&&!e.get(this.name)&&(this.platformDefined=!0,e.define(this.name,r,this.elementOptions))}).catch(n=>{rp(this,n),m.notify(this,"template")}),this;this.platformDefined=!0,e.define(this.name,r,this.elementOptions)}return this}static compose(e,t){const r=Ns.has(e)||Bo.getByType(e)?new rt(class extends e{},t):new rt(e,t);return Promise.resolve(r)}static registerBaseType(e){Ns.add(e)}}rt.getByType=Bo.getByType,rt.getForInstance=Bo.getForInstance,m.defineProperty(rt.prototype,"template");const np={bubbles:!0,composed:!0,cancelable:!0},Ln="isConnected",Fs=new WeakMap,Mn=Symbol("fast-late-attribute-observer");function Ar(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Fs.get(o))!==null&&t!==void 0?t:null}let Es;var be;(function(o){o[o.connecting=0]="connecting",o[o.connected=1]="connected",o[o.disconnecting=2]="disconnecting",o[o.disconnected=3]="disconnected"})(be||(be={}));class Ge{get isConnected(){return m.track(this,Ln),this.stage===be.connected}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:Co.default}get isBound(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.isBound)!==null&&t!==void 0?t:!1}get sourceLifetime(){var e;return(e=this.view)===null||e===void 0?void 0:e.sourceLifetime}get template(){var e;if(this._template===null){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=(e=t.template)!==null&&e!==void 0?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get shadowOptions(){return this._shadowRootOptions}set shadowOptions(e){if(this._shadowRootOptions===void 0&&e!==void 0){this._shadowRootOptions=e;let t=this.source.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=this.source.attachShadow(e),e.mode==="closed"&&Fs.set(this.source,t))}}get mainStyles(){var e;if(this._mainStyles===null){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=(e=t.styles)!==null&&e!==void 0?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}constructor(e,t){this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this.isPrerendered=new Promise(i=>{this._resolvePrerendered=i}),this.isHydrated=new Promise(i=>{this._resolveHydrated=i}),this._template=null,this.stage=be.disconnected,this.guardBehaviorConnection=!1,this.behaviors=null,this.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this._notifier=new ms(e),this.source=e,this.definition=t,this.shadowOptions=t.shadowOptions;const r=Reflect.getPrototypeOf(e),n=r===null?[]:m.getAccessors(r);if(n.length>0){const i=this.boundObservables=Object.create(null);for(let s=0,l=n.length;s<l;++s){const u=n[s].name,d=e[u];d!==void 0&&(delete e[u],i[u]=d)}Object.keys(i).length===0&&(this.boundObservables=null)}this.captureBoundObservables()}get subject(){return this._notifier.subject}notify(e){this._notifier.notify(e)}subscribe(e,t){this._notifier.subscribe(e,t)}unsubscribe(e,t){this._notifier.unsubscribe(e,t)}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,r;const n=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,i=(r=n.get(e))!==null&&r!==void 0?r:0;i===0?(n.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===be.connected||this.stage===be.connecting)&&e.connectedCallback(this)):n.set(e,i+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(r===null)return;const n=r.get(e);n!==void 0&&(n===1||t?(r.delete(e),e.disconnectedCallback&&this.stage!==be.disconnected&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,n-1))}addStyles(e){var t;if(!e)return;const r=this.source;e instanceof HTMLElement?((t=Ar(r))!==null&&t!==void 0?t:this.source).append(e):e.isAttachedTo(r)||e.addStylesTo(r)}removeStyles(e){var t;if(!e)return;const r=this.source;e instanceof HTMLElement?((t=Ar(r))!==null&&t!==void 0?t:r).removeChild(e):e.isAttachedTo(r)&&e.removeStylesFrom(r)}connect(){this.stage===be.disconnected&&(this.stage=be.connecting,this.captureBoundObservables(),this.syncLateAttributes(),this.observeLateAttributes(),this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=be.connected,m.notify(this,Ln))}bindObservables(){if(this.boundObservables!==null){const e=this.source,t=this.boundObservables,r=Object.keys(t);for(let n=0,i=r.length;n<i;++n){const s=r[n];e[s]=t[s]}this.boundObservables=null}}captureBoundObservables(){const e=this.source,t=Object.getOwnPropertyNames(e),r=i=>{let s=Reflect.getPrototypeOf(e);for(;s!==null;){const l=Reflect.getOwnPropertyDescriptor(s,i);if(l?.get||l?.set)return!0;s=Reflect.getPrototypeOf(s)}return!1};let n=this.boundObservables;for(let i=0,s=t.length;i<s;++i){const l=t[i],u=l[0]==="_"?l.slice(1):l;if(!r(u))continue;const d=e[u],c=l!==u,f=d!==null&&typeof d=="object"&&!d?.$isProxy&&!(Array.isArray(d)&&d?.$fastController);if(d===void 0){c||delete e[l];continue}c&&!f||(delete e[l],(n??(n=this.boundObservables=Object.create(null)))[u]=d)}}syncLateAttributes(){const e=Dn(this.definition);if(e!==null)for(const t of Object.keys(e))this.source.hasAttribute(t)&&this.onAttributeChangedCallback(t,null,this.source.getAttribute(t))}observeLateAttributes(){const e=Dn(this.definition);if(e===null)return;const t=this.source;t[Mn]===void 0&&(t[Mn]=new MutationObserver(r=>{const n=t.$fastController,i=Dn(n.definition);if(i!==null)for(let s=0,l=r.length;s<l;++s){const u=r[s].attributeName;u===null||i[u]===void 0||n.onAttributeChangedCallback(u,null,t.getAttribute(u))}}),t[Mn].observe(t,{attributes:!0,attributeFilter:Object.keys(e)}))}connectBehaviors(){if(this.behaviorsConnected===!1){const e=this.behaviors;if(e!==null){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===be.connected&&(this.stage=be.disconnecting,m.notify(this,Ln),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=be.disconnected)}onAttributeChangedCallback(e,t,r){const n=this.definition.attributeLookup[e];n!==void 0&&n.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return this.stage===be.connected?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},np),r))):!1}renderTemplate(e){var t;const r=this.source,n=(t=Ar(r))!==null&&t!==void 0?t:r;if(this.view!==null)this.view.dispose(),this.view=null;else if((!this.needsInitialization||this.hasExistingShadowRoot)&&(!this.hasExistingShadowRoot||!this.needsInitialization))for(let i=n.firstChild;i!==null;i=n.firstChild)n.removeChild(i);if(e){const i=this.hasExistingShadowRoot&&this.needsInitialization;let s=!1;i&&Ge.hydrationHook&&(s=Ge.hydrationHook(this,e,r,n)),s||this.renderClientSide(e,r,n),this._resolvePrerendered(i),this._resolveHydrated(s)}else this.needsInitialization&&(this._resolvePrerendered(!1),this._resolveHydrated(!1))}renderClientSide(e,t,r){if(this.hasExistingShadowRoot){for(let n=r.firstChild;n!==null;n=r.firstChild)r.removeChild(n);this.hasExistingShadowRoot=!1}this.view=e.render(t,r,t),this.view.sourceLifetime=Sr.coupled}static forCustomElement(e,t=!1){const r=e.$fastController;if(r!==void 0&&!t)return r;const n=rt.getForInstance(e);if(n===void 0)throw Ce.error(ce.missingElementDefinition);return m.getNotifier(n).subscribe({handleChange:()=>{Ge.forCustomElement(e,!0),e.$fastController.connect()}},"template"),m.getNotifier(n).subscribe({handleChange:()=>{Ge.forCustomElement(e,!0),e.$fastController.connect()}},"shadowOptions"),e.$fastController=new Es(e,n)}static setStrategy(e){Es=e}static installHydrationHook(e){Ge.hydrationHook=e}}Ge.hydrationHook=null,It(Ge),Ge.setStrategy(Ge);function Nr(o){var e;return"adoptedStyleSheets"in o?o:(e=Ar(o))!==null&&e!==void 0?e:o.getRootNode()}class Sn{constructor(e){const t=Sn.styleSheetCache;this.sheets=e.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=t.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),t.set(r,n)),n})}addStylesTo(e){Ls(Nr(e),this.sheets)}removeStylesFrom(e){Ms(Nr(e),this.sheets)}}Sn.styleSheetCache=new Map;let ip=0;const sp=()=>`fast-${++ip}`;function Ds(o){return o===document?document.body:o}class ap{constructor(e){this.styles=e,this.styleClass=sp()}addStylesTo(e){e=Ds(Nr(e));const t=this.styles,r=this.styleClass;for(let n=0;n<t.length;n++){const i=document.createElement("style");i.innerHTML=t[n],i.className=r,e.append(i)}}removeStylesFrom(e){e=Ds(Nr(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let r=0,n=t.length;r<n;++r)e.removeChild(t[r])}}let Ls=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},Ms=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(fe.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Ls=(o,e)=>{o.adoptedStyleSheets.push(...e)},Ms=(o,e)=>{for(const t of e){const r=o.adoptedStyleSheets.indexOf(t);r!==-1&&o.adoptedStyleSheets.splice(r,1)}}}catch{}fe.setDefaultStrategy(Sn)}else fe.setDefaultStrategy(ap);function Hs(o){const e=class extends o{constructor(){super(),Ge.forCustomElement(this)}$emit(t,r,n){return this.$fastController.emit(t,r,n)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,r,n){this.$fastController.onAttributeChangedCallback(t,r,n)}};return rt.registerBaseType(e),e}function lp(o){return typeof o?.then=="function"}function cp(o,e,t){return Array.isArray(e)&&(t=e,e=void 0),(So(o)?rt.compose(o,e):rt.compose(this,o)).then(n=>{_s(n,n.registry,t);const i=Os(n);return lp(i)?i.then(()=>n.define().type):n.define().type})}function dp(o){return Hs(o)}const x=Object.assign(Hs(HTMLElement),{from:dp,define:cp});function Be(o,e,t){return Object.assign({},t,{get(){return m.trackVolatile(),t.get.apply(this)}})}const Hn=An(),Vs=Object.freeze({getForInstance:Hn.getForInstance,getByType:Hn.getByType,define(o){return Hn.register({type:o}),o}});function Rs(o,e){const t=[];let r="";for(let n=0,i=o.length-1;n<i;++n){r+=o[n];let s=e[n];Vs.getForInstance(s)!==void 0&&(s=s.createCSS()),s instanceof fe||s instanceof CSSStyleSheet?(r.trim()!==""&&(t.push(r),r=""),t.push(s)):r+=s}return r+=o[o.length-1],r.trim()!==""&&t.push(r),t}const p=(o,...e)=>new fe(Rs(o,e));class js{constructor(e){this.value=e.length===0?"":e.length===1?e[0]:new fe(e)}createCSS(){return this.value}}Vs.define(js),p.partial=(o,...e)=>new js(Rs(o,e));const Vn=`fast-${Math.random().toString(36).substring(2,8)}`,Tr=`${Vn}{`,Po=`}${Vn}`,hp=Po.length;let up=0;const Rn=()=>`${Vn}-${++up}`,qs=Object.freeze({interpolation:o=>`${Tr}${o}${Po}`,attribute:o=>`${Rn()}="${Tr}${o}${Po}"`,comment:o=>`<!--${Tr}${o}${Po}-->`}),zr=Object.freeze({parse(o,e){const t=o.split(Tr);if(t.length===1)return null;const r=[];for(let n=0,i=t.length;n<i;++n){const s=t[n],l=s.indexOf(Po);let u;if(l===-1)u=s;else{const d=s.substring(0,l);r.push(e[d]),u=s.substring(l+hp)}u!==""&&r.push(u)}return r}}),jn=An(),Ue=Object.freeze({getForInstance:jn.getForInstance,getByType:jn.getByType,define(o,e){return e=e||{},e.type=o,jn.register(e),o},assignAspect(o,e){if(!e){o.aspectType=Q.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?Q.tokenList:Q.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=Q.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=Q.event;break;default:o.targetAspect=e,o.aspectType=Q.attribute;break}}});class qn{constructor(e){this.options=e}createHTML(e){return qs.attribute(e(this))}createBehavior(){return this}}It(qn);const pp=o=>o.nodeType===1,Io=o=>o?e=>e.nodeType===1&&e.matches(o):pp;class gp extends qn{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=`${e}-c`}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,Vu),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}const Ws=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,fp=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,bp=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,mp=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,vp=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,$p=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function Gs(o){return o&&o.nodeType===Node.COMMENT_NODE}const He=Object.freeze({attributeMarkerName:"data-fe",legacyAttributeMarkerName:"data-fe-b",legacyCompactAttributeMarkerName:"data-fe-c",contentBindingStartMarker(){return"fe:b"},contentBindingEndMarker(){return"fe:/b"},repeatStartMarker(){return"fe:r"},repeatEndMarker(){return"fe:/r"},elementBoundaryStartMarker(){return"fe:e"},elementBoundaryEndMarker(){return"fe:/e"},isContentBindingStartMarker(o){return o==="fe:b"||Ws.test(o)},isContentBindingEndMarker(o){return o==="fe:/b"||fp.test(o)},isRepeatViewStartMarker(o){return o==="fe:r"||bp.test(o)},isRepeatViewEndMarker(o){return o==="fe:/r"||mp.test(o)},isElementBoundaryStartMarker(o){return Gs(o)&&(o.data==="fe:e"||vp.test(o.data))},isElementBoundaryEndMarker(o){return Gs(o)&&(o.data==="fe:/e"||$p.test(o.data))},parseAttributeBindingCount(o){const e=o.getAttribute(this.attributeMarkerName);if(e===null)return null;const t=e.trim();if(!/^\d+$/.test(t))throw Ce.error(ce.invalidHydrationAttributeMarker,{value:e});const r=parseInt(t,10);if(r<1)throw Ce.error(ce.invalidHydrationAttributeMarker,{value:e});return r},parseLegacyAttributeBindingIndices(o){const e=[],t=o.getAttribute(this.legacyAttributeMarkerName);if(t!==null)for(const i of t.trim().split(/\s+/)){if(i==="")continue;const s=Number(i);if(!Number.isInteger(s)||s<0)throw Ce.error(ce.invalidHydrationAttributeMarker,{value:t});e.push(s)}const r=`${this.legacyAttributeMarkerName}-`,n=`${this.legacyCompactAttributeMarkerName}-`;for(const i of o.getAttributeNames())if(i.startsWith(r)){const s=Number(i.slice(r.length));if(!Number.isInteger(s)||s<0)throw Ce.error(ce.invalidHydrationAttributeMarker,{value:i});e.push(s)}else if(i.startsWith(n)){const[s,l]=i.slice(n.length).split("-").map(u=>Number(u));if(!Number.isInteger(s)||!Number.isInteger(l)||s<0||l<1)throw Ce.error(ce.invalidHydrationAttributeMarker,{value:i});for(let u=0;u<l;u++)e.push(s+u)}return e.length===0?null:e},removeLegacyAttributeBindingMarkers(o){o.removeAttribute(this.legacyAttributeMarkerName);for(const e of o.getAttributeNames())(e.startsWith(`${this.legacyAttributeMarkerName}-`)||e.startsWith(`${this.legacyCompactAttributeMarkerName}-`))&&o.removeAttribute(e)},parseLegacyContentBindingStartIndex(o){return yp(Ws,o)}});function yp(o,e){const t=o.exec(e);return t===null?null:Number(t[1])}const _r=Symbol.for("fe-hydration");function Xs(o){return o[_r]===_r}const kp="unknown";function xp(o,e){const t=e?`: ${e}`:"";return`Hydration mismatch in <${o}>${t}. Install hydrationDebugger() from "@microsoft/fast-element/hydration.js" and pass it as enableHydration({ debugger: hydrationDebugger() }) for an "Expected / Received" report including the SSR HTML snippet.`}const wp="content following `<!--fe:b-->` content binding marker",Sp="matching `<!--fe:/b-->` content binding close marker",Cp="matching `<!--fe:/e-->` element boundary close marker";function Us(o){return`no more attribute bindings (template defines ${o})`}function Bp(o){return`no more content bindings (template defines ${o})`}function Ks(o,e){const t=(o??kp).toLowerCase();return xp(t,e)}const Pp={formatBindingMismatch(o,e,t,r){return{message:Ks(r,void 0)}},formatStructuralError(o,e,t){return{message:Ks(e,t)}}};let Ip=Pp;function Nt(){return Ip}function Tt(o){var e;return o?(e=o.getRootNode().host)===null||e===void 0?void 0:e.nodeName:void 0}class zt extends Error{constructor(e,t,r,n,i){super(e),this.factories=t,this.node=r,this.expected=n,this.received=i}}function Wn(o){return o.nodeType===Node.COMMENT_NODE}function Ys(o){return o.nodeType===Node.TEXT_NODE}function Js(o,e){const t=document.createRange();return t.setStart(o,0),t.setEnd(e,Wn(e)||Ys(e)?e.data.length:e.childNodes.length),t}function Ap(o,e,t){const r=Js(o,e),n=r.commonAncestorContainer,i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(f){return r.comparePoint(f,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),s={},l={},u=zp(t);let d=u,c=i.currentNode=o;for(;c!==null;){switch(c.nodeType){case Node.ELEMENT_NODE:{const f=c,S=He.parseLegacyAttributeBindingIndices(f);if(S!==null){for(const X of S){const le=X+u,dt=t[le];if(!dt){const wo=Us(t.length),Bn=Nt().formatStructuralError(c,Tt(c),wo);throw new zt(Bn.message,t,f,Bn.expected,Bn.received)}Ao(dt,c,s),d=Math.max(d,le+1)}He.removeLegacyAttributeBindingMarkers(f);break}const E=He.parseAttributeBindingCount(f);if(E!==null){for(let X=0;X<E;X++){const le=t[d++];if(!le){const dt=Us(t.length),wo=Nt().formatStructuralError(c,Tt(c),dt);throw new zt(wo.message,t,c,wo.expected,wo.received)}Ao(le,c,s)}f.removeAttribute(He.attributeMarkerName)}break}case Node.COMMENT_NODE:{const f=c.data;if(He.isElementBoundaryStartMarker(c))c.data="",Tp(i,t,c);else if(He.isContentBindingStartMarker(f)){const S=He.parseLegacyContentBindingStartIndex(f),E=S===null?d++:S+u,X=t[E];if(d=Math.max(d,E+1),!X){const le=Bp(t.length),dt=Nt().formatStructuralError(c,Tt(c),le);throw new zt(dt.message,t,c,dt.expected,dt.received)}Np(c,i,X,t,s,l)}break}}c=i.nextNode()}return r.detach(),{targets:s,boundaries:l}}function Np(o,e,t,r,n,i){const s=[];let l=e.nextSibling();if(o.data="",l===null){const c=wp,f=Nt().formatStructuralError(o,Tt(o),c);throw new zt(f.message,r,o,f.expected,f.received)}const u=l;let d=0;for(;l!==null;){if(Wn(l)){if(He.isContentBindingStartMarker(l.data))d++;else if(He.isContentBindingEndMarker(l.data)){if(d===0)break;d--}}s.push(l),l=e.nextSibling()}if(l===null){const c=Sp,f=Nt().formatStructuralError(o,Tt(o),c);throw new zt(f.message,r,o,f.expected,f.received)}if(l.data="",s.length===1&&Ys(s[0]))Ao(t,s[0],n);else{l!==u&&l.previousSibling!==null&&(i[t.targetNodeId]={first:u,last:l.previousSibling});const c=l.parentNode.insertBefore(document.createTextNode(""),l);Ao(t,c,n)}}function Tp(o,e,t){let r=0,n=o.nextSibling();for(;n!==null;){if(Wn(n)){if(He.isElementBoundaryStartMarker(n))n.data="",r++;else if(He.isElementBoundaryEndMarker(n)){if(r===0){n.data="";return}n.data="",r--}}n=o.nextSibling()}const i=Cp,s=Nt().formatStructuralError(t,Tt(t),i);throw new zt(s.message,e,t,s.expected,s.received)}function zp(o){let e=0;for(let t=0,r=o.length;t<r&&o[t].targetNodeId==="h";++t)e++;return e}function Ao(o,e,t){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");t[o.targetNodeId]=e}function Gn(o,e){const t=o.parentNode;let r=o,n;for(;r!==e;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.removeChild(r),r=n}t.removeChild(e)}class Zs{constructor(){this.index=0,this.length=0}get event(){return Co.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}}class Or extends Zs{constructor(e,t,r){super(),this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=Sr.unknown,this._skipAttrUpdates=!1,this.isPrerendered=Promise.resolve(!1),this.isHydrated=Promise.resolve(!1),this.context=this,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r=this.firstChild,n;for(;r!==t;)n=r.nextSibling,e.appendChild(r),r=n;e.appendChild(t)}dispose(){Gn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e&&this.context===t)return;let r=this.behaviors;if(r===null){this.source=e,this.context=t,this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const l=n[i].createBehavior();l.bind(this),r[i]=l}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(e.length!==0){Gn(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}It(Or),m.defineProperty(Or.prototype,"index"),m.defineProperty(Or.prototype,"length");var Qs;const No={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class _p extends Error{constructor(e,t,r,n,i,s){super(e),this.factory=t,this.fragment=r,this.templateString=n,this.expected=i,this.received=s}}class Op extends Zs{get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}constructor(e,t,r,n){super(),this.firstChild=e,this.lastChild=t,this.sourceTemplate=r,this.hostBindingTarget=n,this[Qs]=_r,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=Sr.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=No.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=r.compile().factories}insertBefore(e){if(this.fragment!==null)if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}appendTo(e){this.fragment!==null&&e.appendChild(this.fragment)}remove(){const e=this.fragment||(this.fragment=document.createDocumentFragment()),t=this.lastChild;let r=this.firstChild,n;for(;r!==t;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.appendChild(r),r=n}e.appendChild(t)}bind(e,t=this){if(this.source===e&&this.context===t)return;this.hydrationStage!==No.hydrated&&(this._hydrationStage=No.hydrating);let r=this.behaviors;if(r===null){this.source=e,this.context=t;try{const{targets:i,boundaries:s}=Ap(this.firstChild,this.lastChild,this.factories);this._targets=i,this._bindingViewBoundaries=s}catch(i){if(i instanceof zt){let s=this.sourceTemplate.html;typeof s!="string"&&(s=s.innerHTML),i.templateString=s}throw i}this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const l=n[i];if(l.targetNodeId==="h"&&this.hostBindingTarget&&Ao(l,this.hostBindingTarget,this._targets),l.targetNodeId in this.targets){const u=l.createBehavior();u.bind(this),r[i]=u}else{let u=this.sourceTemplate.html;typeof u!="string"&&(u=u.innerHTML);const d=Js(this.firstChild,this.lastChild).cloneContents(),c=Nt().formatBindingMismatch(l,this.firstChild,this.lastChild,Tt(this.firstChild));throw new _p(c.message,l,d,u,c.expected,c.received)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0,this._hydrationStage=No.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){Gn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}}Qs=_r,It(Op);function Fp(o){return o.create!==void 0}function Ep(o,e,t,r){if(t==null&&(t=""),Fp(t)){o.textContent="";let n=o.$fastView;if(n===void 0)if(Xs(r)&&Xs(t)&&r.bindingViewBoundaries[this.targetNodeId]!==void 0&&r.hydrationStage!==No.hydrated){const i=r.bindingViewBoundaries[this.targetNodeId];n=t.hydrate(i.first,i.last)}else n=t.create();else o.$fastTemplate!==t&&(n.isComposed&&(n.remove(),n.unbind()),n=t.create());n.isComposed?n.needsBindOnly&&(n.needsBindOnly=!1,n.bind(r.source,r.context)):(n.isComposed=!0,n.bind(r.source,r.context),n.insertBefore(o),o.$fastView=n,o.$fastTemplate=t)}else{const n=o.$fastView;n!==void 0&&n.isComposed&&(n.isComposed=!1,n.remove(),n.needsBindOnly?n.needsBindOnly=!1:n.unbind()),o.textContent=t}}function Dp(o,e,t){var r;const n=`${this.id}-t`,i=(r=o[n])!==null&&r!==void 0?r:o[n]={v:0,cv:Object.create(null)},s=i.cv;let l=i.v;const u=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let c=0,f=d.length;c<f;++c){const S=d[c];S!==""&&(s[S]=l,u.add(S))}}if(i.v=l+1,l!==0){l-=1;for(const d in s)s[d]===l&&u.remove(d)}}const Lp={[Q.attribute]:Qt.setAttribute,[Q.booleanAttribute]:Qt.setBooleanAttribute,[Q.property]:(o,e,t)=>o[e]=t,[Q.content]:Ep,[Q.tokenList]:Dp,[Q.event]:()=>{}};class eo{constructor(e){this.updateTarget=null,this.aspectType=Q.content,this.dataBinding=e}createHTML(e){return qs.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=Lp[this.aspectType],r=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw Ce.error(ce.unsupportedBindingBehavior);this.data=`${this.id}-d`,this.updateTarget=r.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const r=e.targets[this.targetNodeId];switch(this.aspectType){case Q.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Q.content:e.onUnbind(this);default:{const n=(t=r[this.data])!==null&&t!==void 0?t:r[this.data]=this.dataBinding.createObserver(this,this);n.target=r,n.controller=e;const i=n.bind(e);if(e._skipAttrUpdates&&(this.aspectType===Q.attribute||this.aspectType===Q.booleanAttribute))break;this.updateTarget(r,this.targetAspect,i,e);break}}}unbind(e){const r=e.targets[this.targetNodeId].$fastView;r!==void 0&&r.isComposed&&(r.unbind(),r.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){Co.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);Co.setEvent(null),r!==!0&&e.preventDefault()}}handleChange(e,t){const r=t.controller;if(!r.isBound)return;const n=t.target;this.updateTarget(n,this.targetAspect,t.bind(r),r)}}Ue.define(eo,{aspected:!0});const ea=(o,e)=>`${o}.${e}`,ta={},Ke={index:0,node:null};function oa(o){o.startsWith("fast-")||Ce.warn(ce.hostBindingWithoutHost,{name:o})}const Mp=new Proxy(document.createElement("div"),{get(o,e){oa(e);const t=Reflect.get(o,e);return So(t)?t.bind(o):t},set(o,e,t){return oa(e),Reflect.set(o,e,t)}});class Hp{constructor(e,t,r){this.fragment=e,this.directives=t,this.policy=r,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,r,n,i){var s,l;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,n)),e.id=(s=e.id)!==null&&s!==void 0?s:Rn(),e.targetNodeId=r,e.targetTagName=i,e.policy=(l=e.policy)!==null&&l!==void 0?l:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,r){const n=this.descriptors;if(t==="r"||t==="h"||n[t])return;if(!n[e]){const s=e.lastIndexOf("."),l=e.substring(0,s),u=parseInt(e.substring(s+1),10);this.addTargetDescriptor(l,e,u)}let i=ta[t];if(!i){const s=`_${t}`;ta[t]=i={get(){var l;return(l=this[s])!==null&&l!==void 0?l:this[s]=this[e].childNodes[r]}}}n[t]=i}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=e??Mp;for(const n of this.nodeIds)Reflect.get(r,n);return new Or(t,this.factories,r)}}function ra(o,e,t,r,n,i=!1){const s=t.attributes,l=o.directives;for(let u=0,d=s.length;u<d;++u){const c=s[u],f=c.value,S=zr.parse(f,l);let E=null;S===null?i&&(E=new eo(bs(()=>f,o.policy)),Ue.assignAspect(E,c.name)):E=Xn.aggregate(S,o.policy),E!==null&&(t.removeAttributeNode(c),u--,d--,o.addFactory(E,e,r,n,t.tagName))}}function Vp(o,e,t,r,n){const i=zr.parse(e.textContent,o.directives);if(i===null)return Ke.node=e.nextSibling,Ke.index=n+1,Ke;let s,l=s=e;for(let u=0,d=i.length;u<d;++u){const c=i[u];u!==0&&(n++,r=ea(t,n),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),ht(c)?s.textContent=c:(s.textContent=" ",Ue.assignAspect(c),o.addFactory(c,t,r,n,null)),l=s}return Ke.index=n+1,Ke.node=l.nextSibling,Ke}function na(o,e,t){let r=0,n=e.firstChild;for(;n;){const i=Rp(o,t,n,r);n=i.node,r=i.index}}function Rp(o,e,t,r){const n=ea(e,r);switch(t.nodeType){case 1:ra(o,e,t,n,r),na(o,t,n);break;case 3:return Vp(o,t,e,n,r);case 8:{const i=zr.parse(t.data,o.directives);i!==null&&o.addFactory(Xn.aggregate(i),e,n,r,null);break}}return Ke.index=r+1,Ke.node=t.nextSibling,Ke}function jp(o,e){return o&&o.nodeType===8&&zr.parse(o.data,e)!==null}const ia="TEMPLATE",Xn={compile(o,e,t=Qt.policy){let r;if(ht(o)){r=document.createElement(ia),r.innerHTML=t.createHTML(o);const s=r.content.firstElementChild;s!==null&&s.tagName===ia&&(r=s)}else r=o;!r.content.firstChild&&!r.content.lastChild&&r.content.appendChild(document.createComment(""));const n=document.adoptNode(r.content),i=new Hp(n,e,t);return ra(i,"",r,"h",0,!0),(jp(n.firstChild,e)||n.childNodes.length===1&&Object.keys(e).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),na(i,n,"r"),Ke.node=null,i.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=Qt.policy){if(o.length===1)return o[0];let t,r=!1,n;const i=o.length,s=o.map(d=>ht(d)?()=>d:(t=d.sourceAspect||t,r=r||d.dataBinding.isVolatile,n=n||d.dataBinding.policy,d.dataBinding.evaluate)),l=(d,c)=>{let f="";for(let S=0;S<i;++S)f+=s[S](d,c);return f},u=new eo(ys(l,n??e,r));return Ue.assignAspect(u,t),u}};class sa extends qn{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Ue.define(sa);const N=o=>new sa(o),qp=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,Wp=Object.create(null);class _t{constructor(e,t=Wp){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}_t.empty=new _t(""),Ue.define(_t);function Gp(o,e,t,r=Ue.getForInstance(o)){if(r.aspected){const n=qp.exec(e);n!==null&&Ue.assignAspect(o,n[2])}return o.createHTML(t)}class Cn{constructor(e,t={},r){this.policy=r,this.result=null,this.html=e,this.factories=t}compile(){return this.result===null&&(this.result=Xn.compile(this.html,this.factories,this.policy)),this.result}inline(){return new _t(ht(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw Ce.error(ce.cannotSetTemplatePolicyAfterCompilation);if(this.policy)throw Ce.error(ce.onlySetTemplatePolicyOnce);return this.policy=e,this}render(e,t,r){const n=this.create(r);return n.bind(e),n.appendTo(t),n}create(e){return this.compile().createView(e)}static create(e,t,r){let n="";const i=Object.create(null),s=l=>{var u;const d=(u=l.id)!==null&&u!==void 0?u:l.id=Rn();return i[d]=l,d};for(let l=0,u=e.length-1;l<u;++l){const d=e[l];let c=t[l],f;if(n+=d,So(c))c=new eo(ys(c));else if(c instanceof In)c=new eo(c);else if(!(f=Ue.getForInstance(c))){const S=c;c=new eo(bs(()=>S))}n+=Gp(c,d,s,f)}return new Cn(n+e[e.length-1],i,r)}}It(Cn);const b=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Cn.create(o,e);throw Ce.error(ce.directCallToHTMLTagNotAllowed)};b.partial=o=>new _t(o);const aa="slotchange";class la extends gp{observe(e){e.addEventListener(aa,this)}disconnect(e){e.removeEventListener(aa,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}Ue.define(la);function Y(o){return ht(o)&&(o={property:o}),new la(o)}const Xp=":host([hidden]){display:none}";function w(o){return`${Xp}:host{display:${o}}`}const A="var(--colorNeutralForeground1)",Un="var(--colorNeutralForeground1Hover)",ca="var(--colorNeutralForeground1Pressed)",Up="var(--colorNeutralForeground1Selected)",Ne="var(--colorNeutralForeground2)",Ot="var(--colorNeutralForeground2Hover)",Ft="var(--colorNeutralForeground2Pressed)",To="var(--colorNeutralForeground2Selected)",zo="var(--colorNeutralForeground2BrandHover)",_o="var(--colorNeutralForeground2BrandPressed)",da="var(--colorNeutralForeground2BrandSelected)",U="var(--colorNeutralForeground3)",ha="var(--colorNeutralForeground3Hover)",ua="var(--colorNeutralForeground3Pressed)",pa="var(--colorNeutralForeground3Selected)",Kp="var(--colorNeutralForeground3BrandHover)",Yp="var(--colorNeutralForeground3BrandPressed)",Jp="var(--colorNeutralForeground3BrandSelected)",Fr="var(--colorNeutralForeground4)",Zp="var(--colorNeutralForeground5)",Qp="var(--colorNeutralForeground5Hover)",eg="var(--colorNeutralForeground5Pressed)",tg="var(--colorNeutralForeground5Selected)",z="var(--colorNeutralForegroundDisabled)",ga="var(--colorBrandForegroundLink)",fa="var(--colorBrandForegroundLinkHover)",ba="var(--colorBrandForegroundLinkPressed)",og="var(--colorBrandForegroundLinkSelected)",ma="var(--colorNeutralForeground2Link)",va="var(--colorNeutralForeground2LinkHover)",$a="var(--colorNeutralForeground2LinkPressed)",rg="var(--colorNeutralForeground2LinkSelected)",ng="var(--colorCompoundBrandForeground1)",ya="var(--colorCompoundBrandForeground1Hover)",ka="var(--colorCompoundBrandForeground1Pressed)",Ye="var(--colorNeutralForegroundOnBrand)",ut="var(--colorNeutralForegroundInverted)",xa="var(--colorNeutralForegroundInvertedHover)",wa="var(--colorNeutralForegroundInvertedPressed)",ig="var(--colorNeutralForegroundInvertedSelected)",sg="var(--colorNeutralForegroundInverted2)",Kn="var(--colorNeutralForegroundStaticInverted)",ag="var(--colorNeutralForegroundInvertedLink)",lg="var(--colorNeutralForegroundInvertedLinkHover)",cg="var(--colorNeutralForegroundInvertedLinkPressed)",dg="var(--colorNeutralForegroundInvertedLinkSelected)",hg="var(--colorNeutralForegroundInvertedDisabled)",Oo="var(--colorBrandForeground1)",Sa="var(--colorBrandForeground2)",ug="var(--colorBrandForeground2Hover)",pg="var(--colorBrandForeground2Pressed)",Ca="var(--colorNeutralForeground1Static)",gg="var(--colorBrandForegroundInverted)",fg="var(--colorBrandForegroundInvertedHover)",bg="var(--colorBrandForegroundInvertedPressed)",mg="var(--colorBrandForegroundOnLight)",vg="var(--colorBrandForegroundOnLightHover)",$g="var(--colorBrandForegroundOnLightPressed)",yg="var(--colorBrandForegroundOnLightSelected)",B="var(--colorNeutralBackground1)",Fo="var(--colorNeutralBackground1Hover)",Er="var(--colorNeutralBackground1Pressed)",Yn="var(--colorNeutralBackground1Selected)",kg="var(--colorNeutralBackground2)",xg="var(--colorNeutralBackground2Hover)",wg="var(--colorNeutralBackground2Pressed)",Sg="var(--colorNeutralBackground2Selected)",to="var(--colorNeutralBackground3)",Cg="var(--colorNeutralBackground3Hover)",Bg="var(--colorNeutralBackground3Pressed)",Pg="var(--colorNeutralBackground3Selected)",Ba="var(--colorNeutralBackground4)",Ig="var(--colorNeutralBackground4Hover)",Ag="var(--colorNeutralBackground4Pressed)",Ng="var(--colorNeutralBackground4Selected)",Pa="var(--colorNeutralBackground5)",Tg="var(--colorNeutralBackground5Hover)",zg="var(--colorNeutralBackground5Pressed)",_g="var(--colorNeutralBackground5Selected)",oo="var(--colorNeutralBackground6)",Og="var(--colorNeutralBackground7)",Fg="var(--colorNeutralBackground7Hover)",Eg="var(--colorNeutralBackground7Pressed)",Dg="var(--colorNeutralBackground7Selected)",Lg="var(--colorNeutralBackground8)",Jn="var(--colorNeutralBackgroundInverted)",Mg="var(--colorNeutralBackgroundInvertedHover)",Hg="var(--colorNeutralBackgroundInvertedPressed)",Vg="var(--colorNeutralBackgroundInvertedSelected)",Rg="var(--colorNeutralBackgroundStatic)",jg="var(--colorNeutralBackgroundAlpha)",qg="var(--colorNeutralBackgroundAlpha2)",Zn="var(--colorSubtleBackground)",Eo="var(--colorSubtleBackgroundHover)",ro="var(--colorSubtleBackgroundPressed)",Qn="var(--colorSubtleBackgroundSelected)",Ia="var(--colorSubtleBackgroundLightAlphaHover)",Aa="var(--colorSubtleBackgroundLightAlphaPressed)",Na="var(--colorSubtleBackgroundLightAlphaSelected)",Wg="var(--colorSubtleBackgroundInverted)",Gg="var(--colorSubtleBackgroundInvertedHover)",Xg="var(--colorSubtleBackgroundInvertedPressed)",Ug="var(--colorSubtleBackgroundInvertedSelected)",de="var(--colorTransparentBackground)",Do="var(--colorTransparentBackgroundHover)",Lo="var(--colorTransparentBackgroundPressed)",ei="var(--colorTransparentBackgroundSelected)",nt="var(--colorNeutralBackgroundDisabled)",Kg="var(--colorNeutralBackgroundDisabled2)",Yg="var(--colorNeutralBackgroundInvertedDisabled)",Jg="var(--colorNeutralStencil1)",Zg="var(--colorNeutralStencil2)",Qg="var(--colorNeutralStencil1Alpha)",ef="var(--colorNeutralStencil2Alpha)",Dr="var(--colorBackgroundOverlay)",tf="var(--colorScrollbarOverlay)",ti="var(--colorBrandBackground)",oi="var(--colorBrandBackgroundHover)",ri="var(--colorBrandBackgroundPressed)",Ta="var(--colorBrandBackgroundSelected)",pt="var(--colorCompoundBrandBackground)",Et="var(--colorCompoundBrandBackgroundHover)",Dt="var(--colorCompoundBrandBackgroundPressed)",ni="var(--colorBrandBackgroundStatic)",ii="var(--colorBrandBackground2)",of="var(--colorBrandBackground2Hover)",rf="var(--colorBrandBackground2Pressed)",nf="var(--colorBrandBackground3Static)",sf="var(--colorBrandBackground4Static)",af="var(--colorBrandBackgroundInverted)",lf="var(--colorBrandBackgroundInvertedHover)",cf="var(--colorBrandBackgroundInvertedPressed)",df="var(--colorBrandBackgroundInvertedSelected)",hf="var(--colorNeutralCardBackground)",uf="var(--colorNeutralCardBackgroundHover)",pf="var(--colorNeutralCardBackgroundPressed)",gf="var(--colorNeutralCardBackgroundSelected)",ff="var(--colorNeutralCardBackgroundDisabled)",Ve="var(--colorNeutralStrokeAccessible)",gt="var(--colorNeutralStrokeAccessibleHover)",ft="var(--colorNeutralStrokeAccessiblePressed)",bf="var(--colorNeutralStrokeAccessibleSelected)",Re="var(--colorNeutralStroke1)",bt="var(--colorNeutralStroke1Hover)",no="var(--colorNeutralStroke1Pressed)",mf="var(--colorNeutralStroke1Selected)",io="var(--colorNeutralStroke2)",za="var(--colorNeutralStroke3)",vf="var(--colorNeutralStroke4)",$f="var(--colorNeutralStroke4Hover)",yf="var(--colorNeutralStroke4Pressed)",kf="var(--colorNeutralStroke4Selected)",xf="var(--colorNeutralStrokeSubtle)",wf="var(--colorNeutralStrokeOnBrand)",_a="var(--colorNeutralStrokeOnBrand2)",Sf="var(--colorNeutralStrokeOnBrand2Hover)",Cf="var(--colorNeutralStrokeOnBrand2Pressed)",Bf="var(--colorNeutralStrokeOnBrand2Selected)",si="var(--colorBrandStroke1)",ai="var(--colorBrandStroke2)",Pf="var(--colorBrandStroke2Hover)",If="var(--colorBrandStroke2Pressed)",Af="var(--colorBrandStroke2Contrast)",it="var(--colorCompoundBrandStroke)",Oa="var(--colorCompoundBrandStrokeHover)",li="var(--colorCompoundBrandStrokePressed)",me="var(--colorNeutralStrokeDisabled)",Nf="var(--colorNeutralStrokeDisabled2)",Tf="var(--colorNeutralStrokeInvertedDisabled)",K="var(--colorTransparentStroke)",Lr="var(--colorTransparentStrokeInteractive)",zf="var(--colorTransparentStrokeDisabled)",_f="var(--colorNeutralStrokeAlpha)",Of="var(--colorNeutralStrokeAlpha2)",Mo="var(--colorStrokeFocus1)",ae="var(--colorStrokeFocus2)",Fa="var(--colorNeutralShadowAmbient)",Ea="var(--colorNeutralShadowKey)",Ff="var(--colorNeutralShadowAmbientLighter)",Ef="var(--colorNeutralShadowKeyLighter)",Df="var(--colorNeutralShadowAmbientDarker)",Lf="var(--colorNeutralShadowKeyDarker)",Mf="var(--colorBrandShadowAmbient)",Hf="var(--colorBrandShadowKey)",ci="var(--colorPaletteRedBackground1)",Da="var(--colorPaletteRedBackground2)",di="var(--colorPaletteRedBackground3)",Vf="var(--colorPaletteRedBorderActive)",hi="var(--colorPaletteRedBorder1)",Mr="var(--colorPaletteRedBorder2)",Hr="var(--colorPaletteRedForeground1)",La="var(--colorPaletteRedForeground2)",ui="var(--colorPaletteRedForeground3)",Rf="var(--colorPaletteRedForegroundInverted)",pi="var(--colorPaletteGreenBackground1)",jf="var(--colorPaletteGreenBackground2)",gi="var(--colorPaletteGreenBackground3)",qf="var(--colorPaletteGreenBorderActive)",Ma="var(--colorPaletteGreenBorder1)",Ha="var(--colorPaletteGreenBorder2)",Va="var(--colorPaletteGreenForeground1)",Ra="var(--colorPaletteGreenForeground2)",ja="var(--colorPaletteGreenForeground3)",Wf="var(--colorPaletteGreenForegroundInverted)",fi="var(--colorPaletteDarkOrangeBackground1)",Gf="var(--colorPaletteDarkOrangeBackground2)",bi="var(--colorPaletteDarkOrangeBackground3)",Xf="var(--colorPaletteDarkOrangeBorderActive)",mi="var(--colorPaletteDarkOrangeBorder1)",Uf="var(--colorPaletteDarkOrangeBorder2)",qa="var(--colorPaletteDarkOrangeForeground1)",Kf="var(--colorPaletteDarkOrangeForeground2)",vi="var(--colorPaletteDarkOrangeForeground3)",Wa="var(--colorPaletteYellowBackground1)",Yf="var(--colorPaletteYellowBackground2)",Ga="var(--colorPaletteYellowBackground3)",Jf="var(--colorPaletteYellowBorderActive)",Xa="var(--colorPaletteYellowBorder1)",Zf="var(--colorPaletteYellowBorder2)",Qf="var(--colorPaletteYellowForeground1)",Vr="var(--colorPaletteYellowForeground2)",eb="var(--colorPaletteYellowForeground3)",tb="var(--colorPaletteYellowForegroundInverted)",ob="var(--colorPaletteBerryBackground1)",rb="var(--colorPaletteBerryBackground2)",nb="var(--colorPaletteBerryBackground3)",ib="var(--colorPaletteBerryBorderActive)",sb="var(--colorPaletteBerryBorder1)",ab="var(--colorPaletteBerryBorder2)",lb="var(--colorPaletteBerryForeground1)",cb="var(--colorPaletteBerryForeground2)",db="var(--colorPaletteBerryForeground3)",hb="var(--colorPaletteMarigoldBackground1)",$i="var(--colorPaletteMarigoldBackground2)",ub="var(--colorPaletteMarigoldBackground3)",Ua="var(--colorPaletteMarigoldBorderActive)",pb="var(--colorPaletteMarigoldBorder1)",gb="var(--colorPaletteMarigoldBorder2)",fb="var(--colorPaletteMarigoldForeground1)",Ka="var(--colorPaletteMarigoldForeground2)",bb="var(--colorPaletteMarigoldForeground3)",mb="var(--colorPaletteLightGreenBackground1)",vb="var(--colorPaletteLightGreenBackground2)",$b="var(--colorPaletteLightGreenBackground3)",yb="var(--colorPaletteLightGreenBorderActive)",kb="var(--colorPaletteLightGreenBorder1)",xb="var(--colorPaletteLightGreenBorder2)",wb="var(--colorPaletteLightGreenForeground1)",Sb="var(--colorPaletteLightGreenForeground2)",Cb="var(--colorPaletteLightGreenForeground3)",Ya="var(--colorPaletteAnchorBackground2)",Bb="var(--colorPaletteAnchorBorderActive)",Ja="var(--colorPaletteAnchorForeground2)",Za="var(--colorPaletteBeigeBackground2)",Pb="var(--colorPaletteBeigeBorderActive)",Qa="var(--colorPaletteBeigeForeground2)",el="var(--colorPaletteBlueBackground2)",Ib="var(--colorPaletteBlueBorderActive)",tl="var(--colorPaletteBlueForeground2)",ol="var(--colorPaletteBrassBackground2)",Ab="var(--colorPaletteBrassBorderActive)",rl="var(--colorPaletteBrassForeground2)",nl="var(--colorPaletteBrownBackground2)",Nb="var(--colorPaletteBrownBorderActive)",il="var(--colorPaletteBrownForeground2)",sl="var(--colorPaletteCornflowerBackground2)",Tb="var(--colorPaletteCornflowerBorderActive)",al="var(--colorPaletteCornflowerForeground2)",ll="var(--colorPaletteCranberryBackground2)",zb="var(--colorPaletteCranberryBorderActive)",cl="var(--colorPaletteCranberryForeground2)",dl="var(--colorPaletteDarkGreenBackground2)",_b="var(--colorPaletteDarkGreenBorderActive)",hl="var(--colorPaletteDarkGreenForeground2)",ul="var(--colorPaletteDarkRedBackground2)",Ob="var(--colorPaletteDarkRedBorderActive)",pl="var(--colorPaletteDarkRedForeground2)",gl="var(--colorPaletteForestBackground2)",Fb="var(--colorPaletteForestBorderActive)",fl="var(--colorPaletteForestForeground2)",bl="var(--colorPaletteGoldBackground2)",Eb="var(--colorPaletteGoldBorderActive)",ml="var(--colorPaletteGoldForeground2)",vl="var(--colorPaletteGrapeBackground2)",Db="var(--colorPaletteGrapeBorderActive)",$l="var(--colorPaletteGrapeForeground2)",yl="var(--colorPaletteLavenderBackground2)",Lb="var(--colorPaletteLavenderBorderActive)",kl="var(--colorPaletteLavenderForeground2)",xl="var(--colorPaletteLightTealBackground2)",Mb="var(--colorPaletteLightTealBorderActive)",wl="var(--colorPaletteLightTealForeground2)",Sl="var(--colorPaletteLilacBackground2)",Hb="var(--colorPaletteLilacBorderActive)",Cl="var(--colorPaletteLilacForeground2)",Bl="var(--colorPaletteMagentaBackground2)",Vb="var(--colorPaletteMagentaBorderActive)",Pl="var(--colorPaletteMagentaForeground2)",Il="var(--colorPaletteMinkBackground2)",Rb="var(--colorPaletteMinkBorderActive)",Al="var(--colorPaletteMinkForeground2)",Nl="var(--colorPaletteNavyBackground2)",jb="var(--colorPaletteNavyBorderActive)",Tl="var(--colorPaletteNavyForeground2)",zl="var(--colorPalettePeachBackground2)",qb="var(--colorPalettePeachBorderActive)",_l="var(--colorPalettePeachForeground2)",Ol="var(--colorPalettePinkBackground2)",Wb="var(--colorPalettePinkBorderActive)",Fl="var(--colorPalettePinkForeground2)",El="var(--colorPalettePlatinumBackground2)",Gb="var(--colorPalettePlatinumBorderActive)",Dl="var(--colorPalettePlatinumForeground2)",Ll="var(--colorPalettePlumBackground2)",Xb="var(--colorPalettePlumBorderActive)",Ml="var(--colorPalettePlumForeground2)",Hl="var(--colorPalettePumpkinBackground2)",Ub="var(--colorPalettePumpkinBorderActive)",Vl="var(--colorPalettePumpkinForeground2)",Rl="var(--colorPalettePurpleBackground2)",Kb="var(--colorPalettePurpleBorderActive)",jl="var(--colorPalettePurpleForeground2)",ql="var(--colorPaletteRoyalBlueBackground2)",Yb="var(--colorPaletteRoyalBlueBorderActive)",Wl="var(--colorPaletteRoyalBlueForeground2)",Gl="var(--colorPaletteSeafoamBackground2)",Jb="var(--colorPaletteSeafoamBorderActive)",Xl="var(--colorPaletteSeafoamForeground2)",Ul="var(--colorPaletteSteelBackground2)",Zb="var(--colorPaletteSteelBorderActive)",Kl="var(--colorPaletteSteelForeground2)",Yl="var(--colorPaletteTealBackground2)",Qb="var(--colorPaletteTealBorderActive)",Jl="var(--colorPaletteTealForeground2)",em="var(--colorStatusSuccessBackground1)",tm="var(--colorStatusSuccessBackground2)",om="var(--colorStatusSuccessBackground3)",rm="var(--colorStatusSuccessForeground1)",nm="var(--colorStatusSuccessForeground2)",im="var(--colorStatusSuccessForeground3)",sm="var(--colorStatusSuccessForegroundInverted)",am="var(--colorStatusSuccessBorderActive)",lm="var(--colorStatusSuccessBorder1)",cm="var(--colorStatusSuccessBorder2)",dm="var(--colorStatusWarningBackground1)",hm="var(--colorStatusWarningBackground2)",um="var(--colorStatusWarningBackground3)",pm="var(--colorStatusWarningForeground1)",gm="var(--colorStatusWarningForeground2)",fm="var(--colorStatusWarningForeground3)",bm="var(--colorStatusWarningForegroundInverted)",mm="var(--colorStatusWarningBorderActive)",vm="var(--colorStatusWarningBorder1)",$m="var(--colorStatusWarningBorder2)",ym="var(--colorStatusDangerBackground1)",km="var(--colorStatusDangerBackground2)",xm="var(--colorStatusDangerBackground3)",wm="var(--colorStatusDangerBackground3Hover)",Sm="var(--colorStatusDangerBackground3Pressed)",Cm="var(--colorStatusDangerForeground1)",Bm="var(--colorStatusDangerForeground2)",Pm="var(--colorStatusDangerForeground3)",Im="var(--colorStatusDangerForegroundInverted)",Am="var(--colorStatusDangerBorderActive)",Nm="var(--colorStatusDangerBorder1)",Tm="var(--colorStatusDangerBorder2)",Ho="var(--borderRadiusNone)",Te="var(--borderRadiusSmall)",C="var(--borderRadiusMedium)",yi="var(--borderRadiusLarge)",ki="var(--borderRadiusXLarge)",zm="var(--borderRadius2XLarge)",_m="var(--borderRadius3XLarge)",Om="var(--borderRadius4XLarge)",Fm="var(--borderRadius5XLarge)",Em="var(--borderRadius6XLarge)",he="var(--borderRadiusCircular)",$="var(--fontFamilyBase)",Zl="var(--fontFamilyMonospace)",Ql="var(--fontFamilyNumeric)",so="var(--fontSizeBase100)",D="var(--fontSizeBase200)",_="var(--fontSizeBase300)",ue="var(--fontSizeBase400)",Lt="var(--fontSizeBase500)",Vo="var(--fontSizeBase600)",xi="var(--fontSizeHero700)",wi="var(--fontSizeHero800)",Si="var(--fontSizeHero900)",Ci="var(--fontSizeHero1000)",O="var(--fontWeightRegular)",ec="var(--fontWeightMedium)",H="var(--fontWeightSemibold)",Ro="var(--fontWeightBold)",jo="var(--lineHeightBase100)",j="var(--lineHeightBase200)",L="var(--lineHeightBase300)",ve="var(--lineHeightBase400)",qo="var(--lineHeightBase500)",Bi="var(--lineHeightBase600)",Pi="var(--lineHeightHero700)",Ii="var(--lineHeightHero800)",Ai="var(--lineHeightHero900)",Ni="var(--lineHeightHero1000)",Rr="var(--shadow2)",Wo="var(--shadow4)",tc="var(--shadow8)",jr="var(--shadow16)",oc="var(--shadow28)",Ti="var(--shadow64)",Dm="var(--shadow2Brand)",Lm="var(--shadow4Brand)",Mm="var(--shadow8Brand)",Hm="var(--shadow16Brand)",Vm="var(--shadow28Brand)",Rm="var(--shadow64Brand)",P="var(--strokeWidthThin)",pe="var(--strokeWidthThick)",Pe="var(--strokeWidthThicker)",qr="var(--strokeWidthThickest)",jm="var(--spacingHorizontalNone)",V="var(--spacingHorizontalXXS)",ee="var(--spacingHorizontalXS)",$e="var(--spacingHorizontalSNudge)",ze="var(--spacingHorizontalS)",_e="var(--spacingHorizontalMNudge)",J="var(--spacingHorizontalM)",rc="var(--spacingHorizontalL)",nc="var(--spacingHorizontalXL)",Go="var(--spacingHorizontalXXL)",qm="var(--spacingHorizontalXXXL)",Wr="var(--spacingVerticalNone)",Xo="var(--spacingVerticalXXS)",Mt="var(--spacingVerticalXS)",ao="var(--spacingVerticalSNudge)",te="var(--spacingVerticalS)",Uo="var(--spacingVerticalMNudge)",ic="var(--spacingVerticalM)",Gr="var(--spacingVerticalL)",Wm="var(--spacingVerticalXL)",mt="var(--spacingVerticalXXL)",sc="var(--spacingVerticalXXXL)",Xr="var(--durationUltraFast)",Ko="var(--durationFaster)",Gm="var(--durationFast)",Yo="var(--durationNormal)",Ur="var(--durationGentle)",ac="var(--durationSlow)",zi="var(--durationSlower)",Jo="var(--durationUltraSlow)",lc="var(--curveAccelerateMax)",vt="var(--curveAccelerateMid)",cc="var(--curveAccelerateMin)",_i="var(--curveDecelerateMax)",$t="var(--curveDecelerateMid)",dc="var(--curveDecelerateMin)",Oi="var(--curveEasyEaseMax)",Zo="var(--curveEasyEase)",Kr="var(--curveLinear)",Xm="var(--zIndexBackground)",Um="var(--zIndexContent)",Km="var(--zIndexOverlay)",Ym="var(--zIndexPopup)",Jm="var(--zIndexMessages)",Zm="var(--zIndexFloating)",Qm="var(--zIndexPriority)",ev="var(--zIndexDebug)",hc=p`${w("block")} :host{max-width:fit-content;contain:content;color:${A}}.heading{height:44px;display:grid;position:relative;padding-inline:${J} ${_e};border-radius:${C};font-family:${$};font-size:${_};font-weight:${O};line-height:${L};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${de};border:none;box-sizing:border-box;color:inherit;cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Te}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${ze};grid-column:1/span 1;grid-row:1}.content{margin:0 ${J}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${ze};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Te};outline:none;border:2px solid ${Mo};box-shadow:inset 0 0 0 1px ${ae}}:host([disabled]) .button{color:${z}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${_};line-height:${L}}:host([size='small']) .heading{font-size:${D};line-height:${j}}:host([size='large']) .heading{font-size:${ue};line-height:${ve}}:host([size='extra-large']) .heading{font-size:${Lt};line-height:${qo}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1;color:currentColor}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${ze};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${J}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${_e} ${J}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`;function ye(o){return o?typeof o=="string"?new _t(o):"inline"in o?o.inline():o:_t.empty}class st{}function at(o){return b`<slot name=end ${N("end")}>${ye(o.end)}</slot>`.inline()}function je(o){return b`<slot name=start ${N("start")}>${ye(o.start)}</slot>`.inline()}const tv=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-collapsed aria-hidden=true><path d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z" fill=currentColor /></svg>'),ov=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-expanded aria-hidden=true><path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill=currentColor /></svg>');function rv(o={}){return b`<div class=heading part=heading role=heading aria-level=${e=>e.headinglevel}><button class=button part=button id=control aria-controls=panel aria-expanded=${e=>e.expanded} ?disabled=${e=>e.disabled} ${N("expandbutton")}><slot name=heading></slot></button> ${je(o)}<slot name=marker-expanded>${ye(o.expandedIcon)}</slot><slot name=marker-collapsed>${ye(o.collapsedIcon)}</slot></div><div class=content part=content id=panel role=region aria-labelledby=control><slot></slot></div>`}const uc=rv({collapsedIcon:tv,expandedIcon:ov}),pc={name:Lu,registry:h.registry,styles:hc,template:uc};function yt(o,...e){const t=Br.locate(o);e.forEach(r=>{Object.getOwnPropertyNames(r.prototype).forEach(i=>{i!=="constructor"&&Object.defineProperty(o.prototype,i,Object.getOwnPropertyDescriptor(r.prototype,i))}),Br.locate(r).forEach(i=>t.push(i))})}var nv=Object.defineProperty,iv=Object.getOwnPropertyDescriptor,Yr=(o,e,t,r)=>{for(var n=r>1?void 0:r?iv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&nv(e,t,n),n};class lo extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1}}Yr([a({attribute:"heading-level",mode:"fromView",converter:se})],lo.prototype,"headinglevel",2),Yr([a({mode:"boolean"})],lo.prototype,"expanded",2),Yr([a({mode:"boolean"})],lo.prototype,"disabled",2),Yr([g],lo.prototype,"expandbutton",2);var sv=Object.defineProperty,av=Object.getOwnPropertyDescriptor,Fi=(o,e,t,r)=>{for(var n=r>1?void 0:r?av(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&sv(e,t,n),n};class co extends lo{constructor(){super(...arguments),this.block=!1}}Fi([a],co.prototype,"size",2),Fi([a({attribute:"marker-position"})],co.prototype,"markerPosition",2),Fi([a({mode:"boolean"})],co.prototype,"block",2),yt(co,st),co.define(pc);const Jr={single:"single",multi:"multi"},lv=`${h.prefix}-accordion`,gc=p`${w("flex")} :host{flex-direction:column;width:100%;contain:content}`;function cv(){return b`<template><slot ${Y({property:"slottedAccordionItems",filter:Io()})}></slot></template>`}const fc=cv(),bc={name:lv,registry:h.registry,styles:gc,template:fc};function mc(o,e){if("requestIdleCallback"in globalThis)return globalThis.requestIdleCallback(o,e);const t=Date.now();return setTimeout(()=>{o({didTimeout:e?.timeout?Date.now()-t>=e.timeout:!1,timeRemaining:()=>0})},e?.timeout??1)}function Qo(o,e,t){const r=t?.shallow??!1,n=t?.timeout??50,i=t?.idleCallback??!1,s=`${r?":scope > ":""}:not(:defined)`,l=u=>{if(o.querySelector(s)===null||u&&u.timeRemaining()<=0){i?mc(e,{timeout:n}):e();return}mc(l,{timeout:n})};l()}var dv=Object.defineProperty,hv=Object.getOwnPropertyDescriptor,vc=(o,e,t,r)=>{for(var n=r>1?void 0:r?hv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&dv(e,t,n),n};class Zr extends x{constructor(){super(...arguments),this._isAdjusting=!1,this.activeItemIndex=0,this.setItems=()=>{Qo(this,()=>{if(!this.slottedAccordionItems?.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>m.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionItems.forEach((t,r)=>{t.addEventListener("click",this.expandedChangedHandler),m.getNotifier(t).subscribe(this,"expanded")}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}})},this.removeItemListeners=e=>{e.forEach((t,r)=>{m.getNotifier(t).unsubscribe(this,"disabled"),m.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=e=>{const t=e.target;Pn(t)&&(this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.$emit("change"))}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const r=this.findExpandedItem();if(r){if(t===Jr.single){this.setSingleExpandMode(r);return}r?.expandbutton?.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(e,t){this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&!this._isAdjusting&&(this._isAdjusting=!0,this.setSingleExpandMode(e),this._isAdjusting=!1)}findExpandedItem(){return!this.accordionItems||this.accordionItems?.length===0?null:this.accordionItems.find(e=>Pn(e)&&e.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Jr.single}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((r,n)=>{Pn(r)&&(this.activeItemIndex===n?(r.expanded=!0,r.expandbutton?.setAttribute("aria-disabled","true")):(r.expanded=!1,r.hasAttribute("disabled")||r.expandbutton?.removeAttribute("aria-disabled")))})}connectedCallback(){super.connectedCallback(),this.expandmode=this.expandmode||Jr.multi,this.setItems()}}vc([a({attribute:"expand-mode"})],Zr.prototype,"expandmode",2),vc([g],Zr.prototype,"slottedAccordionItems",2),Zr.define(bc);const er={primary:"primary",outline:"outline",subtle:"subtle",transparent:"transparent"},tr={circular:"circular",rounded:"rounded",square:"square"},or={small:"small",medium:"medium",large:"large"},rr={submit:"submit",reset:"reset",button:"button"},uv={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},pv=`${h.prefix}-button`,$c=er,yc=tr,kc=or,xc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},gv={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"},fv=`${h.prefix}-anchor-button`,wc=p`${w("inline-flex")} :host{--icon-spacing:${$e};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${B};color:${A};border:${P} solid ${Re};padding:0 ${J};min-width:96px;border-radius:${C};font-size:${_};font-family:${$};font-weight:${H};line-height:${L};transition-duration:${Ko};transition-property:background,border,color;transition-timing-function:${Zo};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${Fo};color:${Un};border-color:${bt}}:host(:hover:active){background-color:${Er};border-color:${no};color:${ca};outline-style:none}:host(:focus-visible){border-color:${K};outline:${pe} solid ${K};box-shadow:${Wo},0 0 0 2px ${ae}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${ee};min-height:24px;min-width:64px;padding:0 ${ze};border-radius:${Te};font-size:${D};line-height:${j};font-weight:${O}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${yi};padding:0 ${rc};font-size:${ue};line-height:${ve}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${he}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${Ho}}:host([appearance='primary']){background-color:${ti};color:${Ye};border-color:transparent}:host([appearance='primary']:hover){background-color:${oi}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${Ye}}:host([appearance='primary']:hover:active){background-color:${ri}}:host([appearance='primary']:focus-visible){border-color:${Ye};box-shadow:${Rr},0 0 0 2px ${ae}}:host([appearance='outline']){background-color:${de}}:host([appearance='outline']:hover){background-color:${Do}}:host([appearance='outline']:hover:active){background-color:${Lo}}:host([appearance='subtle']){background-color:${Zn};color:${Ne};border-color:transparent}:host([appearance='subtle']:hover){background-color:${Eo};color:${Ot};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${ro};color:${Ft};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${zo}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${_o}}:host([appearance='transparent']){background-color:${de};color:${Ne}}:host([appearance='transparent']:hover){background-color:${Do};color:${zo}}:host([appearance='transparent']:hover:active){background-color:${Lo};color:${_o}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`,ho=p`${wc} :host(:is(:disabled,[disabled],[disabled-focusable],[appearance]:disabled,[appearance][disabled],[appearance][disabled-focusable])),:host(:is(:disabled,[disabled],[disabled-focusable],[appearance]:disabled,[appearance][disabled],[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled],[disabled-focusable],[appearance]:disabled,[appearance][disabled],[appearance][disabled-focusable]):hover:active){background-color:${nt};border-color:${me};color:${z};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled],[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled],[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled],[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled],[disabled-focusable]):is(:hover,:hover:active)){background-color:${de}}:host([appearance='subtle']:is(:disabled,[disabled],[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled],[disabled-focusable]):is(:hover,:hover:active)){background-color:${de};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled],[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled],[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${de}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host( :is( :disabled,[disabled],[disabled-focusable],[appearance]:disabled,[appearance][disabled],[appearance][disabled-focusable] ) ){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`,bv=p`${wc} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;function mv(o={}){return b`<template tabindex=0 @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}>${je(o)} <span class=content part=content><slot></slot></span>${at(o)}</template>`}const Sc=mv(),Cc={name:fv,registry:h.registry,styles:bv,template:Sc},Qr=CSS.supports("anchor-name: --a"),vv="anchor"in HTMLElement.prototype,Bc=CSS.supports("selector(:state(g))"),Pc=new Map;function I(o){return Pc.get(o)??Pc.set(o,Bc?`:state(${o})`:`[state--${o}]`).get(o)}function y(o,e,t){if(!(!e||!o)){if(!Bc){o.shadowRoot.host.toggleAttribute(`state--${e}`,t);return}if(t??!o.states.has(e)){o.states.add(e);return}o.states.delete(e)}}const Ei=new WeakMap;function Ic(o,e){if(!o||!e)return!1;if(Ei.has(o))return Ei.get(o).has(e);const t=new Set(Object.values(o));return Ei.set(o,t),t.has(e)}function Ht(o,e="",t="",r,n=""){y(o,`${n}${e}`,!1),(!r||Ic(r,t))&&y(o,`${n}${t}`,!0)}var $v=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,kt=(o,e,t,r)=>{for(var n=r>1?void 0:r?yv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$v(e,t,n),n};class qe extends x{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(e=>{this.handleChange(this,e)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(e,t){if(t in gv){const r=this.$fastController.definition.attributeLookup[t]?.attribute;r&&this.handleProxyAttributeChange(r,this[t])}}clickHandler(e){if(e.composedPath()[0]===this.internalProxyAnchor)return e.stopImmediatePropagation(),!0;if(this.href){const t=e.ctrlKey||e.metaKey;this.handleNavigation(t)}return!0}keydownHandler(e){if(this.href&&e.key==="Enter"){const t=this.isMac&&e.metaKey||e.ctrlKey;this.handleNavigation(t);return}return!0}handleNavigation(e){e?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(e,t){t?this.internalProxyAnchor.setAttribute(e,t):this.internalProxyAnchor.removeAttribute(e)}createProxyElement(){const e=this.internalProxyAnchor??document.createElement("a");return e.inert=!0,e}}kt([a],qe.prototype,"download",2),kt([a],qe.prototype,"href",2),kt([a],qe.prototype,"hreflang",2),kt([a],qe.prototype,"ping",2),kt([a],qe.prototype,"referrerpolicy",2),kt([a],qe.prototype,"rel",2),kt([a],qe.prototype,"target",2),kt([a],qe.prototype,"type",2);var kv=Object.defineProperty,xv=Object.getOwnPropertyDescriptor,en=(o,e,t,r)=>{for(var n=r>1?void 0:r?xv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&kv(e,t,n),n};class Vt extends qe{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(e,t){Ht(this.elementInternals,e,t,$c)}shapeChanged(e,t){Ht(this.elementInternals,e,t,yc)}sizeChanged(e,t){Ht(this.elementInternals,e,t,kc)}iconOnlyChanged(e,t){y(this.elementInternals,"icon",!!t)}}en([a],Vt.prototype,"appearance",2),en([a],Vt.prototype,"shape",2),en([a],Vt.prototype,"size",2),en([a({attribute:"icon-only",mode:"boolean"})],Vt.prototype,"iconOnly",2),yt(Vt,st),Vt.define(Cc);const wv={active:"active",inactive:"inactive"},Sv={circular:"circular",square:"square"},Cv={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Di={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},Li={neutral:"neutral",brand:"brand",colorful:"colorful",...Di},Bv={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128},Pv=`${h.prefix}-avatar`,xt={fastOutSlowInMax:_i,fastOutSlowInMid:$t,fastOutSlowInMin:dc,slowOutFastInMax:lc,slowOutFastInMid:vt,slowOutFastInMin:cc,fastEase:Oi,normalEase:Zo,nullEasing:Kr},Ac=p`${w("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${$};font-weight:${H};font-size:${_};border-radius:${he};color:${U};background-color:${oo};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${he}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${P} ${B}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${pe} ${B}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${O}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${D}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ue}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Lt}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Vo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${C}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Te}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${yi}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${ki}}:host([data-color='brand']){color:${Kn};background-color:${ni}}:host([data-color='dark-red']){color:${pl};background-color:${ul}}:host([data-color='cranberry']){color:${cl};background-color:${ll}}:host([data-color='red']){color:${La};background-color:${Da}}:host([data-color='pumpkin']){color:${Vl};background-color:${Hl}}:host([data-color='peach']){color:${_l};background-color:${zl}}:host([data-color='marigold']){color:${Ka};background-color:${$i}}:host([data-color='gold']){color:${ml};background-color:${bl}}:host([data-color='brass']){color:${rl};background-color:${ol}}:host([data-color='brown']){color:${il};background-color:${nl}}:host([data-color='forest']){color:${fl};background-color:${gl}}:host([data-color='seafoam']){color:${Xl};background-color:${Gl}}:host([data-color='dark-green']){color:${hl};background-color:${dl}}:host([data-color='light-teal']){color:${wl};background-color:${xl}}:host([data-color='teal']){color:${Jl};background-color:${Yl}}:host([data-color='steel']){color:${Kl};background-color:${Ul}}:host([data-color='blue']){color:${tl};background-color:${el}}:host([data-color='royal-blue']){color:${Wl};background-color:${ql}}:host([data-color='cornflower']){color:${al};background-color:${sl}}:host([data-color='navy']){color:${Tl};background-color:${Nl}}:host([data-color='lavender']){color:${kl};background-color:${yl}}:host([data-color='purple']){color:${jl};background-color:${Rl}}:host([data-color='grape']){color:${$l};background-color:${vl}}:host([data-color='lilac']){color:${Cl};background-color:${Sl}}:host([data-color='pink']){color:${Fl};background-color:${Ol}}:host([data-color='magenta']){color:${Pl};background-color:${Bl}}:host([data-color='plum']){color:${Ml};background-color:${Ll}}:host([data-color='beige']){color:${Qa};background-color:${Za}}:host([data-color='mink']){color:${Al};background-color:${Il}}:host([data-color='platinum']){color:${Dl};background-color:${El}}:host([data-color='anchor']){color:${Ja};background-color:${Ya}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Jo},${Ko};transition-delay:${xt.fastEase},${xt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Jo},${zi};transition-delay:${xt.fastEase},${xt.nullEasing}}:host([active])::before{box-shadow:${tc};border-style:solid;border-color:${ni}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${pe});border-width:${pe}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Pe});border-width:${Pe}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${qr});border-width:${qr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Wo}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${jr}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${oc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Jo},${Ko};transition-delay:${xt.fastOutSlowInMin},${xt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Jo},${zi};transition-delay:${xt.fastOutSlowInMin},${xt.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Iv=b`<svg width=1em height=1em viewBox="0 0 20 20" class=default-icon fill=currentcolor aria-hidden=true><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function Av(){return b`<slot class=default-slot ${Y("slottedDefaults")} ${N("defaultSlot")}></slot><span class=monogram ${N("monogram")}>${o=>o.initials}</span> ${Iv}<slot name=badge></slot>`}const Nc=Av(),Tc={name:Pv,registry:h.registry,styles:Ac,template:Nc},Nv=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Tv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,zv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,_v=/\s+/g,Ov=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Fv(o,e,t){let r="";const n=o.split(" ");return n.length!==0&&(r+=n[0].charAt(0).toUpperCase()),t||(n.length===2?r+=n[1].charAt(0).toUpperCase():n.length===3&&(r+=n[2].charAt(0).toUpperCase())),e&&r.length>1?r.charAt(1)+r.charAt(0):r}function Ev(o){return o=o.replace(Nv,""),o=o.replace(Tv,""),o=o.replace(_v," "),o=o.trim(),o}function zc(o,e,t){return!o||(o=Ev(o),Ov.test(o)||!t?.allowPhoneInitials&&zv.test(o))?"":Fv(o,e,t?.firstInitialOnly)}var Dv=Object.defineProperty,Lv=Object.getOwnPropertyDescriptor,nr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Lv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Dv(e,t,n),n};class Rt extends x{constructor(){super(),this.slottedDefaults=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}defaultSlotChanged(){if(!CSS.supports("selector(:has-slotted)")){const e=this.defaultSlot.assignedElements();this.defaultSlot.classList.toggle("has-slotted",e.length>0)}T.enqueue(()=>{this.cleanupSlottedContent()})}monogramChanged(){this.updateMonogram()}slottedDefaultsChanged(){this.defaultSlot&&this.cleanupSlottedContent()}nameChanged(){this.updateMonogram()}initialsChanged(){this.updateMonogram()}generateInitials(){return this.initials||zc(this.name,window.getComputedStyle(this).direction==="rtl")}updateMonogram(){this.monogram&&(this.monogram.textContent=this.generateInitials()??"")}cleanupSlottedContent(){this.normalize(),CSS.supports("selector(:has-slotted)")||this.defaultSlot.classList.toggle("has-slotted",!!this.slottedDefaults.length),this.innerText.trim()||this.slottedDefaults.forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.remove()})}}nr([g],Rt.prototype,"defaultSlot",2),nr([g],Rt.prototype,"monogram",2),nr([g],Rt.prototype,"slottedDefaults",2),nr([a],Rt.prototype,"name",2),nr([a],Rt.prototype,"initials",2);var Mv=Object.defineProperty,Hv=Object.getOwnPropertyDescriptor,uo=(o,e,t,r)=>{for(var n=r>1?void 0:r?Hv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Mv(e,t,n),n};const wt=class hs extends Rt{handleChange(e,t){switch(t){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials||zc(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}generateColor(){const e=this.color===Li.colorful;this.currentColor,this.currentColor=e&&this.colorId?this.colorId:e?hs.colors[Vv(this.name??"")%hs.colors.length]:this.color??Li.neutral,this.setAttribute("data-color",this.currentColor)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};wt.colors=Object.values(Di),uo([a],wt.prototype,"active",2),uo([a],wt.prototype,"shape",2),uo([a],wt.prototype,"appearance",2),uo([a({converter:se})],wt.prototype,"size",2),uo([a],wt.prototype,"color",2),uo([a({attribute:"color-id"})],wt.prototype,"colorId",2);let _c=wt;const Vv=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const r=o.charCodeAt(t),n=t%8;e^=(r<<n)+(r>>8-n)}return e};_c.define(Tc);const Oc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Fc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Rv={circular:"circular",rounded:"rounded",square:"square"},jv={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},qv=`${h.prefix}-badge`,Ec=p.partial`${w("inline-flex")} :host{position:relative;box-sizing:border-box;align-items:center;justify-content:center;font-family:${$};font-weight:${H};font-size:${D};line-height:${j};min-width:20px;height:20px;padding-inline:calc(${ee} + ${V});border-radius:${he};border-color:${K};background-color:${ti};color:${Ye};contain:content}::slotted(svg){font-size:12px}:host(:not([appearance='ghost']))::after{position:absolute;content:'';top:0;left:0;bottom:0;right:0;border-style:solid;border-width:${P};border-color:inherit;border-radius:inherit}`,Dc=p.partial`:host([size='tiny']){width:6px;height:6px;font-size:4px;line-height:4px;padding-inline:0;min-width:unset}:host([size='tiny']) ::slotted(svg){font-size:6px}:host([size='extra-small']){width:10px;height:10px;font-size:6px;line-height:6px;padding-inline:0;min-width:unset}:host([size='extra-small']) ::slotted(svg){font-size:10px}:host([size='small']){min-width:16px;height:16px;font-size:${so};line-height:${jo};padding-inline:calc(${V} + ${V})}:host([size='small']) ::slotted(svg){font-size:12px}:host([size='large']){min-width:24px;height:24px;font-size:${D};line-height:${j};padding-inline:calc(${ee} + ${V})}:host([size='large']) ::slotted(svg){font-size:16px}:host([size='extra-large']){min-width:32px;height:32px;font-size:${D};line-height:${j};padding-inline:calc(${$e} + ${V})}:host([size='extra-large']) ::slotted(svg){font-size:20px}`,Lc=p.partial`:host([color='danger']){background-color:${di};color:${Ye}}:host([color='important']){background-color:${A};color:${B}}:host([color='informative']){background-color:${Pa};color:${U}}:host([color='severe']){background-color:${bi};color:${Ye}}:host([color='subtle']){background-color:${B};color:${A}}:host([color='success']){background-color:${gi};color:${Ye}}:host([color='warning']){background-color:${Ga};color:${Ca}}`,Mc=p.partial`:host([appearance='ghost']){color:${Oo};background-color:initial}:host([appearance='ghost'][color='danger']){color:${ui}}:host([appearance='ghost'][color='important']){color:${A}}:host([appearance='ghost'][color='informative']){color:${U}}:host([appearance='ghost'][color='severe']){color:${vi}}:host([appearance='ghost'][color='subtle']){color:${ut}}:host([appearance='ghost'][color='success']){color:${ja}}:host([appearance='ghost'][color='warning']){color:${Vr}}`,Wv=p.partial`:host([appearance='outline']){border-color:currentColor;color:${Oo};background-color:initial}:host([appearance='outline'][color='danger']){color:${ui}}:host([appearance='outline'][color='important']){color:${U};border-color:${Ve}}:host([appearance='outline'][color='informative']){color:${U};border-color:${io}}:host([appearance='outline'][color='severe']){color:${vi}}:host([appearance='outline'][color='subtle']){color:${Kn}}:host([appearance='outline'][color='success']){color:${Ra}}:host([appearance='outline'][color='warning']){color:${Vr}}`,Gv=p.partial`:host([appearance='tint']){background-color:${ii};color:${Sa};border-color:${ai}}:host([appearance='tint'][color='danger']){background-color:${ci};color:${Hr};border-color:${hi}}:host([appearance='tint'][color='important']){background-color:${U};color:${B};border-color:${K}}:host([appearance='tint'][color='informative']){background-color:${Ba};color:${U};border-color:${io}}:host([appearance='tint'][color='severe']){background-color:${fi};color:${qa};border-color:${mi}}:host([appearance='tint'][color='subtle']){background-color:${B};color:${U};border-color:${io}}:host([appearance='tint'][color='success']){background-color:${pi};color:${Va};border-color:${Ha}}:host([appearance='tint'][color='warning']){background-color:${Wa};color:${Vr};border-color:${Xa}}`,Hc=p`:host([shape='square']){border-radius:${Ho}}:host([shape='rounded']){border-radius:${C}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Te}}${Gv} ${Wv} ${Mc} ${Lc} ${Dc} ${Ec} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;function Xv(o={}){return b`${je(o)}<slot>${ye(o.defaultContent)}</slot>${at(o)}`}const Vc=Xv(),Rc={name:qv,registry:h.registry,styles:Hc,template:Vc};var Uv=Object.defineProperty,Kv=Object.getOwnPropertyDescriptor,tn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Kv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Uv(e,t,n),n};class jt extends x{constructor(){super(...arguments),this.appearance=Oc.filled,this.color=Fc.brand}}tn([a],jt.prototype,"appearance",2),tn([a],jt.prototype,"color",2),tn([a],jt.prototype,"shape",2),tn([a],jt.prototype,"size",2),yt(jt,st),jt.define(Rc);function Mi(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${je(o)} <span class=content part=content><slot ${Y("defaultSlottedContent")}></slot></span>${at(o)}</template>`}const jc=Mi(),qc={name:pv,registry:h.registry,styles:ho,template:jc};function lt(o){const e=o.ownerDocument;o?.isConnected&&o?.hasAttribute("autofocus")&&o?.checkVisibility?.({contentVisibilityAuto:!0,visibilityProperty:!0})&&[null,o,e.body,e.documentElement].includes(e.activeElement)&&T.enqueue(()=>{o.focus()})}var Yv=Object.defineProperty,Jv=Object.getOwnPropertyDescriptor,Oe=(o,e,t,r)=>{for(var n=r>1?void 0:r?Jv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Yv(e,t,n),n};class ge extends x{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledChanged(){this.setTabIndex()}disabledFocusableChanged(e,t){this.elementInternals&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==rr.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`,this.setTabIndex(),lt(this)}createAndInsertFormSubmissionFallbackControl(){const e=this.formSubmissionFallbackControlSlot??document.createElement("slot");e.setAttribute("name","internal"),this.shadowRoot?.appendChild(e),this.formSubmissionFallbackControlSlot=e;const t=this.formSubmissionFallbackControl??document.createElement("button");t.style.display="none",t.setAttribute("type","submit"),t.setAttribute("slot","internal"),this.formNoValidate&&t.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&t.setAttribute("form",this.elementInternals.form.id),this.name&&t.setAttribute("name",this.name),this.value&&t.setAttribute("value",this.value),this.formAction&&t.setAttribute("formaction",this.formAction??""),this.formEnctype&&t.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&t.setAttribute("formmethod",this.formMethod??""),this.formTarget&&t.setAttribute("formtarget",this.formTarget??""),this.append(t),this.formSubmissionFallbackControl=t}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}if(e.key==="Enter"||e.key===" "){this.click();return}return!0}press(){switch(this.type){case rr.reset:{this.resetForm();break}case rr.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}setTabIndex(){if(this.disabled){this.removeAttribute("tabindex");return}this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==rr.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.formAttribute&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}ge.formAssociated=!0,Oe([g],ge.prototype,"defaultSlottedContent",2),Oe([a({mode:"boolean"})],ge.prototype,"disabled",2),Oe([a({attribute:"disabled-focusable",mode:"boolean"})],ge.prototype,"disabledFocusable",2),Oe([a({attribute:"formaction"})],ge.prototype,"formAction",2),Oe([a({attribute:"form"})],ge.prototype,"formAttribute",2),Oe([a({attribute:"formenctype"})],ge.prototype,"formEnctype",2),Oe([a({attribute:"formmethod"})],ge.prototype,"formMethod",2),Oe([a({attribute:"formnovalidate",mode:"boolean"})],ge.prototype,"formNoValidate",2),Oe([a({attribute:"formtarget"})],ge.prototype,"formTarget",2),Oe([a],ge.prototype,"name",2),Oe([a],ge.prototype,"type",2),Oe([a],ge.prototype,"value",2);var Zv=Object.defineProperty,Qv=Object.getOwnPropertyDescriptor,on=(o,e,t,r)=>{for(var n=r>1?void 0:r?Qv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Zv(e,t,n),n};class Je extends ge{constructor(){super(...arguments),this.iconOnly=!1}}on([a],Je.prototype,"appearance",2),on([a],Je.prototype,"shape",2),on([a],Je.prototype,"size",2),on([a({attribute:"icon-only",mode:"boolean"})],Je.prototype,"iconOnly",2),yt(Je,st),Je.define(qc);const e$={circular:"circular",square:"square"},t$={medium:"medium",large:"large"},o$=`${h.prefix}-checkbox`,r$=I("active"),n$=I("bad-input"),k=I("checked"),i$=I("custom-error"),s$=I("description"),ke=I("disabled"),v=":is([disabled], :disabled)";I("error");const a$=I("flip-block"),l$=I("focus-visible");I("has-message");const qt=I("indeterminate"),po=I("multiple"),c$=I("open"),d$=I("pattern-mismatch"),h$=I("placeholder-shown"),M=I("pressed"),u$=I("range-overflow"),p$=I("range-underflow"),g$=I("required"),Hi=I("selected"),f$=I("step-mismatch"),Wc=I("submenu"),b$=I("too-long"),m$=I("too-short"),v$=I("type-mismatch"),$$=I("user-invalid"),y$=I("valid"),k$=I("value-missing"),Gc=p`${w("inline-flex")} :host{--size:16px;background-color:${B};border-radius:${Te};border:${P} solid ${Ve};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${gt}}:host(:active){border-color:${ft}}:host(${k}:hover){background-color:${Et};border-color:${Oa}}:host(${k}:active){background-color:${Dt};border-color:${li}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${pe} solid ${K};border-radius:${C}}:host(:not([slot='input']):focus-visible)::after{border-color:${ae}}.indeterminate-indicator,.checked-indicator{color:${ut};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${k})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${k}),:host(${qt}){border-color:${it}}:host(${k}),:host(${qt}) .indeterminate-indicator{background-color:${pt}}:host(${qt}) .indeterminate-indicator{border-radius:${Te};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${he}}:host(${v}),:host(${v}${k}){background-color:${nt};border-color:${me}}:host(${v}){cursor:unset}:host(${v}${qt}) .indeterminate-indicator{background-color:${me}}:host(${v}${k}) .checked-indicator{color:${me}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${v}):hover),:host(${k}:not(${v}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${k}),:host(${qt}) .indeterminate-indicator{background-color:FieldText}:host(${k}:not(${v}):hover),:host(${qt}:not(${v}):hover) .indeterminate-indicator{background-color:Highlight}:host(${v}){border-color:GrayText}:host(${v}${qt}) .indeterminate-indicator{background-color:GrayText}:host(${v}),:host(${v}${k}) .checked-indicator{color:GrayText}}`,x$=b.partial('<svg fill=currentColor aria-hidden=true class=checked-indicator width=1em height=1em viewBox="0 0 12 12" xmlns=http://www.w3.org/2000/svg><path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill=currentColor></path></svg>'),w$=b.partial("<span class=indeterminate-indicator></span>");function S$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${ye(o.checkedIndicator)}</slot><slot name=indeterminate-indicator>${ye(o.indeterminateIndicator)}</slot></template>`}const Xc=S$({checkedIndicator:x$,indeterminateIndicator:w$}),Uc={name:o$,registry:h.registry,styles:Gc,template:Xc};var C$=Object.defineProperty,B$=Object.getOwnPropertyDescriptor,Wt=(o,e,t,r)=>{for(var n=r>1?void 0:r?B$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&C$(e,t,n),n};class Fe extends x{constructor(){super(...arguments),this.initialValue="on",this._keydownPressed=!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(e){this._checked=e,this.setFormValue(e?this.value:null),this.setValidity(),this.setAriaChecked(),y(this.elementInternals,"checked",e),m.notify(this,"checked")}disabledChanged(e,t){this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(e,t){this.disabled=!!t}initialCheckedChanged(e,t){this.dirtyChecked||(this.checked=!!t)}initialValueChanged(e,t){this._value=t}requiredChanged(e,t){this.elementInternals&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals?.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="checkbox",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(e){this._value=e,this.elementInternals&&(this.setFormValue(e),this.setValidity()),m.notify(this,"value")}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;this.dirtyChecked=!0;const t=this.checked;return this.toggleChecked(),t!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.disabled=!!this.disabledAttribute,this.setAriaChecked(),this.setValidity(),lt(this)}inputHandler(e){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(e){if(e.key!==" ")return!0;this._keydownPressed=!0}keyupHandler(e){if(!this._keydownPressed||e.key!==" ")return!0;this._keydownPressed=!1,this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(e=this.checked){this.elementInternals&&(this.elementInternals.ariaChecked=e?"true":"false")}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.setValidity()}setValidity(e,t,r){if(this.elementInternals){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...e},t??this.validationMessage,r)}}toggleChecked(e=!this.checked){this.checked=e}}Fe.formAssociated=!0,Wt([g],Fe.prototype,"disabled",2),Wt([a({attribute:"disabled",mode:"boolean"})],Fe.prototype,"disabledAttribute",2),Wt([a({attribute:"form"})],Fe.prototype,"formAttribute",2),Wt([a({attribute:"checked",mode:"boolean"})],Fe.prototype,"initialChecked",2),Wt([a({attribute:"value",mode:"fromView"})],Fe.prototype,"initialValue",2),Wt([a],Fe.prototype,"name",2),Wt([a({mode:"boolean"})],Fe.prototype,"required",2);var P$=Object.defineProperty,I$=Object.getOwnPropertyDescriptor,Vi=(o,e,t,r)=>{for(var n=r>1?void 0:r?I$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&P$(e,t,n),n};class ir extends Fe{indeterminateChanged(e,t){this.setAriaChecked(),y(this.elementInternals,"indeterminate",t)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(e=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(e)}toggleChecked(e=!this.checked){this.indeterminate=!1,super.toggleChecked(e)}}Vi([g],ir.prototype,"indeterminate",2),Vi([a],ir.prototype,"shape",2),Vi([a],ir.prototype,"size",2),ir.define(Uc);const A$=er,N$=tr,T$=or,z$=`${h.prefix}-compound-button`,Kc=p`${ho} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${_};line-height:${L}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ne};line-height:100%;font-size:${D};font-weight:${O}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Ot}}:host(:active) ::slotted([slot='description']){color:${Ft}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${Ye}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${Ne}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${zo}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${_o}}:host( :is( :disabled,:disabled[appearance],[disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance] ) ) ::slotted([slot='description']){color:${z}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${$e}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${ee}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${ze}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ue};line-height:${ve}}:host([size='large']) ::slotted([slot='description']){font-size:${_}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled],[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;function _$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${je(o)} <span class=content part=content><slot ${Y("defaultSlottedContent")}></slot><slot name=description></slot></span>${at(o)}</template>`}const Yc=_$(),Jc={name:z$,registry:h.registry,styles:Kc,template:Yc};class Zc extends Je{}Zc.define(Jc);const O$={filled:"filled",ghost:"ghost"},F$={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},E$={circular:"circular",rounded:"rounded"},D$={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Qc=`${h.prefix}-counter-badge`,ed=p`:host([shape='rounded']){border-radius:${C}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Te}}${Dc} ${Lc} ${Mc} ${Ec} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;function L$(o={}){return b`${je(o)} <span>${e=>e.displayValue}</span> ${at(o)}`}const td=L$(),od={name:Qc,registry:h.registry,styles:ed,template:td};var M$=Object.defineProperty,H$=Object.getOwnPropertyDescriptor,sr=(o,e,t,r)=>{for(var n=r>1?void 0:r?H$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&M$(e,t,n),n};class Gt extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}get displayValue(){const e=this.count??0;return!this.showZero&&e===0||this.dot?"":this.overflowCount>0&&e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}sr([a({converter:se})],Gt.prototype,"count",2),sr([a({attribute:"overflow-count",converter:se})],Gt.prototype,"overflowCount",2),sr([a({attribute:"show-zero",mode:"boolean"})],Gt.prototype,"showZero",2),sr([a({mode:"boolean"})],Gt.prototype,"dot",2),sr([Be],Gt.prototype,"displayValue",1);var V$=Object.defineProperty,R$=Object.getOwnPropertyDescriptor,rn=(o,e,t,r)=>{for(var n=r>1?void 0:r?R$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&V$(e,t,n),n};class Xt extends Gt{}rn([a],Xt.prototype,"appearance",2),rn([a],Xt.prototype,"color",2),rn([a],Xt.prototype,"shape",2),rn([a],Xt.prototype,"size",2),yt(Xt,st),Xt.define(od);const St={modal:"modal",nonModal:"non-modal",alert:"alert"};function Ri(o,e="-dialog"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const j$=`${h.prefix}-dialog`,rd=p`@layer base{:host{--dialog-backdrop:${Dr};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${B};border-radius:${ki};border:none;box-shadow:${Ti};color:${A};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ur};transition-timing-function:${$t};opacity:0}::backdrop{transition-timing-function:${Kr}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${vt}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${P} solid ${K}}}}`,nd=b`<dialog class=dialog part=dialog aria-modal=${o=>o.dialogModal} aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} role=${o=>o.dialogRole} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.hide()} ${N("dialog")}><div tabindex=-1></div><slot></slot></dialog>`,id={name:j$,registry:h.registry,styles:rd,template:nd};var q$=Object.defineProperty,W$=Object.getOwnPropertyDescriptor,Ze=(o,e,t,r)=>{for(var n=r>1?void 0:r?W$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&q$(e,t,n),n};class Ee extends x{constructor(){super(...arguments),this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type!==St.nonModal)return!0}get dialogRole(){if(this.dialog&&this.type===St.alert)return"alertdialog"}connectedCallback(){super.connectedCallback(),T.enqueue(()=>{this.type=this.type??St.modal})}emitBeforeToggle(){this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}show(){T.enqueue(()=>{this.emitBeforeToggle(),this.type===St.alert||this.type===St.modal?this.dialog.showModal():this.type===St.nonModal&&this.dialog.show(),this.querySelector("[autofocus]")?.focus?.(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&this.type!==St.alert&&e.target===this.dialog&&this.hide(),!0}}Ze([g],Ee.prototype,"dialog",2),Ze([a({attribute:"aria-describedby"})],Ee.prototype,"ariaDescribedby",2),Ze([a({attribute:"aria-labelledby"})],Ee.prototype,"ariaLabelledby",2),Ze([a({attribute:"aria-label"})],Ee.prototype,"ariaLabel",2),Ze([a],Ee.prototype,"type",2),Ze([Be],Ee.prototype,"dialogDescribedby",1),Ze([Be],Ee.prototype,"dialogLabel",1),Ze([Be],Ee.prototype,"dialogLabelledby",1),Ze([Be],Ee.prototype,"dialogModal",1),Ze([Be],Ee.prototype,"dialogRole",1),Ee.define(id);const G$=`${h.prefix}-dialog-body`,sd=p`${w("grid")} :host{background:${B};box-sizing:border-box;gap:${te};padding:${mt} ${Go};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${B};color:${A};column-gap:8px;display:flex;font-family:${$};font-size:${Lt};font-weight:${H};inset-block-start:0;justify-content:space-between;line-height:${qo};margin-block-end:calc(${te} * -1);margin-block-start:calc(${mt} * -1);padding-block-end:${te};padding-block-start:${mt}}.content{box-sizing:border-box;color:${A};font-family:${$};font-size:${_};font-weight:${O};line-height:${L};min-height:32px}.actions{box-sizing:border-box;background:${B};display:flex;flex-direction:column;gap:${te};inset-block-end:0;margin-block-end:calc(${mt} * -1);padding-block-end:${mt};padding-block-start:${Gr}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${te} * -1);padding-block-start:${te}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}}`,ad=b`<template><div class=title part=title><slot name=title></slot><slot name=title-action></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=actions part=actions><slot name=action></slot></div></template>`,ld={name:G$,registry:h.registry,styles:sd,template:ad};class cd extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Ri(t)&&t.hide()}return!0}}cd.define(ld);const xe={horizontal:"horizontal",vertical:"vertical"},go={separator:"separator",presentation:"presentation"},ji=xe,X$={center:"center",start:"start",end:"end"},U$={strong:"strong",brand:"brand",subtle:"subtle"},K$=`${h.prefix}-divider`,dd=p`${w("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${io};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${P}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Ne};font-family:${$};font-size:${D};font-weight:${O};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${P};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${Re}}:host([appearance='strong']) ::slotted(*){color:${A}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${si}}:host([appearance='brand']) ::slotted(*){color:${Oo}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${za}}:host([appearance='subtle']) ::slotted(*){color:${U}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`;function Y$(){return b`<slot></slot>`}const hd=Y$(),ud={name:K$,registry:h.registry,styles:dd,template:hd};var J$=Object.defineProperty,Z$=Object.getOwnPropertyDescriptor,pd=(o,e,t,r)=>{for(var n=r>1?void 0:r?Z$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&J$(e,t,n),n};class nn extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??go.separator,this.role!==go.presentation&&(this.elementInternals.ariaOrientation=this.orientation??ji.horizontal)}roleChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.role=`${t??go.separator}`),t===go.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.role!==go.presentation?t??null:null,Ht(this.elementInternals,e,t,ji)}}pd([a],nn.prototype,"role",2),pd([a],nn.prototype,"orientation",2);var Q$=Object.defineProperty,ey=Object.getOwnPropertyDescriptor,qi=(o,e,t,r)=>{for(var n=r>1?void 0:r?ey(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Q$(e,t,n),n};class ar extends nn{}qi([a({attribute:"align-content"})],ar.prototype,"alignContent",2),qi([a],ar.prototype,"appearance",2),qi([a({mode:"boolean"})],ar.prototype,"inset",2),ar.define(ud);const gd={start:"start",end:"end"},fd={small:"small",medium:"medium",large:"large",full:"full"},fo={nonModal:"non-modal",modal:"modal",inline:"inline"},ty=`${h.prefix}-drawer`,bd=p`${w("block")} :host{--dialog-backdrop:${Dr}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{background:${B};border-radius:0;border:${P} solid ${K};border-inline-end-color:${K};border-inline-start-color:var(--drawer-separator,${K});box-shadow:${Ti};box-sizing:border-box;color:${A};font-family:${$};font-size:${_};font-weight:${O};height:100%;line-height:${L};margin-inline-end:auto;margin-inline-start:0;max-height:100vh;max-width:calc(100vw - ${Go});outline:none;padding:0;bottom:0;top:0;width:var(--drawer-width,592px);z-index:var(--drawer-elevation,1000)}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Ur};transition-timing-function:${$t}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${vt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${vt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ur};transition-timing-function:${$t};background:var(--dialog-backdrop,${Dr});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Kr}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function oy(){return b`<dialog class=dialog part=dialog aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} aria-modal=${o=>o.dialogModal} role=${o=>o.dialogRole} size=${o=>o.size} position=${o=>o.position} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.cancelHandler()} ${N("dialog")}><slot></slot></dialog>`}const md=oy(),vd={name:ty,registry:h.registry,styles:bd,template:md};var ry=Object.defineProperty,ny=Object.getOwnPropertyDescriptor,De=(o,e,t,r)=>{for(var n=r>1?void 0:r?ny(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ry(e,t,n),n};class we extends x{constructor(){super(...arguments),this.position=gd.start,this.size=fd.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type===fo.modal)return!0}get dialogRole(){return this.dialog&&this.type===fo.modal?"dialog":this.role}connectedCallback(){super.connectedCallback(),T.enqueue(()=>{this.type=this.type??fo.modal})}show(){T.enqueue(()=>{this.emitBeforeToggle(),this.type===fo.inline||this.type===fo.nonModal?this.dialog.show():this.dialog.showModal(),this.querySelector("[autofocus]")?.focus?.(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&e.target===this.dialog&&this.hide(),!0}cancelHandler(){this.hide()}}De([a],we.prototype,"type",2),De([a({attribute:"aria-labelledby"})],we.prototype,"ariaLabelledby",2),De([a({attribute:"aria-describedby"})],we.prototype,"ariaDescribedby",2),De([a],we.prototype,"position",2),De([g],we.prototype,"role",2),De([a({attribute:"size"})],we.prototype,"size",2),De([g],we.prototype,"dialog",2),De([Be],we.prototype,"dialogDescribedby",1),De([Be],we.prototype,"dialogLabel",1),De([Be],we.prototype,"dialogLabelledby",1),De([Be],we.prototype,"dialogModal",1),De([Be],we.prototype,"dialogRole",1),we.define(vd);const iy=`${h.prefix}-drawer-body`,Wi=p.partial`font-family:${$};font-size:${_};line-height:${L};font-weight:${O};`,sy=p.partial`font-family:${$};font-size:${_};line-height:${L};font-weight:${H};`,ay=p.partial`font-family:${$};font-size:${_};line-height:${L};font-weight:${Ro};`,$d=p.partial`font-family:${$};font-size:${ue};line-height:${ve};font-weight:${O};`,Gi=p.partial`font-family:${$};font-size:${D};line-height:${j};font-weight:${O};`,ly=p.partial`font-family:${$};font-size:${D};line-height:${j};font-weight:${H};`,cy=p.partial`font-family:${$};font-size:${D};line-height:${j};font-weight:${Ro};`,dy=p.partial`font-family:${$};font-size:${so};line-height:${jo};font-weight:${O};`,hy=p.partial`font-family:${$};font-size:${so};line-height:${jo};font-weight:${H};`,yd=p.partial`font-family:${$};font-size:${Lt};line-height:${qo};font-weight:${H};`,uy=p.partial`font-family:${$};font-size:${ue};line-height:${ve};font-weight:${H};`,py=p.partial`font-family:${$};font-size:${ue};line-height:${ve};font-weight:${Ro};`,gy=p.partial`font-family:${$};font-size:${wi};line-height:${Ii};font-weight:${H};`,fy=p.partial`font-family:${$};font-size:${xi};line-height:${Pi};font-weight:${H};`,by=p.partial`font-family:${$};font-size:${Vo};line-height:${Bi};font-weight:${H};`,my=p.partial`font-family:${$};font-size:${Si};line-height:${Ai};font-weight:${H};`,vy=p.partial`font-family:${$};font-size:${Ci};line-height:${Ni};font-weight:${H};`,kd=p`${w("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${nc};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${yd}}.footer{display:flex;justify-content:flex-start;gap:${J}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;function $y(){return b`<div class=header part=header><slot name=title></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=footer part=footer><slot name=footer></slot></div>`}const xd=$y(),wd={name:iy,registry:h.registry,styles:kd,template:xd};class Sd extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Ri(t,"-drawer")&&t.hide()}return!0}}Sd.define(wd);function yy(o,e="-dropdown"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Cd={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},ky={small:"small",medium:"medium",large:"large"},sn={combobox:"combobox",dropdown:"dropdown",select:"select"},xy=`${h.prefix}-dropdown`,Bd=p`${w("inline-flex")} :host{box-sizing:border-box;color:${A};cursor:pointer}:host(${h$}){color:${Fr}}.control{appearance:none;background-color:${B};border-radius:${C};border:${P} solid ${K};box-shadow:inset 0 0 0 ${P} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${V};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${ao} ${_e};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${Wi}}:host([size='small']) .control{column-gap:${V};padding:${Mt} ${$e};${Gi}}:host([size='large']) .control{column-gap:${ze};padding:${te} ${J};${$d}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${U};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${P}}.control::after{background-color:${it};height:${pe};scale:0 1;transition:scale ${Xr} ${$t}}:host(:where(:focus-within)) .control{border-radius:${C};box-shadow:inset 0 0 0 1px ${Mo};outline:${pe} solid ${ae}}:host(:where(${c$},:focus-within)) .control::after{scale:1 1;transition-duration:${Yo};transition-timing-function:${vt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${Ve}}:host([appearance='transparent']) .control{--control-border-color:${Lr};background-color:${de};border-radius:${Ho}}:host([appearance='outline']) .control{--control-border-color:${Re}}:host([appearance='outline']) .control:hover{--control-border-color:${bt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${gt}}:host([appearance='outline']) .control:hover::after{background-color:${Et}}:host([appearance='outline']) .control:active{--control-border-color:${no}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${ft}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${Dt}}:host([appearance='filled-darker']) .control{background-color:${to}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${K}}:host(${v}),:host(${v}) ::slotted(:where(button,input)){cursor:not-allowed}:host(${v}) .control::before,:host(${v}) .control::after{content:none}:host(${v}) .control:is(*,:active,:hover),:host(${v}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${me};background-color:${nt};color:${z}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${L} + (${ao} * 2) + ${P})}:host([size='small']){--margin-offset:calc(${j} + (${Mt} * 2) + ${P})}:host([size='large']){--margin-offset:calc(${ve} + (${te} * 2) + ${P})}}@media (forced-colors:active){:host(${v}) .control{border-color:GrayText}:host(${v}) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}}`,wy=b`<svg class=chevron-down-20-regular aria-hidden=true slot=indicator viewBox="0 0 20 20" ${N("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill=currentColor /></svg>`,Pd=b`<input @input=${(o,e)=>o.inputHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-labelledby=${o=>o.ariaLabelledBy} aria-expanded=${o=>o.open} aria-haspopup=listbox placeholder=${o=>o.placeholder} role=combobox ?disabled=${o=>o.disabled} type=${o=>o.type} value=${o=>o.valueAttribute} slot=control ${N("control")}>`,Id=b`<button aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-expanded=${o=>o.open} aria-haspopup=listbox role=combobox ?disabled=${o=>o.disabled} type=button slot=control ${N("control")}>${o=>o.displayValue}</button>`;function Sy(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @focusout=${(e,t)=>e.focusoutHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @mousedown=${(e,t)=>e.mousedownHandler(t.event)}><div class=control><slot name=control ${N("controlSlot")}></slot><slot name=indicator ${N("indicatorSlot")}>${ye(o.indicator)}</slot></div><slot @slotchange=${(e,t)=>e.slotchangeHandler(t.event)}></slot></template>`}const Ad=Sy({indicator:wy}),Nd={name:xy,registry:h.registry,styles:Bd,template:Ad};function Xi(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Cy=`${h.prefix}-listbox`;function Ct(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const By=`${h.prefix}-option`,ct={ltr:"ltr",rtl:"rtl"},Ui=o=>o.closest("[dir]")?.dir==="rtl"?ct.rtl:ct.ltr;function Td(o){return o.closest("[lang]")?.lang??"en"}let Py=0;function Qe(o="id-"){const e=`${o}${Py++}`;return document.getElementById(e)?Qe(o):e}var Iy=Object.defineProperty,Ay=Object.getOwnPropertyDescriptor,Z=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ay(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Iy(e,t,n),n};const q=class xo extends x{constructor(){super(),this.activeIndex=0,this.id=Qe("dropdown-"),this.required=!1,this.type=sn.dropdown,this.valueAttribute="",this.repositionListbox=()=>{this.frameId&&cancelAnimationFrame(this.frameId),this.frameId=requestAnimationFrame(()=>{const e=this.getBoundingClientRect(),t=window.innerWidth-e.right,r=e.left;this.listbox.style.minWidth=`${e.width}px`,this.listbox.style.top=`${e.top}px`,r+e.width>window.innerWidth||Ui(this)==="rtl"&&t-e.width>0?(this.listbox.style.right=`${t}px`,this.listbox.style.left="unset"):(this.listbox.style.left=`${r}px`,this.listbox.style.right="unset")})},this.elementInternals=this.attachInternals(),this._insertingControl=!1,this.searchTimeoutMs=500,this.searchString="",this.elementInternals.role="presentation"}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const r=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((n,i)=>{n.active=i===r}),this.open&&this.enabledOptions[r]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Qe("input-"))}disabledChanged(e,t){this.listbox&&T.enqueue(()=>{this.options.forEach(r=>{r.disabled=r.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return y(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(Td(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return y(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&m.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",t.tabIndex=-1;const r=m.getNotifier(this);if(r.subscribe(t),r.notify("multiple"),T.enqueue(()=>{this.options.forEach(n=>{n.disabled=n.disabledAttribute||this.disabled,n.name=this.name}),this.enabledOptions.filter(n=>n.defaultSelected).forEach((n,i)=>{n.selected=this.multiple||i===0}),this.setValidity()}),Qr){const n=Qe("--dropdown-anchor-");this.style.setProperty("anchor-name",n),this.listbox.style.setProperty("position-anchor",n)}}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){this.listbox&&T.enqueue(()=>{this.options.forEach(r=>{r.name=t})})}openChanged(e,t){y(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,Qr||this.anchorPositionFallback(t)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??Array.from(this.querySelectorAll("*")).filter(e=>Ct(e)&&!e.disabled)}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===sn.combobox}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get options(){return this.listbox?.options??Array.from(this.querySelectorAll("*")).filter(e=>Ct(e))}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.name="validation-message-fallback",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return!this.disabled&&this.required&&this.listbox.selectedOptions.length===0?this._validationFallbackMessage:""}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),m.track(this,"value"))}get willValidate(){return this.elementInternals.willValidate}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(r=>r.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),(t===this.control||e.composedPath().includes(this.indicator))&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(Ct(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(Td(this),{usage:"search",sensitivity:"base"})),t.filter(r=>this.listCollator.compare(r.text.substring(0,Math.min(r.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)}),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,r=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=r,!0}insertControl(){if(!this._insertingControl){if(this._insertingControl=!0,this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===sn.combobox){Pd.render(this,this);return}Id.render(this,this),this._insertingControl=!1}}handleSearchCharacter(e){const t=this.searchString===e.repeat(this.searchString.length);this.searchString+=e;let r=this.searchString.length>1?this.filterOptions(this.searchString):[],n=!1;if(!r.length&&t&&(r=this.filterOptions(e),n=!0),r.length){const i=this.enabledOptions[this.activeIndex],s=r.indexOf(i),l=n?r[this.getEnabledIndexInBounds(s+1,r.length)]:s>=0?i:r[0];this.activeIndex=this.enabledOptions.indexOf(l)}clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchString="",this.searchTimeout=void 0},this.searchTimeoutMs)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":case"Enter":case"Tab":{if(e.key===" "){if(this.isCombobox)break;e.preventDefault()}if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!this.isCombobox&&e.key.length===1&&e.key!==" "&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(this.open||this.listbox.showPopover(),this.handleSearchCharacter(e.key)),!0;if(!this.open){this.listbox.showPopover();return}let r=this.activeIndex;r+=t;let n=this.getEnabledIndexInBounds(r);return n===0&&this.freeformOption?.hidden&&(n=this.getEnabledIndexInBounds(r+t)),this.activeIndex=n,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!Ct(e.target)}reportValidity(){return this.elementInternals.reportValidity()}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control&&(this.control.value=this.displayValue),this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,r){if(!this.elementInternals)return;if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const n=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:n,...e},t??this.validationMessage,r??this.control)}slotchangeHandler(e){const t=e.target;Qo(this,()=>{const r=t.assignedElements().find(n=>Xi(n));r&&(this.listbox=r)})}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}connectedCallback(){super.connectedCallback(),T.enqueue(()=>{this.insertControl()}),lt(this)}disconnectedCallback(){xo.AnchorPositionFallbackObserver?.disconnect(),this.debounceController?.abort(),this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=void 0,this.searchString=""),super.disconnectedCallback()}anchorPositionFallback(e){if(xo.AnchorPositionFallbackObserver||(xo.AnchorPositionFallbackObserver=new IntersectionObserver(t=>{t.forEach(({boundingClientRect:r,isIntersecting:n,target:i})=>{if(Xi(i)){if(r.bottom>window.innerHeight){y(i.elementInternals,"flip-block",!0);return}r.top<0&&y(i.elementInternals,"flip-block",!1)}})},{threshold:1})),e){this.debounceController=new AbortController,xo.AnchorPositionFallbackObserver.observe(this.listbox),window.addEventListener("scroll",this.repositionListbox,{passive:!0,capture:!0,signal:this.debounceController.signal}),window.addEventListener("resize",this.repositionListbox,{passive:!0,signal:this.debounceController.signal}),this.repositionListbox();return}xo.AnchorPositionFallbackObserver.unobserve(this.listbox),this.debounceController?.abort(),this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=void 0)}};q.formAssociated=!0,Z([Be],q.prototype,"activeDescendant",1),Z([g],q.prototype,"activeIndex",2),Z([a({attribute:"aria-labelledby",mode:"fromView"})],q.prototype,"ariaLabelledBy",2),Z([g],q.prototype,"control",2),Z([a({mode:"boolean"})],q.prototype,"disabled",2),Z([Be],q.prototype,"displayValue",1),Z([a({attribute:"id"})],q.prototype,"id",2),Z([g],q.prototype,"indicator",2),Z([g],q.prototype,"indicatorSlot",2),Z([a({attribute:"value",mode:"fromView"})],q.prototype,"initialValue",2),Z([g],q.prototype,"listbox",2),Z([a({mode:"boolean"})],q.prototype,"multiple",2),Z([a],q.prototype,"name",2),Z([g],q.prototype,"open",2),Z([a],q.prototype,"placeholder",2),Z([a({mode:"boolean"})],q.prototype,"required",2),Z([a],q.prototype,"type",2),Z([a({attribute:"value"})],q.prototype,"valueAttribute",2);let zd=q;var Ny=Object.defineProperty,Ty=Object.getOwnPropertyDescriptor,_d=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ty(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ny(e,t,n),n};class an extends zd{constructor(){super(...arguments),this.appearance=Cd.outline}}_d([a],an.prototype,"appearance",2),_d([a],an.prototype,"size",2),an.define(Nd);const Od={above:"above",after:"after",before:"before"},Ie={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"},zy=`${h.prefix}-field`,Fd=p`${w("inline-grid")} :host{color:${A};align-items:center;gap:0 ${J};justify-items:start}:has([slot='message']){color:${A};row-gap:${te}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${J}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${Xo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${ic}}:host(${g$}) ::slotted([slot='label'])::after{content:'*'/'';color:${Hr};margin-inline-start:${ee}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${U};font-family:${$};font-size:${D};font-weight:${O};grid-area:message;line-height:${j};margin-block-start:${Xo}}:host(${l$}:focus-within){border-radius:${C};outline:${pe} solid ${ae}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${$};font-size:${_};font-weight:${O};grid-area:label;line-height:${L};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${D};line-height:${j}}:host([size='large']) ::slotted(label){font-size:${ue};line-height:${ve}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${H}}:host(${ke}){cursor:default}::slotted([flag]){display:none}:host(${n$}) ::slotted([flag='${Ie.badInput}']),:host(${i$}) ::slotted([flag='${Ie.customError}']),:host(${d$}) ::slotted([flag='${Ie.patternMismatch}']),:host(${u$}) ::slotted([flag='${Ie.rangeOverflow}']),:host(${p$}) ::slotted([flag='${Ie.rangeUnderflow}']),:host(${f$}) ::slotted([flag='${Ie.stepMismatch}']),:host(${b$}) ::slotted([flag='${Ie.tooLong}']),:host(${m$}) ::slotted([flag='${Ie.tooShort}']),:host(${v$}) ::slotted([flag='${Ie.typeMismatch}']),:host(${k$}) ::slotted([flag='${Ie.valueMissing}']),:host(${y$}) ::slotted([flag='${Ie.valid}']){display:block}`,Ed=b`<template @click=${(o,e)=>o.clickHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @focusout=${(o,e)=>o.focusoutHandler(e.event)}><slot name=label part=label ${Y("labelSlot")}></slot><slot name=input part=input ${Y("slottedInputs")}></slot><slot name=message part=message ${Y({property:"messageSlot",filter:Io("[flag]")})}></slot></template>`,Dd={name:zy,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:Fd,template:Ed};var _y=Object.defineProperty,Oy=Object.getOwnPropertyDescriptor,ln=(o,e,t,r)=>{for(var n=r>1?void 0:r?Oy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&_y(e,t,n),n};class bo extends x{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}get slottedInputObserver(){return this._slottedInputObserver??(this._slottedInputObserver=new MutationObserver(()=>{this.setStates()})),this._slottedInputObserver}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){y(this.elementInternals,"has-message",!!t.length)}slottedInputsChanged(e,t){const r=t?.filter(n=>n.nodeType===Node.ELEMENT_NODE)??[];r?.length&&(this.input=r?.[0])}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties(),this.slottedInputObserver.observe(t,{attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0}))}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("invalid",this.invalidHandler,{capture:!0})}disconnectedCallback(){this.slottedInputObserver.disconnect(),this.removeEventListener("invalid",this.invalidHandler,{capture:!0}),super.disconnectedCallback()}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&y(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return y(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Qe("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&(y(this.elementInternals,"disabled",!!this.input.disabled),y(this.elementInternals,"readonly",!!this.input.readOnly),y(this.elementInternals,"required",!!this.input.required),y(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input?.validity)for(const[e,t]of Object.entries(Ie))y(this.elementInternals,t,this.input.validity[e])}}ln([g],bo.prototype,"labelSlot",2),ln([g],bo.prototype,"messageSlot",2),ln([g],bo.prototype,"slottedInputs",2),ln([g],bo.prototype,"input",2);var Fy=Object.defineProperty,Ey=Object.getOwnPropertyDescriptor,Dy=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ey(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Fy(e,t,n),n};class Ki extends bo{constructor(){super(...arguments),this.labelPosition=Od.above}}Dy([a({attribute:"label-position"})],Ki.prototype,"labelPosition",2),Ki.define(Dd);const Ly={none:"none",center:"center",contain:"contain",cover:"cover"},My={circular:"circular",rounded:"rounded",square:"square"},Hy=`${h.prefix}-image`,Ld=p`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${P} solid ${io}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Wo}}:host([shape='circular']) ::slotted(img){border-radius:${he}}:host([shape='rounded']) ::slotted(img){border-radius:${C}}`,Md=b`<slot></slot>`,Hd={name:Hy,registry:h.registry,styles:Ld,template:Md};var Vy=Object.defineProperty,Ry=Object.getOwnPropertyDescriptor,lr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ry(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Vy(e,t,n),n};class Ut extends x{}lr([a({mode:"boolean"})],Ut.prototype,"block",2),lr([a({mode:"boolean"})],Ut.prototype,"bordered",2),lr([a({mode:"boolean"})],Ut.prototype,"shadow",2),lr([a],Ut.prototype,"fit",2),lr([a],Ut.prototype,"shape",2),Ut.define(Hd);const jy={small:"small",medium:"medium",large:"large"},qy={regular:"regular",semibold:"semibold"},Wy=`${h.prefix}-label`,Vd=p`${w("inline-flex")} :host{color:${A};cursor:pointer;font-family:${$};font-size:${_};font-weight:${O};line-height:${L};user-select:none}.asterisk{color:${Hr};margin-inline-start:${ee}}:host([size='small']){font-size:${D};line-height:${j}}:host([size='large']){font-size:${ue};line-height:${ve}}:host(:is([size='large'],[weight='semibold'])){font-weight:${H}}:host([disabled]),:host([disabled]) .asterisk{color:${z}}`;function Gy(){return b`<slot></slot><span part=asterisk class=asterisk aria-hidden=true ?hidden=${o=>!o.required}>*</span>`}const Rd=Gy(),jd={name:Wy,registry:h.registry,styles:Vd,template:Rd};var Xy=Object.defineProperty,Uy=Object.getOwnPropertyDescriptor,cn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Uy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Xy(e,t,n),n};class mo extends x{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}cn([a],mo.prototype,"size",2),cn([a],mo.prototype,"weight",2),cn([a({mode:"boolean"})],mo.prototype,"disabled",2),cn([a({mode:"boolean"})],mo.prototype,"required",2),mo.define(jd);const Ky={subtle:"subtle"},Yy=xc,Jy=`${h.prefix}-link`,qd=p`${w("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${ga};cursor:pointer;font-family:${$};font-size:${_};font-weight:${O};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${P};text-overflow:inherit;user-select:text}:host(:hover){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${fa}}:host(:active){color:${ba}}:host([appearance='subtle']:hover){color:${va}}:host([appearance='subtle']:active){color:${$a}}}:host([appearance='subtle']){color:${ma}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:focus-visible),:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)):focus-visible,:host([inline]:focus-visible){outline-style:none;text-decoration-line:underline;text-decoration-style:double;text-decoration-color:${ae}}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;function Zy(){return b`<template tabindex=0 @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot></slot></template>`}const Wd=Zy(),Gd={name:Jy,registry:h.registry,styles:qd,template:Wd};var Qy=Object.defineProperty,e0=Object.getOwnPropertyDescriptor,Xd=(o,e,t,r)=>{for(var n=r>1?void 0:r?e0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Qy(e,t,n),n};class dn extends qe{constructor(){super(...arguments),this.inline=!1}}Xd([a],dn.prototype,"appearance",2),Xd([a({mode:"boolean"})],dn.prototype,"inline",2),dn.define(Gd);const Ud=p`${w("inline-flex")} :host{background-color:${B};border-radius:${C};border:${P} solid ${K};box-shadow:${jr};box-sizing:border-box;flex-direction:column;margin:0;min-inline-size:160px;padding:${ee};row-gap:${V};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:fixed;max-block-size:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-inline-size:anchor-size(inline);inset-block-start:anchor(outside);inset-inline-start:anchor(inside);position-try-fallbacks:flip-block,flip-inline,flip-inline flip-block}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-block-size:var(--listbox-max-height,50vh);position:absolute}:host([popover]${a$}){margin-block-start:revert;translate:0 -100%}}`;function Kd(){return b`<template @beforetoggle=${(o,e)=>o.beforetoggleHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)}><slot ${N("defaultSlot")} @slotchange=${(o,e)=>o.slotchangeHandler(e.event)}></slot></template>`}const Yd=Kd(),Jd={name:Cy,registry:h.registry,styles:Ud,template:Yd};var t0=Object.defineProperty,o0=Object.getOwnPropertyDescriptor,cr=(o,e,t,r)=>{for(var n=r>1?void 0:r?o0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&t0(e,t,n),n};class Kt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="listbox"}defaultSlotChanged(){this.slotchangeHandler()}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),T.enqueue(()=>{this.options.forEach(r=>{r.multiple=!!t})})}optionsChanged(e,t){t?.forEach((r,n)=>{r.elementInternals.ariaPosInSet=`${n+1}`,r.elementInternals.ariaSetSize=`${t.length}`})}beforetoggleHandler(e){if(!this.dropdown)return!0;if(this.dropdown.disabled){this.dropdown.open=!1;return}return this.dropdown.open=e.newState==="open",!0}get enabledOptions(){return this.options?.filter(e=>!e.disabled)??Array.from(this.querySelectorAll("*")).filter(e=>Ct(e)&&!e.disabled)??[]}get selectedOptions(){return this.options?.filter(e=>e.selected)??[]}clickHandler(e){if(this.dropdown)return!0;const t=e.target;return Ct(t)&&this.selectOption(this.enabledOptions.indexOf(t)),!0}connectedCallback(){super.connectedCallback(),Qo(this,()=>{this.id=this.id||Qe("listbox-")},{shallow:!0})}handleChange(e,t){if(t==="multiple"){this.multiple=e.multiple;return}}selectOption(e=this.selectedIndex){let t=this.selectedIndex;if(!this.multiple)this.enabledOptions.forEach((r,n)=>{const i=n===e;r.selected=i,i&&(t=n)});else{const r=this.enabledOptions[e];r&&(r.selected=!r.selected),t=e}this.selectedIndex=t}slotchangeHandler(e){Qo(this,()=>{if(this.defaultSlot){const t=this.defaultSlot.assignedElements().filter(r=>Ct(r));this.options=t}})}}cr([g],Kt.prototype,"defaultSlot",2),cr([g],Kt.prototype,"multiple",2),cr([g],Kt.prototype,"options",2),cr([g],Kt.prototype,"selectedIndex",2),cr([g],Kt.prototype,"dropdown",2),Kt.define(Jd);const r0=er,n0=tr,i0=or,s0=`${h.prefix}-menu-button`,a0=ho,Zd=Mi({end:b.partial('<svg slot=end fill=currentColor aria-hidden=true width=1em height=1em viewBox="0 0 20 20" xmlns=http://www.w3.org/2000/svg><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill=currentColor></path></svg>')}),Qd={name:s0,registry:h.registry,styles:a0,template:Zd};class eh extends Je{}eh.define(Qd);const oe={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},l0={[oe.menuitem]:"menuitem",[oe.menuitemcheckbox]:"menuitemcheckbox",[oe.menuitemradio]:"menuitemradio"};function c0(o,e="-menu-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const d0=`${h.prefix}-menu-item`,th=p`${w("flex")} :host{align-items:center;background:${B};border-radius:${C};box-sizing:border-box;color:${Ne};cursor:pointer;font:${O} ${_}/${L} ${$};gap:4px;min-block-size:32px;overflow:visible;padding-inline:10px}@supports (grid-template-columns:subgrid){:host{display:grid;gap:0;grid-template-columns:subgrid;padding-inline:unset}}:host(:hover){background:${Fo};color:${Ot}}:host(:active){background-color:${Yn};color:${Ft}}:host(:active) ::slotted([slot='start']){color:${ka}}:host(${ke}){background-color:${nt};color:${z}}:host(${ke}) ::slotted([slot='start']),:host(${ke}) ::slotted([slot='end']){color:${z}}:host(:focus-visible){border-radius:${C};outline:2px solid ${ae}}:host(:not(${k})) .indicator,:host(:not(${k})) ::slotted([slot='indicator']),:host(:not(${Wc})) .submenu-glyph,:host(:not(${Wc})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${U};font:${O} ${D}/${j} ${$};white-space:nowrap}.indicator,::slotted([slot='indicator']){grid-column:2/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:3/span 1}.content{flex-grow:1;grid-column:4/span 1;padding:0 2px;white-space:nowrap}::slotted([slot='end']){grid-column:5/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:6/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}@position-try --inline-inside{inset-inline-start:unset;inset-inline-end:anchor(inside)}::slotted([popover]){margin:0;max-block-size:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(inside);inset-inline-start:anchor(outside);position-try-fallbacks:--inline-inside,flip-block,flip-block --inline-inside;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${ke}),:host(${ke}) ::slotted([slot='start']),:host(${ke}) ::slotted([slot='end']){color:GrayText}}`,h0=b.partial('<svg class=indicator fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill=currentColor></path></svg>'),u0=b.partial('<svg class=submenu-glyph fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill=currentColor></path></svg>');function p0(o={}){return b`<template tabindex=0 @keydown=${(e,t)=>e.handleMenuItemKeyDown(t.event)} @click=${(e,t)=>e.handleMenuItemClick(t.event)} @mouseover=${(e,t)=>e.handleMouseOver(t.event)} @mouseout=${(e,t)=>e.handleMouseOut(t.event)} @toggle=${(e,t)=>e.handleToggle(t.event)}><slot name=indicator>${ye(o.indicator)}</slot>${je(o)}<div part=content class=content><slot></slot></div>${at(o)}<slot name=submenu-glyph>${ye(o.submenuGlyph)}</slot><slot name=submenu ${Y({property:"slottedSubmenu"})}></slot></template>`}const oh=p0({indicator:h0,submenuGlyph:u0}),rh={name:d0,registry:h.registry,styles:th,template:oh};var g0=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,vo=(o,e,t,r)=>{for(var n=r>1?void 0:r?f0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&g0(e,t,n),n};class et extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=oe.menuitem,this.checked=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case"ArrowLeft":return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=e=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=e=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.handleToggle=e=>{e instanceof ToggleEvent&&(e.newState==="open"&&(this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),e.newState==="closed"&&(this.elementInternals.ariaExpanded="false"),this.submenu?.setAttribute("focusgroup",e.newState==="open"?"menu":"none"))},this.handleSubmenuFocusOut=e=>{e.relatedTarget&&this.submenu?.contains(e.relatedTarget)||this.submenu?.togglePopover(!1)},this.invoke=()=>{if(!this.disabled)switch(this.role){case oe.menuitemcheckbox:this.checked=!this.checked;break;case oe.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case oe.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const e=this.getBoundingClientRect(),t=this.submenu.getBoundingClientRect(),r=getComputedStyle(this).direction==="ltr"?"right":"left";if(e.width+t.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(e[r]+t.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${e.width-8}px 0`}}}disabledChanged(e,t){this.elementInternals.ariaDisabled=t?`${t}`:null,y(this.elementInternals,"disabled",t)}roleChanged(e,t){this.elementInternals.role=t??oe.menuitem}checkedChanged(e,t){const r=this.role!==oe.menuitem;this.elementInternals.ariaChecked=r?`${!!t}`:null,y(this.elementInternals,"checked",r?t:!1),this.$fastController.isConnected&&this.$emit("change",t,{bubbles:!0})}slottedSubmenuChanged(e,t){this.submenu?.removeEventListener("toggle",this.handleToggle),this.submenu?.removeEventListener("focusout",this.handleSubmenuFocusOut),t.length?(this.submenu=t[0],this.submenu.toggleAttribute("popover",!0),this.submenu.setAttribute("focusgroup","none"),this.submenu.addEventListener("toggle",this.handleToggle),this.submenu.addEventListener("focusout",this.handleSubmenuFocusOut),this.elementInternals.ariaHasPopup="menu",y(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,y(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??oe.menuitem,this.elementInternals.ariaChecked=this.role!==oe.menuitem?`${!!this.checked}`:null,lt(this)}}vo([a({mode:"boolean"})],et.prototype,"disabled",2),vo([a],et.prototype,"role",2),vo([a({mode:"boolean"})],et.prototype,"checked",2),vo([a({mode:"boolean"})],et.prototype,"hidden",2),vo([g],et.prototype,"slottedSubmenu",2),vo([g],et.prototype,"submenu",2),yt(et,st),et.define(rh);const b0=`${h.prefix}-menu-list`,nh=p`${w("grid")} :host{--_col-indicator-width:0px;--_col-start-width:0px;--_col-content-width:1fr;--_col-end-width:0px;--_col-submenu-width:0px;contain:content;block-size:fit-content;max-inline-size:300px;min-inline-size:160px;inline-size:auto;background-color:${B};border:1px solid ${K};border-radius:${C};box-shadow:${jr};grid-template-columns:10px var(--_col-indicator-width) var(--_col-start-width) var(--_col-content-width) var(--_col-end-width) var(--_col-submenu-width) 10px;gap:2px 0;padding:4px}::slotted(*){grid-column:1/-1}:host(:has([role='menuitemradio'],[role='menuitemcheckbox'])){--_col-indicator-width:24px}:host(:has([slot='start'])){--_col-start-width:24px}:host(:has([slot='end'])){--_col-end-width:24px}:host(:has([slot='submenu'])){--_col-submenu-width:24px}@scope{:scope:has([role='menuitemradio'],[role='menuitemcheckbox']){--_col-indicator-width:24px}:scope:has([slot='start']){--_col-start-width:24px}:scope:has([slot='end']){--_col-end-width:24px}:scope:has([slot='submenu']){--_col-submenu-width:24px}}`;function m0(){return b`<template focusgroup=menu><slot ${Y("items")}></slot></template>`}const ih=m0(),sh={name:b0,registry:h.registry,styles:nh,template:ih};var dr={INFERRED_ROLE:"data-fg-ir",ITEM:"data-fg-item",AUTHOR_TABINDEX:"data-fg-ati",SEGMENT:"data-fg-seg",SEGMENT_START:"data-fg-segs"},Yi={TOOLBAR:"toolbar",TABLIST:"tablist",RADIOGROUP:"radiogroup",LISTBOX:"listbox",MENU:"menu",MENUBAR:"menubar",NONE:"none"};function Ji(o,e){return o.contains(e)}function v0(){return"focusgroup"in(globalThis?.HTMLElement?.prototype??{})||"focusGroup"in(globalThis?.HTMLElement?.prototype??{})}function $0(o,e,t){const r="forward",n="backward",i="block",s="inline";if(y0(o.composedPath()[0]))return o.key==="Tab"?o.shiftKey?n:r:null;if(o.shiftKey||o.ctrlKey||o.metaKey)return null;const{writingMode:l,direction:u}=window.getComputedStyle(e),d=!l.startsWith("horizontal-"),c=u==="rtl",f=d?i:s,S=d?s:i,E=d?l.endsWith("-rl")!==c:c,X=d&&c,le={ArrowUp:{axis:S,dir:X?r:n},ArrowDown:{axis:S,dir:X?n:r},ArrowLeft:{axis:f,dir:E?r:n},ArrowRight:{axis:f,dir:E?n:r},Home:{dir:"start"},End:{dir:"end"}}[o.key];return!le||t&&le.axis&&le.axis!==t?null:le.dir}function y0(o){return o?.nodeType===Node.ELEMENT_NODE&&(["INPUT","TEXTAREA","SELECT"].includes(o.nodeName)&&!["checkbox","radio"].includes(o.getAttribute("type"))||o.isContentEditable||["AUDIO","VIDEO"].includes(o.nodeName)&&o.hasAttribute("controls")||["IFRAME","OBJECT"].includes(o.nodeName))}globalThis.__FOCUSGROUP_POLYFILL__??={o:new Set,b:!1};var k0=globalThis.__FOCUSGROUP_POLYFILL__,x0=k0.o;function Zi(){for(const o of x0)o.takeRecords()}var hn=class{#t;#e;#s=Yi.NONE;#u=void 0;#c=!1;#a=!0;#r;#o=null;#n=!1;#l=null;#p=new AbortController;#d;#h;constructor(o,e,t={}){if(v0()||!o)return;this.#t=o,this.#e=e,this.#d=t.decorateOwner,this.#h=t.decorateItem,this.#g(t.definition),this.#d?.(this.#t,this.#s),this.#f();const r={signal:this.#p.signal};this.#t.addEventListener("keydown",this.#$.bind(this),r),this.#t.addEventListener("focusin",this.#y.bind(this),r),this.#t.addEventListener("focusout",this.#k.bind(this),r)}disconnect(){this.#i(),this.#p.abort(),this.#e?.disconnect?.(),this.#t=null}update(o={}){if(this.#t){if(o.definition!==void 0&&(this.#g(o.definition),this.#d?.(this.#t,this.#s)),o.authorTabindexChanges)for(const e of o.authorTabindexChanges)e.setAttribute(dr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none");this.#b(),this.#f()}}#g(o){this.#s=o?.behavior??Yi.NONE,this.#c=o?.wrap??!1,this.#u=o?.axis,this.#a=o?.memory??!0,this.#a||(this.#o=null)}#f(){if(this.#s===Yi.NONE){this.#b();return}this.#e.decorate?.();for(const{element:e,segmentBoundary:t}of this.#e.items())this.#h?.(e,this.#s),e.setAttribute(dr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none"),e.tabIndex=t?0:-1;(!this.#o?.isConnected||!(this.#e.isItem?.(this.#o)??this.#e.contains(this.#o)))&&(this.#o=null);const o=this.#o??this.#e.start??this.#e.first?.()??null;o&&(o.tabIndex=0,this.#r=o,this.#i(),this.#m(o)),this.#e.flush?.()}#b(){this.#i();let o=!1;for(const{element:e}of this.#e.items()){o=!0,this.#h?.(e,null);const t=e.getAttribute(dr.AUTHOR_TABINDEX);t&&(t==="none"?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t),e.removeAttribute(dr.AUTHOR_TABINDEX))}this.#e.undecorate?.(),o&&this.#e.flush?.()}#$(o){const e=o.composedPath()[0];if(o.defaultPrevented||e===this.#t||!this.#e.contains(e))return;let t;switch($0(o,e,this.#u)){case"start":t=this.#e.first();break;case"end":t=this.#e.last();break;case"forward":t=this.#e.next(e),!t&&this.#c&&(t=this.#e.first());break;case"backward":t=this.#e.previous(e),!t&&this.#c&&(t=this.#e.last());break}t&&t!==e&&(this.#v(e,t,!0),this.#o=t,o.preventDefault())}#y(o){const e=o.composedPath()[0];if(e===this.#t&&this.#n&&(!o.relatedTarget||!Ji(this.#t,o.relatedTarget))){const r=this.#o||this.#r;this.#i(),r&&r.focus(),o.stopPropagation();return}if(!this.#e.contains(e))return;this.#n&&this.#i();const t=this.#o;if(this.#o=e,t!==e&&e.tabIndex<0){const r=t??this.#r;r&&this.#v(r,e)}}#k(o){if(!o.relatedTarget||!Ji(this.#t,o.relatedTarget)){const r=this.#a?this.#o||this.#r:this.#r;r&&this.#m(r)}if(o.relatedTarget&&Ji(this.#t,o.relatedTarget)||this.#a||!this.#r)return;const e=this.#o;this.#o=null;const t=this.#e.start??this.#e.first?.()??null;if(e!==this.#r||t!==this.#r){for(const{element:r,segmentBoundary:n}of this.#e.items())r.tabIndex=n?0:-1;t&&(t.tabIndex=0,this.#r=t),this.#e.flush?.()}}#m(o){const e=(o.assignedSlot??o).getRootNode(),t=e instanceof ShadowRoot&&e.host.hasAttribute(dr.AUTHOR_TABINDEX);this.#n||!t||(this.#l=this.#t.getAttribute("tabindex"),this.#t.tabIndex=0,this.#n=!0,Zi())}#i(){this.#n&&(this.#l!==null?this.#t.setAttribute("tabindex",this.#l):this.#t.removeAttribute("tabindex"),this.#n=!1,this.#l=null,this.#e.flush?.(),Zi())}#v(o,e,t=!1){e.tabIndex=0,t&&e.focus(),o.tabIndex=this.#e.sameSegment?.(o,e)??!0?-1:0,this.#i(),Zi()}};class un{constructor(e,t){this.getItems=e,this.getStart=t}get start(){return this.getStart?.()??null}first(){return this.getItems()[0]??null}last(){const e=this.getItems();return e[e.length-1]??null}next(e){const t=this.getItems(),r=t.indexOf(e);return r===-1?null:t[r+1]??null}previous(e){const t=this.getItems(),r=t.indexOf(e);return r<=0?null:t[r-1]??null}*items(){for(const e of this.getItems())yield{element:e}}contains(e){return this.getItems().includes(e)}}var w0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,C0=(o,e,t,r)=>{for(var n=r>1?void 0:r?S0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&w0(e,t,n),n};const Qi=class Fu extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.isNestedMenu=()=>this.parentElement!==null&&ps(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.changedMenuItemHandler=e=>{if(this.menuChildren===void 0)return;const t=e.target,r=this.menuChildren.indexOf(t);if(r!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let i=r-1;i>=0;--i){const s=this.menuChildren[i],l=s.role;if(l===oe.menuitemradio&&(s.checked=!1),l==="separator")break}const n=this.menuChildren.length-1;for(let i=r+1;i<=n;++i){const s=this.menuChildren[i],l=s.role;if(l===oe.menuitemradio&&(s.checked=!1),l==="separator")break}}},this.elementInternals.role="menu"}itemsChanged(e,t){this.$fastController.isConnected&&this.menuChildren!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),!this.slot&&this.isNestedMenu()&&(this.slot="submenu"),T.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),Array.from(this.children).forEach(e=>{m.getNotifier(e).unsubscribe(this,"hidden")}),this.menuChildren=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.menuItems?.find(e=>!e.disabled)?.focus()}setItems(){const e=Array.from(this.children);e.forEach(t=>{m.getNotifier(t).subscribe(this,"hidden")}),this.menuChildren=e.filter(t=>!t.hasAttribute("hidden")),this.menuItems=this.menuChildren?.filter(this.isMenuItemElement)}handleChange(e,t){t==="hidden"&&this.setItems()}isMenuItemElement(e){return c0(e)||ps(e)&&!!e.role&&e.role in Fu.focusableElementRoles}};Qi.focusableElementRoles=oe,C0([g],Qi.prototype,"items",2);let ah=Qi;class lh extends ah{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}setItems(){super.setItems(),this.fgItems??(this.fgItems=new un(()=>this.menuItems?.filter(e=>!e.hidden)??[])),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"menu",axis:"block",wrap:!0}})}}lh.define(sh);const B0=`${h.prefix}-menu`,ch=p`${w("inline-block")} ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(outside);inset-inline-start:anchor(self-start);position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;position:fixed;z-index:1}:host([split]) ::slotted([popover]){inset-inline-start:unset;inset-inline-end:anchor(self-end)}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${P} solid ${Re};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${P} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function P0(){return b`<template @keydown=${(o,e)=>o.menuKeydownHandler(e.event)}><slot name=primary-action ${N("primaryAction")}></slot><slot name=trigger ${Y({property:"slottedTriggers",filter:Io()})}></slot><slot ${Y({property:"slottedMenuList",filter:Io()})}></slot></template>`}const dh=P0(),hh={name:B0,registry:h.registry,styles:ch,template:dh};var I0=Object.defineProperty,A0=Object.getOwnPropertyDescriptor,Bt=(o,e,t,r)=>{for(var n=r>1?void 0:r?A0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&I0(e,t,n),n};class tt extends x{constructor(){super(...arguments),this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=e=>{e?.target instanceof et&&(e.target.getAttribute("role")===oe.menuitemcheckbox||e.target.getAttribute("role")===oe.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=e=>{this._menuList?.togglePopover(!0),e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=e=>{if(e.type==="toggle"&&e.newState){const t=e.newState==="open";this._trigger?.setAttribute("aria-expanded",`${t}`),this._menuList?.setAttribute("focusgroup",t?"menu":"none"),this._open=t,this._open&&this.focusMenuList()}},this.triggerKeydownHandler=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=e=>{e.composedPath().some(t=>t===this._trigger||t===this._menuList)||this.closeMenu()}}slottedMenuListChanged(e,t){this._menuListAbortController?.abort(),t?.length&&(this._menuList=t[0],this._menuList.popover=this.openOnContext?"manual":"",this.addMenuListListeners())}slottedTriggersChanged(e,t){if(this._triggerAbortController?.abort(),t?.length){const r=t[0];this._trigger=r,this._trigger?.isConnected&&(this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this.addTriggerListeners())}}connectedCallback(){super.connectedCallback(),this.setComponent()}disconnectedCallback(){super.disconnectedCallback(),this._triggerAbortController?.abort(),this._menuListAbortController?.abort()}setComponent(){}focusMenuList(){T.enqueue(()=>{this._menuList.focus()})}focusTrigger(){T.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(e,t){this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}persistOnItemClickChanged(e,t){this._menuList&&(this._menuListAbortController?.abort(),this.addMenuListListeners())}openOnContextChanged(e,t){t?this._menuList?.setAttribute("popover","manual"):this._menuList?.setAttribute("popover",""),this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addTriggerListeners(){this._triggerAbortController=new AbortController;const{signal:e}=this._triggerAbortController;this._trigger?.addEventListener("keydown",this.triggerKeydownHandler,{signal:e}),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu,{signal:e}):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu,{signal:e}),document.addEventListener("click",this.documentClickHandler,{signal:e})):this._trigger?.addEventListener("click",this.toggleMenu,{signal:e})}addMenuListListeners(){this._menuListAbortController=new AbortController;const{signal:e}=this._menuListAbortController;this._menuList?.addEventListener("toggle",this.toggleHandler,{signal:e}),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu,{signal:e})}menuKeydownHandler(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":if(this._open&&this.closeMenu(),e.shiftKey&&e.composedPath()[0]!==this._trigger&&e.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(e.shiftKey)return!0;default:return!0}}}Bt([a({attribute:"open-on-hover",mode:"boolean"})],tt.prototype,"openOnHover",2),Bt([a({attribute:"open-on-context",mode:"boolean"})],tt.prototype,"openOnContext",2),Bt([a({attribute:"close-on-scroll",mode:"boolean"})],tt.prototype,"closeOnScroll",2),Bt([a({attribute:"persist-on-item-click",mode:"boolean"})],tt.prototype,"persistOnItemClick",2),Bt([a({mode:"boolean"})],tt.prototype,"split",2),Bt([g],tt.prototype,"slottedMenuList",2),Bt([g],tt.prototype,"slottedTriggers",2),Bt([g],tt.prototype,"primaryAction",2),tt.define(hh);const N0={multiline:"multiline",singleline:"singleline"},T0={rounded:"rounded",square:"square"},z0={success:"success",warning:"warning",error:"error",info:"info"},_0=`${h.prefix}-message-bar`,uh=p`:host{display:grid;box-sizing:border-box;font-family:${$};font-size:${D};line-height:${j};width:100%;background:${to};color:${U};border:1px solid ${Re};padding-inline:${J};border-radius:${C};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${pi};border-color:${Ma}}:host([intent='warning']){background-color:${fi};border-color:${mi}}:host([intent='error']){background-color:${ci};border-color:${hi}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${Uo};padding-inline:${J}}.content{grid-area:body;max-width:520px;padding-block:${Uo};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${U};margin-inline-end:${ze}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${ze};gap:${ze}}:host([layout='multiline']) .actions{margin-block-start:${Uo};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${te}}::slotted(*){font-size:inherit}`;function O0(){return b`<slot name=icon></slot><div class=content><slot></slot></div><div class=actions><slot name=actions></slot></div><slot name=dismiss></slot>`}const ph=O0(),gh={name:_0,registry:h.registry,styles:uh,template:ph};var F0=Object.defineProperty,E0=Object.getOwnPropertyDescriptor,es=(o,e,t,r)=>{for(var n=r>1?void 0:r?E0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&F0(e,t,n),n};class hr extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}}es([a],hr.prototype,"shape",2),es([a],hr.prototype,"layout",2),es([a],hr.prototype,"intent",2),hr.define(gh);const fh=p`${w("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${Wi} align-items:center;background-color:${B};border-radius:${C};box-sizing:border-box;color:${Ne};column-gap:${ee};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${$e};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${Fo};color:${Ot}}:host(:active){background-color:${Er};color:${Ft}}:host(${v}){background-color:${B};color:${z};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${Hi}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${po}) .checkmark-16-filled,:host(:not(${po})) .checkmark-12-regular{display:none}:host(${po}) .checkmark-12-regular{background-color:${B};border-radius:${Te};border:${P} solid ${Ve};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${po}${Hi}) .checkmark-12-regular{background-color:${pt};border-color:${it};fill:${ut}}:host(${v}${po}) .checkmark-12-regular{border-color:${me}}:host(${v}${po}${Hi}) .checkmark-12-regular{background-color:${nt}}:host(${r$}){border:${pe} solid ${ae}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${$e}}}:host(${s$}){column-gap:${$e};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${U};grid-area:description;${Gi}}@media (forced-colors:active){:host(${v}){color:GrayText}}`,D0=b.partial('<svg aria-hidden=true class=checkmark-16-filled viewBox="0 0 16 16"><path d="M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032"/></svg> <svg aria-hidden=true class=checkmark-12-regular viewBox="0 0 12 12"><path d="M9.854 3.146a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L5 7.293l4.146-4.147a.5.5 0 0 1 .708 0"/></svg>');function L0(o={}){return b`<slot name=checked-indicator>${ye(o.checkedIndicator)}</slot>${je(o)}<div class=content part=content><slot ${Y({property:"freeformOutputs",filter:Io("output")})}></slot></div><div class=description part=description><slot name=description ${Y("descriptionSlot")}></slot></div>`}const bh=L0({checkedIndicator:D0}),mh={name:By,registry:h.registry,styles:fh,template:bh};var M0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,Se=(o,e,t,r)=>{for(var n=r>1?void 0:r?H0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&M0(e,t,n),n};class re extends x{constructor(){super(),this.active=!1,this.id=Qe("option-"),this.initialValue="",this.multiple=!1,this.elementInternals=this.attachInternals(),this._value=this.initialValue,this.elementInternals.role="option"}activeChanged(e,t){y(this.elementInternals,"active",t)}currentSelectedChanged(e,t){this.selected=!!t}defaultSelectedChanged(e,t){this.selected=!!t}descriptionSlotChanged(e,t){y(this.elementInternals,"description",!!t?.length)}disabledChanged(e,t){this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled),this.setFormValue(!this.disabled&&this.selected?this.value:null)}disabledAttributeChanged(e,t){this.disabled=!!t}initialValueChanged(e,t){this._value=t}multipleChanged(e,t){y(this.elementInternals,"multiple",t),this.selected=!1}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get selected(){return m.track(this,"selected"),!!this.currentSelected}set selected(e){this.currentSelected=e,T.enqueue(()=>{this.elementInternals&&(this.setFormValue(e?this.value:null),this.elementInternals.ariaSelected=e?"true":"false",y(this.elementInternals,"selected",e))}),m.notify(this,"selected")}get text(){return this.freeform?this.value.replace(/\s+/g," ").trim():(this.textAttribute??this.textContent)?.replace(/\s+/g," ").trim()??""}get value(){return m.track(this,"value"),this._value??this.text}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(this.selected?e:null),this.freeformOutputs?.forEach(t=>{t.value=e}),m.notify(this,"value"))}connectedCallback(){super.connectedCallback(),this.freeform&&(this.value="",this.hidden=!0,this.selected=!1)}setFormValue(e,t){if(this.disabled){this.elementInternals.setFormValue(null);return}this.elementInternals.setFormValue(e,e??t)}toggleSelected(e=!this.selected){this.selected=e}}re.formAssociated=!0,Se([g],re.prototype,"active",2),Se([a({attribute:"current-selected",mode:"boolean"})],re.prototype,"currentSelected",2),Se([a({attribute:"selected",mode:"boolean"})],re.prototype,"defaultSelected",2),Se([g],re.prototype,"descriptionSlot",2),Se([g],re.prototype,"disabled",2),Se([a({attribute:"disabled",mode:"boolean"})],re.prototype,"disabledAttribute",2),Se([a({attribute:"form"})],re.prototype,"formAttribute",2),Se([a({mode:"boolean"})],re.prototype,"freeform",2),Se([a({attribute:"id"})],re.prototype,"id",2),Se([a({attribute:"value",mode:"fromView"})],re.prototype,"initialValue",2),Se([g],re.prototype,"multiple",2),Se([a],re.prototype,"name",2),Se([g],re.prototype,"start",2),Se([a({attribute:"text",mode:"fromView"})],re.prototype,"textAttribute",2),re.define(mh);const V0={medium:"medium",large:"large"},R0={rounded:"rounded",square:"square"},vh={success:"success",warning:"warning",error:"error"},j0=`${h.prefix}-progress-bar`,$h=p`${w("block")} :host{width:100%;height:2px;overflow-x:hidden;background-color:${oo};border-radius:${C};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min))/(var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${Ho}}.indicator{background-color:${pt};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient( to right,${oo} 0%,${de} 50%,${oo} 100% );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${di}}:host([validation-state='warning']) .indicator{background-color:${bi}}:host([validation-state='success']) .indicator{background-color:${gi}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}@media (forced-colors:active){:host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}}`;function q0(){return b`<div class=indicator part=indicator ${N("indicator")}></div>`}const yh=q0(),kh={name:j0,registry:h.registry,styles:$h,template:yh};var W0=Object.defineProperty,G0=Object.getOwnPropertyDescriptor,ur=(o,e,t,r)=>{for(var n=r>1?void 0:r?G0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&W0(e,t,n),n};class Yt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}indicatorChanged(){this.setIndicatorWidth()}validationStateChanged(e,t){Ht(this.elementInternals,e,t,vh)}valueChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueNow=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}minChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMin=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}maxChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMax=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}setIndicatorWidth(){CSS.supports("width: attr(value type(<number>))")||T.enqueue(()=>{if(typeof this.value!="number"){this.indicator?.style.removeProperty("width");return}const e=this.min??0,t=this.max??100,r=this.value??0,n=t-e,i=n===0?0:Math.fround((r-e)/n*100);this.indicator?.style.setProperty("width",`${i}%`)})}}ur([g],Yt.prototype,"indicator",2),ur([a({attribute:"validation-state"})],Yt.prototype,"validationState",2),ur([a({converter:se})],Yt.prototype,"value",2),ur([a({converter:se})],Yt.prototype,"min",2),ur([a({converter:se})],Yt.prototype,"max",2);var X0=Object.defineProperty,U0=Object.getOwnPropertyDescriptor,xh=(o,e,t,r)=>{for(var n=r>1?void 0:r?U0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&X0(e,t,n),n};class pn extends Yt{}xh([a],pn.prototype,"thickness",2),xh([a],pn.prototype,"shape",2),pn.define(kh);const ts=xe,K0=`${h.prefix}-radio-group`,wh=p`${w("flex")} :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${Gr}}:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${U}}::slotted(:hover){color:${Ne}}::slotted(:active){color:${A}}::slotted(${ke}){color:${z}}::slotted(${k}){color:${A}}:host([slot='input']){margin:${te} ${ze}}`;function Y0(){return b`<template focusgroup="radiogroup wrap" @disabled=${(o,e)=>o.disabledRadioHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot ${Y("slottedRadios")}></slot></template>`}const Sh=Y0(),Ch={name:K0,registry:h.registry,styles:wh,template:Sh};function J0(o,e="-radio"){return us(e)(o)}const Z0=`${h.prefix}-radio`;var Q0=Object.defineProperty,ek=Object.getOwnPropertyDescriptor,Pt=(o,e,t,r)=>{for(var n=r>1?void 0:r?ek(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Q0(e,t,n),n};class We extends x{constructor(){super(),this.isNavigating=!1,this.dirtyState=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??ts.horizontal}checkedIndexChanged(e,t){this.enabledRadios&&this.checkRadio(t)}disabledChanged(e,t){this.radios&&(this.checkedIndex=-1,this.radios?.forEach(r=>{r.disabled=!!r.disabledAttribute||!!this.disabled}))}initialValueChanged(e,t){this.value=t??""}nameChanged(e,t){this.isConnected&&t&&this.radios?.forEach(r=>{r.name=this.name})}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.orientation??ts.horizontal}radiosChanged(e,t){const r=t?.length;if(!r)return;!this.name&&t.every(s=>s.name===t[0].name)&&(this.name=t[0].name);const n=this.enabledRadios.findLastIndex(s=>s.initialChecked);t.forEach((s,l)=>{s.ariaPosInSet=`${l+1}`,s.ariaSetSize=`${r}`,this.initialValue&&!this.dirtyState?s.checked=s.value===this.initialValue:s.checked=l===n,s.name=this.name??s.name,s.disabled=!!this.disabled||!!s.disabledAttribute,s.toggleAttribute("focusgroupstart",s.checked&&!s.disabled)}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),(!this.value||this.value&&typeof this.checkedIndex!="number"&&n>=0)&&(this.checkedIndex=n);const i=t.map(s=>s.id).join(" ").trim();i&&this.setAttribute("aria-owns",i)}requiredChanged(e,t){this.elementInternals.ariaRequired=t?"true":null,this.setValidity()}slottedRadiosChanged(e,t){T.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(r=>J0(r))})}get enabledRadios(){return this.disabled?[]:this.radios?.filter(e=>!e.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(e=>e.checked)?.value??null}set value(e){const t=this.enabledRadios.findIndex(r=>r.value===e);this.checkedIndex=t,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity()),m.track(this,"value")}changeHandler(e){if(this===e.target)return!0;this.dirtyState=!0;const t=this.enabledRadios.indexOf(e.target);return this.checkRadio(t),this.radios?.filter(r=>r.disabled)?.forEach(r=>{r.checked=!1}),!0}checkRadio(e=this.checkedIndex,t=!1){let r=this.checkedIndex;this.enabledRadios.forEach((n,i)=>{const s=i===e;n.checked=s,s&&(r=i,t&&n.$emit("change"))}),this.checkedIndex=r,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return this===e.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){if(!this.disabled&&(this.isNavigating||this.value)){this.radios?.forEach(r=>{r.disabled&&r.checked&&(r.checked=!1)});const t=this.enabledRadios.indexOf(e.target);t>-1&&this.checkRadio(t,!0),this.isNavigating=!1}return!0}keydownHandler(e){switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.isNavigating=!0;break;case" ":this.checkRadio();break}return!0}disabledRadioHandler(e){e.detail===!0&&e.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,r){if(this.$fastController.isConnected){if(!(this.required&&!this.value&&!this.disabled)){this.enabledRadios?.forEach(l=>{l.elementInternals.setValidity({})});return}const i={valueMissing:!0,...e},s=t??this.validationMessage;this.enabledRadios?.forEach((l,u)=>{u===0?l.elementInternals.setValidity(i,s,l):l.elementInternals.setValidity({})})}}}We.formAssociated=!0,Pt([g],We.prototype,"checkedIndex",2),Pt([a({attribute:"disabled",mode:"boolean"})],We.prototype,"disabled",2),Pt([a({attribute:"value",mode:"fromView"})],We.prototype,"initialValue",2),Pt([a],We.prototype,"name",2),Pt([a],We.prototype,"orientation",2),Pt([g],We.prototype,"radios",2),Pt([a({mode:"boolean"})],We.prototype,"required",2),Pt([g],We.prototype,"slottedRadios",2);class Bh extends We{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}radiosChanged(e,t){super.radiosChanged(e,t),this.fgItems??(this.fgItems=new un(()=>this.enabledRadios?.filter(r=>!r.hidden)??[],()=>this.enabledRadios?.find(r=>r.checked)??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"radiogroup",axis:void 0,wrap:!0}})}}Bh.define(Ch);const Ph=p`${w("inline-flex")} :host{--size:16px;aspect-ratio:1;background-color:${B};border:${P} solid ${Ve};border-radius:${he};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${he};color:${ut};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:''/'';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${pe} solid ${K};border-radius:${C}}:host(:not([slot='input']):focus-visible)::after{border-color:${ae}}:host(:hover){border-color:${gt}}:host(${k}){border-color:${it}}:host(${k}) .checked-indicator{background-color:${pt}}:host(${k}:hover) .checked-indicator{background-color:${Et}}:host(:active){border-color:${ft}}:host(${k}:active) .checked-indicator{background-color:${Dt}}:host(:focus-visible){outline:none}:host(${ke}){background-color:${nt};border-color:${me}}:host(${k}${ke}) .checked-indicator{background-color:${me}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${ke}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${k}) .checked-indicator{background-color:FieldText}:host(${k}:not(${ke}):hover) .checked-indicator{background-color:Highlight}:host(${ke}){border-color:GrayText;color:GrayText}:host(${ke}${k}) .checked-indicator{background-color:GrayText}}`,tk=b.partial("<span part=checked-indicator class=checked-indicator role=presentation></span>");function ok(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${ye(o.checkedIndicator)}</slot></template>`}const Ih=ok({checkedIndicator:tk}),Ah={name:Z0,registry:h.registry,styles:Ph,template:Ih};class Nh extends Fe{constructor(){super(),this.elementInternals.role="radio"}disabledChanged(e,t){super.disabledChanged(e,t),this.$emit("disabled",t,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(e=!0){super.toggleChecked(e)}}Nh.define(Ah);const rk={neutral:"neutral",brand:"brand",marigold:"marigold"},nk={small:"small",medium:"medium",large:"large"},ik=`${h.prefix}-rating-display`;var sk=Object.defineProperty,ak=Object.getOwnPropertyDescriptor,pr=(o,e,t,r)=>{for(var n=r>1?void 0:r?ak(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&sk(e,t,n),n};const lk=CSS.supports("width: attr(value type(<number>))"),$o={max:"--_attr-max",value:"--_attr-value",maskImageFilled:"--_mask-image-filled",maskImageOutlined:"--_mask-image-outlined"};function gn(o){return o?["data:image/svg+xml",encodeURIComponent(o.replace(/\n/g,"").replace(/\s+/g," "))].join(","):""}class Jt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.defaultCustomIconViewBox="0 0 20 20",this.elementInternals.role="img",this.numberFormatter=new Intl.NumberFormat}iconSlotChanged(){this.handleSlotChange()}maxChanged(){this.setCustomPropertyValue("max")}valueChanged(){this.setCustomPropertyValue("value")}connectedCallback(){super.connectedCallback(),this.setCustomPropertyValue("value"),this.setCustomPropertyValue("max")}get formattedCount(){return this.count?this.numberFormatter.format(this.count):""}handleSlotChange(){const e=this.iconSlot.assignedElements()?.find(t=>t.nodeName.toLowerCase()==="svg");this.renderSlottedIcon(e??null)}renderSlottedIcon(e){if(!e){this.display.style.removeProperty($o.maskImageFilled),this.display.style.removeProperty($o.maskImageOutlined);return}const t=e.innerHTML,r=e.getAttribute("viewBox")??this.iconViewBox??this.defaultCustomIconViewBox,n=`
|
|
2
2
|
<svg
|
|
3
3
|
viewBox="${r}"
|
|
4
4
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -9,13 +9,13 @@ const h=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis
|
|
|
9
9
|
fill="none"
|
|
10
10
|
stroke="black"
|
|
11
11
|
stroke-width="2"
|
|
12
|
-
>${t}</svg>`;this.display.style.setProperty(
|
|
12
|
+
>${t}</svg>`;this.display.style.setProperty($o.maskImageFilled,`url(${gn(n)})`),this.display.style.setProperty($o.maskImageOutlined,`url(${gn(i)})`)}setCustomPropertyValue(e){requestAnimationFrame(()=>{if(!this.display||lk)return;const t=this[e];typeof t!="number"||Number.isNaN(t)?this.display.style.removeProperty($o[e]):this.display.style.setProperty($o[e],`${t}`)})}}pr([g],Jt.prototype,"iconSlot",2),pr([a({converter:se})],Jt.prototype,"count",2),pr([a({attribute:"icon-view-box"})],Jt.prototype,"iconViewBox",2),pr([a({converter:se})],Jt.prototype,"max",2),pr([a({converter:se})],Jt.prototype,"value",2);const Th='<path d="M5.28347 1.54605C5.57692 0.951448 6.42479 0.951449 6.71825 1.54605L7.82997 3.79866L10.3159 4.15988C10.9721 4.25523 11.2341 5.0616 10.7592 5.52443L8.96043 7.27785L9.38507 9.7537C9.49716 10.4072 8.81122 10.9056 8.22431 10.597L6.00086 9.4281L3.7774 10.597C3.19049 10.9056 2.50455 10.4072 2.61664 9.7537L3.04128 7.27784L1.24246 5.52443C0.767651 5.0616 1.02966 4.25523 1.68584 4.15988L4.17174 3.79865L5.28347 1.54605Z" />',ck=`
|
|
13
13
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">${Th}</svg>
|
|
14
|
-
`,
|
|
14
|
+
`,dk=`
|
|
15
15
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"
|
|
16
16
|
fill="none" stroke="black" stroke-width="2"
|
|
17
17
|
>${Th}</svg>
|
|
18
|
-
`;function dk(){return b`<div ${A("display")} class=display aria-hidden=true></div><slot name=icon ${A("iconSlot")} @slotchange=${o=>o.handleSlotChange()}></slot><slot name=value><span class=value-label aria-hidden=true>${o=>o.value}</span></slot><slot name=count><span class=count-label aria-hidden=true>${o=>o.formattedCount}</span></slot>`}const zh=dk(),_h=p`${x("inline-flex")} :host{--_icon-size:16px;--_icon-gradient-degree:90deg;--_icon-color-value:${Ka};--_icon-color-empty:${$i};--_default-value:0;--_default-max:5;--_mask-image-filled:url(${gn(lk)});--_mask-image-outlined:url(${gn(ck)});--_mask-position-x:left;align-items:center;color:${I};font-family:${v};font-size:${E};line-height:${R};contain:layout style;user-select:none}:host(:dir(rtl)){--_icon-gradient-degree:-90deg;--_mask-position-x:right}:host([size='small']){--_icon-size:12px}:host([size='large']){--_icon-size:20px;font-size:${z};line-height:${D}}::slotted([slot='icon']){display:none}:host([color='neutral']){--_icon-color-value:${I};--_icon-color-empty:${oo}}:host([color='brand']){--_icon-color-value:${Fo};--_icon-color-empty:${si}}@supports (width:attr(value type(<number>))){:host{--_attr-value:attr(value type(<number>));--_attr-max:attr(max type(<number>))}}:host([compact]) .display{--_max:1}.display{--_value:max(0,round(var(--_attr-value,var(--_default-value)) * 2)/2);--_max:max(1,var(--_attr-max,var(--_default-max)));--_mask-inline-size:calc(var(--_icon-size) + ${H});--_icon-gradient-stop-visual-adjustment:0px;--_icon-gradient-stop:calc( var(--_mask-inline-size) * var(--_value) - var(--_icon-gradient-stop-visual-adjustment) );background-image:linear-gradient( var(--_icon-gradient-degree),var(--_icon-color-value) var(--_icon-gradient-stop),var(--_icon-color-empty) calc(var(--_icon-gradient-stop) + 0.5px) );block-size:var(--_icon-size);display:grid;inline-size:calc(var(--_max) * var(--_mask-inline-size) - ${H}/2);mask-image:var(--_mask-image-filled);mask-repeat:repeat no-repeat;mask-size:var(--_mask-inline-size) var(--_icon-size);mask-position:var(--_mask-position-x) center}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${Q};font-weight:${M}}:host([size='small']) .value-label,:host([size='small']) ::slotted([slot='value']){margin-inline-start:${H}}:host([size='large']) .value-label,:host([size='large']) ::slotted([slot='value']){margin-inline-start:${ve}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${Q}}:host([size='small']) .count-label::before,:host([size='small']) ::slotted([slot='count'])::before{margin-inline:${H}}:host([size='large']) .count-label::before,:host([size='large']) ::slotted([slot='count'])::before{margin-inline:${ve}}@media (forced-colors:active){.display{--_icon-color-value:CanvasText;--_icon-color-empty:Canvas;--_icon-gradient-stop-visual-adjustment:0.5px;forced-color-adjust:none}.display::before{background-color:var(--_icon-color-value);content:'';grid-area:1/1/-1/-1;mask:inherit;mask-image:var(--_mask-image-outlined)}}`,Oh={name:nk,registry:h.registry,styles:_h,template:zh};var hk=Object.defineProperty,uk=Object.getOwnPropertyDescriptor,rs=(o,e,t,r)=>{for(var n=r>1?void 0:r?uk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&hk(e,t,n),n};class fr extends Yt{constructor(){super(...arguments),this.compact=!1}}rs([a],fr.prototype,"color",2),rs([a],fr.prototype,"size",2),rs([a({mode:"boolean"})],fr.prototype,"compact",2),fr.define(Oh);const pk={small:"small",medium:"medium"},Fh=ke,Eh={singleValue:"single-value"},gk=`${h.prefix}-slider`,Dh=p`${x("inline-grid")} :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size)/2);--track-size:4px;--track-overhang:calc(var(--track-size)/-2);--rail-color:${ut};--track-color:${Me};--slider-direction:90deg;--border-radius:${S};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${Ft}}:host(:active){--rail-color:${Et}}:host(:disabled){--rail-color:${T};--track-color:${rt}}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host([size='small']){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Ne}}:host([orientation='vertical']){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${se};outline:1px solid ${Ho}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient( var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100% );border-radius:var(--border-radius);content:'';grid-row:1/-1;grid-column:1/-1}.track{position:relative;background-color:var(--track-color);grid-row:2/2;grid-column:2/2;forced-color-adjust:none;overflow:hidden}:host([orientation='vertical'])::after,:host([orientation='vertical']) .track{height:100%;width:var(--track-size)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(:dir(rtl)) .track::before{width:calc(100% - var(--slider-progress))}:host([orientation='vertical']) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient( var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${C} calc(var(--step-rate) - 1px),${C} var(--step-rate) )}.thumb-container{position:absolute;grid-row:2/2;grid-column:2/2;transform:translateX(-50%);left:var(--slider-thumb)}:host([orientation='vertical']) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${de};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${C} inset;border:calc(var(--thumb-size) * 0.05) solid ${He};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}@media (forced-colors:active){.track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}}`;function fk(o={}){return b`<template @pointerdown=${(e,t)=>e.handlePointerDown(t.event)} @keydown=${(e,t)=>e.handleKeydown(t.event)}><div ${A("track")} part=track-container class=track style=${e=>e.position}></div><div ${A("thumb")} part=thumb-container class=thumb-container style=${e=>e.position} @pointerdown=${(e,t)=>e.handleThumbPointerDown(t.event)}><slot name=thumb>${ye(o.thumb)}</slot></div></template>`}const Lh=fk({thumb:'<div class="thumb"></div>'}),Mh={name:gk,registry:h.registry,styles:Dh,template:Lh};function Hh(o,e,t){return Math.min(Math.max(t,o),e)}const ns={fromView(o){const e=parseFloat(o);return Number.isNaN(e)?"":e.toString()},toView(o){const e=parseFloat(o);return Number.isNaN(e)?void 0:e.toString()}};function Vh(o,e,t,r){let n=Hh(0,1,(o-e)/(t-e));return r===lt.rtl&&(n=1-n),n}var bk=Object.defineProperty,mk=Object.getOwnPropertyDescriptor,re=(o,e,t,r)=>{for(var n=r>1?void 0:r?mk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&bk(e,t,n),n};class q extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=lt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Eh.singleValue,this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.handleThumbPointerDown=e=>{if(this.isDisabled)return!0;const t=e!==null?window.addEventListener:window.removeEventListener;return t("pointerup",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove,{passive:!0}),t("touchmove",this.handlePointerMove,{passive:!0}),t("touchend",this.handleWindowPointerUp),this.isDragging=e!==null,!0},this.handlePointerMove=e=>{if(this.isDisabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,r=this.thumb.getBoundingClientRect().width,n=this.orientation===ke.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft-r/2;this.value=`${this.calculateNewValue(n)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=e=>{if(e===null||!this.isDisabled){const t=e!==null?window.addEventListener:window.removeEventListener,r=e!==null?document.addEventListener:document.removeEventListener;t("pointerup",this.handleWindowPointerUp),r("mouseleave",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove);const n=this.thumb.getBoundingClientRect().width;if(e){this.setupTrackConstraints();const i=this.orientation===ke.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft-n/2;this.value=`${this.calculateNewValue(i)}`}}return!0},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Fh.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}handleChange(e,t){switch(t){case"min":case"max":this.setSliderPosition();case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=p`:host{--step-rate:${e}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(e,t){this.$fastController.isConnected?this.value=t:this._value=t}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.setValidity({customError:!!e},e)}setValidity(e,t,r){if(this.$fastController.isConnected){if(this.isDisabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!t,...e},t??this.validationMessage,r)}}get value(){return m.track(this,"value"),this._value?.toString()??""}set value(e){if(!this.$fastController.isConnected){this._value=e.toString();return}const t=parseFloat(e),r=Hh(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(t)).toString();if(r!==e){this.value=r;return}this._value=e.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(),this.$emit("change"),this.setFormValue(e),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(e){this.setDisabledSideEffect(e)}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}directionChanged(){this.setSliderPosition()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get isDisabled(){return this.disabled||this.elementInternals?.ariaDisabled==="true"||this.isConnected&&this.matches(":disabled")}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const e=parseFloat(this.min);if(!Number.isNaN(e))return e}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const e=parseFloat(this.max);if(!Number.isNaN(e))return e}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const e=parseFloat(this.step);if(!Number.isNaN(e)&&e>0)return e}return 1}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??ke.horizontal,this.$fastController.isConnected&&this.setSliderPosition()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;this.direction=Ki(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupDefaultValue(),this.setSliderPosition(),this.handleStepStyles();const e=m.getNotifier(this);e.subscribe(this,"max"),e.subscribe(this,"min"),e.subscribe(this,"step")}),at(this)}disconnectedCallback(){super.disconnectedCallback();const e=m.getNotifier(this);e.unsubscribe(this,"max"),e.unsubscribe(this,"min"),e.unsubscribe(this,"step")}increment(){const e=this.direction!==lt.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,t=this.convertToConstrainedValue(e),r=t<this.maxAsNumber?`${t}`:`${this.maxAsNumber}`;this.value=r}decrement(){const e=this.direction!==lt.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),t=this.convertToConstrainedValue(e),r=t>this.minAsNumber?`${t}`:`${this.minAsNumber}`;this.value=r}handleKeydown(e){if(this.isDisabled)return!0;switch(e.key){case"Home":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ke.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case"End":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ke.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case"ArrowRight":case"ArrowUp":e.shiftKey||(e.preventDefault(),this.increment());break;case"ArrowLeft":case"ArrowDown":e.shiftKey||(e.preventDefault(),this.decrement());break}return!0}setSliderPosition(){const t=Vh(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,this.orientation===ke.vertical?void 0:this.direction)*100;this.position=`--slider-thumb: ${t}%; --slider-progress: ${t}%`}updateStepMultiplier(){const e=this.stepAsNumber+"",t=this.stepAsNumber%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(e){this.setupTrackConstraints();const t=Vh(e,this.orientation===ke.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===ke.vertical?this.trackHeight:this.trackWidth,this.orientation===ke.vertical?void 0:this.direction),r=(this.maxAsNumber-this.minAsNumber)*t+this.minAsNumber;return this.convertToConstrainedValue(r)}convertToConstrainedValue(e){isNaN(e)&&(e=this.minAsNumber);let t=e-this.minAsNumber;const r=Math.round(t/this.stepAsNumber),n=t-r*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return t=n>=Number(this.stepAsNumber)/2?t-n+Number(this.stepAsNumber):t-n,t+this.minAsNumber}setDisabledSideEffect(e=this.isDisabled){N.enqueue(()=>{this.elementInternals.ariaDisabled=e.toString(),this.tabIndex=e?-1:0})}}q.formAssociated=!0,re([a],q.prototype,"size",2),re([a({attribute:"value",mode:"fromView"})],q.prototype,"initialValue",2),re([g],q.prototype,"direction",2),re([g],q.prototype,"isDragging",2),re([g],q.prototype,"position",2),re([g],q.prototype,"trackWidth",2),re([g],q.prototype,"trackMinWidth",2),re([g],q.prototype,"trackHeight",2),re([g],q.prototype,"trackLeft",2),re([g],q.prototype,"trackMinHeight",2),re([g],q.prototype,"valueTextFormatter",2),re([a({mode:"boolean"})],q.prototype,"disabled",2),re([a({converter:ns})],q.prototype,"min",2),re([a({converter:ns})],q.prototype,"max",2),re([a({converter:ns})],q.prototype,"step",2),re([a],q.prototype,"orientation",2),re([a],q.prototype,"mode",2),q.define(Mh);const vk={primary:"primary",inverted:"inverted"},yk={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},$k=`${h.prefix}-spinner`,Rh=p`${x("inline-flex")} :host{--duration:1.5s;--indicatorSize:${Be};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host([size='tiny']){--indicatorSize:${ue};--size:20px}:host([size='extra-small']){--indicatorSize:${ue};--size:24px}:host([size='small']){--indicatorSize:${ue};--size:28px}:host([size='large']){--indicatorSize:${Be};--size:36px}:host([size='extra-large']){--indicatorSize:${Be};--size:40px}:host([size='huge']){--indicatorSize:${jr};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${Qo}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${li};border-radius:50%}:host([appearance='inverted']) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;right:50%}.end{overflow:hidden;left:50%}.indicator{color:${ai};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-right-color:currentcolor}:host([appearance='inverted']) .indicator{color:${Oa}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}@media (forced-colors:active){.background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-right-color:Highlight}}`,jh=b`<slot name=indicator><div class=background></div><div class=progress><div class=spinner><div class=start><div class=indicator></div></div><div class=end><div class=indicator></div></div></div></div></slot>`,qh={name:$k,registry:h.registry,styles:Rh,template:jh};class Wh extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}var kk=Object.defineProperty,xk=Object.getOwnPropertyDescriptor,Gh=(o,e,t,r)=>{for(var n=r>1?void 0:r?xk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&kk(e,t,n),n};class fn extends Wh{}Gh([a],fn.prototype,"size",2),Gh([a],fn.prototype,"appearance",2),fn.define(qh);const wk={above:"above",after:"after",before:"before"},Sk=`${h.prefix}-switch`,Xh=p`${x("inline-flex")} :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${H};width:40px;height:20px;background-color:${ce};border:1px solid ${Me};border-radius:${de}}:host(:enabled){cursor:pointer}:host(:hover){background:none;border-color:${pt}}:host(:active){border-color:${gt}}:host(:disabled),:host([readonly]){border:1px solid ${be};background-color:none;pointer:default}:host(${$}){background:${ut};border-color:${ut}}:host(${$}:hover){background:${Ft};border-color:${Ft}}:host(${$}:active){background:${Et};border-color:${Et}}:host(${$}:disabled){background:${rt};border-color:${be}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${X};transition-duration:${Jo};transition-timing-function:${Qo};transition-property:margin-inline-start}:host(${$}) .checked-indicator{background-color:${ht};margin-inline-start:calc(100% - 14px)}:host(${$}:hover) .checked-indicator{background:${wa}}:host(${$}:active) .checked-indicator{background:${Sa}}:host(:hover) .checked-indicator{background-color:${ua}}:host(:active) .checked-indicator{background-color:${pa}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${T}}:host(${$}:disabled) .checked-indicator{background:${T}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${U};outline:${ue} solid ${U};outline-offset:1px;box-shadow:${Go},0 0 0 2px ${se}}@media (forced-colors:active){:host{border-color:InactiveBorder}:host(${$}),:host(${$}:active),:host(${$}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${$}) .checked-indicator,:host(${$}:hover) .checked-indicator,:host(${$}:active) .checked-indicator{background-color:ButtonFace}:host(:disabled) .checked-indicator,:host(${$}:disabled) .checked-indicator{background-color:GrayText}}`;function Ck(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=switch>${ye(o.switch)}</slot></template>`}const Uh=Ck({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Kh={name:Sk,registry:h.registry,styles:Xh,template:Uh};class Yh extends _e{constructor(){super(),this.elementInternals.role="switch"}}Yh.define(Kh);function bn(o,e="-tab"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Bk=`${h.prefix}-tab`,Jh=p`${x("inline-flex")} :host{position:relative;flex-direction:row;align-items:center;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${D};font-family:${v};font-size:${z};color:${Ae};fill:currentcolor;grid-row:1;padding:${ee} ${Ke};border-radius:${S};gap:4px}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${I};font-weight:${M}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${D};font-weight:${M}}:host([aria-selected='true'])::after{background-color:${nt};border-radius:${de};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${ft};border-radius:${de};content:'';inset:0;position:absolute;z-index:1}@supports (anchor-name:--a) and (text-size-adjust:auto){:host([aria-selected='true'])::after{background-color:transparent}:host([aria-selected='true']:hover)::after{background-color:${ft}}}:host([aria-selected='true'][disabled])::after{background-color:${T}}::slotted([slot='start']),::slotted([slot='end']){display:flex}:host([disabled]){cursor:not-allowed;fill:${T};color:${T};pointer-events:none}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Ne};box-shadow:0 0 0 3px ${se};outline:1px solid ${Ho}}:host([data-hasIndent]){display:grid;grid-template-columns:20px 1fr auto}:host([data-hasIndent]) .tab-content{grid-column:2}@media (forced-colors:active){:host([aria-selected='true'])::after{background-color:Highlight}}`;function Pk(o={}){return b`<template slot=tab role=tab>${Ve(o)} <span class=tab-content><slot></slot></span>${st(o)}</template>`}const Zh=Pk({}),Qh={name:Bk,registry:h.registry,styles:Jh,template:Zh};var Ik=Object.defineProperty,Ak=Object.getOwnPropertyDescriptor,Nk=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ak(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ik(e,t,n),n};class mn extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="tab"}disabledChanged(e,t){this.setDisabledSideEffect(t)}connectedCallback(){super.connectedCallback(),this.slot||(this.slot="tab"),this.setDisabledSideEffect(this.disabled),this.styles&&this.$fastController.removeStyles(this.styles),this.styles=p`:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles),at(this)}setDisabledSideEffect(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"),this.tabIndex=e&&this.getAttribute("aria-selected")!=="true"?-1:0}}Nk([a({mode:"boolean"})],mn.prototype,"disabled",2),yt(mn,it),mn.define(Qh);const eu={subtle:"subtle",transparent:"transparent"},Tk={small:"small",medium:"medium",large:"large"},$o=ke,zk=`${h.prefix}-tablist`,tu=p`${x("flex")} :host{--tabPaddingInline:${Ke};--tabPaddingBlock:${ee};--tabIndicatorInsetInline:var(--tabPaddingInline);--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Ae};flex-direction:row;position:relative}:host([size='small']){--tabPaddingBlock:${ao};--tabPaddingInline:${ve}}:host([size='large']){--tabPaddingBlock:${Wr};--tabPaddingInline:${Ke}}:host([orientation='vertical']){--tabPaddingBlock:${te};--tabIndicatorInsetBlock:${te};flex-direction:column}:host([orientation='vertical'][size='small']){--tabPaddingBlock:${Uo};--tabIndicatorInsetBlock:${ao}}:host([orientation='vertical'][size='large']){--tabPaddingBlock:${te};--tabIndicatorInsetBlock:${Ko}}::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host([orientation='vertical']) ::slotted([role='tab']){justify-content:flex-start}:host ::slotted([slot='tab'])::after{height:${Be};margin-block-start:auto}:host([orientation='vertical']) ::slotted([slot='tab'])::after{width:${Be};height:unset;margin-block-start:unset}:host ::slotted([slot='tab'])::before{height:${Be};border-radius:${de};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${T}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${Be};margin-block-start:auto;transform-origin:left}:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${Be};margin-inline-end:auto;transform-origin:top}:host([size='small']) ::slotted([slot='tab']){font-size:${z};line-height:${D}}:host([size='large']) ::slotted([slot='tab']){font-size:${he};line-height:${me}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host([orientation='vertical']) ::slotted([slot='tab'])::after,:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host([disabled]){cursor:not-allowed;color:${T}}:host([disabled]) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${T}}:host([disabled]) ::slotted([slot='tab']:after){background-color:${T}}:host([disabled]) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${T}}:host([disabled]) ::slotted([slot='tab']:hover):before{content:unset}:host([appearance='subtle']) ::slotted([slot='tab']:hover){background-color:${Do};color:${Kn};fill:${ka}}:host([appearance='subtle']) ::slotted([slot='tab']:active){background-color:${ro};fill:${ro};color:${I}}@supports (anchor-name:--a) and (text-size-adjust:auto){::slotted([slot='tab'][aria-selected='true']){anchor-name:--tab}:host::after{background-color:${nt};content:'';inline-size:100%;inset-block:auto anchor(end);inset-inline:anchor(center) auto;position:fixed;position-anchor:--tab;transform:translateX(-50%);transition-property:inset-inline,width;transition-duration:${lc};transition-timing-function:${Oi};z-index:3;border-radius:${de};width:calc(anchor-size() - var(--tabIndicatorInsetInline) * 2);height:${Be}}:host(:dir(rtl))::after{transform:translateX(50%)}:host([orientation='vertical'])::after{inset-block:anchor(center) auto;inset-inline:anchor(start) auto;transform:translateY(-50%);transition-property:inset-block,height;width:${Be};height:calc(anchor-size() - var(--tabIndicatorInsetBlock) * 2)}:host([disabled])::after{background-color:${T}}}`,ou=b`<template role=tablist focusgroup="tablist inline block" @focusin=${(o,e)=>o.handleFocusIn(e.event)}><slot name=tab ${K("slottedTabs")}></slot></template>`,ru={name:zk,registry:h.registry,styles:tu,template:ou};var _k=Object.defineProperty,Ok=Object.getOwnPropertyDescriptor,br=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ok(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&_k(e,t,n),n};class Jt extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=$o.horizontal,this.tabs=[],this.tabPanelMap=new WeakMap,this.change=()=>{this.$emit("change",this.activetab)},this.elementInternals.role="tablist",this.elementInternals.ariaOrientation=this.orientation??$o.horizontal}disabledChanged(e,t){this.elementInternals&&y(this.elementInternals,"disabled",t),this.setTabs({forceDisabled:!0})}orientationChanged(e,t){this.elementInternals&&(this.elementInternals.ariaOrientation=t??$o.horizontal,Mt(this.elementInternals,e,t,$o)),this.setTabs()}activeidChanged(e,t){this.tabs?.length>0&&this.changeTab(e,t)}slottedTabsChanged(e,t){this.tabs=t?.filter(r=>bn(r))??[]}tabsChanged(e,t){this.tabs?.length>0&&this.setTabs({connectToPanel:!0})}setTabs({connectToPanel:e=!1,forceDisabled:t=!1}={}){if(!this.tabs)return;const r=this.tabs.some(s=>!!s.querySelector("[slot='start']")),n=this.getRootNode();let i="";for(const s of this.tabs){if(s.slot!=="tab")continue;s.id||(s.id=Ze("tab-")),t?s.disabled=this.disabled:s.disabled=s.disabled||this.disabled,!i&&!s.disabled&&(i=s.id);const l=this.activeid===s.id;if(s.toggleAttribute("focusgroupstart",l),s.setAttribute("aria-selected",l.toString()),s.toggleAttribute("data-hasIndent",r&&this.orientation===$o.vertical),e){const u=s.getAttribute("aria-controls")??"",d=n.getElementById(u);u&&d&&(d.role??(d.role="tabpanel"),d.hidden=this.activeid!==s.id,this.tabPanelMap.set(s,d))}}this.disabled||(this.activeid?this.changeTab(void 0,this.activeid):i&&(this.activeid=i))}handleFocusIn(e){const t=e.target;!bn(t)||t.disabled||(this.activeid=t.id)}changeTab(e,t){const r=this.getRootNode(),n=e?r.getElementById(e):null,i=r.getElementById(t);if(!bn(i)||!this.contains(i))return;if(n){n.setAttribute("aria-selected","false");const l=this.tabPanelMap.get(n);l&&(l.hidden=!0)}i.setAttribute("aria-selected","true");const s=this.tabPanelMap.get(i);s&&(s.hidden=!1),this.activetab=i,this.change()}connectedCallback(){super.connectedCallback(),er(this,()=>{this.setTabs()},{shallow:!0})}}br([a({mode:"boolean"})],Jt.prototype,"disabled",2),br([a],Jt.prototype,"orientation",2),br([a],Jt.prototype,"activeid",2),br([g],Jt.prototype,"slottedTabs",2),br([g],Jt.prototype,"tabs",2);var Fk=Object.defineProperty,Ek=Object.getOwnPropertyDescriptor,nu=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ek(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Fk(e,t,n),n};class vn extends Jt{constructor(){super(...arguments),this.appearance=eu.transparent}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}tabsChanged(e,t){super.tabsChanged(e,t),this.fgItems??(this.fgItems=new un(()=>this.tabs?.filter(r=>(r.getAttribute("aria-selected")==="true"||!r.disabled)&&!r.hidden)??[],()=>this.activetab??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"tablist",axis:void 0,memory:!1,wrap:!0}})}}nu([a],vn.prototype,"appearance",2),nu([a],vn.prototype,"size",2),vn.define(ru);const Dk={small:"small",medium:"medium",large:"large"},yn={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Lk=[yn.filledLighter,yn.filledDarker],Mk={on:"on",off:"off"},mr={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"},Hk=`${h.prefix}-textarea`,iu=p`${x("inline-block")} :host{--font-size:${z};--line-height:${D};--padding-inline:${Ke};--padding-block:${ao};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${B};--control-padding-inline:${H};--color:${I};--background-color:${C};--border-color:${He};--border-block-end-color:${Me};--placeholder-color:${Or};--focus-indicator-color:${nt};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${v};font-size:var(--font-size);font-weight:${_};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${ft};--border-block-end-color:${pt}}:host(:active){--border-color:${no};--border-block-end-color:${gt}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${E};--line-height:${R};--min-block-size:40px;--padding-block:${Lt};--padding-inline:${ve};--control-padding-inline:${H}}:host([size='large']){--font-size:${he};--line-height:${me};--min-block-size:64px;--padding-block:${te};--padding-inline:${ee};--control-padding-inline:${ve}}:host([resize='both']:not(:disabled)){--resize:both}:host([resize='horizontal']:not(:disabled)){--resize:horizontal}:host([resize='vertical']:not(:disabled)){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${to};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${Vr}}:host(${vy}){--border-color:${Lr};--border-block-end-color:${Lr}}:host(:disabled){--color:${T};--background-color:${ce};--border-color:${be};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${T};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${S};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr/1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${S} ${S};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${S});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${mt};transition-duration:${Gr};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Jo};transition-delay:${vt}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Lt};padding-inline-end:${Q}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1/-1;grid-row:1/-1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${ht};background-color:${Zn}}@media (forced-colors:active){:host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}}`;function Vk(){return b`<template><label ${A("labelEl")} for=control part=label><slot name=label ${K("labelSlottedNodes")}></slot></label><div class=root part=root ${A("rootEl")}><textarea ${A("controlEl")} id=control class=control part=control ?required=${o=>o.required} ?disabled=${o=>o.disabled} ?readonly=${o=>o.readOnly} ?spellcheck=${o=>o.spellcheck} autocomplete=${o=>o.autocomplete} maxlength=${o=>o.maxLength} minlength=${o=>o.minLength} placeholder=${o=>o.placeholder} @change=${o=>o.handleControlChange()} @select=${o=>o.handleControlSelect()} @input=${o=>o.handleControlInput()}></textarea></div><div hidden><slot ${K("defaultSlottedNodes")}></slot></div></template>`}const su=Vk(),au={name:Hk,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:iu,template:su},Rk=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length;var jk=Object.defineProperty,qk=Object.getOwnPropertyDescriptor,ne=(o,e,t,r)=>{for(var n=r>1?void 0:r?qk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&jk(e,t,n),n};class W extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.filteredLabelSlottedNodes=[],this.labelSlottedNodes=[],this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=mr.none,this.spellcheck=!1}controlElChanged(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]}),this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}defaultSlottedNodesChanged(){N.enqueue(()=>{const e=this.getContent();this.defaultValue=e,this.value=e})}labelSlottedNodesChanged(){this.filteredLabelSlottedNodes=this.labelSlottedNodes.filter(Rk),this.labelEl&&(this.labelEl.hidden=!this.filteredLabelSlottedNodes.length),this.filteredLabelSlottedNodes.forEach(e=>{e.disabled=this.disabled,e.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),y(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`,this.setValidity())}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(e=>e.required=this.required)}resizeChanged(e,t){Mt(this.elementInternals,e,t,mr,"resize-"),y(this.elementInternals,"resize",Ac(mr,t)&&t!==mr.none)}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(e){const t=this.controlEl??this.preConnectControlEl;t.defaultValue=e,this.controlEl&&!this.userInteracted&&(this.controlEl.value=e)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(e){const t=this.controlEl??this.preConnectControlEl;t.value=e,this.setFormValue(e),this.setValidity()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;const e=this.preConnectControlEl,t=this.getContent();this.defaultValue=t||e?.defaultValue||"",this.value=e?.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null,this.maybeCreateAutoSizerEl(),at(this)})}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(e){this.setDisabledSideEffect(e),this.setValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.elementInternals?.setValidity({customError:!!e},e?e.toString():void 0),this.reportValidity()}setValidity(e,t,r){this.elementInternals&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(e??this.controlEl?.validity,t??this.controlEl?.validationMessage,r??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}getContent(){return this.defaultSlottedNodes?.map(e=>{switch(e.nodeType){case Node.ELEMENT_NODE:return e.outerHTML;case Node.TEXT_NODE:return e.textContent.trim();default:return""}}).join("")||""}setDisabledSideEffect(e){this.elementInternals.ariaDisabled=`${e}`,this.controlEl&&(this.controlEl.disabled=e),this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(t=>t.disabled=this.disabled)}toggleUserValidityState(){y(this.elementInternals,"user-invalid",!this.validity.valid),y(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.rootEl?.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((e,t)=>{const r=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(r)!==""&&(this.autoSizerEl?.remove(),t.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}W.formAssociated=!0,ne([g],W.prototype,"controlEl",2),ne([g],W.prototype,"defaultSlottedNodes",2),ne([g],W.prototype,"labelSlottedNodes",2),ne([a],W.prototype,"autocomplete",2),ne([a({attribute:"auto-resize",mode:"boolean"})],W.prototype,"autoResize",2),ne([a({attribute:"dirname"})],W.prototype,"dirName",2),ne([a({mode:"boolean"})],W.prototype,"disabled",2),ne([a({attribute:"display-shadow",mode:"boolean"})],W.prototype,"displayShadow",2),ne([a({attribute:"form"})],W.prototype,"initialForm",2),ne([a({attribute:"maxlength",converter:ie})],W.prototype,"maxLength",2),ne([a({attribute:"minlength",converter:ie})],W.prototype,"minLength",2),ne([a],W.prototype,"name",2),ne([a],W.prototype,"placeholder",2),ne([a({attribute:"readonly",mode:"boolean"})],W.prototype,"readOnly",2),ne([a({mode:"boolean"})],W.prototype,"required",2),ne([a({mode:"fromView"})],W.prototype,"resize",2),ne([a({mode:"boolean"})],W.prototype,"spellcheck",2);var Wk=Object.defineProperty,Gk=Object.getOwnPropertyDescriptor,is=(o,e,t,r)=>{for(var n=r>1?void 0:r?Gk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Wk(e,t,n),n};class vr extends W{constructor(){super(...arguments),this.appearance=yn.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(e=>{e.size=this.size})}handleChange(e,t){switch(t){case"size":this.labelSlottedNodes.forEach(r=>{r.size=this.size});break}}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"size")}}is([a({mode:"fromView"})],vr.prototype,"appearance",2),is([a({mode:"boolean"})],vr.prototype,"block",2),is([a],vr.prototype,"size",2),vr.define(au);const Xk={small:"small",medium:"medium",large:"large"},Uk={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},lu={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Kk=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],Yk=`${h.prefix}-text-input`,cu=p`${x("block")} :host{font-family:${v};font-size:${z};font-weight:${_};line-height:${D};max-width:400px}.label{display:flex;color:${I};padding-bottom:${Lt};flex-shrink:0;padding-inline-end:${Q}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${C};border:${B} solid ${He};border-bottom-color:${Me};border-radius:${S};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${H};padding:0 ${Ke};position:relative;width:100%}:has(.control:user-invalid){border-color:${Lr}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${S});border-radius:0 0 ${S} ${S};border-bottom:2px solid ${nt};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Gr};transition-delay:${mt}}.control{width:100%;height:100%;box-sizing:border-box;color:${I};border-radius:${S};background:${ce};font-family:${v};font-weight:${_};font-size:${z};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Or}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${X};font-size:${Dt}}:host ::slotted([slot='start']){padding-right:${H}}:host ::slotted([slot='end']){padding-left:${H};gap:${Q}}:host(:hover) .root{border-color:${ft};border-bottom-color:${pt}}:host(:active) .root{border-color:${no}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Jo};transition-delay:${vt}}:host(:focus-within:active) .root:after{border-bottom-color:${ci}}:host([appearance='outline']:focus-within) .root{border:${B} solid ${He}}:host(:focus-within) .control{color:${I}}:host([disabled]) .root{background:${ce};border:${B} solid ${be}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${T}}::selection{color:${ht};background-color:${Zn}}:host([control-size='small']) .control{font-size:${E};font-weight:${_};line-height:${R}}:host([control-size='small']) .root{height:24px;gap:${H};padding:0 ${ve}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${he}}:host([control-size='large']) .control{font-size:${he};font-weight:${_};line-height:${me}}:host([control-size='large']) .root{height:40px;gap:${Te};padding:0 ${ee}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Ro}}:host([appearance='underline']) .root{background:${ce};border:0;border-radius:0;border-bottom:${B} solid ${Me}}:host([appearance='underline']:hover) .root{border-bottom-color:${pt}}:host([appearance='underline']:active) .root{border-bottom-color:${gt}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${gt}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${be}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${B} solid ${U};box-shadow:${Vr}}:host([appearance='filled-lighter']) .root{background:${C}}:host([appearance='filled-darker']) .root{background:${to}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Dr}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Dr};background:${to}}`;function Jk(o={}){return b`<template @keydown=${(e,t)=>e.keydownHandler(t.event)}><label part=label for=control class=label ${A("controlLabel")}><slot ${K("defaultSlottedNodes")}></slot></label><div class=root part=root>${Ve(o)} <input class=control part=control id=control @change=${(e,t)=>e.changeHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} autocomplete=${e=>e.autocomplete} ?disabled=${e=>e.disabled} list=${e=>e.list} maxlength=${e=>e.maxlength} minlength=${e=>e.minlength} ?multiple=${e=>e.multiple} name=${e=>e.name} pattern=${e=>e.pattern} placeholder=${e=>e.placeholder} ?readonly=${e=>e.readOnly} ?required=${e=>e.required} size=${e=>e.size} spellcheck=${e=>e.spellcheck} type=${e=>e.type} value=${e=>e.value} ${A("control")}> ${st(o)}</div></template>`}const du=Jk(),hu={name:Yk,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:cu,template:du};var Zk=Object.defineProperty,Qk=Object.getOwnPropertyDescriptor,V=(o,e,t,r)=>{for(var n=r>1?void 0:r?Qk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Zk(e,t,n),n};class O extends k{constructor(){super(...arguments),this.type=lu.text,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}currentValueChanged(e,t){this.value=t}defaultSlottedNodesChanged(e,t){N.enqueue(()=>{this.controlLabel&&(this.controlLabel.hidden=!t?.some(r=>r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&!!r.textContent?.trim()))})}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!t}`)}controlChanged(e,t){N.enqueue(()=>{this.$fastController.isConnected&&this.setValidity()})}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this.currentValue}set value(e){this.currentValue=e,this.elementInternals&&this.control&&(this.control.value=e??"",this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}changeHandler(e){return this.setValidity(),this.$emit("change",e,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return e.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity(),at(this)}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const e=[...this.elementInternals.form.elements],t=e.find(n=>n.getAttribute("type")==="submit");if(t){t.click();return}e.filter(n=>Kk.includes(n.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(e){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(e){return e.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setValidity(e,t,r){if(this.elementInternals&&this.control){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(e??this.control.validity,t??this.validationMessage,r??this.control)}}}O.formAssociated=!0,V([a],O.prototype,"autocomplete",2),V([a({attribute:"current-value"})],O.prototype,"currentValue",2),V([g],O.prototype,"defaultSlottedNodes",2),V([a],O.prototype,"dirname",2),V([a({mode:"boolean"})],O.prototype,"disabled",2),V([a({attribute:"form"})],O.prototype,"formAttribute",2),V([a({attribute:"value",mode:"fromView"})],O.prototype,"initialValue",2),V([a],O.prototype,"list",2),V([a({converter:ie})],O.prototype,"maxlength",2),V([a({converter:ie})],O.prototype,"minlength",2),V([a({mode:"boolean"})],O.prototype,"multiple",2),V([a],O.prototype,"name",2),V([a],O.prototype,"pattern",2),V([a],O.prototype,"placeholder",2),V([a({attribute:"readonly",mode:"boolean"})],O.prototype,"readOnly",2),V([a({mode:"boolean"})],O.prototype,"required",2),V([a({converter:ie})],O.prototype,"size",2),V([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],O.prototype,"spellcheck",2),V([a],O.prototype,"type",2),V([g],O.prototype,"control",2),V([g],O.prototype,"controlLabel",2);var ex=Object.defineProperty,tx=Object.getOwnPropertyDescriptor,uu=(o,e,t,r)=>{for(var n=r>1?void 0:r?tx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ex(e,t,n),n};class yr extends O{}uu([a],yr.prototype,"appearance",2),uu([a({attribute:"control-size"})],yr.prototype,"controlSize",2),yt(yr,it),yr.define(hu);const ox={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},rx={base:"base",numeric:"numeric",monospace:"monospace"},nx={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},ix={start:"start",end:"end",center:"center",justify:"justify"},sx=`${h.prefix}-text`,pu=p`${x("inline")} :host{font-family:${v};font-size:${z};line-height:${D};font-weight:${_};text-align:start}:host([nowrap]),:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]),:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]){display:block}:host([italic]){font-style:italic}:host([underline]){text-decoration-line:underline}:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']){font-size:${so};line-height:${qo}}:host([size='200']){font-size:${E};line-height:${R}}:host([size='400']){font-size:${he};line-height:${me}}:host([size='500']){font-size:${Dt};line-height:${Wo}}:host([size='600']){font-size:${Ro};line-height:${Pi}}:host([size='700']){font-size:${wi};line-height:${Ii}}:host([size='800']){font-size:${Si};line-height:${Ai}}:host([size='900']){font-size:${Ci};line-height:${Ni}}:host([size='1000']){font-size:${Bi};line-height:${Ti}}:host([font='monospace']){font-family:${Ql}}:host([font='numeric']){font-family:${ec}}:host([weight='medium']){font-weight:${tc}}:host([weight='semibold']){font-weight:${M}}:host([weight='bold']){font-weight:${jo}}:host([align='center']){text-align:center}:host([align='end']){text-align:end}:host([align='justify']){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,gu=b`<slot></slot>`,fu={name:sx,registry:h.registry,styles:pu,template:gu};var ax=Object.defineProperty,lx=Object.getOwnPropertyDescriptor,tt=(o,e,t,r)=>{for(var n=r>1?void 0:r?lx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ax(e,t,n),n};class Ee extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}tt([a({mode:"boolean"})],Ee.prototype,"nowrap",2),tt([a({mode:"boolean"})],Ee.prototype,"truncate",2),tt([a({mode:"boolean"})],Ee.prototype,"italic",2),tt([a({mode:"boolean"})],Ee.prototype,"underline",2),tt([a({mode:"boolean"})],Ee.prototype,"strikethrough",2),tt([a({mode:"boolean"})],Ee.prototype,"block",2),tt([a],Ee.prototype,"size",2),tt([a],Ee.prototype,"font",2),tt([a],Ee.prototype,"weight",2),tt([a],Ee.prototype,"align",2),Ee.define(fu);const cx=tr,dx=or,hx=rr,ux=`${h.prefix}-toggle-button`,bu=p`${ho} :host(${L}){border-color:${He};background-color:${Jn};color:${I};border-width:${B}}:host(${L}:hover){border-color:${ft};background-color:${Eo}}:host(${L}:active){border-color:${no};background-color:${Fr}}:host(${L}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${L}[appearance='primary']){background-color:${za};color:${Ue}}:host(${L}[appearance='primary']:hover){background-color:${ri}}:host(${L}[appearance='primary']:active){background-color:${ni}}:host(${L}[appearance='subtle']){border-color:transparent;background-color:${ei};color:${zo}}:host(${L}[appearance='subtle']:hover){background-color:${Do};color:${_t}}:host(${L}[appearance='subtle']:active){background-color:${ro};color:${Ot}}:host(${L}[appearance='outline']),:host(${L}[appearance='transparent']){background-color:${ti}}:host(${L}[appearance='outline']:hover),:host(${L}[appearance='transparent']:hover){background-color:${Lo}}:host(${L}[appearance='outline']:active),:host(${L}[appearance='transparent']:active){background-color:${Mo}}:host(${L}[appearance='transparent']){border-color:transparent;color:${ha}}:host(${L}[appearance='transparent']:hover){color:${_o}}:host(${L}[appearance='transparent']:active){color:${Oo}}@media (forced-colors:active){:host(${L}),:host( ${L}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem}:host(${L}[appearance='primary']){color:SelectedItemText}}`,mu=Hi(),vu={name:ux,registry:h.registry,styles:bu,template:mu};var px=Object.defineProperty,gx=Object.getOwnPropertyDescriptor,yu=(o,e,t,r)=>{for(var n=r>1?void 0:r?gx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&px(e,t,n),n};class $n extends Ye{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){this.elementInternals&&(this.elementInternals.ariaPressed=`${this.mixed?"mixed":!!this.pressed}`,y(this.elementInternals,"pressed",!!this.pressed||!!this.mixed))}}yu([a({mode:"boolean"})],$n.prototype,"pressed",2),yu([a({mode:"boolean"})],$n.prototype,"mixed",2),$n.define(vu);const Ie={"above-start":"block-start span-inline-end",above:"block-start","above-end":"block-start span-inline-start","below-start":"block-end span-inline-end",below:"block-end","below-end":"block-end span-inline-start","before-top":"inline-start span-block-end",before:"inline-start","before-bottom":"inline-start span-block-start","after-top":"inline-end span-block-end",after:"inline-end","after-bottom":"inline-end span-block-start"},fx=`${h.prefix}-tooltip`,$u=p`${x("inline-flex")} :host(:not(:popover-open)){display:none}:host{--position-area:block-start;--position-try-options:flip-block;--block-offset:${Lt};--inline-offset:${Q};background:${C};border-radius:${S};border:1px solid ${U};box-sizing:border-box;color:${I};display:inline-flex;filter:drop-shadow(0 0 2px ${Ea}) drop-shadow(0 4px 8px ${Da});font-family:${v};font-size:${E};inset:unset;line-height:${R};margin:unset;max-width:240px;overflow:visible;padding:4px ${Ke} 6px;position:absolute;position-area:var(--position-area);position-try-fallbacks:var(--position-try-options);width:auto;z-index:1}@supports (inset-area:block-start){:host{inset-area:var(--position-area);position-try-fallbacks:var(--position-try-options)}}:host(:is([positioning^='above'],[positioning^='below'],:not([positioning]))){margin-block:var(--block-offset)}:host(:is([positioning^='before'],[positioning^='after'])){margin-inline:var(--inline-offset);--position-try-options:flip-inline}:host([positioning='above-start']){--position-area:${Ie["above-start"]}}:host([positioning='above']){--position-area:${Ie.above}}:host([positioning='above-end']){--position-area:${Ie["above-end"]}}:host([positioning='below-start']){--position-area:${Ie["below-start"]}}:host([positioning='below']){--position-area:${Ie.below}}:host([positioning='below-end']){--position-area:${Ie["below-end"]}}:host([positioning='before-top']){--position-area:${Ie["before-top"]}}:host([positioning='before']){--position-area:${Ie.before}}:host([positioning='before-bottom']){--position-area:${Ie["before-bottom"]}}:host([positioning='after-top']){--position-area:${Ie["after-top"]}}:host([positioning='after']){--position-area:${Ie.after}}:host([positioning='after-bottom']){--position-area:${Ie["after-bottom"]}}`,ku=b`<template popover aria-hidden=true><slot></slot></template>`,xu={name:fx,registry:h.registry,styles:$u,template:ku};var bx=Object.defineProperty,mx=Object.getOwnPropertyDescriptor,kn=(o,e,t,r)=>{for(var n=r>1?void 0:r?mx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&bx(e,t,n),n};class ko extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.id=Ze("tooltip-"),this.defaultDelay=250,this.anchor="",this.anchorPositioningStyleElement=null,this.mouseenterAnchorHandler=()=>this.showTooltip(this.delay),this.mouseleaveAnchorHandler=()=>this.hideTooltip(this.delay),this.focusAnchorHandler=()=>this.showTooltip(0),this.blurAnchorHandler=()=>this.hideTooltip(0),this.anchorPositioningReady=!1,this.elementInternals.role="tooltip"}positioningChanged(){this.setFallbackStyles()}get anchorElement(){const e=this.getRootNode();return(e instanceof ShadowRoot?e:document).getElementById(this.anchor??"")}connectedCallback(){if(super.connectedCallback(),this.popover??(this.popover="auto"),!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`,t=this.anchorElement.getAttribute("aria-describedby");if(this.anchorElement.setAttribute("aria-describedby",t?`${t} ${this.id}`:this.id),this.anchorElement.addEventListener("focus",this.focusAnchorHandler),this.anchorElement.addEventListener("blur",this.blurAnchorHandler),this.anchorElement.addEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement.addEventListener("mouseleave",this.mouseleaveAnchorHandler),Zr){mv||(this.anchorElement.style.anchorName=e,this.style.positionAnchor=e);return}N.enqueue(()=>this.setFallbackStyles())}disconnectedCallback(){if(this.anchorElement?.removeEventListener("focus",this.focusAnchorHandler),this.anchorElement?.removeEventListener("blur",this.blurAnchorHandler),this.anchorElement?.removeEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement?.removeEventListener("mouseleave",this.mouseleaveAnchorHandler),this.anchorElement){const t=(this.anchorElement.getAttribute("aria-describedby")??"").trim().split(/\s+/).filter(r=>r!==this.id);t.length?this.anchorElement.setAttribute("aria-describedby",t.join(" ")):this.anchorElement.removeAttribute("aria-describedby")}super.disconnectedCallback()}showTooltip(e=this.defaultDelay){if(!this.anchorPositioningReady){this.setFallbackStyles().then(()=>{this.showTooltip(e)});return}setTimeout(()=>{this.setAttribute("aria-hidden","false"),this.showPopover()},e)}hideTooltip(e=this.defaultDelay){setTimeout(()=>{if(this.matches(":hover")||this.anchorElement?.matches(":hover")){this.hideTooltip(e);return}this.setAttribute("aria-hidden","true"),this.hidePopover()},e)}async setFallbackStyles(){if(Zr){this.anchorPositioningReady=!0;return}if(!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`;this.anchorPositioningStyleElement||(this.anchorPositioningStyleElement=document.createElement("style"),document.head.append(this.anchorPositioningStyleElement));let[t,r]=this.positioning?.split("-")??[];r||((t==="above"||t==="below")&&(r="centerX"),(t==="before"||t==="after")&&(r="centerY"));const n={above:"bottom: anchor(top);",below:"top: anchor(bottom);",before:"right: anchor(left);",after:"left: anchor(right);"},i=n[t]??n.above,s={start:"left: anchor(left);",end:"right: anchor(right);",top:"top: anchor(top);",bottom:"bottom: anchor(bottom);",centerX:"left: anchor(center); translate: -50% 0;",centerY:"top: anchor(center); translate: 0 -50%;"},l=s[r]??s.centerX;this.anchorPositioningStyleElement.textContent=`
|
|
18
|
+
`;function hk(){return b`<div ${N("display")} class=display aria-hidden=true></div><slot name=icon ${N("iconSlot")} @slotchange=${o=>o.handleSlotChange()}></slot><slot name=value><span class=value-label aria-hidden=true>${o=>o.value}</span></slot><slot name=count><span class=count-label aria-hidden=true>${o=>o.formattedCount}</span></slot>`}const zh=hk(),_h=p`${w("inline-flex")} :host{--_icon-size:16px;--_icon-gradient-degree:90deg;--_icon-color-value:${Ua};--_icon-color-empty:${$i};--_default-value:0;--_default-max:5;--_mask-image-filled:url(${gn(ck)});--_mask-image-outlined:url(${gn(dk)});--_mask-position-x:left;align-items:center;color:${A};font-family:${$};font-size:${D};line-height:${j};contain:layout style;user-select:none}:host(:dir(rtl)){--_icon-gradient-degree:-90deg;--_mask-position-x:right}:host([size='small']){--_icon-size:12px}:host([size='large']){--_icon-size:20px;font-size:${_};line-height:${L}}::slotted([slot='icon']){display:none}:host([color='neutral']){--_icon-color-value:${A};--_icon-color-empty:${oo}}:host([color='brand']){--_icon-color-value:${Oo};--_icon-color-empty:${ii}}@supports (width:attr(value type(<number>))){:host{--_attr-value:attr(value type(<number>));--_attr-max:attr(max type(<number>))}}:host([compact]) .display{--_max:1}.display{--_value:max(0,round(var(--_attr-value,var(--_default-value)) * 2)/2);--_max:max(1,var(--_attr-max,var(--_default-max)));--_mask-inline-size:calc(var(--_icon-size) + ${V});--_icon-gradient-stop-visual-adjustment:0px;--_icon-gradient-stop:calc( var(--_mask-inline-size) * var(--_value) - var(--_icon-gradient-stop-visual-adjustment) );background-image:linear-gradient( var(--_icon-gradient-degree),var(--_icon-color-value) var(--_icon-gradient-stop),var(--_icon-color-empty) calc(var(--_icon-gradient-stop) + 0.5px) );block-size:var(--_icon-size);display:grid;inline-size:calc(var(--_max) * var(--_mask-inline-size) - ${V}/2);mask-image:var(--_mask-image-filled);mask-repeat:repeat no-repeat;mask-size:var(--_mask-inline-size) var(--_icon-size);mask-position:var(--_mask-position-x) center}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${ee};font-weight:${H}}:host([size='small']) .value-label,:host([size='small']) ::slotted([slot='value']){margin-inline-start:${V}}:host([size='large']) .value-label,:host([size='large']) ::slotted([slot='value']){margin-inline-start:${$e}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${ee}}:host([size='small']) .count-label::before,:host([size='small']) ::slotted([slot='count'])::before{margin-inline:${V}}:host([size='large']) .count-label::before,:host([size='large']) ::slotted([slot='count'])::before{margin-inline:${$e}}@media (forced-colors:active){.display{--_icon-color-value:CanvasText;--_icon-color-empty:Canvas;--_icon-gradient-stop-visual-adjustment:0.5px;forced-color-adjust:none}.display::before{background-color:var(--_icon-color-value);content:'';grid-area:1/1/-1/-1;mask:inherit;mask-image:var(--_mask-image-outlined)}}`,Oh={name:ik,registry:h.registry,styles:_h,template:zh};var uk=Object.defineProperty,pk=Object.getOwnPropertyDescriptor,os=(o,e,t,r)=>{for(var n=r>1?void 0:r?pk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&uk(e,t,n),n};class gr extends Jt{constructor(){super(...arguments),this.compact=!1}}os([a],gr.prototype,"color",2),os([a],gr.prototype,"size",2),os([a({mode:"boolean"})],gr.prototype,"compact",2),gr.define(Oh);const gk={small:"small",medium:"medium"},Fh=xe,Eh={singleValue:"single-value"},fk=`${h.prefix}-slider`,Dh=p`${w("inline-grid")} :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size)/2);--track-size:4px;--track-overhang:calc(var(--track-size)/-2);--rail-color:${pt};--track-color:${Ve};--slider-direction:90deg;--border-radius:${C};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${Et}}:host(:active){--rail-color:${Dt}}:host(${v}){--rail-color:${z};--track-color:${nt}}:host(:not(${v})){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host([size='small']){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Te}}:host([orientation='vertical']){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${ae};outline:1px solid ${Mo}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient( var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100% );border-radius:var(--border-radius);content:'';grid-row:1/-1;grid-column:1/-1}.track{position:relative;background-color:var(--track-color);grid-row:2/2;grid-column:2/2;forced-color-adjust:none;overflow:hidden}:host([orientation='vertical'])::after,:host([orientation='vertical']) .track{height:100%;width:var(--track-size)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(:dir(rtl)) .track::before{width:calc(100% - var(--slider-progress))}:host([orientation='vertical']) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient( var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${B} calc(var(--step-rate) - 1px),${B} var(--step-rate) )}.thumb-container{position:absolute;grid-row:2/2;grid-column:2/2;transform:translateX(-50%);left:var(--slider-thumb)}:host([orientation='vertical']) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${he};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${B} inset;border:calc(var(--thumb-size) * 0.05) solid ${Re};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}@media (forced-colors:active){.track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}}`;function bk(o={}){return b`<template @pointerdown=${(e,t)=>e.handlePointerDown(t.event)} @keydown=${(e,t)=>e.handleKeydown(t.event)}><div ${N("track")} part=track-container class=track style=${e=>e.position}></div><div ${N("thumb")} part=thumb-container class=thumb-container style=${e=>e.position} @pointerdown=${(e,t)=>e.handleThumbPointerDown(t.event)}><slot name=thumb>${ye(o.thumb)}</slot></div></template>`}const Lh=bk({thumb:'<div class="thumb"></div>'}),Mh={name:fk,registry:h.registry,styles:Dh,template:Lh};function Hh(o,e,t){return Math.min(Math.max(t,o),e)}const rs={fromView(o){const e=parseFloat(o);return Number.isNaN(e)?"":e.toString()},toView(o){const e=parseFloat(o);return Number.isNaN(e)?void 0:e.toString()}};function Vh(o,e,t,r){let n=Hh(0,1,(o-e)/(t-e));return r===ct.rtl&&(n=1-n),n}var mk=Object.defineProperty,vk=Object.getOwnPropertyDescriptor,ne=(o,e,t,r)=>{for(var n=r>1?void 0:r?vk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&mk(e,t,n),n};class W extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=ct.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Eh.singleValue,this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.handleThumbPointerDown=e=>{if(this.isDisabled)return!0;const t=e!==null?window.addEventListener:window.removeEventListener;return t("pointerup",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove,{passive:!0}),t("touchmove",this.handlePointerMove,{passive:!0}),t("touchend",this.handleWindowPointerUp),this.isDragging=e!==null,!0},this.handlePointerMove=e=>{if(this.isDisabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,r=this.thumb.getBoundingClientRect().width,n=this.orientation===xe.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft-r/2;this.value=`${this.calculateNewValue(n)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=e=>{if(e===null||!this.isDisabled){const t=e!==null?window.addEventListener:window.removeEventListener,r=e!==null?document.addEventListener:document.removeEventListener;t("pointerup",this.handleWindowPointerUp),r("mouseleave",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove);const n=this.thumb.getBoundingClientRect().width;if(e){this.setupTrackConstraints();const i=this.orientation===xe.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft-n/2;this.value=`${this.calculateNewValue(i)}`}}return!0},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Fh.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}handleChange(e,t){switch(t){case"min":case"max":this.setSliderPosition();case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=p`:host{--step-rate:${e}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(e,t){this.$fastController.isConnected?this.value=t:this._value=t}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.setValidity({customError:!!e},e)}setValidity(e,t,r){if(this.$fastController.isConnected){if(this.isDisabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!t,...e},t??this.validationMessage,r)}}get value(){return m.track(this,"value"),this._value?.toString()??""}set value(e){if(!this.$fastController.isConnected){this._value=e.toString();return}const t=parseFloat(e),r=Hh(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(t)).toString();if(r!==e){this.value=r;return}this._value=e.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(),this.$emit("change"),this.setFormValue(e),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(e){this.setDisabledSideEffect(e)}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}directionChanged(){this.setSliderPosition()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get isDisabled(){return this.disabled||this.elementInternals?.ariaDisabled==="true"||this.isConnected&&this.matches(":disabled")}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const e=parseFloat(this.min);if(!Number.isNaN(e))return e}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const e=parseFloat(this.max);if(!Number.isNaN(e))return e}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const e=parseFloat(this.step);if(!Number.isNaN(e)&&e>0)return e}return 1}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??xe.horizontal,this.$fastController.isConnected&&this.setSliderPosition()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;this.direction=Ui(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupDefaultValue(),this.setSliderPosition(),this.handleStepStyles();const e=m.getNotifier(this);e.subscribe(this,"max"),e.subscribe(this,"min"),e.subscribe(this,"step")}),lt(this)}disconnectedCallback(){super.disconnectedCallback();const e=m.getNotifier(this);e.unsubscribe(this,"max"),e.unsubscribe(this,"min"),e.unsubscribe(this,"step")}increment(){const e=this.direction!==ct.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,t=this.convertToConstrainedValue(e),r=t<this.maxAsNumber?`${t}`:`${this.maxAsNumber}`;this.value=r}decrement(){const e=this.direction!==ct.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),t=this.convertToConstrainedValue(e),r=t>this.minAsNumber?`${t}`:`${this.minAsNumber}`;this.value=r}handleKeydown(e){if(this.isDisabled)return!0;switch(e.key){case"Home":e.preventDefault(),this.value=this.direction!==ct.rtl&&this.orientation!==xe.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case"End":e.preventDefault(),this.value=this.direction!==ct.rtl&&this.orientation!==xe.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case"ArrowRight":case"ArrowUp":e.shiftKey||(e.preventDefault(),this.increment());break;case"ArrowLeft":case"ArrowDown":e.shiftKey||(e.preventDefault(),this.decrement());break}return!0}setSliderPosition(){const t=Vh(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,this.orientation===xe.vertical?void 0:this.direction)*100;this.position=`--slider-thumb: ${t}%; --slider-progress: ${t}%`}updateStepMultiplier(){const e=this.stepAsNumber+"",t=this.stepAsNumber%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(e){this.setupTrackConstraints();const t=Vh(e,this.orientation===xe.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===xe.vertical?this.trackHeight:this.trackWidth,this.orientation===xe.vertical?void 0:this.direction),r=(this.maxAsNumber-this.minAsNumber)*t+this.minAsNumber;return this.convertToConstrainedValue(r)}convertToConstrainedValue(e){isNaN(e)&&(e=this.minAsNumber);let t=e-this.minAsNumber;const r=Math.round(t/this.stepAsNumber),n=t-r*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return t=n>=Number(this.stepAsNumber)/2?t-n+Number(this.stepAsNumber):t-n,t+this.minAsNumber}setDisabledSideEffect(e=this.isDisabled){T.enqueue(()=>{this.elementInternals.ariaDisabled=e.toString(),this.tabIndex=e?-1:0})}}W.formAssociated=!0,ne([a],W.prototype,"size",2),ne([a({attribute:"value",mode:"fromView"})],W.prototype,"initialValue",2),ne([g],W.prototype,"direction",2),ne([g],W.prototype,"isDragging",2),ne([g],W.prototype,"position",2),ne([g],W.prototype,"trackWidth",2),ne([g],W.prototype,"trackMinWidth",2),ne([g],W.prototype,"trackHeight",2),ne([g],W.prototype,"trackLeft",2),ne([g],W.prototype,"trackMinHeight",2),ne([g],W.prototype,"valueTextFormatter",2),ne([a({mode:"boolean"})],W.prototype,"disabled",2),ne([a({converter:rs})],W.prototype,"min",2),ne([a({converter:rs})],W.prototype,"max",2),ne([a({converter:rs})],W.prototype,"step",2),ne([a],W.prototype,"orientation",2),ne([a],W.prototype,"mode",2),W.define(Mh);const $k={primary:"primary",inverted:"inverted"},yk={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},kk=`${h.prefix}-spinner`,Rh=p`${w("inline-flex")} :host{--duration:1.5s;--indicatorSize:${Pe};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host([size='tiny']){--indicatorSize:${pe};--size:20px}:host([size='extra-small']){--indicatorSize:${pe};--size:24px}:host([size='small']){--indicatorSize:${pe};--size:28px}:host([size='large']){--indicatorSize:${Pe};--size:36px}:host([size='extra-large']){--indicatorSize:${Pe};--size:40px}:host([size='huge']){--indicatorSize:${qr};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${Zo}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${ai};border-radius:50%}:host([appearance='inverted']) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;right:50%}.end{overflow:hidden;left:50%}.indicator{color:${si};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-right-color:currentcolor}:host([appearance='inverted']) .indicator{color:${_a}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}@media (forced-colors:active){.background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-right-color:Highlight}}`,jh=b`<slot name=indicator><div class=background></div><div class=progress><div class=spinner><div class=start><div class=indicator></div></div><div class=end><div class=indicator></div></div></div></div></slot>`,qh={name:kk,registry:h.registry,styles:Rh,template:jh};class Wh extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}var xk=Object.defineProperty,wk=Object.getOwnPropertyDescriptor,Gh=(o,e,t,r)=>{for(var n=r>1?void 0:r?wk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&xk(e,t,n),n};class fn extends Wh{}Gh([a],fn.prototype,"size",2),Gh([a],fn.prototype,"appearance",2),fn.define(qh);const Sk={above:"above",after:"after",before:"before"},Ck=`${h.prefix}-switch`,Xh=p`${w("inline-flex")} :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${V};width:40px;height:20px;background-color:${de};border:1px solid ${Ve};border-radius:${he}}:host(:enabled){cursor:pointer}:host(:hover){background:none;border-color:${gt}}:host(:active){border-color:${ft}}:host(${v}),:host([readonly]){border:1px solid ${me};background-color:none;pointer:default}:host(${k}){background:${pt};border-color:${pt}}:host(${k}:hover){background:${Et};border-color:${Et}}:host(${k}:active){background:${Dt};border-color:${Dt}}:host(${k}${v}){background:${nt};border-color:${me}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${U};transition-duration:${Yo};transition-timing-function:${Zo};transition-property:margin-inline-start}:host(${k}) .checked-indicator{background-color:${ut};margin-inline-start:calc(100% - 14px)}:host(${k}:hover) .checked-indicator{background:${xa}}:host(${k}:active) .checked-indicator{background:${wa}}:host(:hover) .checked-indicator{background-color:${ha}}:host(:active) .checked-indicator{background-color:${ua}}:host(${v}) .checked-indicator,:host([readonly]) .checked-indicator{background:${z}}:host(${k}${v}) .checked-indicator{background:${z}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${K};outline:${pe} solid ${K};outline-offset:1px;box-shadow:${Wo},0 0 0 2px ${ae}}@media (forced-colors:active){:host{border-color:InactiveBorder}:host(${k}),:host(${k}:active),:host(${k}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${k}) .checked-indicator,:host(${k}:hover) .checked-indicator,:host(${k}:active) .checked-indicator{background-color:ButtonFace}:host(${v}) .checked-indicator,:host(${k}${v}) .checked-indicator{background-color:GrayText}}`;function Bk(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=switch>${ye(o.switch)}</slot></template>`}const Uh=Bk({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Kh={name:Ck,registry:h.registry,styles:Xh,template:Uh};class Yh extends Fe{constructor(){super(),this.elementInternals.role="switch"}}Yh.define(Kh);function ns(o,e="-tab"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Pk=`${h.prefix}-tab`,Jh=p`${w("inline-flex")} :host{position:relative;flex-direction:row;align-items:center;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${L};font-family:${$};font-size:${_};color:${Ne};fill:currentcolor;grid-row:1;padding:${J} ${_e};border-radius:${C};gap:4px}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px;grid-column:3}:host([aria-selected='true']){color:${A};font-weight:${H}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${L};font-weight:${H}}:host([aria-selected='true'])::after{background-color:${it};border-radius:${he};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${bt};border-radius:${he};content:'';inset:0;position:absolute;z-index:1}@supports (anchor-name:--a) and (text-size-adjust:auto){:host([aria-selected='true'])::after{background-color:transparent}:host([aria-selected='true']:hover)::after{background-color:${bt}}}:host([aria-selected='true'][disabled])::after{background-color:${z}}::slotted([slot='start']){grid-column:2}::slotted([slot='end']){grid-column:-1}::slotted([slot='start']),::slotted([slot='end']){display:flex}:host([disabled]){cursor:not-allowed;fill:${z};color:${z};pointer-events:none}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Te};box-shadow:0 0 0 3px ${ae};outline:1px solid ${Mo}}@media (forced-colors:active){:host([aria-selected='true'])::after{background-color:Highlight}}`;function Ik(o={}){return b`<template slot=tab role=tab>${je(o)} <span class=tab-content><slot></slot></span>${at(o)}</template>`}const Zh=Ik({}),Qh={name:Pk,registry:h.registry,styles:Jh,template:Zh};var Ak=Object.defineProperty,Nk=Object.getOwnPropertyDescriptor,Tk=(o,e,t,r)=>{for(var n=r>1?void 0:r?Nk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ak(e,t,n),n};class bn extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="tab"}disabledChanged(e,t){this.setDisabledSideEffect(t)}connectedCallback(){super.connectedCallback(),this.slot||(this.slot="tab"),this.setDisabledSideEffect(this.disabled),this.styles&&this.$fastController.removeStyles(this.styles),this.styles=p`:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles),lt(this)}setDisabledSideEffect(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"),this.tabIndex=e&&this.getAttribute("aria-selected")!=="true"?-1:0}}Tk([a({mode:"boolean"})],bn.prototype,"disabled",2),yt(bn,st),bn.define(Qh);const eu={subtle:"subtle",transparent:"transparent"},zk={small:"small",medium:"medium",large:"large"},fr=xe,_k=`${h.prefix}-tablist`,tu=p`${w("flex")} :host{--tabPaddingInline:${_e};--tabPaddingBlock:${J};--tabIndicatorInsetInline:var(--tabPaddingInline);--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Ne};flex-direction:row;position:relative}:host([size='small']){--tabPaddingBlock:${ao};--tabPaddingInline:${$e}}:host([size='large']){--tabPaddingBlock:${Gr};--tabPaddingInline:${_e}}:host([orientation='vertical']){--tabPaddingBlock:${te};--tabIndicatorInsetBlock:${te};--_col-start-width:0px;display:grid;grid-template-columns:${_e} var(--_col-start-width) 1fr auto ${_e}}:host(:has([slot='start'])){--_col-start-width:24px}@scope{:scope:has([slot='start']){--_col-start-width:24px}}:host([orientation='vertical'][size='small']){--tabPaddingBlock:${Xo};--tabIndicatorInsetBlock:${ao}}:host([orientation='vertical'][size='large']){--tabPaddingBlock:${te};--tabIndicatorInsetBlock:${Uo}}::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host([orientation='vertical']) ::slotted([role='tab']){justify-content:flex-start;display:grid;gap:0;grid-column:1/-1;grid-template-columns:subgrid;grid-row:unset;padding-inline:0}:host ::slotted([slot='tab'])::after{height:${Pe};margin-block-start:auto}:host([orientation='vertical']) ::slotted([slot='tab'])::after{width:${Pe};height:unset;margin-block-start:unset}:host ::slotted([slot='tab'])::before{height:${Pe};border-radius:${he};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${z}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${Pe};margin-block-start:auto;transform-origin:left}:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${Pe};margin-inline-end:auto;transform-origin:top}:host([size='small']) ::slotted([slot='tab']){font-size:${_};line-height:${L}}:host([size='large']) ::slotted([slot='tab']){font-size:${ue};line-height:${ve}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host([orientation='vertical']) ::slotted([slot='tab'])::after,:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host([disabled]){cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']:after){background-color:${z}}:host([disabled]) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${z}}:host([disabled]) ::slotted([slot='tab']:hover):before{content:unset}:host([appearance='subtle']) ::slotted([slot='tab']:hover){background-color:${Eo};color:${Un};fill:${ya}}:host([appearance='subtle']) ::slotted([slot='tab']:active){background-color:${ro};fill:${ro};color:${A}}@supports (anchor-name:--a) and (text-size-adjust:auto){::slotted([slot='tab'][aria-selected='true']){anchor-name:--tab}:host::after{background-color:${it};content:'';inline-size:100%;inset-block:auto anchor(end);inset-inline:anchor(center) auto;position:fixed;position-anchor:--tab;transform:translateX(-50%);transition-property:inset-inline,width;transition-duration:${ac};transition-timing-function:${_i};z-index:3;border-radius:${he};width:calc(anchor-size() - var(--tabIndicatorInsetInline) * 2);height:${Pe}}:host(:dir(rtl))::after{transform:translateX(50%)}:host([orientation='vertical'])::after{inset-block:anchor(center) auto;inset-inline:anchor(start) auto;transform:translateY(-50%);transition-property:inset-block,height;width:${Pe};height:calc(anchor-size() - var(--tabIndicatorInsetBlock) * 2)}:host([disabled])::after{background-color:${z}}}`,ou=b`<template role=tablist focusgroup="tablist inline block" @click=${(o,e)=>o.handleClick(e.event)} @focusin=${(o,e)=>o.handleFocusIn(e.event)}><slot name=tab ${Y("slottedTabs")}></slot></template>`,ru={name:_k,registry:h.registry,styles:tu,template:ou};var Ok=Object.defineProperty,Fk=Object.getOwnPropertyDescriptor,br=(o,e,t,r)=>{for(var n=r>1?void 0:r?Fk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ok(e,t,n),n};class Zt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=fr.horizontal,this.tabs=[],this.tabPanelMap=new WeakMap,this.change=()=>{this.$emit("change",this.activetab)},this.elementInternals.role="tablist",this.elementInternals.ariaOrientation=this.orientation??fr.horizontal}disabledChanged(e,t){this.elementInternals&&y(this.elementInternals,"disabled",t),this.setTabs({forceDisabled:!0})}orientationChanged(e,t){this.elementInternals&&(this.elementInternals.ariaOrientation=t??fr.horizontal,Ht(this.elementInternals,e,t,fr)),this.setTabs()}activeidChanged(e,t){this.tabs?.length>0&&this.changeTab(e,t)}slottedTabsChanged(e,t){this.tabs=t?.filter(r=>ns(r))??[]}tabsChanged(e,t){this.tabs?.length>0&&this.setTabs({connectToPanel:!0})}setTabs({connectToPanel:e=!1,forceDisabled:t=!1}={}){if(!this.tabs)return;const r=this.getRootNode();let n="";for(const i of this.tabs){if(i.slot!=="tab")continue;i.id||(i.id=Qe("tab-")),t?i.disabled=this.disabled:i.disabled=i.disabled||this.disabled,!n&&!i.disabled&&(n=i.id);const s=this.activeid===i.id;if(i.toggleAttribute("focusgroupstart",s),i.setAttribute("aria-selected",s.toString()),e){const l=i.getAttribute("aria-controls")??"",u=r.getElementById(l);l&&u&&(u.role??(u.role="tabpanel"),u.hidden=this.activeid!==i.id,this.tabPanelMap.set(i,u))}}this.disabled||(this.activeid?this.changeTab(void 0,this.activeid):n&&(this.activeid=n))}handleFocusIn(e){this.activeid=e.target.id}handleClick(e){e.isTrusted||(this.activeid=e.target.id)}changeTab(e,t){const r=this.getRootNode(),n=e?r.getElementById(e):null,i=r.getElementById(t);if(!ns(i)||i.disabled||!this.contains(i))return;if(n){n.setAttribute("aria-selected","false");const l=this.tabPanelMap.get(n);l&&(l.hidden=!0)}i.setAttribute("aria-selected","true");const s=this.tabPanelMap.get(i);s&&(s.hidden=!1),this.activetab=i,this.change()}connectedCallback(){super.connectedCallback(),Qo(this,()=>{this.setTabs()},{shallow:!0})}}br([a({mode:"boolean"})],Zt.prototype,"disabled",2),br([a],Zt.prototype,"orientation",2),br([a],Zt.prototype,"activeid",2),br([g],Zt.prototype,"slottedTabs",2),br([g],Zt.prototype,"tabs",2);var Ek=Object.defineProperty,Dk=Object.getOwnPropertyDescriptor,nu=(o,e,t,r)=>{for(var n=r>1?void 0:r?Dk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ek(e,t,n),n};class mn extends Zt{constructor(){super(...arguments),this.appearance=eu.transparent}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}tabsChanged(e,t){super.tabsChanged(e,t),this.fgItems??(this.fgItems=new un(()=>this.tabs?.filter(r=>(r.getAttribute("aria-selected")==="true"||!r.disabled)&&!r.hidden)??[],()=>this.activetab??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"tablist",axis:void 0,memory:!1,wrap:!0}})}}nu([a],mn.prototype,"appearance",2),nu([a],mn.prototype,"size",2),mn.define(ru);const Lk={small:"small",medium:"medium",large:"large"},vn={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Mk=[vn.filledLighter,vn.filledDarker],Hk={on:"on",off:"off"},mr={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"},Vk=`${h.prefix}-textarea`,iu=p`${w("inline-block")} :host{--font-size:${_};--line-height:${L};--padding-inline:${_e};--padding-block:${ao};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${P};--control-padding-inline:${V};--color:${A};--background-color:${B};--border-color:${Re};--border-block-end-color:${Ve};--placeholder-color:${Fr};--focus-indicator-color:${it};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${$};font-size:var(--font-size);font-weight:${O};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${bt};--border-block-end-color:${gt}}:host(:active){--border-color:${no};--border-block-end-color:${ft}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${D};--line-height:${j};--min-block-size:40px;--padding-block:${Mt};--padding-inline:${$e};--control-padding-inline:${V}}:host([size='large']){--font-size:${ue};--line-height:${ve};--min-block-size:64px;--padding-block:${te};--padding-inline:${J};--control-padding-inline:${$e}}:host([resize='both']:not(${v})){--resize:both}:host([resize='horizontal']:not(${v})){--resize:horizontal}:host([resize='vertical']:not(${v})){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${to};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${Rr}}:host(${$$}){--border-color:${Mr};--border-block-end-color:${Mr}}:host(${v}){--color:${z};--background-color:${de};--border-color:${me};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${z};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${C};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr/1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${C} ${C};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${C});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${vt};transition-duration:${Xr};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Yo};transition-delay:${$t}}:host([readonly]) .root::after,:host(${v}) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Mt};padding-inline-end:${ee}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1/-1;grid-row:1/-1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${ut};background-color:${Jn}}@media (forced-colors:active){:host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(${v}){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}}`;function Rk(){return b`<template><label ${N("labelEl")} for=control part=label><slot name=label ${Y("labelSlottedNodes")}></slot></label><div class=root part=root ${N("rootEl")}><textarea ${N("controlEl")} id=control class=control part=control ?required=${o=>o.required} ?disabled=${o=>o.disabled} ?readonly=${o=>o.readOnly} ?spellcheck=${o=>o.spellcheck} autocomplete=${o=>o.autocomplete} maxlength=${o=>o.maxLength} minlength=${o=>o.minLength} placeholder=${o=>o.placeholder} @change=${o=>o.handleControlChange()} @select=${o=>o.handleControlSelect()} @input=${o=>o.handleControlInput()}></textarea></div><div hidden><slot ${Y("defaultSlottedNodes")}></slot></div></template>`}const su=Rk(),au={name:Vk,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:iu,template:su},jk=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length;var qk=Object.defineProperty,Wk=Object.getOwnPropertyDescriptor,ie=(o,e,t,r)=>{for(var n=r>1?void 0:r?Wk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&qk(e,t,n),n};class G extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.filteredLabelSlottedNodes=[],this.labelSlottedNodes=[],this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=mr.none,this.spellcheck=!1}controlElChanged(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]}),this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}defaultSlottedNodesChanged(){T.enqueue(()=>{const e=this.getContent();this.defaultValue=e,this.value=e})}labelSlottedNodesChanged(){this.filteredLabelSlottedNodes=this.labelSlottedNodes.filter(jk),this.labelEl&&(this.labelEl.hidden=!this.filteredLabelSlottedNodes.length),this.filteredLabelSlottedNodes.forEach(e=>{e.disabled=this.disabled,e.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),y(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`,this.setValidity())}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(e=>e.required=this.required)}resizeChanged(e,t){Ht(this.elementInternals,e,t,mr,"resize-"),y(this.elementInternals,"resize",Ic(mr,t)&&t!==mr.none)}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(e){const t=this.controlEl??this.preConnectControlEl;t.defaultValue=e,this.controlEl&&!this.userInteracted&&(this.controlEl.value=e)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(e){const t=this.controlEl??this.preConnectControlEl;t.value=e,this.setFormValue(e),this.setValidity()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;const e=this.preConnectControlEl,t=this.getContent();this.defaultValue=t||e?.defaultValue||"",this.value=e?.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null,this.maybeCreateAutoSizerEl(),lt(this)})}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(e){this.setDisabledSideEffect(e),this.setValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.elementInternals?.setValidity({customError:!!e},e?e.toString():void 0),this.reportValidity()}setValidity(e,t,r){this.elementInternals&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(e??this.controlEl?.validity,t??this.controlEl?.validationMessage,r??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}getContent(){return this.defaultSlottedNodes?.map(e=>{switch(e.nodeType){case Node.ELEMENT_NODE:return e.outerHTML;case Node.TEXT_NODE:return e.textContent.trim();default:return""}}).join("")||""}setDisabledSideEffect(e){this.elementInternals.ariaDisabled=`${e}`,this.controlEl&&(this.controlEl.disabled=e),this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(t=>t.disabled=this.disabled)}toggleUserValidityState(){y(this.elementInternals,"user-invalid",!this.validity.valid),y(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.rootEl?.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((e,t)=>{const r=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(r)!==""&&(this.autoSizerEl?.remove(),t.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}G.formAssociated=!0,ie([g],G.prototype,"controlEl",2),ie([g],G.prototype,"defaultSlottedNodes",2),ie([g],G.prototype,"labelSlottedNodes",2),ie([a],G.prototype,"autocomplete",2),ie([a({attribute:"auto-resize",mode:"boolean"})],G.prototype,"autoResize",2),ie([a({attribute:"dirname"})],G.prototype,"dirName",2),ie([a({mode:"boolean"})],G.prototype,"disabled",2),ie([a({attribute:"display-shadow",mode:"boolean"})],G.prototype,"displayShadow",2),ie([a({attribute:"form"})],G.prototype,"initialForm",2),ie([a({attribute:"maxlength",converter:se})],G.prototype,"maxLength",2),ie([a({attribute:"minlength",converter:se})],G.prototype,"minLength",2),ie([a],G.prototype,"name",2),ie([a],G.prototype,"placeholder",2),ie([a({attribute:"readonly",mode:"boolean"})],G.prototype,"readOnly",2),ie([a({mode:"boolean"})],G.prototype,"required",2),ie([a({mode:"fromView"})],G.prototype,"resize",2),ie([a({mode:"boolean"})],G.prototype,"spellcheck",2);var Gk=Object.defineProperty,Xk=Object.getOwnPropertyDescriptor,is=(o,e,t,r)=>{for(var n=r>1?void 0:r?Xk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Gk(e,t,n),n};class vr extends G{constructor(){super(...arguments),this.appearance=vn.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(e=>{e.size=this.size})}handleChange(e,t){switch(t){case"size":this.labelSlottedNodes.forEach(r=>{r.size=this.size});break}}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"size")}}is([a({mode:"fromView"})],vr.prototype,"appearance",2),is([a({mode:"boolean"})],vr.prototype,"block",2),is([a],vr.prototype,"size",2),vr.define(au);const Uk={small:"small",medium:"medium",large:"large"},Kk={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},lu={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Yk=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],Jk=`${h.prefix}-text-input`,cu=p`${w("block")} :host{font-family:${$};font-size:${_};font-weight:${O};line-height:${L};max-width:400px}.label{display:flex;color:${A};padding-bottom:${Mt};flex-shrink:0;padding-inline-end:${ee}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${B};border:${P} solid ${Re};border-bottom-color:${Ve};border-radius:${C};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${V};padding:0 ${_e};position:relative;width:100%}:has(.control:user-invalid){border-color:${Mr}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${C});border-radius:0 0 ${C} ${C};border-bottom:2px solid ${it};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Xr};transition-delay:${vt}}.control{width:100%;height:100%;box-sizing:border-box;color:${A};border-radius:${C};background:${de};font-family:${$};font-weight:${O};font-size:${_};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Fr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${U};font-size:${Lt}}:host ::slotted([slot='start']){padding-right:${V}}:host ::slotted([slot='end']){padding-left:${V};gap:${ee}}:host(:hover) .root{border-color:${bt};border-bottom-color:${gt}}:host(:active) .root{border-color:${no}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Yo};transition-delay:${$t}}:host(:focus-within:active) .root:after{border-bottom-color:${li}}:host([appearance='outline']:focus-within) .root{border:${P} solid ${Re}}:host(:focus-within) .control{color:${A}}:host(${v}) .root{background:${de};border:${P} solid ${me}}:host(${v}) .control::placeholder,:host(${v}) ::slotted([slot='start']),:host(${v}) ::slotted([slot='end']){color:${z}}::selection{color:${ut};background-color:${Jn}}:host([control-size='small']) .control{font-size:${D};font-weight:${O};line-height:${j}}:host([control-size='small']) .root{height:24px;gap:${V};padding:0 ${$e}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ue}}:host([control-size='large']) .control{font-size:${ue};font-weight:${O};line-height:${ve}}:host([control-size='large']) .root{height:40px;gap:${ze};padding:0 ${J}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Vo}}:host([appearance='underline']) .root{background:${de};border:0;border-radius:0;border-bottom:${P} solid ${Ve}}:host([appearance='underline']:hover) .root{border-bottom-color:${gt}}:host([appearance='underline']:active) .root{border-bottom-color:${ft}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${ft}}:host([appearance='underline']${v}) .root{border-bottom-color:${me}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${P} solid ${K};box-shadow:${Rr}}:host([appearance='filled-lighter']) .root{background:${B}}:host([appearance='filled-darker']) .root{background:${to}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Lr}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Lr};background:${to}}`;function Zk(o={}){return b`<template @keydown=${(e,t)=>e.keydownHandler(t.event)}><label part=label for=control class=label ${N("controlLabel")}><slot ${Y("defaultSlottedNodes")}></slot></label><div class=root part=root>${je(o)} <input class=control part=control id=control @change=${(e,t)=>e.changeHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} autocomplete=${e=>e.autocomplete} ?disabled=${e=>e.disabled} list=${e=>e.list} maxlength=${e=>e.maxlength} minlength=${e=>e.minlength} ?multiple=${e=>e.multiple} name=${e=>e.name} pattern=${e=>e.pattern} placeholder=${e=>e.placeholder} ?readonly=${e=>e.readOnly} ?required=${e=>e.required} size=${e=>e.size} spellcheck=${e=>e.spellcheck} type=${e=>e.type} value=${e=>e.value} ${N("control")}> ${at(o)}</div></template>`}const du=Zk(),hu={name:Jk,registry:h.registry,shadowOptions:{delegatesFocus:!0},styles:cu,template:du};var Qk=Object.defineProperty,ex=Object.getOwnPropertyDescriptor,R=(o,e,t,r)=>{for(var n=r>1?void 0:r?ex(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Qk(e,t,n),n};class F extends x{constructor(){super(...arguments),this.type=lu.text,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}currentValueChanged(e,t){this.value=t}defaultSlottedNodesChanged(e,t){T.enqueue(()=>{this.controlLabel&&(this.controlLabel.hidden=!t?.some(r=>r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&!!r.textContent?.trim()))})}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!t}`)}controlChanged(e,t){T.enqueue(()=>{this.$fastController.isConnected&&this.setValidity()})}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this.currentValue}set value(e){this.currentValue=e,this.elementInternals&&this.control&&(this.control.value=e??"",this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}changeHandler(e){return this.setValidity(),this.$emit("change",e,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return e.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity(),lt(this)}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const e=[...this.elementInternals.form.elements],t=e.find(n=>n.getAttribute("type")==="submit");if(t){t.click();return}e.filter(n=>Yk.includes(n.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(e){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(e){return e.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setValidity(e,t,r){if(this.elementInternals&&this.control){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(e??this.control.validity,t??this.validationMessage,r??this.control)}}}F.formAssociated=!0,R([a],F.prototype,"autocomplete",2),R([a({attribute:"current-value"})],F.prototype,"currentValue",2),R([g],F.prototype,"defaultSlottedNodes",2),R([a],F.prototype,"dirname",2),R([a({mode:"boolean"})],F.prototype,"disabled",2),R([a({attribute:"form"})],F.prototype,"formAttribute",2),R([a({attribute:"value",mode:"fromView"})],F.prototype,"initialValue",2),R([a],F.prototype,"list",2),R([a({converter:se})],F.prototype,"maxlength",2),R([a({converter:se})],F.prototype,"minlength",2),R([a({mode:"boolean"})],F.prototype,"multiple",2),R([a],F.prototype,"name",2),R([a],F.prototype,"pattern",2),R([a],F.prototype,"placeholder",2),R([a({attribute:"readonly",mode:"boolean"})],F.prototype,"readOnly",2),R([a({mode:"boolean"})],F.prototype,"required",2),R([a({converter:se})],F.prototype,"size",2),R([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],F.prototype,"spellcheck",2),R([a],F.prototype,"type",2),R([g],F.prototype,"control",2),R([g],F.prototype,"controlLabel",2);var tx=Object.defineProperty,ox=Object.getOwnPropertyDescriptor,uu=(o,e,t,r)=>{for(var n=r>1?void 0:r?ox(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&tx(e,t,n),n};class $r extends F{}uu([a],$r.prototype,"appearance",2),uu([a({attribute:"control-size"})],$r.prototype,"controlSize",2),yt($r,st),$r.define(hu);const rx={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},nx={base:"base",numeric:"numeric",monospace:"monospace"},ix={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},sx={start:"start",end:"end",center:"center",justify:"justify"},ax=`${h.prefix}-text`,pu=p`${w("inline")} :host{font-family:${$};font-size:${_};line-height:${L};font-weight:${O};text-align:start}:host([nowrap]),:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]),:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]){display:block}:host([italic]){font-style:italic}:host([underline]){text-decoration-line:underline}:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']){font-size:${so};line-height:${jo}}:host([size='200']){font-size:${D};line-height:${j}}:host([size='400']){font-size:${ue};line-height:${ve}}:host([size='500']){font-size:${Lt};line-height:${qo}}:host([size='600']){font-size:${Vo};line-height:${Bi}}:host([size='700']){font-size:${xi};line-height:${Pi}}:host([size='800']){font-size:${wi};line-height:${Ii}}:host([size='900']){font-size:${Si};line-height:${Ai}}:host([size='1000']){font-size:${Ci};line-height:${Ni}}:host([font='monospace']){font-family:${Zl}}:host([font='numeric']){font-family:${Ql}}:host([weight='medium']){font-weight:${ec}}:host([weight='semibold']){font-weight:${H}}:host([weight='bold']){font-weight:${Ro}}:host([align='center']){text-align:center}:host([align='end']){text-align:end}:host([align='justify']){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,gu=b`<slot></slot>`,fu={name:ax,registry:h.registry,styles:pu,template:gu};var lx=Object.defineProperty,cx=Object.getOwnPropertyDescriptor,ot=(o,e,t,r)=>{for(var n=r>1?void 0:r?cx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&lx(e,t,n),n};class Le extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}ot([a({mode:"boolean"})],Le.prototype,"nowrap",2),ot([a({mode:"boolean"})],Le.prototype,"truncate",2),ot([a({mode:"boolean"})],Le.prototype,"italic",2),ot([a({mode:"boolean"})],Le.prototype,"underline",2),ot([a({mode:"boolean"})],Le.prototype,"strikethrough",2),ot([a({mode:"boolean"})],Le.prototype,"block",2),ot([a],Le.prototype,"size",2),ot([a],Le.prototype,"font",2),ot([a],Le.prototype,"weight",2),ot([a],Le.prototype,"align",2),Le.define(fu);const dx=er,hx=tr,ux=or,px=`${h.prefix}-toggle-button`,bu=p`${ho} :host(${M}){border-color:${Re};background-color:${Yn};color:${A};border-width:${P}}:host(${M}:hover){border-color:${bt};background-color:${Fo}}:host(${M}:active){border-color:${no};background-color:${Er}}:host(${M}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${M}[appearance='primary']){background-color:${Ta};color:${Ye}}:host(${M}[appearance='primary']:hover){background-color:${oi}}:host(${M}[appearance='primary']:active){background-color:${ri}}:host(${M}[appearance='subtle']){border-color:transparent;background-color:${Qn};color:${To}}:host(${M}[appearance='subtle']:hover){background-color:${Eo};color:${Ot}}:host(${M}[appearance='subtle']:active){background-color:${ro};color:${Ft}}:host(${M}[appearance='outline']),:host(${M}[appearance='transparent']){background-color:${ei}}:host(${M}[appearance='outline']:hover),:host(${M}[appearance='transparent']:hover){background-color:${Do}}:host(${M}[appearance='outline']:active),:host(${M}[appearance='transparent']:active){background-color:${Lo}}:host(${M}[appearance='transparent']){border-color:transparent;color:${da}}:host(${M}[appearance='transparent']:hover){color:${zo}}:host(${M}[appearance='transparent']:active){color:${_o}}@media (forced-colors:active){:host(${M}),:host( ${M}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem}:host(${M}[appearance='primary']){color:SelectedItemText}}`,mu=Mi(),vu={name:px,registry:h.registry,styles:bu,template:mu};var gx=Object.defineProperty,fx=Object.getOwnPropertyDescriptor,$u=(o,e,t,r)=>{for(var n=r>1?void 0:r?fx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&gx(e,t,n),n};class $n extends Je{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){this.elementInternals&&(this.elementInternals.ariaPressed=`${this.mixed?"mixed":!!this.pressed}`,y(this.elementInternals,"pressed",!!this.pressed||!!this.mixed))}}$u([a({mode:"boolean"})],$n.prototype,"pressed",2),$u([a({mode:"boolean"})],$n.prototype,"mixed",2),$n.define(vu);const Ae={"above-start":"block-start span-inline-end",above:"block-start","above-end":"block-start span-inline-start","below-start":"block-end span-inline-end",below:"block-end","below-end":"block-end span-inline-start","before-top":"inline-start span-block-end",before:"inline-start","before-bottom":"inline-start span-block-start","after-top":"inline-end span-block-end",after:"inline-end","after-bottom":"inline-end span-block-start"},bx=`${h.prefix}-tooltip`,yu=p`${w("inline-flex")} :host(:not(:popover-open)){display:none}:host{--position-area:block-start;--position-try-options:flip-block;--block-offset:${Mt};--inline-offset:${ee};background:${B};border-radius:${C};border:1px solid ${K};box-sizing:border-box;color:${A};display:inline-flex;filter:drop-shadow(0 0 2px ${Fa}) drop-shadow(0 4px 8px ${Ea});font-family:${$};font-size:${D};inset:unset;line-height:${j};margin:unset;max-width:240px;overflow:visible;padding:4px ${_e} 6px;position:absolute;position-area:var(--position-area);position-try-fallbacks:var(--position-try-options);width:auto;z-index:1}@supports (inset-area:block-start){:host{inset-area:var(--position-area);position-try-fallbacks:var(--position-try-options)}}:host(:is([positioning^='above'],[positioning^='below'],:not([positioning]))){margin-block:var(--block-offset)}:host(:is([positioning^='before'],[positioning^='after'])){margin-inline:var(--inline-offset);--position-try-options:flip-inline}:host([positioning='above-start']){--position-area:${Ae["above-start"]}}:host([positioning='above']){--position-area:${Ae.above}}:host([positioning='above-end']){--position-area:${Ae["above-end"]}}:host([positioning='below-start']){--position-area:${Ae["below-start"]}}:host([positioning='below']){--position-area:${Ae.below}}:host([positioning='below-end']){--position-area:${Ae["below-end"]}}:host([positioning='before-top']){--position-area:${Ae["before-top"]}}:host([positioning='before']){--position-area:${Ae.before}}:host([positioning='before-bottom']){--position-area:${Ae["before-bottom"]}}:host([positioning='after-top']){--position-area:${Ae["after-top"]}}:host([positioning='after']){--position-area:${Ae.after}}:host([positioning='after-bottom']){--position-area:${Ae["after-bottom"]}}`,ku=b`<template popover aria-hidden=true><slot></slot></template>`,xu={name:bx,registry:h.registry,styles:yu,template:ku};var mx=Object.defineProperty,vx=Object.getOwnPropertyDescriptor,yn=(o,e,t,r)=>{for(var n=r>1?void 0:r?vx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&mx(e,t,n),n};class yo extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.id=Qe("tooltip-"),this.defaultDelay=250,this.anchor="",this.anchorPositioningStyleElement=null,this.mouseenterAnchorHandler=()=>this.showTooltip(this.delay),this.mouseleaveAnchorHandler=()=>this.hideTooltip(this.delay),this.focusAnchorHandler=()=>this.showTooltip(0),this.blurAnchorHandler=()=>this.hideTooltip(0),this.anchorPositioningReady=!1,this.elementInternals.role="tooltip"}positioningChanged(){this.setFallbackStyles()}get anchorElement(){const e=this.getRootNode();return(e instanceof ShadowRoot?e:document).getElementById(this.anchor??"")}connectedCallback(){if(super.connectedCallback(),this.popover??(this.popover="auto"),!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`,t=this.anchorElement.getAttribute("aria-describedby");if(this.anchorElement.setAttribute("aria-describedby",t?`${t} ${this.id}`:this.id),this.anchorElement.addEventListener("focus",this.focusAnchorHandler),this.anchorElement.addEventListener("blur",this.blurAnchorHandler),this.anchorElement.addEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement.addEventListener("mouseleave",this.mouseleaveAnchorHandler),Qr){vv||(this.anchorElement.style.anchorName=e,this.style.positionAnchor=e);return}T.enqueue(()=>this.setFallbackStyles())}disconnectedCallback(){if(this.anchorElement?.removeEventListener("focus",this.focusAnchorHandler),this.anchorElement?.removeEventListener("blur",this.blurAnchorHandler),this.anchorElement?.removeEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement?.removeEventListener("mouseleave",this.mouseleaveAnchorHandler),this.anchorElement){const t=(this.anchorElement.getAttribute("aria-describedby")??"").trim().split(/\s+/).filter(r=>r!==this.id);t.length?this.anchorElement.setAttribute("aria-describedby",t.join(" ")):this.anchorElement.removeAttribute("aria-describedby")}super.disconnectedCallback()}showTooltip(e=this.defaultDelay){if(!this.anchorPositioningReady){this.setFallbackStyles().then(()=>{this.showTooltip(e)});return}setTimeout(()=>{this.setAttribute("aria-hidden","false"),this.showPopover()},e)}hideTooltip(e=this.defaultDelay){setTimeout(()=>{if(this.matches(":hover")||this.anchorElement?.matches(":hover")){this.hideTooltip(e);return}this.setAttribute("aria-hidden","true"),this.hidePopover()},e)}async setFallbackStyles(){if(Qr){this.anchorPositioningReady=!0;return}if(!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`;this.anchorPositioningStyleElement||(this.anchorPositioningStyleElement=document.createElement("style"),document.head.append(this.anchorPositioningStyleElement));let[t,r]=this.positioning?.split("-")??[];r||((t==="above"||t==="below")&&(r="centerX"),(t==="before"||t==="after")&&(r="centerY"));const n={above:"bottom: anchor(top);",below:"top: anchor(bottom);",before:"right: anchor(left);",after:"left: anchor(right);"},i=n[t]??n.above,s={start:"left: anchor(left);",end:"right: anchor(right);",top:"top: anchor(top);",bottom:"bottom: anchor(bottom);",centerX:"left: anchor(center); translate: -50% 0;",centerY:"top: anchor(center); translate: 0 -50%;"},l=s[r]??s.centerX;this.anchorPositioningStyleElement.textContent=`
|
|
19
19
|
#${this.anchor} {
|
|
20
20
|
anchor-name: ${e};
|
|
21
21
|
}
|
|
@@ -26,18 +26,18 @@ const h=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis
|
|
|
26
26
|
${i}
|
|
27
27
|
${l}
|
|
28
28
|
}
|
|
29
|
-
`,window.CSS_ANCHOR_POLYFILL&&(await window.CSS_ANCHOR_POLYFILL({elements:[this.anchorPositioningStyleElement]}),this.anchorPositioningReady=!0)}}kn([a],ko.prototype,"id",2),kn([a({converter:ie})],ko.prototype,"delay",2),kn([a],ko.prototype,"positioning",2),kn([a],ko.prototype,"anchor",2),ko.define(xu);const vx=`${h.prefix}-tree`,wu=p`${x("block")} :host{outline:none}`,Su=b`<template focusgroup="menu inline block nowrap nomemory" @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @toggle=${o=>o.itemToggleHandler()}><slot ${A("defaultSlot")} @slotchange=${o=>o.handleDefaultSlotChange()}></slot></template>`,Cu={name:vx,registry:h.registry,styles:wu,template:Su},Bu={subtle:"subtle",subtleAlpha:"subtle-alpha",transparent:"transparent"},Pu={small:"small",medium:"medium"};function De(o,e="-tree-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const yx=`${h.prefix}-tree-item`;var $x=Object.defineProperty,kx=Object.getOwnPropertyDescriptor,ss=(o,e,t,r)=>{for(var n=r>1?void 0:r?kx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$x(e,t,n),n};class $r extends k{constructor(){super(),this.currentSelected=null,this.elementInternals=this.attachInternals(),this.elementInternals.role="tree"}defaultSlotChanged(){this.handleDefaultSlotChange()}childTreeItemsChanged(){this.updateCurrentSelected()}updateCurrentSelected(){const e=this.querySelector("[selected]");this.currentSelected=e}keydownHandler(e){if(e.defaultPrevented)return;const t=e.target;if(!De(t)||this.childTreeItems.length<1)return!0;switch(e.key){case"ArrowLeft":{t?.childTreeItems?.length&&t.expanded?t.expanded=!1:De(t.parentElement)&&t.parentElement.focus();return}case"ArrowRight":{if(t?.childTreeItems?.length)if(!t.expanded)t.expanded=!0;else return!0;return}case"Enter":{this.clickHandler(e);return}case" ":{t.selected=!0;return}}return!0}clickHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.toggleExpansion(),t.selected=!0}changeHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&De(this.currentSelected)&&(this.currentSelected.selected=!1),this.currentSelected=t):!t.selected&&this.currentSelected===t&&(this.currentSelected=null)}handleDefaultSlotChange(){this.childTreeItems=this.defaultSlot.assignedElements().filter(e=>De(e))}get descendantTreeItems(){const e=[],t=r=>{if(r)for(const n of r)e.push(n),t(n.childTreeItems)};return t(this.childTreeItems),e}}ss([g],$r.prototype,"currentSelected",2),ss([g],$r.prototype,"defaultSlot",2),ss([g],$r.prototype,"childTreeItems",2);var xx=Object.defineProperty,wx=Object.getOwnPropertyDescriptor,Iu=(o,e,t,r)=>{for(var n=r>1?void 0:r?wx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&xx(e,t,n),n};class xn extends $r{constructor(){super(...arguments),this.size=Pu.small,this.appearance=Bu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance(),this.fgItems??(this.fgItems=new un(()=>this.descendantTreeItems.filter(e=>!e.isHidden),()=>this.currentSelected??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"menu",axis:void 0,memory:!1}})}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}itemToggleHandler(){this.fg?.update()}}Iu([a],xn.prototype,"size",2),Iu([a],xn.prototype,"appearance",2),xn.define(Cu);const Au=p`${x("block")} :host{outline:none;font-size:${z};line-height:${D}}:host(:focus-visible) .positioning-region{box-shadow:${qr} ${qr} ${qr} ${Uo} ${se} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${ac};padding-inline-start:calc(var(--indent) * ${Xo});padding-inline-end:${te};border-radius:${S};background-color:${Qn};color:${Ae};gap:${Q}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${se}}}.content{display:flex;align-items:center;gap:${Q}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${Xo};height:${bt};transition:transform ${Yo} ${Fi};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${Do};color:${_t}}.positioning-region:active{background-color:${ro};color:${Ot}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${H}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${ei};color:${zo}}:host([selected]) .content,:host([selected]) .chevron{color:${ga}}:host([size='small']) .positioning-region{height:${bt};padding-inline-start:calc(var(--indent) * ${ee})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${Aa}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${Na}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${Ta};color:${zo}}:host([appearance='transparent']) .positioning-region{background-color:${ce}}:host([appearance='transparent']) .positioning-region:hover{background-color:${Lo}}:host([appearance='transparent']) .positioning-region:active{background-color:${Mo}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${ti};color:${zo}}:host([expanded]) .chevron{transform:rotate(90deg)}`,Sx=b`<svg viewBox="0 0 12 12" fill=currentColor><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`,Nu=b`<template tabindex=0 ?focusgroupstart=${o=>o.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${Sx}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${A("itemSlot")} @slotchange=${o=>o.handleItemSlotChange()}></slot></div></template>`,Tu={name:yx,registry:h.registry,styles:Au,template:Nu};var Cx=Object.defineProperty,Bx=Object.getOwnPropertyDescriptor,xo=(o,e,t,r)=>{for(var n=r>1?void 0:r?Bx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Cx(e,t,n),n};class Zt extends k{constructor(){super(),this.elementInternals=this.attachInternals(),this.expanded=!1,this.empty=!1,this.childTreeItems=[],this.elementInternals.role="treeitem"}itemSlotChanged(){this.handleItemSlotChange()}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")||"0"),De(this.parentElement)&&(this.slot||(this.slot="item")),at(this)}expandedChanged(e,t){this.$emit("toggle",{oldState:e?"open":"closed",newState:t?"open":"closed"}),y(this.elementInternals,"expanded",t),this.childTreeItems?.length&&(this.elementInternals.ariaExpanded=t?"true":"false",requestAnimationFrame(()=>{const r=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT,n=>De(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);for(;r.nextNode();){const n=r.currentNode;t?n.removeAttribute("focusgroup"):(n.selected&&(n.selected=!1),n.setAttribute("focusgroup","none"))}}))}selectedChanged(e,t){this.$emit("change"),this.elementInternals&&(y(this.elementInternals,"selected",t),this.elementInternals.ariaSelected=t?"true":"false")}dataIndentChanged(e,t){this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=p`:host{--indent:${t}}`,this.$fastController.addStyles(this.styles)}childTreeItemsChanged(){this.empty=this.childTreeItems?.length===0,this.updateChildTreeItems()}updateChildTreeItems(){this.childTreeItems?.length&&(this.expanded||(this.expanded=Array.from(this.querySelectorAll("[selected]")).some(e=>De(e))),this.childTreeItems.forEach(e=>{this.setIndent(e)}))}setIndent(e){const t=this.dataIndent??0;e.dataIndent=t+1}toggleExpansion(){this.childTreeItems?.length&&(this.expanded=!this.expanded)}get isNestedItem(){return De(this.parentElement)}get isHidden(){let e=this.parentElement;for(;De(e);){if(!e.expanded)return!0;e=e.parentElement}return!1}handleItemSlotChange(){this.childTreeItems=this.itemSlot.assignedElements().filter(e=>De(e))}}xo([g],Zt.prototype,"itemSlot",2),xo([a({mode:"boolean"})],Zt.prototype,"expanded",2),xo([a({mode:"boolean"})],Zt.prototype,"selected",2),xo([a({mode:"boolean"})],Zt.prototype,"empty",2),xo([a({attribute:"data-indent"})],Zt.prototype,"dataIndent",2),xo([g],Zt.prototype,"childTreeItems",2);var Px=Object.defineProperty,Ix=Object.getOwnPropertyDescriptor,zu=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ix(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Px(e,t,n),n};class wn extends Zt{constructor(){super(...arguments),this.size=Pu.small,this.appearance=Bu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}zu([a],wn.prototype,"size",2),zu([a],wn.prototype,"appearance",2),wn.define(Tu);const Ax="adoptedStyleSheets"in document,Nx="CSSScopeRule"in window,as=new Map,ls=new Map,kr=new Map,cs=new Map,xr=new CSSStyleSheet;function _u(o,e=document){if(!(!e||!Tx(e))){if(!Ax||e instanceof HTMLElement&&!e.shadowRoot&&!Nx){const t=e===document?document.documentElement:e;Ex(o,t);return}[document,document.documentElement,document.body].includes(e)?zx(o):_x(o,e)}}function ds(o){if(!as.has(o)){const e=[];for(const[t,r]of Object.entries(o))e.push(`--${t}:${r.toString()};`);as.set(o,e.join(""))}return as.get(o)}function Tx(o){return[document,document.documentElement].includes(o)||o instanceof HTMLElement&&!!o.closest("body")}function zx(o){if(o===null){document.adoptedStyleSheets.includes(xr)&&xr.replaceSync("");return}xr.replaceSync(`
|
|
29
|
+
`,window.CSS_ANCHOR_POLYFILL&&(await window.CSS_ANCHOR_POLYFILL({elements:[this.anchorPositioningStyleElement]}),this.anchorPositioningReady=!0)}}yn([a],yo.prototype,"id",2),yn([a({converter:se})],yo.prototype,"delay",2),yn([a],yo.prototype,"positioning",2),yn([a],yo.prototype,"anchor",2),yo.define(xu);const $x=`${h.prefix}-tree`,wu=p`${w("block")} :host{outline:none}`,Su=b`<template focusgroup="menu inline block nowrap nomemory" @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @toggle=${o=>o.itemToggleHandler()}><slot ${N("defaultSlot")} @slotchange=${o=>o.handleDefaultSlotChange()}></slot></template>`,Cu={name:$x,registry:h.registry,styles:wu,template:Su},Bu={subtle:"subtle",subtleAlpha:"subtle-alpha",transparent:"transparent"},Pu={small:"small",medium:"medium"};function Me(o,e="-tree-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const yx=`${h.prefix}-tree-item`;var kx=Object.defineProperty,xx=Object.getOwnPropertyDescriptor,ss=(o,e,t,r)=>{for(var n=r>1?void 0:r?xx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&kx(e,t,n),n};class yr extends x{constructor(){super(),this.currentSelected=null,this.elementInternals=this.attachInternals(),this.elementInternals.role="tree"}defaultSlotChanged(){this.handleDefaultSlotChange()}childTreeItemsChanged(){this.updateCurrentSelected()}updateCurrentSelected(){const e=this.querySelector("[selected]");this.currentSelected=e}keydownHandler(e){if(e.defaultPrevented)return;const t=e.target;if(!Me(t)||this.childTreeItems.length<1)return!0;switch(e.key){case"ArrowLeft":{t?.childTreeItems?.length&&t.expanded?t.expanded=!1:Me(t.parentElement)&&t.parentElement.focus();return}case"ArrowRight":{if(t?.childTreeItems?.length)if(!t.expanded)t.expanded=!0;else return!0;return}case"Enter":{this.clickHandler(e);return}case" ":{t.selected=!0;return}}return!0}clickHandler(e){if(e.defaultPrevented)return;if(!Me(e.target))return!0;const t=e.target;t.toggleExpansion(),t.selected=!0}changeHandler(e){if(e.defaultPrevented)return;if(!Me(e.target))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&Me(this.currentSelected)&&(this.currentSelected.selected=!1),this.currentSelected=t):!t.selected&&this.currentSelected===t&&(this.currentSelected=null)}handleDefaultSlotChange(){this.childTreeItems=this.defaultSlot.assignedElements().filter(e=>Me(e))}get descendantTreeItems(){const e=[],t=r=>{if(r)for(const n of r)e.push(n),t(n.childTreeItems)};return t(this.childTreeItems),e}}ss([g],yr.prototype,"currentSelected",2),ss([g],yr.prototype,"defaultSlot",2),ss([g],yr.prototype,"childTreeItems",2);var wx=Object.defineProperty,Sx=Object.getOwnPropertyDescriptor,Iu=(o,e,t,r)=>{for(var n=r>1?void 0:r?Sx(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&wx(e,t,n),n};class kn extends yr{constructor(){super(...arguments),this.size=Pu.small,this.appearance=Bu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance(),this.fgItems??(this.fgItems=new un(()=>this.descendantTreeItems.filter(e=>!e.isHidden),()=>this.currentSelected??null)),this.fg?this.fg.update():this.fg=new hn(this,this.fgItems,{definition:{behavior:"menu",axis:void 0,memory:!1}})}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}itemToggleHandler(){this.fg?.update()}}Iu([a],kn.prototype,"size",2),Iu([a],kn.prototype,"appearance",2),kn.define(Cu);const Au=p`${w("block")} :host{--_subitem-padding-inline-start:${Go};outline:none;font-size:${_};line-height:${L}}:host([size='small']){--_subitem-padding-inline-start:${J}}:host(:focus-visible) .positioning-region{box-shadow:${Wr} ${Wr} ${Wr} ${Xo} ${ae} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${sc};padding-inline-end:${te};border-radius:${C};background-color:${Zn};color:${Ne};gap:${ee}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${ae}}}.content{display:flex;align-items:center;gap:${ee}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${Go};height:${mt};transition:transform ${Ko} ${Oi};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${Eo};color:${Ot}}.positioning-region:active{background-color:${ro};color:${Ft}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${V}}.items{display:none;padding-inline-start:var(--_subitem-padding-inline-start)}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${Qn};color:${To}}:host([selected]) .content,:host([selected]) .chevron{color:${pa}}:host([size='small']) .positioning-region{height:${mt};padding-inline-start:${J}}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${Ia}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${Aa}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${Na};color:${To}}:host([appearance='transparent']) .positioning-region{background-color:${de}}:host([appearance='transparent']) .positioning-region:hover{background-color:${Do}}:host([appearance='transparent']) .positioning-region:active{background-color:${Lo}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${ei};color:${To}}:host([expanded]) .chevron{transform:rotate(90deg)}`,Cx=b`<svg viewBox="0 0 12 12" fill=currentColor><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`,Nu=b`<template tabindex=0 ?focusgroupstart=${o=>o.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${Cx}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${N("itemSlot")} @slotchange=${o=>o.handleItemSlotChange()}></slot></div></template>`,Tu={name:yx,registry:h.registry,styles:Au,template:Nu};var Bx=Object.defineProperty,Px=Object.getOwnPropertyDescriptor,kr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Px(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Bx(e,t,n),n};class ko extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.expanded=!1,this.empty=!1,this.childTreeItems=[],this.elementInternals.role="treeitem"}itemSlotChanged(){this.handleItemSlotChange()}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")||"0"),Me(this.parentElement)&&(this.slot||(this.slot="item")),lt(this)}expandedChanged(e,t){this.$emit("toggle",{oldState:e?"open":"closed",newState:t?"open":"closed"}),y(this.elementInternals,"expanded",t),this.childTreeItems?.length&&(this.elementInternals.ariaExpanded=t?"true":"false",requestAnimationFrame(()=>{const r=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT,n=>Me(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);for(;r.nextNode();){const n=r.currentNode;t?n.removeAttribute("focusgroup"):(n.selected&&(n.selected=!1),n.setAttribute("focusgroup","none"))}}))}selectedChanged(e,t){this.$emit("change"),this.elementInternals&&(y(this.elementInternals,"selected",t),this.elementInternals.ariaSelected=t?"true":"false")}childTreeItemsChanged(){this.empty=this.childTreeItems?.length===0,this.updateChildTreeItems()}updateChildTreeItems(){this.childTreeItems?.length&&(this.expanded||(this.expanded=Array.from(this.querySelectorAll("[selected]")).some(e=>Me(e))))}toggleExpansion(){this.childTreeItems?.length&&(this.expanded=!this.expanded)}get isNestedItem(){return Me(this.parentElement)}get isHidden(){let e=this.parentElement;for(;Me(e);){if(!e.expanded)return!0;e=e.parentElement}return!1}handleItemSlotChange(){this.childTreeItems=this.itemSlot.assignedElements().filter(e=>Me(e))}}kr([g],ko.prototype,"itemSlot",2),kr([a({mode:"boolean"})],ko.prototype,"expanded",2),kr([a({mode:"boolean"})],ko.prototype,"selected",2),kr([a({mode:"boolean"})],ko.prototype,"empty",2),kr([g],ko.prototype,"childTreeItems",2);var Ix=Object.defineProperty,Ax=Object.getOwnPropertyDescriptor,zu=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ax(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ix(e,t,n),n};class xn extends ko{constructor(){super(...arguments),this.size=Pu.small,this.appearance=Bu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}zu([a],xn.prototype,"size",2),zu([a],xn.prototype,"appearance",2),xn.define(Tu);const Nx="adoptedStyleSheets"in document,Tx="CSSScopeRule"in window,as=new Map,ls=new Map,xr=new Map,cs=new Map,wr=new CSSStyleSheet;function _u(o,e=document){if(!(!e||!zx(e))){if(!Nx||e instanceof HTMLElement&&!e.shadowRoot&&!Tx){const t=e===document?document.documentElement:e;Dx(o,t);return}[document,document.documentElement,document.body].includes(e)?_x(o):Ox(o,e)}}function ds(o){if(!as.has(o)){const e=[];for(const[t,r]of Object.entries(o))e.push(`--${t}:${r.toString()};`);as.set(o,e.join(""))}return as.get(o)}function zx(o){return[document,document.documentElement].includes(o)||o instanceof HTMLElement&&!!o.closest("body")}function _x(o){if(o===null){document.adoptedStyleSheets.includes(wr)&&wr.replaceSync("");return}wr.replaceSync(`
|
|
30
30
|
html {
|
|
31
31
|
${ds(o)}
|
|
32
32
|
}
|
|
33
|
-
`),document.adoptedStyleSheets.includes(
|
|
33
|
+
`),document.adoptedStyleSheets.includes(wr)||document.adoptedStyleSheets.push(wr)}function Ox(o,e){if(o===null){e.shadowRoot&&xr.has(e)?xr.get(e).replaceSync(""):(delete e.dataset.fluentTheme,Ou(e));return}e.shadowRoot?Fx(e).replaceSync(`
|
|
34
34
|
:host {
|
|
35
35
|
${ds(o)}
|
|
36
36
|
}
|
|
37
|
-
`):(e.dataset.fluentTheme=
|
|
37
|
+
`):(e.dataset.fluentTheme=Ex(o),Ou(e))}function Fx(o){if(!xr.has(o)){const e=new CSSStyleSheet;xr.set(o,e),o.shadowRoot?.adoptedStyleSheets.push(e)}return xr.get(o)}function Ex(o){if(!ls.has(o)){const e=Qe("fluent-theme-"),t=new CSSStyleSheet;ls.set(o,e),t.replaceSync(`
|
|
38
38
|
@scope ([data-fluent-theme="${e}"]) {
|
|
39
39
|
:scope {
|
|
40
40
|
${ds(o)}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
`),document.adoptedStyleSheets.push(t)}return ls.get(o)}function Ex(o,e){let t;if(o===null){if(!cs.has(e))return;t=cs.get(e)}else cs.set(e,o),t=o;for(const[r,n]of Object.entries(t))o===null?e.style.removeProperty(`--${r}`):e.style.setProperty(`--${r}`,n.toString())}const{userAgent:Dx}=navigator,Lx=/\bAppleWebKit\/[\d+\.]+\b/.test(Dx);function Ou(o){if(!Lx)return;const e="visibility",t="hidden",r=o.style.getPropertyValue(e);o.style.setProperty(e,t),N.process(),o.style.setProperty(e,r)}globalThis.Fluent={...globalThis.Fluent,setTheme:_u};export{Jr as Accordion,mc as AccordionDefinition,Yr as AccordionExpandMode,co as AccordionItem,gc as AccordionItemDefinition,Eu as AccordionItemMarkerPosition,Fu as AccordionItemSize,uc as AccordionItemStyles,pc as AccordionItemTemplate,fc as AccordionStyles,bc as AccordionTemplate,Ht as AnchorButton,$c as AnchorButtonAppearance,Bc as AnchorButtonDefinition,kc as AnchorButtonShape,xc as AnchorButtonSize,Cc as AnchorButtonTemplate,wc as AnchorTarget,Oc as Avatar,xv as AvatarActive,Sv as AvatarAppearance,Mi as AvatarColor,zc as AvatarDefinition,Li as AvatarNamedColor,wv as AvatarShape,Cv as AvatarSize,Nc as AvatarStyles,Tc as AvatarTemplate,Rt as Badge,Fc as BadgeAppearance,Ec as BadgeColor,jc as BadgeDefinition,Vv as BadgeShape,Rv as BadgeSize,Vc as BadgeStyles,Rc as BadgeTemplate,lo as BaseAccordionItem,Re as BaseAnchor,Vt as BaseAvatar,pe as BaseButton,_e as BaseCheckbox,Wt as BaseCounterBadge,nn as BaseDivider,zd as BaseDropdown,bo as BaseField,ah as BaseMenuList,Kt as BaseProgressBar,je as BaseRadioGroup,Yt as BaseRatingDisplay,Wh as BaseSpinner,Jt as BaseTablist,W as BaseTextArea,O as BaseTextInput,$r as BaseTree,Ye as Button,tr as ButtonAppearance,Wc as ButtonDefinition,hv as ButtonFormTarget,or as ButtonShape,rr as ButtonSize,ho as ButtonStyles,qc as ButtonTemplate,nr as ButtonType,sr as Checkbox,Uc as CheckboxDefinition,Qv as CheckboxShape,ey as CheckboxSize,Gc as CheckboxStyles,Xc as CheckboxTemplate,Zc as CompoundButton,Iy as CompoundButtonAppearance,Jc as CompoundButtonDefinition,Ay as CompoundButtonShape,Ny as CompoundButtonSize,Kc as CompoundButtonStyles,Yc as CompoundButtonTemplate,Gt as CounterBadge,_y as CounterBadgeAppearance,Oy as CounterBadgeColor,od as CounterBadgeDefinition,Fy as CounterBadgeShape,Ey as CounterBadgeSize,ed as CounterBadgeStyles,Qc as CounterBadgeTagName,td as CounterBadgeTemplate,Oe as Dialog,cd as DialogBody,ld as DialogBodyDefinition,sd as DialogBodyStyles,ad as DialogBodyTemplate,id as DialogDefinition,rd as DialogStyles,nd as DialogTemplate,wt as DialogType,lt as Direction,lr as Divider,Gy as DividerAlignContent,Xy as DividerAppearance,ud as DividerDefinition,qi as DividerOrientation,go as DividerRole,dd as DividerStyles,hd as DividerTemplate,xe as Drawer,Sd as DrawerBody,wd as DrawerBodyDefinition,kd as DrawerBodyStyles,xd as DrawerBodyTemplate,vd as DrawerDefinition,gd as DrawerPosition,fd as DrawerSize,bd as DrawerStyles,md as DrawerTemplate,fo as DrawerType,an as Dropdown,Cd as DropdownAppearance,Nd as DropdownDefinition,oe as DropdownOption,mh as DropdownOptionDefinition,fh as DropdownOptionStyles,bh as DropdownOptionTemplate,$$ as DropdownSize,Bd as DropdownStyles,Ad as DropdownTemplate,sn as DropdownType,Yi as Field,Dd as FieldDefinition,Od as FieldLabelPosition,Fd as FieldStyles,Ed as FieldTemplate,h as FluentDesignSystem,Xt as Image,Hd as ImageDefinition,D$ as ImageFit,L$ as ImageShape,Ld as ImageStyles,Md as ImageTemplate,mo as Label,jd as LabelDefinition,R$ as LabelSize,Vd as LabelStyles,Rd as LabelTemplate,j$ as LabelWeight,dn as Link,U$ as LinkAppearance,Gd as LinkDefinition,qd as LinkStyles,K$ as LinkTarget,Wd as LinkTemplate,Ut as Listbox,Jd as ListboxDefinition,Ud as ListboxStyles,Yd as ListboxTemplate,et as Menu,eh as MenuButton,o0 as MenuButtonAppearance,Qd as MenuButtonDefinition,r0 as MenuButtonShape,n0 as MenuButtonSize,ho as MenuButtonStyles,Zd as MenuButtonTemplate,hh as MenuDefinition,Qe as MenuItem,rh as MenuItemDefinition,J as MenuItemRole,th as MenuItemStyles,oh as MenuItemTemplate,lh as MenuList,sh as MenuListDefinition,nh as MenuListStyles,ih as MenuListTemplate,ch as MenuStyles,dh as MenuTemplate,ur as MessageBar,gh as MessageBarDefinition,T0 as MessageBarIntent,A0 as MessageBarLayout,N0 as MessageBarShape,uh as MessageBarStyles,ph as MessageBarTemplate,ke as Orientation,pn as ProgressBar,kh as ProgressBarDefinition,V0 as ProgressBarShape,yh as ProgressBarStyles,$h as ProgressBarTemplate,H0 as ProgressBarThickness,vh as ProgressBarValidationState,Nh as Radio,Ah as RadioDefinition,Bh as RadioGroup,Ch as RadioGroupDefinition,os as RadioGroupOrientation,wh as RadioGroupStyles,Sh as RadioGroupTemplate,Ph as RadioStyles,Ih as RadioTemplate,fr as RatingDisplay,ok as RatingDisplayColor,Oh as RatingDisplayDefinition,rk as RatingDisplaySize,_h as RatingDisplayStyles,zh as RatingDisplayTemplate,q as Slider,Mh as SliderDefinition,Eh as SliderMode,Fh as SliderOrientation,pk as SliderSize,Dh as SliderStyles,Lh as SliderTemplate,fn as Spinner,vk as SpinnerAppearance,qh as SpinnerDefinition,yk as SpinnerSize,Rh as SpinnerStyles,jh as SpinnerTemplate,it as StartEnd,Yh as Switch,Kh as SwitchDefinition,wk as SwitchLabelPosition,Xh as SwitchStyles,Uh as SwitchTemplate,mn as Tab,Qh as TabDefinition,Jh as TabStyles,Zh as TabTemplate,vn as Tablist,eu as TablistAppearance,ru as TablistDefinition,$o as TablistOrientation,Tk as TablistSize,tu as TablistStyles,ou as TablistTemplate,Ee as Text,ix as TextAlign,vr as TextArea,yn as TextAreaAppearance,Lk as TextAreaAppearancesForDisplayShadow,Mk as TextAreaAutocomplete,au as TextAreaDefinition,mr as TextAreaResize,Dk as TextAreaSize,iu as TextAreaStyles,su as TextAreaTemplate,fu as TextDefinition,rx as TextFont,yr as TextInput,Uk as TextInputAppearance,Xk as TextInputControlSize,hu as TextInputDefinition,cu as TextInputStyles,du as TextInputTemplate,lu as TextInputType,ox as TextSize,pu as TextStyles,gu as TextTemplate,nx as TextWeight,$n as ToggleButton,cx as ToggleButtonAppearance,vu as ToggleButtonDefinition,dx as ToggleButtonShape,hx as ToggleButtonSize,bu as ToggleButtonStyles,mu as ToggleButtonTemplate,ko as Tooltip,xu as TooltipDefinition,Ie as TooltipPositioningOption,$u as TooltipStyles,ku as TooltipTemplate,xn as Tree,Cu as TreeDefinition,wn as TreeItem,Tu as TreeItemDefinition,Au as TreeItemStyles,Nu as TreeItemTemplate,wu as TreeStyles,Su as TreeTemplate,Pe as ValidationFlags,Tm as borderRadius2XLarge,zm as borderRadius3XLarge,_m as borderRadius4XLarge,Om as borderRadius5XLarge,Fm as borderRadius6XLarge,de as borderRadiusCircular,ki as borderRadiusLarge,S as borderRadiusMedium,Vo as borderRadiusNone,Ne as borderRadiusSmall,xi as borderRadiusXLarge,Er as colorBackgroundOverlay,oi as colorBrandBackground,si as colorBrandBackground2,tf as colorBrandBackground2Hover,of as colorBrandBackground2Pressed,rf as colorBrandBackground3Static,nf as colorBrandBackground4Static,ri as colorBrandBackgroundHover,sf as colorBrandBackgroundInverted,af as colorBrandBackgroundInvertedHover,lf as colorBrandBackgroundInvertedPressed,cf as colorBrandBackgroundInvertedSelected,ni as colorBrandBackgroundPressed,za as colorBrandBackgroundSelected,ii as colorBrandBackgroundStatic,Fo as colorBrandForeground1,Ca as colorBrandForeground2,hg as colorBrandForeground2Hover,ug as colorBrandForeground2Pressed,pg as colorBrandForegroundInverted,gg as colorBrandForegroundInvertedHover,fg as colorBrandForegroundInvertedPressed,fa as colorBrandForegroundLink,ba as colorBrandForegroundLinkHover,ma as colorBrandForegroundLinkPressed,tg as colorBrandForegroundLinkSelected,bg as colorBrandForegroundOnLight,mg as colorBrandForegroundOnLightHover,vg as colorBrandForegroundOnLightPressed,yg as colorBrandForegroundOnLightSelected,Lf as colorBrandShadowAmbient,Mf as colorBrandShadowKey,ai as colorBrandStroke1,li as colorBrandStroke2,If as colorBrandStroke2Contrast,Bf as colorBrandStroke2Hover,Pf as colorBrandStroke2Pressed,ut as colorCompoundBrandBackground,Ft as colorCompoundBrandBackgroundHover,Et as colorCompoundBrandBackgroundPressed,rg as colorCompoundBrandForeground1,ka as colorCompoundBrandForeground1Hover,xa as colorCompoundBrandForeground1Pressed,nt as colorCompoundBrandStroke,Fa as colorCompoundBrandStrokeHover,ci as colorCompoundBrandStrokePressed,C as colorNeutralBackground1,Eo as colorNeutralBackground1Hover,Fr as colorNeutralBackground1Pressed,Jn as colorNeutralBackground1Selected,$g as colorNeutralBackground2,kg as colorNeutralBackground2Hover,xg as colorNeutralBackground2Pressed,wg as colorNeutralBackground2Selected,to as colorNeutralBackground3,Sg as colorNeutralBackground3Hover,Cg as colorNeutralBackground3Pressed,Bg as colorNeutralBackground3Selected,Pa as colorNeutralBackground4,Pg as colorNeutralBackground4Hover,Ig as colorNeutralBackground4Pressed,Ag as colorNeutralBackground4Selected,Ia as colorNeutralBackground5,Ng as colorNeutralBackground5Hover,Tg as colorNeutralBackground5Pressed,zg as colorNeutralBackground5Selected,oo as colorNeutralBackground6,_g as colorNeutralBackground7,Og as colorNeutralBackground7Hover,Fg as colorNeutralBackground7Pressed,Eg as colorNeutralBackground7Selected,Dg as colorNeutralBackground8,Rg as colorNeutralBackgroundAlpha,jg as colorNeutralBackgroundAlpha2,rt as colorNeutralBackgroundDisabled,Ug as colorNeutralBackgroundDisabled2,Zn as colorNeutralBackgroundInverted,Kg as colorNeutralBackgroundInvertedDisabled,Lg as colorNeutralBackgroundInvertedHover,Mg as colorNeutralBackgroundInvertedPressed,Hg as colorNeutralBackgroundInvertedSelected,Vg as colorNeutralBackgroundStatic,df as colorNeutralCardBackground,gf as colorNeutralCardBackgroundDisabled,hf as colorNeutralCardBackgroundHover,uf as colorNeutralCardBackgroundPressed,pf as colorNeutralCardBackgroundSelected,I as colorNeutralForeground1,Kn as colorNeutralForeground1Hover,da as colorNeutralForeground1Pressed,Xp as colorNeutralForeground1Selected,Ba as colorNeutralForeground1Static,Ae as colorNeutralForeground2,_o as colorNeutralForeground2BrandHover,Oo as colorNeutralForeground2BrandPressed,ha as colorNeutralForeground2BrandSelected,_t as colorNeutralForeground2Hover,va as colorNeutralForeground2Link,ya as colorNeutralForeground2LinkHover,$a as colorNeutralForeground2LinkPressed,og as colorNeutralForeground2LinkSelected,Ot as colorNeutralForeground2Pressed,zo as colorNeutralForeground2Selected,X as colorNeutralForeground3,Up as colorNeutralForeground3BrandHover,Kp as colorNeutralForeground3BrandPressed,Yp as colorNeutralForeground3BrandSelected,ua as colorNeutralForeground3Hover,pa as colorNeutralForeground3Pressed,ga as colorNeutralForeground3Selected,Or as colorNeutralForeground4,Jp as colorNeutralForeground5,Zp as colorNeutralForeground5Hover,Qp as colorNeutralForeground5Pressed,eg as colorNeutralForeground5Selected,T as colorNeutralForegroundDisabled,ht as colorNeutralForegroundInverted,ig as colorNeutralForegroundInverted2,dg as colorNeutralForegroundInvertedDisabled,wa as colorNeutralForegroundInvertedHover,sg as colorNeutralForegroundInvertedLink,ag as colorNeutralForegroundInvertedLinkHover,lg as colorNeutralForegroundInvertedLinkPressed,cg as colorNeutralForegroundInvertedLinkSelected,Sa as colorNeutralForegroundInvertedPressed,ng as colorNeutralForegroundInvertedSelected,Ue as colorNeutralForegroundOnBrand,Yn as colorNeutralForegroundStaticInverted,Ea as colorNeutralShadowAmbient,Ef as colorNeutralShadowAmbientDarker,Of as colorNeutralShadowAmbientLighter,Da as colorNeutralShadowKey,Df as colorNeutralShadowKeyDarker,Ff as colorNeutralShadowKeyLighter,Yg as colorNeutralStencil1,Zg as colorNeutralStencil1Alpha,Jg as colorNeutralStencil2,Qg as colorNeutralStencil2Alpha,He as colorNeutralStroke1,ft as colorNeutralStroke1Hover,no as colorNeutralStroke1Pressed,bf as colorNeutralStroke1Selected,io as colorNeutralStroke2,_a as colorNeutralStroke3,mf as colorNeutralStroke4,vf as colorNeutralStroke4Hover,yf as colorNeutralStroke4Pressed,$f as colorNeutralStroke4Selected,Me as colorNeutralStrokeAccessible,pt as colorNeutralStrokeAccessibleHover,gt as colorNeutralStrokeAccessiblePressed,ff as colorNeutralStrokeAccessibleSelected,zf as colorNeutralStrokeAlpha,_f as colorNeutralStrokeAlpha2,be as colorNeutralStrokeDisabled,Af as colorNeutralStrokeDisabled2,Nf as colorNeutralStrokeInvertedDisabled,xf as colorNeutralStrokeOnBrand,Oa as colorNeutralStrokeOnBrand2,wf as colorNeutralStrokeOnBrand2Hover,Sf as colorNeutralStrokeOnBrand2Pressed,Cf as colorNeutralStrokeOnBrand2Selected,kf as colorNeutralStrokeSubtle,Ja as colorPaletteAnchorBackground2,Cb as colorPaletteAnchorBorderActive,Za as colorPaletteAnchorForeground2,Qa as colorPaletteBeigeBackground2,Bb as colorPaletteBeigeBorderActive,el as colorPaletteBeigeForeground2,tb as colorPaletteBerryBackground1,ob as colorPaletteBerryBackground2,rb as colorPaletteBerryBackground3,ib as colorPaletteBerryBorder1,sb as colorPaletteBerryBorder2,nb as colorPaletteBerryBorderActive,ab as colorPaletteBerryForeground1,lb as colorPaletteBerryForeground2,cb as colorPaletteBerryForeground3,tl as colorPaletteBlueBackground2,Pb as colorPaletteBlueBorderActive,ol as colorPaletteBlueForeground2,rl as colorPaletteBrassBackground2,Ib as colorPaletteBrassBorderActive,nl as colorPaletteBrassForeground2,il as colorPaletteBrownBackground2,Ab as colorPaletteBrownBorderActive,sl as colorPaletteBrownForeground2,al as colorPaletteCornflowerBackground2,Nb as colorPaletteCornflowerBorderActive,ll as colorPaletteCornflowerForeground2,cl as colorPaletteCranberryBackground2,Tb as colorPaletteCranberryBorderActive,dl as colorPaletteCranberryForeground2,hl as colorPaletteDarkGreenBackground2,zb as colorPaletteDarkGreenBorderActive,ul as colorPaletteDarkGreenForeground2,bi as colorPaletteDarkOrangeBackground1,Wf as colorPaletteDarkOrangeBackground2,mi as colorPaletteDarkOrangeBackground3,vi as colorPaletteDarkOrangeBorder1,Xf as colorPaletteDarkOrangeBorder2,Gf as colorPaletteDarkOrangeBorderActive,Wa as colorPaletteDarkOrangeForeground1,Uf as colorPaletteDarkOrangeForeground2,yi as colorPaletteDarkOrangeForeground3,pl as colorPaletteDarkRedBackground2,_b as colorPaletteDarkRedBorderActive,gl as colorPaletteDarkRedForeground2,fl as colorPaletteForestBackground2,Ob as colorPaletteForestBorderActive,bl as colorPaletteForestForeground2,ml as colorPaletteGoldBackground2,Fb as colorPaletteGoldBorderActive,vl as colorPaletteGoldForeground2,yl as colorPaletteGrapeBackground2,Eb as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,gi as colorPaletteGreenBackground1,Rf as colorPaletteGreenBackground2,fi as colorPaletteGreenBackground3,Ha as colorPaletteGreenBorder1,Va as colorPaletteGreenBorder2,jf as colorPaletteGreenBorderActive,Ra as colorPaletteGreenForeground1,ja as colorPaletteGreenForeground2,qa as colorPaletteGreenForeground3,qf as colorPaletteGreenForegroundInverted,kl as colorPaletteLavenderBackground2,Db as colorPaletteLavenderBorderActive,xl as colorPaletteLavenderForeground2,bb as colorPaletteLightGreenBackground1,mb as colorPaletteLightGreenBackground2,vb as colorPaletteLightGreenBackground3,$b as colorPaletteLightGreenBorder1,kb as colorPaletteLightGreenBorder2,yb as colorPaletteLightGreenBorderActive,xb as colorPaletteLightGreenForeground1,wb as colorPaletteLightGreenForeground2,Sb as colorPaletteLightGreenForeground3,wl as colorPaletteLightTealBackground2,Lb as colorPaletteLightTealBorderActive,Sl as colorPaletteLightTealForeground2,Cl as colorPaletteLilacBackground2,Mb as colorPaletteLilacBorderActive,Bl as colorPaletteLilacForeground2,Pl as colorPaletteMagentaBackground2,Hb as colorPaletteMagentaBorderActive,Il as colorPaletteMagentaForeground2,db as colorPaletteMarigoldBackground1,$i as colorPaletteMarigoldBackground2,hb as colorPaletteMarigoldBackground3,ub as colorPaletteMarigoldBorder1,pb as colorPaletteMarigoldBorder2,Ka as colorPaletteMarigoldBorderActive,gb as colorPaletteMarigoldForeground1,Ya as colorPaletteMarigoldForeground2,fb as colorPaletteMarigoldForeground3,Al as colorPaletteMinkBackground2,Vb as colorPaletteMinkBorderActive,Nl as colorPaletteMinkForeground2,Tl as colorPaletteNavyBackground2,Rb as colorPaletteNavyBorderActive,zl as colorPaletteNavyForeground2,_l as colorPalettePeachBackground2,jb as colorPalettePeachBorderActive,Ol as colorPalettePeachForeground2,Fl as colorPalettePinkBackground2,qb as colorPalettePinkBorderActive,El as colorPalettePinkForeground2,Dl as colorPalettePlatinumBackground2,Wb as colorPalettePlatinumBorderActive,Ll as colorPalettePlatinumForeground2,Ml as colorPalettePlumBackground2,Gb as colorPalettePlumBorderActive,Hl as colorPalettePlumForeground2,Vl as colorPalettePumpkinBackground2,Xb as colorPalettePumpkinBorderActive,Rl as colorPalettePumpkinForeground2,jl as colorPalettePurpleBackground2,Ub as colorPalettePurpleBorderActive,ql as colorPalettePurpleForeground2,di as colorPaletteRedBackground1,La as colorPaletteRedBackground2,hi as colorPaletteRedBackground3,ui as colorPaletteRedBorder1,Lr as colorPaletteRedBorder2,Hf as colorPaletteRedBorderActive,Mr as colorPaletteRedForeground1,Ma as colorPaletteRedForeground2,pi as colorPaletteRedForeground3,Vf as colorPaletteRedForegroundInverted,Wl as colorPaletteRoyalBlueBackground2,Kb as colorPaletteRoyalBlueBorderActive,Gl as colorPaletteRoyalBlueForeground2,Xl as colorPaletteSeafoamBackground2,Yb as colorPaletteSeafoamBorderActive,Ul as colorPaletteSeafoamForeground2,Kl as colorPaletteSteelBackground2,Jb as colorPaletteSteelBorderActive,Yl as colorPaletteSteelForeground2,Jl as colorPaletteTealBackground2,Zb as colorPaletteTealBorderActive,Zl as colorPaletteTealForeground2,Ga as colorPaletteYellowBackground1,Kf as colorPaletteYellowBackground2,Xa as colorPaletteYellowBackground3,Ua as colorPaletteYellowBorder1,Jf as colorPaletteYellowBorder2,Yf as colorPaletteYellowBorderActive,Zf as colorPaletteYellowForeground1,Hr as colorPaletteYellowForeground2,Qf as colorPaletteYellowForeground3,eb as colorPaletteYellowForegroundInverted,ef as colorScrollbarOverlay,ym as colorStatusDangerBackground1,$m as colorStatusDangerBackground2,km as colorStatusDangerBackground3,xm as colorStatusDangerBackground3Hover,wm as colorStatusDangerBackground3Pressed,Am as colorStatusDangerBorder1,Nm as colorStatusDangerBorder2,Im as colorStatusDangerBorderActive,Sm as colorStatusDangerForeground1,Cm as colorStatusDangerForeground2,Bm as colorStatusDangerForeground3,Pm as colorStatusDangerForegroundInverted,Qb as colorStatusSuccessBackground1,em as colorStatusSuccessBackground2,tm as colorStatusSuccessBackground3,am as colorStatusSuccessBorder1,lm as colorStatusSuccessBorder2,sm as colorStatusSuccessBorderActive,om as colorStatusSuccessForeground1,rm as colorStatusSuccessForeground2,nm as colorStatusSuccessForeground3,im as colorStatusSuccessForegroundInverted,cm as colorStatusWarningBackground1,dm as colorStatusWarningBackground2,hm as colorStatusWarningBackground3,mm as colorStatusWarningBorder1,vm as colorStatusWarningBorder2,bm as colorStatusWarningBorderActive,um as colorStatusWarningForeground1,pm as colorStatusWarningForeground2,gm as colorStatusWarningForeground3,fm as colorStatusWarningForegroundInverted,Ho as colorStrokeFocus1,se as colorStrokeFocus2,Qn as colorSubtleBackground,Do as colorSubtleBackgroundHover,qg as colorSubtleBackgroundInverted,Wg as colorSubtleBackgroundInvertedHover,Gg as colorSubtleBackgroundInvertedPressed,Xg as colorSubtleBackgroundInvertedSelected,Aa as colorSubtleBackgroundLightAlphaHover,Na as colorSubtleBackgroundLightAlphaPressed,Ta as colorSubtleBackgroundLightAlphaSelected,ro as colorSubtleBackgroundPressed,ei as colorSubtleBackgroundSelected,ce as colorTransparentBackground,Lo as colorTransparentBackgroundHover,Mo as colorTransparentBackgroundPressed,ti as colorTransparentBackgroundSelected,U as colorTransparentStroke,Tf as colorTransparentStrokeDisabled,Dr as colorTransparentStrokeInteractive,cc as curveAccelerateMax,mt as curveAccelerateMid,dc as curveAccelerateMin,Oi as curveDecelerateMax,vt as curveDecelerateMid,hc as curveDecelerateMin,Qo as curveEasyEase,Fi as curveEasyEaseMax,Ur as curveLinear,x as display,Id as dropdownButtonTemplate,Pd as dropdownInputTemplate,Wm as durationFast,Yo as durationFaster,Xr as durationGentle,Jo as durationNormal,lc as durationSlow,_i as durationSlower,Gr as durationUltraFast,Zo as durationUltraSlow,st as endSlotTemplate,v as fontFamilyBase,Ql as fontFamilyMonospace,ec as fontFamilyNumeric,so as fontSizeBase100,E as fontSizeBase200,z as fontSizeBase300,he as fontSizeBase400,Dt as fontSizeBase500,Ro as fontSizeBase600,Bi as fontSizeHero1000,wi as fontSizeHero700,Si as fontSizeHero800,Ci as fontSizeHero900,jo as fontWeightBold,tc as fontWeightMedium,_ as fontWeightRegular,M as fontWeightSemibold,Ki as getDirection,ji as isDialog,y$ as isDropdown,St as isDropdownOption,Ui as isListbox,bn as isTab,qo as lineHeightBase100,R as lineHeightBase200,D as lineHeightBase300,me as lineHeightBase400,Wo as lineHeightBase500,Pi as lineHeightBase600,Ti as lineHeightHero1000,Ii as lineHeightHero700,Ai as lineHeightHero800,Ni as lineHeightHero900,Kd as listboxTemplate,a0 as roleForMenuItem,_u as setTheme,Rr as shadow16,Mm as shadow16Brand,Vr as shadow2,rc as shadow28,Hm as shadow28Brand,Em as shadow2Brand,Go as shadow4,Dm as shadow4Brand,zi as shadow64,Vm as shadow64Brand,oc as shadow8,Lm as shadow8Brand,nc as spacingHorizontalL,ee as spacingHorizontalM,Ke as spacingHorizontalMNudge,Rm as spacingHorizontalNone,Te as spacingHorizontalS,ve as spacingHorizontalSNudge,ic as spacingHorizontalXL,Q as spacingHorizontalXS,Xo as spacingHorizontalXXL,H as spacingHorizontalXXS,jm as spacingHorizontalXXXL,Wr as spacingVerticalL,sc as spacingVerticalM,Ko as spacingVerticalMNudge,qr as spacingVerticalNone,te as spacingVerticalS,ao as spacingVerticalSNudge,qm as spacingVerticalXL,Lt as spacingVerticalXS,bt as spacingVerticalXXL,Uo as spacingVerticalXXS,ac as spacingVerticalXXXL,Ve as startSlotTemplate,ue as strokeWidthThick,Be as strokeWidthThicker,jr as strokeWidthThickest,B as strokeWidthThin,i$ as typographyBody1StrongStyles,s$ as typographyBody1StrongerStyles,Gi as typographyBody1Styles,yd as typographyBody2Styles,a$ as typographyCaption1StrongStyles,l$ as typographyCaption1StrongerStyles,Xi as typographyCaption1Styles,d$ as typographyCaption2StrongStyles,c$ as typographyCaption2Styles,m$ as typographyDisplayStyles,b$ as typographyLargeTitleStyles,$d as typographySubtitle1Styles,u$ as typographySubtitle2StrongerStyles,h$ as typographySubtitle2Styles,p$ as typographyTitle1Styles,g$ as typographyTitle2Styles,f$ as typographyTitle3Styles,Gm as zIndexBackground,Xm as zIndexContent,Qm as zIndexDebug,Jm as zIndexFloating,Ym as zIndexMessages,Um as zIndexOverlay,Km as zIndexPopup,Zm as zIndexPriority};
|
|
43
|
+
`),document.adoptedStyleSheets.push(t)}return ls.get(o)}function Dx(o,e){let t;if(o===null){if(!cs.has(e))return;t=cs.get(e)}else cs.set(e,o),t=o;for(const[r,n]of Object.entries(t))o===null?e.style.removeProperty(`--${r}`):e.style.setProperty(`--${r}`,n.toString())}const{userAgent:Lx}=navigator,Mx=/\bAppleWebKit\/[\d+\.]+\b/.test(Lx);function Ou(o){if(!Mx)return;const e="visibility",t="hidden",r=o.style.getPropertyValue(e);o.style.setProperty(e,t),T.process(),o.style.setProperty(e,r)}globalThis.Fluent={...globalThis.Fluent,setTheme:_u};export{Zr as Accordion,bc as AccordionDefinition,Jr as AccordionExpandMode,co as AccordionItem,pc as AccordionItemDefinition,Du as AccordionItemMarkerPosition,Eu as AccordionItemSize,hc as AccordionItemStyles,uc as AccordionItemTemplate,gc as AccordionStyles,fc as AccordionTemplate,Vt as AnchorButton,$c as AnchorButtonAppearance,Cc as AnchorButtonDefinition,yc as AnchorButtonShape,kc as AnchorButtonSize,Sc as AnchorButtonTemplate,xc as AnchorTarget,_c as Avatar,wv as AvatarActive,Cv as AvatarAppearance,Li as AvatarColor,Tc as AvatarDefinition,Di as AvatarNamedColor,Sv as AvatarShape,Bv as AvatarSize,Ac as AvatarStyles,Nc as AvatarTemplate,jt as Badge,Oc as BadgeAppearance,Fc as BadgeColor,Rc as BadgeDefinition,Rv as BadgeShape,jv as BadgeSize,Hc as BadgeStyles,Vc as BadgeTemplate,lo as BaseAccordionItem,qe as BaseAnchor,Rt as BaseAvatar,ge as BaseButton,Fe as BaseCheckbox,Gt as BaseCounterBadge,nn as BaseDivider,zd as BaseDropdown,bo as BaseField,ah as BaseMenuList,Yt as BaseProgressBar,We as BaseRadioGroup,Jt as BaseRatingDisplay,Wh as BaseSpinner,Zt as BaseTablist,G as BaseTextArea,F as BaseTextInput,yr as BaseTree,Je as Button,er as ButtonAppearance,qc as ButtonDefinition,uv as ButtonFormTarget,tr as ButtonShape,or as ButtonSize,ho as ButtonStyles,jc as ButtonTemplate,rr as ButtonType,ir as Checkbox,Uc as CheckboxDefinition,e$ as CheckboxShape,t$ as CheckboxSize,Gc as CheckboxStyles,Xc as CheckboxTemplate,Zc as CompoundButton,A$ as CompoundButtonAppearance,Jc as CompoundButtonDefinition,N$ as CompoundButtonShape,T$ as CompoundButtonSize,Kc as CompoundButtonStyles,Yc as CompoundButtonTemplate,Xt as CounterBadge,O$ as CounterBadgeAppearance,F$ as CounterBadgeColor,od as CounterBadgeDefinition,E$ as CounterBadgeShape,D$ as CounterBadgeSize,ed as CounterBadgeStyles,Qc as CounterBadgeTagName,td as CounterBadgeTemplate,Ee as Dialog,cd as DialogBody,ld as DialogBodyDefinition,sd as DialogBodyStyles,ad as DialogBodyTemplate,id as DialogDefinition,rd as DialogStyles,nd as DialogTemplate,St as DialogType,ct as Direction,ar as Divider,X$ as DividerAlignContent,U$ as DividerAppearance,ud as DividerDefinition,ji as DividerOrientation,go as DividerRole,dd as DividerStyles,hd as DividerTemplate,we as Drawer,Sd as DrawerBody,wd as DrawerBodyDefinition,kd as DrawerBodyStyles,xd as DrawerBodyTemplate,vd as DrawerDefinition,gd as DrawerPosition,fd as DrawerSize,bd as DrawerStyles,md as DrawerTemplate,fo as DrawerType,an as Dropdown,Cd as DropdownAppearance,Nd as DropdownDefinition,re as DropdownOption,mh as DropdownOptionDefinition,fh as DropdownOptionStyles,bh as DropdownOptionTemplate,ky as DropdownSize,Bd as DropdownStyles,Ad as DropdownTemplate,sn as DropdownType,Ki as Field,Dd as FieldDefinition,Od as FieldLabelPosition,Fd as FieldStyles,Ed as FieldTemplate,h as FluentDesignSystem,Ut as Image,Hd as ImageDefinition,Ly as ImageFit,My as ImageShape,Ld as ImageStyles,Md as ImageTemplate,mo as Label,jd as LabelDefinition,jy as LabelSize,Vd as LabelStyles,Rd as LabelTemplate,qy as LabelWeight,dn as Link,Ky as LinkAppearance,Gd as LinkDefinition,qd as LinkStyles,Yy as LinkTarget,Wd as LinkTemplate,Kt as Listbox,Jd as ListboxDefinition,Ud as ListboxStyles,Yd as ListboxTemplate,tt as Menu,eh as MenuButton,r0 as MenuButtonAppearance,Qd as MenuButtonDefinition,n0 as MenuButtonShape,i0 as MenuButtonSize,ho as MenuButtonStyles,Zd as MenuButtonTemplate,hh as MenuDefinition,et as MenuItem,rh as MenuItemDefinition,oe as MenuItemRole,th as MenuItemStyles,oh as MenuItemTemplate,lh as MenuList,sh as MenuListDefinition,nh as MenuListStyles,ih as MenuListTemplate,ch as MenuStyles,dh as MenuTemplate,hr as MessageBar,gh as MessageBarDefinition,z0 as MessageBarIntent,N0 as MessageBarLayout,T0 as MessageBarShape,uh as MessageBarStyles,ph as MessageBarTemplate,xe as Orientation,pn as ProgressBar,kh as ProgressBarDefinition,R0 as ProgressBarShape,$h as ProgressBarStyles,yh as ProgressBarTemplate,V0 as ProgressBarThickness,vh as ProgressBarValidationState,Nh as Radio,Ah as RadioDefinition,Bh as RadioGroup,Ch as RadioGroupDefinition,ts as RadioGroupOrientation,wh as RadioGroupStyles,Sh as RadioGroupTemplate,Ph as RadioStyles,Ih as RadioTemplate,gr as RatingDisplay,rk as RatingDisplayColor,Oh as RatingDisplayDefinition,nk as RatingDisplaySize,_h as RatingDisplayStyles,zh as RatingDisplayTemplate,W as Slider,Mh as SliderDefinition,Eh as SliderMode,Fh as SliderOrientation,gk as SliderSize,Dh as SliderStyles,Lh as SliderTemplate,fn as Spinner,$k as SpinnerAppearance,qh as SpinnerDefinition,yk as SpinnerSize,Rh as SpinnerStyles,jh as SpinnerTemplate,st as StartEnd,Yh as Switch,Kh as SwitchDefinition,Sk as SwitchLabelPosition,Xh as SwitchStyles,Uh as SwitchTemplate,bn as Tab,Qh as TabDefinition,Jh as TabStyles,Zh as TabTemplate,mn as Tablist,eu as TablistAppearance,ru as TablistDefinition,fr as TablistOrientation,zk as TablistSize,tu as TablistStyles,ou as TablistTemplate,Le as Text,sx as TextAlign,vr as TextArea,vn as TextAreaAppearance,Mk as TextAreaAppearancesForDisplayShadow,Hk as TextAreaAutocomplete,au as TextAreaDefinition,mr as TextAreaResize,Lk as TextAreaSize,iu as TextAreaStyles,su as TextAreaTemplate,fu as TextDefinition,nx as TextFont,$r as TextInput,Kk as TextInputAppearance,Uk as TextInputControlSize,hu as TextInputDefinition,cu as TextInputStyles,du as TextInputTemplate,lu as TextInputType,rx as TextSize,pu as TextStyles,gu as TextTemplate,ix as TextWeight,$n as ToggleButton,dx as ToggleButtonAppearance,vu as ToggleButtonDefinition,hx as ToggleButtonShape,ux as ToggleButtonSize,bu as ToggleButtonStyles,mu as ToggleButtonTemplate,yo as Tooltip,xu as TooltipDefinition,Ae as TooltipPositioningOption,yu as TooltipStyles,ku as TooltipTemplate,kn as Tree,Cu as TreeDefinition,xn as TreeItem,Tu as TreeItemDefinition,Au as TreeItemStyles,Nu as TreeItemTemplate,wu as TreeStyles,Su as TreeTemplate,Ie as ValidationFlags,zm as borderRadius2XLarge,_m as borderRadius3XLarge,Om as borderRadius4XLarge,Fm as borderRadius5XLarge,Em as borderRadius6XLarge,he as borderRadiusCircular,yi as borderRadiusLarge,C as borderRadiusMedium,Ho as borderRadiusNone,Te as borderRadiusSmall,ki as borderRadiusXLarge,Dr as colorBackgroundOverlay,ti as colorBrandBackground,ii as colorBrandBackground2,of as colorBrandBackground2Hover,rf as colorBrandBackground2Pressed,nf as colorBrandBackground3Static,sf as colorBrandBackground4Static,oi as colorBrandBackgroundHover,af as colorBrandBackgroundInverted,lf as colorBrandBackgroundInvertedHover,cf as colorBrandBackgroundInvertedPressed,df as colorBrandBackgroundInvertedSelected,ri as colorBrandBackgroundPressed,Ta as colorBrandBackgroundSelected,ni as colorBrandBackgroundStatic,Oo as colorBrandForeground1,Sa as colorBrandForeground2,ug as colorBrandForeground2Hover,pg as colorBrandForeground2Pressed,gg as colorBrandForegroundInverted,fg as colorBrandForegroundInvertedHover,bg as colorBrandForegroundInvertedPressed,ga as colorBrandForegroundLink,fa as colorBrandForegroundLinkHover,ba as colorBrandForegroundLinkPressed,og as colorBrandForegroundLinkSelected,mg as colorBrandForegroundOnLight,vg as colorBrandForegroundOnLightHover,$g as colorBrandForegroundOnLightPressed,yg as colorBrandForegroundOnLightSelected,Mf as colorBrandShadowAmbient,Hf as colorBrandShadowKey,si as colorBrandStroke1,ai as colorBrandStroke2,Af as colorBrandStroke2Contrast,Pf as colorBrandStroke2Hover,If as colorBrandStroke2Pressed,pt as colorCompoundBrandBackground,Et as colorCompoundBrandBackgroundHover,Dt as colorCompoundBrandBackgroundPressed,ng as colorCompoundBrandForeground1,ya as colorCompoundBrandForeground1Hover,ka as colorCompoundBrandForeground1Pressed,it as colorCompoundBrandStroke,Oa as colorCompoundBrandStrokeHover,li as colorCompoundBrandStrokePressed,B as colorNeutralBackground1,Fo as colorNeutralBackground1Hover,Er as colorNeutralBackground1Pressed,Yn as colorNeutralBackground1Selected,kg as colorNeutralBackground2,xg as colorNeutralBackground2Hover,wg as colorNeutralBackground2Pressed,Sg as colorNeutralBackground2Selected,to as colorNeutralBackground3,Cg as colorNeutralBackground3Hover,Bg as colorNeutralBackground3Pressed,Pg as colorNeutralBackground3Selected,Ba as colorNeutralBackground4,Ig as colorNeutralBackground4Hover,Ag as colorNeutralBackground4Pressed,Ng as colorNeutralBackground4Selected,Pa as colorNeutralBackground5,Tg as colorNeutralBackground5Hover,zg as colorNeutralBackground5Pressed,_g as colorNeutralBackground5Selected,oo as colorNeutralBackground6,Og as colorNeutralBackground7,Fg as colorNeutralBackground7Hover,Eg as colorNeutralBackground7Pressed,Dg as colorNeutralBackground7Selected,Lg as colorNeutralBackground8,jg as colorNeutralBackgroundAlpha,qg as colorNeutralBackgroundAlpha2,nt as colorNeutralBackgroundDisabled,Kg as colorNeutralBackgroundDisabled2,Jn as colorNeutralBackgroundInverted,Yg as colorNeutralBackgroundInvertedDisabled,Mg as colorNeutralBackgroundInvertedHover,Hg as colorNeutralBackgroundInvertedPressed,Vg as colorNeutralBackgroundInvertedSelected,Rg as colorNeutralBackgroundStatic,hf as colorNeutralCardBackground,ff as colorNeutralCardBackgroundDisabled,uf as colorNeutralCardBackgroundHover,pf as colorNeutralCardBackgroundPressed,gf as colorNeutralCardBackgroundSelected,A as colorNeutralForeground1,Un as colorNeutralForeground1Hover,ca as colorNeutralForeground1Pressed,Up as colorNeutralForeground1Selected,Ca as colorNeutralForeground1Static,Ne as colorNeutralForeground2,zo as colorNeutralForeground2BrandHover,_o as colorNeutralForeground2BrandPressed,da as colorNeutralForeground2BrandSelected,Ot as colorNeutralForeground2Hover,ma as colorNeutralForeground2Link,va as colorNeutralForeground2LinkHover,$a as colorNeutralForeground2LinkPressed,rg as colorNeutralForeground2LinkSelected,Ft as colorNeutralForeground2Pressed,To as colorNeutralForeground2Selected,U as colorNeutralForeground3,Kp as colorNeutralForeground3BrandHover,Yp as colorNeutralForeground3BrandPressed,Jp as colorNeutralForeground3BrandSelected,ha as colorNeutralForeground3Hover,ua as colorNeutralForeground3Pressed,pa as colorNeutralForeground3Selected,Fr as colorNeutralForeground4,Zp as colorNeutralForeground5,Qp as colorNeutralForeground5Hover,eg as colorNeutralForeground5Pressed,tg as colorNeutralForeground5Selected,z as colorNeutralForegroundDisabled,ut as colorNeutralForegroundInverted,sg as colorNeutralForegroundInverted2,hg as colorNeutralForegroundInvertedDisabled,xa as colorNeutralForegroundInvertedHover,ag as colorNeutralForegroundInvertedLink,lg as colorNeutralForegroundInvertedLinkHover,cg as colorNeutralForegroundInvertedLinkPressed,dg as colorNeutralForegroundInvertedLinkSelected,wa as colorNeutralForegroundInvertedPressed,ig as colorNeutralForegroundInvertedSelected,Ye as colorNeutralForegroundOnBrand,Kn as colorNeutralForegroundStaticInverted,Fa as colorNeutralShadowAmbient,Df as colorNeutralShadowAmbientDarker,Ff as colorNeutralShadowAmbientLighter,Ea as colorNeutralShadowKey,Lf as colorNeutralShadowKeyDarker,Ef as colorNeutralShadowKeyLighter,Jg as colorNeutralStencil1,Qg as colorNeutralStencil1Alpha,Zg as colorNeutralStencil2,ef as colorNeutralStencil2Alpha,Re as colorNeutralStroke1,bt as colorNeutralStroke1Hover,no as colorNeutralStroke1Pressed,mf as colorNeutralStroke1Selected,io as colorNeutralStroke2,za as colorNeutralStroke3,vf as colorNeutralStroke4,$f as colorNeutralStroke4Hover,yf as colorNeutralStroke4Pressed,kf as colorNeutralStroke4Selected,Ve as colorNeutralStrokeAccessible,gt as colorNeutralStrokeAccessibleHover,ft as colorNeutralStrokeAccessiblePressed,bf as colorNeutralStrokeAccessibleSelected,_f as colorNeutralStrokeAlpha,Of as colorNeutralStrokeAlpha2,me as colorNeutralStrokeDisabled,Nf as colorNeutralStrokeDisabled2,Tf as colorNeutralStrokeInvertedDisabled,wf as colorNeutralStrokeOnBrand,_a as colorNeutralStrokeOnBrand2,Sf as colorNeutralStrokeOnBrand2Hover,Cf as colorNeutralStrokeOnBrand2Pressed,Bf as colorNeutralStrokeOnBrand2Selected,xf as colorNeutralStrokeSubtle,Ya as colorPaletteAnchorBackground2,Bb as colorPaletteAnchorBorderActive,Ja as colorPaletteAnchorForeground2,Za as colorPaletteBeigeBackground2,Pb as colorPaletteBeigeBorderActive,Qa as colorPaletteBeigeForeground2,ob as colorPaletteBerryBackground1,rb as colorPaletteBerryBackground2,nb as colorPaletteBerryBackground3,sb as colorPaletteBerryBorder1,ab as colorPaletteBerryBorder2,ib as colorPaletteBerryBorderActive,lb as colorPaletteBerryForeground1,cb as colorPaletteBerryForeground2,db as colorPaletteBerryForeground3,el as colorPaletteBlueBackground2,Ib as colorPaletteBlueBorderActive,tl as colorPaletteBlueForeground2,ol as colorPaletteBrassBackground2,Ab as colorPaletteBrassBorderActive,rl as colorPaletteBrassForeground2,nl as colorPaletteBrownBackground2,Nb as colorPaletteBrownBorderActive,il as colorPaletteBrownForeground2,sl as colorPaletteCornflowerBackground2,Tb as colorPaletteCornflowerBorderActive,al as colorPaletteCornflowerForeground2,ll as colorPaletteCranberryBackground2,zb as colorPaletteCranberryBorderActive,cl as colorPaletteCranberryForeground2,dl as colorPaletteDarkGreenBackground2,_b as colorPaletteDarkGreenBorderActive,hl as colorPaletteDarkGreenForeground2,fi as colorPaletteDarkOrangeBackground1,Gf as colorPaletteDarkOrangeBackground2,bi as colorPaletteDarkOrangeBackground3,mi as colorPaletteDarkOrangeBorder1,Uf as colorPaletteDarkOrangeBorder2,Xf as colorPaletteDarkOrangeBorderActive,qa as colorPaletteDarkOrangeForeground1,Kf as colorPaletteDarkOrangeForeground2,vi as colorPaletteDarkOrangeForeground3,ul as colorPaletteDarkRedBackground2,Ob as colorPaletteDarkRedBorderActive,pl as colorPaletteDarkRedForeground2,gl as colorPaletteForestBackground2,Fb as colorPaletteForestBorderActive,fl as colorPaletteForestForeground2,bl as colorPaletteGoldBackground2,Eb as colorPaletteGoldBorderActive,ml as colorPaletteGoldForeground2,vl as colorPaletteGrapeBackground2,Db as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,pi as colorPaletteGreenBackground1,jf as colorPaletteGreenBackground2,gi as colorPaletteGreenBackground3,Ma as colorPaletteGreenBorder1,Ha as colorPaletteGreenBorder2,qf as colorPaletteGreenBorderActive,Va as colorPaletteGreenForeground1,Ra as colorPaletteGreenForeground2,ja as colorPaletteGreenForeground3,Wf as colorPaletteGreenForegroundInverted,yl as colorPaletteLavenderBackground2,Lb as colorPaletteLavenderBorderActive,kl as colorPaletteLavenderForeground2,mb as colorPaletteLightGreenBackground1,vb as colorPaletteLightGreenBackground2,$b as colorPaletteLightGreenBackground3,kb as colorPaletteLightGreenBorder1,xb as colorPaletteLightGreenBorder2,yb as colorPaletteLightGreenBorderActive,wb as colorPaletteLightGreenForeground1,Sb as colorPaletteLightGreenForeground2,Cb as colorPaletteLightGreenForeground3,xl as colorPaletteLightTealBackground2,Mb as colorPaletteLightTealBorderActive,wl as colorPaletteLightTealForeground2,Sl as colorPaletteLilacBackground2,Hb as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Bl as colorPaletteMagentaBackground2,Vb as colorPaletteMagentaBorderActive,Pl as colorPaletteMagentaForeground2,hb as colorPaletteMarigoldBackground1,$i as colorPaletteMarigoldBackground2,ub as colorPaletteMarigoldBackground3,pb as colorPaletteMarigoldBorder1,gb as colorPaletteMarigoldBorder2,Ua as colorPaletteMarigoldBorderActive,fb as colorPaletteMarigoldForeground1,Ka as colorPaletteMarigoldForeground2,bb as colorPaletteMarigoldForeground3,Il as colorPaletteMinkBackground2,Rb as colorPaletteMinkBorderActive,Al as colorPaletteMinkForeground2,Nl as colorPaletteNavyBackground2,jb as colorPaletteNavyBorderActive,Tl as colorPaletteNavyForeground2,zl as colorPalettePeachBackground2,qb as colorPalettePeachBorderActive,_l as colorPalettePeachForeground2,Ol as colorPalettePinkBackground2,Wb as colorPalettePinkBorderActive,Fl as colorPalettePinkForeground2,El as colorPalettePlatinumBackground2,Gb as colorPalettePlatinumBorderActive,Dl as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Xb as colorPalettePlumBorderActive,Ml as colorPalettePlumForeground2,Hl as colorPalettePumpkinBackground2,Ub as colorPalettePumpkinBorderActive,Vl as colorPalettePumpkinForeground2,Rl as colorPalettePurpleBackground2,Kb as colorPalettePurpleBorderActive,jl as colorPalettePurpleForeground2,ci as colorPaletteRedBackground1,Da as colorPaletteRedBackground2,di as colorPaletteRedBackground3,hi as colorPaletteRedBorder1,Mr as colorPaletteRedBorder2,Vf as colorPaletteRedBorderActive,Hr as colorPaletteRedForeground1,La as colorPaletteRedForeground2,ui as colorPaletteRedForeground3,Rf as colorPaletteRedForegroundInverted,ql as colorPaletteRoyalBlueBackground2,Yb as colorPaletteRoyalBlueBorderActive,Wl as colorPaletteRoyalBlueForeground2,Gl as colorPaletteSeafoamBackground2,Jb as colorPaletteSeafoamBorderActive,Xl as colorPaletteSeafoamForeground2,Ul as colorPaletteSteelBackground2,Zb as colorPaletteSteelBorderActive,Kl as colorPaletteSteelForeground2,Yl as colorPaletteTealBackground2,Qb as colorPaletteTealBorderActive,Jl as colorPaletteTealForeground2,Wa as colorPaletteYellowBackground1,Yf as colorPaletteYellowBackground2,Ga as colorPaletteYellowBackground3,Xa as colorPaletteYellowBorder1,Zf as colorPaletteYellowBorder2,Jf as colorPaletteYellowBorderActive,Qf as colorPaletteYellowForeground1,Vr as colorPaletteYellowForeground2,eb as colorPaletteYellowForeground3,tb as colorPaletteYellowForegroundInverted,tf as colorScrollbarOverlay,ym as colorStatusDangerBackground1,km as colorStatusDangerBackground2,xm as colorStatusDangerBackground3,wm as colorStatusDangerBackground3Hover,Sm as colorStatusDangerBackground3Pressed,Nm as colorStatusDangerBorder1,Tm as colorStatusDangerBorder2,Am as colorStatusDangerBorderActive,Cm as colorStatusDangerForeground1,Bm as colorStatusDangerForeground2,Pm as colorStatusDangerForeground3,Im as colorStatusDangerForegroundInverted,em as colorStatusSuccessBackground1,tm as colorStatusSuccessBackground2,om as colorStatusSuccessBackground3,lm as colorStatusSuccessBorder1,cm as colorStatusSuccessBorder2,am as colorStatusSuccessBorderActive,rm as colorStatusSuccessForeground1,nm as colorStatusSuccessForeground2,im as colorStatusSuccessForeground3,sm as colorStatusSuccessForegroundInverted,dm as colorStatusWarningBackground1,hm as colorStatusWarningBackground2,um as colorStatusWarningBackground3,vm as colorStatusWarningBorder1,$m as colorStatusWarningBorder2,mm as colorStatusWarningBorderActive,pm as colorStatusWarningForeground1,gm as colorStatusWarningForeground2,fm as colorStatusWarningForeground3,bm as colorStatusWarningForegroundInverted,Mo as colorStrokeFocus1,ae as colorStrokeFocus2,Zn as colorSubtleBackground,Eo as colorSubtleBackgroundHover,Wg as colorSubtleBackgroundInverted,Gg as colorSubtleBackgroundInvertedHover,Xg as colorSubtleBackgroundInvertedPressed,Ug as colorSubtleBackgroundInvertedSelected,Ia as colorSubtleBackgroundLightAlphaHover,Aa as colorSubtleBackgroundLightAlphaPressed,Na as colorSubtleBackgroundLightAlphaSelected,ro as colorSubtleBackgroundPressed,Qn as colorSubtleBackgroundSelected,de as colorTransparentBackground,Do as colorTransparentBackgroundHover,Lo as colorTransparentBackgroundPressed,ei as colorTransparentBackgroundSelected,K as colorTransparentStroke,zf as colorTransparentStrokeDisabled,Lr as colorTransparentStrokeInteractive,lc as curveAccelerateMax,vt as curveAccelerateMid,cc as curveAccelerateMin,_i as curveDecelerateMax,$t as curveDecelerateMid,dc as curveDecelerateMin,Zo as curveEasyEase,Oi as curveEasyEaseMax,Kr as curveLinear,w as display,Id as dropdownButtonTemplate,Pd as dropdownInputTemplate,Gm as durationFast,Ko as durationFaster,Ur as durationGentle,Yo as durationNormal,ac as durationSlow,zi as durationSlower,Xr as durationUltraFast,Jo as durationUltraSlow,at as endSlotTemplate,$ as fontFamilyBase,Zl as fontFamilyMonospace,Ql as fontFamilyNumeric,so as fontSizeBase100,D as fontSizeBase200,_ as fontSizeBase300,ue as fontSizeBase400,Lt as fontSizeBase500,Vo as fontSizeBase600,Ci as fontSizeHero1000,xi as fontSizeHero700,wi as fontSizeHero800,Si as fontSizeHero900,Ro as fontWeightBold,ec as fontWeightMedium,O as fontWeightRegular,H as fontWeightSemibold,Ui as getDirection,Ri as isDialog,yy as isDropdown,Ct as isDropdownOption,Xi as isListbox,ns as isTab,jo as lineHeightBase100,j as lineHeightBase200,L as lineHeightBase300,ve as lineHeightBase400,qo as lineHeightBase500,Bi as lineHeightBase600,Ni as lineHeightHero1000,Pi as lineHeightHero700,Ii as lineHeightHero800,Ai as lineHeightHero900,Kd as listboxTemplate,l0 as roleForMenuItem,_u as setTheme,jr as shadow16,Hm as shadow16Brand,Rr as shadow2,oc as shadow28,Vm as shadow28Brand,Dm as shadow2Brand,Wo as shadow4,Lm as shadow4Brand,Ti as shadow64,Rm as shadow64Brand,tc as shadow8,Mm as shadow8Brand,rc as spacingHorizontalL,J as spacingHorizontalM,_e as spacingHorizontalMNudge,jm as spacingHorizontalNone,ze as spacingHorizontalS,$e as spacingHorizontalSNudge,nc as spacingHorizontalXL,ee as spacingHorizontalXS,Go as spacingHorizontalXXL,V as spacingHorizontalXXS,qm as spacingHorizontalXXXL,Gr as spacingVerticalL,ic as spacingVerticalM,Uo as spacingVerticalMNudge,Wr as spacingVerticalNone,te as spacingVerticalS,ao as spacingVerticalSNudge,Wm as spacingVerticalXL,Mt as spacingVerticalXS,mt as spacingVerticalXXL,Xo as spacingVerticalXXS,sc as spacingVerticalXXXL,je as startSlotTemplate,pe as strokeWidthThick,Pe as strokeWidthThicker,qr as strokeWidthThickest,P as strokeWidthThin,sy as typographyBody1StrongStyles,ay as typographyBody1StrongerStyles,Wi as typographyBody1Styles,$d as typographyBody2Styles,ly as typographyCaption1StrongStyles,cy as typographyCaption1StrongerStyles,Gi as typographyCaption1Styles,hy as typographyCaption2StrongStyles,dy as typographyCaption2Styles,vy as typographyDisplayStyles,my as typographyLargeTitleStyles,yd as typographySubtitle1Styles,py as typographySubtitle2StrongerStyles,uy as typographySubtitle2Styles,gy as typographyTitle1Styles,fy as typographyTitle2Styles,by as typographyTitle3Styles,Xm as zIndexBackground,Um as zIndexContent,ev as zIndexDebug,Zm as zIndexFloating,Jm as zIndexMessages,Km as zIndexOverlay,Ym as zIndexPopup,Qm as zIndexPriority};
|