@alaskaairux/auro-badge
Advanced tools
Comparing version 1.2.1 to 1.2.2
# Semantic Release Automated Changelog | ||
## [1.2.2](https://github.com/AlaskaAirlines/auro-badge/compare/v1.2.1...v1.2.2) (2021-03-02) | ||
### Bug Fixes | ||
* update label border color ([40a61e4](https://github.com/AlaskaAirlines/auro-badge/commit/40a61e4ebe69fa2e729da530b173becff190524f)) | ||
## [1.2.1](https://github.com/AlaskaAirlines/auro-badge/compare/v1.2.0...v1.2.1) (2021-01-29) | ||
@@ -4,0 +11,0 @@ |
@@ -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=function(t){return t&&t.Math==Math&&t},n=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("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},s=function(t){try{return!!t()}catch(t){return!0}},a={}.toString,c="".split,l=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==function(t){return a.call(t).slice(8,-1)}(t)?c.call(t,""):Object(t)}:Object,u=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return l(u(t))},h=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p=function(t){return"object"==typeof t?null!==t:"function"==typeof t},f=n.document,g=p(f)&&p(f.createElement),v=function(t){return g?f.createElement(t):{}},m=!h&&!s((function(){return 7!=Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a})),y=function(t){if(!p(t))throw TypeError(String(t)+" is not an object");return t},b=function(t,e){if(!p(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!p(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!p(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!p(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")},_=Object.defineProperty,w={f:h?_:function(t,e,r){if(y(t),e=b(e,!0),y(r),m)try{return _(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}},S=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},x=h?function(t,e,r){return w.f(t,e,S(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{x(n,t,e)}catch(r){n[t]=e}return e},P=n["__core-js_shared__"]||k("__core-js_shared__",{}),E=e((function(t){(t.exports=function(t,e){return P[t]||(P[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),L={}.hasOwnProperty,T=function(t,e){return L.call(t,e)},O=0,C=Math.random(),N=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++O+C).toString(36)},A=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),V=A&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,j=E("wks"),M=n.Symbol,R=V?M:M&&M.withoutSetter||N,U=function(t){return T(j,t)||(A&&T(M,t)?j[t]=M[t]:j[t]=R("Symbol."+t)),j[t]},I=Math.ceil,z=Math.floor,F=function(t){return isNaN(t=+t)?0:(t>0?z:I)(t)},H=Math.min,$=Math.max,D=Math.min,q=function(t){return function(e,r,o){var n,i,s=d(e),a=(n=s.length)>0?H(F(n),9007199254740991):0,c=function(t,e){var r=F(t);return r<0?$(r+e,0):D(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}},B={includes:q(!0),indexOf:q(!1)},G={},W=B.indexOf,J=function(t,e){var r,o=d(t),n=0,i=[];for(r in o)!T(G,r)&&T(o,r)&&i.push(r);for(;e.length>n;)T(o,r=e[n++])&&(~W(i,r)||i.push(r));return i},K=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Y=Object.keys||function(t){return J(t,K)},X=h?Object.defineProperties:function(t,e){y(t);for(var r,o=Y(e),n=o.length,i=0;n>i;)w.f(t,r=o[i++],e[r]);return t},Z=n,Q=function(t){return"function"==typeof t?t:void 0},tt=function(t,e){return arguments.length<2?Q(Z[t])||Q(n[t]):Z[t]&&Z[t][e]||n[t]&&n[t][e]},et=tt("document","documentElement"),rt=E("keys"),ot=function(t){return rt[t]||(rt[t]=N(t))},nt=ot("IE_PROTO"),it=function(){},st=function(t){return"<script>"+t+"<\/script>"},at=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;at=r?function(t){t.write(st("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=v("iframe")).style.display="none",et.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(st("document.F=Object")),t.close(),t.F);for(var o=K.length;o--;)delete at.prototype[K[o]];return at()};G[nt]=!0;var ct=Object.create||function(t,e){var r;return null!==t?(it.prototype=y(t),r=new it,it.prototype=null,r[nt]=t):r=at(),void 0===e?r:X(r,e)},lt=U("unscopables"),ut=Array.prototype;null==ut[lt]&&w.f(ut,lt,{configurable:!0,value:ct(null)});var dt=function(t){ut[lt][t]=!0},ht=Function.toString;"function"!=typeof P.inspectSource&&(P.inspectSource=function(t){return ht.call(t)});var pt,ft,gt,vt=P.inspectSource,mt=n.WeakMap,yt="function"==typeof mt&&/native code/.test(vt(mt)),bt=n.WeakMap;if(yt){var _t=P.state||(P.state=new bt),wt=_t.get,St=_t.has,xt=_t.set;pt=function(t,e){return e.facade=t,xt.call(_t,t,e),e},ft=function(t){return wt.call(_t,t)||{}},gt=function(t){return St.call(_t,t)}}else{var kt=ot("state");G[kt]=!0,pt=function(t,e){return e.facade=t,x(t,kt,e),e},ft=function(t){return T(t,kt)?t[kt]:{}},gt=function(t){return T(t,kt)}}var Pt,Et,Lt,Tt={set:pt,get:ft,has:gt,enforce:function(t){return gt(t)?ft(t):pt(t,{})},getterFor:function(t){return function(e){var r;if(!p(e)||(r=ft(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},Ot={}.propertyIsEnumerable,Ct=Object.getOwnPropertyDescriptor,Nt={f:Ct&&!Ot.call({1:2},1)?function(t){var e=Ct(this,t);return!!e&&e.enumerable}:Ot},At=Object.getOwnPropertyDescriptor,Vt={f:h?At:function(t,e){if(t=d(t),e=b(e,!0),m)try{return At(t,e)}catch(t){}if(T(t,e))return S(!Nt.f.call(t,e),t[e])}},jt=e((function(t){var e=Tt.get,r=Tt.enforce,o=String(String).split("String");(t.exports=function(t,e,i,s){var a,c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,u=!!s&&!!s.noTargetGet;"function"==typeof i&&("string"!=typeof e||T(i,"name")||x(i,"name",e),(a=r(i)).source||(a.source=o.join("string"==typeof e?e:""))),t!==n?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=i:x(t,e,i)):l?t[e]=i:k(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||vt(this)}))})),Mt=K.concat("length","prototype"),Rt={f:Object.getOwnPropertyNames||function(t){return J(t,Mt)}},Ut={f:Object.getOwnPropertySymbols},It=tt("Reflect","ownKeys")||function(t){var e=Rt.f(y(t)),r=Ut.f;return r?e.concat(r(t)):e},zt=function(t,e){for(var r=It(e),o=w.f,n=Vt.f,i=0;i<r.length;i++){var s=r[i];T(t,s)||o(t,s,n(e,s))}},Ft=/#|\.prototype\./,Ht=function(t,e){var r=Dt[$t(t)];return r==Bt||r!=qt&&("function"==typeof e?s(e):!!e)},$t=Ht.normalize=function(t){return String(t).replace(Ft,".").toLowerCase()},Dt=Ht.data={},qt=Ht.NATIVE="N",Bt=Ht.POLYFILL="P",Gt=Ht,Wt=Vt.f,Jt=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Kt=ot("IE_PROTO"),Yt=Object.prototype,Xt=Jt?Object.getPrototypeOf:function(t){return t=Object(u(t)),T(t,Kt)?t[Kt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Yt:null},Zt=U("iterator"),Qt=!1;[].keys&&("next"in(Lt=[].keys())?(Et=Xt(Xt(Lt)))!==Object.prototype&&(Pt=Et):Qt=!0),(null==Pt||s((function(){var t={};return Pt[Zt].call(t)!==t})))&&(Pt={}),T(Pt,Zt)||x(Pt,Zt,(function(){return this}));var te={IteratorPrototype:Pt,BUGGY_SAFARI_ITERATORS:Qt},ee=w.f,re=U("toStringTag"),oe=function(t,e,r){t&&!T(t=r?t:t.prototype,re)&&ee(t,re,{configurable:!0,value:e})},ne=te.IteratorPrototype,ie=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 y(r),function(t){if(!p(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),se=te.IteratorPrototype,ae=te.BUGGY_SAFARI_ITERATORS,ce=U("iterator"),le=function(){return this},ue=Tt.set,de=Tt.getterFor("Array Iterator"),he=function(t,e,r,o,i,s,a){!function(t,e,r){var o=e+" Iterator";t.prototype=ct(ne,{next:S(1,r)}),oe(t,o,!1)}(r,e,o);var c,l,u,d=function(t){if(t===i&&v)return v;if(!ae&&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[ce]||f["@@iterator"]||i&&f[i],v=!ae&&g||d(i),m="Array"==e&&f.entries||g;if(m&&(c=Xt(m.call(new t)),se!==Object.prototype&&c.next&&(Xt(c)!==se&&(ie?ie(c,se):"function"!=typeof c[ce]&&x(c,ce,le)),oe(c,h,!0))),"values"==i&&g&&"values"!==g.name&&(p=!0,v=function(){return g.call(this)}),f[ce]!==v&&x(f,ce,v),i)if(l={values:d("values"),keys:s?v:d("keys"),entries:d("entries")},a)for(u in l)(ae||p||!(u in f))&&jt(f,u,l[u]);else!function(t,e){var r,o,i,s,a,c=t.target,l=t.global,u=t.stat;if(r=l?n:u?n[c]||k(c,{}):(n[c]||{}).prototype)for(o in e){if(s=e[o],i=t.noTargetGet?(a=Wt(r,o))&&a.value:r[o],!Gt(l?o:c+(u?".":"#")+o,t.forced)&&void 0!==i){if(typeof s==typeof i)continue;zt(s,i)}(t.sham||i&&i.sham)&&x(s,"sham",!0),jt(r,o,s,t)}}({target:e,proto:!0,forced:ae||p},l);return l}(Array,"Array",(function(t,e){ue(this,{type:"Array Iterator",target:d(t),index:0,kind:e})}),(function(){var t=de(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");dt("keys"),dt("values"),dt("entries");var pe=U("iterator"),fe=U("toStringTag"),ge=he.values;for(var ve in i){var me=n[ve],ye=me&&me.prototype;if(ye){if(ye[pe]!==ge)try{x(ye,pe,ge)}catch(t){ye[pe]=ge}if(ye[fe]||x(ye,fe,ve),i[ve])for(var be in he)if(ye[be]!==he[be])try{x(ye,be,he[be])}catch(t){ye[be]=he[be]}}} | ||
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]}}} | ||
/** | ||
@@ -14,3 +14,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const _e=new WeakMap,we=t=>"function"==typeof t&&_e.has(t),Se="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,xe=(t,e,r=null)=>{for(;e!==r;){const r=e.nextSibling;t.removeChild(e),e=r}},ke={},Pe={},Ee=`{{lit-${String(Math.random()).slice(2)}}}`,Le=`\x3c!--${Ee}--\x3e`,Te=new RegExp(`${Ee}|${Le}`);class Oe{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++)Ce(e[t].name,"$lit$")&&o++;for(;o-- >0;){const e=c[a],r=Ve.exec(e)[2],o=r.toLowerCase()+"$lit$",n=t.getAttribute(o);t.removeAttribute(o);const i=n.split(Te);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(Ee)>=0){const o=t.parentNode,n=e.split(Te),i=n.length-1;for(let e=0;e<i;e++){let r,i=n[e];if(""===i)r=Ae();else{const t=Ve.exec(i);null!==t&&Ce(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(Ae(),t),r.push(t)):t.data=n[i],a+=i}}else if(8===t.nodeType)if(t.data===Ee){const e=t.parentNode;null!==t.previousSibling&&s!==i||(s++,e.insertBefore(Ae(),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(Ee,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 Ce=(t,e)=>{const r=t.length-e.length;return r>=0&&t.slice(r)===e},Ne=t=>-1!==t.index,Ae=()=>document.createComment(""),Ve=/([ \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 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"'`<>=]*|"[^"]*|'[^']*))$/; | ||
/** | ||
@@ -29,3 +29,3 @@ * @license | ||
*/ | ||
class je{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=Se?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],Ne(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 Se&&(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,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}} | ||
/** | ||
@@ -43,3 +43,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const Me=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),Re=` ${Ee} `;class Ue{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=Ve.exec(t);e+=null===i?t+(r?Re:Le):t.substr(0,i.index)+i[1]+i[2]+"$lit$"+i[3]+Ee}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");let e=this.getHTML();return void 0!==Me&&(e=Me.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 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}} | ||
/** | ||
@@ -57,3 +57,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const Ie=t=>null===t||!("object"==typeof t||"function"==typeof t),ze=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class Fe{constructor(t,e,r){this.dirty=!0,this.element=t,this.name=e,this.strings=r,this.parts=[];for(let t=0;t<r.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new He(this)}_getValue(){const t=this.strings,e=t.length-1,r=this.parts;if(1===e&&""===t[0]&&""===t[1]){const t=r[0].value;if("symbol"==typeof t)return String(t);if("string"==typeof t||!ze(t))return t}let o="";for(let n=0;n<e;n++){o+=t[n];const e=r[n];if(void 0!==e){const t=e.value;if(Ie(t)||!ze(t))o+="string"==typeof t?t:String(t);else for(const e of t)o+="string"==typeof e?e:String(e)}}return o+=t[e],o}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class He{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===ke||Ie(t)&&t===this.value||(this.value=t,we(t)||(this.committer.dirty=!0))}commit(){for(;we(this.value);){const t=this.value;this.value=ke,t(this)}this.value!==ke&&this.committer.commit()}}class $e{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Ae()),this.endNode=t.appendChild(Ae())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Ae()),t.__insert(this.endNode=Ae())}insertAfterPart(t){t.__insert(this.startNode=Ae()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null===this.startNode.parentNode)return;for(;we(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ke,t(this)}const t=this.__pendingValue;t!==ke&&(Ie(t)?t!==this.value&&this.__commitText(t):t instanceof Ue?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):ze(t)?this.__commitIterable(t):t===Pe?(this.value=Pe,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,r="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=r:this.__commitNode(document.createTextNode(r)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof je&&this.value.template===e)this.value.update(t.values);else{const r=new je(e,t.processor,this.options),o=r._clone();r.update(t.values),this.__commitNode(o),this.value=r}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let r,o=0;for(const n of t)r=e[o],void 0===r&&(r=new $e(this.options),e.push(r),0===o?r.appendIntoPart(this):r.insertAfterPart(e[o-1])),r.setValue(n),r.commit(),o++;o<e.length&&(e.length=o,this.clear(r&&r.endNode))}clear(t=this.startNode){xe(this.startNode.parentNode,t.nextSibling,this.endNode)}}class De{constructor(t,e,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=r}setValue(t){this.__pendingValue=t}commit(){for(;we(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ke,t(this)}if(this.__pendingValue===ke)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=ke}}class qe extends Fe{constructor(t,e,r){super(t,e,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new Be(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class Be extends He{}let Ge=!1;(()=>{try{const t={get capture(){return Ge=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class We{constructor(t,e,r){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=r,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;we(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ke,t(this)}if(this.__pendingValue===ke)return;const t=this.__pendingValue,e=this.value,r=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),o=null!=t&&(null==e||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=Je(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=ke}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const Je=t=>t&&(Ge?{capture:t.capture,passive:t.passive,once:t.once}:t.capture) | ||
*/const We=t=>null===t||!("object"==typeof t||"function"==typeof t),Je=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class Ke{constructor(t,e,r){this.dirty=!0,this.element=t,this.name=e,this.strings=r,this.parts=[];for(let t=0;t<r.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new Ye(this)}_getValue(){const t=this.strings,e=t.length-1,r=this.parts;if(1===e&&""===t[0]&&""===t[1]){const t=r[0].value;if("symbol"==typeof t)return String(t);if("string"==typeof t||!Je(t))return t}let o="";for(let n=0;n<e;n++){o+=t[n];const e=r[n];if(void 0!==e){const t=e.value;if(We(t)||!Je(t))o+="string"==typeof t?t:String(t);else for(const e of t)o+="string"==typeof e?e:String(e)}}return o+=t[e],o}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class Ye{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===Ve||We(t)&&t===this.value||(this.value=t,Oe(t)||(this.committer.dirty=!0))}commit(){for(;Oe(this.value);){const t=this.value;this.value=Ve,t(this)}this.value!==Ve&&this.committer.commit()}}class Xe{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(He()),this.endNode=t.appendChild(He())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=He()),t.__insert(this.endNode=He())}insertAfterPart(t){t.__insert(this.startNode=He()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null===this.startNode.parentNode)return;for(;Oe(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Ve,t(this)}const t=this.__pendingValue;t!==Ve&&(We(t)?t!==this.value&&this.__commitText(t):t instanceof Ge?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):Je(t)?this.__commitIterable(t):t===je?(this.value=je,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,r="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=r:this.__commitNode(document.createTextNode(r)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof De&&this.value.template===e)this.value.update(t.values);else{const r=new De(e,t.processor,this.options),o=r._clone();r.update(t.values),this.__commitNode(o),this.value=r}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let r,o=0;for(const n of t)r=e[o],void 0===r&&(r=new Xe(this.options),e.push(r),0===o?r.appendIntoPart(this):r.insertAfterPart(e[o-1])),r.setValue(n),r.commit(),o++;o<e.length&&(e.length=o,this.clear(r&&r.endNode))}clear(t=this.startNode){Ae(this.startNode.parentNode,t.nextSibling,this.endNode)}}class Ze{constructor(t,e,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=r}setValue(t){this.__pendingValue=t}commit(){for(;Oe(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Ve,t(this)}if(this.__pendingValue===Ve)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=Ve}}class Qe extends Ke{constructor(t,e,r){super(t,e,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new tr(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class tr extends Ye{}let er=!1;(()=>{try{const t={get capture(){return er=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class rr{constructor(t,e,r){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=r,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;Oe(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=Ve,t(this)}if(this.__pendingValue===Ve)return;const t=this.__pendingValue,e=this.value,r=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),o=null!=t&&(null==e||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=or(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Ve}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const or=t=>t&&(er?{capture:t.capture,passive:t.passive,once:t.once}:t.capture) | ||
/** | ||
@@ -71,3 +71,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/;const Ke=new class{handleAttributeExpressions(t,e,r,o){const n=e[0];if("."===n){return new qe(t,e.slice(1),r).parts}if("@"===n)return[new We(t,e.slice(1),o.eventContext)];if("?"===n)return[new De(t,e.slice(1),r)];return new Fe(t,e,r).parts}handleTextExpression(t){return new $e(t)}}; | ||
*/;const nr=new class{handleAttributeExpressions(t,e,r,o){const n=e[0];if("."===n){return new Qe(t,e.slice(1),r).parts}if("@"===n)return[new rr(t,e.slice(1),o.eventContext)];if("?"===n)return[new Ze(t,e.slice(1),r)];return new Ke(t,e,r).parts}handleTextExpression(t){return new Xe(t)}}; | ||
/** | ||
@@ -85,3 +85,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/function Ye(t){let e=Xe.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},Xe.set(t.type,e));let r=e.stringsArray.get(t.strings);if(void 0!==r)return r;const o=t.strings.join(Ee);return r=e.keyString.get(o),void 0===r&&(r=new Oe(t,t.getTemplateElement()),e.keyString.set(o,r)),e.stringsArray.set(t.strings,r),r}const Xe=new Map,Ze=new WeakMap; | ||
*/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; | ||
/** | ||
@@ -126,3 +126,3 @@ * @license | ||
* http://polymer.github.io/PATENTS.txt | ||
*/,window.JSCompiler_renameProperty=(t,e)=>t;const Qe={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},tr=(t,e)=>e!==t&&(e==e||t==t),er={attribute:!0,type:String,converter:Qe,reflect:!1,hasChanged:tr};class rr extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach(((e,r)=>{const o=this._attributeNameForProperty(r,e);void 0!==o&&(this._attributeToPropertyMap.set(o,r),t.push(o))})),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(((t,e)=>this._classProperties.set(e,t)))}}static createProperty(t,e=er){if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const r="symbol"==typeof t?Symbol():`__${t}`,o=this.getPropertyDescriptor(t,r,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdateInternal(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||er}static finalize(){const t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const r of e)this.createProperty(r,t[r])}}static _attributeNameForProperty(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e,r=tr){return r(t,e)}static _propertyValueFromAttribute(t,e){const r=e.type,o=e.converter||Qe,n="function"==typeof o?o:o.fromAttribute;return n?n(t,r):t}static _propertyValueToAttribute(t,e){if(void 0===e.reflect)return;const r=e.type,o=e.converter;return(o&&o.toAttribute||Qe.toAttribute)(t,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((t=>this._enableUpdatingResolver=t)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((t,e)=>this[e]=t)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e,r=er){const o=this.constructor,n=o._attributeNameForProperty(t,r);if(void 0!==n){const t=o._propertyValueToAttribute(e,r);if(void 0===t)return;this._updateState=8|this._updateState,null==t?this.removeAttribute(n):this.setAttribute(n,t),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(8&this._updateState)return;const r=this.constructor,o=r._attributeToPropertyMap.get(t);if(void 0!==o){const t=r.getPropertyOptions(o);this._updateState=16|this._updateState,this[o]=r._propertyValueFromAttribute(e,t),this._updateState=-17&this._updateState}}requestUpdateInternal(t,e,r){let o=!0;if(void 0!==t){const n=this.constructor;r=r||n.getPropertyOptions(t),n._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):o=!1}!this._hasRequestedUpdate&&o&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(t){}const t=this.performUpdate();return null!=t&&await t,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let t=!1;const e=this._changedProperties;try{t=this.shouldUpdate(e),t?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((t,e)=>this._propertyToAttribute(e,this[e],t))),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}rr.finalized=!0, | ||
*/,window.JSCompiler_renameProperty=(t,e)=>t;const cr={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},lr=(t,e)=>e!==t&&(e==e||t==t),ur={attribute:!0,type:String,converter:cr,reflect:!1,hasChanged:lr};class dr extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach(((e,r)=>{const o=this._attributeNameForProperty(r,e);void 0!==o&&(this._attributeToPropertyMap.set(o,r),t.push(o))})),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(((t,e)=>this._classProperties.set(e,t)))}}static createProperty(t,e=ur){if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const r="symbol"==typeof t?Symbol():`__${t}`,o=this.getPropertyDescriptor(t,r,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdateInternal(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||ur}static finalize(){const t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const r of e)this.createProperty(r,t[r])}}static _attributeNameForProperty(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e,r=lr){return r(t,e)}static _propertyValueFromAttribute(t,e){const r=e.type,o=e.converter||cr,n="function"==typeof o?o:o.fromAttribute;return n?n(t,r):t}static _propertyValueToAttribute(t,e){if(void 0===e.reflect)return;const r=e.type,o=e.converter;return(o&&o.toAttribute||cr.toAttribute)(t,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((t=>this._enableUpdatingResolver=t)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((t,e)=>this[e]=t)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,r){e!==r&&this._attributeToProperty(t,r)}_propertyToAttribute(t,e,r=ur){const o=this.constructor,n=o._attributeNameForProperty(t,r);if(void 0!==n){const t=o._propertyValueToAttribute(e,r);if(void 0===t)return;this._updateState=8|this._updateState,null==t?this.removeAttribute(n):this.setAttribute(n,t),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(8&this._updateState)return;const r=this.constructor,o=r._attributeToPropertyMap.get(t);if(void 0!==o){const t=r.getPropertyOptions(o);this._updateState=16|this._updateState,this[o]=r._propertyValueFromAttribute(e,t),this._updateState=-17&this._updateState}}requestUpdateInternal(t,e,r){let o=!0;if(void 0!==t){const n=this.constructor;r=r||n.getPropertyOptions(t),n._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):o=!1}!this._hasRequestedUpdate&&o&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(t){}const t=this.performUpdate();return null!=t&&await t,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let t=!1;const e=this._changedProperties;try{t=this.shouldUpdate(e),t?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((t,e)=>this._propertyToAttribute(e,this[e],t))),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}dr.finalized=!0, | ||
/** | ||
@@ -141,3 +141,3 @@ * @license | ||
*/ | ||
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");const or=(t,...e)=>new Ue(t,e,"html",Ke) | ||
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");const hr=(t,...e)=>new Ge(t,e,"html",nr) | ||
/** | ||
@@ -152,3 +152,3 @@ @license | ||
found at http://polymer.github.io/PATENTS.txt | ||
*/,nr=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ir=Symbol();class sr{constructor(t,e){if(e!==ir)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(nr?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const ar=(t,...e)=>{const r=e.reduce(((e,r,o)=>e+(t=>{if(t instanceof sr)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+t[o+1]),t[0]);return new sr(r,ir)}; | ||
*/,pr=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fr=Symbol();class gr{constructor(t,e){if(e!==fr)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(pr?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const vr=(t,...e)=>{const r=e.reduce(((e,r,o)=>e+(t=>{if(t instanceof gr)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+t[o+1]),t[0]);return new gr(r,fr)}; | ||
/** | ||
@@ -167,2 +167,2 @@ * @license | ||
*/ | ||
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const cr={};class lr extends rr{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&&!nr){const e=Array.prototype.slice.call(t.cssRules).reduce(((t,e)=>t+e.cssText),"");return new sr(String(e),ir)}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?nr?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!==cr&&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 cr}}lr.finalized=!0,lr.render=(t,e,r)=>{let o=Ze.get(e);void 0===o&&(xe(e,e.firstChild),Ze.set(e,o=new $e(Object.assign({templateFactory:Ye},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 ur=ar`*,: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:rgba(0,0,0,.15);border-color:var(--auro-color-border-primary-on-light);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:rgba(255,255,255,.4);border-color:var(--auro-color-border-primary-on-dark);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%)}}`,dr=ar`: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}`,hr='<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 pr extends lr{constructor(){super(),this.dom=(new DOMParser).parseFromString(hr,"text/html"),this.svg=this.dom.body.firstChild}static get properties(){return{target:{type:Boolean},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[ur,dr]}render(){return or`${this.target?or`<button @click="${this.handleChange}" ?disabled="${this.disabled}" .value="${this.value}" class="target"><slot></slot>${this.svg} <span class="util_displayHiddenVisually">Dismiss</span></button>`:or`<slot></slot>`}`}}customElements.get("auro-badge")||customElements.define("auro-badge",pr); | ||
(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}static get properties(){return{target:{type:Boolean},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:rgba(0,0,0,0.15);border-color:var(--auro-color-border-primary-on-light);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:rgba(255,255,255,0.4);border-color:var(--auro-color-border-primary-on-dark);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.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%)}} | ||
`; |
@@ -11,3 +11,3 @@ { | ||
"name": "@alaskaairux/auro-badge", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Auro custom auro-badge element", | ||
@@ -34,10 +34,10 @@ "author": "Product design and research", | ||
"devDependencies": { | ||
"@alaskaairux/design-tokens": "^3.0.0", | ||
"@alaskaairux/icons": "^4.2.2", | ||
"@alaskaairux/webcorestylesheets": "^3.0.0", | ||
"@babel/core": "^7.12.10", | ||
"@alaskaairux/design-tokens": "^3.2.0", | ||
"@alaskaairux/icons": "^4.4.3", | ||
"@alaskaairux/webcorestylesheets": "^3.1.0", | ||
"@babel/core": "^7.13.8", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.12.10", | ||
"@babel/preset-env": "^7.12.11", | ||
"@babel/runtime": "^7.12.5", | ||
"@babel/plugin-transform-runtime": "^7.13.9", | ||
"@babel/preset-env": "^7.13.9", | ||
"@babel/runtime": "^7.13.9", | ||
"@commitlint/cli": "^11.0.0", | ||
@@ -47,6 +47,6 @@ "@commitlint/config-conventional": "^11.0.0", | ||
"@open-wc/testing-karma": "^4.0.9", | ||
"@rollup/plugin-alias": "^3.1.1", | ||
"@rollup/plugin-babel": "^5.2.2", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.1.0", | ||
"@rollup/plugin-alias": "^3.1.2", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
@@ -57,3 +57,3 @@ "@semantic-release/git": "^9.0.0", | ||
"@webcomponents/webcomponentsjs": "^2.5.0", | ||
"autoprefixer": "^10.2.3", | ||
"autoprefixer": "^10.2.4", | ||
"babel-loader": "^8.2.2", | ||
@@ -63,12 +63,12 @@ "compression": "^1.7.4", | ||
"copyfiles": "^2.4.1", | ||
"core-js": "^3.8.3", | ||
"eslint": "^7.18.0", | ||
"core-js": "^3.9.1", | ||
"eslint": "^7.21.0", | ||
"eslint-plugin-lit": "^1.3.0", | ||
"focus-visible": "^5.2.0", | ||
"husky": "^4.3.8", | ||
"lodash": "^4.17.20", | ||
"marked": "^1.2.8", | ||
"lodash": "^4.17.21", | ||
"marked": "^1.2.9", | ||
"nodemon": "^2.0.7", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.2.4", | ||
"postcss": "^8.2.6", | ||
"postcss-custom-properties": "^10.0.0", | ||
@@ -80,9 +80,9 @@ "postcss-discard-comments": "^4.0.2", | ||
"prismjs": "^1.23.0", | ||
"rollup": "^2.38.1", | ||
"rollup": "^2.40.0", | ||
"rollup-plugin-minify-html-literals": "^1.2.5", | ||
"rollup-plugin-serve": "^1.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"semantic-release": "^17.3.7", | ||
"semantic-release": "^17.4.0", | ||
"sinon": "^9.2.4", | ||
"stylelint": "^13.9.0", | ||
"stylelint": "^13.11.0", | ||
"stylelint-config-standard": "^20.0.0", | ||
@@ -92,3 +92,3 @@ "wc-sass-render": "^1.2.3", | ||
"webpack-merge": "^5.7.3", | ||
"whatwg-fetch": "^3.5.0", | ||
"whatwg-fetch": "^3.6.2", | ||
"yaml-lint": "^1.2.4" | ||
@@ -95,0 +95,0 @@ }, |
Sorry, the diff of this file is too big to display
1766
355224