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

@phase2/outline-alert

Package Overview
Dependencies
Maintainers
8
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.0.2 to 0.0.3

14

dist/index.js

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

"use strict";(()=>{var Ke=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var b=(r,e,t,o)=>{for(var n=o>1?void 0:o?We(e,t):e,i=r.length-1,s;i>=0;i--)(s=r[i])&&(n=(o?s(e,t,n):s(n))||n);return o&&n&&Ke(e,t,n),n};var B=window,V=B.ShadowRoot&&(B.ShadyCSS===void 0||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Y=Symbol(),fe=new WeakMap,R=class{constructor(e,t,o){if(this._$cssResult$=!0,o!==Y)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(V&&e===void 0){let o=t!==void 0&&t.length===1;o&&(e=fe.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&fe.set(t,e))}return e}toString(){return this.cssText}},q=r=>new R(typeof r=="string"?r:r+"",void 0,Y),S=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((o,n,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[i+1],r[0]);return new R(t,r,Y)},J=(r,e)=>{V?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let o=document.createElement("style"),n=B.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=t.cssText,r.appendChild(o)})},j=V?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let o of e.cssRules)t+=o.cssText;return q(t)})(r):r;var Q,K=window,ve=K.trustedTypes,Ge=ve?ve.emptyScript:"",ge=K.reactiveElementPolyfillSupport,te={toAttribute(r,e){switch(e){case Boolean:r=r?Ge: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}},be=(r,e)=>e!==r&&(e==e||r==r),ee={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:be},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 n=this._$Ep(o,t);n!==void 0&&(this._$Ev.set(n,o),e.push(n))}),e}static createProperty(e,t=ee){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,n=this.getPropertyDescriptor(e,o,t);n!==void 0&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,o){return{get(){return this[t]},set(n){let i=this[e];this[t]=n,this.requestUpdate(e,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||ee}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 n of o)this.createProperty(n,t[n])}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 n of o)t.unshift(j(n))}else e!==void 0&&t.push(j(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 J(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=ee){var n;let i=this.constructor._$Ep(e,o);if(i!==void 0&&o.reflect===!0){let s=(((n=o.converter)===null||n===void 0?void 0:n.toAttribute)!==void 0?o.converter:te).toAttribute(t,o.type);this._$El=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$El=null}}_$AK(e,t){var o;let n=this.constructor,i=n._$Ev.get(e);if(i!==void 0&&this._$El!==i){let s=n.getPropertyOptions(i),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?s.converter:te;this._$El=i,this[i]=c.fromAttribute(t,s.type),this._$El=null}}requestUpdate(e,t,o){let n=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||be)(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))):n=!1),!this.isUpdatePending&&n&&(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((n,i)=>this[i]=n),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(n=>{var i;return(i=n.hostUpdate)===null||i===void 0?void 0:i.call(n)}),this.update(o)):this._$Ek()}catch(n){throw t=!1,this._$Ek(),n}t&&this._$AE(o)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(o=>{var n;return(n=o.hostUpdated)===null||n===void 0?void 0:n.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"},ge?.({ReactiveElement:v}),((Q=K.reactiveElementVersions)!==null&&Q!==void 0?Q:K.reactiveElementVersions=[]).push("1.4.1");var oe,W=window,L=W.trustedTypes,ye=L?L.createPolicy("lit-html",{createHTML:r=>r}):void 0,y=`lit$${(Math.random()+"").slice(9)}$`,we="?"+y,Xe=`<${we}>`,C=document,N=(r="")=>C.createComment(r),O=r=>r===null||typeof r!="object"&&typeof r!="function",_e=Array.isArray,Ze=r=>_e(r)||typeof r?.[Symbol.iterator]=="function",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ee=/-->/g,xe=/>/g,A=RegExp(`>|[
"use strict";(()=>{var je=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var b=(r,e,t,o)=>{for(var n=o>1?void 0:o?Ke(e,t):e,i=r.length-1,s;i>=0;i--)(s=r[i])&&(n=(o?s(e,t,n):s(n))||n);return o&&n&&je(e,t,n),n};var B=window,V=B.ShadowRoot&&(B.ShadyCSS===void 0||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),me=new WeakMap,R=class{constructor(e,t,o){if(this._$cssResult$=!0,o!==Z)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(V&&e===void 0){let o=t!==void 0&&t.length===1;o&&(e=me.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&me.set(t,e))}return e}toString(){return this.cssText}},q=r=>new R(typeof r=="string"?r:r+"",void 0,Z),S=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((o,n,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[i+1],r[0]);return new R(t,r,Z)},Y=(r,e)=>{V?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let o=document.createElement("style"),n=B.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=t.cssText,r.appendChild(o)})},j=V?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let o of e.cssRules)t+=o.cssText;return q(t)})(r):r;var J,K=window,fe=K.trustedTypes,We=fe?fe.emptyScript:"",ve=K.reactiveElementPolyfillSupport,ee={toAttribute(r,e){switch(e){case Boolean:r=r?We: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}},ge=(r,e)=>e!==r&&(e==e||r==r),Q={attribute:!0,type:String,converter:ee,reflect:!1,hasChanged:ge},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 n=this._$Ep(o,t);n!==void 0&&(this._$Ev.set(n,o),e.push(n))}),e}static createProperty(e,t=Q){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,n=this.getPropertyDescriptor(e,o,t);n!==void 0&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,o){return{get(){return this[t]},set(n){let i=this[e];this[t]=n,this.requestUpdate(e,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Q}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 n of o)this.createProperty(n,t[n])}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 n of o)t.unshift(j(n))}else e!==void 0&&t.push(j(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 Y(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=Q){var n;let i=this.constructor._$Ep(e,o);if(i!==void 0&&o.reflect===!0){let s=(((n=o.converter)===null||n===void 0?void 0:n.toAttribute)!==void 0?o.converter:ee).toAttribute(t,o.type);this._$El=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$El=null}}_$AK(e,t){var o;let n=this.constructor,i=n._$Ev.get(e);if(i!==void 0&&this._$El!==i){let s=n.getPropertyOptions(i),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?s.converter:ee;this._$El=i,this[i]=c.fromAttribute(t,s.type),this._$El=null}}requestUpdate(e,t,o){let n=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||ge)(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))):n=!1),!this.isUpdatePending&&n&&(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((n,i)=>this[i]=n),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(n=>{var i;return(i=n.hostUpdate)===null||i===void 0?void 0:i.call(n)}),this.update(o)):this._$Ek()}catch(n){throw t=!1,this._$Ek(),n}t&&this._$AE(o)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(o=>{var n;return(n=o.hostUpdated)===null||n===void 0?void 0:n.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"},ve?.({ReactiveElement:v}),((J=K.reactiveElementVersions)!==null&&J!==void 0?J:K.reactiveElementVersions=[]).push("1.4.1");var te,W=window,L=W.trustedTypes,be=L?L.createPolicy("lit-html",{createHTML:r=>r}):void 0,y=`lit$${(Math.random()+"").slice(9)}$`,$e="?"+y,Ge=`<${$e}>`,C=document,N=(r="")=>C.createComment(r),O=r=>r===null||typeof r!="object"&&typeof r!="function",we=Array.isArray,Xe=r=>we(r)||typeof r?.[Symbol.iterator]=="function",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ye=/-->/g,Ee=/>/g,A=RegExp(`>|[
\f\r](?:([^\\s"'>=/]+)([
\f\r]*=[
\f\r]*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),Se=/'/g,Ae=/"/g,Le=/^(?:script|style|textarea|title)$/i,Ce=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=Ce(1),He=Ce(2),g=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),Te=new WeakMap,Me=(r,e,t)=>{var o,n;let i=(o=t?.renderBefore)!==null&&o!==void 0?o:e,s=i._$litPart$;if(s===void 0){let c=(n=t?.renderBefore)!==null&&n!==void 0?n:null;i._$litPart$=s=new $(e.insertBefore(N(),c),c,void 0,t??{})}return s._$AI(r),s},_=C.createTreeWalker(C,129,null,!1),Ye=(r,e)=>{let t=r.length-1,o=[],n,i=e===2?"<svg>":"",s=z;for(let l=0;l<t;l++){let a=r[l],p,d,u=-1,m=0;for(;m<a.length&&(s.lastIndex=m,d=s.exec(a),d!==null);)m=s.lastIndex,s===z?d[1]==="!--"?s=Ee:d[1]!==void 0?s=xe:d[2]!==void 0?(Le.test(d[2])&&(n=RegExp("</"+d[2],"g")),s=A):d[3]!==void 0&&(s=A):s===A?d[0]===">"?(s=n??z,u=-1):d[1]===void 0?u=-2:(u=s.lastIndex-d[2].length,p=d[1],s=d[3]===void 0?A:d[3]==='"'?Ae:Se):s===Ae||s===Se?s=A:s===Ee||s===xe?s=z:(s=A,n=void 0);let U=s===A&&r[l+1].startsWith("/>")?" ":"";i+=s===z?a+Xe:u>=0?(o.push(p),a.slice(0,u)+"$lit$"+a.slice(u)+y+U):a+y+(u===-2?(o.push(void 0),l):U)}let c=i+(r[t]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return[ye!==void 0?ye.createHTML(c):c,o]},T=class{constructor({strings:e,_$litType$:t},o){let n;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[a,p]=Ye(e,t);if(this.el=T.createElement(a,o),_.currentNode=this.el.content,t===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(n=_.nextNode())!==null&&l.length<c;){if(n.nodeType===1){if(n.hasAttributes()){let d=[];for(let u of n.getAttributeNames())if(u.endsWith("$lit$")||u.startsWith(y)){let m=p[s++];if(d.push(u),m!==void 0){let U=n.getAttribute(m.toLowerCase()+"$lit$").split(y),F=/([.?@])?(.*)/.exec(m);l.push({type:1,index:i,name:F[2],strings:U,ctor:F[1]==="."?ne:F[1]==="?"?ie:F[1]==="@"?se:M})}else l.push({type:6,index:i})}for(let u of d)n.removeAttribute(u)}if(Le.test(n.tagName)){let d=n.textContent.split(y),u=d.length-1;if(u>0){n.textContent=L?L.emptyScript:"";for(let m=0;m<u;m++)n.append(d[m],N()),_.nextNode(),l.push({type:2,index:++i});n.append(d[u],N())}}}else if(n.nodeType===8)if(n.data===we)l.push({type:2,index:i});else{let d=-1;for(;(d=n.data.indexOf(y,d+1))!==-1;)l.push({type:7,index:i}),d+=y.length-1}i++}}static createElement(e,t){let o=C.createElement("template");return o.innerHTML=e,o}};function H(r,e,t=r,o){var n,i,s,c;if(e===g)return e;let l=o!==void 0?(n=t._$Cl)===null||n===void 0?void 0:n[o]:t._$Cu,a=O(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?((s=(c=t)._$Cl)!==null&&s!==void 0?s:c._$Cl=[])[o]=l:t._$Cu=l),l!==void 0&&(e=H(r,l._$AS(r,e.values),l,o)),e}var re=class{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;let{el:{content:o},parts:n}=this._$AD,i=((t=e?.creationScope)!==null&&t!==void 0?t:C).importNode(o,!0);_.currentNode=i;let s=_.nextNode(),c=0,l=0,a=n[0];for(;a!==void 0;){if(c===a.index){let p;a.type===2?p=new $(s,s.nextSibling,this,e):a.type===1?p=new a.ctor(s,a.name,a.strings,this,e):a.type===6&&(p=new le(s,this,e)),this.v.push(p),a=n[++l]}c!==a?.index&&(s=_.nextNode(),c++)}return i}m(e){let t=0;for(let o of this.v)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,t),t+=o.strings.length-2):o._$AI(e[t])),t++}},$=class{constructor(e,t,o,n){var i;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=o,this.options=n,this._$C_=(i=n?.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._$C_}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=H(this,e,t),O(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==g&&this.$(e):e._$litType$!==void 0?this.T(e):e.nodeType!==void 0?this.k(e):Ze(e)?this.O(e):this.$(e)}S(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}$(e){this._$AH!==h&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(C.createTextNode(e)),this._$AH=e}T(e){var t;let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=T.createElement(n.h,this.options)),n);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===i)this._$AH.m(o);else{let s=new re(i,this),c=s.p(this.options);s.m(o),this.k(c),this._$AH=s}}_$AC(e){let t=Te.get(e.strings);return t===void 0&&Te.set(e.strings,t=new T(e)),t}O(e){_e(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,n=0;for(let i of e)n===t.length?t.push(o=new $(this.S(N()),this.S(N()),this,this.options)):o=t[n],o._$AI(i),n++;n<t.length&&(this._$AR(o&&o._$AB.nextSibling,n),t.length=n)}_$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 n=e.nextSibling;e.remove(),e=n}}setConnected(e){var t;this._$AM===void 0&&(this._$C_=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}},M=class{constructor(e,t,o,n,i){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,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,n){let i=this.strings,s=!1;if(i===void 0)e=H(this,e,t,0),s=!O(e)||e!==this._$AH&&e!==g,s&&(this._$AH=e);else{let c=e,l,a;for(e=i[0],l=0;l<i.length-1;l++)a=H(this,c[o+l],t,l),a===g&&(a=this._$AH[l]),s||(s=!O(a)||a!==this._$AH[l]),a===h?e=h:e!==h&&(e+=(a??"")+i[l+1]),this._$AH[l]=a}s&&!n&&this.P(e)}P(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ne=class extends M{constructor(){super(...arguments),this.type=3}P(e){this.element[this.name]=e===h?void 0:e}},Je=L?L.emptyScript:"",ie=class extends M{constructor(){super(...arguments),this.type=4}P(e){e&&e!==h?this.element.setAttribute(this.name,Je):this.element.removeAttribute(this.name)}},se=class extends M{constructor(e,t,o,n,i){super(e,t,o,n,i),this.type=5}_$AI(e,t=this){var o;if((e=(o=H(this,e,t,0))!==null&&o!==void 0?o:h)===g)return;let n=this._$AH,i=e===h&&n!==h||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==h&&(n===h||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},le=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){H(this,e)}};var $e=W.litHtmlPolyfillSupport;$e?.(T,$),((oe=W.litHtmlVersions)!==null&&oe!==void 0?oe:W.litHtmlVersions=[]).push("2.3.1");var ae,de;var E=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=Me(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}};E.finalized=!0,E._$litElement$=!0,(ae=globalThis.litElementHydrateSupport)===null||ae===void 0||ae.call(globalThis,{LitElement:E});var ke=globalThis.litElementPolyfillSupport;ke?.({LitElement:E});((de=globalThis.litElementVersions)!==null&&de!==void 0?de:globalThis.litElementVersions=[]).push("3.2.2");var G=r=>e=>typeof e=="function"?((t,o)=>(customElements.define(t,o),o))(r,e):((t,o)=>{let{kind:n,elements:i}=o;return{kind:n,elements:i,finisher(s){customElements.define(t,s)}}})(r,e);var Qe=(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 k(r){return(e,t)=>t!==void 0?((o,n,i)=>{n.constructor.createProperty(i,o)})(r,e,t):Qe(r,e)}var ce,Pt=((ce=window.HTMLSlotElement)===null||ce===void 0?void 0:ce.prototype.assignedElements)!=null?(r,e)=>r.assignedElements(e):(r,e)=>r.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);var D=r=>r??h;var ze=Symbol.for(""),et=r=>{if(r?.r===ze)return r?._$litStatic$},ue=r=>({_$litStatic$:r,r:ze});var Re=new Map,Ne=r=>(e,...t)=>{let o=t.length,n,i,s=[],c=[],l,a=0,p=!1;for(;a<o;){for(l=e[a];a<o&&(i=t[a],(n=et(i))!==void 0);)l+=n+e[++a],p=!0;c.push(i),s.push(l),a++}if(a===o&&s.push(e[o]),p){let d=s.join("$$lit$$");(e=Re.get(d))===void 0&&(s.raw=s,Re.set(d,e=s)),t=c}return r(e,...t)},Oe=Ne(w),so=Ne(He);var Ie=S`
\f\r"'\`<>=]|("|')|))|$)`,"g"),xe=/'/g,Se=/"/g,_e=/^(?:script|style|textarea|title)$/i,Le=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),w=Le(1),Ce=Le(2),g=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),Ae=new WeakMap,He=(r,e,t)=>{var o,n;let i=(o=t?.renderBefore)!==null&&o!==void 0?o:e,s=i._$litPart$;if(s===void 0){let c=(n=t?.renderBefore)!==null&&n!==void 0?n:null;i._$litPart$=s=new $(e.insertBefore(N(),c),c,void 0,t??{})}return s._$AI(r),s},_=C.createTreeWalker(C,129,null,!1),Ze=(r,e)=>{let t=r.length-1,o=[],n,i=e===2?"<svg>":"",s=z;for(let l=0;l<t;l++){let a=r[l],p,d,u=-1,m=0;for(;m<a.length&&(s.lastIndex=m,d=s.exec(a),d!==null);)m=s.lastIndex,s===z?d[1]==="!--"?s=ye:d[1]!==void 0?s=Ee:d[2]!==void 0?(_e.test(d[2])&&(n=RegExp("</"+d[2],"g")),s=A):d[3]!==void 0&&(s=A):s===A?d[0]===">"?(s=n??z,u=-1):d[1]===void 0?u=-2:(u=s.lastIndex-d[2].length,p=d[1],s=d[3]===void 0?A:d[3]==='"'?Se:xe):s===Se||s===xe?s=A:s===ye||s===Ee?s=z:(s=A,n=void 0);let U=s===A&&r[l+1].startsWith("/>")?" ":"";i+=s===z?a+Ge:u>=0?(o.push(p),a.slice(0,u)+"$lit$"+a.slice(u)+y+U):a+y+(u===-2?(o.push(void 0),l):U)}let c=i+(r[t]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return[be!==void 0?be.createHTML(c):c,o]},T=class{constructor({strings:e,_$litType$:t},o){let n;this.parts=[];let i=0,s=0,c=e.length-1,l=this.parts,[a,p]=Ze(e,t);if(this.el=T.createElement(a,o),_.currentNode=this.el.content,t===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(n=_.nextNode())!==null&&l.length<c;){if(n.nodeType===1){if(n.hasAttributes()){let d=[];for(let u of n.getAttributeNames())if(u.endsWith("$lit$")||u.startsWith(y)){let m=p[s++];if(d.push(u),m!==void 0){let U=n.getAttribute(m.toLowerCase()+"$lit$").split(y),F=/([.?@])?(.*)/.exec(m);l.push({type:1,index:i,name:F[2],strings:U,ctor:F[1]==="."?re:F[1]==="?"?ne:F[1]==="@"?ie:M})}else l.push({type:6,index:i})}for(let u of d)n.removeAttribute(u)}if(_e.test(n.tagName)){let d=n.textContent.split(y),u=d.length-1;if(u>0){n.textContent=L?L.emptyScript:"";for(let m=0;m<u;m++)n.append(d[m],N()),_.nextNode(),l.push({type:2,index:++i});n.append(d[u],N())}}}else if(n.nodeType===8)if(n.data===$e)l.push({type:2,index:i});else{let d=-1;for(;(d=n.data.indexOf(y,d+1))!==-1;)l.push({type:7,index:i}),d+=y.length-1}i++}}static createElement(e,t){let o=C.createElement("template");return o.innerHTML=e,o}};function H(r,e,t=r,o){var n,i,s,c;if(e===g)return e;let l=o!==void 0?(n=t._$Cl)===null||n===void 0?void 0:n[o]:t._$Cu,a=O(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?((s=(c=t)._$Cl)!==null&&s!==void 0?s:c._$Cl=[])[o]=l:t._$Cu=l),l!==void 0&&(e=H(r,l._$AS(r,e.values),l,o)),e}var oe=class{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;let{el:{content:o},parts:n}=this._$AD,i=((t=e?.creationScope)!==null&&t!==void 0?t:C).importNode(o,!0);_.currentNode=i;let s=_.nextNode(),c=0,l=0,a=n[0];for(;a!==void 0;){if(c===a.index){let p;a.type===2?p=new $(s,s.nextSibling,this,e):a.type===1?p=new a.ctor(s,a.name,a.strings,this,e):a.type===6&&(p=new se(s,this,e)),this.v.push(p),a=n[++l]}c!==a?.index&&(s=_.nextNode(),c++)}return i}m(e){let t=0;for(let o of this.v)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,t),t+=o.strings.length-2):o._$AI(e[t])),t++}},$=class{constructor(e,t,o,n){var i;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=o,this.options=n,this._$C_=(i=n?.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._$C_}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=H(this,e,t),O(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==g&&this.$(e):e._$litType$!==void 0?this.T(e):e.nodeType!==void 0?this.k(e):Xe(e)?this.O(e):this.$(e)}S(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}$(e){this._$AH!==h&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(C.createTextNode(e)),this._$AH=e}T(e){var t;let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=T.createElement(n.h,this.options)),n);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===i)this._$AH.m(o);else{let s=new oe(i,this),c=s.p(this.options);s.m(o),this.k(c),this._$AH=s}}_$AC(e){let t=Ae.get(e.strings);return t===void 0&&Ae.set(e.strings,t=new T(e)),t}O(e){we(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,n=0;for(let i of e)n===t.length?t.push(o=new $(this.S(N()),this.S(N()),this,this.options)):o=t[n],o._$AI(i),n++;n<t.length&&(this._$AR(o&&o._$AB.nextSibling,n),t.length=n)}_$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 n=e.nextSibling;e.remove(),e=n}}setConnected(e){var t;this._$AM===void 0&&(this._$C_=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}},M=class{constructor(e,t,o,n,i){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,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,n){let i=this.strings,s=!1;if(i===void 0)e=H(this,e,t,0),s=!O(e)||e!==this._$AH&&e!==g,s&&(this._$AH=e);else{let c=e,l,a;for(e=i[0],l=0;l<i.length-1;l++)a=H(this,c[o+l],t,l),a===g&&(a=this._$AH[l]),s||(s=!O(a)||a!==this._$AH[l]),a===h?e=h:e!==h&&(e+=(a??"")+i[l+1]),this._$AH[l]=a}s&&!n&&this.P(e)}P(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},re=class extends M{constructor(){super(...arguments),this.type=3}P(e){this.element[this.name]=e===h?void 0:e}},Ye=L?L.emptyScript:"",ne=class extends M{constructor(){super(...arguments),this.type=4}P(e){e&&e!==h?this.element.setAttribute(this.name,Ye):this.element.removeAttribute(this.name)}},ie=class extends M{constructor(e,t,o,n,i){super(e,t,o,n,i),this.type=5}_$AI(e,t=this){var o;if((e=(o=H(this,e,t,0))!==null&&o!==void 0?o:h)===g)return;let n=this._$AH,i=e===h&&n!==h||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==h&&(n===h||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},se=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){H(this,e)}};var Te=W.litHtmlPolyfillSupport;Te?.(T,$),((te=W.litHtmlVersions)!==null&&te!==void 0?te:W.litHtmlVersions=[]).push("2.3.1");var le,ae;var E=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=He(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}};E.finalized=!0,E._$litElement$=!0,(le=globalThis.litElementHydrateSupport)===null||le===void 0||le.call(globalThis,{LitElement:E});var Me=globalThis.litElementPolyfillSupport;Me?.({LitElement:E});((ae=globalThis.litElementVersions)!==null&&ae!==void 0?ae:globalThis.litElementVersions=[]).push("3.2.2");var G=r=>e=>typeof e=="function"?((t,o)=>(customElements.define(t,o),o))(r,e):((t,o)=>{let{kind:n,elements:i}=o;return{kind:n,elements:i,finisher(s){customElements.define(t,s)}}})(r,e);var Je=(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 k(r){return(e,t)=>t!==void 0?((o,n,i)=>{n.constructor.createProperty(i,o)})(r,e,t):Je(r,e)}var de,It=((de=window.HTMLSlotElement)===null||de===void 0?void 0:de.prototype.assignedElements)!=null?(r,e)=>r.assignedElements(e):(r,e)=>r.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);var D=r=>r??h;var Re=Symbol.for(""),Qe=r=>{if(r?.r===Re)return r?._$litStatic$},ce=r=>({_$litStatic$:r,r:Re});var ke=new Map,ze=r=>(e,...t)=>{let o=t.length,n,i,s=[],c=[],l,a=0,p=!1;for(;a<o;){for(l=e[a];a<o&&(i=t[a],(n=Qe(i))!==void 0);)l+=n+e[++a],p=!0;c.push(i),s.push(l),a++}if(a===o&&s.push(e[o]),p){let d=s.join("$$lit$$");(e=ke.get(d))===void 0&&(s.raw=s,ke.set(d,e=s)),t=c}return r(e,...t)},Ne=ze(w),no=ze(Ce);var Oe=S`
/* Apply standardized box sizing to the component. */

@@ -311,3 +311,3 @@ :host {

}
`;var x=class extends E{connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}_conditionalSlotTemplate({elementName:e,slotNameStub:t,wrapperElementType:o="div",ariaLabel:n=null}){let i=`${e}--${t}`;return this.querySelector(`[slot="${i}"]`)!==null?Oe`<${ue(o)} id="${t}" aria-label="${D(n)}">
`;var x=class extends E{connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}_conditionalSlotTemplate({elementName:e,slotNameStub:t,wrapperElementType:o="div",ariaLabel:n=null}){let i=`${e}--${t}`;return this.querySelector(`[slot="${i}"]`)!==null?Ne`<${ce(o)} id="${t}" aria-label="${D(n)}">
<slot

@@ -317,3 +317,3 @@ name="${i}"

></slot>
</${ue(o)}>`:null}};x.styles=[Ie],x=b([G("outline-element")],x);var ot="";function he(r){ot=r}var Pe=[...document.getElementsByTagName("script")],De=Pe.find(r=>r.hasAttribute("data-shoelace"));if(De)he(De.getAttribute("data-shoelace"));else{let r=Pe.find(t=>/shoelace(\.min)?\.js($|\?)/.test(t.src)),e="";r&&(e=r.getAttribute("src")),he(e.split("/").slice(0,-1).join("/"))}var P={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},To=new Map(Object.entries(P).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var Mo=new Map(Object.entries(P).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var Ue=(()=>{let r=document.createElement("style"),e;try{document.head.appendChild(r),r.sheet.insertRule(":focus-visible { color: inherit }"),e=!0}catch(t){e=!1}finally{r.remove()}return e})(),rt=q(Ue?":focus-visible":":focus");var Fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Be=r=>(...e)=>({_$litDirective$:r,values:e}),Z=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 nt=Be(class extends Z{constructor(r){var e;if(super(r),r.type!==Fe.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 n=r.element.classList;this.nt.forEach(i=>{i in e||(n.remove(i),this.nt.delete(i))});for(let i in e){let s=!!e[i];s===this.nt.has(i)||((o=this.st)===null||o===void 0?void 0:o.has(i))||(s?(n.add(i),this.nt.add(i)):(n.remove(i),this.nt.delete(i)))}return g}});var pe=class extends Event{constructor(t){super("formdata");this.formData=t}},me=class extends FormData{constructor(t){super(t);this.form=t,t.dispatchEvent(new pe(this))}append(t,o){let n=this.form.elements[t];if(n||(n=document.createElement("input"),n.type="hidden",n.name=t,this.form.appendChild(n)),this.has(t)){let i=this.getAll(t),s=i.indexOf(n.value);s!==-1&&i.splice(s,1),i.push(o),this.set(t,i)}else super.append(t,o);n.value=o}};function it(){let r=document.createElement("form"),e=!1;return document.body.append(r),r.addEventListener("submit",t=>{new FormData(t.target),t.preventDefault()}),r.addEventListener("formdata",()=>e=!0),r.dispatchEvent(new Event("submit",{cancelable:!0})),r.remove(),e}function Ve(){!window.FormData||it()||(window.FormData=me,window.addEventListener("submit",r=>{r.defaultPrevented||new FormData(r.target)}))}document.readyState==="complete"?Ve():window.addEventListener("DOMContentLoaded",()=>Ve());var qe=S`
</${ce(o)}>`:null}};x.styles=[Oe],x=b([G("outline-element")],x);var et="";function ue(r){et=r}var De=[...document.getElementsByTagName("script")],Ie=De.find(r=>r.hasAttribute("data-shoelace"));if(Ie)ue(Ie.getAttribute("data-shoelace"));else{let r=De.find(t=>/shoelace(\.min)?\.js($|\?)/.test(t.src)),e="";r&&(e=r.getAttribute("src")),ue(e.split("/").slice(0,-1).join("/"))}var P={xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1440px",xxxl:"2160px"},So=new Map(Object.entries(P).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var Co=new Map(Object.entries(P).map(([r,e])=>[r,parseInt(e.slice(0,-2))]).sort(([,r],[,e])=>r-e));var Pe=(()=>{let r=document.createElement("style"),e;try{document.head.appendChild(r),r.sheet.insertRule(":focus-visible { color: inherit }"),e=!0}catch{e=!1}finally{r.remove()}return e})(),tt=q(Pe?":focus-visible":":focus");var Ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Fe=r=>(...e)=>({_$litDirective$:r,values:e}),X=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 ot=Fe(class extends X{constructor(r){var e;if(super(r),r.type!==Ue.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 n=r.element.classList;this.nt.forEach(i=>{i in e||(n.remove(i),this.nt.delete(i))});for(let i in e){let s=!!e[i];s===this.nt.has(i)||((o=this.st)===null||o===void 0?void 0:o.has(i))||(s?(n.add(i),this.nt.add(i)):(n.remove(i),this.nt.delete(i)))}return g}});var he=class extends Event{constructor(t){super("formdata");this.formData=t}},pe=class extends FormData{constructor(t){super(t);this.form=t,t.dispatchEvent(new he(this))}append(t,o){let n=this.form.elements[t];if(n||(n=document.createElement("input"),n.type="hidden",n.name=t,this.form.appendChild(n)),this.has(t)){let i=this.getAll(t),s=i.indexOf(n.value);s!==-1&&i.splice(s,1),i.push(o),this.set(t,i)}else super.append(t,o);n.value=o}};function rt(){let r=document.createElement("form"),e=!1;return document.body.append(r),r.addEventListener("submit",t=>{new FormData(t.target),t.preventDefault()}),r.addEventListener("formdata",()=>e=!0),r.dispatchEvent(new Event("submit",{cancelable:!0})),r.remove(),e}function Be(){!window.FormData||rt()||(window.FormData=pe,window.addEventListener("submit",r=>{r.defaultPrevented||new FormData(r.target)}))}document.readyState==="complete"?Be():window.addEventListener("DOMContentLoaded",()=>Be());var Ve=S`
/* Apply CSS Variables to the host element. */

@@ -344,3 +344,3 @@ :host {

--outline-alert--default-error-border:var(--status-error);
`;var je=S`
`;var qe=S`
/* Apply standardized box sizing to the component. */

@@ -453,3 +453,3 @@ :host {

}
`;var at=["small","large"],dt=["info","warning","error","success"],f=class extends x{constructor(){super(...arguments);this.statusType="info";this.isInteractive=!1;this.shouldShowIcon=!0;this.size="large"}render(){return w`
`;var st=["small","large"],lt=["info","warning","error","success"],f=class extends x{constructor(){super(...arguments);this.statusType="info";this.isInteractive=!1;this.shouldShowIcon=!0;this.size="large"}render(){return w`
<div

@@ -474,3 +474,3 @@ class="alert-body"

</div>
`}};f.styles=[qe,je],b([k({type:String})],f.prototype,"statusType",2),b([k({type:Boolean})],f.prototype,"isInteractive",2),b([k({type:Boolean})],f.prototype,"shouldShowIcon",2),b([k({type:String})],f.prototype,"size",2),f=b([G("outline-alert")],f);})();
`}};f.styles=[Ve,qe],b([k({type:String})],f.prototype,"statusType",2),b([k({type:Boolean})],f.prototype,"isInteractive",2),b([k({type:Boolean})],f.prototype,"shouldShowIcon",2),b([k({type:String})],f.prototype,"size",2),f=b([G("outline-alert")],f);})();
/**

@@ -477,0 +477,0 @@ * @license

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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