@fluentui/web-components 3.0.0-beta.3 → 3.0.0-beta.5

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.
@@ -1,19 +1,19 @@
1
- function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function t(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(jh){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,n=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,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(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function A(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class F extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new F(e,t)}let L;p(F);class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(L),this._strategy}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)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){L=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>E(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(M);const R=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${R}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new M(A(s),V()).createCSS(n):s instanceof T?s=new M(s,V()).createCSS(n):void 0!==D.getForInstance(s)&&(s=s.createCSS(n)),s instanceof N||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new N(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}D.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,U=W.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}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}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 o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(A(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,a=Ce(t),n=Ce(o);return(e,t)=>r(e,t)?a(e,t):n(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ie extends te{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,d),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}}class Ae extends Ie{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Fe(e){return a(e)&&(e={property:e}),new Ae(e)}ee.define(Ae);const ze=Object.freeze({locate:u()}),Le={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Le)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Re={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class _e{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=De.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=N.normalize(t.styles),Ve.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return He.has(e)||Ve.getByType(e)?new _e(class extends e{},t):new _e(e,t)}static registerBaseType(e){He.add(e)}}_e.getByType=Ve.getByType,_e.getForInstance=Ve.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ge=new WeakMap;function qe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ge.get(e))&&void 0!==o?o:null}let Xe;class We extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ge.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=qe(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=_e.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new Xe(e,o)}static setStrategy(e){Xe=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(We),We.setStrategy(We);class Ye{constructor(e){const t=Ye.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ue(e),this.sheets)}removeStylesFrom(e){et(Ue(e),this.sheets)}}Ye.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ue(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ue(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(N.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(jh){}N.setDefaultStrategy(Ye)}else N.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),We.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return _e.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?_e.compose(e,t).define().type:_e.compose(this,e).define().type},compose:function(e,t){return i(e)?_e.compose(e,t):_e.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const at={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var nt;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(nt||(nt={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return xe`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof ft&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof ft&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class kt extends yt{}const xt=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?nt.rtl:nt.ltr};class wt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new wt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Pt=j`
1
+ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function t(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(jh){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,n=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,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(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function A(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class F extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new F(e,t)}let L;p(F);class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(L),this._strategy}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)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){L=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>E(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(M);const R=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${R}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new M(A(s),V()).createCSS(n):s instanceof T?s=new M(s,V()).createCSS(n):void 0!==D.getForInstance(s)&&(s=s.createCSS(n)),s instanceof N||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new N(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}D.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),W=q+"{",X="}"+q,U=X.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${W}${e}${X}`,attribute:e=>`${K()}="${W}${e}${X}"`,comment:e=>`\x3c!--${W}${e}${X}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(X);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}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}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 o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(A(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,a=Ce(t),n=Ce(o);return(e,t)=>r(e,t)?a(e,t):n(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ie extends te{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,d),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}}class Ae extends Ie{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Fe(e){return a(e)&&(e={property:e}),new Ae(e)}ee.define(Ae);const ze=Object.freeze({locate:u()}),Le={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Le)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Re={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class _e{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=De.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=N.normalize(t.styles),Ve.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return He.has(e)||Ve.getByType(e)?new _e(class extends e{},t):new _e(e,t)}static registerBaseType(e){He.add(e)}}_e.getByType=Ve.getByType,_e.getForInstance=Ve.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ge=new WeakMap;function qe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ge.get(e))&&void 0!==o?o:null}let We;class Xe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ge.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=qe(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=_e.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(Xe),Xe.setStrategy(Xe);class Ye{constructor(e){const t=Ye.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ue(e),this.sheets)}removeStylesFrom(e){et(Ue(e),this.sheets)}}Ye.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ue(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ue(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(N.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(jh){}N.setDefaultStrategy(Ye)}else N.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return _e.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?_e.compose(e,t).define().type:_e.compose(this,e).define().type},compose:function(e,t){return i(e)?_e.compose(e,t):_e.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const at={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var nt;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(nt||(nt={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return xe`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof ft&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof ft&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class kt extends yt{}const xt=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?nt.rtl:nt.ltr};class wt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new wt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Pt=j`
2
2
  ${Ct("flex")}
3
3
 
4
- :host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),It=kt.compose({name:Tt.prefix+"-accordion",template:xt,styles:Pt});var At=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ft(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&At(t,o,a),a};class Lt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Lt.prototype,"size",2),zt([Ee({mode:"boolean"})],Lt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Lt.prototype,"expandIconPosition",2);const Nt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,a;const n=e;n.id=null!==(o=n.id)&&void 0!==o?o:K(),n.targetNodeId=null!==(r=n.targetNodeId)&&void 0!==r?r:K(),n.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,n.policy=null!==(a=n.policy)&&void 0!==a?a:y.policy,this.addTarget(n.targetNodeId,t),this.addBehavior(n.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Et.cache=new WeakMap;class Mt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Rt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ht.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),a=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Rt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Rt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Rt(this,2,o));Ht.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),a=Ht.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ht.queueNotification(new Rt(this,o,e,t)),this.dispatch(new Rt(this,o,e,t)),a.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Rt(this,1,t,e.evaluator.value)),this.dispatch(new Rt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Rt(this,2,e)),t!==o&&this.dispatch(new Rt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ht.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Rt(this,2,i))),n&&(e=new Rt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Rt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Rt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Mt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Rt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class _t extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class jt extends Vt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Gt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}e([C],Gt.prototype,"target",void 0);class qt{setProperty(e,t){qt.properties[e]=t;for(const o of qt.roots.values())o.setProperty(e,t)}removeProperty(e){delete qt.properties[e];for(const t of qt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=qt;if(!t.has(e)){t.add(e);for(const t in qt.properties)e.setProperty(t,qt.properties[t])}}static unregisterRoot(e){const{roots:t}=qt;if(t.has(e)){t.delete(e);for(const t in qt.properties)e.removeProperty(t)}}}qt.roots=new Set,qt.properties={};const Xt=new WeakMap,Wt=N.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:Gt,Ut=Object.freeze({getOrCreate(e){if(Xt.has(e))return Xt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new _t:new jt:new Wt(e),Xt.set(e,t),t}});class Yt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Kt({name:e,cssCustomPropertyName:e}):Yt.isCSSDesignTokenConfiguration(e)?new Kt(e):new Yt(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof Yt&&(e=this.alias(e)),e}}let Kt=class extends Yt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Ut.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Qt;Kt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Kt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new qt,Jt.cache=new WeakMap;const{create:eo}=Yt,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),ao=eo("borderRadiusXLarge"),no=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),ko=eo("lineHeightBase300"),xo=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Io=eo("fontFamilyMonospace"),Ao=eo("fontFamilyNumeric"),Fo=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),Lo=eo("fontWeightSemibold"),No=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Mo=eo("strokeWidthThickest"),Ro=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),_o=eo("spacingHorizontalSNudge"),jo=eo("spacingHorizontalS"),Go=eo("spacingHorizontalMNudge"),qo=eo("spacingHorizontalM"),Xo=eo("spacingHorizontalL"),Wo=eo("spacingHorizontalXL"),Uo=eo("spacingHorizontalXXL"),Yo=eo("spacingHorizontalXXXL"),Ko=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),ar=eo("spacingVerticalXXL"),nr=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),kr=eo("curveEasyEaseMax"),xr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Ir=eo("colorNeutralForeground2Pressed"),Ar=eo("colorNeutralForeground2Selected"),Fr=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Lr=eo("colorNeutralForeground2BrandSelected"),Nr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Mr=eo("colorNeutralForeground3BrandHover"),Rr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),_r=eo("colorNeutralForegroundDisabled"),jr=eo("colorNeutralForegroundInvertedDisabled"),Gr=eo("colorBrandForegroundLink"),qr=eo("colorBrandForegroundLinkHover"),Xr=eo("colorBrandForegroundLinkPressed"),Wr=eo("colorBrandForegroundLinkSelected"),Ur=eo("colorNeutralForeground2Link"),Yr=eo("colorNeutralForeground2LinkHover"),Kr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ai=eo("colorNeutralForegroundInverted"),ni=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),ki=eo("colorBrandForegroundOnLightPressed"),xi=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Ii=eo("colorNeutralBackground2Selected"),Ai=eo("colorNeutralBackground3"),Fi=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Li=eo("colorNeutralBackground3Selected"),Ni=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Mi=eo("colorNeutralBackground5"),Ri=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),_i=eo("colorNeutralBackground6"),ji=eo("colorNeutralBackgroundInverted"),Gi=eo("colorNeutralBackgroundStatic"),qi=eo("colorSubtleBackground"),Xi=eo("colorSubtleBackgroundHover"),Wi=eo("colorSubtleBackgroundPressed"),Ui=eo("colorSubtleBackgroundSelected"),Yi=eo("colorSubtleBackgroundLightAlphaHover"),Ki=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),ea=eo("colorSubtleBackgroundInvertedPressed"),ta=eo("colorSubtleBackgroundInvertedSelected"),oa=eo("colorTransparentBackground"),ra=eo("colorTransparentBackgroundHover"),ia=eo("colorTransparentBackgroundPressed"),aa=eo("colorTransparentBackgroundSelected"),na=eo("colorNeutralBackgroundDisabled"),sa=eo("colorNeutralBackgroundInvertedDisabled"),la=eo("colorNeutralStencil1"),ca=eo("colorNeutralStencil2"),da=eo("colorNeutralStencil1Alpha"),ha=eo("colorNeutralStencil2Alpha"),ua=eo("colorBackgroundOverlay"),pa=eo("colorScrollbarOverlay"),ga=eo("colorBrandBackground"),ba=eo("colorBrandBackgroundHover"),fa=eo("colorBrandBackgroundPressed"),ma=eo("colorBrandBackgroundSelected"),va=eo("colorCompoundBrandBackground"),ya=eo("colorCompoundBrandBackgroundHover"),ka=eo("colorCompoundBrandBackgroundPressed"),xa=eo("colorBrandBackgroundStatic"),$a=eo("colorBrandBackground2"),wa=eo("colorBrandBackgroundInverted"),Ba=eo("colorBrandBackgroundInvertedHover"),Ca=eo("colorBrandBackgroundInvertedPressed"),Sa=eo("colorBrandBackgroundInvertedSelected"),Pa=eo("colorNeutralStrokeAccessible"),Ta=eo("colorNeutralStrokeAccessibleHover"),Ia=eo("colorNeutralStrokeAccessiblePressed"),Aa=eo("colorNeutralStrokeAccessibleSelected"),Fa=eo("colorNeutralStroke1"),za=eo("colorNeutralStroke1Hover"),La=eo("colorNeutralStroke1Pressed"),Na=eo("colorNeutralStroke1Selected"),Oa=eo("colorNeutralStroke2"),Da=eo("colorNeutralStroke3"),Ea=eo("colorNeutralStrokeOnBrand"),Ma=eo("colorNeutralStrokeOnBrand2"),Ra=eo("colorNeutralStrokeOnBrand2Hover"),Ha=eo("colorNeutralStrokeOnBrand2Pressed"),Va=eo("colorNeutralStrokeOnBrand2Selected"),_a=eo("colorBrandStroke1"),ja=eo("colorBrandStroke2"),Ga=eo("colorCompoundBrandStroke"),qa=eo("colorCompoundBrandStrokeHover"),Xa=eo("colorCompoundBrandStrokePressed"),Wa=eo("colorNeutralStrokeDisabled"),Ua=eo("colorNeutralStrokeInvertedDisabled"),Ya=eo("colorTransparentStroke"),Ka=eo("colorTransparentStrokeInteractive"),Qa=eo("colorTransparentStrokeDisabled"),Za=eo("colorStrokeFocus1"),Ja=eo("colorStrokeFocus2"),en=eo("colorNeutralShadowAmbient"),tn=eo("colorNeutralShadowKey"),on=eo("colorNeutralShadowAmbientLighter"),rn=eo("colorNeutralShadowKeyLighter"),an=eo("colorNeutralShadowAmbientDarker"),nn=eo("colorNeutralShadowKeyDarker"),sn=eo("colorBrandShadowAmbient"),ln=eo("colorBrandShadowKey"),cn=eo("colorPaletteRedBackground1"),dn=eo("colorPaletteRedBackground2"),hn=eo("colorPaletteRedBackground3"),un=eo("colorPaletteRedForeground1"),pn=eo("colorPaletteRedForeground2"),gn=eo("colorPaletteRedForeground3"),bn=eo("colorPaletteRedBorderActive"),fn=eo("colorPaletteRedBorder1"),mn=eo("colorPaletteRedBorder2"),vn=eo("colorPaletteGreenBackground1"),yn=eo("colorPaletteGreenBackground2"),kn=eo("colorPaletteGreenBackground3"),xn=eo("colorPaletteGreenForeground1"),$n=eo("colorPaletteGreenForeground2"),wn=eo("colorPaletteGreenForeground3"),Bn=eo("colorPaletteGreenBorderActive"),Cn=eo("colorPaletteGreenBorder1"),Sn=eo("colorPaletteGreenBorder2"),Pn=eo("colorPaletteDarkOrangeBackground1"),Tn=eo("colorPaletteDarkOrangeBackground2"),In=eo("colorPaletteDarkOrangeBackground3"),An=eo("colorPaletteDarkOrangeForeground1"),Fn=eo("colorPaletteDarkOrangeForeground2"),zn=eo("colorPaletteDarkOrangeForeground3"),Ln=eo("colorPaletteDarkOrangeBorderActive"),Nn=eo("colorPaletteDarkOrangeBorder1"),On=eo("colorPaletteDarkOrangeBorder2"),Dn=eo("colorPaletteYellowBackground1"),En=eo("colorPaletteYellowBackground2"),Mn=eo("colorPaletteYellowBackground3"),Rn=eo("colorPaletteYellowForeground1"),Hn=eo("colorPaletteYellowForeground2"),Vn=eo("colorPaletteYellowForeground3"),_n=eo("colorPaletteYellowBorderActive"),jn=eo("colorPaletteYellowBorder1"),Gn=eo("colorPaletteYellowBorder2"),qn=eo("colorPaletteBerryBackground1"),Xn=eo("colorPaletteBerryBackground2"),Wn=eo("colorPaletteBerryBackground3"),Un=eo("colorPaletteBerryForeground1"),Yn=eo("colorPaletteBerryForeground2"),Kn=eo("colorPaletteBerryForeground3"),Qn=eo("colorPaletteBerryBorderActive"),Zn=eo("colorPaletteBerryBorder1"),Jn=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),as=eo("colorPaletteLightGreenForeground3"),ns=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),ks=eo("colorPaletteDarkRedBorderActive"),xs=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Is=eo("colorPalettePeachBorderActive"),As=eo("colorPaletteGoldBackground2"),Fs=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ls=eo("colorPaletteBrassBackground2"),Ns=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Ms=eo("colorPaletteBrownBorderActive"),Rs=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),_s=eo("colorPaletteSeafoamBackground2"),js=eo("colorPaletteSeafoamForeground2"),Gs=eo("colorPaletteSeafoamBorderActive"),qs=eo("colorPaletteDarkGreenBackground2"),Xs=eo("colorPaletteDarkGreenForeground2"),Ws=eo("colorPaletteDarkGreenBorderActive"),Us=eo("colorPaletteLightTealBackground2"),Ys=eo("colorPaletteLightTealForeground2"),Ks=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),al=eo("colorPaletteBlueBorderActive"),nl=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),kl=eo("colorPalettePurpleBorderActive"),xl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Il=eo("colorPalettePinkBorderActive"),Al=eo("colorPaletteMagentaBackground2"),Fl=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Ll=eo("colorPalettePlumBackground2"),Nl=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Ml=eo("colorPaletteBeigeBorderActive"),Rl=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),_l=eo("colorPalettePlatinumBackground2"),jl=eo("colorPalettePlatinumForeground2"),Gl=eo("colorPalettePlatinumBorderActive"),ql=eo("colorPaletteAnchorBackground2"),Xl=eo("colorPaletteAnchorForeground2"),Wl=eo("colorPaletteAnchorBorderActive"),Ul=eo("colorPaletteRedForegroundInverted"),Yl=eo("colorPaletteGreenForegroundInverted"),Kl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),ac=eo("shadow8Brand"),nc=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:ao,borderRadiusCircular:no,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:ko,lineHeightBase400:xo,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Io,fontFamilyNumeric:Ao,fontWeightRegular:Fo,fontWeightMedium:zo,fontWeightSemibold:Lo,fontWeightBold:No,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Mo,spacingHorizontalNone:Ro,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:_o,spacingHorizontalS:jo,spacingHorizontalMNudge:Go,spacingHorizontalM:qo,spacingHorizontalL:Xo,spacingHorizontalXL:Wo,spacingHorizontalXXL:Uo,spacingHorizontalXXXL:Yo,spacingVerticalNone:Ko,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:ar,spacingVerticalXXXL:nr,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:kr,curveEasyEase:xr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Ir,colorNeutralForeground2Selected:Ar,colorNeutralForeground2BrandHover:Fr,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Lr,colorNeutralForeground3:Nr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Mr,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:_r,colorNeutralForegroundInvertedDisabled:jr,colorBrandForegroundLink:Gr,colorBrandForegroundLinkHover:qr,colorBrandForegroundLinkPressed:Xr,colorBrandForegroundLinkSelected:Wr,colorNeutralForeground2Link:Ur,colorNeutralForeground2LinkHover:Yr,colorNeutralForeground2LinkPressed:Kr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:ni,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:ki,colorBrandForegroundOnLightSelected:xi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Ii,colorNeutralBackground3:Ai,colorNeutralBackground3Hover:Fi,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Li,colorNeutralBackground4:Ni,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Mi,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:_i,colorNeutralBackgroundInverted:ji,colorNeutralBackgroundStatic:Gi,colorSubtleBackground:qi,colorSubtleBackgroundHover:Xi,colorSubtleBackgroundPressed:Wi,colorSubtleBackgroundSelected:Ui,colorSubtleBackgroundLightAlphaHover:Yi,colorSubtleBackgroundLightAlphaPressed:Ki,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:ea,colorSubtleBackgroundInvertedSelected:ta,colorTransparentBackground:oa,colorTransparentBackgroundHover:ra,colorTransparentBackgroundPressed:ia,colorTransparentBackgroundSelected:aa,colorNeutralBackgroundDisabled:na,colorNeutralBackgroundInvertedDisabled:sa,colorNeutralStencil1:la,colorNeutralStencil2:ca,colorNeutralStencil1Alpha:da,colorNeutralStencil2Alpha:ha,colorBackgroundOverlay:ua,colorScrollbarOverlay:pa,colorBrandBackground:ga,colorBrandBackgroundHover:ba,colorBrandBackgroundPressed:fa,colorBrandBackgroundSelected:ma,colorCompoundBrandBackground:va,colorCompoundBrandBackgroundHover:ya,colorCompoundBrandBackgroundPressed:ka,colorBrandBackgroundStatic:xa,colorBrandBackground2:$a,colorBrandBackgroundInverted:wa,colorBrandBackgroundInvertedHover:Ba,colorBrandBackgroundInvertedPressed:Ca,colorBrandBackgroundInvertedSelected:Sa,colorNeutralStrokeAccessible:Pa,colorNeutralStrokeAccessibleHover:Ta,colorNeutralStrokeAccessiblePressed:Ia,colorNeutralStrokeAccessibleSelected:Aa,colorNeutralStroke1:Fa,colorNeutralStroke1Hover:za,colorNeutralStroke1Pressed:La,colorNeutralStroke1Selected:Na,colorNeutralStroke2:Oa,colorNeutralStroke3:Da,colorNeutralStrokeOnBrand:Ea,colorNeutralStrokeOnBrand2:Ma,colorNeutralStrokeOnBrand2Hover:Ra,colorNeutralStrokeOnBrand2Pressed:Ha,colorNeutralStrokeOnBrand2Selected:Va,colorBrandStroke1:_a,colorBrandStroke2:ja,colorCompoundBrandStroke:Ga,colorCompoundBrandStrokeHover:qa,colorCompoundBrandStrokePressed:Xa,colorNeutralStrokeDisabled:Wa,colorNeutralStrokeInvertedDisabled:Ua,colorTransparentStroke:Ya,colorTransparentStrokeInteractive:Ka,colorTransparentStrokeDisabled:Qa,colorStrokeFocus1:Za,colorStrokeFocus2:Ja,colorNeutralShadowAmbient:en,colorNeutralShadowKey:tn,colorNeutralShadowAmbientLighter:on,colorNeutralShadowKeyLighter:rn,colorNeutralShadowAmbientDarker:an,colorNeutralShadowKeyDarker:nn,colorBrandShadowAmbient:sn,colorBrandShadowKey:ln,colorPaletteRedBackground1:cn,colorPaletteRedBackground2:dn,colorPaletteRedBackground3:hn,colorPaletteRedForeground1:un,colorPaletteRedForeground2:pn,colorPaletteRedForeground3:gn,colorPaletteRedBorderActive:bn,colorPaletteRedBorder1:fn,colorPaletteRedBorder2:mn,colorPaletteGreenBackground1:vn,colorPaletteGreenBackground2:yn,colorPaletteGreenBackground3:kn,colorPaletteGreenForeground1:xn,colorPaletteGreenForeground2:$n,colorPaletteGreenForeground3:wn,colorPaletteGreenBorderActive:Bn,colorPaletteGreenBorder1:Cn,colorPaletteGreenBorder2:Sn,colorPaletteDarkOrangeBackground1:Pn,colorPaletteDarkOrangeBackground2:Tn,colorPaletteDarkOrangeBackground3:In,colorPaletteDarkOrangeForeground1:An,colorPaletteDarkOrangeForeground2:Fn,colorPaletteDarkOrangeForeground3:zn,colorPaletteDarkOrangeBorderActive:Ln,colorPaletteDarkOrangeBorder1:Nn,colorPaletteDarkOrangeBorder2:On,colorPaletteYellowBackground1:Dn,colorPaletteYellowBackground2:En,colorPaletteYellowBackground3:Mn,colorPaletteYellowForeground1:Rn,colorPaletteYellowForeground2:Hn,colorPaletteYellowForeground3:Vn,colorPaletteYellowBorderActive:_n,colorPaletteYellowBorder1:jn,colorPaletteYellowBorder2:Gn,colorPaletteBerryBackground1:qn,colorPaletteBerryBackground2:Xn,colorPaletteBerryBackground3:Wn,colorPaletteBerryForeground1:Un,colorPaletteBerryForeground2:Yn,colorPaletteBerryForeground3:Kn,colorPaletteBerryBorderActive:Qn,colorPaletteBerryBorder1:Zn,colorPaletteBerryBorder2:Jn,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:as,colorPaletteLightGreenBorderActive:ns,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:ks,colorPaletteCranberryBackground2:xs,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Is,colorPaletteGoldBackground2:As,colorPaletteGoldForeground2:Fs,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ls,colorPaletteBrassForeground2:Ns,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Ms,colorPaletteForestBackground2:Rs,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:_s,colorPaletteSeafoamForeground2:js,colorPaletteSeafoamBorderActive:Gs,colorPaletteDarkGreenBackground2:qs,colorPaletteDarkGreenForeground2:Xs,colorPaletteDarkGreenBorderActive:Ws,colorPaletteLightTealBackground2:Us,colorPaletteLightTealForeground2:Ys,colorPaletteLightTealBorderActive:Ks,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:nl,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:kl,colorPaletteGrapeBackground2:xl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Il,colorPaletteMagentaBackground2:Al,colorPaletteMagentaForeground2:Fl,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Ll,colorPalettePlumForeground2:Nl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Ml,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:_l,colorPalettePlatinumForeground2:jl,colorPalettePlatinumBorderActive:Gl,colorPaletteAnchorBackground2:ql,colorPaletteAnchorForeground2:Xl,colorPaletteAnchorBorderActive:Wl,colorPaletteRedForegroundInverted:Ul,colorPaletteGreenForegroundInverted:Yl,colorPaletteYellowForegroundInverted:Kl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:ac,shadow16Brand:nc,shadow28Brand:sc,shadow64Brand:lc});const dc=j`
4
+ :host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),It=kt.compose({name:Tt.prefix+"-accordion",template:xt,styles:Pt});var At=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ft(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&At(t,o,a),a};class Lt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Lt.prototype,"size",2),zt([Ee({mode:"boolean"})],Lt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Lt.prototype,"expandIconPosition",2);const Nt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,a;const n=e;n.id=null!==(o=n.id)&&void 0!==o?o:K(),n.targetNodeId=null!==(r=n.targetNodeId)&&void 0!==r?r:K(),n.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,n.policy=null!==(a=n.policy)&&void 0!==a?a:y.policy,this.addTarget(n.targetNodeId,t),this.addBehavior(n.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Et.cache=new WeakMap;class Mt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Rt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ht.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),a=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Rt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Rt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Rt(this,2,o));Ht.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),a=Ht.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ht.queueNotification(new Rt(this,o,e,t)),this.dispatch(new Rt(this,o,e,t)),a.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Rt(this,1,t,e.evaluator.value)),this.dispatch(new Rt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Rt(this,2,e)),t!==o&&this.dispatch(new Rt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ht.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Rt(this,2,i))),n&&(e=new Rt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Rt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Rt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Mt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Rt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class _t extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class jt extends Vt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Gt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}e([C],Gt.prototype,"target",void 0);class qt{setProperty(e,t){qt.properties[e]=t;for(const o of qt.roots.values())o.setProperty(e,t)}removeProperty(e){delete qt.properties[e];for(const t of qt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=qt;if(!t.has(e)){t.add(e);for(const t in qt.properties)e.setProperty(t,qt.properties[t])}}static unregisterRoot(e){const{roots:t}=qt;if(t.has(e)){t.delete(e);for(const t in qt.properties)e.removeProperty(t)}}}qt.roots=new Set,qt.properties={};const Wt=new WeakMap,Xt=N.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:Gt,Ut=Object.freeze({getOrCreate(e){if(Wt.has(e))return Wt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new _t:new jt:new Xt(e),Wt.set(e,t),t}});class Yt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Kt({name:e,cssCustomPropertyName:e}):Yt.isCSSDesignTokenConfiguration(e)?new Kt(e):new Yt(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof Yt&&(e=this.alias(e)),e}}let Kt=class extends Yt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Ut.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Qt;Kt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Kt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new qt,Jt.cache=new WeakMap;const{create:eo}=Yt,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),ao=eo("borderRadiusXLarge"),no=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),ko=eo("lineHeightBase300"),xo=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Io=eo("fontFamilyMonospace"),Ao=eo("fontFamilyNumeric"),Fo=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),Lo=eo("fontWeightSemibold"),No=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Mo=eo("strokeWidthThickest"),Ro=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),_o=eo("spacingHorizontalSNudge"),jo=eo("spacingHorizontalS"),Go=eo("spacingHorizontalMNudge"),qo=eo("spacingHorizontalM"),Wo=eo("spacingHorizontalL"),Xo=eo("spacingHorizontalXL"),Uo=eo("spacingHorizontalXXL"),Yo=eo("spacingHorizontalXXXL"),Ko=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),ar=eo("spacingVerticalXXL"),nr=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),kr=eo("curveEasyEaseMax"),xr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Ir=eo("colorNeutralForeground2Pressed"),Ar=eo("colorNeutralForeground2Selected"),Fr=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Lr=eo("colorNeutralForeground2BrandSelected"),Nr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Mr=eo("colorNeutralForeground3BrandHover"),Rr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),_r=eo("colorNeutralForegroundDisabled"),jr=eo("colorNeutralForegroundInvertedDisabled"),Gr=eo("colorBrandForegroundLink"),qr=eo("colorBrandForegroundLinkHover"),Wr=eo("colorBrandForegroundLinkPressed"),Xr=eo("colorBrandForegroundLinkSelected"),Ur=eo("colorNeutralForeground2Link"),Yr=eo("colorNeutralForeground2LinkHover"),Kr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ai=eo("colorNeutralForegroundInverted"),ni=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),ki=eo("colorBrandForegroundOnLightPressed"),xi=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Ii=eo("colorNeutralBackground2Selected"),Ai=eo("colorNeutralBackground3"),Fi=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Li=eo("colorNeutralBackground3Selected"),Ni=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Mi=eo("colorNeutralBackground5"),Ri=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),_i=eo("colorNeutralBackground6"),ji=eo("colorNeutralBackgroundInverted"),Gi=eo("colorNeutralBackgroundStatic"),qi=eo("colorSubtleBackground"),Wi=eo("colorSubtleBackgroundHover"),Xi=eo("colorSubtleBackgroundPressed"),Ui=eo("colorSubtleBackgroundSelected"),Yi=eo("colorSubtleBackgroundLightAlphaHover"),Ki=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),ea=eo("colorSubtleBackgroundInvertedPressed"),ta=eo("colorSubtleBackgroundInvertedSelected"),oa=eo("colorTransparentBackground"),ra=eo("colorTransparentBackgroundHover"),ia=eo("colorTransparentBackgroundPressed"),aa=eo("colorTransparentBackgroundSelected"),na=eo("colorNeutralBackgroundDisabled"),sa=eo("colorNeutralBackgroundInvertedDisabled"),la=eo("colorNeutralStencil1"),ca=eo("colorNeutralStencil2"),da=eo("colorNeutralStencil1Alpha"),ha=eo("colorNeutralStencil2Alpha"),ua=eo("colorBackgroundOverlay"),pa=eo("colorScrollbarOverlay"),ga=eo("colorBrandBackground"),ba=eo("colorBrandBackgroundHover"),fa=eo("colorBrandBackgroundPressed"),ma=eo("colorBrandBackgroundSelected"),va=eo("colorCompoundBrandBackground"),ya=eo("colorCompoundBrandBackgroundHover"),ka=eo("colorCompoundBrandBackgroundPressed"),xa=eo("colorBrandBackgroundStatic"),$a=eo("colorBrandBackground2"),wa=eo("colorBrandBackgroundInverted"),Ba=eo("colorBrandBackgroundInvertedHover"),Ca=eo("colorBrandBackgroundInvertedPressed"),Sa=eo("colorBrandBackgroundInvertedSelected"),Pa=eo("colorNeutralStrokeAccessible"),Ta=eo("colorNeutralStrokeAccessibleHover"),Ia=eo("colorNeutralStrokeAccessiblePressed"),Aa=eo("colorNeutralStrokeAccessibleSelected"),Fa=eo("colorNeutralStroke1"),za=eo("colorNeutralStroke1Hover"),La=eo("colorNeutralStroke1Pressed"),Na=eo("colorNeutralStroke1Selected"),Oa=eo("colorNeutralStroke2"),Da=eo("colorNeutralStroke3"),Ea=eo("colorNeutralStrokeOnBrand"),Ma=eo("colorNeutralStrokeOnBrand2"),Ra=eo("colorNeutralStrokeOnBrand2Hover"),Ha=eo("colorNeutralStrokeOnBrand2Pressed"),Va=eo("colorNeutralStrokeOnBrand2Selected"),_a=eo("colorBrandStroke1"),ja=eo("colorBrandStroke2"),Ga=eo("colorCompoundBrandStroke"),qa=eo("colorCompoundBrandStrokeHover"),Wa=eo("colorCompoundBrandStrokePressed"),Xa=eo("colorNeutralStrokeDisabled"),Ua=eo("colorNeutralStrokeInvertedDisabled"),Ya=eo("colorTransparentStroke"),Ka=eo("colorTransparentStrokeInteractive"),Qa=eo("colorTransparentStrokeDisabled"),Za=eo("colorStrokeFocus1"),Ja=eo("colorStrokeFocus2"),en=eo("colorNeutralShadowAmbient"),tn=eo("colorNeutralShadowKey"),on=eo("colorNeutralShadowAmbientLighter"),rn=eo("colorNeutralShadowKeyLighter"),an=eo("colorNeutralShadowAmbientDarker"),nn=eo("colorNeutralShadowKeyDarker"),sn=eo("colorBrandShadowAmbient"),ln=eo("colorBrandShadowKey"),cn=eo("colorPaletteRedBackground1"),dn=eo("colorPaletteRedBackground2"),hn=eo("colorPaletteRedBackground3"),un=eo("colorPaletteRedForeground1"),pn=eo("colorPaletteRedForeground2"),gn=eo("colorPaletteRedForeground3"),bn=eo("colorPaletteRedBorderActive"),fn=eo("colorPaletteRedBorder1"),mn=eo("colorPaletteRedBorder2"),vn=eo("colorPaletteGreenBackground1"),yn=eo("colorPaletteGreenBackground2"),kn=eo("colorPaletteGreenBackground3"),xn=eo("colorPaletteGreenForeground1"),$n=eo("colorPaletteGreenForeground2"),wn=eo("colorPaletteGreenForeground3"),Bn=eo("colorPaletteGreenBorderActive"),Cn=eo("colorPaletteGreenBorder1"),Sn=eo("colorPaletteGreenBorder2"),Pn=eo("colorPaletteDarkOrangeBackground1"),Tn=eo("colorPaletteDarkOrangeBackground2"),In=eo("colorPaletteDarkOrangeBackground3"),An=eo("colorPaletteDarkOrangeForeground1"),Fn=eo("colorPaletteDarkOrangeForeground2"),zn=eo("colorPaletteDarkOrangeForeground3"),Ln=eo("colorPaletteDarkOrangeBorderActive"),Nn=eo("colorPaletteDarkOrangeBorder1"),On=eo("colorPaletteDarkOrangeBorder2"),Dn=eo("colorPaletteYellowBackground1"),En=eo("colorPaletteYellowBackground2"),Mn=eo("colorPaletteYellowBackground3"),Rn=eo("colorPaletteYellowForeground1"),Hn=eo("colorPaletteYellowForeground2"),Vn=eo("colorPaletteYellowForeground3"),_n=eo("colorPaletteYellowBorderActive"),jn=eo("colorPaletteYellowBorder1"),Gn=eo("colorPaletteYellowBorder2"),qn=eo("colorPaletteBerryBackground1"),Wn=eo("colorPaletteBerryBackground2"),Xn=eo("colorPaletteBerryBackground3"),Un=eo("colorPaletteBerryForeground1"),Yn=eo("colorPaletteBerryForeground2"),Kn=eo("colorPaletteBerryForeground3"),Qn=eo("colorPaletteBerryBorderActive"),Zn=eo("colorPaletteBerryBorder1"),Jn=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),as=eo("colorPaletteLightGreenForeground3"),ns=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),ks=eo("colorPaletteDarkRedBorderActive"),xs=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Is=eo("colorPalettePeachBorderActive"),As=eo("colorPaletteGoldBackground2"),Fs=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ls=eo("colorPaletteBrassBackground2"),Ns=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Ms=eo("colorPaletteBrownBorderActive"),Rs=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),_s=eo("colorPaletteSeafoamBackground2"),js=eo("colorPaletteSeafoamForeground2"),Gs=eo("colorPaletteSeafoamBorderActive"),qs=eo("colorPaletteDarkGreenBackground2"),Ws=eo("colorPaletteDarkGreenForeground2"),Xs=eo("colorPaletteDarkGreenBorderActive"),Us=eo("colorPaletteLightTealBackground2"),Ys=eo("colorPaletteLightTealForeground2"),Ks=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),al=eo("colorPaletteBlueBorderActive"),nl=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),kl=eo("colorPalettePurpleBorderActive"),xl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Il=eo("colorPalettePinkBorderActive"),Al=eo("colorPaletteMagentaBackground2"),Fl=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Ll=eo("colorPalettePlumBackground2"),Nl=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Ml=eo("colorPaletteBeigeBorderActive"),Rl=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),_l=eo("colorPalettePlatinumBackground2"),jl=eo("colorPalettePlatinumForeground2"),Gl=eo("colorPalettePlatinumBorderActive"),ql=eo("colorPaletteAnchorBackground2"),Wl=eo("colorPaletteAnchorForeground2"),Xl=eo("colorPaletteAnchorBorderActive"),Ul=eo("colorPaletteRedForegroundInverted"),Yl=eo("colorPaletteGreenForegroundInverted"),Kl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),ac=eo("shadow8Brand"),nc=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:ao,borderRadiusCircular:no,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:ko,lineHeightBase400:xo,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Io,fontFamilyNumeric:Ao,fontWeightRegular:Fo,fontWeightMedium:zo,fontWeightSemibold:Lo,fontWeightBold:No,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Mo,spacingHorizontalNone:Ro,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:_o,spacingHorizontalS:jo,spacingHorizontalMNudge:Go,spacingHorizontalM:qo,spacingHorizontalL:Wo,spacingHorizontalXL:Xo,spacingHorizontalXXL:Uo,spacingHorizontalXXXL:Yo,spacingVerticalNone:Ko,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:ar,spacingVerticalXXXL:nr,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:kr,curveEasyEase:xr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Ir,colorNeutralForeground2Selected:Ar,colorNeutralForeground2BrandHover:Fr,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Lr,colorNeutralForeground3:Nr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Mr,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:_r,colorNeutralForegroundInvertedDisabled:jr,colorBrandForegroundLink:Gr,colorBrandForegroundLinkHover:qr,colorBrandForegroundLinkPressed:Wr,colorBrandForegroundLinkSelected:Xr,colorNeutralForeground2Link:Ur,colorNeutralForeground2LinkHover:Yr,colorNeutralForeground2LinkPressed:Kr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:ni,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:ki,colorBrandForegroundOnLightSelected:xi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Ii,colorNeutralBackground3:Ai,colorNeutralBackground3Hover:Fi,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Li,colorNeutralBackground4:Ni,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Mi,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:_i,colorNeutralBackgroundInverted:ji,colorNeutralBackgroundStatic:Gi,colorSubtleBackground:qi,colorSubtleBackgroundHover:Wi,colorSubtleBackgroundPressed:Xi,colorSubtleBackgroundSelected:Ui,colorSubtleBackgroundLightAlphaHover:Yi,colorSubtleBackgroundLightAlphaPressed:Ki,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:ea,colorSubtleBackgroundInvertedSelected:ta,colorTransparentBackground:oa,colorTransparentBackgroundHover:ra,colorTransparentBackgroundPressed:ia,colorTransparentBackgroundSelected:aa,colorNeutralBackgroundDisabled:na,colorNeutralBackgroundInvertedDisabled:sa,colorNeutralStencil1:la,colorNeutralStencil2:ca,colorNeutralStencil1Alpha:da,colorNeutralStencil2Alpha:ha,colorBackgroundOverlay:ua,colorScrollbarOverlay:pa,colorBrandBackground:ga,colorBrandBackgroundHover:ba,colorBrandBackgroundPressed:fa,colorBrandBackgroundSelected:ma,colorCompoundBrandBackground:va,colorCompoundBrandBackgroundHover:ya,colorCompoundBrandBackgroundPressed:ka,colorBrandBackgroundStatic:xa,colorBrandBackground2:$a,colorBrandBackgroundInverted:wa,colorBrandBackgroundInvertedHover:Ba,colorBrandBackgroundInvertedPressed:Ca,colorBrandBackgroundInvertedSelected:Sa,colorNeutralStrokeAccessible:Pa,colorNeutralStrokeAccessibleHover:Ta,colorNeutralStrokeAccessiblePressed:Ia,colorNeutralStrokeAccessibleSelected:Aa,colorNeutralStroke1:Fa,colorNeutralStroke1Hover:za,colorNeutralStroke1Pressed:La,colorNeutralStroke1Selected:Na,colorNeutralStroke2:Oa,colorNeutralStroke3:Da,colorNeutralStrokeOnBrand:Ea,colorNeutralStrokeOnBrand2:Ma,colorNeutralStrokeOnBrand2Hover:Ra,colorNeutralStrokeOnBrand2Pressed:Ha,colorNeutralStrokeOnBrand2Selected:Va,colorBrandStroke1:_a,colorBrandStroke2:ja,colorCompoundBrandStroke:Ga,colorCompoundBrandStrokeHover:qa,colorCompoundBrandStrokePressed:Wa,colorNeutralStrokeDisabled:Xa,colorNeutralStrokeInvertedDisabled:Ua,colorTransparentStroke:Ya,colorTransparentStrokeInteractive:Ka,colorTransparentStrokeDisabled:Qa,colorStrokeFocus1:Za,colorStrokeFocus2:Ja,colorNeutralShadowAmbient:en,colorNeutralShadowKey:tn,colorNeutralShadowAmbientLighter:on,colorNeutralShadowKeyLighter:rn,colorNeutralShadowAmbientDarker:an,colorNeutralShadowKeyDarker:nn,colorBrandShadowAmbient:sn,colorBrandShadowKey:ln,colorPaletteRedBackground1:cn,colorPaletteRedBackground2:dn,colorPaletteRedBackground3:hn,colorPaletteRedForeground1:un,colorPaletteRedForeground2:pn,colorPaletteRedForeground3:gn,colorPaletteRedBorderActive:bn,colorPaletteRedBorder1:fn,colorPaletteRedBorder2:mn,colorPaletteGreenBackground1:vn,colorPaletteGreenBackground2:yn,colorPaletteGreenBackground3:kn,colorPaletteGreenForeground1:xn,colorPaletteGreenForeground2:$n,colorPaletteGreenForeground3:wn,colorPaletteGreenBorderActive:Bn,colorPaletteGreenBorder1:Cn,colorPaletteGreenBorder2:Sn,colorPaletteDarkOrangeBackground1:Pn,colorPaletteDarkOrangeBackground2:Tn,colorPaletteDarkOrangeBackground3:In,colorPaletteDarkOrangeForeground1:An,colorPaletteDarkOrangeForeground2:Fn,colorPaletteDarkOrangeForeground3:zn,colorPaletteDarkOrangeBorderActive:Ln,colorPaletteDarkOrangeBorder1:Nn,colorPaletteDarkOrangeBorder2:On,colorPaletteYellowBackground1:Dn,colorPaletteYellowBackground2:En,colorPaletteYellowBackground3:Mn,colorPaletteYellowForeground1:Rn,colorPaletteYellowForeground2:Hn,colorPaletteYellowForeground3:Vn,colorPaletteYellowBorderActive:_n,colorPaletteYellowBorder1:jn,colorPaletteYellowBorder2:Gn,colorPaletteBerryBackground1:qn,colorPaletteBerryBackground2:Wn,colorPaletteBerryBackground3:Xn,colorPaletteBerryForeground1:Un,colorPaletteBerryForeground2:Yn,colorPaletteBerryForeground3:Kn,colorPaletteBerryBorderActive:Qn,colorPaletteBerryBorder1:Zn,colorPaletteBerryBorder2:Jn,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:as,colorPaletteLightGreenBorderActive:ns,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:ks,colorPaletteCranberryBackground2:xs,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Is,colorPaletteGoldBackground2:As,colorPaletteGoldForeground2:Fs,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ls,colorPaletteBrassForeground2:Ns,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Ms,colorPaletteForestBackground2:Rs,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:_s,colorPaletteSeafoamForeground2:js,colorPaletteSeafoamBorderActive:Gs,colorPaletteDarkGreenBackground2:qs,colorPaletteDarkGreenForeground2:Ws,colorPaletteDarkGreenBorderActive:Xs,colorPaletteLightTealBackground2:Us,colorPaletteLightTealForeground2:Ys,colorPaletteLightTealBorderActive:Ks,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:nl,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:kl,colorPaletteGrapeBackground2:xl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Il,colorPaletteMagentaBackground2:Al,colorPaletteMagentaForeground2:Fl,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Ll,colorPalettePlumForeground2:Nl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Ml,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:_l,colorPalettePlatinumForeground2:jl,colorPalettePlatinumBorderActive:Gl,colorPaletteAnchorBackground2:ql,colorPaletteAnchorForeground2:Wl,colorPaletteAnchorBorderActive:Xl,colorPaletteRedForegroundInverted:Ul,colorPaletteGreenForegroundInverted:Yl,colorPaletteYellowForegroundInverted:Kl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:ac,shadow16Brand:nc,shadow28Brand:sc,shadow64Brand:lc});const dc=j`
5
5
  ${Ct("block")}
