@fluentui/web-components 3.0.0-beta.6 → 3.0.0-beta.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.
- package/CHANGELOG.md +11 -2
- package/dist/dts/theme/design-tokens.d.ts +384 -384
- package/dist/dts/theme/set-theme.d.ts +1 -2
- package/dist/esm/accordion-item/accordion-item.styles.js +25 -25
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +100 -100
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/badge/badge.styles.js +3 -3
- package/dist/esm/badge/badge.styles.js.map +1 -1
- package/dist/esm/button/button.styles.js +63 -63
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +37 -37
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.js +18 -18
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.js +2 -2
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +21 -21
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +13 -13
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/image/image.styles.js +4 -4
- package/dist/esm/image/image.styles.js.map +1 -1
- package/dist/esm/label/label.styles.js +14 -14
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.js +16 -16
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +4 -4
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +25 -25
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/radio/radio.styles.js +32 -32
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.styles.js +9 -9
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +23 -22
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +5 -5
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +75 -75
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +34 -34
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +20 -20
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +49 -49
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/text/text.styles.js +27 -27
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +67 -67
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/theme/design-tokens.js +385 -386
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/set-theme.js +2 -2
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +24 -24
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/fluent-web-components.api.json +3077 -1541
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.b095c2e8.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +385 -386
- package/dist/web-components.js +683 -1705
- package/dist/web-components.min.js +191 -191
- package/docs/api-report.md +385 -386
- package/package.json +1 -1
- package/dist/storybook/main.c651bad5.iframe.bundle.js +0 -2
- /package/dist/storybook/{main.c651bad5.iframe.bundle.js.LICENSE.txt → main.b095c2e8.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
function e(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(n<3?i(a):n>3?i(t,o,a):i(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a}function t(e,t,o,r){return new(o||(o=Promise))((function(i,n){function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(zh){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,n=e=>"string"==typeof e,a=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=a}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),x=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function a(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(a):a())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:a,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=x.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,a=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=a(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];i(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class h extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),n=null===o?this.first:{};if(n.propertySource=e,n.propertyName=t,n.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=n}this.last=n}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){a=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){n(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class F extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function I(e,t,o=B.isVolatileBinding(e)){return new F(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let L;p(A);class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(L),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){L=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>E(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(M);const R=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${R}${++H}`;function j(e,t){const o=[];let r="";const n=[],a=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];i(s)?s=new M(I(s),V()).createCSS(a):s instanceof T?s=new M(s,V()).createCSS(a):void 0!==D.getForInstance(s)&&(s=s.createCSS(a)),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 _=(e,...t)=>{const{styles:o,behaviors:r}=j(e,t),i=new N(o);return r.length?i.withBehaviors(...r):i};class q{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(n(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}D.define(q),_.partial=(e,...t)=>{const{styles:o,behaviors:r}=j(e,t);return new q(o,r)};const G="fast-"+Math.random().toString(36).substring(2,8),W=G+"{",X="}"+G,K=X.length;let U=0;const Y=()=>`${G}-${++U}`,Q=Object.freeze({interpolation:e=>`${W}${e}${X}`,attribute:e=>`${Y()}="${W}${e}${X}"`,comment:e=>`\x3c!--${W}${e}${X}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],n=i.indexOf(X);let a;if(-1===n)a=i;else{const e=i.substring(0,n);r.push(t[e]),a=i.substring(n+K)}""!==a&&r.push(a)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",n=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},a=n.cv;let s=n.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&&(a[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in a)a[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ne{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ne),B.defineProperty(ne.prototype,"index"),B.defineProperty(ne.prototype,"length");const ae=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var n,a;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:Y(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(a=e.policy)&&void 0!==a?a:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ne(t,this.factories,o)}}function ue(e,t,o,r,i,n=!1){const a=o.attributes,s=e.directives;for(let l=0,c=a.length;l<c;++l){const d=a[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?n&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ae(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const a=Z.parse(t.textContent,e.directives);if(null===a)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=a.length;t<c;++t){const c=a[t];0!==t&&(i++,r=ae(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),n(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const a=Z.parse(o.data,e.directives);null!==a&&e.addFactory(be.aggregate(a),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(n(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const i=document.adoptNode(r.content),a=new he(i,t,o);var s,l;return ue(a,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(a,i,"r"),le.node=null,a.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,a=void 0;const s=e.length,l=e.map(e=>n(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,a=a||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=a?a:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class xe{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(n(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const n=Object.create(null),a=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=Y();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,l=t[o];if(r+=n,i(l))l=new re(I(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,n,a,s)}return new xe(r+e[e.length-1],n,o)}}p(xe);const ke=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return xe.create(e,t);throw c.error(1206)};ke.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,n=Ce(t),a=Ce(o);return(e,t)=>r(e,t)?n(e,t):a(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Fe extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Ie extends Fe{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 Ae(e){return n(e)&&(e={property:e}),new Ie(e)}ee.define(Ie);const ze=Object.freeze({locate:u()}),Le={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Le)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||x.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];n(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Re={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class je{constructor(e,t=e.definition){var o;this.platformDefined=!1,n(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=De.collect(e,t.attributes),a=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];a[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:a,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=N.normalize(t.styles),Ve.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return He.has(e)||Ve.getByType(e)?new je(class extends e{},t):new je(e,t)}static registerBaseType(e){He.add(e)}}je.getByType=Ve.getByType,je.getForInstance=Ve.getForInstance;const _e={bubbles:!0,composed:!0,cancelable:!0},qe=new WeakMap;function Ge(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:qe.get(e))&&void 0!==o?o:null}let We;class Xe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&qe.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,n=e[i];void 0!==n&&(delete e[i],t[i]=n)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=Ge(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=Ge(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},_e),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=Ge(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=je.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ke(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=Ge(e))&&void 0!==t?t:e.getRootNode()}p(Xe),Xe.setStrategy(Xe);class Ue{constructor(e){const t=Ue.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ke(e),this.sheets)}removeStylesFrom(e){et(Ke(e),this.sheets)}}Ue.styleSheetCache=new Map;let Ye=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ye}addStylesTo(e){e=Qe(Ke(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ke(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(N.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(zh){}N.setDefaultStrategy(Ue)}else N.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return je.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?je.compose(e,t).define().type:je.compose(this,e).define().type},compose:function(e,t){return i(e)?je.compose(e,t):je.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const nt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var at;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(at||(at={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return ke`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return ke`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof ft&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof ft&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class xt extends yt{}const kt=ke`<template><slot ${Ae({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?at.rtl:at.ltr};class wt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new wt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Pt=_`
|
|
2
|
-
${
|
|
1
|
+
function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(n<3?a(i):n>3?a(t,o,i):a(t,o))||i);return n>3&&i&&Object.defineProperty(t,o,i),i}function t(e,t,o,r){return new(o||(o=Promise))((function(a,n){function i(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(pu){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const a=e=>"function"==typeof e,n=e=>"string"==typeof e,i=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function u(){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 h(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=i}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),v=e=>e,b=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:v}):{createHTML:v};let m=Object.freeze({createHTML:e=>b.createHTML(e),protect:(e,t,o,r)=>r});const f=m,k=Object.freeze({get policy(){return m},setPolicy(e){if(m!==f)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),y=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function i(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(i):i())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:i,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),a.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const B=Object.freeze({unknown:void 0,coupled:1}),w=c.getById(r.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,i=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=i(e):o.set(e,r=new $(e))),r}const l=h();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];a(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class u extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==B.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let a;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{a=this.expression(e,t)}finally{r=o}return a}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,a=s(e),n=null===o?this.first:{};if(n.propertySource=e,n.propertyName=t,n.notifier=a,a.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=n}this.last=n}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(u),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){n(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new u(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),F=Object.freeze({default:{index:0,length:0,get event(){return F.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class C{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class N extends C{createObserver(e){return w.binding(this.evaluate,e,this.isVolatile)}}function T(e,t,o=w.isVolatileBinding(e)){return new N(e,t,o)}class A extends C{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function I(e,t){return new A(e,t)}let z;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(z),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){z=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const H=u(),O=Object.freeze({getForInstance:H.getForInstance,getByType:H.getByType,define:e=>(H.register({type:e}),e)});function D(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>D(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){D(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){D(this,t.controller,t)}}O.define(M);const E=""+Math.random().toString(36).substring(2,8);let R=0;const j=()=>`--v${E}${++R}`;function V(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];a(s)?s=new M(T(s),j()).createCSS(i):s instanceof C?s=new M(s,j()).createCSS(i):void 0!==O.getForInstance(s)&&(s=s.createCSS(i)),s instanceof L||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const G=(e,...t)=>{const{styles:o,behaviors:r}=V(e,t),a=new L(o);return r.length?a.withBehaviors(...r):a};class _{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(n(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}O.define(_),G.partial=(e,...t)=>{const{styles:o,behaviors:r}=V(e,t);return new _(o,r)};const X="fast-"+Math.random().toString(36).substring(2,8),W=X+"{",q="}"+X,Y=q.length;let U=0;const K=()=>`${X}-${++U}`,Q=Object.freeze({interpolation:e=>`${W}${e}${q}`,attribute:e=>`${K()}="${W}${e}${q}"`,comment:e=>`\x3c!--${W}${e}${q}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,a=o.length;e<a;++e){const a=o[e],n=a.indexOf(q);let i;if(-1===n)i=a;else{const e=a.substring(0,n);r.push(t[e]),i=a.substring(n+Y)}""!==i&&r.push(i)}return r}}),J=u(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:k.setAttribute,[g.booleanAttribute]:k.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 a=this.id+"-t",n=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},i=n.cv;let s=n.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&&(i[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in i)i[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){F.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);F.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 ae(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ne{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=B.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return F.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,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=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(){ae(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){ae(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ne),w.defineProperty(ne.prototype,"index"),w.defineProperty(ne.prototype,"length");const ie=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return a(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class ue{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,a){var n,i;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:K(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(i=e.policy)&&void 0!==i?i: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 a=se[t];if(!a){const r="_"+t;se[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ne(t,this.factories,o)}}function he(e,t,o,r,a,n=!1){const i=o.attributes,s=e.directives;for(let l=0,c=i.length;l<c;++l){const d=i[l],u=d.value,h=Z.parse(u,s);let p=null;null===h?n&&(p=new re(I(()=>u,e.policy)),ee.assignAspect(p,d.name)):p=ve.aggregate(h,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function pe(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=ge(e,o,a,r);a=t.node,r=t.index}}function ge(e,t,o,r){const a=ie(t,r);switch(o.nodeType){case 1:he(e,t,o,a,r),pe(e,o,a);break;case 3:return function(e,t,o,r,a){const i=Z.parse(t.textContent,e.directives);if(null===i)return le.node=t.nextSibling,le.index=a+1,le;let s,l=s=t;for(let t=0,c=i.length;t<c;++t){const c=i[t];0!==t&&(a++,r=ie(o,a),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),n(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,a,null)),l=s}return le.index=a+1,le.node=l.nextSibling,le}(e,o,t,a,r);case 8:const i=Z.parse(o.data,e.directives);null!==i&&e.addFactory(ve.aggregate(i),t,a,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const ve={compile(e,t,o=k.policy){let r;if(n(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const a=document.adoptNode(r.content),i=new ue(a,t,o);var s,l;return he(i,"",r,"h",0,!0),s=a.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===a.childNodes.length&&Object.keys(t).length>0)&&a.insertBefore(document.createComment(""),a.firstChild),pe(i,a,"r"),le.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=k.policy){if(1===e.length)return e[0];let o,r,a=!1,i=void 0;const s=e.length,l=e.map(e=>n(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,a=a||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+=l[r](e,t);return o},r.isVolatile=a,r.policy=null!=i?i:t;const c=new re(r);return ee.assignAspect(c,o),c}},be=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class fe{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ke(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=be.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}fe.empty=new fe(""),ee.define(fe);class ye{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ve.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new fe(n(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,l=t[o];if(r+=n,a(l))l=new re(T(l));else if(l instanceof C)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(I(()=>e))}r+=ke(l,n,i,s)}return new ye(r+e[e.length-1],n,o)}}p(ye);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ye.create(e,t);throw c.error(1206)};xe.partial=e=>new fe(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const Be=e=>new $e(e),we=()=>null;function Pe(e){return void 0===e?we:a(e)?e:()=>e}function Se(e,t,o){const r=a(e)?e:()=>e,n=Pe(t),i=Pe(o);return(e,t)=>r(e,t)?n(e,t):i(e,t)}const Fe=e=>1===e.nodeType,Ce=e=>e?t=>1===t.nodeType&&t.matches(e):Fe;class Ne extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Te extends Ne{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 Ae(e){return n(e)&&(e={property:e}),new Te(e)}ee.define(Te);const Ie=Object.freeze({locate:h()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Le(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const He={toView(e){const t=Le(e);return t?t.toString():t},fromView:Le};class Oe{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=ze)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return w.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;k.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":k.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ie.locate(e));for(let r=0,a=t.length;r<a;++r){const a=t[r];if(void 0!==a)for(let t=0,r=a.length;t<r;++t){const r=a[t];n(r)?o.push(new Oe(e,r)):o.push(new Oe(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Ee={},Re=new Set,je=c.getById(r.elementRegistry,()=>u());class Ve{constructor(e,t=e.definition){var o;this.platformDefined=!1,n(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,a=Oe.collect(e,t.attributes),i=new Array(a.length),s={},l={};for(let e=0,t=a.length;e<t;++e){const t=a[e];i[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=a,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Ee:Object.assign(Object.assign({},Ee),t.elementOptions),this.styles=L.normalize(t.styles),je.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 Re.has(e)||je.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Re.add(e)}}Ve.getByType=je.getByType,Ve.getForInstance=je.getForInstance;const Ge={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function Xe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let We;class qe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&_e.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,n=e[a];void 0!==n&&(delete e[a],t[a]=n)}}}get isConnected(){return w.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:F.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(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,a+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=Xe(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=Xe(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}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},Ge),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=Xe(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=B.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ye(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=Xe(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class Ue{constructor(e){const t=Ue.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ye(e),this.sheets)}removeStylesFrom(e){et(Ye(e),this.sheets)}}Ue.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ye(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Qe(Ye(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(L.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(pu){}L.setDefaultStrategy(Ue)}else L.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),qe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Ve.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return a(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return a(e)?Ve.compose(e,t):Ve.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function at(...e){return e.every(e=>e instanceof HTMLElement)}const nt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var it;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ut(e){return e?"string"==typeof e?new fe(e):"inline"in e?e.inline():e:fe.empty}e([De({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([De({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([De({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([De({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([De({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([De({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([De({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([De({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([De({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([De({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([De({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([De({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([De({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([De({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([De({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([De({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([De({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([De({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([De({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ht{}function pt(e){return xe`<slot name="end" ${Be("end")}>${ut(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${Be("start")}>${ut(e.start)}</slot>`.inline()}function vt(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}class bt extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([De({attribute:"heading-level",mode:"fromView",converter:He})],bt.prototype,"headinglevel",void 0),e([De({mode:"boolean"})],bt.prototype,"expanded",void 0),e([De({mode:"boolean"})],bt.prototype,"disabled",void 0),e([De],bt.prototype,"id",void 0),vt(bt,ht);const mt="single",ft="multi";class kt extends ot{constructor(){super(...arguments),this.expandmode=ft,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 bt&&(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 bt&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof bt&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof bt&&e.expandbutton.focus()}}e([De({attribute:"expand-mode"})],kt.prototype,"expandmode",void 0),e([P],kt.prototype,"slottedAccordionItems",void 0);class yt extends kt{}const xt=xe`<template><slot ${Ae({property:"slottedAccordionItems",filter:Ce()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?it.rtl:it.ltr};class Bt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new Bt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const wt=Bt.with(window.matchMedia("(forced-colors)"));Bt.with(window.matchMedia("(prefers-color-scheme: dark)")),Bt.with(window.matchMedia("(prefers-color-scheme: light)"));function Pt(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Ft=G`
|
|
2
|
+
${Pt("flex")}
|
|
3
3
|
|
|
4
|
-
:host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Ft=xt.compose({name:Tt.prefix+"-accordion",template:kt,styles:Pt});var It=Object.defineProperty,At=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,n=r>1?void 0:r?At(t,o):t,a=e.length-1;a>=0;a--)(i=e[a])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&It(t,o,n),n};class Lt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Lt.prototype,"size",2),zt([Ee({mode:"boolean"})],Lt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Lt.prototype,"expandIconPosition",2);const Nt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,n;const a=e;a.id=null!==(o=a.id)&&void 0!==o?o:Y(),a.targetNodeId=null!==(r=a.targetNodeId)&&void 0!==r?r:Y(),a.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,a.policy=null!==(n=a.policy)&&void 0!==n?n:y.policy,this.addTarget(a.targetNodeId,t),this.addBehavior(a.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Et.cache=new WeakMap;class Mt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Rt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,n=e.length;i<n;i++){const n=e[i];!o.includes(n)&&Ht.isDerivedFor(r,n)&&t.set(n,r._derived.get(n))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),n=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Rt(this,i,o,null===(t=n.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Rt(this,2,t,null===(o=n.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Rt(this,2,o));Ht.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),n=Ht.collectDerivedContext(this);let a;if(i){a=this.setupDerivedTokenValue(e,t,!0).value}else a=t;r!==a&&Ht.queueNotification(new Rt(this,o,e,t)),this.dispatch(new Rt(this,o,e,t)),n.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Rt(this,1,t,e.evaluator.value)),this.dispatch(new Rt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Rt(this,2,e)),t!==o&&this.dispatch(new Rt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,n=Ht.isAssigned(this,i),a=n&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(n&&!a)return;2===e.type&&!n&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Rt(this,2,i))),a&&(e=new Rt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Rt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Rt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Mt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Rt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){x.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){x.enqueue(()=>this.target.removeProperty(e))}}class jt extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class _t extends Vt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class qt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),x.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),x.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}e([C],qt.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 Wt=new WeakMap,Xt=N.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:qt,Kt=Object.freeze({getOrCreate(e){if(Wt.has(e))return Wt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new jt:new _t:new Xt(e),Wt.set(e,t),t}});class Ut{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Yt({name:e,cssCustomPropertyName:e}):Ut.isCSSDesignTokenConfiguration(e)?new Yt(e):new Ut(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Kt.getOrCreate(e)),Gt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Kt.getOrCreate(e)),Gt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof Ut&&(e=this.alias(e)),e}}let Yt=class extends Ut{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Kt.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Qt;Yt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Yt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new Gt,Jt.cache=new WeakMap;const{create:eo}=Ut,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),no=eo("borderRadiusXLarge"),ao=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),xo=eo("lineHeightBase300"),ko=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Fo=eo("fontFamilyMonospace"),Io=eo("fontFamilyNumeric"),Ao=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),Lo=eo("fontWeightSemibold"),No=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Mo=eo("strokeWidthThickest"),Ro=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),jo=eo("spacingHorizontalSNudge"),_o=eo("spacingHorizontalS"),qo=eo("spacingHorizontalMNudge"),Go=eo("spacingHorizontalM"),Wo=eo("spacingHorizontalL"),Xo=eo("spacingHorizontalXL"),Ko=eo("spacingHorizontalXXL"),Uo=eo("spacingHorizontalXXXL"),Yo=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),nr=eo("spacingVerticalXXL"),ar=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),xr=eo("curveEasyEaseMax"),kr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Fr=eo("colorNeutralForeground2Pressed"),Ir=eo("colorNeutralForeground2Selected"),Ar=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Lr=eo("colorNeutralForeground2BrandSelected"),Nr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Mr=eo("colorNeutralForeground3BrandHover"),Rr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),jr=eo("colorNeutralForegroundDisabled"),_r=eo("colorNeutralForegroundInvertedDisabled"),qr=eo("colorBrandForegroundLink"),Gr=eo("colorBrandForegroundLinkHover"),Wr=eo("colorBrandForegroundLinkPressed"),Xr=eo("colorBrandForegroundLinkSelected"),Kr=eo("colorNeutralForeground2Link"),Ur=eo("colorNeutralForeground2LinkHover"),Yr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ni=eo("colorNeutralForegroundInverted"),ai=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),xi=eo("colorBrandForegroundOnLightPressed"),ki=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Fi=eo("colorNeutralBackground2Selected"),Ii=eo("colorNeutralBackground3"),Ai=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Li=eo("colorNeutralBackground3Selected"),Ni=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Mi=eo("colorNeutralBackground5"),Ri=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),ji=eo("colorNeutralBackground6"),_i=eo("colorNeutralBackgroundInverted"),qi=eo("colorNeutralBackgroundStatic"),Gi=eo("colorSubtleBackground"),Wi=eo("colorSubtleBackgroundHover"),Xi=eo("colorSubtleBackgroundPressed"),Ki=eo("colorSubtleBackgroundSelected"),Ui=eo("colorSubtleBackgroundLightAlphaHover"),Yi=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),en=eo("colorSubtleBackgroundInvertedPressed"),tn=eo("colorSubtleBackgroundInvertedSelected"),on=eo("colorTransparentBackground"),rn=eo("colorTransparentBackgroundHover"),nn=eo("colorTransparentBackgroundPressed"),an=eo("colorTransparentBackgroundSelected"),sn=eo("colorNeutralBackgroundDisabled"),ln=eo("colorNeutralBackgroundInvertedDisabled"),cn=eo("colorNeutralStencil1"),dn=eo("colorNeutralStencil2"),hn=eo("colorNeutralStencil1Alpha"),un=eo("colorNeutralStencil2Alpha"),pn=eo("colorBackgroundOverlay"),gn=eo("colorScrollbarOverlay"),bn=eo("colorBrandBackground"),fn=eo("colorBrandBackgroundHover"),mn=eo("colorBrandBackgroundPressed"),vn=eo("colorBrandBackgroundSelected"),yn=eo("colorCompoundBrandBackground"),xn=eo("colorCompoundBrandBackgroundHover"),kn=eo("colorCompoundBrandBackgroundPressed"),$n=eo("colorBrandBackgroundStatic"),wn=eo("colorBrandBackground2"),Bn=eo("colorBrandBackgroundInverted"),Cn=eo("colorBrandBackgroundInvertedHover"),Sn=eo("colorBrandBackgroundInvertedPressed"),Pn=eo("colorBrandBackgroundInvertedSelected"),Tn=eo("colorNeutralStrokeAccessible"),Fn=eo("colorNeutralStrokeAccessibleHover"),In=eo("colorNeutralStrokeAccessiblePressed"),An=eo("colorNeutralStrokeAccessibleSelected"),zn=eo("colorNeutralStroke1"),Ln=eo("colorNeutralStroke1Hover"),Nn=eo("colorNeutralStroke1Pressed"),On=eo("colorNeutralStroke1Selected"),Dn=eo("colorNeutralStroke2"),En=eo("colorNeutralStroke3"),Mn=eo("colorNeutralStrokeOnBrand"),Rn=eo("colorNeutralStrokeOnBrand2"),Hn=eo("colorNeutralStrokeOnBrand2Hover"),Vn=eo("colorNeutralStrokeOnBrand2Pressed"),jn=eo("colorNeutralStrokeOnBrand2Selected"),_n=eo("colorBrandStroke1"),qn=eo("colorBrandStroke2"),Gn=eo("colorCompoundBrandStroke"),Wn=eo("colorCompoundBrandStrokeHover"),Xn=eo("colorCompoundBrandStrokePressed"),Kn=eo("colorNeutralStrokeDisabled"),Un=eo("colorNeutralStrokeInvertedDisabled"),Yn=eo("colorTransparentStroke"),Qn=eo("colorTransparentStrokeInteractive"),Zn=eo("colorTransparentStrokeDisabled"),Jn=eo("colorStrokeFocus1"),ea=eo("colorStrokeFocus2"),ta=eo("colorNeutralShadowAmbient"),oa=eo("colorNeutralShadowKey"),ra=eo("colorNeutralShadowAmbientLighter"),ia=eo("colorNeutralShadowKeyLighter"),na=eo("colorNeutralShadowAmbientDarker"),aa=eo("colorNeutralShadowKeyDarker"),sa=eo("colorBrandShadowAmbient"),la=eo("colorBrandShadowKey"),ca=eo("colorPaletteRedBackground1"),da=eo("colorPaletteRedBackground2"),ha=eo("colorPaletteRedBackground3"),ua=eo("colorPaletteRedForeground1"),pa=eo("colorPaletteRedForeground2"),ga=eo("colorPaletteRedForeground3"),ba=eo("colorPaletteRedBorderActive"),fa=eo("colorPaletteRedBorder1"),ma=eo("colorPaletteRedBorder2"),va=eo("colorPaletteGreenBackground1"),ya=eo("colorPaletteGreenBackground2"),xa=eo("colorPaletteGreenBackground3"),ka=eo("colorPaletteGreenForeground1"),$a=eo("colorPaletteGreenForeground2"),wa=eo("colorPaletteGreenForeground3"),Ba=eo("colorPaletteGreenBorderActive"),Ca=eo("colorPaletteGreenBorder1"),Sa=eo("colorPaletteGreenBorder2"),Pa=eo("colorPaletteDarkOrangeBackground1"),Ta=eo("colorPaletteDarkOrangeBackground2"),Fa=eo("colorPaletteDarkOrangeBackground3"),Ia=eo("colorPaletteDarkOrangeForeground1"),Aa=eo("colorPaletteDarkOrangeForeground2"),za=eo("colorPaletteDarkOrangeForeground3"),La=eo("colorPaletteDarkOrangeBorderActive"),Na=eo("colorPaletteDarkOrangeBorder1"),Oa=eo("colorPaletteDarkOrangeBorder2"),Da=eo("colorPaletteYellowBackground1"),Ea=eo("colorPaletteYellowBackground2"),Ma=eo("colorPaletteYellowBackground3"),Ra=eo("colorPaletteYellowForeground1"),Ha=eo("colorPaletteYellowForeground2"),Va=eo("colorPaletteYellowForeground3"),ja=eo("colorPaletteYellowBorderActive"),_a=eo("colorPaletteYellowBorder1"),qa=eo("colorPaletteYellowBorder2"),Ga=eo("colorPaletteBerryBackground1"),Wa=eo("colorPaletteBerryBackground2"),Xa=eo("colorPaletteBerryBackground3"),Ka=eo("colorPaletteBerryForeground1"),Ua=eo("colorPaletteBerryForeground2"),Ya=eo("colorPaletteBerryForeground3"),Qa=eo("colorPaletteBerryBorderActive"),Za=eo("colorPaletteBerryBorder1"),Ja=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),ns=eo("colorPaletteLightGreenForeground3"),as=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),xs=eo("colorPaletteDarkRedBorderActive"),ks=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Fs=eo("colorPalettePeachBorderActive"),Is=eo("colorPaletteGoldBackground2"),As=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ls=eo("colorPaletteBrassBackground2"),Ns=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Ms=eo("colorPaletteBrownBorderActive"),Rs=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),js=eo("colorPaletteSeafoamBackground2"),_s=eo("colorPaletteSeafoamForeground2"),qs=eo("colorPaletteSeafoamBorderActive"),Gs=eo("colorPaletteDarkGreenBackground2"),Ws=eo("colorPaletteDarkGreenForeground2"),Xs=eo("colorPaletteDarkGreenBorderActive"),Ks=eo("colorPaletteLightTealBackground2"),Us=eo("colorPaletteLightTealForeground2"),Ys=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),nl=eo("colorPaletteBlueBorderActive"),al=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),xl=eo("colorPalettePurpleBorderActive"),kl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Fl=eo("colorPalettePinkBorderActive"),Il=eo("colorPaletteMagentaBackground2"),Al=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Ll=eo("colorPalettePlumBackground2"),Nl=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Ml=eo("colorPaletteBeigeBorderActive"),Rl=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),jl=eo("colorPalettePlatinumBackground2"),_l=eo("colorPalettePlatinumForeground2"),ql=eo("colorPalettePlatinumBorderActive"),Gl=eo("colorPaletteAnchorBackground2"),Wl=eo("colorPaletteAnchorForeground2"),Xl=eo("colorPaletteAnchorBorderActive"),Kl=eo("colorPaletteRedForegroundInverted"),Ul=eo("colorPaletteGreenForegroundInverted"),Yl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),nc=eo("shadow8Brand"),ac=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:no,borderRadiusCircular:ao,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:xo,lineHeightBase400:ko,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Fo,fontFamilyNumeric:Io,fontWeightRegular:Ao,fontWeightMedium:zo,fontWeightSemibold:Lo,fontWeightBold:No,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Mo,spacingHorizontalNone:Ro,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:jo,spacingHorizontalS:_o,spacingHorizontalMNudge:qo,spacingHorizontalM:Go,spacingHorizontalL:Wo,spacingHorizontalXL:Xo,spacingHorizontalXXL:Ko,spacingHorizontalXXXL:Uo,spacingVerticalNone:Yo,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:nr,spacingVerticalXXXL:ar,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:xr,curveEasyEase:kr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Fr,colorNeutralForeground2Selected:Ir,colorNeutralForeground2BrandHover:Ar,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Lr,colorNeutralForeground3:Nr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Mr,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:jr,colorNeutralForegroundInvertedDisabled:_r,colorBrandForegroundLink:qr,colorBrandForegroundLinkHover:Gr,colorBrandForegroundLinkPressed:Wr,colorBrandForegroundLinkSelected:Xr,colorNeutralForeground2Link:Kr,colorNeutralForeground2LinkHover:Ur,colorNeutralForeground2LinkPressed:Yr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ni,colorNeutralForegroundInvertedHover:ai,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:xi,colorBrandForegroundOnLightSelected:ki,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Fi,colorNeutralBackground3:Ii,colorNeutralBackground3Hover:Ai,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Li,colorNeutralBackground4:Ni,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Mi,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:ji,colorNeutralBackgroundInverted:_i,colorNeutralBackgroundStatic:qi,colorSubtleBackground:Gi,colorSubtleBackgroundHover:Wi,colorSubtleBackgroundPressed:Xi,colorSubtleBackgroundSelected:Ki,colorSubtleBackgroundLightAlphaHover:Ui,colorSubtleBackgroundLightAlphaPressed:Yi,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:en,colorSubtleBackgroundInvertedSelected:tn,colorTransparentBackground:on,colorTransparentBackgroundHover:rn,colorTransparentBackgroundPressed:nn,colorTransparentBackgroundSelected:an,colorNeutralBackgroundDisabled:sn,colorNeutralBackgroundInvertedDisabled:ln,colorNeutralStencil1:cn,colorNeutralStencil2:dn,colorNeutralStencil1Alpha:hn,colorNeutralStencil2Alpha:un,colorBackgroundOverlay:pn,colorScrollbarOverlay:gn,colorBrandBackground:bn,colorBrandBackgroundHover:fn,colorBrandBackgroundPressed:mn,colorBrandBackgroundSelected:vn,colorCompoundBrandBackground:yn,colorCompoundBrandBackgroundHover:xn,colorCompoundBrandBackgroundPressed:kn,colorBrandBackgroundStatic:$n,colorBrandBackground2:wn,colorBrandBackgroundInverted:Bn,colorBrandBackgroundInvertedHover:Cn,colorBrandBackgroundInvertedPressed:Sn,colorBrandBackgroundInvertedSelected:Pn,colorNeutralStrokeAccessible:Tn,colorNeutralStrokeAccessibleHover:Fn,colorNeutralStrokeAccessiblePressed:In,colorNeutralStrokeAccessibleSelected:An,colorNeutralStroke1:zn,colorNeutralStroke1Hover:Ln,colorNeutralStroke1Pressed:Nn,colorNeutralStroke1Selected:On,colorNeutralStroke2:Dn,colorNeutralStroke3:En,colorNeutralStrokeOnBrand:Mn,colorNeutralStrokeOnBrand2:Rn,colorNeutralStrokeOnBrand2Hover:Hn,colorNeutralStrokeOnBrand2Pressed:Vn,colorNeutralStrokeOnBrand2Selected:jn,colorBrandStroke1:_n,colorBrandStroke2:qn,colorCompoundBrandStroke:Gn,colorCompoundBrandStrokeHover:Wn,colorCompoundBrandStrokePressed:Xn,colorNeutralStrokeDisabled:Kn,colorNeutralStrokeInvertedDisabled:Un,colorTransparentStroke:Yn,colorTransparentStrokeInteractive:Qn,colorTransparentStrokeDisabled:Zn,colorStrokeFocus1:Jn,colorStrokeFocus2:ea,colorNeutralShadowAmbient:ta,colorNeutralShadowKey:oa,colorNeutralShadowAmbientLighter:ra,colorNeutralShadowKeyLighter:ia,colorNeutralShadowAmbientDarker:na,colorNeutralShadowKeyDarker:aa,colorBrandShadowAmbient:sa,colorBrandShadowKey:la,colorPaletteRedBackground1:ca,colorPaletteRedBackground2:da,colorPaletteRedBackground3:ha,colorPaletteRedForeground1:ua,colorPaletteRedForeground2:pa,colorPaletteRedForeground3:ga,colorPaletteRedBorderActive:ba,colorPaletteRedBorder1:fa,colorPaletteRedBorder2:ma,colorPaletteGreenBackground1:va,colorPaletteGreenBackground2:ya,colorPaletteGreenBackground3:xa,colorPaletteGreenForeground1:ka,colorPaletteGreenForeground2:$a,colorPaletteGreenForeground3:wa,colorPaletteGreenBorderActive:Ba,colorPaletteGreenBorder1:Ca,colorPaletteGreenBorder2:Sa,colorPaletteDarkOrangeBackground1:Pa,colorPaletteDarkOrangeBackground2:Ta,colorPaletteDarkOrangeBackground3:Fa,colorPaletteDarkOrangeForeground1:Ia,colorPaletteDarkOrangeForeground2:Aa,colorPaletteDarkOrangeForeground3:za,colorPaletteDarkOrangeBorderActive:La,colorPaletteDarkOrangeBorder1:Na,colorPaletteDarkOrangeBorder2:Oa,colorPaletteYellowBackground1:Da,colorPaletteYellowBackground2:Ea,colorPaletteYellowBackground3:Ma,colorPaletteYellowForeground1:Ra,colorPaletteYellowForeground2:Ha,colorPaletteYellowForeground3:Va,colorPaletteYellowBorderActive:ja,colorPaletteYellowBorder1:_a,colorPaletteYellowBorder2:qa,colorPaletteBerryBackground1:Ga,colorPaletteBerryBackground2:Wa,colorPaletteBerryBackground3:Xa,colorPaletteBerryForeground1:Ka,colorPaletteBerryForeground2:Ua,colorPaletteBerryForeground3:Ya,colorPaletteBerryBorderActive:Qa,colorPaletteBerryBorder1:Za,colorPaletteBerryBorder2:Ja,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:ns,colorPaletteLightGreenBorderActive:as,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:xs,colorPaletteCranberryBackground2:ks,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Fs,colorPaletteGoldBackground2:Is,colorPaletteGoldForeground2:As,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ls,colorPaletteBrassForeground2:Ns,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Ms,colorPaletteForestBackground2:Rs,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:js,colorPaletteSeafoamForeground2:_s,colorPaletteSeafoamBorderActive:qs,colorPaletteDarkGreenBackground2:Gs,colorPaletteDarkGreenForeground2:Ws,colorPaletteDarkGreenBorderActive:Xs,colorPaletteLightTealBackground2:Ks,colorPaletteLightTealForeground2:Us,colorPaletteLightTealBorderActive:Ys,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:nl,colorPaletteRoyalBlueBackground2:al,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:xl,colorPaletteGrapeBackground2:kl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Fl,colorPaletteMagentaBackground2:Il,colorPaletteMagentaForeground2:Al,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Ll,colorPalettePlumForeground2:Nl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Ml,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:jl,colorPalettePlatinumForeground2:_l,colorPalettePlatinumBorderActive:ql,colorPaletteAnchorBackground2:Gl,colorPaletteAnchorForeground2:Wl,colorPaletteAnchorBorderActive:Xl,colorPaletteRedForegroundInverted:Kl,colorPaletteGreenForegroundInverted:Ul,colorPaletteYellowForegroundInverted:Yl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:nc,shadow16Brand:ac,shadow28Brand:sc,shadow64Brand:lc});const dc=_`
|
|
5
|
-
${
|
|
4
|
+
:host{flex-direction:column;width:100%;contain:content}`,Ct=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Nt=yt.compose({name:Ct.prefix+"-accordion",template:xt,styles:Ft});var Tt=Object.defineProperty,At=Object.getOwnPropertyDescriptor,It=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?At(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Tt(t,o,n),n};class zt extends bt{constructor(){super(...arguments),this.block=!1}}It([De],zt.prototype,"size",2),It([De({mode:"boolean"})],zt.prototype,"block",2),It([De({attribute:"expand-icon-position"})],zt.prototype,"expandIconPosition",2);const Lt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ht={start:"start",end:"end"},Ot="--colorNeutralForeground1",Dt="--colorNeutralForeground1Hover",Mt="--colorNeutralForeground1Pressed",Et="--colorNeutralForeground1Selected",Rt="--colorNeutralForeground2",jt="--colorNeutralForeground2Hover",Vt="--colorNeutralForeground2Pressed",Gt="--colorNeutralForeground2Selected",_t="--colorNeutralForeground2BrandHover",Xt="--colorNeutralForeground2BrandPressed",Wt="--colorNeutralForeground2BrandSelected",qt="--colorNeutralForeground3",Yt="--colorNeutralForeground3Hover",Ut="--colorNeutralForeground3Pressed",Kt="--colorNeutralForeground3Selected",Qt="--colorNeutralForeground3BrandHover",Zt="--colorNeutralForeground3BrandPressed",Jt="--colorNeutralForeground3BrandSelected",eo="--colorNeutralForeground4",to="--colorNeutralForegroundDisabled",oo="--colorBrandForegroundLink",ro="--colorBrandForegroundLinkHover",ao="--colorBrandForegroundLinkPressed",no="--colorBrandForegroundLinkSelected",io="--colorNeutralForeground2Link",so="--colorNeutralForeground2LinkHover",lo="--colorNeutralForeground2LinkPressed",co="--colorNeutralForeground2LinkSelected",uo="--colorCompoundBrandForeground1",ho="--colorCompoundBrandForeground1Hover",po="--colorCompoundBrandForeground1Pressed",go="--colorNeutralForegroundOnBrand",vo="--colorNeutralForegroundInverted",bo="--colorNeutralForegroundInvertedHover",mo="--colorNeutralForegroundInvertedPressed",fo="--colorNeutralForegroundInvertedSelected",ko="--colorNeutralForegroundInverted2",yo="--colorNeutralForegroundStaticInverted",xo="--colorNeutralForegroundInvertedLink",$o="--colorNeutralForegroundInvertedLinkHover",Bo="--colorNeutralForegroundInvertedLinkPressed",wo="--colorNeutralForegroundInvertedLinkSelected",Po="--colorNeutralForegroundInvertedDisabled",So="--colorBrandForeground1",Fo="--colorBrandForeground2",Co="--colorNeutralForeground1Static",No="--colorBrandForegroundInverted",To="--colorBrandForegroundInvertedHover",Ao="--colorBrandForegroundInvertedPressed",Io="--colorBrandForegroundOnLight",zo="--colorBrandForegroundOnLightHover",Lo="--colorBrandForegroundOnLightPressed",Ho="--colorBrandForegroundOnLightSelected",Oo="--colorNeutralBackground1",Do="--colorNeutralBackground1Hover",Mo="--colorNeutralBackground1Pressed",Eo="--colorNeutralBackground1Selected",Ro="--colorNeutralBackground2",jo="--colorNeutralBackground2Hover",Vo="--colorNeutralBackground2Pressed",Go="--colorNeutralBackground2Selected",_o="--colorNeutralBackground3",Xo="--colorNeutralBackground3Hover",Wo="--colorNeutralBackground3Pressed",qo="--colorNeutralBackground3Selected",Yo="--colorNeutralBackground4",Uo="--colorNeutralBackground4Hover",Ko="--colorNeutralBackground4Pressed",Qo="--colorNeutralBackground4Selected",Zo="--colorNeutralBackground5",Jo="--colorNeutralBackground5Hover",er="--colorNeutralBackground5Pressed",tr="--colorNeutralBackground5Selected",or="--colorNeutralBackground6",rr="--colorNeutralBackgroundStatic",ar="--colorNeutralBackgroundInverted",nr="--colorSubtleBackground",ir="--colorSubtleBackgroundHover",sr="--colorSubtleBackgroundPressed",lr="--colorSubtleBackgroundSelected",cr="--colorSubtleBackgroundLightAlphaHover",dr="--colorSubtleBackgroundLightAlphaPressed",ur="--colorSubtleBackgroundLightAlphaSelected",hr="--colorSubtleBackgroundInverted",pr="--colorSubtleBackgroundInvertedHover",gr="--colorSubtleBackgroundInvertedPressed",vr="--colorSubtleBackgroundInvertedSelected",br="--colorTransparentBackground",mr="--colorTransparentBackgroundHover",fr="--colorTransparentBackgroundPressed",kr="--colorTransparentBackgroundSelected",yr="--colorNeutralBackgroundDisabled",xr="--colorNeutralBackgroundInvertedDisabled",$r="--colorNeutralStencil1",Br="--colorNeutralStencil2",wr="--colorNeutralStencil1Alpha",Pr="--colorNeutralStencil2Alpha",Sr="--colorBackgroundOverlay",Fr="--colorScrollbarOverlay",Cr="--colorBrandBackground",Nr="--colorBrandBackgroundHover",Tr="--colorBrandBackgroundPressed",Ar="--colorBrandBackgroundSelected",Ir="--colorCompoundBrandBackground",zr="--colorCompoundBrandBackgroundHover",Lr="--colorCompoundBrandBackgroundPressed",Hr="--colorBrandBackgroundStatic",Or="--colorBrandBackground2",Dr="--colorBrandBackgroundInverted",Mr="--colorBrandBackgroundInvertedHover",Er="--colorBrandBackgroundInvertedPressed",Rr="--colorBrandBackgroundInvertedSelected",jr="--colorNeutralStrokeAccessible",Vr="--colorNeutralStrokeAccessibleHover",Gr="--colorNeutralStrokeAccessiblePressed",_r="--colorNeutralStrokeAccessibleSelected",Xr="--colorNeutralStroke1",Wr="--colorNeutralStroke1Hover",qr="--colorNeutralStroke1Pressed",Yr="--colorNeutralStroke1Selected",Ur="--colorNeutralStroke2",Kr="--colorNeutralStroke3",Qr="--colorNeutralStrokeOnBrand",Zr="--colorNeutralStrokeOnBrand2",Jr="--colorNeutralStrokeOnBrand2Hover",ea="--colorNeutralStrokeOnBrand2Pressed",ta="--colorNeutralStrokeOnBrand2Selected",oa="--colorBrandStroke1",ra="--colorBrandStroke2",aa="--colorCompoundBrandStroke",na="--colorCompoundBrandStrokeHover",ia="--colorCompoundBrandStrokePressed",sa="--colorNeutralStrokeDisabled",la="--colorNeutralStrokeInvertedDisabled",ca="--colorTransparentStroke",da="--colorTransparentStrokeInteractive",ua="--colorTransparentStrokeDisabled",ha="--colorStrokeFocus1",pa="--colorStrokeFocus2",ga="--colorNeutralShadowAmbient",va="--colorNeutralShadowKey",ba="--colorNeutralShadowAmbientLighter",ma="--colorNeutralShadowKeyLighter",fa="--colorNeutralShadowAmbientDarker",ka="--colorNeutralShadowKeyDarker",ya="--colorBrandShadowAmbient",xa="--colorBrandShadowKey",$a="--colorPaletteRedBackground1",Ba="--colorPaletteRedBackground2",wa="--colorPaletteRedBackground3",Pa="--colorPaletteRedBorderActive",Sa="--colorPaletteRedBorder1",Fa="--colorPaletteRedBorder2",Ca="--colorPaletteRedForeground1",Na="--colorPaletteRedForeground2",Ta="--colorPaletteRedForeground3",Aa="--colorPaletteRedForegroundInverted",Ia="--colorPaletteGreenBackground1",za="--colorPaletteGreenBackground2",La="--colorPaletteGreenBackground3",Ha="--colorPaletteGreenBorderActive",Oa="--colorPaletteGreenBorder1",Da="--colorPaletteGreenBorder2",Ma="--colorPaletteGreenForeground1",Ea="--colorPaletteGreenForeground2",Ra="--colorPaletteGreenForeground3",ja="--colorPaletteGreenForegroundInverted",Va="--colorPaletteDarkOrangeBackground1",Ga="--colorPaletteDarkOrangeBackground2",_a="--colorPaletteDarkOrangeBackground3",Xa="--colorPaletteDarkOrangeBorderActive",Wa="--colorPaletteDarkOrangeBorder1",qa="--colorPaletteDarkOrangeBorder2",Ya="--colorPaletteDarkOrangeForeground1",Ua="--colorPaletteDarkOrangeForeground2",Ka="--colorPaletteDarkOrangeForeground3",Qa="--colorPaletteYellowBackground1",Za="--colorPaletteYellowBackground2",Ja="--colorPaletteYellowBackground3",en="--colorPaletteYellowBorderActive",tn="--colorPaletteYellowBorder1",on="--colorPaletteYellowBorder2",rn="--colorPaletteYellowForeground1",an="--colorPaletteYellowForeground2",nn="--colorPaletteYellowForeground3",sn="--colorPaletteYellowForegroundInverted",ln="--colorPaletteBerryBackground1",cn="--colorPaletteBerryBackground2",dn="--colorPaletteBerryBackground3",un="--colorPaletteBerryBorderActive",hn="--colorPaletteBerryBorder1",pn="--colorPaletteBerryBorder2",gn="--colorPaletteBerryForeground1",vn="--colorPaletteBerryForeground2",bn="--colorPaletteBerryForeground3",mn="--colorPaletteMarigoldBackground1",fn="--colorPaletteMarigoldBackground2",kn="--colorPaletteMarigoldBackground3",yn="--colorPaletteMarigoldBorderActive",xn="--colorPaletteMarigoldBorder1",$n="--colorPaletteMarigoldBorder2",Bn="--colorPaletteMarigoldForeground1",wn="--colorPaletteMarigoldForeground2",Pn="--colorPaletteMarigoldForeground3",Sn="--colorPaletteLightGreenBackground1",Fn="--colorPaletteLightGreenBackground2",Cn="--colorPaletteLightGreenBackground3",Nn="--colorPaletteLightGreenBorderActive",Tn="--colorPaletteLightGreenBorder1",An="--colorPaletteLightGreenBorder2",In="--colorPaletteLightGreenForeground1",zn="--colorPaletteLightGreenForeground2",Ln="--colorPaletteLightGreenForeground3",Hn="--colorPaletteAnchorBackground2",On="--colorPaletteAnchorBorderActive",Dn="--colorPaletteAnchorForeground2",Mn="--colorPaletteBeigeBackground2",En="--colorPaletteBeigeBorderActive",Rn="--colorPaletteBeigeForeground2",jn="--colorPaletteBlueBackground2",Vn="--colorPaletteBlueBorderActive",Gn="--colorPaletteBlueForeground2",_n="--colorPaletteBrassBackground2",Xn="--colorPaletteBrassBorderActive",Wn="--colorPaletteBrassForeground2",qn="--colorPaletteBrownBackground2",Yn="--colorPaletteBrownBorderActive",Un="--colorPaletteBrownForeground2",Kn="--colorPaletteCornflowerBackground2",Qn="--colorPaletteCornflowerBorderActive",Zn="--colorPaletteCornflowerForeground2",Jn="--colorPaletteCranberryBackground2",ei="--colorPaletteCranberryBorderActive",ti="--colorPaletteCranberryForeground2",oi="--colorPaletteDarkGreenBackground2",ri="--colorPaletteDarkGreenBorderActive",ai="--colorPaletteDarkGreenForeground2",ni="--colorPaletteDarkRedBackground2",ii="--colorPaletteDarkRedBorderActive",si="--colorPaletteDarkRedForeground2",li="--colorPaletteForestBackground2",ci="--colorPaletteForestBorderActive",di="--colorPaletteForestForeground2",ui="--colorPaletteGoldBackground2",hi="--colorPaletteGoldBorderActive",pi="--colorPaletteGoldForeground2",gi="--colorPaletteGrapeBackground2",vi="--colorPaletteGrapeBorderActive",bi="--colorPaletteGrapeForeground2",mi="--colorPaletteLavenderBackground2",fi="--colorPaletteLavenderBorderActive",ki="--colorPaletteLavenderForeground2",yi="--colorPaletteLightTealBackground2",xi="--colorPaletteLightTealBorderActive",$i="--colorPaletteLightTealForeground2",Bi="--colorPaletteLilacBackground2",wi="--colorPaletteLilacBorderActive",Pi="--colorPaletteLilacForeground2",Si="--colorPaletteMagentaBackground2",Fi="--colorPaletteMagentaBorderActive",Ci="--colorPaletteMagentaForeground2",Ni="--colorPaletteMinkBackground2",Ti="--colorPaletteMinkBorderActive",Ai="--colorPaletteMinkForeground2",Ii="--colorPaletteNavyBackground2",zi="--colorPaletteNavyBorderActive",Li="--colorPaletteNavyForeground2",Hi="--colorPalettePeachBackground2",Oi="--colorPalettePeachBorderActive",Di="--colorPalettePeachForeground2",Mi="--colorPalettePinkBackground2",Ei="--colorPalettePinkBorderActive",Ri="--colorPalettePinkForeground2",ji="--colorPalettePlatinumBackground2",Vi="--colorPalettePlatinumBorderActive",Gi="--colorPalettePlatinumForeground2",_i="--colorPalettePlumBackground2",Xi="--colorPalettePlumBorderActive",Wi="--colorPalettePlumForeground2",qi="--colorPalettePumpkinBackground2",Yi="--colorPalettePumpkinBorderActive",Ui="--colorPalettePumpkinForeground2",Ki="--colorPalettePurpleBackground2",Qi="--colorPalettePurpleBorderActive",Zi="--colorPalettePurpleForeground2",Ji="--colorPaletteRoyalBlueBackground2",es="--colorPaletteRoyalBlueBorderActive",ts="--colorPaletteRoyalBlueForeground2",os="--colorPaletteSeafoamBackground2",rs="--colorPaletteSeafoamBorderActive",as="--colorPaletteSeafoamForeground2",ns="--colorPaletteSteelBackground2",is="--colorPaletteSteelBorderActive",ss="--colorPaletteSteelForeground2",ls="--colorPaletteTealBackground2",cs="--colorPaletteTealBorderActive",ds="--colorPaletteTealForeground2",us="--borderRadiusNone",hs="--borderRadiusSmall",ps="--borderRadiusMedium",gs="--borderRadiusLarge",vs="--borderRadiusXLarge",bs="--borderRadiusCircular",ms="--fontFamilyBase",fs="--fontFamilyMonospace",ks="--fontFamilyNumeric",ys="--fontSizeBase100",xs="--fontSizeBase200",$s="--fontSizeBase300",Bs="--fontSizeBase400",ws="--fontSizeBase500",Ps="--fontSizeBase600",Ss="--fontSizeHero700",Fs="--fontSizeHero800",Cs="--fontSizeHero900",Ns="--fontSizeHero1000",Ts="--fontWeightRegular",As="--fontWeightMedium",Is="--fontWeightSemibold",zs="--fontWeightBold",Ls="--lineHeightBase100",Hs="--lineHeightBase200",Os="--lineHeightBase300",Ds="--lineHeightBase400",Ms="--lineHeightBase500",Es="--lineHeightBase600",Rs="--lineHeightHero700",js="--lineHeightHero800",Vs="--lineHeightHero900",Gs="--lineHeightHero1000",_s="--shadow2",Xs="--shadow4",Ws="--shadow8",qs="--shadow16",Ys="--shadow28",Us="--shadow64",Ks="--shadow2Brand",Qs="--shadow4Brand",Zs="--shadow8Brand",Js="--shadow16Brand",el="--shadow28Brand",tl="--shadow64Brand",ol="--strokeWidthThin",rl="--strokeWidthThick",al="--strokeWidthThicker",nl="--strokeWidthThickest",il="--spacingHorizontalNone",sl="--spacingHorizontalXXS",ll="--spacingHorizontalXS",cl="--spacingHorizontalSNudge",dl="--spacingHorizontalS",ul="--spacingHorizontalMNudge",hl="--spacingHorizontalM",pl="--spacingHorizontalL",gl="--spacingHorizontalXL",vl="--spacingHorizontalXXL",bl="--spacingHorizontalXXXL",ml="--spacingVerticalNone",fl="--spacingVerticalXXS",kl="--spacingVerticalXS",yl="--spacingVerticalSNudge",xl="--spacingVerticalS",$l="--spacingVerticalMNudge",Bl="--spacingVerticalM",wl="--spacingVerticalL",Pl="--spacingVerticalXL",Sl="--spacingVerticalXXL",Fl="--spacingVerticalXXXL",Cl="--durationUltraFast",Nl="--durationFaster",Tl="--durationFast",Al="--durationNormal",Il="--durationSlow",zl="--durationSlower",Ll="--durationUltraSlow",Hl="--curveAccelerateMax",Ol="--curveAccelerateMid",Dl="--curveAccelerateMin",Ml="--curveDecelerateMax",El="--curveDecelerateMid",Rl="--curveDecelerateMin",jl="--curveEasyEaseMax",Vl="--curveEasyEase",Gl="--curveLinear";var _l=Object.freeze({__proto__:null,colorNeutralForeground1:Ot,colorNeutralForeground1Hover:"--colorNeutralForeground1Hover",colorNeutralForeground1Pressed:"--colorNeutralForeground1Pressed",colorNeutralForeground1Selected:"--colorNeutralForeground1Selected",colorNeutralForeground2:"--colorNeutralForeground2",colorNeutralForeground2Hover:"--colorNeutralForeground2Hover",colorNeutralForeground2Pressed:"--colorNeutralForeground2Pressed",colorNeutralForeground2Selected:"--colorNeutralForeground2Selected",colorNeutralForeground2BrandHover:"--colorNeutralForeground2BrandHover",colorNeutralForeground2BrandPressed:"--colorNeutralForeground2BrandPressed",colorNeutralForeground2BrandSelected:"--colorNeutralForeground2BrandSelected",colorNeutralForeground3:qt,colorNeutralForeground3Hover:"--colorNeutralForeground3Hover",colorNeutralForeground3Pressed:"--colorNeutralForeground3Pressed",colorNeutralForeground3Selected:"--colorNeutralForeground3Selected",colorNeutralForeground3BrandHover:"--colorNeutralForeground3BrandHover",colorNeutralForeground3BrandPressed:"--colorNeutralForeground3BrandPressed",colorNeutralForeground3BrandSelected:"--colorNeutralForeground3BrandSelected",colorNeutralForeground4:"--colorNeutralForeground4",colorNeutralForegroundDisabled:to,colorBrandForegroundLink:"--colorBrandForegroundLink",colorBrandForegroundLinkHover:"--colorBrandForegroundLinkHover",colorBrandForegroundLinkPressed:"--colorBrandForegroundLinkPressed",colorBrandForegroundLinkSelected:"--colorBrandForegroundLinkSelected",colorNeutralForeground2Link:"--colorNeutralForeground2Link",colorNeutralForeground2LinkHover:"--colorNeutralForeground2LinkHover",colorNeutralForeground2LinkPressed:"--colorNeutralForeground2LinkPressed",colorNeutralForeground2LinkSelected:"--colorNeutralForeground2LinkSelected",colorCompoundBrandForeground1:"--colorCompoundBrandForeground1",colorCompoundBrandForeground1Hover:"--colorCompoundBrandForeground1Hover",colorCompoundBrandForeground1Pressed:"--colorCompoundBrandForeground1Pressed",colorNeutralForegroundOnBrand:"--colorNeutralForegroundOnBrand",colorNeutralForegroundInverted:"--colorNeutralForegroundInverted",colorNeutralForegroundInvertedHover:"--colorNeutralForegroundInvertedHover",colorNeutralForegroundInvertedPressed:"--colorNeutralForegroundInvertedPressed",colorNeutralForegroundInvertedSelected:"--colorNeutralForegroundInvertedSelected",colorNeutralForegroundInverted2:"--colorNeutralForegroundInverted2",colorNeutralForegroundStaticInverted:"--colorNeutralForegroundStaticInverted",colorNeutralForegroundInvertedLink:"--colorNeutralForegroundInvertedLink",colorNeutralForegroundInvertedLinkHover:"--colorNeutralForegroundInvertedLinkHover",colorNeutralForegroundInvertedLinkPressed:"--colorNeutralForegroundInvertedLinkPressed",colorNeutralForegroundInvertedLinkSelected:"--colorNeutralForegroundInvertedLinkSelected",colorNeutralForegroundInvertedDisabled:"--colorNeutralForegroundInvertedDisabled",colorBrandForeground1:"--colorBrandForeground1",colorBrandForeground2:"--colorBrandForeground2",colorNeutralForeground1Static:"--colorNeutralForeground1Static",colorBrandForegroundInverted:"--colorBrandForegroundInverted",colorBrandForegroundInvertedHover:"--colorBrandForegroundInvertedHover",colorBrandForegroundInvertedPressed:"--colorBrandForegroundInvertedPressed",colorBrandForegroundOnLight:"--colorBrandForegroundOnLight",colorBrandForegroundOnLightHover:"--colorBrandForegroundOnLightHover",colorBrandForegroundOnLightPressed:"--colorBrandForegroundOnLightPressed",colorBrandForegroundOnLightSelected:"--colorBrandForegroundOnLightSelected",colorNeutralBackground1:Oo,colorNeutralBackground1Hover:"--colorNeutralBackground1Hover",colorNeutralBackground1Pressed:"--colorNeutralBackground1Pressed",colorNeutralBackground1Selected:"--colorNeutralBackground1Selected",colorNeutralBackground2:"--colorNeutralBackground2",colorNeutralBackground2Hover:"--colorNeutralBackground2Hover",colorNeutralBackground2Pressed:"--colorNeutralBackground2Pressed",colorNeutralBackground2Selected:"--colorNeutralBackground2Selected",colorNeutralBackground3:"--colorNeutralBackground3",colorNeutralBackground3Hover:"--colorNeutralBackground3Hover",colorNeutralBackground3Pressed:"--colorNeutralBackground3Pressed",colorNeutralBackground3Selected:"--colorNeutralBackground3Selected",colorNeutralBackground4:"--colorNeutralBackground4",colorNeutralBackground4Hover:"--colorNeutralBackground4Hover",colorNeutralBackground4Pressed:"--colorNeutralBackground4Pressed",colorNeutralBackground4Selected:"--colorNeutralBackground4Selected",colorNeutralBackground5:"--colorNeutralBackground5",colorNeutralBackground5Hover:"--colorNeutralBackground5Hover",colorNeutralBackground5Pressed:"--colorNeutralBackground5Pressed",colorNeutralBackground5Selected:"--colorNeutralBackground5Selected",colorNeutralBackground6:"--colorNeutralBackground6",colorNeutralBackgroundStatic:"--colorNeutralBackgroundStatic",colorNeutralBackgroundInverted:"--colorNeutralBackgroundInverted",colorSubtleBackground:"--colorSubtleBackground",colorSubtleBackgroundHover:"--colorSubtleBackgroundHover",colorSubtleBackgroundPressed:"--colorSubtleBackgroundPressed",colorSubtleBackgroundSelected:"--colorSubtleBackgroundSelected",colorSubtleBackgroundLightAlphaHover:"--colorSubtleBackgroundLightAlphaHover",colorSubtleBackgroundLightAlphaPressed:"--colorSubtleBackgroundLightAlphaPressed",colorSubtleBackgroundLightAlphaSelected:"--colorSubtleBackgroundLightAlphaSelected",colorSubtleBackgroundInverted:"--colorSubtleBackgroundInverted",colorSubtleBackgroundInvertedHover:"--colorSubtleBackgroundInvertedHover",colorSubtleBackgroundInvertedPressed:"--colorSubtleBackgroundInvertedPressed",colorSubtleBackgroundInvertedSelected:"--colorSubtleBackgroundInvertedSelected",colorTransparentBackground:"--colorTransparentBackground",colorTransparentBackgroundHover:"--colorTransparentBackgroundHover",colorTransparentBackgroundPressed:"--colorTransparentBackgroundPressed",colorTransparentBackgroundSelected:"--colorTransparentBackgroundSelected",colorNeutralBackgroundDisabled:"--colorNeutralBackgroundDisabled",colorNeutralBackgroundInvertedDisabled:"--colorNeutralBackgroundInvertedDisabled",colorNeutralStencil1:"--colorNeutralStencil1",colorNeutralStencil2:"--colorNeutralStencil2",colorNeutralStencil1Alpha:"--colorNeutralStencil1Alpha",colorNeutralStencil2Alpha:"--colorNeutralStencil2Alpha",colorBackgroundOverlay:"--colorBackgroundOverlay",colorScrollbarOverlay:"--colorScrollbarOverlay",colorBrandBackground:"--colorBrandBackground",colorBrandBackgroundHover:"--colorBrandBackgroundHover",colorBrandBackgroundPressed:"--colorBrandBackgroundPressed",colorBrandBackgroundSelected:"--colorBrandBackgroundSelected",colorCompoundBrandBackground:"--colorCompoundBrandBackground",colorCompoundBrandBackgroundHover:"--colorCompoundBrandBackgroundHover",colorCompoundBrandBackgroundPressed:"--colorCompoundBrandBackgroundPressed",colorBrandBackgroundStatic:"--colorBrandBackgroundStatic",colorBrandBackground2:"--colorBrandBackground2",colorBrandBackgroundInverted:"--colorBrandBackgroundInverted",colorBrandBackgroundInvertedHover:"--colorBrandBackgroundInvertedHover",colorBrandBackgroundInvertedPressed:"--colorBrandBackgroundInvertedPressed",colorBrandBackgroundInvertedSelected:"--colorBrandBackgroundInvertedSelected",colorNeutralStrokeAccessible:"--colorNeutralStrokeAccessible",colorNeutralStrokeAccessibleHover:"--colorNeutralStrokeAccessibleHover",colorNeutralStrokeAccessiblePressed:"--colorNeutralStrokeAccessiblePressed",colorNeutralStrokeAccessibleSelected:"--colorNeutralStrokeAccessibleSelected",colorNeutralStroke1:"--colorNeutralStroke1",colorNeutralStroke1Hover:"--colorNeutralStroke1Hover",colorNeutralStroke1Pressed:"--colorNeutralStroke1Pressed",colorNeutralStroke1Selected:"--colorNeutralStroke1Selected",colorNeutralStroke2:"--colorNeutralStroke2",colorNeutralStroke3:"--colorNeutralStroke3",colorNeutralStrokeOnBrand:"--colorNeutralStrokeOnBrand",colorNeutralStrokeOnBrand2:"--colorNeutralStrokeOnBrand2",colorNeutralStrokeOnBrand2Hover:"--colorNeutralStrokeOnBrand2Hover",colorNeutralStrokeOnBrand2Pressed:"--colorNeutralStrokeOnBrand2Pressed",colorNeutralStrokeOnBrand2Selected:"--colorNeutralStrokeOnBrand2Selected",colorBrandStroke1:"--colorBrandStroke1",colorBrandStroke2:"--colorBrandStroke2",colorCompoundBrandStroke:"--colorCompoundBrandStroke",colorCompoundBrandStrokeHover:"--colorCompoundBrandStrokeHover",colorCompoundBrandStrokePressed:"--colorCompoundBrandStrokePressed",colorNeutralStrokeDisabled:"--colorNeutralStrokeDisabled",colorNeutralStrokeInvertedDisabled:"--colorNeutralStrokeInvertedDisabled",colorTransparentStroke:"--colorTransparentStroke",colorTransparentStrokeInteractive:"--colorTransparentStrokeInteractive",colorTransparentStrokeDisabled:"--colorTransparentStrokeDisabled",colorStrokeFocus1:"--colorStrokeFocus1",colorStrokeFocus2:"--colorStrokeFocus2",colorNeutralShadowAmbient:"--colorNeutralShadowAmbient",colorNeutralShadowKey:"--colorNeutralShadowKey",colorNeutralShadowAmbientLighter:"--colorNeutralShadowAmbientLighter",colorNeutralShadowKeyLighter:"--colorNeutralShadowKeyLighter",colorNeutralShadowAmbientDarker:"--colorNeutralShadowAmbientDarker",colorNeutralShadowKeyDarker:"--colorNeutralShadowKeyDarker",colorBrandShadowAmbient:"--colorBrandShadowAmbient",colorBrandShadowKey:"--colorBrandShadowKey",colorPaletteRedBackground1:"--colorPaletteRedBackground1",colorPaletteRedBackground2:"--colorPaletteRedBackground2",colorPaletteRedBackground3:"--colorPaletteRedBackground3",colorPaletteRedBorderActive:"--colorPaletteRedBorderActive",colorPaletteRedBorder1:"--colorPaletteRedBorder1",colorPaletteRedBorder2:"--colorPaletteRedBorder2",colorPaletteRedForeground1:"--colorPaletteRedForeground1",colorPaletteRedForeground2:"--colorPaletteRedForeground2",colorPaletteRedForeground3:"--colorPaletteRedForeground3",colorPaletteRedForegroundInverted:"--colorPaletteRedForegroundInverted",colorPaletteGreenBackground1:"--colorPaletteGreenBackground1",colorPaletteGreenBackground2:"--colorPaletteGreenBackground2",colorPaletteGreenBackground3:"--colorPaletteGreenBackground3",colorPaletteGreenBorderActive:"--colorPaletteGreenBorderActive",colorPaletteGreenBorder1:"--colorPaletteGreenBorder1",colorPaletteGreenBorder2:"--colorPaletteGreenBorder2",colorPaletteGreenForeground1:"--colorPaletteGreenForeground1",colorPaletteGreenForeground2:"--colorPaletteGreenForeground2",colorPaletteGreenForeground3:"--colorPaletteGreenForeground3",colorPaletteGreenForegroundInverted:"--colorPaletteGreenForegroundInverted",colorPaletteDarkOrangeBackground1:"--colorPaletteDarkOrangeBackground1",colorPaletteDarkOrangeBackground2:"--colorPaletteDarkOrangeBackground2",colorPaletteDarkOrangeBackground3:"--colorPaletteDarkOrangeBackground3",colorPaletteDarkOrangeBorderActive:"--colorPaletteDarkOrangeBorderActive",colorPaletteDarkOrangeBorder1:"--colorPaletteDarkOrangeBorder1",colorPaletteDarkOrangeBorder2:"--colorPaletteDarkOrangeBorder2",colorPaletteDarkOrangeForeground1:"--colorPaletteDarkOrangeForeground1",colorPaletteDarkOrangeForeground2:"--colorPaletteDarkOrangeForeground2",colorPaletteDarkOrangeForeground3:"--colorPaletteDarkOrangeForeground3",colorPaletteYellowBackground1:"--colorPaletteYellowBackground1",colorPaletteYellowBackground2:"--colorPaletteYellowBackground2",colorPaletteYellowBackground3:"--colorPaletteYellowBackground3",colorPaletteYellowBorderActive:"--colorPaletteYellowBorderActive",colorPaletteYellowBorder1:"--colorPaletteYellowBorder1",colorPaletteYellowBorder2:"--colorPaletteYellowBorder2",colorPaletteYellowForeground1:"--colorPaletteYellowForeground1",colorPaletteYellowForeground2:"--colorPaletteYellowForeground2",colorPaletteYellowForeground3:"--colorPaletteYellowForeground3",colorPaletteYellowForegroundInverted:"--colorPaletteYellowForegroundInverted",colorPaletteBerryBackground1:"--colorPaletteBerryBackground1",colorPaletteBerryBackground2:"--colorPaletteBerryBackground2",colorPaletteBerryBackground3:"--colorPaletteBerryBackground3",colorPaletteBerryBorderActive:"--colorPaletteBerryBorderActive",colorPaletteBerryBorder1:"--colorPaletteBerryBorder1",colorPaletteBerryBorder2:"--colorPaletteBerryBorder2",colorPaletteBerryForeground1:"--colorPaletteBerryForeground1",colorPaletteBerryForeground2:"--colorPaletteBerryForeground2",colorPaletteBerryForeground3:"--colorPaletteBerryForeground3",colorPaletteMarigoldBackground1:"--colorPaletteMarigoldBackground1",colorPaletteMarigoldBackground2:"--colorPaletteMarigoldBackground2",colorPaletteMarigoldBackground3:"--colorPaletteMarigoldBackground3",colorPaletteMarigoldBorderActive:"--colorPaletteMarigoldBorderActive",colorPaletteMarigoldBorder1:"--colorPaletteMarigoldBorder1",colorPaletteMarigoldBorder2:"--colorPaletteMarigoldBorder2",colorPaletteMarigoldForeground1:"--colorPaletteMarigoldForeground1",colorPaletteMarigoldForeground2:"--colorPaletteMarigoldForeground2",colorPaletteMarigoldForeground3:"--colorPaletteMarigoldForeground3",colorPaletteLightGreenBackground1:"--colorPaletteLightGreenBackground1",colorPaletteLightGreenBackground2:"--colorPaletteLightGreenBackground2",colorPaletteLightGreenBackground3:"--colorPaletteLightGreenBackground3",colorPaletteLightGreenBorderActive:"--colorPaletteLightGreenBorderActive",colorPaletteLightGreenBorder1:"--colorPaletteLightGreenBorder1",colorPaletteLightGreenBorder2:"--colorPaletteLightGreenBorder2",colorPaletteLightGreenForeground1:"--colorPaletteLightGreenForeground1",colorPaletteLightGreenForeground2:"--colorPaletteLightGreenForeground2",colorPaletteLightGreenForeground3:"--colorPaletteLightGreenForeground3",colorPaletteAnchorBackground2:"--colorPaletteAnchorBackground2",colorPaletteAnchorBorderActive:"--colorPaletteAnchorBorderActive",colorPaletteAnchorForeground2:"--colorPaletteAnchorForeground2",colorPaletteBeigeBackground2:"--colorPaletteBeigeBackground2",colorPaletteBeigeBorderActive:"--colorPaletteBeigeBorderActive",colorPaletteBeigeForeground2:"--colorPaletteBeigeForeground2",colorPaletteBlueBackground2:"--colorPaletteBlueBackground2",colorPaletteBlueBorderActive:"--colorPaletteBlueBorderActive",colorPaletteBlueForeground2:"--colorPaletteBlueForeground2",colorPaletteBrassBackground2:"--colorPaletteBrassBackground2",colorPaletteBrassBorderActive:"--colorPaletteBrassBorderActive",colorPaletteBrassForeground2:"--colorPaletteBrassForeground2",colorPaletteBrownBackground2:"--colorPaletteBrownBackground2",colorPaletteBrownBorderActive:"--colorPaletteBrownBorderActive",colorPaletteBrownForeground2:"--colorPaletteBrownForeground2",colorPaletteCornflowerBackground2:"--colorPaletteCornflowerBackground2",colorPaletteCornflowerBorderActive:"--colorPaletteCornflowerBorderActive",colorPaletteCornflowerForeground2:"--colorPaletteCornflowerForeground2",colorPaletteCranberryBackground2:"--colorPaletteCranberryBackground2",colorPaletteCranberryBorderActive:"--colorPaletteCranberryBorderActive",colorPaletteCranberryForeground2:"--colorPaletteCranberryForeground2",colorPaletteDarkGreenBackground2:"--colorPaletteDarkGreenBackground2",colorPaletteDarkGreenBorderActive:"--colorPaletteDarkGreenBorderActive",colorPaletteDarkGreenForeground2:"--colorPaletteDarkGreenForeground2",colorPaletteDarkRedBackground2:"--colorPaletteDarkRedBackground2",colorPaletteDarkRedBorderActive:"--colorPaletteDarkRedBorderActive",colorPaletteDarkRedForeground2:"--colorPaletteDarkRedForeground2",colorPaletteForestBackground2:"--colorPaletteForestBackground2",colorPaletteForestBorderActive:"--colorPaletteForestBorderActive",colorPaletteForestForeground2:"--colorPaletteForestForeground2",colorPaletteGoldBackground2:"--colorPaletteGoldBackground2",colorPaletteGoldBorderActive:"--colorPaletteGoldBorderActive",colorPaletteGoldForeground2:"--colorPaletteGoldForeground2",colorPaletteGrapeBackground2:"--colorPaletteGrapeBackground2",colorPaletteGrapeBorderActive:"--colorPaletteGrapeBorderActive",colorPaletteGrapeForeground2:"--colorPaletteGrapeForeground2",colorPaletteLavenderBackground2:"--colorPaletteLavenderBackground2",colorPaletteLavenderBorderActive:"--colorPaletteLavenderBorderActive",colorPaletteLavenderForeground2:"--colorPaletteLavenderForeground2",colorPaletteLightTealBackground2:"--colorPaletteLightTealBackground2",colorPaletteLightTealBorderActive:"--colorPaletteLightTealBorderActive",colorPaletteLightTealForeground2:"--colorPaletteLightTealForeground2",colorPaletteLilacBackground2:"--colorPaletteLilacBackground2",colorPaletteLilacBorderActive:"--colorPaletteLilacBorderActive",colorPaletteLilacForeground2:"--colorPaletteLilacForeground2",colorPaletteMagentaBackground2:"--colorPaletteMagentaBackground2",colorPaletteMagentaBorderActive:"--colorPaletteMagentaBorderActive",colorPaletteMagentaForeground2:"--colorPaletteMagentaForeground2",colorPaletteMinkBackground2:"--colorPaletteMinkBackground2",colorPaletteMinkBorderActive:"--colorPaletteMinkBorderActive",colorPaletteMinkForeground2:"--colorPaletteMinkForeground2",colorPaletteNavyBackground2:"--colorPaletteNavyBackground2",colorPaletteNavyBorderActive:"--colorPaletteNavyBorderActive",colorPaletteNavyForeground2:"--colorPaletteNavyForeground2",colorPalettePeachBackground2:"--colorPalettePeachBackground2",colorPalettePeachBorderActive:"--colorPalettePeachBorderActive",colorPalettePeachForeground2:"--colorPalettePeachForeground2",colorPalettePinkBackground2:"--colorPalettePinkBackground2",colorPalettePinkBorderActive:"--colorPalettePinkBorderActive",colorPalettePinkForeground2:"--colorPalettePinkForeground2",colorPalettePlatinumBackground2:"--colorPalettePlatinumBackground2",colorPalettePlatinumBorderActive:"--colorPalettePlatinumBorderActive",colorPalettePlatinumForeground2:"--colorPalettePlatinumForeground2",colorPalettePlumBackground2:"--colorPalettePlumBackground2",colorPalettePlumBorderActive:"--colorPalettePlumBorderActive",colorPalettePlumForeground2:"--colorPalettePlumForeground2",colorPalettePumpkinBackground2:"--colorPalettePumpkinBackground2",colorPalettePumpkinBorderActive:"--colorPalettePumpkinBorderActive",colorPalettePumpkinForeground2:"--colorPalettePumpkinForeground2",colorPalettePurpleBackground2:"--colorPalettePurpleBackground2",colorPalettePurpleBorderActive:"--colorPalettePurpleBorderActive",colorPalettePurpleForeground2:"--colorPalettePurpleForeground2",colorPaletteRoyalBlueBackground2:"--colorPaletteRoyalBlueBackground2",colorPaletteRoyalBlueBorderActive:"--colorPaletteRoyalBlueBorderActive",colorPaletteRoyalBlueForeground2:"--colorPaletteRoyalBlueForeground2",colorPaletteSeafoamBackground2:"--colorPaletteSeafoamBackground2",colorPaletteSeafoamBorderActive:"--colorPaletteSeafoamBorderActive",colorPaletteSeafoamForeground2:"--colorPaletteSeafoamForeground2",colorPaletteSteelBackground2:"--colorPaletteSteelBackground2",colorPaletteSteelBorderActive:"--colorPaletteSteelBorderActive",colorPaletteSteelForeground2:"--colorPaletteSteelForeground2",colorPaletteTealBackground2:"--colorPaletteTealBackground2",colorPaletteTealBorderActive:"--colorPaletteTealBorderActive",colorPaletteTealForeground2:"--colorPaletteTealForeground2",borderRadiusNone:"--borderRadiusNone",borderRadiusSmall:hs,borderRadiusMedium:ps,borderRadiusLarge:"--borderRadiusLarge",borderRadiusXLarge:"--borderRadiusXLarge",borderRadiusCircular:bs,fontFamilyBase:ms,fontFamilyMonospace:"--fontFamilyMonospace",fontFamilyNumeric:"--fontFamilyNumeric",fontSizeBase100:"--fontSizeBase100",fontSizeBase200:xs,fontSizeBase300:$s,fontSizeBase400:Bs,fontSizeBase500:"--fontSizeBase500",fontSizeBase600:"--fontSizeBase600",fontSizeHero700:"--fontSizeHero700",fontSizeHero800:"--fontSizeHero800",fontSizeHero900:"--fontSizeHero900",fontSizeHero1000:"--fontSizeHero1000",fontWeightRegular:Ts,fontWeightMedium:"--fontWeightMedium",fontWeightSemibold:Is,fontWeightBold:"--fontWeightBold",lineHeightBase100:"--lineHeightBase100",lineHeightBase200:Hs,lineHeightBase300:Os,lineHeightBase400:"--lineHeightBase400",lineHeightBase500:"--lineHeightBase500",lineHeightBase600:"--lineHeightBase600",lineHeightHero700:"--lineHeightHero700",lineHeightHero800:"--lineHeightHero800",lineHeightHero900:"--lineHeightHero900",lineHeightHero1000:"--lineHeightHero1000",shadow2:"--shadow2",shadow4:Xs,shadow8:"--shadow8",shadow16:"--shadow16",shadow28:"--shadow28",shadow64:"--shadow64",shadow2Brand:"--shadow2Brand",shadow4Brand:"--shadow4Brand",shadow8Brand:"--shadow8Brand",shadow16Brand:"--shadow16Brand",shadow28Brand:"--shadow28Brand",shadow64Brand:"--shadow64Brand",strokeWidthThin:ol,strokeWidthThick:"--strokeWidthThick",strokeWidthThicker:"--strokeWidthThicker",strokeWidthThickest:"--strokeWidthThickest",spacingHorizontalNone:"--spacingHorizontalNone",spacingHorizontalXXS:"--spacingHorizontalXXS",spacingHorizontalXS:ll,spacingHorizontalSNudge:"--spacingHorizontalSNudge",spacingHorizontalS:dl,spacingHorizontalMNudge:"--spacingHorizontalMNudge",spacingHorizontalM:"--spacingHorizontalM",spacingHorizontalL:"--spacingHorizontalL",spacingHorizontalXL:"--spacingHorizontalXL",spacingHorizontalXXL:"--spacingHorizontalXXL",spacingHorizontalXXXL:"--spacingHorizontalXXXL",spacingVerticalNone:"--spacingVerticalNone",spacingVerticalXXS:"--spacingVerticalXXS",spacingVerticalXS:"--spacingVerticalXS",spacingVerticalSNudge:"--spacingVerticalSNudge",spacingVerticalS:xl,spacingVerticalMNudge:"--spacingVerticalMNudge",spacingVerticalM:"--spacingVerticalM",spacingVerticalL:"--spacingVerticalL",spacingVerticalXL:"--spacingVerticalXL",spacingVerticalXXL:"--spacingVerticalXXL",spacingVerticalXXXL:"--spacingVerticalXXXL",durationUltraFast:"--durationUltraFast",durationFaster:"--durationFaster",durationFast:"--durationFast",durationNormal:"--durationNormal",durationSlow:"--durationSlow",durationSlower:"--durationSlower",durationUltraSlow:"--durationUltraSlow",curveAccelerateMax:"--curveAccelerateMax",curveAccelerateMid:"--curveAccelerateMid",curveAccelerateMin:"--curveAccelerateMin",curveDecelerateMax:"--curveDecelerateMax",curveDecelerateMid:"--curveDecelerateMid",curveDecelerateMin:"--curveDecelerateMin",curveEasyEaseMax:"--curveEasyEaseMax",curveEasyEase:"--curveEasyEase",curveLinear:"--curveLinear"});const Xl=G`
|
|
5
|
+
${Pt("block")}
|
|
6
6
|
|
|
7
|
-
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline
|
|
8
|
-
${
|
|
7
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"});border-radius:var(${ps});font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os});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:var(${Ot});background:var(${"--colorTransparentBackground"});line-height:var(${Os});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:var(${hs})}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:var(${dl});grid-column:1 / span 1;grid-row:1}.region{margin:0 var(${"--spacingHorizontalM"})}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:var(${dl});grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${hs});outline:none;border:2px solid var(${"--colorStrokeFocus1"});box-shadow:inset 0 0 0 1px var(${"--colorStrokeFocus2"})}:host([disabled]) .button{color:var(${to})}: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:var(${$s});line-height:var(${Os})}:host([size='small']) .heading{font-size:var(${xs});line-height:var(${Hs})}:host([size='large']) .heading{font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='extra-large']) .heading{font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"})}: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 xe`<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>${gt(e)} ${pt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${ut(e.expandedIcon)}</slot><slot name="collapsed-icon">${ut(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="currentColor"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="currentColor"\n />\n</svg>')}),ql=zt.compose({name:Ct.prefix+"-accordion-item",template:Wl,styles:Xl});class Yl extends ot{}e([De],Yl.prototype,"download",void 0),e([De],Yl.prototype,"href",void 0),e([De],Yl.prototype,"hreflang",void 0),e([De],Yl.prototype,"ping",void 0),e([De],Yl.prototype,"referrerpolicy",void 0),e([De],Yl.prototype,"rel",void 0),e([De],Yl.prototype,"target",void 0),e([De],Yl.prototype,"type",void 0),e([P],Yl.prototype,"defaultSlottedContent",void 0);class Ul{}e([De({attribute:"aria-expanded"})],Ul.prototype,"ariaExpanded",void 0),vt(Ul,dt),vt(Yl,ht,Ul);var Kl=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,Zl=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ql(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Kl(t,o,n),n};class Jl extends Yl{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Zl([De],Jl.prototype,"appearance",2),Zl([De],Jl.prototype,"shape",2),Zl([De],Jl.prototype,"size",2),Zl([De({attribute:"icon-only",mode:"boolean"})],Jl.prototype,"iconOnly",2),Zl([De({mode:"boolean"})],Jl.prototype,"disabled",2),Zl([De({attribute:"disabled-focusable",mode:"boolean"})],Jl.prototype,"disabledFocusable",2);const ec={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},tc={circular:"circular",rounded:"rounded",square:"square"},oc={small:"small",medium:"medium",large:"large"},rc=ec,ac=tc,nc=oc,ic=function(e={}){return xe`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</a>`}(),sc=G`
|
|
8
|
+
${Pt("inline-flex")}
|
|
9
9
|
|
|
10
|
-
:host{--icon-spacing
|
|
11
|
-
.control{background-color
|
|
12
|
-
:host([appearance='transparent']:hover) .control{border-color:Highlight}`)),
|
|
13
|
-
${
|
|
10
|
+
:host{--icon-spacing:var(${"--spacingHorizontalSNudge"});contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:var(${Oo});color:var(${Ot});border:var(${ol}) solid var(${"--colorNeutralStroke1"});padding:0 var(${"--spacingHorizontalM"});min-width:96px;border-radius:var(${ps});font-size:var(${$s});font-family:var(${ms});font-weight:var(${Is});line-height:var(${Os});transition-duration:var(${"--durationFaster"});transition-property:background,border,color;transition-timing-function:var(${"--curveEasyEase"});cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:var(${"--colorNeutralBackground1Hover"});color:var(${"--colorNeutralForeground1Hover"});border-color:var(${"--colorNeutralStroke1Hover"})}:host(:hover:active) .control{background-color:var(${"--colorNeutralBackground1Pressed"});border-color:var(${"--colorNeutralStroke1Pressed"});color:var(${"--colorNeutralForeground1Pressed"});outline-style:none}:host .control:focus-visible{border-color:var(${"--colorTransparentStroke"});outline:var(${"--strokeWidthThick"}) solid var(${"--colorTransparentStroke"});box-shadow:var(${Xs}),0 0 0 2px var(${"--colorStrokeFocus2"})}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:var(${ll})}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 var(${dl});border-radius:var(${hs});font-size:var(${xs});line-height:var(${Hs});font-weight:var(${Ts})}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:var(${"--borderRadiusLarge"});padding:0 var(${"--spacingHorizontalL"});font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:var(${bs})}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:var(${"--borderRadiusNone"})}:host([appearance='primary']) .control{background-color:var(${"--colorBrandBackground"});color:var(${"--colorNeutralForegroundOnBrand"});border-color:transparent}:host([appearance='primary']:hover) .control{background-color:var(${"--colorBrandBackgroundHover"})}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:var(${"--colorNeutralForegroundOnBrand"})}:host([appearance='primary']:hover:active) .control{background-color:var(${"--colorBrandBackgroundPressed"})}:host([appearance='primary']) .control:focus-visible{border-color:var(${"--colorNeutralForegroundOnBrand"});box-shadow:var(${"--shadow2"}),0 0 0 2px var(${"--colorStrokeFocus2"})}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:var(${"--colorTransparentBackground"})}:host([appearance='outline']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"})}:host([appearance='outline']:hover:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"})}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:var(${"--colorTransparentBackground"})}:host([appearance='subtle']) .control{background-color:var(${"--colorSubtleBackground"});color:var(${"--colorNeutralForeground2"});border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground2Hover"});border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:var(${"--colorSubtleBackgroundPressed"});color:var(${"--colorNeutralForeground2Pressed"});border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:var(${"--colorTransparentBackground"});border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:var(${"--colorNeutralForeground2BrandPressed"})}:host([appearance='transparent']) .control{background-color:var(${"--colorTransparentBackground"});color:var(${"--colorNeutralForeground2"})}:host([appearance='transparent']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"});color:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='transparent']:hover:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"});color:var(${"--colorNeutralForeground2BrandPressed"})}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:var(${"--colorTransparentBackground"})}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
|
|
11
|
+
.control{background-color:var(${"--colorNeutralBackgroundDisabled"});border-color:var(${"--colorNeutralStrokeDisabled"});color:var(${to});cursor:not-allowed}`.withBehaviors(wt(G`
|
|
12
|
+
:host([appearance='transparent']:hover) .control{border-color:Highlight}`)),lc=G`
|
|
13
|
+
${sc}
|
|
14
14
|
|
|
15
|
-
.content{text-align:center}`,
|
|
16
|
-
${Ct("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${To};font-weight:${Lo};font-size:${co};border-radius:${ao};color:${Nr};background-color:${ji};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${ao}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Oo} ${$i}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${Do} ${$i}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${Ao}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${lo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ho}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${uo}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${po}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ro}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${oo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${io}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${no}}:host([data-color='brand']){color:${ii};background-color:${$n}}:host([data-color='dark-red']){color:${ys};background-color:${vs}}:host([data-color='cranberry']){color:${$s};background-color:${ks}}:host([data-color='red']){color:${pa};background-color:${da}}:host([data-color='pumpkin']){color:${Cs};background-color:${Bs}}:host([data-color='peach']){color:${Ts};background-color:${Ps}}:host([data-color='marigold']){color:${ps};background-color:${ds}}:host([data-color='gold']){color:${As};background-color:${Is}}:host([data-color='brass']){color:${Ns};background-color:${Ls}}:host([data-color='brown']){color:${Es};background-color:${Ds}}:host([data-color='forest']){color:${Hs};background-color:${Rs}}:host([data-color='seafoam']){color:${_s};background-color:${js}}:host([data-color='dark-green']){color:${Ws};background-color:${Gs}}:host([data-color='light-teal']){color:${Us};background-color:${Ks}}:host([data-color='teal']){color:${Zs};background-color:${Qs}}:host([data-color='steel']){color:${tl};background-color:${el}}:host([data-color='blue']){color:${il};background-color:${rl}}:host([data-color='royal-blue']){color:${sl};background-color:${al}}:host([data-color='cornflower']){color:${dl};background-color:${cl}}:host([data-color='navy']){color:${pl};background-color:${ul}}:host([data-color='lavender']){color:${fl};background-color:${bl}}:host([data-color='purple']){color:${yl};background-color:${vl}}:host([data-color='grape']){color:${$l};background-color:${kl}}:host([data-color='lilac']){color:${Cl};background-color:${Bl}}:host([data-color='pink']){color:${Tl};background-color:${Pl}}:host([data-color='magenta']){color:${Al};background-color:${Il}}:host([data-color='plum']){color:${Nl};background-color:${Ll}}:host([data-color='beige']){color:${El};background-color:${Dl}}:host([data-color='mink']){color:${Hl};background-color:${Rl}}:host([data-color='platinum']){color:${_l};background-color:${jl}}:host([data-color='anchor']){color:${Wl};background-color:${Gl}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Yc},${Qc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Yc},${Qc}}:host([active])::before{box-shadow:${Jl};border-style:solid;border-color:${$n}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Do});border-width:${Do}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Eo});border-width:${Eo}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Mo});border-width:${Mo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zl}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${ec}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${tc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Uc},${Qc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Uc},${Qc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Jc=Gc.compose({name:Tt.prefix+"-avatar",template:Kc,styles:Zc});function ed(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}const td={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rd={circular:"circular",rounded:"rounded",square:"square"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var nd=Object.defineProperty,ad=Object.getOwnPropertyDescriptor,sd=(e,t,o,r)=>{for(var i,n=r>1?void 0:r?ad(t,o):t,a=e.length-1;a>=0;a--)(i=e[a])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&nd(t,o,n),n};class ld extends ot{constructor(){super(...arguments),this.appearance=td.filled,this.color=od.brand}}function cd(e={}){return ke` ${gt(e)}<slot>${ht(e.defaultContent)}</slot>${pt(e)} `}sd([Ee],ld.prototype,"appearance",2),sd([Ee],ld.prototype,"color",2),sd([Ee],ld.prototype,"shape",2),sd([Ee],ld.prototype,"size",2),ed(ld,ut);const dd=cd(),hd=Ho,ud=_.partial`
|
|
17
|
-
${
|
|
15
|
+
.content{text-align:center}`,cc=Jl.compose({name:Ct.prefix+"-anchor-button",template:ic,styles:lc,shadowOptions:{delegatesFocus:!0}}),dc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,uc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,hc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,pc=/\s+/g,gc=/[\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 vc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(dc,"")).replace(uc,"")).replace(pc," ")).trim()}(e),gc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&hc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const bc={active:"active",inactive:"inactive"},mc={circular:"circular",square:"square"},fc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},kc={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"},yc={neutral:"neutral",brand:"brand",colorful:"colorful",...kc},xc={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};var $c=Object.defineProperty,Bc=Object.getOwnPropertyDescriptor,wc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Bc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&$c(t,o,n),n};const Pc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===yc.colorful?Pc.colors[Fc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Pc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:vc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let Sc=Pc;Sc.colors=Object.values(kc),wc([De],Sc.prototype,"name",2),wc([De],Sc.prototype,"initials",2),wc([De({converter:He})],Sc.prototype,"size",2),wc([De],Sc.prototype,"shape",2),wc([De],Sc.prototype,"active",2),wc([De],Sc.prototype,"appearance",2),wc([De],Sc.prototype,"color",2),wc([De({attribute:"color-id"})],Sc.prototype,"colorId",2);const Fc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},Cc=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const Nc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Cc}</slot><slot name="badge"></slot></template>`,Tc="--curveDecelerateMin",Ac="--curveEasyEaseMax",Ic="--curveLinear",zc=G`
|
|
16
|
+
${Pt("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:var(${ms});font-weight:var(${Is});font-size:var(${$s});border-radius:var(${bs});color:var(${qt});background-color:var(${"--colorNeutralBackground6"});contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:var(${bs})}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 var(${ol}) var(${Oo})}: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 var(${"--strokeWidthThick"}) var(${Oo})}:host([size='16']),:host([size='20']),:host([size='24']){font-size:var(${"--fontSizeBase100"});font-weight:var(${Ts})}: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:var(${xs})}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:var(${Bs})}: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:var(${"--fontSizeBase500"})}: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:var(${"--fontSizeBase600"})}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:var(${ps})}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:var(${hs})}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:var(${"--borderRadiusLarge"})}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:var(${"--borderRadiusXLarge"})}:host([data-color='brand']){color:var(${"--colorNeutralForegroundStaticInverted"});background-color:var(${"--colorBrandBackgroundStatic"})}:host([data-color='dark-red']){color:var(${"--colorPaletteDarkRedForeground2"});background-color:var(${"--colorPaletteDarkRedBackground2"})}:host([data-color='cranberry']){color:var(${"--colorPaletteCranberryForeground2"});background-color:var(${"--colorPaletteCranberryBackground2"})}:host([data-color='red']){color:var(${"--colorPaletteRedForeground2"});background-color:var(${"--colorPaletteRedBackground2"})}:host([data-color='pumpkin']){color:var(${"--colorPalettePumpkinForeground2"});background-color:var(${"--colorPalettePumpkinBackground2"})}:host([data-color='peach']){color:var(${"--colorPalettePeachForeground2"});background-color:var(${"--colorPalettePeachBackground2"})}:host([data-color='marigold']){color:var(${"--colorPaletteMarigoldForeground2"});background-color:var(${"--colorPaletteMarigoldBackground2"})}:host([data-color='gold']){color:var(${"--colorPaletteGoldForeground2"});background-color:var(${"--colorPaletteGoldBackground2"})}:host([data-color='brass']){color:var(${"--colorPaletteBrassForeground2"});background-color:var(${"--colorPaletteBrassBackground2"})}:host([data-color='brown']){color:var(${"--colorPaletteBrownForeground2"});background-color:var(${"--colorPaletteBrownBackground2"})}:host([data-color='forest']){color:var(${"--colorPaletteForestForeground2"});background-color:var(${"--colorPaletteForestBackground2"})}:host([data-color='seafoam']){color:var(${"--colorPaletteSeafoamForeground2"});background-color:var(${"--colorPaletteSeafoamBackground2"})}:host([data-color='dark-green']){color:var(${"--colorPaletteDarkGreenForeground2"});background-color:var(${"--colorPaletteDarkGreenBackground2"})}:host([data-color='light-teal']){color:var(${"--colorPaletteLightTealForeground2"});background-color:var(${"--colorPaletteLightTealBackground2"})}:host([data-color='teal']){color:var(${"--colorPaletteTealForeground2"});background-color:var(${"--colorPaletteTealBackground2"})}:host([data-color='steel']){color:var(${"--colorPaletteSteelForeground2"});background-color:var(${"--colorPaletteSteelBackground2"})}:host([data-color='blue']){color:var(${"--colorPaletteBlueForeground2"});background-color:var(${"--colorPaletteBlueBackground2"})}:host([data-color='royal-blue']){color:var(${"--colorPaletteRoyalBlueForeground2"});background-color:var(${"--colorPaletteRoyalBlueBackground2"})}:host([data-color='cornflower']){color:var(${"--colorPaletteCornflowerForeground2"});background-color:var(${"--colorPaletteCornflowerBackground2"})}:host([data-color='navy']){color:var(${"--colorPaletteNavyForeground2"});background-color:var(${"--colorPaletteNavyBackground2"})}:host([data-color='lavender']){color:var(${"--colorPaletteLavenderForeground2"});background-color:var(${"--colorPaletteLavenderBackground2"})}:host([data-color='purple']){color:var(${"--colorPalettePurpleForeground2"});background-color:var(${"--colorPalettePurpleBackground2"})}:host([data-color='grape']){color:var(${"--colorPaletteGrapeForeground2"});background-color:var(${"--colorPaletteGrapeBackground2"})}:host([data-color='lilac']){color:var(${"--colorPaletteLilacForeground2"});background-color:var(${"--colorPaletteLilacBackground2"})}:host([data-color='pink']){color:var(${"--colorPalettePinkForeground2"});background-color:var(${"--colorPalettePinkBackground2"})}:host([data-color='magenta']){color:var(${"--colorPaletteMagentaForeground2"});background-color:var(${"--colorPaletteMagentaBackground2"})}:host([data-color='plum']){color:var(${"--colorPalettePlumForeground2"});background-color:var(${"--colorPalettePlumBackground2"})}:host([data-color='beige']){color:var(${"--colorPaletteBeigeForeground2"});background-color:var(${"--colorPaletteBeigeBackground2"})}:host([data-color='mink']){color:var(${"--colorPaletteMinkForeground2"});background-color:var(${"--colorPaletteMinkBackground2"})}:host([data-color='platinum']){color:var(${"--colorPalettePlatinumForeground2"});background-color:var(${"--colorPalettePlatinumBackground2"})}:host([data-color='anchor']){color:var(${"--colorPaletteAnchorForeground2"});background-color:var(${"--colorPaletteAnchorBackground2"})}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationFaster"});transition-delay:var(${Ac}),var(${Ic})}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationSlower"});transition-delay:var(${Ac}),var(${Ic})}:host([active])::before{box-shadow:var(${"--shadow8"});border-style:solid;border-color:var(${"--colorBrandBackgroundStatic"})}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${"--strokeWidthThick"}));border-width:var(${"--strokeWidthThick"})}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${"--strokeWidthThicker"}));border-width:var(${"--strokeWidthThicker"})}: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 * var(${"--strokeWidthThickest"}));border-width:var(${"--strokeWidthThickest"})}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:var(${Xs})}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:var(${"--shadow16"})}: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:var(${"--shadow28"})}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationFaster"});transition-delay:var(${Tc}),var(${Ic})}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationSlower"});transition-delay:var(${Tc}),var(${Ic})}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Lc=Sc.compose({name:Ct.prefix+"-avatar",template:Nc,styles:zc});function Hc(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}const Oc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Dc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Mc={circular:"circular",rounded:"rounded",square:"square"},Ec={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var Rc=Object.defineProperty,jc=Object.getOwnPropertyDescriptor,Vc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?jc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Rc(t,o,n),n};class Gc extends ot{constructor(){super(...arguments),this.appearance=Oc.filled,this.color=Dc.brand}}function _c(e={}){return xe` ${gt(e)}<slot>${ut(e.defaultContent)}</slot>${pt(e)} `}Vc([De],Gc.prototype,"appearance",2),Vc([De],Gc.prototype,"color",2),Vc([De],Gc.prototype,"shape",2),Vc([De],Gc.prototype,"size",2),Hc(Gc,ht);const Xc=_c(),Wc="--spacingHorizontalXXS",qc=G.partial`
|
|
17
|
+
${Pt("inline-flex")} :host {
|
|
18
18
|
position: relative;
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
|
-
font-family: ${
|
|
23
|
-
font-weight: ${
|
|
24
|
-
font-size: ${
|
|
25
|
-
line-height: ${
|
|
22
|
+
font-family: var(${ms});
|
|
23
|
+
font-weight: var(${Is});
|
|
24
|
+
font-size: var(${xs});
|
|
25
|
+
line-height: var(${Hs});
|
|
26
26
|
min-width: 20px;
|
|
27
27
|
height: 20px;
|
|
28
|
-
padding-inline: calc(${
|
|
29
|
-
border-radius: ${
|
|
30
|
-
border-color: ${
|
|
31
|
-
background-color: ${
|
|
32
|
-
color: ${
|
|
28
|
+
padding-inline: calc(var(${ll}) + var(${Wc}));
|
|
29
|
+
border-radius: var(${bs});
|
|
30
|
+
border-color: var(${"--colorTransparentStroke"});
|
|
31
|
+
background-color: var(${"--colorBrandBackground"});
|
|
32
|
+
color: var(${"--colorNeutralForegroundOnBrand"});
|
|
33
33
|
contain: content;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -45,11 +45,11 @@ function e(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPro
|
|
|
45
45
|
bottom: 0;
|
|
46
46
|
right: 0;
|
|
47
47
|
border-style: solid;
|
|
48
|
-
border-width: ${
|
|
48
|
+
border-width: var(${ol});
|
|
49
49
|
border-color: inherit;
|
|
50
50
|
border-radius: inherit;
|
|
51
51
|
}
|
|
52
|
-
`,
|
|
52
|
+
`,Yc=G.partial`
|
|
53
53
|
:host([size='tiny']) {
|
|
54
54
|
width: 6px;
|
|
55
55
|
height: 6px;
|
|
@@ -75,9 +75,9 @@ function e(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPro
|
|
|
75
75
|
:host([size='small']) {
|
|
76
76
|
min-width: 16px;
|
|
77
77
|
height: 16px;
|
|
78
|
-
font-size: ${
|
|
79
|
-
line-height: ${
|
|
80
|
-
padding-inline: calc(${
|
|
78
|
+
font-size: var(${"--fontSizeBase100"});
|
|
79
|
+
line-height: var(${"--lineHeightBase100"});
|
|
80
|
+
padding-inline: calc(var(${"--spacingHorizontalXXS"}) + var(${Wc}));
|
|
81
81
|
}
|
|
82
82
|
:host([size='small']) ::slotted(svg) {
|
|
83
83
|
font-size: 12px;
|
|
@@ -85,9 +85,9 @@ function e(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPro
|
|
|
85
85
|
:host([size='large']) {
|
|
86
86
|
min-width: 24px;
|
|
87
87
|
height: 24px;
|
|
88
|
-
font-size: ${
|
|
89
|
-
line-height: ${
|
|
90
|
-
padding-inline: calc(${
|
|
88
|
+
font-size: var(${xs});
|
|
89
|
+
line-height: var(${Hs});
|
|
90
|
+
padding-inline: calc(var(${ll}) + var(${Wc}));
|
|
91
91
|
}
|
|
92
92
|
:host([size='large']) ::slotted(svg) {
|
|
93
93
|
font-size: 16px;
|
|
@@ -95,263 +95,263 @@ function e(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPro
|
|
|
95
95
|
:host([size='extra-large']) {
|
|
96
96
|
min-width: 32px;
|
|
97
97
|
height: 32px;
|
|
98
|
-
font-size: ${
|
|
99
|
-
line-height: ${
|
|
100
|
-
padding-inline: calc(${
|
|
98
|
+
font-size: var(${xs});
|
|
99
|
+
line-height: var(${Hs});
|
|
100
|
+
padding-inline: calc(var(${"--spacingHorizontalSNudge"}) + var(${Wc}));
|
|
101
101
|
}
|
|
102
102
|
:host([size='extra-large']) ::slotted(svg) {
|
|
103
103
|
font-size: 20px;
|
|
104
104
|
}
|
|
105
|
-
`,
|
|
105
|
+
`,Uc=G.partial`
|
|
106
106
|
:host([color='danger']) {
|
|
107
|
-
background-color: ${
|
|
108
|
-
color: ${
|
|
107
|
+
background-color: var(${"--colorPaletteRedBackground3"});
|
|
108
|
+
color: var(${"--colorNeutralForegroundOnBrand"});
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
:host([color='important']) {
|
|
112
|
-
background-color: ${
|
|
113
|
-
color: ${
|
|
112
|
+
background-color: var(${Ot});
|
|
113
|
+
color: var(${Oo});
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
:host([color='informative']) {
|
|
117
|
-
background-color: ${
|
|
118
|
-
color: ${
|
|
117
|
+
background-color: var(${"--colorNeutralBackground5"});
|
|
118
|
+
color: var(${qt});
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
:host([color='severe']) {
|
|
122
|
-
background-color: ${
|
|
123
|
-
color: ${
|
|
122
|
+
background-color: var(${"--colorPaletteDarkOrangeBackground3"});
|
|
123
|
+
color: var(${"--colorNeutralForegroundOnBrand"});
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
:host([color='subtle']) {
|
|
127
|
-
background-color: ${
|
|
128
|
-
color: ${
|
|
127
|
+
background-color: var(${Oo});
|
|
128
|
+
color: var(${Ot});
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
:host([color='success']) {
|
|
132
|
-
background-color: ${
|
|
133
|
-
color: ${
|
|
132
|
+
background-color: var(${"--colorPaletteGreenBackground3"});
|
|
133
|
+
color: var(${"--colorNeutralForegroundOnBrand"});
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
:host([color='warning']) {
|
|
137
|
-
background-color: ${
|
|
138
|
-
color: ${
|
|
137
|
+
background-color: var(${"--colorPaletteYellowBackground3"});
|
|
138
|
+
color: var(${"--colorNeutralForeground1Static"});
|
|
139
139
|
}
|
|
140
|
-
`,
|
|
140
|
+
`,Kc=G.partial`
|
|
141
141
|
:host([appearance='ghost']) {
|
|
142
|
-
color: ${
|
|
142
|
+
color: var(${"--colorBrandForeground1"});
|
|
143
143
|
background-color: initial;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
:host([appearance='ghost'][color='danger']) {
|
|
147
|
-
color: ${
|
|
147
|
+
color: var(${"--colorPaletteRedForeground3"});
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
:host([appearance='ghost'][color='important']) {
|
|
151
|
-
color: ${
|
|
151
|
+
color: var(${Ot});
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
:host([appearance='ghost'][color='informative']) {
|
|
155
|
-
color: ${
|
|
155
|
+
color: var(${qt});
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
:host([appearance='ghost'][color='severe']) {
|
|
159
|
-
color: ${
|
|
159
|
+
color: var(${"--colorPaletteDarkOrangeForeground3"});
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
:host([appearance='ghost'][color='subtle']) {
|
|
163
|
-
color: ${
|
|
163
|
+
color: var(${"--colorNeutralForegroundInverted"});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
:host([appearance='ghost'][color='success']) {
|
|
167
|
-
color: ${
|
|
167
|
+
color: var(${"--colorPaletteGreenForeground3"});
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
:host([appearance='ghost'][color='warning']) {
|
|
171
|
-
color: ${
|
|
171
|
+
color: var(${"--colorPaletteYellowForeground2"});
|
|
172
172
|
}
|
|
173
|
-
`,
|
|
173
|
+
`,Qc=G.partial`
|
|
174
174
|
:host([appearance='outline']) {
|
|
175
175
|
border-color: currentColor;
|
|
176
|
-
color: ${
|
|
176
|
+
color: var(${"--colorBrandForeground1"});
|
|
177
177
|
background-color: initial;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
:host([appearance='outline'][color='danger']) {
|
|
181
|
-
color: ${
|
|
181
|
+
color: var(${"--colorPaletteRedForeground3"});
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
:host([appearance='outline'][color='important']) {
|
|
185
|
-
color: ${
|
|
186
|
-
border-color: ${
|
|
185
|
+
color: var(${qt});
|
|
186
|
+
border-color: var(${"--colorNeutralStrokeAccessible"});
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
:host([appearance='outline'][color='informative']) {
|
|
190
|
-
color: ${
|
|
191
|
-
border-color: ${
|
|
190
|
+
color: var(${qt});
|
|
191
|
+
border-color: var(${"--colorNeutralStroke2"});
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
:host([appearance='outline'][color='severe']) {
|
|
195
|
-
color: ${
|
|
195
|
+
color: var(${"--colorPaletteDarkOrangeForeground3"});
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
:host([appearance='outline'][color='subtle']) {
|
|
199
|
-
color: ${
|
|
199
|
+
color: var(${"--colorNeutralForegroundStaticInverted"});
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
:host([appearance='outline'][color='success']) {
|
|
203
|
-
color: ${
|
|
203
|
+
color: var(${"--colorPaletteGreenForeground2"});
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
:host([appearance='outline'][color='warning']) {
|
|
207
|
-
color: ${
|
|
207
|
+
color: var(${"--colorPaletteYellowForeground2"});
|
|
208
208
|
}
|
|
209
|
-
`,
|
|
209
|
+
`,Zc=G.partial`
|
|
210
210
|
:host([appearance='tint']) {
|
|
211
|
-
background-color: ${
|
|
212
|
-
color: ${
|
|
213
|
-
border-color: ${
|
|
211
|
+
background-color: var(${"--colorBrandBackground2"});
|
|
212
|
+
color: var(${"--colorBrandForeground2"});
|
|
213
|
+
border-color: var(${"--colorBrandStroke2"});
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
:host([appearance='tint'][color='danger']) {
|
|
217
|
-
background-color: ${
|
|
218
|
-
color: ${
|
|
219
|
-
border-color: ${
|
|
217
|
+
background-color: var(${"--colorPaletteRedBackground1"});
|
|
218
|
+
color: var(${"--colorPaletteRedForeground1"});
|
|
219
|
+
border-color: var(${"--colorPaletteRedBorder1"});
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
:host([appearance='tint'][color='important']) {
|
|
223
|
-
background-color: ${
|
|
224
|
-
color: ${
|
|
225
|
-
border-color: ${
|
|
223
|
+
background-color: var(${qt});
|
|
224
|
+
color: var(${Oo});
|
|
225
|
+
border-color: var(${"--colorTransparentStroke"});
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
:host([appearance='tint'][color='informative']) {
|
|
229
|
-
background-color: ${
|
|
230
|
-
color: ${
|
|
231
|
-
border-color: ${
|
|
229
|
+
background-color: var(${"--colorNeutralBackground4"});
|
|
230
|
+
color: var(${qt});
|
|
231
|
+
border-color: var(${"--colorNeutralStroke2"});
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
:host([appearance='tint'][color='severe']) {
|
|
235
|
-
background-color: ${
|
|
236
|
-
color: ${
|
|
237
|
-
border-color: ${
|
|
235
|
+
background-color: var(${"--colorPaletteDarkOrangeBackground1"});
|
|
236
|
+
color: var(${"--colorPaletteDarkOrangeForeground1"});
|
|
237
|
+
border-color: var(${"--colorPaletteDarkOrangeBorder1"});
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
:host([appearance='tint'][color='subtle']) {
|
|
241
|
-
background-color: ${
|
|
242
|
-
color: ${
|
|
243
|
-
border-color: ${
|
|
241
|
+
background-color: var(${Oo});
|
|
242
|
+
color: var(${qt});
|
|
243
|
+
border-color: var(${"--colorNeutralStroke2"});
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
:host([appearance='tint'][color='success']) {
|
|
247
|
-
background-color: ${
|
|
248
|
-
color: ${
|
|
249
|
-
border-color: ${
|
|
247
|
+
background-color: var(${"--colorPaletteGreenBackground1"});
|
|
248
|
+
color: var(${"--colorPaletteGreenForeground1"});
|
|
249
|
+
border-color: var(${"--colorPaletteGreenBorder2"});
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
:host([appearance='tint'][color='warning']) {
|
|
253
|
-
background-color: ${
|
|
254
|
-
color: ${
|
|
255
|
-
border-color: ${
|
|
256
|
-
}
|
|
257
|
-
`,
|
|
258
|
-
:host([shape='square']){border-radius
|
|
259
|
-
${
|
|
260
|
-
${
|
|
261
|
-
${
|
|
262
|
-
${
|
|
263
|
-
${
|
|
264
|
-
`,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),xd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,kd=new WeakMap;function $d(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return xd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),x.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),x.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!xd)return null;let e=kd.get(this);return e||(e=this.attachInternals(),kd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Le})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===Sd&&this.addEventListener("click",this.handleSubmission),e===Sd&&this.removeEventListener("click",this.handleSubmission),t===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Fd{}function Id(e={}){return ke`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Fd.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Fd.prototype,"ariaPressed",void 0),bt(Fd,dt),bt(Td,ut,Fd);var Ad=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Ld=(e,t,o,r)=>{for(var i,n=r>1?void 0:r?zd(t,o):t,a=e.length-1;a>=0;a--)(i=e[a])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&Ad(t,o,n),n};class Nd extends Td{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Ld([Ee],Nd.prototype,"appearance",2),Ld([Ee],Nd.prototype,"shape",2),Ld([Ee],Nd.prototype,"size",2),Ld([Ee({attribute:"icon-only",mode:"boolean"})],Nd.prototype,"iconOnly",2),Ld([Ee({attribute:"disabled-focusable",mode:"boolean"})],Nd.prototype,"disabledFocusable",2);const Od=Id(),Dd=Nd.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Md extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rd extends Md{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([C],Rd.prototype,"defaultSlottedNodes",void 0),e([C],Rd.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,jd=(e,t,o,r)=>{for(var i,n=r>1?void 0:r?Vd(t,o):t,a=e.length-1;a>=0;a--)(i=e[a])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&Hd(t,o,n),n};class _d extends Rd{}jd([Ee],_d.prototype,"shape",2),jd([Ee],_d.prototype,"size",2),jd([Ee({attribute:"label-position"})],_d.prototype,"labelPosition",2);const qd={circular:"circular",square:"square"},Gd={medium:"medium",large:"large"},Wd={before:"before",after:"after"},Xd=function(e={}){return ke`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:ke.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:ke.partial('\n <div class="indeterminate-indicator"></div>\n')}),Kd=_`
|
|
265
|
-
${
|
|
266
|
-
:host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family
|
|
267
|
-
${
|
|
268
|
-
|
|
269
|
-
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size
|
|
270
|
-
::slotted([slot='description']){color
|
|
271
|
-
::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color
|
|
272
|
-
::slotted([slot='description']){color
|
|
273
|
-
:host([shape='rounded']){border-radius
|
|
274
|
-
${
|
|
275
|
-
${
|
|
276
|
-
${
|
|
277
|
-
|
|
278
|
-
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,
|
|
253
|
+
background-color: var(${"--colorPaletteYellowBackground1"});
|
|
254
|
+
color: var(${"--colorPaletteYellowForeground2"});
|
|
255
|
+
border-color: var(${"--colorPaletteYellowBorder1"});
|
|
256
|
+
}
|
|
257
|
+
`,Jc=G`
|
|
258
|
+
:host([shape='square']){border-radius:var(${"--borderRadiusNone"})}:host([shape='rounded']){border-radius:var(${ps})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${hs})}${Yc}
|
|
259
|
+
${Uc}
|
|
260
|
+
${Kc}
|
|
261
|
+
${Qc}
|
|
262
|
+
${Zc}
|
|
263
|
+
${qc}
|
|
264
|
+
`,ed=Gc.compose({name:Ct.prefix+"-badge",template:Xc,styles:Jc}),td="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,od=new WeakMap;function rd(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 td}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),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(!td)return null;let e=od.get(this);return e||(e=this.attachInternals(),od.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}function ad(e){class t extends(rd(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}class nd extends ot{}class id extends(rd(nd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const sd="submit",ld="reset";class cd extends id{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===sd&&this.addEventListener("click",this.handleSubmission),e===sd&&this.removeEventListener("click",this.handleSubmission),t===ld&&this.addEventListener("click",this.handleFormReset),e===ld&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([De({mode:"boolean"})],cd.prototype,"autofocus",void 0),e([De({attribute:"form"})],cd.prototype,"formId",void 0),e([De],cd.prototype,"formaction",void 0),e([De],cd.prototype,"formenctype",void 0),e([De],cd.prototype,"formmethod",void 0),e([De({mode:"boolean"})],cd.prototype,"formnovalidate",void 0),e([De],cd.prototype,"formtarget",void 0),e([De],cd.prototype,"type",void 0),e([P],cd.prototype,"defaultSlottedContent",void 0);class dd{}function ud(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([De({attribute:"aria-expanded"})],dd.prototype,"ariaExpanded",void 0),e([De({attribute:"aria-pressed"})],dd.prototype,"ariaPressed",void 0),vt(dd,dt),vt(cd,ht,dd);var hd=Object.defineProperty,pd=Object.getOwnPropertyDescriptor,gd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?pd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&hd(t,o,n),n};class vd extends cd{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}gd([De],vd.prototype,"appearance",2),gd([De],vd.prototype,"shape",2),gd([De],vd.prototype,"size",2),gd([De({attribute:"icon-only",mode:"boolean"})],vd.prototype,"iconOnly",2),gd([De({attribute:"disabled-focusable",mode:"boolean"})],vd.prototype,"disabledFocusable",2);const bd=ud(),md=vd.compose({name:Ct.prefix+"-button",template:bd,styles:sc,shadowOptions:{delegatesFocus:!0}});class fd extends ot{}class kd extends(ad(fd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yd extends kd{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([P],yd.prototype,"defaultSlottedNodes",void 0),e([P],yd.prototype,"indeterminate",void 0);var xd=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,Bd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?$d(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&xd(t,o,n),n};class wd extends yd{}Bd([De],wd.prototype,"shape",2),Bd([De],wd.prototype,"size",2),Bd([De({attribute:"label-position"})],wd.prototype,"labelPosition",2);const Pd={circular:"circular",square:"square"},Sd={medium:"medium",large:"large"},Fd={before:"before",after:"after"},Cd=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ut(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ut(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Nd=G`
|
|
265
|
+
${Pt("inline-flex")}
|
|
266
|
+
:host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});color:var(${qt});position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${ps});outline:none;border:2px solid var(${"--colorStrokeFocus1"});box-shadow:inset 0 0 0 1px var(${"--colorStrokeFocus2"})}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:var(${xl}) var(${dl});fill:currentcolor;height:16px;width:16px;border:var(${ol}) solid var(${"--colorNeutralStrokeAccessible"});border-radius:var(${hs});outline:none}.label{align-self:center;cursor:inherit;padding-inline:var(${dl});padding-bottom:var(${xl});padding-top:var(${xl})}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:var(${"--colorNeutralForegroundInverted"});font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:var(${hs});background-color:var(${"--colorCompoundBrandForeground1"});opacity:0}:host(:hover){color:var(${"--colorNeutralForeground2"})}:host(:hover) .control{border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:hover) .indeterminate-indicator{background-color:var(${"--colorCompoundBrandForeground1Hover"})}:host(:active) .control{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host(:active) .indeterminate-indicator{background-color:var(${"--colorCompoundBrandForeground1Pressed"})}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:var(${Ot})}:host([aria-checked='true']) .control{background-color:var(${"--colorCompoundBrandBackground"})}:host([aria-checked='true']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"});background-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([aria-checked='true']:active) .control{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([aria-checked='mixed']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:var(${"--colorCompoundBrandStroke"})}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:var(${"--colorCompoundBrandStrokePressed"})}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:var(${dl}) var(${ll});padding-top:var(${xl});padding-bottom:var(${xl})}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:var(${bs})}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:var(${"--colorTransparentBackgroundHover"});border-color:var(${"--colorNeutralStrokeDisabled"})}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:var(${to})}:host([disabled]) .indeterminate-indicator{background-color:var(${to})}`,Td=wd.compose({name:Ct.prefix+"-checkbox",template:Cd,styles:Nd});class Ad extends vd{}const Id=ec,zd=tc,Ld=oc;const Hd=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),Od=G`
|
|
267
|
+
${sc}
|
|
268
|
+
|
|
269
|
+
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:var(${$s});line-height:var(${Os})}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:var(${"--colorNeutralForeground2"});line-height:100%;font-size:var(${xs});font-weight:var(${Ts})}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2Hover"})}:host(:active) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2Pressed"})}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
|
|
270
|
+
::slotted([slot='description']){color:var(${"--colorNeutralForegroundOnBrand"})}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
|
|
271
|
+
::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2"})}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='transparent']:active) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2BrandPressed"})}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
|
|
272
|
+
::slotted([slot='description']){color:var(${to})}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:var(${"--spacingHorizontalSNudge"})}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:var(${ll})}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:var(${dl})}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='large']) ::slotted([slot='description']){font-size:var(${$s})}`,Dd=Ad.compose({name:Ct.prefix+"-compound-button",template:Hd,styles:Od,shadowOptions:{delegatesFocus:!0}});var Md=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,Rd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ed(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Md(t,o,n),n};class jd extends ot{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)?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Rd([De],jd.prototype,"appearance",2),Rd([De],jd.prototype,"color",2),Rd([De],jd.prototype,"shape",2),Rd([De],jd.prototype,"size",2),Rd([De({converter:He})],jd.prototype,"count",2),Rd([De({attribute:"overflow-count",converter:He})],jd.prototype,"overflowCount",2),Rd([De({attribute:"show-zero",mode:"boolean"})],jd.prototype,"showZero",2),Rd([De({mode:"boolean"})],jd.prototype,"dot",2),Hc(jd,ht);const Vd={filled:"filled",ghost:"ghost"},Gd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},_d={circular:"circular",rounded:"rounded"},Xd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Wd=_c({defaultContent:xe`${e=>e.setCount()}`}),qd=G`
|
|
273
|
+
:host([shape='rounded']){border-radius:var(${ps})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${hs})}${Yc}
|
|
274
|
+
${Uc}
|
|
275
|
+
${Kc}
|
|
276
|
+
${qc}
|
|
277
|
+
|
|
278
|
+
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Yd=jd.compose({name:Ct.prefix+"-counter-badge",template:Wd,styles:qd});
|
|
279
279
|
/*!
|
|
280
280
|
* tabbable 5.2.0
|
|
281
281
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
282
282
|
*/
|
|
283
|
-
var gh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].join(","),bh="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,fh=function(e){return"INPUT"===e.tagName},mh=function(e){return function(e){return fh(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||e.ownerDocument,r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!i||i===e}(e)},vh=function(e,t){return!(t.disabled||function(e){return fh(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var o=bh.call(e,"details>summary:first-of-type")?e.parentElement:e;if(bh.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var r=e.getBoundingClientRect(),i=r.width,n=r.height;return 0===i&&0===n}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t))},yh=function(e,t){return!(!vh(e,t)||mh(t)||function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t}(t)<0)},xh=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==bh.call(e,gh)&&yh(t,e)};const kh="modal",$h="non-modal",wh="alert";var Bh=Object.defineProperty,Ch=Object.getOwnPropertyDescriptor,Sh=(e,t,o,r)=>{for(var i,n=r>1?void 0:r?Ch(t,o):t,a=e.length-1;a>=0;a--)(i=e[a])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&Bh(t,o,n),n};const Ph=class extends ot{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=kh,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==wh&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>Ph.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),x.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),x.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==wh||t==kh)}setComponent(){this.modalType==kh||this.modalType==wh?this.trapFocus=!0:this.trapFocus=!1}show(){x.enqueue(()=>{this.modalType===wh||this.modalType===kh?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===$h&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==wh&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==wh&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:xh(t)||Ph.isFocusableFastElement(t)&&Ph.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>Ph.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>xh(e))}};let Th=Ph;Sh([C],Th.prototype,"dialog",2),Sh([C],Th.prototype,"titleAction",2),Sh([C],Th.prototype,"defaultTitleAction",2),Sh([Ee({attribute:"aria-describedby"})],Th.prototype,"ariaDescribedby",2),Sh([Ee({attribute:"aria-labelledby"})],Th.prototype,"ariaLabelledby",2),Sh([Ee({attribute:"modal-type"})],Th.prototype,"modalType",2),Sh([Ee({mode:"boolean"})],Th.prototype,"open",2),Sh([Ee({mode:"boolean",attribute:"no-title-action"})],Th.prototype,"noTitleAction",2);const Fh=ke.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),Ih=ke`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===wh?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===kh||e.modalType===wh?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${we("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ae({property:"titleAction",filter:Te()})} name="title-action"></slot>${Se(e=>e.modalType===$h&&0===e.titleAction.length&&!e.noTitleAction,ke`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${we("defaultTitleAction")}>${Fh}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`;function Ah(e){return e.split("-")[1]}function zh(e){return"y"===e?"height":"width"}function Lh(e){return e.split("-")[0]}function Nh(e){return["top","bottom"].includes(Lh(e))?"x":"y"}function Oh(e,t,o){let{reference:r,floating:i}=e;const n=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=Nh(t),l=zh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Lh(t)){case"top":h={x:n,y:r.y-i.height};break;case"bottom":h={x:n,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Ah(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function Dh(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Eh(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Dh(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...a.floating,x:r,y:i}:a.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),y=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=Dh(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-x.top+g.top)/y.y,bottom:(x.bottom-f.bottom+g.bottom)/y.y,left:(f.left-x.left+g.left)/y.x,right:(x.right-f.right+g.right)/y.x}}const Mh=Math.min,Rh=Math.max;function Hh(e,t,o){return Rh(e,Mh(t,o))}const Vh=["top","right","bottom","left"];Vh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const jh={left:"right",right:"left",bottom:"top",top:"bottom"};function _h(e){return e.replace(/left|right|bottom|top/g,e=>jh[e])}function qh(e,t,o){void 0===o&&(o=!1);const r=Ah(e),i=Nh(e),n=zh(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(a=_h(a)),{main:a,cross:_h(a)}}const Gh={start:"end",end:"start"};function Wh(e){return e.replace(/start|end/g,e=>Gh[e])}const Xh=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:n,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Lh(r),m=Lh(a)===a,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[_h(a)]:function(e){const t=_h(e);return[Wh(e),t,Wh(t)]}(a));h||"none"===p||y.push(...function(e,t,o,r){const i=Ah(e);let n=function(e,t,o){const r=["left","right"],i=["right","left"],n=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?n:a;default:return[]}}(Lh(e),"start"===o,r);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(Wh)))),n}(a,g,p,v));const x=[a,...y],k=await Eh(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(k[f]),d){const{main:e,cross:t}=qh(r,n,v);$.push(k[e],k[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function Kh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Uh(e){return Vh.some(t=>e[t]>=0)}const Yh=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:i}=t;switch(o){case"referenceHidden":{const e=Kh(await Eh(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Uh(e)}}}case"escaped":{const e=Kh(await Eh(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:Uh(e)}}}default:return{}}}}};const Qh=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await Eh(t,l),h=Nh(Lh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(n){const e="y"===h?"bottom":"right";p=Hh(p+d["y"===h?"top":"left"],p,p-d[e])}if(a){const e="y"===u?"bottom":"right";g=Hh(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},Zh=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:n}=t,{apply:a=(()=>{}),...s}=e,l=await Eh(t,s),c=Lh(o),d=Ah(o),h="x"===Nh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(n.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Mh(u-l.right-l.left,m):v=Mh(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Rh(l.left,0),t=Rh(l.right,0),o=Rh(l.top,0),r=Rh(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Rh(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Rh(l.top,l.bottom))}await a({...t,availableWidth:y,availableHeight:v});const x=await i.getDimensions(n.floating);return u!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}};function Jh(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eu(e){return Jh(e).getComputedStyle(e)}const tu=Math.min,ou=Math.max,ru=Math.round;function iu(e){const t=eu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,n=e.offsetHeight,a=ru(o)!==i||ru(r)!==n;return a&&(o=i,r=n),{width:o,height:r,fallback:a}}function nu(e){return du(e)?(e.nodeName||"").toLowerCase():""}let au;function su(){if(au)return au;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(au=e.brands.map(e=>e.brand+"/"+e.version).join(" "),au):navigator.userAgent}function lu(e){return e instanceof Jh(e).HTMLElement}function cu(e){return e instanceof Jh(e).Element}function du(e){return e instanceof Jh(e).Node}function hu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Jh(e).ShadowRoot||e instanceof ShadowRoot)}function uu(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=eu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function pu(e){return["table","td","th"].includes(nu(e))}function gu(e){const t=/firefox/i.test(su()),o=eu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function bu(){return/^((?!chrome|android).)*safari/i.test(su())}function fu(e){return["html","body","#document"].includes(nu(e))}function mu(e){return cu(e)?e:e.contextElement}const vu={x:1,y:1};function yu(e){const t=mu(e);if(!lu(t))return vu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:n}=iu(t);let a=(n?ru(o.width):o.width)/r,s=(n?ru(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function xu(e,t,o,r){var i,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const a=e.getBoundingClientRect(),s=mu(e);let l=vu;t&&(r?cu(r)&&(l=yu(r)):l=yu(e));const c=s?Jh(s):window,d=bu()&&o;let h=(a.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(a.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=a.width/l.x,g=a.height/l.y;if(s){const e=Jh(s),t=r&&cu(r)?Jh(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=yu(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=Jh(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function ku(e){return((du(e)?e.ownerDocument:e.document)||window.document).documentElement}function $u(e){return cu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wu(e){return xu(ku(e)).left+$u(e).scrollLeft}function Bu(e){if("html"===nu(e))return e;const t=e.assignedSlot||e.parentNode||hu(e)&&e.host||ku(e);return hu(t)?t.host:t}function Cu(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Bu(t);return fu(o)?o.ownerDocument.body:lu(o)&&uu(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),n=Jh(r);return i?t.concat(n,n.visualViewport||[],uu(r)?r:[]):t.concat(r,Cu(r))}function Su(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Jh(e),r=ku(e),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const e=bu();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=ku(e),o=$u(e),r=e.ownerDocument.body,i=ou(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=ou(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+wu(e);const s=-o.scrollTop;return"rtl"===eu(r).direction&&(a+=ou(t.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(ku(e));else if(cu(t))r=function(e,t){const o=xu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,n=lu(e)?yu(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:i*n.x,y:r*n.y}}(t,o);else{const o={...t};if(bu()){var i,n;const t=Jh(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return Dh(r)}function Pu(e,t){return lu(e)&&"fixed"!==eu(e).position?t?t(e):e.offsetParent:null}function Tu(e,t){const o=Jh(e);let r=Pu(e,t);for(;r&&pu(r)&&"static"===eu(r).position;)r=Pu(r,t);return r&&("html"===nu(r)||"body"===nu(r)&&"static"===eu(r).position&&!gu(r))?o:r||function(e){let t=Bu(e);for(;lu(t)&&!fu(t);){if(gu(t))return t;t=Bu(t)}return null}(e)||o}function Fu(e,t,o){const r=lu(t),i=ku(t),n=xu(e,!0,"fixed"===o,t);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==nu(t)||uu(i))&&(a=$u(t)),lu(t)){const e=xu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=wu(i));return{x:n.left+a.scrollLeft-s.x,y:n.top+a.scrollTop-s.y,width:n.width,height:n.height}}const Iu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Cu(e).filter(e=>cu(e)&&"body"!==nu(e)),i=null;const n="fixed"===eu(e).position;let a=n?Bu(e):e;for(;cu(a)&&!fu(a);){const e=eu(a),t=gu(a);(n?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==a),a=Bu(a)}return t.set(e,r),r}(t,this._c):[].concat(o),r],a=n[0],s=n.reduce((e,o)=>{const r=Su(t,o,i);return e.top=ou(r.top,e.top),e.right=tu(r.right,e.right),e.bottom=tu(r.bottom,e.bottom),e.left=ou(r.left,e.left),e},Su(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=lu(o),n=ku(o);if(o===n)return t;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==nu(o)||uu(n))&&(a=$u(o)),lu(o))){const e=xu(o);s=yu(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:cu,getDimensions:function(e){return lu(e)?iu(e):e.getBoundingClientRect()},getOffsetParent:Tu,getDocumentElement:ku,getScale:yu,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Tu,n=this.getDimensions;return{reference:Fu(t,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===eu(e).direction};function Au(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:n=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||n?[...cu(e)?Cu(e):e.contextElement?Cu(e.contextElement):[],...Cu(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,h=null;if(a){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),cu(e)&&!s&&h.observe(e),cu(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?xu(e):null;return s&&function t(){const r=xu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const zu=(e,t,o)=>{const r=new Map,i={platform:Iu,...o},n={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Oh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[n]:{...p[n],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Oh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:n})},Lu={separator:"separator",presentation:"presentation"},Nu=rt;class Ou extends ot{constructor(){super(...arguments),this.role=Lu.separator,this.orientation=Nu.horizontal}}e([Ee],Ou.prototype,"role",void 0),e([Ee],Ou.prototype,"orientation",void 0);const Du={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Eu extends ot{constructor(){super(...arguments),this.role=Du.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Du.menuitemcheckbox:this.checked=!this.checked;break;case Du.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Du.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&x.enqueue(()=>{this.cleanup=Au(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield zu(this,this.submenuContainer,{middleware:[Qh(),Zh({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Xh({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([Ee({mode:"boolean"})],Eu.prototype,"disabled",void 0),e([Ee({mode:"boolean"})],Eu.prototype,"expanded",void 0),e([Ee],Eu.prototype,"role",void 0),e([Ee({mode:"boolean"})],Eu.prototype,"checked",void 0),e([Ee({mode:"boolean"})],Eu.prototype,"hidden",void 0),e([C],Eu.prototype,"slottedSubmenu",void 0),e([C],Eu.prototype,"submenu",void 0),bt(Eu,ut);class Mu extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&it(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===Du.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===Du.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Eu||it(e)&&e.getAttribute("role")in Mu.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),x.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}Mu.focusableElementRoles=Du,e([C],Mu.prototype,"items",void 0);class Ru extends ot{}class Hu extends($d(Ru)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Vu={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class ju extends Hu{constructor(){super(...arguments),this.type=Vu.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&x.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}e([Ee({attribute:"readonly",mode:"boolean"})],ju.prototype,"readOnly",void 0),e([Ee({mode:"boolean"})],ju.prototype,"autofocus",void 0),e([Ee],ju.prototype,"placeholder",void 0),e([Ee],ju.prototype,"type",void 0),e([Ee],ju.prototype,"list",void 0),e([Ee({converter:Oe})],ju.prototype,"maxlength",void 0),e([Ee({converter:Oe})],ju.prototype,"minlength",void 0),e([Ee],ju.prototype,"pattern",void 0),e([Ee({converter:Oe})],ju.prototype,"size",void 0),e([Ee({mode:"boolean"})],ju.prototype,"spellcheck",void 0),e([C],ju.prototype,"defaultSlottedNodes",void 0);class _u{}bt(_u,dt),bt(ju,ut,_u);class qu extends ot{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)}}e([Ee({converter:Oe})],qu.prototype,"value",void 0),e([Ee({converter:Oe})],qu.prototype,"min",void 0),e([Ee({converter:Oe})],qu.prototype,"max",void 0),e([C],qu.prototype,"percentComplete",void 0);class Gu extends qu{}class Wu extends qu{}const Xu=rt;class Ku extends ot{}class Uu extends(wd(Ku)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Yu extends Uu{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}e([C],Yu.prototype,"name",void 0),e([C],Yu.prototype,"defaultSlottedNodes",void 0);class Qu extends ot{constructor(){super(...arguments),this.orientation=Xu.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Yu&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in nt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===at.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===at.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=$t(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}e([Ee({attribute:"readonly",mode:"boolean"})],Qu.prototype,"readOnly",void 0),e([Ee({attribute:"disabled",mode:"boolean"})],Qu.prototype,"disabled",void 0),e([Ee],Qu.prototype,"name",void 0),e([Ee],Qu.prototype,"value",void 0),e([Ee],Qu.prototype,"orientation",void 0),e([C],Qu.prototype,"childItems",void 0),e([C],Qu.prototype,"slottedRadioButtons",void 0);const Zu=rt,Ju="single-value";function ep(e,t,o,r){let i=st(0,1,(e-t)/(o-t));return r===at.rtl&&(i=1-i),i}class tp extends ot{}class op extends($d(tp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class rp extends op{constructor(){super(...arguments),this.direction=at.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Ju,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=st(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-ep(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=ep(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}e([Ee({attribute:"readonly",mode:"boolean"})],rp.prototype,"readOnly",void 0),e([C],rp.prototype,"direction",void 0),e([C],rp.prototype,"isDragging",void 0),e([C],rp.prototype,"position",void 0),e([C],rp.prototype,"trackWidth",void 0),e([C],rp.prototype,"trackMinWidth",void 0),e([C],rp.prototype,"trackHeight",void 0),e([C],rp.prototype,"trackLeft",void 0),e([C],rp.prototype,"trackMinHeight",void 0),e([C],rp.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],rp.prototype,"min",void 0),e([Ee({converter:Oe})],rp.prototype,"max",void 0),e([Ee({converter:Oe})],rp.prototype,"step",void 0),e([Ee],rp.prototype,"orientation",void 0),e([Ee],rp.prototype,"mode",void 0);class ip extends ot{}class np extends(wd(ip)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ap extends np{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}e([Ee({attribute:"readonly",mode:"boolean"})],ap.prototype,"readOnly",void 0),e([C],ap.prototype,"defaultSlottedNodes",void 0);class sp extends ot{}class lp extends ot{}e([Ee({mode:"boolean"})],lp.prototype,"disabled",void 0),bt(lp,ut);const cp=rt;class dp extends ot{constructor(){super(...arguments),this.orientation=cp.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ct()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ct()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===cp.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=st(0,t.length-1,o+e),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([Ee],dp.prototype,"orientation",void 0),e([Ee],dp.prototype,"activeid",void 0),e([C],dp.prototype,"tabs",void 0),e([C],dp.prototype,"tabpanels",void 0),bt(dp,ut);const hp=_`
|
|
284
|
-
${
|
|
285
|
-
|
|
286
|
-
:host{--dialog-backdrop
|
|
287
|
-
${
|
|
288
|
-
|
|
289
|
-
:host{contain:content}:host::after,:host::before{align-self:center;background
|
|
290
|
-
:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),
|
|
291
|
-
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border
|
|
292
|
-
${
|
|
293
|
-
|
|
294
|
-
:host{font-family
|
|
295
|
-
:host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,
|
|
296
|
-
${
|
|
297
|
-
|
|
298
|
-
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background
|
|
299
|
-
${
|
|
300
|
-
|
|
301
|
-
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color
|
|
302
|
-
${
|
|
303
|
-
|
|
304
|
-
:host{align-items:center;height:2px;overflow-x:hidden;border-radius
|
|
305
|
-
to right
|
|
306
|
-
)}:host([validation-state='warning']) .determinate{background-color
|
|
307
|
-
to right
|
|
308
|
-
)}:host([validation-state='success']) .determinate{background-color
|
|
309
|
-
to right
|
|
310
|
-
)}.progress{background-color
|
|
311
|
-
to right
|
|
312
|
-
);border-radius
|
|
313
|
-
to right
|
|
314
|
-
);border-radius
|
|
315
|
-
.progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`)),
|
|
316
|
-
${
|
|
317
|
-
|
|
318
|
-
:host{grid-auto-flow:column;grid-template-columns:max-content;gap
|
|
319
|
-
:host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`)),
|
|
320
|
-
${
|
|
321
|
-
|
|
322
|
-
:host{align-items:flex-start;flex-direction:column;row-gap
|
|
323
|
-
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}((e,t,o,r)=>{for(var
|
|
324
|
-
${
|
|
325
|
-
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px)
|
|
326
|
-
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color
|
|
327
|
-
.track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`)),
|
|
328
|
-
${
|
|
329
|
-
|
|
330
|
-
:host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke
|
|
331
|
-
${
|
|
332
|
-
|
|
333
|
-
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color
|
|
334
|
-
.switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),
|
|
335
|
-
:host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=
|
|
336
|
-
:host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}
|
|
337
|
-
${
|
|
338
|
-
|
|
339
|
-
:host{box-sizing:border-box;font-family
|
|
340
|
-
:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const
|
|
341
|
-
${
|
|
342
|
-
|
|
343
|
-
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height
|
|
344
|
-
:host([aria-selected='true'])::after{background-color:Highlight}`)),
|
|
345
|
-
${
|
|
346
|
-
|
|
347
|
-
:host{box-sizing:border-box;padding
|
|
348
|
-
${
|
|
349
|
-
|
|
350
|
-
:host{contain:content}::slotted(*){font-family
|
|
351
|
-
${
|
|
352
|
-
|
|
353
|
-
:host{font-family
|
|
354
|
-
${
|
|
355
|
-
|
|
356
|
-
:host([aria-pressed="true"]) .control{border-color
|
|
357
|
-
:host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),Vb=Ob.compose({name:Tt.prefix+"-toggle-button",template:Rb,styles:Hb,shadowOptions:{delegatesFocus:!0}}),jb=Object.keys(cc),_b=e=>{for(const t of jb)cc[t].withDefault(e[t])},qb=(e,t)=>{for(const o of jb)cc[o].setValueFor(e,t[o])};export{xt as Accordion,Lt as AccordionItem,Ot as AccordionItemExpandIconPosition,Nt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,Gc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Rc as AvatarColor,Jc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Kc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Nd as Button,yc as ButtonAppearance,Dd as ButtonDefinition,xc as ButtonShape,kc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,_d as Checkbox,Ud as CheckboxDefinition,Wd as CheckboxLabelPosition,qd as CheckboxShape,Gd as CheckboxSize,Kd as CheckboxStyles,Xd as CheckboxTemplate,Yd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,ah as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,Th as Dialog,up as DialogDefinition,hp as DialogStyles,Ih as DialogTemplate,fp as Divider,mp as DividerAlignContent,vp as DividerAppearance,kp as DividerDefinition,Nu as DividerOrientation,Lu as DividerRole,xp as DividerStyles,yp as DividerTemplate,Tt as FluentDesignSystem,Cp as Image,Ip as ImageDefinition,Sp as ImageFit,Pp as ImageShape,Fp as ImageStyles,Tp as ImageTemplate,Np as Label,Ep as LabelDefinition,Op as LabelStyles,Dp as LabelTemplate,Vp as Menu,Gp as MenuButton,Wp as MenuButtonAppearance,Yp as MenuButtonDefinition,Xp as MenuButtonShape,Kp as MenuButtonSize,Sc as MenuButtonStyles,Up as MenuButtonTemplate,qp as MenuDefinition,Qp as MenuItem,tg as MenuItemDefinition,Du as MenuItemRole,eg as MenuItemStyles,Jp as MenuItemTemplate,og as MenuList,ng as MenuListDefinition,ig as MenuListStyles,rg as MenuListTemplate,_p as MenuStyles,jp as MenuTemplate,cg as ProgressBar,bg as ProgressBarDefinition,hg as ProgressBarShape,pg as ProgressBarStyles,gg as ProgressBarTemplate,dg as ProgressBarThickness,ug as ProgressBarValidationState,fg as Radio,yg as RadioDefinition,$g as RadioGroup,Cg as RadioGroupDefinition,Xu as RadioGroupOrientation,wg as RadioGroupStyles,Bg as RadioGroupTemplate,mg as RadioStyles,vg as RadioTemplate,Tg as Slider,zg as SliderDefinition,Zu as SliderOrientation,Fg as SliderSize,Ig as SliderStyles,Ag as SliderTemplate,Dg as Spinner,Eg as SpinnerAppearance,Vg as SpinnerDefinition,Mg as SpinnerSize,Hg as SpinnerStyles,Rg as SpinnerTemplate,qg as Switch,Kg as SwitchDefinition,Gg as SwitchLabelPosition,Xg as SwitchStyles,Wg as SwitchTemplate,ib as Tab,sb as TabDefinition,lb as TabPanel,hb as TabPanelDefinition,db as TabPanelStyles,cb as TabPanelTemplate,ab as TabStyles,nb as TabTemplate,eb as Tabs,Ug as TabsAppearance,rb as TabsDefinition,cp as TabsOrientation,Yg as TabsSize,ob as TabsStyles,tb as TabsTemplate,bb as Text,yb as TextAlign,$b as TextDefinition,mb as TextFont,Sb as TextInput,Tb as TextInputAppearance,Pb as TextInputControlSize,Ab as TextInputDefinition,Ib as TextInputStyles,Fb as TextInputTemplate,Vu as TextInputType,fb as TextSize,kb as TextStyles,xb as TextTemplate,vb as TextWeight,Ob as ToggleButton,Db as ToggleButtonAppearance,Vb as ToggleButtonDefinition,Eb as ToggleButtonShape,Mb as ToggleButtonSize,Hb as ToggleButtonStyles,Rb as ToggleButtonTemplate,Ft as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,kt as accordionTemplate,ao as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,no as borderRadiusXLarge,pn as colorBackgroundOverlay,bn as colorBrandBackground,wn as colorBrandBackground2,fn as colorBrandBackgroundHover,Bn as colorBrandBackgroundInverted,Cn as colorBrandBackgroundInvertedHover,Sn as colorBrandBackgroundInvertedPressed,Pn as colorBrandBackgroundInvertedSelected,mn as colorBrandBackgroundPressed,vn as colorBrandBackgroundSelected,$n as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,qr as colorBrandForegroundLink,Gr as colorBrandForegroundLinkHover,Wr as colorBrandForegroundLinkPressed,Xr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,xi as colorBrandForegroundOnLightPressed,ki as colorBrandForegroundOnLightSelected,sa as colorBrandShadowAmbient,la as colorBrandShadowKey,_n as colorBrandStroke1,qn as colorBrandStroke2,yn as colorCompoundBrandBackground,xn as colorCompoundBrandBackgroundHover,kn as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Gn as colorCompoundBrandStroke,Wn as colorCompoundBrandStrokeHover,Xn as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Fi as colorNeutralBackground2Selected,Ii as colorNeutralBackground3,Ai as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Li as colorNeutralBackground3Selected,Ni as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Mi as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,ji as colorNeutralBackground6,sn as colorNeutralBackgroundDisabled,_i as colorNeutralBackgroundInverted,ln as colorNeutralBackgroundInvertedDisabled,qi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Ar as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Lr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Kr as colorNeutralForeground2Link,Ur as colorNeutralForeground2LinkHover,Yr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Fr as colorNeutralForeground2Pressed,Ir as colorNeutralForeground2Selected,Nr as colorNeutralForeground3,Mr as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,jr as colorNeutralForegroundDisabled,ni as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,_r as colorNeutralForegroundInvertedDisabled,ai as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,ta as colorNeutralShadowAmbient,na as colorNeutralShadowAmbientDarker,ra as colorNeutralShadowAmbientLighter,oa as colorNeutralShadowKey,aa as colorNeutralShadowKeyDarker,ia as colorNeutralShadowKeyLighter,cn as colorNeutralStencil1,hn as colorNeutralStencil1Alpha,dn as colorNeutralStencil2,un as colorNeutralStencil2Alpha,zn as colorNeutralStroke1,Ln as colorNeutralStroke1Hover,Nn as colorNeutralStroke1Pressed,On as colorNeutralStroke1Selected,Dn as colorNeutralStroke2,En as colorNeutralStroke3,Tn as colorNeutralStrokeAccessible,Fn as colorNeutralStrokeAccessibleHover,In as colorNeutralStrokeAccessiblePressed,An as colorNeutralStrokeAccessibleSelected,Kn as colorNeutralStrokeDisabled,Un as colorNeutralStrokeInvertedDisabled,Mn as colorNeutralStrokeOnBrand,Rn as colorNeutralStrokeOnBrand2,Hn as colorNeutralStrokeOnBrand2Hover,Vn as colorNeutralStrokeOnBrand2Pressed,jn as colorNeutralStrokeOnBrand2Selected,Gl as colorPaletteAnchorBackground2,Xl as colorPaletteAnchorBorderActive,Wl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,Ga as colorPaletteBerryBackground1,Wa as colorPaletteBerryBackground2,Xa as colorPaletteBerryBackground3,Za as colorPaletteBerryBorder1,Ja as colorPaletteBerryBorder2,Qa as colorPaletteBerryBorderActive,Ka as colorPaletteBerryForeground1,Ua as colorPaletteBerryForeground2,Ya as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,nl as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ls as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ns as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Ms as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,ks as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,Gs as colorPaletteDarkGreenBackground2,Xs as colorPaletteDarkGreenBorderActive,Ws as colorPaletteDarkGreenForeground2,Pa as colorPaletteDarkOrangeBackground1,Ta as colorPaletteDarkOrangeBackground2,Fa as colorPaletteDarkOrangeBackground3,Na as colorPaletteDarkOrangeBorder1,Oa as colorPaletteDarkOrangeBorder2,La as colorPaletteDarkOrangeBorderActive,Ia as colorPaletteDarkOrangeForeground1,Aa as colorPaletteDarkOrangeForeground2,za as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,xs as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Rs as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,Is as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,As as colorPaletteGoldForeground2,kl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,va as colorPaletteGreenBackground1,ya as colorPaletteGreenBackground2,xa as colorPaletteGreenBackground3,Ca as colorPaletteGreenBorder1,Sa as colorPaletteGreenBorder2,Ba as colorPaletteGreenBorderActive,ka as colorPaletteGreenForeground1,$a as colorPaletteGreenForeground2,wa as colorPaletteGreenForeground3,Ul as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,as as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,ns as colorPaletteLightGreenForeground3,Ks as colorPaletteLightTealBackground2,Ys as colorPaletteLightTealBorderActive,Us as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Il as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Al as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Fs as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Fl as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,jl as colorPalettePlatinumBackground2,ql as colorPalettePlatinumBorderActive,_l as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Nl as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,xl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,ca as colorPaletteRedBackground1,da as colorPaletteRedBackground2,ha as colorPaletteRedBackground3,fa as colorPaletteRedBorder1,ma as colorPaletteRedBorder2,ba as colorPaletteRedBorderActive,ua as colorPaletteRedForeground1,pa as colorPaletteRedForeground2,ga as colorPaletteRedForeground3,Kl as colorPaletteRedForegroundInverted,al as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,js as colorPaletteSeafoamBackground2,qs as colorPaletteSeafoamBorderActive,_s as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Da as colorPaletteYellowBackground1,Ea as colorPaletteYellowBackground2,Ma as colorPaletteYellowBackground3,_a as colorPaletteYellowBorder1,qa as colorPaletteYellowBorder2,ja as colorPaletteYellowBorderActive,Ra as colorPaletteYellowForeground1,Ha as colorPaletteYellowForeground2,Va as colorPaletteYellowForeground3,Yl as colorPaletteYellowForegroundInverted,gn as colorScrollbarOverlay,Jn as colorStrokeFocus1,ea as colorStrokeFocus2,Gi as colorSubtleBackground,Wi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,en as colorSubtleBackgroundInvertedPressed,tn as colorSubtleBackgroundInvertedSelected,Ui as colorSubtleBackgroundLightAlphaHover,Yi as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Xi as colorSubtleBackgroundPressed,Ki as colorSubtleBackgroundSelected,on as colorTransparentBackground,rn as colorTransparentBackgroundHover,nn as colorTransparentBackgroundPressed,an as colorTransparentBackgroundSelected,Yn as colorTransparentStroke,Zn as colorTransparentStrokeDisabled,Qn as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,kr as curveEasyEase,xr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Fo as fontFamilyMonospace,Io as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,No as fontWeightBold,zo as fontWeightMedium,Ao as fontWeightRegular,Lo as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,xo as lineHeightBase300,ko as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,_b as setTheme,qb as setThemeFor,ec as shadow16,ac as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,nc as shadow8Brand,Wo as spacingHorizontalL,Go as spacingHorizontalM,qo as spacingHorizontalMNudge,Ro as spacingHorizontalNone,_o as spacingHorizontalS,jo as spacingHorizontalSNudge,Xo as spacingHorizontalXL,Vo as spacingHorizontalXS,Ko as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Uo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Yo as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,nr as spacingVerticalXXL,Qo as spacingVerticalXXS,ar as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Mo as strokeWidthThickest,Oo as strokeWidthThin};
|
|
283
|
+
var Ud=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].join(","),Kd="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qd=function(e){return"INPUT"===e.tagName},Zd=function(e){return function(e){return Qd(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||e.ownerDocument,r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!a||a===e}(e)},Jd=function(e,t){return!(t.disabled||function(e){return Qd(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var o=Kd.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Kd.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var r=e.getBoundingClientRect(),a=r.width,n=r.height;return 0===a&&0===n}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t))},eu=function(e,t){return!(!Jd(e,t)||Zd(t)||function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t}(t)<0)},tu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Kd.call(e,Ud)&&eu(t,e)};const ou="modal",ru="non-modal",au="alert";var nu=Object.defineProperty,iu=Object.getOwnPropertyDescriptor,su=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?iu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&nu(t,o,n),n};const lu=class extends ot{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=ou,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==au&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>lu.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),y.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),y.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==au||t==ou)}setComponent(){this.modalType==ou||this.modalType==au?this.trapFocus=!0:this.trapFocus=!1}show(){y.enqueue(()=>{this.modalType===au||this.modalType===ou?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===ru&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==au&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==au&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:tu(t)||lu.isFocusableFastElement(t)&&lu.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>lu.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>tu(e))}};let cu=lu;su([P],cu.prototype,"dialog",2),su([P],cu.prototype,"titleAction",2),su([P],cu.prototype,"defaultTitleAction",2),su([De({attribute:"aria-describedby"})],cu.prototype,"ariaDescribedby",2),su([De({attribute:"aria-labelledby"})],cu.prototype,"ariaLabelledby",2),su([De({attribute:"modal-type"})],cu.prototype,"modalType",2),su([De({mode:"boolean"})],cu.prototype,"open",2),su([De({mode:"boolean",attribute:"no-title-action"})],cu.prototype,"noTitleAction",2);const du=xe.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),uu=xe`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===au?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===ou||e.modalType===au?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${Be("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ae({property:"titleAction",filter:Ce()})} name="title-action"></slot>${Se(e=>e.modalType===ru&&0===e.titleAction.length&&!e.noTitleAction,xe`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${Be("defaultTitleAction")}>${du}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`;function hu(e){return e.split("-")[1]}function pu(e){return"y"===e?"height":"width"}function gu(e){return e.split("-")[0]}function vu(e){return["top","bottom"].includes(gu(e))?"x":"y"}function bu(e,t,o){let{reference:r,floating:a}=e;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,s=vu(t),l=pu(s),c=r[l]/2-a[l]/2,d="x"===s;let u;switch(gu(t)){case"top":u={x:n,y:r.y-a.height};break;case"bottom":u={x:n,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-a.width,y:i};break;default:u={x:r.x,y:r.y}}switch(hu(t)){case"start":u[s]-=c*(o&&d?-1:1);break;case"end":u[s]+=c*(o&&d?-1:1)}return u}function mu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function fu(e,t){var o;void 0===t&&(t={});const{x:r,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),v=s[h?"floating"===u?"reference":"floating":u],b=mu(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(v)))||o?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{...i.floating,x:r,y:a}:i.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),k=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},y=mu(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:f,strategy:l}):m);return{top:(b.top-y.top+g.top)/k.y,bottom:(y.bottom-b.bottom+g.bottom)/k.y,left:(b.left-y.left+g.left)/k.x,right:(y.right-b.right+g.right)/k.x}}const ku=Math.min,yu=Math.max;function xu(e,t,o){return yu(e,ku(t,o))}const $u=["top","right","bottom","left"];$u.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Bu={left:"right",right:"left",bottom:"top",top:"bottom"};function wu(e){return e.replace(/left|right|bottom|top/g,e=>Bu[e])}function Pu(e,t,o){void 0===o&&(o=!1);const r=hu(e),a=vu(e),n=pu(a);let i="x"===a?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=wu(i)),{main:i,cross:wu(i)}}const Su={start:"end",end:"start"};function Fu(e){return e.replace(/start|end/g,e=>Su[e])}const Cu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=e,b=gu(r),m=gu(i)===i,f=await(null==s.isRTL?void 0:s.isRTL(l.floating)),k=u||(m||!g?[wu(i)]:function(e){const t=wu(e);return[Fu(e),t,Fu(t)]}(i));u||"none"===p||k.push(...function(e,t,o,r){const a=hu(e);let n=function(e,t,o){const r=["left","right"],a=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:r:t?r:a;case"left":case"right":return t?n:i;default:return[]}}(gu(e),"start"===o,r);return a&&(n=n.map(e=>e+"-"+a),t&&(n=n.concat(n.map(Fu)))),n}(i,g,p,f));const y=[i,...k],x=await fu(t,v),$=[];let B=(null==(o=a.flip)?void 0:o.overflows)||[];if(c&&$.push(x[b]),d){const{main:e,cross:t}=Pu(r,n,f);$.push(x[e],x[t])}if(B=[...B,{placement:r,overflows:$}],!$.every(e=>e<=0)){var w,P;const e=((null==(w=a.flip)?void 0:w.index)||0)+1,t=y[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let o=null==(P=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!o)switch(h){case"bestFit":{var S;const e=null==(S=B.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=i}if(r!==o)return{reset:{placement:o}}}return{}}}};function Nu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Tu(e){return $u.some(t=>e[t]>=0)}const Au=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:a}=t;switch(o){case"referenceHidden":{const e=Nu(await fu(t,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Tu(e)}}}case"escaped":{const e=Nu(await fu(t,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:e,escaped:Tu(e)}}}default:return{}}}}};const Iu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await fu(t,l),u=vu(gu(a)),h=function(e){return"x"===e?"y":"x"}(u);let p=c[u],g=c[h];if(n){const e="y"===u?"bottom":"right";p=xu(p+d["y"===u?"top":"left"],p,p-d[e])}if(i){const e="y"===h?"bottom":"right";g=xu(g+d["y"===h?"top":"left"],g,g-d[e])}const v=s.fn({...t,[u]:p,[h]:g});return{...v,data:{x:v.x-o,y:v.y-r}}}}},zu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:a,elements:n}=t,{apply:i=(()=>{}),...s}=e,l=await fu(t,s),c=gu(o),d=hu(o),u="x"===vu(o),{width:h,height:p}=r.floating;let g,v;"top"===c||"bottom"===c?(g=c,v=d===(await(null==a.isRTL?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(v=c,g="end"===d?"top":"bottom");const b=p-l[g],m=h-l[v];let f=b,k=m;if(u?k=ku(h-l.right-l.left,m):f=ku(p-l.bottom-l.top,b),!t.middlewareData.shift&&!d){const e=yu(l.left,0),t=yu(l.right,0),o=yu(l.top,0),r=yu(l.bottom,0);u?k=h-2*(0!==e||0!==t?e+t:yu(l.left,l.right)):f=p-2*(0!==o||0!==r?o+r:yu(l.top,l.bottom))}await i({...t,availableWidth:k,availableHeight:f});const y=await a.getDimensions(n.floating);return h!==y.width||p!==y.height?{reset:{rects:!0}}:{}}}};function Lu(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hu(e){return Lu(e).getComputedStyle(e)}const Ou=Math.min,Du=Math.max,Mu=Math.round;function Eu(e){const t=Hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const a=e.offsetWidth,n=e.offsetHeight,i=Mu(o)!==a||Mu(r)!==n;return i&&(o=a,r=n),{width:o,height:r,fallback:i}}function Ru(e){return Xu(e)?(e.nodeName||"").toLowerCase():""}let ju;function Vu(){if(ju)return ju;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ju=e.brands.map(e=>e.brand+"/"+e.version).join(" "),ju):navigator.userAgent}function Gu(e){return e instanceof Lu(e).HTMLElement}function _u(e){return e instanceof Lu(e).Element}function Xu(e){return e instanceof Lu(e).Node}function Wu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Lu(e).ShadowRoot||e instanceof ShadowRoot)}function qu(e){const{overflow:t,overflowX:o,overflowY:r,display:a}=Hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function Yu(e){return["table","td","th"].includes(Ru(e))}function Uu(e){const t=/firefox/i.test(Vu()),o=Hu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Ku(){return/^((?!chrome|android).)*safari/i.test(Vu())}function Qu(e){return["html","body","#document"].includes(Ru(e))}function Zu(e){return _u(e)?e:e.contextElement}const Ju={x:1,y:1};function eh(e){const t=Zu(e);if(!Gu(t))return Ju;const o=t.getBoundingClientRect(),{width:r,height:a,fallback:n}=Eu(t);let i=(n?Mu(o.width):o.width)/r,s=(n?Mu(o.height):o.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function th(e,t,o,r){var a,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const i=e.getBoundingClientRect(),s=Zu(e);let l=Ju;t&&(r?_u(r)&&(l=eh(r)):l=eh(e));const c=s?Lu(s):window,d=Ku()&&o;let u=(i.left+(d&&(null==(a=c.visualViewport)?void 0:a.offsetLeft)||0))/l.x,h=(i.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=i.width/l.x,g=i.height/l.y;if(s){const e=Lu(s),t=r&&_u(r)?Lu(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=eh(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,u*=e.x,h*=e.y,p*=e.x,g*=e.y,u+=t.x,h+=t.y,o=Lu(o).frameElement}}return{width:p,height:g,top:h,right:u+p,bottom:h+g,left:u,x:u,y:h}}function oh(e){return((Xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function rh(e){return _u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ah(e){return th(oh(e)).left+rh(e).scrollLeft}function nh(e){if("html"===Ru(e))return e;const t=e.assignedSlot||e.parentNode||Wu(e)&&e.host||oh(e);return Wu(t)?t.host:t}function ih(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=nh(t);return Qu(o)?o.ownerDocument.body:Gu(o)&&qu(o)?o:e(o)}(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),n=Lu(r);return a?t.concat(n,n.visualViewport||[],qu(r)?r:[]):t.concat(r,ih(r))}function sh(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Lu(e),r=oh(e),a=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=Ku();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:n,height:i,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=oh(e),o=rh(e),r=e.ownerDocument.body,a=Du(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=Du(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+ah(e);const s=-o.scrollTop;return"rtl"===Hu(r).direction&&(i+=Du(t.clientWidth,r.clientWidth)-a),{width:a,height:n,x:i,y:s}}(oh(e));else if(_u(t))r=function(e,t){const o=th(e,!0,"fixed"===t),r=o.top+e.clientTop,a=o.left+e.clientLeft,n=Gu(e)?eh(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:r*n.y}}(t,o);else{const o={...t};if(Ku()){var a,n;const t=Lu(e);o.x-=(null==(a=t.visualViewport)?void 0:a.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return mu(r)}function lh(e,t){return Gu(e)&&"fixed"!==Hu(e).position?t?t(e):e.offsetParent:null}function ch(e,t){const o=Lu(e);let r=lh(e,t);for(;r&&Yu(r)&&"static"===Hu(r).position;)r=lh(r,t);return r&&("html"===Ru(r)||"body"===Ru(r)&&"static"===Hu(r).position&&!Uu(r))?o:r||function(e){let t=nh(e);for(;Gu(t)&&!Qu(t);){if(Uu(t))return t;t=nh(t)}return null}(e)||o}function dh(e,t,o){const r=Gu(t),a=oh(t),n=th(e,!0,"fixed"===o,t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==Ru(t)||qu(a))&&(i=rh(t)),Gu(t)){const e=th(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=ah(a));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const uh={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:a}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=ih(e).filter(e=>_u(e)&&"body"!==Ru(e)),a=null;const n="fixed"===Hu(e).position;let i=n?nh(e):e;for(;_u(i)&&!Qu(i);){const e=Hu(i),t=Uu(i);(n?t||a:t||"static"!==e.position||!a||!["absolute","fixed"].includes(a.position))?a=e:r=r.filter(e=>e!==i),i=nh(i)}return t.set(e,r),r}(t,this._c):[].concat(o),r],i=n[0],s=n.reduce((e,o)=>{const r=sh(t,o,a);return e.top=Du(r.top,e.top),e.right=Ou(r.right,e.right),e.bottom=Ou(r.bottom,e.bottom),e.left=Du(r.left,e.left),e},sh(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const a=Gu(o),n=oh(o);if(o===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==Ru(o)||qu(n))&&(i=rh(o)),Gu(o))){const e=th(o);s=eh(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:_u,getDimensions:function(e){return Gu(e)?Eu(e):e.getBoundingClientRect()},getOffsetParent:ch,getDocumentElement:oh,getScale:eh,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const a=this.getOffsetParent||ch,n=this.getDimensions;return{reference:dh(t,await a(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Hu(e).direction};function hh(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:s=!1}=r,l=a&&!s,c=l||n?[..._u(e)?ih(e):e.contextElement?ih(e.contextElement):[],...ih(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,u=null;if(i){let r=!0;u=new ResizeObserver(()=>{r||o(),r=!1}),_u(e)&&!s&&u.observe(e),_u(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t)}let h=s?th(e):null;return s&&function t(){const r=th(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||o(),h=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(d)}}const ph=(e,t,o)=>{const r=new Map,a={platform:uh,...o},n={...a.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=o,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=bu(c,r,l),h=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:v}=s[o],{x:b,y:m,data:f,reset:k}=await v({x:d,y:u,initialPlacement:r,placement:h,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=m?m:u,p={...p,[n]:{...p[n],...f}},k&&g<=50&&(g++,"object"==typeof k&&(k.placement&&(h=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):k.rects),({x:d,y:u}=bu(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})},gh={separator:"separator",presentation:"presentation"},vh=rt;class bh extends ot{constructor(){super(...arguments),this.role=gh.separator,this.orientation=vh.horizontal}}e([De],bh.prototype,"role",void 0),e([De],bh.prototype,"orientation",void 0);const mh={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class fh extends ot{constructor(){super(...arguments),this.role=mh.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case mh.menuitemcheckbox:this.checked=!this.checked;break;case mh.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case mh.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&y.enqueue(()=>{this.cleanup=hh(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield ph(this,this.submenuContainer,{middleware:[Iu(),zu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Cu({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([De({mode:"boolean"})],fh.prototype,"disabled",void 0),e([De({mode:"boolean"})],fh.prototype,"expanded",void 0),e([De],fh.prototype,"role",void 0),e([De({mode:"boolean"})],fh.prototype,"checked",void 0),e([De({mode:"boolean"})],fh.prototype,"hidden",void 0),e([P],fh.prototype,"slottedSubmenu",void 0),e([P],fh.prototype,"submenu",void 0),vt(fh,ht);class kh extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&at(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===mh.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===mh.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof fh||at(e)&&e.getAttribute("role")in kh.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),y.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),w.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>w.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}kh.focusableElementRoles=mh,e([P],kh.prototype,"items",void 0);class yh extends ot{}class xh extends(rd(yh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const $h={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class Bh extends xh{constructor(){super(...arguments),this.type=$h.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&y.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}e([De({attribute:"readonly",mode:"boolean"})],Bh.prototype,"readOnly",void 0),e([De({mode:"boolean"})],Bh.prototype,"autofocus",void 0),e([De],Bh.prototype,"placeholder",void 0),e([De],Bh.prototype,"type",void 0),e([De],Bh.prototype,"list",void 0),e([De({converter:He})],Bh.prototype,"maxlength",void 0),e([De({converter:He})],Bh.prototype,"minlength",void 0),e([De],Bh.prototype,"pattern",void 0),e([De({converter:He})],Bh.prototype,"size",void 0),e([De({mode:"boolean"})],Bh.prototype,"spellcheck",void 0),e([P],Bh.prototype,"defaultSlottedNodes",void 0);class wh{}vt(wh,dt),vt(Bh,ht,wh);class Ph extends ot{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)}}e([De({converter:He})],Ph.prototype,"value",void 0),e([De({converter:He})],Ph.prototype,"min",void 0),e([De({converter:He})],Ph.prototype,"max",void 0),e([P],Ph.prototype,"percentComplete",void 0);class Sh extends Ph{}class Fh extends Ph{}const Ch=rt;class Nh extends ot{}class Th extends(ad(Nh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ah extends Th{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}e([P],Ah.prototype,"name",void 0),e([P],Ah.prototype,"defaultSlottedNodes",void 0);class Ih extends ot{constructor(){super(...arguments),this.orientation=Ch.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,a=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===a&&r===a||a===t.length-1&&a===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Ah&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in nt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===it.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===it.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=$t(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}e([De({attribute:"readonly",mode:"boolean"})],Ih.prototype,"readOnly",void 0),e([De({attribute:"disabled",mode:"boolean"})],Ih.prototype,"disabled",void 0),e([De],Ih.prototype,"name",void 0),e([De],Ih.prototype,"value",void 0),e([De],Ih.prototype,"orientation",void 0),e([P],Ih.prototype,"childItems",void 0),e([P],Ih.prototype,"slottedRadioButtons",void 0);const zh=rt,Lh="single-value";function Hh(e,t,o,r){let a=st(0,1,(e-t)/(o-t));return r===it.rtl&&(a=1-a),a}class Oh extends ot{}class Dh extends(rd(Oh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Mh extends Dh{constructor(){super(...arguments),this.direction=it.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Lh,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=st(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==it.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-Hh(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Hh(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}e([De({attribute:"readonly",mode:"boolean"})],Mh.prototype,"readOnly",void 0),e([P],Mh.prototype,"direction",void 0),e([P],Mh.prototype,"isDragging",void 0),e([P],Mh.prototype,"position",void 0),e([P],Mh.prototype,"trackWidth",void 0),e([P],Mh.prototype,"trackMinWidth",void 0),e([P],Mh.prototype,"trackHeight",void 0),e([P],Mh.prototype,"trackLeft",void 0),e([P],Mh.prototype,"trackMinHeight",void 0),e([P],Mh.prototype,"valueTextFormatter",void 0),e([De({converter:He})],Mh.prototype,"min",void 0),e([De({converter:He})],Mh.prototype,"max",void 0),e([De({converter:He})],Mh.prototype,"step",void 0),e([De],Mh.prototype,"orientation",void 0),e([De],Mh.prototype,"mode",void 0);class Eh extends ot{}class Rh extends(ad(Eh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class jh extends Rh{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}e([De({attribute:"readonly",mode:"boolean"})],jh.prototype,"readOnly",void 0),e([P],jh.prototype,"defaultSlottedNodes",void 0);class Vh extends ot{}class Gh extends ot{}e([De({mode:"boolean"})],Gh.prototype,"disabled",void 0),vt(Gh,ht);const _h=rt;class Xh extends ot{constructor(){super(...arguments),this.orientation=_h.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ct()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ct()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===_h.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=st(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([De],Xh.prototype,"orientation",void 0),e([De],Xh.prototype,"activeid",void 0),e([P],Xh.prototype,"tabs",void 0),e([P],Xh.prototype,"tabpanels",void 0),vt(Xh,ht);const Wh=G`
|
|
284
|
+
${Pt("flex")}
|
|
285
|
+
|
|
286
|
+
:host{--dialog-backdrop:var(${"--colorBackgroundOverlay"})}dialog{background:var(${Oo});border:var(${ol}) solid var(${"--colorTransparentStroke"});z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:var(${"--borderRadiusXLarge"});box-shadow:var(${"--shadow64"});max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:var(${"--spacingVerticalXXL"}) var(${"--spacingHorizontalXXL"})}.title{font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"});font-weight:var(${Is});font-family:var(${ms});color:var(${Ot});margin-bottom:var(${xl});display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:var(${Ot});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});font-family:var(${ms});overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:var(${xl});padding-top:var(${"--spacingVerticalXXL"});justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:var(${dl});padding-top:var(${xl});box-sizing:border-box}}`,qh=cu.compose({name:Ct.prefix+"-dialog",template:uu,styles:Wh});var Yh=Object.defineProperty,Uh=Object.getOwnPropertyDescriptor,Kh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Uh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Yh(t,o,n),n};class Qh extends bh{}Kh([De({attribute:"align-content"})],Qh.prototype,"alignContent",2),Kh([De],Qh.prototype,"appearance",2),Kh([De({mode:"boolean"})],Qh.prototype,"inset",2);const Zh={center:"center",start:"start",end:"end"},Jh={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},ep=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==gh.presentation?e.orientation:void 0}"><slot></slot></template>`,tp=G`
|
|
287
|
+
${Pt("flex")}
|
|
288
|
+
|
|
289
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:var(${"--colorNeutralStroke2"});box-sizing:border-box;content:'';display:flex;flex-grow:1;height:var(${ol})}:host([inset]){padding:0 12px}:host ::slotted(*){color:var(${"--colorNeutralForeground2"});font-family:var(${ms});font-size:var(${xs});font-weight:var(${Ts});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:var(${ol});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:var(${"--colorNeutralStroke1"})}:host([appearance='strong']) ::slotted(*){color:var(${Ot})}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:var(${"--colorBrandStroke1"})}:host([appearance='brand']) ::slotted(*){color:var(${"--colorBrandForeground1"})}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:var(${"--colorNeutralStroke3"})}:host([appearance='subtle']) ::slotted(*){color:var(${qt})}`.withBehaviors(wt(G`
|
|
290
|
+
:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),op=Qh.compose({name:Ct.prefix+"-divider",template:ep,styles:tp});var rp=Object.defineProperty,ap=Object.getOwnPropertyDescriptor,np=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ap(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&rp(t,o,n),n};class ip extends ot{}np([De({mode:"boolean"})],ip.prototype,"block",2),np([De({mode:"boolean"})],ip.prototype,"bordered",2),np([De({mode:"boolean"})],ip.prototype,"shadow",2),np([De],ip.prototype,"fit",2),np([De],ip.prototype,"shape",2);const sp={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},lp={circular:"circular",rounded:"rounded",square:"square"},cp=xe`<slot></slot>`,dp=G`
|
|
291
|
+
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:var(${ol}) solid var(${"--colorNeutralStroke2"})}: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:var(${Xs})}:host([shape='circular']) ::slotted(img){border-radius:var(${bs})}:host([shape='rounded']) ::slotted(img){border-radius:var(${ps})}`,up=ip.compose({name:Ct.prefix+"-image",template:cp,styles:dp});var hp=Object.defineProperty,pp=Object.getOwnPropertyDescriptor,gp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?pp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&hp(t,o,n),n};class vp extends ot{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}gp([De],vp.prototype,"size",2),gp([De],vp.prototype,"weight",2),gp([De({mode:"boolean"})],vp.prototype,"disabled",2),gp([De({mode:"boolean"})],vp.prototype,"required",2);const bp=G`
|
|
292
|
+
${Pt("flex")}
|
|
293
|
+
|
|
294
|
+
:host{font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});color:var(${Ot})}.asterisk{color:var(${"--colorPaletteRedForeground1"});margin-left:var(${ll})}:host([size='small']){font-size:var(${xs});line-height:var(${Hs})}:host([size='large']){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"});font-weight:var(${Is})}:host([weight='semibold']){font-weight:var(${Is})}:host([disabled]),:host([disabled]) .asterisk{color:var(${to})}`;const mp=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,fp=vp.compose({name:Ct.prefix+"-label",template:mp,styles:bp});var kp=Object.defineProperty,yp=Object.getOwnPropertyDescriptor,xp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?yp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&kp(t,o,n),n};class $p extends ot{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),y.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&y.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&y.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&y.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=hh(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:a}=await ph(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[Cu(),zu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),Au()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${a}px)`})}))}addListeners(){var e,t,o,r,a;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,a;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}xp([P,De({attribute:"open-on-hover",mode:"boolean"})],$p.prototype,"openOnHover",2),xp([P,De({attribute:"open-on-context",mode:"boolean"})],$p.prototype,"openOnContext",2),xp([P,De({attribute:"close-on-scroll",mode:"boolean"})],$p.prototype,"closeOnScroll",2),xp([P,De({attribute:"persist-on-item-click",mode:"boolean"})],$p.prototype,"persistOnItemClick",2),xp([P,De({mode:"boolean"})],$p.prototype,"open",2),xp([P],$p.prototype,"slottedMenuList",2),xp([P],$p.prototype,"slottedTriggers",2);const Bp=xe`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Ae({property:"slottedTriggers",filter:Ce()})}></slot><span ${Be("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Ae({property:"slottedMenuList",filter:Ce()})}></slot></span></template>`,wp=G`
|
|
295
|
+
:host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Pp=$p.compose({name:Ct.prefix+"-menu",template:Bp,styles:wp});class Sp extends vd{}const Fp=ec,Cp=tc,Np=oc,Tp=ud({end:xe.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Ap=Sp.compose({name:Ct.prefix+"-menu-button",template:Tp,styles:sc,shadowOptions:{delegatesFocus:!0}});class Ip extends fh{}const zp=xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Lp=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==mh.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${Se(e=>e.role===mh.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ut(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===mh.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ut(e.radioIndicator)}</slot></span></div>`)}</div>${gt(e)}<span class="content" part="content"><slot></slot></span>${pt(e)} ${Se(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${ut(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${Be("submenuContainer")}><slot name="submenu" ${Ae({property:"slottedSubmenu",filter:Ce("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:zp,expandCollapseGlyph:xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:zp}),Hp=G`
|
|
296
|
+
${Pt("grid")}
|
|
297
|
+
|
|
298
|
+
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:var(${Oo});font:var(${Ts}) var(${$s}) / var(${Os}) var(${ms});border-radius:var(${ps});color:var(${"--colorNeutralForeground2"});padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:var(${"--colorNeutralBackground1Hover"})}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:var(${"--colorNeutralForeground2"})}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:var(${"--fontSizeBase500"});width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:var(${qt});font:var(${Ts}) var(${xs}) / var(${Hs}) var(${ms});white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:var(${"--colorNeutralForeground2Hover"})}:host([icon]:hover) ::slotted([slot='start']){color:var(${"--colorCompoundBrandForeground1Hover"})}:host(:active){background-color:var(${"--colorNeutralBackground1Selected"})}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:var(${"--colorNeutralForeground2Pressed"})}:host(:active) ::slotted([slot='start']){color:var(${"--colorCompoundBrandForeground1Pressed"})}:host([disabled]){background-color:var(${"--colorNeutralBackgroundDisabled"})}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:var(${to})}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,Op=Ip.compose({name:Ct.prefix+"-menu-item",template:Lp,styles:Hp});class Dp extends kh{setItems(){var e;super.setItems();const t=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=Dp.elementIndent(t);return Math.max(e,o)},0);e instanceof Ip&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==mh.menuitem?o?2:1:o?1:0}}const Mp=xe`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ae("items")}></slot></template>`,Ep=G`
|
|
299
|
+
${Pt("flex")}
|
|
300
|
+
|
|
301
|
+
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:var(${Oo});border:1px solid var(${"--colorTransparentStroke"});border-radius:var(${ps});box-shadow:var(${"--shadow16"});padding:4px;row-gap:2px}`,Rp=Dp.compose({name:Ct.prefix+"-menu-list",template:Mp,styles:Ep});var jp=Object.defineProperty,Vp=Object.getOwnPropertyDescriptor,Gp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Vp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&jp(t,o,n),n};class _p extends Fh{constructor(){super(...arguments),this.validationState=null}}Gp([De],_p.prototype,"thickness",2),Gp([De],_p.prototype,"shape",2),Gp([De({attribute:"validation-state"})],_p.prototype,"validationState",2);const Xp={medium:"medium",large:"large"},Wp={rounded:"rounded",square:"square"},qp={success:"success",warning:"warning",error:"error"},Yp=G`
|
|
302
|
+
${Pt("flex")}
|
|
303
|
+
|
|
304
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:var(${ps});contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:var(${"--colorPaletteRedBackground3"})}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
305
|
+
to right,var(${"--colorPaletteRedBackground2"}) 0%,var(${"--colorPaletteRedBackground3"}) 50%,var(${"--colorPaletteRedBackground2"})
|
|
306
|
+
)}:host([validation-state='warning']) .determinate{background-color:var(${"--colorPaletteDarkOrangeBackground3"})}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
307
|
+
to right,var(${"--colorPaletteDarkOrangeBackground2"}) 0%,var(${"--colorPaletteDarkOrangeBackground3"}) 50%,var(${"--colorPaletteDarkOrangeBackground2"})
|
|
308
|
+
)}:host([validation-state='success']) .determinate{background-color:var(${"--colorPaletteGreenBackground3"})}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
309
|
+
to right,var(${"--colorPaletteGreenBackground2"}) 0%,var(${"--colorPaletteGreenBackground3"}) 50%,var(${"--colorPaletteGreenBackground2"})
|
|
310
|
+
)}.progress{background-color:var(${"--colorNeutralBackground6"});border-radius:var(${ps});width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:var(${"--colorCompoundBrandBackground"});border-radius:var(${ps});height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
311
|
+
to right,var(${"--colorBrandBackground2"}) 0%,var(${"--colorCompoundBrandBackground"}) 50%,var(${"--colorBrandBackground2"})
|
|
312
|
+
);border-radius:var(${ps});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(
|
|
313
|
+
to right,var(${"--colorBrandBackground2"}) 0%,var(${"--colorCompoundBrandBackground"}) 50%,var(${"--colorBrandBackground2"})
|
|
314
|
+
);border-radius:var(${ps});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}}`.withBehaviors(wt(G`
|
|
315
|
+
.progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`)),Up=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${ut(e.indeterminateIndicator1)} ${ut(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>'}),Kp=_p.compose({name:Ct.prefix+"-progress-bar",template:Up,styles:Yp});class Qp extends Ah{}const Zp=G`
|
|
316
|
+
${Pt("inline-grid")}
|
|
317
|
+
|
|
318
|
+
:host{grid-auto-flow:column;grid-template-columns:max-content;gap:var(${ll});align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,var(${qt}));padding-inline-end:var(${dl});--control-border-color:var(${"--colorNeutralStrokeAccessible"});--checked-indicator-background-color:var(${"--colorCompoundBrandForeground1"});--state-color:var(${qt})}:host([disabled]){--control-border-color:var(${to});--checked-indicator-background-color:var(${to});--state-color:var(${to})}.label{cursor:pointer;font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os})}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,var(${"--colorNeutralStrokeAccessible"}));border-radius:var(${bs});display:flex;height:16px;justify-content:center;margin:var(${xl}) var(${dl});position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:var(${bs});height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:var(${"--colorNeutralForeground2"})}:host(:focus-visible){border-radius:var(${hs});box-shadow:0 0 0 3px var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}:host(:hover) .control{border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .control{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,var(${"--colorNeutralStrokeAccessible"}))}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,var(${"--colorCompoundBrandForeground1"}))}:host([aria-checked='true']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']:hover) .checked-indicator{background-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']:active) .control{border-color:var(${"--colorCompoundBrandStrokePressed"})}:host([aria-checked='true']:active) .checked-indicator{background:var(${"--colorCompoundBrandForeground1Pressed"})}:host([disabled]){color:var(${to});pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:var(${to})}:host([disabled]) .checked-indicator{background:var(${to})}`.withBehaviors(wt(G`
|
|
319
|
+
:host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`)),Jp=function(e={}){return xe`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ut(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),eg=Qp.compose({name:Ct.prefix+"-radio",template:Jp,styles:Zp});var tg=Object.defineProperty,og=Object.getOwnPropertyDescriptor;class rg extends Ih{constructor(){super(...arguments),this.stacked=!1}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?og(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&tg(t,o,n)})([De({mode:"boolean"})],rg.prototype,"stacked",2);const ag=G`
|
|
320
|
+
${Pt("flex")}
|
|
321
|
+
|
|
322
|
+
:host{align-items:flex-start;flex-direction:column;row-gap:var(${xl})}:host([disabled]) ::slotted([role='radio']){--control-border-color:var(${to});--checked-indicator-background-color:var(${to});--state-color:var(${to})}::slotted([slot='label']){color:var(${Ot});padding:var(${xl}) var(${dl}) var(${xl}) var(${ll});font:var(${Ts}) var(${$s}) / var(${Os}) var(${ms});cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:var(${dl})}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:var(${dl});height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,ng=xe`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===Ch.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ae({property:"slottedRadioButtons",filter:Ce("[role=radio]")})}></slot></div></template>`,ig=rg.compose({name:Ct.prefix+"-radio-group",template:ng,styles:ag});var sg=Object.defineProperty,lg=Object.getOwnPropertyDescriptor;class cg extends Mh{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),w.getNotifier(this).subscribe(this,"max"),w.getNotifier(this).subscribe(this,"min"),w.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),w.getNotifier(this).unsubscribe(this,"max"),w.getNotifier(this).unsubscribe(this,"min"),w.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=G`
|
|
323
|
+
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?lg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&sg(t,o,n)})([De],cg.prototype,"size",2);const dg={small:"small",medium:"medium"},ug=G`
|
|
324
|
+
${Pt("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:var(${hs});touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:var(${"--colorBrandBackground"});border-radius:var(${bs});box-shadow:inset 0 0 0 var(--thumb-padding) var(${Oo}),0 0 0 1px var(${"--colorNeutralStroke1"})}.thumb-cursor:hover{background-color:var(${"--colorCompoundBrandBackgroundHover"})}.thumb-cursor:active{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([disabled]) .thumb-cursor{background-color:var(${to});box-shadow:inset 0 0 0 var(--thumb-padding) var(${Oo}),0 0 0 1px var(${"--colorNeutralStrokeDisabled"})}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:var(${"--colorNeutralStrokeAccessible"});border-radius:var(${ps});overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:var(${ps});width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
325
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),var(${Oo}) calc(var(--step-rate) - 1px),var(${Oo}) var(--step-rate)
|
|
326
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:var(${"--colorNeutralBackgroundDisabled"})}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:var(${"--colorCompoundBrandBackground"});position:absolute;height:100%;left:0;border-radius:var(${ps})}:host([disabled]) .track-start{background-color:var(${to})}:host(:hover) .track-start{background-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([disabled]:hover) .track-start{background-color:var(${to})}.track-start:active{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(wt(G`
|
|
327
|
+
.track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`)),hg=function(e={}){return xe`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${Be("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${Be("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${ut(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),pg=cg.compose({name:Ct.prefix+"-slider",template:hg,styles:ug});var gg=Object.defineProperty,vg=Object.getOwnPropertyDescriptor,bg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?vg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&gg(t,o,n),n};class mg extends Sh{}bg([De],mg.prototype,"size",2),bg([De],mg.prototype,"appearance",2);const fg={primary:"primary",inverted:"inverted"},kg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},yg=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,xe`<slot name="indeterminate">${ut(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 '}),xg=G`
|
|
328
|
+
${Pt("flex")}
|
|
329
|
+
|
|
330
|
+
:host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:var(${"--colorBrandStroke2"});stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:var(${"--colorBrandStroke1"});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:var(${"--colorNeutralStrokeOnBrand2"})}.indeterminate-indicator-1{stroke:var(${"--colorBrandStroke1"});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:var(${"--colorNeutralStrokeOnBrand2"})}@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)}}`,$g=mg.compose({name:Ct.prefix+"-spinner",template:yg,styles:xg});var Bg=Object.defineProperty,wg=Object.getOwnPropertyDescriptor;class Pg extends jh{}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?wg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&Bg(t,o,n)})([De({attribute:"label-position"})],Pg.prototype,"labelPosition",2);const Sg={above:"above",after:"after",before:"before"},Fg=function(e={}){return xe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${ut(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Cg=G`
|
|
331
|
+
${Pt("inline-flex")}
|
|
332
|
+
|
|
333
|
+
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:var(${Ot});line-height:var(${Os});font-size:var(${$s});font-weight:var(${Ts});font-family:var(${ms});padding:var(${"--spacingVerticalXS"}) var(${ll});cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 var(${"--spacingHorizontalXXS"});box-sizing:border-box;width:40px;height:20px;background-color:var(${"--colorTransparentBackground"});border:1px solid var(${"--colorNeutralStrokeAccessible"});border-radius:var(${bs});outline:none;cursor:pointer;margin:var(${xl}) var(${dl})}:host(:hover) .switch{background:none;border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .switch{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid var(${"--colorNeutralStrokeDisabled"});background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:var(${"--colorCompoundBrandBackground"})}:host([aria-checked='true']:hover) .switch{background:var(${"--colorCompoundBrandBackgroundHover"});border-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([aria-checked='true']:active) .switch{background:var(${"--colorCompoundBrandBackgroundPressed"});border-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([aria-checked='true'][disabled]) .switch{background:var(${"--colorNeutralBackgroundDisabled"});border-color:var(${"--colorNeutralStrokeDisabled"})}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:var(${qt});transition-duration:var(${"--durationNormal"});transition-timing-function:var(${"--curveEasyEase"});transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:var(${"--colorNeutralForegroundInverted"});margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:var(${"--colorNeutralForegroundInvertedHover"})}:host([aria-checked='true']:active) .checked-indicator{background:var(${"--colorNeutralForegroundInvertedPressed"})}:host(:hover) .checked-indicator{background-color:var(${"--colorNeutralForeground3Hover"})}:host(:active) .checked-indicator{background-color:var(${"--colorNeutralForeground3Pressed"})}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:var(${to})}:host([aria-checked='true'][disabled]) .checked-indicator{background:var(${to})}:host(:focus-visible){border-color:var(${"--colorTransparentStroke"});outline:var(${"--strokeWidthThick"}) solid var(${"--colorTransparentStroke"});box-shadow:var(${Xs}),0 0 0 2px var(${"--colorStrokeFocus2"})}`.withBehaviors(wt(G`
|
|
334
|
+
.switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),Ng=Pg.compose({name:Ct.prefix+"-switch",template:Fg,styles:Cg}),Tg={subtle:"subtle",transparent:"transparent"},Ag={small:"small",medium:"medium",large:"large"};var Ig=Object.defineProperty,zg=Object.getOwnPropertyDescriptor,Lg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?zg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ig(t,o,n),n};class Hg extends Xh{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Tg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===_h.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===_h.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const a=this.tabs,n=this.activetab||a[0],i=null==n?void 0:n.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=G`
|
|
335
|
+
:host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=G`
|
|
336
|
+
:host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Lg([De],Hg.prototype,"appearance",2),Lg([De({mode:"boolean"})],Hg.prototype,"disabled",2),Lg([De],Hg.prototype,"size",2);const Og=function(e={}){return xe` ${gt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ae("tabs")}></slot></div>${pt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ae("tabpanels")}></slot></div>`}({}),Dg=G`
|
|
337
|
+
${Pt("grid")}
|
|
338
|
+
|
|
339
|
+
:host{box-sizing:border-box;font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});color:var(${"--colorNeutralForeground2"});grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:var(${to})}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:var(${to})}:host([disabled]) ::slotted(fluent-tab:after){background-color:var(${to})}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:var(${to})}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:var(${ps})}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:var(${to})}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground1Hover"});fill:var(${"--colorCompoundBrandForeground1Hover"})}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:var(${"--colorSubtleBackgroundPressed"});fill:var(${"--colorSubtleBackgroundPressed"});color:var(${Ot})}:host([size='small']) ::slotted(fluent-tab){font-size:var(${$s});line-height:var(${Os});padding:var(${"--spacingVerticalSNudge"}) var(${"--spacingHorizontalSNudge"})}:host([size='large']) ::slotted(fluent-tab){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"});padding:var(${"--spacingVerticalL"}) var(${"--spacingHorizontalMNudge"})}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:var(${"--durationSlow"});transition-timing-function:var(${"--curveDecelerateMax"})}:host ::slotted(fluent-tab)::after{height:var(${"--strokeWidthThicker"});margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:var(${"--strokeWidthThicker"});height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:var(${"--strokeWidthThicker"});border-radius:var(${bs});content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:var(${"--strokeWidthThicker"});margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:var(${"--strokeWidthThicker"});margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:var(${"--strokeWidthThicker"})}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:var(${"--spacingVerticalSNudge"});padding-bottom:var(${"--spacingVerticalSNudge"})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:var(${"--spacingVerticalXXS"});padding-bottom:var(${"--spacingVerticalXXS"})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:var(${xl});padding-bottom:var(${xl})}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalSNudge"});left:var(${"--spacingHorizontalSNudge"})}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalMNudge"});left:var(${"--spacingHorizontalMNudge"})}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalMNudge"});left:var(${"--spacingHorizontalMNudge"})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${"--spacingVerticalSNudge"});bottom:var(${"--spacingVerticalSNudge"})}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${xl});bottom:var(${xl})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${"--spacingVerticalMNudge"});bottom:var(${"--spacingVerticalMNudge"})}`,Mg=Hg.compose({name:Ct.prefix+"-tabs",template:Og,styles:Dg});class Eg extends Gh{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=G`
|
|
340
|
+
:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Rg=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${gt(e)}<span class="tab-content"><slot></slot></span>${pt(e)}</template>`}({}),jg=G`
|
|
341
|
+
${Pt("inline-flex")}
|
|
342
|
+
|
|
343
|
+
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:var(${Os});font-family:var(${ms});font-size:var(${$s});color:var(${"--colorNeutralForeground2"});fill:currentcolor;grid-row:1;padding:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"});border-radius:var(${ps})}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:var(${Ot});font-weight:var(${Is})}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:var(${Os});font-weight:var(${Is})}:host([aria-selected='true'])::after{background-color:var(${"--colorCompoundBrandStroke"});border-radius:var(${bs});content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:var(${"--colorNeutralStroke1Hover"});border-radius:var(${bs});content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:var(${to})}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:var(${to});color:var(${to})}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:var(${hs});box-shadow:0 0 0 3px var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}`.withBehaviors(wt(G`
|
|
344
|
+
:host([aria-selected='true'])::after{background-color:Highlight}`)),Vg=Eg.compose({name:Ct.prefix+"-tab",template:Rg,styles:jg});class Gg extends Vh{}const _g=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Xg=G`
|
|
345
|
+
${Pt("block")}
|
|
346
|
+
|
|
347
|
+
:host{box-sizing:border-box;padding:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"})}`,Wg=Gg.compose({name:Ct.prefix+"-tab-panel",template:_g,styles:Xg});var qg=Object.defineProperty,Yg=Object.getOwnPropertyDescriptor,Ug=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Yg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&qg(t,o,n),n};class Kg extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ug([De({mode:"boolean"})],Kg.prototype,"nowrap",2),Ug([De({mode:"boolean"})],Kg.prototype,"truncate",2),Ug([De({mode:"boolean"})],Kg.prototype,"italic",2),Ug([De({mode:"boolean"})],Kg.prototype,"underline",2),Ug([De({mode:"boolean"})],Kg.prototype,"strikethrough",2),Ug([De({mode:"boolean"})],Kg.prototype,"block",2),Ug([De],Kg.prototype,"size",2),Ug([De],Kg.prototype,"font",2),Ug([De],Kg.prototype,"weight",2),Ug([De],Kg.prototype,"align",2);const Qg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Zg={base:"base",numeric:"numeric",monospace:"monospace"},Jg={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},ev={start:"start",end:"end",center:"center",justify:"justify"},tv=xe`<slot></slot>`,ov=G`
|
|
348
|
+
${Pt("inline")}
|
|
349
|
+
|
|
350
|
+
:host{contain:content}::slotted(*){font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:var(${"--fontSizeBase100"});line-height:var(${"--lineHeightBase100"})}:host([size='200']) ::slotted(*){font-size:var(${xs});line-height:var(${Hs})}:host([size='400']) ::slotted(*){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='500']) ::slotted(*){font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"})}:host([size='600']) ::slotted(*){font-size:var(${"--fontSizeBase600"});line-height:var(${"--lineHeightBase600"})}:host([size='700']) ::slotted(*){font-size:var(${"--fontSizeHero700"});line-height:var(${"--lineHeightHero700"})}:host([size='800']) ::slotted(*){font-size:var(${"--fontSizeHero800"});line-height:var(${"--lineHeightHero800"})}:host([size='900']) ::slotted(*){font-size:var(${"--fontSizeHero900"});line-height:var(${"--lineHeightHero900"})}:host([size='1000']) ::slotted(*){font-size:var(${"--fontSizeHero1000"});line-height:var(${"--lineHeightHero1000"})}:host([font='monospace']) ::slotted(*){font-family:var(${"--fontFamilyMonospace"})}:host([font='numeric']) ::slotted(*){font-family:var(${"--fontFamilyNumeric"})}:host([weight='medium']) ::slotted(*){font-weight:var(${"--fontWeightMedium"})}:host([weight='semibold']) ::slotted(*){font-weight:var(${Is})}:host([weight='bold']) ::slotted(*){font-weight:var(${"--fontWeightBold"})}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,rv=Kg.compose({name:Ct.prefix+"-text",template:tv,styles:ov});var av=Object.defineProperty,nv=Object.getOwnPropertyDescriptor,iv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?nv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&av(t,o,n),n};class sv extends Bh{}iv([De({attribute:"control-size"})],sv.prototype,"controlSize",2),iv([De],sv.prototype,"appearance",2);const lv={small:"small",medium:"medium",large:"large"},cv={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},dv=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label><div class="root" part="root">${gt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")} />${pt(e)}</div>`}(),uv=G`
|
|
351
|
+
${Pt("block")}
|
|
352
|
+
|
|
353
|
+
:host{font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os});max-width:400px}.label{display:flex;color:var(${Ot});padding-bottom:var(${"--spacingVerticalXS"});flex-shrink:0;padding-inline-end:var(${ll})}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 var(${"--spacingHorizontalMNudge"});border:var(${ol}) solid var(${"--colorNeutralStroke1"});border-bottom-color:var(${"--colorNeutralStrokeAccessible"});border-radius:var(${ps});gap:var(${"--spacingHorizontalXXS"})}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,var(${ps}));border-radius:0 0 var(${ps}) var(${ps});border-bottom:2px solid var(${"--colorCompoundBrandStroke"});clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:var(${"--durationUltraFast"});transition-delay:var(${"--curveAccelerateMid"})}.control{width:100%;height:100%;box-sizing:border-box;color:var(${Ot});border-radius:var(${ps});background:var(${"--colorTransparentBackground"});font-family:var(${ms});font-weight:var(${Ts});font-size:var(${$s});border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:var(${"--colorNeutralForeground4"})}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:var(${qt});font-size:var(${"--fontSizeBase500"})}:host ::slotted([slot='start']){padding-right:var(${"--spacingHorizontalXXS"})}:host ::slotted([slot='end']){padding-left:var(${"--spacingHorizontalXXS"});gap:var(${ll})}:host(:hover) .root{border-color:var(${"--colorNeutralStroke1Hover"});border-bottom-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .root{border-color:var(${"--colorNeutralStroke1Pressed"})}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:var(${"--durationNormal"});transition-delay:var(${"--curveDecelerateMid"})}:host(:focus-within:active) .root:after{border-bottom-color:var(${"--colorCompoundBrandStrokePressed"})}:host([appearance='outline']:focus-within) .root{border:var(${ol}) solid var(${"--colorNeutralStroke1"})}:host(:focus-within) .control{color:var(${Ot})}:host([disabled]) .root{background:var(${"--colorTransparentBackground"});border:var(${ol}) solid var(${"--colorNeutralStrokeDisabled"})}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:var(${to})}::selection{color:var(${"--colorNeutralForegroundInverted"});background-color:var(${"--colorNeutralBackgroundInverted"})}:host([control-size='small']) .control{font-size:var(${xs});font-weight:var(${Ts});line-height:var(${Hs})}:host([control-size='small']) .root{height:24px;gap:var(${"--spacingHorizontalXXS"});padding:0 var(${"--spacingHorizontalSNudge"})}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:var(${Bs})}:host([control-size='large']) .control{font-size:var(${Bs});font-weight:var(${Ts});line-height:var(${"--lineHeightBase400"})}:host([control-size='large']) .root{height:40px;gap:var(${dl});padding:0 var(${"--spacingHorizontalM"})}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:var(${"--fontSizeBase600"})}:host([appearance='underline']) .root{background:var(${"--colorTransparentBackground"});border:0;border-radius:0;border-bottom:var(${ol}) solid var(${"--colorNeutralStrokeAccessible"})}:host([appearance='underline']:hover) .root{border-bottom-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host([appearance='underline']:active) .root{border-bottom-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([appearance='underline'][disabled]) .root{border-bottom-color:var(${"--colorNeutralStrokeDisabled"})}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:var(${ol}) solid var(${"--colorTransparentStroke"});box-shadow:var(${"--shadow2"})}:host([appearance='filled-lighter']) .root{background:var(${Oo})}:host([appearance='filled-darker']) .root{background:var(${"--colorNeutralBackground3"})}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:var(${"--colorTransparentStrokeInteractive"})}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:var(${"--colorTransparentStrokeInteractive"});background:var(${"--colorNeutralBackground3"})}`,hv=sv.compose({name:Ct.prefix+"-text-input",template:dv,styles:uv});var pv=Object.defineProperty,gv=Object.getOwnPropertyDescriptor,vv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?gv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&pv(t,o,n),n};class bv extends vd{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}vv([De({attribute:"checked",mode:"boolean"})],bv.prototype,"checkedAttribute",2),vv([P],bv.prototype,"defaultChecked",2),vv([P],bv.prototype,"checked",2),vv([De({attribute:"current-checked",mode:"boolean"})],bv.prototype,"currentChecked",2);const mv=ec,fv=tc,kv=oc,yv=ud(),xv=G`
|
|
354
|
+
${sc}
|
|
355
|
+
|
|
356
|
+
:host([aria-pressed="true"]) .control{border-color:var(${"--colorNeutralStroke1"});background-color:var(${"--colorNeutralBackground1Selected"});color:var(${Ot});border-width:var(${ol})}:host([aria-pressed='true']:hover) .control{border-color:var(${"--colorNeutralStroke1Hover"});background-color:var(${"--colorNeutralBackground1Hover"})}:host([aria-pressed='true']:active) .control{border-color:var(${"--colorNeutralStroke1Pressed"});background-color:var(${"--colorNeutralBackground1Pressed"})}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:var(${"--colorBrandBackgroundSelected"});color:var(${"--colorNeutralForegroundOnBrand"})}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:var(${"--colorBrandBackgroundHover"})}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:var(${"--colorBrandBackgroundPressed"})}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:var(${"--colorSubtleBackgroundSelected"});color:var(${"--colorNeutralForeground2Selected"})}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground2Hover"})}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:var(${"--colorSubtleBackgroundPressed"});color:var(${"--colorNeutralForeground2Pressed"})}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:var(${"--colorTransparentBackgroundSelected"})}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"})}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"})}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:var(${"--colorNeutralForeground2BrandSelected"})}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:var(${"--colorNeutralForeground2BrandHover"})}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:var(${"--colorNeutralForeground2BrandPressed"})}`.withBehaviors(wt(G`
|
|
357
|
+
:host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),$v=bv.compose({name:Ct.prefix+"-toggle-button",template:yv,styles:xv,shadowOptions:{delegatesFocus:!0}}),Bv=Object.keys(_l),wv=e=>{for(const t of Bv)document.body.style.setProperty(_l[t],e[t])},Pv=(e,t)=>{for(const o of Bv)e.style.setProperty(_l[o],t[o])};export{yt as Accordion,zt as AccordionItem,Ht as AccordionItemExpandIconPosition,Lt as AccordionItemSize,Jl as AnchorButton,rc as AnchorButtonAppearance,cc as AnchorButtonDefinition,ac as AnchorButtonShape,nc as AnchorButtonSize,ic as AnchorButtonTemplate,Sc as Avatar,bc as AvatarActive,fc as AvatarAppearance,yc as AvatarColor,Lc as AvatarDefinition,kc as AvatarNamedColor,mc as AvatarShape,xc as AvatarSize,zc as AvatarStyles,Nc as AvatarTemplate,Gc as Badge,Oc as BadgeAppearance,Dc as BadgeColor,ed as BadgeDefinition,Mc as BadgeShape,Ec as BadgeSize,Jc as BadgeStyles,Xc as BadgeTemplate,vd as Button,ec as ButtonAppearance,md as ButtonDefinition,tc as ButtonShape,oc as ButtonSize,sc as ButtonStyles,bd as ButtonTemplate,wd as Checkbox,Td as CheckboxDefinition,Fd as CheckboxLabelPosition,Pd as CheckboxShape,Sd as CheckboxSize,Nd as CheckboxStyles,Cd as CheckboxTemplate,Ad as CompoundButton,Id as CompoundButtonAppearance,Dd as CompoundButtonDefinition,zd as CompoundButtonShape,Ld as CompoundButtonSize,Od as CompoundButtonStyles,Hd as CompoundButtonTemplate,jd as CounterBadge,Vd as CounterBadgeAppearance,Gd as CounterBadgeColor,Yd as CounterBadgeDefinition,_d as CounterBadgeShape,Xd as CounterBadgeSize,qd as CounterBadgeStyles,Wd as CounterBadgeTemplate,cu as Dialog,qh as DialogDefinition,Wh as DialogStyles,uu as DialogTemplate,Qh as Divider,Zh as DividerAlignContent,Jh as DividerAppearance,op as DividerDefinition,vh as DividerOrientation,gh as DividerRole,tp as DividerStyles,ep as DividerTemplate,Ct as FluentDesignSystem,ip as Image,up as ImageDefinition,sp as ImageFit,lp as ImageShape,dp as ImageStyles,cp as ImageTemplate,vp as Label,fp as LabelDefinition,bp as LabelStyles,mp as LabelTemplate,$p as Menu,Sp as MenuButton,Fp as MenuButtonAppearance,Ap as MenuButtonDefinition,Cp as MenuButtonShape,Np as MenuButtonSize,sc as MenuButtonStyles,Tp as MenuButtonTemplate,Pp as MenuDefinition,Ip as MenuItem,Op as MenuItemDefinition,mh as MenuItemRole,Hp as MenuItemStyles,Lp as MenuItemTemplate,Dp as MenuList,Rp as MenuListDefinition,Ep as MenuListStyles,Mp as MenuListTemplate,wp as MenuStyles,Bp as MenuTemplate,_p as ProgressBar,Kp as ProgressBarDefinition,Wp as ProgressBarShape,Yp as ProgressBarStyles,Up as ProgressBarTemplate,Xp as ProgressBarThickness,qp as ProgressBarValidationState,Qp as Radio,eg as RadioDefinition,rg as RadioGroup,ig as RadioGroupDefinition,Ch as RadioGroupOrientation,ag as RadioGroupStyles,ng as RadioGroupTemplate,Zp as RadioStyles,Jp as RadioTemplate,cg as Slider,pg as SliderDefinition,zh as SliderOrientation,dg as SliderSize,ug as SliderStyles,hg as SliderTemplate,mg as Spinner,fg as SpinnerAppearance,$g as SpinnerDefinition,kg as SpinnerSize,xg as SpinnerStyles,yg as SpinnerTemplate,Pg as Switch,Ng as SwitchDefinition,Sg as SwitchLabelPosition,Cg as SwitchStyles,Fg as SwitchTemplate,Eg as Tab,Vg as TabDefinition,Gg as TabPanel,Wg as TabPanelDefinition,Xg as TabPanelStyles,_g as TabPanelTemplate,jg as TabStyles,Rg as TabTemplate,Hg as Tabs,Tg as TabsAppearance,Mg as TabsDefinition,_h as TabsOrientation,Ag as TabsSize,Dg as TabsStyles,Og as TabsTemplate,Kg as Text,ev as TextAlign,rv as TextDefinition,Zg as TextFont,sv as TextInput,cv as TextInputAppearance,lv as TextInputControlSize,hv as TextInputDefinition,uv as TextInputStyles,dv as TextInputTemplate,$h as TextInputType,Qg as TextSize,ov as TextStyles,tv as TextTemplate,Jg as TextWeight,bv as ToggleButton,mv as ToggleButtonAppearance,$v as ToggleButtonDefinition,fv as ToggleButtonShape,kv as ToggleButtonSize,xv as ToggleButtonStyles,yv as ToggleButtonTemplate,Nt as accordionDefinition,ql as accordionItemDefinition,Xl as accordionItemStyles,Wl as accordionItemTemplate,Ft as accordionStyles,xt as accordionTemplate,bs as borderRadiusCircular,gs as borderRadiusLarge,ps as borderRadiusMedium,us as borderRadiusNone,hs as borderRadiusSmall,vs as borderRadiusXLarge,Sr as colorBackgroundOverlay,Cr as colorBrandBackground,Or as colorBrandBackground2,Nr as colorBrandBackgroundHover,Dr as colorBrandBackgroundInverted,Mr as colorBrandBackgroundInvertedHover,Er as colorBrandBackgroundInvertedPressed,Rr as colorBrandBackgroundInvertedSelected,Tr as colorBrandBackgroundPressed,Ar as colorBrandBackgroundSelected,Hr as colorBrandBackgroundStatic,So as colorBrandForeground1,Fo as colorBrandForeground2,No as colorBrandForegroundInverted,To as colorBrandForegroundInvertedHover,Ao as colorBrandForegroundInvertedPressed,oo as colorBrandForegroundLink,ro as colorBrandForegroundLinkHover,ao as colorBrandForegroundLinkPressed,no as colorBrandForegroundLinkSelected,Io as colorBrandForegroundOnLight,zo as colorBrandForegroundOnLightHover,Lo as colorBrandForegroundOnLightPressed,Ho as colorBrandForegroundOnLightSelected,ya as colorBrandShadowAmbient,xa as colorBrandShadowKey,oa as colorBrandStroke1,ra as colorBrandStroke2,Ir as colorCompoundBrandBackground,zr as colorCompoundBrandBackgroundHover,Lr as colorCompoundBrandBackgroundPressed,uo as colorCompoundBrandForeground1,ho as colorCompoundBrandForeground1Hover,po as colorCompoundBrandForeground1Pressed,aa as colorCompoundBrandStroke,na as colorCompoundBrandStrokeHover,ia as colorCompoundBrandStrokePressed,Oo as colorNeutralBackground1,Do as colorNeutralBackground1Hover,Mo as colorNeutralBackground1Pressed,Eo as colorNeutralBackground1Selected,Ro as colorNeutralBackground2,jo as colorNeutralBackground2Hover,Vo as colorNeutralBackground2Pressed,Go as colorNeutralBackground2Selected,_o as colorNeutralBackground3,Xo as colorNeutralBackground3Hover,Wo as colorNeutralBackground3Pressed,qo as colorNeutralBackground3Selected,Yo as colorNeutralBackground4,Uo as colorNeutralBackground4Hover,Ko as colorNeutralBackground4Pressed,Qo as colorNeutralBackground4Selected,Zo as colorNeutralBackground5,Jo as colorNeutralBackground5Hover,er as colorNeutralBackground5Pressed,tr as colorNeutralBackground5Selected,or as colorNeutralBackground6,yr as colorNeutralBackgroundDisabled,ar as colorNeutralBackgroundInverted,xr as colorNeutralBackgroundInvertedDisabled,rr as colorNeutralBackgroundStatic,Ot as colorNeutralForeground1,Dt as colorNeutralForeground1Hover,Mt as colorNeutralForeground1Pressed,Et as colorNeutralForeground1Selected,Co as colorNeutralForeground1Static,Rt as colorNeutralForeground2,_t as colorNeutralForeground2BrandHover,Xt as colorNeutralForeground2BrandPressed,Wt as colorNeutralForeground2BrandSelected,jt as colorNeutralForeground2Hover,io as colorNeutralForeground2Link,so as colorNeutralForeground2LinkHover,lo as colorNeutralForeground2LinkPressed,co as colorNeutralForeground2LinkSelected,Vt as colorNeutralForeground2Pressed,Gt as colorNeutralForeground2Selected,qt as colorNeutralForeground3,Qt as colorNeutralForeground3BrandHover,Zt as colorNeutralForeground3BrandPressed,Jt as colorNeutralForeground3BrandSelected,Yt as colorNeutralForeground3Hover,Ut as colorNeutralForeground3Pressed,Kt as colorNeutralForeground3Selected,eo as colorNeutralForeground4,to as colorNeutralForegroundDisabled,vo as colorNeutralForegroundInverted,ko as colorNeutralForegroundInverted2,Po as colorNeutralForegroundInvertedDisabled,bo as colorNeutralForegroundInvertedHover,xo as colorNeutralForegroundInvertedLink,$o as colorNeutralForegroundInvertedLinkHover,Bo as colorNeutralForegroundInvertedLinkPressed,wo as colorNeutralForegroundInvertedLinkSelected,mo as colorNeutralForegroundInvertedPressed,fo as colorNeutralForegroundInvertedSelected,go as colorNeutralForegroundOnBrand,yo as colorNeutralForegroundStaticInverted,ga as colorNeutralShadowAmbient,fa as colorNeutralShadowAmbientDarker,ba as colorNeutralShadowAmbientLighter,va as colorNeutralShadowKey,ka as colorNeutralShadowKeyDarker,ma as colorNeutralShadowKeyLighter,$r as colorNeutralStencil1,wr as colorNeutralStencil1Alpha,Br as colorNeutralStencil2,Pr as colorNeutralStencil2Alpha,Xr as colorNeutralStroke1,Wr as colorNeutralStroke1Hover,qr as colorNeutralStroke1Pressed,Yr as colorNeutralStroke1Selected,Ur as colorNeutralStroke2,Kr as colorNeutralStroke3,jr as colorNeutralStrokeAccessible,Vr as colorNeutralStrokeAccessibleHover,Gr as colorNeutralStrokeAccessiblePressed,_r as colorNeutralStrokeAccessibleSelected,sa as colorNeutralStrokeDisabled,la as colorNeutralStrokeInvertedDisabled,Qr as colorNeutralStrokeOnBrand,Zr as colorNeutralStrokeOnBrand2,Jr as colorNeutralStrokeOnBrand2Hover,ea as colorNeutralStrokeOnBrand2Pressed,ta as colorNeutralStrokeOnBrand2Selected,Hn as colorPaletteAnchorBackground2,On as colorPaletteAnchorBorderActive,Dn as colorPaletteAnchorForeground2,Mn as colorPaletteBeigeBackground2,En as colorPaletteBeigeBorderActive,Rn as colorPaletteBeigeForeground2,ln as colorPaletteBerryBackground1,cn as colorPaletteBerryBackground2,dn as colorPaletteBerryBackground3,hn as colorPaletteBerryBorder1,pn as colorPaletteBerryBorder2,un as colorPaletteBerryBorderActive,gn as colorPaletteBerryForeground1,vn as colorPaletteBerryForeground2,bn as colorPaletteBerryForeground3,jn as colorPaletteBlueBackground2,Vn as colorPaletteBlueBorderActive,Gn as colorPaletteBlueForeground2,_n as colorPaletteBrassBackground2,Xn as colorPaletteBrassBorderActive,Wn as colorPaletteBrassForeground2,qn as colorPaletteBrownBackground2,Yn as colorPaletteBrownBorderActive,Un as colorPaletteBrownForeground2,Kn as colorPaletteCornflowerBackground2,Qn as colorPaletteCornflowerBorderActive,Zn as colorPaletteCornflowerForeground2,Jn as colorPaletteCranberryBackground2,ei as colorPaletteCranberryBorderActive,ti as colorPaletteCranberryForeground2,oi as colorPaletteDarkGreenBackground2,ri as colorPaletteDarkGreenBorderActive,ai as colorPaletteDarkGreenForeground2,Va as colorPaletteDarkOrangeBackground1,Ga as colorPaletteDarkOrangeBackground2,_a as colorPaletteDarkOrangeBackground3,Wa as colorPaletteDarkOrangeBorder1,qa as colorPaletteDarkOrangeBorder2,Xa as colorPaletteDarkOrangeBorderActive,Ya as colorPaletteDarkOrangeForeground1,Ua as colorPaletteDarkOrangeForeground2,Ka as colorPaletteDarkOrangeForeground3,ni as colorPaletteDarkRedBackground2,ii as colorPaletteDarkRedBorderActive,si as colorPaletteDarkRedForeground2,li as colorPaletteForestBackground2,ci as colorPaletteForestBorderActive,di as colorPaletteForestForeground2,ui as colorPaletteGoldBackground2,hi as colorPaletteGoldBorderActive,pi as colorPaletteGoldForeground2,gi as colorPaletteGrapeBackground2,vi as colorPaletteGrapeBorderActive,bi as colorPaletteGrapeForeground2,Ia as colorPaletteGreenBackground1,za as colorPaletteGreenBackground2,La as colorPaletteGreenBackground3,Oa as colorPaletteGreenBorder1,Da as colorPaletteGreenBorder2,Ha as colorPaletteGreenBorderActive,Ma as colorPaletteGreenForeground1,Ea as colorPaletteGreenForeground2,Ra as colorPaletteGreenForeground3,ja as colorPaletteGreenForegroundInverted,mi as colorPaletteLavenderBackground2,fi as colorPaletteLavenderBorderActive,ki as colorPaletteLavenderForeground2,Sn as colorPaletteLightGreenBackground1,Fn as colorPaletteLightGreenBackground2,Cn as colorPaletteLightGreenBackground3,Tn as colorPaletteLightGreenBorder1,An as colorPaletteLightGreenBorder2,Nn as colorPaletteLightGreenBorderActive,In as colorPaletteLightGreenForeground1,zn as colorPaletteLightGreenForeground2,Ln as colorPaletteLightGreenForeground3,yi as colorPaletteLightTealBackground2,xi as colorPaletteLightTealBorderActive,$i as colorPaletteLightTealForeground2,Bi as colorPaletteLilacBackground2,wi as colorPaletteLilacBorderActive,Pi as colorPaletteLilacForeground2,Si as colorPaletteMagentaBackground2,Fi as colorPaletteMagentaBorderActive,Ci as colorPaletteMagentaForeground2,mn as colorPaletteMarigoldBackground1,fn as colorPaletteMarigoldBackground2,kn as colorPaletteMarigoldBackground3,xn as colorPaletteMarigoldBorder1,$n as colorPaletteMarigoldBorder2,yn as colorPaletteMarigoldBorderActive,Bn as colorPaletteMarigoldForeground1,wn as colorPaletteMarigoldForeground2,Pn as colorPaletteMarigoldForeground3,Ni as colorPaletteMinkBackground2,Ti as colorPaletteMinkBorderActive,Ai as colorPaletteMinkForeground2,Ii as colorPaletteNavyBackground2,zi as colorPaletteNavyBorderActive,Li as colorPaletteNavyForeground2,Hi as colorPalettePeachBackground2,Oi as colorPalettePeachBorderActive,Di as colorPalettePeachForeground2,Mi as colorPalettePinkBackground2,Ei as colorPalettePinkBorderActive,Ri as colorPalettePinkForeground2,ji as colorPalettePlatinumBackground2,Vi as colorPalettePlatinumBorderActive,Gi as colorPalettePlatinumForeground2,_i as colorPalettePlumBackground2,Xi as colorPalettePlumBorderActive,Wi as colorPalettePlumForeground2,qi as colorPalettePumpkinBackground2,Yi as colorPalettePumpkinBorderActive,Ui as colorPalettePumpkinForeground2,Ki as colorPalettePurpleBackground2,Qi as colorPalettePurpleBorderActive,Zi as colorPalettePurpleForeground2,$a as colorPaletteRedBackground1,Ba as colorPaletteRedBackground2,wa as colorPaletteRedBackground3,Sa as colorPaletteRedBorder1,Fa as colorPaletteRedBorder2,Pa as colorPaletteRedBorderActive,Ca as colorPaletteRedForeground1,Na as colorPaletteRedForeground2,Ta as colorPaletteRedForeground3,Aa as colorPaletteRedForegroundInverted,Ji as colorPaletteRoyalBlueBackground2,es as colorPaletteRoyalBlueBorderActive,ts as colorPaletteRoyalBlueForeground2,os as colorPaletteSeafoamBackground2,rs as colorPaletteSeafoamBorderActive,as as colorPaletteSeafoamForeground2,ns as colorPaletteSteelBackground2,is as colorPaletteSteelBorderActive,ss as colorPaletteSteelForeground2,ls as colorPaletteTealBackground2,cs as colorPaletteTealBorderActive,ds as colorPaletteTealForeground2,Qa as colorPaletteYellowBackground1,Za as colorPaletteYellowBackground2,Ja as colorPaletteYellowBackground3,tn as colorPaletteYellowBorder1,on as colorPaletteYellowBorder2,en as colorPaletteYellowBorderActive,rn as colorPaletteYellowForeground1,an as colorPaletteYellowForeground2,nn as colorPaletteYellowForeground3,sn as colorPaletteYellowForegroundInverted,Fr as colorScrollbarOverlay,ha as colorStrokeFocus1,pa as colorStrokeFocus2,nr as colorSubtleBackground,ir as colorSubtleBackgroundHover,hr as colorSubtleBackgroundInverted,pr as colorSubtleBackgroundInvertedHover,gr as colorSubtleBackgroundInvertedPressed,vr as colorSubtleBackgroundInvertedSelected,cr as colorSubtleBackgroundLightAlphaHover,dr as colorSubtleBackgroundLightAlphaPressed,ur as colorSubtleBackgroundLightAlphaSelected,sr as colorSubtleBackgroundPressed,lr as colorSubtleBackgroundSelected,br as colorTransparentBackground,mr as colorTransparentBackgroundHover,fr as colorTransparentBackgroundPressed,kr as colorTransparentBackgroundSelected,ca as colorTransparentStroke,ua as colorTransparentStrokeDisabled,da as colorTransparentStrokeInteractive,Hl as curveAccelerateMax,Ol as curveAccelerateMid,Dl as curveAccelerateMin,Ml as curveDecelerateMax,El as curveDecelerateMid,Rl as curveDecelerateMin,Vl as curveEasyEase,jl as curveEasyEaseMax,Gl as curveLinear,Tl as durationFast,Nl as durationFaster,Al as durationNormal,Il as durationSlow,zl as durationSlower,Cl as durationUltraFast,Ll as durationUltraSlow,ms as fontFamilyBase,fs as fontFamilyMonospace,ks as fontFamilyNumeric,ys as fontSizeBase100,xs as fontSizeBase200,$s as fontSizeBase300,Bs as fontSizeBase400,ws as fontSizeBase500,Ps as fontSizeBase600,Ns as fontSizeHero1000,Ss as fontSizeHero700,Fs as fontSizeHero800,Cs as fontSizeHero900,zs as fontWeightBold,As as fontWeightMedium,Ts as fontWeightRegular,Is as fontWeightSemibold,Ls as lineHeightBase100,Hs as lineHeightBase200,Os as lineHeightBase300,Ds as lineHeightBase400,Ms as lineHeightBase500,Es as lineHeightBase600,Gs as lineHeightHero1000,Rs as lineHeightHero700,js as lineHeightHero800,Vs as lineHeightHero900,wv as setTheme,Pv as setThemeFor,qs as shadow16,Js as shadow16Brand,_s as shadow2,Ys as shadow28,el as shadow28Brand,Ks as shadow2Brand,Xs as shadow4,Qs as shadow4Brand,Us as shadow64,tl as shadow64Brand,Ws as shadow8,Zs as shadow8Brand,pl as spacingHorizontalL,hl as spacingHorizontalM,ul as spacingHorizontalMNudge,il as spacingHorizontalNone,dl as spacingHorizontalS,cl as spacingHorizontalSNudge,gl as spacingHorizontalXL,ll as spacingHorizontalXS,vl as spacingHorizontalXXL,sl as spacingHorizontalXXS,bl as spacingHorizontalXXXL,wl as spacingVerticalL,Bl as spacingVerticalM,$l as spacingVerticalMNudge,ml as spacingVerticalNone,xl as spacingVerticalS,yl as spacingVerticalSNudge,Pl as spacingVerticalXL,kl as spacingVerticalXS,Sl as spacingVerticalXXL,fl as spacingVerticalXXS,Fl as spacingVerticalXXXL,rl as strokeWidthThick,al as strokeWidthThicker,nl as strokeWidthThickest,ol as strokeWidthThin};
|