@fluentui/web-components 3.0.0-alpha.6 → 3.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.json +28 -1
  2. package/CHANGELOG.md +13 -2
  3. package/dist/dts/avatar/avatar.d.ts +97 -0
  4. package/dist/dts/avatar/avatar.definition.d.ts +9 -0
  5. package/dist/dts/avatar/avatar.options.d.ts +142 -0
  6. package/dist/dts/avatar/avatar.styles.d.ts +4 -0
  7. package/dist/dts/avatar/avatar.template.d.ts +8 -0
  8. package/dist/dts/avatar/define.d.ts +1 -0
  9. package/dist/dts/avatar/index.d.ts +5 -0
  10. package/dist/dts/divider/define.d.ts +1 -0
  11. package/dist/dts/divider/divider.d.ts +31 -0
  12. package/dist/dts/divider/divider.definition.d.ts +9 -0
  13. package/dist/dts/divider/divider.options.d.ts +40 -0
  14. package/dist/dts/divider/divider.styles.d.ts +4 -0
  15. package/dist/dts/divider/divider.template.d.ts +7 -0
  16. package/dist/dts/divider/index.d.ts +5 -0
  17. package/dist/dts/image/define.d.ts +1 -0
  18. package/dist/dts/image/image.d.ts +48 -0
  19. package/dist/dts/image/image.definition.d.ts +9 -0
  20. package/dist/dts/image/image.options.d.ts +27 -0
  21. package/dist/dts/image/image.styles.d.ts +5 -0
  22. package/dist/dts/image/image.template.d.ts +7 -0
  23. package/dist/dts/image/index.d.ts +5 -0
  24. package/dist/dts/index.d.ts +3 -0
  25. package/dist/dts/utils/get-initials.d.ts +18 -0
  26. package/dist/esm/avatar/avatar.definition.js +17 -0
  27. package/dist/esm/avatar/avatar.definition.js.map +1 -0
  28. package/dist/esm/avatar/avatar.js +92 -0
  29. package/dist/esm/avatar/avatar.js.map +1 -0
  30. package/dist/esm/avatar/avatar.options.js +87 -0
  31. package/dist/esm/avatar/avatar.options.js.map +1 -0
  32. package/dist/esm/avatar/avatar.styles.js +476 -0
  33. package/dist/esm/avatar/avatar.styles.js.map +1 -0
  34. package/dist/esm/avatar/avatar.template.js +28 -0
  35. package/dist/esm/avatar/avatar.template.js.map +1 -0
  36. package/dist/esm/avatar/define.js +4 -0
  37. package/dist/esm/avatar/define.js.map +1 -0
  38. package/dist/esm/avatar/index.js +6 -0
  39. package/dist/esm/avatar/index.js.map +1 -0
  40. package/dist/esm/divider/define.js +4 -0
  41. package/dist/esm/divider/define.js.map +1 -0
  42. package/dist/esm/divider/divider.definition.js +17 -0
  43. package/dist/esm/divider/divider.definition.js.map +1 -0
  44. package/dist/esm/divider/divider.js +21 -0
  45. package/dist/esm/divider/divider.js.map +1 -0
  46. package/dist/esm/divider/divider.options.js +31 -0
  47. package/dist/esm/divider/divider.options.js.map +1 -0
  48. package/dist/esm/divider/divider.styles.js +111 -0
  49. package/dist/esm/divider/divider.styles.js.map +1 -0
  50. package/dist/esm/divider/divider.template.js +7 -0
  51. package/dist/esm/divider/divider.template.js.map +1 -0
  52. package/dist/esm/divider/index.js +6 -0
  53. package/dist/esm/divider/index.js.map +1 -0
  54. package/dist/esm/image/define.js +4 -0
  55. package/dist/esm/image/define.js.map +1 -0
  56. package/dist/esm/image/image.definition.js +17 -0
  57. package/dist/esm/image/image.definition.js.map +1 -0
  58. package/dist/esm/image/image.js +24 -0
  59. package/dist/esm/image/image.js.map +1 -0
  60. package/dist/esm/image/image.options.js +21 -0
  61. package/dist/esm/image/image.options.js.map +1 -0
  62. package/dist/esm/image/image.styles.js +52 -0
  63. package/dist/esm/image/image.styles.js.map +1 -0
  64. package/dist/esm/image/image.template.js +7 -0
  65. package/dist/esm/image/image.template.js.map +1 -0
  66. package/dist/esm/image/index.js +6 -0
  67. package/dist/esm/image/index.js.map +1 -0
  68. package/dist/esm/index.js +3 -0
  69. package/dist/esm/index.js.map +1 -1
  70. package/dist/esm/utils/get-initials.js +83 -0
  71. package/dist/esm/utils/get-initials.js.map +1 -0
  72. package/dist/fluent-web-components.api.json +3379 -1847
  73. package/dist/web-components.d.ts +454 -0
  74. package/dist/web-components.js +494 -19
  75. package/dist/web-components.min.js +123 -118
  76. package/docs/api-report.md +237 -0
  77. package/package.json +13 -1