6
6
 
7
7
  :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${qo} ${Go};border-radius:${ro};font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${wr};background:${oa};line-height:${ko};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${oo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${jo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${qo}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${jo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${oo};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}:host([disabled]) .button{color:${_r}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${co};line-height:${ko}}:host([size='small']) .heading{font-size:${lo};line-height:${yo}}:host([size='large']) .heading{font-size:${ho};line-height:${xo}}:host([size='extra-large']) .heading{font-size:${uo};line-height:${$o}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,hc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${gt(e)} ${pt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${ht(e.expandedIcon)}</slot><slot name="collapsed-icon">${ht(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n 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"\n fill="currentColor"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n 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"\n fill="currentColor"\n />\n</svg>')}),uc=Lt.compose({name:Tt.prefix+"-accordion-item",template:hc,styles:dc});class pc extends ot{}e([Ee],pc.prototype,"download",void 0),e([Ee],pc.prototype,"href",void 0),e([Ee],pc.prototype,"hreflang",void 0),e([Ee],pc.prototype,"ping",void 0),e([Ee],pc.prototype,"referrerpolicy",void 0),e([Ee],pc.prototype,"rel",void 0),e([Ee],pc.prototype,"target",void 0),e([Ee],pc.prototype,"type",void 0),e([C],pc.prototype,"defaultSlottedContent",void 0);class gc{}e([Ee({attribute:"aria-expanded"})],gc.prototype,"ariaExpanded",void 0),bt(gc,dt),bt(pc,ut,gc);var bc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,mc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?fc(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&bc(t,o,a),a};class vc extends pc{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}mc([Ee],vc.prototype,"appearance",2),mc([Ee],vc.prototype,"shape",2),mc([Ee],vc.prototype,"size",2),mc([Ee({attribute:"icon-only",mode:"boolean"})],vc.prototype,"iconOnly",2),mc([Ee({mode:"boolean"})],vc.prototype,"disabled",2),mc([Ee({attribute:"disabled-focusable",mode:"boolean"})],vc.prototype,"disabledFocusable",2);const yc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},kc={circular:"circular",rounded:"rounded",square:"square"},xc={small:"small",medium:"medium",large:"large"},$c=yc,wc=kc,Bc=xc,Cc=function(e={}){return xe`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</a>`}(),Sc=j`
8
8
  ${Ct("inline-flex")}
9
9
 
10
- :host{--icon-spacing:${_o};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${$i};color:${wr};border:${Oo} solid ${Fa};padding:0 ${qo};min-width:96px;border-radius:${ro};font-size:${co};font-family:${To};font-weight:${Lo};line-height:${ko};transition-duration:${lr};transition-property:background,border,color;transition-timing-function:${xr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${wi};color:${Br};border-color:${za}}:host(:hover:active) .control{background-color:${Bi};border-color:${La};color:${Cr};outline-style:none}:host .control:focus-visible{border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${Vo}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${jo};border-radius:${oo};font-size:${lo};line-height:${yo};font-weight:${Fo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${io};padding:0 ${Xo};font-size:${ho};line-height:${xo}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${no}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${to}}:host([appearance='primary']) .control{background-color:${ga};color:${di};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${ba}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${di}}:host([appearance='primary']:hover:active) .control{background-color:${fa}}:host([appearance='primary']) .control:focus-visible{border-color:${di};box-shadow:${Ql},0 0 0 2px ${Ja}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${oa}}:host([appearance='outline']:hover) .control{background-color:${ra}}:host([appearance='outline']:hover:active) .control{background-color:${ia}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${oa}}:host([appearance='subtle']) .control{background-color:${qi};color:${Pr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Xi};color:${Tr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Wi};color:${Ir};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${oa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Fr}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${zr}}:host([appearance='transparent']) .control{background-color:${oa};color:${Pr}}:host([appearance='transparent']:hover) .control{background-color:${ra};color:${Fr}}:host([appearance='transparent']:hover:active) .control{background-color:${ia};color:${zr}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${oa}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
- .control{background-color:${na};border-color:${Wa};color:${_r};cursor:not-allowed}`.withBehaviors(Bt(j`
10
+ :host{--icon-spacing:${_o};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${$i};color:${wr};border:${Oo} solid ${Fa};padding:0 ${qo};min-width:96px;border-radius:${ro};font-size:${co};font-family:${To};font-weight:${Lo};line-height:${ko};transition-duration:${lr};transition-property:background,border,color;transition-timing-function:${xr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${wi};color:${Br};border-color:${za}}:host(:hover:active) .control{background-color:${Bi};border-color:${La};color:${Cr};outline-style:none}:host .control:focus-visible{border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${Vo}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${jo};border-radius:${oo};font-size:${lo};line-height:${yo};font-weight:${Fo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${io};padding:0 ${Wo};font-size:${ho};line-height:${xo}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${no}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${to}}:host([appearance='primary']) .control{background-color:${ga};color:${di};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${ba}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${di}}:host([appearance='primary']:hover:active) .control{background-color:${fa}}:host([appearance='primary']) .control:focus-visible{border-color:${di};box-shadow:${Ql},0 0 0 2px ${Ja}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${oa}}:host([appearance='outline']:hover) .control{background-color:${ra}}:host([appearance='outline']:hover:active) .control{background-color:${ia}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${oa}}:host([appearance='subtle']) .control{background-color:${qi};color:${Pr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Wi};color:${Tr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Xi};color:${Ir};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${oa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Fr}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${zr}}:host([appearance='transparent']) .control{background-color:${oa};color:${Pr}}:host([appearance='transparent']:hover) .control{background-color:${ra};color:${Fr}}:host([appearance='transparent']:hover:active) .control{background-color:${ia};color:${zr}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${oa}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
+ .control{background-color:${na};border-color:${Xa};color:${_r};cursor:not-allowed}`.withBehaviors(Bt(j`
12
12
  :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),Pc=j`
13
13
  ${Sc}
14
14
 
15
- .content{text-align:center}`,Tc=vc.compose({name:Tt.prefix+"-anchor-button",template:Cc,styles:Pc,shadowOptions:{delegatesFocus:!0}}),Ic=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Ac=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Fc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zc=/\s+/g,Lc=/[\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 Nc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Ic,"")).replace(Ac,"")).replace(zc," ")).trim()}(e),Lc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&Fc.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Oc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Ec={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Mc={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"},Rc={neutral:"neutral",brand:"brand",colorful:"colorful",...Mc},Hc={_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};var Vc=Object.defineProperty,_c=Object.getOwnPropertyDescriptor,jc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?_c(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Vc(t,o,a),a};const Gc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Rc.colorful?Gc.colors[Xc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Gc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:Nc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let qc=Gc;qc.colors=Object.values(Mc),jc([Ee],qc.prototype,"name",2),jc([Ee],qc.prototype,"initials",2),jc([Ee({converter:Oe})],qc.prototype,"size",2),jc([Ee],qc.prototype,"shape",2),jc([Ee],qc.prototype,"active",2),jc([Ee],qc.prototype,"appearance",2),jc([Ee],qc.prototype,"color",2),jc([Ee({attribute:"color-id"})],qc.prototype,"colorId",2);const Xc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},Wc=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" 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>`;const Uc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Wc}</slot><slot name="badge"></slot></template>`,Yc=yr,Kc=kr,Qc=$r,Zc=j`
16
- ${Ct("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${To};font-weight:${Lo};font-size:${co};border-radius:${no};color:${Nr};background-color:${_i};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${no}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Oo} ${$i}}: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 ${Do} ${$i}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${Fo}}: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:${lo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ho}}: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:${uo}}: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:${po}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ro}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${oo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${io}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${ao}}:host([data-color='brand']){color:${ii};background-color:${xa}}:host([data-color='dark-red']){color:${ys};background-color:${vs}}:host([data-color='cranberry']){color:${$s};background-color:${xs}}:host([data-color='red']){color:${pn};background-color:${dn}}:host([data-color='pumpkin']){color:${Cs};background-color:${Bs}}:host([data-color='peach']){color:${Ts};background-color:${Ps}}:host([data-color='marigold']){color:${ps};background-color:${ds}}:host([data-color='gold']){color:${Fs};background-color:${As}}:host([data-color='brass']){color:${Ns};background-color:${Ls}}:host([data-color='brown']){color:${Es};background-color:${Ds}}:host([data-color='forest']){color:${Hs};background-color:${Rs}}:host([data-color='seafoam']){color:${js};background-color:${_s}}:host([data-color='dark-green']){color:${Xs};background-color:${qs}}:host([data-color='light-teal']){color:${Ys};background-color:${Us}}:host([data-color='teal']){color:${Zs};background-color:${Qs}}:host([data-color='steel']){color:${tl};background-color:${el}}:host([data-color='blue']){color:${il};background-color:${rl}}:host([data-color='royal-blue']){color:${sl};background-color:${nl}}:host([data-color='cornflower']){color:${dl};background-color:${cl}}:host([data-color='navy']){color:${pl};background-color:${ul}}:host([data-color='lavender']){color:${fl};background-color:${bl}}:host([data-color='purple']){color:${yl};background-color:${vl}}:host([data-color='grape']){color:${$l};background-color:${xl}}:host([data-color='lilac']){color:${Cl};background-color:${Bl}}:host([data-color='pink']){color:${Tl};background-color:${Pl}}:host([data-color='magenta']){color:${Fl};background-color:${Al}}:host([data-color='plum']){color:${Nl};background-color:${Ll}}:host([data-color='beige']){color:${El};background-color:${Dl}}:host([data-color='mink']){color:${Hl};background-color:${Rl}}:host([data-color='platinum']){color:${jl};background-color:${_l}}:host([data-color='anchor']){color:${Xl};background-color:${ql}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Kc},${Qc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Kc},${Qc}}:host([active])::before{box-shadow:${Jl};border-style:solid;border-color:${xa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Do});border-width:${Do}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Eo});border-width:${Eo}}: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 * ${Mo});border-width:${Mo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zl}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${ec}}: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:${tc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Yc},${Qc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Yc},${Qc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Jc=qc.compose({name:Tt.prefix+"-avatar",template:Uc,styles:Zc});function ed(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}const td={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rd={circular:"circular",rounded:"rounded",square:"square"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var ad=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,sd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?nd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ad(t,o,a),a};class ld extends ot{constructor(){super(...arguments),this.appearance=td.filled,this.color=od.brand}}function cd(e={}){return xe` ${gt(e)}<slot>${ht(e.defaultContent)}</slot>${pt(e)} `}sd([Ee],ld.prototype,"appearance",2),sd([Ee],ld.prototype,"color",2),sd([Ee],ld.prototype,"shape",2),sd([Ee],ld.prototype,"size",2),ed(ld,ut);const dd=cd(),hd=Ho,ud=j.partial`
15
+ .content{text-align:center}`,Tc=vc.compose({name:Tt.prefix+"-anchor-button",template:Cc,styles:Pc,shadowOptions:{delegatesFocus:!0}}),Ic=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Ac=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Fc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zc=/\s+/g,Lc=/[\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 Nc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Ic,"")).replace(Ac,"")).replace(zc," ")).trim()}(e),Lc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&Fc.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Oc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Ec={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Mc={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"},Rc={neutral:"neutral",brand:"brand",colorful:"colorful",...Mc},Hc={_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};var Vc=Object.defineProperty,_c=Object.getOwnPropertyDescriptor,jc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?_c(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Vc(t,o,a),a};const Gc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Rc.colorful?Gc.colors[Wc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Gc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:Nc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let qc=Gc;qc.colors=Object.values(Mc),jc([Ee],qc.prototype,"name",2),jc([Ee],qc.prototype,"initials",2),jc([Ee({converter:Oe})],qc.prototype,"size",2),jc([Ee],qc.prototype,"shape",2),jc([Ee],qc.prototype,"active",2),jc([Ee],qc.prototype,"appearance",2),jc([Ee],qc.prototype,"color",2),jc([Ee({attribute:"color-id"})],qc.prototype,"colorId",2);const Wc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},Xc=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" 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>`;const Uc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Xc}</slot><slot name="badge"></slot></template>`,Yc=yr,Kc=kr,Qc=$r,Zc=j`
16
+ ${Ct("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${To};font-weight:${Lo};font-size:${co};border-radius:${no};color:${Nr};background-color:${_i};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${no}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Oo} ${$i}}: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 ${Do} ${$i}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${Fo}}: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:${lo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ho}}: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:${uo}}: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:${po}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ro}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${oo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${io}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${ao}}:host([data-color='brand']){color:${ii};background-color:${xa}}:host([data-color='dark-red']){color:${ys};background-color:${vs}}:host([data-color='cranberry']){color:${$s};background-color:${xs}}:host([data-color='red']){color:${pn};background-color:${dn}}:host([data-color='pumpkin']){color:${Cs};background-color:${Bs}}:host([data-color='peach']){color:${Ts};background-color:${Ps}}:host([data-color='marigold']){color:${ps};background-color:${ds}}:host([data-color='gold']){color:${Fs};background-color:${As}}:host([data-color='brass']){color:${Ns};background-color:${Ls}}:host([data-color='brown']){color:${Es};background-color:${Ds}}:host([data-color='forest']){color:${Hs};background-color:${Rs}}:host([data-color='seafoam']){color:${js};background-color:${_s}}:host([data-color='dark-green']){color:${Ws};background-color:${qs}}:host([data-color='light-teal']){color:${Ys};background-color:${Us}}:host([data-color='teal']){color:${Zs};background-color:${Qs}}:host([data-color='steel']){color:${tl};background-color:${el}}:host([data-color='blue']){color:${il};background-color:${rl}}:host([data-color='royal-blue']){color:${sl};background-color:${nl}}:host([data-color='cornflower']){color:${dl};background-color:${cl}}:host([data-color='navy']){color:${pl};background-color:${ul}}:host([data-color='lavender']){color:${fl};background-color:${bl}}:host([data-color='purple']){color:${yl};background-color:${vl}}:host([data-color='grape']){color:${$l};background-color:${xl}}:host([data-color='lilac']){color:${Cl};background-color:${Bl}}:host([data-color='pink']){color:${Tl};background-color:${Pl}}:host([data-color='magenta']){color:${Fl};background-color:${Al}}:host([data-color='plum']){color:${Nl};background-color:${Ll}}:host([data-color='beige']){color:${El};background-color:${Dl}}:host([data-color='mink']){color:${Hl};background-color:${Rl}}:host([data-color='platinum']){color:${jl};background-color:${_l}}:host([data-color='anchor']){color:${Wl};background-color:${ql}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Kc},${Qc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Kc},${Qc}}:host([active])::before{box-shadow:${Jl};border-style:solid;border-color:${xa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Do});border-width:${Do}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Eo});border-width:${Eo}}: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 * ${Mo});border-width:${Mo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zl}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${ec}}: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:${tc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Yc},${Qc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Yc},${Qc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Jc=qc.compose({name:Tt.prefix+"-avatar",template:Uc,styles:Zc});function ed(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}const td={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rd={circular:"circular",rounded:"rounded",square:"square"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var ad=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,sd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?nd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ad(t,o,a),a};class ld extends ot{constructor(){super(...arguments),this.appearance=td.filled,this.color=od.brand}}function cd(e={}){return xe` ${gt(e)}<slot>${ht(e.defaultContent)}</slot>${pt(e)} `}sd([Ee],ld.prototype,"appearance",2),sd([Ee],ld.prototype,"color",2),sd([Ee],ld.prototype,"shape",2),sd([Ee],ld.prototype,"size",2),ed(ld,ut);const dd=cd(),hd=Ho,ud=j.partial`
17
17
  ${Ct("inline-flex")} :host {
18
18
  position: relative;
19
19
  box-sizing: border-box;
@@ -261,9 +261,9 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
261
261
  ${fd}
262
262
  ${md}
263
263
  ${ud}
264
- `,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),kd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xd=new WeakMap;function $d(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return kd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kd)return null;let e=xd.get(this);return e||(e=this.attachInternals(),xd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Le})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===Sd&&this.addEventListener("click",this.handleSubmission),e===Sd&&this.removeEventListener("click",this.handleSubmission),t===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Id{}function Ad(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Id.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Id.prototype,"ariaPressed",void 0),bt(Id,dt),bt(Td,ut,Id);var Fd=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Ld=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?zd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Fd(t,o,a),a};class Nd extends Td{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Ld([Ee],Nd.prototype,"appearance",2),Ld([Ee],Nd.prototype,"shape",2),Ld([Ee],Nd.prototype,"size",2),Ld([Ee({attribute:"icon-only",mode:"boolean"})],Nd.prototype,"iconOnly",2),Ld([Ee({attribute:"disabled-focusable",mode:"boolean"})],Nd.prototype,"disabledFocusable",2);const Od=Ad(),Dd=Nd.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Md extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rd extends Md{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([C],Rd.prototype,"defaultSlottedNodes",void 0),e([C],Rd.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,_d=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Vd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Hd(t,o,a),a};class jd extends Rd{}_d([Ee],jd.prototype,"shape",2),_d([Ee],jd.prototype,"size",2),_d([Ee({attribute:"label-position"})],jd.prototype,"labelPosition",2);const Gd={circular:"circular",square:"square"},qd={medium:"medium",large:"large"},Xd={before:"before",after:"after"},Wd=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <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">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Ud=j`
264
+ `,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),kd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xd=new WeakMap;function $d(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return kd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kd)return null;let e=xd.get(this);return e||(e=this.attachInternals(),xd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Le})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===Sd&&this.addEventListener("click",this.handleSubmission),e===Sd&&this.removeEventListener("click",this.handleSubmission),t===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Id{}function Ad(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Id.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Id.prototype,"ariaPressed",void 0),bt(Id,dt),bt(Td,ut,Id);var Fd=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Ld=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?zd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Fd(t,o,a),a};class Nd extends Td{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Ld([Ee],Nd.prototype,"appearance",2),Ld([Ee],Nd.prototype,"shape",2),Ld([Ee],Nd.prototype,"size",2),Ld([Ee({attribute:"icon-only",mode:"boolean"})],Nd.prototype,"iconOnly",2),Ld([Ee({attribute:"disabled-focusable",mode:"boolean"})],Nd.prototype,"disabledFocusable",2);const Od=Ad(),Dd=Nd.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Md extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rd extends Md{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([C],Rd.prototype,"defaultSlottedNodes",void 0),e([C],Rd.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,_d=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Vd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Hd(t,o,a),a};class jd extends Rd{}_d([Ee],jd.prototype,"shape",2),_d([Ee],jd.prototype,"size",2),_d([Ee({attribute:"label-position"})],jd.prototype,"labelPosition",2);const Gd={circular:"circular",square:"square"},qd={medium:"medium",large:"large"},Wd={before:"before",after:"after"},Xd=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <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">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Ud=j`
265
265
  ${Ct("inline-flex")}
266
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${To};font-size:${co};line-height:${ko};color:${Nr};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ro};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${er} ${jo};fill:currentcolor;height:16px;width:16px;border:${Oo} solid ${Pa};border-radius:${oo};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${jo};padding-bottom:${er};padding-top:${er}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${ai};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${oo};background-color:${Zr};opacity:0}:host(:hover){color:${Pr}}:host(:hover) .control{border-color:${Ta}}:host(:hover) .indeterminate-indicator{background-color:${Jr}}:host(:active) .control{border-color:${Ia}}:host(:active) .indeterminate-indicator{background-color:${ei}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${wr}}:host([aria-checked='true']) .control{background-color:${va}}:host([aria-checked='true']:hover) .control{border-color:${qa};background-color:${ya}}:host([aria-checked='true']:active) .control{background-color:${ka}}:host([aria-checked='mixed']:hover) .control{border-color:${qa}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${Ga}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Xa}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${jo} ${Vo};padding-top:${er};padding-bottom:${er}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${no}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${ra};border-color:${Wa}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${_r}}:host([disabled]) .indeterminate-indicator{background-color:${_r}}`,Yd=jd.compose({name:Tt.prefix+"-checkbox",template:Wd,styles:Ud});class Kd extends Nd{}const Qd=yc,Zd=kc,Jd=xc;const eh=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),th=j`
266
+ :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${To};font-size:${co};line-height:${ko};color:${Nr};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ro};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${er} ${jo};fill:currentcolor;height:16px;width:16px;border:${Oo} solid ${Pa};border-radius:${oo};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${jo};padding-bottom:${er};padding-top:${er}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${ai};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${oo};background-color:${Zr};opacity:0}:host(:hover){color:${Pr}}:host(:hover) .control{border-color:${Ta}}:host(:hover) .indeterminate-indicator{background-color:${Jr}}:host(:active) .control{border-color:${Ia}}:host(:active) .indeterminate-indicator{background-color:${ei}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${wr}}:host([aria-checked='true']) .control{background-color:${va}}:host([aria-checked='true']:hover) .control{border-color:${qa};background-color:${ya}}:host([aria-checked='true']:active) .control{background-color:${ka}}:host([aria-checked='mixed']:hover) .control{border-color:${qa}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${Ga}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Wa}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${jo} ${Vo};padding-top:${er};padding-bottom:${er}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${no}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${ra};border-color:${Xa}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${_r}}:host([disabled]) .indeterminate-indicator{background-color:${_r}}`,Yd=jd.compose({name:Tt.prefix+"-checkbox",template:Xd,styles:Ud});class Kd extends Nd{}const Qd=yc,Zd=kc,Jd=xc;const eh=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),th=j`
267
267
  ${Sc}
268
268
 
269
269
  :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${co};line-height:${ko}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Pr};line-height:100%;font-size:${lo};font-weight:${Fo}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Tr}}:host(:active) ::slotted([slot='description']){color:${Ir}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
@@ -283,8 +283,8 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
283
283
  :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:${Oo} solid ${Oa}}: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:${Zl}}:host([shape='circular']) ::slotted(img){border-radius:${no}}:host([shape='rounded']) ::slotted(img){border-radius:${ro}}`,Nh=Ih.compose({name:Tt.prefix+"-image",template:zh,styles:Lh});var Oh=Object.defineProperty,Dh=Object.getOwnPropertyDescriptor,Eh=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Dh(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Oh(t,o,a),a};class Mh extends ot{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Eh([Ee],Mh.prototype,"size",2),Eh([Ee],Mh.prototype,"weight",2),Eh([Ee({mode:"boolean"})],Mh.prototype,"disabled",2),Eh([Ee({mode:"boolean"})],Mh.prototype,"required",2);const Rh=j`
284
284
  ${Ct("flex")}
285
285
 
286
- :host{font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};color:${wr}}.asterisk{color:${un};margin-left:${Vo}}:host([size='small']){font-size:${lo};line-height:${yo}}:host([size='large']){font-size:${ho};line-height:${xo};font-weight:${Lo}}:host([weight='semibold']){font-weight:${Lo}}:host([disabled]),:host([disabled]) .asterisk{color:${_r}}`;const Hh=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Vh=Mh.compose({name:Tt.prefix+"-label",template:Hh,styles:Rh});function _h(e){return e.split("-")[1]}function jh(e){return"y"===e?"height":"width"}function Gh(e){return e.split("-")[0]}function qh(e){return["top","bottom"].includes(Gh(e))?"x":"y"}function Xh(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=qh(t),l=jh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Gh(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(_h(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function Wh(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Uh(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Wh(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=Wh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const Yh=Math.min,Kh=Math.max;function Qh(e,t,o){return Kh(e,Yh(t,o))}const Zh=["top","right","bottom","left"];Zh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Jh={left:"right",right:"left",bottom:"top",top:"bottom"};function eu(e){return e.replace(/left|right|bottom|top/g,e=>Jh[e])}function tu(e,t,o){void 0===o&&(o=!1);const r=_h(e),i=qh(e),a=jh(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=eu(n)),{main:n,cross:eu(n)}}const ou={start:"end",end:"start"};function ru(e){return e.replace(/start|end/g,e=>ou[e])}const iu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Gh(r),m=Gh(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[eu(n)]:function(e){const t=eu(e);return[ru(e),t,ru(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=_h(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Gh(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(ru)))),a}(n,g,p,v));const k=[n,...y],x=await Uh(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(x[f]),d){const{main:e,cross:t}=tu(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};function au(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nu(e){return Zh.some(t=>e[t]>=0)}const su=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:i}=t;switch(o){case"referenceHidden":{const e=au(await Uh(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:nu(e)}}}case"escaped":{const e=au(await Uh(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:nu(e)}}}default:return{}}}}};const lu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await Uh(t,l),h=qh(Gh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=Qh(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=Qh(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},cu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Uh(t,s),c=Gh(o),d=_h(o),h="x"===qh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Yh(u-l.right-l.left,m):v=Yh(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Kh(l.left,0),t=Kh(l.right,0),o=Kh(l.top,0),r=Kh(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Kh(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Kh(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function du(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function hu(e){return du(e).getComputedStyle(e)}const uu=Math.min,pu=Math.max,gu=Math.round;function bu(e){const t=hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=gu(o)!==i||gu(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function fu(e){return xu(e)?(e.nodeName||"").toLowerCase():""}let mu;function vu(){if(mu)return mu;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(mu=e.brands.map(e=>e.brand+"/"+e.version).join(" "),mu):navigator.userAgent}function yu(e){return e instanceof du(e).HTMLElement}function ku(e){return e instanceof du(e).Element}function xu(e){return e instanceof du(e).Node}function $u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof du(e).ShadowRoot||e instanceof ShadowRoot)}function wu(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function Bu(e){return["table","td","th"].includes(fu(e))}function Cu(e){const t=/firefox/i.test(vu()),o=hu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Su(){return/^((?!chrome|android).)*safari/i.test(vu())}function Pu(e){return["html","body","#document"].includes(fu(e))}function Tu(e){return ku(e)?e:e.contextElement}const Iu={x:1,y:1};function Au(e){const t=Tu(e);if(!yu(t))return Iu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=bu(t);let n=(a?gu(o.width):o.width)/r,s=(a?gu(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function Fu(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=Tu(e);let l=Iu;t&&(r?ku(r)&&(l=Au(r)):l=Au(e));const c=s?du(s):window,d=Su()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=du(s),t=r&&ku(r)?du(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Au(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=du(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function zu(e){return((xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lu(e){return ku(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nu(e){return Fu(zu(e)).left+Lu(e).scrollLeft}function Ou(e){if("html"===fu(e))return e;const t=e.assignedSlot||e.parentNode||$u(e)&&e.host||zu(e);return $u(t)?t.host:t}function Du(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Ou(t);return Pu(o)?o.ownerDocument.body:yu(o)&&wu(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=du(r);return i?t.concat(a,a.visualViewport||[],wu(r)?r:[]):t.concat(r,Du(r))}function Eu(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=du(e),r=zu(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=Su();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=zu(e),o=Lu(e),r=e.ownerDocument.body,i=pu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Nu(e);const s=-o.scrollTop;return"rtl"===hu(r).direction&&(n+=pu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(zu(e));else if(ku(t))r=function(e,t){const o=Fu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=yu(e)?Au(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(Su()){var i,a;const t=du(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Wh(r)}function Mu(e,t){return yu(e)&&"fixed"!==hu(e).position?t?t(e):e.offsetParent:null}function Ru(e,t){const o=du(e);let r=Mu(e,t);for(;r&&Bu(r)&&"static"===hu(r).position;)r=Mu(r,t);return r&&("html"===fu(r)||"body"===fu(r)&&"static"===hu(r).position&&!Cu(r))?o:r||function(e){let t=Ou(e);for(;yu(t)&&!Pu(t);){if(Cu(t))return t;t=Ou(t)}return null}(e)||o}function Hu(e,t,o){const r=yu(t),i=zu(t),a=Fu(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==fu(t)||wu(i))&&(n=Lu(t)),yu(t)){const e=Fu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Nu(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Vu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Du(e).filter(e=>ku(e)&&"body"!==fu(e)),i=null;const a="fixed"===hu(e).position;let n=a?Ou(e):e;for(;ku(n)&&!Pu(n);){const e=hu(n),t=Cu(n);(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==n),n=Ou(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Eu(t,o,i);return e.top=pu(r.top,e.top),e.right=uu(r.right,e.right),e.bottom=uu(r.bottom,e.bottom),e.left=pu(r.left,e.left),e},Eu(t,n,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=yu(o),a=zu(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==fu(o)||wu(a))&&(n=Lu(o)),yu(o))){const e=Fu(o);s=Au(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:ku,getDimensions:function(e){return yu(e)?bu(e):e.getBoundingClientRect()},getOffsetParent:Ru,getDocumentElement:zu,getScale:Au,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Ru,a=this.getDimensions;return{reference:Hu(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===hu(e).direction};function _u(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||a?[...ku(e)?Du(e):e.contextElement?Du(e.contextElement):[],...Du(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),ku(e)&&!s&&h.observe(e),ku(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?Fu(e):null;return s&&function t(){const r=Fu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const ju=(e,t,o)=>{const r=new Map,i={platform:Vu,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Xh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Xh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};var Gu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Xu=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?qu(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Gu(t,o,a),a};class Wu extends ot{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),k.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&k.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&k.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&k.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=_u(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:i}=await ju(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[iu(),cu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),su()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${i}px)`})}))}addListeners(){var e,t,o,r,i;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,i;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}Xu([C,Ee({attribute:"open-on-hover",mode:"boolean"})],Wu.prototype,"openOnHover",2),Xu([C,Ee({attribute:"open-on-context",mode:"boolean"})],Wu.prototype,"openOnContext",2),Xu([C,Ee({attribute:"close-on-scroll",mode:"boolean"})],Wu.prototype,"closeOnScroll",2),Xu([C,Ee({attribute:"persist-on-item-click",mode:"boolean"})],Wu.prototype,"persistOnItemClick",2),Xu([C,Ee({mode:"boolean"})],Wu.prototype,"open",2),Xu([C],Wu.prototype,"slottedMenuList",2),Xu([C],Wu.prototype,"slottedTriggers",2);const Uu=xe`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Fe({property:"slottedTriggers",filter:Te()})}></slot><span ${we("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Fe({property:"slottedMenuList",filter:Te()})}></slot></span></template>`,Yu=j`
287
- :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Ku=Wu.compose({name:Tt.prefix+"-menu",template:Uu,styles:Yu});class Qu extends Nd{}const Zu=yc,Ju=kc,ep=xc,tp=Ad({end:xe.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>')}),op=Qu.compose({name:Tt.prefix+"-menu-button",template:tp,styles:Sc,shadowOptions:{delegatesFocus:!0}}),rp={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class ip extends ot{constructor(){super(...arguments),this.role=rp.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case rp.menuitemcheckbox:this.checked=!this.checked;break;case rp.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case rp.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&k.enqueue(()=>{this.cleanup=_u(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield ju(this,this.submenuContainer,{middleware:[lu(),cu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),iu({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([Ee({mode:"boolean"})],ip.prototype,"disabled",void 0),e([Ee({mode:"boolean"})],ip.prototype,"expanded",void 0),e([Ee],ip.prototype,"role",void 0),e([Ee({mode:"boolean"})],ip.prototype,"checked",void 0),e([Ee({mode:"boolean"})],ip.prototype,"hidden",void 0),e([C],ip.prototype,"slottedSubmenu",void 0),e([C],ip.prototype,"submenu",void 0),bt(ip,ut);class ap extends ip{}const np=xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),sp=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==rp.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @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)}">${Se(e=>e.role===rp.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ht(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===rp.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ht(e.radioIndicator)}</slot></span></div>`)}</div>${gt(e)}<span class="content" part="content"><slot></slot></span>${pt(e)} ${Se(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${ht(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Fe({property:"slottedSubmenu",filter:Te("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:np,expandCollapseGlyph:xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),radioIndicator:np}),lp=j`
286
+ :host{font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};color:${wr}}.asterisk{color:${un};margin-left:${Vo}}:host([size='small']){font-size:${lo};line-height:${yo}}:host([size='large']){font-size:${ho};line-height:${xo};font-weight:${Lo}}:host([weight='semibold']){font-weight:${Lo}}:host([disabled]),:host([disabled]) .asterisk{color:${_r}}`;const Hh=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Vh=Mh.compose({name:Tt.prefix+"-label",template:Hh,styles:Rh});function _h(e){return e.split("-")[1]}function jh(e){return"y"===e?"height":"width"}function Gh(e){return e.split("-")[0]}function qh(e){return["top","bottom"].includes(Gh(e))?"x":"y"}function Wh(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=qh(t),l=jh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Gh(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(_h(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function Xh(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Uh(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Xh(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=Xh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const Yh=Math.min,Kh=Math.max;function Qh(e,t,o){return Kh(e,Yh(t,o))}const Zh=["top","right","bottom","left"];Zh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Jh={left:"right",right:"left",bottom:"top",top:"bottom"};function eu(e){return e.replace(/left|right|bottom|top/g,e=>Jh[e])}function tu(e,t,o){void 0===o&&(o=!1);const r=_h(e),i=qh(e),a=jh(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=eu(n)),{main:n,cross:eu(n)}}const ou={start:"end",end:"start"};function ru(e){return e.replace(/start|end/g,e=>ou[e])}const iu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Gh(r),m=Gh(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[eu(n)]:function(e){const t=eu(e);return[ru(e),t,ru(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=_h(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Gh(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(ru)))),a}(n,g,p,v));const k=[n,...y],x=await Uh(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(x[f]),d){const{main:e,cross:t}=tu(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};function au(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nu(e){return Zh.some(t=>e[t]>=0)}const su=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:i}=t;switch(o){case"referenceHidden":{const e=au(await Uh(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:nu(e)}}}case"escaped":{const e=au(await Uh(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:nu(e)}}}default:return{}}}}};const lu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await Uh(t,l),h=qh(Gh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=Qh(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=Qh(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},cu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Uh(t,s),c=Gh(o),d=_h(o),h="x"===qh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Yh(u-l.right-l.left,m):v=Yh(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Kh(l.left,0),t=Kh(l.right,0),o=Kh(l.top,0),r=Kh(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Kh(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Kh(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function du(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function hu(e){return du(e).getComputedStyle(e)}const uu=Math.min,pu=Math.max,gu=Math.round;function bu(e){const t=hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=gu(o)!==i||gu(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function fu(e){return xu(e)?(e.nodeName||"").toLowerCase():""}let mu;function vu(){if(mu)return mu;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(mu=e.brands.map(e=>e.brand+"/"+e.version).join(" "),mu):navigator.userAgent}function yu(e){return e instanceof du(e).HTMLElement}function ku(e){return e instanceof du(e).Element}function xu(e){return e instanceof du(e).Node}function $u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof du(e).ShadowRoot||e instanceof ShadowRoot)}function wu(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function Bu(e){return["table","td","th"].includes(fu(e))}function Cu(e){const t=/firefox/i.test(vu()),o=hu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Su(){return/^((?!chrome|android).)*safari/i.test(vu())}function Pu(e){return["html","body","#document"].includes(fu(e))}function Tu(e){return ku(e)?e:e.contextElement}const Iu={x:1,y:1};function Au(e){const t=Tu(e);if(!yu(t))return Iu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=bu(t);let n=(a?gu(o.width):o.width)/r,s=(a?gu(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function Fu(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=Tu(e);let l=Iu;t&&(r?ku(r)&&(l=Au(r)):l=Au(e));const c=s?du(s):window,d=Su()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=du(s),t=r&&ku(r)?du(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Au(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=du(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function zu(e){return((xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lu(e){return ku(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nu(e){return Fu(zu(e)).left+Lu(e).scrollLeft}function Ou(e){if("html"===fu(e))return e;const t=e.assignedSlot||e.parentNode||$u(e)&&e.host||zu(e);return $u(t)?t.host:t}function Du(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Ou(t);return Pu(o)?o.ownerDocument.body:yu(o)&&wu(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=du(r);return i?t.concat(a,a.visualViewport||[],wu(r)?r:[]):t.concat(r,Du(r))}function Eu(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=du(e),r=zu(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=Su();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=zu(e),o=Lu(e),r=e.ownerDocument.body,i=pu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Nu(e);const s=-o.scrollTop;return"rtl"===hu(r).direction&&(n+=pu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(zu(e));else if(ku(t))r=function(e,t){const o=Fu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=yu(e)?Au(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(Su()){var i,a;const t=du(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Xh(r)}function Mu(e,t){return yu(e)&&"fixed"!==hu(e).position?t?t(e):e.offsetParent:null}function Ru(e,t){const o=du(e);let r=Mu(e,t);for(;r&&Bu(r)&&"static"===hu(r).position;)r=Mu(r,t);return r&&("html"===fu(r)||"body"===fu(r)&&"static"===hu(r).position&&!Cu(r))?o:r||function(e){let t=Ou(e);for(;yu(t)&&!Pu(t);){if(Cu(t))return t;t=Ou(t)}return null}(e)||o}function Hu(e,t,o){const r=yu(t),i=zu(t),a=Fu(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==fu(t)||wu(i))&&(n=Lu(t)),yu(t)){const e=Fu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Nu(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Vu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Du(e).filter(e=>ku(e)&&"body"!==fu(e)),i=null;const a="fixed"===hu(e).position;let n=a?Ou(e):e;for(;ku(n)&&!Pu(n);){const e=hu(n),t=Cu(n);(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==n),n=Ou(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Eu(t,o,i);return e.top=pu(r.top,e.top),e.right=uu(r.right,e.right),e.bottom=uu(r.bottom,e.bottom),e.left=pu(r.left,e.left),e},Eu(t,n,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=yu(o),a=zu(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==fu(o)||wu(a))&&(n=Lu(o)),yu(o))){const e=Fu(o);s=Au(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:ku,getDimensions:function(e){return yu(e)?bu(e):e.getBoundingClientRect()},getOffsetParent:Ru,getDocumentElement:zu,getScale:Au,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Ru,a=this.getDimensions;return{reference:Hu(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===hu(e).direction};function _u(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||a?[...ku(e)?Du(e):e.contextElement?Du(e.contextElement):[],...Du(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),ku(e)&&!s&&h.observe(e),ku(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?Fu(e):null;return s&&function t(){const r=Fu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const ju=(e,t,o)=>{const r=new Map,i={platform:Vu,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Wh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Wh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};var Gu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Wu=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?qu(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Gu(t,o,a),a};class Xu extends ot{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),k.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&k.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&k.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&k.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=_u(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:i}=await ju(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[iu(),cu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),su()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${i}px)`})}))}addListeners(){var e,t,o,r,i;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,i;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}Wu([C,Ee({attribute:"open-on-hover",mode:"boolean"})],Xu.prototype,"openOnHover",2),Wu([C,Ee({attribute:"open-on-context",mode:"boolean"})],Xu.prototype,"openOnContext",2),Wu([C,Ee({attribute:"close-on-scroll",mode:"boolean"})],Xu.prototype,"closeOnScroll",2),Wu([C,Ee({attribute:"persist-on-item-click",mode:"boolean"})],Xu.prototype,"persistOnItemClick",2),Wu([C,Ee({mode:"boolean"})],Xu.prototype,"open",2),Wu([C],Xu.prototype,"slottedMenuList",2),Wu([C],Xu.prototype,"slottedTriggers",2);const Uu=xe`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Fe({property:"slottedTriggers",filter:Te()})}></slot><span ${we("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Fe({property:"slottedMenuList",filter:Te()})}></slot></span></template>`,Yu=j`
287
+ :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Ku=Xu.compose({name:Tt.prefix+"-menu",template:Uu,styles:Yu});class Qu extends Nd{}const Zu=yc,Ju=kc,ep=xc,tp=Ad({end:xe.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>')}),op=Qu.compose({name:Tt.prefix+"-menu-button",template:tp,styles:Sc,shadowOptions:{delegatesFocus:!0}}),rp={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class ip extends ot{constructor(){super(...arguments),this.role=rp.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case rp.menuitemcheckbox:this.checked=!this.checked;break;case rp.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case rp.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&k.enqueue(()=>{this.cleanup=_u(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield ju(this,this.submenuContainer,{middleware:[lu(),cu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),iu({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([Ee({mode:"boolean"})],ip.prototype,"disabled",void 0),e([Ee({mode:"boolean"})],ip.prototype,"expanded",void 0),e([Ee],ip.prototype,"role",void 0),e([Ee({mode:"boolean"})],ip.prototype,"checked",void 0),e([Ee({mode:"boolean"})],ip.prototype,"hidden",void 0),e([C],ip.prototype,"slottedSubmenu",void 0),e([C],ip.prototype,"submenu",void 0),bt(ip,ut);class ap extends ip{}const np=xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),sp=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==rp.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @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)}">${Se(e=>e.role===rp.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ht(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===rp.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ht(e.radioIndicator)}</slot></span></div>`)}</div>${gt(e)}<span class="content" part="content"><slot></slot></span>${pt(e)} ${Se(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${ht(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Fe({property:"slottedSubmenu",filter:Te("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:np,expandCollapseGlyph:xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),radioIndicator:np}),lp=j`
288
288
  ${Ct("grid")}
289
289
 
290
290
  :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${$i};font:${Fo} ${co} / ${ko} ${To};border-radius:${ro};color:${Pr};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${wi}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${Pr}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${uo};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Nr};font:${Fo} ${lo} / ${yo} ${To};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${Tr}}:host([icon]:hover) ::slotted([slot='start']){color:${Jr}}:host(:active){background-color:${Ci}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Ir}}:host(:active) ::slotted([slot='start']){color:${ei}}:host([disabled]){background-color:${na}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${_r}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,cp=ap.compose({name:Tt.prefix+"-menu-item",template:sp,styles:lp});class dp extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&it(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===rp.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===rp.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof ip||it(e)&&e.getAttribute("role")in dp.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),k.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}dp.focusableElementRoles=rp,e([C],dp.prototype,"items",void 0);class hp extends dp{setItems(){var e;super.setItems();const t=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=hp.elementIndent(t);return Math.max(e,o)},0);e instanceof ap&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==rp.menuitem?o?2:1:o?1:0}}const up=xe`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Fe("items")}></slot></template>`,pp=j`
@@ -307,13 +307,13 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
307
307
  .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`)),Cp=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${ht(e.indeterminateIndicator1)} ${ht(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Sp=kp.compose({name:Tt.prefix+"-progress-bar",template:Cp,styles:Bp});class Pp extends ot{}class Tp extends(wd(Pp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ip extends Tp{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}e([C],Ip.prototype,"name",void 0),e([C],Ip.prototype,"defaultSlottedNodes",void 0);class Ap extends Ip{}const Fp=j`
308
308
  ${Ct("inline-grid")}
309
309
 
310
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${Vo};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Nr});padding-inline-end:${jo};--control-border-color:${Pa};--checked-indicator-background-color:${Zr};--state-color:${Nr}}:host([disabled]){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}.label{cursor:pointer;font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Pa});border-radius:${no};display:flex;height:16px;justify-content:center;margin:${er} ${jo};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${no};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${Pr}}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}:host(:hover) .control{border-color:${Ta}}:host(:active) .control{border-color:${Ia}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Pa})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Zr})}:host([aria-checked='true']:hover) .control{border-color:${qa}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${qa}}:host([aria-checked='true']:active) .control{border-color:${Xa}}:host([aria-checked='true']:active) .checked-indicator{background:${ei}}:host([disabled]){color:${_r};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${_r}}:host([disabled]) .checked-indicator{background:${_r}}`.withBehaviors(Bt(j`
310
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${Vo};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Nr});padding-inline-end:${jo};--control-border-color:${Pa};--checked-indicator-background-color:${Zr};--state-color:${Nr}}:host([disabled]){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}.label{cursor:pointer;font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Pa});border-radius:${no};display:flex;height:16px;justify-content:center;margin:${er} ${jo};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${no};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${Pr}}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}:host(:hover) .control{border-color:${Ta}}:host(:active) .control{border-color:${Ia}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Pa})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Zr})}:host([aria-checked='true']:hover) .control{border-color:${qa}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${qa}}:host([aria-checked='true']:active) .control{border-color:${Wa}}:host([aria-checked='true']:active) .checked-indicator{background:${ei}}:host([disabled]){color:${_r};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${_r}}:host([disabled]) .checked-indicator{background:${_r}}`.withBehaviors(Bt(j`
311
311
  :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`)),zp=function(e={}){return xe`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ht(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Fe({property:"defaultSlottedNodes",filter:St})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),Lp=Ap.compose({name:Tt.prefix+"-radio",template:zp,styles:Fp}),Np=rt;class Op extends ot{constructor(){super(...arguments),this.orientation=Np.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Ip&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in at&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===nt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===nt.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=$t(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}e([Ee({attribute:"readonly",mode:"boolean"})],Op.prototype,"readOnly",void 0),e([Ee({attribute:"disabled",mode:"boolean"})],Op.prototype,"disabled",void 0),e([Ee],Op.prototype,"name",void 0),e([Ee],Op.prototype,"value",void 0),e([Ee],Op.prototype,"orientation",void 0),e([C],Op.prototype,"childItems",void 0),e([C],Op.prototype,"slottedRadioButtons",void 0);var Dp=Object.defineProperty,Ep=Object.getOwnPropertyDescriptor;class Mp extends Op{constructor(){super(...arguments),this.stacked=!1}}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ep(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Dp(t,o,a)})([Ee({mode:"boolean"})],Mp.prototype,"stacked",2);const Rp=j`
312
312
  ${Ct("flex")}
313
313
 
314
- :host{align-items:flex-start;flex-direction:column;row-gap:${er}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}::slotted([slot='label']){color:${wr};padding:${er} ${jo} ${er} ${Vo};font:${Fo} ${co} / ${ko} ${To};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${jo}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${jo};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Hp=xe`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===Np.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Fe({property:"slottedRadioButtons",filter:Te("[role=radio]")})}></slot></div></template>`,Vp=Mp.compose({name:Tt.prefix+"-radio-group",template:Hp,styles:Rp});function _p(e,t,o,r){let i=st(0,1,(e-t)/(o-t));return r===nt.rtl&&(i=1-i),i}class jp extends ot{}class Gp extends($d(jp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const qp=rt,Xp="single-value";class Wp extends Gp{constructor(){super(...arguments),this.direction=nt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Xp,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},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,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=st(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==nt.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==nt.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-_p(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=_p(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}e([Ee({attribute:"readonly",mode:"boolean"})],Wp.prototype,"readOnly",void 0),e([C],Wp.prototype,"direction",void 0),e([C],Wp.prototype,"isDragging",void 0),e([C],Wp.prototype,"position",void 0),e([C],Wp.prototype,"trackWidth",void 0),e([C],Wp.prototype,"trackMinWidth",void 0),e([C],Wp.prototype,"trackHeight",void 0),e([C],Wp.prototype,"trackLeft",void 0),e([C],Wp.prototype,"trackMinHeight",void 0),e([C],Wp.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],Wp.prototype,"min",void 0),e([Ee({converter:Oe})],Wp.prototype,"max",void 0),e([Ee({converter:Oe})],Wp.prototype,"step",void 0),e([Ee],Wp.prototype,"orientation",void 0),e([Ee],Wp.prototype,"mode",void 0);var Up=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor;class Kp extends Wp{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
314
+ :host{align-items:flex-start;flex-direction:column;row-gap:${er}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}::slotted([slot='label']){color:${wr};padding:${er} ${jo} ${er} ${Vo};font:${Fo} ${co} / ${ko} ${To};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${jo}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${jo};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Hp=xe`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===Np.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Fe({property:"slottedRadioButtons",filter:Te("[role=radio]")})}></slot></div></template>`,Vp=Mp.compose({name:Tt.prefix+"-radio-group",template:Hp,styles:Rp});function _p(e,t,o,r){let i=st(0,1,(e-t)/(o-t));return r===nt.rtl&&(i=1-i),i}class jp extends ot{}class Gp extends($d(jp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const qp=rt,Wp="single-value";class Xp extends Gp{constructor(){super(...arguments),this.direction=nt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Wp,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},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,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=st(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==nt.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==nt.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-_p(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=_p(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}e([Ee({attribute:"readonly",mode:"boolean"})],Xp.prototype,"readOnly",void 0),e([C],Xp.prototype,"direction",void 0),e([C],Xp.prototype,"isDragging",void 0),e([C],Xp.prototype,"position",void 0),e([C],Xp.prototype,"trackWidth",void 0),e([C],Xp.prototype,"trackMinWidth",void 0),e([C],Xp.prototype,"trackHeight",void 0),e([C],Xp.prototype,"trackLeft",void 0),e([C],Xp.prototype,"trackMinHeight",void 0),e([C],Xp.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],Xp.prototype,"min",void 0),e([Ee({converter:Oe})],Xp.prototype,"max",void 0),e([Ee({converter:Oe})],Xp.prototype,"step",void 0),e([Ee],Xp.prototype,"orientation",void 0),e([Ee],Xp.prototype,"mode",void 0);var Up=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor;class Kp extends Xp{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
315
315
  :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?Yp(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Up(t,o,a)})([Ee],Kp.prototype,"size",2);const Qp={small:"small",medium:"medium"},Zp=j`
316
- ${Ct("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${oo};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${Ja};outline:1px solid ${Za}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${ga};border-radius:${no};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Fa}}.thumb-cursor:hover{background-color:${ya}}.thumb-cursor:active{background-color:${ka}}:host([disabled]) .thumb-cursor{background-color:${_r};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Wa}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${Pa};border-radius:${ro};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ro};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
316
+ ${Ct("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${oo};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${Ja};outline:1px solid ${Za}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${ga};border-radius:${no};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Fa}}.thumb-cursor:hover{background-color:${ya}}.thumb-cursor:active{background-color:${ka}}:host([disabled]) .thumb-cursor{background-color:${_r};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Xa}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${Pa};border-radius:${ro};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ro};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
317
317
  var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${$i} calc(var(--step-rate) - 1px),${$i} var(--step-rate)
318
318
  )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${na}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${va};position:absolute;height:100%;left:0;border-radius:${ro}}:host([disabled]) .track-start{background-color:${_r}}:host(:hover) .track-start{background-color:${ya}}:host([disabled]:hover) .track-start{background-color:${_r}}.track-start:active{background-color:${ka}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(Bt(j`
319
319
  .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`)),Jp=function(e={}){return xe`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${we("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${ht(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),eg=Kp.compose({name:Tt.prefix+"-slider",template:Jp,styles:Zp});class tg extends bp{}var og=Object.defineProperty,rg=Object.getOwnPropertyDescriptor,ig=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?rg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&og(t,o,a),a};class ag extends tg{}ig([Ee],ag.prototype,"size",2),ig([Ee],ag.prototype,"appearance",2);const ng={primary:"primary",inverted:"inverted"},sg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},lg=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,xe`<slot name="indeterminate">${ht(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),cg=j`
@@ -322,13 +322,13 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
322
322
  :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${ja};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${_a};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${Ma}}.indeterminate-indicator-1{stroke:${_a};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${Ma}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,dg=ag.compose({name:Tt.prefix+"-spinner",template:lg,styles:cg});class hg extends ot{}class ug extends(wd(hg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class pg extends ug{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}e([Ee({attribute:"readonly",mode:"boolean"})],pg.prototype,"readOnly",void 0),e([C],pg.prototype,"defaultSlottedNodes",void 0);var gg=Object.defineProperty,bg=Object.getOwnPropertyDescriptor;class fg extends pg{}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?bg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&gg(t,o,a)})([Ee({attribute:"label-position"})],fg.prototype,"labelPosition",2);const mg={above:"above",after:"after",before:"before"},vg=function(e={}){return xe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${ht(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),yg=j`
323
323
  ${Ct("inline-flex")}
324
324
 
325
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${wr};line-height:${ko};font-size:${co};font-weight:${Fo};font-family:${To};padding:${Zo} ${Vo};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Ho};box-sizing:border-box;width:40px;height:20px;background-color:${oa};border:1px solid ${Pa};border-radius:${no};outline:none;cursor:pointer;margin:${er} ${jo}}:host(:hover) .switch{background:none;border-color:${Ta}}:host(:active) .switch{border-color:${Ia}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Wa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${va}}:host([aria-checked='true']:hover) .switch{background:${ya};border-color:${ya}}:host([aria-checked='true']:active) .switch{background:${ka};border-color:${ka}}:host([aria-checked='true'][disabled]) .switch{background:${na};border-color:${Wa}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Nr};transition-duration:${dr};transition-timing-function:${xr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${ai};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${ni}}:host([aria-checked='true']:active) .checked-indicator{background:${si}}:host(:hover) .checked-indicator{background-color:${Or}}:host(:active) .checked-indicator{background-color:${Dr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${_r}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${_r}}:host(:focus-visible){border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}`.withBehaviors(Bt(j`
325
+ :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${wr};line-height:${ko};font-size:${co};font-weight:${Fo};font-family:${To};padding:${Zo} ${Vo};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Ho};box-sizing:border-box;width:40px;height:20px;background-color:${oa};border:1px solid ${Pa};border-radius:${no};outline:none;cursor:pointer;margin:${er} ${jo}}:host(:hover) .switch{background:none;border-color:${Ta}}:host(:active) .switch{border-color:${Ia}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Xa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${va}}:host([aria-checked='true']:hover) .switch{background:${ya};border-color:${ya}}:host([aria-checked='true']:active) .switch{background:${ka};border-color:${ka}}:host([aria-checked='true'][disabled]) .switch{background:${na};border-color:${Xa}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Nr};transition-duration:${dr};transition-timing-function:${xr};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${ai};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${ni}}:host([aria-checked='true']:active) .checked-indicator{background:${si}}:host(:hover) .checked-indicator{background-color:${Or}}:host(:active) .checked-indicator{background-color:${Dr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${_r}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${_r}}:host(:focus-visible){border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}`.withBehaviors(Bt(j`
326
326
  .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),kg=fg.compose({name:Tt.prefix+"-switch",template:vg,styles:yg}),xg=rt;class $g extends ot{constructor(){super(...arguments),this.orientation=xg.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ct()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ct()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===xg.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=st(0,t.length-1,o+e),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([Ee],$g.prototype,"orientation",void 0),e([Ee],$g.prototype,"activeid",void 0),e([C],$g.prototype,"tabs",void 0),e([C],$g.prototype,"tabpanels",void 0),bt($g,ut);const wg={subtle:"subtle",transparent:"transparent"},Bg={small:"small",medium:"medium",large:"large"};var Cg=Object.defineProperty,Sg=Object.getOwnPropertyDescriptor,Pg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Sg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Cg(t,o,a),a};class Tg extends $g{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=wg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===xg.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===xg.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const i=this.tabs,a=this.activetab||i[0],n=null==a?void 0:a.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:n.x-s.x,y:n.y-s.y,height:n.height,width:n.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
327
327
  :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
328
328
  :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Pg([Ee],Tg.prototype,"appearance",2),Pg([Ee({mode:"boolean"})],Tg.prototype,"disabled",2),Pg([Ee],Tg.prototype,"size",2);const Ig=function(e={}){return xe` ${gt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Fe("tabs")}></slot></div>${pt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Fe("tabpanels")}></slot></div>`}({}),Ag=j`
329
329
  ${Ct("grid")}
330
330
 
331
- :host{box-sizing:border-box;font-family:${To};font-size:${co};line-height:${ko};color:${Pr};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${_r}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${_r}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ro}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${_r}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${Xi};color:${Br};fill:${Jr}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Wi};fill:${Wi};color:${wr}}:host([size='small']) ::slotted(fluent-tab){font-size:${co};line-height:${ko};padding:${Jo} ${_o}}:host([size='large']) ::slotted(fluent-tab){font-size:${ho};line-height:${xo};padding:${rr} ${Go}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${hr};transition-timing-function:${mr}}:host ::slotted(fluent-tab)::after{height:${Eo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Eo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Eo};border-radius:${no};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Eo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Eo};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${Eo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Qo};padding-bottom:${Qo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${er};padding-bottom:${er}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${_o};left:${_o}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Jo};bottom:${Jo}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${er};bottom:${er}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${tr};bottom:${tr}}`,Fg=Tg.compose({name:Tt.prefix+"-tabs",template:Ig,styles:Ag});class zg extends ot{}e([Ee({mode:"boolean"})],zg.prototype,"disabled",void 0),bt(zg,ut);class Lg extends zg{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
331
+ :host{box-sizing:border-box;font-family:${To};font-size:${co};line-height:${ko};color:${Pr};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${_r}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${_r}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ro}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${_r}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${Wi};color:${Br};fill:${Jr}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Xi};fill:${Xi};color:${wr}}:host([size='small']) ::slotted(fluent-tab){font-size:${co};line-height:${ko};padding:${Jo} ${_o}}:host([size='large']) ::slotted(fluent-tab){font-size:${ho};line-height:${xo};padding:${rr} ${Go}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${hr};transition-timing-function:${mr}}:host ::slotted(fluent-tab)::after{height:${Eo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Eo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Eo};border-radius:${no};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Eo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Eo};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${Eo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Qo};padding-bottom:${Qo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${er};padding-bottom:${er}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${_o};left:${_o}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Jo};bottom:${Jo}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${er};bottom:${er}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${tr};bottom:${tr}}`,Fg=Tg.compose({name:Tt.prefix+"-tabs",template:Ig,styles:Ag});class zg extends ot{}e([Ee({mode:"boolean"})],zg.prototype,"disabled",void 0),bt(zg,ut);class Lg extends zg{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
332
332
  :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Ng=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${gt(e)}<span class="tab-content"><slot></slot></span>${pt(e)}</template>`}({}),Og=j`
333
333
  ${Ct("inline-flex")}
334
334
 
@@ -336,14 +336,14 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
336
336
  :host([aria-selected='true'])::after{background-color:Highlight}`)),Dg=Lg.compose({name:Tt.prefix+"-tab",template:Ng,styles:Og});class Eg extends ot{}class Mg extends Eg{}const Rg=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Hg=j`
337
337
  ${Ct("block")}
338
338
 
339
- :host{box-sizing:border-box;padding:${qo} ${Go}}`,Vg=Mg.compose({name:Tt.prefix+"-tab-panel",template:Rg,styles:Hg});var _g=Object.defineProperty,jg=Object.getOwnPropertyDescriptor,Gg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?jg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&_g(t,o,a),a};class qg extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Gg([Ee({mode:"boolean"})],qg.prototype,"nowrap",2),Gg([Ee({mode:"boolean"})],qg.prototype,"truncate",2),Gg([Ee({mode:"boolean"})],qg.prototype,"italic",2),Gg([Ee({mode:"boolean"})],qg.prototype,"underline",2),Gg([Ee({mode:"boolean"})],qg.prototype,"strikethrough",2),Gg([Ee({mode:"boolean"})],qg.prototype,"block",2),Gg([Ee],qg.prototype,"size",2),Gg([Ee],qg.prototype,"font",2),Gg([Ee],qg.prototype,"weight",2),Gg([Ee],qg.prototype,"align",2);const Xg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Wg={base:"base",numeric:"numeric",monospace:"monospace"},Ug={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Yg={start:"start",end:"end",center:"center",justify:"justify"},Kg=xe`<slot></slot>`,Qg=j`
339
+ :host{box-sizing:border-box;padding:${qo} ${Go}}`,Vg=Mg.compose({name:Tt.prefix+"-tab-panel",template:Rg,styles:Hg});var _g=Object.defineProperty,jg=Object.getOwnPropertyDescriptor,Gg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?jg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&_g(t,o,a),a};class qg extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Gg([Ee({mode:"boolean"})],qg.prototype,"nowrap",2),Gg([Ee({mode:"boolean"})],qg.prototype,"truncate",2),Gg([Ee({mode:"boolean"})],qg.prototype,"italic",2),Gg([Ee({mode:"boolean"})],qg.prototype,"underline",2),Gg([Ee({mode:"boolean"})],qg.prototype,"strikethrough",2),Gg([Ee({mode:"boolean"})],qg.prototype,"block",2),Gg([Ee],qg.prototype,"size",2),Gg([Ee],qg.prototype,"font",2),Gg([Ee],qg.prototype,"weight",2),Gg([Ee],qg.prototype,"align",2);const Wg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Xg={base:"base",numeric:"numeric",monospace:"monospace"},Ug={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Yg={start:"start",end:"end",center:"center",justify:"justify"},Kg=xe`<slot></slot>`,Qg=j`
340
340
  ${Ct("inline")}
341
341
 
342
342
  :host{contain:content}::slotted(*){font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${so};line-height:${vo}}:host([size='200']) ::slotted(*){font-size:${lo};line-height:${yo}}:host([size='400']) ::slotted(*){font-size:${ho};line-height:${xo}}:host([size='500']) ::slotted(*){font-size:${uo};line-height:${$o}}:host([size='600']) ::slotted(*){font-size:${po};line-height:${wo}}:host([size='700']) ::slotted(*){font-size:${go};line-height:${Bo}}:host([size='800']) ::slotted(*){font-size:${bo};line-height:${Co}}:host([size='900']) ::slotted(*){font-size:${fo};line-height:${So}}:host([size='1000']) ::slotted(*){font-size:${mo};line-height:${Po}}:host([font='monospace']) ::slotted(*){font-family:${Io}}:host([font='numeric']) ::slotted(*){font-family:${Ao}}:host([weight='medium']) ::slotted(*){font-weight:${zo}}:host([weight='semibold']) ::slotted(*){font-weight:${Lo}}:host([weight='bold']) ::slotted(*){font-weight:${No}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Zg=qg.compose({name:Tt.prefix+"-text",template:Kg,styles:Qg});class Jg extends ot{}class eb extends($d(Jg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const tb={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class ob extends eb{constructor(){super(...arguments),this.type=tb.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&k.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}e([Ee({attribute:"readonly",mode:"boolean"})],ob.prototype,"readOnly",void 0),e([Ee({mode:"boolean"})],ob.prototype,"autofocus",void 0),e([Ee],ob.prototype,"placeholder",void 0),e([Ee],ob.prototype,"type",void 0),e([Ee],ob.prototype,"list",void 0),e([Ee({converter:Oe})],ob.prototype,"maxlength",void 0),e([Ee({converter:Oe})],ob.prototype,"minlength",void 0),e([Ee],ob.prototype,"pattern",void 0),e([Ee({converter:Oe})],ob.prototype,"size",void 0),e([Ee({mode:"boolean"})],ob.prototype,"spellcheck",void 0),e([C],ob.prototype,"defaultSlottedNodes",void 0);class rb{}bt(rb,dt),bt(ob,ut,rb);var ib=Object.defineProperty,ab=Object.getOwnPropertyDescriptor,nb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?ab(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ib(t,o,a),a};class sb extends ob{}nb([Ee({attribute:"control-size"})],sb.prototype,"controlSize",2),nb([Ee],sb.prototype,"appearance",2);const lb={small:"small",medium:"medium",large:"large"},cb={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},db=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe({property:"defaultSlottedNodes",filter:St})}></slot></label><div class="root" part="root">${gt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")} />${pt(e)}</div>`}(),hb=j`
343
343
  ${Ct("block")}
344
344
 
345
- :host{font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko};max-width:400px}.label{display:flex;color:${wr};padding-bottom:${Zo};flex-shrink:0;padding-inline-end:${Vo}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${Go};border:${Oo} solid ${Fa};border-bottom-color:${Pa};border-radius:${ro};gap:${Ho}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ro});border-radius:0 0 ${ro} ${ro};border-bottom:2px solid ${Ga};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${sr};transition-delay:${br}}.control{width:100%;height:100%;box-sizing:border-box;color:${wr};border-radius:${ro};background:${oa};font-family:${To};font-weight:${Fo};font-size:${co};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Vr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Nr};font-size:${uo}}:host ::slotted([slot='start']){padding-right:${Ho}}:host ::slotted([slot='end']){padding-left:${Ho};gap:${Vo}}:host(:hover) .root{border-color:${za};border-bottom-color:${Ta}}:host(:active) .root{border-color:${La}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${dr};transition-delay:${vr}}:host(:focus-within:active) .root:after{border-bottom-color:${Xa}}:host([appearance='outline']:focus-within) .root{border:${Oo} solid ${Fa}}:host(:focus-within) .control{color:${wr}}:host([disabled]) .root{background:${oa};border:${Oo} solid ${Wa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${_r}}::selection{color:${ai};background-color:${ji}}:host([control-size='small']) .control{font-size:${lo};font-weight:${Fo};line-height:${yo}}:host([control-size='small']) .root{height:24px;gap:${Ho};padding:0 ${_o}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ho}}:host([control-size='large']) .control{font-size:${ho};font-weight:${Fo};line-height:${xo}}:host([control-size='large']) .root{height:40px;gap:${jo};padding:0 ${qo}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${po}}:host([appearance='underline']) .root{background:${oa};border:0;border-radius:0;border-bottom:${Oo} solid ${Pa}}:host([appearance='underline']:hover) .root{border-bottom-color:${Ta}}:host([appearance='underline']:active) .root{border-bottom-color:${Ia}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${Ia}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Wa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${Oo} solid ${Ya};box-shadow:${Ql}}:host([appearance='filled-lighter']) .root{background:${$i}}:host([appearance='filled-darker']) .root{background:${Ai}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Ka}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Ka};background:${Ai}}`,ub=sb.compose({name:Tt.prefix+"-text-input",template:db,styles:hb});var pb=Object.defineProperty,gb=Object.getOwnPropertyDescriptor,bb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?gb(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&pb(t,o,a),a};class fb extends Nd{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}bb([Ee({attribute:"checked",mode:"boolean"})],fb.prototype,"checkedAttribute",2),bb([C],fb.prototype,"defaultChecked",2),bb([C],fb.prototype,"checked",2),bb([Ee({attribute:"current-checked",mode:"boolean"})],fb.prototype,"currentChecked",2);const mb=yc,vb=kc,yb=xc,kb=Ad(),xb=j`
345
+ :host{font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko};max-width:400px}.label{display:flex;color:${wr};padding-bottom:${Zo};flex-shrink:0;padding-inline-end:${Vo}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${Go};border:${Oo} solid ${Fa};border-bottom-color:${Pa};border-radius:${ro};gap:${Ho}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ro});border-radius:0 0 ${ro} ${ro};border-bottom:2px solid ${Ga};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${sr};transition-delay:${br}}.control{width:100%;height:100%;box-sizing:border-box;color:${wr};border-radius:${ro};background:${oa};font-family:${To};font-weight:${Fo};font-size:${co};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Vr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Nr};font-size:${uo}}:host ::slotted([slot='start']){padding-right:${Ho}}:host ::slotted([slot='end']){padding-left:${Ho};gap:${Vo}}:host(:hover) .root{border-color:${za};border-bottom-color:${Ta}}:host(:active) .root{border-color:${La}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${dr};transition-delay:${vr}}:host(:focus-within:active) .root:after{border-bottom-color:${Wa}}:host([appearance='outline']:focus-within) .root{border:${Oo} solid ${Fa}}:host(:focus-within) .control{color:${wr}}:host([disabled]) .root{background:${oa};border:${Oo} solid ${Xa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${_r}}::selection{color:${ai};background-color:${ji}}:host([control-size='small']) .control{font-size:${lo};font-weight:${Fo};line-height:${yo}}:host([control-size='small']) .root{height:24px;gap:${Ho};padding:0 ${_o}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ho}}:host([control-size='large']) .control{font-size:${ho};font-weight:${Fo};line-height:${xo}}:host([control-size='large']) .root{height:40px;gap:${jo};padding:0 ${qo}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${po}}:host([appearance='underline']) .root{background:${oa};border:0;border-radius:0;border-bottom:${Oo} solid ${Pa}}:host([appearance='underline']:hover) .root{border-bottom-color:${Ta}}:host([appearance='underline']:active) .root{border-bottom-color:${Ia}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${Ia}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Xa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${Oo} solid ${Ya};box-shadow:${Ql}}:host([appearance='filled-lighter']) .root{background:${$i}}:host([appearance='filled-darker']) .root{background:${Ai}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Ka}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Ka};background:${Ai}}`,ub=sb.compose({name:Tt.prefix+"-text-input",template:db,styles:hb});var pb=Object.defineProperty,gb=Object.getOwnPropertyDescriptor,bb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?gb(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&pb(t,o,a),a};class fb extends Nd{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}bb([Ee({attribute:"checked",mode:"boolean"})],fb.prototype,"checkedAttribute",2),bb([C],fb.prototype,"defaultChecked",2),bb([C],fb.prototype,"checked",2),bb([Ee({attribute:"current-checked",mode:"boolean"})],fb.prototype,"currentChecked",2);const mb=yc,vb=kc,yb=xc,kb=Ad(),xb=j`
346
346
  ${Sc}
347
347
 
348
- :host([aria-pressed="true"]) .control{border-color:${Fa};background-color:${Ci};color:${wr};border-width:${Oo}}:host([aria-pressed='true']:hover) .control{border-color:${za};background-color:${wi}}:host([aria-pressed='true']:active) .control{border-color:${La};background-color:${Bi}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${ma};color:${di}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${ba}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${fa}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Ui};color:${Ar}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Xi};color:${Tr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Wi};color:${Ir}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${aa}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${ra}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${ia}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Lr}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Fr}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${zr}}`.withBehaviors(Bt(j`
349
- :host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),$b=fb.compose({name:Tt.prefix+"-toggle-button",template:kb,styles:xb,shadowOptions:{delegatesFocus:!0}}),wb=Object.keys(cc),Bb=e=>{for(const t of wb)cc[t].withDefault(e[t])},Cb=(e,t)=>{for(const o of wb)cc[o].setValueFor(e,t[o])};export{kt as Accordion,Lt as AccordionItem,Ot as AccordionItemExpandIconPosition,Nt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,qc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Rc as AvatarColor,Jc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Uc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Nd as Button,yc as ButtonAppearance,Dd as ButtonDefinition,kc as ButtonShape,xc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,jd as Checkbox,Yd as CheckboxDefinition,Xd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Wd as CheckboxTemplate,Kd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,nh as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,kh as Divider,xh as DividerAlignContent,$h as DividerAppearance,Ch as DividerDefinition,bh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,wh as DividerTemplate,Tt as FluentDesignSystem,Ih as Image,Nh as ImageDefinition,Ah as ImageFit,Fh as ImageShape,Lh as ImageStyles,zh as ImageTemplate,Mh as Label,Vh as LabelDefinition,Rh as LabelStyles,Hh as LabelTemplate,Wu as Menu,Qu as MenuButton,Zu as MenuButtonAppearance,op as MenuButtonDefinition,Ju as MenuButtonShape,ep as MenuButtonSize,Sc as MenuButtonStyles,tp as MenuButtonTemplate,Ku as MenuDefinition,ap as MenuItem,cp as MenuItemDefinition,rp as MenuItemRole,lp as MenuItemStyles,sp as MenuItemTemplate,hp as MenuList,gp as MenuListDefinition,pp as MenuListStyles,up as MenuListTemplate,Yu as MenuStyles,Uu as MenuTemplate,kp as ProgressBar,Sp as ProgressBarDefinition,$p as ProgressBarShape,Bp as ProgressBarStyles,Cp as ProgressBarTemplate,xp as ProgressBarThickness,wp as ProgressBarValidationState,Ap as Radio,Lp as RadioDefinition,Mp as RadioGroup,Vp as RadioGroupDefinition,Np as RadioGroupOrientation,Rp as RadioGroupStyles,Hp as RadioGroupTemplate,Fp as RadioStyles,zp as RadioTemplate,Kp as Slider,eg as SliderDefinition,qp as SliderOrientation,Qp as SliderSize,Zp as SliderStyles,Jp as SliderTemplate,ag as Spinner,ng as SpinnerAppearance,dg as SpinnerDefinition,sg as SpinnerSize,cg as SpinnerStyles,lg as SpinnerTemplate,fg as Switch,kg as SwitchDefinition,mg as SwitchLabelPosition,yg as SwitchStyles,vg as SwitchTemplate,Lg as Tab,Dg as TabDefinition,Mg as TabPanel,Vg as TabPanelDefinition,Hg as TabPanelStyles,Rg as TabPanelTemplate,Og as TabStyles,Ng as TabTemplate,Tg as Tabs,wg as TabsAppearance,Fg as TabsDefinition,xg as TabsOrientation,Bg as TabsSize,Ag as TabsStyles,Ig as TabsTemplate,qg as Text,Yg as TextAlign,Zg as TextDefinition,Wg as TextFont,sb as TextInput,cb as TextInputAppearance,lb as TextInputControlSize,ub as TextInputDefinition,hb as TextInputStyles,db as TextInputTemplate,tb as TextInputType,Xg as TextSize,Qg as TextStyles,Kg as TextTemplate,Ug as TextWeight,fb as ToggleButton,mb as ToggleButtonAppearance,$b as ToggleButtonDefinition,vb as ToggleButtonShape,yb as ToggleButtonSize,xb as ToggleButtonStyles,kb as ToggleButtonTemplate,It as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,xt as accordionTemplate,no as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,ao as borderRadiusXLarge,ua as colorBackgroundOverlay,ga as colorBrandBackground,$a as colorBrandBackground2,ba as colorBrandBackgroundHover,wa as colorBrandBackgroundInverted,Ba as colorBrandBackgroundInvertedHover,Ca as colorBrandBackgroundInvertedPressed,Sa as colorBrandBackgroundInvertedSelected,fa as colorBrandBackgroundPressed,ma as colorBrandBackgroundSelected,xa as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,Gr as colorBrandForegroundLink,qr as colorBrandForegroundLinkHover,Xr as colorBrandForegroundLinkPressed,Wr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,ki as colorBrandForegroundOnLightPressed,xi as colorBrandForegroundOnLightSelected,sn as colorBrandShadowAmbient,ln as colorBrandShadowKey,_a as colorBrandStroke1,ja as colorBrandStroke2,va as colorCompoundBrandBackground,ya as colorCompoundBrandBackgroundHover,ka as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Ga as colorCompoundBrandStroke,qa as colorCompoundBrandStrokeHover,Xa as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Ii as colorNeutralBackground2Selected,Ai as colorNeutralBackground3,Fi as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Li as colorNeutralBackground3Selected,Ni as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Mi as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,_i as colorNeutralBackground6,na as colorNeutralBackgroundDisabled,ji as colorNeutralBackgroundInverted,sa as colorNeutralBackgroundInvertedDisabled,Gi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Fr as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Lr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Ur as colorNeutralForeground2Link,Yr as colorNeutralForeground2LinkHover,Kr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Ir as colorNeutralForeground2Pressed,Ar as colorNeutralForeground2Selected,Nr as colorNeutralForeground3,Mr as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,_r as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,jr as colorNeutralForegroundInvertedDisabled,ni as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,en as colorNeutralShadowAmbient,an as colorNeutralShadowAmbientDarker,on as colorNeutralShadowAmbientLighter,tn as colorNeutralShadowKey,nn as colorNeutralShadowKeyDarker,rn as colorNeutralShadowKeyLighter,la as colorNeutralStencil1,da as colorNeutralStencil1Alpha,ca as colorNeutralStencil2,ha as colorNeutralStencil2Alpha,Fa as colorNeutralStroke1,za as colorNeutralStroke1Hover,La as colorNeutralStroke1Pressed,Na as colorNeutralStroke1Selected,Oa as colorNeutralStroke2,Da as colorNeutralStroke3,Pa as colorNeutralStrokeAccessible,Ta as colorNeutralStrokeAccessibleHover,Ia as colorNeutralStrokeAccessiblePressed,Aa as colorNeutralStrokeAccessibleSelected,Wa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ma as colorNeutralStrokeOnBrand2,Ra as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Wl as colorPaletteAnchorBorderActive,Xl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Xn as colorPaletteBerryBackground2,Wn as colorPaletteBerryBackground3,Zn as colorPaletteBerryBorder1,Jn as colorPaletteBerryBorder2,Qn as colorPaletteBerryBorderActive,Un as colorPaletteBerryForeground1,Yn as colorPaletteBerryForeground2,Kn as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ls as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ns as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Ms as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,xs as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,qs as colorPaletteDarkGreenBackground2,Ws as colorPaletteDarkGreenBorderActive,Xs as colorPaletteDarkGreenForeground2,Pn as colorPaletteDarkOrangeBackground1,Tn as colorPaletteDarkOrangeBackground2,In as colorPaletteDarkOrangeBackground3,Nn as colorPaletteDarkOrangeBorder1,On as colorPaletteDarkOrangeBorder2,Ln as colorPaletteDarkOrangeBorderActive,An as colorPaletteDarkOrangeForeground1,Fn as colorPaletteDarkOrangeForeground2,zn as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,ks as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Rs as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,As as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,Fs as colorPaletteGoldForeground2,xl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,vn as colorPaletteGreenBackground1,yn as colorPaletteGreenBackground2,kn as colorPaletteGreenBackground3,Cn as colorPaletteGreenBorder1,Sn as colorPaletteGreenBorder2,Bn as colorPaletteGreenBorderActive,xn as colorPaletteGreenForeground1,$n as colorPaletteGreenForeground2,wn as colorPaletteGreenForeground3,Yl as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,ns as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,as as colorPaletteLightGreenForeground3,Us as colorPaletteLightTealBackground2,Ks as colorPaletteLightTealBorderActive,Ys as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Al as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Fl as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Is as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Il as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,_l as colorPalettePlatinumBackground2,Gl as colorPalettePlatinumBorderActive,jl as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Nl as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,kl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,cn as colorPaletteRedBackground1,dn as colorPaletteRedBackground2,hn as colorPaletteRedBackground3,fn as colorPaletteRedBorder1,mn as colorPaletteRedBorder2,bn as colorPaletteRedBorderActive,un as colorPaletteRedForeground1,pn as colorPaletteRedForeground2,gn as colorPaletteRedForeground3,Ul as colorPaletteRedForegroundInverted,nl as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,_s as colorPaletteSeafoamBackground2,Gs as colorPaletteSeafoamBorderActive,js as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Dn as colorPaletteYellowBackground1,En as colorPaletteYellowBackground2,Mn as colorPaletteYellowBackground3,jn as colorPaletteYellowBorder1,Gn as colorPaletteYellowBorder2,_n as colorPaletteYellowBorderActive,Rn as colorPaletteYellowForeground1,Hn as colorPaletteYellowForeground2,Vn as colorPaletteYellowForeground3,Kl as colorPaletteYellowForegroundInverted,pa as colorScrollbarOverlay,Za as colorStrokeFocus1,Ja as colorStrokeFocus2,qi as colorSubtleBackground,Xi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Wi as colorSubtleBackgroundPressed,Ui as colorSubtleBackgroundSelected,oa as colorTransparentBackground,ra as colorTransparentBackgroundHover,ia as colorTransparentBackgroundPressed,aa as colorTransparentBackgroundSelected,Ya as colorTransparentStroke,Qa as colorTransparentStrokeDisabled,Ka as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,xr as curveEasyEase,kr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Io as fontFamilyMonospace,Ao as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,No as fontWeightBold,zo as fontWeightMedium,Fo as fontWeightRegular,Lo as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,ko as lineHeightBase300,xo as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,Bb as setTheme,Cb as setThemeFor,ec as shadow16,nc as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,ac as shadow8Brand,Xo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Ro as spacingHorizontalNone,jo as spacingHorizontalS,_o as spacingHorizontalSNudge,Wo as spacingHorizontalXL,Vo as spacingHorizontalXS,Uo as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Yo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Ko as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,ar as spacingVerticalXXL,Qo as spacingVerticalXXS,nr as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Mo as strokeWidthThickest,Oo as strokeWidthThin};
348
+ :host([aria-pressed="true"]) .control{border-color:${Fa};background-color:${Ci};color:${wr};border-width:${Oo}}:host([aria-pressed='true']:hover) .control{border-color:${za};background-color:${wi}}:host([aria-pressed='true']:active) .control{border-color:${La};background-color:${Bi}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${ma};color:${di}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${ba}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${fa}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Ui};color:${Ar}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Wi};color:${Tr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Xi};color:${Ir}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${aa}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${ra}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${ia}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Lr}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Fr}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${zr}}`.withBehaviors(Bt(j`
349
+ :host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),$b=fb.compose({name:Tt.prefix+"-toggle-button",template:kb,styles:xb,shadowOptions:{delegatesFocus:!0}}),wb=Object.keys(cc),Bb=e=>{for(const t of wb)cc[t].withDefault(e[t])},Cb=(e,t)=>{for(const o of wb)cc[o].setValueFor(e,t[o])};export{kt as Accordion,Lt as AccordionItem,Ot as AccordionItemExpandIconPosition,Nt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,qc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Rc as AvatarColor,Jc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Uc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Nd as Button,yc as ButtonAppearance,Dd as ButtonDefinition,kc as ButtonShape,xc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,jd as Checkbox,Yd as CheckboxDefinition,Wd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Xd as CheckboxTemplate,Kd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,nh as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,kh as Divider,xh as DividerAlignContent,$h as DividerAppearance,Ch as DividerDefinition,bh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,wh as DividerTemplate,Tt as FluentDesignSystem,Ih as Image,Nh as ImageDefinition,Ah as ImageFit,Fh as ImageShape,Lh as ImageStyles,zh as ImageTemplate,Mh as Label,Vh as LabelDefinition,Rh as LabelStyles,Hh as LabelTemplate,Xu as Menu,Qu as MenuButton,Zu as MenuButtonAppearance,op as MenuButtonDefinition,Ju as MenuButtonShape,ep as MenuButtonSize,Sc as MenuButtonStyles,tp as MenuButtonTemplate,Ku as MenuDefinition,ap as MenuItem,cp as MenuItemDefinition,rp as MenuItemRole,lp as MenuItemStyles,sp as MenuItemTemplate,hp as MenuList,gp as MenuListDefinition,pp as MenuListStyles,up as MenuListTemplate,Yu as MenuStyles,Uu as MenuTemplate,kp as ProgressBar,Sp as ProgressBarDefinition,$p as ProgressBarShape,Bp as ProgressBarStyles,Cp as ProgressBarTemplate,xp as ProgressBarThickness,wp as ProgressBarValidationState,Ap as Radio,Lp as RadioDefinition,Mp as RadioGroup,Vp as RadioGroupDefinition,Np as RadioGroupOrientation,Rp as RadioGroupStyles,Hp as RadioGroupTemplate,Fp as RadioStyles,zp as RadioTemplate,Kp as Slider,eg as SliderDefinition,qp as SliderOrientation,Qp as SliderSize,Zp as SliderStyles,Jp as SliderTemplate,ag as Spinner,ng as SpinnerAppearance,dg as SpinnerDefinition,sg as SpinnerSize,cg as SpinnerStyles,lg as SpinnerTemplate,fg as Switch,kg as SwitchDefinition,mg as SwitchLabelPosition,yg as SwitchStyles,vg as SwitchTemplate,Lg as Tab,Dg as TabDefinition,Mg as TabPanel,Vg as TabPanelDefinition,Hg as TabPanelStyles,Rg as TabPanelTemplate,Og as TabStyles,Ng as TabTemplate,Tg as Tabs,wg as TabsAppearance,Fg as TabsDefinition,xg as TabsOrientation,Bg as TabsSize,Ag as TabsStyles,Ig as TabsTemplate,qg as Text,Yg as TextAlign,Zg as TextDefinition,Xg as TextFont,sb as TextInput,cb as TextInputAppearance,lb as TextInputControlSize,ub as TextInputDefinition,hb as TextInputStyles,db as TextInputTemplate,tb as TextInputType,Wg as TextSize,Qg as TextStyles,Kg as TextTemplate,Ug as TextWeight,fb as ToggleButton,mb as ToggleButtonAppearance,$b as ToggleButtonDefinition,vb as ToggleButtonShape,yb as ToggleButtonSize,xb as ToggleButtonStyles,kb as ToggleButtonTemplate,It as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,xt as accordionTemplate,no as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,ao as borderRadiusXLarge,ua as colorBackgroundOverlay,ga as colorBrandBackground,$a as colorBrandBackground2,ba as colorBrandBackgroundHover,wa as colorBrandBackgroundInverted,Ba as colorBrandBackgroundInvertedHover,Ca as colorBrandBackgroundInvertedPressed,Sa as colorBrandBackgroundInvertedSelected,fa as colorBrandBackgroundPressed,ma as colorBrandBackgroundSelected,xa as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,Gr as colorBrandForegroundLink,qr as colorBrandForegroundLinkHover,Wr as colorBrandForegroundLinkPressed,Xr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,ki as colorBrandForegroundOnLightPressed,xi as colorBrandForegroundOnLightSelected,sn as colorBrandShadowAmbient,ln as colorBrandShadowKey,_a as colorBrandStroke1,ja as colorBrandStroke2,va as colorCompoundBrandBackground,ya as colorCompoundBrandBackgroundHover,ka as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Ga as colorCompoundBrandStroke,qa as colorCompoundBrandStrokeHover,Wa as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Ii as colorNeutralBackground2Selected,Ai as colorNeutralBackground3,Fi as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Li as colorNeutralBackground3Selected,Ni as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Mi as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,_i as colorNeutralBackground6,na as colorNeutralBackgroundDisabled,ji as colorNeutralBackgroundInverted,sa as colorNeutralBackgroundInvertedDisabled,Gi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Fr as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Lr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Ur as colorNeutralForeground2Link,Yr as colorNeutralForeground2LinkHover,Kr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Ir as colorNeutralForeground2Pressed,Ar as colorNeutralForeground2Selected,Nr as colorNeutralForeground3,Mr as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,_r as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,jr as colorNeutralForegroundInvertedDisabled,ni as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,en as colorNeutralShadowAmbient,an as colorNeutralShadowAmbientDarker,on as colorNeutralShadowAmbientLighter,tn as colorNeutralShadowKey,nn as colorNeutralShadowKeyDarker,rn as colorNeutralShadowKeyLighter,la as colorNeutralStencil1,da as colorNeutralStencil1Alpha,ca as colorNeutralStencil2,ha as colorNeutralStencil2Alpha,Fa as colorNeutralStroke1,za as colorNeutralStroke1Hover,La as colorNeutralStroke1Pressed,Na as colorNeutralStroke1Selected,Oa as colorNeutralStroke2,Da as colorNeutralStroke3,Pa as colorNeutralStrokeAccessible,Ta as colorNeutralStrokeAccessibleHover,Ia as colorNeutralStrokeAccessiblePressed,Aa as colorNeutralStrokeAccessibleSelected,Xa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ma as colorNeutralStrokeOnBrand2,Ra as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Xl as colorPaletteAnchorBorderActive,Wl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Wn as colorPaletteBerryBackground2,Xn as colorPaletteBerryBackground3,Zn as colorPaletteBerryBorder1,Jn as colorPaletteBerryBorder2,Qn as colorPaletteBerryBorderActive,Un as colorPaletteBerryForeground1,Yn as colorPaletteBerryForeground2,Kn as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ls as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ns as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Ms as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,xs as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,qs as colorPaletteDarkGreenBackground2,Xs as colorPaletteDarkGreenBorderActive,Ws as colorPaletteDarkGreenForeground2,Pn as colorPaletteDarkOrangeBackground1,Tn as colorPaletteDarkOrangeBackground2,In as colorPaletteDarkOrangeBackground3,Nn as colorPaletteDarkOrangeBorder1,On as colorPaletteDarkOrangeBorder2,Ln as colorPaletteDarkOrangeBorderActive,An as colorPaletteDarkOrangeForeground1,Fn as colorPaletteDarkOrangeForeground2,zn as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,ks as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Rs as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,As as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,Fs as colorPaletteGoldForeground2,xl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,vn as colorPaletteGreenBackground1,yn as colorPaletteGreenBackground2,kn as colorPaletteGreenBackground3,Cn as colorPaletteGreenBorder1,Sn as colorPaletteGreenBorder2,Bn as colorPaletteGreenBorderActive,xn as colorPaletteGreenForeground1,$n as colorPaletteGreenForeground2,wn as colorPaletteGreenForeground3,Yl as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,ns as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,as as colorPaletteLightGreenForeground3,Us as colorPaletteLightTealBackground2,Ks as colorPaletteLightTealBorderActive,Ys as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Al as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Fl as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Is as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Il as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,_l as colorPalettePlatinumBackground2,Gl as colorPalettePlatinumBorderActive,jl as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Nl as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,kl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,cn as colorPaletteRedBackground1,dn as colorPaletteRedBackground2,hn as colorPaletteRedBackground3,fn as colorPaletteRedBorder1,mn as colorPaletteRedBorder2,bn as colorPaletteRedBorderActive,un as colorPaletteRedForeground1,pn as colorPaletteRedForeground2,gn as colorPaletteRedForeground3,Ul as colorPaletteRedForegroundInverted,nl as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,_s as colorPaletteSeafoamBackground2,Gs as colorPaletteSeafoamBorderActive,js as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Dn as colorPaletteYellowBackground1,En as colorPaletteYellowBackground2,Mn as colorPaletteYellowBackground3,jn as colorPaletteYellowBorder1,Gn as colorPaletteYellowBorder2,_n as colorPaletteYellowBorderActive,Rn as colorPaletteYellowForeground1,Hn as colorPaletteYellowForeground2,Vn as colorPaletteYellowForeground3,Kl as colorPaletteYellowForegroundInverted,pa as colorScrollbarOverlay,Za as colorStrokeFocus1,Ja as colorStrokeFocus2,qi as colorSubtleBackground,Wi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Xi as colorSubtleBackgroundPressed,Ui as colorSubtleBackgroundSelected,oa as colorTransparentBackground,ra as colorTransparentBackgroundHover,ia as colorTransparentBackgroundPressed,aa as colorTransparentBackgroundSelected,Ya as colorTransparentStroke,Qa as colorTransparentStrokeDisabled,Ka as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,xr as curveEasyEase,kr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Io as fontFamilyMonospace,Ao as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,No as fontWeightBold,zo as fontWeightMedium,Fo as fontWeightRegular,Lo as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,ko as lineHeightBase300,xo as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,Bb as setTheme,Cb as setThemeFor,ec as shadow16,nc as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,ac as shadow8Brand,Wo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Ro as spacingHorizontalNone,jo as spacingHorizontalS,_o as spacingHorizontalSNudge,Xo as spacingHorizontalXL,Vo as spacingHorizontalXS,Uo as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Yo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Ko as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,ar as spacingVerticalXXL,Qo as spacingVerticalXXS,nr as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Mo as strokeWidthThickest,Oo as strokeWidthThin};