@fluentui/web-components 3.0.0-alpha.13 → 3.0.0-alpha.14
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 +30 -1
- package/CHANGELOG.md +12 -2
- package/dist/dts/index.d.ts +4 -0
- package/dist/dts/menu-button/define.d.ts +1 -0
- package/dist/dts/menu-button/index.d.ts +5 -0
- package/dist/dts/menu-button/menu-button.d.ts +7 -0
- package/dist/dts/menu-button/menu-button.definition.d.ts +10 -0
- package/dist/dts/menu-button/menu-button.options.d.ts +46 -0
- package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
- package/dist/dts/tab/define.d.ts +1 -0
- package/dist/dts/tab/index.d.ts +4 -0
- package/dist/dts/tab/tab.d.ts +8 -0
- package/dist/dts/tab/tab.definition.d.ts +2 -0
- package/dist/dts/tab/tab.styles.d.ts +1 -0
- package/dist/dts/tab/tab.template.d.ts +4 -0
- package/dist/dts/tab-panel/define.d.ts +1 -0
- package/dist/dts/tab-panel/index.d.ts +4 -0
- package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
- package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
- package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
- package/dist/dts/tab-panel/tab-panel.template.d.ts +1 -0
- package/dist/dts/tabs/define.d.ts +1 -0
- package/dist/dts/tabs/index.d.ts +5 -0
- package/dist/dts/tabs/tabs.d.ts +88 -0
- package/dist/dts/tabs/tabs.definition.d.ts +2 -0
- package/dist/dts/tabs/tabs.options.d.ts +14 -0
- package/dist/dts/tabs/tabs.styles.d.ts +1 -0
- package/dist/dts/tabs/tabs.template.d.ts +1 -0
- package/dist/esm/button/button.styles.js +2 -0
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/menu-button/define.js +4 -0
- package/dist/esm/menu-button/define.js.map +1 -0
- package/dist/esm/menu-button/index.js +6 -0
- package/dist/esm/menu-button/index.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.js +21 -0
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
- package/dist/esm/menu-button/menu-button.js +8 -0
- package/dist/esm/menu-button/menu-button.js.map +1 -0
- package/dist/esm/menu-button/menu-button.options.js +17 -0
- package/dist/esm/menu-button/menu-button.options.js.map +1 -0
- package/dist/esm/menu-button/menu-button.template.js +10 -0
- package/dist/esm/menu-button/menu-button.template.js.map +1 -0
- package/dist/esm/tab/define.js +4 -0
- package/dist/esm/tab/define.js.map +1 -0
- package/dist/esm/tab/index.js +5 -0
- package/dist/esm/tab/index.js.map +1 -0
- package/dist/esm/tab/tab.definition.js +10 -0
- package/dist/esm/tab/tab.definition.js.map +1 -0
- package/dist/esm/tab/tab.js +20 -0
- package/dist/esm/tab/tab.js.map +1 -0
- package/dist/esm/tab/tab.styles.js +94 -0
- package/dist/esm/tab/tab.styles.js.map +1 -0
- package/dist/esm/tab/tab.template.js +13 -0
- package/dist/esm/tab/tab.template.js.map +1 -0
- package/dist/esm/tab-panel/define.js +4 -0
- package/dist/esm/tab-panel/define.js.map +1 -0
- package/dist/esm/tab-panel/index.js +5 -0
- package/dist/esm/tab-panel/index.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
- package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.js +4 -0
- package/dist/esm/tab-panel/tab-panel.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.template.js +3 -0
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
- package/dist/esm/tabs/define.js +4 -0
- package/dist/esm/tabs/define.js.map +1 -0
- package/dist/esm/tabs/index.js +6 -0
- package/dist/esm/tabs/index.js.map +1 -0
- package/dist/esm/tabs/tabs.definition.js +10 -0
- package/dist/esm/tabs/tabs.definition.js.map +1 -0
- package/dist/esm/tabs/tabs.js +158 -0
- package/dist/esm/tabs/tabs.js.map +1 -0
- package/dist/esm/tabs/tabs.options.js +12 -0
- package/dist/esm/tabs/tabs.options.js.map +1 -0
- package/dist/esm/tabs/tabs.styles.js +230 -0
- package/dist/esm/tabs/tabs.styles.js.map +1 -0
- package/dist/esm/tabs/tabs.template.js +3 -0
- package/dist/esm/tabs/tabs.template.js.map +1 -0
- package/dist/fluent-web-components.api.json +2082 -1054
- package/dist/web-components.d.ts +215 -2
- package/dist/web-components.js +636 -60
- package/dist/web-components.min.js +148 -136
- package/docs/api-report.md +121 -3
- package/package.json +8 -4
|
@@ -1,27 +1,27 @@
|
|
|
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 c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,v=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>v.createHTML(e),protect:(e,t,o,r)=>r});const f=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==f)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const B=Object.freeze({unknown:void 0,coupled:1}),w=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==B.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),C=Object.freeze({default:{index:0,length:0,get event(){return C.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class N extends F{createObserver(e){return w.binding(this.evaluate,e,this.isVolatile)}}function z(e,t,o=w.isVolatileBinding(e)){return new N(e,t,o)}class A extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function T(e,t){return new A(e,t)}let I;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(I),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){I=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(),M=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function O(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{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)=>O(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){O(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){O(this,t.controller,t)}}M.define(H);const V=""+Math.random().toString(36).substring(2,8);let E=0;const R=()=>`--v${V}${++E}`;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 H(z(s),R()).createCSS(n):s instanceof F?s=new H(s,R()).createCSS(n):void 0!==M.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)}}M.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,Y=W.length;let U=0;const K=()=>`${q}-${++U}`,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+Y)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){C.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);C.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=B.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return C.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),w.defineProperty(ae.prototype,"index"),w.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(T(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},ve=/([ \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 fe{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=ve.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}fe.empty=new fe(""),ee.define(fe);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 fe(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(z(l));else if(l instanceof F)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(T(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new fe(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const Be=e=>new $e(e);function we(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Pe=e=>1===e.nodeType;class Se extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Ce extends Se{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 Ce(e)}ee.define(Ce);const Ne=Object.freeze({locate:u()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ae(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Te={toView(e){const t=Ae(e);return t?t.toString():t},fromView:Ae};class Ie{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=ze)}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 w.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(Ne.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 Ie(e,r)):o.push(new Ie(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Le(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ne.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const De={mode:"open"},Me={},Oe=new Set,He=c.getById(r.elementRegistry,()=>h());class Ve{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=Ie.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,w.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?De:null===t.shadowOptions?void 0:Object.assign(Object.assign({},De),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Me:Object.assign(Object.assign({},Me),t.elementOptions),this.styles=L.normalize(t.styles),He.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)||He.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Oe.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Ee={bubbles:!0,composed:!0,cancelable:!0},Re=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Re.get(e))&&void 0!==o?o:null}let je;class Ge 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&&Re.set(e,t))}const r=w.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 w.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:C.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=_e(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=_e(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,w.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,w.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},Ee),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=_e(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=B.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new je(e,o)}static setStrategy(e){je=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}p(Ge),Ge.setStrategy(Ge);class Xe{constructor(e){const t=Xe.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=qe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=qe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Xe.styleSheetCache=new Map;let We=0;function Ye(e){return e===document?document.body:e}function Ue(e){const t=class extends e{constructor(){super(),Ge.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 Ve.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?Xe:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++We}addStylesTo(e){e=Ye(qe(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(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ke=Object.assign(Ue(HTMLElement),{from:function(e){return Ue(e)},define:function(e,t){return i(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return i(e)?Ve.compose(e,t):Ve.compose(this,e)}});function Qe(e){return e?"string"==typeof e?new fe(e):"inline"in e?e.inline():e:fe.empty}function Ze(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}class Je{}Ze([Le({attribute:"aria-atomic"})],Je.prototype,"ariaAtomic",void 0),Ze([Le({attribute:"aria-busy"})],Je.prototype,"ariaBusy",void 0),Ze([Le({attribute:"aria-controls"})],Je.prototype,"ariaControls",void 0),Ze([Le({attribute:"aria-current"})],Je.prototype,"ariaCurrent",void 0),Ze([Le({attribute:"aria-describedby"})],Je.prototype,"ariaDescribedby",void 0),Ze([Le({attribute:"aria-details"})],Je.prototype,"ariaDetails",void 0),Ze([Le({attribute:"aria-disabled"})],Je.prototype,"ariaDisabled",void 0),Ze([Le({attribute:"aria-errormessage"})],Je.prototype,"ariaErrormessage",void 0),Ze([Le({attribute:"aria-flowto"})],Je.prototype,"ariaFlowto",void 0),Ze([Le({attribute:"aria-haspopup"})],Je.prototype,"ariaHaspopup",void 0),Ze([Le({attribute:"aria-hidden"})],Je.prototype,"ariaHidden",void 0),Ze([Le({attribute:"aria-invalid"})],Je.prototype,"ariaInvalid",void 0),Ze([Le({attribute:"aria-keyshortcuts"})],Je.prototype,"ariaKeyshortcuts",void 0),Ze([Le({attribute:"aria-label"})],Je.prototype,"ariaLabel",void 0),Ze([Le({attribute:"aria-labelledby"})],Je.prototype,"ariaLabelledby",void 0),Ze([Le({attribute:"aria-live"})],Je.prototype,"ariaLive",void 0),Ze([Le({attribute:"aria-owns"})],Je.prototype,"ariaOwns",void 0),Ze([Le({attribute:"aria-relevant"})],Je.prototype,"ariaRelevant",void 0),Ze([Le({attribute:"aria-roledescription"})],Je.prototype,"ariaRoledescription",void 0);class et{}function tt(e){return xe`<slot name="end" ${Be("end")}>${Qe(e.end)}</slot>`.inline()}function ot(e){return xe`<slot name="start" ${Be("start")}>${Qe(e.start)}</slot>`.inline()}const rt={horizontal:"horizontal",vertical:"vertical"};var it;function at(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));let nt=0;function st(e,...t){const o=Ne.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ne.locate(t).forEach(e=>o.push(e))})}class lt extends Ke{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${nt++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ze([Le({attribute:"heading-level",mode:"fromView",converter:Te})],lt.prototype,"headinglevel",void 0),Ze([Le({mode:"boolean"})],lt.prototype,"expanded",void 0),Ze([Le({mode:"boolean"})],lt.prototype,"disabled",void 0),Ze([Le],lt.prototype,"id",void 0),st(lt,et);const ct="single",dt="multi";class ht extends Ke{constructor(){super(...arguments),this.expandmode=dt,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=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof lt&&(e.addEventListener("click",this.activeItemChange),w.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)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.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 lt&&(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!==ct?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 lt&&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===ct}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof lt&&e.expandbutton.focus()}}Ze([Le({attribute:"expand-mode"})],ht.prototype,"expandmode",void 0),Ze([P],ht.prototype,"slottedAccordionItems",void 0);const ut="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,pt=new WeakMap;function gt(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 ut}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ut)return null;let e=pt.get(this);return e||(e=this.attachInternals(),pt.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 Le({mode:"boolean"})(t.prototype,"disabled"),Le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Le({attribute:"current-value"})(t.prototype,"currentValue"),Le(t.prototype,"name"),Le({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}class bt extends Ke{}class vt extends(gt(bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const mt="submit",ft="reset";class yt extends vt{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===mt&&this.addEventListener("click",this.handleSubmission),e===mt&&this.removeEventListener("click",this.handleSubmission),t===ft&&this.addEventListener("click",this.handleFormReset),e===ft&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Ze([Le({mode:"boolean"})],yt.prototype,"autofocus",void 0),Ze([Le({attribute:"form"})],yt.prototype,"formId",void 0),Ze([Le],yt.prototype,"formaction",void 0),Ze([Le],yt.prototype,"formenctype",void 0),Ze([Le],yt.prototype,"formmethod",void 0),Ze([Le({mode:"boolean"})],yt.prototype,"formnovalidate",void 0),Ze([Le],yt.prototype,"formtarget",void 0),Ze([Le],yt.prototype,"type",void 0),Ze([P],yt.prototype,"defaultSlottedContent",void 0);class kt{}Ze([Le({attribute:"aria-expanded"})],kt.prototype,"ariaExpanded",void 0),Ze([Le({attribute:"aria-pressed"})],kt.prototype,"ariaPressed",void 0),st(kt,Je),st(yt,et,kt);class xt{constructor(e){this.value=e,this.notifier=w.getNotifier(this),this.dependencies=new Set,this.binding=w.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=xt.cache.get(e);return t||(t=new xt(e),xt.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)}}xt.cache=new WeakMap;class $t{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&&w.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&w.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Bt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){w.getNotifier(this.token).notify(this)}}class wt{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=wt.getAssignedTokensForNode(e),r=e.parent;do{const e=wt.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&wt.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 wt.isAssigned(e,t)?wt.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(wt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=wt.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=wt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=wt.composeAssignedTokensForNode(this),a=wt.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 Bt(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 Bt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));wt.notify()}removeChild(e){if(e.parent===this){const t=wt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Bt(this,2,o));wt.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=wt.isAssigned(this,e)||wt.isDerivedFor(this,e)?1:0,r=wt.getLocalTokenValue(this,e);this._values.set(e,t),wt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=wt.isDerivedTokenValue(t),a=wt.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&wt.queueNotification(new Bt(this,o,e,t)),this.dispatch(new Bt(this,o,e,t)),a.forEach((e,t)=>{if(!wt.isDerivedFor(this,t)){wt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&wt.queueNotification(new Bt(this,1,t,e.evaluator.value)),this.dispatch(new Bt(this,0,t,e.evaluator.value))}}),wt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(wt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(wt.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(wt.isAssigned(this,e)){const t=wt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}wt.queueNotification(new Bt(this,2,e)),t!==o&&this.dispatch(new Bt(this,2,e)),wt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=wt.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&&wt.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),wt.queueNotification(new Bt(this,2,i))),n&&(e=new Bt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&wt.isDerivedTokenValue(s)){const t=xt.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(wt.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 Bt(this,void 0===t?0:1,i,o.evaluator.value);wt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{wt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of wt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Bt(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(wt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{wt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new $t(e,xt.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Bt(this,1,r.token,r.evaluator.value);wt.queueNotification(e),this.dispatch(e),wt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&wt.getOrCreateDependencyGraph(this,t).add(r)}),r}}wt._notifications=[];class Pt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class St extends Pt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ct extends Pt{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 Ft{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),w.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}}Ze([P],Ft.prototype,"target",void 0);class Nt{setProperty(e,t){Nt.properties[e]=t;for(const o of Nt.roots.values())o.setProperty(e,t)}removeProperty(e){delete Nt.properties[e];for(const t of Nt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Nt;if(!t.has(e)){t.add(e);for(const t in Nt.properties)e.setProperty(t,Nt.properties[t])}}static unregisterRoot(e){const{roots:t}=Nt;if(t.has(e)){t.delete(e);for(const t in Nt.properties)e.removeProperty(t)}}}Nt.roots=new Set,Nt.properties={};const zt=new WeakMap,At=L.supportsAdoptedStyleSheets?class extends Pt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Ft,Tt=Object.freeze({getOrCreate(e){if(zt.has(e))return zt.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new St:new Ct:new At(e),zt.set(e,t),t}});class It{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Ot.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,w.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Ot.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 Lt({name:e,cssCustomPropertyName:e}):It.isCSSDesignTokenConfiguration(e)?new Lt(e):new It(e)}static withStrategy(e){Ot.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Tt.getOrCreate(e)),Nt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Tt.getOrCreate(e)),Nt.unregisterRoot(e)}getValueFor(e){return Ot.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Ot.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Ot.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Ot.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 It&&(e=this.alias(e)),e}}let Lt=class extends It{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Ot.defaultNode?Ot.rootStyleSheetTarget:t.target instanceof Ot?Tt.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})`,w.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 Dt;Lt=Ze([function(e){M.define(e)},function(e){ee.define(e,Dt)}],Lt);const Mt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class Ot extends wt{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&&Ot.withStrategy(Mt),this._strategy}connectedCallback(e){let t=Ot.findParent(e.source);if(null===t&&(t=Ot.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Ot&&Ot.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Ot.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Ot.cache.get(e);return t||(t=new Ot(e),Ot.cache.set(e,t),e.$fastController.addBehavior(Ot.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Ot.strategy.parent(e);for(;null!==t;){const e=Ot.cache.get(t);if(e)return e;t=Ot.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Ot.defaultNode.appendChild(this),e.apply(this,t))}}Ot.defaultNode=new wt,Ot.rootStyleSheetTarget=new Nt,Ot.cache=new WeakMap;const Ht={separator:"separator",presentation:"presentation"},Vt=rt;class Et extends Ke{constructor(){super(...arguments),this.role=Ht.separator,this.orientation=Vt.horizontal}}Ze([Le],Et.prototype,"role",void 0),Ze([Le],Et.prototype,"orientation",void 0);class Rt extends Ke{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)}}Ze([Le({converter:Te})],Rt.prototype,"value",void 0),Ze([Le({converter:Te})],Rt.prototype,"min",void 0),Ze([Le({converter:Te})],Rt.prototype,"max",void 0),Ze([P],Rt.prototype,"percentComplete",void 0);class _t extends Rt{}class jt extends Rt{}const Gt=rt,qt="single-value";function Xt(e,t,o,r){let i=at(0,1,(e-t)/(o-t));return r===it.rtl&&(i=1-i),i}class Wt extends Ke{}class Yt extends(gt(Wt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ut extends Yt{constructor(){super(...arguments),this.direction=it.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=qt,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=at(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?it.rtl:it.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.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!==it.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-Xt(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Xt(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}Ze([Le({attribute:"readonly",mode:"boolean"})],Ut.prototype,"readOnly",void 0),Ze([P],Ut.prototype,"direction",void 0),Ze([P],Ut.prototype,"isDragging",void 0),Ze([P],Ut.prototype,"position",void 0),Ze([P],Ut.prototype,"trackWidth",void 0),Ze([P],Ut.prototype,"trackMinWidth",void 0),Ze([P],Ut.prototype,"trackHeight",void 0),Ze([P],Ut.prototype,"trackLeft",void 0),Ze([P],Ut.prototype,"trackMinHeight",void 0),Ze([P],Ut.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Te})],Ut.prototype,"min",void 0),Ze([Le({converter:Te})],Ut.prototype,"max",void 0),Ze([Le({converter:Te})],Ut.prototype,"step",void 0),Ze([Le],Ut.prototype,"orientation",void 0),Ze([Le],Ut.prototype,"mode",void 0);class Kt extends Ke{}class Qt extends(function(e){class t extends(gt(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 Le({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Le({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}(Kt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Zt extends Qt{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)}}Ze([Le({attribute:"readonly",mode:"boolean"})],Zt.prototype,"readOnly",void 0),Ze([P],Zt.prototype,"defaultSlottedNodes",void 0);function Jt(e){return`:host([hidden]){display:none}:host{display:${e}}`}class eo extends ht{}const to=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:oo?e=>1===e.nodeType&&e.matches(oo):Pe})}></slot></template>`;var oo;const ro=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,s=()=>{};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==n)n.globalThis=n;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=s}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,v=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let f=Object.freeze({createHTML:e=>v.createHTML(e),protect:(e,t,o,r)=>r});const m=f,y=Object.freeze({get policy(){return f},setPolicy(e){if(f!==m)throw c.error(1201);f=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function s(){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 n(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:n,next:()=>new Promise(n),process:s,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,s=e=>{throw c.error(1101)};function n(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=s(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),n(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=n(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){s=e},getNotifier:n,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){n(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function S(e,t){B.defineProperty(e,t)}const P=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),C=Object.freeze({default:{index:0,length:0,get event(){return C.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>P.get(),setEvent(e){P.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class T extends F{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function z(e,t,o=B.isVolatileBinding(e)){return new T(e,t,o)}class N extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function A(e,t){return new N(e,t)}let I;p(N);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(I),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){I=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(),O=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function M(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{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)=>M(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){M(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){M(this,t.controller,t)}}O.define(H);const V=""+Math.random().toString(36).substring(2,8);let E=0;const R=()=>`--v${V}${++E}`;function _(e,t){const o=[];let r="";const a=[],s=e=>{a.push(e)};for(let a=0,n=e.length-1;a<n;++a){r+=e[a];let n=t[a];i(n)?n=new H(z(n),R()).createCSS(s):n instanceof F?n=new H(n,R()).createCSS(s):void 0!==O.getForInstance(n)&&(n=n.createCSS(s)),n instanceof L||n instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(n)):r+=n}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)}}O.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 s;if(-1===a)s=i;else{const e=i.substring(0,a);r.push(t[e]),s=i.substring(a+U)}""!==s&&r.push(s)}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)},s=a.cv;let n=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&&(s[o]=n,l.add(o))}}if(a.v=n+1,0!==n){n-=1;for(const e in s)s[e]===n&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){C.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);C.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 C.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 se=(e,t)=>`${e}.${t}`,ne={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,s;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!==(s=e.policy)&&void 0!==s?s: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=ne[t];if(!i){const r="_"+t;ne[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const s=o.attributes,n=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=Z.parse(h,n);let p=null;null===u?a&&(p=new re(A(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=se(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 s=Z.parse(t.textContent,e.directives);if(null===s)return le.node=t.nextSibling,le.index=i+1,le;let n,l=n=t;for(let t=0,c=s.length;t<c;++t){const c=s[t];0!==t&&(i++,r=se(o,i),n=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?n.textContent=c:(n.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=n}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const s=Z.parse(o.data,e.directives);null!==s&&e.addFactory(be.aggregate(s),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),s=new he(i,t,o);var n,l;return ue(s,"",r,"h",0,!0),n=i.firstChild,l=t,(n&&8==n.nodeType&&null!==Z.parse(n.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(s,i,"r"),le.node=null,s.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,s=void 0;const n=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,s=s||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<n;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=s?s:t;const c=new re(r);return ee.assignAspect(c,o),c}},ve=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,fe=Object.create(null);class me{constructor(e,t=fe){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=ve.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}me.empty=new me(""),ee.define(me);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 me(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),s=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 n,l=t[o];if(r+=a,i(l))l=new re(z(l));else if(l instanceof F)l=new re(l);else if(!(n=ee.getForInstance(l))){const e=l;l=new re(A(()=>e))}r+=ye(l,a,s,n)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new me(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 Se=e=>1===e.nodeType;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,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Ce 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 Ce(e)}ee.define(Ce);const Te=Object.freeze({locate:u()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ae={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class Ie{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=ze)}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(Te.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 Ie(e,r)):o.push(new Ie(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Le(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Te.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const De={mode:"open"},Oe={},Me=new Set,He=c.getById(r.elementRegistry,()=>h());class Ve{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=Ie.collect(e,t.attributes),s=new Array(i.length),n={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];s[e]=t.attribute,n[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=n,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?De:null===t.shadowOptions?void 0:Object.assign(Object.assign({},De),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Oe:Object.assign(Object.assign({},Oe),t.elementOptions),this.styles=L.normalize(t.styles),He.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 Me.has(e)||He.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Me.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Ee={bubbles:!0,composed:!0,cancelable:!0},Re=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Re.get(e))&&void 0!==o?o:null}let je;class Ge 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&&Re.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:C.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=_e(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=_e(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},Ee),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=_e(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=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new je(e,o)}static setStrategy(e){je=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}p(Ge),Ge.setStrategy(Ge);class Xe{constructor(e){const t=Xe.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=qe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=qe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Xe.styleSheetCache=new Map;let We=0;function Ue(e){return e===document?document.body:e}function Ye(e){const t=class extends e{constructor(){super(),Ge.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 Ve.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?Xe:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++We}addStylesTo(e){e=Ue(qe(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=Ue(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ke=Object.assign(Ye(HTMLElement),{from:function(e){return Ye(e)},define:function(e,t){return i(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return i(e)?Ve.compose(e,t):Ve.compose(this,e)}});function Qe(e){return e?"string"==typeof e?new me(e):"inline"in e?e.inline():e:me.empty}function Ze(e,t,o,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(s=(a<3?i(s):a>3?i(t,o,s):i(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s}class Je{}Ze([Le({attribute:"aria-atomic"})],Je.prototype,"ariaAtomic",void 0),Ze([Le({attribute:"aria-busy"})],Je.prototype,"ariaBusy",void 0),Ze([Le({attribute:"aria-controls"})],Je.prototype,"ariaControls",void 0),Ze([Le({attribute:"aria-current"})],Je.prototype,"ariaCurrent",void 0),Ze([Le({attribute:"aria-describedby"})],Je.prototype,"ariaDescribedby",void 0),Ze([Le({attribute:"aria-details"})],Je.prototype,"ariaDetails",void 0),Ze([Le({attribute:"aria-disabled"})],Je.prototype,"ariaDisabled",void 0),Ze([Le({attribute:"aria-errormessage"})],Je.prototype,"ariaErrormessage",void 0),Ze([Le({attribute:"aria-flowto"})],Je.prototype,"ariaFlowto",void 0),Ze([Le({attribute:"aria-haspopup"})],Je.prototype,"ariaHaspopup",void 0),Ze([Le({attribute:"aria-hidden"})],Je.prototype,"ariaHidden",void 0),Ze([Le({attribute:"aria-invalid"})],Je.prototype,"ariaInvalid",void 0),Ze([Le({attribute:"aria-keyshortcuts"})],Je.prototype,"ariaKeyshortcuts",void 0),Ze([Le({attribute:"aria-label"})],Je.prototype,"ariaLabel",void 0),Ze([Le({attribute:"aria-labelledby"})],Je.prototype,"ariaLabelledby",void 0),Ze([Le({attribute:"aria-live"})],Je.prototype,"ariaLive",void 0),Ze([Le({attribute:"aria-owns"})],Je.prototype,"ariaOwns",void 0),Ze([Le({attribute:"aria-relevant"})],Je.prototype,"ariaRelevant",void 0),Ze([Le({attribute:"aria-roledescription"})],Je.prototype,"ariaRoledescription",void 0);class et{}function tt(e){return xe`<slot name="end" ${we("end")}>${Qe(e.end)}</slot>`.inline()}function ot(e){return xe`<slot name="start" ${we("start")}>${Qe(e.start)}</slot>`.inline()}const rt={horizontal:"horizontal",vertical:"vertical"};var it;function at(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));let st=0;function nt(e=""){return`${e}${st++}`}function lt(e,...t){const o=Te.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Te.locate(t).forEach(e=>o.push(e))})}class ct extends Ke{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=nt("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ze([Le({attribute:"heading-level",mode:"fromView",converter:Ae})],ct.prototype,"headinglevel",void 0),Ze([Le({mode:"boolean"})],ct.prototype,"expanded",void 0),Ze([Le({mode:"boolean"})],ct.prototype,"disabled",void 0),Ze([Le],ct.prototype,"id",void 0),lt(ct,et);const dt="single",ht="multi";class ut extends Ke{constructor(){super(...arguments),this.expandmode=ht,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 ct&&(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 ct&&(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!==dt?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 ct&&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===dt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ct&&e.expandbutton.focus()}}Ze([Le({attribute:"expand-mode"})],ut.prototype,"expandmode",void 0),Ze([S],ut.prototype,"slottedAccordionItems",void 0);const pt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,gt=new WeakMap;function bt(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 pt}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!pt)return null;let e=gt.get(this);return e||(e=this.attachInternals(),gt.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 Le({mode:"boolean"})(t.prototype,"disabled"),Le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Le({attribute:"current-value"})(t.prototype,"currentValue"),Le(t.prototype,"name"),Le({mode:"boolean"})(t.prototype,"required"),S(t.prototype,"value"),t}class vt extends Ke{}class ft extends(bt(vt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const mt="submit",yt="reset";class kt extends ft{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===mt&&this.addEventListener("click",this.handleSubmission),e===mt&&this.removeEventListener("click",this.handleSubmission),t===yt&&this.addEventListener("click",this.handleFormReset),e===yt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Ze([Le({mode:"boolean"})],kt.prototype,"autofocus",void 0),Ze([Le({attribute:"form"})],kt.prototype,"formId",void 0),Ze([Le],kt.prototype,"formaction",void 0),Ze([Le],kt.prototype,"formenctype",void 0),Ze([Le],kt.prototype,"formmethod",void 0),Ze([Le({mode:"boolean"})],kt.prototype,"formnovalidate",void 0),Ze([Le],kt.prototype,"formtarget",void 0),Ze([Le],kt.prototype,"type",void 0),Ze([S],kt.prototype,"defaultSlottedContent",void 0);class xt{}function $t(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")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${tt(e)}</button>`}Ze([Le({attribute:"aria-expanded"})],xt.prototype,"ariaExpanded",void 0),Ze([Le({attribute:"aria-pressed"})],xt.prototype,"ariaPressed",void 0),lt(xt,Je),lt(kt,et,xt);class wt{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=wt.cache.get(e);return t||(t=new wt(e),wt.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)}}wt.cache=new WeakMap;class Bt{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 St{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 Pt{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=Pt.getAssignedTokensForNode(e),r=e.parent;do{const e=Pt.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Pt.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 Pt.isAssigned(e,t)?Pt.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(Pt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Pt.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=Pt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Pt.composeAssignedTokensForNode(this),a=Pt.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 St(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 St(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Pt.notify()}removeChild(e){if(e.parent===this){const t=Pt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new St(this,2,o));Pt.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=Pt.isAssigned(this,e)||Pt.isDerivedFor(this,e)?1:0,r=Pt.getLocalTokenValue(this,e);this._values.set(e,t),Pt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Pt.isDerivedTokenValue(t),a=Pt.collectDerivedContext(this);let s;if(i){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&Pt.queueNotification(new St(this,o,e,t)),this.dispatch(new St(this,o,e,t)),a.forEach((e,t)=>{if(!Pt.isDerivedFor(this,t)){Pt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Pt.queueNotification(new St(this,1,t,e.evaluator.value)),this.dispatch(new St(this,0,t,e.evaluator.value))}}),Pt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Pt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Pt.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(Pt.isAssigned(this,e)){const t=Pt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Pt.queueNotification(new St(this,2,e)),t!==o&&this.dispatch(new St(this,2,e)),Pt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Pt.isAssigned(this,i),s=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!s)return;2===e.type&&!a&&Pt.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Pt.queueNotification(new St(this,2,i))),s&&(e=new St(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:n}=e;if(n&&Pt.isDerivedTokenValue(n)){const t=wt.getOrCreate(n).dependencies;let o=!1;for(const e of t)if(Pt.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,n);if(t!==o.value){const r=new St(this,void 0===t?0:1,i,o.evaluator.value);Pt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Pt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Pt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new St(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(Pt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Pt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Bt(e,wt.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new St(this,1,r.token,r.evaluator.value);Pt.queueNotification(e),this.dispatch(e),Pt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Pt.getOrCreateDependencyGraph(this,t).add(r)}),r}}Pt._notifications=[];class Ct{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class Ft extends Ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Tt extends Ct{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 zt{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}}Ze([S],zt.prototype,"target",void 0);class Nt{setProperty(e,t){Nt.properties[e]=t;for(const o of Nt.roots.values())o.setProperty(e,t)}removeProperty(e){delete Nt.properties[e];for(const t of Nt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Nt;if(!t.has(e)){t.add(e);for(const t in Nt.properties)e.setProperty(t,Nt.properties[t])}}static unregisterRoot(e){const{roots:t}=Nt;if(t.has(e)){t.delete(e);for(const t in Nt.properties)e.removeProperty(t)}}}Nt.roots=new Set,Nt.properties={};const At=new WeakMap,It=L.supportsAdoptedStyleSheets?class extends Ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:zt,Lt=Object.freeze({getOrCreate(e){if(At.has(e))return At.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new Ft:new Tt:new It(e),At.set(e,t),t}});class Dt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Vt.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 Vt.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 Ot({name:e,cssCustomPropertyName:e}):Dt.isCSSDesignTokenConfiguration(e)?new Ot(e):new Dt(e)}static withStrategy(e){Vt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Lt.getOrCreate(e)),Nt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Lt.getOrCreate(e)),Nt.unregisterRoot(e)}getValueFor(e){return Vt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Vt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Vt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Vt.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 Dt&&(e=this.alias(e)),e}}let Ot=class extends Dt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Vt.defaultNode?Vt.rootStyleSheetTarget:t.target instanceof Vt?Lt.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 Mt;Ot=Ze([function(e){O.define(e)},function(e){ee.define(e,Mt)}],Ot);const Ht={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class Vt extends Pt{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&&Vt.withStrategy(Ht),this._strategy}connectedCallback(e){let t=Vt.findParent(e.source);if(null===t&&(t=Vt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Vt&&Vt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Vt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Vt.cache.get(e);return t||(t=new Vt(e),Vt.cache.set(e,t),e.$fastController.addBehavior(Vt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Vt.strategy.parent(e);for(;null!==t;){const e=Vt.cache.get(t);if(e)return e;t=Vt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Vt.defaultNode.appendChild(this),e.apply(this,t))}}Vt.defaultNode=new Pt,Vt.rootStyleSheetTarget=new Nt,Vt.cache=new WeakMap;const Et={separator:"separator",presentation:"presentation"},Rt=rt;class _t extends Ke{constructor(){super(...arguments),this.role=Et.separator,this.orientation=Rt.horizontal}}Ze([Le],_t.prototype,"role",void 0),Ze([Le],_t.prototype,"orientation",void 0);class jt extends Ke{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)}}Ze([Le({converter:Ae})],jt.prototype,"value",void 0),Ze([Le({converter:Ae})],jt.prototype,"min",void 0),Ze([Le({converter:Ae})],jt.prototype,"max",void 0),Ze([S],jt.prototype,"percentComplete",void 0);class Gt extends jt{}class qt extends jt{}const Xt=rt,Wt="single-value";function Ut(e,t,o,r){let i=at(0,1,(e-t)/(o-t));return r===it.rtl&&(i=1-i),i}class Yt extends Ke{}class Kt extends(bt(Yt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Qt extends Kt{constructor(){super(...arguments),this.direction=it.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Wt,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=at(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?it.rtl:it.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.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!==it.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-Ut(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Ut(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}Ze([Le({attribute:"readonly",mode:"boolean"})],Qt.prototype,"readOnly",void 0),Ze([S],Qt.prototype,"direction",void 0),Ze([S],Qt.prototype,"isDragging",void 0),Ze([S],Qt.prototype,"position",void 0),Ze([S],Qt.prototype,"trackWidth",void 0),Ze([S],Qt.prototype,"trackMinWidth",void 0),Ze([S],Qt.prototype,"trackHeight",void 0),Ze([S],Qt.prototype,"trackLeft",void 0),Ze([S],Qt.prototype,"trackMinHeight",void 0),Ze([S],Qt.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Ae})],Qt.prototype,"min",void 0),Ze([Le({converter:Ae})],Qt.prototype,"max",void 0),Ze([Le({converter:Ae})],Qt.prototype,"step",void 0),Ze([Le],Qt.prototype,"orientation",void 0),Ze([Le],Qt.prototype,"mode",void 0);class Zt extends Ke{}class Jt extends(function(e){class t extends(bt(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 Le({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Le({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),S(o.prototype,"defaultChecked"),S(o.prototype,"checked"),o}(Zt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class eo extends Jt{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)}}Ze([Le({attribute:"readonly",mode:"boolean"})],eo.prototype,"readOnly",void 0),Ze([S],eo.prototype,"defaultSlottedNodes",void 0);class to extends Ke{}class oo extends Ke{}Ze([Le({mode:"boolean"})],oo.prototype,"disabled",void 0),lt(oo,et);const ro=rt;class io extends Ke{constructor(){super(...arguments),this.orientation=ro.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-"+nt()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+nt()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===ro.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=at(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()}}Ze([Le],io.prototype,"orientation",void 0),Ze([Le],io.prototype,"activeid",void 0),Ze([S],io.prototype,"tabs",void 0),Ze([S],io.prototype,"tabpanels",void 0),lt(io,et);function ao(e){return`:host([hidden]){display:none}:host{display:${e}}`}class so extends ut{}const no=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:lo?e=>1===e.nodeType&&e.matches(lo):Se})}></slot></template>`;var lo;const co=j`
|
|
2
|
+
${ao("flex")}
|
|
3
3
|
|
|
4
|
-
:host{flex-direction:column;width:100%;contain:content}`,io=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),ao=eo.compose({name:io.prefix+"-accordion",template:to,styles:ro});class no extends lt{constructor(){super(...arguments),this.block=!1}}Ze([Le],no.prototype,"size",void 0),Ze([Le({mode:"boolean"})],no.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],no.prototype,"expandIconPosition",void 0);const so={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},lo={start:"start",end:"end"},{create:co}=It,ho=co("borderRadiusNone"),uo=co("borderRadiusSmall"),po=co("borderRadiusMedium"),go=co("borderRadiusLarge"),bo=co("borderRadiusXLarge"),vo=co("borderRadiusCircular"),mo=co("fontSizeBase100"),fo=co("fontSizeBase200"),yo=co("fontSizeBase300"),ko=co("fontSizeBase400"),xo=co("fontSizeBase500"),$o=co("fontSizeBase600"),Bo=co("fontSizeHero700"),wo=co("fontSizeHero800"),Po=co("fontSizeHero900"),So=co("fontSizeHero1000"),Co=co("lineHeightBase100"),Fo=co("lineHeightBase200"),No=co("lineHeightBase300"),zo=co("lineHeightBase400"),Ao=co("lineHeightBase500"),To=co("lineHeightBase600"),Io=co("lineHeightHero700"),Lo=co("lineHeightHero800"),Do=co("lineHeightHero900"),Mo=co("lineHeightHero1000"),Oo=co("fontFamilyBase"),Ho=co("fontFamilyMonospace"),Vo=co("fontFamilyNumeric"),Eo=co("fontWeightRegular"),Ro=co("fontWeightMedium"),_o=co("fontWeightSemibold"),jo=co("fontWeightBold"),Go=co("strokeWidthThin"),qo=co("strokeWidthThick"),Xo=co("strokeWidthThicker"),Wo=co("strokeWidthThickest"),Yo=co("spacingHorizontalNone"),Uo=co("spacingHorizontalXXS"),Ko=co("spacingHorizontalXS"),Qo=co("spacingHorizontalSNudge"),Zo=co("spacingHorizontalS"),Jo=co("spacingHorizontalMNudge"),er=co("spacingHorizontalM"),tr=co("spacingHorizontalL"),or=co("spacingHorizontalXL"),rr=co("spacingHorizontalXXL"),ir=co("spacingHorizontalXXXL"),ar=co("spacingVerticalNone"),nr=co("spacingVerticalXXS"),sr=co("spacingVerticalXS"),lr=co("spacingVerticalSNudge"),cr=co("spacingVerticalS"),dr=co("spacingVerticalMNudge"),hr=co("spacingVerticalM"),ur=co("spacingVerticalL"),pr=co("spacingVerticalXL"),gr=co("spacingVerticalXXL"),br=co("spacingVerticalXXXL"),vr=co("durationUltraFast"),mr=co("durationFaster"),fr=co("durationFast"),yr=co("durationNormal"),kr=co("durationSlow"),xr=co("durationSlower"),$r=co("durationUltraSlow"),Br=co("curveAccelerateMax"),wr=co("curveAccelerateMid"),Pr=co("curveAccelerateMin"),Sr=co("curveDecelerateMax"),Cr=co("curveDecelerateMid"),Fr=co("curveDecelerateMin"),Nr=co("curveEasyEaseMax"),zr=co("curveEasyEase"),Ar=co("curveLinear"),Tr=co("colorNeutralForeground1"),Ir=co("colorNeutralForeground1Hover"),Lr=co("colorNeutralForeground1Pressed"),Dr=co("colorNeutralForeground1Selected"),Mr=co("colorNeutralForeground2"),Or=co("colorNeutralForeground2Hover"),Hr=co("colorNeutralForeground2Pressed"),Vr=co("colorNeutralForeground2Selected"),Er=co("colorNeutralForeground2BrandHover"),Rr=co("colorNeutralForeground2BrandPressed"),_r=co("colorNeutralForeground2BrandSelected"),jr=co("colorNeutralForeground3"),Gr=co("colorNeutralForeground3Hover"),qr=co("colorNeutralForeground3Pressed"),Xr=co("colorNeutralForeground3Selected"),Wr=co("colorNeutralForeground3BrandHover"),Yr=co("colorNeutralForeground3BrandPressed"),Ur=co("colorNeutralForeground3BrandSelected"),Kr=co("colorNeutralForeground4"),Qr=co("colorNeutralForegroundDisabled"),Zr=co("colorNeutralForegroundInvertedDisabled"),Jr=co("colorBrandForegroundLink"),ei=co("colorBrandForegroundLinkHover"),ti=co("colorBrandForegroundLinkPressed"),oi=co("colorBrandForegroundLinkSelected"),ri=co("colorNeutralForeground2Link"),ii=co("colorNeutralForeground2LinkHover"),ai=co("colorNeutralForeground2LinkPressed"),ni=co("colorNeutralForeground2LinkSelected"),si=co("colorCompoundBrandForeground1"),li=co("colorCompoundBrandForeground1Hover"),ci=co("colorCompoundBrandForeground1Pressed"),di=co("colorBrandForeground1"),hi=co("colorBrandForeground2"),ui=co("colorNeutralForeground1Static"),pi=co("colorNeutralForegroundStaticInverted"),gi=co("colorNeutralForegroundInverted"),bi=co("colorNeutralForegroundInvertedHover"),vi=co("colorNeutralForegroundInvertedPressed"),mi=co("colorNeutralForegroundInvertedSelected"),fi=co("colorNeutralForegroundInverted2"),yi=co("colorNeutralForegroundOnBrand"),ki=co("colorNeutralForegroundInvertedLink"),xi=co("colorNeutralForegroundInvertedLinkHover"),$i=co("colorNeutralForegroundInvertedLinkPressed"),Bi=co("colorNeutralForegroundInvertedLinkSelected"),wi=co("colorBrandForegroundInverted"),Pi=co("colorBrandForegroundInvertedHover"),Si=co("colorBrandForegroundInvertedPressed"),Ci=co("colorBrandForegroundOnLight"),Fi=co("colorBrandForegroundOnLightHover"),Ni=co("colorBrandForegroundOnLightPressed"),zi=co("colorBrandForegroundOnLightSelected"),Ai=co("colorNeutralBackground1"),Ti=co("colorNeutralBackground1Hover"),Ii=co("colorNeutralBackground1Pressed"),Li=co("colorNeutralBackground1Selected"),Di=co("colorNeutralBackground2"),Mi=co("colorNeutralBackground2Hover"),Oi=co("colorNeutralBackground2Pressed"),Hi=co("colorNeutralBackground2Selected"),Vi=co("colorNeutralBackground3"),Ei=co("colorNeutralBackground3Hover"),Ri=co("colorNeutralBackground3Pressed"),_i=co("colorNeutralBackground3Selected"),ji=co("colorNeutralBackground4"),Gi=co("colorNeutralBackground4Hover"),qi=co("colorNeutralBackground4Pressed"),Xi=co("colorNeutralBackground4Selected"),Wi=co("colorNeutralBackground5"),Yi=co("colorNeutralBackground5Hover"),Ui=co("colorNeutralBackground5Pressed"),Ki=co("colorNeutralBackground5Selected"),Qi=co("colorNeutralBackground6"),Zi=co("colorNeutralBackgroundInverted"),Ji=co("colorNeutralBackgroundStatic"),ea=co("colorSubtleBackground"),ta=co("colorSubtleBackgroundHover"),oa=co("colorSubtleBackgroundPressed"),ra=co("colorSubtleBackgroundSelected"),ia=co("colorSubtleBackgroundLightAlphaHover"),aa=co("colorSubtleBackgroundLightAlphaPressed"),na=co("colorSubtleBackgroundLightAlphaSelected"),sa=co("colorSubtleBackgroundInverted"),la=co("colorSubtleBackgroundInvertedHover"),ca=co("colorSubtleBackgroundInvertedPressed"),da=co("colorSubtleBackgroundInvertedSelected"),ha=co("colorTransparentBackground"),ua=co("colorTransparentBackgroundHover"),pa=co("colorTransparentBackgroundPressed"),ga=co("colorTransparentBackgroundSelected"),ba=co("colorNeutralBackgroundDisabled"),va=co("colorNeutralBackgroundInvertedDisabled"),ma=co("colorNeutralStencil1"),fa=co("colorNeutralStencil2"),ya=co("colorNeutralStencil1Alpha"),ka=co("colorNeutralStencil2Alpha"),xa=co("colorBackgroundOverlay"),$a=co("colorScrollbarOverlay"),Ba=co("colorBrandBackground"),wa=co("colorBrandBackgroundHover"),Pa=co("colorBrandBackgroundPressed"),Sa=co("colorBrandBackgroundSelected"),Ca=co("colorCompoundBrandBackground"),Fa=co("colorCompoundBrandBackgroundHover"),Na=co("colorCompoundBrandBackgroundPressed"),za=co("colorBrandBackgroundStatic"),Aa=co("colorBrandBackground2"),Ta=co("colorBrandBackgroundInverted"),Ia=co("colorBrandBackgroundInvertedHover"),La=co("colorBrandBackgroundInvertedPressed"),Da=co("colorBrandBackgroundInvertedSelected"),Ma=co("colorNeutralStrokeAccessible"),Oa=co("colorNeutralStrokeAccessibleHover"),Ha=co("colorNeutralStrokeAccessiblePressed"),Va=co("colorNeutralStrokeAccessibleSelected"),Ea=co("colorNeutralStroke1"),Ra=co("colorNeutralStroke1Hover"),_a=co("colorNeutralStroke1Pressed"),ja=co("colorNeutralStroke1Selected"),Ga=co("colorNeutralStroke2"),qa=co("colorNeutralStroke3"),Xa=co("colorNeutralStrokeOnBrand"),Wa=co("colorNeutralStrokeOnBrand2"),Ya=co("colorNeutralStrokeOnBrand2Hover"),Ua=co("colorNeutralStrokeOnBrand2Pressed"),Ka=co("colorNeutralStrokeOnBrand2Selected"),Qa=co("colorBrandStroke1"),Za=co("colorBrandStroke2"),Ja=co("colorCompoundBrandStroke"),en=co("colorCompoundBrandStrokeHover"),tn=co("colorCompoundBrandStrokePressed"),on=co("colorNeutralStrokeDisabled"),rn=co("colorNeutralStrokeInvertedDisabled"),an=co("colorTransparentStroke"),nn=co("colorTransparentStrokeInteractive"),sn=co("colorTransparentStrokeDisabled"),ln=co("colorStrokeFocus1"),cn=co("colorStrokeFocus2"),dn=co("colorNeutralShadowAmbient"),hn=co("colorNeutralShadowKey"),un=co("colorNeutralShadowAmbientLighter"),pn=co("colorNeutralShadowKeyLighter"),gn=co("colorNeutralShadowAmbientDarker"),bn=co("colorNeutralShadowKeyDarker"),vn=co("colorBrandShadowAmbient"),mn=co("colorBrandShadowKey"),fn=co("colorPaletteRedBackground1"),yn=co("colorPaletteRedBackground2"),kn=co("colorPaletteRedBackground3"),xn=co("colorPaletteRedForeground1"),$n=co("colorPaletteRedForeground2"),Bn=co("colorPaletteRedForeground3"),wn=co("colorPaletteRedBorderActive"),Pn=co("colorPaletteRedBorder1"),Sn=co("colorPaletteRedBorder2"),Cn=co("colorPaletteGreenBackground1"),Fn=co("colorPaletteGreenBackground2"),Nn=co("colorPaletteGreenBackground3"),zn=co("colorPaletteGreenForeground1"),An=co("colorPaletteGreenForeground2"),Tn=co("colorPaletteGreenForeground3"),In=co("colorPaletteGreenBorderActive"),Ln=co("colorPaletteGreenBorder1"),Dn=co("colorPaletteGreenBorder2"),Mn=co("colorPaletteDarkOrangeBackground1"),On=co("colorPaletteDarkOrangeBackground2"),Hn=co("colorPaletteDarkOrangeBackground3"),Vn=co("colorPaletteDarkOrangeForeground1"),En=co("colorPaletteDarkOrangeForeground2"),Rn=co("colorPaletteDarkOrangeForeground3"),_n=co("colorPaletteDarkOrangeBorderActive"),jn=co("colorPaletteDarkOrangeBorder1"),Gn=co("colorPaletteDarkOrangeBorder2"),qn=co("colorPaletteYellowBackground1"),Xn=co("colorPaletteYellowBackground2"),Wn=co("colorPaletteYellowBackground3"),Yn=co("colorPaletteYellowForeground1"),Un=co("colorPaletteYellowForeground2"),Kn=co("colorPaletteYellowForeground3"),Qn=co("colorPaletteYellowBorderActive"),Zn=co("colorPaletteYellowBorder1"),Jn=co("colorPaletteYellowBorder2"),es=co("colorPaletteBerryBackground1"),ts=co("colorPaletteBerryBackground2"),os=co("colorPaletteBerryBackground3"),rs=co("colorPaletteBerryForeground1"),is=co("colorPaletteBerryForeground2"),as=co("colorPaletteBerryForeground3"),ns=co("colorPaletteBerryBorderActive"),ss=co("colorPaletteBerryBorder1"),ls=co("colorPaletteBerryBorder2"),cs=co("colorPaletteLightGreenBackground1"),ds=co("colorPaletteLightGreenBackground2"),hs=co("colorPaletteLightGreenBackground3"),us=co("colorPaletteLightGreenForeground1"),ps=co("colorPaletteLightGreenForeground2"),gs=co("colorPaletteLightGreenForeground3"),bs=co("colorPaletteLightGreenBorderActive"),vs=co("colorPaletteLightGreenBorder1"),ms=co("colorPaletteLightGreenBorder2"),fs=co("colorPaletteMarigoldBackground1"),ys=co("colorPaletteMarigoldBackground2"),ks=co("colorPaletteMarigoldBackground3"),xs=co("colorPaletteMarigoldForeground1"),$s=co("colorPaletteMarigoldForeground2"),Bs=co("colorPaletteMarigoldForeground3"),ws=co("colorPaletteMarigoldBorderActive"),Ps=co("colorPaletteMarigoldBorder1"),Ss=co("colorPaletteMarigoldBorder2"),Cs=co("colorPaletteDarkRedBackground2"),Fs=co("colorPaletteDarkRedForeground2"),Ns=co("colorPaletteDarkRedBorderActive"),zs=co("colorPaletteCranberryBackground2"),As=co("colorPaletteCranberryForeground2"),Ts=co("colorPaletteCranberryBorderActive"),Is=co("colorPalettePumpkinBackground2"),Ls=co("colorPalettePumpkinForeground2"),Ds=co("colorPalettePumpkinBorderActive"),Ms=co("colorPalettePeachBackground2"),Os=co("colorPalettePeachForeground2"),Hs=co("colorPalettePeachBorderActive"),Vs=co("colorPaletteGoldBackground2"),Es=co("colorPaletteGoldForeground2"),Rs=co("colorPaletteGoldBorderActive"),_s=co("colorPaletteBrassBackground2"),js=co("colorPaletteBrassForeground2"),Gs=co("colorPaletteBrassBorderActive"),qs=co("colorPaletteBrownBackground2"),Xs=co("colorPaletteBrownForeground2"),Ws=co("colorPaletteBrownBorderActive"),Ys=co("colorPaletteForestBackground2"),Us=co("colorPaletteForestForeground2"),Ks=co("colorPaletteForestBorderActive"),Qs=co("colorPaletteSeafoamBackground2"),Zs=co("colorPaletteSeafoamForeground2"),Js=co("colorPaletteSeafoamBorderActive"),el=co("colorPaletteDarkGreenBackground2"),tl=co("colorPaletteDarkGreenForeground2"),ol=co("colorPaletteDarkGreenBorderActive"),rl=co("colorPaletteLightTealBackground2"),il=co("colorPaletteLightTealForeground2"),al=co("colorPaletteLightTealBorderActive"),nl=co("colorPaletteTealBackground2"),sl=co("colorPaletteTealForeground2"),ll=co("colorPaletteTealBorderActive"),cl=co("colorPaletteSteelBackground2"),dl=co("colorPaletteSteelForeground2"),hl=co("colorPaletteSteelBorderActive"),ul=co("colorPaletteBlueBackground2"),pl=co("colorPaletteBlueForeground2"),gl=co("colorPaletteBlueBorderActive"),bl=co("colorPaletteRoyalBlueBackground2"),vl=co("colorPaletteRoyalBlueForeground2"),ml=co("colorPaletteRoyalBlueBorderActive"),fl=co("colorPaletteCornflowerBackground2"),yl=co("colorPaletteCornflowerForeground2"),kl=co("colorPaletteCornflowerBorderActive"),xl=co("colorPaletteNavyBackground2"),$l=co("colorPaletteNavyForeground2"),Bl=co("colorPaletteNavyBorderActive"),wl=co("colorPaletteLavenderBackground2"),Pl=co("colorPaletteLavenderForeground2"),Sl=co("colorPaletteLavenderBorderActive"),Cl=co("colorPalettePurpleBackground2"),Fl=co("colorPalettePurpleForeground2"),Nl=co("colorPalettePurpleBorderActive"),zl=co("colorPaletteGrapeBackground2"),Al=co("colorPaletteGrapeForeground2"),Tl=co("colorPaletteGrapeBorderActive"),Il=co("colorPaletteLilacBackground2"),Ll=co("colorPaletteLilacForeground2"),Dl=co("colorPaletteLilacBorderActive"),Ml=co("colorPalettePinkBackground2"),Ol=co("colorPalettePinkForeground2"),Hl=co("colorPalettePinkBorderActive"),Vl=co("colorPaletteMagentaBackground2"),El=co("colorPaletteMagentaForeground2"),Rl=co("colorPaletteMagentaBorderActive"),_l=co("colorPalettePlumBackground2"),jl=co("colorPalettePlumForeground2"),Gl=co("colorPalettePlumBorderActive"),ql=co("colorPaletteBeigeBackground2"),Xl=co("colorPaletteBeigeForeground2"),Wl=co("colorPaletteBeigeBorderActive"),Yl=co("colorPaletteMinkBackground2"),Ul=co("colorPaletteMinkForeground2"),Kl=co("colorPaletteMinkBorderActive"),Ql=co("colorPalettePlatinumBackground2"),Zl=co("colorPalettePlatinumForeground2"),Jl=co("colorPalettePlatinumBorderActive"),ec=co("colorPaletteAnchorBackground2"),tc=co("colorPaletteAnchorForeground2"),oc=co("colorPaletteAnchorBorderActive"),rc=co("colorPaletteRedForegroundInverted"),ic=co("colorPaletteGreenForegroundInverted"),ac=co("colorPaletteYellowForegroundInverted"),nc=co("shadow2"),sc=co("shadow4"),lc=co("shadow8"),cc=co("shadow16"),dc=co("shadow28"),hc=co("shadow64"),uc=co("shadow2Brand"),pc=co("shadow4Brand"),gc=co("shadow8Brand"),bc=co("shadow16Brand"),vc=co("shadow28Brand"),mc=co("shadow64Brand");var fc=Object.freeze({__proto__:null,borderRadiusNone:ho,borderRadiusSmall:uo,borderRadiusMedium:po,borderRadiusLarge:go,borderRadiusXLarge:bo,borderRadiusCircular:vo,fontSizeBase100:mo,fontSizeBase200:fo,fontSizeBase300:yo,fontSizeBase400:ko,fontSizeBase500:xo,fontSizeBase600:$o,fontSizeHero700:Bo,fontSizeHero800:wo,fontSizeHero900:Po,fontSizeHero1000:So,lineHeightBase100:Co,lineHeightBase200:Fo,lineHeightBase300:No,lineHeightBase400:zo,lineHeightBase500:Ao,lineHeightBase600:To,lineHeightHero700:Io,lineHeightHero800:Lo,lineHeightHero900:Do,lineHeightHero1000:Mo,fontFamilyBase:Oo,fontFamilyMonospace:Ho,fontFamilyNumeric:Vo,fontWeightRegular:Eo,fontWeightMedium:Ro,fontWeightSemibold:_o,fontWeightBold:jo,strokeWidthThin:Go,strokeWidthThick:qo,strokeWidthThicker:Xo,strokeWidthThickest:Wo,spacingHorizontalNone:Yo,spacingHorizontalXXS:Uo,spacingHorizontalXS:Ko,spacingHorizontalSNudge:Qo,spacingHorizontalS:Zo,spacingHorizontalMNudge:Jo,spacingHorizontalM:er,spacingHorizontalL:tr,spacingHorizontalXL:or,spacingHorizontalXXL:rr,spacingHorizontalXXXL:ir,spacingVerticalNone:ar,spacingVerticalXXS:nr,spacingVerticalXS:sr,spacingVerticalSNudge:lr,spacingVerticalS:cr,spacingVerticalMNudge:dr,spacingVerticalM:hr,spacingVerticalL:ur,spacingVerticalXL:pr,spacingVerticalXXL:gr,spacingVerticalXXXL:br,durationUltraFast:vr,durationFaster:mr,durationFast:fr,durationNormal:yr,durationSlow:kr,durationSlower:xr,durationUltraSlow:$r,curveAccelerateMax:Br,curveAccelerateMid:wr,curveAccelerateMin:Pr,curveDecelerateMax:Sr,curveDecelerateMid:Cr,curveDecelerateMin:Fr,curveEasyEaseMax:Nr,curveEasyEase:zr,curveLinear:Ar,colorNeutralForeground1:Tr,colorNeutralForeground1Hover:Ir,colorNeutralForeground1Pressed:Lr,colorNeutralForeground1Selected:Dr,colorNeutralForeground2:Mr,colorNeutralForeground2Hover:Or,colorNeutralForeground2Pressed:Hr,colorNeutralForeground2Selected:Vr,colorNeutralForeground2BrandHover:Er,colorNeutralForeground2BrandPressed:Rr,colorNeutralForeground2BrandSelected:_r,colorNeutralForeground3:jr,colorNeutralForeground3Hover:Gr,colorNeutralForeground3Pressed:qr,colorNeutralForeground3Selected:Xr,colorNeutralForeground3BrandHover:Wr,colorNeutralForeground3BrandPressed:Yr,colorNeutralForeground3BrandSelected:Ur,colorNeutralForeground4:Kr,colorNeutralForegroundDisabled:Qr,colorNeutralForegroundInvertedDisabled:Zr,colorBrandForegroundLink:Jr,colorBrandForegroundLinkHover:ei,colorBrandForegroundLinkPressed:ti,colorBrandForegroundLinkSelected:oi,colorNeutralForeground2Link:ri,colorNeutralForeground2LinkHover:ii,colorNeutralForeground2LinkPressed:ai,colorNeutralForeground2LinkSelected:ni,colorCompoundBrandForeground1:si,colorCompoundBrandForeground1Hover:li,colorCompoundBrandForeground1Pressed:ci,colorBrandForeground1:di,colorBrandForeground2:hi,colorNeutralForeground1Static:ui,colorNeutralForegroundStaticInverted:pi,colorNeutralForegroundInverted:gi,colorNeutralForegroundInvertedHover:bi,colorNeutralForegroundInvertedPressed:vi,colorNeutralForegroundInvertedSelected:mi,colorNeutralForegroundInverted2:fi,colorNeutralForegroundOnBrand:yi,colorNeutralForegroundInvertedLink:ki,colorNeutralForegroundInvertedLinkHover:xi,colorNeutralForegroundInvertedLinkPressed:$i,colorNeutralForegroundInvertedLinkSelected:Bi,colorBrandForegroundInverted:wi,colorBrandForegroundInvertedHover:Pi,colorBrandForegroundInvertedPressed:Si,colorBrandForegroundOnLight:Ci,colorBrandForegroundOnLightHover:Fi,colorBrandForegroundOnLightPressed:Ni,colorBrandForegroundOnLightSelected:zi,colorNeutralBackground1:Ai,colorNeutralBackground1Hover:Ti,colorNeutralBackground1Pressed:Ii,colorNeutralBackground1Selected:Li,colorNeutralBackground2:Di,colorNeutralBackground2Hover:Mi,colorNeutralBackground2Pressed:Oi,colorNeutralBackground2Selected:Hi,colorNeutralBackground3:Vi,colorNeutralBackground3Hover:Ei,colorNeutralBackground3Pressed:Ri,colorNeutralBackground3Selected:_i,colorNeutralBackground4:ji,colorNeutralBackground4Hover:Gi,colorNeutralBackground4Pressed:qi,colorNeutralBackground4Selected:Xi,colorNeutralBackground5:Wi,colorNeutralBackground5Hover:Yi,colorNeutralBackground5Pressed:Ui,colorNeutralBackground5Selected:Ki,colorNeutralBackground6:Qi,colorNeutralBackgroundInverted:Zi,colorNeutralBackgroundStatic:Ji,colorSubtleBackground:ea,colorSubtleBackgroundHover:ta,colorSubtleBackgroundPressed:oa,colorSubtleBackgroundSelected:ra,colorSubtleBackgroundLightAlphaHover:ia,colorSubtleBackgroundLightAlphaPressed:aa,colorSubtleBackgroundLightAlphaSelected:na,colorSubtleBackgroundInverted:sa,colorSubtleBackgroundInvertedHover:la,colorSubtleBackgroundInvertedPressed:ca,colorSubtleBackgroundInvertedSelected:da,colorTransparentBackground:ha,colorTransparentBackgroundHover:ua,colorTransparentBackgroundPressed:pa,colorTransparentBackgroundSelected:ga,colorNeutralBackgroundDisabled:ba,colorNeutralBackgroundInvertedDisabled:va,colorNeutralStencil1:ma,colorNeutralStencil2:fa,colorNeutralStencil1Alpha:ya,colorNeutralStencil2Alpha:ka,colorBackgroundOverlay:xa,colorScrollbarOverlay:$a,colorBrandBackground:Ba,colorBrandBackgroundHover:wa,colorBrandBackgroundPressed:Pa,colorBrandBackgroundSelected:Sa,colorCompoundBrandBackground:Ca,colorCompoundBrandBackgroundHover:Fa,colorCompoundBrandBackgroundPressed:Na,colorBrandBackgroundStatic:za,colorBrandBackground2:Aa,colorBrandBackgroundInverted:Ta,colorBrandBackgroundInvertedHover:Ia,colorBrandBackgroundInvertedPressed:La,colorBrandBackgroundInvertedSelected:Da,colorNeutralStrokeAccessible:Ma,colorNeutralStrokeAccessibleHover:Oa,colorNeutralStrokeAccessiblePressed:Ha,colorNeutralStrokeAccessibleSelected:Va,colorNeutralStroke1:Ea,colorNeutralStroke1Hover:Ra,colorNeutralStroke1Pressed:_a,colorNeutralStroke1Selected:ja,colorNeutralStroke2:Ga,colorNeutralStroke3:qa,colorNeutralStrokeOnBrand:Xa,colorNeutralStrokeOnBrand2:Wa,colorNeutralStrokeOnBrand2Hover:Ya,colorNeutralStrokeOnBrand2Pressed:Ua,colorNeutralStrokeOnBrand2Selected:Ka,colorBrandStroke1:Qa,colorBrandStroke2:Za,colorCompoundBrandStroke:Ja,colorCompoundBrandStrokeHover:en,colorCompoundBrandStrokePressed:tn,colorNeutralStrokeDisabled:on,colorNeutralStrokeInvertedDisabled:rn,colorTransparentStroke:an,colorTransparentStrokeInteractive:nn,colorTransparentStrokeDisabled:sn,colorStrokeFocus1:ln,colorStrokeFocus2:cn,colorNeutralShadowAmbient:dn,colorNeutralShadowKey:hn,colorNeutralShadowAmbientLighter:un,colorNeutralShadowKeyLighter:pn,colorNeutralShadowAmbientDarker:gn,colorNeutralShadowKeyDarker:bn,colorBrandShadowAmbient:vn,colorBrandShadowKey:mn,colorPaletteRedBackground1:fn,colorPaletteRedBackground2:yn,colorPaletteRedBackground3:kn,colorPaletteRedForeground1:xn,colorPaletteRedForeground2:$n,colorPaletteRedForeground3:Bn,colorPaletteRedBorderActive:wn,colorPaletteRedBorder1:Pn,colorPaletteRedBorder2:Sn,colorPaletteGreenBackground1:Cn,colorPaletteGreenBackground2:Fn,colorPaletteGreenBackground3:Nn,colorPaletteGreenForeground1:zn,colorPaletteGreenForeground2:An,colorPaletteGreenForeground3:Tn,colorPaletteGreenBorderActive:In,colorPaletteGreenBorder1:Ln,colorPaletteGreenBorder2:Dn,colorPaletteDarkOrangeBackground1:Mn,colorPaletteDarkOrangeBackground2:On,colorPaletteDarkOrangeBackground3:Hn,colorPaletteDarkOrangeForeground1:Vn,colorPaletteDarkOrangeForeground2:En,colorPaletteDarkOrangeForeground3:Rn,colorPaletteDarkOrangeBorderActive:_n,colorPaletteDarkOrangeBorder1:jn,colorPaletteDarkOrangeBorder2:Gn,colorPaletteYellowBackground1:qn,colorPaletteYellowBackground2:Xn,colorPaletteYellowBackground3:Wn,colorPaletteYellowForeground1:Yn,colorPaletteYellowForeground2:Un,colorPaletteYellowForeground3:Kn,colorPaletteYellowBorderActive:Qn,colorPaletteYellowBorder1:Zn,colorPaletteYellowBorder2:Jn,colorPaletteBerryBackground1:es,colorPaletteBerryBackground2:ts,colorPaletteBerryBackground3:os,colorPaletteBerryForeground1:rs,colorPaletteBerryForeground2:is,colorPaletteBerryForeground3:as,colorPaletteBerryBorderActive:ns,colorPaletteBerryBorder1:ss,colorPaletteBerryBorder2:ls,colorPaletteLightGreenBackground1:cs,colorPaletteLightGreenBackground2:ds,colorPaletteLightGreenBackground3:hs,colorPaletteLightGreenForeground1:us,colorPaletteLightGreenForeground2:ps,colorPaletteLightGreenForeground3:gs,colorPaletteLightGreenBorderActive:bs,colorPaletteLightGreenBorder1:vs,colorPaletteLightGreenBorder2:ms,colorPaletteMarigoldBackground1:fs,colorPaletteMarigoldBackground2:ys,colorPaletteMarigoldBackground3:ks,colorPaletteMarigoldForeground1:xs,colorPaletteMarigoldForeground2:$s,colorPaletteMarigoldForeground3:Bs,colorPaletteMarigoldBorderActive:ws,colorPaletteMarigoldBorder1:Ps,colorPaletteMarigoldBorder2:Ss,colorPaletteDarkRedBackground2:Cs,colorPaletteDarkRedForeground2:Fs,colorPaletteDarkRedBorderActive:Ns,colorPaletteCranberryBackground2:zs,colorPaletteCranberryForeground2:As,colorPaletteCranberryBorderActive:Ts,colorPalettePumpkinBackground2:Is,colorPalettePumpkinForeground2:Ls,colorPalettePumpkinBorderActive:Ds,colorPalettePeachBackground2:Ms,colorPalettePeachForeground2:Os,colorPalettePeachBorderActive:Hs,colorPaletteGoldBackground2:Vs,colorPaletteGoldForeground2:Es,colorPaletteGoldBorderActive:Rs,colorPaletteBrassBackground2:_s,colorPaletteBrassForeground2:js,colorPaletteBrassBorderActive:Gs,colorPaletteBrownBackground2:qs,colorPaletteBrownForeground2:Xs,colorPaletteBrownBorderActive:Ws,colorPaletteForestBackground2:Ys,colorPaletteForestForeground2:Us,colorPaletteForestBorderActive:Ks,colorPaletteSeafoamBackground2:Qs,colorPaletteSeafoamForeground2:Zs,colorPaletteSeafoamBorderActive:Js,colorPaletteDarkGreenBackground2:el,colorPaletteDarkGreenForeground2:tl,colorPaletteDarkGreenBorderActive:ol,colorPaletteLightTealBackground2:rl,colorPaletteLightTealForeground2:il,colorPaletteLightTealBorderActive:al,colorPaletteTealBackground2:nl,colorPaletteTealForeground2:sl,colorPaletteTealBorderActive:ll,colorPaletteSteelBackground2:cl,colorPaletteSteelForeground2:dl,colorPaletteSteelBorderActive:hl,colorPaletteBlueBackground2:ul,colorPaletteBlueForeground2:pl,colorPaletteBlueBorderActive:gl,colorPaletteRoyalBlueBackground2:bl,colorPaletteRoyalBlueForeground2:vl,colorPaletteRoyalBlueBorderActive:ml,colorPaletteCornflowerBackground2:fl,colorPaletteCornflowerForeground2:yl,colorPaletteCornflowerBorderActive:kl,colorPaletteNavyBackground2:xl,colorPaletteNavyForeground2:$l,colorPaletteNavyBorderActive:Bl,colorPaletteLavenderBackground2:wl,colorPaletteLavenderForeground2:Pl,colorPaletteLavenderBorderActive:Sl,colorPalettePurpleBackground2:Cl,colorPalettePurpleForeground2:Fl,colorPalettePurpleBorderActive:Nl,colorPaletteGrapeBackground2:zl,colorPaletteGrapeForeground2:Al,colorPaletteGrapeBorderActive:Tl,colorPaletteLilacBackground2:Il,colorPaletteLilacForeground2:Ll,colorPaletteLilacBorderActive:Dl,colorPalettePinkBackground2:Ml,colorPalettePinkForeground2:Ol,colorPalettePinkBorderActive:Hl,colorPaletteMagentaBackground2:Vl,colorPaletteMagentaForeground2:El,colorPaletteMagentaBorderActive:Rl,colorPalettePlumBackground2:_l,colorPalettePlumForeground2:jl,colorPalettePlumBorderActive:Gl,colorPaletteBeigeBackground2:ql,colorPaletteBeigeForeground2:Xl,colorPaletteBeigeBorderActive:Wl,colorPaletteMinkBackground2:Yl,colorPaletteMinkForeground2:Ul,colorPaletteMinkBorderActive:Kl,colorPalettePlatinumBackground2:Ql,colorPalettePlatinumForeground2:Zl,colorPalettePlatinumBorderActive:Jl,colorPaletteAnchorBackground2:ec,colorPaletteAnchorForeground2:tc,colorPaletteAnchorBorderActive:oc,colorPaletteRedForegroundInverted:rc,colorPaletteGreenForegroundInverted:ic,colorPaletteYellowForegroundInverted:ac,shadow2:nc,shadow4:sc,shadow8:lc,shadow16:cc,shadow28:dc,shadow64:hc,shadow2Brand:uc,shadow4Brand:pc,shadow8Brand:gc,shadow16Brand:bc,shadow28Brand:vc,shadow64Brand:mc});const yc=j`
|
|
5
|
-
${
|
|
4
|
+
:host{flex-direction:column;width:100%;contain:content}`,ho=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),uo=so.compose({name:ho.prefix+"-accordion",template:no,styles:co});class po extends ct{constructor(){super(...arguments),this.block=!1}}Ze([Le],po.prototype,"size",void 0),Ze([Le({mode:"boolean"})],po.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],po.prototype,"expandIconPosition",void 0);const go={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},bo={start:"start",end:"end"},{create:vo}=Dt,fo=vo("borderRadiusNone"),mo=vo("borderRadiusSmall"),yo=vo("borderRadiusMedium"),ko=vo("borderRadiusLarge"),xo=vo("borderRadiusXLarge"),$o=vo("borderRadiusCircular"),wo=vo("fontSizeBase100"),Bo=vo("fontSizeBase200"),So=vo("fontSizeBase300"),Po=vo("fontSizeBase400"),Co=vo("fontSizeBase500"),Fo=vo("fontSizeBase600"),To=vo("fontSizeHero700"),zo=vo("fontSizeHero800"),No=vo("fontSizeHero900"),Ao=vo("fontSizeHero1000"),Io=vo("lineHeightBase100"),Lo=vo("lineHeightBase200"),Do=vo("lineHeightBase300"),Oo=vo("lineHeightBase400"),Mo=vo("lineHeightBase500"),Ho=vo("lineHeightBase600"),Vo=vo("lineHeightHero700"),Eo=vo("lineHeightHero800"),Ro=vo("lineHeightHero900"),_o=vo("lineHeightHero1000"),jo=vo("fontFamilyBase"),Go=vo("fontFamilyMonospace"),qo=vo("fontFamilyNumeric"),Xo=vo("fontWeightRegular"),Wo=vo("fontWeightMedium"),Uo=vo("fontWeightSemibold"),Yo=vo("fontWeightBold"),Ko=vo("strokeWidthThin"),Qo=vo("strokeWidthThick"),Zo=vo("strokeWidthThicker"),Jo=vo("strokeWidthThickest"),er=vo("spacingHorizontalNone"),tr=vo("spacingHorizontalXXS"),or=vo("spacingHorizontalXS"),rr=vo("spacingHorizontalSNudge"),ir=vo("spacingHorizontalS"),ar=vo("spacingHorizontalMNudge"),sr=vo("spacingHorizontalM"),nr=vo("spacingHorizontalL"),lr=vo("spacingHorizontalXL"),cr=vo("spacingHorizontalXXL"),dr=vo("spacingHorizontalXXXL"),hr=vo("spacingVerticalNone"),ur=vo("spacingVerticalXXS"),pr=vo("spacingVerticalXS"),gr=vo("spacingVerticalSNudge"),br=vo("spacingVerticalS"),vr=vo("spacingVerticalMNudge"),fr=vo("spacingVerticalM"),mr=vo("spacingVerticalL"),yr=vo("spacingVerticalXL"),kr=vo("spacingVerticalXXL"),xr=vo("spacingVerticalXXXL"),$r=vo("durationUltraFast"),wr=vo("durationFaster"),Br=vo("durationFast"),Sr=vo("durationNormal"),Pr=vo("durationSlow"),Cr=vo("durationSlower"),Fr=vo("durationUltraSlow"),Tr=vo("curveAccelerateMax"),zr=vo("curveAccelerateMid"),Nr=vo("curveAccelerateMin"),Ar=vo("curveDecelerateMax"),Ir=vo("curveDecelerateMid"),Lr=vo("curveDecelerateMin"),Dr=vo("curveEasyEaseMax"),Or=vo("curveEasyEase"),Mr=vo("curveLinear"),Hr=vo("colorNeutralForeground1"),Vr=vo("colorNeutralForeground1Hover"),Er=vo("colorNeutralForeground1Pressed"),Rr=vo("colorNeutralForeground1Selected"),_r=vo("colorNeutralForeground2"),jr=vo("colorNeutralForeground2Hover"),Gr=vo("colorNeutralForeground2Pressed"),qr=vo("colorNeutralForeground2Selected"),Xr=vo("colorNeutralForeground2BrandHover"),Wr=vo("colorNeutralForeground2BrandPressed"),Ur=vo("colorNeutralForeground2BrandSelected"),Yr=vo("colorNeutralForeground3"),Kr=vo("colorNeutralForeground3Hover"),Qr=vo("colorNeutralForeground3Pressed"),Zr=vo("colorNeutralForeground3Selected"),Jr=vo("colorNeutralForeground3BrandHover"),ei=vo("colorNeutralForeground3BrandPressed"),ti=vo("colorNeutralForeground3BrandSelected"),oi=vo("colorNeutralForeground4"),ri=vo("colorNeutralForegroundDisabled"),ii=vo("colorNeutralForegroundInvertedDisabled"),ai=vo("colorBrandForegroundLink"),si=vo("colorBrandForegroundLinkHover"),ni=vo("colorBrandForegroundLinkPressed"),li=vo("colorBrandForegroundLinkSelected"),ci=vo("colorNeutralForeground2Link"),di=vo("colorNeutralForeground2LinkHover"),hi=vo("colorNeutralForeground2LinkPressed"),ui=vo("colorNeutralForeground2LinkSelected"),pi=vo("colorCompoundBrandForeground1"),gi=vo("colorCompoundBrandForeground1Hover"),bi=vo("colorCompoundBrandForeground1Pressed"),vi=vo("colorBrandForeground1"),fi=vo("colorBrandForeground2"),mi=vo("colorNeutralForeground1Static"),yi=vo("colorNeutralForegroundStaticInverted"),ki=vo("colorNeutralForegroundInverted"),xi=vo("colorNeutralForegroundInvertedHover"),$i=vo("colorNeutralForegroundInvertedPressed"),wi=vo("colorNeutralForegroundInvertedSelected"),Bi=vo("colorNeutralForegroundInverted2"),Si=vo("colorNeutralForegroundOnBrand"),Pi=vo("colorNeutralForegroundInvertedLink"),Ci=vo("colorNeutralForegroundInvertedLinkHover"),Fi=vo("colorNeutralForegroundInvertedLinkPressed"),Ti=vo("colorNeutralForegroundInvertedLinkSelected"),zi=vo("colorBrandForegroundInverted"),Ni=vo("colorBrandForegroundInvertedHover"),Ai=vo("colorBrandForegroundInvertedPressed"),Ii=vo("colorBrandForegroundOnLight"),Li=vo("colorBrandForegroundOnLightHover"),Di=vo("colorBrandForegroundOnLightPressed"),Oi=vo("colorBrandForegroundOnLightSelected"),Mi=vo("colorNeutralBackground1"),Hi=vo("colorNeutralBackground1Hover"),Vi=vo("colorNeutralBackground1Pressed"),Ei=vo("colorNeutralBackground1Selected"),Ri=vo("colorNeutralBackground2"),_i=vo("colorNeutralBackground2Hover"),ji=vo("colorNeutralBackground2Pressed"),Gi=vo("colorNeutralBackground2Selected"),qi=vo("colorNeutralBackground3"),Xi=vo("colorNeutralBackground3Hover"),Wi=vo("colorNeutralBackground3Pressed"),Ui=vo("colorNeutralBackground3Selected"),Yi=vo("colorNeutralBackground4"),Ki=vo("colorNeutralBackground4Hover"),Qi=vo("colorNeutralBackground4Pressed"),Zi=vo("colorNeutralBackground4Selected"),Ji=vo("colorNeutralBackground5"),ea=vo("colorNeutralBackground5Hover"),ta=vo("colorNeutralBackground5Pressed"),oa=vo("colorNeutralBackground5Selected"),ra=vo("colorNeutralBackground6"),ia=vo("colorNeutralBackgroundInverted"),aa=vo("colorNeutralBackgroundStatic"),sa=vo("colorSubtleBackground"),na=vo("colorSubtleBackgroundHover"),la=vo("colorSubtleBackgroundPressed"),ca=vo("colorSubtleBackgroundSelected"),da=vo("colorSubtleBackgroundLightAlphaHover"),ha=vo("colorSubtleBackgroundLightAlphaPressed"),ua=vo("colorSubtleBackgroundLightAlphaSelected"),pa=vo("colorSubtleBackgroundInverted"),ga=vo("colorSubtleBackgroundInvertedHover"),ba=vo("colorSubtleBackgroundInvertedPressed"),va=vo("colorSubtleBackgroundInvertedSelected"),fa=vo("colorTransparentBackground"),ma=vo("colorTransparentBackgroundHover"),ya=vo("colorTransparentBackgroundPressed"),ka=vo("colorTransparentBackgroundSelected"),xa=vo("colorNeutralBackgroundDisabled"),$a=vo("colorNeutralBackgroundInvertedDisabled"),wa=vo("colorNeutralStencil1"),Ba=vo("colorNeutralStencil2"),Sa=vo("colorNeutralStencil1Alpha"),Pa=vo("colorNeutralStencil2Alpha"),Ca=vo("colorBackgroundOverlay"),Fa=vo("colorScrollbarOverlay"),Ta=vo("colorBrandBackground"),za=vo("colorBrandBackgroundHover"),Na=vo("colorBrandBackgroundPressed"),Aa=vo("colorBrandBackgroundSelected"),Ia=vo("colorCompoundBrandBackground"),La=vo("colorCompoundBrandBackgroundHover"),Da=vo("colorCompoundBrandBackgroundPressed"),Oa=vo("colorBrandBackgroundStatic"),Ma=vo("colorBrandBackground2"),Ha=vo("colorBrandBackgroundInverted"),Va=vo("colorBrandBackgroundInvertedHover"),Ea=vo("colorBrandBackgroundInvertedPressed"),Ra=vo("colorBrandBackgroundInvertedSelected"),_a=vo("colorNeutralStrokeAccessible"),ja=vo("colorNeutralStrokeAccessibleHover"),Ga=vo("colorNeutralStrokeAccessiblePressed"),qa=vo("colorNeutralStrokeAccessibleSelected"),Xa=vo("colorNeutralStroke1"),Wa=vo("colorNeutralStroke1Hover"),Ua=vo("colorNeutralStroke1Pressed"),Ya=vo("colorNeutralStroke1Selected"),Ka=vo("colorNeutralStroke2"),Qa=vo("colorNeutralStroke3"),Za=vo("colorNeutralStrokeOnBrand"),Ja=vo("colorNeutralStrokeOnBrand2"),es=vo("colorNeutralStrokeOnBrand2Hover"),ts=vo("colorNeutralStrokeOnBrand2Pressed"),os=vo("colorNeutralStrokeOnBrand2Selected"),rs=vo("colorBrandStroke1"),is=vo("colorBrandStroke2"),as=vo("colorCompoundBrandStroke"),ss=vo("colorCompoundBrandStrokeHover"),ns=vo("colorCompoundBrandStrokePressed"),ls=vo("colorNeutralStrokeDisabled"),cs=vo("colorNeutralStrokeInvertedDisabled"),ds=vo("colorTransparentStroke"),hs=vo("colorTransparentStrokeInteractive"),us=vo("colorTransparentStrokeDisabled"),ps=vo("colorStrokeFocus1"),gs=vo("colorStrokeFocus2"),bs=vo("colorNeutralShadowAmbient"),vs=vo("colorNeutralShadowKey"),fs=vo("colorNeutralShadowAmbientLighter"),ms=vo("colorNeutralShadowKeyLighter"),ys=vo("colorNeutralShadowAmbientDarker"),ks=vo("colorNeutralShadowKeyDarker"),xs=vo("colorBrandShadowAmbient"),$s=vo("colorBrandShadowKey"),ws=vo("colorPaletteRedBackground1"),Bs=vo("colorPaletteRedBackground2"),Ss=vo("colorPaletteRedBackground3"),Ps=vo("colorPaletteRedForeground1"),Cs=vo("colorPaletteRedForeground2"),Fs=vo("colorPaletteRedForeground3"),Ts=vo("colorPaletteRedBorderActive"),zs=vo("colorPaletteRedBorder1"),Ns=vo("colorPaletteRedBorder2"),As=vo("colorPaletteGreenBackground1"),Is=vo("colorPaletteGreenBackground2"),Ls=vo("colorPaletteGreenBackground3"),Ds=vo("colorPaletteGreenForeground1"),Os=vo("colorPaletteGreenForeground2"),Ms=vo("colorPaletteGreenForeground3"),Hs=vo("colorPaletteGreenBorderActive"),Vs=vo("colorPaletteGreenBorder1"),Es=vo("colorPaletteGreenBorder2"),Rs=vo("colorPaletteDarkOrangeBackground1"),_s=vo("colorPaletteDarkOrangeBackground2"),js=vo("colorPaletteDarkOrangeBackground3"),Gs=vo("colorPaletteDarkOrangeForeground1"),qs=vo("colorPaletteDarkOrangeForeground2"),Xs=vo("colorPaletteDarkOrangeForeground3"),Ws=vo("colorPaletteDarkOrangeBorderActive"),Us=vo("colorPaletteDarkOrangeBorder1"),Ys=vo("colorPaletteDarkOrangeBorder2"),Ks=vo("colorPaletteYellowBackground1"),Qs=vo("colorPaletteYellowBackground2"),Zs=vo("colorPaletteYellowBackground3"),Js=vo("colorPaletteYellowForeground1"),en=vo("colorPaletteYellowForeground2"),tn=vo("colorPaletteYellowForeground3"),on=vo("colorPaletteYellowBorderActive"),rn=vo("colorPaletteYellowBorder1"),an=vo("colorPaletteYellowBorder2"),sn=vo("colorPaletteBerryBackground1"),nn=vo("colorPaletteBerryBackground2"),ln=vo("colorPaletteBerryBackground3"),cn=vo("colorPaletteBerryForeground1"),dn=vo("colorPaletteBerryForeground2"),hn=vo("colorPaletteBerryForeground3"),un=vo("colorPaletteBerryBorderActive"),pn=vo("colorPaletteBerryBorder1"),gn=vo("colorPaletteBerryBorder2"),bn=vo("colorPaletteLightGreenBackground1"),vn=vo("colorPaletteLightGreenBackground2"),fn=vo("colorPaletteLightGreenBackground3"),mn=vo("colorPaletteLightGreenForeground1"),yn=vo("colorPaletteLightGreenForeground2"),kn=vo("colorPaletteLightGreenForeground3"),xn=vo("colorPaletteLightGreenBorderActive"),$n=vo("colorPaletteLightGreenBorder1"),wn=vo("colorPaletteLightGreenBorder2"),Bn=vo("colorPaletteMarigoldBackground1"),Sn=vo("colorPaletteMarigoldBackground2"),Pn=vo("colorPaletteMarigoldBackground3"),Cn=vo("colorPaletteMarigoldForeground1"),Fn=vo("colorPaletteMarigoldForeground2"),Tn=vo("colorPaletteMarigoldForeground3"),zn=vo("colorPaletteMarigoldBorderActive"),Nn=vo("colorPaletteMarigoldBorder1"),An=vo("colorPaletteMarigoldBorder2"),In=vo("colorPaletteDarkRedBackground2"),Ln=vo("colorPaletteDarkRedForeground2"),Dn=vo("colorPaletteDarkRedBorderActive"),On=vo("colorPaletteCranberryBackground2"),Mn=vo("colorPaletteCranberryForeground2"),Hn=vo("colorPaletteCranberryBorderActive"),Vn=vo("colorPalettePumpkinBackground2"),En=vo("colorPalettePumpkinForeground2"),Rn=vo("colorPalettePumpkinBorderActive"),_n=vo("colorPalettePeachBackground2"),jn=vo("colorPalettePeachForeground2"),Gn=vo("colorPalettePeachBorderActive"),qn=vo("colorPaletteGoldBackground2"),Xn=vo("colorPaletteGoldForeground2"),Wn=vo("colorPaletteGoldBorderActive"),Un=vo("colorPaletteBrassBackground2"),Yn=vo("colorPaletteBrassForeground2"),Kn=vo("colorPaletteBrassBorderActive"),Qn=vo("colorPaletteBrownBackground2"),Zn=vo("colorPaletteBrownForeground2"),Jn=vo("colorPaletteBrownBorderActive"),el=vo("colorPaletteForestBackground2"),tl=vo("colorPaletteForestForeground2"),ol=vo("colorPaletteForestBorderActive"),rl=vo("colorPaletteSeafoamBackground2"),il=vo("colorPaletteSeafoamForeground2"),al=vo("colorPaletteSeafoamBorderActive"),sl=vo("colorPaletteDarkGreenBackground2"),nl=vo("colorPaletteDarkGreenForeground2"),ll=vo("colorPaletteDarkGreenBorderActive"),cl=vo("colorPaletteLightTealBackground2"),dl=vo("colorPaletteLightTealForeground2"),hl=vo("colorPaletteLightTealBorderActive"),ul=vo("colorPaletteTealBackground2"),pl=vo("colorPaletteTealForeground2"),gl=vo("colorPaletteTealBorderActive"),bl=vo("colorPaletteSteelBackground2"),vl=vo("colorPaletteSteelForeground2"),fl=vo("colorPaletteSteelBorderActive"),ml=vo("colorPaletteBlueBackground2"),yl=vo("colorPaletteBlueForeground2"),kl=vo("colorPaletteBlueBorderActive"),xl=vo("colorPaletteRoyalBlueBackground2"),$l=vo("colorPaletteRoyalBlueForeground2"),wl=vo("colorPaletteRoyalBlueBorderActive"),Bl=vo("colorPaletteCornflowerBackground2"),Sl=vo("colorPaletteCornflowerForeground2"),Pl=vo("colorPaletteCornflowerBorderActive"),Cl=vo("colorPaletteNavyBackground2"),Fl=vo("colorPaletteNavyForeground2"),Tl=vo("colorPaletteNavyBorderActive"),zl=vo("colorPaletteLavenderBackground2"),Nl=vo("colorPaletteLavenderForeground2"),Al=vo("colorPaletteLavenderBorderActive"),Il=vo("colorPalettePurpleBackground2"),Ll=vo("colorPalettePurpleForeground2"),Dl=vo("colorPalettePurpleBorderActive"),Ol=vo("colorPaletteGrapeBackground2"),Ml=vo("colorPaletteGrapeForeground2"),Hl=vo("colorPaletteGrapeBorderActive"),Vl=vo("colorPaletteLilacBackground2"),El=vo("colorPaletteLilacForeground2"),Rl=vo("colorPaletteLilacBorderActive"),_l=vo("colorPalettePinkBackground2"),jl=vo("colorPalettePinkForeground2"),Gl=vo("colorPalettePinkBorderActive"),ql=vo("colorPaletteMagentaBackground2"),Xl=vo("colorPaletteMagentaForeground2"),Wl=vo("colorPaletteMagentaBorderActive"),Ul=vo("colorPalettePlumBackground2"),Yl=vo("colorPalettePlumForeground2"),Kl=vo("colorPalettePlumBorderActive"),Ql=vo("colorPaletteBeigeBackground2"),Zl=vo("colorPaletteBeigeForeground2"),Jl=vo("colorPaletteBeigeBorderActive"),ec=vo("colorPaletteMinkBackground2"),tc=vo("colorPaletteMinkForeground2"),oc=vo("colorPaletteMinkBorderActive"),rc=vo("colorPalettePlatinumBackground2"),ic=vo("colorPalettePlatinumForeground2"),ac=vo("colorPalettePlatinumBorderActive"),sc=vo("colorPaletteAnchorBackground2"),nc=vo("colorPaletteAnchorForeground2"),lc=vo("colorPaletteAnchorBorderActive"),cc=vo("colorPaletteRedForegroundInverted"),dc=vo("colorPaletteGreenForegroundInverted"),hc=vo("colorPaletteYellowForegroundInverted"),uc=vo("shadow2"),pc=vo("shadow4"),gc=vo("shadow8"),bc=vo("shadow16"),vc=vo("shadow28"),fc=vo("shadow64"),mc=vo("shadow2Brand"),yc=vo("shadow4Brand"),kc=vo("shadow8Brand"),xc=vo("shadow16Brand"),$c=vo("shadow28Brand"),wc=vo("shadow64Brand");var Bc=Object.freeze({__proto__:null,borderRadiusNone:fo,borderRadiusSmall:mo,borderRadiusMedium:yo,borderRadiusLarge:ko,borderRadiusXLarge:xo,borderRadiusCircular:$o,fontSizeBase100:wo,fontSizeBase200:Bo,fontSizeBase300:So,fontSizeBase400:Po,fontSizeBase500:Co,fontSizeBase600:Fo,fontSizeHero700:To,fontSizeHero800:zo,fontSizeHero900:No,fontSizeHero1000:Ao,lineHeightBase100:Io,lineHeightBase200:Lo,lineHeightBase300:Do,lineHeightBase400:Oo,lineHeightBase500:Mo,lineHeightBase600:Ho,lineHeightHero700:Vo,lineHeightHero800:Eo,lineHeightHero900:Ro,lineHeightHero1000:_o,fontFamilyBase:jo,fontFamilyMonospace:Go,fontFamilyNumeric:qo,fontWeightRegular:Xo,fontWeightMedium:Wo,fontWeightSemibold:Uo,fontWeightBold:Yo,strokeWidthThin:Ko,strokeWidthThick:Qo,strokeWidthThicker:Zo,strokeWidthThickest:Jo,spacingHorizontalNone:er,spacingHorizontalXXS:tr,spacingHorizontalXS:or,spacingHorizontalSNudge:rr,spacingHorizontalS:ir,spacingHorizontalMNudge:ar,spacingHorizontalM:sr,spacingHorizontalL:nr,spacingHorizontalXL:lr,spacingHorizontalXXL:cr,spacingHorizontalXXXL:dr,spacingVerticalNone:hr,spacingVerticalXXS:ur,spacingVerticalXS:pr,spacingVerticalSNudge:gr,spacingVerticalS:br,spacingVerticalMNudge:vr,spacingVerticalM:fr,spacingVerticalL:mr,spacingVerticalXL:yr,spacingVerticalXXL:kr,spacingVerticalXXXL:xr,durationUltraFast:$r,durationFaster:wr,durationFast:Br,durationNormal:Sr,durationSlow:Pr,durationSlower:Cr,durationUltraSlow:Fr,curveAccelerateMax:Tr,curveAccelerateMid:zr,curveAccelerateMin:Nr,curveDecelerateMax:Ar,curveDecelerateMid:Ir,curveDecelerateMin:Lr,curveEasyEaseMax:Dr,curveEasyEase:Or,curveLinear:Mr,colorNeutralForeground1:Hr,colorNeutralForeground1Hover:Vr,colorNeutralForeground1Pressed:Er,colorNeutralForeground1Selected:Rr,colorNeutralForeground2:_r,colorNeutralForeground2Hover:jr,colorNeutralForeground2Pressed:Gr,colorNeutralForeground2Selected:qr,colorNeutralForeground2BrandHover:Xr,colorNeutralForeground2BrandPressed:Wr,colorNeutralForeground2BrandSelected:Ur,colorNeutralForeground3:Yr,colorNeutralForeground3Hover:Kr,colorNeutralForeground3Pressed:Qr,colorNeutralForeground3Selected:Zr,colorNeutralForeground3BrandHover:Jr,colorNeutralForeground3BrandPressed:ei,colorNeutralForeground3BrandSelected:ti,colorNeutralForeground4:oi,colorNeutralForegroundDisabled:ri,colorNeutralForegroundInvertedDisabled:ii,colorBrandForegroundLink:ai,colorBrandForegroundLinkHover:si,colorBrandForegroundLinkPressed:ni,colorBrandForegroundLinkSelected:li,colorNeutralForeground2Link:ci,colorNeutralForeground2LinkHover:di,colorNeutralForeground2LinkPressed:hi,colorNeutralForeground2LinkSelected:ui,colorCompoundBrandForeground1:pi,colorCompoundBrandForeground1Hover:gi,colorCompoundBrandForeground1Pressed:bi,colorBrandForeground1:vi,colorBrandForeground2:fi,colorNeutralForeground1Static:mi,colorNeutralForegroundStaticInverted:yi,colorNeutralForegroundInverted:ki,colorNeutralForegroundInvertedHover:xi,colorNeutralForegroundInvertedPressed:$i,colorNeutralForegroundInvertedSelected:wi,colorNeutralForegroundInverted2:Bi,colorNeutralForegroundOnBrand:Si,colorNeutralForegroundInvertedLink:Pi,colorNeutralForegroundInvertedLinkHover:Ci,colorNeutralForegroundInvertedLinkPressed:Fi,colorNeutralForegroundInvertedLinkSelected:Ti,colorBrandForegroundInverted:zi,colorBrandForegroundInvertedHover:Ni,colorBrandForegroundInvertedPressed:Ai,colorBrandForegroundOnLight:Ii,colorBrandForegroundOnLightHover:Li,colorBrandForegroundOnLightPressed:Di,colorBrandForegroundOnLightSelected:Oi,colorNeutralBackground1:Mi,colorNeutralBackground1Hover:Hi,colorNeutralBackground1Pressed:Vi,colorNeutralBackground1Selected:Ei,colorNeutralBackground2:Ri,colorNeutralBackground2Hover:_i,colorNeutralBackground2Pressed:ji,colorNeutralBackground2Selected:Gi,colorNeutralBackground3:qi,colorNeutralBackground3Hover:Xi,colorNeutralBackground3Pressed:Wi,colorNeutralBackground3Selected:Ui,colorNeutralBackground4:Yi,colorNeutralBackground4Hover:Ki,colorNeutralBackground4Pressed:Qi,colorNeutralBackground4Selected:Zi,colorNeutralBackground5:Ji,colorNeutralBackground5Hover:ea,colorNeutralBackground5Pressed:ta,colorNeutralBackground5Selected:oa,colorNeutralBackground6:ra,colorNeutralBackgroundInverted:ia,colorNeutralBackgroundStatic:aa,colorSubtleBackground:sa,colorSubtleBackgroundHover:na,colorSubtleBackgroundPressed:la,colorSubtleBackgroundSelected:ca,colorSubtleBackgroundLightAlphaHover:da,colorSubtleBackgroundLightAlphaPressed:ha,colorSubtleBackgroundLightAlphaSelected:ua,colorSubtleBackgroundInverted:pa,colorSubtleBackgroundInvertedHover:ga,colorSubtleBackgroundInvertedPressed:ba,colorSubtleBackgroundInvertedSelected:va,colorTransparentBackground:fa,colorTransparentBackgroundHover:ma,colorTransparentBackgroundPressed:ya,colorTransparentBackgroundSelected:ka,colorNeutralBackgroundDisabled:xa,colorNeutralBackgroundInvertedDisabled:$a,colorNeutralStencil1:wa,colorNeutralStencil2:Ba,colorNeutralStencil1Alpha:Sa,colorNeutralStencil2Alpha:Pa,colorBackgroundOverlay:Ca,colorScrollbarOverlay:Fa,colorBrandBackground:Ta,colorBrandBackgroundHover:za,colorBrandBackgroundPressed:Na,colorBrandBackgroundSelected:Aa,colorCompoundBrandBackground:Ia,colorCompoundBrandBackgroundHover:La,colorCompoundBrandBackgroundPressed:Da,colorBrandBackgroundStatic:Oa,colorBrandBackground2:Ma,colorBrandBackgroundInverted:Ha,colorBrandBackgroundInvertedHover:Va,colorBrandBackgroundInvertedPressed:Ea,colorBrandBackgroundInvertedSelected:Ra,colorNeutralStrokeAccessible:_a,colorNeutralStrokeAccessibleHover:ja,colorNeutralStrokeAccessiblePressed:Ga,colorNeutralStrokeAccessibleSelected:qa,colorNeutralStroke1:Xa,colorNeutralStroke1Hover:Wa,colorNeutralStroke1Pressed:Ua,colorNeutralStroke1Selected:Ya,colorNeutralStroke2:Ka,colorNeutralStroke3:Qa,colorNeutralStrokeOnBrand:Za,colorNeutralStrokeOnBrand2:Ja,colorNeutralStrokeOnBrand2Hover:es,colorNeutralStrokeOnBrand2Pressed:ts,colorNeutralStrokeOnBrand2Selected:os,colorBrandStroke1:rs,colorBrandStroke2:is,colorCompoundBrandStroke:as,colorCompoundBrandStrokeHover:ss,colorCompoundBrandStrokePressed:ns,colorNeutralStrokeDisabled:ls,colorNeutralStrokeInvertedDisabled:cs,colorTransparentStroke:ds,colorTransparentStrokeInteractive:hs,colorTransparentStrokeDisabled:us,colorStrokeFocus1:ps,colorStrokeFocus2:gs,colorNeutralShadowAmbient:bs,colorNeutralShadowKey:vs,colorNeutralShadowAmbientLighter:fs,colorNeutralShadowKeyLighter:ms,colorNeutralShadowAmbientDarker:ys,colorNeutralShadowKeyDarker:ks,colorBrandShadowAmbient:xs,colorBrandShadowKey:$s,colorPaletteRedBackground1:ws,colorPaletteRedBackground2:Bs,colorPaletteRedBackground3:Ss,colorPaletteRedForeground1:Ps,colorPaletteRedForeground2:Cs,colorPaletteRedForeground3:Fs,colorPaletteRedBorderActive:Ts,colorPaletteRedBorder1:zs,colorPaletteRedBorder2:Ns,colorPaletteGreenBackground1:As,colorPaletteGreenBackground2:Is,colorPaletteGreenBackground3:Ls,colorPaletteGreenForeground1:Ds,colorPaletteGreenForeground2:Os,colorPaletteGreenForeground3:Ms,colorPaletteGreenBorderActive:Hs,colorPaletteGreenBorder1:Vs,colorPaletteGreenBorder2:Es,colorPaletteDarkOrangeBackground1:Rs,colorPaletteDarkOrangeBackground2:_s,colorPaletteDarkOrangeBackground3:js,colorPaletteDarkOrangeForeground1:Gs,colorPaletteDarkOrangeForeground2:qs,colorPaletteDarkOrangeForeground3:Xs,colorPaletteDarkOrangeBorderActive:Ws,colorPaletteDarkOrangeBorder1:Us,colorPaletteDarkOrangeBorder2:Ys,colorPaletteYellowBackground1:Ks,colorPaletteYellowBackground2:Qs,colorPaletteYellowBackground3:Zs,colorPaletteYellowForeground1:Js,colorPaletteYellowForeground2:en,colorPaletteYellowForeground3:tn,colorPaletteYellowBorderActive:on,colorPaletteYellowBorder1:rn,colorPaletteYellowBorder2:an,colorPaletteBerryBackground1:sn,colorPaletteBerryBackground2:nn,colorPaletteBerryBackground3:ln,colorPaletteBerryForeground1:cn,colorPaletteBerryForeground2:dn,colorPaletteBerryForeground3:hn,colorPaletteBerryBorderActive:un,colorPaletteBerryBorder1:pn,colorPaletteBerryBorder2:gn,colorPaletteLightGreenBackground1:bn,colorPaletteLightGreenBackground2:vn,colorPaletteLightGreenBackground3:fn,colorPaletteLightGreenForeground1:mn,colorPaletteLightGreenForeground2:yn,colorPaletteLightGreenForeground3:kn,colorPaletteLightGreenBorderActive:xn,colorPaletteLightGreenBorder1:$n,colorPaletteLightGreenBorder2:wn,colorPaletteMarigoldBackground1:Bn,colorPaletteMarigoldBackground2:Sn,colorPaletteMarigoldBackground3:Pn,colorPaletteMarigoldForeground1:Cn,colorPaletteMarigoldForeground2:Fn,colorPaletteMarigoldForeground3:Tn,colorPaletteMarigoldBorderActive:zn,colorPaletteMarigoldBorder1:Nn,colorPaletteMarigoldBorder2:An,colorPaletteDarkRedBackground2:In,colorPaletteDarkRedForeground2:Ln,colorPaletteDarkRedBorderActive:Dn,colorPaletteCranberryBackground2:On,colorPaletteCranberryForeground2:Mn,colorPaletteCranberryBorderActive:Hn,colorPalettePumpkinBackground2:Vn,colorPalettePumpkinForeground2:En,colorPalettePumpkinBorderActive:Rn,colorPalettePeachBackground2:_n,colorPalettePeachForeground2:jn,colorPalettePeachBorderActive:Gn,colorPaletteGoldBackground2:qn,colorPaletteGoldForeground2:Xn,colorPaletteGoldBorderActive:Wn,colorPaletteBrassBackground2:Un,colorPaletteBrassForeground2:Yn,colorPaletteBrassBorderActive:Kn,colorPaletteBrownBackground2:Qn,colorPaletteBrownForeground2:Zn,colorPaletteBrownBorderActive:Jn,colorPaletteForestBackground2:el,colorPaletteForestForeground2:tl,colorPaletteForestBorderActive:ol,colorPaletteSeafoamBackground2:rl,colorPaletteSeafoamForeground2:il,colorPaletteSeafoamBorderActive:al,colorPaletteDarkGreenBackground2:sl,colorPaletteDarkGreenForeground2:nl,colorPaletteDarkGreenBorderActive:ll,colorPaletteLightTealBackground2:cl,colorPaletteLightTealForeground2:dl,colorPaletteLightTealBorderActive:hl,colorPaletteTealBackground2:ul,colorPaletteTealForeground2:pl,colorPaletteTealBorderActive:gl,colorPaletteSteelBackground2:bl,colorPaletteSteelForeground2:vl,colorPaletteSteelBorderActive:fl,colorPaletteBlueBackground2:ml,colorPaletteBlueForeground2:yl,colorPaletteBlueBorderActive:kl,colorPaletteRoyalBlueBackground2:xl,colorPaletteRoyalBlueForeground2:$l,colorPaletteRoyalBlueBorderActive:wl,colorPaletteCornflowerBackground2:Bl,colorPaletteCornflowerForeground2:Sl,colorPaletteCornflowerBorderActive:Pl,colorPaletteNavyBackground2:Cl,colorPaletteNavyForeground2:Fl,colorPaletteNavyBorderActive:Tl,colorPaletteLavenderBackground2:zl,colorPaletteLavenderForeground2:Nl,colorPaletteLavenderBorderActive:Al,colorPalettePurpleBackground2:Il,colorPalettePurpleForeground2:Ll,colorPalettePurpleBorderActive:Dl,colorPaletteGrapeBackground2:Ol,colorPaletteGrapeForeground2:Ml,colorPaletteGrapeBorderActive:Hl,colorPaletteLilacBackground2:Vl,colorPaletteLilacForeground2:El,colorPaletteLilacBorderActive:Rl,colorPalettePinkBackground2:_l,colorPalettePinkForeground2:jl,colorPalettePinkBorderActive:Gl,colorPaletteMagentaBackground2:ql,colorPaletteMagentaForeground2:Xl,colorPaletteMagentaBorderActive:Wl,colorPalettePlumBackground2:Ul,colorPalettePlumForeground2:Yl,colorPalettePlumBorderActive:Kl,colorPaletteBeigeBackground2:Ql,colorPaletteBeigeForeground2:Zl,colorPaletteBeigeBorderActive:Jl,colorPaletteMinkBackground2:ec,colorPaletteMinkForeground2:tc,colorPaletteMinkBorderActive:oc,colorPalettePlatinumBackground2:rc,colorPalettePlatinumForeground2:ic,colorPalettePlatinumBorderActive:ac,colorPaletteAnchorBackground2:sc,colorPaletteAnchorForeground2:nc,colorPaletteAnchorBorderActive:lc,colorPaletteRedForegroundInverted:cc,colorPaletteGreenForegroundInverted:dc,colorPaletteYellowForegroundInverted:hc,shadow2:uc,shadow4:pc,shadow8:gc,shadow16:bc,shadow28:vc,shadow64:fc,shadow2Brand:mc,shadow4Brand:yc,shadow8Brand:kc,shadow16Brand:xc,shadow28Brand:$c,shadow64Brand:wc});const Sc=j`
|
|
5
|
+
${ao("block")}
|
|
6
6
|
|
|
7
|
-
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${
|
|
8
|
-
${
|
|
9
|
-
${
|
|
7
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${sr} ${ar};border-radius:${yo};font-family:${jo};font-size:${So};font-weight:${Xo};line-height:${Do};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:${Hr};background:${fa};line-height:${Do};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:${mo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${ir};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${sr}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${ir};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${mo};outline:none;border:2px solid ${ps};box-shadow:inset 0 0 0 1px ${gs}}:host([disabled]) .button{color:${ri}}: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:${So};line-height:${Do}}:host([size='small']) .heading{font-size:${Bo};line-height:${Lo}}:host([size='large']) .heading{font-size:${Po};line-height:${Oo}}:host([size='extra-large']) .heading{font-size:${Co};line-height:${Mo}}: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}`,Pc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${ot(e)} ${tt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Qe(e.expandedIcon)}</slot><slot name="collapsed-icon">${Qe(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="#212121"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="#212121"\n />\n</svg>')}),Cc=po.compose({name:ho.prefix+"-accordion-item",template:Pc,styles:Sc}),Fc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Tc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,zc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Nc=/\s+/g,Ac=/[\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 Ic(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Fc,"")).replace(Tc,"")).replace(Nc," ")).trim()}(e),Ac.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&zc.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 Lc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Oc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Mc={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},Hc={neutral:"neutral",brand:"brand",colorful:"colorful",...Mc},Vc={_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 Ec extends Ke{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Hc.colorful?Ec.colors[Rc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%Ec.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:Ic(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}Ec.colors=Object.values(Mc),Ze([Le],Ec.prototype,"name",void 0),Ze([Le],Ec.prototype,"initials",void 0),Ze([Le({converter:Ae})],Ec.prototype,"size",void 0),Ze([Le],Ec.prototype,"shape",void 0),Ze([Le],Ec.prototype,"active",void 0),Ze([Le],Ec.prototype,"appearance",void 0),Ze([Le],Ec.prototype,"color",void 0),Ze([Le({attribute:"color-id"})],Ec.prototype,"colorId",void 0);const Rc=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},_c=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const jc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():_c}</slot><slot name="badge"></slot></template>`,Gc=Lr,qc=Dr,Xc=Mr,Wc=j`
|
|
8
|
+
${ao("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${jo};font-weight:${Uo};font-size:${So};border-radius:${$o};color:${Yr};background-color:${ra};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:${$o}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Ko} ${Mi}}: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 ${Qo} ${Mi}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${wo};font-weight:${Xo}}: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:${Bo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Po}}: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:${Co}}: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:${Fo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${yo}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${mo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${ko}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${xo}}:host([data-color='brand']){color:${yi};background-color:${Oa}}:host([data-color='dark-red']){color:${Ln};background-color:${In}}:host([data-color='cranberry']){color:${Mn};background-color:${On}}:host([data-color='red']){color:${Cs};background-color:${Bs}}:host([data-color='pumpkin']){color:${En};background-color:${Vn}}:host([data-color='peach']){color:${jn};background-color:${_n}}:host([data-color='marigold']){color:${Fn};background-color:${Sn}}:host([data-color='gold']){color:${Xn};background-color:${qn}}:host([data-color='brass']){color:${Yn};background-color:${Un}}:host([data-color='brown']){color:${Zn};background-color:${Qn}}:host([data-color='forest']){color:${tl};background-color:${el}}:host([data-color='seafoam']){color:${il};background-color:${rl}}:host([data-color='dark-green']){color:${nl};background-color:${sl}}:host([data-color='light-teal']){color:${dl};background-color:${cl}}:host([data-color='teal']){color:${pl};background-color:${ul}}:host([data-color='steel']){color:${vl};background-color:${bl}}:host([data-color='blue']){color:${yl};background-color:${ml}}:host([data-color='royal-blue']){color:${$l};background-color:${xl}}:host([data-color='cornflower']){color:${Sl};background-color:${Bl}}:host([data-color='navy']){color:${Fl};background-color:${Cl}}:host([data-color='lavender']){color:${Nl};background-color:${zl}}:host([data-color='purple']){color:${Ll};background-color:${Il}}:host([data-color='grape']){color:${Ml};background-color:${Ol}}:host([data-color='lilac']){color:${El};background-color:${Vl}}:host([data-color='pink']){color:${jl};background-color:${_l}}:host([data-color='magenta']){color:${Xl};background-color:${ql}}:host([data-color='plum']){color:${Yl};background-color:${Ul}}:host([data-color='beige']){color:${Zl};background-color:${Ql}}:host([data-color='mink']){color:${tc};background-color:${ec}}:host([data-color='platinum']){color:${ic};background-color:${rc}}:host([data-color='anchor']){color:${nc};background-color:${sc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Fr},${wr};transition-delay:${qc},${Xc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Fr},${Cr};transition-delay:${qc},${Xc}}:host([active])::before{box-shadow:${gc};border-style:solid;border-color:${Oa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Qo});border-width:${Qo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Zo});border-width:${Zo}}: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 * ${Jo});border-width:${Jo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${pc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${bc}}: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:${vc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Fr},${wr};transition-delay:${Gc},${Xc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Fr},${Cr};transition-delay:${Gc},${Xc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Uc=Ec.compose({name:ho.prefix+"-avatar",template:jc,styles:Wc}),Yc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Kc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Qc={circular:"circular",rounded:"rounded",square:"square"},Zc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Jc extends Ke{constructor(){super(...arguments),this.appearance=Yc.filled,this.color=Kc.brand}}function ed(e={}){return xe` ${ot(e)}<slot>${Qe(e.defaultContent)}</slot>${tt(e)} `}Ze([Le],Jc.prototype,"appearance",void 0),Ze([Le],Jc.prototype,"color",void 0),Ze([Le],Jc.prototype,"shape",void 0),Ze([Le],Jc.prototype,"size",void 0),lt(Jc,et);const td=ed(),od=tr,rd=j.partial`
|
|
9
|
+
${ao("inline-flex")} :host {
|
|
10
10
|
position: relative;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
|
-
font-family: ${
|
|
15
|
-
font-weight: ${
|
|
16
|
-
font-size: ${
|
|
17
|
-
line-height: ${
|
|
14
|
+
font-family: ${jo};
|
|
15
|
+
font-weight: ${Uo};
|
|
16
|
+
font-size: ${Bo};
|
|
17
|
+
line-height: ${Lo};
|
|
18
18
|
min-width: 20px;
|
|
19
19
|
height: 20px;
|
|
20
|
-
padding-inline: calc(${
|
|
21
|
-
border-radius: ${
|
|
22
|
-
border-color: ${
|
|
23
|
-
background-color: ${
|
|
24
|
-
color: ${
|
|
20
|
+
padding-inline: calc(${or} + ${od});
|
|
21
|
+
border-radius: ${$o};
|
|
22
|
+
border-color: ${ds};
|
|
23
|
+
background-color: ${Ta};
|
|
24
|
+
color: ${Si};
|
|
25
25
|
contain: content;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -37,11 +37,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
37
37
|
bottom: 0;
|
|
38
38
|
right: 0;
|
|
39
39
|
border-style: solid;
|
|
40
|
-
border-width: ${
|
|
40
|
+
border-width: ${Ko};
|
|
41
41
|
border-color: inherit;
|
|
42
42
|
border-radius: inherit;
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,id=j.partial`
|
|
45
45
|
:host([size='tiny']) {
|
|
46
46
|
width: 6px;
|
|
47
47
|
height: 6px;
|
|
@@ -67,9 +67,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
67
67
|
:host([size='small']) {
|
|
68
68
|
min-width: 16px;
|
|
69
69
|
height: 16px;
|
|
70
|
-
font-size: ${
|
|
71
|
-
line-height: ${
|
|
72
|
-
padding-inline: calc(${
|
|
70
|
+
font-size: ${wo};
|
|
71
|
+
line-height: ${Io};
|
|
72
|
+
padding-inline: calc(${tr} + ${od});
|
|
73
73
|
}
|
|
74
74
|
:host([size='small']) ::slotted(svg) {
|
|
75
75
|
font-size: 12px;
|
|
@@ -77,9 +77,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
77
77
|
:host([size='large']) {
|
|
78
78
|
min-width: 24px;
|
|
79
79
|
height: 24px;
|
|
80
|
-
font-size: ${
|
|
81
|
-
line-height: ${
|
|
82
|
-
padding-inline: calc(${
|
|
80
|
+
font-size: ${Bo};
|
|
81
|
+
line-height: ${Lo};
|
|
82
|
+
padding-inline: calc(${or} + ${od});
|
|
83
83
|
}
|
|
84
84
|
:host([size='large']) ::slotted(svg) {
|
|
85
85
|
font-size: 16px;
|
|
@@ -87,210 +87,222 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
87
87
|
:host([size='extra-large']) {
|
|
88
88
|
min-width: 32px;
|
|
89
89
|
height: 32px;
|
|
90
|
-
font-size: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
padding-inline: calc(${
|
|
90
|
+
font-size: ${Bo};
|
|
91
|
+
line-height: ${Lo};
|
|
92
|
+
padding-inline: calc(${rr} + ${od});
|
|
93
93
|
}
|
|
94
94
|
:host([size='extra-large']) ::slotted(svg) {
|
|
95
95
|
font-size: 20px;
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,ad=j.partial`
|
|
98
98
|
:host([color='danger']) {
|
|
99
|
-
background-color: ${
|
|
100
|
-
color: ${
|
|
99
|
+
background-color: ${Ss};
|
|
100
|
+
color: ${Si};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:host([color='important']) {
|
|
104
|
-
background-color: ${
|
|
105
|
-
color: ${
|
|
104
|
+
background-color: ${Hr};
|
|
105
|
+
color: ${Mi};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:host([color='informative']) {
|
|
109
|
-
background-color: ${
|
|
110
|
-
color: ${
|
|
109
|
+
background-color: ${Ji};
|
|
110
|
+
color: ${Yr};
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
:host([color='severe']) {
|
|
114
|
-
background-color: ${
|
|
115
|
-
color: ${
|
|
114
|
+
background-color: ${js};
|
|
115
|
+
color: ${Si};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
:host([color='subtle']) {
|
|
119
|
-
background-color: ${
|
|
120
|
-
color: ${
|
|
119
|
+
background-color: ${Mi};
|
|
120
|
+
color: ${Hr};
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
:host([color='success']) {
|
|
124
|
-
background-color: ${
|
|
125
|
-
color: ${
|
|
124
|
+
background-color: ${Ls};
|
|
125
|
+
color: ${Si};
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
:host([color='warning']) {
|
|
129
|
-
background-color: ${
|
|
130
|
-
color: ${
|
|
129
|
+
background-color: ${Zs};
|
|
130
|
+
color: ${Hr};
|
|
131
131
|
}
|
|
132
|
-
`,
|
|
132
|
+
`,sd=j.partial`
|
|
133
133
|
:host([appearance='ghost']) {
|
|
134
|
-
color: ${
|
|
134
|
+
color: ${Ta};
|
|
135
135
|
background-color: initial;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:host([appearance='ghost'][color='danger']) {
|
|
139
|
-
color: ${
|
|
139
|
+
color: ${Fs};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
:host([appearance='ghost'][color='important']) {
|
|
143
|
-
color: ${
|
|
143
|
+
color: ${Hr};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
:host([appearance='ghost'][color='informative']) {
|
|
147
|
-
color: ${
|
|
147
|
+
color: ${Yr};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
:host([appearance='ghost'][color='severe']) {
|
|
151
|
-
color: ${
|
|
151
|
+
color: ${Xs};
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
:host([appearance='ghost'][color='subtle']) {
|
|
155
|
-
color: ${
|
|
155
|
+
color: ${ki};
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
:host([appearance='ghost'][color='success']) {
|
|
159
|
-
color: ${
|
|
159
|
+
color: ${Ms};
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
:host([appearance='ghost'][color='warning']) {
|
|
163
|
-
color: ${
|
|
163
|
+
color: ${en};
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,nd=j.partial`
|
|
166
166
|
:host([appearance='outline']) {
|
|
167
167
|
border-color: currentColor;
|
|
168
|
-
color: ${
|
|
168
|
+
color: ${vi};
|
|
169
169
|
background-color: initial;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
:host([appearance='outline'][color='danger']) {
|
|
173
|
-
color: ${
|
|
173
|
+
color: ${Fs};
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
:host([appearance='outline'][color='important']) {
|
|
177
|
-
color: ${
|
|
178
|
-
border-color: ${
|
|
177
|
+
color: ${Yr};
|
|
178
|
+
border-color: ${_a};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
:host([appearance='outline'][color='informative']) {
|
|
182
|
-
color: ${
|
|
183
|
-
border-color: ${
|
|
182
|
+
color: ${Yr};
|
|
183
|
+
border-color: ${Ka};
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
:host([appearance='outline'][color='severe']) {
|
|
187
|
-
color: ${
|
|
187
|
+
color: ${Xs};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
:host([appearance='outline'][color='subtle']) {
|
|
191
|
-
color: ${
|
|
191
|
+
color: ${yi};
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
:host([appearance='outline'][color='success']) {
|
|
195
|
-
color: ${
|
|
195
|
+
color: ${Os};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
:host([appearance='outline'][color='warning']) {
|
|
199
|
-
color: ${
|
|
199
|
+
color: ${en};
|
|
200
200
|
}
|
|
201
|
-
`,
|
|
201
|
+
`,ld=j.partial`
|
|
202
202
|
:host([appearance='tint']) {
|
|
203
|
-
background-color: ${
|
|
204
|
-
color: ${
|
|
205
|
-
border-color: ${
|
|
203
|
+
background-color: ${Ma};
|
|
204
|
+
color: ${fi};
|
|
205
|
+
border-color: ${is};
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
:host([appearance='tint'][color='danger']) {
|
|
209
|
-
background-color: ${
|
|
210
|
-
color: ${
|
|
211
|
-
border-color: ${
|
|
209
|
+
background-color: ${ws};
|
|
210
|
+
color: ${Ps};
|
|
211
|
+
border-color: ${zs};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
:host([appearance='tint'][color='important']) {
|
|
215
|
-
background-color: ${
|
|
216
|
-
color: ${
|
|
217
|
-
border-color: ${
|
|
215
|
+
background-color: ${Yr};
|
|
216
|
+
color: ${Mi};
|
|
217
|
+
border-color: ${ds};
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
:host([appearance='tint'][color='informative']) {
|
|
221
|
-
background-color: ${
|
|
222
|
-
color: ${
|
|
223
|
-
border-color: ${
|
|
221
|
+
background-color: ${Yi};
|
|
222
|
+
color: ${Yr};
|
|
223
|
+
border-color: ${Ka};
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
:host([appearance='tint'][color='severe']) {
|
|
227
|
-
background-color: ${
|
|
228
|
-
color: ${
|
|
229
|
-
border-color: ${
|
|
227
|
+
background-color: ${Rs};
|
|
228
|
+
color: ${Gs};
|
|
229
|
+
border-color: ${Us};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
:host([appearance='tint'][color='subtle']) {
|
|
233
|
-
background-color: ${
|
|
234
|
-
color: ${
|
|
235
|
-
border-color: ${
|
|
233
|
+
background-color: ${Mi};
|
|
234
|
+
color: ${Yr};
|
|
235
|
+
border-color: ${Ka};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
:host([appearance='tint'][color='success']) {
|
|
239
|
-
background-color: ${
|
|
240
|
-
color: ${
|
|
241
|
-
border-color: ${
|
|
239
|
+
background-color: ${As};
|
|
240
|
+
color: ${Ds};
|
|
241
|
+
border-color: ${Es};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
:host([appearance='tint'][color='warning']) {
|
|
245
|
-
background-color: ${
|
|
246
|
-
color: ${
|
|
247
|
-
border-color: ${
|
|
248
|
-
}
|
|
249
|
-
`,
|
|
250
|
-
:host([shape='square']){border-radius:${
|
|
251
|
-
${
|
|
252
|
-
${
|
|
253
|
-
${
|
|
254
|
-
${
|
|
255
|
-
${
|
|
256
|
-
`,
|
|
257
|
-
${
|
|
258
|
-
|
|
259
|
-
:host{--icon-spacing:${
|
|
260
|
-
.control{background-color:${
|
|
261
|
-
:host([shape='rounded']){border-radius:${
|
|
262
|
-
${
|
|
263
|
-
${
|
|
264
|
-
${
|
|
265
|
-
|
|
266
|
-
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,
|
|
267
|
-
${
|
|
268
|
-
|
|
269
|
-
:host{contain:content}:host::after,:host::before{align-self:center;background:${
|
|
270
|
-
: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:${
|
|
271
|
-
${
|
|
272
|
-
|
|
273
|
-
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${
|
|
274
|
-
to right,${
|
|
275
|
-
)}:host([validation-state='warning']) .determinate{background-color:${
|
|
276
|
-
to right,${
|
|
277
|
-
)}:host([validation-state='success']) .determinate{background-color:${
|
|
278
|
-
to right,${
|
|
279
|
-
)}.progress{background-color:${
|
|
280
|
-
to right,${
|
|
281
|
-
);border-radius:${
|
|
282
|
-
to right,${
|
|
283
|
-
);border-radius:${
|
|
284
|
-
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Ze([Le],
|
|
285
|
-
${
|
|
286
|
-
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${
|
|
287
|
-
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${
|
|
288
|
-
${
|
|
289
|
-
|
|
290
|
-
: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:${
|
|
291
|
-
${
|
|
292
|
-
|
|
293
|
-
: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:${
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
:host{contain:content}::slotted(*){font-family:${Oo};font-size:${yo};line-height:${No};font-weight:${Eo};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:${mo};line-height:${Co}}:host([size='200']) ::slotted(*){font-size:${fo};line-height:${Fo}}:host([size='400']) ::slotted(*){font-size:${ko};line-height:${zo}}:host([size='500']) ::slotted(*){font-size:${xo};line-height:${Ao}}:host([size='600']) ::slotted(*){font-size:${$o};line-height:${To}}:host([size='700']) ::slotted(*){font-size:${Bo};line-height:${Io}}:host([size='800']) ::slotted(*){font-size:${wo};line-height:${Lo}}:host([size='900']) ::slotted(*){font-size:${Po};line-height:${Do}}:host([size='1000']) ::slotted(*){font-size:${So};line-height:${Mo}}:host([font='monospace']) ::slotted(*){font-family:${Ho}}:host([font='numeric']) ::slotted(*){font-family:${Vo}}:host([weight='medium']) ::slotted(*){font-weight:${Ro}}:host([weight='semibold']) ::slotted(*){font-weight:${_o}}:host([weight='bold']) ::slotted(*){font-weight:${jo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,lh=th.compose({name:io.prefix+"-text",template:nh,styles:sh}),ch=Object.keys(fc),dh=e=>{for(const t of ch)fc[t].withDefault(e[t])};export{eo as Accordion,no as AccordionItem,lo as AccordionItemExpandIconPosition,so as AccordionItemSize,Lc as Avatar,Fc as AvatarActive,zc as AvatarAppearance,Tc as AvatarColor,_c as AvatarDefinition,Ac as AvatarNamedColor,Nc as AvatarShape,Ic as AvatarSize,Rc as AvatarStyles,Oc as AvatarTemplate,Wc as Badge,jc as BadgeAppearance,Gc as BadgeColor,id as BadgeDefinition,qc as BadgeShape,Xc as BadgeSize,rd as BadgeStyles,Uc as BadgeTemplate,ad as Button,nd as ButtonAppearance,hd as ButtonDefinition,sd as ButtonShape,ld as ButtonSize,dd as ButtonStyles,cd as ButtonTemplate,ud as CounterBadge,pd as CounterBadgeAppearance,gd as CounterBadgeColor,yd as CounterBadgeDefinition,bd as CounterBadgeShape,vd as CounterBadgeSize,fd as CounterBadgeStyles,md as CounterBadgeTemplate,kd as Divider,xd as DividerAlignContent,$d as DividerAppearance,Pd as DividerDefinition,Vt as DividerOrientation,Ht as DividerRole,wd as DividerStyles,Bd as DividerTemplate,Sd as Image,Ad as ImageDefinition,Cd as ImageFit,Fd as ImageShape,zd as ImageStyles,Nd as ImageTemplate,Td as ProgressBar,Hd as ProgressBarDefinition,Ld as ProgressBarShape,Md as ProgressBarStyles,Od as ProgressBarTemplate,Id as ProgressBarThickness,Dd as ProgressBarValidationState,Vd as Slider,jd as SliderDefinition,Gt as SliderOrientation,Ed as SliderSize,Rd as SliderStyles,_d as SliderTemplate,Gd as Spinner,qd as SpinnerAppearance,Ud as SpinnerDefinition,Xd as SpinnerSize,Yd as SpinnerStyles,Wd as SpinnerTemplate,Kd as Switch,Qd as SwitchLabelPosition,th as Text,ah as TextAlign,lh as TextDefinition,rh as TextFont,oh as TextSize,sh as TextStyles,nh as TextTemplate,ih as TextWeight,ao as accordionDefinition,xc as accordionItemDefinition,yc as accordionItemStyles,kc as accordionItemTemplate,ro as accordionStyles,to as accordionTemplate,vo as borderRadiusCircular,go as borderRadiusLarge,po as borderRadiusMedium,ho as borderRadiusNone,uo as borderRadiusSmall,bo as borderRadiusXLarge,xa as colorBackgroundOverlay,Ba as colorBrandBackground,Aa as colorBrandBackground2,wa as colorBrandBackgroundHover,Ta as colorBrandBackgroundInverted,Ia as colorBrandBackgroundInvertedHover,La as colorBrandBackgroundInvertedPressed,Da as colorBrandBackgroundInvertedSelected,Pa as colorBrandBackgroundPressed,Sa as colorBrandBackgroundSelected,za as colorBrandBackgroundStatic,di as colorBrandForeground1,hi as colorBrandForeground2,wi as colorBrandForegroundInverted,Pi as colorBrandForegroundInvertedHover,Si as colorBrandForegroundInvertedPressed,Jr as colorBrandForegroundLink,ei as colorBrandForegroundLinkHover,ti as colorBrandForegroundLinkPressed,oi as colorBrandForegroundLinkSelected,Ci as colorBrandForegroundOnLight,Fi as colorBrandForegroundOnLightHover,Ni as colorBrandForegroundOnLightPressed,zi as colorBrandForegroundOnLightSelected,vn as colorBrandShadowAmbient,mn as colorBrandShadowKey,Qa as colorBrandStroke1,Za as colorBrandStroke2,Ca as colorCompoundBrandBackground,Fa as colorCompoundBrandBackgroundHover,Na as colorCompoundBrandBackgroundPressed,si as colorCompoundBrandForeground1,li as colorCompoundBrandForeground1Hover,ci as colorCompoundBrandForeground1Pressed,Ja as colorCompoundBrandStroke,en as colorCompoundBrandStrokeHover,tn as colorCompoundBrandStrokePressed,Ai as colorNeutralBackground1,Ti as colorNeutralBackground1Hover,Ii as colorNeutralBackground1Pressed,Li as colorNeutralBackground1Selected,Di as colorNeutralBackground2,Mi as colorNeutralBackground2Hover,Oi as colorNeutralBackground2Pressed,Hi as colorNeutralBackground2Selected,Vi as colorNeutralBackground3,Ei as colorNeutralBackground3Hover,Ri as colorNeutralBackground3Pressed,_i as colorNeutralBackground3Selected,ji as colorNeutralBackground4,Gi as colorNeutralBackground4Hover,qi as colorNeutralBackground4Pressed,Xi as colorNeutralBackground4Selected,Wi as colorNeutralBackground5,Yi as colorNeutralBackground5Hover,Ui as colorNeutralBackground5Pressed,Ki as colorNeutralBackground5Selected,Qi as colorNeutralBackground6,ba as colorNeutralBackgroundDisabled,Zi as colorNeutralBackgroundInverted,va as colorNeutralBackgroundInvertedDisabled,Ji as colorNeutralBackgroundStatic,Tr as colorNeutralForeground1,Ir as colorNeutralForeground1Hover,Lr as colorNeutralForeground1Pressed,Dr as colorNeutralForeground1Selected,ui as colorNeutralForeground1Static,Mr as colorNeutralForeground2,Er as colorNeutralForeground2BrandHover,Rr as colorNeutralForeground2BrandPressed,_r as colorNeutralForeground2BrandSelected,Or as colorNeutralForeground2Hover,ri as colorNeutralForeground2Link,ii as colorNeutralForeground2LinkHover,ai as colorNeutralForeground2LinkPressed,ni as colorNeutralForeground2LinkSelected,Hr as colorNeutralForeground2Pressed,Vr as colorNeutralForeground2Selected,jr as colorNeutralForeground3,Wr as colorNeutralForeground3BrandHover,Yr as colorNeutralForeground3BrandPressed,Ur as colorNeutralForeground3BrandSelected,Gr as colorNeutralForeground3Hover,qr as colorNeutralForeground3Pressed,Xr as colorNeutralForeground3Selected,Kr as colorNeutralForeground4,Qr as colorNeutralForegroundDisabled,gi as colorNeutralForegroundInverted,fi as colorNeutralForegroundInverted2,Zr as colorNeutralForegroundInvertedDisabled,bi as colorNeutralForegroundInvertedHover,ki as colorNeutralForegroundInvertedLink,xi as colorNeutralForegroundInvertedLinkHover,$i as colorNeutralForegroundInvertedLinkPressed,Bi as colorNeutralForegroundInvertedLinkSelected,vi as colorNeutralForegroundInvertedPressed,mi as colorNeutralForegroundInvertedSelected,yi as colorNeutralForegroundOnBrand,pi as colorNeutralForegroundStaticInverted,dn as colorNeutralShadowAmbient,gn as colorNeutralShadowAmbientDarker,un as colorNeutralShadowAmbientLighter,hn as colorNeutralShadowKey,bn as colorNeutralShadowKeyDarker,pn as colorNeutralShadowKeyLighter,ma as colorNeutralStencil1,ya as colorNeutralStencil1Alpha,fa as colorNeutralStencil2,ka as colorNeutralStencil2Alpha,Ea as colorNeutralStroke1,Ra as colorNeutralStroke1Hover,_a as colorNeutralStroke1Pressed,ja as colorNeutralStroke1Selected,Ga as colorNeutralStroke2,qa as colorNeutralStroke3,Ma as colorNeutralStrokeAccessible,Oa as colorNeutralStrokeAccessibleHover,Ha as colorNeutralStrokeAccessiblePressed,Va as colorNeutralStrokeAccessibleSelected,on as colorNeutralStrokeDisabled,rn as colorNeutralStrokeInvertedDisabled,Xa as colorNeutralStrokeOnBrand,Wa as colorNeutralStrokeOnBrand2,Ya as colorNeutralStrokeOnBrand2Hover,Ua as colorNeutralStrokeOnBrand2Pressed,Ka as colorNeutralStrokeOnBrand2Selected,ec as colorPaletteAnchorBackground2,oc as colorPaletteAnchorBorderActive,tc as colorPaletteAnchorForeground2,ql as colorPaletteBeigeBackground2,Wl as colorPaletteBeigeBorderActive,Xl as colorPaletteBeigeForeground2,es as colorPaletteBerryBackground1,ts as colorPaletteBerryBackground2,os as colorPaletteBerryBackground3,ss as colorPaletteBerryBorder1,ls as colorPaletteBerryBorder2,ns as colorPaletteBerryBorderActive,rs as colorPaletteBerryForeground1,is as colorPaletteBerryForeground2,as as colorPaletteBerryForeground3,ul as colorPaletteBlueBackground2,gl as colorPaletteBlueBorderActive,pl as colorPaletteBlueForeground2,_s as colorPaletteBrassBackground2,Gs as colorPaletteBrassBorderActive,js as colorPaletteBrassForeground2,qs as colorPaletteBrownBackground2,Ws as colorPaletteBrownBorderActive,Xs as colorPaletteBrownForeground2,fl as colorPaletteCornflowerBackground2,kl as colorPaletteCornflowerBorderActive,yl as colorPaletteCornflowerForeground2,zs as colorPaletteCranberryBackground2,Ts as colorPaletteCranberryBorderActive,As as colorPaletteCranberryForeground2,el as colorPaletteDarkGreenBackground2,ol as colorPaletteDarkGreenBorderActive,tl as colorPaletteDarkGreenForeground2,Mn as colorPaletteDarkOrangeBackground1,On as colorPaletteDarkOrangeBackground2,Hn as colorPaletteDarkOrangeBackground3,jn as colorPaletteDarkOrangeBorder1,Gn as colorPaletteDarkOrangeBorder2,_n as colorPaletteDarkOrangeBorderActive,Vn as colorPaletteDarkOrangeForeground1,En as colorPaletteDarkOrangeForeground2,Rn as colorPaletteDarkOrangeForeground3,Cs as colorPaletteDarkRedBackground2,Ns as colorPaletteDarkRedBorderActive,Fs as colorPaletteDarkRedForeground2,Ys as colorPaletteForestBackground2,Ks as colorPaletteForestBorderActive,Us as colorPaletteForestForeground2,Vs as colorPaletteGoldBackground2,Rs as colorPaletteGoldBorderActive,Es as colorPaletteGoldForeground2,zl as colorPaletteGrapeBackground2,Tl as colorPaletteGrapeBorderActive,Al as colorPaletteGrapeForeground2,Cn as colorPaletteGreenBackground1,Fn as colorPaletteGreenBackground2,Nn as colorPaletteGreenBackground3,Ln as colorPaletteGreenBorder1,Dn as colorPaletteGreenBorder2,In as colorPaletteGreenBorderActive,zn as colorPaletteGreenForeground1,An as colorPaletteGreenForeground2,Tn as colorPaletteGreenForeground3,ic as colorPaletteGreenForegroundInverted,wl as colorPaletteLavenderBackground2,Sl as colorPaletteLavenderBorderActive,Pl as colorPaletteLavenderForeground2,cs as colorPaletteLightGreenBackground1,ds as colorPaletteLightGreenBackground2,hs as colorPaletteLightGreenBackground3,vs as colorPaletteLightGreenBorder1,ms as colorPaletteLightGreenBorder2,bs as colorPaletteLightGreenBorderActive,us as colorPaletteLightGreenForeground1,ps as colorPaletteLightGreenForeground2,gs as colorPaletteLightGreenForeground3,rl as colorPaletteLightTealBackground2,al as colorPaletteLightTealBorderActive,il as colorPaletteLightTealForeground2,Il as colorPaletteLilacBackground2,Dl as colorPaletteLilacBorderActive,Ll as colorPaletteLilacForeground2,Vl as colorPaletteMagentaBackground2,Rl as colorPaletteMagentaBorderActive,El as colorPaletteMagentaForeground2,fs as colorPaletteMarigoldBackground1,ys as colorPaletteMarigoldBackground2,ks as colorPaletteMarigoldBackground3,Ps as colorPaletteMarigoldBorder1,Ss as colorPaletteMarigoldBorder2,ws as colorPaletteMarigoldBorderActive,xs as colorPaletteMarigoldForeground1,$s as colorPaletteMarigoldForeground2,Bs as colorPaletteMarigoldForeground3,Yl as colorPaletteMinkBackground2,Kl as colorPaletteMinkBorderActive,Ul as colorPaletteMinkForeground2,xl as colorPaletteNavyBackground2,Bl as colorPaletteNavyBorderActive,$l as colorPaletteNavyForeground2,Ms as colorPalettePeachBackground2,Hs as colorPalettePeachBorderActive,Os as colorPalettePeachForeground2,Ml as colorPalettePinkBackground2,Hl as colorPalettePinkBorderActive,Ol as colorPalettePinkForeground2,Ql as colorPalettePlatinumBackground2,Jl as colorPalettePlatinumBorderActive,Zl as colorPalettePlatinumForeground2,_l as colorPalettePlumBackground2,Gl as colorPalettePlumBorderActive,jl as colorPalettePlumForeground2,Is as colorPalettePumpkinBackground2,Ds as colorPalettePumpkinBorderActive,Ls as colorPalettePumpkinForeground2,Cl as colorPalettePurpleBackground2,Nl as colorPalettePurpleBorderActive,Fl as colorPalettePurpleForeground2,fn as colorPaletteRedBackground1,yn as colorPaletteRedBackground2,kn as colorPaletteRedBackground3,Pn as colorPaletteRedBorder1,Sn as colorPaletteRedBorder2,wn as colorPaletteRedBorderActive,xn as colorPaletteRedForeground1,$n as colorPaletteRedForeground2,Bn as colorPaletteRedForeground3,rc as colorPaletteRedForegroundInverted,bl as colorPaletteRoyalBlueBackground2,ml as colorPaletteRoyalBlueBorderActive,vl as colorPaletteRoyalBlueForeground2,Qs as colorPaletteSeafoamBackground2,Js as colorPaletteSeafoamBorderActive,Zs as colorPaletteSeafoamForeground2,cl as colorPaletteSteelBackground2,hl as colorPaletteSteelBorderActive,dl as colorPaletteSteelForeground2,nl as colorPaletteTealBackground2,ll as colorPaletteTealBorderActive,sl as colorPaletteTealForeground2,qn as colorPaletteYellowBackground1,Xn as colorPaletteYellowBackground2,Wn as colorPaletteYellowBackground3,Zn as colorPaletteYellowBorder1,Jn as colorPaletteYellowBorder2,Qn as colorPaletteYellowBorderActive,Yn as colorPaletteYellowForeground1,Un as colorPaletteYellowForeground2,Kn as colorPaletteYellowForeground3,ac as colorPaletteYellowForegroundInverted,$a as colorScrollbarOverlay,ln as colorStrokeFocus1,cn as colorStrokeFocus2,ea as colorSubtleBackground,ta as colorSubtleBackgroundHover,sa as colorSubtleBackgroundInverted,la as colorSubtleBackgroundInvertedHover,ca as colorSubtleBackgroundInvertedPressed,da as colorSubtleBackgroundInvertedSelected,ia as colorSubtleBackgroundLightAlphaHover,aa as colorSubtleBackgroundLightAlphaPressed,na as colorSubtleBackgroundLightAlphaSelected,oa as colorSubtleBackgroundPressed,ra as colorSubtleBackgroundSelected,ha as colorTransparentBackground,ua as colorTransparentBackgroundHover,pa as colorTransparentBackgroundPressed,ga as colorTransparentBackgroundSelected,an as colorTransparentStroke,sn as colorTransparentStrokeDisabled,nn as colorTransparentStrokeInteractive,Br as curveAccelerateMax,wr as curveAccelerateMid,Pr as curveAccelerateMin,Sr as curveDecelerateMax,Cr as curveDecelerateMid,Fr as curveDecelerateMin,zr as curveEasyEase,Nr as curveEasyEaseMax,Ar as curveLinear,eh as definition,fr as durationFast,mr as durationFaster,yr as durationNormal,kr as durationSlow,xr as durationSlower,vr as durationUltraFast,$r as durationUltraSlow,Oo as fontFamilyBase,Ho as fontFamilyMonospace,Vo as fontFamilyNumeric,mo as fontSizeBase100,fo as fontSizeBase200,yo as fontSizeBase300,ko as fontSizeBase400,xo as fontSizeBase500,$o as fontSizeBase600,So as fontSizeHero1000,Bo as fontSizeHero700,wo as fontSizeHero800,Po as fontSizeHero900,jo as fontWeightBold,Ro as fontWeightMedium,Eo as fontWeightRegular,_o as fontWeightSemibold,Co as lineHeightBase100,Fo as lineHeightBase200,No as lineHeightBase300,zo as lineHeightBase400,Ao as lineHeightBase500,To as lineHeightBase600,Mo as lineHeightHero1000,Io as lineHeightHero700,Lo as lineHeightHero800,Do as lineHeightHero900,dh as setTheme,cc as shadow16,bc as shadow16Brand,nc as shadow2,dc as shadow28,vc as shadow28Brand,uc as shadow2Brand,sc as shadow4,pc as shadow4Brand,hc as shadow64,mc as shadow64Brand,lc as shadow8,gc as shadow8Brand,tr as spacingHorizontalL,er as spacingHorizontalM,Jo as spacingHorizontalMNudge,Yo as spacingHorizontalNone,Zo as spacingHorizontalS,Qo as spacingHorizontalSNudge,or as spacingHorizontalXL,Ko as spacingHorizontalXS,rr as spacingHorizontalXXL,Uo as spacingHorizontalXXS,ir as spacingHorizontalXXXL,ur as spacingVerticalL,hr as spacingVerticalM,dr as spacingVerticalMNudge,ar as spacingVerticalNone,cr as spacingVerticalS,lr as spacingVerticalSNudge,pr as spacingVerticalXL,sr as spacingVerticalXS,gr as spacingVerticalXXL,nr as spacingVerticalXXS,br as spacingVerticalXXXL,qo as strokeWidthThick,Xo as strokeWidthThicker,Wo as strokeWidthThickest,Go as strokeWidthThin,Jd as switchStyles,Zd as switchTemplate};
|
|
245
|
+
background-color: ${Ks};
|
|
246
|
+
color: ${en};
|
|
247
|
+
border-color: ${rn};
|
|
248
|
+
}
|
|
249
|
+
`,cd=j`
|
|
250
|
+
:host([shape='square']){border-radius:${fo}}:host([shape='rounded']){border-radius:${yo}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mo}}${id}
|
|
251
|
+
${ad}
|
|
252
|
+
${sd}
|
|
253
|
+
${nd}
|
|
254
|
+
${ld}
|
|
255
|
+
${rd}
|
|
256
|
+
`,dd=Jc.compose({name:ho.prefix+"-badge",template:td,styles:cd});class hd extends kt{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)}}Ze([Le],hd.prototype,"appearance",void 0),Ze([Le],hd.prototype,"shape",void 0),Ze([Le],hd.prototype,"size",void 0),Ze([Le({attribute:"icon-only",mode:"boolean"})],hd.prototype,"iconOnly",void 0),Ze([Le({attribute:"disabled-focusable",mode:"boolean"})],hd.prototype,"disabledFocusable",void 0);const ud={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},pd={circular:"circular",rounded:"rounded",square:"square"},gd={small:"small",medium:"medium",large:"large"},bd=$t(),vd=j`
|
|
257
|
+
${ao("inline-flex")}
|
|
258
|
+
|
|
259
|
+
:host{--icon-spacing:${rr};contain:layout style}: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:${Mi};color:${Hr};border:${Ko} solid ${Xa};padding:0 ${sr};min-width:96px;border-radius:${yo};font-size:${So};font-family:${jo};font-weight:${Uo};line-height:${Do};transition-duration:${wr};transition-property:background,border,color;transition-timing-function:${Or};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${Hi};color:${Vr};border-color:${Wa}}:host(:hover:active) .control{background-color:${Vi};border-color:${Ua};color:${Er};outline-style:none}:host .control:focus-visible{border-color:${ds};outline:${Qo} solid ${ds};box-shadow:${pc},0 0 0 2px ${gs}}@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:${or}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${ir};border-radius:${mo};font-size:${Bo};line-height:${Lo};font-weight:${Xo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${ko};padding:0 ${nr};font-size:${Po};line-height:${Oo}}: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:${$o}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${fo}}:host([appearance='primary']) .control{background-color:${Ta};color:${Si};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${za}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${Si}}:host([appearance='primary']:hover:active) .control{background-color:${Na}}:host([appearance='primary']) .control:focus-visible{border-color:${Si};box-shadow:${uc},0 0 0 2px ${gs}}: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:${fa}}:host([appearance='outline']:hover) .control{background-color:${ma}}:host([appearance='outline']:hover:active) .control{background-color:${ya}}: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:${fa}}:host([appearance='subtle']) .control{background-color:${sa};color:${_r};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${na};color:${jr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${la};color:${Gr};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:${fa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Xr}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Wr}}:host([appearance='transparent']) .control{background-color:${fa};color:${_r}}:host([appearance='transparent']:hover) .control{background-color:${ma};color:${Xr}}:host([appearance='transparent']:hover:active) .control{background-color:${ya};color:${Wr}}: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:${fa}}: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)
|
|
260
|
+
.control{background-color:${xa};border-color:${ls};color:${ri};cursor:not-allowed}`,fd=hd.compose({name:ho.prefix+"-button",template:bd,styles:vd,shadowOptions:{delegatesFocus:!0}});class md extends Ke{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}}Ze([Le],md.prototype,"appearance",void 0),Ze([Le],md.prototype,"color",void 0),Ze([Le],md.prototype,"shape",void 0),Ze([Le],md.prototype,"size",void 0),Ze([Le({converter:Ae})],md.prototype,"count",void 0),Ze([Le({attribute:"overflow-count",converter:Ae})],md.prototype,"overflowCount",void 0),Ze([Le({attribute:"show-zero",mode:"boolean"})],md.prototype,"showZero",void 0),Ze([Le({mode:"boolean"})],md.prototype,"dot",void 0),lt(md,et);const yd={filled:"filled",ghost:"ghost"},kd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},xd={circular:"circular",rounded:"rounded"},$d={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const wd=ed({defaultContent:xe`${e=>e.setCount()}`}),Bd=j`
|
|
261
|
+
:host([shape='rounded']){border-radius:${yo}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mo}}${id}
|
|
262
|
+
${ad}
|
|
263
|
+
${sd}
|
|
264
|
+
${rd}
|
|
265
|
+
|
|
266
|
+
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Sd=md.compose({name:ho.prefix+"-counter-badge",template:wd,styles:Bd});class Pd extends _t{}Ze([Le({attribute:"align-content"})],Pd.prototype,"alignContent",void 0),Ze([Le],Pd.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],Pd.prototype,"inset",void 0);const Cd={center:"center",start:"start",end:"end"},Fd={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Td=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,zd=j`
|
|
267
|
+
${ao("flex")}
|
|
268
|
+
|
|
269
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:${Ka};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Ko}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${_r};font-family:${jo};font-size:${Bo};font-weight:${Xo};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:${Ko};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:${Xa}}:host([appearance='strong']) ::slotted(*){color:${Hr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${rs}}:host([appearance='brand']) ::slotted(*){color:${vi}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Qa}}:host([appearance='subtle']) ::slotted(*){color:${Yr}}`,Nd=Pd.compose({name:ho.prefix+"-divider",template:Td,styles:zd});class Ad extends Ke{}Ze([Le({mode:"boolean"})],Ad.prototype,"block",void 0),Ze([Le({mode:"boolean"})],Ad.prototype,"bordered",void 0),Ze([Le({mode:"boolean"})],Ad.prototype,"shadow",void 0),Ze([Le],Ad.prototype,"fit",void 0),Ze([Le],Ad.prototype,"shape",void 0);const Id={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Ld={circular:"circular",rounded:"rounded",square:"square"},Dd=xe`<slot></slot>`,Od=j`
|
|
270
|
+
: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:${Ko} solid ${Ka}}: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:${pc}}:host([shape='circular']) ::slotted(img){border-radius:${$o}}`,Md=Ad.compose({name:ho.prefix+"-image",template:Dd,styles:Od});class Hd extends hd{}const Vd=ud,Ed=pd,Rd=gd,_d=$t({end:xe.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),jd=Hd.compose({name:ho.prefix+"-menu-button",template:_d,styles:vd,shadowOptions:{delegatesFocus:!0}});class Gd extends qt{constructor(){super(...arguments),this.validationState=null}}Ze([Le],Gd.prototype,"thickness",void 0),Ze([Le],Gd.prototype,"shape",void 0),Ze([Le({attribute:"validation-state"})],Gd.prototype,"validationState",void 0);const qd={medium:"medium",large:"large"},Xd={rounded:"rounded",square:"square"},Wd={success:"success",warning:"warning",error:"error"},Ud=j`
|
|
271
|
+
${ao("flex")}
|
|
272
|
+
|
|
273
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${yo};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:${Ss}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
274
|
+
to right,${Bs} 0%,${Ss} 50%,${Bs}
|
|
275
|
+
)}:host([validation-state='warning']) .determinate{background-color:${js}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
276
|
+
to right,${_s} 0%,${js} 50%,${_s}
|
|
277
|
+
)}:host([validation-state='success']) .determinate{background-color:${Ls}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
278
|
+
to right,${Is} 0%,${Ls} 50%,${Is}
|
|
279
|
+
)}.progress{background-color:${ra};border-radius:${yo};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Ia};border-radius:${yo};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
280
|
+
to right,${Ma} 0%,${Ia} 50%,${Ma}
|
|
281
|
+
);border-radius:${yo};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(
|
|
282
|
+
to right,${Ma} 0%,${Ia} 50%,${Ma}
|
|
283
|
+
);border-radius:${yo};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}}`,Yd=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`<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,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Qe(e.indeterminateIndicator1)} ${Qe(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>'}),Kd=Gd.compose({name:ho.prefix+"-progress-bar",template:Yd,styles:Ud});class Qd extends Qt{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`
|
|
284
|
+
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Ze([Le],Qd.prototype,"size",void 0);const Zd={small:"small",medium:"medium"},Jd=j`
|
|
285
|
+
${ao("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:${mo};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 ${gs};outline:1px solid ${ps}}.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:${Ta};border-radius:${$o};box-shadow:inset 0 0 0 var(--thumb-padding) ${Mi},0 0 0 1px ${Xa}}.thumb-cursor:hover{background-color:${La}}.thumb-cursor:active{background-color:${Da}}:host([disabled]) .thumb-cursor{background-color:${ri};box-shadow:inset 0 0 0 var(--thumb-padding) ${Mi},0 0 0 1px ${ls}}.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:${_a};border-radius:${yo};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${yo};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
286
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Mi} calc(var(--step-rate) - 1px),${Mi} var(--step-rate)
|
|
287
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${xa}}: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:${Ia};position:absolute;height:100%;left:0;border-radius:${yo}}:host([disabled]) .track-start{background-color:${ri}}:host(:hover) .track-start{background-color:${La}}:host([disabled]:hover) .track-start{background-color:${ri}}.track-start:active{background-color:${Da}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,eh=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">${Qe(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),th=Qd.compose({name:ho.prefix+"-slider",template:eh,styles:Jd});class oh extends Gt{}Ze([Le],oh.prototype,"size",void 0),Ze([Le],oh.prototype,"appearance",void 0);const rh={primary:"primary",inverted:"inverted"},ih={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},ah=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">${Qe(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 '}),sh=j`
|
|
288
|
+
${ao("flex")}
|
|
289
|
+
|
|
290
|
+
: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:${is};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${rs};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:${Ja}}.indeterminate-indicator-1{stroke:${rs};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:${Ja}}@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)}}`,nh=oh.compose({name:ho.prefix+"-spinner",template:ah,styles:sh});class lh extends eo{}Ze([Le({attribute:"label-position"})],lh.prototype,"labelPosition",void 0);const ch={above:"above",after:"after",before:"before"},dh=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">${Qe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),hh=j`
|
|
291
|
+
${ao("inline-flex")}
|
|
292
|
+
|
|
293
|
+
: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:${Hr};line-height:${Do};font-size:${So};font-weight:${Xo};font-family:${jo};padding:${pr} ${or};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${tr};box-sizing:border-box;width:40px;height:20px;background-color:${fa};border:1px solid ${_a};border-radius:${$o};outline:none;cursor:pointer;margin:${br} ${ir}}:host(:hover) .switch{background:none;border-color:${ja}}:host(:active) .switch{border-color:${Ga}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${ls};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Ia}}:host([aria-checked='true']:hover) .switch{background:${La};border-color:${La}}:host([aria-checked='true']:active) .switch{background:${Da};border-color:${Da}}:host([aria-checked='true'][disabled]) .switch{background:${xa};border-color:${ls}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Yr};transition-duration:${Sr};transition-timing-function:${Or};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${ki};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${xi}}:host([aria-checked='true']:active) .checked-indicator{background:${$i}}:host(:hover) .checked-indicator{background-color:${Kr}}:host(:active) .checked-indicator{background-color:${Qr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${ri}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${ri}}`,uh=lh.compose({name:ho.prefix+"-switch",template:dh,styles:hh}),ph={subtle:"subtle",transparent:"transparent"},gh={small:"small",medium:"medium",large:"large"};class bh extends io{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=ph.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===ro.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===ro.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],s=null==a?void 0:a.getBoundingClientRect(),n=this.getBoundingClientRect();this.activeTabData={x:s.x-n.x,y:s.y-n.y,height:s.height,width:s.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`
|
|
294
|
+
:host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
|
|
295
|
+
: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()}}Ze([Le],bh.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],bh.prototype,"disabled",void 0),Ze([Le],bh.prototype,"size",void 0);const vh=function(e={}){return xe` ${ot(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Fe("tabs")}></slot></div>${tt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Fe("tabpanels")}></slot></div>`}({}),fh=j`
|
|
296
|
+
${ao("grid")}
|
|
297
|
+
|
|
298
|
+
:host{box-sizing:border-box;font-family:${jo};font-size:${So};line-height:${Do};color:${_r};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${ri}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${ri}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${ri}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${ri}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${yo}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${ri}}.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:${na};color:${Vr};fill:${gi}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${la};fill:${la};color:${Hr}}:host([size='small']) ::slotted(fluent-tab){font-size:${So};line-height:${Do};padding:${gr} ${rr}}:host([size='large']) ::slotted(fluent-tab){font-size:${Po};line-height:${Oo};padding:${mr} ${ar}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Pr};transition-timing-function:${Ar}}:host ::slotted(fluent-tab)::after{height:${Zo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Zo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Zo};border-radius:${$o};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Zo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Zo};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:${Zo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${gr};padding-bottom:${gr}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${ur};padding-bottom:${ur}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${br};padding-bottom:${br}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${rr};left:${rr}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${ar};left:${ar}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${ar};left:${ar}}: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:${gr};bottom:${gr}}: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:${br};bottom:${br}}: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:${vr};bottom:${vr}}`,mh=bh.compose({name:ho.prefix+"-tabs",template:vh,styles:fh});class yh extends oo{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
|
|
299
|
+
:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const kh=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${ot(e)}<span class="tab-content"><slot></slot></span>${tt(e)}</template>`}({}),xh=j`
|
|
300
|
+
${ao("inline-flex")}
|
|
301
|
+
|
|
302
|
+
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Do};font-family:${jo};font-size:${So};color:${_r};fill:currentcolor;grid-row:1;padding:${sr} ${ar};border-radius:${yo}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Hr};font-weight:${Uo}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Do};font-weight:${Uo}}:host([aria-selected='true'])::after{background-color:${as};border-radius:${$o};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Wa};border-radius:${$o};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${ri}}::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:${ri};color:${ri}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${mo};box-shadow:0 0 0 3px ${gs};outline:1px solid ${ps}}`,$h=yh.compose({name:ho.prefix+"-tab",template:kh,styles:xh});class wh extends to{}const Bh=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Sh=j`
|
|
303
|
+
${ao("block")}
|
|
304
|
+
|
|
305
|
+
:host{box-sizing:border-box;padding:${sr} ${ar}}`,Ph=wh.compose({name:ho.prefix+"-tab-panel",template:Bh,styles:Sh});class Ch extends Ke{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ze([Le({mode:"boolean"})],Ch.prototype,"nowrap",void 0),Ze([Le({mode:"boolean"})],Ch.prototype,"truncate",void 0),Ze([Le({mode:"boolean"})],Ch.prototype,"italic",void 0),Ze([Le({mode:"boolean"})],Ch.prototype,"underline",void 0),Ze([Le({mode:"boolean"})],Ch.prototype,"strikethrough",void 0),Ze([Le({mode:"boolean"})],Ch.prototype,"block",void 0),Ze([Le],Ch.prototype,"size",void 0),Ze([Le],Ch.prototype,"font",void 0),Ze([Le],Ch.prototype,"weight",void 0),Ze([Le],Ch.prototype,"align",void 0);const Fh={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Th={base:"base",numeric:"numeric",monospace:"monospace"},zh={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Nh={start:"start",end:"end",center:"center",justify:"justify"},Ah=xe`<slot></slot>`,Ih=j`
|
|
306
|
+
${ao("inline")}
|
|
307
|
+
|
|
308
|
+
:host{contain:content}::slotted(*){font-family:${jo};font-size:${So};line-height:${Do};font-weight:${Xo};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:${wo};line-height:${Io}}:host([size='200']) ::slotted(*){font-size:${Bo};line-height:${Lo}}:host([size='400']) ::slotted(*){font-size:${Po};line-height:${Oo}}:host([size='500']) ::slotted(*){font-size:${Co};line-height:${Mo}}:host([size='600']) ::slotted(*){font-size:${Fo};line-height:${Ho}}:host([size='700']) ::slotted(*){font-size:${To};line-height:${Vo}}:host([size='800']) ::slotted(*){font-size:${zo};line-height:${Eo}}:host([size='900']) ::slotted(*){font-size:${No};line-height:${Ro}}:host([size='1000']) ::slotted(*){font-size:${Ao};line-height:${_o}}:host([font='monospace']) ::slotted(*){font-family:${Go}}:host([font='numeric']) ::slotted(*){font-family:${qo}}:host([weight='medium']) ::slotted(*){font-weight:${Wo}}:host([weight='semibold']) ::slotted(*){font-weight:${Uo}}:host([weight='bold']) ::slotted(*){font-weight:${Yo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Lh=Ch.compose({name:ho.prefix+"-text",template:Ah,styles:Ih}),Dh=Object.keys(Bc),Oh=e=>{for(const t of Dh)Bc[t].withDefault(e[t])};export{so as Accordion,po as AccordionItem,bo as AccordionItemExpandIconPosition,go as AccordionItemSize,Ec as Avatar,Lc as AvatarActive,Oc as AvatarAppearance,Hc as AvatarColor,Uc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Vc as AvatarSize,Wc as AvatarStyles,jc as AvatarTemplate,Jc as Badge,Yc as BadgeAppearance,Kc as BadgeColor,dd as BadgeDefinition,Qc as BadgeShape,Zc as BadgeSize,cd as BadgeStyles,td as BadgeTemplate,hd as Button,ud as ButtonAppearance,fd as ButtonDefinition,pd as ButtonShape,gd as ButtonSize,vd as ButtonStyles,bd as ButtonTemplate,md as CounterBadge,yd as CounterBadgeAppearance,kd as CounterBadgeColor,Sd as CounterBadgeDefinition,xd as CounterBadgeShape,$d as CounterBadgeSize,Bd as CounterBadgeStyles,wd as CounterBadgeTemplate,Pd as Divider,Cd as DividerAlignContent,Fd as DividerAppearance,Nd as DividerDefinition,Rt as DividerOrientation,Et as DividerRole,zd as DividerStyles,Td as DividerTemplate,Ad as Image,Md as ImageDefinition,Id as ImageFit,Ld as ImageShape,Od as ImageStyles,Dd as ImageTemplate,Hd as MenuButton,Vd as MenuButtonAppearance,jd as MenuButtonDefinition,Ed as MenuButtonShape,Rd as MenuButtonSize,vd as MenuButtonStyles,_d as MenuButtonTemplate,Gd as ProgressBar,Kd as ProgressBarDefinition,Xd as ProgressBarShape,Ud as ProgressBarStyles,Yd as ProgressBarTemplate,qd as ProgressBarThickness,Wd as ProgressBarValidationState,Qd as Slider,th as SliderDefinition,Xt as SliderOrientation,Zd as SliderSize,Jd as SliderStyles,eh as SliderTemplate,oh as Spinner,rh as SpinnerAppearance,nh as SpinnerDefinition,ih as SpinnerSize,sh as SpinnerStyles,ah as SpinnerTemplate,lh as Switch,ch as SwitchLabelPosition,yh as Tab,$h as TabDefinition,wh as TabPanel,Ph as TabPanelDefinition,Sh as TabPanelStyles,Bh as TabPanelTemplate,xh as TabStyles,kh as TabTemplate,bh as Tabs,ph as TabsAppearance,mh as TabsDefinition,ro as TabsOrientation,gh as TabsSize,fh as TabsStyles,vh as TabsTemplate,Ch as Text,Nh as TextAlign,Lh as TextDefinition,Th as TextFont,Fh as TextSize,Ih as TextStyles,Ah as TextTemplate,zh as TextWeight,uo as accordionDefinition,Cc as accordionItemDefinition,Sc as accordionItemStyles,Pc as accordionItemTemplate,co as accordionStyles,no as accordionTemplate,$o as borderRadiusCircular,ko as borderRadiusLarge,yo as borderRadiusMedium,fo as borderRadiusNone,mo as borderRadiusSmall,xo as borderRadiusXLarge,Ca as colorBackgroundOverlay,Ta as colorBrandBackground,Ma as colorBrandBackground2,za as colorBrandBackgroundHover,Ha as colorBrandBackgroundInverted,Va as colorBrandBackgroundInvertedHover,Ea as colorBrandBackgroundInvertedPressed,Ra as colorBrandBackgroundInvertedSelected,Na as colorBrandBackgroundPressed,Aa as colorBrandBackgroundSelected,Oa as colorBrandBackgroundStatic,vi as colorBrandForeground1,fi as colorBrandForeground2,zi as colorBrandForegroundInverted,Ni as colorBrandForegroundInvertedHover,Ai as colorBrandForegroundInvertedPressed,ai as colorBrandForegroundLink,si as colorBrandForegroundLinkHover,ni as colorBrandForegroundLinkPressed,li as colorBrandForegroundLinkSelected,Ii as colorBrandForegroundOnLight,Li as colorBrandForegroundOnLightHover,Di as colorBrandForegroundOnLightPressed,Oi as colorBrandForegroundOnLightSelected,xs as colorBrandShadowAmbient,$s as colorBrandShadowKey,rs as colorBrandStroke1,is as colorBrandStroke2,Ia as colorCompoundBrandBackground,La as colorCompoundBrandBackgroundHover,Da as colorCompoundBrandBackgroundPressed,pi as colorCompoundBrandForeground1,gi as colorCompoundBrandForeground1Hover,bi as colorCompoundBrandForeground1Pressed,as as colorCompoundBrandStroke,ss as colorCompoundBrandStrokeHover,ns as colorCompoundBrandStrokePressed,Mi as colorNeutralBackground1,Hi as colorNeutralBackground1Hover,Vi as colorNeutralBackground1Pressed,Ei as colorNeutralBackground1Selected,Ri as colorNeutralBackground2,_i as colorNeutralBackground2Hover,ji as colorNeutralBackground2Pressed,Gi as colorNeutralBackground2Selected,qi as colorNeutralBackground3,Xi as colorNeutralBackground3Hover,Wi as colorNeutralBackground3Pressed,Ui as colorNeutralBackground3Selected,Yi as colorNeutralBackground4,Ki as colorNeutralBackground4Hover,Qi as colorNeutralBackground4Pressed,Zi as colorNeutralBackground4Selected,Ji as colorNeutralBackground5,ea as colorNeutralBackground5Hover,ta as colorNeutralBackground5Pressed,oa as colorNeutralBackground5Selected,ra as colorNeutralBackground6,xa as colorNeutralBackgroundDisabled,ia as colorNeutralBackgroundInverted,$a as colorNeutralBackgroundInvertedDisabled,aa as colorNeutralBackgroundStatic,Hr as colorNeutralForeground1,Vr as colorNeutralForeground1Hover,Er as colorNeutralForeground1Pressed,Rr as colorNeutralForeground1Selected,mi as colorNeutralForeground1Static,_r as colorNeutralForeground2,Xr as colorNeutralForeground2BrandHover,Wr as colorNeutralForeground2BrandPressed,Ur as colorNeutralForeground2BrandSelected,jr as colorNeutralForeground2Hover,ci as colorNeutralForeground2Link,di as colorNeutralForeground2LinkHover,hi as colorNeutralForeground2LinkPressed,ui as colorNeutralForeground2LinkSelected,Gr as colorNeutralForeground2Pressed,qr as colorNeutralForeground2Selected,Yr as colorNeutralForeground3,Jr as colorNeutralForeground3BrandHover,ei as colorNeutralForeground3BrandPressed,ti as colorNeutralForeground3BrandSelected,Kr as colorNeutralForeground3Hover,Qr as colorNeutralForeground3Pressed,Zr as colorNeutralForeground3Selected,oi as colorNeutralForeground4,ri as colorNeutralForegroundDisabled,ki as colorNeutralForegroundInverted,Bi as colorNeutralForegroundInverted2,ii as colorNeutralForegroundInvertedDisabled,xi as colorNeutralForegroundInvertedHover,Pi as colorNeutralForegroundInvertedLink,Ci as colorNeutralForegroundInvertedLinkHover,Fi as colorNeutralForegroundInvertedLinkPressed,Ti as colorNeutralForegroundInvertedLinkSelected,$i as colorNeutralForegroundInvertedPressed,wi as colorNeutralForegroundInvertedSelected,Si as colorNeutralForegroundOnBrand,yi as colorNeutralForegroundStaticInverted,bs as colorNeutralShadowAmbient,ys as colorNeutralShadowAmbientDarker,fs as colorNeutralShadowAmbientLighter,vs as colorNeutralShadowKey,ks as colorNeutralShadowKeyDarker,ms as colorNeutralShadowKeyLighter,wa as colorNeutralStencil1,Sa as colorNeutralStencil1Alpha,Ba as colorNeutralStencil2,Pa as colorNeutralStencil2Alpha,Xa as colorNeutralStroke1,Wa as colorNeutralStroke1Hover,Ua as colorNeutralStroke1Pressed,Ya as colorNeutralStroke1Selected,Ka as colorNeutralStroke2,Qa as colorNeutralStroke3,_a as colorNeutralStrokeAccessible,ja as colorNeutralStrokeAccessibleHover,Ga as colorNeutralStrokeAccessiblePressed,qa as colorNeutralStrokeAccessibleSelected,ls as colorNeutralStrokeDisabled,cs as colorNeutralStrokeInvertedDisabled,Za as colorNeutralStrokeOnBrand,Ja as colorNeutralStrokeOnBrand2,es as colorNeutralStrokeOnBrand2Hover,ts as colorNeutralStrokeOnBrand2Pressed,os as colorNeutralStrokeOnBrand2Selected,sc as colorPaletteAnchorBackground2,lc as colorPaletteAnchorBorderActive,nc as colorPaletteAnchorForeground2,Ql as colorPaletteBeigeBackground2,Jl as colorPaletteBeigeBorderActive,Zl as colorPaletteBeigeForeground2,sn as colorPaletteBerryBackground1,nn as colorPaletteBerryBackground2,ln as colorPaletteBerryBackground3,pn as colorPaletteBerryBorder1,gn as colorPaletteBerryBorder2,un as colorPaletteBerryBorderActive,cn as colorPaletteBerryForeground1,dn as colorPaletteBerryForeground2,hn as colorPaletteBerryForeground3,ml as colorPaletteBlueBackground2,kl as colorPaletteBlueBorderActive,yl as colorPaletteBlueForeground2,Un as colorPaletteBrassBackground2,Kn as colorPaletteBrassBorderActive,Yn as colorPaletteBrassForeground2,Qn as colorPaletteBrownBackground2,Jn as colorPaletteBrownBorderActive,Zn as colorPaletteBrownForeground2,Bl as colorPaletteCornflowerBackground2,Pl as colorPaletteCornflowerBorderActive,Sl as colorPaletteCornflowerForeground2,On as colorPaletteCranberryBackground2,Hn as colorPaletteCranberryBorderActive,Mn as colorPaletteCranberryForeground2,sl as colorPaletteDarkGreenBackground2,ll as colorPaletteDarkGreenBorderActive,nl as colorPaletteDarkGreenForeground2,Rs as colorPaletteDarkOrangeBackground1,_s as colorPaletteDarkOrangeBackground2,js as colorPaletteDarkOrangeBackground3,Us as colorPaletteDarkOrangeBorder1,Ys as colorPaletteDarkOrangeBorder2,Ws as colorPaletteDarkOrangeBorderActive,Gs as colorPaletteDarkOrangeForeground1,qs as colorPaletteDarkOrangeForeground2,Xs as colorPaletteDarkOrangeForeground3,In as colorPaletteDarkRedBackground2,Dn as colorPaletteDarkRedBorderActive,Ln as colorPaletteDarkRedForeground2,el as colorPaletteForestBackground2,ol as colorPaletteForestBorderActive,tl as colorPaletteForestForeground2,qn as colorPaletteGoldBackground2,Wn as colorPaletteGoldBorderActive,Xn as colorPaletteGoldForeground2,Ol as colorPaletteGrapeBackground2,Hl as colorPaletteGrapeBorderActive,Ml as colorPaletteGrapeForeground2,As as colorPaletteGreenBackground1,Is as colorPaletteGreenBackground2,Ls as colorPaletteGreenBackground3,Vs as colorPaletteGreenBorder1,Es as colorPaletteGreenBorder2,Hs as colorPaletteGreenBorderActive,Ds as colorPaletteGreenForeground1,Os as colorPaletteGreenForeground2,Ms as colorPaletteGreenForeground3,dc as colorPaletteGreenForegroundInverted,zl as colorPaletteLavenderBackground2,Al as colorPaletteLavenderBorderActive,Nl as colorPaletteLavenderForeground2,bn as colorPaletteLightGreenBackground1,vn as colorPaletteLightGreenBackground2,fn as colorPaletteLightGreenBackground3,$n as colorPaletteLightGreenBorder1,wn as colorPaletteLightGreenBorder2,xn as colorPaletteLightGreenBorderActive,mn as colorPaletteLightGreenForeground1,yn as colorPaletteLightGreenForeground2,kn as colorPaletteLightGreenForeground3,cl as colorPaletteLightTealBackground2,hl as colorPaletteLightTealBorderActive,dl as colorPaletteLightTealForeground2,Vl as colorPaletteLilacBackground2,Rl as colorPaletteLilacBorderActive,El as colorPaletteLilacForeground2,ql as colorPaletteMagentaBackground2,Wl as colorPaletteMagentaBorderActive,Xl as colorPaletteMagentaForeground2,Bn as colorPaletteMarigoldBackground1,Sn as colorPaletteMarigoldBackground2,Pn as colorPaletteMarigoldBackground3,Nn as colorPaletteMarigoldBorder1,An as colorPaletteMarigoldBorder2,zn as colorPaletteMarigoldBorderActive,Cn as colorPaletteMarigoldForeground1,Fn as colorPaletteMarigoldForeground2,Tn as colorPaletteMarigoldForeground3,ec as colorPaletteMinkBackground2,oc as colorPaletteMinkBorderActive,tc as colorPaletteMinkForeground2,Cl as colorPaletteNavyBackground2,Tl as colorPaletteNavyBorderActive,Fl as colorPaletteNavyForeground2,_n as colorPalettePeachBackground2,Gn as colorPalettePeachBorderActive,jn as colorPalettePeachForeground2,_l as colorPalettePinkBackground2,Gl as colorPalettePinkBorderActive,jl as colorPalettePinkForeground2,rc as colorPalettePlatinumBackground2,ac as colorPalettePlatinumBorderActive,ic as colorPalettePlatinumForeground2,Ul as colorPalettePlumBackground2,Kl as colorPalettePlumBorderActive,Yl as colorPalettePlumForeground2,Vn as colorPalettePumpkinBackground2,Rn as colorPalettePumpkinBorderActive,En as colorPalettePumpkinForeground2,Il as colorPalettePurpleBackground2,Dl as colorPalettePurpleBorderActive,Ll as colorPalettePurpleForeground2,ws as colorPaletteRedBackground1,Bs as colorPaletteRedBackground2,Ss as colorPaletteRedBackground3,zs as colorPaletteRedBorder1,Ns as colorPaletteRedBorder2,Ts as colorPaletteRedBorderActive,Ps as colorPaletteRedForeground1,Cs as colorPaletteRedForeground2,Fs as colorPaletteRedForeground3,cc as colorPaletteRedForegroundInverted,xl as colorPaletteRoyalBlueBackground2,wl as colorPaletteRoyalBlueBorderActive,$l as colorPaletteRoyalBlueForeground2,rl as colorPaletteSeafoamBackground2,al as colorPaletteSeafoamBorderActive,il as colorPaletteSeafoamForeground2,bl as colorPaletteSteelBackground2,fl as colorPaletteSteelBorderActive,vl as colorPaletteSteelForeground2,ul as colorPaletteTealBackground2,gl as colorPaletteTealBorderActive,pl as colorPaletteTealForeground2,Ks as colorPaletteYellowBackground1,Qs as colorPaletteYellowBackground2,Zs as colorPaletteYellowBackground3,rn as colorPaletteYellowBorder1,an as colorPaletteYellowBorder2,on as colorPaletteYellowBorderActive,Js as colorPaletteYellowForeground1,en as colorPaletteYellowForeground2,tn as colorPaletteYellowForeground3,hc as colorPaletteYellowForegroundInverted,Fa as colorScrollbarOverlay,ps as colorStrokeFocus1,gs as colorStrokeFocus2,sa as colorSubtleBackground,na as colorSubtleBackgroundHover,pa as colorSubtleBackgroundInverted,ga as colorSubtleBackgroundInvertedHover,ba as colorSubtleBackgroundInvertedPressed,va as colorSubtleBackgroundInvertedSelected,da as colorSubtleBackgroundLightAlphaHover,ha as colorSubtleBackgroundLightAlphaPressed,ua as colorSubtleBackgroundLightAlphaSelected,la as colorSubtleBackgroundPressed,ca as colorSubtleBackgroundSelected,fa as colorTransparentBackground,ma as colorTransparentBackgroundHover,ya as colorTransparentBackgroundPressed,ka as colorTransparentBackgroundSelected,ds as colorTransparentStroke,us as colorTransparentStrokeDisabled,hs as colorTransparentStrokeInteractive,Tr as curveAccelerateMax,zr as curveAccelerateMid,Nr as curveAccelerateMin,Ar as curveDecelerateMax,Ir as curveDecelerateMid,Lr as curveDecelerateMin,Or as curveEasyEase,Dr as curveEasyEaseMax,Mr as curveLinear,uh as definition,Br as durationFast,wr as durationFaster,Sr as durationNormal,Pr as durationSlow,Cr as durationSlower,$r as durationUltraFast,Fr as durationUltraSlow,jo as fontFamilyBase,Go as fontFamilyMonospace,qo as fontFamilyNumeric,wo as fontSizeBase100,Bo as fontSizeBase200,So as fontSizeBase300,Po as fontSizeBase400,Co as fontSizeBase500,Fo as fontSizeBase600,Ao as fontSizeHero1000,To as fontSizeHero700,zo as fontSizeHero800,No as fontSizeHero900,Yo as fontWeightBold,Wo as fontWeightMedium,Xo as fontWeightRegular,Uo as fontWeightSemibold,Io as lineHeightBase100,Lo as lineHeightBase200,Do as lineHeightBase300,Oo as lineHeightBase400,Mo as lineHeightBase500,Ho as lineHeightBase600,_o as lineHeightHero1000,Vo as lineHeightHero700,Eo as lineHeightHero800,Ro as lineHeightHero900,Oh as setTheme,bc as shadow16,xc as shadow16Brand,uc as shadow2,vc as shadow28,$c as shadow28Brand,mc as shadow2Brand,pc as shadow4,yc as shadow4Brand,fc as shadow64,wc as shadow64Brand,gc as shadow8,kc as shadow8Brand,nr as spacingHorizontalL,sr as spacingHorizontalM,ar as spacingHorizontalMNudge,er as spacingHorizontalNone,ir as spacingHorizontalS,rr as spacingHorizontalSNudge,lr as spacingHorizontalXL,or as spacingHorizontalXS,cr as spacingHorizontalXXL,tr as spacingHorizontalXXS,dr as spacingHorizontalXXXL,mr as spacingVerticalL,fr as spacingVerticalM,vr as spacingVerticalMNudge,hr as spacingVerticalNone,br as spacingVerticalS,gr as spacingVerticalSNudge,yr as spacingVerticalXL,pr as spacingVerticalXS,kr as spacingVerticalXXL,ur as spacingVerticalXXS,xr as spacingVerticalXXXL,Qo as strokeWidthThick,Zo as strokeWidthThicker,Jo as strokeWidthThickest,Ko as strokeWidthThin,hh as switchStyles,dh as switchTemplate};
|