@fluid-topics/ft-toggle 1.1.35 → 1.1.37
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/build/ft-toggle.min.js +13 -13
- package/package.json +4 -4
package/build/ft-toggle.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),g(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?g(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},g=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(To){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,7 +22,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,g=globalThis,y=g.trustedTypes,u=y?y.emptyScript:"",b=g.reactiveElementPolyfillSupport,m=(t,o)=>t,O={toAttribute(t,o){switch(o){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},N=(t,o)=>!l(t,o),x={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(r)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),i=e.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:O).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:O;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??N)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(g.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
@@ -34,24 +34,24 @@ const v={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:N},w=(t=v,o,
|
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
36
|
*/
|
|
37
|
-
const R=globalThis,W=R.trustedTypes,I=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,k="?"+$,K=`<${k}>`,Z=document,z=()=>Z.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,A="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,H=/>/g,P=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,G=/"/g,T=/^(?:script|style|textarea|title)$/i,j=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),V=new WeakMap,q=Z.createTreeWalker(Z,129);function X(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==I?I.createHTML(o):o}let Q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let a=0,n=0;const s=o.length-1,
|
|
37
|
+
const R=globalThis,W=R.trustedTypes,I=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,k="?"+$,K=`<${k}>`,Z=document,z=()=>Z.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,A="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,H=/>/g,P=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,G=/"/g,T=/^(?:script|style|textarea|title)$/i,j=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),V=new WeakMap,q=Z.createTreeWalker(Z,129);function X(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==I?I.createHTML(o):o}let Q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let a=0,n=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=M;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,l=n.exec(e),null!==l);)p=n.lastIndex,n===M?"!--"===l[1]?n=B:void 0!==l[1]?n=H:void 0!==l[2]?(T.test(l[2])&&(i=RegExp("</"+l[2],"g")),n=P):void 0!==l[3]&&(n=P):n===P?">"===l[0]?(n=i??M,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,s=l[1],n=void 0===l[3]?P:'"'===l[3]?G:_):n===G||n===_?n=P:n===B||n===H?n=M:(n=P,i=void 0);const f=n===P&&t[o+1].startsWith("/>")?" ":"";a+=n===M?e+K:c>=0?(r.push(s),e.slice(0,c)+L+e.slice(c)+$+f):e+$+(-2===c?o:f)}return[X(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(c,r),q.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=q.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(L)){const o=p[n++],e=i.getAttribute(t).split($),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:r[2],strings:e,ctor:"."===r[1]?rt:"?"===r[1]?it:"@"===r[1]?at:et}),i.removeAttribute(t)}else t.startsWith($)&&(l.push({type:6,index:a}),i.removeAttribute(t));if(T.test(i.tagName)){const t=i.textContent.split($),o=t.length-1;if(o>0){i.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],z()),q.nextNode(),l.push({type:2,index:++a});i.append(t[o],z())}}}else if(8===i.nodeType)if(i.data===k)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=i.data.indexOf($,t+1));)l.push({type:7,index:a}),t+=$.length-1}a++}}static createElement(t,o){const e=Z.createElement("template");return e.innerHTML=t,e}};function tt(t,o,e=t,r){if(o===Y)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=F(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=tt(t,i._$AS(t,o.values),i,r)),o}let ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=tt(this,t,o),F(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==J&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Q.createElement(X(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Z).importNode(o,!0);q.currentNode=r;let i=q.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new ot(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new nt(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=q.nextNode(),a++)}return q.currentNode=Z,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=V.get(t.strings);return void 0===o&&V.set(t.strings,o=new Q(t)),o}T(o){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const a of o)i===e.length?e.push(r=new t(this.k(z()),this.k(z()),this,this.options)):r=e[i],r._$AI(a),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=J}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=tt(this,t,o,0),a=!F(t)||t!==this._$AH&&t!==Y,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=tt(this,r[e+n],o,n),s===Y&&(s=this._$AH[n]),a||=!F(s)||s!==this._$AH[n],s===J?t=J:t!==J&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends et{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},it=class extends et{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},at=class extends et{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=tt(this,t,o,0)??J)===Y)return;const e=this._$AH,r=t===J&&e!==J||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==J&&(e===J||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}};const st=R.litHtmlPolyfillSupport;st?.(Q,ot),(R.litHtmlVersions??=[]).push("3.1.0");
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2019 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
42
|
*/
|
|
43
|
-
const
|
|
43
|
+
const lt=globalThis,ct=lt.ShadowRoot&&(void 0===lt.ShadyCSS||lt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),ft=new WeakMap;let ht=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ct&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ft.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ft.set(o,t))}return t}toString(){return this.cssText}};const dt=t=>new ht("string"==typeof t?t:t+"",void 0,pt),gt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ht(e,t,pt)},yt=ct?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return dt(o)})(t):t
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
|
-
*/,{is:ut,defineProperty:bt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:Ot,getOwnPropertySymbols:Nt,getPrototypeOf:xt}=Object,St=globalThis,vt=St.trustedTypes,wt=vt?vt.emptyScript:"",Ct=St.reactiveElementPolyfillSupport,Ut=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Rt=(t,o)=>!ut(t,o),Wt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),St.litPropertyMetadata??=new WeakMap;class It extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Wt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&bt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=mt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Wt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Ot(t),...Nt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(yt(t))}else void 0!==t&&o.push(yt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(
|
|
48
|
+
*/,{is:ut,defineProperty:bt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:Ot,getOwnPropertySymbols:Nt,getPrototypeOf:xt}=Object,St=globalThis,vt=St.trustedTypes,wt=vt?vt.emptyScript:"",Ct=St.reactiveElementPolyfillSupport,Ut=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Rt=(t,o)=>!ut(t,o),Wt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),St.litPropertyMetadata??=new WeakMap;class It extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Wt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&bt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=mt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Wt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Ot(t),...Nt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(yt(t))}else void 0!==t&&o.push(yt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ct)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=lt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ut("elementProperties")]=new Map,It[Ut("finalized")]=new Map,Ct?.({ReactiveElement:It}),(St.reactiveElementVersions??=[]).push("2.0.2");
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
53
|
*/
|
|
54
|
-
const Lt=globalThis,$t=Lt.trustedTypes,kt=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,Kt="$lit$",Zt=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Zt,Ft=`<${zt}>`,Dt=document,At=()=>Dt.createComment(""),Mt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Bt=Array.isArray,Ht="[ \t\n\f\r]",Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_t=/-->/g,Gt=/>/g,Tt=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),jt=/'/g,Yt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,Vt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),qt=Symbol.for("lit-noChange"),Xt=Symbol.for("lit-nothing"),Qt=new WeakMap,to=Dt.createTreeWalker(Dt,129);function oo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const eo=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=Pt;for(let o=0;o<e;o++){const e=t[o];let s,c
|
|
54
|
+
const Lt=globalThis,$t=Lt.trustedTypes,kt=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,Kt="$lit$",Zt=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Zt,Ft=`<${zt}>`,Dt=document,At=()=>Dt.createComment(""),Mt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Bt=Array.isArray,Ht="[ \t\n\f\r]",Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_t=/-->/g,Gt=/>/g,Tt=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),jt=/'/g,Yt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,Vt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),qt=Symbol.for("lit-noChange"),Xt=Symbol.for("lit-nothing"),Qt=new WeakMap,to=Dt.createTreeWalker(Dt,129);function oo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const eo=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=Pt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,l=n.exec(e),null!==l);)p=n.lastIndex,n===Pt?"!--"===l[1]?n=_t:void 0!==l[1]?n=Gt:void 0!==l[2]?(Jt.test(l[2])&&(i=RegExp("</"+l[2],"g")),n=Tt):void 0!==l[3]&&(n=Tt):n===Tt?">"===l[0]?(n=i??Pt,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,s=l[1],n=void 0===l[3]?Tt:'"'===l[3]?Yt:jt):n===Yt||n===jt?n=Tt:n===_t||n===Gt?n=Pt:(n=Tt,i=void 0);const f=n===Tt&&t[o+1].startsWith("/>")?" ":"";a+=n===Pt?e+Ft:c>=0?(r.push(s),e.slice(0,c)+Kt+e.slice(c)+Zt+f):e+Zt+(-2===c?o:f)}return[oo(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class ro{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[l,c]=eo(t,o);if(this.el=ro.createElement(l,e),to.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=to.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Kt)){const o=c[a++],e=r.getAttribute(t).split(Zt),n=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?so:"?"===n[1]?lo:"@"===n[1]?co:no}),r.removeAttribute(t)}else t.startsWith(Zt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(Jt.test(r.tagName)){const t=r.textContent.split(Zt),o=t.length-1;if(o>0){r.textContent=$t?$t.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],At()),to.nextNode(),s.push({type:2,index:++i});r.append(t[o],At())}}}else if(8===r.nodeType)if(r.data===zt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Zt,t+1));)s.push({type:7,index:i}),t+=Zt.length-1}i++}}static createElement(t,o){const e=Dt.createElement("template");return e.innerHTML=t,e}}function io(t,o,e=t,r){if(o===qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=Mt(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=io(t,i._$AS(t,o.values),i,r)),o}class ao{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Xt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=io(this,t,o),Mt(t)?t===Xt||null==t||""===t?(this._$AH!==Xt&&this._$AR(),this._$AH=Xt):t!==this._$AH&&t!==qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Bt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Xt&&Mt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Dt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ro.createElement(oo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Dt).importNode(o,!0);to.currentNode=r;let i=to.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new ao(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new po(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=to.nextNode(),a++)}return to.currentNode=Dt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Qt.get(t.strings);return void 0===o&&Qt.set(t.strings,o=new ro(t)),o}T(t){Bt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new ao(this.k(At()),this.k(At()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class no{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Xt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Xt}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=io(this,t,o,0),a=!Mt(t)||t!==this._$AH&&t!==qt,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=io(this,r[e+n],o,n),s===qt&&(s=this._$AH[n]),a||=!Mt(s)||s!==this._$AH[n],s===Xt?t=Xt:t!==Xt&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===Xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class so extends no{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Xt?void 0:t}}class lo extends no{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Xt)}}class co extends no{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=io(this,t,o,0)??Xt)===qt)return;const e=this._$AH,r=t===Xt&&e!==Xt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Xt&&(e===Xt||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class po{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){io(this,t)}}const fo=Lt.litHtmlPolyfillSupport;fo?.(ro,ao),(Lt.litHtmlVersions??=[]).push("3.1.0");
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
@@ -62,7 +62,7 @@ class ho extends It{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2019 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
|
-
*/class vo extends ho{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{So?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=xo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,Co=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Uo=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Ro=Symbol("exportpartsDebouncer");class Wo extends vo{constructor(){super(),this[wo]=new o(5),this[Eo]=this.constructor.name,this[Uo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Uo])}updated(t){super.updated(t),
|
|
65
|
+
*/class vo extends ho{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{So?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=xo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,Co=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Uo=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Ro=Symbol("exportpartsDebouncer");class Wo extends vo{constructor(){super(),this[wo]=new o(5),this[Eo]=this.constructor.name,this[Uo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Uo])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Ro].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}wo=Ro,Co([C()],Wo.prototype,"exportpartsPrefix",void 0),Co([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],Wo.prototype,"exportpartsPrefixes",void 0),Co([C()],Wo.prototype,"customStylesheet",void 0);const Io=uo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Lo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var $o,ko,Ko;gt`
|
|
66
66
|
.highlight-html-match {
|
|
67
67
|
background: ${Io};
|
|
68
68
|
}
|
|
@@ -165,7 +165,7 @@ const Bo=1;let Ho=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
165
165
|
* @license
|
|
166
166
|
* Copyright 2020 Google LLC
|
|
167
167
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
168
|
-
*/,To=Symbol.for(""),jo=t=>{if(t?.r===To)return t?._$litStatic$},Yo=t=>({_$litStatic$:t,r:To}),Jo=new Map,Vo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c
|
|
168
|
+
*/,To=Symbol.for(""),jo=t=>{if(t?.r===To)return t?._$litStatic$},Yo=t=>({_$litStatic$:t,r:To}),Jo=new Map,Vo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(a=e[c],i=jo(a));)l+=i+o[++c],p=!0;c!==r&&s.push(a),n.push(l),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Jo.get(t))&&(n.raw=n,Jo.set(t,o=n)),e=s}return t(o,...e)})(j);var qo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(qo||(qo={}));const Xo=uo.extend("--ft-typography-font-family","",No.titleFont),Qo=uo.extend("--ft-typography-font-family","",No.contentFont),te={fontFamily:Qo,fontSize:uo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:uo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:uo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:uo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:uo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oe=uo.extend("--ft-typography-title-font-family","",Xo),ee=uo.extend("--ft-typography-title-font-size","",te.fontSize,"20px"),re=uo.extend("--ft-typography-title-font-weight","",te.fontWeight,"normal"),ie=uo.extend("--ft-typography-title-letter-spacing","",te.letterSpacing,"0.15px"),ae=uo.extend("--ft-typography-title-line-height","",te.lineHeight,"1.2"),ne=uo.extend("--ft-typography-title-text-transform","",te.textTransform,"inherit"),se=uo.extend("--ft-typography-title-dense-font-family","",Xo),le=uo.extend("--ft-typography-title-dense-font-size","",te.fontSize,"14px"),ce=uo.extend("--ft-typography-title-dense-font-weight","",te.fontWeight,"normal"),pe=uo.extend("--ft-typography-title-dense-letter-spacing","",te.letterSpacing,"0.105px"),fe=uo.extend("--ft-typography-title-dense-line-height","",te.lineHeight,"1.7"),he=uo.extend("--ft-typography-title-dense-text-transform","",te.textTransform,"inherit"),de=uo.extend("--ft-typography-subtitle1-font-family","",Qo),ge=uo.extend("--ft-typography-subtitle1-font-size","",te.fontSize,"16px"),ye=uo.extend("--ft-typography-subtitle1-font-weight","",te.fontWeight,"600"),ue=uo.extend("--ft-typography-subtitle1-letter-spacing","",te.letterSpacing,"0.144px"),be=uo.extend("--ft-typography-subtitle1-line-height","",te.lineHeight,"1.5"),me=uo.extend("--ft-typography-subtitle1-text-transform","",te.textTransform,"inherit"),Oe=uo.extend("--ft-typography-subtitle2-font-family","",Qo),Ne=uo.extend("--ft-typography-subtitle2-font-size","",te.fontSize,"14px"),xe=uo.extend("--ft-typography-subtitle2-font-weight","",te.fontWeight,"normal"),Se=uo.extend("--ft-typography-subtitle2-letter-spacing","",te.letterSpacing,"0.098px"),ve=uo.extend("--ft-typography-subtitle2-line-height","",te.lineHeight,"1.7"),we=uo.extend("--ft-typography-subtitle2-text-transform","",te.textTransform,"inherit"),Ce=uo.extend("--ft-typography-body1-font-family","",Qo),Ue=uo.extend("--ft-typography-body1-font-size","",te.fontSize,"16px"),Ee=uo.extend("--ft-typography-body1-font-weight","",te.fontWeight,"normal"),Re=uo.extend("--ft-typography-body1-letter-spacing","",te.letterSpacing,"0.496px"),We=uo.extend("--ft-typography-body1-line-height","",te.lineHeight,"1.5"),Ie=uo.extend("--ft-typography-body1-text-transform","",te.textTransform,"inherit"),Le=uo.extend("--ft-typography-body2-font-family","",Qo),$e=uo.extend("--ft-typography-body2-font-size","",te.fontSize,"14px"),ke=uo.extend("--ft-typography-body2-font-weight","",te.fontWeight,"normal"),Ke=uo.extend("--ft-typography-body2-letter-spacing","",te.letterSpacing,"0.252px"),Ze=uo.extend("--ft-typography-body2-line-height","",te.lineHeight,"1.4"),ze=uo.extend("--ft-typography-body2-text-transform","",te.textTransform,"inherit"),Fe=uo.extend("--ft-typography-caption-font-family","",Qo),De=uo.extend("--ft-typography-caption-font-size","",te.fontSize,"12px"),Ae=uo.extend("--ft-typography-caption-font-weight","",te.fontWeight,"normal"),Me=uo.extend("--ft-typography-caption-letter-spacing","",te.letterSpacing,"0.396px"),Be=uo.extend("--ft-typography-caption-line-height","",te.lineHeight,"1.33"),He=uo.extend("--ft-typography-caption-text-transform","",te.textTransform,"inherit"),Pe=uo.extend("--ft-typography-breadcrumb-font-family","",Qo),_e=uo.extend("--ft-typography-breadcrumb-font-size","",te.fontSize,"10px"),Ge=uo.extend("--ft-typography-breadcrumb-font-weight","",te.fontWeight,"normal"),Te=uo.extend("--ft-typography-breadcrumb-letter-spacing","",te.letterSpacing,"0.33px"),je=uo.extend("--ft-typography-breadcrumb-line-height","",te.lineHeight,"1.6"),Ye=uo.extend("--ft-typography-breadcrumb-text-transform","",te.textTransform,"inherit"),Je=uo.extend("--ft-typography-overline-font-family","",Qo),Ve=uo.extend("--ft-typography-overline-font-size","",te.fontSize,"10px"),qe=uo.extend("--ft-typography-overline-font-weight","",te.fontWeight,"normal"),Xe=uo.extend("--ft-typography-overline-letter-spacing","",te.letterSpacing,"1.5px"),Qe=uo.extend("--ft-typography-overline-line-height","",te.lineHeight,"1.6"),tr=uo.extend("--ft-typography-overline-text-transform","",te.textTransform,"uppercase"),or=uo.extend("--ft-typography-button-font-family","",Qo),er=uo.extend("--ft-typography-button-font-size","",te.fontSize,"14px"),rr=uo.extend("--ft-typography-button-font-weight","",te.fontWeight,"600"),ir=uo.extend("--ft-typography-button-letter-spacing","",te.letterSpacing,"1.246px"),ar=uo.extend("--ft-typography-button-line-height","",te.lineHeight,"1.15"),nr=uo.extend("--ft-typography-button-text-transform","",te.textTransform,"uppercase"),sr=gt`
|
|
169
169
|
.ft-typography--title {
|
|
170
170
|
font-family: ${oe};
|
|
171
171
|
font-size: ${ee};
|
|
@@ -174,16 +174,16 @@ const Bo=1;let Ho=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
174
174
|
line-height: ${ae};
|
|
175
175
|
text-transform: ${ne};
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
177
|
+
`,lr=gt`
|
|
178
178
|
.ft-typography--title-dense {
|
|
179
179
|
font-family: ${se};
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
180
|
+
font-size: ${le};
|
|
181
|
+
font-weight: ${ce};
|
|
182
182
|
letter-spacing: ${pe};
|
|
183
183
|
line-height: ${fe};
|
|
184
184
|
text-transform: ${he};
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`,cr=gt`
|
|
187
187
|
.ft-typography--subtitle1 {
|
|
188
188
|
font-family: ${de};
|
|
189
189
|
font-size: ${ge};
|
|
@@ -276,7 +276,7 @@ const Bo=1;let Ho=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
276
276
|
</${Yo(this.element)}>
|
|
277
277
|
`:Vo`
|
|
278
278
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
279
|
-
`}}Nr.styles=[sr,cr,
|
|
279
|
+
`}}Nr.styles=[sr,lr,cr,pr,fr,hr,dr,gr,yr,ur,br,...mr],Or([C()],Nr.prototype,"element",void 0),Or([C()],Nr.prototype,"variant",void 0),E("ft-typography")(Nr);var xr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Sr extends Wo{constructor(){super(...arguments),this.checked=!1,this.disabled=!1}render(){const t={"ft-toggle":!0,"ft-toggle--checked":this.checked,"ft-toggle--disabled":this.disabled};return Vt`
|
|
280
280
|
<label class="${Po(t)}" for="toggle-input">
|
|
281
281
|
<input type="checkbox" class="ft-toggle-input" id="toggle-input"
|
|
282
282
|
?checked=${this.checked}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-toggle",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.37",
|
|
4
4
|
"description": "A simple toggle component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-typography": "1.1.37",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.37",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "a2f1f35da13aa0735c3765b8149fc7564593a7ed"
|
|
27
27
|
}
|