@florid-kit/components 0.4.39 → 0.4.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,11 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
3
  type TagType = "" | "nostock" | "lowstock" | "instock";
4
+ type bgstyle = "background-emphasis" | "background-white";
4
5
  export declare class OccitaneTag extends LitElement {
5
6
  static styles: import('lit').CSSResult;
6
7
  type: TagType;
8
+ bgstyle: bgstyle;
7
9
  render(): import('lit').TemplateResult<1>;
8
10
  }
9
11
  declare global {
package/index.js CHANGED
@@ -2,21 +2,21 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const J=globalThis,dt=J.ShadowRoot&&(J.ShadyCSS===void 0||J.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),yt=new WeakMap;let kt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(dt&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=yt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&yt.set(e,t))}return t}toString(){return this.cssText}};const Ht=o=>new kt(typeof o=="string"?o:o+"",void 0,ut),w=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,n,r)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new kt(e,o,ut)},Mt=(o,t)=>{if(dt)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),n=J.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=e.cssText,o.appendChild(i)}},mt=dt?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Ht(e)})(o):o;/**
5
+ */const Y=globalThis,dt=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),mt=new WeakMap;let Pt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(dt&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&mt.set(e,t))}return t}toString(){return this.cssText}};const Ht=o=>new Pt(typeof o=="string"?o:o+"",void 0,ut),w=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,n,r)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new Pt(e,o,ut)},Mt=(o,t)=>{if(dt)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),n=Y.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=e.cssText,o.appendChild(i)}},wt=dt?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Ht(e)})(o):o;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:Tt,defineProperty:Dt,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:Nt,getOwnPropertySymbols:jt,getPrototypeOf:Ft}=Object,L=globalThis,wt=L.trustedTypes,Vt=wt?wt.emptyScript:"",st=L.reactiveElementPolyfillSupport,F=(o,t)=>o,Y={toAttribute(o,t){switch(t){case Boolean:o=o?Vt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},ft=(o,t)=>!Tt(o,t),xt={attribute:!0,type:String,converter:Y,reflect:!1,useDefault:!1,hasChanged:ft};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),L.litPropertyMetadata??(L.litPropertyMetadata=new WeakMap);let T=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(t,i,e);n!==void 0&&Dt(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){const{get:n,set:r}=Ut(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:n,set(s){const c=n==null?void 0:n.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??xt}static _$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;const t=Ft(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){const e=this.properties,i=[...Nt(e),...jt(e)];for(const n of i)this.createProperty(n,e[n])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,n]of e)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const n=this._$Eu(e,i);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const n of i)e.unshift(mt(n))}else t!==void 0&&e.push(mt(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var r;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(n!==void 0&&i.reflect===!0){const s=(((r=i.converter)==null?void 0:r.toAttribute)!==void 0?i.converter:Y).toAttribute(e,i.type);this._$Em=t,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(t,e){var r,s;const i=this.constructor,n=i._$Eh.get(t);if(n!==void 0&&this._$Em!==n){const c=i.getPropertyOptions(n),l=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:Y;this._$Em=n,this[n]=l.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(n))??null,this._$Em=null}}requestUpdate(t,e,i){var n;if(t!==void 0){const r=this.constructor,s=this[t];if(i??(i=r.getPropertyOptions(t)),!((i.hasChanged??ft)(s,e)||i.useDefault&&i.reflect&&s===((n=this._$Ej)==null?void 0:n.get(t))&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:n,wrapped:r},s){i&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[r,s]of n){const{wrapped:c}=s,l=this[r];c!==!0||this._$AL.has(r)||l===void 0||this.C(r,void 0,s,l)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)}),this.update(e)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var n;return(n=i.hostUpdated)==null?void 0:n.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[F("elementProperties")]=new Map,T[F("finalized")]=new Map,st==null||st({ReactiveElement:T}),(L.reactiveElementVersions??(L.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:Tt,defineProperty:Dt,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:Nt,getOwnPropertySymbols:jt,getPrototypeOf:Ft}=Object,L=globalThis,xt=L.trustedTypes,Vt=xt?xt.emptyScript:"",st=L.reactiveElementPolyfillSupport,F=(o,t)=>o,Q={toAttribute(o,t){switch(t){case Boolean:o=o?Vt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},gt=(o,t)=>!Tt(o,t),$t={attribute:!0,type:String,converter:Q,reflect:!1,useDefault:!1,hasChanged:gt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),L.litPropertyMetadata??(L.litPropertyMetadata=new WeakMap);let T=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$t){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(t,i,e);n!==void 0&&Dt(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){const{get:n,set:r}=Ut(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:n,set(s){const c=n==null?void 0:n.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(F("elementProperties")))return;const t=Ft(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(F("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(F("properties"))){const e=this.properties,i=[...Nt(e),...jt(e)];for(const n of i)this.createProperty(n,e[n])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,n]of e)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const n=this._$Eu(e,i);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const n of i)e.unshift(wt(n))}else t!==void 0&&e.push(wt(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var r;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(n!==void 0&&i.reflect===!0){const s=(((r=i.converter)==null?void 0:r.toAttribute)!==void 0?i.converter:Q).toAttribute(e,i.type);this._$Em=t,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(t,e){var r,s;const i=this.constructor,n=i._$Eh.get(t);if(n!==void 0&&this._$Em!==n){const c=i.getPropertyOptions(n),l=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:Q;this._$Em=n,this[n]=l.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(n))??null,this._$Em=null}}requestUpdate(t,e,i){var n;if(t!==void 0){const r=this.constructor,s=this[t];if(i??(i=r.getPropertyOptions(t)),!((i.hasChanged??gt)(s,e)||i.useDefault&&i.reflect&&s===((n=this._$Ej)==null?void 0:n.get(t))&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:n,wrapped:r},s){i&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[r,s]of n){const{wrapped:c}=s,l=this[r];c!==!0||this._$AL.has(r)||l===void 0||this.C(r,void 0,s,l)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)}),this.update(e)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var n;return(n=i.hostUpdated)==null?void 0:n.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[F("elementProperties")]=new Map,T[F("finalized")]=new Map,st==null||st({ReactiveElement:T}),(L.reactiveElementVersions??(L.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const V=globalThis,Q=V.trustedTypes,$t=Q?Q.createPolicy("lit-html",{createHTML:o=>o}):void 0,Pt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Bt="?"+E,Rt=`<${Bt}>`,O=document,R=()=>O.createComment(""),Z=o=>o===null||typeof o!="object"&&typeof o!="function",gt=Array.isArray,Zt=o=>gt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",rt=`[
14
- \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_t=/-->/g,Ct=/>/g,P=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),At=/'/g,St=/"/g,It=/^(?:script|style|textarea|title)$/i,qt=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),h=qt(1),z=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Et=new WeakMap,B=O.createTreeWalker(O,129);function Ot(o,t){if(!gt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return $t!==void 0?$t.createHTML(t):t}const Wt=(o,t)=>{const e=o.length-1,i=[];let n,r=t===2?"<svg>":t===3?"<math>":"",s=j;for(let c=0;c<e;c++){const l=o[c];let f,v,d=-1,$=0;for(;$<l.length&&(s.lastIndex=$,v=s.exec(l),v!==null);)$=s.lastIndex,s===j?v[1]==="!--"?s=_t:v[1]!==void 0?s=Ct:v[2]!==void 0?(It.test(v[2])&&(n=RegExp("</"+v[2],"g")),s=P):v[3]!==void 0&&(s=P):s===P?v[0]===">"?(s=n??j,d=-1):v[1]===void 0?d=-2:(d=s.lastIndex-v[2].length,f=v[1],s=v[3]===void 0?P:v[3]==='"'?St:At):s===St||s===At?s=P:s===_t||s===Ct?s=j:(s=P,n=void 0);const S=s===P&&o[c+1].startsWith("/>")?" ":"";r+=s===j?l+Rt:d>=0?(i.push(f),l.slice(0,d)+Pt+l.slice(d)+E+S):l+E+(d===-2?c:S)}return[Ot(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class q{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,s=0;const c=t.length-1,l=this.parts,[f,v]=Wt(t,e);if(this.el=q.createElement(f,i),B.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(n=B.nextNode())!==null&&l.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(const d of n.getAttributeNames())if(d.endsWith(Pt)){const $=v[s++],S=n.getAttribute(d).split(E),X=/([.?@])?(.*)/.exec($);l.push({type:1,index:r,name:X[2],strings:S,ctor:X[1]==="."?Kt:X[1]==="?"?Xt:X[1]==="@"?Jt:et}),n.removeAttribute(d)}else d.startsWith(E)&&(l.push({type:6,index:r}),n.removeAttribute(d));if(It.test(n.tagName)){const d=n.textContent.split(E),$=d.length-1;if($>0){n.textContent=Q?Q.emptyScript:"";for(let S=0;S<$;S++)n.append(d[S],R()),B.nextNode(),l.push({type:2,index:++r});n.append(d[$],R())}}}else if(n.nodeType===8)if(n.data===Bt)l.push({type:2,index:r});else{let d=-1;for(;(d=n.data.indexOf(E,d+1))!==-1;)l.push({type:7,index:r}),d+=E.length-1}r++}}static createElement(t,e){const i=O.createElement("template");return i.innerHTML=t,i}}function D(o,t,e=o,i){var s,c;if(t===z)return t;let n=i!==void 0?(s=e._$Co)==null?void 0:s[i]:e._$Cl;const r=Z(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==r&&((c=n==null?void 0:n._$AO)==null||c.call(n,!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=n:e._$Cl=n),n!==void 0&&(t=D(o,n._$AS(o,t.values),n,i)),t}class Gt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,n=((t==null?void 0:t.creationScope)??O).importNode(e,!0);B.currentNode=n;let r=B.nextNode(),s=0,c=0,l=i[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new K(r,r.nextSibling,this,t):l.type===1?f=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(f=new Yt(r,this,t)),this._$AV.push(f),l=i[++c]}s!==(l==null?void 0:l.index)&&(r=B.nextNode(),s++)}return B.currentNode=O,n}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class K{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,n){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cv=(n==null?void 0:n.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=D(this,t,e),Z(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Zt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=q.createElement(Ot(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===n)this._$AH.p(e);else{const s=new Gt(n,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=Et.get(t.strings);return e===void 0&&Et.set(t.strings,e=new q(t)),e}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const r of t)n===e.length?e.push(i=new K(this.O(R()),this.O(R()),this,this.options)):i=e[n],i._$AI(r),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,n,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}_$AI(t,e=this,i,n){const r=this.strings;let s=!1;if(r===void 0)t=D(this,t,e,0),s=!Z(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const c=t;let l,f;for(t=r[0],l=0;l<r.length-1;l++)f=D(this,c[i+l],e,l),f===z&&(f=this._$AH[l]),s||(s=!Z(f)||f!==this._$AH[l]),f===p?t=p:t!==p&&(t+=(f??"")+r[l+1]),this._$AH[l]=f}s&&!n&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}class Xt extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}}class Jt extends et{constructor(t,e,i,n,r){super(t,e,i,n,r),this.type=5}_$AI(t,e=this){if((t=D(this,t,e,0)??p)===z)return;const i=this._$AH,n=t===p&&i!==p||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==p&&(i===p||n);n&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Yt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const at=V.litHtmlPolyfillSupport;at==null||at(q,K),(V.litHtmlVersions??(V.litHtmlVersions=[])).push("3.3.0");const Qt=(o,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let n=i._$litPart$;if(n===void 0){const r=(e==null?void 0:e.renderBefore)??null;i._$litPart$=n=new K(t.insertBefore(R(),r),r,void 0,e??{})}return n._$AI(o),n};/**
13
+ */const V=globalThis,tt=V.trustedTypes,_t=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Bt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,It="?"+E,Rt=`<${It}>`,O=document,R=()=>O.createComment(""),Z=o=>o===null||typeof o!="object"&&typeof o!="function",ft=Array.isArray,Zt=o=>ft(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",rt=`[
14
+ \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ct=/-->/g,At=/>/g,P=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),St=/'/g,Et=/"/g,Ot=/^(?:script|style|textarea|title)$/i,qt=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),h=qt(1),z=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Lt=new WeakMap,B=O.createTreeWalker(O,129);function zt(o,t){if(!ft(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return _t!==void 0?_t.createHTML(t):t}const Wt=(o,t)=>{const e=o.length-1,i=[];let n,r=t===2?"<svg>":t===3?"<math>":"",s=j;for(let c=0;c<e;c++){const l=o[c];let g,v,d=-1,$=0;for(;$<l.length&&(s.lastIndex=$,v=s.exec(l),v!==null);)$=s.lastIndex,s===j?v[1]==="!--"?s=Ct:v[1]!==void 0?s=At:v[2]!==void 0?(Ot.test(v[2])&&(n=RegExp("</"+v[2],"g")),s=P):v[3]!==void 0&&(s=P):s===P?v[0]===">"?(s=n??j,d=-1):v[1]===void 0?d=-2:(d=s.lastIndex-v[2].length,g=v[1],s=v[3]===void 0?P:v[3]==='"'?Et:St):s===Et||s===St?s=P:s===Ct||s===At?s=j:(s=P,n=void 0);const S=s===P&&o[c+1].startsWith("/>")?" ":"";r+=s===j?l+Rt:d>=0?(i.push(g),l.slice(0,d)+Bt+l.slice(d)+E+S):l+E+(d===-2?c:S)}return[zt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class q{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,s=0;const c=t.length-1,l=this.parts,[g,v]=Wt(t,e);if(this.el=q.createElement(g,i),B.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(n=B.nextNode())!==null&&l.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(const d of n.getAttributeNames())if(d.endsWith(Bt)){const $=v[s++],S=n.getAttribute(d).split(E),J=/([.?@])?(.*)/.exec($);l.push({type:1,index:r,name:J[2],strings:S,ctor:J[1]==="."?Kt:J[1]==="?"?Xt:J[1]==="@"?Jt:et}),n.removeAttribute(d)}else d.startsWith(E)&&(l.push({type:6,index:r}),n.removeAttribute(d));if(Ot.test(n.tagName)){const d=n.textContent.split(E),$=d.length-1;if($>0){n.textContent=tt?tt.emptyScript:"";for(let S=0;S<$;S++)n.append(d[S],R()),B.nextNode(),l.push({type:2,index:++r});n.append(d[$],R())}}}else if(n.nodeType===8)if(n.data===It)l.push({type:2,index:r});else{let d=-1;for(;(d=n.data.indexOf(E,d+1))!==-1;)l.push({type:7,index:r}),d+=E.length-1}r++}}static createElement(t,e){const i=O.createElement("template");return i.innerHTML=t,i}}function D(o,t,e=o,i){var s,c;if(t===z)return t;let n=i!==void 0?(s=e._$Co)==null?void 0:s[i]:e._$Cl;const r=Z(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==r&&((c=n==null?void 0:n._$AO)==null||c.call(n,!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=n:e._$Cl=n),n!==void 0&&(t=D(o,n._$AS(o,t.values),n,i)),t}class Gt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,n=((t==null?void 0:t.creationScope)??O).importNode(e,!0);B.currentNode=n;let r=B.nextNode(),s=0,c=0,l=i[0];for(;l!==void 0;){if(s===l.index){let g;l.type===2?g=new X(r,r.nextSibling,this,t):l.type===1?g=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(g=new Yt(r,this,t)),this._$AV.push(g),l=i[++c]}s!==(l==null?void 0:l.index)&&(r=B.nextNode(),s++)}return B.currentNode=O,n}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,n){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cv=(n==null?void 0:n.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=D(this,t,e),Z(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Zt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=q.createElement(zt(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===n)this._$AH.p(e);else{const s=new Gt(n,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=Lt.get(t.strings);return e===void 0&&Lt.set(t.strings,e=new q(t)),e}k(t){ft(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const r of t)n===e.length?e.push(i=new X(this.O(R()),this.O(R()),this,this.options)):i=e[n],i._$AI(r),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,n,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=p}_$AI(t,e=this,i,n){const r=this.strings;let s=!1;if(r===void 0)t=D(this,t,e,0),s=!Z(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const c=t;let l,g;for(t=r[0],l=0;l<r.length-1;l++)g=D(this,c[i+l],e,l),g===z&&(g=this._$AH[l]),s||(s=!Z(g)||g!==this._$AH[l]),g===p?t=p:t!==p&&(t+=(g??"")+r[l+1]),this._$AH[l]=g}s&&!n&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}class Xt extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}}class Jt extends et{constructor(t,e,i,n,r){super(t,e,i,n,r),this.type=5}_$AI(t,e=this){if((t=D(this,t,e,0)??p)===z)return;const i=this._$AH,n=t===p&&i!==p||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==p&&(i===p||n);n&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Yt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const at=V.litHtmlPolyfillSupport;at==null||at(q,X),(V.litHtmlVersions??(V.litHtmlVersions=[])).push("3.3.0");const Qt=(o,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let n=i._$litPart$;if(n===void 0){const r=(e==null?void 0:e.renderBefore)??null;i._$litPart$=n=new X(t.insertBefore(R(),r),r,void 0,e??{})}return n._$AI(o),n};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */const I=globalThis;let m=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Qt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return z}};var Lt;m._$litElement$=!0,m.finalized=!0,(Lt=I.litElementHydrateSupport)==null||Lt.call(I,{LitElement:m});const lt=I.litElementPolyfillSupport;lt==null||lt({LitElement:m});(I.litElementVersions??(I.litElementVersions=[])).push("4.2.0");/**
19
+ */const I=globalThis;let m=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Qt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return z}};var kt;m._$litElement$=!0,m.finalized=!0,(kt=I.litElementHydrateSupport)==null||kt.call(I,{LitElement:m});const lt=I.litElementPolyfillSupport;lt==null||lt({LitElement:m});(I.litElementVersions??(I.litElementVersions=[])).push("4.2.0");/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
@@ -24,7 +24,7 @@
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const te={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:ft},ee=(o=te,t,e)=>{const{kind:i,metadata:n}=e;let r=globalThis.litPropertyMetadata.get(n);if(r===void 0&&globalThis.litPropertyMetadata.set(n,r=new Map),i==="setter"&&((o=Object.create(o)).wrapped=!0),r.set(e.name,o),i==="accessor"){const{name:s}=e;return{set(c){const l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,o)},init(c){return c!==void 0&&this.C(s,void 0,o,c),c}}}if(i==="setter"){const{name:s}=e;return function(c){const l=this[s];t.call(this,c),this.requestUpdate(s,l,o)}}throw Error("Unsupported decorator location: "+i)};function a(o){return(t,e)=>typeof e=="object"?ee(o,t,e):((i,n,r)=>{const s=n.hasOwnProperty(r);return n.constructor.createProperty(r,i),s?Object.getOwnPropertyDescriptor(n,r):void 0})(o,t,e)}/**
27
+ */const te={attribute:!0,type:String,converter:Q,reflect:!1,hasChanged:gt},ee=(o=te,t,e)=>{const{kind:i,metadata:n}=e;let r=globalThis.litPropertyMetadata.get(n);if(r===void 0&&globalThis.litPropertyMetadata.set(n,r=new Map),i==="setter"&&((o=Object.create(o)).wrapped=!0),r.set(e.name,o),i==="accessor"){const{name:s}=e;return{set(c){const l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,o)},init(c){return c!==void 0&&this.C(s,void 0,o,c),c}}}if(i==="setter"){const{name:s}=e;return function(c){const l=this[s];t.call(this,c),this.requestUpdate(s,l,o)}}throw Error("Unsupported decorator location: "+i)};function a(o){return(t,e)=>typeof e=="object"?ee(o,t,e):((i,n,r)=>{const s=n.hasOwnProperty(r);return n.constructor.createProperty(r,i),s?Object.getOwnPropertyDescriptor(n,r):void 0})(o,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
@@ -68,10 +68,10 @@
68
68
  `,ue=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
69
69
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
70
70
  </svg>
71
- `,fe=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
71
+ `,ge=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
72
72
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
73
73
  </svg>
74
- `,ge=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
74
+ `,fe=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
75
75
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
76
76
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
77
77
  </svg>
@@ -109,7 +109,7 @@
109
109
  `,$e=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
110
110
  <path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
111
111
  </svg>
112
- `,ot={wishlist:re,playerv:ae,chevronRight:le,chevronLeft:ce,icoPlus:be,icoMinus:ye,"star-0":he,"star-25":pe,"star-50":de,"star-75":ue,"star-100":fe,cross:ge,search:ve,arrowLeft:me,arrowTop:we,cart:xe,notifyme:$e};/**
112
+ `,ot={wishlist:re,playerv:ae,chevronRight:le,chevronLeft:ce,icoPlus:be,icoMinus:ye,"star-0":he,"star-25":pe,"star-50":de,"star-75":ue,"star-100":ge,cross:fe,search:ve,arrowLeft:me,arrowTop:we,cart:xe,notifyme:$e};/**
113
113
  * @license
114
114
  * Copyright 2017 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
@@ -741,7 +741,7 @@
741
741
  text-decoration: underline;
742
742
  cursor: pointer;
743
743
  }
744
- `;it([a({type:Number})],N.prototype,"rating",2);it([a({type:String})],N.prototype,"reviewCount",2);it([a({type:String})],N.prototype,"href",2);N=it([A("o-rating")],N);var De=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,b=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ue(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&De(t,e,n),n};let g=class extends m{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.secondaryButtonLabel="",this.secondaryButtonVariant="secondary",this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.previousFocusedElement=null,this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),window.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),window.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}trapFocus(o){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],i=t[t.length-1];o.shiftKey&&document.activeElement===e?(o.preventDefault(),i.focus()):!o.shiftKey&&document.activeElement===i&&(o.preventDefault(),e.focus())}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");return o?Array.from(o.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(t=>!t.hasAttribute("disabled")):[]}openPanel(){this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open"),this.updateComplete.then(()=>{const o=this.getFocusableElements()[0];o==null||o.focus()})}closePanel(){var o;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(o=this.previousFocusedElement)==null||o.focus(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(){typeof this.onFirstButtonClick=="function"&&this.onFirstButtonClick(),this.closePanel()}handleSecondaryClick(){typeof this.onSecondaryButtonClick=="function"&&this.onSecondaryButtonClick(),this.closePanel()}updated(){this.style.setProperty("--z-overlay",`${this.zIndex}`),this.style.setProperty("--z-panel",`${this.zIndex+1}`)}render(){return h`
744
+ `;it([a({type:Number})],N.prototype,"rating",2);it([a({type:String})],N.prototype,"reviewCount",2);it([a({type:String})],N.prototype,"href",2);N=it([A("o-rating")],N);var De=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,b=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ue(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&De(t,e,n),n};let f=class extends m{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.secondaryButtonLabel="",this.secondaryButtonVariant="secondary",this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.previousFocusedElement=null,this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),window.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),window.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}trapFocus(o){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],i=t[t.length-1];o.shiftKey&&document.activeElement===e?(o.preventDefault(),i.focus()):!o.shiftKey&&document.activeElement===i&&(o.preventDefault(),e.focus())}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");return o?Array.from(o.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(t=>!t.hasAttribute("disabled")):[]}openPanel(){this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open"),this.updateComplete.then(()=>{const o=this.getFocusableElements()[0];o==null||o.focus()})}closePanel(){var o;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(o=this.previousFocusedElement)==null||o.focus(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(){typeof this.onFirstButtonClick=="function"&&this.onFirstButtonClick(),this.closePanel()}handleSecondaryClick(){typeof this.onSecondaryButtonClick=="function"&&this.onSecondaryButtonClick(),this.closePanel()}updated(){this.style.setProperty("--z-overlay",`${this.zIndex}`),this.style.setProperty("--z-panel",`${this.zIndex+1}`)}render(){return h`
745
745
  <div class="overlay" style="z-index: ${this.zIndex}" @click=${this.closePanel}></div>
746
746
  <div
747
747
  class="panel"
@@ -787,7 +787,7 @@
787
787
  </div>
788
788
  `:null}
789
789
  </div>
790
- `}};g.styles=w`
790
+ `}};f.styles=w`
791
791
  :host {
792
792
  --z-overlay: 99;
793
793
  --z-panel: 100;
@@ -927,7 +927,7 @@
927
927
  --line-height: var(--line-height-280);
928
928
  }
929
929
  }
930
- `;b([a({type:Boolean,reflect:!0})],g.prototype,"open",2);b([a({type:Boolean,reflect:!0})],g.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],g.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],g.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],g.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],g.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],g.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],g.prototype,"firstButtonVariant",2);b([a({type:Function})],g.prototype,"onFirstButtonClick",2);b([a({type:String,reflect:!0})],g.prototype,"secondaryButtonLabel",2);b([a({type:String,reflect:!0})],g.prototype,"secondaryButtonVariant",2);b([a({type:Function})],g.prototype,"onSecondaryButtonClick",2);b([a({type:Boolean,reflect:!0})],g.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],g.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],g.prototype,"initialized",2);g=b([A("o-side-panel")],g);var Ne=Object.defineProperty,je=Object.getOwnPropertyDescriptor,M=(o,t,e,i)=>{for(var n=i>1?void 0:i?je(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Ne(t,e,n),n};let C=class extends m{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.focusedIndex=0,this.playerIconTemplate=h`
930
+ `;b([a({type:Boolean,reflect:!0})],f.prototype,"open",2);b([a({type:Boolean,reflect:!0})],f.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],f.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],f.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],f.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],f.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],f.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],f.prototype,"firstButtonVariant",2);b([a({type:Function})],f.prototype,"onFirstButtonClick",2);b([a({type:String,reflect:!0})],f.prototype,"secondaryButtonLabel",2);b([a({type:String,reflect:!0})],f.prototype,"secondaryButtonVariant",2);b([a({type:Function})],f.prototype,"onSecondaryButtonClick",2);b([a({type:Boolean,reflect:!0})],f.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],f.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],f.prototype,"initialized",2);f=b([A("o-side-panel")],f);var Ne=Object.defineProperty,je=Object.getOwnPropertyDescriptor,M=(o,t,e,i)=>{for(var n=i>1?void 0:i?je(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Ne(t,e,n),n};let C=class extends m{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.focusedIndex=0,this.playerIconTemplate=h`
931
931
  <o-icon-button
932
932
  icon="playerv"
933
933
  size="xsmall"
@@ -1058,14 +1058,12 @@
1058
1058
  height: 0;
1059
1059
  width: 0;
1060
1060
  }
1061
- `;M([a({type:Array})],C.prototype,"thumbnails",2);M([a({type:Number})],C.prototype,"activeIndex",2);M([a({type:Array})],C.prototype,"disabledIndexes",2);M([a({type:String})],C.prototype,"maxWidth",2);M([a({type:Object})],C.prototype,"swiperInstance",2);M([oe()],C.prototype,"focusedIndex",2);C=M([A("thumbnail-navigation")],C);var Fe=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,zt=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ve(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Fe(t,e,n),n};let tt=class extends m{constructor(){super(...arguments),this.type=""}render(){return h`
1062
- <span class="tag"><slot></slot></span>
1063
- `}};tt.styles=w`
1061
+ `;M([a({type:Array})],C.prototype,"thumbnails",2);M([a({type:Number})],C.prototype,"activeIndex",2);M([a({type:Array})],C.prototype,"disabledIndexes",2);M([a({type:String})],C.prototype,"maxWidth",2);M([a({type:Object})],C.prototype,"swiperInstance",2);M([oe()],C.prototype,"focusedIndex",2);C=M([A("thumbnail-navigation")],C);var Fe=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,bt=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ve(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Fe(t,e,n),n};let G=class extends m{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return h`
1062
+ <span class="tag ${this.bgstyle}"><slot></slot></span>
1063
+ `}};G.styles=w`
1064
1064
  .tag {
1065
1065
  display: inline-block;
1066
1066
  padding: var(--spacing-2-xs) var(--spacing-s);
1067
- background-color: var(--color-container-white);
1068
- color: var(--color-content-action-secondary);
1069
1067
  font-size: var(--font-size-100);
1070
1068
  font-weight: var(--font-weight-400);
1071
1069
  line-height: var(--line-height-160);
@@ -1082,6 +1080,16 @@
1082
1080
  }
1083
1081
  }
1084
1082
 
1083
+ .tag.background-emphasis {
1084
+ background-color: var(--color-container-emphasis);
1085
+ color: var(--color-content-body);
1086
+ }
1087
+
1088
+ .tag.background-white {
1089
+ background-color: var(--color-container-white);
1090
+ color: var(--color-content-action-secondary);
1091
+ }
1092
+
1085
1093
  :host([type$="stock"]) .tag {
1086
1094
  padding-left: var(--spacing-2-xl);
1087
1095
  }
@@ -1091,7 +1099,6 @@
1091
1099
  position: absolute;
1092
1100
  display: inline-block;
1093
1101
  top: 50%;
1094
- background: green;
1095
1102
  left: var(--spacing-s);
1096
1103
  transform: translateY(-50%);
1097
1104
  background-color: var(--color-content-error);
@@ -1108,12 +1115,12 @@
1108
1115
  background-color: var(--color-content-success);
1109
1116
  }
1110
1117
 
1111
- `;zt([a({type:String,reflect:!0})],tt.prototype,"type",2);tt=zt([A("o-tag")],tt);var Re=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,bt=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ze(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Re(t,e,n),n};let G=class extends m{constructor(){super(...arguments),this.type="top",this.text=""}render(){return h`
1118
+ `;bt([a({type:String,reflect:!0})],G.prototype,"type",2);bt([a({type:String,reflect:!0})],G.prototype,"bgstyle",2);G=bt([A("o-tag")],G);var Re=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,yt=(o,t,e,i)=>{for(var n=i>1?void 0:i?Ze(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(n=(i?s(t,e,n):s(n))||n);return i&&n&&Re(t,e,n),n};let K=class extends m{constructor(){super(...arguments),this.type="top",this.text=""}render(){return h`
1112
1119
  <div class="tooltip">
1113
1120
  <span class="tooltiptext">${this.text}</span>
1114
1121
  <slot></slot>
1115
1122
  </div>
1116
- `}};G.styles=w`
1123
+ `}};K.styles=w`
1117
1124
  .tooltip {
1118
1125
  position: relative;
1119
1126
  display: inline-block;
@@ -1205,4 +1212,4 @@
1205
1212
  border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
1206
1213
  }
1207
1214
 
1208
- `;bt([a({type:String,reflect:!0})],G.prototype,"type",2);bt([a({type:String,reflect:!0})],G.prototype,"text",2);G=bt([A("o-tooltip")],G);
1215
+ `;yt([a({type:String,reflect:!0})],K.prototype,"type",2);yt([a({type:String,reflect:!0})],K.prototype,"text",2);K=yt([A("o-tooltip")],K);
package/index.mjs CHANGED
@@ -3,8 +3,8 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const J = globalThis, dt = J.ShadowRoot && (J.ShadyCSS === void 0 || J.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ut = Symbol(), yt = /* @__PURE__ */ new WeakMap();
7
- let kt = class {
6
+ const Y = globalThis, dt = Y.ShadowRoot && (Y.ShadyCSS === void 0 || Y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ut = Symbol(), mt = /* @__PURE__ */ new WeakMap();
7
+ let Pt = class {
8
8
  constructor(t, e, i) {
9
9
  if (this._$cssResult$ = !0, i !== ut) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t, this.t = e;
@@ -14,7 +14,7 @@ let kt = class {
14
14
  const e = this.t;
15
15
  if (dt && t === void 0) {
16
16
  const i = e !== void 0 && e.length === 1;
17
- i && (t = yt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && yt.set(e, t));
17
+ i && (t = mt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && mt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,20 +22,20 @@ let kt = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const Ht = (o) => new kt(typeof o == "string" ? o : o + "", void 0, ut), w = (o, ...t) => {
25
+ const Ht = (o) => new Pt(typeof o == "string" ? o : o + "", void 0, ut), w = (o, ...t) => {
26
26
  const e = o.length === 1 ? o[0] : t.reduce((i, n, r) => i + ((s) => {
27
27
  if (s._$cssResult$ === !0) return s.cssText;
28
28
  if (typeof s == "number") return s;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(n) + o[r + 1], o[0]);
31
- return new kt(e, o, ut);
31
+ return new Pt(e, o, ut);
32
32
  }, Mt = (o, t) => {
33
33
  if (dt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const i = document.createElement("style"), n = J.litNonce;
35
+ const i = document.createElement("style"), n = Y.litNonce;
36
36
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, o.appendChild(i);
37
37
  }
38
- }, mt = dt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
38
+ }, wt = dt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
40
  for (const i of t.cssRules) e += i.cssText;
41
41
  return Ht(e);
@@ -45,7 +45,7 @@ const Ht = (o) => new kt(typeof o == "string" ? o : o + "", void 0, ut), w = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Tt, defineProperty: Dt, getOwnPropertyDescriptor: Ut, getOwnPropertyNames: Nt, getOwnPropertySymbols: jt, getPrototypeOf: Ft } = Object, L = globalThis, wt = L.trustedTypes, Vt = wt ? wt.emptyScript : "", st = L.reactiveElementPolyfillSupport, F = (o, t) => o, Y = { toAttribute(o, t) {
48
+ const { is: Tt, defineProperty: Dt, getOwnPropertyDescriptor: Ut, getOwnPropertyNames: Nt, getOwnPropertySymbols: jt, getPrototypeOf: Ft } = Object, L = globalThis, xt = L.trustedTypes, Vt = xt ? xt.emptyScript : "", st = L.reactiveElementPolyfillSupport, F = (o, t) => o, Q = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? Vt : null;
@@ -73,7 +73,7 @@ const { is: Tt, defineProperty: Dt, getOwnPropertyDescriptor: Ut, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, ft = (o, t) => !Tt(o, t), xt = { attribute: !0, type: String, converter: Y, reflect: !1, useDefault: !1, hasChanged: ft };
76
+ } }, gt = (o, t) => !Tt(o, t), $t = { attribute: !0, type: String, converter: Q, reflect: !1, useDefault: !1, hasChanged: gt };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), L.litPropertyMetadata ?? (L.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let T = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -82,7 +82,7 @@ let T = class extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t, e = xt) {
85
+ static createProperty(t, e = $t) {
86
86
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
87
87
  const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
88
88
  n !== void 0 && Dt(this.prototype, t, n);
@@ -100,7 +100,7 @@ let T = class extends HTMLElement {
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
103
- return this.elementProperties.get(t) ?? xt;
103
+ return this.elementProperties.get(t) ?? $t;
104
104
  }
105
105
  static _$Ei() {
106
106
  if (this.hasOwnProperty(F("elementProperties"))) return;
@@ -129,8 +129,8 @@ let T = class extends HTMLElement {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
131
  const i = new Set(t.flat(1 / 0).reverse());
132
- for (const n of i) e.unshift(mt(n));
133
- } else t !== void 0 && e.push(mt(t));
132
+ for (const n of i) e.unshift(wt(n));
133
+ } else t !== void 0 && e.push(wt(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
@@ -184,7 +184,7 @@ let T = class extends HTMLElement {
184
184
  var r;
185
185
  const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
186
186
  if (n !== void 0 && i.reflect === !0) {
187
- const s = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : Y).toAttribute(e, i.type);
187
+ const s = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : Q).toAttribute(e, i.type);
188
188
  this._$Em = t, s == null ? this.removeAttribute(n) : this.setAttribute(n, s), this._$Em = null;
189
189
  }
190
190
  }
@@ -192,7 +192,7 @@ let T = class extends HTMLElement {
192
192
  var r, s;
193
193
  const i = this.constructor, n = i._$Eh.get(t);
194
194
  if (n !== void 0 && this._$Em !== n) {
195
- const c = i.getPropertyOptions(n), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : Y;
195
+ const c = i.getPropertyOptions(n), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : Q;
196
196
  this._$Em = n, this[n] = l.fromAttribute(e, c.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(n)) ?? null, this._$Em = null;
197
197
  }
198
198
  }
@@ -200,7 +200,7 @@ let T = class extends HTMLElement {
200
200
  var n;
201
201
  if (t !== void 0) {
202
202
  const r = this.constructor, s = this[t];
203
- if (i ?? (i = r.getPropertyOptions(t)), !((i.hasChanged ?? ft)(s, e) || i.useDefault && i.reflect && s === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(r._$Eu(t, i)))) return;
203
+ if (i ?? (i = r.getPropertyOptions(t)), !((i.hasChanged ?? gt)(s, e) || i.useDefault && i.reflect && s === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(r._$Eu(t, i)))) return;
204
204
  this.C(t, e, i);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -282,50 +282,50 @@ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[F("elementProper
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const V = globalThis, Q = V.trustedTypes, $t = Q ? Q.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Pt = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Bt = "?" + E, Rt = `<${Bt}>`, O = document, R = () => O.createComment(""), Z = (o) => o === null || typeof o != "object" && typeof o != "function", gt = Array.isArray, Zt = (o) => gt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", rt = `[
286
- \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _t = /-->/g, Ct = />/g, P = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), At = /'/g, St = /"/g, It = /^(?:script|style|textarea|title)$/i, qt = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), h = qt(1), z = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Et = /* @__PURE__ */ new WeakMap(), B = O.createTreeWalker(O, 129);
288
- function Ot(o, t) {
289
- if (!gt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
- return $t !== void 0 ? $t.createHTML(t) : t;
285
+ const V = globalThis, tt = V.trustedTypes, _t = tt ? tt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Bt = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, It = "?" + E, Rt = `<${It}>`, O = document, R = () => O.createComment(""), Z = (o) => o === null || typeof o != "object" && typeof o != "function", ft = Array.isArray, Zt = (o) => ft(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", rt = `[
286
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ct = /-->/g, At = />/g, P = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), St = /'/g, Et = /"/g, Ot = /^(?:script|style|textarea|title)$/i, qt = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), h = qt(1), z = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Lt = /* @__PURE__ */ new WeakMap(), B = O.createTreeWalker(O, 129);
288
+ function zt(o, t) {
289
+ if (!ft(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
+ return _t !== void 0 ? _t.createHTML(t) : t;
291
291
  }
292
292
  const Wt = (o, t) => {
293
293
  const e = o.length - 1, i = [];
294
294
  let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = j;
295
295
  for (let c = 0; c < e; c++) {
296
296
  const l = o[c];
297
- let f, v, d = -1, $ = 0;
298
- for (; $ < l.length && (s.lastIndex = $, v = s.exec(l), v !== null); ) $ = s.lastIndex, s === j ? v[1] === "!--" ? s = _t : v[1] !== void 0 ? s = Ct : v[2] !== void 0 ? (It.test(v[2]) && (n = RegExp("</" + v[2], "g")), s = P) : v[3] !== void 0 && (s = P) : s === P ? v[0] === ">" ? (s = n ?? j, d = -1) : v[1] === void 0 ? d = -2 : (d = s.lastIndex - v[2].length, f = v[1], s = v[3] === void 0 ? P : v[3] === '"' ? St : At) : s === St || s === At ? s = P : s === _t || s === Ct ? s = j : (s = P, n = void 0);
297
+ let g, v, d = -1, $ = 0;
298
+ for (; $ < l.length && (s.lastIndex = $, v = s.exec(l), v !== null); ) $ = s.lastIndex, s === j ? v[1] === "!--" ? s = Ct : v[1] !== void 0 ? s = At : v[2] !== void 0 ? (Ot.test(v[2]) && (n = RegExp("</" + v[2], "g")), s = P) : v[3] !== void 0 && (s = P) : s === P ? v[0] === ">" ? (s = n ?? j, d = -1) : v[1] === void 0 ? d = -2 : (d = s.lastIndex - v[2].length, g = v[1], s = v[3] === void 0 ? P : v[3] === '"' ? Et : St) : s === Et || s === St ? s = P : s === Ct || s === At ? s = j : (s = P, n = void 0);
299
299
  const S = s === P && o[c + 1].startsWith("/>") ? " " : "";
300
- r += s === j ? l + Rt : d >= 0 ? (i.push(f), l.slice(0, d) + Pt + l.slice(d) + E + S) : l + E + (d === -2 ? c : S);
300
+ r += s === j ? l + Rt : d >= 0 ? (i.push(g), l.slice(0, d) + Bt + l.slice(d) + E + S) : l + E + (d === -2 ? c : S);
301
301
  }
302
- return [Ot(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
302
+ return [zt(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
303
303
  };
304
304
  class q {
305
305
  constructor({ strings: t, _$litType$: e }, i) {
306
306
  let n;
307
307
  this.parts = [];
308
308
  let r = 0, s = 0;
309
- const c = t.length - 1, l = this.parts, [f, v] = Wt(t, e);
310
- if (this.el = q.createElement(f, i), B.currentNode = this.el.content, e === 2 || e === 3) {
309
+ const c = t.length - 1, l = this.parts, [g, v] = Wt(t, e);
310
+ if (this.el = q.createElement(g, i), B.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const d = this.el.content.firstChild;
312
312
  d.replaceWith(...d.childNodes);
313
313
  }
314
314
  for (; (n = B.nextNode()) !== null && l.length < c; ) {
315
315
  if (n.nodeType === 1) {
316
- if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(Pt)) {
317
- const $ = v[s++], S = n.getAttribute(d).split(E), X = /([.?@])?(.*)/.exec($);
318
- l.push({ type: 1, index: r, name: X[2], strings: S, ctor: X[1] === "." ? Kt : X[1] === "?" ? Xt : X[1] === "@" ? Jt : et }), n.removeAttribute(d);
316
+ if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(Bt)) {
317
+ const $ = v[s++], S = n.getAttribute(d).split(E), J = /([.?@])?(.*)/.exec($);
318
+ l.push({ type: 1, index: r, name: J[2], strings: S, ctor: J[1] === "." ? Kt : J[1] === "?" ? Xt : J[1] === "@" ? Jt : et }), n.removeAttribute(d);
319
319
  } else d.startsWith(E) && (l.push({ type: 6, index: r }), n.removeAttribute(d));
320
- if (It.test(n.tagName)) {
320
+ if (Ot.test(n.tagName)) {
321
321
  const d = n.textContent.split(E), $ = d.length - 1;
322
322
  if ($ > 0) {
323
- n.textContent = Q ? Q.emptyScript : "";
323
+ n.textContent = tt ? tt.emptyScript : "";
324
324
  for (let S = 0; S < $; S++) n.append(d[S], R()), B.nextNode(), l.push({ type: 2, index: ++r });
325
325
  n.append(d[$], R());
326
326
  }
327
327
  }
328
- } else if (n.nodeType === 8) if (n.data === Bt) l.push({ type: 2, index: r });
328
+ } else if (n.nodeType === 8) if (n.data === It) l.push({ type: 2, index: r });
329
329
  else {
330
330
  let d = -1;
331
331
  for (; (d = n.data.indexOf(E, d + 1)) !== -1; ) l.push({ type: 7, index: r }), d += E.length - 1;
@@ -361,8 +361,8 @@ class Gt {
361
361
  let r = B.nextNode(), s = 0, c = 0, l = i[0];
362
362
  for (; l !== void 0; ) {
363
363
  if (s === l.index) {
364
- let f;
365
- l.type === 2 ? f = new K(r, r.nextSibling, this, t) : l.type === 1 ? f = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (f = new Yt(r, this, t)), this._$AV.push(f), l = i[++c];
364
+ let g;
365
+ l.type === 2 ? g = new X(r, r.nextSibling, this, t) : l.type === 1 ? g = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (g = new Yt(r, this, t)), this._$AV.push(g), l = i[++c];
366
366
  }
367
367
  s !== (l == null ? void 0 : l.index) && (r = B.nextNode(), s++);
368
368
  }
@@ -373,7 +373,7 @@ class Gt {
373
373
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
- class K {
376
+ class X {
377
377
  get _$AU() {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -406,7 +406,7 @@ class K {
406
406
  }
407
407
  $(t) {
408
408
  var r;
409
- const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = q.createElement(Ot(i.h, i.h[0]), this.options)), i);
409
+ const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = q.createElement(zt(i.h, i.h[0]), this.options)), i);
410
410
  if (((r = this._$AH) == null ? void 0 : r._$AD) === n) this._$AH.p(e);
411
411
  else {
412
412
  const s = new Gt(n, this), c = s.u(this.options);
@@ -414,14 +414,14 @@ class K {
414
414
  }
415
415
  }
416
416
  _$AC(t) {
417
- let e = Et.get(t.strings);
418
- return e === void 0 && Et.set(t.strings, e = new q(t)), e;
417
+ let e = Lt.get(t.strings);
418
+ return e === void 0 && Lt.set(t.strings, e = new q(t)), e;
419
419
  }
420
420
  k(t) {
421
- gt(this._$AH) || (this._$AH = [], this._$AR());
421
+ ft(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
423
  let i, n = 0;
424
- for (const r of t) n === e.length ? e.push(i = new K(this.O(R()), this.O(R()), this, this.options)) : i = e[n], i._$AI(r), n++;
424
+ for (const r of t) n === e.length ? e.push(i = new X(this.O(R()), this.O(R()), this, this.options)) : i = e[n], i._$AI(r), n++;
425
425
  n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
@@ -452,8 +452,8 @@ class et {
452
452
  if (r === void 0) t = D(this, t, e, 0), s = !Z(t) || t !== this._$AH && t !== z, s && (this._$AH = t);
453
453
  else {
454
454
  const c = t;
455
- let l, f;
456
- for (t = r[0], l = 0; l < r.length - 1; l++) f = D(this, c[i + l], e, l), f === z && (f = this._$AH[l]), s || (s = !Z(f) || f !== this._$AH[l]), f === p ? t = p : t !== p && (t += (f ?? "") + r[l + 1]), this._$AH[l] = f;
455
+ let l, g;
456
+ for (t = r[0], l = 0; l < r.length - 1; l++) g = D(this, c[i + l], e, l), g === z && (g = this._$AH[l]), s || (s = !Z(g) || g !== this._$AH[l]), g === p ? t = p : t !== p && (t += (g ?? "") + r[l + 1]), this._$AH[l] = g;
457
457
  }
458
458
  s && !n && this.j(t);
459
459
  }
@@ -503,13 +503,13 @@ class Yt {
503
503
  }
504
504
  }
505
505
  const at = V.litHtmlPolyfillSupport;
506
- at == null || at(q, K), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.3.0");
506
+ at == null || at(q, X), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.3.0");
507
507
  const Qt = (o, t, e) => {
508
508
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
509
509
  let n = i._$litPart$;
510
510
  if (n === void 0) {
511
511
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- i._$litPart$ = n = new K(t.insertBefore(R(), r), r, void 0, e ?? {});
512
+ i._$litPart$ = n = new X(t.insertBefore(R(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return n._$AI(o), n;
515
515
  };
@@ -544,8 +544,8 @@ let m = class extends T {
544
544
  return z;
545
545
  }
546
546
  };
547
- var Lt;
548
- m._$litElement$ = !0, m.finalized = !0, (Lt = I.litElementHydrateSupport) == null || Lt.call(I, { LitElement: m });
547
+ var kt;
548
+ m._$litElement$ = !0, m.finalized = !0, (kt = I.litElementHydrateSupport) == null || kt.call(I, { LitElement: m });
549
549
  const lt = I.litElementPolyfillSupport;
550
550
  lt == null || lt({ LitElement: m });
551
551
  (I.litElementVersions ?? (I.litElementVersions = [])).push("4.2.0");
@@ -564,7 +564,7 @@ const A = (o) => (t, e) => {
564
564
  * Copyright 2017 Google LLC
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
- const te = { attribute: !0, type: String, converter: Y, reflect: !1, hasChanged: ft }, ee = (o = te, t, e) => {
567
+ const te = { attribute: !0, type: String, converter: Q, reflect: !1, hasChanged: gt }, ee = (o = te, t, e) => {
568
568
  const { kind: i, metadata: n } = e;
569
569
  let r = globalThis.litPropertyMetadata.get(n);
570
570
  if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), i === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), i === "accessor") {
@@ -680,10 +680,10 @@ const re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
680
680
  `, ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
681
681
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
682
682
  </svg>
683
- `, fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
683
+ `, ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
684
684
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
685
685
  </svg>
686
- `, ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
686
+ `, fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
687
687
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
688
688
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
689
689
  </svg>
@@ -732,8 +732,8 @@ const re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
732
732
  "star-25": pe,
733
733
  "star-50": de,
734
734
  "star-75": ue,
735
- "star-100": fe,
736
- cross: ge,
735
+ "star-100": ge,
736
+ cross: fe,
737
737
  search: ve,
738
738
  arrowLeft: me,
739
739
  arrowTop: we,
@@ -1688,7 +1688,7 @@ var De = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, b = (o, t,
1688
1688
  (s = o[r]) && (n = (i ? s(t, e, n) : s(n)) || n);
1689
1689
  return i && n && De(t, e, n), n;
1690
1690
  };
1691
- let g = class extends m {
1691
+ let f = class extends m {
1692
1692
  constructor() {
1693
1693
  super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
1694
1694
  this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
@@ -1787,7 +1787,7 @@ let g = class extends m {
1787
1787
  `;
1788
1788
  }
1789
1789
  };
1790
- g.styles = w`
1790
+ f.styles = w`
1791
1791
  :host {
1792
1792
  --z-overlay: 99;
1793
1793
  --z-panel: 100;
@@ -1930,52 +1930,52 @@ g.styles = w`
1930
1930
  `;
1931
1931
  b([
1932
1932
  a({ type: Boolean, reflect: !0 })
1933
- ], g.prototype, "open", 2);
1933
+ ], f.prototype, "open", 2);
1934
1934
  b([
1935
1935
  a({ type: Boolean, reflect: !0 })
1936
- ], g.prototype, "showHeader", 2);
1936
+ ], f.prototype, "showHeader", 2);
1937
1937
  b([
1938
1938
  a({ type: Boolean, reflect: !0 })
1939
- ], g.prototype, "showFooter", 2);
1939
+ ], f.prototype, "showFooter", 2);
1940
1940
  b([
1941
1941
  a({ type: Boolean, reflect: !0 })
1942
- ], g.prototype, "showHeaderStartIcon", 2);
1942
+ ], f.prototype, "showHeaderStartIcon", 2);
1943
1943
  b([
1944
1944
  a({ type: String, reflect: !0 })
1945
- ], g.prototype, "headerTitle", 2);
1945
+ ], f.prototype, "headerTitle", 2);
1946
1946
  b([
1947
1947
  a({ type: String, reflect: !0 })
1948
- ], g.prototype, "closeButtonLabel", 2);
1948
+ ], f.prototype, "closeButtonLabel", 2);
1949
1949
  b([
1950
1950
  a({ type: String, reflect: !0 })
1951
- ], g.prototype, "firstButtonLabel", 2);
1951
+ ], f.prototype, "firstButtonLabel", 2);
1952
1952
  b([
1953
1953
  a({ type: String, reflect: !0 })
1954
- ], g.prototype, "firstButtonVariant", 2);
1954
+ ], f.prototype, "firstButtonVariant", 2);
1955
1955
  b([
1956
1956
  a({ type: Function })
1957
- ], g.prototype, "onFirstButtonClick", 2);
1957
+ ], f.prototype, "onFirstButtonClick", 2);
1958
1958
  b([
1959
1959
  a({ type: String, reflect: !0 })
1960
- ], g.prototype, "secondaryButtonLabel", 2);
1960
+ ], f.prototype, "secondaryButtonLabel", 2);
1961
1961
  b([
1962
1962
  a({ type: String, reflect: !0 })
1963
- ], g.prototype, "secondaryButtonVariant", 2);
1963
+ ], f.prototype, "secondaryButtonVariant", 2);
1964
1964
  b([
1965
1965
  a({ type: Function })
1966
- ], g.prototype, "onSecondaryButtonClick", 2);
1966
+ ], f.prototype, "onSecondaryButtonClick", 2);
1967
1967
  b([
1968
1968
  a({ type: Boolean, reflect: !0 })
1969
- ], g.prototype, "disablePortal", 2);
1969
+ ], f.prototype, "disablePortal", 2);
1970
1970
  b([
1971
1971
  a({ type: Number, reflect: !0 })
1972
- ], g.prototype, "zIndex", 2);
1972
+ ], f.prototype, "zIndex", 2);
1973
1973
  b([
1974
1974
  a({ type: Boolean, reflect: !0 })
1975
- ], g.prototype, "initialized", 2);
1976
- g = b([
1975
+ ], f.prototype, "initialized", 2);
1976
+ f = b([
1977
1977
  A("o-side-panel")
1978
- ], g);
1978
+ ], f);
1979
1979
  var Ne = Object.defineProperty, je = Object.getOwnPropertyDescriptor, M = (o, t, e, i) => {
1980
1980
  for (var n = i > 1 ? void 0 : i ? je(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1981
1981
  (s = o[r]) && (n = (i ? s(t, e, n) : s(n)) || n);
@@ -2167,27 +2167,25 @@ M([
2167
2167
  C = M([
2168
2168
  A("thumbnail-navigation")
2169
2169
  ], C);
2170
- var Fe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, zt = (o, t, e, i) => {
2170
+ var Fe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, bt = (o, t, e, i) => {
2171
2171
  for (var n = i > 1 ? void 0 : i ? Ve(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2172
2172
  (s = o[r]) && (n = (i ? s(t, e, n) : s(n)) || n);
2173
2173
  return i && n && Fe(t, e, n), n;
2174
2174
  };
2175
- let tt = class extends m {
2175
+ let G = class extends m {
2176
2176
  constructor() {
2177
- super(...arguments), this.type = "";
2177
+ super(...arguments), this.type = "", this.bgstyle = "background-white";
2178
2178
  }
2179
2179
  render() {
2180
2180
  return h`
2181
- <span class="tag"><slot></slot></span>
2181
+ <span class="tag ${this.bgstyle}"><slot></slot></span>
2182
2182
  `;
2183
2183
  }
2184
2184
  };
2185
- tt.styles = w`
2185
+ G.styles = w`
2186
2186
  .tag {
2187
2187
  display: inline-block;
2188
2188
  padding: var(--spacing-2-xs) var(--spacing-s);
2189
- background-color: var(--color-container-white);
2190
- color: var(--color-content-action-secondary);
2191
2189
  font-size: var(--font-size-100);
2192
2190
  font-weight: var(--font-weight-400);
2193
2191
  line-height: var(--line-height-160);
@@ -2204,6 +2202,16 @@ tt.styles = w`
2204
2202
  }
2205
2203
  }
2206
2204
 
2205
+ .tag.background-emphasis {
2206
+ background-color: var(--color-container-emphasis);
2207
+ color: var(--color-content-body);
2208
+ }
2209
+
2210
+ .tag.background-white {
2211
+ background-color: var(--color-container-white);
2212
+ color: var(--color-content-action-secondary);
2213
+ }
2214
+
2207
2215
  :host([type$="stock"]) .tag {
2208
2216
  padding-left: var(--spacing-2-xl);
2209
2217
  }
@@ -2213,7 +2221,6 @@ tt.styles = w`
2213
2221
  position: absolute;
2214
2222
  display: inline-block;
2215
2223
  top: 50%;
2216
- background: green;
2217
2224
  left: var(--spacing-s);
2218
2225
  transform: translateY(-50%);
2219
2226
  background-color: var(--color-content-error);
@@ -2231,18 +2238,21 @@ tt.styles = w`
2231
2238
  }
2232
2239
 
2233
2240
  `;
2234
- zt([
2241
+ bt([
2235
2242
  a({ type: String, reflect: !0 })
2236
- ], tt.prototype, "type", 2);
2237
- tt = zt([
2243
+ ], G.prototype, "type", 2);
2244
+ bt([
2245
+ a({ type: String, reflect: !0 })
2246
+ ], G.prototype, "bgstyle", 2);
2247
+ G = bt([
2238
2248
  A("o-tag")
2239
- ], tt);
2240
- var Re = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, bt = (o, t, e, i) => {
2249
+ ], G);
2250
+ var Re = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, yt = (o, t, e, i) => {
2241
2251
  for (var n = i > 1 ? void 0 : i ? Ze(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2242
2252
  (s = o[r]) && (n = (i ? s(t, e, n) : s(n)) || n);
2243
2253
  return i && n && Re(t, e, n), n;
2244
2254
  };
2245
- let G = class extends m {
2255
+ let K = class extends m {
2246
2256
  constructor() {
2247
2257
  super(...arguments), this.type = "top", this.text = "";
2248
2258
  }
@@ -2255,7 +2265,7 @@ let G = class extends m {
2255
2265
  `;
2256
2266
  }
2257
2267
  };
2258
- G.styles = w`
2268
+ K.styles = w`
2259
2269
  .tooltip {
2260
2270
  position: relative;
2261
2271
  display: inline-block;
@@ -2348,12 +2358,12 @@ G.styles = w`
2348
2358
  }
2349
2359
 
2350
2360
  `;
2351
- bt([
2361
+ yt([
2352
2362
  a({ type: String, reflect: !0 })
2353
- ], G.prototype, "type", 2);
2354
- bt([
2363
+ ], K.prototype, "type", 2);
2364
+ yt([
2355
2365
  a({ type: String, reflect: !0 })
2356
- ], G.prototype, "text", 2);
2357
- G = bt([
2366
+ ], K.prototype, "text", 2);
2367
+ K = yt([
2358
2368
  A("o-tooltip")
2359
- ], G);
2369
+ ], K);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.4.39",
3
+ "version": "0.4.40",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",