vendor: 8,490 bytes, lines 1-17
1/** 2 * @license 3 * Copyright 2019 Google LLC 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6const tt=globalThis,st=tt.ShadowRoot&&(void 0===tt.ShadyCSS||tt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,it=Symbol(),et=new WeakMap;class ht{constructor(t,s,i){if(this._$cssResult$=!0,i!==it)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.i;const s=this.t;if(st&&void 0===t){const i=void 0!==s&&1===s.length;i&&(t=et.get(s)),void 0===t&&((this.i=t=new CSSStyleSheet).replaceSync(this.cssText),i&&et.set(s,t))}return t}toString(){return this.cssText}}const ot=t=>new ht("string"==typeof t?t:t+"",void 0,it),rt=(t,...s)=>{const i=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(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.")})(i)+t[e+1]),t[0]);return new ht(i,t,it)},nt=(t,s)=>{if(st)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=tt.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}},ct=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let s="";for(const i of t.cssRules)s+=i.cssText;return ot(s)})(t):t 7/** 8 * @license 9 * Copyright 2017 Google LLC 10 * SPDX-License-Identifier: BSD-3-Clause 11 */,{is:at,defineProperty:lt,getOwnPropertyDescriptor:ut,getOwnPropertyNames:dt,getOwnPropertySymbols:ft,getPrototypeOf:pt}=Object,vt=globalThis,mt=vt.trustedTypes,yt=mt?mt.emptyScript:"",gt=vt.reactiveElementPolyfillSupport,_t=(t,s)=>t,bt={toAttribute(t,s){switch(s){case Boolean:t=t?yt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},St=(t,s)=>!at(t,s),wt={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:St};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;class $t extends HTMLElement{static addInitializer(t){this.o(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this.u&&[...this.u.keys()]}static createProperty(t,s=wt){if(s.state&&(s.attribute=!1),this.o(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&<(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=ut(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const o=e?.call(this);h.call(this,s),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??wt}static o(){if(this.hasOwnProperty(_t("elementProperties")))return;const t=pt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_t("finalized")))return;if(this.finalized=!0,this.o(),this.hasOwnProperty(_t("properties"))){const t=this.properties,s=[...dt(t),...ft(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this.u=new Map;for(const[t,s]of this.elementProperties){const i=this.p(t,s);void 0!==i&&this.u.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(ct(t))}else void 0!==t&&s.push(ct(t));return s}static p(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this.v=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.m=null,this._()}_(){this.S=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this.$(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this.P??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this.P?.delete(t)}$(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this.v=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.P?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this.P?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}C(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor.p(t,i);if(void 0!==e&&!0===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:bt).toAttribute(s,i.type);this.m=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this.m=null}}_$AK(t,s){const i=this.constructor,e=i.u.get(t);if(void 0!==e&&this.m!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:bt;this.m=e,this[e]=h.fromAttribute(s,t.type),this.m=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??St)(this[t],s))return;this.T(t,s,i)}!1===this.isUpdatePending&&(this.S=this.M())}T(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this.m!==t&&(this.k??=new Set).add(t)}async M(){this.isUpdatePending=!0;try{await this.S}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.v){for(const[t,s]of this.v)this[t]=s;this.v=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.T(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this.P?.forEach((t=>t.hostUpdate?.())),this.update(s)):this.A()}catch(s){throw t=!1,this.A(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this.P?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}A(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.S}shouldUpdate(t){return!0}update(t){this.k&&=this.k.forEach((t=>this.C(t,this[t]))),this.A()}updated(t){}firstUpdated(t){}}$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[_t("elementProperties")]=new Map,$t[_t("finalized")]=new Map,gt?.({ReactiveElement:$t}),(vt.reactiveElementVersions??=[]).push("2.0.4"); 12/** 13 * @license 14 * Copyright 2017 Google LLC 15 * SPDX-License-Identifier: BSD-3-Clause 16 */ 17const Pt=globalThis,Ct=Pt.trustedTypes,Tt=Ct?Ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,xt="$lit$",Mt=`lit$${Math.random().toFixed(9).slice(2)}$`,kt="?"+Mt,At=`<${kt}>`,Et=document,Ut=()=>Et.createComment(""),Nt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ot=Array.isArray,Rt=t=>Ot(t)||"function"==typeof t?.[Symbol.iterator],zt="[ \t\n\f\r]",Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Lt=/-->/g,It=/>/g,jt=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Dt=/'/g,Ht=/"/g,Bt=/^(?:script|style|textarea|title)$/i,Wt=t=>(s,...i)=>({_$litType$:t,strings:s,values:i}),qt=Wt(1),Jt=Wt(2),Zt=Wt(3),Ft=Symbol.for("lit-noChange"),Gt=Symbol.for("lit-nothing"),Kt=new WeakMap,Qt=Et.createTreeWalker(Et,129);function Xt(t,s){if(!Ot(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(s):s}const Yt=(t,s)=>{const i=t.length-1,e=[];let h,o=2===s?"<svg>":3===s?"<math>":"",r=Vt;for(let s=0;s<i;s++){const i=t[s];let n,c,a=-1,l=0;for(;l<i.length&&(r.lastIndex=l,c=r.exec(i),null!==c);)l=r.lastIndex,r===Vt?"!--"===c[1]?r=Lt:void 0!==c[1]?r=It:void 0!==c[2]?(Bt.test(c[2])&&(h=RegExp("</"+c[2],"g")),r=jt):void 0!==c[3]&&(r=jt):r===jt?">"===c[0]?(r=h??Vt,a=-1):void 0===c[1]?a=-2:(a=r.lastIndex-c[2].length,n=c[1],r=void 0===c[3]?jt:'"'===c[3]?Ht:Dt):r===Ht||r===Dt?r=jt:r===Lt||r===It?r
vendor: 7,126 bytes, lines 17-28
17=Vt:(r=jt,h=void 0);const u=r===jt&&t[s+1].startsWith("/>")?" ":"";o+=r===Vt?i+At:a>=0?(e.push(n),i.slice(0,a)+xt+i.slice(a)+Mt+u):i+Mt+(-2===a?s:u)}return[Xt(t,o+(t[i]||"<?>")+(2===s?"</svg>":3===s?"</math>":"")),e]};class ts{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let h=0,o=0;const r=t.length-1,n=this.parts,[c,a]=Yt(t,s);if(this.el=ts.createElement(c,i),Qt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=Qt.nextNode())&&n.length<r;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(xt)){const s=a[o++],i=e.getAttribute(t).split(Mt),r=/([.?@])?(.*)/.exec(s);n.push({type:1,index:h,name:r[2],strings:i,ctor:"."===r[1]?os:"?"===r[1]?rs:"@"===r[1]?ns:hs}),e.removeAttribute(t)}else t.startsWith(Mt)&&(n.push({type:6,index:h}),e.removeAttribute(t));if(Bt.test(e.tagName)){const t=e.textContent.split(Mt),s=t.length-1;if(s>0){e.textContent=Ct?Ct.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],Ut()),Qt.nextNode(),n.push({type:2,index:++h});e.append(t[s],Ut())}}}else if(8===e.nodeType)if(e.data===kt)n.push({type:2,index:h});else{let t=-1;for(;-1!==(t=e.data.indexOf(Mt,t+1));)n.push({type:7,index:h}),t+=Mt.length-1}h++}}static createElement(t,s){const i=Et.createElement("template");return i.innerHTML=t,i}}function ss(t,s,i=t,e){if(s===Ft)return s;let h=void 0!==e?i.U?.[e]:i.N;const o=Nt(s)?void 0:s._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,i,e)),void 0!==e?(i.U??=[])[e]=h:i.N=h),void 0!==h&&(s=ss(t,h._$AS(t,s.values),h,e)),s}class is{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}O(t){const{el:{content:s},parts:i}=this._$AD,e=(t?.creationScope??Et).importNode(s,!0);Qt.currentNode=e;let h=Qt.nextNode(),o=0,r=0,n=i[0];for(;void 0!==n;){if(o===n.index){let s;2===n.type?s=new es(h,h.nextSibling,this,t):1===n.type?s=new n.ctor(h,n.name,n.strings,this,t):6===n.type&&(s=new cs(h,this,t)),this._$AV.push(s),n=i[++r]}o!==n?.index&&(h=Qt.nextNode(),o++)}return Qt.currentNode=Et,e}R(t){let s=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class es{get _$AU(){return this._$AM?._$AU??this.V}constructor(t,s,i,e){this.type=2,this._$AH=Gt,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this.V=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t?.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=ss(this,t,s),Nt(t)?t===Gt||null==t||""===t?(this._$AH!==Gt&&this._$AR(),this._$AH=Gt):t!==this._$AH&&t!==Ft&&this.L(t):void 0!==t._$litType$?this.I(t):void 0!==t.nodeType?this.j(t):Rt(t)?this.D(t):this.L(t)}H(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}j(t){this._$AH!==t&&(this._$AR(),this._$AH=this.H(t))}L(t){this._$AH!==Gt&&Nt(this._$AH)?this._$AA.nextSibling.data=t:this.j(Et.createTextNode(t)),this._$AH=t}I(t){const{values:s,_$litType$:i}=t,e="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ts.createElement(Xt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===e)this._$AH.R(s);else{const t=new is(e,this),i=t.O(this.options);t.R(s),this.j(i),this._$AH=t}}_$AC(t){let s=Kt.get(t.strings);return void 0===s&&Kt.set(t.strings,s=new ts(t)),s}D(t){Ot(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const h of t)e===s.length?s.push(i=new es(this.H(Ut()),this.H(Ut()),this,this.options)):i=s[e],i._$AI(h),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){void 0===this._$AM&&(this.V=t,this._$AP?.(t))}}class hs{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,h){this.type=1,this._$AH=Gt,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=h,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Gt}_$AI(t,s=this,i,e){const h=this.strings;let o=!1;if(void 0===h)t=ss(this,t,s,0),o=!Nt(t)||t!==this._$AH&&t!==Ft,o&&(this._$AH=t);else{const e=t;let r,n;for(t=h[0],r=0;r<h.length-1;r++)n=ss(this,e[i+r],s,r),n===Ft&&(n=this._$AH[r]),o||=!Nt(n)||n!==this._$AH[r],n===Gt?t=Gt:t!==Gt&&(t+=(n??"")+h[r+1]),this._$AH[r]=n}o&&!e&&this.B(t)}B(t){t===Gt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class os extends hs{constructor(){super(...arguments),this.type=3}B(t){this.element[this.name]=t===Gt?void 0:t}}class rs extends hs{constructor(){super(...arguments),this.type=4}B(t){this.element.toggleAttribute(this.name,!!t&&t!==Gt)}}class ns extends hs{constructor(t,s,i,e,h){super(t,s,i,e,h),this.type=5}_$AI(t,s=this){if((t=ss(this,t,s,0)??Gt)===Ft)return;const i=this._$AH,e=t===Gt&&i!==Gt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,h=t!==Gt&&(i===Gt||e);e&&this.element.removeEventListener(this.name,this,i),h&&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 cs{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ss(this,t)}}const as={W:xt,q:Mt,J:kt,Z:1,F:Yt,G:is,K:Rt,X:ss,Y:es,tt:hs,st:rs,it:ns,et:os,ht:cs},ls=Pt.litHtmlPolyfillSupport;ls?.(ts,es),(Pt.litHtmlVersions??=[]).push("3.2.0");const us=(t,s,i)=>{const e=i?.renderBefore??s;let h=e._$litPart$;if(void 0===h){const t=i?.renderBefore??null;e._$litPart$=h=new es(s.insertBefore(Ut(),t),t,void 0,i??{})}return h._$AI(t),h}; 18/** 19 * @license 20 * Copyright 2017 Google LLC 21 * SPDX-License-Identifier: BSD-3-Clause 22 */class ds extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this.ot=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.ot=us(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.ot?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.ot?.setConnected(!1)}render(){return Ft}}ds._$litElement$=!0,ds["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:ds});const fs=globalThis.litElementPolyfillSupport;fs?.({LitElement:ds});const ps={_$AK:(t,s,i)=>{t._$AK(s,i)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.1.0"); 23/** 24 * @license 25 * Copyright 2022 Google LLC 26 * SPDX-License-Identifier: BSD-3-Clause 27 */ 28const vs=!1;export{ht as CSSResult,ds as LitElement,$t as ReactiveElement,ps as _$LE,as as _$LH,nt as adoptStyles,rt as css,bt as defaultConverter,ct as getCompatibleStyle,qt as html,vs as isServer,Zt as mathml,Ft as noChange,St as notEqual,Gt as nothing,us as render,st as supp
28ortsAdoptingStyleSheets,Jt as svg,ot as unsafeCSS}; 29//# sourceMappingURL=lit-core.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.