@@ -1,26 +1,27 @@
1
- import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==o)o.globalThis=o;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 r={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},r));const n=globalThis.FAST;if(void 0===n.getById){const e=Object.create(null);Reflect.defineProperty(n,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},r))}void 0===n.error&&Object.assign(n,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const i=Object.freeze([]);function s(){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 a(){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}}let l;try{if(document.currentScript)l=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");l=e[e.length-1].getAttribute("fast-kernel")}}catch(e){l="isolate"}let c;switch(l){case"share":c=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":c=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);c=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const d=e=>"function"==typeof e,u=e=>"string"==typeof e,h=()=>{},g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const m=v,b=Object.freeze({get policy(){return v},setPolicy(e){if(v!==m)throw n.error(1201);v=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)}}),y=n.getById(c.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function n(){if(t.length)throw t.shift()}function i(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(n,0)}}function s(){let t=0;for(;t<e.length;)if(i(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 a(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:a,next:()=>new Promise(a),process:s,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,n=t.length;r<n;++r)t[r].handleChange(o,e)}}class B{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 n;n=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),n.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 P=Object.freeze({unknown:void 0,coupled:1}),x=n.getById(c.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,i=e=>{throw n.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=i(e):o.set(e,r=new B(e))),r}const l=a();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];d(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class g extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0,this.toJSON=h}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!==P.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 n;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{n=this.expression(e,t)}finally{r=o}return n}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,n=s(e),i=null===o?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=n,n.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=i}this.last=i}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 Object.freeze({setArrayObserverFactory(e){i=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){u(t)&&(t=new c(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new g(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function S(e,t){x.defineProperty(e,t)}const w=n.getById(c.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),$=Object.freeze({default:{index:0,length:0,get event(){return $.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>w.get(),setEvent(e){w.set(e)}});let C;class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(C),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){C=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const F=s(),A=Object.freeze({getForInstance:F.getForInstance,getByType:F.getByType,define:e=>(F.register({type:e}),e)});function T(e,t){const o=[];let r="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];void 0!==A.getForInstance(s)&&(s=s.createCSS(i)),s instanceof N||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const I=(e,...t)=>{const{styles:o,behaviors:r}=T(e,t),n=new N(o);return r.length?n.withBehaviors(...r):n};class L{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(u(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}A.define(L),I.partial=(e,...t)=>{const{styles:o,behaviors:r}=T(e,t);return new L(o,r)};const z="fast-"+Math.random().toString(36).substring(2,8),O=z+"{",H="}"+z,V=H.length;let D=0;const M=()=>`${z}-${++D}`,E=Object.freeze({interpolation:e=>`${O}${e}${H}`,attribute:e=>`${M()}="${O}${e}${H}"`,comment:e=>`\x3c!--${O}${e}${H}--\x3e`}),R=Object.freeze({parse(e,t){const o=e.split(O);if(1===o.length)return null;const r=[];for(let e=0,n=o.length;e<n;++e){const n=o[e],i=n.indexOf(H);let s;if(-1===i)s=n;else{const e=n.substring(0,i);r.push(t[e]),s=n.substring(i+V)}""!==s&&r.push(s)}return r}}),_=s(),j=Object.freeze({getForInstance:_.getForInstance,getByType:_.getByType,define:(e,t)=>((t=t||{}).type=e,_.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 G{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class X{constructor(e){this.options=e,this.toJSON=h}createHTML(e){return E.attribute(e(this))}createBehavior(){return this}}class q extends G{createObserver(e,t){return x.binding(this.evaluate,t,this.isVolatile)}}class W extends G{constructor(){super(...arguments),this.toJSON=h}createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}const Y={[g.attribute]:b.setAttribute,[g.booleanAttribute]:b.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 n=this.id+"-t",i=null!==(r=e[n])&&void 0!==r?r:e[n]={v:0,cv:Object.create(null)},s=i.cv;let a=i.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]=a,l.add(o))}}if(i.v=a+1,0!==a){a-=1;for(const e in s)s[e]===a&&l.remove(e)}},[g.event]:()=>{}};class U{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return E.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=Y[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw n.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){$.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);$.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 K(e,t,o=x.isVolatileBinding(e)){return new q(e,t,o)}function Q(e,t){return new W(e,t)}function J(e,t){const o=e.parentNode;let r,n=e;for(;n!==t;)r=n.nextSibling,o.removeChild(n),n=r;o.removeChild(t)}j.define(U,{aspected:!0});class Z{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=P.unknown,this.context=this,this.index=0,this.length=0,this.toJSON=h,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return $.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,n=this.firstChild;for(;n!==t;)r=n.nextSibling,o.insertBefore(n,e),n=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(){J(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){J(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}x.defineProperty(Z.prototype,"index"),x.defineProperty(Z.prototype,"length");const ee=(e,t)=>`${e}.${t}`,te={},oe={index:0,node:null};function re(e){e.startsWith("fast-")||n.warn(1204,{name:e})}const ne=new Proxy(document.createElement("div"),{get(e,t){re(t);const o=Reflect.get(e,t);return d(o)?o.bind(e):o},set:(e,t,o)=>(re(t),Reflect.set(e,t,o))});class ie{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,n){var i,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(i=e.id)&&void 0!==i?i:M(),e.targetNodeId=o,e.targetTagName=n,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 n=te[t];if(!n){const r="_"+t;te[t]=n={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=n}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ne;for(const e of this.nodeIds)o[e];return new Z(t,this.factories,o)}}function se(e,t,o,r,n,i=!1){const s=o.attributes,a=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],u=d.value,h=R.parse(u,a);let g=null;null===h?i&&(g=new U(Q(()=>u,e.policy)),j.assignAspect(g,d.name)):g=ce.aggregate(h,e.policy),null!==g&&(o.removeAttributeNode(d),l--,c--,e.addFactory(g,t,r,n,o.tagName))}}function ae(e,t,o){let r=0,n=t.firstChild;for(;n;){const t=le(e,o,n,r);n=t.node,r=t.index}}function le(e,t,o,r){const n=ee(t,r);switch(o.nodeType){case 1:se(e,t,o,n,r),ae(e,o,n);break;case 3:return function(e,t,o,r,n){const i=R.parse(t.textContent,e.directives);if(null===i)return oe.node=t.nextSibling,oe.index=n+1,oe;let s,a=s=t;for(let t=0,l=i.length;t<l;++t){const l=i[t];0!==t&&(n++,r=ee(o,n),s=a.parentNode.insertBefore(document.createTextNode(""),a.nextSibling)),u(l)?s.textContent=l:(s.textContent=" ",j.assignAspect(l),e.addFactory(l,o,r,n,null)),a=s}return oe.index=n+1,oe.node=a.nextSibling,oe}(e,o,t,n,r);case 8:const i=R.parse(o.data,e.directives);null!==i&&e.addFactory(ce.aggregate(i),t,n,r,null)}return oe.index=r+1,oe.node=o.nextSibling,oe}const ce={compile(e,t,o=b.policy){let r;if(u(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 n=document.adoptNode(r.content),i=new ie(n,t,o);var s,a;return se(i,"",r,"h",0,!0),s=n.firstChild,a=t,(s&&8==s.nodeType&&null!==R.parse(s.data,a)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ae(i,n,"r"),oe.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=b.policy){if(1===e.length)return e[0];let o,r,n=!1,i=void 0;const s=e.length,a=e.map(e=>u(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=a[r](e,t);return o},r.isVolatile=n,r.policy=null!=i?i:t;const l=new U(r);return j.assignAspect(l,o),l}},de=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,ue=Object.create(null);class he{constructor(e,t=ue){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ge(e,t,o,r=j.getForInstance(e)){if(r.aspected){const o=de.exec(t);null!==o&&j.assignAspect(e,o[2])}return e.createHTML(o)}he.empty=new he(""),j.define(he);class pe{constructor(e,t={},o){this.policy=o,this.result=null,this.toJSON=h,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ce.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new he(u(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw n.error(1208);if(this.policy)throw n.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 n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=M();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,a=t[o];if(r+=n,d(a))a=new U(K(a));else if(a instanceof G)a=new U(a);else if(!(s=j.getForInstance(a))){const e=a;a=new U(Q(()=>e))}r+=ge(a,n,i,s)}return new pe(r+e[e.length-1],n,o)}}const fe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return pe.create(e,t);throw n.error(1206)};fe.partial=e=>new he(e);class ve extends X{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}j.define(ve);const me=e=>new ve(e);function be(e,t){const o=d(e)?e:()=>e,r=d(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const ye=e=>1===e.nodeType;class ke extends X{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,i),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 Be extends ke{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 Pe(e){return u(e)&&(e={property:e}),new Be(e)}j.define(Be);const xe=Object.freeze({locate:a()}),Se={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function we(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const $e={toView(e){const t=we(e);return t?t.toString():t},fromView:we};class Ce{constructor(e,t,o=t.toLowerCase(),r="reflect",n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=n,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===n&&(this.converter=Se)}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 x.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||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;b.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":b.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(xe.locate(e));for(let r=0,n=t.length;r<n;++r){const n=t[r];if(void 0!==n)for(let t=0,r=n.length;t<r;++t){const r=n[t];u(r)?o.push(new Ce(e,r)):o.push(new Ce(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ne(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),xe.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Fe={mode:"open"},Ae={},Te=new Set,Ie=n.getById(c.elementRegistry,()=>s());class Le{constructor(e,t=e.definition){var o;this.platformDefined=!1,u(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,n=Ce.collect(e,t.attributes),i=new Array(n.length),s={},a={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,a[t.attribute]=t,x.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=a,this.shadowOptions=void 0===t.shadowOptions?Fe:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Fe),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Ae:Object.assign(Object.assign({},Ae),t.elementOptions),this.styles=N.normalize(t.styles),Ie.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 Te.has(e)||Ie.getByType(e)?new Le(class extends e{},t):new Le(e,t)}static registerBaseType(e){Te.add(e)}}Le.getByType=Ie.getByType,Le.getForInstance=Ie.getForInstance;const ze={bubbles:!0,composed:!0,cancelable:!0},Oe=new WeakMap;function He(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Oe.get(e))&&void 0!==o?o:null}let Ve;class De extends B{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.toJSON=h,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&&Oe.set(e,t))}const r=x.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,n=r.length;o<n;++o){const n=r[o].name,i=e[n];void 0!==i&&(delete e[n],t[n]=i)}}}get isConnected(){return x.track(this,"isConnected"),1===this.stage}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))}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,n=null!==(o=r.get(e))&&void 0!==o?o:0;0===n?(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,n+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=He(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=He(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,n=o.length;r<n;++r){const n=o[r];e[n]=t[n]}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,x.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,x.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},ze),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=He(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=P.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Le.getForInstance(e);if(void 0===o)throw n.error(1401);return e.$fastController=new Ve(e,o)}static setStrategy(e){Ve=e}}function Me(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=He(e))&&void 0!==t?t:e.getRootNode()}De.setStrategy(De);class Ee{constructor(e){const t=Ee.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=Me(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Me(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Ee.styleSheetCache=new Map;let Re=0;function _e(e){return e===document?document.body:e}function je(e){const t=class extends e{constructor(){super(),De.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 Le.registerBaseType(t),t}N.setDefaultStrategy(N.supportsAdoptedStyleSheets?Ee:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Re}addStylesTo(e){e=_e(Me(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const n=document.createElement("style");n.innerHTML=t[r],n.className=o,e.append(n)}}removeStylesFrom(e){const t=(e=_e(Me(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ge=Object.assign(je(HTMLElement),{from:function(e){return je(e)},define:function(e,t){return d(e)?Le.compose(e,t).define().type:Le.compose(this,e).define().type},compose:function(e,t){return d(e)?Le.compose(e,t):Le.compose(this,e)}});function Xe(e){return e?"string"==typeof e?new he(e):"inline"in e?e.inline():e:he.empty}function qe(e,t,o,r){var n,i=arguments.length,s=i<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 a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s}class We{}function Ye(e){return fe`<slot name="end" ${me("end")}>${Xe(e.end)}</slot>`.inline()}function Ue(e){return fe`<slot name="start" ${me("start")}>${Xe(e.start)}</slot>`.inline()}let Ke=0;function Qe(e,...t){const o=xe.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});xe.locate(t).forEach(e=>o.push(e))})}class Je extends Ge{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${Ke++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}qe([Ne({attribute:"heading-level",mode:"fromView",converter:$e})],Je.prototype,"headinglevel",void 0),qe([Ne({mode:"boolean"})],Je.prototype,"expanded",void 0),qe([Ne({mode:"boolean"})],Je.prototype,"disabled",void 0),qe([Ne],Je.prototype,"id",void 0),Qe(Je,We);const Ze="single",et="multi";class tt extends Ge{constructor(){super(...arguments),this.expandmode=et,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=>x.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof Je&&(e.addEventListener("click",this.activeItemChange),x.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)=>{x.getNotifier(e).unsubscribe(this,"disabled"),x.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 Je&&(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!==Ze?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 Je&&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===Ze}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 Je&&e.expandbutton.focus()}}qe([Ne({attribute:"expand-mode"})],tt.prototype,"expandmode",void 0),qe([S],tt.prototype,"slottedAccordionItems",void 0);const ot="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,rt=new WeakMap;function nt(e){class t extends(function(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 ot}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 i}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),y.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),y.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ot)return null;let e=rt.get(this);return e||(e=this.attachInternals(),rt.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 Ne({mode:"boolean"})(t.prototype,"disabled"),Ne({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ne({attribute:"current-value"})(t.prototype,"currentValue"),Ne(t.prototype,"name"),Ne({mode:"boolean"})(t.prototype,"required"),S(t.prototype,"value"),t}(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ne({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ne({attribute:"current-checked",converter:Se})(o.prototype,"currentChecked"),S(o.prototype,"defaultChecked"),S(o.prototype,"checked"),o}class it{constructor(e){this.value=e,this.notifier=x.getNotifier(this),this.dependencies=new Set,this.binding=x.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=it.cache.get(e);return t||(t=new it(e),it.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)}}it.cache=new WeakMap;class st{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&&x.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&x.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class at{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){x.getNotifier(this.token).notify(this)}}class lt{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=lt.getAssignedTokensForNode(e),r=e.parent;do{const e=lt.getAssignedTokensForNode(r);for(let n=0,i=e.length;n<i;n++){const i=e[n];!o.includes(i)&&lt.isDerivedFor(r,i)&&t.set(i,r._derived.get(i))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return lt.isAssigned(e,t)?lt.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(lt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=lt.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=lt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const n=lt.composeAssignedTokensForNode(this),i=lt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of n){let n=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(n=1,r.splice(e,1))}e.dispatch(new at(this,n,o,null===(t=i.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new at(this,2,t,null===(o=i.get(t))||void 0===o?void 0:o.evaluator.value));lt.notify()}removeChild(e){if(e.parent===this){const t=lt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new at(this,2,o));lt.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=lt.isAssigned(this,e)||lt.isDerivedFor(this,e)?1:0,r=lt.getLocalTokenValue(this,e);this._values.set(e,t),lt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const n=lt.isDerivedTokenValue(t),i=lt.collectDerivedContext(this);let s;if(n){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&lt.queueNotification(new at(this,o,e,t)),this.dispatch(new at(this,o,e,t)),i.forEach((e,t)=>{if(!lt.isDerivedFor(this,t)){lt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&lt.queueNotification(new at(this,1,t,e.evaluator.value)),this.dispatch(new at(this,0,t,e.evaluator.value))}}),lt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(lt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(lt.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(lt.isAssigned(this,e)){const t=lt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}lt.queueNotification(new at(this,2,e)),t!==o&&this.dispatch(new at(this,2,e)),lt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:n}=e,i=lt.isAssigned(this,n),s=i&&(null===(t=this._derived.get(n))||void 0===t?void 0:t.evaluator.dependencies.has(n));if(i&&!s)return;2===e.type&&!i&&lt.isDerivedFor(this,n)&&(this.tearDownDerivedTokenValue(n),lt.queueNotification(new at(this,2,n))),s&&(e=new at(this,1,n,null===(o=this._derived.get(n))||void 0===o?void 0:o.evaluator.value));const{value:a}=e;if(a&&lt.isDerivedTokenValue(a)){const t=it.getOrCreate(a).dependencies;let o=!1;for(const e of t)if(lt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(n))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(n,a);if(t!==o.value){const r=new at(this,void 0===t?0:1,n,o.evaluator.value);lt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{lt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of lt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new at(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(lt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{lt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new st(e,it.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new at(this,1,r.token,r.evaluator.value);lt.queueNotification(e),this.dispatch(e),lt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&lt.getOrCreateDependencyGraph(this,t).add(r)}),r}}lt._notifications=[];class ct{setProperty(e,t){y.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){y.enqueue(()=>this.target.removeProperty(e))}}class dt extends ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class ut 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 ht{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),x.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),y.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),y.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}}qe([S],ht.prototype,"target",void 0);class gt{setProperty(e,t){gt.properties[e]=t;for(const o of gt.roots.values())o.setProperty(e,t)}removeProperty(e){delete gt.properties[e];for(const t of gt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=gt;if(!t.has(e)){t.add(e);for(const t in gt.properties)e.setProperty(t,gt.properties[t])}}static unregisterRoot(e){const{roots:t}=gt;if(t.has(e)){t.delete(e);for(const t in gt.properties)e.removeProperty(t)}}}gt.roots=new Set,gt.properties={};const pt=new WeakMap,ft=N.supportsAdoptedStyleSheets?class extends ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:ht,vt=Object.freeze({getOrCreate(e){if(pt.has(e))return pt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new dt:new ut:new ft(e),pt.set(e,t),t}});class mt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Bt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,x.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Bt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new bt({name:e,cssCustomPropertyName:e}):mt.isCSSDesignTokenConfiguration(e)?new bt(e):new mt(e)}static withStrategy(e){Bt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.unregisterRoot(e)}getValueFor(e){return Bt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Bt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Bt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Bt.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 mt&&(e=this.alias(e)),e}}let bt=class extends mt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Bt.defaultNode?Bt.rootStyleSheetTarget:t.target instanceof Bt?vt.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})`,x.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 yt;bt=qe([function(e){A.define(e)},function(e){j.define(e,yt)}],bt);const kt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ge)return o;o=t(o)}return null}};class Bt extends lt{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&&Bt.withStrategy(kt),this._strategy}connectedCallback(e){let t=Bt.findParent(e.source);if(null===t&&(t=Bt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Bt&&Bt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Bt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Bt.cache.get(e);return t||(t=new Bt(e),Bt.cache.set(e,t),e.$fastController.addBehavior(Bt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Bt.strategy.parent(e);for(;null!==t;){const e=Bt.cache.get(t);if(e)return e;t=Bt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Bt.defaultNode.appendChild(this),e.apply(this,t))}}Bt.defaultNode=new lt,Bt.rootStyleSheetTarget=new gt,Bt.cache=new WeakMap;class Pt extends Ge{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)}}qe([Ne({converter:$e})],Pt.prototype,"value",void 0),qe([Ne({converter:$e})],Pt.prototype,"min",void 0),qe([Ne({converter:$e})],Pt.prototype,"max",void 0),qe([S],Pt.prototype,"percentComplete",void 0);class xt extends Pt{}class St extends Pt{}class wt extends Ge{}class $t extends(nt(wt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ct extends $t{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)}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}qe([Ne({attribute:"readonly",mode:"boolean"})],Ct.prototype,"readOnly",void 0),qe([S],Ct.prototype,"defaultSlottedNodes",void 0);function Nt(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Ft extends tt{}const At=fe`<template><slot ${Pe({property:"slottedAccordionItems",filter:Tt?e=>1===e.nodeType&&e.matches(Tt):ye})}></slot></template>`;var Tt;const It=I`
2
- ${Nt("flex")}
1
+ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==o)o.globalThis=o;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 r={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},r));const n=globalThis.FAST;if(void 0===n.getById){const e=Object.create(null);Reflect.defineProperty(n,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},r))}void 0===n.error&&Object.assign(n,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const i=Object.freeze([]);function s(){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 a(){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}}let l;try{if(document.currentScript)l=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");l=e[e.length-1].getAttribute("fast-kernel")}}catch(e){l="isolate"}let c;switch(l){case"share":c=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":c=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);c=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const d=e=>"function"==typeof e,h=e=>"string"==typeof e,u=()=>{},g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw n.error(1201);v=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)}}),y=n.getById(c.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function n(){if(t.length)throw t.shift()}function i(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(n,0)}}function s(){let t=0;for(;t<e.length;)if(i(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 a(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:a,next:()=>new Promise(a),process:s,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,n=t.length;r<n;++r)t[r].handleChange(o,e)}}class B{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 n;n=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),n.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 x=Object.freeze({unknown:void 0,coupled:1}),w=n.getById(c.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,i=e=>{throw n.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=i(e):o.set(e,r=new B(e))),r}const l=a();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];d(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class g extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0,this.toJSON=u}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!==x.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 n;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{n=this.expression(e,t)}finally{r=o}return n}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,n=s(e),i=null===o?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=n,n.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=i}this.last=i}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 Object.freeze({setArrayObserverFactory(e){i=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){h(t)&&(t=new c(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new g(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const $=n.getById(c.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),S=Object.freeze({default:{index:0,length:0,get event(){return S.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>$.get(),setEvent(e){$.set(e)}});let F;class C{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof C?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(F),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 C?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){F=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new C(e):e instanceof C?e:new C([e])}}C.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const N=s(),z=Object.freeze({getForInstance:N.getForInstance,getByType:N.getByType,define:e=>(N.register({type:e}),e)});function A(e,t){const o=[];let r="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];void 0!==z.getForInstance(s)&&(s=s.createCSS(i)),s instanceof C||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:n}}const I=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t),n=new C(o);return r.length?n.withBehaviors(...r):n};class T{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(h(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new C(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)}}z.define(T),I.partial=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t);return new T(o,r)};const L="fast-"+Math.random().toString(36).substring(2,8),O=L+"{",H="}"+L,D=H.length;let V=0;const M=()=>`${L}-${++V}`,E=Object.freeze({interpolation:e=>`${O}${e}${H}`,attribute:e=>`${M()}="${O}${e}${H}"`,comment:e=>`\x3c!--${O}${e}${H}--\x3e`}),R=Object.freeze({parse(e,t){const o=e.split(O);if(1===o.length)return null;const r=[];for(let e=0,n=o.length;e<n;++e){const n=o[e],i=n.indexOf(H);let s;if(-1===i)s=n;else{const e=n.substring(0,i);r.push(t[e]),s=n.substring(i+D)}""!==s&&r.push(s)}return r}}),_=s(),j=Object.freeze({getForInstance:_.getForInstance,getByType:_.getByType,define:(e,t)=>((t=t||{}).type=e,_.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 G{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class q{constructor(e){this.options=e,this.toJSON=u}createHTML(e){return E.attribute(e(this))}createBehavior(){return this}}class X extends G{createObserver(e,t){return w.binding(this.evaluate,t,this.isVolatile)}}class W extends G{constructor(){super(...arguments),this.toJSON=u}createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}const Y={[g.attribute]:m.setAttribute,[g.booleanAttribute]:m.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 n=this.id+"-t",i=null!==(r=e[n])&&void 0!==r?r:e[n]={v:0,cv:Object.create(null)},s=i.cv;let a=i.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]=a,l.add(o))}}if(i.v=a+1,0!==a){a-=1;for(const e in s)s[e]===a&&l.remove(e)}},[g.event]:()=>{}};class U{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return E.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=Y[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw n.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){S.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);S.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 K(e,t,o=w.isVolatileBinding(e)){return new X(e,t,o)}function Q(e,t){return new W(e,t)}function J(e,t){const o=e.parentNode;let r,n=e;for(;n!==t;)r=n.nextSibling,o.removeChild(n),n=r;o.removeChild(t)}j.define(U,{aspected:!0});class Z{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=x.unknown,this.context=this,this.index=0,this.length=0,this.toJSON=u,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return S.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,n=this.firstChild;for(;n!==t;)r=n.nextSibling,o.insertBefore(n,e),n=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(){J(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){J(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}w.defineProperty(Z.prototype,"index"),w.defineProperty(Z.prototype,"length");const ee=(e,t)=>`${e}.${t}`,te={},oe={index:0,node:null};function re(e){e.startsWith("fast-")||n.warn(1204,{name:e})}const ne=new Proxy(document.createElement("div"),{get(e,t){re(t);const o=Reflect.get(e,t);return d(o)?o.bind(e):o},set:(e,t,o)=>(re(t),Reflect.set(e,t,o))});class ie{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,n){var i,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(i=e.id)&&void 0!==i?i:M(),e.targetNodeId=o,e.targetTagName=n,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 n=te[t];if(!n){const r="_"+t;te[t]=n={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=n}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ne;for(const e of this.nodeIds)o[e];return new Z(t,this.factories,o)}}function se(e,t,o,r,n,i=!1){const s=o.attributes,a=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=R.parse(h,a);let g=null;null===u?i&&(g=new U(Q(()=>h,e.policy)),j.assignAspect(g,d.name)):g=ce.aggregate(u,e.policy),null!==g&&(o.removeAttributeNode(d),l--,c--,e.addFactory(g,t,r,n,o.tagName))}}function ae(e,t,o){let r=0,n=t.firstChild;for(;n;){const t=le(e,o,n,r);n=t.node,r=t.index}}function le(e,t,o,r){const n=ee(t,r);switch(o.nodeType){case 1:se(e,t,o,n,r),ae(e,o,n);break;case 3:return function(e,t,o,r,n){const i=R.parse(t.textContent,e.directives);if(null===i)return oe.node=t.nextSibling,oe.index=n+1,oe;let s,a=s=t;for(let t=0,l=i.length;t<l;++t){const l=i[t];0!==t&&(n++,r=ee(o,n),s=a.parentNode.insertBefore(document.createTextNode(""),a.nextSibling)),h(l)?s.textContent=l:(s.textContent=" ",j.assignAspect(l),e.addFactory(l,o,r,n,null)),a=s}return oe.index=n+1,oe.node=a.nextSibling,oe}(e,o,t,n,r);case 8:const i=R.parse(o.data,e.directives);null!==i&&e.addFactory(ce.aggregate(i),t,n,r,null)}return oe.index=r+1,oe.node=o.nextSibling,oe}const ce={compile(e,t,o=m.policy){let r;if(h(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 n=document.adoptNode(r.content),i=new ie(n,t,o);var s,a;return se(i,"",r,"h",0,!0),s=n.firstChild,a=t,(s&&8==s.nodeType&&null!==R.parse(s.data,a)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ae(i,n,"r"),oe.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,r,n=!1,i=void 0;const s=e.length,a=e.map(e=>h(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=a[r](e,t);return o},r.isVolatile=n,r.policy=null!=i?i:t;const l=new U(r);return j.assignAspect(l,o),l}},de=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,he=Object.create(null);class ue{constructor(e,t=he){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ge(e,t,o,r=j.getForInstance(e)){if(r.aspected){const o=de.exec(t);null!==o&&j.assignAspect(e,o[2])}return e.createHTML(o)}ue.empty=new ue(""),j.define(ue);class pe{constructor(e,t={},o){this.policy=o,this.result=null,this.toJSON=u,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ce.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ue(h(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw n.error(1208);if(this.policy)throw n.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 n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=M();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,a=t[o];if(r+=n,d(a))a=new U(K(a));else if(a instanceof G)a=new U(a);else if(!(s=j.getForInstance(a))){const e=a;a=new U(Q(()=>e))}r+=ge(a,n,i,s)}return new pe(r+e[e.length-1],n,o)}}const fe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return pe.create(e,t);throw n.error(1206)};fe.partial=e=>new ue(e);class ve extends q{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}j.define(ve);const be=e=>new ve(e);function me(e,t){const o=d(e)?e:()=>e,r=d(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const ye=e=>1===e.nodeType;class ke extends q{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,i),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 Be extends ke{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 xe(e){return h(e)&&(e={property:e}),new Be(e)}j.define(Be);const we=Object.freeze({locate:a()}),Pe={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function $e(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Se={toView(e){const t=$e(e);return t?t.toString():t},fromView:$e};class Fe{constructor(e,t,o=t.toLowerCase(),r="reflect",n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=n,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===n&&(this.converter=Pe)}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||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(we.locate(e));for(let r=0,n=t.length;r<n;++r){const n=t[r];if(void 0!==n)for(let t=0,r=n.length;t<r;++t){const r=n[t];h(r)?o.push(new Fe(e,r)):o.push(new Fe(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ce(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),we.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ne={mode:"open"},ze={},Ae=new Set,Ie=n.getById(c.elementRegistry,()=>s());class Te{constructor(e,t=e.definition){var o;this.platformDefined=!1,h(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,n=Fe.collect(e,t.attributes),i=new Array(n.length),s={},a={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,a[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=a,this.shadowOptions=void 0===t.shadowOptions?Ne:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ne),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?ze:Object.assign(Object.assign({},ze),t.elementOptions),this.styles=C.normalize(t.styles),Ie.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 Ae.has(e)||Ie.getByType(e)?new Te(class extends e{},t):new Te(e,t)}static registerBaseType(e){Ae.add(e)}}Te.getByType=Ie.getByType,Te.getForInstance=Ie.getForInstance;const Le={bubbles:!0,composed:!0,cancelable:!0},Oe=new WeakMap;function He(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Oe.get(e))&&void 0!==o?o:null}let De;class Ve extends B{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.toJSON=u,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&&Oe.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,n=r.length;o<n;++o){const n=r[o].name,i=e[n];void 0!==i&&(delete e[n],t[n]=i)}}}get isConnected(){return w.track(this,"isConnected"),1===this.stage}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))}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,n=null!==(o=r.get(e))&&void 0!==o?o:0;0===n?(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,n+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=He(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=He(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,n=o.length;r<n;++r){const n=o[r];e[n]=t[n]}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},Le),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=He(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=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Te.getForInstance(e);if(void 0===o)throw n.error(1401);return e.$fastController=new De(e,o)}static setStrategy(e){De=e}}function Me(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=He(e))&&void 0!==t?t:e.getRootNode()}Ve.setStrategy(Ve);class Ee{constructor(e){const t=Ee.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=Me(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Me(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Ee.styleSheetCache=new Map;let Re=0;function _e(e){return e===document?document.body:e}function je(e){const t=class extends e{constructor(){super(),Ve.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 Te.registerBaseType(t),t}C.setDefaultStrategy(C.supportsAdoptedStyleSheets?Ee:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Re}addStylesTo(e){e=_e(Me(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const n=document.createElement("style");n.innerHTML=t[r],n.className=o,e.append(n)}}removeStylesFrom(e){const t=(e=_e(Me(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ge=Object.assign(je(HTMLElement),{from:function(e){return je(e)},define:function(e,t){return d(e)?Te.compose(e,t).define().type:Te.compose(this,e).define().type},compose:function(e,t){return d(e)?Te.compose(e,t):Te.compose(this,e)}});function qe(e){return e?"string"==typeof e?new ue(e):"inline"in e?e.inline():e:ue.empty}function Xe(e,t,o,r){var n,i=arguments.length,s=i<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 a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s}class We{}function Ye(e){return fe`<slot name="end" ${be("end")}>${qe(e.end)}</slot>`.inline()}function Ue(e){return fe`<slot name="start" ${be("start")}>${qe(e.start)}</slot>`.inline()}let Ke=0;function Qe(e,...t){const o=we.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});we.locate(t).forEach(e=>o.push(e))})}class Je extends Ge{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${Ke++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Xe([Ce({attribute:"heading-level",mode:"fromView",converter:Se})],Je.prototype,"headinglevel",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"expanded",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"disabled",void 0),Xe([Ce],Je.prototype,"id",void 0),Qe(Je,We);const Ze="single",et="multi";class tt extends Ge{constructor(){super(...arguments),this.expandmode=et,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 Je&&(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 Je&&(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!==Ze?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 Je&&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===Ze}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 Je&&e.expandbutton.focus()}}Xe([Ce({attribute:"expand-mode"})],tt.prototype,"expandmode",void 0),Xe([P],tt.prototype,"slottedAccordionItems",void 0);const ot="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,rt=new WeakMap;function nt(e){class t extends(function(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 ot}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 i}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),y.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),y.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ot)return null;let e=rt.get(this);return e||(e=this.attachInternals(),rt.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 Ce({mode:"boolean"})(t.prototype,"disabled"),Ce({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ce({attribute:"current-value"})(t.prototype,"currentValue"),Ce(t.prototype,"name"),Ce({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ce({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ce({attribute:"current-checked",converter:Pe})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}class it{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=it.cache.get(e);return t||(t=new it(e),it.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)}}it.cache=new WeakMap;class st{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 at{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 lt{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=lt.getAssignedTokensForNode(e),r=e.parent;do{const e=lt.getAssignedTokensForNode(r);for(let n=0,i=e.length;n<i;n++){const i=e[n];!o.includes(i)&&lt.isDerivedFor(r,i)&&t.set(i,r._derived.get(i))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return lt.isAssigned(e,t)?lt.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(lt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=lt.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=lt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const n=lt.composeAssignedTokensForNode(this),i=lt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of n){let n=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(n=1,r.splice(e,1))}e.dispatch(new at(this,n,o,null===(t=i.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new at(this,2,t,null===(o=i.get(t))||void 0===o?void 0:o.evaluator.value));lt.notify()}removeChild(e){if(e.parent===this){const t=lt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new at(this,2,o));lt.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=lt.isAssigned(this,e)||lt.isDerivedFor(this,e)?1:0,r=lt.getLocalTokenValue(this,e);this._values.set(e,t),lt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const n=lt.isDerivedTokenValue(t),i=lt.collectDerivedContext(this);let s;if(n){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&lt.queueNotification(new at(this,o,e,t)),this.dispatch(new at(this,o,e,t)),i.forEach((e,t)=>{if(!lt.isDerivedFor(this,t)){lt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&lt.queueNotification(new at(this,1,t,e.evaluator.value)),this.dispatch(new at(this,0,t,e.evaluator.value))}}),lt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(lt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(lt.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(lt.isAssigned(this,e)){const t=lt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}lt.queueNotification(new at(this,2,e)),t!==o&&this.dispatch(new at(this,2,e)),lt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:n}=e,i=lt.isAssigned(this,n),s=i&&(null===(t=this._derived.get(n))||void 0===t?void 0:t.evaluator.dependencies.has(n));if(i&&!s)return;2===e.type&&!i&&lt.isDerivedFor(this,n)&&(this.tearDownDerivedTokenValue(n),lt.queueNotification(new at(this,2,n))),s&&(e=new at(this,1,n,null===(o=this._derived.get(n))||void 0===o?void 0:o.evaluator.value));const{value:a}=e;if(a&&lt.isDerivedTokenValue(a)){const t=it.getOrCreate(a).dependencies;let o=!1;for(const e of t)if(lt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(n))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(n,a);if(t!==o.value){const r=new at(this,void 0===t?0:1,n,o.evaluator.value);lt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{lt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of lt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new at(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(lt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{lt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new st(e,it.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new at(this,1,r.token,r.evaluator.value);lt.queueNotification(e),this.dispatch(e),lt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&lt.getOrCreateDependencyGraph(this,t).add(r)}),r}}lt._notifications=[];class ct{setProperty(e,t){y.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){y.enqueue(()=>this.target.removeProperty(e))}}class dt extends ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class ht 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 ut{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),y.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),y.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}}Xe([P],ut.prototype,"target",void 0);class gt{setProperty(e,t){gt.properties[e]=t;for(const o of gt.roots.values())o.setProperty(e,t)}removeProperty(e){delete gt.properties[e];for(const t of gt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=gt;if(!t.has(e)){t.add(e);for(const t in gt.properties)e.setProperty(t,gt.properties[t])}}static unregisterRoot(e){const{roots:t}=gt;if(t.has(e)){t.delete(e);for(const t in gt.properties)e.removeProperty(t)}}}gt.roots=new Set,gt.properties={};const pt=new WeakMap,ft=C.supportsAdoptedStyleSheets?class extends ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new C([t]))}}:ut,vt=Object.freeze({getOrCreate(e){if(pt.has(e))return pt.get(e);let t;return t=e instanceof Document?C.supportsAdoptedStyleSheets?new dt:new ht:new ft(e),pt.set(e,t),t}});class bt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Bt.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 Bt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new mt({name:e,cssCustomPropertyName:e}):bt.isCSSDesignTokenConfiguration(e)?new mt(e):new bt(e)}static withStrategy(e){Bt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.unregisterRoot(e)}getValueFor(e){return Bt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Bt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Bt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Bt.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 bt&&(e=this.alias(e)),e}}let mt=class extends bt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Bt.defaultNode?Bt.rootStyleSheetTarget:t.target instanceof Bt?vt.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 yt;mt=Xe([function(e){z.define(e)},function(e){j.define(e,yt)}],mt);const kt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ge)return o;o=t(o)}return null}};class Bt extends lt{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&&Bt.withStrategy(kt),this._strategy}connectedCallback(e){let t=Bt.findParent(e.source);if(null===t&&(t=Bt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Bt&&Bt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Bt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Bt.cache.get(e);return t||(t=new Bt(e),Bt.cache.set(e,t),e.$fastController.addBehavior(Bt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Bt.strategy.parent(e);for(;null!==t;){const e=Bt.cache.get(t);if(e)return e;t=Bt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Bt.defaultNode.appendChild(this),e.apply(this,t))}}Bt.defaultNode=new lt,Bt.rootStyleSheetTarget=new gt,Bt.cache=new WeakMap;const xt={separator:"separator",presentation:"presentation"},wt={horizontal:"horizontal",vertical:"vertical"};class Pt extends Ge{constructor(){super(...arguments),this.role=xt.separator,this.orientation=wt.horizontal}}Xe([Ce],Pt.prototype,"role",void 0),Xe([Ce],Pt.prototype,"orientation",void 0);class $t extends Ge{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)}}Xe([Ce({converter:Se})],$t.prototype,"value",void 0),Xe([Ce({converter:Se})],$t.prototype,"min",void 0),Xe([Ce({converter:Se})],$t.prototype,"max",void 0),Xe([P],$t.prototype,"percentComplete",void 0);class St extends $t{}class Ft extends $t{}class Ct extends Ge{}class Nt extends(nt(Ct)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class zt extends Nt{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)}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}Xe([Ce({attribute:"readonly",mode:"boolean"})],zt.prototype,"readOnly",void 0),Xe([P],zt.prototype,"defaultSlottedNodes",void 0);function At(e){return`:host([hidden]){display:none}:host{display:${e}}`}class It extends tt{}const Tt=fe`<template><slot ${xe({property:"slottedAccordionItems",filter:Lt?e=>1===e.nodeType&&e.matches(Lt):ye})}></slot></template>`;var Lt;const Ot=I`
2
+ ${At("flex")}
3
3
 
4
- :host{flex-direction:column;width:100%}`,Lt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),zt=Ft.compose({name:Lt.prefix+"-accordion",template:At,styles:It});class Ot extends Je{constructor(){super(...arguments),this.block=!1}}qe([Ne],Ot.prototype,"size",void 0),qe([Ne({mode:"boolean"})],Ot.prototype,"block",void 0),qe([Ne({attribute:"expand-icon-position"})],Ot.prototype,"expandIconPosition",void 0);const Ht={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Vt={start:"start",end:"end"},{create:Dt}=mt,Mt=Dt("borderRadiusNone"),Et=Dt("borderRadiusSmall"),Rt=Dt("borderRadiusMedium"),_t=Dt("borderRadiusLarge"),jt=Dt("borderRadiusXLarge"),Gt=Dt("borderRadiusCircular"),Xt=Dt("fontSizeBase100"),qt=Dt("fontSizeBase200"),Wt=Dt("fontSizeBase300"),Yt=Dt("fontSizeBase400"),Ut=Dt("fontSizeBase500"),Kt=Dt("fontSizeBase600"),Qt=Dt("fontSizeHero700"),Jt=Dt("fontSizeHero800"),Zt=Dt("fontSizeHero900"),eo=Dt("fontSizeHero1000"),to=Dt("lineHeightBase100"),oo=Dt("lineHeightBase200"),ro=Dt("lineHeightBase300"),no=Dt("lineHeightBase400"),io=Dt("lineHeightBase500"),so=Dt("lineHeightBase600"),ao=Dt("lineHeightHero700"),lo=Dt("lineHeightHero800"),co=Dt("lineHeightHero900"),uo=Dt("lineHeightHero1000"),ho=Dt("fontFamilyBase"),go=Dt("fontFamilyMonospace"),po=Dt("fontFamilyNumeric"),fo=Dt("fontWeightRegular"),vo=Dt("fontWeightMedium"),mo=Dt("fontWeightSemibold"),bo=Dt("fontWeightBold"),yo=Dt("strokeWidthThin"),ko=Dt("strokeWidthThick"),Bo=Dt("strokeWidthThicker"),Po=Dt("strokeWidthThickest"),xo=Dt("spacingHorizontalNone"),So=Dt("spacingHorizontalXXS"),wo=Dt("spacingHorizontalXS"),$o=Dt("spacingHorizontalSNudge"),Co=Dt("spacingHorizontalS"),No=Dt("spacingHorizontalMNudge"),Fo=Dt("spacingHorizontalM"),Ao=Dt("spacingHorizontalL"),To=Dt("spacingHorizontalXL"),Io=Dt("spacingHorizontalXXL"),Lo=Dt("spacingHorizontalXXXL"),zo=Dt("spacingVerticalNone"),Oo=Dt("spacingVerticalXXS"),Ho=Dt("spacingVerticalXS"),Vo=Dt("spacingVerticalSNudge"),Do=Dt("spacingVerticalS"),Mo=Dt("spacingVerticalMNudge"),Eo=Dt("spacingVerticalM"),Ro=Dt("spacingVerticalL"),_o=Dt("spacingVerticalXL"),jo=Dt("spacingVerticalXXL"),Go=Dt("spacingVerticalXXXL"),Xo=Dt("durationUltraFast"),qo=Dt("durationFaster"),Wo=Dt("durationFast"),Yo=Dt("durationNormal"),Uo=Dt("durationSlow"),Ko=Dt("durationSlower"),Qo=Dt("durationUltraSlow"),Jo=Dt("curveAccelerateMax"),Zo=Dt("curveAccelerateMid"),er=Dt("curveAccelerateMin"),tr=Dt("curveDecelerateMax"),or=Dt("curveDecelerateMid"),rr=Dt("curveDecelerateMin"),nr=Dt("curveEasyEaseMax"),ir=Dt("curveEasyEase"),sr=Dt("curveLinear"),ar=Dt("colorNeutralForeground1"),lr=Dt("colorNeutralForeground1Hover"),cr=Dt("colorNeutralForeground1Pressed"),dr=Dt("colorNeutralForeground1Selected"),ur=Dt("colorNeutralForeground2"),hr=Dt("colorNeutralForeground2Hover"),gr=Dt("colorNeutralForeground2Pressed"),pr=Dt("colorNeutralForeground2Selected"),fr=Dt("colorNeutralForeground2BrandHover"),vr=Dt("colorNeutralForeground2BrandPressed"),mr=Dt("colorNeutralForeground2BrandSelected"),br=Dt("colorNeutralForeground3"),yr=Dt("colorNeutralForeground3Hover"),kr=Dt("colorNeutralForeground3Pressed"),Br=Dt("colorNeutralForeground3Selected"),Pr=Dt("colorNeutralForeground3BrandHover"),xr=Dt("colorNeutralForeground3BrandPressed"),Sr=Dt("colorNeutralForeground3BrandSelected"),wr=Dt("colorNeutralForeground4"),$r=Dt("colorNeutralForegroundDisabled"),Cr=Dt("colorNeutralForegroundInvertedDisabled"),Nr=Dt("colorBrandForegroundLink"),Fr=Dt("colorBrandForegroundLinkHover"),Ar=Dt("colorBrandForegroundLinkPressed"),Tr=Dt("colorBrandForegroundLinkSelected"),Ir=Dt("colorNeutralForeground2Link"),Lr=Dt("colorNeutralForeground2LinkHover"),zr=Dt("colorNeutralForeground2LinkPressed"),Or=Dt("colorNeutralForeground2LinkSelected"),Hr=Dt("colorCompoundBrandForeground1"),Vr=Dt("colorCompoundBrandForeground1Hover"),Dr=Dt("colorCompoundBrandForeground1Pressed"),Mr=Dt("colorBrandForeground1"),Er=Dt("colorBrandForeground2"),Rr=Dt("colorNeutralForeground1Static"),_r=Dt("colorNeutralForegroundStaticInverted"),jr=Dt("colorNeutralForegroundInverted"),Gr=Dt("colorNeutralForegroundInvertedHover"),Xr=Dt("colorNeutralForegroundInvertedPressed"),qr=Dt("colorNeutralForegroundInvertedSelected"),Wr=Dt("colorNeutralForegroundInverted2"),Yr=Dt("colorNeutralForegroundOnBrand"),Ur=Dt("colorNeutralForegroundInvertedLink"),Kr=Dt("colorNeutralForegroundInvertedLinkHover"),Qr=Dt("colorNeutralForegroundInvertedLinkPressed"),Jr=Dt("colorNeutralForegroundInvertedLinkSelected"),Zr=Dt("colorBrandForegroundInverted"),en=Dt("colorBrandForegroundInvertedHover"),tn=Dt("colorBrandForegroundInvertedPressed"),on=Dt("colorBrandForegroundOnLight"),rn=Dt("colorBrandForegroundOnLightHover"),nn=Dt("colorBrandForegroundOnLightPressed"),sn=Dt("colorBrandForegroundOnLightSelected"),an=Dt("colorNeutralBackground1"),ln=Dt("colorNeutralBackground1Hover"),cn=Dt("colorNeutralBackground1Pressed"),dn=Dt("colorNeutralBackground1Selected"),un=Dt("colorNeutralBackground2"),hn=Dt("colorNeutralBackground2Hover"),gn=Dt("colorNeutralBackground2Pressed"),pn=Dt("colorNeutralBackground2Selected"),fn=Dt("colorNeutralBackground3"),vn=Dt("colorNeutralBackground3Hover"),mn=Dt("colorNeutralBackground3Pressed"),bn=Dt("colorNeutralBackground3Selected"),yn=Dt("colorNeutralBackground4"),kn=Dt("colorNeutralBackground4Hover"),Bn=Dt("colorNeutralBackground4Pressed"),Pn=Dt("colorNeutralBackground4Selected"),xn=Dt("colorNeutralBackground5"),Sn=Dt("colorNeutralBackground5Hover"),wn=Dt("colorNeutralBackground5Pressed"),$n=Dt("colorNeutralBackground5Selected"),Cn=Dt("colorNeutralBackground6"),Nn=Dt("colorNeutralBackgroundInverted"),Fn=Dt("colorNeutralBackgroundStatic"),An=Dt("colorSubtleBackground"),Tn=Dt("colorSubtleBackgroundHover"),In=Dt("colorSubtleBackgroundPressed"),Ln=Dt("colorSubtleBackgroundSelected"),zn=Dt("colorSubtleBackgroundLightAlphaHover"),On=Dt("colorSubtleBackgroundLightAlphaPressed"),Hn=Dt("colorSubtleBackgroundLightAlphaSelected"),Vn=Dt("colorSubtleBackgroundInverted"),Dn=Dt("colorSubtleBackgroundInvertedHover"),Mn=Dt("colorSubtleBackgroundInvertedPressed"),En=Dt("colorSubtleBackgroundInvertedSelected"),Rn=Dt("colorTransparentBackground"),_n=Dt("colorTransparentBackgroundHover"),jn=Dt("colorTransparentBackgroundPressed"),Gn=Dt("colorTransparentBackgroundSelected"),Xn=Dt("colorNeutralBackgroundDisabled"),qn=Dt("colorNeutralBackgroundInvertedDisabled"),Wn=Dt("colorNeutralStencil1"),Yn=Dt("colorNeutralStencil2"),Un=Dt("colorBackgroundOverlay"),Kn=Dt("colorScrollbarOverlay"),Qn=Dt("colorBrandBackground"),Jn=Dt("colorBrandBackgroundHover"),Zn=Dt("colorBrandBackgroundPressed"),ei=Dt("colorBrandBackgroundSelected"),ti=Dt("colorCompoundBrandBackground"),oi=Dt("colorCompoundBrandBackgroundHover"),ri=Dt("colorCompoundBrandBackgroundPressed"),ni=Dt("colorBrandBackgroundStatic"),ii=Dt("colorBrandBackground2"),si=Dt("colorBrandBackgroundInverted"),ai=Dt("colorBrandBackgroundInvertedHover"),li=Dt("colorBrandBackgroundInvertedPressed"),ci=Dt("colorBrandBackgroundInvertedSelected"),di=Dt("colorNeutralStrokeAccessible"),ui=Dt("colorNeutralStrokeAccessibleHover"),hi=Dt("colorNeutralStrokeAccessiblePressed"),gi=Dt("colorNeutralStrokeAccessibleSelected"),pi=Dt("colorNeutralStroke1"),fi=Dt("colorNeutralStroke1Hover"),vi=Dt("colorNeutralStroke1Pressed"),mi=Dt("colorNeutralStroke1Selected"),bi=Dt("colorNeutralStroke2"),yi=Dt("colorNeutralStroke3"),ki=Dt("colorNeutralStrokeOnBrand"),Bi=Dt("colorNeutralStrokeOnBrand2"),Pi=Dt("colorNeutralStrokeOnBrand2Hover"),xi=Dt("colorNeutralStrokeOnBrand2Pressed"),Si=Dt("colorNeutralStrokeOnBrand2Selected"),wi=Dt("colorBrandStroke1"),$i=Dt("colorBrandStroke2"),Ci=Dt("colorCompoundBrandStroke"),Ni=Dt("colorCompoundBrandStrokeHover"),Fi=Dt("colorCompoundBrandStrokePressed"),Ai=Dt("colorNeutralStrokeDisabled"),Ti=Dt("colorNeutralStrokeInvertedDisabled"),Ii=Dt("colorTransparentStroke"),Li=Dt("colorTransparentStrokeInteractive"),zi=Dt("colorTransparentStrokeDisabled"),Oi=Dt("colorStrokeFocus1"),Hi=Dt("colorStrokeFocus2"),Vi=Dt("colorNeutralShadowAmbient"),Di=Dt("colorNeutralShadowKey"),Mi=Dt("colorNeutralShadowAmbientLighter"),Ei=Dt("colorNeutralShadowKeyLighter"),Ri=Dt("colorNeutralShadowAmbientDarker"),_i=Dt("colorNeutralShadowKeyDarker"),ji=Dt("colorBrandShadowAmbient"),Gi=Dt("colorBrandShadowKey"),Xi=Dt("colorPaletteRedBackground1"),qi=Dt("colorPaletteRedBackground2"),Wi=Dt("colorPaletteRedBackground3"),Yi=Dt("colorPaletteRedForeground1"),Ui=Dt("colorPaletteRedForeground2"),Ki=Dt("colorPaletteRedForeground3"),Qi=Dt("colorPaletteRedBorderActive"),Ji=Dt("colorPaletteRedBorder1"),Zi=Dt("colorPaletteRedBorder2"),es=Dt("colorPaletteGreenBackground1"),ts=Dt("colorPaletteGreenBackground2"),os=Dt("colorPaletteGreenBackground3"),rs=Dt("colorPaletteGreenForeground1"),ns=Dt("colorPaletteGreenForeground2"),is=Dt("colorPaletteGreenForeground3"),ss=Dt("colorPaletteGreenBorderActive"),as=Dt("colorPaletteGreenBorder1"),ls=Dt("colorPaletteGreenBorder2"),cs=Dt("colorPaletteDarkOrangeBackground1"),ds=Dt("colorPaletteDarkOrangeBackground2"),us=Dt("colorPaletteDarkOrangeBackground3"),hs=Dt("colorPaletteDarkOrangeForeground1"),gs=Dt("colorPaletteDarkOrangeForeground2"),ps=Dt("colorPaletteDarkOrangeForeground3"),fs=Dt("colorPaletteDarkOrangeBorderActive"),vs=Dt("colorPaletteDarkOrangeBorder1"),ms=Dt("colorPaletteDarkOrangeBorder2"),bs=Dt("colorPaletteYellowBackground1"),ys=Dt("colorPaletteYellowBackground2"),ks=Dt("colorPaletteYellowBackground3"),Bs=Dt("colorPaletteYellowForeground1"),Ps=Dt("colorPaletteYellowForeground2"),xs=Dt("colorPaletteYellowForeground3"),Ss=Dt("colorPaletteYellowBorderActive"),ws=Dt("colorPaletteYellowBorder1"),$s=Dt("colorPaletteYellowBorder2"),Cs=Dt("colorPaletteBerryBackground1"),Ns=Dt("colorPaletteBerryBackground2"),Fs=Dt("colorPaletteBerryBackground3"),As=Dt("colorPaletteBerryForeground1"),Ts=Dt("colorPaletteBerryForeground2"),Is=Dt("colorPaletteBerryForeground3"),Ls=Dt("colorPaletteBerryBorderActive"),zs=Dt("colorPaletteBerryBorder1"),Os=Dt("colorPaletteBerryBorder2"),Hs=Dt("colorPaletteLightGreenBackground1"),Vs=Dt("colorPaletteLightGreenBackground2"),Ds=Dt("colorPaletteLightGreenBackground3"),Ms=Dt("colorPaletteLightGreenForeground1"),Es=Dt("colorPaletteLightGreenForeground2"),Rs=Dt("colorPaletteLightGreenForeground3"),_s=Dt("colorPaletteLightGreenBorderActive"),js=Dt("colorPaletteLightGreenBorder1"),Gs=Dt("colorPaletteLightGreenBorder2"),Xs=Dt("colorPaletteMarigoldBackground1"),qs=Dt("colorPaletteMarigoldBackground2"),Ws=Dt("colorPaletteMarigoldBackground3"),Ys=Dt("colorPaletteMarigoldForeground1"),Us=Dt("colorPaletteMarigoldForeground2"),Ks=Dt("colorPaletteMarigoldForeground3"),Qs=Dt("colorPaletteMarigoldBorderActive"),Js=Dt("colorPaletteMarigoldBorder1"),Zs=Dt("colorPaletteMarigoldBorder2"),ea=Dt("colorPaletteDarkRedBackground2"),ta=Dt("colorPaletteDarkRedForeground2"),oa=Dt("colorPaletteDarkRedBorderActive"),ra=Dt("colorPaletteCranberryBackground2"),na=Dt("colorPaletteCranberryForeground2"),ia=Dt("colorPaletteCranberryBorderActive"),sa=Dt("colorPalettePumpkinBackground2"),aa=Dt("colorPalettePumpkinForeground2"),la=Dt("colorPalettePumpkinBorderActive"),ca=Dt("colorPalettePeachBackground2"),da=Dt("colorPalettePeachForeground2"),ua=Dt("colorPalettePeachBorderActive"),ha=Dt("colorPaletteGoldBackground2"),ga=Dt("colorPaletteGoldForeground2"),pa=Dt("colorPaletteGoldBorderActive"),fa=Dt("colorPaletteBrassBackground2"),va=Dt("colorPaletteBrassForeground2"),ma=Dt("colorPaletteBrassBorderActive"),ba=Dt("colorPaletteBrownBackground2"),ya=Dt("colorPaletteBrownForeground2"),ka=Dt("colorPaletteBrownBorderActive"),Ba=Dt("colorPaletteForestBackground2"),Pa=Dt("colorPaletteForestForeground2"),xa=Dt("colorPaletteForestBorderActive"),Sa=Dt("colorPaletteSeafoamBackground2"),wa=Dt("colorPaletteSeafoamForeground2"),$a=Dt("colorPaletteSeafoamBorderActive"),Ca=Dt("colorPaletteDarkGreenBackground2"),Na=Dt("colorPaletteDarkGreenForeground2"),Fa=Dt("colorPaletteDarkGreenBorderActive"),Aa=Dt("colorPaletteLightTealBackground2"),Ta=Dt("colorPaletteLightTealForeground2"),Ia=Dt("colorPaletteLightTealBorderActive"),La=Dt("colorPaletteTealBackground2"),za=Dt("colorPaletteTealForeground2"),Oa=Dt("colorPaletteTealBorderActive"),Ha=Dt("colorPaletteSteelBackground2"),Va=Dt("colorPaletteSteelForeground2"),Da=Dt("colorPaletteSteelBorderActive"),Ma=Dt("colorPaletteBlueBackground2"),Ea=Dt("colorPaletteBlueForeground2"),Ra=Dt("colorPaletteBlueBorderActive"),_a=Dt("colorPaletteRoyalBlueBackground2"),ja=Dt("colorPaletteRoyalBlueForeground2"),Ga=Dt("colorPaletteRoyalBlueBorderActive"),Xa=Dt("colorPaletteCornflowerBackground2"),qa=Dt("colorPaletteCornflowerForeground2"),Wa=Dt("colorPaletteCornflowerBorderActive"),Ya=Dt("colorPaletteNavyBackground2"),Ua=Dt("colorPaletteNavyForeground2"),Ka=Dt("colorPaletteNavyBorderActive"),Qa=Dt("colorPaletteLavenderBackground2"),Ja=Dt("colorPaletteLavenderForeground2"),Za=Dt("colorPaletteLavenderBorderActive"),el=Dt("colorPalettePurpleBackground2"),tl=Dt("colorPalettePurpleForeground2"),ol=Dt("colorPalettePurpleBorderActive"),rl=Dt("colorPaletteGrapeBackground2"),nl=Dt("colorPaletteGrapeForeground2"),il=Dt("colorPaletteGrapeBorderActive"),sl=Dt("colorPaletteLilacBackground2"),al=Dt("colorPaletteLilacForeground2"),ll=Dt("colorPaletteLilacBorderActive"),cl=Dt("colorPalettePinkBackground2"),dl=Dt("colorPalettePinkForeground2"),ul=Dt("colorPalettePinkBorderActive"),hl=Dt("colorPaletteMagentaBackground2"),gl=Dt("colorPaletteMagentaForeground2"),pl=Dt("colorPaletteMagentaBorderActive"),fl=Dt("colorPalettePlumBackground2"),vl=Dt("colorPalettePlumForeground2"),ml=Dt("colorPalettePlumBorderActive"),bl=Dt("colorPaletteBeigeBackground2"),yl=Dt("colorPaletteBeigeForeground2"),kl=Dt("colorPaletteBeigeBorderActive"),Bl=Dt("colorPaletteMinkBackground2"),Pl=Dt("colorPaletteMinkForeground2"),xl=Dt("colorPaletteMinkBorderActive"),Sl=Dt("colorPalettePlatinumBackground2"),wl=Dt("colorPalettePlatinumForeground2"),$l=Dt("colorPalettePlatinumBorderActive"),Cl=Dt("colorPaletteAnchorBackground2"),Nl=Dt("colorPaletteAnchorForeground2"),Fl=Dt("colorPaletteAnchorBorderActive"),Al=Dt("shadow2"),Tl=Dt("shadow4"),Il=Dt("shadow8"),Ll=Dt("shadow16"),zl=Dt("shadow28"),Ol=Dt("shadow64"),Hl=Dt("shadow2Brand"),Vl=Dt("shadow4Brand"),Dl=Dt("shadow8Brand"),Ml=Dt("shadow16Brand"),El=Dt("shadow28Brand"),Rl=Dt("shadow64Brand");var _l=Object.freeze({__proto__:null,borderRadiusNone:Mt,borderRadiusSmall:Et,borderRadiusMedium:Rt,borderRadiusLarge:_t,borderRadiusXLarge:jt,borderRadiusCircular:Gt,fontSizeBase100:Xt,fontSizeBase200:qt,fontSizeBase300:Wt,fontSizeBase400:Yt,fontSizeBase500:Ut,fontSizeBase600:Kt,fontSizeHero700:Qt,fontSizeHero800:Jt,fontSizeHero900:Zt,fontSizeHero1000:eo,lineHeightBase100:to,lineHeightBase200:oo,lineHeightBase300:ro,lineHeightBase400:no,lineHeightBase500:io,lineHeightBase600:so,lineHeightHero700:ao,lineHeightHero800:lo,lineHeightHero900:co,lineHeightHero1000:uo,fontFamilyBase:ho,fontFamilyMonospace:go,fontFamilyNumeric:po,fontWeightRegular:fo,fontWeightMedium:vo,fontWeightSemibold:mo,fontWeightBold:bo,strokeWidthThin:yo,strokeWidthThick:ko,strokeWidthThicker:Bo,strokeWidthThickest:Po,spacingHorizontalNone:xo,spacingHorizontalXXS:So,spacingHorizontalXS:wo,spacingHorizontalSNudge:$o,spacingHorizontalS:Co,spacingHorizontalMNudge:No,spacingHorizontalM:Fo,spacingHorizontalL:Ao,spacingHorizontalXL:To,spacingHorizontalXXL:Io,spacingHorizontalXXXL:Lo,spacingVerticalNone:zo,spacingVerticalXXS:Oo,spacingVerticalXS:Ho,spacingVerticalSNudge:Vo,spacingVerticalS:Do,spacingVerticalMNudge:Mo,spacingVerticalM:Eo,spacingVerticalL:Ro,spacingVerticalXL:_o,spacingVerticalXXL:jo,spacingVerticalXXXL:Go,durationUltraFast:Xo,durationFaster:qo,durationFast:Wo,durationNormal:Yo,durationSlow:Uo,durationSlower:Ko,durationUltraSlow:Qo,curveAccelerateMax:Jo,curveAccelerateMid:Zo,curveAccelerateMin:er,curveDecelerateMax:tr,curveDecelerateMid:or,curveDecelerateMin:rr,curveEasyEaseMax:nr,curveEasyEase:ir,curveLinear:sr,colorNeutralForeground1:ar,colorNeutralForeground1Hover:lr,colorNeutralForeground1Pressed:cr,colorNeutralForeground1Selected:dr,colorNeutralForeground2:ur,colorNeutralForeground2Hover:hr,colorNeutralForeground2Pressed:gr,colorNeutralForeground2Selected:pr,colorNeutralForeground2BrandHover:fr,colorNeutralForeground2BrandPressed:vr,colorNeutralForeground2BrandSelected:mr,colorNeutralForeground3:br,colorNeutralForeground3Hover:yr,colorNeutralForeground3Pressed:kr,colorNeutralForeground3Selected:Br,colorNeutralForeground3BrandHover:Pr,colorNeutralForeground3BrandPressed:xr,colorNeutralForeground3BrandSelected:Sr,colorNeutralForeground4:wr,colorNeutralForegroundDisabled:$r,colorNeutralForegroundInvertedDisabled:Cr,colorBrandForegroundLink:Nr,colorBrandForegroundLinkHover:Fr,colorBrandForegroundLinkPressed:Ar,colorBrandForegroundLinkSelected:Tr,colorNeutralForeground2Link:Ir,colorNeutralForeground2LinkHover:Lr,colorNeutralForeground2LinkPressed:zr,colorNeutralForeground2LinkSelected:Or,colorCompoundBrandForeground1:Hr,colorCompoundBrandForeground1Hover:Vr,colorCompoundBrandForeground1Pressed:Dr,colorBrandForeground1:Mr,colorBrandForeground2:Er,colorNeutralForeground1Static:Rr,colorNeutralForegroundStaticInverted:_r,colorNeutralForegroundInverted:jr,colorNeutralForegroundInvertedHover:Gr,colorNeutralForegroundInvertedPressed:Xr,colorNeutralForegroundInvertedSelected:qr,colorNeutralForegroundInverted2:Wr,colorNeutralForegroundOnBrand:Yr,colorNeutralForegroundInvertedLink:Ur,colorNeutralForegroundInvertedLinkHover:Kr,colorNeutralForegroundInvertedLinkPressed:Qr,colorNeutralForegroundInvertedLinkSelected:Jr,colorBrandForegroundInverted:Zr,colorBrandForegroundInvertedHover:en,colorBrandForegroundInvertedPressed:tn,colorBrandForegroundOnLight:on,colorBrandForegroundOnLightHover:rn,colorBrandForegroundOnLightPressed:nn,colorBrandForegroundOnLightSelected:sn,colorNeutralBackground1:an,colorNeutralBackground1Hover:ln,colorNeutralBackground1Pressed:cn,colorNeutralBackground1Selected:dn,colorNeutralBackground2:un,colorNeutralBackground2Hover:hn,colorNeutralBackground2Pressed:gn,colorNeutralBackground2Selected:pn,colorNeutralBackground3:fn,colorNeutralBackground3Hover:vn,colorNeutralBackground3Pressed:mn,colorNeutralBackground3Selected:bn,colorNeutralBackground4:yn,colorNeutralBackground4Hover:kn,colorNeutralBackground4Pressed:Bn,colorNeutralBackground4Selected:Pn,colorNeutralBackground5:xn,colorNeutralBackground5Hover:Sn,colorNeutralBackground5Pressed:wn,colorNeutralBackground5Selected:$n,colorNeutralBackground6:Cn,colorNeutralBackgroundInverted:Nn,colorNeutralBackgroundStatic:Fn,colorSubtleBackground:An,colorSubtleBackgroundHover:Tn,colorSubtleBackgroundPressed:In,colorSubtleBackgroundSelected:Ln,colorSubtleBackgroundLightAlphaHover:zn,colorSubtleBackgroundLightAlphaPressed:On,colorSubtleBackgroundLightAlphaSelected:Hn,colorSubtleBackgroundInverted:Vn,colorSubtleBackgroundInvertedHover:Dn,colorSubtleBackgroundInvertedPressed:Mn,colorSubtleBackgroundInvertedSelected:En,colorTransparentBackground:Rn,colorTransparentBackgroundHover:_n,colorTransparentBackgroundPressed:jn,colorTransparentBackgroundSelected:Gn,colorNeutralBackgroundDisabled:Xn,colorNeutralBackgroundInvertedDisabled:qn,colorNeutralStencil1:Wn,colorNeutralStencil2:Yn,colorBackgroundOverlay:Un,colorScrollbarOverlay:Kn,colorBrandBackground:Qn,colorBrandBackgroundHover:Jn,colorBrandBackgroundPressed:Zn,colorBrandBackgroundSelected:ei,colorCompoundBrandBackground:ti,colorCompoundBrandBackgroundHover:oi,colorCompoundBrandBackgroundPressed:ri,colorBrandBackgroundStatic:ni,colorBrandBackground2:ii,colorBrandBackgroundInverted:si,colorBrandBackgroundInvertedHover:ai,colorBrandBackgroundInvertedPressed:li,colorBrandBackgroundInvertedSelected:ci,colorNeutralStrokeAccessible:di,colorNeutralStrokeAccessibleHover:ui,colorNeutralStrokeAccessiblePressed:hi,colorNeutralStrokeAccessibleSelected:gi,colorNeutralStroke1:pi,colorNeutralStroke1Hover:fi,colorNeutralStroke1Pressed:vi,colorNeutralStroke1Selected:mi,colorNeutralStroke2:bi,colorNeutralStroke3:yi,colorNeutralStrokeOnBrand:ki,colorNeutralStrokeOnBrand2:Bi,colorNeutralStrokeOnBrand2Hover:Pi,colorNeutralStrokeOnBrand2Pressed:xi,colorNeutralStrokeOnBrand2Selected:Si,colorBrandStroke1:wi,colorBrandStroke2:$i,colorCompoundBrandStroke:Ci,colorCompoundBrandStrokeHover:Ni,colorCompoundBrandStrokePressed:Fi,colorNeutralStrokeDisabled:Ai,colorNeutralStrokeInvertedDisabled:Ti,colorTransparentStroke:Ii,colorTransparentStrokeInteractive:Li,colorTransparentStrokeDisabled:zi,colorStrokeFocus1:Oi,colorStrokeFocus2:Hi,colorNeutralShadowAmbient:Vi,colorNeutralShadowKey:Di,colorNeutralShadowAmbientLighter:Mi,colorNeutralShadowKeyLighter:Ei,colorNeutralShadowAmbientDarker:Ri,colorNeutralShadowKeyDarker:_i,colorBrandShadowAmbient:ji,colorBrandShadowKey:Gi,colorPaletteRedBackground1:Xi,colorPaletteRedBackground2:qi,colorPaletteRedBackground3:Wi,colorPaletteRedForeground1:Yi,colorPaletteRedForeground2:Ui,colorPaletteRedForeground3:Ki,colorPaletteRedBorderActive:Qi,colorPaletteRedBorder1:Ji,colorPaletteRedBorder2:Zi,colorPaletteGreenBackground1:es,colorPaletteGreenBackground2:ts,colorPaletteGreenBackground3:os,colorPaletteGreenForeground1:rs,colorPaletteGreenForeground2:ns,colorPaletteGreenForeground3:is,colorPaletteGreenBorderActive:ss,colorPaletteGreenBorder1:as,colorPaletteGreenBorder2:ls,colorPaletteDarkOrangeBackground1:cs,colorPaletteDarkOrangeBackground2:ds,colorPaletteDarkOrangeBackground3:us,colorPaletteDarkOrangeForeground1:hs,colorPaletteDarkOrangeForeground2:gs,colorPaletteDarkOrangeForeground3:ps,colorPaletteDarkOrangeBorderActive:fs,colorPaletteDarkOrangeBorder1:vs,colorPaletteDarkOrangeBorder2:ms,colorPaletteYellowBackground1:bs,colorPaletteYellowBackground2:ys,colorPaletteYellowBackground3:ks,colorPaletteYellowForeground1:Bs,colorPaletteYellowForeground2:Ps,colorPaletteYellowForeground3:xs,colorPaletteYellowBorderActive:Ss,colorPaletteYellowBorder1:ws,colorPaletteYellowBorder2:$s,colorPaletteBerryBackground1:Cs,colorPaletteBerryBackground2:Ns,colorPaletteBerryBackground3:Fs,colorPaletteBerryForeground1:As,colorPaletteBerryForeground2:Ts,colorPaletteBerryForeground3:Is,colorPaletteBerryBorderActive:Ls,colorPaletteBerryBorder1:zs,colorPaletteBerryBorder2:Os,colorPaletteLightGreenBackground1:Hs,colorPaletteLightGreenBackground2:Vs,colorPaletteLightGreenBackground3:Ds,colorPaletteLightGreenForeground1:Ms,colorPaletteLightGreenForeground2:Es,colorPaletteLightGreenForeground3:Rs,colorPaletteLightGreenBorderActive:_s,colorPaletteLightGreenBorder1:js,colorPaletteLightGreenBorder2:Gs,colorPaletteMarigoldBackground1:Xs,colorPaletteMarigoldBackground2:qs,colorPaletteMarigoldBackground3:Ws,colorPaletteMarigoldForeground1:Ys,colorPaletteMarigoldForeground2:Us,colorPaletteMarigoldForeground3:Ks,colorPaletteMarigoldBorderActive:Qs,colorPaletteMarigoldBorder1:Js,colorPaletteMarigoldBorder2:Zs,colorPaletteDarkRedBackground2:ea,colorPaletteDarkRedForeground2:ta,colorPaletteDarkRedBorderActive:oa,colorPaletteCranberryBackground2:ra,colorPaletteCranberryForeground2:na,colorPaletteCranberryBorderActive:ia,colorPalettePumpkinBackground2:sa,colorPalettePumpkinForeground2:aa,colorPalettePumpkinBorderActive:la,colorPalettePeachBackground2:ca,colorPalettePeachForeground2:da,colorPalettePeachBorderActive:ua,colorPaletteGoldBackground2:ha,colorPaletteGoldForeground2:ga,colorPaletteGoldBorderActive:pa,colorPaletteBrassBackground2:fa,colorPaletteBrassForeground2:va,colorPaletteBrassBorderActive:ma,colorPaletteBrownBackground2:ba,colorPaletteBrownForeground2:ya,colorPaletteBrownBorderActive:ka,colorPaletteForestBackground2:Ba,colorPaletteForestForeground2:Pa,colorPaletteForestBorderActive:xa,colorPaletteSeafoamBackground2:Sa,colorPaletteSeafoamForeground2:wa,colorPaletteSeafoamBorderActive:$a,colorPaletteDarkGreenBackground2:Ca,colorPaletteDarkGreenForeground2:Na,colorPaletteDarkGreenBorderActive:Fa,colorPaletteLightTealBackground2:Aa,colorPaletteLightTealForeground2:Ta,colorPaletteLightTealBorderActive:Ia,colorPaletteTealBackground2:La,colorPaletteTealForeground2:za,colorPaletteTealBorderActive:Oa,colorPaletteSteelBackground2:Ha,colorPaletteSteelForeground2:Va,colorPaletteSteelBorderActive:Da,colorPaletteBlueBackground2:Ma,colorPaletteBlueForeground2:Ea,colorPaletteBlueBorderActive:Ra,colorPaletteRoyalBlueBackground2:_a,colorPaletteRoyalBlueForeground2:ja,colorPaletteRoyalBlueBorderActive:Ga,colorPaletteCornflowerBackground2:Xa,colorPaletteCornflowerForeground2:qa,colorPaletteCornflowerBorderActive:Wa,colorPaletteNavyBackground2:Ya,colorPaletteNavyForeground2:Ua,colorPaletteNavyBorderActive:Ka,colorPaletteLavenderBackground2:Qa,colorPaletteLavenderForeground2:Ja,colorPaletteLavenderBorderActive:Za,colorPalettePurpleBackground2:el,colorPalettePurpleForeground2:tl,colorPalettePurpleBorderActive:ol,colorPaletteGrapeBackground2:rl,colorPaletteGrapeForeground2:nl,colorPaletteGrapeBorderActive:il,colorPaletteLilacBackground2:sl,colorPaletteLilacForeground2:al,colorPaletteLilacBorderActive:ll,colorPalettePinkBackground2:cl,colorPalettePinkForeground2:dl,colorPalettePinkBorderActive:ul,colorPaletteMagentaBackground2:hl,colorPaletteMagentaForeground2:gl,colorPaletteMagentaBorderActive:pl,colorPalettePlumBackground2:fl,colorPalettePlumForeground2:vl,colorPalettePlumBorderActive:ml,colorPaletteBeigeBackground2:bl,colorPaletteBeigeForeground2:yl,colorPaletteBeigeBorderActive:kl,colorPaletteMinkBackground2:Bl,colorPaletteMinkForeground2:Pl,colorPaletteMinkBorderActive:xl,colorPalettePlatinumBackground2:Sl,colorPalettePlatinumForeground2:wl,colorPalettePlatinumBorderActive:$l,colorPaletteAnchorBackground2:Cl,colorPaletteAnchorForeground2:Nl,colorPaletteAnchorBorderActive:Fl,shadow2:Al,shadow4:Tl,shadow8:Il,shadow16:Ll,shadow28:zl,shadow64:Ol,shadow2Brand:Hl,shadow4Brand:Vl,shadow8Brand:Dl,shadow16Brand:Ml,shadow28Brand:El,shadow64Brand:Rl});const jl=I`
5
- ${Nt("block")}
4
+ :host{flex-direction:column;width:100%}`,Ht=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Dt=It.compose({name:Ht.prefix+"-accordion",template:Tt,styles:Ot});class Vt extends Je{constructor(){super(...arguments),this.block=!1}}Xe([Ce],Vt.prototype,"size",void 0),Xe([Ce({mode:"boolean"})],Vt.prototype,"block",void 0),Xe([Ce({attribute:"expand-icon-position"})],Vt.prototype,"expandIconPosition",void 0);const Mt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Et={start:"start",end:"end"},{create:Rt}=bt,_t=Rt("borderRadiusNone"),jt=Rt("borderRadiusSmall"),Gt=Rt("borderRadiusMedium"),qt=Rt("borderRadiusLarge"),Xt=Rt("borderRadiusXLarge"),Wt=Rt("borderRadiusCircular"),Yt=Rt("fontSizeBase100"),Ut=Rt("fontSizeBase200"),Kt=Rt("fontSizeBase300"),Qt=Rt("fontSizeBase400"),Jt=Rt("fontSizeBase500"),Zt=Rt("fontSizeBase600"),eo=Rt("fontSizeHero700"),to=Rt("fontSizeHero800"),oo=Rt("fontSizeHero900"),ro=Rt("fontSizeHero1000"),no=Rt("lineHeightBase100"),io=Rt("lineHeightBase200"),so=Rt("lineHeightBase300"),ao=Rt("lineHeightBase400"),lo=Rt("lineHeightBase500"),co=Rt("lineHeightBase600"),ho=Rt("lineHeightHero700"),uo=Rt("lineHeightHero800"),go=Rt("lineHeightHero900"),po=Rt("lineHeightHero1000"),fo=Rt("fontFamilyBase"),vo=Rt("fontFamilyMonospace"),bo=Rt("fontFamilyNumeric"),mo=Rt("fontWeightRegular"),yo=Rt("fontWeightMedium"),ko=Rt("fontWeightSemibold"),Bo=Rt("fontWeightBold"),xo=Rt("strokeWidthThin"),wo=Rt("strokeWidthThick"),Po=Rt("strokeWidthThicker"),$o=Rt("strokeWidthThickest"),So=Rt("spacingHorizontalNone"),Fo=Rt("spacingHorizontalXXS"),Co=Rt("spacingHorizontalXS"),No=Rt("spacingHorizontalSNudge"),zo=Rt("spacingHorizontalS"),Ao=Rt("spacingHorizontalMNudge"),Io=Rt("spacingHorizontalM"),To=Rt("spacingHorizontalL"),Lo=Rt("spacingHorizontalXL"),Oo=Rt("spacingHorizontalXXL"),Ho=Rt("spacingHorizontalXXXL"),Do=Rt("spacingVerticalNone"),Vo=Rt("spacingVerticalXXS"),Mo=Rt("spacingVerticalXS"),Eo=Rt("spacingVerticalSNudge"),Ro=Rt("spacingVerticalS"),_o=Rt("spacingVerticalMNudge"),jo=Rt("spacingVerticalM"),Go=Rt("spacingVerticalL"),qo=Rt("spacingVerticalXL"),Xo=Rt("spacingVerticalXXL"),Wo=Rt("spacingVerticalXXXL"),Yo=Rt("durationUltraFast"),Uo=Rt("durationFaster"),Ko=Rt("durationFast"),Qo=Rt("durationNormal"),Jo=Rt("durationSlow"),Zo=Rt("durationSlower"),er=Rt("durationUltraSlow"),tr=Rt("curveAccelerateMax"),or=Rt("curveAccelerateMid"),rr=Rt("curveAccelerateMin"),nr=Rt("curveDecelerateMax"),ir=Rt("curveDecelerateMid"),sr=Rt("curveDecelerateMin"),ar=Rt("curveEasyEaseMax"),lr=Rt("curveEasyEase"),cr=Rt("curveLinear"),dr=Rt("colorNeutralForeground1"),hr=Rt("colorNeutralForeground1Hover"),ur=Rt("colorNeutralForeground1Pressed"),gr=Rt("colorNeutralForeground1Selected"),pr=Rt("colorNeutralForeground2"),fr=Rt("colorNeutralForeground2Hover"),vr=Rt("colorNeutralForeground2Pressed"),br=Rt("colorNeutralForeground2Selected"),mr=Rt("colorNeutralForeground2BrandHover"),yr=Rt("colorNeutralForeground2BrandPressed"),kr=Rt("colorNeutralForeground2BrandSelected"),Br=Rt("colorNeutralForeground3"),xr=Rt("colorNeutralForeground3Hover"),wr=Rt("colorNeutralForeground3Pressed"),Pr=Rt("colorNeutralForeground3Selected"),$r=Rt("colorNeutralForeground3BrandHover"),Sr=Rt("colorNeutralForeground3BrandPressed"),Fr=Rt("colorNeutralForeground3BrandSelected"),Cr=Rt("colorNeutralForeground4"),Nr=Rt("colorNeutralForegroundDisabled"),zr=Rt("colorNeutralForegroundInvertedDisabled"),Ar=Rt("colorBrandForegroundLink"),Ir=Rt("colorBrandForegroundLinkHover"),Tr=Rt("colorBrandForegroundLinkPressed"),Lr=Rt("colorBrandForegroundLinkSelected"),Or=Rt("colorNeutralForeground2Link"),Hr=Rt("colorNeutralForeground2LinkHover"),Dr=Rt("colorNeutralForeground2LinkPressed"),Vr=Rt("colorNeutralForeground2LinkSelected"),Mr=Rt("colorCompoundBrandForeground1"),Er=Rt("colorCompoundBrandForeground1Hover"),Rr=Rt("colorCompoundBrandForeground1Pressed"),_r=Rt("colorBrandForeground1"),jr=Rt("colorBrandForeground2"),Gr=Rt("colorNeutralForeground1Static"),qr=Rt("colorNeutralForegroundStaticInverted"),Xr=Rt("colorNeutralForegroundInverted"),Wr=Rt("colorNeutralForegroundInvertedHover"),Yr=Rt("colorNeutralForegroundInvertedPressed"),Ur=Rt("colorNeutralForegroundInvertedSelected"),Kr=Rt("colorNeutralForegroundInverted2"),Qr=Rt("colorNeutralForegroundOnBrand"),Jr=Rt("colorNeutralForegroundInvertedLink"),Zr=Rt("colorNeutralForegroundInvertedLinkHover"),en=Rt("colorNeutralForegroundInvertedLinkPressed"),tn=Rt("colorNeutralForegroundInvertedLinkSelected"),on=Rt("colorBrandForegroundInverted"),rn=Rt("colorBrandForegroundInvertedHover"),nn=Rt("colorBrandForegroundInvertedPressed"),sn=Rt("colorBrandForegroundOnLight"),an=Rt("colorBrandForegroundOnLightHover"),ln=Rt("colorBrandForegroundOnLightPressed"),cn=Rt("colorBrandForegroundOnLightSelected"),dn=Rt("colorNeutralBackground1"),hn=Rt("colorNeutralBackground1Hover"),un=Rt("colorNeutralBackground1Pressed"),gn=Rt("colorNeutralBackground1Selected"),pn=Rt("colorNeutralBackground2"),fn=Rt("colorNeutralBackground2Hover"),vn=Rt("colorNeutralBackground2Pressed"),bn=Rt("colorNeutralBackground2Selected"),mn=Rt("colorNeutralBackground3"),yn=Rt("colorNeutralBackground3Hover"),kn=Rt("colorNeutralBackground3Pressed"),Bn=Rt("colorNeutralBackground3Selected"),xn=Rt("colorNeutralBackground4"),wn=Rt("colorNeutralBackground4Hover"),Pn=Rt("colorNeutralBackground4Pressed"),$n=Rt("colorNeutralBackground4Selected"),Sn=Rt("colorNeutralBackground5"),Fn=Rt("colorNeutralBackground5Hover"),Cn=Rt("colorNeutralBackground5Pressed"),Nn=Rt("colorNeutralBackground5Selected"),zn=Rt("colorNeutralBackground6"),An=Rt("colorNeutralBackgroundInverted"),In=Rt("colorNeutralBackgroundStatic"),Tn=Rt("colorSubtleBackground"),Ln=Rt("colorSubtleBackgroundHover"),On=Rt("colorSubtleBackgroundPressed"),Hn=Rt("colorSubtleBackgroundSelected"),Dn=Rt("colorSubtleBackgroundLightAlphaHover"),Vn=Rt("colorSubtleBackgroundLightAlphaPressed"),Mn=Rt("colorSubtleBackgroundLightAlphaSelected"),En=Rt("colorSubtleBackgroundInverted"),Rn=Rt("colorSubtleBackgroundInvertedHover"),_n=Rt("colorSubtleBackgroundInvertedPressed"),jn=Rt("colorSubtleBackgroundInvertedSelected"),Gn=Rt("colorTransparentBackground"),qn=Rt("colorTransparentBackgroundHover"),Xn=Rt("colorTransparentBackgroundPressed"),Wn=Rt("colorTransparentBackgroundSelected"),Yn=Rt("colorNeutralBackgroundDisabled"),Un=Rt("colorNeutralBackgroundInvertedDisabled"),Kn=Rt("colorNeutralStencil1"),Qn=Rt("colorNeutralStencil2"),Jn=Rt("colorBackgroundOverlay"),Zn=Rt("colorScrollbarOverlay"),ei=Rt("colorBrandBackground"),ti=Rt("colorBrandBackgroundHover"),oi=Rt("colorBrandBackgroundPressed"),ri=Rt("colorBrandBackgroundSelected"),ni=Rt("colorCompoundBrandBackground"),ii=Rt("colorCompoundBrandBackgroundHover"),si=Rt("colorCompoundBrandBackgroundPressed"),ai=Rt("colorBrandBackgroundStatic"),li=Rt("colorBrandBackground2"),ci=Rt("colorBrandBackgroundInverted"),di=Rt("colorBrandBackgroundInvertedHover"),hi=Rt("colorBrandBackgroundInvertedPressed"),ui=Rt("colorBrandBackgroundInvertedSelected"),gi=Rt("colorNeutralStrokeAccessible"),pi=Rt("colorNeutralStrokeAccessibleHover"),fi=Rt("colorNeutralStrokeAccessiblePressed"),vi=Rt("colorNeutralStrokeAccessibleSelected"),bi=Rt("colorNeutralStroke1"),mi=Rt("colorNeutralStroke1Hover"),yi=Rt("colorNeutralStroke1Pressed"),ki=Rt("colorNeutralStroke1Selected"),Bi=Rt("colorNeutralStroke2"),xi=Rt("colorNeutralStroke3"),wi=Rt("colorNeutralStrokeOnBrand"),Pi=Rt("colorNeutralStrokeOnBrand2"),$i=Rt("colorNeutralStrokeOnBrand2Hover"),Si=Rt("colorNeutralStrokeOnBrand2Pressed"),Fi=Rt("colorNeutralStrokeOnBrand2Selected"),Ci=Rt("colorBrandStroke1"),Ni=Rt("colorBrandStroke2"),zi=Rt("colorCompoundBrandStroke"),Ai=Rt("colorCompoundBrandStrokeHover"),Ii=Rt("colorCompoundBrandStrokePressed"),Ti=Rt("colorNeutralStrokeDisabled"),Li=Rt("colorNeutralStrokeInvertedDisabled"),Oi=Rt("colorTransparentStroke"),Hi=Rt("colorTransparentStrokeInteractive"),Di=Rt("colorTransparentStrokeDisabled"),Vi=Rt("colorStrokeFocus1"),Mi=Rt("colorStrokeFocus2"),Ei=Rt("colorNeutralShadowAmbient"),Ri=Rt("colorNeutralShadowKey"),_i=Rt("colorNeutralShadowAmbientLighter"),ji=Rt("colorNeutralShadowKeyLighter"),Gi=Rt("colorNeutralShadowAmbientDarker"),qi=Rt("colorNeutralShadowKeyDarker"),Xi=Rt("colorBrandShadowAmbient"),Wi=Rt("colorBrandShadowKey"),Yi=Rt("colorPaletteRedBackground1"),Ui=Rt("colorPaletteRedBackground2"),Ki=Rt("colorPaletteRedBackground3"),Qi=Rt("colorPaletteRedForeground1"),Ji=Rt("colorPaletteRedForeground2"),Zi=Rt("colorPaletteRedForeground3"),es=Rt("colorPaletteRedBorderActive"),ts=Rt("colorPaletteRedBorder1"),os=Rt("colorPaletteRedBorder2"),rs=Rt("colorPaletteGreenBackground1"),ns=Rt("colorPaletteGreenBackground2"),is=Rt("colorPaletteGreenBackground3"),ss=Rt("colorPaletteGreenForeground1"),as=Rt("colorPaletteGreenForeground2"),ls=Rt("colorPaletteGreenForeground3"),cs=Rt("colorPaletteGreenBorderActive"),ds=Rt("colorPaletteGreenBorder1"),hs=Rt("colorPaletteGreenBorder2"),us=Rt("colorPaletteDarkOrangeBackground1"),gs=Rt("colorPaletteDarkOrangeBackground2"),ps=Rt("colorPaletteDarkOrangeBackground3"),fs=Rt("colorPaletteDarkOrangeForeground1"),vs=Rt("colorPaletteDarkOrangeForeground2"),bs=Rt("colorPaletteDarkOrangeForeground3"),ms=Rt("colorPaletteDarkOrangeBorderActive"),ys=Rt("colorPaletteDarkOrangeBorder1"),ks=Rt("colorPaletteDarkOrangeBorder2"),Bs=Rt("colorPaletteYellowBackground1"),xs=Rt("colorPaletteYellowBackground2"),ws=Rt("colorPaletteYellowBackground3"),Ps=Rt("colorPaletteYellowForeground1"),$s=Rt("colorPaletteYellowForeground2"),Ss=Rt("colorPaletteYellowForeground3"),Fs=Rt("colorPaletteYellowBorderActive"),Cs=Rt("colorPaletteYellowBorder1"),Ns=Rt("colorPaletteYellowBorder2"),zs=Rt("colorPaletteBerryBackground1"),As=Rt("colorPaletteBerryBackground2"),Is=Rt("colorPaletteBerryBackground3"),Ts=Rt("colorPaletteBerryForeground1"),Ls=Rt("colorPaletteBerryForeground2"),Os=Rt("colorPaletteBerryForeground3"),Hs=Rt("colorPaletteBerryBorderActive"),Ds=Rt("colorPaletteBerryBorder1"),Vs=Rt("colorPaletteBerryBorder2"),Ms=Rt("colorPaletteLightGreenBackground1"),Es=Rt("colorPaletteLightGreenBackground2"),Rs=Rt("colorPaletteLightGreenBackground3"),_s=Rt("colorPaletteLightGreenForeground1"),js=Rt("colorPaletteLightGreenForeground2"),Gs=Rt("colorPaletteLightGreenForeground3"),qs=Rt("colorPaletteLightGreenBorderActive"),Xs=Rt("colorPaletteLightGreenBorder1"),Ws=Rt("colorPaletteLightGreenBorder2"),Ys=Rt("colorPaletteMarigoldBackground1"),Us=Rt("colorPaletteMarigoldBackground2"),Ks=Rt("colorPaletteMarigoldBackground3"),Qs=Rt("colorPaletteMarigoldForeground1"),Js=Rt("colorPaletteMarigoldForeground2"),Zs=Rt("colorPaletteMarigoldForeground3"),ea=Rt("colorPaletteMarigoldBorderActive"),ta=Rt("colorPaletteMarigoldBorder1"),oa=Rt("colorPaletteMarigoldBorder2"),ra=Rt("colorPaletteDarkRedBackground2"),na=Rt("colorPaletteDarkRedForeground2"),ia=Rt("colorPaletteDarkRedBorderActive"),sa=Rt("colorPaletteCranberryBackground2"),aa=Rt("colorPaletteCranberryForeground2"),la=Rt("colorPaletteCranberryBorderActive"),ca=Rt("colorPalettePumpkinBackground2"),da=Rt("colorPalettePumpkinForeground2"),ha=Rt("colorPalettePumpkinBorderActive"),ua=Rt("colorPalettePeachBackground2"),ga=Rt("colorPalettePeachForeground2"),pa=Rt("colorPalettePeachBorderActive"),fa=Rt("colorPaletteGoldBackground2"),va=Rt("colorPaletteGoldForeground2"),ba=Rt("colorPaletteGoldBorderActive"),ma=Rt("colorPaletteBrassBackground2"),ya=Rt("colorPaletteBrassForeground2"),ka=Rt("colorPaletteBrassBorderActive"),Ba=Rt("colorPaletteBrownBackground2"),xa=Rt("colorPaletteBrownForeground2"),wa=Rt("colorPaletteBrownBorderActive"),Pa=Rt("colorPaletteForestBackground2"),$a=Rt("colorPaletteForestForeground2"),Sa=Rt("colorPaletteForestBorderActive"),Fa=Rt("colorPaletteSeafoamBackground2"),Ca=Rt("colorPaletteSeafoamForeground2"),Na=Rt("colorPaletteSeafoamBorderActive"),za=Rt("colorPaletteDarkGreenBackground2"),Aa=Rt("colorPaletteDarkGreenForeground2"),Ia=Rt("colorPaletteDarkGreenBorderActive"),Ta=Rt("colorPaletteLightTealBackground2"),La=Rt("colorPaletteLightTealForeground2"),Oa=Rt("colorPaletteLightTealBorderActive"),Ha=Rt("colorPaletteTealBackground2"),Da=Rt("colorPaletteTealForeground2"),Va=Rt("colorPaletteTealBorderActive"),Ma=Rt("colorPaletteSteelBackground2"),Ea=Rt("colorPaletteSteelForeground2"),Ra=Rt("colorPaletteSteelBorderActive"),_a=Rt("colorPaletteBlueBackground2"),ja=Rt("colorPaletteBlueForeground2"),Ga=Rt("colorPaletteBlueBorderActive"),qa=Rt("colorPaletteRoyalBlueBackground2"),Xa=Rt("colorPaletteRoyalBlueForeground2"),Wa=Rt("colorPaletteRoyalBlueBorderActive"),Ya=Rt("colorPaletteCornflowerBackground2"),Ua=Rt("colorPaletteCornflowerForeground2"),Ka=Rt("colorPaletteCornflowerBorderActive"),Qa=Rt("colorPaletteNavyBackground2"),Ja=Rt("colorPaletteNavyForeground2"),Za=Rt("colorPaletteNavyBorderActive"),el=Rt("colorPaletteLavenderBackground2"),tl=Rt("colorPaletteLavenderForeground2"),ol=Rt("colorPaletteLavenderBorderActive"),rl=Rt("colorPalettePurpleBackground2"),nl=Rt("colorPalettePurpleForeground2"),il=Rt("colorPalettePurpleBorderActive"),sl=Rt("colorPaletteGrapeBackground2"),al=Rt("colorPaletteGrapeForeground2"),ll=Rt("colorPaletteGrapeBorderActive"),cl=Rt("colorPaletteLilacBackground2"),dl=Rt("colorPaletteLilacForeground2"),hl=Rt("colorPaletteLilacBorderActive"),ul=Rt("colorPalettePinkBackground2"),gl=Rt("colorPalettePinkForeground2"),pl=Rt("colorPalettePinkBorderActive"),fl=Rt("colorPaletteMagentaBackground2"),vl=Rt("colorPaletteMagentaForeground2"),bl=Rt("colorPaletteMagentaBorderActive"),ml=Rt("colorPalettePlumBackground2"),yl=Rt("colorPalettePlumForeground2"),kl=Rt("colorPalettePlumBorderActive"),Bl=Rt("colorPaletteBeigeBackground2"),xl=Rt("colorPaletteBeigeForeground2"),wl=Rt("colorPaletteBeigeBorderActive"),Pl=Rt("colorPaletteMinkBackground2"),$l=Rt("colorPaletteMinkForeground2"),Sl=Rt("colorPaletteMinkBorderActive"),Fl=Rt("colorPalettePlatinumBackground2"),Cl=Rt("colorPalettePlatinumForeground2"),Nl=Rt("colorPalettePlatinumBorderActive"),zl=Rt("colorPaletteAnchorBackground2"),Al=Rt("colorPaletteAnchorForeground2"),Il=Rt("colorPaletteAnchorBorderActive"),Tl=Rt("shadow2"),Ll=Rt("shadow4"),Ol=Rt("shadow8"),Hl=Rt("shadow16"),Dl=Rt("shadow28"),Vl=Rt("shadow64"),Ml=Rt("shadow2Brand"),El=Rt("shadow4Brand"),Rl=Rt("shadow8Brand"),_l=Rt("shadow16Brand"),jl=Rt("shadow28Brand"),Gl=Rt("shadow64Brand");var ql=Object.freeze({__proto__:null,borderRadiusNone:_t,borderRadiusSmall:jt,borderRadiusMedium:Gt,borderRadiusLarge:qt,borderRadiusXLarge:Xt,borderRadiusCircular:Wt,fontSizeBase100:Yt,fontSizeBase200:Ut,fontSizeBase300:Kt,fontSizeBase400:Qt,fontSizeBase500:Jt,fontSizeBase600:Zt,fontSizeHero700:eo,fontSizeHero800:to,fontSizeHero900:oo,fontSizeHero1000:ro,lineHeightBase100:no,lineHeightBase200:io,lineHeightBase300:so,lineHeightBase400:ao,lineHeightBase500:lo,lineHeightBase600:co,lineHeightHero700:ho,lineHeightHero800:uo,lineHeightHero900:go,lineHeightHero1000:po,fontFamilyBase:fo,fontFamilyMonospace:vo,fontFamilyNumeric:bo,fontWeightRegular:mo,fontWeightMedium:yo,fontWeightSemibold:ko,fontWeightBold:Bo,strokeWidthThin:xo,strokeWidthThick:wo,strokeWidthThicker:Po,strokeWidthThickest:$o,spacingHorizontalNone:So,spacingHorizontalXXS:Fo,spacingHorizontalXS:Co,spacingHorizontalSNudge:No,spacingHorizontalS:zo,spacingHorizontalMNudge:Ao,spacingHorizontalM:Io,spacingHorizontalL:To,spacingHorizontalXL:Lo,spacingHorizontalXXL:Oo,spacingHorizontalXXXL:Ho,spacingVerticalNone:Do,spacingVerticalXXS:Vo,spacingVerticalXS:Mo,spacingVerticalSNudge:Eo,spacingVerticalS:Ro,spacingVerticalMNudge:_o,spacingVerticalM:jo,spacingVerticalL:Go,spacingVerticalXL:qo,spacingVerticalXXL:Xo,spacingVerticalXXXL:Wo,durationUltraFast:Yo,durationFaster:Uo,durationFast:Ko,durationNormal:Qo,durationSlow:Jo,durationSlower:Zo,durationUltraSlow:er,curveAccelerateMax:tr,curveAccelerateMid:or,curveAccelerateMin:rr,curveDecelerateMax:nr,curveDecelerateMid:ir,curveDecelerateMin:sr,curveEasyEaseMax:ar,curveEasyEase:lr,curveLinear:cr,colorNeutralForeground1:dr,colorNeutralForeground1Hover:hr,colorNeutralForeground1Pressed:ur,colorNeutralForeground1Selected:gr,colorNeutralForeground2:pr,colorNeutralForeground2Hover:fr,colorNeutralForeground2Pressed:vr,colorNeutralForeground2Selected:br,colorNeutralForeground2BrandHover:mr,colorNeutralForeground2BrandPressed:yr,colorNeutralForeground2BrandSelected:kr,colorNeutralForeground3:Br,colorNeutralForeground3Hover:xr,colorNeutralForeground3Pressed:wr,colorNeutralForeground3Selected:Pr,colorNeutralForeground3BrandHover:$r,colorNeutralForeground3BrandPressed:Sr,colorNeutralForeground3BrandSelected:Fr,colorNeutralForeground4:Cr,colorNeutralForegroundDisabled:Nr,colorNeutralForegroundInvertedDisabled:zr,colorBrandForegroundLink:Ar,colorBrandForegroundLinkHover:Ir,colorBrandForegroundLinkPressed:Tr,colorBrandForegroundLinkSelected:Lr,colorNeutralForeground2Link:Or,colorNeutralForeground2LinkHover:Hr,colorNeutralForeground2LinkPressed:Dr,colorNeutralForeground2LinkSelected:Vr,colorCompoundBrandForeground1:Mr,colorCompoundBrandForeground1Hover:Er,colorCompoundBrandForeground1Pressed:Rr,colorBrandForeground1:_r,colorBrandForeground2:jr,colorNeutralForeground1Static:Gr,colorNeutralForegroundStaticInverted:qr,colorNeutralForegroundInverted:Xr,colorNeutralForegroundInvertedHover:Wr,colorNeutralForegroundInvertedPressed:Yr,colorNeutralForegroundInvertedSelected:Ur,colorNeutralForegroundInverted2:Kr,colorNeutralForegroundOnBrand:Qr,colorNeutralForegroundInvertedLink:Jr,colorNeutralForegroundInvertedLinkHover:Zr,colorNeutralForegroundInvertedLinkPressed:en,colorNeutralForegroundInvertedLinkSelected:tn,colorBrandForegroundInverted:on,colorBrandForegroundInvertedHover:rn,colorBrandForegroundInvertedPressed:nn,colorBrandForegroundOnLight:sn,colorBrandForegroundOnLightHover:an,colorBrandForegroundOnLightPressed:ln,colorBrandForegroundOnLightSelected:cn,colorNeutralBackground1:dn,colorNeutralBackground1Hover:hn,colorNeutralBackground1Pressed:un,colorNeutralBackground1Selected:gn,colorNeutralBackground2:pn,colorNeutralBackground2Hover:fn,colorNeutralBackground2Pressed:vn,colorNeutralBackground2Selected:bn,colorNeutralBackground3:mn,colorNeutralBackground3Hover:yn,colorNeutralBackground3Pressed:kn,colorNeutralBackground3Selected:Bn,colorNeutralBackground4:xn,colorNeutralBackground4Hover:wn,colorNeutralBackground4Pressed:Pn,colorNeutralBackground4Selected:$n,colorNeutralBackground5:Sn,colorNeutralBackground5Hover:Fn,colorNeutralBackground5Pressed:Cn,colorNeutralBackground5Selected:Nn,colorNeutralBackground6:zn,colorNeutralBackgroundInverted:An,colorNeutralBackgroundStatic:In,colorSubtleBackground:Tn,colorSubtleBackgroundHover:Ln,colorSubtleBackgroundPressed:On,colorSubtleBackgroundSelected:Hn,colorSubtleBackgroundLightAlphaHover:Dn,colorSubtleBackgroundLightAlphaPressed:Vn,colorSubtleBackgroundLightAlphaSelected:Mn,colorSubtleBackgroundInverted:En,colorSubtleBackgroundInvertedHover:Rn,colorSubtleBackgroundInvertedPressed:_n,colorSubtleBackgroundInvertedSelected:jn,colorTransparentBackground:Gn,colorTransparentBackgroundHover:qn,colorTransparentBackgroundPressed:Xn,colorTransparentBackgroundSelected:Wn,colorNeutralBackgroundDisabled:Yn,colorNeutralBackgroundInvertedDisabled:Un,colorNeutralStencil1:Kn,colorNeutralStencil2:Qn,colorBackgroundOverlay:Jn,colorScrollbarOverlay:Zn,colorBrandBackground:ei,colorBrandBackgroundHover:ti,colorBrandBackgroundPressed:oi,colorBrandBackgroundSelected:ri,colorCompoundBrandBackground:ni,colorCompoundBrandBackgroundHover:ii,colorCompoundBrandBackgroundPressed:si,colorBrandBackgroundStatic:ai,colorBrandBackground2:li,colorBrandBackgroundInverted:ci,colorBrandBackgroundInvertedHover:di,colorBrandBackgroundInvertedPressed:hi,colorBrandBackgroundInvertedSelected:ui,colorNeutralStrokeAccessible:gi,colorNeutralStrokeAccessibleHover:pi,colorNeutralStrokeAccessiblePressed:fi,colorNeutralStrokeAccessibleSelected:vi,colorNeutralStroke1:bi,colorNeutralStroke1Hover:mi,colorNeutralStroke1Pressed:yi,colorNeutralStroke1Selected:ki,colorNeutralStroke2:Bi,colorNeutralStroke3:xi,colorNeutralStrokeOnBrand:wi,colorNeutralStrokeOnBrand2:Pi,colorNeutralStrokeOnBrand2Hover:$i,colorNeutralStrokeOnBrand2Pressed:Si,colorNeutralStrokeOnBrand2Selected:Fi,colorBrandStroke1:Ci,colorBrandStroke2:Ni,colorCompoundBrandStroke:zi,colorCompoundBrandStrokeHover:Ai,colorCompoundBrandStrokePressed:Ii,colorNeutralStrokeDisabled:Ti,colorNeutralStrokeInvertedDisabled:Li,colorTransparentStroke:Oi,colorTransparentStrokeInteractive:Hi,colorTransparentStrokeDisabled:Di,colorStrokeFocus1:Vi,colorStrokeFocus2:Mi,colorNeutralShadowAmbient:Ei,colorNeutralShadowKey:Ri,colorNeutralShadowAmbientLighter:_i,colorNeutralShadowKeyLighter:ji,colorNeutralShadowAmbientDarker:Gi,colorNeutralShadowKeyDarker:qi,colorBrandShadowAmbient:Xi,colorBrandShadowKey:Wi,colorPaletteRedBackground1:Yi,colorPaletteRedBackground2:Ui,colorPaletteRedBackground3:Ki,colorPaletteRedForeground1:Qi,colorPaletteRedForeground2:Ji,colorPaletteRedForeground3:Zi,colorPaletteRedBorderActive:es,colorPaletteRedBorder1:ts,colorPaletteRedBorder2:os,colorPaletteGreenBackground1:rs,colorPaletteGreenBackground2:ns,colorPaletteGreenBackground3:is,colorPaletteGreenForeground1:ss,colorPaletteGreenForeground2:as,colorPaletteGreenForeground3:ls,colorPaletteGreenBorderActive:cs,colorPaletteGreenBorder1:ds,colorPaletteGreenBorder2:hs,colorPaletteDarkOrangeBackground1:us,colorPaletteDarkOrangeBackground2:gs,colorPaletteDarkOrangeBackground3:ps,colorPaletteDarkOrangeForeground1:fs,colorPaletteDarkOrangeForeground2:vs,colorPaletteDarkOrangeForeground3:bs,colorPaletteDarkOrangeBorderActive:ms,colorPaletteDarkOrangeBorder1:ys,colorPaletteDarkOrangeBorder2:ks,colorPaletteYellowBackground1:Bs,colorPaletteYellowBackground2:xs,colorPaletteYellowBackground3:ws,colorPaletteYellowForeground1:Ps,colorPaletteYellowForeground2:$s,colorPaletteYellowForeground3:Ss,colorPaletteYellowBorderActive:Fs,colorPaletteYellowBorder1:Cs,colorPaletteYellowBorder2:Ns,colorPaletteBerryBackground1:zs,colorPaletteBerryBackground2:As,colorPaletteBerryBackground3:Is,colorPaletteBerryForeground1:Ts,colorPaletteBerryForeground2:Ls,colorPaletteBerryForeground3:Os,colorPaletteBerryBorderActive:Hs,colorPaletteBerryBorder1:Ds,colorPaletteBerryBorder2:Vs,colorPaletteLightGreenBackground1:Ms,colorPaletteLightGreenBackground2:Es,colorPaletteLightGreenBackground3:Rs,colorPaletteLightGreenForeground1:_s,colorPaletteLightGreenForeground2:js,colorPaletteLightGreenForeground3:Gs,colorPaletteLightGreenBorderActive:qs,colorPaletteLightGreenBorder1:Xs,colorPaletteLightGreenBorder2:Ws,colorPaletteMarigoldBackground1:Ys,colorPaletteMarigoldBackground2:Us,colorPaletteMarigoldBackground3:Ks,colorPaletteMarigoldForeground1:Qs,colorPaletteMarigoldForeground2:Js,colorPaletteMarigoldForeground3:Zs,colorPaletteMarigoldBorderActive:ea,colorPaletteMarigoldBorder1:ta,colorPaletteMarigoldBorder2:oa,colorPaletteDarkRedBackground2:ra,colorPaletteDarkRedForeground2:na,colorPaletteDarkRedBorderActive:ia,colorPaletteCranberryBackground2:sa,colorPaletteCranberryForeground2:aa,colorPaletteCranberryBorderActive:la,colorPalettePumpkinBackground2:ca,colorPalettePumpkinForeground2:da,colorPalettePumpkinBorderActive:ha,colorPalettePeachBackground2:ua,colorPalettePeachForeground2:ga,colorPalettePeachBorderActive:pa,colorPaletteGoldBackground2:fa,colorPaletteGoldForeground2:va,colorPaletteGoldBorderActive:ba,colorPaletteBrassBackground2:ma,colorPaletteBrassForeground2:ya,colorPaletteBrassBorderActive:ka,colorPaletteBrownBackground2:Ba,colorPaletteBrownForeground2:xa,colorPaletteBrownBorderActive:wa,colorPaletteForestBackground2:Pa,colorPaletteForestForeground2:$a,colorPaletteForestBorderActive:Sa,colorPaletteSeafoamBackground2:Fa,colorPaletteSeafoamForeground2:Ca,colorPaletteSeafoamBorderActive:Na,colorPaletteDarkGreenBackground2:za,colorPaletteDarkGreenForeground2:Aa,colorPaletteDarkGreenBorderActive:Ia,colorPaletteLightTealBackground2:Ta,colorPaletteLightTealForeground2:La,colorPaletteLightTealBorderActive:Oa,colorPaletteTealBackground2:Ha,colorPaletteTealForeground2:Da,colorPaletteTealBorderActive:Va,colorPaletteSteelBackground2:Ma,colorPaletteSteelForeground2:Ea,colorPaletteSteelBorderActive:Ra,colorPaletteBlueBackground2:_a,colorPaletteBlueForeground2:ja,colorPaletteBlueBorderActive:Ga,colorPaletteRoyalBlueBackground2:qa,colorPaletteRoyalBlueForeground2:Xa,colorPaletteRoyalBlueBorderActive:Wa,colorPaletteCornflowerBackground2:Ya,colorPaletteCornflowerForeground2:Ua,colorPaletteCornflowerBorderActive:Ka,colorPaletteNavyBackground2:Qa,colorPaletteNavyForeground2:Ja,colorPaletteNavyBorderActive:Za,colorPaletteLavenderBackground2:el,colorPaletteLavenderForeground2:tl,colorPaletteLavenderBorderActive:ol,colorPalettePurpleBackground2:rl,colorPalettePurpleForeground2:nl,colorPalettePurpleBorderActive:il,colorPaletteGrapeBackground2:sl,colorPaletteGrapeForeground2:al,colorPaletteGrapeBorderActive:ll,colorPaletteLilacBackground2:cl,colorPaletteLilacForeground2:dl,colorPaletteLilacBorderActive:hl,colorPalettePinkBackground2:ul,colorPalettePinkForeground2:gl,colorPalettePinkBorderActive:pl,colorPaletteMagentaBackground2:fl,colorPaletteMagentaForeground2:vl,colorPaletteMagentaBorderActive:bl,colorPalettePlumBackground2:ml,colorPalettePlumForeground2:yl,colorPalettePlumBorderActive:kl,colorPaletteBeigeBackground2:Bl,colorPaletteBeigeForeground2:xl,colorPaletteBeigeBorderActive:wl,colorPaletteMinkBackground2:Pl,colorPaletteMinkForeground2:$l,colorPaletteMinkBorderActive:Sl,colorPalettePlatinumBackground2:Fl,colorPalettePlatinumForeground2:Cl,colorPalettePlatinumBorderActive:Nl,colorPaletteAnchorBackground2:zl,colorPaletteAnchorForeground2:Al,colorPaletteAnchorBorderActive:Il,shadow2:Tl,shadow4:Ll,shadow8:Ol,shadow16:Hl,shadow28:Dl,shadow64:Vl,shadow2Brand:Ml,shadow4Brand:El,shadow8Brand:Rl,shadow16Brand:_l,shadow28Brand:jl,shadow64Brand:Gl});const Xl=I`
5
+ ${At("block")}
6
6
 
7
- :host{max-width:fit-content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Fo} ${No};border-radius:${Rt};font-family:${ho};font-size:${Wt};font-weight:${fo};line-height:${ro};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:${ar};background:${Rn};line-height:${ro};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:${Et}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${Co};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Fo}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${Co};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Et};outline:none;border:2px solid ${Oi};box-shadow:inset 0 0 0 1px ${Hi}}:host([disabled]) .button{color:${$r}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${Wt};line-height:${ro}}:host([size='small']) .heading{font-size:${qt};line-height:${oo}}:host([size='large']) .heading{font-size:${Yt};line-height:${no}}:host([size='extra-large']) .heading{font-size:${Ut};line-height:${io}}: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}`,Gl=function(e={}){return fe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${me("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>${Ue(e)} ${Ye(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Xe(e.expandedIcon)}</slot><slot name="collapsed-icon">${Xe(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:fe.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:fe.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>')}),Xl=Ot.compose({name:Lt.prefix+"-accordion-item",template:Gl,styles:jl}),ql={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Wl={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Yl={circular:"circular",rounded:"rounded",square:"square"},Ul={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Kl extends Ge{constructor(){super(...arguments),this.appearance=ql.filled,this.color=Wl.brand}}function Ql(e={}){return fe` ${Ue(e)}<slot>${Xe(e.defaultContent)}</slot>${Ye(e)} `}qe([Ne],Kl.prototype,"appearance",void 0),qe([Ne],Kl.prototype,"color",void 0),qe([Ne],Kl.prototype,"shape",void 0),qe([Ne],Kl.prototype,"size",void 0),Qe(Kl,We);const Jl=Ql(),Zl=So,ec=I.partial`
8
- ${Nt("inline-flex")} :host {
7
+ :host{max-width:fit-content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Io} ${Ao};border-radius:${Gt};font-family:${fo};font-size:${Kt};font-weight:${mo};line-height:${so};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:${dr};background:${Gn};line-height:${so};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:${jt}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${zo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Io}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${zo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${jt};outline:none;border:2px solid ${Vi};box-shadow:inset 0 0 0 1px ${Mi}}:host([disabled]) .button{color:${Nr}}: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:${Kt};line-height:${so}}:host([size='small']) .heading{font-size:${Ut};line-height:${io}}:host([size='large']) .heading{font-size:${Qt};line-height:${ao}}:host([size='extra-large']) .heading{font-size:${Jt};line-height:${lo}}: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}`,Wl=function(e={}){return fe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${be("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>${Ue(e)} ${Ye(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:fe.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:fe.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>')}),Yl=Vt.compose({name:Ht.prefix+"-accordion-item",template:Wl,styles:Xl}),Ul=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Kl=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Ql=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Jl=/\s+/g,Zl=/[\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 ec(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Ul,"")).replace(Kl,"")).replace(Jl," ")).trim()}(e),Zl.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&Ql.test(e)?"":function(e,t,o){let r="";const n=e.split(" ");return 0!==n.length&&(r+=n[0].charAt(0).toUpperCase()),o||(2===n.length?r+=n[1].charAt(0).toUpperCase():3===n.length&&(r+=n[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const tc={active:"active",inactive:"inactive"},oc={circular:"circular",square:"square"},rc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},nc={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"},ic={neutral:"neutral",brand:"brand",colorful:"colorful",...nc},sc={_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 ac extends Ge{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===ic.colorful?ac.colors[lc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%ac.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:ec(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}ac.colors=Object.values(nc),Xe([Ce],ac.prototype,"name",void 0),Xe([Ce],ac.prototype,"initials",void 0),Xe([Ce({converter:Se})],ac.prototype,"size",void 0),Xe([Ce],ac.prototype,"shape",void 0),Xe([Ce],ac.prototype,"active",void 0),Xe([Ce],ac.prototype,"appearance",void 0),Xe([Ce],ac.prototype,"color",void 0),Xe([Ce({attribute:"color-id"})],ac.prototype,"colorId",void 0);const lc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),n=o%8;t^=(r<<n)+(r>>8-n)}return t},cc=fe`<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 dc=fe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():cc}</slot><slot name="badge"></slot></template>`,hc=sr,uc=ar,gc=cr,pc=I`
8
+ ${At("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fo};font-weight:${ko};font-size:${Kt};border-radius:${Wt};color:${Br};background-color:${zn}}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Wt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${xo} ${dn}}: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 ${wo} ${dn}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Yt};font-weight:${mo}}: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:${Ut}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Qt}}: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:${Jt}}: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:${Zt}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Gt}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${jt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${qt}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Xt}}:host([data-color='brand']){color:${qr};background-color:${ai}}:host([data-color='dark-red']){color:${na};background-color:${ra}}:host([data-color='cranberry']){color:${aa};background-color:${sa}}:host([data-color='red']){color:${Ji};background-color:${Ui}}:host([data-color='pumpkin']){color:${da};background-color:${ca}}:host([data-color='peach']){color:${ga};background-color:${ua}}:host([data-color='marigold']){color:${Js};background-color:${Us}}:host([data-color='gold']){color:${va};background-color:${fa}}:host([data-color='brass']){color:${ya};background-color:${ma}}:host([data-color='brown']){color:${xa};background-color:${Ba}}:host([data-color='forest']){color:${$a};background-color:${Pa}}:host([data-color='seafoam']){color:${Ca};background-color:${Fa}}:host([data-color='dark-green']){color:${Aa};background-color:${za}}:host([data-color='light-teal']){color:${La};background-color:${Ta}}:host([data-color='teal']){color:${Da};background-color:${Ha}}:host([data-color='steel']){color:${Ea};background-color:${Ma}}:host([data-color='blue']){color:${ja};background-color:${_a}}:host([data-color='royal-blue']){color:${Xa};background-color:${qa}}:host([data-color='cornflower']){color:${Ua};background-color:${Ya}}:host([data-color='navy']){color:${Ja};background-color:${Qa}}:host([data-color='lavender']){color:${tl};background-color:${el}}:host([data-color='purple']){color:${nl};background-color:${rl}}:host([data-color='grape']){color:${al};background-color:${sl}}:host([data-color='lilac']){color:${dl};background-color:${cl}}:host([data-color='pink']){color:${gl};background-color:${ul}}:host([data-color='magenta']){color:${vl};background-color:${fl}}:host([data-color='plum']){color:${yl};background-color:${ml}}:host([data-color='beige']){color:${xl};background-color:${Bl}}:host([data-color='mink']){color:${$l};background-color:${Pl}}:host([data-color='platinum']){color:${Cl};background-color:${Fl}}:host([data-color='anchor']){color:${Al};background-color:${zl}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${uc},${gc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${uc},${gc}}:host([active])::before{box-shadow:${Ol};border-style:solid;border-color:${ai}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${wo});border-width:${wo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Po});border-width:${Po}}: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 * ${$o});border-width:${$o}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ll}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Hl}}: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:${Dl}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${hc},${gc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${hc},${gc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,fc=ac.compose({name:Ht.prefix+"-avatar",template:dc,styles:pc}),vc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},bc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},mc={circular:"circular",rounded:"rounded",square:"square"},yc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class kc extends Ge{constructor(){super(...arguments),this.appearance=vc.filled,this.color=bc.brand}}function Bc(e={}){return fe` ${Ue(e)}<slot>${qe(e.defaultContent)}</slot>${Ye(e)} `}Xe([Ce],kc.prototype,"appearance",void 0),Xe([Ce],kc.prototype,"color",void 0),Xe([Ce],kc.prototype,"shape",void 0),Xe([Ce],kc.prototype,"size",void 0),Qe(kc,We);const xc=Bc(),wc=Fo,Pc=I.partial`
9
+ ${At("inline-flex")} :host {
9
10
  position: relative;
10
11
  box-sizing: border-box;
11
12
  align-items: center;
12
13
  justify-content: center;
13
- font-family: ${ho};
14
- font-weight: ${mo};
15
- font-size: ${qt};
16
- line-height: ${oo};
14
+ font-family: ${fo};
15
+ font-weight: ${ko};
16
+ font-size: ${Ut};
17
+ line-height: ${io};
17
18
  min-width: 20px;
18
19
  height: 20px;
19
- padding-inline: calc(${wo} + ${Zl});
20
- border-radius: ${Gt};
21
- border-color: ${Ii};
22
- background-color: ${Qn};
23
- color: ${Yr};
20
+ padding-inline: calc(${Co} + ${wc});
21
+ border-radius: ${Wt};
22
+ border-color: ${Oi};
23
+ background-color: ${ei};
24
+ color: ${Qr};
24
25
  }
25
26
 
26
27
  ::slotted(svg) {
@@ -35,11 +36,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
35
36
  bottom: 0;
36
37
  right: 0;
37
38
  border-style: solid;
38
- border-width: ${yo};
39
+ border-width: ${xo};
39
40
  border-color: inherit;
40
41
  border-radius: inherit;
41
42
  }
42
- `,tc=I.partial`
43
+ `,$c=I.partial`
43
44
  :host([size='tiny']) {
44
45
  width: 6px;
45
46
  height: 6px;
@@ -65,9 +66,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
65
66
  :host([size='small']) {
66
67
  min-width: 16px;
67
68
  height: 16px;
68
- font-size: ${Xt};
69
- line-height: ${to};
70
- padding-inline: calc(${So} + ${Zl});
69
+ font-size: ${Yt};
70
+ line-height: ${no};
71
+ padding-inline: calc(${Fo} + ${wc});
71
72
  }
72
73
  :host([size='small']) ::slotted(svg) {
73
74
  font-size: 12px;
@@ -75,9 +76,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
75
76
  :host([size='large']) {
76
77
  min-width: 24px;
77
78
  height: 24px;
78
- font-size: ${qt};
79
- line-height: ${oo};
80
- padding-inline: calc(${wo} + ${Zl});
79
+ font-size: ${Ut};
80
+ line-height: ${io};
81
+ padding-inline: calc(${Co} + ${wc});
81
82
  }
82
83
  :host([size='large']) ::slotted(svg) {
83
84
  font-size: 16px;
@@ -85,198 +86,202 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
85
86
  :host([size='extra-large']) {
86
87
  min-width: 32px;
87
88
  height: 32px;
88
- font-size: ${qt};
89
- line-height: ${oo};
90
- padding-inline: calc(${$o} + ${Zl});
89
+ font-size: ${Ut};
90
+ line-height: ${io};
91
+ padding-inline: calc(${No} + ${wc});
91
92
  }
92
93
  :host([size='extra-large']) ::slotted(svg) {
93
94
  font-size: 20px;
94
95
  }
95
- `,oc=I.partial`
96
+ `,Sc=I.partial`
96
97
  :host([color='danger']) {
97
- background-color: ${Wi};
98
- color: ${Yr};
98
+ background-color: ${Ki};
99
+ color: ${Qr};
99
100
  }
100
101
 
101
102
  :host([color='important']) {
102
- background-color: ${ar};
103
- color: ${an};
103
+ background-color: ${dr};
104
+ color: ${dn};
104
105
  }
105
106
 
106
107
  :host([color='informative']) {
107
- background-color: ${xn};
108
- color: ${br};
108
+ background-color: ${Sn};
109
+ color: ${Br};
109
110
  }
110
111
 
111
112
  :host([color='severe']) {
112
- background-color: ${us};
113
- color: ${Yr};
113
+ background-color: ${ps};
114
+ color: ${Qr};
114
115
  }
115
116
 
116
117
  :host([color='subtle']) {
117
- background-color: ${an};
118
- color: ${ar};
118
+ background-color: ${dn};
119
+ color: ${dr};
119
120
  }
120
121
 
121
122
  :host([color='success']) {
122
- background-color: ${os};
123
- color: ${Yr};
123
+ background-color: ${is};
124
+ color: ${Qr};
124
125
  }
125
126
 
126
127
  :host([color='warning']) {
127
- background-color: ${ks};
128
- color: ${ar};
128
+ background-color: ${ws};
129
+ color: ${dr};
129
130
  }
130
- `,rc=I.partial`
131
+ `,Fc=I.partial`
131
132
  :host([appearance='ghost']) {
132
- color: ${Qn};
133
+ color: ${ei};
133
134
  background-color: initial;
134
135
  }
135
136
 
136
137
  :host([appearance='ghost'][color='danger']) {
137
- color: ${Ki};
138
+ color: ${Zi};
138
139
  }
139
140
 
140
141
  :host([appearance='ghost'][color='important']) {
141
- color: ${ar};
142
+ color: ${dr};
142
143
  }
143
144
 
144
145
  :host([appearance='ghost'][color='informative']) {
145
- color: ${br};
146
+ color: ${Br};
146
147
  }
147
148
 
148
149
  :host([appearance='ghost'][color='severe']) {
149
- color: ${ps};
150
+ color: ${bs};
150
151
  }
151
152
 
152
153
  :host([appearance='ghost'][color='subtle']) {
153
- color: ${jr};
154
+ color: ${Xr};
154
155
  }
155
156
 
156
157
  :host([appearance='ghost'][color='success']) {
157
- color: ${is};
158
+ color: ${ls};
158
159
  }
159
160
 
160
161
  :host([appearance='ghost'][color='warning']) {
161
- color: ${Ps};
162
+ color: ${$s};
162
163
  }
163
- `,nc=I`
164
- :host([shape='square']){border-radius:${Mt}}:host([shape='rounded']){border-radius:${Rt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Et}}${tc}
165
- ${oc}
166
- ${rc}
164
+ `,Cc=I`
165
+ :host([shape='square']){border-radius:${_t}}:host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${$c}
166
+ ${Sc}
167
+ ${Fc}
167
168
  ${I.partial`
168
169
  :host([appearance='outline']) {
169
170
  border-color: currentColor;
170
- color: ${Mr};
171
+ color: ${_r};
171
172
  background-color: initial;
172
173
  }
173
174
 
174
175
  :host([appearance='outline'][color='danger']) {
175
- color: ${Ki};
176
+ color: ${Zi};
176
177
  }
177
178
 
178
179
  :host([appearance='outline'][color='important']) {
179
- color: ${br};
180
- border-color: ${di};
180
+ color: ${Br};
181
+ border-color: ${gi};
181
182
  }
182
183
 
183
184
  :host([appearance='outline'][color='informative']) {
184
- color: ${br};
185
- border-color: ${bi};
185
+ color: ${Br};
186
+ border-color: ${Bi};
186
187
  }
187
188
 
188
189
  :host([appearance='outline'][color='severe']) {
189
- color: ${ps};
190
+ color: ${bs};
190
191
  }
191
192
 
192
193
  :host([appearance='outline'][color='subtle']) {
193
- color: ${_r};
194
+ color: ${qr};
194
195
  }
195
196
 
196
197
  :host([appearance='outline'][color='success']) {
197
- color: ${ns};
198
+ color: ${as};
198
199
  }
199
200
 
200
201
  :host([appearance='outline'][color='warning']) {
201
- color: ${Ps};
202
+ color: ${$s};
202
203
  }
203
204
  `}
204
205
  ${I.partial`
205
206
  :host([appearance='tint']) {
206
- background-color: ${ii};
207
- color: ${Er};
208
- border-color: ${$i};
207
+ background-color: ${li};
208
+ color: ${jr};
209
+ border-color: ${Ni};
209
210
  }
210
211
 
211
212
  :host([appearance='tint'][color='danger']) {
212
- background-color: ${Xi};
213
- color: ${Yi};
214
- border-color: ${Ji};
213
+ background-color: ${Yi};
214
+ color: ${Qi};
215
+ border-color: ${ts};
215
216
  }
216
217
 
217
218
  :host([appearance='tint'][color='important']) {
218
- background-color: ${br};
219
- color: ${an};
220
- border-color: ${Ii};
219
+ background-color: ${Br};
220
+ color: ${dn};
221
+ border-color: ${Oi};
221
222
  }
222
223
 
223
224
  :host([appearance='tint'][color='informative']) {
224
- background-color: ${yn};
225
- color: ${br};
226
- border-color: ${bi};
225
+ background-color: ${xn};
226
+ color: ${Br};
227
+ border-color: ${Bi};
227
228
  }
228
229
 
229
230
  :host([appearance='tint'][color='severe']) {
230
- background-color: ${cs};
231
- color: ${hs};
232
- border-color: ${vs};
231
+ background-color: ${us};
232
+ color: ${fs};
233
+ border-color: ${ys};
233
234
  }
234
235
 
235
236
  :host([appearance='tint'][color='subtle']) {
236
- background-color: ${an};
237
- color: ${br};
238
- border-color: ${bi};
237
+ background-color: ${dn};
238
+ color: ${Br};
239
+ border-color: ${Bi};
239
240
  }
240
241
 
241
242
  :host([appearance='tint'][color='success']) {
242
- background-color: ${es};
243
- color: ${rs};
244
- border-color: ${ls};
243
+ background-color: ${rs};
244
+ color: ${ss};
245
+ border-color: ${hs};
245
246
  }
246
247
 
247
248
  :host([appearance='tint'][color='warning']) {
248
- background-color: ${bs};
249
- color: ${Ps};
250
- border-color: ${ws};
249
+ background-color: ${Bs};
250
+ color: ${$s};
251
+ border-color: ${Cs};
251
252
  }
252
253
  `}
253
- ${ec}
254
- `,ic=Kl.compose({name:Lt.prefix+"-badge",template:Jl,styles:nc});class sc extends Ge{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}}qe([Ne],sc.prototype,"appearance",void 0),qe([Ne],sc.prototype,"color",void 0),qe([Ne],sc.prototype,"shape",void 0),qe([Ne],sc.prototype,"size",void 0),qe([Ne({converter:$e})],sc.prototype,"count",void 0),qe([Ne({attribute:"overflow-count",converter:$e})],sc.prototype,"overflowCount",void 0),qe([Ne({attribute:"show-zero",mode:"boolean"})],sc.prototype,"showZero",void 0),qe([Ne({mode:"boolean"})],sc.prototype,"dot",void 0),Qe(sc,We);const ac={filled:"filled",ghost:"ghost"},lc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},cc={circular:"circular",rounded:"rounded"},dc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const uc=Ql({defaultContent:fe`${e=>e.setCount()}`}),hc=I`
255
- :host([shape='rounded']){border-radius:${Rt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Et}}${tc}
256
- ${oc}
257
- ${rc}
258
- ${ec}
259
-
260
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,gc=sc.compose({name:Lt.prefix+"-counter-badge",template:uc,styles:hc});class pc extends St{}qe([Ne],pc.prototype,"thickness",void 0),qe([Ne],pc.prototype,"shape",void 0),qe([Ne({attribute:"validation-state"})],pc.prototype,"validationState",void 0);const fc={medium:"medium",large:"large"},vc={rounded:"rounded",square:"square"},mc={success:"success",warning:"warning",error:"error"},bc=I`
261
- ${Nt("flex")}
262
-
263
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Rt}}: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:${Wi}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
264
- to right,${qi} 0%,${Wi} 50%,${qi}
265
- )}:host([validation-state='warning']) .determinate{background-color:${us}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
266
- to right,${ds} 0%,${us} 50%,${ds}
267
- )}:host([validation-state='success']) .determinate{background-color:${os}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
268
- to right,${ts} 0%,${os} 50%,${ts}
269
- )}.progress{background-color:${Cn};border-radius:${Rt};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${ti};border-radius:${Rt};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
270
- to right,${ii} 0%,${ti} 50%,${ii}
271
- );border-radius:${Rt};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(
272
- to right,${ii} 0%,${ti} 50%,${ii}
273
- );border-radius:${Rt};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}}`,yc=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${be(e=>"number"==typeof e.value,fe`<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,fe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Xe(e.indeterminateIndicator1)} ${Xe(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>'}),kc=pc.compose({name:Lt.prefix+"-progress-bar",template:yc,styles:bc});class Bc extends xt{}qe([Ne],Bc.prototype,"size",void 0),qe([Ne],Bc.prototype,"appearance",void 0);const Pc={primary:"primary",inverted:"inverted"},xc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Sc=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${be(e=>"number"==typeof e.value,fe`<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,fe`<slot name="indeterminate">${Xe(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 '}),wc=I`
274
- ${Nt("flex")}
275
-
276
- :host{display:flex;align-items:center;height:32px;width:32px}: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:${$i};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${wi};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:${Bi}}.indeterminate-indicator-1{stroke:${wi};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:${Bi}}@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)}}`,$c=Bc.compose({name:Lt.prefix+"-spinner",template:Sc,styles:wc});class Cc extends Ct{}qe([Ne({attribute:"label-position"})],Cc.prototype,"labelPosition",void 0);const Nc={above:"above",after:"after",before:"before"},Fc=function(e={}){return fe`<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 ${Pe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Xe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Ac=I`
277
- ${Nt("inline-flex")}
278
-
279
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none}: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:${ar};line-height:${ro};font-size:${Wt};font-weight:${fo};font-family:${ho};padding:${Ho} ${wo};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${So};box-sizing:border-box;width:40px;height:20px;background-color:${Rn};border:1px solid ${di};border-radius:${Gt};outline:none;cursor:pointer;margin:${Do} ${Co}}:host(:hover) .switch{background:none;border-color:${ui}}:host(:active) .switch{border-color:${hi}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Ai};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${ti}}:host([aria-checked='true']:hover) .switch{background:${oi};border-color:${oi}}:host([aria-checked='true']:active) .switch{background:${ri};border-color:${ri}}:host([aria-checked='true'][disabled]) .switch{background:${Xn};border-color:${Ai}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${br};transition-duration:${Yo};transition-timing-function:${ir};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${jr};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Gr}}:host([aria-checked='true']:active) .checked-indicator{background:${Xr}}:host(:hover) .checked-indicator{background-color:${yr}}:host(:active) .checked-indicator{background-color:${kr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${$r}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${$r}}`,Tc=Cc.compose({name:Lt.prefix+"-switch",template:Fc,styles:Ac});class Ic extends Ge{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}qe([Ne({mode:"boolean"})],Ic.prototype,"nowrap",void 0),qe([Ne({mode:"boolean"})],Ic.prototype,"truncate",void 0),qe([Ne({mode:"boolean"})],Ic.prototype,"italic",void 0),qe([Ne({mode:"boolean"})],Ic.prototype,"underline",void 0),qe([Ne({mode:"boolean"})],Ic.prototype,"strikethrough",void 0),qe([Ne({mode:"boolean"})],Ic.prototype,"block",void 0),qe([Ne],Ic.prototype,"size",void 0),qe([Ne],Ic.prototype,"font",void 0),qe([Ne],Ic.prototype,"weight",void 0),qe([Ne],Ic.prototype,"align",void 0);const Lc={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},zc={base:"base",numeric:"numeric",monospace:"monospace"},Oc={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Hc={start:"start",end:"end",center:"center",justify:"justify"},Vc=fe`<slot></slot>`,Dc=I`
280
- ${Nt("inline")}
281
-
282
- ::slotted(*){font-family:${ho};font-size:${Wt};line-height:${ro};font-weight:${fo};text-align:start;display:inline;white-space:normal;overflow:visible;text-overflow:clip;margin:0}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}: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:${Xt};line-height:${to}}:host([size='200']) ::slotted(*){font-size:${qt};line-height:${oo}}:host([size='400']) ::slotted(*){font-size:${Yt};line-height:${no}}:host([size='500']) ::slotted(*){font-size:${Ut};line-height:${io}}:host([size='600']) ::slotted(*){font-size:${Kt};line-height:${so}}:host([size='700']) ::slotted(*){font-size:${Qt};line-height:${ao}}:host([size='800']) ::slotted(*){font-size:${Jt};line-height:${lo}}:host([size='900']) ::slotted(*){font-size:${Zt};line-height:${co}}:host([size='1000']) ::slotted(*){font-size:${eo};line-height:${uo}}:host([font='monospace']) ::slotted(*){font-family:${go}}:host([font='numeric']) ::slotted(*){font-family:${po}}:host([weight='medium']) ::slotted(*){font-weight:${vo}}:host([weight='semibold']) ::slotted(*){font-weight:${mo}}:host([weight='bold']) ::slotted(*){font-weight:${bo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Mc=Ic.compose({name:Lt.prefix+"-text",template:Vc,styles:Dc}),Ec=Object.keys(_l),Rc=e=>{for(const t of Ec)_l[t].withDefault(e[t])};export{Ft as Accordion,Ot as AccordionItem,Vt as AccordionItemExpandIconPosition,Ht as AccordionItemSize,Kl as Badge,ql as BadgeAppearance,Wl as BadgeColor,ic as BadgeDefinition,Yl as BadgeShape,Ul as BadgeSize,nc as BadgeStyles,Jl as BadgeTemplate,sc as CounterBadge,ac as CounterBadgeAppearance,lc as CounterBadgeColor,gc as CounterBadgeDefinition,cc as CounterBadgeShape,dc as CounterBadgeSize,hc as CounterBadgeStyles,uc as CounterBadgeTemplate,pc as ProgressBar,kc as ProgressBarDefinition,vc as ProgressBarShape,bc as ProgressBarStyles,yc as ProgressBarTemplate,fc as ProgressBarThickness,mc as ProgressBarValidationState,Bc as Spinner,Pc as SpinnerAppearance,$c as SpinnerDefinition,xc as SpinnerSize,wc as SpinnerStyles,Sc as SpinnerTemplate,Cc as Switch,Nc as SwitchLabelPosition,Ic as Text,Hc as TextAlign,Mc as TextDefinition,zc as TextFont,Lc as TextSize,Dc as TextStyles,Vc as TextTemplate,Oc as TextWeight,zt as accordionDefinition,Xl as accordionItemDefinition,jl as accordionItemStyles,Gl as accordionItemTemplate,It as accordionStyles,At as accordionTemplate,Gt as borderRadiusCircular,_t as borderRadiusLarge,Rt as borderRadiusMedium,Mt as borderRadiusNone,Et as borderRadiusSmall,jt as borderRadiusXLarge,Un as colorBackgroundOverlay,Qn as colorBrandBackground,ii as colorBrandBackground2,Jn as colorBrandBackgroundHover,si as colorBrandBackgroundInverted,ai as colorBrandBackgroundInvertedHover,li as colorBrandBackgroundInvertedPressed,ci as colorBrandBackgroundInvertedSelected,Zn as colorBrandBackgroundPressed,ei as colorBrandBackgroundSelected,ni as colorBrandBackgroundStatic,Mr as colorBrandForeground1,Er as colorBrandForeground2,Zr as colorBrandForegroundInverted,en as colorBrandForegroundInvertedHover,tn as colorBrandForegroundInvertedPressed,Nr as colorBrandForegroundLink,Fr as colorBrandForegroundLinkHover,Ar as colorBrandForegroundLinkPressed,Tr as colorBrandForegroundLinkSelected,on as colorBrandForegroundOnLight,rn as colorBrandForegroundOnLightHover,nn as colorBrandForegroundOnLightPressed,sn as colorBrandForegroundOnLightSelected,ji as colorBrandShadowAmbient,Gi as colorBrandShadowKey,wi as colorBrandStroke1,$i as colorBrandStroke2,ti as colorCompoundBrandBackground,oi as colorCompoundBrandBackgroundHover,ri as colorCompoundBrandBackgroundPressed,Hr as colorCompoundBrandForeground1,Vr as colorCompoundBrandForeground1Hover,Dr as colorCompoundBrandForeground1Pressed,Ci as colorCompoundBrandStroke,Ni as colorCompoundBrandStrokeHover,Fi as colorCompoundBrandStrokePressed,an as colorNeutralBackground1,ln as colorNeutralBackground1Hover,cn as colorNeutralBackground1Pressed,dn as colorNeutralBackground1Selected,un as colorNeutralBackground2,hn as colorNeutralBackground2Hover,gn as colorNeutralBackground2Pressed,pn as colorNeutralBackground2Selected,fn as colorNeutralBackground3,vn as colorNeutralBackground3Hover,mn as colorNeutralBackground3Pressed,bn as colorNeutralBackground3Selected,yn as colorNeutralBackground4,kn as colorNeutralBackground4Hover,Bn as colorNeutralBackground4Pressed,Pn as colorNeutralBackground4Selected,xn as colorNeutralBackground5,Sn as colorNeutralBackground5Hover,wn as colorNeutralBackground5Pressed,$n as colorNeutralBackground5Selected,Cn as colorNeutralBackground6,Xn as colorNeutralBackgroundDisabled,Nn as colorNeutralBackgroundInverted,qn as colorNeutralBackgroundInvertedDisabled,Fn as colorNeutralBackgroundStatic,ar as colorNeutralForeground1,lr as colorNeutralForeground1Hover,cr as colorNeutralForeground1Pressed,dr as colorNeutralForeground1Selected,Rr as colorNeutralForeground1Static,ur as colorNeutralForeground2,fr as colorNeutralForeground2BrandHover,vr as colorNeutralForeground2BrandPressed,mr as colorNeutralForeground2BrandSelected,hr as colorNeutralForeground2Hover,Ir as colorNeutralForeground2Link,Lr as colorNeutralForeground2LinkHover,zr as colorNeutralForeground2LinkPressed,Or as colorNeutralForeground2LinkSelected,gr as colorNeutralForeground2Pressed,pr as colorNeutralForeground2Selected,br as colorNeutralForeground3,Pr as colorNeutralForeground3BrandHover,xr as colorNeutralForeground3BrandPressed,Sr as colorNeutralForeground3BrandSelected,yr as colorNeutralForeground3Hover,kr as colorNeutralForeground3Pressed,Br as colorNeutralForeground3Selected,wr as colorNeutralForeground4,$r as colorNeutralForegroundDisabled,jr as colorNeutralForegroundInverted,Wr as colorNeutralForegroundInverted2,Cr as colorNeutralForegroundInvertedDisabled,Gr as colorNeutralForegroundInvertedHover,Ur as colorNeutralForegroundInvertedLink,Kr as colorNeutralForegroundInvertedLinkHover,Qr as colorNeutralForegroundInvertedLinkPressed,Jr as colorNeutralForegroundInvertedLinkSelected,Xr as colorNeutralForegroundInvertedPressed,qr as colorNeutralForegroundInvertedSelected,Yr as colorNeutralForegroundOnBrand,_r as colorNeutralForegroundStaticInverted,Vi as colorNeutralShadowAmbient,Ri as colorNeutralShadowAmbientDarker,Mi as colorNeutralShadowAmbientLighter,Di as colorNeutralShadowKey,_i as colorNeutralShadowKeyDarker,Ei as colorNeutralShadowKeyLighter,Wn as colorNeutralStencil1,Yn as colorNeutralStencil2,pi as colorNeutralStroke1,fi as colorNeutralStroke1Hover,vi as colorNeutralStroke1Pressed,mi as colorNeutralStroke1Selected,bi as colorNeutralStroke2,yi as colorNeutralStroke3,di as colorNeutralStrokeAccessible,ui as colorNeutralStrokeAccessibleHover,hi as colorNeutralStrokeAccessiblePressed,gi as colorNeutralStrokeAccessibleSelected,Ai as colorNeutralStrokeDisabled,Ti as colorNeutralStrokeInvertedDisabled,ki as colorNeutralStrokeOnBrand,Bi as colorNeutralStrokeOnBrand2,Pi as colorNeutralStrokeOnBrand2Hover,xi as colorNeutralStrokeOnBrand2Pressed,Si as colorNeutralStrokeOnBrand2Selected,Cl as colorPaletteAnchorBackground2,Fl as colorPaletteAnchorBorderActive,Nl as colorPaletteAnchorForeground2,bl as colorPaletteBeigeBackground2,kl as colorPaletteBeigeBorderActive,yl as colorPaletteBeigeForeground2,Cs as colorPaletteBerryBackground1,Ns as colorPaletteBerryBackground2,Fs as colorPaletteBerryBackground3,zs as colorPaletteBerryBorder1,Os as colorPaletteBerryBorder2,Ls as colorPaletteBerryBorderActive,As as colorPaletteBerryForeground1,Ts as colorPaletteBerryForeground2,Is as colorPaletteBerryForeground3,Ma as colorPaletteBlueBackground2,Ra as colorPaletteBlueBorderActive,Ea as colorPaletteBlueForeground2,fa as colorPaletteBrassBackground2,ma as colorPaletteBrassBorderActive,va as colorPaletteBrassForeground2,ba as colorPaletteBrownBackground2,ka as colorPaletteBrownBorderActive,ya as colorPaletteBrownForeground2,Xa as colorPaletteCornflowerBackground2,Wa as colorPaletteCornflowerBorderActive,qa as colorPaletteCornflowerForeground2,ra as colorPaletteCranberryBackground2,ia as colorPaletteCranberryBorderActive,na as colorPaletteCranberryForeground2,Ca as colorPaletteDarkGreenBackground2,Fa as colorPaletteDarkGreenBorderActive,Na as colorPaletteDarkGreenForeground2,cs as colorPaletteDarkOrangeBackground1,ds as colorPaletteDarkOrangeBackground2,us as colorPaletteDarkOrangeBackground3,vs as colorPaletteDarkOrangeBorder1,ms as colorPaletteDarkOrangeBorder2,fs as colorPaletteDarkOrangeBorderActive,hs as colorPaletteDarkOrangeForeground1,gs as colorPaletteDarkOrangeForeground2,ps as colorPaletteDarkOrangeForeground3,ea as colorPaletteDarkRedBackground2,oa as colorPaletteDarkRedBorderActive,ta as colorPaletteDarkRedForeground2,Ba as colorPaletteForestBackground2,xa as colorPaletteForestBorderActive,Pa as colorPaletteForestForeground2,ha as colorPaletteGoldBackground2,pa as colorPaletteGoldBorderActive,ga as colorPaletteGoldForeground2,rl as colorPaletteGrapeBackground2,il as colorPaletteGrapeBorderActive,nl as colorPaletteGrapeForeground2,es as colorPaletteGreenBackground1,ts as colorPaletteGreenBackground2,os as colorPaletteGreenBackground3,as as colorPaletteGreenBorder1,ls as colorPaletteGreenBorder2,ss as colorPaletteGreenBorderActive,rs as colorPaletteGreenForeground1,ns as colorPaletteGreenForeground2,is as colorPaletteGreenForeground3,Qa as colorPaletteLavenderBackground2,Za as colorPaletteLavenderBorderActive,Ja as colorPaletteLavenderForeground2,Hs as colorPaletteLightGreenBackground1,Vs as colorPaletteLightGreenBackground2,Ds as colorPaletteLightGreenBackground3,js as colorPaletteLightGreenBorder1,Gs as colorPaletteLightGreenBorder2,_s as colorPaletteLightGreenBorderActive,Ms as colorPaletteLightGreenForeground1,Es as colorPaletteLightGreenForeground2,Rs as colorPaletteLightGreenForeground3,Aa as colorPaletteLightTealBackground2,Ia as colorPaletteLightTealBorderActive,Ta as colorPaletteLightTealForeground2,sl as colorPaletteLilacBackground2,ll as colorPaletteLilacBorderActive,al as colorPaletteLilacForeground2,hl as colorPaletteMagentaBackground2,pl as colorPaletteMagentaBorderActive,gl as colorPaletteMagentaForeground2,Xs as colorPaletteMarigoldBackground1,qs as colorPaletteMarigoldBackground2,Ws as colorPaletteMarigoldBackground3,Js as colorPaletteMarigoldBorder1,Zs as colorPaletteMarigoldBorder2,Qs as colorPaletteMarigoldBorderActive,Ys as colorPaletteMarigoldForeground1,Us as colorPaletteMarigoldForeground2,Ks as colorPaletteMarigoldForeground3,Bl as colorPaletteMinkBackground2,xl as colorPaletteMinkBorderActive,Pl as colorPaletteMinkForeground2,Ya as colorPaletteNavyBackground2,Ka as colorPaletteNavyBorderActive,Ua as colorPaletteNavyForeground2,ca as colorPalettePeachBackground2,ua as colorPalettePeachBorderActive,da as colorPalettePeachForeground2,cl as colorPalettePinkBackground2,ul as colorPalettePinkBorderActive,dl as colorPalettePinkForeground2,Sl as colorPalettePlatinumBackground2,$l as colorPalettePlatinumBorderActive,wl as colorPalettePlatinumForeground2,fl as colorPalettePlumBackground2,ml as colorPalettePlumBorderActive,vl as colorPalettePlumForeground2,sa as colorPalettePumpkinBackground2,la as colorPalettePumpkinBorderActive,aa as colorPalettePumpkinForeground2,el as colorPalettePurpleBackground2,ol as colorPalettePurpleBorderActive,tl as colorPalettePurpleForeground2,Xi as colorPaletteRedBackground1,qi as colorPaletteRedBackground2,Wi as colorPaletteRedBackground3,Ji as colorPaletteRedBorder1,Zi as colorPaletteRedBorder2,Qi as colorPaletteRedBorderActive,Yi as colorPaletteRedForeground1,Ui as colorPaletteRedForeground2,Ki as colorPaletteRedForeground3,_a as colorPaletteRoyalBlueBackground2,Ga as colorPaletteRoyalBlueBorderActive,ja as colorPaletteRoyalBlueForeground2,Sa as colorPaletteSeafoamBackground2,$a as colorPaletteSeafoamBorderActive,wa as colorPaletteSeafoamForeground2,Ha as colorPaletteSteelBackground2,Da as colorPaletteSteelBorderActive,Va as colorPaletteSteelForeground2,La as colorPaletteTealBackground2,Oa as colorPaletteTealBorderActive,za as colorPaletteTealForeground2,bs as colorPaletteYellowBackground1,ys as colorPaletteYellowBackground2,ks as colorPaletteYellowBackground3,ws as colorPaletteYellowBorder1,$s as colorPaletteYellowBorder2,Ss as colorPaletteYellowBorderActive,Bs as colorPaletteYellowForeground1,Ps as colorPaletteYellowForeground2,xs as colorPaletteYellowForeground3,Kn as colorScrollbarOverlay,Oi as colorStrokeFocus1,Hi as colorStrokeFocus2,An as colorSubtleBackground,Tn as colorSubtleBackgroundHover,Vn as colorSubtleBackgroundInverted,Dn as colorSubtleBackgroundInvertedHover,Mn as colorSubtleBackgroundInvertedPressed,En as colorSubtleBackgroundInvertedSelected,zn as colorSubtleBackgroundLightAlphaHover,On as colorSubtleBackgroundLightAlphaPressed,Hn as colorSubtleBackgroundLightAlphaSelected,In as colorSubtleBackgroundPressed,Ln as colorSubtleBackgroundSelected,Rn as colorTransparentBackground,_n as colorTransparentBackgroundHover,jn as colorTransparentBackgroundPressed,Gn as colorTransparentBackgroundSelected,Ii as colorTransparentStroke,zi as colorTransparentStrokeDisabled,Li as colorTransparentStrokeInteractive,Jo as curveAccelerateMax,Zo as curveAccelerateMid,er as curveAccelerateMin,tr as curveDecelerateMax,or as curveDecelerateMid,rr as curveDecelerateMin,ir as curveEasyEase,nr as curveEasyEaseMax,sr as curveLinear,Tc as definition,Wo as durationFast,qo as durationFaster,Yo as durationNormal,Uo as durationSlow,Ko as durationSlower,Xo as durationUltraFast,Qo as durationUltraSlow,ho as fontFamilyBase,go as fontFamilyMonospace,po as fontFamilyNumeric,Xt as fontSizeBase100,qt as fontSizeBase200,Wt as fontSizeBase300,Yt as fontSizeBase400,Ut as fontSizeBase500,Kt as fontSizeBase600,eo as fontSizeHero1000,Qt as fontSizeHero700,Jt as fontSizeHero800,Zt as fontSizeHero900,bo as fontWeightBold,vo as fontWeightMedium,fo as fontWeightRegular,mo as fontWeightSemibold,to as lineHeightBase100,oo as lineHeightBase200,ro as lineHeightBase300,no as lineHeightBase400,io as lineHeightBase500,so as lineHeightBase600,uo as lineHeightHero1000,ao as lineHeightHero700,lo as lineHeightHero800,co as lineHeightHero900,Rc as setTheme,Ll as shadow16,Ml as shadow16Brand,Al as shadow2,zl as shadow28,El as shadow28Brand,Hl as shadow2Brand,Tl as shadow4,Vl as shadow4Brand,Ol as shadow64,Rl as shadow64Brand,Il as shadow8,Dl as shadow8Brand,Ao as spacingHorizontalL,Fo as spacingHorizontalM,No as spacingHorizontalMNudge,xo as spacingHorizontalNone,Co as spacingHorizontalS,$o as spacingHorizontalSNudge,To as spacingHorizontalXL,wo as spacingHorizontalXS,Io as spacingHorizontalXXL,So as spacingHorizontalXXS,Lo as spacingHorizontalXXXL,Ro as spacingVerticalL,Eo as spacingVerticalM,Mo as spacingVerticalMNudge,zo as spacingVerticalNone,Do as spacingVerticalS,Vo as spacingVerticalSNudge,_o as spacingVerticalXL,Ho as spacingVerticalXS,jo as spacingVerticalXXL,Oo as spacingVerticalXXS,Go as spacingVerticalXXXL,ko as strokeWidthThick,Bo as strokeWidthThicker,Po as strokeWidthThickest,yo as strokeWidthThin,Ac as switchStyles,Fc as switchTemplate};
254
+ ${Pc}
255
+ `,Nc=kc.compose({name:Ht.prefix+"-badge",template:xc,styles:Cc});class zc extends Ge{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}}Xe([Ce],zc.prototype,"appearance",void 0),Xe([Ce],zc.prototype,"color",void 0),Xe([Ce],zc.prototype,"shape",void 0),Xe([Ce],zc.prototype,"size",void 0),Xe([Ce({converter:Se})],zc.prototype,"count",void 0),Xe([Ce({attribute:"overflow-count",converter:Se})],zc.prototype,"overflowCount",void 0),Xe([Ce({attribute:"show-zero",mode:"boolean"})],zc.prototype,"showZero",void 0),Xe([Ce({mode:"boolean"})],zc.prototype,"dot",void 0),Qe(zc,We);const Ac={filled:"filled",ghost:"ghost"},Ic={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Tc={circular:"circular",rounded:"rounded"},Lc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Oc=Bc({defaultContent:fe`${e=>e.setCount()}`}),Hc=I`
256
+ :host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${$c}
257
+ ${Sc}
258
+ ${Fc}
259
+ ${Pc}
260
+
261
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Dc=zc.compose({name:Ht.prefix+"-counter-badge",template:Oc,styles:Hc});class Vc extends Pt{}Xe([Ce({attribute:"align-content"})],Vc.prototype,"alignContent",void 0),Xe([Ce],Vc.prototype,"appearance",void 0),Xe([Ce({mode:"boolean"})],Vc.prototype,"inset",void 0);const Mc={center:"center",start:"start",end:"end"},Ec={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Rc=fe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,_c=I`
262
+ ${At("flex")}
263
+
264
+ :host::after,:host::before{align-self:center;background:${Bi};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${xo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${pr};font-family:${fo};font-size:${Ut};font-weight:${mo};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:${xo};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:${bi}}:host([appearance='strong']) ::slotted(*){color:${dr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Ci}}:host([appearance='brand']) ::slotted(*){color:${_r}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${xi}}:host([appearance='subtle']) ::slotted(*){color:${Br}}`,jc=Vc.compose({name:Ht.prefix+"-divider",template:Rc,styles:_c});class Gc extends Ge{}Xe([Ce({mode:"boolean"})],Gc.prototype,"block",void 0),Xe([Ce({mode:"boolean"})],Gc.prototype,"bordered",void 0),Xe([Ce({mode:"boolean"})],Gc.prototype,"shadow",void 0),Xe([Ce],Gc.prototype,"fit",void 0),Xe([Ce],Gc.prototype,"shape",void 0);const qc={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Xc={circular:"circular",rounded:"rounded",square:"square"},Wc=fe`<slot></slot>`,Yc=I`
265
+ :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:${xo} solid ${Bi}}: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:${Ll}}:host([shape='circular']) ::slotted(img){border-radius:${Wt}}`,Uc=Gc.compose({name:Ht.prefix+"-image",template:Wc,styles:Yc});class Kc extends Ft{}Xe([Ce],Kc.prototype,"thickness",void 0),Xe([Ce],Kc.prototype,"shape",void 0),Xe([Ce({attribute:"validation-state"})],Kc.prototype,"validationState",void 0);const Qc={medium:"medium",large:"large"},Jc={rounded:"rounded",square:"square"},Zc={success:"success",warning:"warning",error:"error"},ed=I`
266
+ ${At("flex")}
267
+
268
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Gt}}: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:${Ki}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
269
+ to right,${Ui} 0%,${Ki} 50%,${Ui}
270
+ )}:host([validation-state='warning']) .determinate{background-color:${ps}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
271
+ to right,${gs} 0%,${ps} 50%,${gs}
272
+ )}:host([validation-state='success']) .determinate{background-color:${is}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
273
+ to right,${ns} 0%,${is} 50%,${ns}
274
+ )}.progress{background-color:${zn};border-radius:${Gt};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${ni};border-radius:${Gt};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
275
+ to right,${li} 0%,${ni} 50%,${li}
276
+ );border-radius:${Gt};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(
277
+ to right,${li} 0%,${ni} 50%,${li}
278
+ );border-radius:${Gt};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}}`,td=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${me(e=>"number"!=typeof e.value,fe`<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>'}),od=Kc.compose({name:Ht.prefix+"-progress-bar",template:td,styles:ed});class rd extends St{}Xe([Ce],rd.prototype,"size",void 0),Xe([Ce],rd.prototype,"appearance",void 0);const nd={primary:"primary",inverted:"inverted"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},sd=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<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>`)} ${me(e=>"number"!=typeof e.value,fe`<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 '}),ad=I`
279
+ ${At("flex")}
280
+
281
+ :host{display:flex;align-items:center;height:32px;width:32px}: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:${Ni};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${Ci};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:${Pi}}.indeterminate-indicator-1{stroke:${Ci};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:${Pi}}@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)}}`,ld=rd.compose({name:Ht.prefix+"-spinner",template:sd,styles:ad});class cd extends zt{}Xe([Ce({attribute:"label-position"})],cd.prototype,"labelPosition",void 0);const dd={above:"above",after:"after",before:"before"},hd=function(e={}){return fe`<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 ${xe("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>'}),ud=I`
282
+ ${At("inline-flex")}
283
+
284
+ :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none}: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:${dr};line-height:${so};font-size:${Kt};font-weight:${mo};font-family:${fo};padding:${Mo} ${Co};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Fo};box-sizing:border-box;width:40px;height:20px;background-color:${Gn};border:1px solid ${gi};border-radius:${Wt};outline:none;cursor:pointer;margin:${Ro} ${zo}}:host(:hover) .switch{background:none;border-color:${pi}}:host(:active) .switch{border-color:${fi}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Ti};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${ni}}:host([aria-checked='true']:hover) .switch{background:${ii};border-color:${ii}}:host([aria-checked='true']:active) .switch{background:${si};border-color:${si}}:host([aria-checked='true'][disabled]) .switch{background:${Yn};border-color:${Ti}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Br};transition-duration:${Qo};transition-timing-function:${lr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Xr};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Wr}}:host([aria-checked='true']:active) .checked-indicator{background:${Yr}}:host(:hover) .checked-indicator{background-color:${xr}}:host(:active) .checked-indicator{background-color:${wr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${Nr}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${Nr}}`,gd=cd.compose({name:Ht.prefix+"-switch",template:hd,styles:ud});class pd extends Ge{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Xe([Ce({mode:"boolean"})],pd.prototype,"nowrap",void 0),Xe([Ce({mode:"boolean"})],pd.prototype,"truncate",void 0),Xe([Ce({mode:"boolean"})],pd.prototype,"italic",void 0),Xe([Ce({mode:"boolean"})],pd.prototype,"underline",void 0),Xe([Ce({mode:"boolean"})],pd.prototype,"strikethrough",void 0),Xe([Ce({mode:"boolean"})],pd.prototype,"block",void 0),Xe([Ce],pd.prototype,"size",void 0),Xe([Ce],pd.prototype,"font",void 0),Xe([Ce],pd.prototype,"weight",void 0),Xe([Ce],pd.prototype,"align",void 0);const fd={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},vd={base:"base",numeric:"numeric",monospace:"monospace"},bd={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},md={start:"start",end:"end",center:"center",justify:"justify"},yd=fe`<slot></slot>`,kd=I`
285
+ ${At("inline")}
286
+
287
+ ::slotted(*){font-family:${fo};font-size:${Kt};line-height:${so};font-weight:${mo};text-align:start;display:inline;white-space:normal;overflow:visible;text-overflow:clip;margin:0}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}: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:${Yt};line-height:${no}}:host([size='200']) ::slotted(*){font-size:${Ut};line-height:${io}}:host([size='400']) ::slotted(*){font-size:${Qt};line-height:${ao}}:host([size='500']) ::slotted(*){font-size:${Jt};line-height:${lo}}:host([size='600']) ::slotted(*){font-size:${Zt};line-height:${co}}:host([size='700']) ::slotted(*){font-size:${eo};line-height:${ho}}:host([size='800']) ::slotted(*){font-size:${to};line-height:${uo}}:host([size='900']) ::slotted(*){font-size:${oo};line-height:${go}}:host([size='1000']) ::slotted(*){font-size:${ro};line-height:${po}}:host([font='monospace']) ::slotted(*){font-family:${vo}}:host([font='numeric']) ::slotted(*){font-family:${bo}}:host([weight='medium']) ::slotted(*){font-weight:${yo}}:host([weight='semibold']) ::slotted(*){font-weight:${ko}}:host([weight='bold']) ::slotted(*){font-weight:${Bo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Bd=pd.compose({name:Ht.prefix+"-text",template:yd,styles:kd}),xd=Object.keys(ql),wd=e=>{for(const t of xd)ql[t].withDefault(e[t])};export{It as Accordion,Vt as AccordionItem,Et as AccordionItemExpandIconPosition,Mt as AccordionItemSize,ac as Avatar,tc as AvatarActive,rc as AvatarAppearance,ic as AvatarColor,fc as AvatarDefinition,nc as AvatarNamedColor,oc as AvatarShape,sc as AvatarSize,pc as AvatarStyles,dc as AvatarTemplate,kc as Badge,vc as BadgeAppearance,bc as BadgeColor,Nc as BadgeDefinition,mc as BadgeShape,yc as BadgeSize,Cc as BadgeStyles,xc as BadgeTemplate,zc as CounterBadge,Ac as CounterBadgeAppearance,Ic as CounterBadgeColor,Dc as CounterBadgeDefinition,Tc as CounterBadgeShape,Lc as CounterBadgeSize,Hc as CounterBadgeStyles,Oc as CounterBadgeTemplate,Vc as Divider,Mc as DividerAlignContent,Ec as DividerAppearance,jc as DividerDefinition,wt as DividerOrientation,xt as DividerRole,_c as DividerStyles,Rc as DividerTemplate,Gc as Image,Uc as ImageDefinition,qc as ImageFit,Xc as ImageShape,Yc as ImageStyles,Wc as ImageTemplate,Kc as ProgressBar,od as ProgressBarDefinition,Jc as ProgressBarShape,ed as ProgressBarStyles,td as ProgressBarTemplate,Qc as ProgressBarThickness,Zc as ProgressBarValidationState,rd as Spinner,nd as SpinnerAppearance,ld as SpinnerDefinition,id as SpinnerSize,ad as SpinnerStyles,sd as SpinnerTemplate,cd as Switch,dd as SwitchLabelPosition,pd as Text,md as TextAlign,Bd as TextDefinition,vd as TextFont,fd as TextSize,kd as TextStyles,yd as TextTemplate,bd as TextWeight,Dt as accordionDefinition,Yl as accordionItemDefinition,Xl as accordionItemStyles,Wl as accordionItemTemplate,Ot as accordionStyles,Tt as accordionTemplate,Wt as borderRadiusCircular,qt as borderRadiusLarge,Gt as borderRadiusMedium,_t as borderRadiusNone,jt as borderRadiusSmall,Xt as borderRadiusXLarge,Jn as colorBackgroundOverlay,ei as colorBrandBackground,li as colorBrandBackground2,ti as colorBrandBackgroundHover,ci as colorBrandBackgroundInverted,di as colorBrandBackgroundInvertedHover,hi as colorBrandBackgroundInvertedPressed,ui as colorBrandBackgroundInvertedSelected,oi as colorBrandBackgroundPressed,ri as colorBrandBackgroundSelected,ai as colorBrandBackgroundStatic,_r as colorBrandForeground1,jr as colorBrandForeground2,on as colorBrandForegroundInverted,rn as colorBrandForegroundInvertedHover,nn as colorBrandForegroundInvertedPressed,Ar as colorBrandForegroundLink,Ir as colorBrandForegroundLinkHover,Tr as colorBrandForegroundLinkPressed,Lr as colorBrandForegroundLinkSelected,sn as colorBrandForegroundOnLight,an as colorBrandForegroundOnLightHover,ln as colorBrandForegroundOnLightPressed,cn as colorBrandForegroundOnLightSelected,Xi as colorBrandShadowAmbient,Wi as colorBrandShadowKey,Ci as colorBrandStroke1,Ni as colorBrandStroke2,ni as colorCompoundBrandBackground,ii as colorCompoundBrandBackgroundHover,si as colorCompoundBrandBackgroundPressed,Mr as colorCompoundBrandForeground1,Er as colorCompoundBrandForeground1Hover,Rr as colorCompoundBrandForeground1Pressed,zi as colorCompoundBrandStroke,Ai as colorCompoundBrandStrokeHover,Ii as colorCompoundBrandStrokePressed,dn as colorNeutralBackground1,hn as colorNeutralBackground1Hover,un as colorNeutralBackground1Pressed,gn as colorNeutralBackground1Selected,pn as colorNeutralBackground2,fn as colorNeutralBackground2Hover,vn as colorNeutralBackground2Pressed,bn as colorNeutralBackground2Selected,mn as colorNeutralBackground3,yn as colorNeutralBackground3Hover,kn as colorNeutralBackground3Pressed,Bn as colorNeutralBackground3Selected,xn as colorNeutralBackground4,wn as colorNeutralBackground4Hover,Pn as colorNeutralBackground4Pressed,$n as colorNeutralBackground4Selected,Sn as colorNeutralBackground5,Fn as colorNeutralBackground5Hover,Cn as colorNeutralBackground5Pressed,Nn as colorNeutralBackground5Selected,zn as colorNeutralBackground6,Yn as colorNeutralBackgroundDisabled,An as colorNeutralBackgroundInverted,Un as colorNeutralBackgroundInvertedDisabled,In as colorNeutralBackgroundStatic,dr as colorNeutralForeground1,hr as colorNeutralForeground1Hover,ur as colorNeutralForeground1Pressed,gr as colorNeutralForeground1Selected,Gr as colorNeutralForeground1Static,pr as colorNeutralForeground2,mr as colorNeutralForeground2BrandHover,yr as colorNeutralForeground2BrandPressed,kr as colorNeutralForeground2BrandSelected,fr as colorNeutralForeground2Hover,Or as colorNeutralForeground2Link,Hr as colorNeutralForeground2LinkHover,Dr as colorNeutralForeground2LinkPressed,Vr as colorNeutralForeground2LinkSelected,vr as colorNeutralForeground2Pressed,br as colorNeutralForeground2Selected,Br as colorNeutralForeground3,$r as colorNeutralForeground3BrandHover,Sr as colorNeutralForeground3BrandPressed,Fr as colorNeutralForeground3BrandSelected,xr as colorNeutralForeground3Hover,wr as colorNeutralForeground3Pressed,Pr as colorNeutralForeground3Selected,Cr as colorNeutralForeground4,Nr as colorNeutralForegroundDisabled,Xr as colorNeutralForegroundInverted,Kr as colorNeutralForegroundInverted2,zr as colorNeutralForegroundInvertedDisabled,Wr as colorNeutralForegroundInvertedHover,Jr as colorNeutralForegroundInvertedLink,Zr as colorNeutralForegroundInvertedLinkHover,en as colorNeutralForegroundInvertedLinkPressed,tn as colorNeutralForegroundInvertedLinkSelected,Yr as colorNeutralForegroundInvertedPressed,Ur as colorNeutralForegroundInvertedSelected,Qr as colorNeutralForegroundOnBrand,qr as colorNeutralForegroundStaticInverted,Ei as colorNeutralShadowAmbient,Gi as colorNeutralShadowAmbientDarker,_i as colorNeutralShadowAmbientLighter,Ri as colorNeutralShadowKey,qi as colorNeutralShadowKeyDarker,ji as colorNeutralShadowKeyLighter,Kn as colorNeutralStencil1,Qn as colorNeutralStencil2,bi as colorNeutralStroke1,mi as colorNeutralStroke1Hover,yi as colorNeutralStroke1Pressed,ki as colorNeutralStroke1Selected,Bi as colorNeutralStroke2,xi as colorNeutralStroke3,gi as colorNeutralStrokeAccessible,pi as colorNeutralStrokeAccessibleHover,fi as colorNeutralStrokeAccessiblePressed,vi as colorNeutralStrokeAccessibleSelected,Ti as colorNeutralStrokeDisabled,Li as colorNeutralStrokeInvertedDisabled,wi as colorNeutralStrokeOnBrand,Pi as colorNeutralStrokeOnBrand2,$i as colorNeutralStrokeOnBrand2Hover,Si as colorNeutralStrokeOnBrand2Pressed,Fi as colorNeutralStrokeOnBrand2Selected,zl as colorPaletteAnchorBackground2,Il as colorPaletteAnchorBorderActive,Al as colorPaletteAnchorForeground2,Bl as colorPaletteBeigeBackground2,wl as colorPaletteBeigeBorderActive,xl as colorPaletteBeigeForeground2,zs as colorPaletteBerryBackground1,As as colorPaletteBerryBackground2,Is as colorPaletteBerryBackground3,Ds as colorPaletteBerryBorder1,Vs as colorPaletteBerryBorder2,Hs as colorPaletteBerryBorderActive,Ts as colorPaletteBerryForeground1,Ls as colorPaletteBerryForeground2,Os as colorPaletteBerryForeground3,_a as colorPaletteBlueBackground2,Ga as colorPaletteBlueBorderActive,ja as colorPaletteBlueForeground2,ma as colorPaletteBrassBackground2,ka as colorPaletteBrassBorderActive,ya as colorPaletteBrassForeground2,Ba as colorPaletteBrownBackground2,wa as colorPaletteBrownBorderActive,xa as colorPaletteBrownForeground2,Ya as colorPaletteCornflowerBackground2,Ka as colorPaletteCornflowerBorderActive,Ua as colorPaletteCornflowerForeground2,sa as colorPaletteCranberryBackground2,la as colorPaletteCranberryBorderActive,aa as colorPaletteCranberryForeground2,za as colorPaletteDarkGreenBackground2,Ia as colorPaletteDarkGreenBorderActive,Aa as colorPaletteDarkGreenForeground2,us as colorPaletteDarkOrangeBackground1,gs as colorPaletteDarkOrangeBackground2,ps as colorPaletteDarkOrangeBackground3,ys as colorPaletteDarkOrangeBorder1,ks as colorPaletteDarkOrangeBorder2,ms as colorPaletteDarkOrangeBorderActive,fs as colorPaletteDarkOrangeForeground1,vs as colorPaletteDarkOrangeForeground2,bs as colorPaletteDarkOrangeForeground3,ra as colorPaletteDarkRedBackground2,ia as colorPaletteDarkRedBorderActive,na as colorPaletteDarkRedForeground2,Pa as colorPaletteForestBackground2,Sa as colorPaletteForestBorderActive,$a as colorPaletteForestForeground2,fa as colorPaletteGoldBackground2,ba as colorPaletteGoldBorderActive,va as colorPaletteGoldForeground2,sl as colorPaletteGrapeBackground2,ll as colorPaletteGrapeBorderActive,al as colorPaletteGrapeForeground2,rs as colorPaletteGreenBackground1,ns as colorPaletteGreenBackground2,is as colorPaletteGreenBackground3,ds as colorPaletteGreenBorder1,hs as colorPaletteGreenBorder2,cs as colorPaletteGreenBorderActive,ss as colorPaletteGreenForeground1,as as colorPaletteGreenForeground2,ls as colorPaletteGreenForeground3,el as colorPaletteLavenderBackground2,ol as colorPaletteLavenderBorderActive,tl as colorPaletteLavenderForeground2,Ms as colorPaletteLightGreenBackground1,Es as colorPaletteLightGreenBackground2,Rs as colorPaletteLightGreenBackground3,Xs as colorPaletteLightGreenBorder1,Ws as colorPaletteLightGreenBorder2,qs as colorPaletteLightGreenBorderActive,_s as colorPaletteLightGreenForeground1,js as colorPaletteLightGreenForeground2,Gs as colorPaletteLightGreenForeground3,Ta as colorPaletteLightTealBackground2,Oa as colorPaletteLightTealBorderActive,La as colorPaletteLightTealForeground2,cl as colorPaletteLilacBackground2,hl as colorPaletteLilacBorderActive,dl as colorPaletteLilacForeground2,fl as colorPaletteMagentaBackground2,bl as colorPaletteMagentaBorderActive,vl as colorPaletteMagentaForeground2,Ys as colorPaletteMarigoldBackground1,Us as colorPaletteMarigoldBackground2,Ks as colorPaletteMarigoldBackground3,ta as colorPaletteMarigoldBorder1,oa as colorPaletteMarigoldBorder2,ea as colorPaletteMarigoldBorderActive,Qs as colorPaletteMarigoldForeground1,Js as colorPaletteMarigoldForeground2,Zs as colorPaletteMarigoldForeground3,Pl as colorPaletteMinkBackground2,Sl as colorPaletteMinkBorderActive,$l as colorPaletteMinkForeground2,Qa as colorPaletteNavyBackground2,Za as colorPaletteNavyBorderActive,Ja as colorPaletteNavyForeground2,ua as colorPalettePeachBackground2,pa as colorPalettePeachBorderActive,ga as colorPalettePeachForeground2,ul as colorPalettePinkBackground2,pl as colorPalettePinkBorderActive,gl as colorPalettePinkForeground2,Fl as colorPalettePlatinumBackground2,Nl as colorPalettePlatinumBorderActive,Cl as colorPalettePlatinumForeground2,ml as colorPalettePlumBackground2,kl as colorPalettePlumBorderActive,yl as colorPalettePlumForeground2,ca as colorPalettePumpkinBackground2,ha as colorPalettePumpkinBorderActive,da as colorPalettePumpkinForeground2,rl as colorPalettePurpleBackground2,il as colorPalettePurpleBorderActive,nl as colorPalettePurpleForeground2,Yi as colorPaletteRedBackground1,Ui as colorPaletteRedBackground2,Ki as colorPaletteRedBackground3,ts as colorPaletteRedBorder1,os as colorPaletteRedBorder2,es as colorPaletteRedBorderActive,Qi as colorPaletteRedForeground1,Ji as colorPaletteRedForeground2,Zi as colorPaletteRedForeground3,qa as colorPaletteRoyalBlueBackground2,Wa as colorPaletteRoyalBlueBorderActive,Xa as colorPaletteRoyalBlueForeground2,Fa as colorPaletteSeafoamBackground2,Na as colorPaletteSeafoamBorderActive,Ca as colorPaletteSeafoamForeground2,Ma as colorPaletteSteelBackground2,Ra as colorPaletteSteelBorderActive,Ea as colorPaletteSteelForeground2,Ha as colorPaletteTealBackground2,Va as colorPaletteTealBorderActive,Da as colorPaletteTealForeground2,Bs as colorPaletteYellowBackground1,xs as colorPaletteYellowBackground2,ws as colorPaletteYellowBackground3,Cs as colorPaletteYellowBorder1,Ns as colorPaletteYellowBorder2,Fs as colorPaletteYellowBorderActive,Ps as colorPaletteYellowForeground1,$s as colorPaletteYellowForeground2,Ss as colorPaletteYellowForeground3,Zn as colorScrollbarOverlay,Vi as colorStrokeFocus1,Mi as colorStrokeFocus2,Tn as colorSubtleBackground,Ln as colorSubtleBackgroundHover,En as colorSubtleBackgroundInverted,Rn as colorSubtleBackgroundInvertedHover,_n as colorSubtleBackgroundInvertedPressed,jn as colorSubtleBackgroundInvertedSelected,Dn as colorSubtleBackgroundLightAlphaHover,Vn as colorSubtleBackgroundLightAlphaPressed,Mn as colorSubtleBackgroundLightAlphaSelected,On as colorSubtleBackgroundPressed,Hn as colorSubtleBackgroundSelected,Gn as colorTransparentBackground,qn as colorTransparentBackgroundHover,Xn as colorTransparentBackgroundPressed,Wn as colorTransparentBackgroundSelected,Oi as colorTransparentStroke,Di as colorTransparentStrokeDisabled,Hi as colorTransparentStrokeInteractive,tr as curveAccelerateMax,or as curveAccelerateMid,rr as curveAccelerateMin,nr as curveDecelerateMax,ir as curveDecelerateMid,sr as curveDecelerateMin,lr as curveEasyEase,ar as curveEasyEaseMax,cr as curveLinear,gd as definition,Ko as durationFast,Uo as durationFaster,Qo as durationNormal,Jo as durationSlow,Zo as durationSlower,Yo as durationUltraFast,er as durationUltraSlow,fo as fontFamilyBase,vo as fontFamilyMonospace,bo as fontFamilyNumeric,Yt as fontSizeBase100,Ut as fontSizeBase200,Kt as fontSizeBase300,Qt as fontSizeBase400,Jt as fontSizeBase500,Zt as fontSizeBase600,ro as fontSizeHero1000,eo as fontSizeHero700,to as fontSizeHero800,oo as fontSizeHero900,Bo as fontWeightBold,yo as fontWeightMedium,mo as fontWeightRegular,ko as fontWeightSemibold,no as lineHeightBase100,io as lineHeightBase200,so as lineHeightBase300,ao as lineHeightBase400,lo as lineHeightBase500,co as lineHeightBase600,po as lineHeightHero1000,ho as lineHeightHero700,uo as lineHeightHero800,go as lineHeightHero900,wd as setTheme,Hl as shadow16,_l as shadow16Brand,Tl as shadow2,Dl as shadow28,jl as shadow28Brand,Ml as shadow2Brand,Ll as shadow4,El as shadow4Brand,Vl as shadow64,Gl as shadow64Brand,Ol as shadow8,Rl as shadow8Brand,To as spacingHorizontalL,Io as spacingHorizontalM,Ao as spacingHorizontalMNudge,So as spacingHorizontalNone,zo as spacingHorizontalS,No as spacingHorizontalSNudge,Lo as spacingHorizontalXL,Co as spacingHorizontalXS,Oo as spacingHorizontalXXL,Fo as spacingHorizontalXXS,Ho as spacingHorizontalXXXL,Go as spacingVerticalL,jo as spacingVerticalM,_o as spacingVerticalMNudge,Do as spacingVerticalNone,Ro as spacingVerticalS,Eo as spacingVerticalSNudge,qo as spacingVerticalXL,Mo as spacingVerticalXS,Xo as spacingVerticalXXL,Vo as spacingVerticalXXS,Wo as spacingVerticalXXXL,wo as strokeWidthThick,Po as strokeWidthThicker,$o as strokeWidthThickest,xo as strokeWidthThin,ud as switchStyles,hd as switchTemplate};