Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phase2/outline-alert

Package Overview
Dependencies
Maintainers
10
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phase2/outline-alert - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

14

dist/index.js

@@ -1,6 +0,6 @@

"use strict";(()=>{var Dt=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var y=(i,t,e,s)=>{for(var r=s>1?void 0:s?Vt(t,e):t,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(t,e,r):o(r))||r);return s&&r&&Dt(t,e,r),r};var U=window,D=U.ShadowRoot&&(U.ShadyCSS===void 0||U.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),pt=new WeakMap,_=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==W)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(D&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=pt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&pt.set(e,t))}return t}toString(){return this.cssText}},dt=i=>new _(typeof i=="string"?i:i+"",void 0,W),G=(i,...t)=>{let e=i.length===1?i[0]:t.reduce((s,r,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[n+1],i[0]);return new _(e,i,W)},K=(i,t)=>{D?i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{let s=document.createElement("style"),r=U.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,i.appendChild(s)})},V=D?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return dt(e)})(i):i;var Z,j=window,mt=j.trustedTypes,jt=mt?mt.emptyScript:"",ft=j.reactiveElementPolyfillSupport,Y={toAttribute(i,t){switch(t){case Boolean:i=i?jt:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},vt=(i,t)=>t!==i&&(t==t||i==i),X={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:vt},v=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;(e=this.h)!==null&&e!==void 0||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,s)=>{let r=this._$Ep(s,e);r!==void 0&&(this._$Ev.set(r,s),t.push(r))}),t}static createProperty(t,e=X){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let s=typeof t=="symbol"?Symbol():"__"+t,r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(r){let n=this[t];this[e]=r,this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||X}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let r of s)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(V(r))}else t!==void 0&&e.push(V(t));return e}static _$Ep(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;let e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return K(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=X){var r;let n=this.constructor._$Ep(t,s);if(n!==void 0&&s.reflect===!0){let o=(((r=s.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?s.converter:Y).toAttribute(e,s.type);this._$El=t,o==null?this.removeAttribute(n):this.setAttribute(n,o),this._$El=null}}_$AK(t,e){var s;let r=this.constructor,n=r._$Ev.get(t);if(n!==void 0&&this._$El!==n){let o=r.getPropertyOptions(n),u=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?o.converter:Y;this._$El=n,this[n]=u.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,s){let r=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||vt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,n)=>this[n]=r),this._$Ei=void 0);let e=!1,s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostUpdate)===null||n===void 0?void 0:n.call(r)}),this.update(s)):this._$Ek()}catch(r){throw e=!1,this._$Ek(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(s=>{var r;return(r=s.hostUpdated)===null||r===void 0?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$EO(s,this[s],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},ft?.({ReactiveElement:v}),((Z=j.reactiveElementVersions)!==null&&Z!==void 0?Z:j.reactiveElementVersions=[]).push("1.4.1");var J,q=window,T=q.trustedTypes,gt=T?T.createPolicy("lit-html",{createHTML:i=>i}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,At="?"+b,qt=`<${At}>`,L=document,O=(i="")=>L.createComment(i),z=i=>i===null||typeof i!="object"&&typeof i!="function",_t=Array.isArray,Bt=i=>_t(i)||typeof i?.[Symbol.iterator]=="function",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yt=/-->/g,bt=/>/g,x=RegExp(`>|[
"use strict";(()=>{var ze=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var y=(r,e,t,o)=>{for(var s=o>1?void 0:o?Oe(e,t):e,i=r.length-1,n;i>=0;i--)(n=r[i])&&(s=(o?n(e,t,s):n(s))||s);return o&&s&&ze(e,t,s),s};var I=window,D=I.ShadowRoot&&(I.ShadyCSS===void 0||I.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,F=Symbol(),ae=new WeakMap,M=class{constructor(e,t,o){if(this._$cssResult$=!0,o!==F)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(D&&e===void 0){let o=t!==void 0&&t.length===1;o&&(e=ae.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(t,e))}return e}toString(){return this.cssText}},ce=r=>new M(typeof r=="string"?r:r+"",void 0,F),K=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((o,s,i)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+r[i+1],r[0]);return new M(t,r,F)},G=(r,e)=>{D?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let o=document.createElement("style"),s=I.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=t.cssText,r.appendChild(o)})},q=D?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let o of e.cssRules)t+=o.cssText;return ce(t)})(r):r;var Z,B=window,de=B.trustedTypes,ke=de?de.emptyScript:"",ue=B.reactiveElementPolyfillSupport,Y={toAttribute(r,e){switch(e){case Boolean:r=r?ke:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},he=(r,e)=>e!==r&&(e==e||r==r),X={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:he},v=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;(t=this.h)!==null&&t!==void 0||(this.h=[]),this.h.push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((t,o)=>{let s=this._$Ep(o,t);s!==void 0&&(this._$Ev.set(s,o),e.push(s))}),e}static createProperty(e,t=X){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){let o=typeof e=="symbol"?Symbol():"__"+e,s=this.getPropertyDescriptor(e,o,t);s!==void 0&&Object.defineProperty(this.prototype,e,s)}}static getPropertyDescriptor(e,t,o){return{get(){return this[t]},set(s){let i=this[e];this[t]=s,this.requestUpdate(e,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||X}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(let s of o)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let s of o)t.unshift(q(s))}else e!==void 0&&t.push(q(e));return t}static _$Ep(e,t){let o=t.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,o;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)===null||o===void 0||o.call(e))}removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;let t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return G(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var o;return(o=t.hostConnected)===null||o===void 0?void 0:o.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var o;return(o=t.hostDisconnected)===null||o===void 0?void 0:o.call(t)})}attributeChangedCallback(e,t,o){this._$AK(e,o)}_$EO(e,t,o=X){var s;let i=this.constructor._$Ep(e,o);if(i!==void 0&&o.reflect===!0){let n=(((s=o.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?o.converter:Y).toAttribute(t,o.type);this._$El=e,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(e,t){var o;let s=this.constructor,i=s._$Ev.get(e);if(i!==void 0&&this._$El!==i){let n=s.getPropertyOptions(i),d=typeof n.converter=="function"?{fromAttribute:n.converter}:((o=n.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?n.converter:Y;this._$El=i,this[i]=d.fromAttribute(t,n.type),this._$El=null}}requestUpdate(e,t,o){let s=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||he)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),o.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,o))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,i)=>this[i]=s),this._$Ei=void 0);let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),(e=this._$ES)===null||e===void 0||e.forEach(s=>{var i;return(i=s.hostUpdate)===null||i===void 0?void 0:i.call(s)}),this.update(o)):this._$Ek()}catch(s){throw t=!1,this._$Ek(),s}t&&this._$AE(o)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(o=>{var s;return(s=o.hostUpdated)===null||s===void 0?void 0:s.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,o)=>this._$EO(o,this[o],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},ue?.({ReactiveElement:v}),((Z=B.reactiveElementVersions)!==null&&Z!==void 0?Z:B.reactiveElementVersions=[]).push("1.4.1");var J,j=window,T=j.trustedTypes,pe=T?T.createPolicy("lit-html",{createHTML:r=>r}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,xe="?"+b,Ue=`<${xe}>`,w=document,O=(r="")=>w.createComment(r),k=r=>r===null||typeof r!="object"&&typeof r!="function",$e=Array.isArray,Ne=r=>$e(r)||typeof r?.[Symbol.iterator]=="function",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,me=/-->/g,fe=/>/g,$=RegExp(`>|[
\f\r](?:([^\\s"'>=/]+)([
\f\r]*=[
\f\r]*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,xt=/"/g,wt=/^(?:script|style|textarea|title)$/i,Tt=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),k=Tt(1),Lt=Tt(2),g=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Et=new WeakMap,w=L.createTreeWalker(L,129,null,!1),Ft=(i,t)=>{let e=i.length-1,s=[],r,n=t===2?"<svg>":"",o=M;for(let l=0;l<e;l++){let a=i[l],d,c,h=-1,m=0;for(;m<a.length&&(o.lastIndex=m,c=o.exec(a),c!==null);)m=o.lastIndex,o===M?c[1]==="!--"?o=yt:c[1]!==void 0?o=bt:c[2]!==void 0?(wt.test(c[2])&&(r=RegExp("</"+c[2],"g")),o=x):c[3]!==void 0&&(o=x):o===x?c[0]===">"?(o=r??M,h=-1):c[1]===void 0?h=-2:(h=o.lastIndex-c[2].length,d=c[1],o=c[3]===void 0?x:c[3]==='"'?xt:$t):o===xt||o===$t?o=x:o===yt||o===bt?o=M:(o=x,r=void 0);let P=o===x&&i[l+1].startsWith("/>")?" ":"";n+=o===M?a+qt:h>=0?(s.push(d),a.slice(0,h)+"$lit$"+a.slice(h)+b+P):a+b+(h===-2?(s.push(void 0),l):P)}let u=n+(i[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return[gt!==void 0?gt.createHTML(u):u,s]},E=class{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let n=0,o=0,u=t.length-1,l=this.parts,[a,d]=Ft(t,e);if(this.el=E.createElement(a,s),w.currentNode=this.el.content,e===2){let c=this.el.content,h=c.firstChild;h.remove(),c.append(...h.childNodes)}for(;(r=w.nextNode())!==null&&l.length<u;){if(r.nodeType===1){if(r.hasAttributes()){let c=[];for(let h of r.getAttributeNames())if(h.endsWith("$lit$")||h.startsWith(b)){let m=d[o++];if(c.push(h),m!==void 0){let P=r.getAttribute(m.toLowerCase()+"$lit$").split(b),I=/([.?@])?(.*)/.exec(m);l.push({type:1,index:n,name:I[2],strings:P,ctor:I[1]==="."?tt:I[1]==="?"?et:I[1]==="@"?st:R})}else l.push({type:6,index:n})}for(let h of c)r.removeAttribute(h)}if(wt.test(r.tagName)){let c=r.textContent.split(b),h=c.length-1;if(h>0){r.textContent=T?T.emptyScript:"";for(let m=0;m<h;m++)r.append(c[m],O()),w.nextNode(),l.push({type:2,index:++n});r.append(c[h],O())}}}else if(r.nodeType===8)if(r.data===At)l.push({type:2,index:n});else{let c=-1;for(;(c=r.data.indexOf(b,c+1))!==-1;)l.push({type:7,index:n}),c+=b.length-1}n++}}static createElement(t,e){let s=L.createElement("template");return s.innerHTML=t,s}};function C(i,t,e=i,s){var r,n,o,u;if(t===g)return t;let l=s!==void 0?(r=e._$Co)===null||r===void 0?void 0:r[s]:e._$Cl,a=z(t)?void 0:t._$litDirective$;return l?.constructor!==a&&((n=l?._$AO)===null||n===void 0||n.call(l,!1),a===void 0?l=void 0:(l=new a(i),l._$AT(i,e,s)),s!==void 0?((o=(u=e)._$Co)!==null&&o!==void 0?o:u._$Co=[])[s]=l:e._$Cl=l),l!==void 0&&(t=C(i,l._$AS(i,t.values),l,s)),t}var Q=class{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;let{el:{content:s},parts:r}=this._$AD,n=((e=t?.creationScope)!==null&&e!==void 0?e:L).importNode(s,!0);w.currentNode=n;let o=w.nextNode(),u=0,l=0,a=r[0];for(;a!==void 0;){if(u===a.index){let d;a.type===2?d=new S(o,o.nextSibling,this,t):a.type===1?d=new a.ctor(o,a.name,a.strings,this,t):a.type===6&&(d=new it(o,this,t)),this.u.push(d),a=r[++l]}u!==a?.index&&(o=w.nextNode(),u++)}return n}p(t){let e=0;for(let s of this.u)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},S=class{constructor(t,e,s,r){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cm=(n=r?.isConnected)===null||n===void 0||n}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),z(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==g&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Bt(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==p&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var e;let{values:s,_$litType$:r}=t,n=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=E.createElement(r.h,this.options)),r);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===n)this._$AH.p(s);else{let o=new Q(n,this),u=o.v(this.options);o.p(s),this.T(u),this._$AH=o}}_$AC(t){let e=Et.get(t.strings);return e===void 0&&Et.set(t.strings,e=new E(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let n of t)r===e.length?e.push(s=new S(this.O(O()),this.O(O()),this,this.options)):s=e[r],s._$AI(n),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,e);t&&t!==this._$AB;){let r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},R=class{constructor(t,e,s,r,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,r){let n=this.strings,o=!1;if(n===void 0)t=C(this,t,e,0),o=!z(t)||t!==this._$AH&&t!==g,o&&(this._$AH=t);else{let u=t,l,a;for(t=n[0],l=0;l<n.length-1;l++)a=C(this,u[s+l],e,l),a===g&&(a=this._$AH[l]),o||(o=!z(a)||a!==this._$AH[l]),a===p?t=p:t!==p&&(t+=(a??"")+n[l+1]),this._$AH[l]=a}o&&!r&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},Wt=T?T.emptyScript:"",et=class extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,Wt):this.element.removeAttribute(this.name)}},st=class extends R{constructor(t,e,s,r,n){super(t,e,s,r,n),this.type=5}_$AI(t,e=this){var s;if((t=(s=C(this,t,e,0))!==null&&s!==void 0?s:p)===g)return;let r=this._$AH,n=t===p&&r!==p||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==p&&(r===p||n);n&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}},it=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}};var St=q.litHtmlPolyfillSupport;St?.(E,S),((J=q.litHtmlVersions)!==null&&J!==void 0?J:q.litHtmlVersions=[]).push("2.4.0");var Ct=(i,t,e)=>{var s,r;let n=(s=e?.renderBefore)!==null&&s!==void 0?s:t,o=n._$litPart$;if(o===void 0){let u=(r=e?.renderBefore)!==null&&r!==void 0?r:null;n._$litPart$=o=new S(t.insertBefore(O(),u),u,void 0,e??{})}return o._$AI(i),o};var rt,nt;var $=class extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;let s=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=s.firstChild),s}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return g}};$.finalized=!0,$._$litElement$=!0,(rt=globalThis.litElementHydrateSupport)===null||rt===void 0||rt.call(globalThis,{LitElement:$});var Rt=globalThis.litElementPolyfillSupport;Rt?.({LitElement:$});((nt=globalThis.litElementVersions)!==null&&nt!==void 0?nt:globalThis.litElementVersions=[]).push("3.2.2");var B=i=>t=>typeof t=="function"?((e,s)=>(customElements.define(e,s),s))(i,t):((e,s)=>{let{kind:r,elements:n}=s;return{kind:r,elements:n,finisher(o){customElements.define(e,o)}}})(i,t);var Gt=(i,t)=>t.kind==="method"&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(e){e.createProperty(t.key,i)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){typeof t.initializer=="function"&&(this[t.key]=t.initializer.call(this))},finisher(e){e.createProperty(t.key,i)}};function H(i){return(t,e)=>e!==void 0?((s,r,n)=>{r.constructor.createProperty(n,s)})(i,t,e):Gt(i,t)}var ot,Ne=((ot=window.HTMLSlotElement)===null||ot===void 0?void 0:ot.prototype.assignedElements)!=null?(i,t)=>i.assignedElements(t):(i,t)=>i.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE);var lt=i=>i??p;var A=class extends ${};A=y([B("outline-element")],A);var Kt={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},os=new Map(Object.entries(Kt).map(([i,t])=>[i,parseInt(t.slice(0,-2))]).sort(([,i],[,t])=>i-t));var Zt={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},hs=new Map(Object.entries(Zt).map(([i,t])=>[i,parseInt(t.slice(0,-2))]).sort(([,i],[,t])=>i-t));var kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ht=i=>(...t)=>({_$litDirective$:i,values:t}),F=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Xt=Ht(class extends F{constructor(i){var t;if(super(i),i.type!==kt.ATTRIBUTE||i.name!=="class"||((t=i.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var e,s;if(this.nt===void 0){this.nt=new Set,i.strings!==void 0&&(this.st=new Set(i.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!(!((e=this.st)===null||e===void 0)&&e.has(n))&&this.nt.add(n);return this.render(t)}let r=i.element.classList;this.nt.forEach(n=>{n in t||(r.remove(n),this.nt.delete(n))});for(let n in t){let o=!!t[n];o===this.nt.has(n)||((s=this.st)===null||s===void 0?void 0:s.has(n))||(o?(r.add(n),this.nt.add(n)):(r.remove(n),this.nt.delete(n)))}return g}});var Yt=Symbol.for(""),Jt=i=>{if(i?.r===Yt)return i?._$litStatic$};var Mt=new Map,Ot=i=>(t,...e)=>{let s=e.length,r,n,o=[],u=[],l,a=0,d=!1;for(;a<s;){for(l=t[a];a<s&&(n=e[a],(r=Jt(n))!==void 0);)l+=r+t[++a],d=!0;u.push(n),o.push(l),a++}if(a===s&&o.push(t[s]),d){let c=o.join("$$lit$$");(t=Mt.get(c))===void 0&&(o.raw=o,Mt.set(c,t=o)),e=u}return i(t,...e)},Qt=Ot(k),xs=Ot(Lt);function zt(i){Object.defineProperty(i,"__esModule",{value:!0,configurable:!0})}function ht(i,t,e,s){Object.defineProperty(i,t,{get:e,set:s,enumerable:!0,configurable:!0})}var Nt={};zt(Nt);ht(Nt,"default",()=>at);var at=class extends Error{constructor(t,e,s,r,n){super(t+":"+s+":"+r+": "+e),this.reason=e,this.filename=t,this.line=s,this.column=r,this.source=n}},Pt={};zt(Pt);ht(Pt,"default",()=>ct);var ct=class{constructor(t,e,s){this.start=t,this.end=e,this.source=s}},te={};ht(te,"CssTypes",()=>ut);var ut;(function(i){i.stylesheet="stylesheet",i.rule="rule",i.declaration="declaration",i.comment="comment",i.container="container",i.charset="charset",i.document="document",i.customMedia="custom-media",i.fontFace="font-face",i.host="host",i.import="import",i.keyframes="keyframes",i.keyframe="keyframe",i.layer="layer",i.media="media",i.namespace="namespace",i.page="page",i.supports="supports"})(ut||(ut={}));var Ut=G`
\f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ge=/"/g,Ee=/^(?:script|style|textarea|title)$/i,Ae=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),H=Ae(1),_e=Ae(2),g=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),ye=new WeakMap,S=w.createTreeWalker(w,129,null,!1),Pe=(r,e)=>{let t=r.length-1,o=[],s,i=e===2?"<svg>":"",n=z;for(let l=0;l<t;l++){let a=r[l],p,c,u=-1,m=0;for(;m<a.length&&(n.lastIndex=m,c=n.exec(a),c!==null);)m=n.lastIndex,n===z?c[1]==="!--"?n=me:c[1]!==void 0?n=fe:c[2]!==void 0?(Ee.test(c[2])&&(s=RegExp("</"+c[2],"g")),n=$):c[3]!==void 0&&(n=$):n===$?c[0]===">"?(n=s??z,u=-1):c[1]===void 0?u=-2:(u=n.lastIndex-c[2].length,p=c[1],n=c[3]===void 0?$:c[3]==='"'?ge:ve):n===ge||n===ve?n=$:n===me||n===fe?n=z:(n=$,s=void 0);let N=n===$&&r[l+1].startsWith("/>")?" ":"";i+=n===z?a+Ue:u>=0?(o.push(p),a.slice(0,u)+"$lit$"+a.slice(u)+b+N):a+b+(u===-2?(o.push(void 0),l):N)}let d=i+(r[t]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return[pe!==void 0?pe.createHTML(d):d,o]},E=class{constructor({strings:e,_$litType$:t},o){let s;this.parts=[];let i=0,n=0,d=e.length-1,l=this.parts,[a,p]=Pe(e,t);if(this.el=E.createElement(a,o),S.currentNode=this.el.content,t===2){let c=this.el.content,u=c.firstChild;u.remove(),c.append(...u.childNodes)}for(;(s=S.nextNode())!==null&&l.length<d;){if(s.nodeType===1){if(s.hasAttributes()){let c=[];for(let u of s.getAttributeNames())if(u.endsWith("$lit$")||u.startsWith(b)){let m=p[n++];if(c.push(u),m!==void 0){let N=s.getAttribute(m.toLowerCase()+"$lit$").split(b),P=/([.?@])?(.*)/.exec(m);l.push({type:1,index:i,name:P[2],strings:N,ctor:P[1]==="."?ee:P[1]==="?"?te:P[1]==="@"?oe:C})}else l.push({type:6,index:i})}for(let u of c)s.removeAttribute(u)}if(Ee.test(s.tagName)){let c=s.textContent.split(b),u=c.length-1;if(u>0){s.textContent=T?T.emptyScript:"";for(let m=0;m<u;m++)s.append(c[m],O()),S.nextNode(),l.push({type:2,index:++i});s.append(c[u],O())}}}else if(s.nodeType===8)if(s.data===xe)l.push({type:2,index:i});else{let c=-1;for(;(c=s.data.indexOf(b,c+1))!==-1;)l.push({type:7,index:i}),c+=b.length-1}i++}}static createElement(e,t){let o=w.createElement("template");return o.innerHTML=e,o}};function L(r,e,t=r,o){var s,i,n,d;if(e===g)return e;let l=o!==void 0?(s=t._$Co)===null||s===void 0?void 0:s[o]:t._$Cl,a=k(e)?void 0:e._$litDirective$;return l?.constructor!==a&&((i=l?._$AO)===null||i===void 0||i.call(l,!1),a===void 0?l=void 0:(l=new a(r),l._$AT(r,t,o)),o!==void 0?((n=(d=t)._$Co)!==null&&n!==void 0?n:d._$Co=[])[o]=l:t._$Cl=l),l!==void 0&&(e=L(r,l._$AS(r,e.values),l,o)),e}var Q=class{constructor(e,t){this.u=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(e){var t;let{el:{content:o},parts:s}=this._$AD,i=((t=e?.creationScope)!==null&&t!==void 0?t:w).importNode(o,!0);S.currentNode=i;let n=S.nextNode(),d=0,l=0,a=s[0];for(;a!==void 0;){if(d===a.index){let p;a.type===2?p=new A(n,n.nextSibling,this,e):a.type===1?p=new a.ctor(n,a.name,a.strings,this,e):a.type===6&&(p=new re(n,this,e)),this.u.push(p),a=s[++l]}d!==a?.index&&(n=S.nextNode(),d++)}return i}p(e){let t=0;for(let o of this.u)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,t),t+=o.strings.length-2):o._$AI(e[t])),t++}},A=class{constructor(e,t,o,s){var i;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=o,this.options=s,this._$Cm=(i=s?.isConnected)===null||i===void 0||i}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cm}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=L(this,e,t),k(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==g&&this.g(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ne(e)?this.k(e):this.g(e)}O(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}g(e){this._$AH!==h&&k(this._$AH)?this._$AA.nextSibling.data=e:this.T(w.createTextNode(e)),this._$AH=e}$(e){var t;let{values:o,_$litType$:s}=e,i=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=E.createElement(s.h,this.options)),s);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===i)this._$AH.p(o);else{let n=new Q(i,this),d=n.v(this.options);n.p(o),this.T(d),this._$AH=n}}_$AC(e){let t=ye.get(e.strings);return t===void 0&&ye.set(e.strings,t=new E(e)),t}k(e){$e(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,s=0;for(let i of e)s===t.length?t.push(o=new A(this.O(O()),this.O(O()),this,this.options)):o=t[s],o._$AI(i),s++;s<t.length&&(this._$AR(o&&o._$AB.nextSibling,s),t.length=s)}_$AR(e=this._$AA.nextSibling,t){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,t);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){var t;this._$AM===void 0&&(this._$Cm=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}},C=class{constructor(e,t,o,s,i){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=t,this._$AM=s,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=h}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,o,s){let i=this.strings,n=!1;if(i===void 0)e=L(this,e,t,0),n=!k(e)||e!==this._$AH&&e!==g,n&&(this._$AH=e);else{let d=e,l,a;for(e=i[0],l=0;l<i.length-1;l++)a=L(this,d[o+l],t,l),a===g&&(a=this._$AH[l]),n||(n=!k(a)||a!==this._$AH[l]),a===h?e=h:e!==h&&(e+=(a??"")+i[l+1]),this._$AH[l]=a}n&&!s&&this.j(e)}j(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ee=class extends C{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===h?void 0:e}},Ie=T?T.emptyScript:"",te=class extends C{constructor(){super(...arguments),this.type=4}j(e){e&&e!==h?this.element.setAttribute(this.name,Ie):this.element.removeAttribute(this.name)}},oe=class extends C{constructor(e,t,o,s,i){super(e,t,o,s,i),this.type=5}_$AI(e,t=this){var o;if((e=(o=L(this,e,t,0))!==null&&o!==void 0?o:h)===g)return;let s=this._$AH,i=e===h&&s!==h||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,n=e!==h&&(s===h||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,o;typeof this._$AH=="function"?this._$AH.call((o=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}},re=class{constructor(e,t,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){L(this,e)}};var be=j.litHtmlPolyfillSupport;be?.(E,A),((J=j.litHtmlVersions)!==null&&J!==void 0?J:j.litHtmlVersions=[]).push("2.4.0");var Se=(r,e,t)=>{var o,s;let i=(o=t?.renderBefore)!==null&&o!==void 0?o:e,n=i._$litPart$;if(n===void 0){let d=(s=t?.renderBefore)!==null&&s!==void 0?s:null;i._$litPart$=n=new A(e.insertBefore(O(),d),d,void 0,t??{})}return n._$AI(r),n};var se,ie;var x=class extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;let o=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=o.firstChild),o}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Se(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return g}};x.finalized=!0,x._$litElement$=!0,(se=globalThis.litElementHydrateSupport)===null||se===void 0||se.call(globalThis,{LitElement:x});var Te=globalThis.litElementPolyfillSupport;Te?.({LitElement:x});((ie=globalThis.litElementVersions)!==null&&ie!==void 0?ie:globalThis.litElementVersions=[]).push("3.2.2");var V=r=>e=>typeof e=="function"?((t,o)=>(customElements.define(t,o),o))(r,e):((t,o)=>{let{kind:s,elements:i}=o;return{kind:s,elements:i,finisher(n){customElements.define(t,n)}}})(r,e);var De=(r,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,r)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,r)}};function R(r){return(e,t)=>t!==void 0?((o,s,i)=>{s.constructor.createProperty(i,o)})(r,e,t):De(r,e)}var ne,wt=((ne=window.HTMLSlotElement)===null||ne===void 0?void 0:ne.prototype.assignedElements)!=null?(r,e)=>r.assignedElements(e):(r,e)=>r.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);var le=r=>r??h;var _=class extends x{};_=y([V("outline-element")],_);var qe={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},Yt=new Map(Object.entries(qe).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var Be={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},oo=new Map(Object.entries(Be).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var we={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Le=r=>(...e)=>({_$litDirective$:r,values:e}),W=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,o){this._$Ct=e,this._$AM=t,this._$Ci=o}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var je=Le(class extends W{constructor(r){var e;if(super(r),r.type!==we.ATTRIBUTE||r.name!=="class"||((e=r.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){var t,o;if(this.nt===void 0){this.nt=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!(!((t=this.st)===null||t===void 0)&&t.has(i))&&this.nt.add(i);return this.render(e)}let s=r.element.classList;this.nt.forEach(i=>{i in e||(s.remove(i),this.nt.delete(i))});for(let i in e){let n=!!e[i];n===this.nt.has(i)||((o=this.st)===null||o===void 0?void 0:o.has(i))||(n?(s.add(i),this.nt.add(i)):(s.remove(i),this.nt.delete(i)))}return g}});var Ve=Symbol.for(""),We=r=>{if(r?.r===Ve)return r?._$litStatic$};var Ce=new Map,He=r=>(e,...t)=>{let o=t.length,s,i,n=[],d=[],l,a=0,p=!1;for(;a<o;){for(l=e[a];a<o&&(i=t[a],(s=We(i))!==void 0);)l+=s+e[++a],p=!0;d.push(i),n.push(l),a++}if(a===o&&n.push(e[o]),p){let c=n.join("$$lit$$");(e=Ce.get(c))===void 0&&(n.raw=n,Ce.set(c,e=n)),t=d}return r(e,...t)},Fe=He(H),po=He(_e);var Me=K`
/* Apply component specific CSS */

@@ -63,9 +63,9 @@ :host{

}
`;var ie=["small","large"],re=["info","warning","error","success"],f=class extends A{constructor(){super(...arguments);this.status="info";this.isInteractive=!1;this.shouldShowIcon=!1;this.size="large"}render(){return k`
`;var Ge=["small","large"],Ze=["info","warning","error","success"],f=class extends _{constructor(){super(...arguments);this.status="info";this.isInteractive=!1;this.shouldShowIcon=!1;this.size="large"}render(){return H`
<div
class="alert-body"
role="${this.isInteractive?"alertdialog":"alert"}"
aria-labelledby=${lt(this.isInteractive?"message":void 0)}
aria-labelledby=${le(this.isInteractive?"message":void 0)}
>
${this.shouldShowIcon===!0?k`
${this.shouldShowIcon===!0?H`
<div class="icon">

@@ -75,3 +75,3 @@ <!--@todo include icon when we have that ready.-->

`:null}
${this.size==="large"?k`
${this.size==="large"?H`
<div class="alert-header">

@@ -85,3 +85,3 @@ <slot name="header">${this.status}</slot>

</div>
`}};f.styles=[Ut],y([H({type:String,attribute:"status"})],f.prototype,"status",2),y([H({type:Boolean,attribute:"is-interactive"})],f.prototype,"isInteractive",2),y([H({type:Boolean,attribute:"should-show-icon"})],f.prototype,"shouldShowIcon",2),y([H({type:String,attribute:"size"})],f.prototype,"size",2),f=y([B("outline-alert")],f);})();
`}};f.styles=[Me],y([R({type:String,attribute:"status"})],f.prototype,"status",2),y([R({type:Boolean,attribute:"is-interactive"})],f.prototype,"isInteractive",2),y([R({type:Boolean,attribute:"should-show-icon"})],f.prototype,"shouldShowIcon",2),y([R({type:String,attribute:"size"})],f.prototype,"size",2),f=y([V("outline-alert")],f);})();
/**

@@ -88,0 +88,0 @@ * @license

{
"name": "@phase2/outline-alert",
"version": "0.1.8",
"version": "0.1.9",
"description": "The Outline Components for the web alert component",

@@ -5,0 +5,0 @@ "keywords": [

@@ -77,5 +77,4 @@ import { html, TemplateResult, CSSResultGroup } from 'lit';

>
${
this.shouldShowIcon === true
? html`
${this.shouldShowIcon === true
? html`
<div class="icon">

@@ -85,7 +84,5 @@ <!--@todo include icon when we have that ready.-->

`
: null
}
${
this.size === 'large'
? html`
: null}
${this.size === 'large'
? html`
<div class="alert-header">

@@ -95,4 +92,3 @@ <slot name="header">${this.status}</slot>

`
: null
}
: null}
<div class="message" id="message">

@@ -99,0 +95,0 @@ <slot></slot>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc