@fluentui/web-components 3.0.0-alpha.21 → 3.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +31 -1
- package/CHANGELOG.md +20 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/menu-item/menu-item.d.ts +2 -1
- package/dist/dts/text-input/define.d.ts +1 -0
- package/dist/dts/text-input/index.d.ts +6 -0
- package/dist/dts/text-input/text-input.d.ts +26 -0
- package/dist/dts/text-input/text-input.definition.d.ts +10 -0
- package/dist/dts/text-input/text-input.options.d.ts +30 -0
- package/dist/dts/text-input/text-input.styles.d.ts +4 -0
- package/dist/dts/text-input/text-input.template.d.ts +6 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/menu-item/menu-item.js +2 -1
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/text-input/define.js +4 -0
- package/dist/esm/text-input/define.js.map +1 -0
- package/dist/esm/text-input/index.js +7 -0
- package/dist/esm/text-input/index.js.map +1 -0
- package/dist/esm/text-input/text-input.definition.js +18 -0
- package/dist/esm/text-input/text-input.definition.js.map +1 -0
- package/dist/esm/text-input/text-input.js +16 -0
- package/dist/esm/text-input/text-input.js.map +1 -0
- package/dist/esm/text-input/text-input.options.js +20 -0
- package/dist/esm/text-input/text-input.options.js.map +1 -0
- package/dist/esm/text-input/text-input.styles.js +200 -0
- package/dist/esm/text-input/text-input.styles.js.map +1 -0
- package/dist/esm/text-input/text-input.template.js +6 -0
- package/dist/esm/text-input/text-input.template.js.map +1 -0
- package/dist/fluent-web-components.api.json +279 -0
- package/dist/web-components.d.ts +85 -0
- package/dist/web-components.js +396 -121
- package/dist/web-components.min.js +169 -166
- package/docs/api-report.md +45 -0
- package/package.json +5 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";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(e){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 d=globalThis.FAST;if(void 0===d.getById){const e=Object.create(null);Reflect.defineProperty(d,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===d.error&&Object.assign(d,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const c=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 d.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=d.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=d.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw d.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 c{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 c(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=d.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 F extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function I(e,t,o=B.isVolatileBinding(e)){return new F(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let N;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(N),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 L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){N=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const D=h(),R=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class O{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)}}R.define(O);const M=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${M}${++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 O(I(s),V()).createCSS(n):s instanceof T?s=new O(s,V()).createCSS(n):void 0!==R.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||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 L(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 L(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)}}R.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 d.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 de(e){e.startsWith("fast-")||d.warn(1204,{name:e})}const ce=new Proxy(document.createElement("div"),{get(e,t){de(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(de(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:ce;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,d=n.length;l<d;++l){const c=n[l],h=c.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,c.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(c),l--,d--,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,d=n.length;t<d;++t){const d=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(d)?s.textContent=d:(s.textContent=" ",ee.assignAspect(d),e.addFactory(d,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;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 d=new re(r);return ee.assignAspect(d,o),d}},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 d.error(1208);if(this.policy)throw d.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(I(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 d.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);function Be(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Ce=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Ce;class Pe 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,c),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 Te extends Pe{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 Te(e)}ee.define(Te);const Ie=Object.freeze({locate:u()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function ze(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ne={toView(e){const t=ze(e);return t?t.toString():t},fromView:ze};class Le{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=Ae)}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(Ie.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 Le(e,r)):o.push(new Le(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Re={mode:"open"},Ee={},Oe=new Set,Me=d.getById(r.elementRegistry,()=>h());class He{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=Le.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?Re:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Re),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Ee:Object.assign(Object.assign({},Ee),t.elementOptions),this.styles=L.normalize(t.styles),Me.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 Oe.has(e)||Me.getByType(e)?new He(class extends e{},t):new He(e,t)}static registerBaseType(e){Oe.add(e)}}He.getByType=Me.getByType,He.getForInstance=Me.getForInstance;const Ve={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function je(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let Ge;class qe 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&&_e.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=je(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=je(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.addBehavior(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},Ve),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=je(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=He.getForInstance(e);if(void 0===o)throw d.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function Xe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=je(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class We{constructor(e){const t=We.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){const t=Xe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Xe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}We.styleSheetCache=new Map;let Ue=0;function Ye(e){return e===document?document.body:e}function Ke(e){const t=class extends e{constructor(){super(),qe.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 He.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?We:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ue}addStylesTo(e){e=Ye(Xe(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=Ye(Xe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Qe=Object.assign(Ke(HTMLElement),{from:function(e){return Ke(e)},define:function(e,t){return i(e)?He.compose(e,t).define().type:He.compose(this,e).define().type},compose:function(e,t){return i(e)?He.compose(e,t):He.compose(this,e)}});function Ze(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}function Je(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 et(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())}))}class tt{}Je([De({attribute:"aria-atomic"})],tt.prototype,"ariaAtomic",void 0),Je([De({attribute:"aria-busy"})],tt.prototype,"ariaBusy",void 0),Je([De({attribute:"aria-controls"})],tt.prototype,"ariaControls",void 0),Je([De({attribute:"aria-current"})],tt.prototype,"ariaCurrent",void 0),Je([De({attribute:"aria-describedby"})],tt.prototype,"ariaDescribedby",void 0),Je([De({attribute:"aria-details"})],tt.prototype,"ariaDetails",void 0),Je([De({attribute:"aria-disabled"})],tt.prototype,"ariaDisabled",void 0),Je([De({attribute:"aria-errormessage"})],tt.prototype,"ariaErrormessage",void 0),Je([De({attribute:"aria-flowto"})],tt.prototype,"ariaFlowto",void 0),Je([De({attribute:"aria-haspopup"})],tt.prototype,"ariaHaspopup",void 0),Je([De({attribute:"aria-hidden"})],tt.prototype,"ariaHidden",void 0),Je([De({attribute:"aria-invalid"})],tt.prototype,"ariaInvalid",void 0),Je([De({attribute:"aria-keyshortcuts"})],tt.prototype,"ariaKeyshortcuts",void 0),Je([De({attribute:"aria-label"})],tt.prototype,"ariaLabel",void 0),Je([De({attribute:"aria-labelledby"})],tt.prototype,"ariaLabelledby",void 0),Je([De({attribute:"aria-live"})],tt.prototype,"ariaLive",void 0),Je([De({attribute:"aria-owns"})],tt.prototype,"ariaOwns",void 0),Je([De({attribute:"aria-relevant"})],tt.prototype,"ariaRelevant",void 0),Je([De({attribute:"aria-roledescription"})],tt.prototype,"ariaRoledescription",void 0);class ot{}function rt(e){return xe`<slot name="end" ${we("end")}>${Ze(e.end)}</slot>`.inline()}function it(e){return xe`<slot name="start" ${we("start")}>${Ze(e.start)}</slot>`.inline()}const at={horizontal:"horizontal",vertical:"vertical"};function nt(...e){return e.every(e=>e instanceof HTMLElement)}const st={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var lt;function dt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(lt||(lt={}));let ct=0;function ht(e=""){return`${e}${ct++}`}function ut(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}class pt extends Qe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ht("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Je([De({attribute:"heading-level",mode:"fromView",converter:Ne})],pt.prototype,"headinglevel",void 0),Je([De({mode:"boolean"})],pt.prototype,"expanded",void 0),Je([De({mode:"boolean"})],pt.prototype,"disabled",void 0),Je([De],pt.prototype,"id",void 0),ut(pt,ot);const gt="single",bt="multi";class ft extends Qe{constructor(){super(...arguments),this.expandmode=bt,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 pt&&(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 pt&&(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!==gt?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 pt&&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===gt}adjust(e){this.activeItemIndex=function(e,t,o){return o<e?t:o>t?e:o}(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof pt&&e.expandbutton.focus()}}Je([De({attribute:"expand-mode"})],ft.prototype,"expandmode",void 0),Je([C],ft.prototype,"slottedAccordionItems",void 0);class mt extends Qe{}Je([De],mt.prototype,"download",void 0),Je([De],mt.prototype,"href",void 0),Je([De],mt.prototype,"hreflang",void 0),Je([De],mt.prototype,"ping",void 0),Je([De],mt.prototype,"referrerpolicy",void 0),Je([De],mt.prototype,"rel",void 0),Je([De],mt.prototype,"target",void 0),Je([De],mt.prototype,"type",void 0),Je([C],mt.prototype,"defaultSlottedContent",void 0);class vt{}Je([De({attribute:"aria-expanded"})],vt.prototype,"ariaExpanded",void 0),ut(vt,tt),ut(mt,ot,vt);const yt=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?lt.rtl:lt.ltr},kt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xt=new WeakMap;function $t(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 kt}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 c}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(!kt)return null;let e=xt.get(this);return e||(e=this.attachInternals(),xt.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 De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wt(e){class t extends($t(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 De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bt extends Qe{}class Ct extends($t(Bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const St="submit",Pt="reset";class Tt extends Ct{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===St&&this.addEventListener("click",this.handleSubmission),e===St&&this.removeEventListener("click",this.handleSubmission),t===Pt&&this.addEventListener("click",this.handleFormReset),e===Pt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Je([De({mode:"boolean"})],Tt.prototype,"autofocus",void 0),Je([De({attribute:"form"})],Tt.prototype,"formId",void 0),Je([De],Tt.prototype,"formaction",void 0),Je([De],Tt.prototype,"formenctype",void 0),Je([De],Tt.prototype,"formmethod",void 0),Je([De({mode:"boolean"})],Tt.prototype,"formnovalidate",void 0),Je([De],Tt.prototype,"formtarget",void 0),Je([De],Tt.prototype,"type",void 0),Je([C],Tt.prototype,"defaultSlottedContent",void 0);class Ft{}function It(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")}>${it(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${rt(e)}</button>`}function At(e){return e.split("-")[1]}function zt(e){return"y"===e?"height":"width"}function Nt(e){return e.split("-")[0]}function Lt(e){return["top","bottom"].includes(Nt(e))?"x":"y"}function Dt(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=Lt(t),l=zt(s),d=r[l]/2-i[l]/2,c="x"===s;let h;switch(Nt(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(At(t)){case"start":h[s]-=d*(o&&c?-1:1);break;case"end":h[s]+=d*(o&&c?-1:1)}return h}Je([De({attribute:"aria-expanded"})],Ft.prototype,"ariaExpanded",void 0),Je([De({attribute:"aria-pressed"})],Ft.prototype,"ariaPressed",void 0),ut(Ft,tt),ut(Tt,ot,Ft);function Rt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Et(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="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=Rt(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:d,rootBoundary:c,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=Rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return process.env.NODE_ENV,{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 Ot=Math.min,Mt=Math.max;function Ht(e,t,o){return Mt(e,Ot(t,o))}const Vt={left:"right",right:"left",bottom:"top",top:"bottom"};function _t(e){return e.replace(/left|right|bottom|top/g,e=>Vt[e])}const jt={start:"end",end:"start"};function Gt(e){return e.replace(/start|end/g,e=>jt[e])}const qt=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:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Nt(r),m=Nt(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[_t(n)]:function(e){const t=_t(e);return[Gt(e),t,Gt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=At(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[]}}(Nt(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Gt)))),a}(n,g,p,v));const k=[n,...y],x=await Et(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(d&&$.push(x[f]),c){const{main:e,cross:t}=function(e,t,o){void 0===o&&(o=!1);const r=At(e),i=Lt(e),a=zt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=_t(n)),{main:n,cross:_t(n)}}(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{}}}};const Xt=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,d={x:o,y:r},c=await Et(t,l),h=Lt(Nt(i)),u="x"===h?"y":"x";let p=d[h],g=d[u];if(a){const e="y"===h?"bottom":"right";p=Ht(p+c["y"===h?"top":"left"],p,p-c[e])}if(n){const e="y"===u?"bottom":"right";g=Ht(g+c["y"===u?"top":"left"],g,g-c[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},Wt=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 Et(t,s),d=Nt(o),c=At(o),h="x"===Lt(o),{width:u,height:p}=r.floating;let g,b;"top"===d||"bottom"===d?(g=d,b=c===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,g="end"===c?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Ot(u-l.right-l.left,m):v=Ot(p-l.bottom-l.top,f),!t.middlewareData.shift&&!c){const e=Mt(l.left,0),t=Mt(l.right,0),o=Mt(l.top,0),r=Mt(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Mt(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Mt(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 Ut(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yt(e){return Ut(e).getComputedStyle(e)}const Kt=Math.min,Qt=Math.max,Zt=Math.round;function Jt(e){const t=Yt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=Zt(o)!==i||Zt(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function eo(e){return ao(e)?(e.nodeName||"").toLowerCase():""}let to;function oo(){if(to)return to;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(to=e.brands.map(e=>e.brand+"/"+e.version).join(" "),to):navigator.userAgent}function ro(e){return e instanceof Ut(e).HTMLElement}function io(e){return e instanceof Ut(e).Element}function ao(e){return e instanceof Ut(e).Node}function no(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ut(e).ShadowRoot||e instanceof ShadowRoot}function so(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function lo(e){return["table","td","th"].includes(eo(e))}function co(e){const t=/firefox/i.test(oo()),o=Yt(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 ho(){return/^((?!chrome|android).)*safari/i.test(oo())}function uo(e){return["html","body","#document"].includes(eo(e))}function po(e){return io(e)?e:e.contextElement}const go={x:1,y:1};function bo(e){const t=po(e);if(!ro(t))return go;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=Jt(t);let n=(a?Zt(o.width):o.width)/r,s=(a?Zt(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function fo(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=po(e);let l=go;t&&(r?io(r)&&(l=bo(r)):l=bo(e));const d=s?Ut(s):window,c=ho()&&o;let h=(n.left+(c&&(null==(i=d.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(c&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=Ut(s),t=r&&io(r)?Ut(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=bo(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=Ut(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function mo(e){return((ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function vo(e){return io(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yo(e){return fo(mo(e)).left+vo(e).scrollLeft}function ko(e){if("html"===eo(e))return e;const t=e.assignedSlot||e.parentNode||no(e)&&e.host||mo(e);return no(t)?t.host:t}function xo(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=ko(t);return uo(o)?o.ownerDocument.body:ro(o)&&so(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ut(r);return i?t.concat(a,a.visualViewport||[],so(r)?r:[]):t.concat(r,xo(r))}function $o(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Ut(e),r=mo(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=ho();(!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=mo(e),o=vo(e),r=e.ownerDocument.body,i=Qt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Qt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+yo(e);const s=-o.scrollTop;return"rtl"===Yt(r).direction&&(n+=Qt(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(mo(e));else if(io(t))r=function(e,t){const o=fo(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=ro(e)?bo(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(ho()){var i,a;const t=Ut(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 Rt(r)}function wo(e,t){return ro(e)&&"fixed"!==Yt(e).position?t?t(e):e.offsetParent:null}function Bo(e,t){const o=Ut(e);let r=wo(e,t);for(;r&&lo(r)&&"static"===Yt(r).position;)r=wo(r,t);return r&&("html"===eo(r)||"body"===eo(r)&&"static"===Yt(r).position&&!co(r))?o:r||function(e){let t=ko(e);for(;ro(t)&&!uo(t);){if(co(t))return t;t=ko(t)}return null}(e)||o}function Co(e,t,o){const r=ro(t),i=mo(t),a=fo(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==eo(t)||so(i))&&(n=vo(t)),ro(t)){const e=fo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=yo(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const So={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=xo(e).filter(e=>io(e)&&"body"!==eo(e)),i=null;const a="fixed"===Yt(e).position;let n=a?ko(e):e;for(;io(n)&&!uo(n);){const e=Yt(n),t=co(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=ko(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=$o(t,o,i);return e.top=Qt(r.top,e.top),e.right=Kt(r.right,e.right),e.bottom=Kt(r.bottom,e.bottom),e.left=Qt(r.left,e.left),e},$o(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=ro(o),a=mo(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"!==eo(o)||so(a))&&(n=vo(o)),ro(o))){const e=fo(o);s=bo(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:io,getDimensions:function(e){return ro(e)?Jt(e):e.getBoundingClientRect()},getOffsetParent:Bo,getDocumentElement:mo,getScale:bo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Co(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Yt(e).direction};const Po=(e,t,o)=>{const r=new Map,i={platform:So,...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));if("production"!==process.env.NODE_ENV){if(null==n&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter(e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let d=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=Dt(d,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:c,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=f?f:c,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},"production"!==process.env.NODE_ENV&&g>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:h}=Dt(d,u,l))),o=-1)}return{x:c,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class To{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=To.cache.get(e);return t||(t=new To(e),To.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)}}To.cache=new WeakMap;class Fo{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 Io{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 Ao{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=Ao.getAssignedTokensForNode(e),r=e.parent;do{const e=Ao.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ao.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 Ao.isAssigned(e,t)?Ao.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(Ao.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ao.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=Ao.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ao.composeAssignedTokensForNode(this),a=Ao.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 Io(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 Io(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ao.notify()}removeChild(e){if(e.parent===this){const t=Ao.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Io(this,2,o));Ao.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=Ao.isAssigned(this,e)||Ao.isDerivedFor(this,e)?1:0,r=Ao.getLocalTokenValue(this,e);this._values.set(e,t),Ao.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ao.isDerivedTokenValue(t),a=Ao.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ao.queueNotification(new Io(this,o,e,t)),this.dispatch(new Io(this,o,e,t)),a.forEach((e,t)=>{if(!Ao.isDerivedFor(this,t)){Ao.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ao.queueNotification(new Io(this,1,t,e.evaluator.value)),this.dispatch(new Io(this,0,t,e.evaluator.value))}}),Ao.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ao.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ao.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(Ao.isAssigned(this,e)){const t=Ao.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ao.queueNotification(new Io(this,2,e)),t!==o&&this.dispatch(new Io(this,2,e)),Ao.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ao.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&&Ao.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ao.queueNotification(new Io(this,2,i))),n&&(e=new Io(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ao.isDerivedTokenValue(s)){const t=To.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ao.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 Io(this,void 0===t?0:1,i,o.evaluator.value);Ao.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ao.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ao.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Io(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(Ao.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ao.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Fo(e,To.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Io(this,1,r.token,r.evaluator.value);Ao.queueNotification(e),this.dispatch(e),Ao.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ao.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ao._notifications=[];class zo{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class No extends zo{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Lo extends zo{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 Do{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}}Je([C],Do.prototype,"target",void 0);class Ro{setProperty(e,t){Ro.properties[e]=t;for(const o of Ro.roots.values())o.setProperty(e,t)}removeProperty(e){delete Ro.properties[e];for(const t of Ro.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Ro;if(!t.has(e)){t.add(e);for(const t in Ro.properties)e.setProperty(t,Ro.properties[t])}}static unregisterRoot(e){const{roots:t}=Ro;if(t.has(e)){t.delete(e);for(const t in Ro.properties)e.removeProperty(t)}}}Ro.roots=new Set,Ro.properties={};const Eo=new WeakMap,Oo=L.supportsAdoptedStyleSheets?class extends zo{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Do,Mo=Object.freeze({getOrCreate(e){if(Eo.has(e))return Eo.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new No:new Lo:new Oo(e),Eo.set(e,t),t}});class Ho{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Go.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 Go.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 Vo({name:e,cssCustomPropertyName:e}):Ho.isCSSDesignTokenConfiguration(e)?new Vo(e):new Ho(e)}static withStrategy(e){Go.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Ro.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Ro.unregisterRoot(e)}getValueFor(e){return Go.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Go.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Go.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Go.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 Ho&&(e=this.alias(e)),e}}let Vo=class extends Ho{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Go.defaultNode?Go.rootStyleSheetTarget:t.target instanceof Go?Mo.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 _o;Vo=Je([function(e){R.define(e)},function(e){ee.define(e,_o)}],Vo);const jo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Go extends Ao{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&&Go.withStrategy(jo),this._strategy}connectedCallback(e){let t=Go.findParent(e.source);if(null===t&&(t=Go.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Go&&Go.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Go.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Go.cache.get(e);return t||(t=new Go(e),Go.cache.set(e,t),e.$fastController.addBehavior(Go.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Go.strategy.parent(e);for(;null!==t;){const e=Go.cache.get(t);if(e)return e;t=Go.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Go.defaultNode.appendChild(this),e.apply(this,t))}}Go.defaultNode=new Ao,Go.rootStyleSheetTarget=new Ro,Go.cache=new WeakMap;const qo={separator:"separator",presentation:"presentation"},Xo=at;class Wo extends Qe{constructor(){super(...arguments),this.role=qo.separator,this.orientation=Xo.horizontal}}Je([De],Wo.prototype,"role",void 0),Je([De],Wo.prototype,"orientation",void 0);const Uo={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Yo extends Qe{constructor(){super(...arguments),this.role=Uo.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 Uo.menuitemcheckbox:this.checked=!this.checked;break;case Uo.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Uo.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=function(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,d=l||a?[...io(e)?xo(e):e.contextElement?xo(e.contextElement):[],...xo(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let c,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),io(e)&&!s&&h.observe(e),io(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?fo(e):null;return s&&function t(){const r=fo(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o();u=r,c=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(c)}}(this,this.submenuContainer,()=>et(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield Po(this,this.submenuContainer,{middleware:[Xt(),Wt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),qt({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}Je([De({mode:"boolean"})],Yo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Yo.prototype,"expanded",void 0),Je([De],Yo.prototype,"role",void 0),Je([De({mode:"boolean"})],Yo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Yo.prototype,"hidden",void 0),Je([C],Yo.prototype,"slottedSubmenu",void 0),Je([C],Yo.prototype,"submenu",void 0),ut(Yo,ot);class Ko extends Qe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&nt(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===Uo.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===Uo.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Yo||nt(e)&&e.getAttribute("role")in Ko.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}}}Ko.focusableElementRoles=Uo,Je([C],Ko.prototype,"items",void 0);class Qo extends Qe{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Je([De({converter:Ne})],Qo.prototype,"value",void 0),Je([De({converter:Ne})],Qo.prototype,"min",void 0),Je([De({converter:Ne})],Qo.prototype,"max",void 0),Je([C],Qo.prototype,"percentComplete",void 0);class Zo extends Qo{}class Jo extends Qo{}const er=at;const tr=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)};class or extends Qe{}class rr extends(wt(or)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ir extends rr{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}}Je([C],ir.prototype,"name",void 0),Je([C],ir.prototype,"defaultSlottedNodes",void 0);class ar extends Qe{constructor(){super(...arguments),this.orientation=er.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 ir&&(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 st&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===lt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===lt.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=yt(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]}}}Je([De({attribute:"readonly",mode:"boolean"})],ar.prototype,"readOnly",void 0),Je([De({attribute:"disabled",mode:"boolean"})],ar.prototype,"disabled",void 0),Je([De],ar.prototype,"name",void 0),Je([De],ar.prototype,"value",void 0),Je([De],ar.prototype,"orientation",void 0),Je([C],ar.prototype,"childItems",void 0),Je([C],ar.prototype,"slottedRadioButtons",void 0);const nr=at,sr="single-value";function lr(e,t,o,r){let i=dt(0,1,(e-t)/(o-t));return r===lt.rtl&&(i=1-i),i}class dr extends Qe{}class cr extends($t(dr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class hr extends cr{constructor(){super(...arguments),this.direction=lt.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=at.horizontal,this.mode=sr,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.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===at.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===at.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=dt(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=yt(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==lt.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!==lt.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-lr(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===at.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=lr(e,this.orientation===at.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===at.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}}Je([De({attribute:"readonly",mode:"boolean"})],hr.prototype,"readOnly",void 0),Je([C],hr.prototype,"direction",void 0),Je([C],hr.prototype,"isDragging",void 0),Je([C],hr.prototype,"position",void 0),Je([C],hr.prototype,"trackWidth",void 0),Je([C],hr.prototype,"trackMinWidth",void 0),Je([C],hr.prototype,"trackHeight",void 0),Je([C],hr.prototype,"trackLeft",void 0),Je([C],hr.prototype,"trackMinHeight",void 0),Je([C],hr.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],hr.prototype,"min",void 0),Je([De({converter:Ne})],hr.prototype,"max",void 0),Je([De({converter:Ne})],hr.prototype,"step",void 0),Je([De],hr.prototype,"orientation",void 0),Je([De],hr.prototype,"mode",void 0);class ur extends Qe{}class pr extends(wt(ur)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class gr extends pr{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)}}Je([De({attribute:"readonly",mode:"boolean"})],gr.prototype,"readOnly",void 0),Je([C],gr.prototype,"defaultSlottedNodes",void 0);class br extends Qe{}class fr extends Qe{}Je([De({mode:"boolean"})],fr.prototype,"disabled",void 0),ut(fr,ot);const mr=at;class vr extends Qe{constructor(){super(...arguments),this.orientation=mr.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(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)}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-"+ht()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ht()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===mr.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=dt(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()}}Je([De],vr.prototype,"orientation",void 0),Je([De],vr.prototype,"activeid",void 0),Je([C],vr.prototype,"tabs",void 0),Je([C],vr.prototype,"tabpanels",void 0),ut(vr,ot);function yr(e){return`:host([hidden]){display:none}:host{display:${e}}`}class kr extends ft{}const xr=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,$r=j`
|
|
2
|
-
${
|
|
1
|
+
import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";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(e){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 d=globalThis.FAST;if(void 0===d.getById){const e=Object.create(null);Reflect.defineProperty(d,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===d.error&&Object.assign(d,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const c=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 d.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)}}),x=d.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 k{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 k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(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=d.getById(r.observable,()=>{const e=x.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw d.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 c{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 k{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 c(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=d.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 F(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let N;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(N),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 L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){N=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const D=h(),E=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function R(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class O{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)=>R(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){R(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){R(this,t.controller,t)}}E.define(O);const M=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${M}${++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 O(F(s),V()).createCSS(n):s instanceof T?s=new O(s,V()).createCSS(n):void 0!==E.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||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 L(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 L(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)}}E.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 d.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 de(e){e.startsWith("fast-")||d.warn(1204,{name:e})}const ce=new Proxy(document.createElement("div"),{get(e,t){de(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(de(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:ce;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,d=n.length;l<d;++l){const c=n[l],h=c.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,c.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(c),l--,d--,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,d=n.length;t<d;++t){const d=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(d)?s.textContent=d:(s.textContent=" ",ee.assignAspect(d),e.addFactory(d,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;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 d=new re(r);return ee.assignAspect(d,o),d}},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 xe{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 d.error(1208);if(this.policy)throw d.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(F(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 xe(r+e[e.length-1],a,o)}}p(xe);const ke=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return xe.create(e,t);throw d.error(1206)};ke.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);function Be(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Ce=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Ce;class Pe 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,c),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 Te extends Pe{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 Ie(e){return a(e)&&(e={property:e}),new Te(e)}ee.define(Te);const Fe=Object.freeze({locate:u()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function ze(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ne={toView(e){const t=ze(e);return t?t.toString():t},fromView:ze};class Le{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=Ae)}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||x.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(Fe.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 Le(e,r)):o.push(new Le(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Fe.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ee={mode:"open"},Re={},Oe=new Set,Me=d.getById(r.elementRegistry,()=>h());class He{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=Le.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?Ee:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ee),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=L.normalize(t.styles),Me.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 Oe.has(e)||Me.getByType(e)?new He(class extends e{},t):new He(e,t)}static registerBaseType(e){Oe.add(e)}}He.getByType=Me.getByType,He.getForInstance=Me.getForInstance;const Ve={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function je(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let Ge;class qe 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&&_e.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=je(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=je(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.addBehavior(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},Ve),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=je(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=He.getForInstance(e);if(void 0===o)throw d.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function Xe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=je(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class We{constructor(e){const t=We.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){const t=Xe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Xe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}We.styleSheetCache=new Map;let Ue=0;function Ye(e){return e===document?document.body:e}function Ke(e){const t=class extends e{constructor(){super(),qe.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 He.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?We:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ue}addStylesTo(e){e=Ye(Xe(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=Ye(Xe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Qe=Object.assign(Ke(HTMLElement),{from:function(e){return Ke(e)},define:function(e,t){return i(e)?He.compose(e,t).define().type:He.compose(this,e).define().type},compose:function(e,t){return i(e)?He.compose(e,t):He.compose(this,e)}});function Ze(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}function Je(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 et(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())}))}class tt{}Je([De({attribute:"aria-atomic"})],tt.prototype,"ariaAtomic",void 0),Je([De({attribute:"aria-busy"})],tt.prototype,"ariaBusy",void 0),Je([De({attribute:"aria-controls"})],tt.prototype,"ariaControls",void 0),Je([De({attribute:"aria-current"})],tt.prototype,"ariaCurrent",void 0),Je([De({attribute:"aria-describedby"})],tt.prototype,"ariaDescribedby",void 0),Je([De({attribute:"aria-details"})],tt.prototype,"ariaDetails",void 0),Je([De({attribute:"aria-disabled"})],tt.prototype,"ariaDisabled",void 0),Je([De({attribute:"aria-errormessage"})],tt.prototype,"ariaErrormessage",void 0),Je([De({attribute:"aria-flowto"})],tt.prototype,"ariaFlowto",void 0),Je([De({attribute:"aria-haspopup"})],tt.prototype,"ariaHaspopup",void 0),Je([De({attribute:"aria-hidden"})],tt.prototype,"ariaHidden",void 0),Je([De({attribute:"aria-invalid"})],tt.prototype,"ariaInvalid",void 0),Je([De({attribute:"aria-keyshortcuts"})],tt.prototype,"ariaKeyshortcuts",void 0),Je([De({attribute:"aria-label"})],tt.prototype,"ariaLabel",void 0),Je([De({attribute:"aria-labelledby"})],tt.prototype,"ariaLabelledby",void 0),Je([De({attribute:"aria-live"})],tt.prototype,"ariaLive",void 0),Je([De({attribute:"aria-owns"})],tt.prototype,"ariaOwns",void 0),Je([De({attribute:"aria-relevant"})],tt.prototype,"ariaRelevant",void 0),Je([De({attribute:"aria-roledescription"})],tt.prototype,"ariaRoledescription",void 0);class ot{}function rt(e){return ke`<slot name="end" ${we("end")}>${Ze(e.end)}</slot>`.inline()}function it(e){return ke`<slot name="start" ${we("start")}>${Ze(e.start)}</slot>`.inline()}const at={horizontal:"horizontal",vertical:"vertical"};function nt(...e){return e.every(e=>e instanceof HTMLElement)}const st={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var lt;function dt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(lt||(lt={}));let ct=0;function ht(e=""){return`${e}${ct++}`}function ut(e,...t){const o=Fe.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Fe.locate(t).forEach(e=>o.push(e))})}class pt extends Qe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ht("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Je([De({attribute:"heading-level",mode:"fromView",converter:Ne})],pt.prototype,"headinglevel",void 0),Je([De({mode:"boolean"})],pt.prototype,"expanded",void 0),Je([De({mode:"boolean"})],pt.prototype,"disabled",void 0),Je([De],pt.prototype,"id",void 0),ut(pt,ot);const gt="single",bt="multi";class ft extends Qe{constructor(){super(...arguments),this.expandmode=bt,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 pt&&(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 pt&&(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!==gt?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 pt&&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===gt}adjust(e){this.activeItemIndex=function(e,t,o){return o<e?t:o>t?e:o}(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof pt&&e.expandbutton.focus()}}Je([De({attribute:"expand-mode"})],ft.prototype,"expandmode",void 0),Je([C],ft.prototype,"slottedAccordionItems",void 0);class mt extends Qe{}Je([De],mt.prototype,"download",void 0),Je([De],mt.prototype,"href",void 0),Je([De],mt.prototype,"hreflang",void 0),Je([De],mt.prototype,"ping",void 0),Je([De],mt.prototype,"referrerpolicy",void 0),Je([De],mt.prototype,"rel",void 0),Je([De],mt.prototype,"target",void 0),Je([De],mt.prototype,"type",void 0),Je([C],mt.prototype,"defaultSlottedContent",void 0);class vt{}Je([De({attribute:"aria-expanded"})],vt.prototype,"ariaExpanded",void 0),ut(vt,tt),ut(mt,ot,vt);const yt=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?lt.rtl:lt.ltr},xt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,kt=new WeakMap;function $t(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 xt}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 c}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),x.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),x.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!xt)return null;let e=kt.get(this);return e||(e=this.attachInternals(),kt.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 De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wt(e){class t extends($t(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 De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bt extends Qe{}class Ct extends($t(Bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const St="submit",Pt="reset";class Tt extends Ct{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===St&&this.addEventListener("click",this.handleSubmission),e===St&&this.removeEventListener("click",this.handleSubmission),t===Pt&&this.addEventListener("click",this.handleFormReset),e===Pt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Je([De({mode:"boolean"})],Tt.prototype,"autofocus",void 0),Je([De({attribute:"form"})],Tt.prototype,"formId",void 0),Je([De],Tt.prototype,"formaction",void 0),Je([De],Tt.prototype,"formenctype",void 0),Je([De],Tt.prototype,"formmethod",void 0),Je([De({mode:"boolean"})],Tt.prototype,"formnovalidate",void 0),Je([De],Tt.prototype,"formtarget",void 0),Je([De],Tt.prototype,"type",void 0),Je([C],Tt.prototype,"defaultSlottedContent",void 0);class It{}function Ft(e={}){return ke`<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")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</button>`}function At(e){return e.split("-")[1]}function zt(e){return"y"===e?"height":"width"}function Nt(e){return e.split("-")[0]}function Lt(e){return["top","bottom"].includes(Nt(e))?"x":"y"}function Dt(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=Lt(t),l=zt(s),d=r[l]/2-i[l]/2,c="x"===s;let h;switch(Nt(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(At(t)){case"start":h[s]-=d*(o&&c?-1:1);break;case"end":h[s]+=d*(o&&c?-1:1)}return h}Je([De({attribute:"aria-expanded"})],It.prototype,"ariaExpanded",void 0),Je([De({attribute:"aria-pressed"})],It.prototype,"ariaPressed",void 0),ut(It,tt),ut(Tt,ot,It);function Et(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Rt(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="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=Et(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:d,rootBoundary:c,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},x=Et(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return process.env.NODE_ENV,{top:(f.top-x.top+g.top)/y.y,bottom:(x.bottom-f.bottom+g.bottom)/y.y,left:(f.left-x.left+g.left)/y.x,right:(x.right-f.right+g.right)/y.x}}const Ot=Math.min,Mt=Math.max;function Ht(e,t,o){return Mt(e,Ot(t,o))}const Vt={left:"right",right:"left",bottom:"top",top:"bottom"};function _t(e){return e.replace(/left|right|bottom|top/g,e=>Vt[e])}const jt={start:"end",end:"start"};function Gt(e){return e.replace(/start|end/g,e=>jt[e])}const qt=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:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Nt(r),m=Nt(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[_t(n)]:function(e){const t=_t(e);return[Gt(e),t,Gt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=At(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[]}}(Nt(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Gt)))),a}(n,g,p,v));const x=[n,...y],k=await Rt(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(d&&$.push(k[f]),c){const{main:e,cross:t}=function(e,t,o){void 0===o&&(o=!1);const r=At(e),i=Lt(e),a=zt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=_t(n)),{main:n,cross:_t(n)}}(r,a,v);$.push(k[e],k[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=x[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{}}}};const Xt=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,d={x:o,y:r},c=await Rt(t,l),h=Lt(Nt(i)),u="x"===h?"y":"x";let p=d[h],g=d[u];if(a){const e="y"===h?"bottom":"right";p=Ht(p+c["y"===h?"top":"left"],p,p-c[e])}if(n){const e="y"===u?"bottom":"right";g=Ht(g+c["y"===u?"top":"left"],g,g-c[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},Wt=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 Rt(t,s),d=Nt(o),c=At(o),h="x"===Lt(o),{width:u,height:p}=r.floating;let g,b;"top"===d||"bottom"===d?(g=d,b=c===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,g="end"===c?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Ot(u-l.right-l.left,m):v=Ot(p-l.bottom-l.top,f),!t.middlewareData.shift&&!c){const e=Mt(l.left,0),t=Mt(l.right,0),o=Mt(l.top,0),r=Mt(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Mt(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Mt(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const x=await i.getDimensions(a.floating);return u!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}};function Ut(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yt(e){return Ut(e).getComputedStyle(e)}const Kt=Math.min,Qt=Math.max,Zt=Math.round;function Jt(e){const t=Yt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=Zt(o)!==i||Zt(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function eo(e){return ao(e)?(e.nodeName||"").toLowerCase():""}let to;function oo(){if(to)return to;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(to=e.brands.map(e=>e.brand+"/"+e.version).join(" "),to):navigator.userAgent}function ro(e){return e instanceof Ut(e).HTMLElement}function io(e){return e instanceof Ut(e).Element}function ao(e){return e instanceof Ut(e).Node}function no(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ut(e).ShadowRoot||e instanceof ShadowRoot}function so(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function lo(e){return["table","td","th"].includes(eo(e))}function co(e){const t=/firefox/i.test(oo()),o=Yt(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 ho(){return/^((?!chrome|android).)*safari/i.test(oo())}function uo(e){return["html","body","#document"].includes(eo(e))}function po(e){return io(e)?e:e.contextElement}const go={x:1,y:1};function bo(e){const t=po(e);if(!ro(t))return go;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=Jt(t);let n=(a?Zt(o.width):o.width)/r,s=(a?Zt(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function fo(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=po(e);let l=go;t&&(r?io(r)&&(l=bo(r)):l=bo(e));const d=s?Ut(s):window,c=ho()&&o;let h=(n.left+(c&&(null==(i=d.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(c&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=Ut(s),t=r&&io(r)?Ut(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=bo(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=Ut(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function mo(e){return((ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function vo(e){return io(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yo(e){return fo(mo(e)).left+vo(e).scrollLeft}function xo(e){if("html"===eo(e))return e;const t=e.assignedSlot||e.parentNode||no(e)&&e.host||mo(e);return no(t)?t.host:t}function ko(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=xo(t);return uo(o)?o.ownerDocument.body:ro(o)&&so(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ut(r);return i?t.concat(a,a.visualViewport||[],so(r)?r:[]):t.concat(r,ko(r))}function $o(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Ut(e),r=mo(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=ho();(!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=mo(e),o=vo(e),r=e.ownerDocument.body,i=Qt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Qt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+yo(e);const s=-o.scrollTop;return"rtl"===Yt(r).direction&&(n+=Qt(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(mo(e));else if(io(t))r=function(e,t){const o=fo(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=ro(e)?bo(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(ho()){var i,a;const t=Ut(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 Et(r)}function wo(e,t){return ro(e)&&"fixed"!==Yt(e).position?t?t(e):e.offsetParent:null}function Bo(e,t){const o=Ut(e);let r=wo(e,t);for(;r&&lo(r)&&"static"===Yt(r).position;)r=wo(r,t);return r&&("html"===eo(r)||"body"===eo(r)&&"static"===Yt(r).position&&!co(r))?o:r||function(e){let t=xo(e);for(;ro(t)&&!uo(t);){if(co(t))return t;t=xo(t)}return null}(e)||o}function Co(e,t,o){const r=ro(t),i=mo(t),a=fo(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==eo(t)||so(i))&&(n=vo(t)),ro(t)){const e=fo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=yo(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const So={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=ko(e).filter(e=>io(e)&&"body"!==eo(e)),i=null;const a="fixed"===Yt(e).position;let n=a?xo(e):e;for(;io(n)&&!uo(n);){const e=Yt(n),t=co(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=xo(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=$o(t,o,i);return e.top=Qt(r.top,e.top),e.right=Kt(r.right,e.right),e.bottom=Kt(r.bottom,e.bottom),e.left=Qt(r.left,e.left),e},$o(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=ro(o),a=mo(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"!==eo(o)||so(a))&&(n=vo(o)),ro(o))){const e=fo(o);s=bo(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:io,getDimensions:function(e){return ro(e)?Jt(e):e.getBoundingClientRect()},getOffsetParent:Bo,getDocumentElement:mo,getScale:bo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Co(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Yt(e).direction};const Po=(e,t,o)=>{const r=new Map,i={platform:So,...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));if("production"!==process.env.NODE_ENV){if(null==n&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter(e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let d=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=Dt(d,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:c,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=f?f:c,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},"production"!==process.env.NODE_ENV&&g>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:h}=Dt(d,u,l))),o=-1)}return{x:c,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class To{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=To.cache.get(e);return t||(t=new To(e),To.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)}}To.cache=new WeakMap;class Io{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 Fo{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 Ao{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=Ao.getAssignedTokensForNode(e),r=e.parent;do{const e=Ao.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ao.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 Ao.isAssigned(e,t)?Ao.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(Ao.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ao.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=Ao.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ao.composeAssignedTokensForNode(this),a=Ao.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 Fo(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 Fo(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ao.notify()}removeChild(e){if(e.parent===this){const t=Ao.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Fo(this,2,o));Ao.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=Ao.isAssigned(this,e)||Ao.isDerivedFor(this,e)?1:0,r=Ao.getLocalTokenValue(this,e);this._values.set(e,t),Ao.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ao.isDerivedTokenValue(t),a=Ao.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ao.queueNotification(new Fo(this,o,e,t)),this.dispatch(new Fo(this,o,e,t)),a.forEach((e,t)=>{if(!Ao.isDerivedFor(this,t)){Ao.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ao.queueNotification(new Fo(this,1,t,e.evaluator.value)),this.dispatch(new Fo(this,0,t,e.evaluator.value))}}),Ao.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ao.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ao.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(Ao.isAssigned(this,e)){const t=Ao.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ao.queueNotification(new Fo(this,2,e)),t!==o&&this.dispatch(new Fo(this,2,e)),Ao.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ao.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&&Ao.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ao.queueNotification(new Fo(this,2,i))),n&&(e=new Fo(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ao.isDerivedTokenValue(s)){const t=To.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ao.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 Fo(this,void 0===t?0:1,i,o.evaluator.value);Ao.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ao.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ao.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Fo(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(Ao.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ao.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Io(e,To.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Fo(this,1,r.token,r.evaluator.value);Ao.queueNotification(e),this.dispatch(e),Ao.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ao.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ao._notifications=[];class zo{setProperty(e,t){x.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){x.enqueue(()=>this.target.removeProperty(e))}}class No extends zo{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Lo extends zo{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 Do{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),x.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),x.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}}Je([C],Do.prototype,"target",void 0);class Eo{setProperty(e,t){Eo.properties[e]=t;for(const o of Eo.roots.values())o.setProperty(e,t)}removeProperty(e){delete Eo.properties[e];for(const t of Eo.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Eo;if(!t.has(e)){t.add(e);for(const t in Eo.properties)e.setProperty(t,Eo.properties[t])}}static unregisterRoot(e){const{roots:t}=Eo;if(t.has(e)){t.delete(e);for(const t in Eo.properties)e.removeProperty(t)}}}Eo.roots=new Set,Eo.properties={};const Ro=new WeakMap,Oo=L.supportsAdoptedStyleSheets?class extends zo{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Do,Mo=Object.freeze({getOrCreate(e){if(Ro.has(e))return Ro.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new No:new Lo:new Oo(e),Ro.set(e,t),t}});class Ho{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Go.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 Go.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Vo({name:e,cssCustomPropertyName:e}):Ho.isCSSDesignTokenConfiguration(e)?new Vo(e):new Ho(e)}static withStrategy(e){Go.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Eo.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Eo.unregisterRoot(e)}getValueFor(e){return Go.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Go.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Go.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Go.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 Ho&&(e=this.alias(e)),e}}let Vo=class extends Ho{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Go.defaultNode?Go.rootStyleSheetTarget:t.target instanceof Go?Mo.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 _o;Vo=Je([function(e){E.define(e)},function(e){ee.define(e,_o)}],Vo);const jo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Go extends Ao{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&&Go.withStrategy(jo),this._strategy}connectedCallback(e){let t=Go.findParent(e.source);if(null===t&&(t=Go.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Go&&Go.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Go.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Go.cache.get(e);return t||(t=new Go(e),Go.cache.set(e,t),e.$fastController.addBehavior(Go.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Go.strategy.parent(e);for(;null!==t;){const e=Go.cache.get(t);if(e)return e;t=Go.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Go.defaultNode.appendChild(this),e.apply(this,t))}}Go.defaultNode=new Ao,Go.rootStyleSheetTarget=new Eo,Go.cache=new WeakMap;const qo={separator:"separator",presentation:"presentation"},Xo=at;class Wo extends Qe{constructor(){super(...arguments),this.role=qo.separator,this.orientation=Xo.horizontal}}Je([De],Wo.prototype,"role",void 0),Je([De],Wo.prototype,"orientation",void 0);const Uo={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Yo extends Qe{constructor(){super(...arguments),this.role=Uo.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 Uo.menuitemcheckbox:this.checked=!this.checked;break;case Uo.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Uo.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&&x.enqueue(()=>{this.cleanup=function(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,d=l||a?[...io(e)?ko(e):e.contextElement?ko(e.contextElement):[],...ko(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let c,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),io(e)&&!s&&h.observe(e),io(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?fo(e):null;return s&&function t(){const r=fo(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o();u=r,c=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(c)}}(this,this.submenuContainer,()=>et(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield Po(this,this.submenuContainer,{middleware:[Xt(),Wt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),qt({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}Je([De({mode:"boolean"})],Yo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Yo.prototype,"expanded",void 0),Je([De],Yo.prototype,"role",void 0),Je([De({mode:"boolean"})],Yo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Yo.prototype,"hidden",void 0),Je([C],Yo.prototype,"slottedSubmenu",void 0),Je([C],Yo.prototype,"submenu",void 0),ut(Yo,ot);class Ko extends Qe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&nt(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===Uo.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===Uo.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Yo||nt(e)&&e.getAttribute("role")in Ko.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),x.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}}}Ko.focusableElementRoles=Uo,Je([C],Ko.prototype,"items",void 0);class Qo extends Qe{}class Zo extends($t(Qo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Jo={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class er extends Zo{constructor(){super(...arguments),this.type=Jo.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&&x.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)}}Je([De({attribute:"readonly",mode:"boolean"})],er.prototype,"readOnly",void 0),Je([De({mode:"boolean"})],er.prototype,"autofocus",void 0),Je([De],er.prototype,"placeholder",void 0),Je([De],er.prototype,"type",void 0),Je([De],er.prototype,"list",void 0),Je([De({converter:Ne})],er.prototype,"maxlength",void 0),Je([De({converter:Ne})],er.prototype,"minlength",void 0),Je([De],er.prototype,"pattern",void 0),Je([De({converter:Ne})],er.prototype,"size",void 0),Je([De({mode:"boolean"})],er.prototype,"spellcheck",void 0),Je([C],er.prototype,"defaultSlottedNodes",void 0);class tr{}ut(tr,tt),ut(er,ot,tr);class or extends Qe{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Je([De({converter:Ne})],or.prototype,"value",void 0),Je([De({converter:Ne})],or.prototype,"min",void 0),Je([De({converter:Ne})],or.prototype,"max",void 0),Je([C],or.prototype,"percentComplete",void 0);class rr extends or{}class ir extends or{}const ar=at;const nr=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)};class sr extends Qe{}class lr extends(wt(sr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class dr extends lr{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}}Je([C],dr.prototype,"name",void 0),Je([C],dr.prototype,"defaultSlottedNodes",void 0);class cr extends Qe{constructor(){super(...arguments),this.orientation=ar.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 dr&&(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 st&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===lt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===lt.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=yt(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]}}}Je([De({attribute:"readonly",mode:"boolean"})],cr.prototype,"readOnly",void 0),Je([De({attribute:"disabled",mode:"boolean"})],cr.prototype,"disabled",void 0),Je([De],cr.prototype,"name",void 0),Je([De],cr.prototype,"value",void 0),Je([De],cr.prototype,"orientation",void 0),Je([C],cr.prototype,"childItems",void 0),Je([C],cr.prototype,"slottedRadioButtons",void 0);const hr=at,ur="single-value";function pr(e,t,o,r){let i=dt(0,1,(e-t)/(o-t));return r===lt.rtl&&(i=1-i),i}class gr extends Qe{}class br extends($t(gr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class fr extends br{constructor(){super(...arguments),this.direction=lt.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=at.horizontal,this.mode=ur,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.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===at.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===at.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=dt(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=yt(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==lt.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!==lt.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-pr(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===at.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=pr(e,this.orientation===at.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===at.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}}Je([De({attribute:"readonly",mode:"boolean"})],fr.prototype,"readOnly",void 0),Je([C],fr.prototype,"direction",void 0),Je([C],fr.prototype,"isDragging",void 0),Je([C],fr.prototype,"position",void 0),Je([C],fr.prototype,"trackWidth",void 0),Je([C],fr.prototype,"trackMinWidth",void 0),Je([C],fr.prototype,"trackHeight",void 0),Je([C],fr.prototype,"trackLeft",void 0),Je([C],fr.prototype,"trackMinHeight",void 0),Je([C],fr.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],fr.prototype,"min",void 0),Je([De({converter:Ne})],fr.prototype,"max",void 0),Je([De({converter:Ne})],fr.prototype,"step",void 0),Je([De],fr.prototype,"orientation",void 0),Je([De],fr.prototype,"mode",void 0);class mr extends Qe{}class vr extends(wt(mr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yr extends vr{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)}}Je([De({attribute:"readonly",mode:"boolean"})],yr.prototype,"readOnly",void 0),Je([C],yr.prototype,"defaultSlottedNodes",void 0);class xr extends Qe{}class kr extends Qe{}Je([De({mode:"boolean"})],kr.prototype,"disabled",void 0),ut(kr,ot);const $r=at;class wr extends Qe{constructor(){super(...arguments),this.orientation=$r.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(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)}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-"+ht()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ht()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===$r.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=dt(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()}}Je([De],wr.prototype,"orientation",void 0),Je([De],wr.prototype,"activeid",void 0),Je([C],wr.prototype,"tabs",void 0),Je([C],wr.prototype,"tabpanels",void 0),ut(wr,ot);function Br(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Cr extends ft{}const Sr=ke`<template><slot ${Ie({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,Pr=j`
|
|
2
|
+
${Br("flex")}
|
|
3
3
|
|
|
4
|
-
:host{flex-direction:column;width:100%;contain:content}`,wr=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Br=kr.compose({name:wr.prefix+"-accordion",template:xr,styles:$r});class Cr extends pt{constructor(){super(...arguments),this.block=!1}}Je([De],Cr.prototype,"size",void 0),Je([De({mode:"boolean"})],Cr.prototype,"block",void 0),Je([De({attribute:"expand-icon-position"})],Cr.prototype,"expandIconPosition",void 0);const Sr={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Pr={start:"start",end:"end"},{create:Tr}=Ho,Fr=Tr("borderRadiusNone"),Ir=Tr("borderRadiusSmall"),Ar=Tr("borderRadiusMedium"),zr=Tr("borderRadiusLarge"),Nr=Tr("borderRadiusXLarge"),Lr=Tr("borderRadiusCircular"),Dr=Tr("fontSizeBase100"),Rr=Tr("fontSizeBase200"),Er=Tr("fontSizeBase300"),Or=Tr("fontSizeBase400"),Mr=Tr("fontSizeBase500"),Hr=Tr("fontSizeBase600"),Vr=Tr("fontSizeHero700"),_r=Tr("fontSizeHero800"),jr=Tr("fontSizeHero900"),Gr=Tr("fontSizeHero1000"),qr=Tr("lineHeightBase100"),Xr=Tr("lineHeightBase200"),Wr=Tr("lineHeightBase300"),Ur=Tr("lineHeightBase400"),Yr=Tr("lineHeightBase500"),Kr=Tr("lineHeightBase600"),Qr=Tr("lineHeightHero700"),Zr=Tr("lineHeightHero800"),Jr=Tr("lineHeightHero900"),ei=Tr("lineHeightHero1000"),ti=Tr("fontFamilyBase"),oi=Tr("fontFamilyMonospace"),ri=Tr("fontFamilyNumeric"),ii=Tr("fontWeightRegular"),ai=Tr("fontWeightMedium"),ni=Tr("fontWeightSemibold"),si=Tr("fontWeightBold"),li=Tr("strokeWidthThin"),di=Tr("strokeWidthThick"),ci=Tr("strokeWidthThicker"),hi=Tr("strokeWidthThickest"),ui=Tr("spacingHorizontalNone"),pi=Tr("spacingHorizontalXXS"),gi=Tr("spacingHorizontalXS"),bi=Tr("spacingHorizontalSNudge"),fi=Tr("spacingHorizontalS"),mi=Tr("spacingHorizontalMNudge"),vi=Tr("spacingHorizontalM"),yi=Tr("spacingHorizontalL"),ki=Tr("spacingHorizontalXL"),xi=Tr("spacingHorizontalXXL"),$i=Tr("spacingHorizontalXXXL"),wi=Tr("spacingVerticalNone"),Bi=Tr("spacingVerticalXXS"),Ci=Tr("spacingVerticalXS"),Si=Tr("spacingVerticalSNudge"),Pi=Tr("spacingVerticalS"),Ti=Tr("spacingVerticalMNudge"),Fi=Tr("spacingVerticalM"),Ii=Tr("spacingVerticalL"),Ai=Tr("spacingVerticalXL"),zi=Tr("spacingVerticalXXL"),Ni=Tr("spacingVerticalXXXL"),Li=Tr("durationUltraFast"),Di=Tr("durationFaster"),Ri=Tr("durationFast"),Ei=Tr("durationNormal"),Oi=Tr("durationSlow"),Mi=Tr("durationSlower"),Hi=Tr("durationUltraSlow"),Vi=Tr("curveAccelerateMax"),_i=Tr("curveAccelerateMid"),ji=Tr("curveAccelerateMin"),Gi=Tr("curveDecelerateMax"),qi=Tr("curveDecelerateMid"),Xi=Tr("curveDecelerateMin"),Wi=Tr("curveEasyEaseMax"),Ui=Tr("curveEasyEase"),Yi=Tr("curveLinear"),Ki=Tr("colorNeutralForeground1"),Qi=Tr("colorNeutralForeground1Hover"),Zi=Tr("colorNeutralForeground1Pressed"),Ji=Tr("colorNeutralForeground1Selected"),ea=Tr("colorNeutralForeground2"),ta=Tr("colorNeutralForeground2Hover"),oa=Tr("colorNeutralForeground2Pressed"),ra=Tr("colorNeutralForeground2Selected"),ia=Tr("colorNeutralForeground2BrandHover"),aa=Tr("colorNeutralForeground2BrandPressed"),na=Tr("colorNeutralForeground2BrandSelected"),sa=Tr("colorNeutralForeground3"),la=Tr("colorNeutralForeground3Hover"),da=Tr("colorNeutralForeground3Pressed"),ca=Tr("colorNeutralForeground3Selected"),ha=Tr("colorNeutralForeground3BrandHover"),ua=Tr("colorNeutralForeground3BrandPressed"),pa=Tr("colorNeutralForeground3BrandSelected"),ga=Tr("colorNeutralForeground4"),ba=Tr("colorNeutralForegroundDisabled"),fa=Tr("colorNeutralForegroundInvertedDisabled"),ma=Tr("colorBrandForegroundLink"),va=Tr("colorBrandForegroundLinkHover"),ya=Tr("colorBrandForegroundLinkPressed"),ka=Tr("colorBrandForegroundLinkSelected"),xa=Tr("colorNeutralForeground2Link"),$a=Tr("colorNeutralForeground2LinkHover"),wa=Tr("colorNeutralForeground2LinkPressed"),Ba=Tr("colorNeutralForeground2LinkSelected"),Ca=Tr("colorCompoundBrandForeground1"),Sa=Tr("colorCompoundBrandForeground1Hover"),Pa=Tr("colorCompoundBrandForeground1Pressed"),Ta=Tr("colorBrandForeground1"),Fa=Tr("colorBrandForeground2"),Ia=Tr("colorNeutralForeground1Static"),Aa=Tr("colorNeutralForegroundStaticInverted"),za=Tr("colorNeutralForegroundInverted"),Na=Tr("colorNeutralForegroundInvertedHover"),La=Tr("colorNeutralForegroundInvertedPressed"),Da=Tr("colorNeutralForegroundInvertedSelected"),Ra=Tr("colorNeutralForegroundInverted2"),Ea=Tr("colorNeutralForegroundOnBrand"),Oa=Tr("colorNeutralForegroundInvertedLink"),Ma=Tr("colorNeutralForegroundInvertedLinkHover"),Ha=Tr("colorNeutralForegroundInvertedLinkPressed"),Va=Tr("colorNeutralForegroundInvertedLinkSelected"),_a=Tr("colorBrandForegroundInverted"),ja=Tr("colorBrandForegroundInvertedHover"),Ga=Tr("colorBrandForegroundInvertedPressed"),qa=Tr("colorBrandForegroundOnLight"),Xa=Tr("colorBrandForegroundOnLightHover"),Wa=Tr("colorBrandForegroundOnLightPressed"),Ua=Tr("colorBrandForegroundOnLightSelected"),Ya=Tr("colorNeutralBackground1"),Ka=Tr("colorNeutralBackground1Hover"),Qa=Tr("colorNeutralBackground1Pressed"),Za=Tr("colorNeutralBackground1Selected"),Ja=Tr("colorNeutralBackground2"),en=Tr("colorNeutralBackground2Hover"),tn=Tr("colorNeutralBackground2Pressed"),on=Tr("colorNeutralBackground2Selected"),rn=Tr("colorNeutralBackground3"),an=Tr("colorNeutralBackground3Hover"),nn=Tr("colorNeutralBackground3Pressed"),sn=Tr("colorNeutralBackground3Selected"),ln=Tr("colorNeutralBackground4"),dn=Tr("colorNeutralBackground4Hover"),cn=Tr("colorNeutralBackground4Pressed"),hn=Tr("colorNeutralBackground4Selected"),un=Tr("colorNeutralBackground5"),pn=Tr("colorNeutralBackground5Hover"),gn=Tr("colorNeutralBackground5Pressed"),bn=Tr("colorNeutralBackground5Selected"),fn=Tr("colorNeutralBackground6"),mn=Tr("colorNeutralBackgroundInverted"),vn=Tr("colorNeutralBackgroundStatic"),yn=Tr("colorSubtleBackground"),kn=Tr("colorSubtleBackgroundHover"),xn=Tr("colorSubtleBackgroundPressed"),$n=Tr("colorSubtleBackgroundSelected"),wn=Tr("colorSubtleBackgroundLightAlphaHover"),Bn=Tr("colorSubtleBackgroundLightAlphaPressed"),Cn=Tr("colorSubtleBackgroundLightAlphaSelected"),Sn=Tr("colorSubtleBackgroundInverted"),Pn=Tr("colorSubtleBackgroundInvertedHover"),Tn=Tr("colorSubtleBackgroundInvertedPressed"),Fn=Tr("colorSubtleBackgroundInvertedSelected"),In=Tr("colorTransparentBackground"),An=Tr("colorTransparentBackgroundHover"),zn=Tr("colorTransparentBackgroundPressed"),Nn=Tr("colorTransparentBackgroundSelected"),Ln=Tr("colorNeutralBackgroundDisabled"),Dn=Tr("colorNeutralBackgroundInvertedDisabled"),Rn=Tr("colorNeutralStencil1"),En=Tr("colorNeutralStencil2"),On=Tr("colorNeutralStencil1Alpha"),Mn=Tr("colorNeutralStencil2Alpha"),Hn=Tr("colorBackgroundOverlay"),Vn=Tr("colorScrollbarOverlay"),_n=Tr("colorBrandBackground"),jn=Tr("colorBrandBackgroundHover"),Gn=Tr("colorBrandBackgroundPressed"),qn=Tr("colorBrandBackgroundSelected"),Xn=Tr("colorCompoundBrandBackground"),Wn=Tr("colorCompoundBrandBackgroundHover"),Un=Tr("colorCompoundBrandBackgroundPressed"),Yn=Tr("colorBrandBackgroundStatic"),Kn=Tr("colorBrandBackground2"),Qn=Tr("colorBrandBackgroundInverted"),Zn=Tr("colorBrandBackgroundInvertedHover"),Jn=Tr("colorBrandBackgroundInvertedPressed"),es=Tr("colorBrandBackgroundInvertedSelected"),ts=Tr("colorNeutralStrokeAccessible"),os=Tr("colorNeutralStrokeAccessibleHover"),rs=Tr("colorNeutralStrokeAccessiblePressed"),is=Tr("colorNeutralStrokeAccessibleSelected"),as=Tr("colorNeutralStroke1"),ns=Tr("colorNeutralStroke1Hover"),ss=Tr("colorNeutralStroke1Pressed"),ls=Tr("colorNeutralStroke1Selected"),ds=Tr("colorNeutralStroke2"),cs=Tr("colorNeutralStroke3"),hs=Tr("colorNeutralStrokeOnBrand"),us=Tr("colorNeutralStrokeOnBrand2"),ps=Tr("colorNeutralStrokeOnBrand2Hover"),gs=Tr("colorNeutralStrokeOnBrand2Pressed"),bs=Tr("colorNeutralStrokeOnBrand2Selected"),fs=Tr("colorBrandStroke1"),ms=Tr("colorBrandStroke2"),vs=Tr("colorCompoundBrandStroke"),ys=Tr("colorCompoundBrandStrokeHover"),ks=Tr("colorCompoundBrandStrokePressed"),xs=Tr("colorNeutralStrokeDisabled"),$s=Tr("colorNeutralStrokeInvertedDisabled"),ws=Tr("colorTransparentStroke"),Bs=Tr("colorTransparentStrokeInteractive"),Cs=Tr("colorTransparentStrokeDisabled"),Ss=Tr("colorStrokeFocus1"),Ps=Tr("colorStrokeFocus2"),Ts=Tr("colorNeutralShadowAmbient"),Fs=Tr("colorNeutralShadowKey"),Is=Tr("colorNeutralShadowAmbientLighter"),As=Tr("colorNeutralShadowKeyLighter"),zs=Tr("colorNeutralShadowAmbientDarker"),Ns=Tr("colorNeutralShadowKeyDarker"),Ls=Tr("colorBrandShadowAmbient"),Ds=Tr("colorBrandShadowKey"),Rs=Tr("colorPaletteRedBackground1"),Es=Tr("colorPaletteRedBackground2"),Os=Tr("colorPaletteRedBackground3"),Ms=Tr("colorPaletteRedForeground1"),Hs=Tr("colorPaletteRedForeground2"),Vs=Tr("colorPaletteRedForeground3"),_s=Tr("colorPaletteRedBorderActive"),js=Tr("colorPaletteRedBorder1"),Gs=Tr("colorPaletteRedBorder2"),qs=Tr("colorPaletteGreenBackground1"),Xs=Tr("colorPaletteGreenBackground2"),Ws=Tr("colorPaletteGreenBackground3"),Us=Tr("colorPaletteGreenForeground1"),Ys=Tr("colorPaletteGreenForeground2"),Ks=Tr("colorPaletteGreenForeground3"),Qs=Tr("colorPaletteGreenBorderActive"),Zs=Tr("colorPaletteGreenBorder1"),Js=Tr("colorPaletteGreenBorder2"),el=Tr("colorPaletteDarkOrangeBackground1"),tl=Tr("colorPaletteDarkOrangeBackground2"),ol=Tr("colorPaletteDarkOrangeBackground3"),rl=Tr("colorPaletteDarkOrangeForeground1"),il=Tr("colorPaletteDarkOrangeForeground2"),al=Tr("colorPaletteDarkOrangeForeground3"),nl=Tr("colorPaletteDarkOrangeBorderActive"),sl=Tr("colorPaletteDarkOrangeBorder1"),ll=Tr("colorPaletteDarkOrangeBorder2"),dl=Tr("colorPaletteYellowBackground1"),cl=Tr("colorPaletteYellowBackground2"),hl=Tr("colorPaletteYellowBackground3"),ul=Tr("colorPaletteYellowForeground1"),pl=Tr("colorPaletteYellowForeground2"),gl=Tr("colorPaletteYellowForeground3"),bl=Tr("colorPaletteYellowBorderActive"),fl=Tr("colorPaletteYellowBorder1"),ml=Tr("colorPaletteYellowBorder2"),vl=Tr("colorPaletteBerryBackground1"),yl=Tr("colorPaletteBerryBackground2"),kl=Tr("colorPaletteBerryBackground3"),xl=Tr("colorPaletteBerryForeground1"),$l=Tr("colorPaletteBerryForeground2"),wl=Tr("colorPaletteBerryForeground3"),Bl=Tr("colorPaletteBerryBorderActive"),Cl=Tr("colorPaletteBerryBorder1"),Sl=Tr("colorPaletteBerryBorder2"),Pl=Tr("colorPaletteLightGreenBackground1"),Tl=Tr("colorPaletteLightGreenBackground2"),Fl=Tr("colorPaletteLightGreenBackground3"),Il=Tr("colorPaletteLightGreenForeground1"),Al=Tr("colorPaletteLightGreenForeground2"),zl=Tr("colorPaletteLightGreenForeground3"),Nl=Tr("colorPaletteLightGreenBorderActive"),Ll=Tr("colorPaletteLightGreenBorder1"),Dl=Tr("colorPaletteLightGreenBorder2"),Rl=Tr("colorPaletteMarigoldBackground1"),El=Tr("colorPaletteMarigoldBackground2"),Ol=Tr("colorPaletteMarigoldBackground3"),Ml=Tr("colorPaletteMarigoldForeground1"),Hl=Tr("colorPaletteMarigoldForeground2"),Vl=Tr("colorPaletteMarigoldForeground3"),_l=Tr("colorPaletteMarigoldBorderActive"),jl=Tr("colorPaletteMarigoldBorder1"),Gl=Tr("colorPaletteMarigoldBorder2"),ql=Tr("colorPaletteDarkRedBackground2"),Xl=Tr("colorPaletteDarkRedForeground2"),Wl=Tr("colorPaletteDarkRedBorderActive"),Ul=Tr("colorPaletteCranberryBackground2"),Yl=Tr("colorPaletteCranberryForeground2"),Kl=Tr("colorPaletteCranberryBorderActive"),Ql=Tr("colorPalettePumpkinBackground2"),Zl=Tr("colorPalettePumpkinForeground2"),Jl=Tr("colorPalettePumpkinBorderActive"),ed=Tr("colorPalettePeachBackground2"),td=Tr("colorPalettePeachForeground2"),od=Tr("colorPalettePeachBorderActive"),rd=Tr("colorPaletteGoldBackground2"),id=Tr("colorPaletteGoldForeground2"),ad=Tr("colorPaletteGoldBorderActive"),nd=Tr("colorPaletteBrassBackground2"),sd=Tr("colorPaletteBrassForeground2"),ld=Tr("colorPaletteBrassBorderActive"),dd=Tr("colorPaletteBrownBackground2"),cd=Tr("colorPaletteBrownForeground2"),hd=Tr("colorPaletteBrownBorderActive"),ud=Tr("colorPaletteForestBackground2"),pd=Tr("colorPaletteForestForeground2"),gd=Tr("colorPaletteForestBorderActive"),bd=Tr("colorPaletteSeafoamBackground2"),fd=Tr("colorPaletteSeafoamForeground2"),md=Tr("colorPaletteSeafoamBorderActive"),vd=Tr("colorPaletteDarkGreenBackground2"),yd=Tr("colorPaletteDarkGreenForeground2"),kd=Tr("colorPaletteDarkGreenBorderActive"),xd=Tr("colorPaletteLightTealBackground2"),$d=Tr("colorPaletteLightTealForeground2"),wd=Tr("colorPaletteLightTealBorderActive"),Bd=Tr("colorPaletteTealBackground2"),Cd=Tr("colorPaletteTealForeground2"),Sd=Tr("colorPaletteTealBorderActive"),Pd=Tr("colorPaletteSteelBackground2"),Td=Tr("colorPaletteSteelForeground2"),Fd=Tr("colorPaletteSteelBorderActive"),Id=Tr("colorPaletteBlueBackground2"),Ad=Tr("colorPaletteBlueForeground2"),zd=Tr("colorPaletteBlueBorderActive"),Nd=Tr("colorPaletteRoyalBlueBackground2"),Ld=Tr("colorPaletteRoyalBlueForeground2"),Dd=Tr("colorPaletteRoyalBlueBorderActive"),Rd=Tr("colorPaletteCornflowerBackground2"),Ed=Tr("colorPaletteCornflowerForeground2"),Od=Tr("colorPaletteCornflowerBorderActive"),Md=Tr("colorPaletteNavyBackground2"),Hd=Tr("colorPaletteNavyForeground2"),Vd=Tr("colorPaletteNavyBorderActive"),_d=Tr("colorPaletteLavenderBackground2"),jd=Tr("colorPaletteLavenderForeground2"),Gd=Tr("colorPaletteLavenderBorderActive"),qd=Tr("colorPalettePurpleBackground2"),Xd=Tr("colorPalettePurpleForeground2"),Wd=Tr("colorPalettePurpleBorderActive"),Ud=Tr("colorPaletteGrapeBackground2"),Yd=Tr("colorPaletteGrapeForeground2"),Kd=Tr("colorPaletteGrapeBorderActive"),Qd=Tr("colorPaletteLilacBackground2"),Zd=Tr("colorPaletteLilacForeground2"),Jd=Tr("colorPaletteLilacBorderActive"),ec=Tr("colorPalettePinkBackground2"),tc=Tr("colorPalettePinkForeground2"),oc=Tr("colorPalettePinkBorderActive"),rc=Tr("colorPaletteMagentaBackground2"),ic=Tr("colorPaletteMagentaForeground2"),ac=Tr("colorPaletteMagentaBorderActive"),nc=Tr("colorPalettePlumBackground2"),sc=Tr("colorPalettePlumForeground2"),lc=Tr("colorPalettePlumBorderActive"),dc=Tr("colorPaletteBeigeBackground2"),cc=Tr("colorPaletteBeigeForeground2"),hc=Tr("colorPaletteBeigeBorderActive"),uc=Tr("colorPaletteMinkBackground2"),pc=Tr("colorPaletteMinkForeground2"),gc=Tr("colorPaletteMinkBorderActive"),bc=Tr("colorPalettePlatinumBackground2"),fc=Tr("colorPalettePlatinumForeground2"),mc=Tr("colorPalettePlatinumBorderActive"),vc=Tr("colorPaletteAnchorBackground2"),yc=Tr("colorPaletteAnchorForeground2"),kc=Tr("colorPaletteAnchorBorderActive"),xc=Tr("colorPaletteRedForegroundInverted"),$c=Tr("colorPaletteGreenForegroundInverted"),wc=Tr("colorPaletteYellowForegroundInverted"),Bc=Tr("shadow2"),Cc=Tr("shadow4"),Sc=Tr("shadow8"),Pc=Tr("shadow16"),Tc=Tr("shadow28"),Fc=Tr("shadow64"),Ic=Tr("shadow2Brand"),Ac=Tr("shadow4Brand"),zc=Tr("shadow8Brand"),Nc=Tr("shadow16Brand"),Lc=Tr("shadow28Brand"),Dc=Tr("shadow64Brand");var Rc=Object.freeze({__proto__:null,borderRadiusNone:Fr,borderRadiusSmall:Ir,borderRadiusMedium:Ar,borderRadiusLarge:zr,borderRadiusXLarge:Nr,borderRadiusCircular:Lr,fontSizeBase100:Dr,fontSizeBase200:Rr,fontSizeBase300:Er,fontSizeBase400:Or,fontSizeBase500:Mr,fontSizeBase600:Hr,fontSizeHero700:Vr,fontSizeHero800:_r,fontSizeHero900:jr,fontSizeHero1000:Gr,lineHeightBase100:qr,lineHeightBase200:Xr,lineHeightBase300:Wr,lineHeightBase400:Ur,lineHeightBase500:Yr,lineHeightBase600:Kr,lineHeightHero700:Qr,lineHeightHero800:Zr,lineHeightHero900:Jr,lineHeightHero1000:ei,fontFamilyBase:ti,fontFamilyMonospace:oi,fontFamilyNumeric:ri,fontWeightRegular:ii,fontWeightMedium:ai,fontWeightSemibold:ni,fontWeightBold:si,strokeWidthThin:li,strokeWidthThick:di,strokeWidthThicker:ci,strokeWidthThickest:hi,spacingHorizontalNone:ui,spacingHorizontalXXS:pi,spacingHorizontalXS:gi,spacingHorizontalSNudge:bi,spacingHorizontalS:fi,spacingHorizontalMNudge:mi,spacingHorizontalM:vi,spacingHorizontalL:yi,spacingHorizontalXL:ki,spacingHorizontalXXL:xi,spacingHorizontalXXXL:$i,spacingVerticalNone:wi,spacingVerticalXXS:Bi,spacingVerticalXS:Ci,spacingVerticalSNudge:Si,spacingVerticalS:Pi,spacingVerticalMNudge:Ti,spacingVerticalM:Fi,spacingVerticalL:Ii,spacingVerticalXL:Ai,spacingVerticalXXL:zi,spacingVerticalXXXL:Ni,durationUltraFast:Li,durationFaster:Di,durationFast:Ri,durationNormal:Ei,durationSlow:Oi,durationSlower:Mi,durationUltraSlow:Hi,curveAccelerateMax:Vi,curveAccelerateMid:_i,curveAccelerateMin:ji,curveDecelerateMax:Gi,curveDecelerateMid:qi,curveDecelerateMin:Xi,curveEasyEaseMax:Wi,curveEasyEase:Ui,curveLinear:Yi,colorNeutralForeground1:Ki,colorNeutralForeground1Hover:Qi,colorNeutralForeground1Pressed:Zi,colorNeutralForeground1Selected:Ji,colorNeutralForeground2:ea,colorNeutralForeground2Hover:ta,colorNeutralForeground2Pressed:oa,colorNeutralForeground2Selected:ra,colorNeutralForeground2BrandHover:ia,colorNeutralForeground2BrandPressed:aa,colorNeutralForeground2BrandSelected:na,colorNeutralForeground3:sa,colorNeutralForeground3Hover:la,colorNeutralForeground3Pressed:da,colorNeutralForeground3Selected:ca,colorNeutralForeground3BrandHover:ha,colorNeutralForeground3BrandPressed:ua,colorNeutralForeground3BrandSelected:pa,colorNeutralForeground4:ga,colorNeutralForegroundDisabled:ba,colorNeutralForegroundInvertedDisabled:fa,colorBrandForegroundLink:ma,colorBrandForegroundLinkHover:va,colorBrandForegroundLinkPressed:ya,colorBrandForegroundLinkSelected:ka,colorNeutralForeground2Link:xa,colorNeutralForeground2LinkHover:$a,colorNeutralForeground2LinkPressed:wa,colorNeutralForeground2LinkSelected:Ba,colorCompoundBrandForeground1:Ca,colorCompoundBrandForeground1Hover:Sa,colorCompoundBrandForeground1Pressed:Pa,colorBrandForeground1:Ta,colorBrandForeground2:Fa,colorNeutralForeground1Static:Ia,colorNeutralForegroundStaticInverted:Aa,colorNeutralForegroundInverted:za,colorNeutralForegroundInvertedHover:Na,colorNeutralForegroundInvertedPressed:La,colorNeutralForegroundInvertedSelected:Da,colorNeutralForegroundInverted2:Ra,colorNeutralForegroundOnBrand:Ea,colorNeutralForegroundInvertedLink:Oa,colorNeutralForegroundInvertedLinkHover:Ma,colorNeutralForegroundInvertedLinkPressed:Ha,colorNeutralForegroundInvertedLinkSelected:Va,colorBrandForegroundInverted:_a,colorBrandForegroundInvertedHover:ja,colorBrandForegroundInvertedPressed:Ga,colorBrandForegroundOnLight:qa,colorBrandForegroundOnLightHover:Xa,colorBrandForegroundOnLightPressed:Wa,colorBrandForegroundOnLightSelected:Ua,colorNeutralBackground1:Ya,colorNeutralBackground1Hover:Ka,colorNeutralBackground1Pressed:Qa,colorNeutralBackground1Selected:Za,colorNeutralBackground2:Ja,colorNeutralBackground2Hover:en,colorNeutralBackground2Pressed:tn,colorNeutralBackground2Selected:on,colorNeutralBackground3:rn,colorNeutralBackground3Hover:an,colorNeutralBackground3Pressed:nn,colorNeutralBackground3Selected:sn,colorNeutralBackground4:ln,colorNeutralBackground4Hover:dn,colorNeutralBackground4Pressed:cn,colorNeutralBackground4Selected:hn,colorNeutralBackground5:un,colorNeutralBackground5Hover:pn,colorNeutralBackground5Pressed:gn,colorNeutralBackground5Selected:bn,colorNeutralBackground6:fn,colorNeutralBackgroundInverted:mn,colorNeutralBackgroundStatic:vn,colorSubtleBackground:yn,colorSubtleBackgroundHover:kn,colorSubtleBackgroundPressed:xn,colorSubtleBackgroundSelected:$n,colorSubtleBackgroundLightAlphaHover:wn,colorSubtleBackgroundLightAlphaPressed:Bn,colorSubtleBackgroundLightAlphaSelected:Cn,colorSubtleBackgroundInverted:Sn,colorSubtleBackgroundInvertedHover:Pn,colorSubtleBackgroundInvertedPressed:Tn,colorSubtleBackgroundInvertedSelected:Fn,colorTransparentBackground:In,colorTransparentBackgroundHover:An,colorTransparentBackgroundPressed:zn,colorTransparentBackgroundSelected:Nn,colorNeutralBackgroundDisabled:Ln,colorNeutralBackgroundInvertedDisabled:Dn,colorNeutralStencil1:Rn,colorNeutralStencil2:En,colorNeutralStencil1Alpha:On,colorNeutralStencil2Alpha:Mn,colorBackgroundOverlay:Hn,colorScrollbarOverlay:Vn,colorBrandBackground:_n,colorBrandBackgroundHover:jn,colorBrandBackgroundPressed:Gn,colorBrandBackgroundSelected:qn,colorCompoundBrandBackground:Xn,colorCompoundBrandBackgroundHover:Wn,colorCompoundBrandBackgroundPressed:Un,colorBrandBackgroundStatic:Yn,colorBrandBackground2:Kn,colorBrandBackgroundInverted:Qn,colorBrandBackgroundInvertedHover:Zn,colorBrandBackgroundInvertedPressed:Jn,colorBrandBackgroundInvertedSelected:es,colorNeutralStrokeAccessible:ts,colorNeutralStrokeAccessibleHover:os,colorNeutralStrokeAccessiblePressed:rs,colorNeutralStrokeAccessibleSelected:is,colorNeutralStroke1:as,colorNeutralStroke1Hover:ns,colorNeutralStroke1Pressed:ss,colorNeutralStroke1Selected:ls,colorNeutralStroke2:ds,colorNeutralStroke3:cs,colorNeutralStrokeOnBrand:hs,colorNeutralStrokeOnBrand2:us,colorNeutralStrokeOnBrand2Hover:ps,colorNeutralStrokeOnBrand2Pressed:gs,colorNeutralStrokeOnBrand2Selected:bs,colorBrandStroke1:fs,colorBrandStroke2:ms,colorCompoundBrandStroke:vs,colorCompoundBrandStrokeHover:ys,colorCompoundBrandStrokePressed:ks,colorNeutralStrokeDisabled:xs,colorNeutralStrokeInvertedDisabled:$s,colorTransparentStroke:ws,colorTransparentStrokeInteractive:Bs,colorTransparentStrokeDisabled:Cs,colorStrokeFocus1:Ss,colorStrokeFocus2:Ps,colorNeutralShadowAmbient:Ts,colorNeutralShadowKey:Fs,colorNeutralShadowAmbientLighter:Is,colorNeutralShadowKeyLighter:As,colorNeutralShadowAmbientDarker:zs,colorNeutralShadowKeyDarker:Ns,colorBrandShadowAmbient:Ls,colorBrandShadowKey:Ds,colorPaletteRedBackground1:Rs,colorPaletteRedBackground2:Es,colorPaletteRedBackground3:Os,colorPaletteRedForeground1:Ms,colorPaletteRedForeground2:Hs,colorPaletteRedForeground3:Vs,colorPaletteRedBorderActive:_s,colorPaletteRedBorder1:js,colorPaletteRedBorder2:Gs,colorPaletteGreenBackground1:qs,colorPaletteGreenBackground2:Xs,colorPaletteGreenBackground3:Ws,colorPaletteGreenForeground1:Us,colorPaletteGreenForeground2:Ys,colorPaletteGreenForeground3:Ks,colorPaletteGreenBorderActive:Qs,colorPaletteGreenBorder1:Zs,colorPaletteGreenBorder2:Js,colorPaletteDarkOrangeBackground1:el,colorPaletteDarkOrangeBackground2:tl,colorPaletteDarkOrangeBackground3:ol,colorPaletteDarkOrangeForeground1:rl,colorPaletteDarkOrangeForeground2:il,colorPaletteDarkOrangeForeground3:al,colorPaletteDarkOrangeBorderActive:nl,colorPaletteDarkOrangeBorder1:sl,colorPaletteDarkOrangeBorder2:ll,colorPaletteYellowBackground1:dl,colorPaletteYellowBackground2:cl,colorPaletteYellowBackground3:hl,colorPaletteYellowForeground1:ul,colorPaletteYellowForeground2:pl,colorPaletteYellowForeground3:gl,colorPaletteYellowBorderActive:bl,colorPaletteYellowBorder1:fl,colorPaletteYellowBorder2:ml,colorPaletteBerryBackground1:vl,colorPaletteBerryBackground2:yl,colorPaletteBerryBackground3:kl,colorPaletteBerryForeground1:xl,colorPaletteBerryForeground2:$l,colorPaletteBerryForeground3:wl,colorPaletteBerryBorderActive:Bl,colorPaletteBerryBorder1:Cl,colorPaletteBerryBorder2:Sl,colorPaletteLightGreenBackground1:Pl,colorPaletteLightGreenBackground2:Tl,colorPaletteLightGreenBackground3:Fl,colorPaletteLightGreenForeground1:Il,colorPaletteLightGreenForeground2:Al,colorPaletteLightGreenForeground3:zl,colorPaletteLightGreenBorderActive:Nl,colorPaletteLightGreenBorder1:Ll,colorPaletteLightGreenBorder2:Dl,colorPaletteMarigoldBackground1:Rl,colorPaletteMarigoldBackground2:El,colorPaletteMarigoldBackground3:Ol,colorPaletteMarigoldForeground1:Ml,colorPaletteMarigoldForeground2:Hl,colorPaletteMarigoldForeground3:Vl,colorPaletteMarigoldBorderActive:_l,colorPaletteMarigoldBorder1:jl,colorPaletteMarigoldBorder2:Gl,colorPaletteDarkRedBackground2:ql,colorPaletteDarkRedForeground2:Xl,colorPaletteDarkRedBorderActive:Wl,colorPaletteCranberryBackground2:Ul,colorPaletteCranberryForeground2:Yl,colorPaletteCranberryBorderActive:Kl,colorPalettePumpkinBackground2:Ql,colorPalettePumpkinForeground2:Zl,colorPalettePumpkinBorderActive:Jl,colorPalettePeachBackground2:ed,colorPalettePeachForeground2:td,colorPalettePeachBorderActive:od,colorPaletteGoldBackground2:rd,colorPaletteGoldForeground2:id,colorPaletteGoldBorderActive:ad,colorPaletteBrassBackground2:nd,colorPaletteBrassForeground2:sd,colorPaletteBrassBorderActive:ld,colorPaletteBrownBackground2:dd,colorPaletteBrownForeground2:cd,colorPaletteBrownBorderActive:hd,colorPaletteForestBackground2:ud,colorPaletteForestForeground2:pd,colorPaletteForestBorderActive:gd,colorPaletteSeafoamBackground2:bd,colorPaletteSeafoamForeground2:fd,colorPaletteSeafoamBorderActive:md,colorPaletteDarkGreenBackground2:vd,colorPaletteDarkGreenForeground2:yd,colorPaletteDarkGreenBorderActive:kd,colorPaletteLightTealBackground2:xd,colorPaletteLightTealForeground2:$d,colorPaletteLightTealBorderActive:wd,colorPaletteTealBackground2:Bd,colorPaletteTealForeground2:Cd,colorPaletteTealBorderActive:Sd,colorPaletteSteelBackground2:Pd,colorPaletteSteelForeground2:Td,colorPaletteSteelBorderActive:Fd,colorPaletteBlueBackground2:Id,colorPaletteBlueForeground2:Ad,colorPaletteBlueBorderActive:zd,colorPaletteRoyalBlueBackground2:Nd,colorPaletteRoyalBlueForeground2:Ld,colorPaletteRoyalBlueBorderActive:Dd,colorPaletteCornflowerBackground2:Rd,colorPaletteCornflowerForeground2:Ed,colorPaletteCornflowerBorderActive:Od,colorPaletteNavyBackground2:Md,colorPaletteNavyForeground2:Hd,colorPaletteNavyBorderActive:Vd,colorPaletteLavenderBackground2:_d,colorPaletteLavenderForeground2:jd,colorPaletteLavenderBorderActive:Gd,colorPalettePurpleBackground2:qd,colorPalettePurpleForeground2:Xd,colorPalettePurpleBorderActive:Wd,colorPaletteGrapeBackground2:Ud,colorPaletteGrapeForeground2:Yd,colorPaletteGrapeBorderActive:Kd,colorPaletteLilacBackground2:Qd,colorPaletteLilacForeground2:Zd,colorPaletteLilacBorderActive:Jd,colorPalettePinkBackground2:ec,colorPalettePinkForeground2:tc,colorPalettePinkBorderActive:oc,colorPaletteMagentaBackground2:rc,colorPaletteMagentaForeground2:ic,colorPaletteMagentaBorderActive:ac,colorPalettePlumBackground2:nc,colorPalettePlumForeground2:sc,colorPalettePlumBorderActive:lc,colorPaletteBeigeBackground2:dc,colorPaletteBeigeForeground2:cc,colorPaletteBeigeBorderActive:hc,colorPaletteMinkBackground2:uc,colorPaletteMinkForeground2:pc,colorPaletteMinkBorderActive:gc,colorPalettePlatinumBackground2:bc,colorPalettePlatinumForeground2:fc,colorPalettePlatinumBorderActive:mc,colorPaletteAnchorBackground2:vc,colorPaletteAnchorForeground2:yc,colorPaletteAnchorBorderActive:kc,colorPaletteRedForegroundInverted:xc,colorPaletteGreenForegroundInverted:$c,colorPaletteYellowForegroundInverted:wc,shadow2:Bc,shadow4:Cc,shadow8:Sc,shadow16:Pc,shadow28:Tc,shadow64:Fc,shadow2Brand:Ic,shadow4Brand:Ac,shadow8Brand:zc,shadow16Brand:Nc,shadow28Brand:Lc,shadow64Brand:Dc});const Ec=j`
|
|
5
|
-
${
|
|
4
|
+
:host{flex-direction:column;width:100%;contain:content}`,Tr=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Ir=Cr.compose({name:Tr.prefix+"-accordion",template:Sr,styles:Pr});class Fr extends pt{constructor(){super(...arguments),this.block=!1}}Je([De],Fr.prototype,"size",void 0),Je([De({mode:"boolean"})],Fr.prototype,"block",void 0),Je([De({attribute:"expand-icon-position"})],Fr.prototype,"expandIconPosition",void 0);const Ar={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},zr={start:"start",end:"end"},{create:Nr}=Ho,Lr=Nr("borderRadiusNone"),Dr=Nr("borderRadiusSmall"),Er=Nr("borderRadiusMedium"),Rr=Nr("borderRadiusLarge"),Or=Nr("borderRadiusXLarge"),Mr=Nr("borderRadiusCircular"),Hr=Nr("fontSizeBase100"),Vr=Nr("fontSizeBase200"),_r=Nr("fontSizeBase300"),jr=Nr("fontSizeBase400"),Gr=Nr("fontSizeBase500"),qr=Nr("fontSizeBase600"),Xr=Nr("fontSizeHero700"),Wr=Nr("fontSizeHero800"),Ur=Nr("fontSizeHero900"),Yr=Nr("fontSizeHero1000"),Kr=Nr("lineHeightBase100"),Qr=Nr("lineHeightBase200"),Zr=Nr("lineHeightBase300"),Jr=Nr("lineHeightBase400"),ei=Nr("lineHeightBase500"),ti=Nr("lineHeightBase600"),oi=Nr("lineHeightHero700"),ri=Nr("lineHeightHero800"),ii=Nr("lineHeightHero900"),ai=Nr("lineHeightHero1000"),ni=Nr("fontFamilyBase"),si=Nr("fontFamilyMonospace"),li=Nr("fontFamilyNumeric"),di=Nr("fontWeightRegular"),ci=Nr("fontWeightMedium"),hi=Nr("fontWeightSemibold"),ui=Nr("fontWeightBold"),pi=Nr("strokeWidthThin"),gi=Nr("strokeWidthThick"),bi=Nr("strokeWidthThicker"),fi=Nr("strokeWidthThickest"),mi=Nr("spacingHorizontalNone"),vi=Nr("spacingHorizontalXXS"),yi=Nr("spacingHorizontalXS"),xi=Nr("spacingHorizontalSNudge"),ki=Nr("spacingHorizontalS"),$i=Nr("spacingHorizontalMNudge"),wi=Nr("spacingHorizontalM"),Bi=Nr("spacingHorizontalL"),Ci=Nr("spacingHorizontalXL"),Si=Nr("spacingHorizontalXXL"),Pi=Nr("spacingHorizontalXXXL"),Ti=Nr("spacingVerticalNone"),Ii=Nr("spacingVerticalXXS"),Fi=Nr("spacingVerticalXS"),Ai=Nr("spacingVerticalSNudge"),zi=Nr("spacingVerticalS"),Ni=Nr("spacingVerticalMNudge"),Li=Nr("spacingVerticalM"),Di=Nr("spacingVerticalL"),Ei=Nr("spacingVerticalXL"),Ri=Nr("spacingVerticalXXL"),Oi=Nr("spacingVerticalXXXL"),Mi=Nr("durationUltraFast"),Hi=Nr("durationFaster"),Vi=Nr("durationFast"),_i=Nr("durationNormal"),ji=Nr("durationSlow"),Gi=Nr("durationSlower"),qi=Nr("durationUltraSlow"),Xi=Nr("curveAccelerateMax"),Wi=Nr("curveAccelerateMid"),Ui=Nr("curveAccelerateMin"),Yi=Nr("curveDecelerateMax"),Ki=Nr("curveDecelerateMid"),Qi=Nr("curveDecelerateMin"),Zi=Nr("curveEasyEaseMax"),Ji=Nr("curveEasyEase"),ea=Nr("curveLinear"),ta=Nr("colorNeutralForeground1"),oa=Nr("colorNeutralForeground1Hover"),ra=Nr("colorNeutralForeground1Pressed"),ia=Nr("colorNeutralForeground1Selected"),aa=Nr("colorNeutralForeground2"),na=Nr("colorNeutralForeground2Hover"),sa=Nr("colorNeutralForeground2Pressed"),la=Nr("colorNeutralForeground2Selected"),da=Nr("colorNeutralForeground2BrandHover"),ca=Nr("colorNeutralForeground2BrandPressed"),ha=Nr("colorNeutralForeground2BrandSelected"),ua=Nr("colorNeutralForeground3"),pa=Nr("colorNeutralForeground3Hover"),ga=Nr("colorNeutralForeground3Pressed"),ba=Nr("colorNeutralForeground3Selected"),fa=Nr("colorNeutralForeground3BrandHover"),ma=Nr("colorNeutralForeground3BrandPressed"),va=Nr("colorNeutralForeground3BrandSelected"),ya=Nr("colorNeutralForeground4"),xa=Nr("colorNeutralForegroundDisabled"),ka=Nr("colorNeutralForegroundInvertedDisabled"),$a=Nr("colorBrandForegroundLink"),wa=Nr("colorBrandForegroundLinkHover"),Ba=Nr("colorBrandForegroundLinkPressed"),Ca=Nr("colorBrandForegroundLinkSelected"),Sa=Nr("colorNeutralForeground2Link"),Pa=Nr("colorNeutralForeground2LinkHover"),Ta=Nr("colorNeutralForeground2LinkPressed"),Ia=Nr("colorNeutralForeground2LinkSelected"),Fa=Nr("colorCompoundBrandForeground1"),Aa=Nr("colorCompoundBrandForeground1Hover"),za=Nr("colorCompoundBrandForeground1Pressed"),Na=Nr("colorBrandForeground1"),La=Nr("colorBrandForeground2"),Da=Nr("colorNeutralForeground1Static"),Ea=Nr("colorNeutralForegroundStaticInverted"),Ra=Nr("colorNeutralForegroundInverted"),Oa=Nr("colorNeutralForegroundInvertedHover"),Ma=Nr("colorNeutralForegroundInvertedPressed"),Ha=Nr("colorNeutralForegroundInvertedSelected"),Va=Nr("colorNeutralForegroundInverted2"),_a=Nr("colorNeutralForegroundOnBrand"),ja=Nr("colorNeutralForegroundInvertedLink"),Ga=Nr("colorNeutralForegroundInvertedLinkHover"),qa=Nr("colorNeutralForegroundInvertedLinkPressed"),Xa=Nr("colorNeutralForegroundInvertedLinkSelected"),Wa=Nr("colorBrandForegroundInverted"),Ua=Nr("colorBrandForegroundInvertedHover"),Ya=Nr("colorBrandForegroundInvertedPressed"),Ka=Nr("colorBrandForegroundOnLight"),Qa=Nr("colorBrandForegroundOnLightHover"),Za=Nr("colorBrandForegroundOnLightPressed"),Ja=Nr("colorBrandForegroundOnLightSelected"),en=Nr("colorNeutralBackground1"),tn=Nr("colorNeutralBackground1Hover"),on=Nr("colorNeutralBackground1Pressed"),rn=Nr("colorNeutralBackground1Selected"),an=Nr("colorNeutralBackground2"),nn=Nr("colorNeutralBackground2Hover"),sn=Nr("colorNeutralBackground2Pressed"),ln=Nr("colorNeutralBackground2Selected"),dn=Nr("colorNeutralBackground3"),cn=Nr("colorNeutralBackground3Hover"),hn=Nr("colorNeutralBackground3Pressed"),un=Nr("colorNeutralBackground3Selected"),pn=Nr("colorNeutralBackground4"),gn=Nr("colorNeutralBackground4Hover"),bn=Nr("colorNeutralBackground4Pressed"),fn=Nr("colorNeutralBackground4Selected"),mn=Nr("colorNeutralBackground5"),vn=Nr("colorNeutralBackground5Hover"),yn=Nr("colorNeutralBackground5Pressed"),xn=Nr("colorNeutralBackground5Selected"),kn=Nr("colorNeutralBackground6"),$n=Nr("colorNeutralBackgroundInverted"),wn=Nr("colorNeutralBackgroundStatic"),Bn=Nr("colorSubtleBackground"),Cn=Nr("colorSubtleBackgroundHover"),Sn=Nr("colorSubtleBackgroundPressed"),Pn=Nr("colorSubtleBackgroundSelected"),Tn=Nr("colorSubtleBackgroundLightAlphaHover"),In=Nr("colorSubtleBackgroundLightAlphaPressed"),Fn=Nr("colorSubtleBackgroundLightAlphaSelected"),An=Nr("colorSubtleBackgroundInverted"),zn=Nr("colorSubtleBackgroundInvertedHover"),Nn=Nr("colorSubtleBackgroundInvertedPressed"),Ln=Nr("colorSubtleBackgroundInvertedSelected"),Dn=Nr("colorTransparentBackground"),En=Nr("colorTransparentBackgroundHover"),Rn=Nr("colorTransparentBackgroundPressed"),On=Nr("colorTransparentBackgroundSelected"),Mn=Nr("colorNeutralBackgroundDisabled"),Hn=Nr("colorNeutralBackgroundInvertedDisabled"),Vn=Nr("colorNeutralStencil1"),_n=Nr("colorNeutralStencil2"),jn=Nr("colorNeutralStencil1Alpha"),Gn=Nr("colorNeutralStencil2Alpha"),qn=Nr("colorBackgroundOverlay"),Xn=Nr("colorScrollbarOverlay"),Wn=Nr("colorBrandBackground"),Un=Nr("colorBrandBackgroundHover"),Yn=Nr("colorBrandBackgroundPressed"),Kn=Nr("colorBrandBackgroundSelected"),Qn=Nr("colorCompoundBrandBackground"),Zn=Nr("colorCompoundBrandBackgroundHover"),Jn=Nr("colorCompoundBrandBackgroundPressed"),es=Nr("colorBrandBackgroundStatic"),ts=Nr("colorBrandBackground2"),os=Nr("colorBrandBackgroundInverted"),rs=Nr("colorBrandBackgroundInvertedHover"),is=Nr("colorBrandBackgroundInvertedPressed"),as=Nr("colorBrandBackgroundInvertedSelected"),ns=Nr("colorNeutralStrokeAccessible"),ss=Nr("colorNeutralStrokeAccessibleHover"),ls=Nr("colorNeutralStrokeAccessiblePressed"),ds=Nr("colorNeutralStrokeAccessibleSelected"),cs=Nr("colorNeutralStroke1"),hs=Nr("colorNeutralStroke1Hover"),us=Nr("colorNeutralStroke1Pressed"),ps=Nr("colorNeutralStroke1Selected"),gs=Nr("colorNeutralStroke2"),bs=Nr("colorNeutralStroke3"),fs=Nr("colorNeutralStrokeOnBrand"),ms=Nr("colorNeutralStrokeOnBrand2"),vs=Nr("colorNeutralStrokeOnBrand2Hover"),ys=Nr("colorNeutralStrokeOnBrand2Pressed"),xs=Nr("colorNeutralStrokeOnBrand2Selected"),ks=Nr("colorBrandStroke1"),$s=Nr("colorBrandStroke2"),ws=Nr("colorCompoundBrandStroke"),Bs=Nr("colorCompoundBrandStrokeHover"),Cs=Nr("colorCompoundBrandStrokePressed"),Ss=Nr("colorNeutralStrokeDisabled"),Ps=Nr("colorNeutralStrokeInvertedDisabled"),Ts=Nr("colorTransparentStroke"),Is=Nr("colorTransparentStrokeInteractive"),Fs=Nr("colorTransparentStrokeDisabled"),As=Nr("colorStrokeFocus1"),zs=Nr("colorStrokeFocus2"),Ns=Nr("colorNeutralShadowAmbient"),Ls=Nr("colorNeutralShadowKey"),Ds=Nr("colorNeutralShadowAmbientLighter"),Es=Nr("colorNeutralShadowKeyLighter"),Rs=Nr("colorNeutralShadowAmbientDarker"),Os=Nr("colorNeutralShadowKeyDarker"),Ms=Nr("colorBrandShadowAmbient"),Hs=Nr("colorBrandShadowKey"),Vs=Nr("colorPaletteRedBackground1"),_s=Nr("colorPaletteRedBackground2"),js=Nr("colorPaletteRedBackground3"),Gs=Nr("colorPaletteRedForeground1"),qs=Nr("colorPaletteRedForeground2"),Xs=Nr("colorPaletteRedForeground3"),Ws=Nr("colorPaletteRedBorderActive"),Us=Nr("colorPaletteRedBorder1"),Ys=Nr("colorPaletteRedBorder2"),Ks=Nr("colorPaletteGreenBackground1"),Qs=Nr("colorPaletteGreenBackground2"),Zs=Nr("colorPaletteGreenBackground3"),Js=Nr("colorPaletteGreenForeground1"),el=Nr("colorPaletteGreenForeground2"),tl=Nr("colorPaletteGreenForeground3"),ol=Nr("colorPaletteGreenBorderActive"),rl=Nr("colorPaletteGreenBorder1"),il=Nr("colorPaletteGreenBorder2"),al=Nr("colorPaletteDarkOrangeBackground1"),nl=Nr("colorPaletteDarkOrangeBackground2"),sl=Nr("colorPaletteDarkOrangeBackground3"),ll=Nr("colorPaletteDarkOrangeForeground1"),dl=Nr("colorPaletteDarkOrangeForeground2"),cl=Nr("colorPaletteDarkOrangeForeground3"),hl=Nr("colorPaletteDarkOrangeBorderActive"),ul=Nr("colorPaletteDarkOrangeBorder1"),pl=Nr("colorPaletteDarkOrangeBorder2"),gl=Nr("colorPaletteYellowBackground1"),bl=Nr("colorPaletteYellowBackground2"),fl=Nr("colorPaletteYellowBackground3"),ml=Nr("colorPaletteYellowForeground1"),vl=Nr("colorPaletteYellowForeground2"),yl=Nr("colorPaletteYellowForeground3"),xl=Nr("colorPaletteYellowBorderActive"),kl=Nr("colorPaletteYellowBorder1"),$l=Nr("colorPaletteYellowBorder2"),wl=Nr("colorPaletteBerryBackground1"),Bl=Nr("colorPaletteBerryBackground2"),Cl=Nr("colorPaletteBerryBackground3"),Sl=Nr("colorPaletteBerryForeground1"),Pl=Nr("colorPaletteBerryForeground2"),Tl=Nr("colorPaletteBerryForeground3"),Il=Nr("colorPaletteBerryBorderActive"),Fl=Nr("colorPaletteBerryBorder1"),Al=Nr("colorPaletteBerryBorder2"),zl=Nr("colorPaletteLightGreenBackground1"),Nl=Nr("colorPaletteLightGreenBackground2"),Ll=Nr("colorPaletteLightGreenBackground3"),Dl=Nr("colorPaletteLightGreenForeground1"),El=Nr("colorPaletteLightGreenForeground2"),Rl=Nr("colorPaletteLightGreenForeground3"),Ol=Nr("colorPaletteLightGreenBorderActive"),Ml=Nr("colorPaletteLightGreenBorder1"),Hl=Nr("colorPaletteLightGreenBorder2"),Vl=Nr("colorPaletteMarigoldBackground1"),_l=Nr("colorPaletteMarigoldBackground2"),jl=Nr("colorPaletteMarigoldBackground3"),Gl=Nr("colorPaletteMarigoldForeground1"),ql=Nr("colorPaletteMarigoldForeground2"),Xl=Nr("colorPaletteMarigoldForeground3"),Wl=Nr("colorPaletteMarigoldBorderActive"),Ul=Nr("colorPaletteMarigoldBorder1"),Yl=Nr("colorPaletteMarigoldBorder2"),Kl=Nr("colorPaletteDarkRedBackground2"),Ql=Nr("colorPaletteDarkRedForeground2"),Zl=Nr("colorPaletteDarkRedBorderActive"),Jl=Nr("colorPaletteCranberryBackground2"),ed=Nr("colorPaletteCranberryForeground2"),td=Nr("colorPaletteCranberryBorderActive"),od=Nr("colorPalettePumpkinBackground2"),rd=Nr("colorPalettePumpkinForeground2"),id=Nr("colorPalettePumpkinBorderActive"),ad=Nr("colorPalettePeachBackground2"),nd=Nr("colorPalettePeachForeground2"),sd=Nr("colorPalettePeachBorderActive"),ld=Nr("colorPaletteGoldBackground2"),dd=Nr("colorPaletteGoldForeground2"),cd=Nr("colorPaletteGoldBorderActive"),hd=Nr("colorPaletteBrassBackground2"),ud=Nr("colorPaletteBrassForeground2"),pd=Nr("colorPaletteBrassBorderActive"),gd=Nr("colorPaletteBrownBackground2"),bd=Nr("colorPaletteBrownForeground2"),fd=Nr("colorPaletteBrownBorderActive"),md=Nr("colorPaletteForestBackground2"),vd=Nr("colorPaletteForestForeground2"),yd=Nr("colorPaletteForestBorderActive"),xd=Nr("colorPaletteSeafoamBackground2"),kd=Nr("colorPaletteSeafoamForeground2"),$d=Nr("colorPaletteSeafoamBorderActive"),wd=Nr("colorPaletteDarkGreenBackground2"),Bd=Nr("colorPaletteDarkGreenForeground2"),Cd=Nr("colorPaletteDarkGreenBorderActive"),Sd=Nr("colorPaletteLightTealBackground2"),Pd=Nr("colorPaletteLightTealForeground2"),Td=Nr("colorPaletteLightTealBorderActive"),Id=Nr("colorPaletteTealBackground2"),Fd=Nr("colorPaletteTealForeground2"),Ad=Nr("colorPaletteTealBorderActive"),zd=Nr("colorPaletteSteelBackground2"),Nd=Nr("colorPaletteSteelForeground2"),Ld=Nr("colorPaletteSteelBorderActive"),Dd=Nr("colorPaletteBlueBackground2"),Ed=Nr("colorPaletteBlueForeground2"),Rd=Nr("colorPaletteBlueBorderActive"),Od=Nr("colorPaletteRoyalBlueBackground2"),Md=Nr("colorPaletteRoyalBlueForeground2"),Hd=Nr("colorPaletteRoyalBlueBorderActive"),Vd=Nr("colorPaletteCornflowerBackground2"),_d=Nr("colorPaletteCornflowerForeground2"),jd=Nr("colorPaletteCornflowerBorderActive"),Gd=Nr("colorPaletteNavyBackground2"),qd=Nr("colorPaletteNavyForeground2"),Xd=Nr("colorPaletteNavyBorderActive"),Wd=Nr("colorPaletteLavenderBackground2"),Ud=Nr("colorPaletteLavenderForeground2"),Yd=Nr("colorPaletteLavenderBorderActive"),Kd=Nr("colorPalettePurpleBackground2"),Qd=Nr("colorPalettePurpleForeground2"),Zd=Nr("colorPalettePurpleBorderActive"),Jd=Nr("colorPaletteGrapeBackground2"),ec=Nr("colorPaletteGrapeForeground2"),tc=Nr("colorPaletteGrapeBorderActive"),oc=Nr("colorPaletteLilacBackground2"),rc=Nr("colorPaletteLilacForeground2"),ic=Nr("colorPaletteLilacBorderActive"),ac=Nr("colorPalettePinkBackground2"),nc=Nr("colorPalettePinkForeground2"),sc=Nr("colorPalettePinkBorderActive"),lc=Nr("colorPaletteMagentaBackground2"),dc=Nr("colorPaletteMagentaForeground2"),cc=Nr("colorPaletteMagentaBorderActive"),hc=Nr("colorPalettePlumBackground2"),uc=Nr("colorPalettePlumForeground2"),pc=Nr("colorPalettePlumBorderActive"),gc=Nr("colorPaletteBeigeBackground2"),bc=Nr("colorPaletteBeigeForeground2"),fc=Nr("colorPaletteBeigeBorderActive"),mc=Nr("colorPaletteMinkBackground2"),vc=Nr("colorPaletteMinkForeground2"),yc=Nr("colorPaletteMinkBorderActive"),xc=Nr("colorPalettePlatinumBackground2"),kc=Nr("colorPalettePlatinumForeground2"),$c=Nr("colorPalettePlatinumBorderActive"),wc=Nr("colorPaletteAnchorBackground2"),Bc=Nr("colorPaletteAnchorForeground2"),Cc=Nr("colorPaletteAnchorBorderActive"),Sc=Nr("colorPaletteRedForegroundInverted"),Pc=Nr("colorPaletteGreenForegroundInverted"),Tc=Nr("colorPaletteYellowForegroundInverted"),Ic=Nr("shadow2"),Fc=Nr("shadow4"),Ac=Nr("shadow8"),zc=Nr("shadow16"),Nc=Nr("shadow28"),Lc=Nr("shadow64"),Dc=Nr("shadow2Brand"),Ec=Nr("shadow4Brand"),Rc=Nr("shadow8Brand"),Oc=Nr("shadow16Brand"),Mc=Nr("shadow28Brand"),Hc=Nr("shadow64Brand");var Vc=Object.freeze({__proto__:null,borderRadiusNone:Lr,borderRadiusSmall:Dr,borderRadiusMedium:Er,borderRadiusLarge:Rr,borderRadiusXLarge:Or,borderRadiusCircular:Mr,fontSizeBase100:Hr,fontSizeBase200:Vr,fontSizeBase300:_r,fontSizeBase400:jr,fontSizeBase500:Gr,fontSizeBase600:qr,fontSizeHero700:Xr,fontSizeHero800:Wr,fontSizeHero900:Ur,fontSizeHero1000:Yr,lineHeightBase100:Kr,lineHeightBase200:Qr,lineHeightBase300:Zr,lineHeightBase400:Jr,lineHeightBase500:ei,lineHeightBase600:ti,lineHeightHero700:oi,lineHeightHero800:ri,lineHeightHero900:ii,lineHeightHero1000:ai,fontFamilyBase:ni,fontFamilyMonospace:si,fontFamilyNumeric:li,fontWeightRegular:di,fontWeightMedium:ci,fontWeightSemibold:hi,fontWeightBold:ui,strokeWidthThin:pi,strokeWidthThick:gi,strokeWidthThicker:bi,strokeWidthThickest:fi,spacingHorizontalNone:mi,spacingHorizontalXXS:vi,spacingHorizontalXS:yi,spacingHorizontalSNudge:xi,spacingHorizontalS:ki,spacingHorizontalMNudge:$i,spacingHorizontalM:wi,spacingHorizontalL:Bi,spacingHorizontalXL:Ci,spacingHorizontalXXL:Si,spacingHorizontalXXXL:Pi,spacingVerticalNone:Ti,spacingVerticalXXS:Ii,spacingVerticalXS:Fi,spacingVerticalSNudge:Ai,spacingVerticalS:zi,spacingVerticalMNudge:Ni,spacingVerticalM:Li,spacingVerticalL:Di,spacingVerticalXL:Ei,spacingVerticalXXL:Ri,spacingVerticalXXXL:Oi,durationUltraFast:Mi,durationFaster:Hi,durationFast:Vi,durationNormal:_i,durationSlow:ji,durationSlower:Gi,durationUltraSlow:qi,curveAccelerateMax:Xi,curveAccelerateMid:Wi,curveAccelerateMin:Ui,curveDecelerateMax:Yi,curveDecelerateMid:Ki,curveDecelerateMin:Qi,curveEasyEaseMax:Zi,curveEasyEase:Ji,curveLinear:ea,colorNeutralForeground1:ta,colorNeutralForeground1Hover:oa,colorNeutralForeground1Pressed:ra,colorNeutralForeground1Selected:ia,colorNeutralForeground2:aa,colorNeutralForeground2Hover:na,colorNeutralForeground2Pressed:sa,colorNeutralForeground2Selected:la,colorNeutralForeground2BrandHover:da,colorNeutralForeground2BrandPressed:ca,colorNeutralForeground2BrandSelected:ha,colorNeutralForeground3:ua,colorNeutralForeground3Hover:pa,colorNeutralForeground3Pressed:ga,colorNeutralForeground3Selected:ba,colorNeutralForeground3BrandHover:fa,colorNeutralForeground3BrandPressed:ma,colorNeutralForeground3BrandSelected:va,colorNeutralForeground4:ya,colorNeutralForegroundDisabled:xa,colorNeutralForegroundInvertedDisabled:ka,colorBrandForegroundLink:$a,colorBrandForegroundLinkHover:wa,colorBrandForegroundLinkPressed:Ba,colorBrandForegroundLinkSelected:Ca,colorNeutralForeground2Link:Sa,colorNeutralForeground2LinkHover:Pa,colorNeutralForeground2LinkPressed:Ta,colorNeutralForeground2LinkSelected:Ia,colorCompoundBrandForeground1:Fa,colorCompoundBrandForeground1Hover:Aa,colorCompoundBrandForeground1Pressed:za,colorBrandForeground1:Na,colorBrandForeground2:La,colorNeutralForeground1Static:Da,colorNeutralForegroundStaticInverted:Ea,colorNeutralForegroundInverted:Ra,colorNeutralForegroundInvertedHover:Oa,colorNeutralForegroundInvertedPressed:Ma,colorNeutralForegroundInvertedSelected:Ha,colorNeutralForegroundInverted2:Va,colorNeutralForegroundOnBrand:_a,colorNeutralForegroundInvertedLink:ja,colorNeutralForegroundInvertedLinkHover:Ga,colorNeutralForegroundInvertedLinkPressed:qa,colorNeutralForegroundInvertedLinkSelected:Xa,colorBrandForegroundInverted:Wa,colorBrandForegroundInvertedHover:Ua,colorBrandForegroundInvertedPressed:Ya,colorBrandForegroundOnLight:Ka,colorBrandForegroundOnLightHover:Qa,colorBrandForegroundOnLightPressed:Za,colorBrandForegroundOnLightSelected:Ja,colorNeutralBackground1:en,colorNeutralBackground1Hover:tn,colorNeutralBackground1Pressed:on,colorNeutralBackground1Selected:rn,colorNeutralBackground2:an,colorNeutralBackground2Hover:nn,colorNeutralBackground2Pressed:sn,colorNeutralBackground2Selected:ln,colorNeutralBackground3:dn,colorNeutralBackground3Hover:cn,colorNeutralBackground3Pressed:hn,colorNeutralBackground3Selected:un,colorNeutralBackground4:pn,colorNeutralBackground4Hover:gn,colorNeutralBackground4Pressed:bn,colorNeutralBackground4Selected:fn,colorNeutralBackground5:mn,colorNeutralBackground5Hover:vn,colorNeutralBackground5Pressed:yn,colorNeutralBackground5Selected:xn,colorNeutralBackground6:kn,colorNeutralBackgroundInverted:$n,colorNeutralBackgroundStatic:wn,colorSubtleBackground:Bn,colorSubtleBackgroundHover:Cn,colorSubtleBackgroundPressed:Sn,colorSubtleBackgroundSelected:Pn,colorSubtleBackgroundLightAlphaHover:Tn,colorSubtleBackgroundLightAlphaPressed:In,colorSubtleBackgroundLightAlphaSelected:Fn,colorSubtleBackgroundInverted:An,colorSubtleBackgroundInvertedHover:zn,colorSubtleBackgroundInvertedPressed:Nn,colorSubtleBackgroundInvertedSelected:Ln,colorTransparentBackground:Dn,colorTransparentBackgroundHover:En,colorTransparentBackgroundPressed:Rn,colorTransparentBackgroundSelected:On,colorNeutralBackgroundDisabled:Mn,colorNeutralBackgroundInvertedDisabled:Hn,colorNeutralStencil1:Vn,colorNeutralStencil2:_n,colorNeutralStencil1Alpha:jn,colorNeutralStencil2Alpha:Gn,colorBackgroundOverlay:qn,colorScrollbarOverlay:Xn,colorBrandBackground:Wn,colorBrandBackgroundHover:Un,colorBrandBackgroundPressed:Yn,colorBrandBackgroundSelected:Kn,colorCompoundBrandBackground:Qn,colorCompoundBrandBackgroundHover:Zn,colorCompoundBrandBackgroundPressed:Jn,colorBrandBackgroundStatic:es,colorBrandBackground2:ts,colorBrandBackgroundInverted:os,colorBrandBackgroundInvertedHover:rs,colorBrandBackgroundInvertedPressed:is,colorBrandBackgroundInvertedSelected:as,colorNeutralStrokeAccessible:ns,colorNeutralStrokeAccessibleHover:ss,colorNeutralStrokeAccessiblePressed:ls,colorNeutralStrokeAccessibleSelected:ds,colorNeutralStroke1:cs,colorNeutralStroke1Hover:hs,colorNeutralStroke1Pressed:us,colorNeutralStroke1Selected:ps,colorNeutralStroke2:gs,colorNeutralStroke3:bs,colorNeutralStrokeOnBrand:fs,colorNeutralStrokeOnBrand2:ms,colorNeutralStrokeOnBrand2Hover:vs,colorNeutralStrokeOnBrand2Pressed:ys,colorNeutralStrokeOnBrand2Selected:xs,colorBrandStroke1:ks,colorBrandStroke2:$s,colorCompoundBrandStroke:ws,colorCompoundBrandStrokeHover:Bs,colorCompoundBrandStrokePressed:Cs,colorNeutralStrokeDisabled:Ss,colorNeutralStrokeInvertedDisabled:Ps,colorTransparentStroke:Ts,colorTransparentStrokeInteractive:Is,colorTransparentStrokeDisabled:Fs,colorStrokeFocus1:As,colorStrokeFocus2:zs,colorNeutralShadowAmbient:Ns,colorNeutralShadowKey:Ls,colorNeutralShadowAmbientLighter:Ds,colorNeutralShadowKeyLighter:Es,colorNeutralShadowAmbientDarker:Rs,colorNeutralShadowKeyDarker:Os,colorBrandShadowAmbient:Ms,colorBrandShadowKey:Hs,colorPaletteRedBackground1:Vs,colorPaletteRedBackground2:_s,colorPaletteRedBackground3:js,colorPaletteRedForeground1:Gs,colorPaletteRedForeground2:qs,colorPaletteRedForeground3:Xs,colorPaletteRedBorderActive:Ws,colorPaletteRedBorder1:Us,colorPaletteRedBorder2:Ys,colorPaletteGreenBackground1:Ks,colorPaletteGreenBackground2:Qs,colorPaletteGreenBackground3:Zs,colorPaletteGreenForeground1:Js,colorPaletteGreenForeground2:el,colorPaletteGreenForeground3:tl,colorPaletteGreenBorderActive:ol,colorPaletteGreenBorder1:rl,colorPaletteGreenBorder2:il,colorPaletteDarkOrangeBackground1:al,colorPaletteDarkOrangeBackground2:nl,colorPaletteDarkOrangeBackground3:sl,colorPaletteDarkOrangeForeground1:ll,colorPaletteDarkOrangeForeground2:dl,colorPaletteDarkOrangeForeground3:cl,colorPaletteDarkOrangeBorderActive:hl,colorPaletteDarkOrangeBorder1:ul,colorPaletteDarkOrangeBorder2:pl,colorPaletteYellowBackground1:gl,colorPaletteYellowBackground2:bl,colorPaletteYellowBackground3:fl,colorPaletteYellowForeground1:ml,colorPaletteYellowForeground2:vl,colorPaletteYellowForeground3:yl,colorPaletteYellowBorderActive:xl,colorPaletteYellowBorder1:kl,colorPaletteYellowBorder2:$l,colorPaletteBerryBackground1:wl,colorPaletteBerryBackground2:Bl,colorPaletteBerryBackground3:Cl,colorPaletteBerryForeground1:Sl,colorPaletteBerryForeground2:Pl,colorPaletteBerryForeground3:Tl,colorPaletteBerryBorderActive:Il,colorPaletteBerryBorder1:Fl,colorPaletteBerryBorder2:Al,colorPaletteLightGreenBackground1:zl,colorPaletteLightGreenBackground2:Nl,colorPaletteLightGreenBackground3:Ll,colorPaletteLightGreenForeground1:Dl,colorPaletteLightGreenForeground2:El,colorPaletteLightGreenForeground3:Rl,colorPaletteLightGreenBorderActive:Ol,colorPaletteLightGreenBorder1:Ml,colorPaletteLightGreenBorder2:Hl,colorPaletteMarigoldBackground1:Vl,colorPaletteMarigoldBackground2:_l,colorPaletteMarigoldBackground3:jl,colorPaletteMarigoldForeground1:Gl,colorPaletteMarigoldForeground2:ql,colorPaletteMarigoldForeground3:Xl,colorPaletteMarigoldBorderActive:Wl,colorPaletteMarigoldBorder1:Ul,colorPaletteMarigoldBorder2:Yl,colorPaletteDarkRedBackground2:Kl,colorPaletteDarkRedForeground2:Ql,colorPaletteDarkRedBorderActive:Zl,colorPaletteCranberryBackground2:Jl,colorPaletteCranberryForeground2:ed,colorPaletteCranberryBorderActive:td,colorPalettePumpkinBackground2:od,colorPalettePumpkinForeground2:rd,colorPalettePumpkinBorderActive:id,colorPalettePeachBackground2:ad,colorPalettePeachForeground2:nd,colorPalettePeachBorderActive:sd,colorPaletteGoldBackground2:ld,colorPaletteGoldForeground2:dd,colorPaletteGoldBorderActive:cd,colorPaletteBrassBackground2:hd,colorPaletteBrassForeground2:ud,colorPaletteBrassBorderActive:pd,colorPaletteBrownBackground2:gd,colorPaletteBrownForeground2:bd,colorPaletteBrownBorderActive:fd,colorPaletteForestBackground2:md,colorPaletteForestForeground2:vd,colorPaletteForestBorderActive:yd,colorPaletteSeafoamBackground2:xd,colorPaletteSeafoamForeground2:kd,colorPaletteSeafoamBorderActive:$d,colorPaletteDarkGreenBackground2:wd,colorPaletteDarkGreenForeground2:Bd,colorPaletteDarkGreenBorderActive:Cd,colorPaletteLightTealBackground2:Sd,colorPaletteLightTealForeground2:Pd,colorPaletteLightTealBorderActive:Td,colorPaletteTealBackground2:Id,colorPaletteTealForeground2:Fd,colorPaletteTealBorderActive:Ad,colorPaletteSteelBackground2:zd,colorPaletteSteelForeground2:Nd,colorPaletteSteelBorderActive:Ld,colorPaletteBlueBackground2:Dd,colorPaletteBlueForeground2:Ed,colorPaletteBlueBorderActive:Rd,colorPaletteRoyalBlueBackground2:Od,colorPaletteRoyalBlueForeground2:Md,colorPaletteRoyalBlueBorderActive:Hd,colorPaletteCornflowerBackground2:Vd,colorPaletteCornflowerForeground2:_d,colorPaletteCornflowerBorderActive:jd,colorPaletteNavyBackground2:Gd,colorPaletteNavyForeground2:qd,colorPaletteNavyBorderActive:Xd,colorPaletteLavenderBackground2:Wd,colorPaletteLavenderForeground2:Ud,colorPaletteLavenderBorderActive:Yd,colorPalettePurpleBackground2:Kd,colorPalettePurpleForeground2:Qd,colorPalettePurpleBorderActive:Zd,colorPaletteGrapeBackground2:Jd,colorPaletteGrapeForeground2:ec,colorPaletteGrapeBorderActive:tc,colorPaletteLilacBackground2:oc,colorPaletteLilacForeground2:rc,colorPaletteLilacBorderActive:ic,colorPalettePinkBackground2:ac,colorPalettePinkForeground2:nc,colorPalettePinkBorderActive:sc,colorPaletteMagentaBackground2:lc,colorPaletteMagentaForeground2:dc,colorPaletteMagentaBorderActive:cc,colorPalettePlumBackground2:hc,colorPalettePlumForeground2:uc,colorPalettePlumBorderActive:pc,colorPaletteBeigeBackground2:gc,colorPaletteBeigeForeground2:bc,colorPaletteBeigeBorderActive:fc,colorPaletteMinkBackground2:mc,colorPaletteMinkForeground2:vc,colorPaletteMinkBorderActive:yc,colorPalettePlatinumBackground2:xc,colorPalettePlatinumForeground2:kc,colorPalettePlatinumBorderActive:$c,colorPaletteAnchorBackground2:wc,colorPaletteAnchorForeground2:Bc,colorPaletteAnchorBorderActive:Cc,colorPaletteRedForegroundInverted:Sc,colorPaletteGreenForegroundInverted:Pc,colorPaletteYellowForegroundInverted:Tc,shadow2:Ic,shadow4:Fc,shadow8:Ac,shadow16:zc,shadow28:Nc,shadow64:Lc,shadow2Brand:Dc,shadow4Brand:Ec,shadow8Brand:Rc,shadow16Brand:Oc,shadow28Brand:Mc,shadow64Brand:Hc});const _c=j`
|
|
5
|
+
${Br("block")}
|
|
6
6
|
|
|
7
|
-
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${
|
|
8
|
-
${
|
|
7
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${wi} ${$i};border-radius:${Er};font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr};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:${ta};background:${Dn};line-height:${Zr};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:${Dr}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${ki};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${wi}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${ki};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Dr};outline:none;border:2px solid ${As};box-shadow:inset 0 0 0 1px ${zs}}:host([disabled]) .button{color:${xa}}: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:${_r};line-height:${Zr}}:host([size='small']) .heading{font-size:${Vr};line-height:${Qr}}:host([size='large']) .heading{font-size:${jr};line-height:${Jr}}:host([size='extra-large']) .heading{font-size:${Gr};line-height:${ei}}: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}`,jc=function(e={}){return ke`<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>${it(e)} ${rt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Ze(e.expandedIcon)}</slot><slot name="collapsed-icon">${Ze(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:ke.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="#212121"\n />\n</svg>'),expandedIcon:ke.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="#212121"\n />\n</svg>')}),Gc=Fr.compose({name:Tr.prefix+"-accordion-item",template:jc,styles:_c});class qc extends mt{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)}}Je([De],qc.prototype,"appearance",void 0),Je([De],qc.prototype,"shape",void 0),Je([De],qc.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],qc.prototype,"iconOnly",void 0),Je([De({mode:"boolean"})],qc.prototype,"disabled",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],qc.prototype,"disabledFocusable",void 0);const Xc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Wc={circular:"circular",rounded:"rounded",square:"square"},Uc={small:"small",medium:"medium",large:"large"},Yc=Xc,Kc=Wc,Qc=Uc,Zc=function(e={}){return ke`<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")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</a>`}(),Jc=j`
|
|
8
|
+
${Br("inline-flex")}
|
|
9
9
|
|
|
10
|
-
:host{--icon-spacing:${
|
|
11
|
-
.control{background-color:${
|
|
12
|
-
${
|
|
10
|
+
:host{--icon-spacing:${xi};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:${en};color:${ta};border:${pi} solid ${cs};padding:0 ${wi};min-width:96px;border-radius:${Er};font-size:${_r};font-family:${ni};font-weight:${hi};line-height:${Zr};transition-duration:${Hi};transition-property:background,border,color;transition-timing-function:${Ji};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${tn};color:${oa};border-color:${hs}}:host(:hover:active) .control{background-color:${on};border-color:${us};color:${ra};outline-style:none}:host .control:focus-visible{border-color:${Ts};outline:${gi} solid ${Ts};box-shadow:${Fc},0 0 0 2px ${zs}}@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:${yi}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${ki};border-radius:${Dr};font-size:${Vr};line-height:${Qr};font-weight:${di}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${Rr};padding:0 ${Bi};font-size:${jr};line-height:${Jr}}: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:${Mr}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${Lr}}:host([appearance='primary']) .control{background-color:${Wn};color:${_a};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Un}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${_a}}:host([appearance='primary']:hover:active) .control{background-color:${Yn}}:host([appearance='primary']) .control:focus-visible{border-color:${_a};box-shadow:${Ic},0 0 0 2px ${zs}}: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:${Dn}}:host([appearance='outline']:hover) .control{background-color:${En}}:host([appearance='outline']:hover:active) .control{background-color:${Rn}}: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:${Dn}}:host([appearance='subtle']) .control{background-color:${Bn};color:${aa};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Cn};color:${na};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Sn};color:${sa};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:${Dn};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${da}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${ca}}:host([appearance='transparent']) .control{background-color:${Dn};color:${aa}}:host([appearance='transparent']:hover) .control{background-color:${En};color:${da}}:host([appearance='transparent']:hover:active) .control{background-color:${Rn};color:${ca}}: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:${Dn}}: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:${Mn};border-color:${Ss};color:${xa};cursor:not-allowed}`,eh=j`
|
|
12
|
+
${Jc}
|
|
13
13
|
|
|
14
|
-
.content{text-align:center}`,
|
|
15
|
-
${
|
|
16
|
-
${
|
|
14
|
+
.content{text-align:center}`,th=qc.compose({name:Tr.prefix+"-anchor-button",template:Zc,styles:eh,shadowOptions:{delegatesFocus:!0}}),oh=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,rh=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,ih=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ah=/\s+/g,nh=/[\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 sh(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(oh,"")).replace(rh,"")).replace(ah," ")).trim()}(e),nh.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&ih.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 lh={active:"active",inactive:"inactive"},dh={circular:"circular",square:"square"},ch={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},hh={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"},uh={neutral:"neutral",brand:"brand",colorful:"colorful",...hh},ph={_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};class gh extends Qe{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===uh.colorful?gh.colors[bh(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%gh.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:sh(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}gh.colors=Object.values(hh),Je([De],gh.prototype,"name",void 0),Je([De],gh.prototype,"initials",void 0),Je([De({converter:Ne})],gh.prototype,"size",void 0),Je([De],gh.prototype,"shape",void 0),Je([De],gh.prototype,"active",void 0),Je([De],gh.prototype,"appearance",void 0),Je([De],gh.prototype,"color",void 0),Je([De({attribute:"color-id"})],gh.prototype,"colorId",void 0);const bh=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},fh=ke`<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 mh=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():fh}</slot><slot name="badge"></slot></template>`,vh=Qi,yh=Zi,xh=ea,kh=j`
|
|
15
|
+
${Br("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${ni};font-weight:${hi};font-size:${_r};border-radius:${Mr};color:${ua};background-color:${kn};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:${Mr}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${pi} ${en}}: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 ${gi} ${en}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Hr};font-weight:${di}}: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:${Vr}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${jr}}: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:${Gr}}: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:${qr}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Er}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Dr}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Rr}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Or}}:host([data-color='brand']){color:${Ea};background-color:${es}}:host([data-color='dark-red']){color:${Ql};background-color:${Kl}}:host([data-color='cranberry']){color:${ed};background-color:${Jl}}:host([data-color='red']){color:${qs};background-color:${_s}}:host([data-color='pumpkin']){color:${rd};background-color:${od}}:host([data-color='peach']){color:${nd};background-color:${ad}}:host([data-color='marigold']){color:${ql};background-color:${_l}}:host([data-color='gold']){color:${dd};background-color:${ld}}:host([data-color='brass']){color:${ud};background-color:${hd}}:host([data-color='brown']){color:${bd};background-color:${gd}}:host([data-color='forest']){color:${vd};background-color:${md}}:host([data-color='seafoam']){color:${kd};background-color:${xd}}:host([data-color='dark-green']){color:${Bd};background-color:${wd}}:host([data-color='light-teal']){color:${Pd};background-color:${Sd}}:host([data-color='teal']){color:${Fd};background-color:${Id}}:host([data-color='steel']){color:${Nd};background-color:${zd}}:host([data-color='blue']){color:${Ed};background-color:${Dd}}:host([data-color='royal-blue']){color:${Md};background-color:${Od}}:host([data-color='cornflower']){color:${_d};background-color:${Vd}}:host([data-color='navy']){color:${qd};background-color:${Gd}}:host([data-color='lavender']){color:${Ud};background-color:${Wd}}:host([data-color='purple']){color:${Qd};background-color:${Kd}}:host([data-color='grape']){color:${ec};background-color:${Jd}}:host([data-color='lilac']){color:${rc};background-color:${oc}}:host([data-color='pink']){color:${nc};background-color:${ac}}:host([data-color='magenta']){color:${dc};background-color:${lc}}:host([data-color='plum']){color:${uc};background-color:${hc}}:host([data-color='beige']){color:${bc};background-color:${gc}}:host([data-color='mink']){color:${vc};background-color:${mc}}:host([data-color='platinum']){color:${kc};background-color:${xc}}:host([data-color='anchor']){color:${Bc};background-color:${wc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${qi},${Hi};transition-delay:${yh},${xh}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${qi},${Gi};transition-delay:${yh},${xh}}:host([active])::before{box-shadow:${Ac};border-style:solid;border-color:${es}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${gi});border-width:${gi}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${bi});border-width:${bi}}: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 * ${fi});border-width:${fi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Fc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${zc}}: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:${Nc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${qi},${Hi};transition-delay:${vh},${xh}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${qi},${Gi};transition-delay:${vh},${xh}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,$h=gh.compose({name:Tr.prefix+"-avatar",template:mh,styles:kh}),wh={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Bh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Ch={circular:"circular",rounded:"rounded",square:"square"},Sh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Ph extends Qe{constructor(){super(...arguments),this.appearance=wh.filled,this.color=Bh.brand}}function Th(e={}){return ke` ${it(e)}<slot>${Ze(e.defaultContent)}</slot>${rt(e)} `}Je([De],Ph.prototype,"appearance",void 0),Je([De],Ph.prototype,"color",void 0),Je([De],Ph.prototype,"shape",void 0),Je([De],Ph.prototype,"size",void 0),ut(Ph,ot);const Ih=Th(),Fh=vi,Ah=j.partial`
|
|
16
|
+
${Br("inline-flex")} :host {
|
|
17
17
|
position: relative;
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: center;
|
|
21
|
-
font-family: ${
|
|
22
|
-
font-weight: ${
|
|
23
|
-
font-size: ${
|
|
24
|
-
line-height: ${
|
|
21
|
+
font-family: ${ni};
|
|
22
|
+
font-weight: ${hi};
|
|
23
|
+
font-size: ${Vr};
|
|
24
|
+
line-height: ${Qr};
|
|
25
25
|
min-width: 20px;
|
|
26
26
|
height: 20px;
|
|
27
|
-
padding-inline: calc(${
|
|
28
|
-
border-radius: ${
|
|
29
|
-
border-color: ${
|
|
30
|
-
background-color: ${
|
|
31
|
-
color: ${
|
|
27
|
+
padding-inline: calc(${yi} + ${Fh});
|
|
28
|
+
border-radius: ${Mr};
|
|
29
|
+
border-color: ${Ts};
|
|
30
|
+
background-color: ${Wn};
|
|
31
|
+
color: ${_a};
|
|
32
32
|
contain: content;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -44,11 +44,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
44
44
|
bottom: 0;
|
|
45
45
|
right: 0;
|
|
46
46
|
border-style: solid;
|
|
47
|
-
border-width: ${
|
|
47
|
+
border-width: ${pi};
|
|
48
48
|
border-color: inherit;
|
|
49
49
|
border-radius: inherit;
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
51
|
+
`,zh=j.partial`
|
|
52
52
|
:host([size='tiny']) {
|
|
53
53
|
width: 6px;
|
|
54
54
|
height: 6px;
|
|
@@ -74,9 +74,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
74
74
|
:host([size='small']) {
|
|
75
75
|
min-width: 16px;
|
|
76
76
|
height: 16px;
|
|
77
|
-
font-size: ${
|
|
78
|
-
line-height: ${
|
|
79
|
-
padding-inline: calc(${
|
|
77
|
+
font-size: ${Hr};
|
|
78
|
+
line-height: ${Kr};
|
|
79
|
+
padding-inline: calc(${vi} + ${Fh});
|
|
80
80
|
}
|
|
81
81
|
:host([size='small']) ::slotted(svg) {
|
|
82
82
|
font-size: 12px;
|
|
@@ -84,9 +84,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
84
84
|
:host([size='large']) {
|
|
85
85
|
min-width: 24px;
|
|
86
86
|
height: 24px;
|
|
87
|
-
font-size: ${
|
|
88
|
-
line-height: ${
|
|
89
|
-
padding-inline: calc(${
|
|
87
|
+
font-size: ${Vr};
|
|
88
|
+
line-height: ${Qr};
|
|
89
|
+
padding-inline: calc(${yi} + ${Fh});
|
|
90
90
|
}
|
|
91
91
|
:host([size='large']) ::slotted(svg) {
|
|
92
92
|
font-size: 16px;
|
|
@@ -94,242 +94,245 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
94
94
|
:host([size='extra-large']) {
|
|
95
95
|
min-width: 32px;
|
|
96
96
|
height: 32px;
|
|
97
|
-
font-size: ${
|
|
98
|
-
line-height: ${
|
|
99
|
-
padding-inline: calc(${
|
|
97
|
+
font-size: ${Vr};
|
|
98
|
+
line-height: ${Qr};
|
|
99
|
+
padding-inline: calc(${xi} + ${Fh});
|
|
100
100
|
}
|
|
101
101
|
:host([size='extra-large']) ::slotted(svg) {
|
|
102
102
|
font-size: 20px;
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,Nh=j.partial`
|
|
105
105
|
:host([color='danger']) {
|
|
106
|
-
background-color: ${
|
|
107
|
-
color: ${
|
|
106
|
+
background-color: ${js};
|
|
107
|
+
color: ${_a};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
:host([color='important']) {
|
|
111
|
-
background-color: ${
|
|
112
|
-
color: ${
|
|
111
|
+
background-color: ${ta};
|
|
112
|
+
color: ${en};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
:host([color='informative']) {
|
|
116
|
-
background-color: ${
|
|
117
|
-
color: ${
|
|
116
|
+
background-color: ${mn};
|
|
117
|
+
color: ${ua};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
:host([color='severe']) {
|
|
121
|
-
background-color: ${
|
|
122
|
-
color: ${
|
|
121
|
+
background-color: ${sl};
|
|
122
|
+
color: ${_a};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
:host([color='subtle']) {
|
|
126
|
-
background-color: ${
|
|
127
|
-
color: ${
|
|
126
|
+
background-color: ${en};
|
|
127
|
+
color: ${ta};
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
:host([color='success']) {
|
|
131
|
-
background-color: ${
|
|
132
|
-
color: ${
|
|
131
|
+
background-color: ${Zs};
|
|
132
|
+
color: ${_a};
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
:host([color='warning']) {
|
|
136
|
-
background-color: ${
|
|
137
|
-
color: ${
|
|
136
|
+
background-color: ${fl};
|
|
137
|
+
color: ${ta};
|
|
138
138
|
}
|
|
139
|
-
`,
|
|
139
|
+
`,Lh=j.partial`
|
|
140
140
|
:host([appearance='ghost']) {
|
|
141
|
-
color: ${
|
|
141
|
+
color: ${Wn};
|
|
142
142
|
background-color: initial;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
:host([appearance='ghost'][color='danger']) {
|
|
146
|
-
color: ${
|
|
146
|
+
color: ${Xs};
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
:host([appearance='ghost'][color='important']) {
|
|
150
|
-
color: ${
|
|
150
|
+
color: ${ta};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
:host([appearance='ghost'][color='informative']) {
|
|
154
|
-
color: ${
|
|
154
|
+
color: ${ua};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
:host([appearance='ghost'][color='severe']) {
|
|
158
|
-
color: ${
|
|
158
|
+
color: ${cl};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
:host([appearance='ghost'][color='subtle']) {
|
|
162
|
-
color: ${
|
|
162
|
+
color: ${Ra};
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
:host([appearance='ghost'][color='success']) {
|
|
166
|
-
color: ${
|
|
166
|
+
color: ${tl};
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
:host([appearance='ghost'][color='warning']) {
|
|
170
|
-
color: ${
|
|
170
|
+
color: ${vl};
|
|
171
171
|
}
|
|
172
|
-
`,
|
|
172
|
+
`,Dh=j.partial`
|
|
173
173
|
:host([appearance='outline']) {
|
|
174
174
|
border-color: currentColor;
|
|
175
|
-
color: ${
|
|
175
|
+
color: ${Na};
|
|
176
176
|
background-color: initial;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
:host([appearance='outline'][color='danger']) {
|
|
180
|
-
color: ${
|
|
180
|
+
color: ${Xs};
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
:host([appearance='outline'][color='important']) {
|
|
184
|
-
color: ${
|
|
185
|
-
border-color: ${
|
|
184
|
+
color: ${ua};
|
|
185
|
+
border-color: ${ns};
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
:host([appearance='outline'][color='informative']) {
|
|
189
|
-
color: ${
|
|
190
|
-
border-color: ${
|
|
189
|
+
color: ${ua};
|
|
190
|
+
border-color: ${gs};
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
:host([appearance='outline'][color='severe']) {
|
|
194
|
-
color: ${
|
|
194
|
+
color: ${cl};
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
:host([appearance='outline'][color='subtle']) {
|
|
198
|
-
color: ${
|
|
198
|
+
color: ${Ea};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
:host([appearance='outline'][color='success']) {
|
|
202
|
-
color: ${
|
|
202
|
+
color: ${el};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
:host([appearance='outline'][color='warning']) {
|
|
206
|
-
color: ${
|
|
206
|
+
color: ${vl};
|
|
207
207
|
}
|
|
208
|
-
`,
|
|
208
|
+
`,Eh=j.partial`
|
|
209
209
|
:host([appearance='tint']) {
|
|
210
|
-
background-color: ${
|
|
211
|
-
color: ${
|
|
212
|
-
border-color: ${
|
|
210
|
+
background-color: ${ts};
|
|
211
|
+
color: ${La};
|
|
212
|
+
border-color: ${$s};
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
:host([appearance='tint'][color='danger']) {
|
|
216
|
-
background-color: ${
|
|
217
|
-
color: ${
|
|
218
|
-
border-color: ${
|
|
216
|
+
background-color: ${Vs};
|
|
217
|
+
color: ${Gs};
|
|
218
|
+
border-color: ${Us};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
:host([appearance='tint'][color='important']) {
|
|
222
|
-
background-color: ${
|
|
223
|
-
color: ${
|
|
224
|
-
border-color: ${
|
|
222
|
+
background-color: ${ua};
|
|
223
|
+
color: ${en};
|
|
224
|
+
border-color: ${Ts};
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
:host([appearance='tint'][color='informative']) {
|
|
228
|
-
background-color: ${
|
|
229
|
-
color: ${
|
|
230
|
-
border-color: ${
|
|
228
|
+
background-color: ${pn};
|
|
229
|
+
color: ${ua};
|
|
230
|
+
border-color: ${gs};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
:host([appearance='tint'][color='severe']) {
|
|
234
|
-
background-color: ${
|
|
235
|
-
color: ${
|
|
236
|
-
border-color: ${
|
|
234
|
+
background-color: ${al};
|
|
235
|
+
color: ${ll};
|
|
236
|
+
border-color: ${ul};
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
:host([appearance='tint'][color='subtle']) {
|
|
240
|
-
background-color: ${
|
|
241
|
-
color: ${
|
|
242
|
-
border-color: ${
|
|
240
|
+
background-color: ${en};
|
|
241
|
+
color: ${ua};
|
|
242
|
+
border-color: ${gs};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
:host([appearance='tint'][color='success']) {
|
|
246
|
-
background-color: ${
|
|
247
|
-
color: ${
|
|
248
|
-
border-color: ${
|
|
246
|
+
background-color: ${Ks};
|
|
247
|
+
color: ${Js};
|
|
248
|
+
border-color: ${il};
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
:host([appearance='tint'][color='warning']) {
|
|
252
|
-
background-color: ${
|
|
253
|
-
color: ${
|
|
254
|
-
border-color: ${
|
|
255
|
-
}
|
|
256
|
-
`,
|
|
257
|
-
:host([shape='square']){border-radius:${
|
|
258
|
-
${
|
|
259
|
-
${
|
|
260
|
-
${
|
|
252
|
+
background-color: ${gl};
|
|
253
|
+
color: ${vl};
|
|
254
|
+
border-color: ${kl};
|
|
255
|
+
}
|
|
256
|
+
`,Rh=j`
|
|
257
|
+
:host([shape='square']){border-radius:${Lr}}:host([shape='rounded']){border-radius:${Er}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Dr}}${zh}
|
|
258
|
+
${Nh}
|
|
259
|
+
${Lh}
|
|
260
|
+
${Dh}
|
|
261
|
+
${Eh}
|
|
262
|
+
${Ah}
|
|
263
|
+
`,Oh=Ph.compose({name:Tr.prefix+"-badge",template:Ih,styles:Rh});class Mh extends Tt{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)}}Je([De],Mh.prototype,"appearance",void 0),Je([De],Mh.prototype,"shape",void 0),Je([De],Mh.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Mh.prototype,"iconOnly",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Mh.prototype,"disabledFocusable",void 0);const Hh=Ft(),Vh=Mh.compose({name:Tr.prefix+"-button",template:Hh,styles:Jc,shadowOptions:{delegatesFocus:!0}});class _h extends Mh{}const jh=Xc,Gh=Wc,qh=Uc;const Xh=function(e={}){return ke`<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")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot><slot name="description"></slot></span>${rt(e)}</button>`}(),Wh=j`
|
|
264
|
+
${Jc}
|
|
265
|
+
|
|
266
|
+
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${_r};line-height:${Zr}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${aa};line-height:100%;font-size:${Vr};font-weight:${di}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${na}}:host(:active) ::slotted([slot='description']){color:${sa}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
|
|
267
|
+
::slotted([slot='description']){color:${_a}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
|
|
268
|
+
::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${aa}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${da}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${ca}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
|
|
269
|
+
::slotted([slot='description']){color:${xa}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${xi}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${yi}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${ki}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${jr};line-height:${Jr}}:host([size='large']) ::slotted([slot='description']){font-size:${_r}}`,Uh=_h.compose({name:Tr.prefix+"-compound-button",template:Xh,styles:Wh,shadowOptions:{delegatesFocus:!0}});class Yh extends Qe{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!==(e=this.count)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Je([De],Yh.prototype,"appearance",void 0),Je([De],Yh.prototype,"color",void 0),Je([De],Yh.prototype,"shape",void 0),Je([De],Yh.prototype,"size",void 0),Je([De({converter:Ne})],Yh.prototype,"count",void 0),Je([De({attribute:"overflow-count",converter:Ne})],Yh.prototype,"overflowCount",void 0),Je([De({attribute:"show-zero",mode:"boolean"})],Yh.prototype,"showZero",void 0),Je([De({mode:"boolean"})],Yh.prototype,"dot",void 0),ut(Yh,ot);const Kh={filled:"filled",ghost:"ghost"},Qh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Zh={circular:"circular",rounded:"rounded"},Jh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const eu=Th({defaultContent:ke`${e=>e.setCount()}`}),tu=j`
|
|
270
|
+
:host([shape='rounded']){border-radius:${Er}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Dr}}${zh}
|
|
271
|
+
${Nh}
|
|
272
|
+
${Lh}
|
|
261
273
|
${Ah}
|
|
262
|
-
|
|
263
|
-
`,
|
|
264
|
-
${
|
|
265
|
-
|
|
266
|
-
:host
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
:host([
|
|
271
|
-
${
|
|
272
|
-
|
|
273
|
-
${
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
${
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
:host{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
${yr("
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
${
|
|
306
|
-
|
|
307
|
-
:host{align-items:flex-start;flex-direction:column;row-gap:${Pi}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${ba};--checked-indicator-background-color:${ba};--state-color:${ba}}::slotted([slot='label']){color:${Ki};padding:${Pi} ${fi} ${Pi} ${gi};font:${ii} ${Er} / ${Wr} ${ti};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:${fi}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${fi};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,_u=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===er.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Fe({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,ju=Hu.compose({name:wr.prefix+"-radio-group",template:_u,styles:Vu});class Gu extends hr{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`
|
|
308
|
-
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],Gu.prototype,"size",void 0);const qu={small:"small",medium:"medium"},Xu=j`
|
|
309
|
-
${yr("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:${Ir};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 ${Ps};outline:1px solid ${Ss}}.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:${_n};border-radius:${Lr};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ya},0 0 0 1px ${as}}.thumb-cursor:hover{background-color:${Wn}}.thumb-cursor:active{background-color:${Un}}:host([disabled]) .thumb-cursor{background-color:${ba};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ya},0 0 0 1px ${xs}}.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:${ts};border-radius:${Ar};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${Ar};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
310
|
-
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Ya} calc(var(--step-rate) - 1px),${Ya} var(--step-rate)
|
|
311
|
-
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Ln}}: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:${Xn};position:absolute;height:100%;left:0;border-radius:${Ar}}:host([disabled]) .track-start{background-color:${ba}}:host(:hover) .track-start{background-color:${Wn}}:host([disabled]:hover) .track-start{background-color:${ba}}.track-start:active{background-color:${Un}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,Wu=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">${Ze(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),Uu=Gu.compose({name:wr.prefix+"-slider",template:Wu,styles:Xu});class Yu extends Zo{}Je([De],Yu.prototype,"size",void 0),Je([De],Yu.prototype,"appearance",void 0);const Ku={primary:"primary",inverted:"inverted"},Qu={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Zu=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(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>`)} ${Be(e=>"number"!=typeof e.value,xe`<slot name="indeterminate">${Ze(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 '}),Ju=j`
|
|
312
|
-
${yr("flex")}
|
|
313
|
-
|
|
314
|
-
: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:${ms};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${fs};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:${us}}.indeterminate-indicator-1{stroke:${fs};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:${us}}@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)}}`,ep=Yu.compose({name:wr.prefix+"-spinner",template:Zu,styles:Ju});class tp extends gr{}Je([De({attribute:"label-position"})],tp.prototype,"labelPosition",void 0);const op={above:"above",after:"after",before:"before"},rp=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">${Ze(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),ip=j`
|
|
315
|
-
${yr("inline-flex")}
|
|
316
|
-
|
|
317
|
-
: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:${Ki};line-height:${Wr};font-size:${Er};font-weight:${ii};font-family:${ti};padding:${Ci} ${gi};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${pi};box-sizing:border-box;width:40px;height:20px;background-color:${In};border:1px solid ${ts};border-radius:${Lr};outline:none;cursor:pointer;margin:${Pi} ${fi}}:host(:hover) .switch{background:none;border-color:${os}}:host(:active) .switch{border-color:${rs}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${xs};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Xn}}:host([aria-checked='true']:hover) .switch{background:${Wn};border-color:${Wn}}:host([aria-checked='true']:active) .switch{background:${Un};border-color:${Un}}:host([aria-checked='true'][disabled]) .switch{background:${Ln};border-color:${xs}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${sa};transition-duration:${Ei};transition-timing-function:${Ui};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${za};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Na}}:host([aria-checked='true']:active) .checked-indicator{background:${La}}:host(:hover) .checked-indicator{background-color:${la}}:host(:active) .checked-indicator{background-color:${da}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${ba}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${ba}}`,ap=tp.compose({name:wr.prefix+"-switch",template:rp,styles:ip}),np={subtle:"subtle",transparent:"transparent"},sp={small:"small",medium:"medium",large:"large"};class lp extends vr{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=np.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===mr.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===mr.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?void 0:e.x)!==(null===(t=this.activeTabData)||void 0===t?void 0:t.x)&&(null===(o=this.previousActiveTabData)||void 0===o?void 0:o.y)!==(null===(r=this.activeTabData)||void 0===r?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
|
|
274
|
+
|
|
275
|
+
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,ou=Yh.compose({name:Tr.prefix+"-counter-badge",template:eu,styles:tu});class ru extends Wo{}Je([De({attribute:"align-content"})],ru.prototype,"alignContent",void 0),Je([De],ru.prototype,"appearance",void 0),Je([De({mode:"boolean"})],ru.prototype,"inset",void 0);const iu={center:"center",start:"start",end:"end"},au={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},nu=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,su=j`
|
|
276
|
+
${Br("flex")}
|
|
277
|
+
|
|
278
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:${gs};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${pi}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${aa};font-family:${ni};font-size:${Vr};font-weight:${di};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${pi};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${cs}}:host([appearance='strong']) ::slotted(*){color:${ta}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${ks}}:host([appearance='brand']) ::slotted(*){color:${Na}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${bs}}:host([appearance='subtle']) ::slotted(*){color:${ua}}`,lu=ru.compose({name:Tr.prefix+"-divider",template:nu,styles:su});class du extends Qe{}Je([De({mode:"boolean"})],du.prototype,"block",void 0),Je([De({mode:"boolean"})],du.prototype,"bordered",void 0),Je([De({mode:"boolean"})],du.prototype,"shadow",void 0),Je([De],du.prototype,"fit",void 0),Je([De],du.prototype,"shape",void 0);const cu={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},hu={circular:"circular",rounded:"rounded",square:"square"},uu=ke`<slot></slot>`,pu=j`
|
|
279
|
+
: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:${pi} solid ${gs}}: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:${Fc}}:host([shape='circular']) ::slotted(img){border-radius:${Mr}}:host([shape='rounded']) ::slotted(img){border-radius:${Er}}`,gu=du.compose({name:Tr.prefix+"-image",template:uu,styles:pu});class bu extends Qe{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Je([De],bu.prototype,"size",void 0),Je([De],bu.prototype,"weight",void 0),Je([De({mode:"boolean"})],bu.prototype,"disabled",void 0),Je([De({mode:"boolean"})],bu.prototype,"required",void 0);const fu=j`
|
|
280
|
+
${Br("flex")}
|
|
281
|
+
|
|
282
|
+
:host{font-family:${ni};font-size:${_r};line-height:${Zr};font-weight:${di};color:${ta}}.asterisk{color:${Gs};margin-left:${yi}}:host([size='small']){font-size:${Vr};line-height:${Qr}}:host([size='large']){font-size:${jr};line-height:${Jr};font-weight:${hi}}:host([weight='semibold']){font-weight:${hi}}:host([disabled]),:host([disabled]) .asterisk{color:${xa}}`;const mu=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,vu=bu.compose({name:Tr.prefix+"-label",template:mu,styles:fu});class yu extends Mh{}const xu=Xc,ku=Wc,$u=Uc,wu=Ft({end:ke.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>')}),Bu=yu.compose({name:Tr.prefix+"-menu-button",template:wu,styles:Jc,shadowOptions:{delegatesFocus:!0}});class Cu extends Yo{}const Su=ke.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>'),Pu=function(e={}){return ke`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Uo.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)}">${Be(e=>e.role===Uo.menuitemcheckbox,ke`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${Ze(e.checkboxIndicator)}</slot></span></div>`)} ${Be(e=>e.role===Uo.menuitemradio,ke`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${Ze(e.radioIndicator)}</slot></span></div>`)}</div>${it(e)}<span class="content" part="content"><slot></slot></span>${rt(e)} ${Be(e=>e.hasSubmenu,ke`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${Ze(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Ie({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:Su,expandCollapseGlyph:ke.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:Su}),Tu=j`
|
|
283
|
+
${Br("grid")}
|
|
284
|
+
|
|
285
|
+
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${en};font:${di} ${_r} / ${Zr} ${ni};border-radius:${Er};color:${aa};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${tn}}.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:${aa}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Gr};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${ua};font:${di} ${Vr} / ${Qr} ${ni};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:${na}}:host([icon]:hover) ::slotted([slot='start']){color:${Aa}}:host(:active){background-color:${rn}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${sa}}:host(:active) ::slotted([slot='start']){color:${za}}:host([disabled]){background-color:${Mn}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${xa}}: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}`,Iu=Cu.compose({name:Tr.prefix+"-menu-item",template:Pu,styles:Tu});class Fu extends Ko{setItems(){var e;super.setItems();const t=null===(e=this.menuItems)||void 0===e?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=Fu.elementIndent(t);return Math.max(e,o)},0);e instanceof Cu&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Uo.menuitem?o?2:1:o?1:0}}const Au=ke`<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 ${Ie("items")}></slot></template>`,zu=j`
|
|
286
|
+
${Br("flex")}
|
|
287
|
+
|
|
288
|
+
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${en};border:1px solid ${Ts};border-radius:${Er};box-shadow:${zc};padding:4px;row-gap:2px}`,Nu=Fu.compose({name:Tr.prefix+"-menu-list",template:Au,styles:zu});class Lu extends ir{constructor(){super(...arguments),this.validationState=null}}Je([De],Lu.prototype,"thickness",void 0),Je([De],Lu.prototype,"shape",void 0),Je([De({attribute:"validation-state"})],Lu.prototype,"validationState",void 0);const Du={medium:"medium",large:"large"},Eu={rounded:"rounded",square:"square"},Ru={success:"success",warning:"warning",error:"error"},Ou=j`
|
|
289
|
+
${Br("flex")}
|
|
290
|
+
|
|
291
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Er};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${js}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
292
|
+
to right,${_s} 0%,${js} 50%,${_s}
|
|
293
|
+
)}:host([validation-state='warning']) .determinate{background-color:${sl}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
294
|
+
to right,${nl} 0%,${sl} 50%,${nl}
|
|
295
|
+
)}:host([validation-state='success']) .determinate{background-color:${Zs}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
296
|
+
to right,${Qs} 0%,${Zs} 50%,${Qs}
|
|
297
|
+
)}.progress{background-color:${kn};border-radius:${Er};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Qn};border-radius:${Er};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
298
|
+
to right,${ts} 0%,${Qn} 50%,${ts}
|
|
299
|
+
);border-radius:${Er};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
300
|
+
to right,${ts} 0%,${Qn} 50%,${ts}
|
|
301
|
+
);border-radius:${Er};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`,Mu=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,ke`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${Be(e=>"number"!=typeof e.value,ke`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Ze(e.indeterminateIndicator1)} ${Ze(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>'}),Hu=Lu.compose({name:Tr.prefix+"-progress-bar",template:Mu,styles:Ou});class Vu extends dr{}const _u=j`
|
|
302
|
+
${Br("inline-grid")}
|
|
303
|
+
|
|
304
|
+
:host{grid-auto-flow:column;grid-template-columns:max-content;gap:${yi};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${ua});padding-inline-end:${ki};--control-border-color:${ns};--checked-indicator-background-color:${Fa};--state-color:${ua}}:host([disabled]){--control-border-color:${xa};--checked-indicator-background-color:${xa};--state-color:${xa}}.label{cursor:pointer;font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${ns});border-radius:${Mr};display:flex;height:16px;justify-content:center;margin:${zi} ${ki};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${Mr};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${aa}}:host(:focus-visible){border-radius:${Dr};box-shadow:0 0 0 3px ${zs};outline:1px solid ${As}}:host(:hover) .control{border-color:${ss}}:host(:active) .control{border-color:${ls}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${ns})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Fa})}:host([aria-checked='true']:hover) .control{border-color:${Bs}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${Bs}}:host([aria-checked='true']:active) .control{border-color:${Cs}}:host([aria-checked='true']:active) .checked-indicator{background:${za}}:host([disabled]){color:${xa};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${xa}}:host([disabled]) .checked-indicator{background:${xa}}`,ju=function(e={}){return ke`<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">${Ze(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 ${Ie({property:"defaultSlottedNodes",filter:nr})}></slot></label></template>`}({checkedIndicator:ke`<div part="checked-indicator" class="checked-indicator"></div>`}),Gu=Vu.compose({name:Tr.prefix+"-radio",template:ju,styles:_u});class qu extends cr{constructor(){super(...arguments),this.stacked=!1}}Je([De({mode:"boolean"})],qu.prototype,"stacked",void 0);const Xu=j`
|
|
305
|
+
${Br("flex")}
|
|
306
|
+
|
|
307
|
+
:host{align-items:flex-start;flex-direction:column;row-gap:${zi}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${xa};--checked-indicator-background-color:${xa};--state-color:${xa}}::slotted([slot='label']){color:${ta};padding:${zi} ${ki} ${zi} ${yi};font:${di} ${_r} / ${Zr} ${ni};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:${ki}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${ki};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Wu=ke`<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===ar.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ie({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,Uu=qu.compose({name:Tr.prefix+"-radio-group",template:Wu,styles:Xu});class Yu extends fr{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`
|
|
308
|
+
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],Yu.prototype,"size",void 0);const Ku={small:"small",medium:"medium"},Qu=j`
|
|
309
|
+
${Br("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:${Dr};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 ${zs};outline:1px solid ${As}}.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:${Wn};border-radius:${Mr};box-shadow:inset 0 0 0 var(--thumb-padding) ${en},0 0 0 1px ${cs}}.thumb-cursor:hover{background-color:${Zn}}.thumb-cursor:active{background-color:${Jn}}:host([disabled]) .thumb-cursor{background-color:${xa};box-shadow:inset 0 0 0 var(--thumb-padding) ${en},0 0 0 1px ${Ss}}.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:${ns};border-radius:${Er};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${Er};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
310
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${en} calc(var(--step-rate) - 1px),${en} var(--step-rate)
|
|
311
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Mn}}: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:${Qn};position:absolute;height:100%;left:0;border-radius:${Er}}:host([disabled]) .track-start{background-color:${xa}}:host(:hover) .track-start{background-color:${Zn}}:host([disabled]:hover) .track-start{background-color:${xa}}.track-start:active{background-color:${Jn}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,Zu=function(e={}){return ke`<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">${Ze(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),Ju=Yu.compose({name:Tr.prefix+"-slider",template:Zu,styles:Qu});class ep extends rr{}Je([De],ep.prototype,"size",void 0),Je([De],ep.prototype,"appearance",void 0);const tp={primary:"primary",inverted:"inverted"},op={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},rp=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,ke`<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>`)} ${Be(e=>"number"!=typeof e.value,ke`<slot name="indeterminate">${Ze(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 '}),ip=j`
|
|
312
|
+
${Br("flex")}
|
|
313
|
+
|
|
314
|
+
: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:${$s};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${ks};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:${ms}}.indeterminate-indicator-1{stroke:${ks};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:${ms}}@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)}}`,ap=ep.compose({name:Tr.prefix+"-spinner",template:rp,styles:ip});class np extends yr{}Je([De({attribute:"label-position"})],np.prototype,"labelPosition",void 0);const sp={above:"above",after:"after",before:"before"},lp=function(e={}){return ke`<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 ${Ie("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Ze(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),dp=j`
|
|
315
|
+
${Br("inline-flex")}
|
|
316
|
+
|
|
317
|
+
: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:${ta};line-height:${Zr};font-size:${_r};font-weight:${di};font-family:${ni};padding:${Fi} ${yi};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${vi};box-sizing:border-box;width:40px;height:20px;background-color:${Dn};border:1px solid ${ns};border-radius:${Mr};outline:none;cursor:pointer;margin:${zi} ${ki}}:host(:hover) .switch{background:none;border-color:${ss}}:host(:active) .switch{border-color:${ls}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Ss};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Qn}}:host([aria-checked='true']:hover) .switch{background:${Zn};border-color:${Zn}}:host([aria-checked='true']:active) .switch{background:${Jn};border-color:${Jn}}:host([aria-checked='true'][disabled]) .switch{background:${Mn};border-color:${Ss}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${ua};transition-duration:${_i};transition-timing-function:${Ji};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Ra};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Oa}}:host([aria-checked='true']:active) .checked-indicator{background:${Ma}}:host(:hover) .checked-indicator{background-color:${pa}}:host(:active) .checked-indicator{background-color:${ga}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${xa}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${xa}}`,cp=np.compose({name:Tr.prefix+"-switch",template:lp,styles:dp}),hp={subtle:"subtle",transparent:"transparent"},up={small:"small",medium:"medium",large:"large"};class pp extends wr{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=hp.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===$r.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===$r.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?void 0:e.x)!==(null===(t=this.activeTabData)||void 0===t?void 0:t.x)&&(null===(o=this.previousActiveTabData)||void 0===o?void 0:o.y)!==(null===(r=this.activeTabData)||void 0===r?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
|
|
318
318
|
:host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
|
|
319
|
-
: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()}}Je([De],
|
|
320
|
-
${
|
|
319
|
+
: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()}}Je([De],pp.prototype,"appearance",void 0),Je([De({mode:"boolean"})],pp.prototype,"disabled",void 0),Je([De],pp.prototype,"size",void 0);const gp=function(e={}){return ke` ${it(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ie("tabs")}></slot></div>${rt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ie("tabpanels")}></slot></div>`}({}),bp=j`
|
|
320
|
+
${Br("grid")}
|
|
321
|
+
|
|
322
|
+
:host{box-sizing:border-box;font-family:${ni};font-size:${_r};line-height:${Zr};color:${aa};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${xa}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${xa}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${xa}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${xa}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${Er}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${xa}}.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:${Cn};color:${oa};fill:${Aa}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Sn};fill:${Sn};color:${ta}}:host([size='small']) ::slotted(fluent-tab){font-size:${_r};line-height:${Zr};padding:${Ai} ${xi}}:host([size='large']) ::slotted(fluent-tab){font-size:${jr};line-height:${Jr};padding:${Di} ${$i}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${ji};transition-timing-function:${Yi}}:host ::slotted(fluent-tab)::after{height:${bi};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${bi};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${bi};border-radius:${Mr};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${bi};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${bi};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:${bi}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Ai};padding-bottom:${Ai}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Ii};padding-bottom:${Ii}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${zi};padding-bottom:${zi}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${xi};left:${xi}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${$i};left:${$i}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${$i};left:${$i}}: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:${Ai};bottom:${Ai}}: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:${zi};bottom:${zi}}: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:${Ni};bottom:${Ni}}`,fp=pp.compose({name:Tr.prefix+"-tabs",template:gp,styles:bp});class mp extends kr{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
|
|
323
|
+
:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const vp=function(e={}){return ke`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${it(e)}<span class="tab-content"><slot></slot></span>${rt(e)}</template>`}({}),yp=j`
|
|
324
|
+
${Br("inline-flex")}
|
|
321
325
|
|
|
322
|
-
:host{box-sizing:border-box;
|
|
323
|
-
|
|
324
|
-
${yr("inline-flex")}
|
|
326
|
+
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Zr};font-family:${ni};font-size:${_r};color:${aa};fill:currentcolor;grid-row:1;padding:${wi} ${$i};border-radius:${Er}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${ta};font-weight:${hi}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Zr};font-weight:${hi}}:host([aria-selected='true'])::after{background-color:${ws};border-radius:${Mr};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${hs};border-radius:${Mr};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${xa}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${xa};color:${xa}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Dr};box-shadow:0 0 0 3px ${zs};outline:1px solid ${As}}`,xp=mp.compose({name:Tr.prefix+"-tab",template:vp,styles:yp});class kp extends xr{}const $p=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,wp=j`
|
|
327
|
+
${Br("block")}
|
|
325
328
|
|
|
326
|
-
:host{
|
|
327
|
-
${
|
|
329
|
+
:host{box-sizing:border-box;padding:${wi} ${$i}}`,Bp=kp.compose({name:Tr.prefix+"-tab-panel",template:$p,styles:wp});class Cp extends Qe{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Je([De({mode:"boolean"})],Cp.prototype,"nowrap",void 0),Je([De({mode:"boolean"})],Cp.prototype,"truncate",void 0),Je([De({mode:"boolean"})],Cp.prototype,"italic",void 0),Je([De({mode:"boolean"})],Cp.prototype,"underline",void 0),Je([De({mode:"boolean"})],Cp.prototype,"strikethrough",void 0),Je([De({mode:"boolean"})],Cp.prototype,"block",void 0),Je([De],Cp.prototype,"size",void 0),Je([De],Cp.prototype,"font",void 0),Je([De],Cp.prototype,"weight",void 0),Je([De],Cp.prototype,"align",void 0);const Sp={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Pp={base:"base",numeric:"numeric",monospace:"monospace"},Tp={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Ip={start:"start",end:"end",center:"center",justify:"justify"},Fp=ke`<slot></slot>`,Ap=j`
|
|
330
|
+
${Br("inline")}
|
|
328
331
|
|
|
329
|
-
:host{
|
|
330
|
-
${
|
|
332
|
+
:host{contain:content}::slotted(*){font-family:${ni};font-size:${_r};line-height:${Zr};font-weight:${di};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:${Hr};line-height:${Kr}}:host([size='200']) ::slotted(*){font-size:${Vr};line-height:${Qr}}:host([size='400']) ::slotted(*){font-size:${jr};line-height:${Jr}}:host([size='500']) ::slotted(*){font-size:${Gr};line-height:${ei}}:host([size='600']) ::slotted(*){font-size:${qr};line-height:${ti}}:host([size='700']) ::slotted(*){font-size:${Xr};line-height:${oi}}:host([size='800']) ::slotted(*){font-size:${Wr};line-height:${ri}}:host([size='900']) ::slotted(*){font-size:${Ur};line-height:${ii}}:host([size='1000']) ::slotted(*){font-size:${Yr};line-height:${ai}}:host([font='monospace']) ::slotted(*){font-family:${si}}:host([font='numeric']) ::slotted(*){font-family:${li}}:host([weight='medium']) ::slotted(*){font-weight:${ci}}:host([weight='semibold']) ::slotted(*){font-weight:${hi}}:host([weight='bold']) ::slotted(*){font-weight:${ui}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,zp=Cp.compose({name:Tr.prefix+"-text",template:Fp,styles:Ap});class Np extends er{}Je([De({attribute:"control-size"})],Np.prototype,"controlSize",void 0),Je([De],Np.prototype,"appearance",void 0);const Lp={small:"small",medium:"medium",large:"large"},Dp={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Ep=function(e={}){return ke`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie({property:"defaultSlottedNodes",filter:nr})}></slot></label><div class="root" part="root">${it(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")} />${rt(e)}</div>`}(),Rp=j`
|
|
333
|
+
${Br("block")}
|
|
331
334
|
|
|
332
|
-
:host{
|
|
333
|
-
${
|
|
335
|
+
:host{font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr};max-width:400px}.label{display:flex;color:${ta};padding-bottom:${Fi};flex-shrink:0;padding-inline-end:${yi}}.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 ${$i};border:${pi} solid ${cs};border-bottom-color:${ns};border-radius:${Er};gap:${vi}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${Er});border-radius:0 0 ${Er} ${Er};border-bottom:2px solid ${ws};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Mi};transition-delay:${Wi}}.control{width:100%;height:100%;box-sizing:border-box;color:${ta};border-radius:${Er};background:${Dn};font-family:${ni};font-weight:${di};font-size:${_r};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${ya}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ua};font-size:${Gr}}:host ::slotted([slot='start']){padding-right:${vi}}:host ::slotted([slot='end']){padding-left:${vi};gap:${yi}}:host(:hover) .root{border-color:${hs};border-bottom-color:${ss}}:host(:active) .root{border-color:${us}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${_i};transition-delay:${Ki}}:host(:focus-within:active) .root:after{border-bottom-color:${Cs}}:host([appearance='outline']:focus-within) .root{border:${pi} solid ${cs}}:host(:focus-within) .control{color:${ta}}:host([disabled]) .root{background:${Dn};border:${pi} solid ${Ss}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${xa}}::selection{color:${Ra};background-color:${$n}}:host([control-size='small']) .control{font-size:${Vr};font-weight:${di};line-height:${Qr}}:host([control-size='small']) .root{height:24px;gap:${vi};padding:0 ${xi}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${jr}}:host([control-size='large']) .control{font-size:${jr};font-weight:${di};line-height:${Jr}}:host([control-size='large']) .root{height:40px;gap:${ki};padding:0 ${wi}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${qr}}:host([appearance='underline']) .root{background:${Dn};border:0;border-radius:0;border-bottom:${pi} solid ${ns}}:host([appearance='underline']:hover) .root{border-bottom-color:${ss}}:host([appearance='underline']:active) .root{border-bottom-color:${ls}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${ls}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Ss}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${pi} solid ${Ts};box-shadow:${Ic}}:host([appearance='filled-lighter']) .root{background:${en}}:host([appearance='filled-darker']) .root{background:${dn}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Is}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Is};background:${dn}}`,Op=Np.compose({name:Tr.prefix+"-text-input",template:Ep,styles:Rp});class Mp extends Mh{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.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)}}Je([De({attribute:"checked",mode:"boolean"})],Mp.prototype,"checkedAttribute",void 0),Je([C],Mp.prototype,"defaultChecked",void 0),Je([C],Mp.prototype,"checked",void 0),Je([De({attribute:"current-checked",mode:"boolean"})],Mp.prototype,"currentChecked",void 0);const Hp=Xc,Vp=Wc,_p=Uc,jp=Ft(),Gp=j`
|
|
336
|
+
${Jc}
|
|
334
337
|
|
|
335
|
-
:host([aria-pressed="true"]) .control{border-color:${as};background-color:${Za};color:${Ki};border-width:${li}}:host([aria-pressed='true']:hover) .control{border-color:${ns};background-color:${Ka}}:host([aria-pressed='true']:active) .control{border-color:${ss};background-color:${Qa}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${qn};color:${Ea}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${jn}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Gn}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${$n};color:${ra}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${kn};color:${ta}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${xn};color:${oa}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${Nn}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${An}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${zn}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${na}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${ia}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${aa}}`,Lp=Tp.compose({name:wr.prefix+"-toggle-button",template:zp,styles:Np,shadowOptions:{delegatesFocus:!0}}),Dp=Object.keys(Rc),Rp=e=>{for(const t of Dp)Rc[t].withDefault(e[t])};export{kr as Accordion,Cr as AccordionItem,Pr as AccordionItemExpandIconPosition,Sr as AccordionItemSize,Hc as AnchorButton,Gc as AnchorButtonAppearance,Kc as AnchorButtonDefinition,qc as AnchorButtonShape,Xc as AnchorButtonSize,Wc as AnchorButtonTemplate,dh as Avatar,rh as AvatarActive,ah as AvatarAppearance,sh as AvatarColor,mh as AvatarDefinition,nh as AvatarNamedColor,ih as AvatarShape,lh as AvatarSize,fh as AvatarStyles,uh as AvatarTemplate,$h as Badge,vh as BadgeAppearance,yh as BadgeColor,Nh as BadgeDefinition,kh as BadgeShape,xh as BadgeSize,zh as BadgeStyles,Bh as BadgeTemplate,Lh as Button,Vc as ButtonAppearance,Rh as ButtonDefinition,_c as ButtonShape,jc as ButtonSize,Uc as ButtonStyles,Dh as ButtonTemplate,Eh as CompoundButton,Oh as CompoundButtonAppearance,jh as CompoundButtonDefinition,Mh as CompoundButtonShape,Hh as CompoundButtonSize,_h as CompoundButtonStyles,Vh as CompoundButtonTemplate,Gh as CounterBadge,qh as CounterBadgeAppearance,Xh as CounterBadgeColor,Qh as CounterBadgeDefinition,Wh as CounterBadgeShape,Uh as CounterBadgeSize,Kh as CounterBadgeStyles,Yh as CounterBadgeTemplate,Zh as Divider,Jh as DividerAlignContent,eu as DividerAppearance,ru as DividerDefinition,Xo as DividerOrientation,qo as DividerRole,ou as DividerStyles,tu as DividerTemplate,iu as Image,du as ImageDefinition,au as ImageFit,nu as ImageShape,lu as ImageStyles,su as ImageTemplate,cu as Label,pu as LabelDefinition,hu as LabelStyles,uu as LabelTemplate,gu as MenuButton,bu as MenuButtonAppearance,yu as MenuButtonDefinition,fu as MenuButtonShape,mu as MenuButtonSize,Uc as MenuButtonStyles,vu as MenuButtonTemplate,ku as MenuItem,Bu as MenuItemDefinition,wu as MenuItemStyles,$u as MenuItemTemplate,Cu as MenuList,Tu as MenuListDefinition,Pu as MenuListStyles,Su as MenuListTemplate,Fu as ProgressBar,Du as ProgressBarDefinition,Au as ProgressBarShape,Nu as ProgressBarStyles,Lu as ProgressBarTemplate,Iu as ProgressBarThickness,zu as ProgressBarValidationState,Ru as Radio,Mu as RadioDefinition,Hu as RadioGroup,ju as RadioGroupDefinition,er as RadioGroupOrientation,Vu as RadioGroupStyles,_u as RadioGroupTemplate,Eu as RadioStyles,Ou as RadioTemplate,Gu as Slider,Uu as SliderDefinition,nr as SliderOrientation,qu as SliderSize,Xu as SliderStyles,Wu as SliderTemplate,Yu as Spinner,Ku as SpinnerAppearance,ep as SpinnerDefinition,Qu as SpinnerSize,Ju as SpinnerStyles,Zu as SpinnerTemplate,tp as Switch,ap as SwitchDefinition,op as SwitchLabelPosition,ip as SwitchStyles,rp as SwitchTemplate,up as Tab,bp as TabDefinition,fp as TabPanel,yp as TabPanelDefinition,vp as TabPanelStyles,mp as TabPanelTemplate,gp as TabStyles,pp as TabTemplate,lp as Tabs,np as TabsAppearance,hp as TabsDefinition,mr as TabsOrientation,sp as TabsSize,cp as TabsStyles,dp as TabsTemplate,kp as Text,Bp as TextAlign,Pp as TextDefinition,$p as TextFont,xp as TextSize,Sp as TextStyles,Cp as TextTemplate,wp as TextWeight,Tp as ToggleButton,Fp as ToggleButtonAppearance,Lp as ToggleButtonDefinition,Ip as ToggleButtonShape,Ap as ToggleButtonSize,Np as ToggleButtonStyles,zp as ToggleButtonTemplate,Br as accordionDefinition,Mc as accordionItemDefinition,Ec as accordionItemStyles,Oc as accordionItemTemplate,$r as accordionStyles,xr as accordionTemplate,Lr as borderRadiusCircular,zr as borderRadiusLarge,Ar as borderRadiusMedium,Fr as borderRadiusNone,Ir as borderRadiusSmall,Nr as borderRadiusXLarge,Hn as colorBackgroundOverlay,_n as colorBrandBackground,Kn as colorBrandBackground2,jn as colorBrandBackgroundHover,Qn as colorBrandBackgroundInverted,Zn as colorBrandBackgroundInvertedHover,Jn as colorBrandBackgroundInvertedPressed,es as colorBrandBackgroundInvertedSelected,Gn as colorBrandBackgroundPressed,qn as colorBrandBackgroundSelected,Yn as colorBrandBackgroundStatic,Ta as colorBrandForeground1,Fa as colorBrandForeground2,_a as colorBrandForegroundInverted,ja as colorBrandForegroundInvertedHover,Ga as colorBrandForegroundInvertedPressed,ma as colorBrandForegroundLink,va as colorBrandForegroundLinkHover,ya as colorBrandForegroundLinkPressed,ka as colorBrandForegroundLinkSelected,qa as colorBrandForegroundOnLight,Xa as colorBrandForegroundOnLightHover,Wa as colorBrandForegroundOnLightPressed,Ua as colorBrandForegroundOnLightSelected,Ls as colorBrandShadowAmbient,Ds as colorBrandShadowKey,fs as colorBrandStroke1,ms as colorBrandStroke2,Xn as colorCompoundBrandBackground,Wn as colorCompoundBrandBackgroundHover,Un as colorCompoundBrandBackgroundPressed,Ca as colorCompoundBrandForeground1,Sa as colorCompoundBrandForeground1Hover,Pa as colorCompoundBrandForeground1Pressed,vs as colorCompoundBrandStroke,ys as colorCompoundBrandStrokeHover,ks as colorCompoundBrandStrokePressed,Ya as colorNeutralBackground1,Ka as colorNeutralBackground1Hover,Qa as colorNeutralBackground1Pressed,Za as colorNeutralBackground1Selected,Ja as colorNeutralBackground2,en as colorNeutralBackground2Hover,tn as colorNeutralBackground2Pressed,on as colorNeutralBackground2Selected,rn as colorNeutralBackground3,an as colorNeutralBackground3Hover,nn as colorNeutralBackground3Pressed,sn as colorNeutralBackground3Selected,ln as colorNeutralBackground4,dn as colorNeutralBackground4Hover,cn as colorNeutralBackground4Pressed,hn as colorNeutralBackground4Selected,un as colorNeutralBackground5,pn as colorNeutralBackground5Hover,gn as colorNeutralBackground5Pressed,bn as colorNeutralBackground5Selected,fn as colorNeutralBackground6,Ln as colorNeutralBackgroundDisabled,mn as colorNeutralBackgroundInverted,Dn as colorNeutralBackgroundInvertedDisabled,vn as colorNeutralBackgroundStatic,Ki as colorNeutralForeground1,Qi as colorNeutralForeground1Hover,Zi as colorNeutralForeground1Pressed,Ji as colorNeutralForeground1Selected,Ia as colorNeutralForeground1Static,ea as colorNeutralForeground2,ia as colorNeutralForeground2BrandHover,aa as colorNeutralForeground2BrandPressed,na as colorNeutralForeground2BrandSelected,ta as colorNeutralForeground2Hover,xa as colorNeutralForeground2Link,$a as colorNeutralForeground2LinkHover,wa as colorNeutralForeground2LinkPressed,Ba as colorNeutralForeground2LinkSelected,oa as colorNeutralForeground2Pressed,ra as colorNeutralForeground2Selected,sa as colorNeutralForeground3,ha as colorNeutralForeground3BrandHover,ua as colorNeutralForeground3BrandPressed,pa as colorNeutralForeground3BrandSelected,la as colorNeutralForeground3Hover,da as colorNeutralForeground3Pressed,ca as colorNeutralForeground3Selected,ga as colorNeutralForeground4,ba as colorNeutralForegroundDisabled,za as colorNeutralForegroundInverted,Ra as colorNeutralForegroundInverted2,fa as colorNeutralForegroundInvertedDisabled,Na as colorNeutralForegroundInvertedHover,Oa as colorNeutralForegroundInvertedLink,Ma as colorNeutralForegroundInvertedLinkHover,Ha as colorNeutralForegroundInvertedLinkPressed,Va as colorNeutralForegroundInvertedLinkSelected,La as colorNeutralForegroundInvertedPressed,Da as colorNeutralForegroundInvertedSelected,Ea as colorNeutralForegroundOnBrand,Aa as colorNeutralForegroundStaticInverted,Ts as colorNeutralShadowAmbient,zs as colorNeutralShadowAmbientDarker,Is as colorNeutralShadowAmbientLighter,Fs as colorNeutralShadowKey,Ns as colorNeutralShadowKeyDarker,As as colorNeutralShadowKeyLighter,Rn as colorNeutralStencil1,On as colorNeutralStencil1Alpha,En as colorNeutralStencil2,Mn as colorNeutralStencil2Alpha,as as colorNeutralStroke1,ns as colorNeutralStroke1Hover,ss as colorNeutralStroke1Pressed,ls as colorNeutralStroke1Selected,ds as colorNeutralStroke2,cs as colorNeutralStroke3,ts as colorNeutralStrokeAccessible,os as colorNeutralStrokeAccessibleHover,rs as colorNeutralStrokeAccessiblePressed,is as colorNeutralStrokeAccessibleSelected,xs as colorNeutralStrokeDisabled,$s as colorNeutralStrokeInvertedDisabled,hs as colorNeutralStrokeOnBrand,us as colorNeutralStrokeOnBrand2,ps as colorNeutralStrokeOnBrand2Hover,gs as colorNeutralStrokeOnBrand2Pressed,bs as colorNeutralStrokeOnBrand2Selected,vc as colorPaletteAnchorBackground2,kc as colorPaletteAnchorBorderActive,yc as colorPaletteAnchorForeground2,dc as colorPaletteBeigeBackground2,hc as colorPaletteBeigeBorderActive,cc as colorPaletteBeigeForeground2,vl as colorPaletteBerryBackground1,yl as colorPaletteBerryBackground2,kl as colorPaletteBerryBackground3,Cl as colorPaletteBerryBorder1,Sl as colorPaletteBerryBorder2,Bl as colorPaletteBerryBorderActive,xl as colorPaletteBerryForeground1,$l as colorPaletteBerryForeground2,wl as colorPaletteBerryForeground3,Id as colorPaletteBlueBackground2,zd as colorPaletteBlueBorderActive,Ad as colorPaletteBlueForeground2,nd as colorPaletteBrassBackground2,ld as colorPaletteBrassBorderActive,sd as colorPaletteBrassForeground2,dd as colorPaletteBrownBackground2,hd as colorPaletteBrownBorderActive,cd as colorPaletteBrownForeground2,Rd as colorPaletteCornflowerBackground2,Od as colorPaletteCornflowerBorderActive,Ed as colorPaletteCornflowerForeground2,Ul as colorPaletteCranberryBackground2,Kl as colorPaletteCranberryBorderActive,Yl as colorPaletteCranberryForeground2,vd as colorPaletteDarkGreenBackground2,kd as colorPaletteDarkGreenBorderActive,yd as colorPaletteDarkGreenForeground2,el as colorPaletteDarkOrangeBackground1,tl as colorPaletteDarkOrangeBackground2,ol as colorPaletteDarkOrangeBackground3,sl as colorPaletteDarkOrangeBorder1,ll as colorPaletteDarkOrangeBorder2,nl as colorPaletteDarkOrangeBorderActive,rl as colorPaletteDarkOrangeForeground1,il as colorPaletteDarkOrangeForeground2,al as colorPaletteDarkOrangeForeground3,ql as colorPaletteDarkRedBackground2,Wl as colorPaletteDarkRedBorderActive,Xl as colorPaletteDarkRedForeground2,ud as colorPaletteForestBackground2,gd as colorPaletteForestBorderActive,pd as colorPaletteForestForeground2,rd as colorPaletteGoldBackground2,ad as colorPaletteGoldBorderActive,id as colorPaletteGoldForeground2,Ud as colorPaletteGrapeBackground2,Kd as colorPaletteGrapeBorderActive,Yd as colorPaletteGrapeForeground2,qs as colorPaletteGreenBackground1,Xs as colorPaletteGreenBackground2,Ws as colorPaletteGreenBackground3,Zs as colorPaletteGreenBorder1,Js as colorPaletteGreenBorder2,Qs as colorPaletteGreenBorderActive,Us as colorPaletteGreenForeground1,Ys as colorPaletteGreenForeground2,Ks as colorPaletteGreenForeground3,$c as colorPaletteGreenForegroundInverted,_d as colorPaletteLavenderBackground2,Gd as colorPaletteLavenderBorderActive,jd as colorPaletteLavenderForeground2,Pl as colorPaletteLightGreenBackground1,Tl as colorPaletteLightGreenBackground2,Fl as colorPaletteLightGreenBackground3,Ll as colorPaletteLightGreenBorder1,Dl as colorPaletteLightGreenBorder2,Nl as colorPaletteLightGreenBorderActive,Il as colorPaletteLightGreenForeground1,Al as colorPaletteLightGreenForeground2,zl as colorPaletteLightGreenForeground3,xd as colorPaletteLightTealBackground2,wd as colorPaletteLightTealBorderActive,$d as colorPaletteLightTealForeground2,Qd as colorPaletteLilacBackground2,Jd as colorPaletteLilacBorderActive,Zd as colorPaletteLilacForeground2,rc as colorPaletteMagentaBackground2,ac as colorPaletteMagentaBorderActive,ic as colorPaletteMagentaForeground2,Rl as colorPaletteMarigoldBackground1,El as colorPaletteMarigoldBackground2,Ol as colorPaletteMarigoldBackground3,jl as colorPaletteMarigoldBorder1,Gl as colorPaletteMarigoldBorder2,_l as colorPaletteMarigoldBorderActive,Ml as colorPaletteMarigoldForeground1,Hl as colorPaletteMarigoldForeground2,Vl as colorPaletteMarigoldForeground3,uc as colorPaletteMinkBackground2,gc as colorPaletteMinkBorderActive,pc as colorPaletteMinkForeground2,Md as colorPaletteNavyBackground2,Vd as colorPaletteNavyBorderActive,Hd as colorPaletteNavyForeground2,ed as colorPalettePeachBackground2,od as colorPalettePeachBorderActive,td as colorPalettePeachForeground2,ec as colorPalettePinkBackground2,oc as colorPalettePinkBorderActive,tc as colorPalettePinkForeground2,bc as colorPalettePlatinumBackground2,mc as colorPalettePlatinumBorderActive,fc as colorPalettePlatinumForeground2,nc as colorPalettePlumBackground2,lc as colorPalettePlumBorderActive,sc as colorPalettePlumForeground2,Ql as colorPalettePumpkinBackground2,Jl as colorPalettePumpkinBorderActive,Zl as colorPalettePumpkinForeground2,qd as colorPalettePurpleBackground2,Wd as colorPalettePurpleBorderActive,Xd as colorPalettePurpleForeground2,Rs as colorPaletteRedBackground1,Es as colorPaletteRedBackground2,Os as colorPaletteRedBackground3,js as colorPaletteRedBorder1,Gs as colorPaletteRedBorder2,_s as colorPaletteRedBorderActive,Ms as colorPaletteRedForeground1,Hs as colorPaletteRedForeground2,Vs as colorPaletteRedForeground3,xc as colorPaletteRedForegroundInverted,Nd as colorPaletteRoyalBlueBackground2,Dd as colorPaletteRoyalBlueBorderActive,Ld as colorPaletteRoyalBlueForeground2,bd as colorPaletteSeafoamBackground2,md as colorPaletteSeafoamBorderActive,fd as colorPaletteSeafoamForeground2,Pd as colorPaletteSteelBackground2,Fd as colorPaletteSteelBorderActive,Td as colorPaletteSteelForeground2,Bd as colorPaletteTealBackground2,Sd as colorPaletteTealBorderActive,Cd as colorPaletteTealForeground2,dl as colorPaletteYellowBackground1,cl as colorPaletteYellowBackground2,hl as colorPaletteYellowBackground3,fl as colorPaletteYellowBorder1,ml as colorPaletteYellowBorder2,bl as colorPaletteYellowBorderActive,ul as colorPaletteYellowForeground1,pl as colorPaletteYellowForeground2,gl as colorPaletteYellowForeground3,wc as colorPaletteYellowForegroundInverted,Vn as colorScrollbarOverlay,Ss as colorStrokeFocus1,Ps as colorStrokeFocus2,yn as colorSubtleBackground,kn as colorSubtleBackgroundHover,Sn as colorSubtleBackgroundInverted,Pn as colorSubtleBackgroundInvertedHover,Tn as colorSubtleBackgroundInvertedPressed,Fn as colorSubtleBackgroundInvertedSelected,wn as colorSubtleBackgroundLightAlphaHover,Bn as colorSubtleBackgroundLightAlphaPressed,Cn as colorSubtleBackgroundLightAlphaSelected,xn as colorSubtleBackgroundPressed,$n as colorSubtleBackgroundSelected,In as colorTransparentBackground,An as colorTransparentBackgroundHover,zn as colorTransparentBackgroundPressed,Nn as colorTransparentBackgroundSelected,ws as colorTransparentStroke,Cs as colorTransparentStrokeDisabled,Bs as colorTransparentStrokeInteractive,Vi as curveAccelerateMax,_i as curveAccelerateMid,ji as curveAccelerateMin,Gi as curveDecelerateMax,qi as curveDecelerateMid,Xi as curveDecelerateMin,Ui as curveEasyEase,Wi as curveEasyEaseMax,Yi as curveLinear,Ri as durationFast,Di as durationFaster,Ei as durationNormal,Oi as durationSlow,Mi as durationSlower,Li as durationUltraFast,Hi as durationUltraSlow,ti as fontFamilyBase,oi as fontFamilyMonospace,ri as fontFamilyNumeric,Dr as fontSizeBase100,Rr as fontSizeBase200,Er as fontSizeBase300,Or as fontSizeBase400,Mr as fontSizeBase500,Hr as fontSizeBase600,Gr as fontSizeHero1000,Vr as fontSizeHero700,_r as fontSizeHero800,jr as fontSizeHero900,si as fontWeightBold,ai as fontWeightMedium,ii as fontWeightRegular,ni as fontWeightSemibold,qr as lineHeightBase100,Xr as lineHeightBase200,Wr as lineHeightBase300,Ur as lineHeightBase400,Yr as lineHeightBase500,Kr as lineHeightBase600,ei as lineHeightHero1000,Qr as lineHeightHero700,Zr as lineHeightHero800,Jr as lineHeightHero900,Rp as setTheme,Pc as shadow16,Nc as shadow16Brand,Bc as shadow2,Tc as shadow28,Lc as shadow28Brand,Ic as shadow2Brand,Cc as shadow4,Ac as shadow4Brand,Fc as shadow64,Dc as shadow64Brand,Sc as shadow8,zc as shadow8Brand,yi as spacingHorizontalL,vi as spacingHorizontalM,mi as spacingHorizontalMNudge,ui as spacingHorizontalNone,fi as spacingHorizontalS,bi as spacingHorizontalSNudge,ki as spacingHorizontalXL,gi as spacingHorizontalXS,xi as spacingHorizontalXXL,pi as spacingHorizontalXXS,$i as spacingHorizontalXXXL,Ii as spacingVerticalL,Fi as spacingVerticalM,Ti as spacingVerticalMNudge,wi as spacingVerticalNone,Pi as spacingVerticalS,Si as spacingVerticalSNudge,Ai as spacingVerticalXL,Ci as spacingVerticalXS,zi as spacingVerticalXXL,Bi as spacingVerticalXXS,Ni as spacingVerticalXXXL,di as strokeWidthThick,ci as strokeWidthThicker,hi as strokeWidthThickest,li as strokeWidthThin};
|
|
338
|
+
:host([aria-pressed="true"]) .control{border-color:${cs};background-color:${rn};color:${ta};border-width:${pi}}:host([aria-pressed='true']:hover) .control{border-color:${hs};background-color:${tn}}:host([aria-pressed='true']:active) .control{border-color:${us};background-color:${on}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${Kn};color:${_a}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Un}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Yn}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Pn};color:${la}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Cn};color:${na}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Sn};color:${sa}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${On}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${En}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${Rn}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${ha}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${da}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${ca}}`,qp=Mp.compose({name:Tr.prefix+"-toggle-button",template:jp,styles:Gp,shadowOptions:{delegatesFocus:!0}}),Xp=Object.keys(Vc),Wp=e=>{for(const t of Xp)Vc[t].withDefault(e[t])};export{Cr as Accordion,Fr as AccordionItem,zr as AccordionItemExpandIconPosition,Ar as AccordionItemSize,qc as AnchorButton,Yc as AnchorButtonAppearance,th as AnchorButtonDefinition,Kc as AnchorButtonShape,Qc as AnchorButtonSize,Zc as AnchorButtonTemplate,gh as Avatar,lh as AvatarActive,ch as AvatarAppearance,uh as AvatarColor,$h as AvatarDefinition,hh as AvatarNamedColor,dh as AvatarShape,ph as AvatarSize,kh as AvatarStyles,mh as AvatarTemplate,Ph as Badge,wh as BadgeAppearance,Bh as BadgeColor,Oh as BadgeDefinition,Ch as BadgeShape,Sh as BadgeSize,Rh as BadgeStyles,Ih as BadgeTemplate,Mh as Button,Xc as ButtonAppearance,Vh as ButtonDefinition,Wc as ButtonShape,Uc as ButtonSize,Jc as ButtonStyles,Hh as ButtonTemplate,_h as CompoundButton,jh as CompoundButtonAppearance,Uh as CompoundButtonDefinition,Gh as CompoundButtonShape,qh as CompoundButtonSize,Wh as CompoundButtonStyles,Xh as CompoundButtonTemplate,Yh as CounterBadge,Kh as CounterBadgeAppearance,Qh as CounterBadgeColor,ou as CounterBadgeDefinition,Zh as CounterBadgeShape,Jh as CounterBadgeSize,tu as CounterBadgeStyles,eu as CounterBadgeTemplate,ru as Divider,iu as DividerAlignContent,au as DividerAppearance,lu as DividerDefinition,Xo as DividerOrientation,qo as DividerRole,su as DividerStyles,nu as DividerTemplate,du as Image,gu as ImageDefinition,cu as ImageFit,hu as ImageShape,pu as ImageStyles,uu as ImageTemplate,bu as Label,vu as LabelDefinition,fu as LabelStyles,mu as LabelTemplate,yu as MenuButton,xu as MenuButtonAppearance,Bu as MenuButtonDefinition,ku as MenuButtonShape,$u as MenuButtonSize,Jc as MenuButtonStyles,wu as MenuButtonTemplate,Cu as MenuItem,Iu as MenuItemDefinition,Uo as MenuItemRole,Tu as MenuItemStyles,Pu as MenuItemTemplate,Fu as MenuList,Nu as MenuListDefinition,zu as MenuListStyles,Au as MenuListTemplate,Lu as ProgressBar,Hu as ProgressBarDefinition,Eu as ProgressBarShape,Ou as ProgressBarStyles,Mu as ProgressBarTemplate,Du as ProgressBarThickness,Ru as ProgressBarValidationState,Vu as Radio,Gu as RadioDefinition,qu as RadioGroup,Uu as RadioGroupDefinition,ar as RadioGroupOrientation,Xu as RadioGroupStyles,Wu as RadioGroupTemplate,_u as RadioStyles,ju as RadioTemplate,Yu as Slider,Ju as SliderDefinition,hr as SliderOrientation,Ku as SliderSize,Qu as SliderStyles,Zu as SliderTemplate,ep as Spinner,tp as SpinnerAppearance,ap as SpinnerDefinition,op as SpinnerSize,ip as SpinnerStyles,rp as SpinnerTemplate,np as Switch,cp as SwitchDefinition,sp as SwitchLabelPosition,dp as SwitchStyles,lp as SwitchTemplate,mp as Tab,xp as TabDefinition,kp as TabPanel,Bp as TabPanelDefinition,wp as TabPanelStyles,$p as TabPanelTemplate,yp as TabStyles,vp as TabTemplate,pp as Tabs,hp as TabsAppearance,fp as TabsDefinition,$r as TabsOrientation,up as TabsSize,bp as TabsStyles,gp as TabsTemplate,Cp as Text,Ip as TextAlign,zp as TextDefinition,Pp as TextFont,Np as TextInput,Dp as TextInputAppearance,Lp as TextInputControlSize,Op as TextInputDefinition,Rp as TextInputStyles,Ep as TextInputTemplate,Jo as TextInputType,Sp as TextSize,Ap as TextStyles,Fp as TextTemplate,Tp as TextWeight,Mp as ToggleButton,Hp as ToggleButtonAppearance,qp as ToggleButtonDefinition,Vp as ToggleButtonShape,_p as ToggleButtonSize,Gp as ToggleButtonStyles,jp as ToggleButtonTemplate,Ir as accordionDefinition,Gc as accordionItemDefinition,_c as accordionItemStyles,jc as accordionItemTemplate,Pr as accordionStyles,Sr as accordionTemplate,Mr as borderRadiusCircular,Rr as borderRadiusLarge,Er as borderRadiusMedium,Lr as borderRadiusNone,Dr as borderRadiusSmall,Or as borderRadiusXLarge,qn as colorBackgroundOverlay,Wn as colorBrandBackground,ts as colorBrandBackground2,Un as colorBrandBackgroundHover,os as colorBrandBackgroundInverted,rs as colorBrandBackgroundInvertedHover,is as colorBrandBackgroundInvertedPressed,as as colorBrandBackgroundInvertedSelected,Yn as colorBrandBackgroundPressed,Kn as colorBrandBackgroundSelected,es as colorBrandBackgroundStatic,Na as colorBrandForeground1,La as colorBrandForeground2,Wa as colorBrandForegroundInverted,Ua as colorBrandForegroundInvertedHover,Ya as colorBrandForegroundInvertedPressed,$a as colorBrandForegroundLink,wa as colorBrandForegroundLinkHover,Ba as colorBrandForegroundLinkPressed,Ca as colorBrandForegroundLinkSelected,Ka as colorBrandForegroundOnLight,Qa as colorBrandForegroundOnLightHover,Za as colorBrandForegroundOnLightPressed,Ja as colorBrandForegroundOnLightSelected,Ms as colorBrandShadowAmbient,Hs as colorBrandShadowKey,ks as colorBrandStroke1,$s as colorBrandStroke2,Qn as colorCompoundBrandBackground,Zn as colorCompoundBrandBackgroundHover,Jn as colorCompoundBrandBackgroundPressed,Fa as colorCompoundBrandForeground1,Aa as colorCompoundBrandForeground1Hover,za as colorCompoundBrandForeground1Pressed,ws as colorCompoundBrandStroke,Bs as colorCompoundBrandStrokeHover,Cs as colorCompoundBrandStrokePressed,en as colorNeutralBackground1,tn as colorNeutralBackground1Hover,on as colorNeutralBackground1Pressed,rn as colorNeutralBackground1Selected,an as colorNeutralBackground2,nn as colorNeutralBackground2Hover,sn as colorNeutralBackground2Pressed,ln as colorNeutralBackground2Selected,dn as colorNeutralBackground3,cn as colorNeutralBackground3Hover,hn as colorNeutralBackground3Pressed,un as colorNeutralBackground3Selected,pn as colorNeutralBackground4,gn as colorNeutralBackground4Hover,bn as colorNeutralBackground4Pressed,fn as colorNeutralBackground4Selected,mn as colorNeutralBackground5,vn as colorNeutralBackground5Hover,yn as colorNeutralBackground5Pressed,xn as colorNeutralBackground5Selected,kn as colorNeutralBackground6,Mn as colorNeutralBackgroundDisabled,$n as colorNeutralBackgroundInverted,Hn as colorNeutralBackgroundInvertedDisabled,wn as colorNeutralBackgroundStatic,ta as colorNeutralForeground1,oa as colorNeutralForeground1Hover,ra as colorNeutralForeground1Pressed,ia as colorNeutralForeground1Selected,Da as colorNeutralForeground1Static,aa as colorNeutralForeground2,da as colorNeutralForeground2BrandHover,ca as colorNeutralForeground2BrandPressed,ha as colorNeutralForeground2BrandSelected,na as colorNeutralForeground2Hover,Sa as colorNeutralForeground2Link,Pa as colorNeutralForeground2LinkHover,Ta as colorNeutralForeground2LinkPressed,Ia as colorNeutralForeground2LinkSelected,sa as colorNeutralForeground2Pressed,la as colorNeutralForeground2Selected,ua as colorNeutralForeground3,fa as colorNeutralForeground3BrandHover,ma as colorNeutralForeground3BrandPressed,va as colorNeutralForeground3BrandSelected,pa as colorNeutralForeground3Hover,ga as colorNeutralForeground3Pressed,ba as colorNeutralForeground3Selected,ya as colorNeutralForeground4,xa as colorNeutralForegroundDisabled,Ra as colorNeutralForegroundInverted,Va as colorNeutralForegroundInverted2,ka as colorNeutralForegroundInvertedDisabled,Oa as colorNeutralForegroundInvertedHover,ja as colorNeutralForegroundInvertedLink,Ga as colorNeutralForegroundInvertedLinkHover,qa as colorNeutralForegroundInvertedLinkPressed,Xa as colorNeutralForegroundInvertedLinkSelected,Ma as colorNeutralForegroundInvertedPressed,Ha as colorNeutralForegroundInvertedSelected,_a as colorNeutralForegroundOnBrand,Ea as colorNeutralForegroundStaticInverted,Ns as colorNeutralShadowAmbient,Rs as colorNeutralShadowAmbientDarker,Ds as colorNeutralShadowAmbientLighter,Ls as colorNeutralShadowKey,Os as colorNeutralShadowKeyDarker,Es as colorNeutralShadowKeyLighter,Vn as colorNeutralStencil1,jn as colorNeutralStencil1Alpha,_n as colorNeutralStencil2,Gn as colorNeutralStencil2Alpha,cs as colorNeutralStroke1,hs as colorNeutralStroke1Hover,us as colorNeutralStroke1Pressed,ps as colorNeutralStroke1Selected,gs as colorNeutralStroke2,bs as colorNeutralStroke3,ns as colorNeutralStrokeAccessible,ss as colorNeutralStrokeAccessibleHover,ls as colorNeutralStrokeAccessiblePressed,ds as colorNeutralStrokeAccessibleSelected,Ss as colorNeutralStrokeDisabled,Ps as colorNeutralStrokeInvertedDisabled,fs as colorNeutralStrokeOnBrand,ms as colorNeutralStrokeOnBrand2,vs as colorNeutralStrokeOnBrand2Hover,ys as colorNeutralStrokeOnBrand2Pressed,xs as colorNeutralStrokeOnBrand2Selected,wc as colorPaletteAnchorBackground2,Cc as colorPaletteAnchorBorderActive,Bc as colorPaletteAnchorForeground2,gc as colorPaletteBeigeBackground2,fc as colorPaletteBeigeBorderActive,bc as colorPaletteBeigeForeground2,wl as colorPaletteBerryBackground1,Bl as colorPaletteBerryBackground2,Cl as colorPaletteBerryBackground3,Fl as colorPaletteBerryBorder1,Al as colorPaletteBerryBorder2,Il as colorPaletteBerryBorderActive,Sl as colorPaletteBerryForeground1,Pl as colorPaletteBerryForeground2,Tl as colorPaletteBerryForeground3,Dd as colorPaletteBlueBackground2,Rd as colorPaletteBlueBorderActive,Ed as colorPaletteBlueForeground2,hd as colorPaletteBrassBackground2,pd as colorPaletteBrassBorderActive,ud as colorPaletteBrassForeground2,gd as colorPaletteBrownBackground2,fd as colorPaletteBrownBorderActive,bd as colorPaletteBrownForeground2,Vd as colorPaletteCornflowerBackground2,jd as colorPaletteCornflowerBorderActive,_d as colorPaletteCornflowerForeground2,Jl as colorPaletteCranberryBackground2,td as colorPaletteCranberryBorderActive,ed as colorPaletteCranberryForeground2,wd as colorPaletteDarkGreenBackground2,Cd as colorPaletteDarkGreenBorderActive,Bd as colorPaletteDarkGreenForeground2,al as colorPaletteDarkOrangeBackground1,nl as colorPaletteDarkOrangeBackground2,sl as colorPaletteDarkOrangeBackground3,ul as colorPaletteDarkOrangeBorder1,pl as colorPaletteDarkOrangeBorder2,hl as colorPaletteDarkOrangeBorderActive,ll as colorPaletteDarkOrangeForeground1,dl as colorPaletteDarkOrangeForeground2,cl as colorPaletteDarkOrangeForeground3,Kl as colorPaletteDarkRedBackground2,Zl as colorPaletteDarkRedBorderActive,Ql as colorPaletteDarkRedForeground2,md as colorPaletteForestBackground2,yd as colorPaletteForestBorderActive,vd as colorPaletteForestForeground2,ld as colorPaletteGoldBackground2,cd as colorPaletteGoldBorderActive,dd as colorPaletteGoldForeground2,Jd as colorPaletteGrapeBackground2,tc as colorPaletteGrapeBorderActive,ec as colorPaletteGrapeForeground2,Ks as colorPaletteGreenBackground1,Qs as colorPaletteGreenBackground2,Zs as colorPaletteGreenBackground3,rl as colorPaletteGreenBorder1,il as colorPaletteGreenBorder2,ol as colorPaletteGreenBorderActive,Js as colorPaletteGreenForeground1,el as colorPaletteGreenForeground2,tl as colorPaletteGreenForeground3,Pc as colorPaletteGreenForegroundInverted,Wd as colorPaletteLavenderBackground2,Yd as colorPaletteLavenderBorderActive,Ud as colorPaletteLavenderForeground2,zl as colorPaletteLightGreenBackground1,Nl as colorPaletteLightGreenBackground2,Ll as colorPaletteLightGreenBackground3,Ml as colorPaletteLightGreenBorder1,Hl as colorPaletteLightGreenBorder2,Ol as colorPaletteLightGreenBorderActive,Dl as colorPaletteLightGreenForeground1,El as colorPaletteLightGreenForeground2,Rl as colorPaletteLightGreenForeground3,Sd as colorPaletteLightTealBackground2,Td as colorPaletteLightTealBorderActive,Pd as colorPaletteLightTealForeground2,oc as colorPaletteLilacBackground2,ic as colorPaletteLilacBorderActive,rc as colorPaletteLilacForeground2,lc as colorPaletteMagentaBackground2,cc as colorPaletteMagentaBorderActive,dc as colorPaletteMagentaForeground2,Vl as colorPaletteMarigoldBackground1,_l as colorPaletteMarigoldBackground2,jl as colorPaletteMarigoldBackground3,Ul as colorPaletteMarigoldBorder1,Yl as colorPaletteMarigoldBorder2,Wl as colorPaletteMarigoldBorderActive,Gl as colorPaletteMarigoldForeground1,ql as colorPaletteMarigoldForeground2,Xl as colorPaletteMarigoldForeground3,mc as colorPaletteMinkBackground2,yc as colorPaletteMinkBorderActive,vc as colorPaletteMinkForeground2,Gd as colorPaletteNavyBackground2,Xd as colorPaletteNavyBorderActive,qd as colorPaletteNavyForeground2,ad as colorPalettePeachBackground2,sd as colorPalettePeachBorderActive,nd as colorPalettePeachForeground2,ac as colorPalettePinkBackground2,sc as colorPalettePinkBorderActive,nc as colorPalettePinkForeground2,xc as colorPalettePlatinumBackground2,$c as colorPalettePlatinumBorderActive,kc as colorPalettePlatinumForeground2,hc as colorPalettePlumBackground2,pc as colorPalettePlumBorderActive,uc as colorPalettePlumForeground2,od as colorPalettePumpkinBackground2,id as colorPalettePumpkinBorderActive,rd as colorPalettePumpkinForeground2,Kd as colorPalettePurpleBackground2,Zd as colorPalettePurpleBorderActive,Qd as colorPalettePurpleForeground2,Vs as colorPaletteRedBackground1,_s as colorPaletteRedBackground2,js as colorPaletteRedBackground3,Us as colorPaletteRedBorder1,Ys as colorPaletteRedBorder2,Ws as colorPaletteRedBorderActive,Gs as colorPaletteRedForeground1,qs as colorPaletteRedForeground2,Xs as colorPaletteRedForeground3,Sc as colorPaletteRedForegroundInverted,Od as colorPaletteRoyalBlueBackground2,Hd as colorPaletteRoyalBlueBorderActive,Md as colorPaletteRoyalBlueForeground2,xd as colorPaletteSeafoamBackground2,$d as colorPaletteSeafoamBorderActive,kd as colorPaletteSeafoamForeground2,zd as colorPaletteSteelBackground2,Ld as colorPaletteSteelBorderActive,Nd as colorPaletteSteelForeground2,Id as colorPaletteTealBackground2,Ad as colorPaletteTealBorderActive,Fd as colorPaletteTealForeground2,gl as colorPaletteYellowBackground1,bl as colorPaletteYellowBackground2,fl as colorPaletteYellowBackground3,kl as colorPaletteYellowBorder1,$l as colorPaletteYellowBorder2,xl as colorPaletteYellowBorderActive,ml as colorPaletteYellowForeground1,vl as colorPaletteYellowForeground2,yl as colorPaletteYellowForeground3,Tc as colorPaletteYellowForegroundInverted,Xn as colorScrollbarOverlay,As as colorStrokeFocus1,zs as colorStrokeFocus2,Bn as colorSubtleBackground,Cn as colorSubtleBackgroundHover,An as colorSubtleBackgroundInverted,zn as colorSubtleBackgroundInvertedHover,Nn as colorSubtleBackgroundInvertedPressed,Ln as colorSubtleBackgroundInvertedSelected,Tn as colorSubtleBackgroundLightAlphaHover,In as colorSubtleBackgroundLightAlphaPressed,Fn as colorSubtleBackgroundLightAlphaSelected,Sn as colorSubtleBackgroundPressed,Pn as colorSubtleBackgroundSelected,Dn as colorTransparentBackground,En as colorTransparentBackgroundHover,Rn as colorTransparentBackgroundPressed,On as colorTransparentBackgroundSelected,Ts as colorTransparentStroke,Fs as colorTransparentStrokeDisabled,Is as colorTransparentStrokeInteractive,Xi as curveAccelerateMax,Wi as curveAccelerateMid,Ui as curveAccelerateMin,Yi as curveDecelerateMax,Ki as curveDecelerateMid,Qi as curveDecelerateMin,Ji as curveEasyEase,Zi as curveEasyEaseMax,ea as curveLinear,Vi as durationFast,Hi as durationFaster,_i as durationNormal,ji as durationSlow,Gi as durationSlower,Mi as durationUltraFast,qi as durationUltraSlow,ni as fontFamilyBase,si as fontFamilyMonospace,li as fontFamilyNumeric,Hr as fontSizeBase100,Vr as fontSizeBase200,_r as fontSizeBase300,jr as fontSizeBase400,Gr as fontSizeBase500,qr as fontSizeBase600,Yr as fontSizeHero1000,Xr as fontSizeHero700,Wr as fontSizeHero800,Ur as fontSizeHero900,ui as fontWeightBold,ci as fontWeightMedium,di as fontWeightRegular,hi as fontWeightSemibold,Kr as lineHeightBase100,Qr as lineHeightBase200,Zr as lineHeightBase300,Jr as lineHeightBase400,ei as lineHeightBase500,ti as lineHeightBase600,ai as lineHeightHero1000,oi as lineHeightHero700,ri as lineHeightHero800,ii as lineHeightHero900,Wp as setTheme,zc as shadow16,Oc as shadow16Brand,Ic as shadow2,Nc as shadow28,Mc as shadow28Brand,Dc as shadow2Brand,Fc as shadow4,Ec as shadow4Brand,Lc as shadow64,Hc as shadow64Brand,Ac as shadow8,Rc as shadow8Brand,Bi as spacingHorizontalL,wi as spacingHorizontalM,$i as spacingHorizontalMNudge,mi as spacingHorizontalNone,ki as spacingHorizontalS,xi as spacingHorizontalSNudge,Ci as spacingHorizontalXL,yi as spacingHorizontalXS,Si as spacingHorizontalXXL,vi as spacingHorizontalXXS,Pi as spacingHorizontalXXXL,Di as spacingVerticalL,Li as spacingVerticalM,Ni as spacingVerticalMNudge,Ti as spacingVerticalNone,zi as spacingVerticalS,Ai as spacingVerticalSNudge,Ei as spacingVerticalXL,Fi as spacingVerticalXS,Ri as spacingVerticalXXL,Ii as spacingVerticalXXS,Oi as spacingVerticalXXXL,gi as strokeWidthThick,bi as strokeWidthThicker,fi as strokeWidthThickest,pi as strokeWidthThin};
|