@alaskaairux/auro-badge
Advanced tools
Comparing version 1.2.3 to 1.2.4
# Semantic Release Automated Changelog | ||
## [1.2.4](https://github.com/AlaskaAirlines/auro-badge/compare/v1.2.3...v1.2.4) (2022-02-16) | ||
### Bug Fixes | ||
* adjustments to label variant [#19](https://github.com/AlaskaAirlines/auro-badge/issues/19) ([1528cb9](https://github.com/AlaskaAirlines/auro-badge/commit/1528cb9490bafdba4055a830e7576daf99df4759)) | ||
## [1.2.3](https://github.com/AlaskaAirlines/auro-badge/compare/v1.2.2...v1.2.3) (2021-05-27) | ||
@@ -4,0 +11,0 @@ |
@@ -115,9 +115,10 @@ # Badge | ||
Use the `pill` property in combination with `error`, `success`, or `advisory` attributes for alternate badge experiences. | ||
Use the `pill` property in combination with `error`, `success`, or `advisory` attributes for alternate badge experiences. The last example illustrates a customized version. | ||
<div class="exampleWrapper"> | ||
<auro-badge space pill>12</auro-badge> | ||
<auro-badge space error pill>184</auro-badge> | ||
<auro-badge space success pill>34</auro-badge> | ||
<auro-badge space error pill>Danger</auro-badge> | ||
<auro-badge space success pill>Flight 167</auro-badge> | ||
<auro-badge space advisory pill>99</auro-badge> | ||
<auro-badge space pill style="color: var(--auro-color-text-primary-on-light); background-color: var(--auro-color-brand-tropical-300); border-color: var(--auro-color-brand-tropical-300)">Flight 99</auro-badge> | ||
</div> | ||
@@ -130,5 +131,7 @@ | ||
<auro-badge space pill>12</auro-badge> | ||
<auro-badge space error pill>184</auro-badge> | ||
<auro-badge space success pill>34</auro-badge> | ||
<auro-badge space error pill>Danger</auro-badge> | ||
<auro-badge space success pill>Flight 167</auro-badge> | ||
<auro-badge space advisory pill>99</auro-badge> | ||
<auro-badge space pill style="color: var(--auro-color-text-primary-on-light); background-color: var(--auro-color-brand-tropical-300); border-color: var(--auro-color-brand-tropical-300)">Flight 99</auro-badge> | ||
``` | ||
@@ -140,6 +143,10 @@ | ||
Use the `label` property for a text label experience. | ||
Use the `label` property for a text label experience. The last example illustrates a customized version. | ||
<div class="exampleWrapper"> | ||
<auro-badge label>Hello World</auro-badge> | ||
<auro-badge label error>Danger</auro-badge> | ||
<auro-badge label success>Success</auro-badge> | ||
<auro-badge label advisory>Advisory</auro-badge> | ||
<auro-badge label style="color: var(--auro-color-text-primary-on-light); background-color: var(--auro-color-brand-tropical-300); border-color: var(--auro-color-brand-tropical-300)">Flight 167</auro-badge> | ||
</div> | ||
@@ -152,17 +159,8 @@ | ||
<auro-badge label>Hello World</auro-badge> | ||
<auro-badge label error>Danger</auro-badge> | ||
<auro-badge label success>Success</auro-badge> | ||
<auro-badge label advisory>Advisory</auro-badge> | ||
<auro-badge label style="color: var(--auro-color-text-primary-on-light); background-color: var(--auro-color-brand-tropical-300); border-color: var(--auro-color-brand-tropical-300)">Flight 167</auro-badge> | ||
``` | ||
</auro-accordion> | ||
<div class="exampleWrapper--ondark"> | ||
<auro-badge label ondark>Hello World</auro-badge> | ||
</div> | ||
<auro-accordion lowProfile justifyRight> | ||
<span slot="trigger">See code</span> | ||
```html | ||
<auro-badge label ondark>Hello World</auro-badge> | ||
``` | ||
</auro-accordion> |
@@ -1,2 +0,2 @@ | ||
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,o,n=function(t){return t&&t.Math==Math&&t},i=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},a=function(t){try{return!!t()}catch(t){return!0}},c={}.toString,l=function(t){return c.call(t).slice(8,-1)},u="".split,d=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?u.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},p=function(t){return d(h(t))},f=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=i.document,m=g(v)&&g(v.createElement),y=function(t){return m?v.createElement(t):{}},b=!f&&!a((function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a})),_=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},w=function(t,e){if(!g(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!g(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!g(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!g(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")},S=Object.defineProperty,x={f:f?S:function(t,e,r){if(_(t),e=w(e,!0),_(r),b)try{return S(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},k=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P=f?function(t,e,r){return x.f(t,e,k(1,r))}:function(t,e,r){return t[e]=r,t},E=function(t,e){try{P(i,t,e)}catch(r){i[t]=e}return e},L=i["__core-js_shared__"]||E("__core-js_shared__",{}),T=e((function(t){(t.exports=function(t,e){return L[t]||(L[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),C={}.hasOwnProperty,O=function(t,e){return C.call(t,e)},N=0,A=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++N+A).toString(36)},j="process"==l(i.process),M=i,R=function(t){return"function"==typeof t?t:void 0},U=function(t,e){return arguments.length<2?R(M[t])||R(i[t]):M[t]&&M[t][e]||i[t]&&i[t][e]},I=U("navigator","userAgent")||"",z=i.process,F=z&&z.versions,H=F&&F.v8;H?o=(r=H.split("."))[0]+r[1]:I&&(!(r=I.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=I.match(/Chrome\/(\d+)/))&&(o=r[1]);var $,D=o&&+o,q=!!Object.getOwnPropertySymbols&&!a((function(){return!Symbol.sham&&(j?38===D:D>37&&D<41)})),B=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=T("wks"),W=i.Symbol,J=B?W:W&&W.withoutSetter||V,K=function(t){return O(G,t)&&(q||"string"==typeof G[t])||(q&&O(W,t)?G[t]=W[t]:G[t]=J("Symbol."+t)),G[t]},Y=Math.ceil,X=Math.floor,Z=function(t){return isNaN(t=+t)?0:(t>0?X:Y)(t)},Q=Math.min,tt=Math.max,et=Math.min,rt=function(t){return function(e,r,o){var n,i,s=p(e),a=(n=s.length)>0?Q(Z(n),9007199254740991):0,c=function(t,e){var r=Z(t);return r<0?tt(r+e,0):et(r,e)}(o,a);if(t&&r!=r){for(;a>c;)if((i=s[c++])!=i)return!0}else for(;a>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}},ot={includes:rt(!0),indexOf:rt(!1)},nt={},it=ot.indexOf,st=function(t,e){var r,o=p(t),n=0,i=[];for(r in o)!O(nt,r)&&O(o,r)&&i.push(r);for(;e.length>n;)O(o,r=e[n++])&&(~it(i,r)||i.push(r));return i},at=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ct=Object.keys||function(t){return st(t,at)},lt=f?Object.defineProperties:function(t,e){_(t);for(var r,o=ct(e),n=o.length,i=0;n>i;)x.f(t,r=o[i++],e[r]);return t},ut=U("document","documentElement"),dt=T("keys"),ht=function(t){return dt[t]||(dt[t]=V(t))},pt=ht("IE_PROTO"),ft=function(){},gt=function(t){return"<script>"+t+"<\/script>"},vt=function(){try{$=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;vt=$?function(t){t.write(gt("")),t.close();var e=t.parentWindow.Object;return t=null,e}($):((e=y("iframe")).style.display="none",ut.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(gt("document.F=Object")),t.close(),t.F);for(var r=at.length;r--;)delete vt.prototype[at[r]];return vt()};nt[pt]=!0;var mt=Object.create||function(t,e){var r;return null!==t?(ft.prototype=_(t),r=new ft,ft.prototype=null,r[pt]=t):r=vt(),void 0===e?r:lt(r,e)},yt=K("unscopables"),bt=Array.prototype;null==bt[yt]&&x.f(bt,yt,{configurable:!0,value:mt(null)});var _t=function(t){bt[yt][t]=!0},wt=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(t){return wt.call(t)});var St,xt,kt,Pt=L.inspectSource,Et=i.WeakMap,Lt="function"==typeof Et&&/native code/.test(Pt(Et)),Tt=i.WeakMap;if(Lt){var Ct=L.state||(L.state=new Tt),Ot=Ct.get,Nt=Ct.has,At=Ct.set;St=function(t,e){return e.facade=t,At.call(Ct,t,e),e},xt=function(t){return Ot.call(Ct,t)||{}},kt=function(t){return Nt.call(Ct,t)}}else{var Vt=ht("state");nt[Vt]=!0,St=function(t,e){return e.facade=t,P(t,Vt,e),e},xt=function(t){return O(t,Vt)?t[Vt]:{}},kt=function(t){return O(t,Vt)}}var jt,Mt,Rt,Ut={set:St,get:xt,has:kt,enforce:function(t){return kt(t)?xt(t):St(t,{})},getterFor:function(t){return function(e){var r;if(!g(e)||(r=xt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},It={}.propertyIsEnumerable,zt=Object.getOwnPropertyDescriptor,Ft={f:zt&&!It.call({1:2},1)?function(t){var e=zt(this,t);return!!e&&e.enumerable}:It},Ht=Object.getOwnPropertyDescriptor,$t={f:f?Ht:function(t,e){if(t=p(t),e=w(e,!0),b)try{return Ht(t,e)}catch(t){}if(O(t,e))return k(!Ft.f.call(t,e),t[e])}},Dt=e((function(t){var e=Ut.get,r=Ut.enforce,o=String(String).split("String");(t.exports=function(t,e,n,s){var a,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,u=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||O(n,"name")||P(n,"name",e),(a=r(n)).source||(a.source=o.join("string"==typeof e?e:""))),t!==i?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=n:P(t,e,n)):l?t[e]=n:E(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||Pt(this)}))})),qt=at.concat("length","prototype"),Bt={f:Object.getOwnPropertyNames||function(t){return st(t,qt)}},Gt={f:Object.getOwnPropertySymbols},Wt=U("Reflect","ownKeys")||function(t){var e=Bt.f(_(t)),r=Gt.f;return r?e.concat(r(t)):e},Jt=function(t,e){for(var r=Wt(e),o=x.f,n=$t.f,i=0;i<r.length;i++){var s=r[i];O(t,s)||o(t,s,n(e,s))}},Kt=/#|\.prototype\./,Yt=function(t,e){var r=Zt[Xt(t)];return r==te||r!=Qt&&("function"==typeof e?a(e):!!e)},Xt=Yt.normalize=function(t){return String(t).replace(Kt,".").toLowerCase()},Zt=Yt.data={},Qt=Yt.NATIVE="N",te=Yt.POLYFILL="P",ee=Yt,re=$t.f,oe=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ne=ht("IE_PROTO"),ie=Object.prototype,se=oe?Object.getPrototypeOf:function(t){return t=Object(h(t)),O(t,ne)?t[ne]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ie:null},ae=K("iterator"),ce=!1;[].keys&&("next"in(Rt=[].keys())?(Mt=se(se(Rt)))!==Object.prototype&&(jt=Mt):ce=!0),(null==jt||a((function(){var t={};return jt[ae].call(t)!==t})))&&(jt={}),O(jt,ae)||P(jt,ae,(function(){return this}));var le={IteratorPrototype:jt,BUGGY_SAFARI_ITERATORS:ce},ue=x.f,de=K("toStringTag"),he=function(t,e,r){t&&!O(t=r?t:t.prototype,de)&&ue(t,de,{configurable:!0,value:e})},pe=le.IteratorPrototype,fe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return _(r),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(o),e?t.call(r,o):r.__proto__=o,r}}():void 0),ge=le.IteratorPrototype,ve=le.BUGGY_SAFARI_ITERATORS,me=K("iterator"),ye=function(){return this},be=Ut.set,_e=Ut.getterFor("Array Iterator"),we=function(t,e,r,o,n,s,a){!function(t,e,r){var o=e+" Iterator";t.prototype=mt(pe,{next:k(1,r)}),he(t,o,!1)}(r,e,o);var c,l,u,d=function(t){if(t===n&&v)return v;if(!ve&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,f=t.prototype,g=f[me]||f["@@iterator"]||n&&f[n],v=!ve&&g||d(n),m="Array"==e&&f.entries||g;if(m&&(c=se(m.call(new t)),ge!==Object.prototype&&c.next&&(se(c)!==ge&&(fe?fe(c,ge):"function"!=typeof c[me]&&P(c,me,ye)),he(c,h,!0))),"values"==n&&g&&"values"!==g.name&&(p=!0,v=function(){return g.call(this)}),f[me]!==v&&P(f,me,v),n)if(l={values:d("values"),keys:s?v:d("keys"),entries:d("entries")},a)for(u in l)(ve||p||!(u in f))&&Dt(f,u,l[u]);else!function(t,e){var r,o,n,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?i:u?i[c]||E(c,{}):(i[c]||{}).prototype)for(o in e){if(s=e[o],n=t.noTargetGet?(a=re(r,o))&&a.value:r[o],!ee(l?o:c+(u?".":"#")+o,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Jt(s,n)}(t.sham||n&&n.sham)&&P(s,"sham",!0),Dt(r,o,s,t)}}({target:e,proto:!0,forced:ve||p},l);return l}(Array,"Array",(function(t,e){be(this,{type:"Array Iterator",target:p(t),index:0,kind:e})}),(function(){var t=_e(this),e=t.target,r=t.kind,o=t.index++;return!e||o>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:o,done:!1}:"values"==r?{value:e[o],done:!1}:{value:[o,e[o]],done:!1}}),"values");_t("keys"),_t("values"),_t("entries");var Se=K("iterator"),xe=K("toStringTag"),ke=we.values;for(var Pe in s){var Ee=i[Pe],Le=Ee&&Ee.prototype;if(Le){if(Le[Se]!==ke)try{P(Le,Se,ke)}catch(t){Le[Se]=ke}if(Le[xe]||P(Le,xe,Pe),s[Pe])for(var Te in we)if(Le[Te]!==we[Te])try{P(Le,Te,we[Te])}catch(t){Le[Te]=we[Te]}}} | ||
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,o,n=function(t){return t&&t.Math==Math&&t},s=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),i={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},a=function(t){try{return!!t()}catch(t){return!0}},c={}.toString,l=function(t){return c.call(t).slice(8,-1)},u="".split,d=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?u.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},p=function(t){return d(h(t))},f=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=s.document,m=g(v)&&g(v.createElement),y=function(t){return m?v.createElement(t):{}},b=!f&&!a((function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a})),_=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},w=function(t,e){if(!g(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!g(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!g(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!g(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")},S=Object.defineProperty,x={f:f?S:function(t,e,r){if(_(t),e=w(e,!0),_(r),b)try{return S(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},k=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P=f?function(t,e,r){return x.f(t,e,k(1,r))}:function(t,e,r){return t[e]=r,t},E=function(t,e){try{P(s,t,e)}catch(r){s[t]=e}return e},L=s["__core-js_shared__"]||E("__core-js_shared__",{}),T=e((function(t){(t.exports=function(t,e){return L[t]||(L[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),C={}.hasOwnProperty,O=function(t,e){return C.call(t,e)},N=0,A=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++N+A).toString(36)},j="process"==l(s.process),M=s,R=function(t){return"function"==typeof t?t:void 0},U=function(t,e){return arguments.length<2?R(M[t])||R(s[t]):M[t]&&M[t][e]||s[t]&&s[t][e]},I=U("navigator","userAgent")||"",z=s.process,F=z&&z.versions,H=F&&F.v8;H?o=(r=H.split("."))[0]+r[1]:I&&(!(r=I.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=I.match(/Chrome\/(\d+)/))&&(o=r[1]);var $,D=o&&+o,q=!!Object.getOwnPropertySymbols&&!a((function(){return!Symbol.sham&&(j?38===D:D>37&&D<41)})),B=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=T("wks"),W=s.Symbol,J=B?W:W&&W.withoutSetter||V,K=function(t){return O(G,t)&&(q||"string"==typeof G[t])||(q&&O(W,t)?G[t]=W[t]:G[t]=J("Symbol."+t)),G[t]},Y=Math.ceil,X=Math.floor,Z=function(t){return isNaN(t=+t)?0:(t>0?X:Y)(t)},Q=Math.min,tt=Math.max,et=Math.min,rt=function(t){return function(e,r,o){var n,s,i=p(e),a=(n=i.length)>0?Q(Z(n),9007199254740991):0,c=function(t,e){var r=Z(t);return r<0?tt(r+e,0):et(r,e)}(o,a);if(t&&r!=r){for(;a>c;)if((s=i[c++])!=s)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},ot={includes:rt(!0),indexOf:rt(!1)},nt={},st=ot.indexOf,it=function(t,e){var r,o=p(t),n=0,s=[];for(r in o)!O(nt,r)&&O(o,r)&&s.push(r);for(;e.length>n;)O(o,r=e[n++])&&(~st(s,r)||s.push(r));return s},at=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ct=Object.keys||function(t){return it(t,at)},lt=f?Object.defineProperties:function(t,e){_(t);for(var r,o=ct(e),n=o.length,s=0;n>s;)x.f(t,r=o[s++],e[r]);return t},ut=U("document","documentElement"),dt=T("keys"),ht=function(t){return dt[t]||(dt[t]=V(t))},pt=ht("IE_PROTO"),ft=function(){},gt=function(t){return"<script>"+t+"<\/script>"},vt=function(){try{$=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;vt=$?function(t){t.write(gt("")),t.close();var e=t.parentWindow.Object;return t=null,e}($):((e=y("iframe")).style.display="none",ut.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(gt("document.F=Object")),t.close(),t.F);for(var r=at.length;r--;)delete vt.prototype[at[r]];return vt()};nt[pt]=!0;var mt=Object.create||function(t,e){var r;return null!==t?(ft.prototype=_(t),r=new ft,ft.prototype=null,r[pt]=t):r=vt(),void 0===e?r:lt(r,e)},yt=K("unscopables"),bt=Array.prototype;null==bt[yt]&&x.f(bt,yt,{configurable:!0,value:mt(null)});var _t=function(t){bt[yt][t]=!0},wt=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(t){return wt.call(t)});var St,xt,kt,Pt=L.inspectSource,Et=s.WeakMap,Lt="function"==typeof Et&&/native code/.test(Pt(Et)),Tt=s.WeakMap;if(Lt){var Ct=L.state||(L.state=new Tt),Ot=Ct.get,Nt=Ct.has,At=Ct.set;St=function(t,e){return e.facade=t,At.call(Ct,t,e),e},xt=function(t){return Ot.call(Ct,t)||{}},kt=function(t){return Nt.call(Ct,t)}}else{var Vt=ht("state");nt[Vt]=!0,St=function(t,e){return e.facade=t,P(t,Vt,e),e},xt=function(t){return O(t,Vt)?t[Vt]:{}},kt=function(t){return O(t,Vt)}}var jt,Mt,Rt,Ut={set:St,get:xt,has:kt,enforce:function(t){return kt(t)?xt(t):St(t,{})},getterFor:function(t){return function(e){var r;if(!g(e)||(r=xt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},It={}.propertyIsEnumerable,zt=Object.getOwnPropertyDescriptor,Ft={f:zt&&!It.call({1:2},1)?function(t){var e=zt(this,t);return!!e&&e.enumerable}:It},Ht=Object.getOwnPropertyDescriptor,$t={f:f?Ht:function(t,e){if(t=p(t),e=w(e,!0),b)try{return Ht(t,e)}catch(t){}if(O(t,e))return k(!Ft.f.call(t,e),t[e])}},Dt=e((function(t){var e=Ut.get,r=Ut.enforce,o=String(String).split("String");(t.exports=function(t,e,n,i){var a,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof e||O(n,"name")||P(n,"name",e),(a=r(n)).source||(a.source=o.join("string"==typeof e?e:""))),t!==s?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=n:P(t,e,n)):l?t[e]=n:E(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||Pt(this)}))})),qt=at.concat("length","prototype"),Bt={f:Object.getOwnPropertyNames||function(t){return it(t,qt)}},Gt={f:Object.getOwnPropertySymbols},Wt=U("Reflect","ownKeys")||function(t){var e=Bt.f(_(t)),r=Gt.f;return r?e.concat(r(t)):e},Jt=function(t,e){for(var r=Wt(e),o=x.f,n=$t.f,s=0;s<r.length;s++){var i=r[s];O(t,i)||o(t,i,n(e,i))}},Kt=/#|\.prototype\./,Yt=function(t,e){var r=Zt[Xt(t)];return r==te||r!=Qt&&("function"==typeof e?a(e):!!e)},Xt=Yt.normalize=function(t){return String(t).replace(Kt,".").toLowerCase()},Zt=Yt.data={},Qt=Yt.NATIVE="N",te=Yt.POLYFILL="P",ee=Yt,re=$t.f,oe=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ne=ht("IE_PROTO"),se=Object.prototype,ie=oe?Object.getPrototypeOf:function(t){return t=Object(h(t)),O(t,ne)?t[ne]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?se:null},ae=K("iterator"),ce=!1;[].keys&&("next"in(Rt=[].keys())?(Mt=ie(ie(Rt)))!==Object.prototype&&(jt=Mt):ce=!0),(null==jt||a((function(){var t={};return jt[ae].call(t)!==t})))&&(jt={}),O(jt,ae)||P(jt,ae,(function(){return this}));var le={IteratorPrototype:jt,BUGGY_SAFARI_ITERATORS:ce},ue=x.f,de=K("toStringTag"),he=function(t,e,r){t&&!O(t=r?t:t.prototype,de)&&ue(t,de,{configurable:!0,value:e})},pe=le.IteratorPrototype,fe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return _(r),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(o),e?t.call(r,o):r.__proto__=o,r}}():void 0),ge=le.IteratorPrototype,ve=le.BUGGY_SAFARI_ITERATORS,me=K("iterator"),ye=function(){return this},be=Ut.set,_e=Ut.getterFor("Array Iterator"),we=function(t,e,r,o,n,i,a){!function(t,e,r){var o=e+" Iterator";t.prototype=mt(pe,{next:k(1,r)}),he(t,o,!1)}(r,e,o);var c,l,u,d=function(t){if(t===n&&v)return v;if(!ve&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,f=t.prototype,g=f[me]||f["@@iterator"]||n&&f[n],v=!ve&&g||d(n),m="Array"==e&&f.entries||g;if(m&&(c=ie(m.call(new t)),ge!==Object.prototype&&c.next&&(ie(c)!==ge&&(fe?fe(c,ge):"function"!=typeof c[me]&&P(c,me,ye)),he(c,h,!0))),"values"==n&&g&&"values"!==g.name&&(p=!0,v=function(){return g.call(this)}),f[me]!==v&&P(f,me,v),n)if(l={values:d("values"),keys:i?v:d("keys"),entries:d("entries")},a)for(u in l)(ve||p||!(u in f))&&Dt(f,u,l[u]);else!function(t,e){var r,o,n,i,a,c=t.target,l=t.global,u=t.stat;if(r=l?s:u?s[c]||E(c,{}):(s[c]||{}).prototype)for(o in e){if(i=e[o],n=t.noTargetGet?(a=re(r,o))&&a.value:r[o],!ee(l?o:c+(u?".":"#")+o,t.forced)&&void 0!==n){if(typeof i==typeof n)continue;Jt(i,n)}(t.sham||n&&n.sham)&&P(i,"sham",!0),Dt(r,o,i,t)}}({target:e,proto:!0,forced:ve||p},l);return l}(Array,"Array",(function(t,e){be(this,{type:"Array Iterator",target:p(t),index:0,kind:e})}),(function(){var t=_e(this),e=t.target,r=t.kind,o=t.index++;return!e||o>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:o,done:!1}:"values"==r?{value:e[o],done:!1}:{value:[o,e[o]],done:!1}}),"values");_t("keys"),_t("values"),_t("entries");var Se=K("iterator"),xe=K("toStringTag"),ke=we.values;for(var Pe in i){var Ee=s[Pe],Le=Ee&&Ee.prototype;if(Le){if(Le[Se]!==ke)try{P(Le,Se,ke)}catch(t){Le[Se]=ke}if(Le[xe]||P(Le,xe,Pe),i[Pe])for(var Te in we)if(Le[Te]!==we[Te])try{P(Le,Te,we[Te])}catch(t){Le[Te]=we[Te]}}} | ||
/** | ||
@@ -14,3 +14,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const Ce=new WeakMap,Oe=t=>"function"==typeof t&&Ce.has(t),Ne="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Ae=(t,e,r=null)=>{for(;e!==r;){const r=e.nextSibling;t.removeChild(e),e=r}},Ve={},je={},Me=`{{lit-${String(Math.random()).slice(2)}}}`,Re=`\x3c!--${Me}--\x3e`,Ue=new RegExp(`${Me}|${Re}`);class Ie{constructor(t,e){this.parts=[],this.element=e;const r=[],o=[],n=document.createTreeWalker(e.content,133,null,!1);let i=0,s=-1,a=0;const{strings:c,values:{length:l}}=t;for(;a<l;){const t=n.nextNode();if(null!==t){if(s++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:r}=e;let o=0;for(let t=0;t<r;t++)ze(e[t].name,"$lit$")&&o++;for(;o-- >0;){const e=c[a],r=$e.exec(e)[2],o=r.toLowerCase()+"$lit$",n=t.getAttribute(o);t.removeAttribute(o);const i=n.split(Ue);this.parts.push({type:"attribute",index:s,name:r,strings:i}),a+=i.length-1}}"TEMPLATE"===t.tagName&&(o.push(t),n.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(Me)>=0){const o=t.parentNode,n=e.split(Ue),i=n.length-1;for(let e=0;e<i;e++){let r,i=n[e];if(""===i)r=He();else{const t=$e.exec(i);null!==t&&ze(t[2],"$lit$")&&(i=i.slice(0,t.index)+t[1]+t[2].slice(0,-"$lit$".length)+t[3]),r=document.createTextNode(i)}o.insertBefore(r,t),this.parts.push({type:"node",index:++s})}""===n[i]?(o.insertBefore(He(),t),r.push(t)):t.data=n[i],a+=i}}else if(8===t.nodeType)if(t.data===Me){const e=t.parentNode;null!==t.previousSibling&&s!==i||(s++,e.insertBefore(He(),t)),i=s,this.parts.push({type:"node",index:s}),null===t.nextSibling?t.data="":(r.push(t),s--),a++}else{let e=-1;for(;-1!==(e=t.data.indexOf(Me,e+1));)this.parts.push({type:"node",index:-1}),a++}}else n.currentNode=o.pop()}for(const t of r)t.parentNode.removeChild(t)}}const ze=(t,e)=>{const r=t.length-e.length;return r>=0&&t.slice(r)===e},Fe=t=>-1!==t.index,He=()=>document.createComment(""),$e=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/; | ||
*/const Ce=new WeakMap,Oe=t=>"function"==typeof t&&Ce.has(t),Ne="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Ae=(t,e,r=null)=>{for(;e!==r;){const r=e.nextSibling;t.removeChild(e),e=r}},Ve={},je={},Me=`{{lit-${String(Math.random()).slice(2)}}}`,Re=`\x3c!--${Me}--\x3e`,Ue=new RegExp(`${Me}|${Re}`);class Ie{constructor(t,e){this.parts=[],this.element=e;const r=[],o=[],n=document.createTreeWalker(e.content,133,null,!1);let s=0,i=-1,a=0;const{strings:c,values:{length:l}}=t;for(;a<l;){const t=n.nextNode();if(null!==t){if(i++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:r}=e;let o=0;for(let t=0;t<r;t++)ze(e[t].name,"$lit$")&&o++;for(;o-- >0;){const e=c[a],r=$e.exec(e)[2],o=r.toLowerCase()+"$lit$",n=t.getAttribute(o);t.removeAttribute(o);const s=n.split(Ue);this.parts.push({type:"attribute",index:i,name:r,strings:s}),a+=s.length-1}}"TEMPLATE"===t.tagName&&(o.push(t),n.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(Me)>=0){const o=t.parentNode,n=e.split(Ue),s=n.length-1;for(let e=0;e<s;e++){let r,s=n[e];if(""===s)r=He();else{const t=$e.exec(s);null!==t&&ze(t[2],"$lit$")&&(s=s.slice(0,t.index)+t[1]+t[2].slice(0,-"$lit$".length)+t[3]),r=document.createTextNode(s)}o.insertBefore(r,t),this.parts.push({type:"node",index:++i})}""===n[s]?(o.insertBefore(He(),t),r.push(t)):t.data=n[s],a+=s}}else if(8===t.nodeType)if(t.data===Me){const e=t.parentNode;null!==t.previousSibling&&i!==s||(i++,e.insertBefore(He(),t)),s=i,this.parts.push({type:"node",index:i}),null===t.nextSibling?t.data="":(r.push(t),i--),a++}else{let e=-1;for(;-1!==(e=t.data.indexOf(Me,e+1));)this.parts.push({type:"node",index:-1}),a++}}else n.currentNode=o.pop()}for(const t of r)t.parentNode.removeChild(t)}}const ze=(t,e)=>{const r=t.length-e.length;return r>=0&&t.slice(r)===e},Fe=t=>-1!==t.index,He=()=>document.createComment(""),$e=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/; | ||
/** | ||
@@ -29,3 +29,3 @@ * @license | ||
*/ | ||
class De{constructor(t,e,r){this.__parts=[],this.template=t,this.processor=e,this.options=r}update(t){let e=0;for(const r of this.__parts)void 0!==r&&r.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=Ne?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],r=this.template.parts,o=document.createTreeWalker(t,133,null,!1);let n,i=0,s=0,a=o.nextNode();for(;i<r.length;)if(n=r[i],Fe(n)){for(;s<n.index;)s++,"TEMPLATE"===a.nodeName&&(e.push(a),o.currentNode=a.content),null===(a=o.nextNode())&&(o.currentNode=e.pop(),a=o.nextNode());if("node"===n.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(a.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,n.name,n.strings,this.options));i++}else this.__parts.push(void 0),i++;return Ne&&(document.adoptNode(t),customElements.upgrade(t)),t}} | ||
class De{constructor(t,e,r){this.__parts=[],this.template=t,this.processor=e,this.options=r}update(t){let e=0;for(const r of this.__parts)void 0!==r&&r.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=Ne?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],r=this.template.parts,o=document.createTreeWalker(t,133,null,!1);let n,s=0,i=0,a=o.nextNode();for(;s<r.length;)if(n=r[s],Fe(n)){for(;i<n.index;)i++,"TEMPLATE"===a.nodeName&&(e.push(a),o.currentNode=a.content),null===(a=o.nextNode())&&(o.currentNode=e.pop(),a=o.nextNode());if("node"===n.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(a.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,n.name,n.strings,this.options));s++}else this.__parts.push(void 0),s++;return Ne&&(document.adoptNode(t),customElements.upgrade(t)),t}} | ||
/** | ||
@@ -43,3 +43,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const qe=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),Be=` ${Me} `;class Ge{constructor(t,e,r,o){this.strings=t,this.values=e,this.type=r,this.processor=o}getHTML(){const t=this.strings.length-1;let e="",r=!1;for(let o=0;o<t;o++){const t=this.strings[o],n=t.lastIndexOf("\x3c!--");r=(n>-1||r)&&-1===t.indexOf("--\x3e",n+1);const i=$e.exec(t);e+=null===i?t+(r?Be:Re):t.substr(0,i.index)+i[1]+i[2]+"$lit$"+i[3]+Me}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");let e=this.getHTML();return void 0!==qe&&(e=qe.createHTML(e)),t.innerHTML=e,t}} | ||
*/const qe=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),Be=` ${Me} `;class Ge{constructor(t,e,r,o){this.strings=t,this.values=e,this.type=r,this.processor=o}getHTML(){const t=this.strings.length-1;let e="",r=!1;for(let o=0;o<t;o++){const t=this.strings[o],n=t.lastIndexOf("\x3c!--");r=(n>-1||r)&&-1===t.indexOf("--\x3e",n+1);const s=$e.exec(t);e+=null===s?t+(r?Be:Re):t.substr(0,s.index)+s[1]+s[2]+"$lit$"+s[3]+Me}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");let e=this.getHTML();return void 0!==qe&&(e=qe.createHTML(e)),t.innerHTML=e,t}} | ||
/** | ||
@@ -83,3 +83,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/function ir(t){let e=sr.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},sr.set(t.type,e));let r=e.stringsArray.get(t.strings);if(void 0!==r)return r;const o=t.strings.join(Me);return r=e.keyString.get(o),void 0===r&&(r=new Ie(t,t.getTemplateElement()),e.keyString.set(o,r)),e.stringsArray.set(t.strings,r),r}const sr=new Map,ar=new WeakMap; | ||
*/function sr(t){let e=ir.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},ir.set(t.type,e));let r=e.stringsArray.get(t.strings);if(void 0!==r)return r;const o=t.strings.join(Me);return r=e.keyString.get(o),void 0===r&&(r=new Ie(t,t.getTemplateElement()),e.keyString.set(o,r)),e.stringsArray.set(t.strings,r),r}const ir=new Map,ar=new WeakMap; | ||
/** | ||
@@ -162,2 +162,2 @@ * @license | ||
*/ | ||
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const mr={};class yr extends dr{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const t=this.getStyles();if(Array.isArray(t)){const e=(t,r)=>t.reduceRight(((t,r)=>Array.isArray(r)?e(r,t):(t.add(r),t)),r),r=e(t,new Set),o=[];r.forEach((t=>o.unshift(t))),this._styles=o}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((t=>{if(t instanceof CSSStyleSheet&&!pr){const e=Array.prototype.slice.call(t.cssRules).reduce(((t,e)=>t+e.cssText),"");return new gr(String(e),fr)}return t}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?pr?this.renderRoot.adoptedStyleSheets=t.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((t=>t.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){const e=this.render();super.update(t),e!==mr&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((t=>{const e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)})))}render(){return mr}}yr.finalized=!0,yr.render=(t,e,r)=>{let o=ar.get(e);void 0===o&&(Ae(e,e.firstChild),ar.set(e,o=new Xe(Object.assign({templateFactory:ir},r))),o.appendInto(e)),o.setValue(t),o.commit()},e((function(t,e){!function(){function t(t){var e=!0,r=!1,o=null,n={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(t){return!!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function s(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""))}function a(t){e=!1}function c(){document.addEventListener("mousemove",l),document.addEventListener("mousedown",l),document.addEventListener("mouseup",l),document.addEventListener("pointermove",l),document.addEventListener("pointerdown",l),document.addEventListener("pointerup",l),document.addEventListener("touchmove",l),document.addEventListener("touchstart",l),document.addEventListener("touchend",l)}function l(t){t.target.nodeName&&"html"===t.target.nodeName.toLowerCase()||(e=!1,document.removeEventListener("mousemove",l),document.removeEventListener("mousedown",l),document.removeEventListener("mouseup",l),document.removeEventListener("pointermove",l),document.removeEventListener("pointerdown",l),document.removeEventListener("pointerup",l),document.removeEventListener("touchmove",l),document.removeEventListener("touchstart",l),document.removeEventListener("touchend",l))}document.addEventListener("keydown",(function(r){r.metaKey||r.altKey||r.ctrlKey||(i(t.activeElement)&&s(t.activeElement),e=!0)}),!0),document.addEventListener("mousedown",a,!0),document.addEventListener("pointerdown",a,!0),document.addEventListener("touchstart",a,!0),document.addEventListener("visibilitychange",(function(t){"hidden"===document.visibilityState&&(r&&(e=!0),c())}),!0),c(),t.addEventListener("focus",(function(t){var r,o,a;i(t.target)&&(e||(o=(r=t.target).type,"INPUT"===(a=r.tagName)&&n[o]&&!r.readOnly||"TEXTAREA"===a&&!r.readOnly||r.isContentEditable))&&s(t.target)}),!0),t.addEventListener("blur",(function(t){var e;i(t.target)&&(t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(o),o=window.setTimeout((function(){r=!1}),100),(e=t.target).hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added")))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute("data-js-focus-visible",""):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var e;window.applyFocusVisiblePolyfill=t;try{e=new CustomEvent("focus-visible-polyfill-ready")}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(e)}"undefined"!=typeof document&&t(document)}()}));var br=vr`*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important}}:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}:host(.focus-visible) .target{box-shadow:inset 0 0 0 1px #fff,inset 0 0 0 3px #fff;box-shadow:inset 0 0 0 1px var(--auro-color-border-focus-on-dark),inset 0 0 0 3px var(--auro-color-background-lightest)}:host(.focus-visible) .target::-moz-focus-inner{border:none;width:100%}:host{height:2.75rem}:host([space]){margin-left:1.5rem;margin-left:var(--auro-size-lg)}.target,:host{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;color:#fff;color:var(--auro-color-text-primary-on-dark);background-color:#0074cb;background-color:var(--auro-color-ui-default-on-light);border:1px solid #0074cb;border:1px solid var(--auro-color-ui-default-on-light);border-radius:1.375rem;padding:0 1rem;padding:0 var(--auro-size-md)}:host([advisory]){color:#222;color:var(--auro-color-text-primary-on-light)}:host([advisory]) .target{color:#222;color:var(--auro-color-text-primary-on-light)}:host([onDark]){background-color:#00cff0;background-color:var(--auro-color-ui-default-on-dark);border-color:#00cff0;border-color:var(--auro-color-ui-default-on-dark);color:#222;color:var(--auro-color-text-primary-on-light)}:host([target]){padding:0;border:0}:host([target]) .target{height:2.75rem}:host([target][ondark][disabled]) .target{color:#222;color:var(--auro-color-text-primary-on-light)}:host([target][ondark]:not([disabled])) .target{color:#222;color:var(--auro-color-text-primary-on-light)}@media (hover:hover){:host([target][ondark]:not([disabled])) .target:active,:host([target][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#5de3f7;background-color:var(--auro-color-ui-hover-on-dark);border-color:#5de3f7;border-color:var(--auro-color-ui-hover-on-dark)}}@media (hover:hover){:host([target]:not([disabled])) .target:active,:host([target]:not([disabled])) .target:hover{cursor:pointer;background-color:#054687;background-color:var(--auro-color-ui-hover-on-light);border-color:#054687;border-color:var(--auro-color-ui-hover-on-light)}}.target{font:inherit;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}svg{margin-left:.5rem;margin-left:var(--auro-size-xs)}:host([label]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#626b79;color:var(--auro-color-text-secondary-on-light);font-size:.75rem;font-size:var(--auro-text-body-size-xs);padding:.125rem .25rem;padding:var(--auro-size-xxxs) var(--auro-size-xxs);-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1rem;line-height:var(--auro-size-md);height:auto}:host([label][ondark]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#fff;color:var(--auro-color-text-primary-on-dark)}:host([pill]){padding:.375rem .5625rem .1875rem .5625rem;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1;height:auto}:host([disabled]){opacity:.4}:host([advisory]) .target,:host([error]) .target,:host([onDark]) .target,:host([success]) .target{background-color:transparent;border-color:transparent}:host([error]){background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light)}:host([error][ondark]){background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark)}@media (hover:hover){:host([error]:not([disabled])) .target:active,:host([error]:not([disabled])) .target:hover{cursor:pointer;background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light);filter:brightness(85%)}}@media (hover:hover){:host([error][ondark]:not([disabled])) .target:active,:host([error][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark);filter:brightness(85%)}}:host([success]){background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light)}:host([success][ondark]){background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark)}@media (hover:hover){:host([success]:not([disabled])) .target:active,:host([success]:not([disabled])) .target:hover{cursor:pointer;background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light);filter:brightness(85%)}}@media (hover:hover){:host([success][ondark]:not([disabled])) .target:active,:host([success][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark);filter:brightness(85%)}}:host([advisory]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light)}:host([advisory][ondark]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark)}@media (hover:hover){:host([advisory]:not([disabled])) .target:active,:host([advisory]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light);filter:brightness(85%)}}@media (hover:hover){:host([advisory][ondark]:not([disabled])) .target:active,:host([advisory][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark);filter:brightness(85%)}}`,_r=vr`:host([fixed]) :host{height:44px}:host([fixed]) :host([space]){margin-left:24px}:host([fixed]) .target,:host([fixed]) :host{border-radius:22px;padding:0 16px}:host([fixed]) :host([target]) .target{height:44px}:host([fixed]) svg{margin-left:8px}:host([fixed]) :host([label]){font-size:12px;padding:2px 4px;line-height:16px}:host([fixed]) :host([pill]){padding:6px 9px 3px 9px}`,wr='<svg viewBox="0 0 24 24" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" style="width: var(--auro-size-lg); height: var(--auro-size-lg); fill: currentColor" class="ico_squareLarge" >\n <title>X Sm</title>\n <desc></desc>\n <path d="M15.825,7.5 C16.1977922,7.5 16.5,7.80220779 16.5,8.175 C16.5,8.35233518 16.4316148,8.51369815 16.3197771,8.63415637 L16.32,8.63459415 L12.954,12 L16.2713474,15.3167532 C16.4109521,15.4410771 16.5,15.6226394 16.5,15.825 C16.5,16.1977922 16.1977922,16.5 15.825,16.5 C15.6226394,16.5 15.4410771,16.4109521 15.3173606,16.2699038 L15.3167532,16.2713474 L12,12.954 L8.68324676,16.2713474 C8.55892291,16.4109521 8.37736058,16.5 8.175,16.5 C7.80220779,16.5 7.5,16.1977922 7.5,15.825 C7.5,15.6226394 7.58904794,15.4410771 7.73009624,15.3173606 L7.72865261,15.3167532 L11.0451,12 L7.68,8.63459415 C7.56838515,8.51369815 7.5,8.35233518 7.5,8.175 C7.5,7.80220779 7.80220779,7.5 8.175,7.5 C8.35233518,7.5 8.51369815,7.56838515 8.63415637,7.68022291 L8.63459415,7.68 L12,11.0451 L15.3409649,7.70453685 C15.3454247,7.69994918 15.3499492,7.6954247 15.3545368,7.69096488 L15.3654058,7.68 C15.4863018,7.56838515 15.6476648,7.5 15.825,7.5 Z"/>\n</svg>\n';class Sr extends yr{constructor(){super(),this.dom=(new DOMParser).parseFromString(wr,"text/html"),this.svg=this.dom.body.firstChild,this.target=!1,this.disabled=!1}static get properties(){return{target:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},value:{type:String}}}handleChange(t){if(this.target){const e=new CustomEvent(t.type,t);this.dispatchEvent(e),this.remove()}}firstUpdated(){if(this.target){const[t]=this.shadowRoot.querySelector("slot").assignedNodes();this.value=t.textContent}}static get styles(){return[br,_r]}render(){return hr`${this.target?hr`<button @click="${this.handleChange}" ?disabled="${this.disabled}" .value="${this.value}" class="target"><slot></slot>${this.svg} <span class="util_displayHiddenVisually">Dismiss</span></button>`:hr`<slot></slot>`}`}}customElements.get("auro-badge")||customElements.define("auro-badge",Sr); | ||
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const mr={};class yr extends dr{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const t=this.getStyles();if(Array.isArray(t)){const e=(t,r)=>t.reduceRight(((t,r)=>Array.isArray(r)?e(r,t):(t.add(r),t)),r),r=e(t,new Set),o=[];r.forEach((t=>o.unshift(t))),this._styles=o}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((t=>{if(t instanceof CSSStyleSheet&&!pr){const e=Array.prototype.slice.call(t.cssRules).reduce(((t,e)=>t+e.cssText),"");return new gr(String(e),fr)}return t}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?pr?this.renderRoot.adoptedStyleSheets=t.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((t=>t.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){const e=this.render();super.update(t),e!==mr&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((t=>{const e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)})))}render(){return mr}}yr.finalized=!0,yr.render=(t,e,r)=>{let o=ar.get(e);void 0===o&&(Ae(e,e.firstChild),ar.set(e,o=new Xe(Object.assign({templateFactory:sr},r))),o.appendInto(e)),o.setValue(t),o.commit()},e((function(t,e){!function(){function t(t){var e=!0,r=!1,o=null,n={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(t){return!!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function i(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""))}function a(t){e=!1}function c(){document.addEventListener("mousemove",l),document.addEventListener("mousedown",l),document.addEventListener("mouseup",l),document.addEventListener("pointermove",l),document.addEventListener("pointerdown",l),document.addEventListener("pointerup",l),document.addEventListener("touchmove",l),document.addEventListener("touchstart",l),document.addEventListener("touchend",l)}function l(t){t.target.nodeName&&"html"===t.target.nodeName.toLowerCase()||(e=!1,document.removeEventListener("mousemove",l),document.removeEventListener("mousedown",l),document.removeEventListener("mouseup",l),document.removeEventListener("pointermove",l),document.removeEventListener("pointerdown",l),document.removeEventListener("pointerup",l),document.removeEventListener("touchmove",l),document.removeEventListener("touchstart",l),document.removeEventListener("touchend",l))}document.addEventListener("keydown",(function(r){r.metaKey||r.altKey||r.ctrlKey||(s(t.activeElement)&&i(t.activeElement),e=!0)}),!0),document.addEventListener("mousedown",a,!0),document.addEventListener("pointerdown",a,!0),document.addEventListener("touchstart",a,!0),document.addEventListener("visibilitychange",(function(t){"hidden"===document.visibilityState&&(r&&(e=!0),c())}),!0),c(),t.addEventListener("focus",(function(t){var r,o,a;s(t.target)&&(e||(o=(r=t.target).type,"INPUT"===(a=r.tagName)&&n[o]&&!r.readOnly||"TEXTAREA"===a&&!r.readOnly||r.isContentEditable))&&i(t.target)}),!0),t.addEventListener("blur",(function(t){var e;s(t.target)&&(t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(o),o=window.setTimeout((function(){r=!1}),100),(e=t.target).hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added")))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute("data-js-focus-visible",""):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var e;window.applyFocusVisiblePolyfill=t;try{e=new CustomEvent("focus-visible-polyfill-ready")}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(e)}"undefined"!=typeof document&&t(document)}()}));var br=vr`*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important}}:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}:host(.focus-visible) .target{box-shadow:inset 0 0 0 1px #fff,inset 0 0 0 3px #fff;box-shadow:inset 0 0 0 1px var(--auro-color-border-focus-on-dark),inset 0 0 0 3px var(--auro-color-background-lightest)}:host(.focus-visible) .target::-moz-focus-inner{border:none;width:100%}:host{height:2.75rem}:host([space]){margin-left:1.5rem;margin-left:var(--auro-size-lg)}.target,:host{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;color:#fff;color:var(--auro-color-text-primary-on-dark);background-color:#0074cb;background-color:var(--auro-color-ui-default-on-light);border:1px solid #0074cb;border:1px solid var(--auro-color-ui-default-on-light);border-radius:1.375rem;padding:0 1rem;padding:0 var(--auro-size-md)}:host([advisory]){color:#222;color:var(--auro-color-text-primary-on-light)}:host([advisory]) .target{color:#222;color:var(--auro-color-text-primary-on-light)}:host([onDark]){background-color:#00cff0;background-color:var(--auro-color-ui-default-on-dark);border-color:#00cff0;border-color:var(--auro-color-ui-default-on-dark);color:#222;color:var(--auro-color-text-primary-on-light)}:host([target]){padding:0;border:0}:host([target]) .target{height:2.75rem}:host([target][ondark][disabled]) .target{color:#222;color:var(--auro-color-text-primary-on-light)}:host([target][ondark]:not([disabled])) .target{color:#222;color:var(--auro-color-text-primary-on-light)}@media (hover:hover){:host([target][ondark]:not([disabled])) .target:active,:host([target][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#5de3f7;background-color:var(--auro-color-ui-hover-on-dark);border-color:#5de3f7;border-color:var(--auro-color-ui-hover-on-dark)}}@media (hover:hover){:host([target]:not([disabled])) .target:active,:host([target]:not([disabled])) .target:hover{cursor:pointer;background-color:#054687;background-color:var(--auro-color-ui-hover-on-light);border-color:#054687;border-color:var(--auro-color-ui-hover-on-light)}}.target{font:inherit;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}svg{margin-left:.5rem;margin-left:var(--auro-size-xs)}:host([label]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#626b79;color:var(--auro-color-text-secondary-on-light);font-size:.75rem;font-size:var(--auro-text-body-size-xs);padding:.25rem .5rem;padding:var(--auro-size-xxs) var(--auro-size-xs);-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;height:auto;line-height:1}:host([label][ondark]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#fff;color:var(--auro-color-text-primary-on-dark)}:host([pill]){padding:.375rem .5625rem .1875rem .5625rem;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1;height:auto}:host([disabled]){opacity:.4}:host([advisory]) .target,:host([error]) .target,:host([onDark]) .target,:host([success]) .target{background-color:transparent;border-color:transparent}:host([error]){background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light)}:host([error][ondark]){background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark)}@media (hover:hover){:host([error]:not([disabled])) .target:active,:host([error]:not([disabled])) .target:hover{cursor:pointer;background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light);filter:brightness(85%)}}@media (hover:hover){:host([error][ondark]:not([disabled])) .target:active,:host([error][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark);filter:brightness(85%)}}:host([success]){background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light)}:host([success][ondark]){background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark)}@media (hover:hover){:host([success]:not([disabled])) .target:active,:host([success]:not([disabled])) .target:hover{cursor:pointer;background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light);filter:brightness(85%)}}@media (hover:hover){:host([success][ondark]:not([disabled])) .target:active,:host([success][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark);filter:brightness(85%)}}:host([advisory]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light)}:host([advisory][ondark]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark)}@media (hover:hover){:host([advisory]:not([disabled])) .target:active,:host([advisory]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light);filter:brightness(85%)}}@media (hover:hover){:host([advisory][ondark]:not([disabled])) .target:active,:host([advisory][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark);filter:brightness(85%)}}:host([label][error]),:host([label][success]){color:#fff;color:var(--auro-color-base-white)}:host([label][advisory]){color:#222;color:var(--auro-color-text-primary-on-light)}`,_r=vr`:host([fixed]) :host{height:44px}:host([fixed]) :host([space]){margin-left:24px}:host([fixed]) .target,:host([fixed]) :host{border-radius:22px;padding:0 16px}:host([fixed]) :host([target]) .target{height:44px}:host([fixed]) svg{margin-left:8px}:host([fixed]) :host([label]){font-size:12px;padding:4px 8px}:host([fixed]) :host([pill]){padding:6px 9px 3px 9px}`,wr='<svg viewBox="0 0 24 24" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" style="width: var(--auro-size-lg); height: var(--auro-size-lg); fill: currentColor" class="ico_squareLarge" >\n <title>X Sm</title>\n <desc></desc>\n <path d="M15.825,7.5 C16.1977922,7.5 16.5,7.80220779 16.5,8.175 C16.5,8.35233518 16.4316148,8.51369815 16.3197771,8.63415637 L16.32,8.63459415 L12.954,12 L16.2713474,15.3167532 C16.4109521,15.4410771 16.5,15.6226394 16.5,15.825 C16.5,16.1977922 16.1977922,16.5 15.825,16.5 C15.6226394,16.5 15.4410771,16.4109521 15.3173606,16.2699038 L15.3167532,16.2713474 L12,12.954 L8.68324676,16.2713474 C8.55892291,16.4109521 8.37736058,16.5 8.175,16.5 C7.80220779,16.5 7.5,16.1977922 7.5,15.825 C7.5,15.6226394 7.58904794,15.4410771 7.73009624,15.3173606 L7.72865261,15.3167532 L11.0451,12 L7.68,8.63459415 C7.56838515,8.51369815 7.5,8.35233518 7.5,8.175 C7.5,7.80220779 7.80220779,7.5 8.175,7.5 C8.35233518,7.5 8.51369815,7.56838515 8.63415637,7.68022291 L8.63459415,7.68 L12,11.0451 L15.3409649,7.70453685 C15.3454247,7.69994918 15.3499492,7.6954247 15.3545368,7.69096488 L15.3654058,7.68 C15.4863018,7.56838515 15.6476648,7.5 15.825,7.5 Z"/>\n</svg>\n';class Sr extends yr{constructor(){super(),this.dom=(new DOMParser).parseFromString(wr,"text/html"),this.svg=this.dom.body.firstChild,this.target=!1,this.disabled=!1}static get properties(){return{target:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},value:{type:String}}}handleChange(t){if(this.target){const e=new CustomEvent(t.type,t);this.dispatchEvent(e),this.remove()}}firstUpdated(){if(this.target){const[t]=this.shadowRoot.querySelector("slot").assignedNodes();this.value=t.textContent}}static get styles(){return[br,_r]}render(){return hr`${this.target?hr`<button @click="${this.handleChange}" ?disabled="${this.disabled}" .value="${this.value}" class="target"><slot></slot>${this.svg} <span class="util_displayHiddenVisually">Dismiss</span></button>`:hr`<slot></slot>`}`}}customElements.get("auro-badge")||customElements.define("auro-badge",Sr); |
import {css} from 'lit-element'; | ||
export default css`*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none !important;transition:none !important}}*:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}:host(.focus-visible) .target{box-shadow:inset 0 0 0 1px #ffffff, inset 0 0 0 3px #ffffff;box-shadow:inset 0 0 0 1px var(--auro-color-border-focus-on-dark),inset 0 0 0 3px var(--auro-color-background-lightest)}:host(.focus-visible) .target::-moz-focus-inner{border:none;width:100%}:host{height:2.75rem}:host([space]){margin-left:1.5rem;margin-left:var(--auro-size-lg)}:host,.target{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;color:#ffffff;color:var(--auro-color-text-primary-on-dark);background-color:#0074cb;background-color:var(--auro-color-ui-default-on-light);border:1px solid #0074cb;border:1px solid var(--auro-color-ui-default-on-light);border-radius:1.375rem;padding:0 1rem;padding:0 var(--auro-size-md)}:host([advisory]){color:#222222;color:var(--auro-color-text-primary-on-light)}:host([advisory]) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}:host([onDark]){background-color:#00cff0;background-color:var(--auro-color-ui-default-on-dark);border-color:#00cff0;border-color:var(--auro-color-ui-default-on-dark);color:#222222;color:var(--auro-color-text-primary-on-light)}:host([target]){padding:0;border:0}:host([target]) .target{height:2.75rem}:host([target][ondark][disabled]) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}:host([target][ondark]:not([disabled])) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}@media (hover: hover){:host([target][ondark]:not([disabled])) .target:active,:host([target][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#5de3f7;background-color:var(--auro-color-ui-hover-on-dark);border-color:#5de3f7;border-color:var(--auro-color-ui-hover-on-dark)}}@media (hover: hover){:host([target]:not([disabled])) .target:active,:host([target]:not([disabled])) .target:hover{cursor:pointer;background-color:#054687;background-color:var(--auro-color-ui-hover-on-light);border-color:#054687;border-color:var(--auro-color-ui-hover-on-light)}}.target{font:inherit;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}svg{margin-left:0.5rem;margin-left:var(--auro-size-xs)}:host([label]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#626b79;color:var(--auro-color-text-secondary-on-light);font-size:0.75rem;font-size:var(--auro-text-body-size-xs);padding:0.125rem 0.25rem;padding:var(--auro-size-xxxs) var(--auro-size-xxs);-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1rem;line-height:var(--auro-size-md);height:auto}:host([label][ondark]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#ffffff;color:var(--auro-color-text-primary-on-dark)}:host([pill]){padding:0.375rem 0.5625rem 0.1875rem 0.5625rem;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1;height:auto}:host([disabled]){opacity:0.4}:host([onDark]) .target,:host([error]) .target,:host([success]) .target,:host([advisory]) .target{background-color:transparent;border-color:transparent}:host([error]){background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light)}:host([error][ondark]){background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark)}@media (hover: hover){:host([error]:not([disabled])) .target:active,:host([error]:not([disabled])) .target:hover{cursor:pointer;background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light);filter:brightness(85%)}}@media (hover: hover){:host([error][ondark]:not([disabled])) .target:active,:host([error][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark);filter:brightness(85%)}}:host([success]){background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light)}:host([success][ondark]){background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark)}@media (hover: hover){:host([success]:not([disabled])) .target:active,:host([success]:not([disabled])) .target:hover{cursor:pointer;background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light);filter:brightness(85%)}}@media (hover: hover){:host([success][ondark]:not([disabled])) .target:active,:host([success][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark);filter:brightness(85%)}}:host([advisory]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light)}:host([advisory][ondark]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark)}@media (hover: hover){:host([advisory]:not([disabled])) .target:active,:host([advisory]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light);filter:brightness(85%)}}@media (hover: hover){:host([advisory][ondark]:not([disabled])) .target:active,:host([advisory][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark);filter:brightness(85%)}} | ||
export default css`*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none !important;transition:none !important}}*:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}:host(.focus-visible) .target{box-shadow:inset 0 0 0 1px #ffffff, inset 0 0 0 3px #ffffff;box-shadow:inset 0 0 0 1px var(--auro-color-border-focus-on-dark),inset 0 0 0 3px var(--auro-color-background-lightest)}:host(.focus-visible) .target::-moz-focus-inner{border:none;width:100%}:host{height:2.75rem}:host([space]){margin-left:1.5rem;margin-left:var(--auro-size-lg)}:host,.target{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;color:#ffffff;color:var(--auro-color-text-primary-on-dark);background-color:#0074cb;background-color:var(--auro-color-ui-default-on-light);border:1px solid #0074cb;border:1px solid var(--auro-color-ui-default-on-light);border-radius:1.375rem;padding:0 1rem;padding:0 var(--auro-size-md)}:host([advisory]){color:#222222;color:var(--auro-color-text-primary-on-light)}:host([advisory]) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}:host([onDark]){background-color:#00cff0;background-color:var(--auro-color-ui-default-on-dark);border-color:#00cff0;border-color:var(--auro-color-ui-default-on-dark);color:#222222;color:var(--auro-color-text-primary-on-light)}:host([target]){padding:0;border:0}:host([target]) .target{height:2.75rem}:host([target][ondark][disabled]) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}:host([target][ondark]:not([disabled])) .target{color:#222222;color:var(--auro-color-text-primary-on-light)}@media (hover: hover){:host([target][ondark]:not([disabled])) .target:active,:host([target][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#5de3f7;background-color:var(--auro-color-ui-hover-on-dark);border-color:#5de3f7;border-color:var(--auro-color-ui-hover-on-dark)}}@media (hover: hover){:host([target]:not([disabled])) .target:active,:host([target]:not([disabled])) .target:hover{cursor:pointer;background-color:#054687;background-color:var(--auro-color-ui-hover-on-light);border-color:#054687;border-color:var(--auro-color-ui-hover-on-light)}}.target{font:inherit;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none}svg{margin-left:0.5rem;margin-left:var(--auro-size-xs)}:host([label]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#626b79;color:var(--auro-color-text-secondary-on-light);font-size:0.75rem;font-size:var(--auro-text-body-size-xs);padding:0.25rem 0.5rem;padding:var(--auro-size-xxs) var(--auro-size-xs);-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;height:auto;line-height:1}:host([label][ondark]){background-color:transparent;border-color:#626b79;border-color:var(--auro-color-brand-neutral-500);color:#ffffff;color:var(--auro-color-text-primary-on-dark)}:host([pill]){padding:0.375rem 0.5625rem 0.1875rem 0.5625rem;-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:9999px;line-height:1;height:auto}:host([disabled]){opacity:0.4}:host([onDark]) .target,:host([error]) .target,:host([success]) .target,:host([advisory]) .target{background-color:transparent;border-color:transparent}:host([error]){background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light)}:host([error][ondark]){background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark)}@media (hover: hover){:host([error]:not([disabled])) .target:active,:host([error]:not([disabled])) .target:hover{cursor:pointer;background-color:#df0b37;background-color:var(--auro-color-alert-error-on-light);border-color:#df0b37;border-color:var(--auro-color-alert-error-on-light);filter:brightness(85%)}}@media (hover: hover){:host([error][ondark]:not([disabled])) .target:active,:host([error][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#ff999b;background-color:var(--auro-color-alert-error-on-dark);border-color:#ff999b;border-color:var(--auro-color-alert-error-on-dark);filter:brightness(85%)}}:host([success]){background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light)}:host([success][ondark]){background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark)}@media (hover: hover){:host([success]:not([disabled])) .target:active,:host([success]:not([disabled])) .target:hover{cursor:pointer;background-color:#00805d;background-color:var(--auro-color-alert-success-on-light);border-color:#00805d;border-color:var(--auro-color-alert-success-on-light);filter:brightness(85%)}}@media (hover: hover){:host([success][ondark]:not([disabled])) .target:active,:host([success][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#69cf96;background-color:var(--auro-color-alert-success-on-dark);border-color:#69cf96;border-color:var(--auro-color-alert-success-on-dark);filter:brightness(85%)}}:host([advisory]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light)}:host([advisory][ondark]){background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark)}@media (hover: hover){:host([advisory]:not([disabled])) .target:active,:host([advisory]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-light);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-light);filter:brightness(85%)}}@media (hover: hover){:host([advisory][ondark]:not([disabled])) .target:active,:host([advisory][ondark]:not([disabled])) .target:hover{cursor:pointer;background-color:#fff0cd;background-color:var(--auro-color-alert-advisory-on-dark);border-color:#fff0cd;border-color:var(--auro-color-alert-advisory-on-dark);filter:brightness(85%)}}:host([label][error]),:host([label][success]){color:#ffffff;color:var(--auro-color-base-white)}:host([label][advisory]){color:#222222;color:var(--auro-color-text-primary-on-light)} | ||
`; |
import {css} from 'lit-element'; | ||
export default css`:host([fixed]) :host{height:44px}:host([fixed]) :host([space]){margin-left:24px}:host([fixed]) :host,:host([fixed]) .target{border-radius:22px;padding:0 16px}:host([fixed]) :host([target]) .target{height:44px}:host([fixed]) svg{margin-left:8px}:host([fixed]) :host([label]){font-size:12px;padding:2px 4px;line-height:16px}:host([fixed]) :host([pill]){padding:6px 9px 3px 9px} | ||
export default css`:host([fixed]) :host{height:44px}:host([fixed]) :host([space]){margin-left:24px}:host([fixed]) :host,:host([fixed]) .target{border-radius:22px;padding:0 16px}:host([fixed]) :host([target]) .target{height:44px}:host([fixed]) svg{margin-left:8px}:host([fixed]) :host([label]){font-size:12px;padding:4px 8px}:host([fixed]) :host([pill]){padding:6px 9px 3px 9px} | ||
`; |
@@ -11,3 +11,3 @@ { | ||
"name": "@alaskaairux/auro-badge", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Auro custom auro-badge element", | ||
@@ -14,0 +14,0 @@ "author": "Product design and research", |
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
356889
1764
1