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

ak-badge

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ak-badge - npm Package Compare versions

Comparing version 0.4.8 to 0.5.0

15

CHANGELOG.md

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

<a name="0.4.8"></a>
## 0.4.8 (2016-10-17)
<a name="0.5.0"></a>
# 0.5.0 (2016-10-19)
<a name="ak-badge@0.5.0"></a>
# ak-badge@0.5.0 (2016-10-19)
### Bug Fixes
* **bump:** update skate version to ^3.1.2 ([f6bf589](https://bitbucket.org/atlassian/atlaskit/commits/f6bf589))
<a name="ak-badge@0.4.8"></a>

@@ -12,2 +22,3 @@ ## ak-badge@0.4.8 (2016-10-17)

* **tests:** fix test to determine if a local and remote date are the same ([9ec6976](https://bitbucket.org/atlassian/atlaskit/commits/9ec6976))
* Fix skate version to 3.1.0 ([4251f8f](https://bitbucket.org/atlassian/atlaskit/commits/4251f8f))

@@ -14,0 +25,0 @@

23

dist/bundle-cjs.js

@@ -88,3 +88,3 @@ module.exports = /******/

"number" === type || "string" === type || "object" === type && child instanceof String ? _skatejs.vdom.text(child) : "function" === type && child.__jsxDOMWrapper ? child() : Array.isArray(child) ? child.forEach(_renderArbitrary) : "object" === type && "[object Object]" === String(child) && _forOwn(child, _renderArbitrary);
}, _skatejs = __webpack_require__(3), _shadow = __webpack_require__(4), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(6), _classnames2 = _interopRequireDefault(_classnames), _akutilCommon = __webpack_require__(7), _events = __webpack_require__(8), events = _interopRequireWildcard(_events), APPEARANCE_ENUM = {
}, _skatejs = __webpack_require__(3), _classnames = __webpack_require__(4), _classnames2 = _interopRequireDefault(_classnames), _akutilCommon = __webpack_require__(5), _shadow = __webpack_require__(6), _shadow2 = _interopRequireDefault(_shadow), _events = __webpack_require__(8), events = _interopRequireWildcard(_events), APPEARANCE_ENUM = {
values: [ "default", "primary", "important", "added", "removed" ],

@@ -157,4 +157,12 @@ missingDefault: "default",

/***/
function(module, exports) {
module.exports = require("classnames");
}, /* 5 */
/***/
function(module, exports) {
module.exports = require("akutil-common");
}, /* 6 */
/***/
function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(5)(), // imports
exports = module.exports = __webpack_require__(7)(), // imports
// module

@@ -181,3 +189,3 @@ exports.push([ module.id, ".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}", "" ]),

};
}, /* 5 */
}, /* 7 */
/***/

@@ -217,10 +225,2 @@ function(module, exports) {

};
}, /* 6 */
/***/
function(module, exports) {
module.exports = require("classnames");
}, /* 7 */
/***/
function(module, exports) {
module.exports = require("akutil-common");
}, /* 8 */

@@ -233,3 +233,4 @@ /***/

});
// eslint-disable-next-line import/prefer-default-export
exports.change = "change";
} ]);

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

module.exports=function(e){function n(a){if(t[a])return t[a].exports;var r=t[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function a(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n}function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.events=void 0;var o=Object.prototype.hasOwnProperty,i=function(e,n){for(var t in e)o.call(e,t)&&n(e[t],t)},l=function h(e){var n=typeof e;"number"===n||"string"===n||"object"===n&&e instanceof String?u.vdom.text(e):"function"===n&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(h):"object"===n&&"[object Object]"===String(e)&&i(e,h)},u=t(3),d=t(4),p=r(d),c=t(6),s=r(c),f=t(7),m=t(8),v=a(m),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},g={render:function(e){var n=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),t=(0,s["default"])([p["default"].locals.value,p["default"].locals[e.appearance]]);return u.vdom.elementOpen("span",null,null,"class","container"),u.vdom.elementOpen("style"),l(p["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("span",null,null,"class",t),l(n),u.vdom.elementClose("span"),u.vdom.elementClose("span")},updated:function(e,n){return n&&n.value!==e.value&&(0,u.emit)(e,v.change,{detail:{oldValue:n.value,newValue:e.value}}),u.Component.updated(e,n)},props:{value:u.prop.number({attribute:!0,"default":0}),max:u.prop.number({attribute:!0,"default":99}),appearance:(0,f.enumeration)(y)({attribute:!0})}};n["default"]=(0,u.define)("ak-badge",g),n.events=v},,,function(e,n){e.exports=require("skatejs")},function(e,n,t){n=e.exports=t(5)(),n.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),n.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var a={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(a[o]=!0)}for(r=0;r<n.length;r++){var i=n[r];"number"==typeof i[0]&&a[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),e.push(i))}},e}},function(e,n){e.exports=require("classnames")},function(e,n){e.exports=require("akutil-common")},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.change="change"}]);
module.exports=function(e){function n(a){if(t[a])return t[a].exports;var r=t[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function a(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n}function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.events=void 0;var o=Object.prototype.hasOwnProperty,i=function(e,n){for(var t in e)o.call(e,t)&&n(e[t],t)},l=function h(e){var n=typeof e;"number"===n||"string"===n||"object"===n&&e instanceof String?u.vdom.text(e):"function"===n&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(h):"object"===n&&"[object Object]"===String(e)&&i(e,h)},u=t(3),d=t(4),p=r(d),c=t(5),s=t(6),f=r(s),m=t(8),v=a(m),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},g={render:function(e){var n=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),t=(0,p["default"])([f["default"].locals.value,f["default"].locals[e.appearance]]);return u.vdom.elementOpen("span",null,null,"class","container"),u.vdom.elementOpen("style"),l(f["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("span",null,null,"class",t),l(n),u.vdom.elementClose("span"),u.vdom.elementClose("span")},updated:function(e,n){return n&&n.value!==e.value&&(0,u.emit)(e,v.change,{detail:{oldValue:n.value,newValue:e.value}}),u.Component.updated(e,n)},props:{value:u.prop.number({attribute:!0,"default":0}),max:u.prop.number({attribute:!0,"default":99}),appearance:(0,c.enumeration)(y)({attribute:!0})}};n["default"]=(0,u.define)("ak-badge",g),n.events=v},,,function(e,n){e.exports=require("skatejs")},function(e,n){e.exports=require("classnames")},function(e,n){e.exports=require("akutil-common")},function(e,n,t){n=e.exports=t(7)(),n.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),n.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var a={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(a[o]=!0)}for(r=0;r<n.length;r++){var i=n[r];"number"==typeof i[0]&&a[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),e.push(i))}},e}},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.change="change"}]);

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akBadge=t():e.akBadge=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var o=Object.prototype.hasOwnProperty,u=function(e,t){for(var n in e)o.call(e,n)&&t(e[n],n)},a=function m(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?s.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(m):"object"===t&&"[object Object]"===String(e)&&u(e,m)},s=n(3),l=n(5),c=i(l),f=n(7),d=i(f),h=n(8),p=n(56),v=r(p),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},b={render:function(e){var t=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),n=(0,d["default"])([c["default"].locals.value,c["default"].locals[e.appearance]]);return s.vdom.elementOpen("span",null,null,"class","container"),s.vdom.elementOpen("style"),a(c["default"].toString()),s.vdom.elementClose("style"),s.vdom.elementOpen("span",null,null,"class",n),a(t),s.vdom.elementClose("span"),s.vdom.elementClose("span")},updated:function(e,t){return t&&t.value!==e.value&&(0,s.emit)(e,v.change,{detail:{oldValue:t.value,newValue:e.value}}),s.Component.updated(e,t)},props:{value:s.prop.number({attribute:!0,"default":0}),max:s.prop.number({attribute:!0,"default":99}),appearance:(0,h.enumeration)(y)({attribute:!0})}};t["default"]=(0,s.define)("ak-badge",b),t.events=v},,,function(e,t,n){!function(e,r){r(t,n(4))}(this,function(e,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enumOnly,r=void 0!==n&&n,i=Object[r?"keys":"getOwnPropertyNames"](e);return"function"==typeof Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i}function r(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),K.apply(void 0,n)}}function i(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function o(e,t){K(e,t)}function u(e,t,n){var r=e[Pe];r||(r=e[Pe]={});var i=r[t];i&&e.removeEventListener(t,i),n&&e.addEventListener(t,r[t]=n)}function a(e){return"function"==typeof e?e[ne]||e:"slot"===e&&Ae?"content":e}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Ne=[e,t,n]}function l(){var e=Ge.apply(void 0,xe(Ne));return Ne=null,e}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze;return function r(){for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];if(o[0]=a(o[0]),Re=null,"function"==typeof o[0])return Re=o[0],n.apply(void 0,o);if(Ee.length)Ee[Ee.length-1].push([r,o]);else{if(e===Ve){if(Te)return++Te;var c=e.apply(void 0,o);return c[Se]&&++Te,c}if(e===t.elementClose){if(1===Te&&t.skip(),Te&&--Te)return;var f=e.apply(void 0,o),d=f[ie];return delete f[ie],"function"==typeof d&&d(f),f}if(!Te||e===s||e===l)return e.apply(void 0,o)}}}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];Re?Re[Me][t[0]]=t[1]:Ee.length?Ee[Ee.length-1].push([f,t]):(Ne.push(t[0]),Ne.push(t[1]))}function d(e,t,n){for(var r={key:t,statics:n},i=arguments.length,o=Array(i>3?i-3:0),u=3;u<i;u++)o[u-3]=arguments[u];for(var a=0;a<o.length;a+=2)r[o[a]]=o[a+1];e[Me]=r,Ee.push([])}function h(e){var t=Ee.pop(),n=e[Me];delete e[Me];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,xe(e[1]))})});return"function"==typeof r?r():r}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ge.apply(void 0,[e].concat(n)),Fe(e)}function v(e,t){for(var n="undefined"==typeof t?"undefined":ke(t),r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return"function"!==n&&"string"!==n&&"number"!==n||i.unshift(t),null!==t&&"object"===n||(t={}),De(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return f(e,t[e])}),Ie(e),i.forEach(function(e){var t="undefined"==typeof e?"undefined":ke(e);"function"===t?e():"string"===t||"number"===t?qe(e):Array.isArray(e)&&e.forEach(function(e){return e()})}),Fe(e)}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.bind.apply(v,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return v.bind.apply(v,[null,e].concat(n))}})}function b(e){var t=!1,n=0,r=[],i=document.createElement("span"),o=new Be(function(){e.apply(void 0,xe(r)),t=!1,r=null});return o.observe(i,{childList:!0}),function(){for(var e=arguments.length,o=Array(e),u=0;u<e;u++)o[u]=arguments[u];r=o,t||(t=!0,i.textContent=""+n,n+=1)}}function m(e){var t=!1;return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t||(t=!0,setTimeout(function(){t=!1,e.apply(void 0,r)},He))}}function g(e){var t={};return n(e.constructor.props).forEach(function(n){t[n]=e[n]}),t}function k(e,t){K(e,t),e.constructor[oe]&&e.constructor[oe](e)}function w(e,t,n){return"function"==typeof n["default"]?n["default"](e,{name:t}):n["default"]}function _(e,t,n){return"function"==typeof n.initial?n.initial(e,{name:t}):n.initial}function O(e,t){var n=Je(e,"props");return n[t]||(n[t]={})}function j(e,t,n,r,i){var o=i.lastAssignedValue;B(o)&&("initial"in t?o=_(e,n,t):"default"in t&&(o=w(e,n,t))),!B(o)&&t.serialize&&(o=t.serialize(o)),B(o)||(i.syncingAttribute=!0,e.setAttribute(r,o))}function x(e,t,n,r,i){if(r&&!i.settingAttribute){var o=i.internalValue,u=t.serialize(o),a=e.getAttribute(r),s=B(u),l=!(s&&B(a)||u===a);i.syncingAttribute=!0;var c=B(i.lastAssignedValue);c||s?e.removeAttribute(r):e.setAttribute(r,u),!l&&i.syncingAttribute&&(i.syncingAttribute=!1)}i.settingAttribute=!1}function C(e,t,n,r){var i=Je(e,"propertyLinks")[n],o=O(e,n);i&&(r?j(e,t,n,i,o):x(e,t,n,i,o))}function A(e){return be?e.attachShadow({mode:"open"}):ye?e.createShadowRoot():e}function E(e){return e[se]||(e[se]=A(e))}function S(e){var t=Je(e),n=t.readyCallbacks,r=e.constructor;e[te]||(e[te]=!0,e[ae]=Ze(r[oe].bind(r)),r.props&&r[re]&&r[re](e),"function"==typeof r.created&&r.created(e),n&&(n.forEach(function(t){return t(e)}),delete t.readyCallbacks),pe&&r.observedAttributes.forEach(function(t){var n=Je(e,"attributeLinks")[t];n||e.attributeChangedCallback(t,null,e.getAttribute(t))}))}function P(e){var t=e.constructor.props;Object.keys(t).forEach(function(n){var r=t[n];C(e,r,n,!0)})}function M(e){var t=e.constructor;P(e),e[ee]=!0,e[ae](e),"function"==typeof t.attached&&t.attached(e),e.setAttribute("defined","")}function R(e){var t=e.constructor;e[ee]=!1,"function"==typeof t.detached&&t.detached(e)}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=me?Reflect.construct(et,t,this.constructor):et.call(this,t[0]);return S(r),r}function T(e,t){var n={configurable:!0,enumerable:!0};return n.created=function(n){var r=O(n,e),i=t.attribute===!0?tt(e):t.attribute,o=n[e];Je(n,"attributeLinks")[i]=e,Je(n,"propertyLinks")[e]=i,B(o)&&(i&&n.hasAttribute(i)?o=t.deserialize(n.getAttribute(i)):"initial"in t?o=_(n,e,t):"default"in t&&(o=w(n,e,t))),r.internalValue=t.coerce?t.coerce(o):o},n.get=function(){var n=O(this,e),r=n.internalValue;return"function"==typeof t.get?t.get(this,{name:e,internalValue:r}):r},n.set=function(n){var r=O(this,e);r.lastAssignedValue=n;var i=r.oldValue;B(i)&&(i=null),B(n)&&(n=w(this,e,t)),"function"==typeof t.coerce&&(n=t.coerce(n));var o={name:e,newValue:n,oldValue:i};"function"==typeof t.set&&t.set(this,o),this[ae](this),r.internalValue=r.oldValue=n,this[ee]&&C(this,t,e,!1)},n}function z(e){var t=e.props;return n(t).reduce(function(e,n){return e[n]=t[n],"function"!=typeof e[n]&&(e[n]=nt(e[n])),e},{})}function L(e){var t=z(e);return n(t).reduce(function(e,n){return e[n]=t[n](n),e},{})}function V(e){var t=e.observedAttributes,r=e.props;r&&(n(r).forEach(function(e){var n=r[e],i=n.attribute;if(i){var o=n.attribute=i===!0?tt(e):i;t.indexOf(o)===-1&&t.push(o)}}),Object.defineProperty(e,"observedAttributes",{configurable:!0,enumerable:!0,get:function(){return t}}))}function D(e){var t=L(e);return function(e){t&&n(t).forEach(function(n){var r=t[n];r.created(e),Object.defineProperty(e,n,r)})}}function I(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return e+"-"+t}function G(e,t){t[ne]=e,t[re]=D(t)}function F(e,t){var n=void 0,r=void 0;try{G(e,t),n=document.registerElement(e,t)}catch(i){r=I(e),G(r,t),n=document.registerElement(r,t)}return n}function q(e,t){var n=e;return window.customElements.get(e)&&(n=I(e)),G(n,t),window.customElements.define(n,t,t["extends"]?{"extends":t["extends"]}:null),t}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return it?(r=new it(e,t),"undefined"!=typeof n&&Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}function J(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}for(var K=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return r.forEach(function(t){return n(t).forEach(function(n){return e[n]=t[n]})}),e},B=function(e){return"undefined"==typeof e||null===e},Y=function(e){return isNaN(e)?void 0:Number(e)},H=function(e){return B(e)?void 0:String(e)},U=r({coerce:function(e){return Array.isArray(e)?e:[e]},"default":function(){return[]},deserialize:JSON.parse,serialize:JSON.stringify}),Z=r({coerce:function(e){return!!e},"default":!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":void 0}}),X=r({"default":0,coerce:Y,deserialize:Y,serialize:Y}),Q=r({"default":"",coerce:H,deserialize:H,serialize:H}),$=Object.freeze({create:r,array:U,"boolean":Z,number:X,string:Q}),ee="____skate_connected",te="____skate_created",ne="____skate_name",re="____skate_props",ie="____skate_ref",oe="____skate_renderer",ue="____skate_rendering",ae="____skate_rendererDebounced",se="____skate_shadowRoot",le="____skate_updated",ce=Object.freeze({name:ne,shadowRoot:se}),fe=document,de=window,he=fe.createElement("div"),pe=!!fe.registerElement,ve=!!de.customElements,ye=!!he.createShadowRoot,be=!!he.attachShadow,me=("Reflect"in window),ge=function(e,t){return function(n){return function(){var r=i(e,t),u=n.apply(void 0,arguments);return o(e,r),u}}},ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,i){var a={key:e,arg:t,resolve:n,reject:i,next:null};u?u=u.next=a:(o=u=a,r(e,t))})}function r(n,o){try{var u=t[n](o),a=u.value;a instanceof e?Promise.resolve(a.value).then(function(e){r("next",e)},function(e){r("throw",e)}):i(u.done?"return":"normal",u.value)}catch(s){i("throw",s)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?r(o.key,o.arg):u=null}var o,u;this._invoke=n,"function"!=typeof t["return"]&&(this["return"]=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype["throw"]=function(e){return this._invoke("throw",e)},t.prototype["return"]=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),_e=(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}),Oe=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},je=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},xe=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},Ce=t.attributes[t.symbols["default"]],Ae=!be&&ye,Ee=[],Se="__skip",Pe="__events",Me="__props",Re=void 0,Ne=void 0,Te=0,ze=function(){},Le=(ge(t.attributes,_e({key:ze,statics:ze,checked:t.applyProp,className:t.applyProp,disabled:t.applyProp,value:t.applyProp,name:function(e,t,n){"CONTENT"===e.tagName&&(t="select",n='[slot="'+n+'"]'),Ce(e,t,n)},ref:function(e,t,n){e[ie]=n},skip:function(e,t,n){n?e[Se]=!0:delete e[Se]}},t.symbols["default"],function(e,n,r){var i=e.constructor.props;if(i&&n in i)return t.applyProp(e,n,r);if(r===!1)return Ce(e,n);if(0===n.indexOf("on")){var o=n[2],a=void 0;if("-"===o?a=n.substring(3):o===o.toUpperCase()&&(a=o.toLowerCase()+n.substring(3)),a)return void u(e,a,r)}return n in e&&!("ownerSVGElement"in e)?void t.applyProp(e,n,r):void Ce(e,n,r)}))),Ve=Le(t.elementOpen),De=c(s,d),Ie=c(l),Ge=c(Ve,d),Fe=c(t.elementClose,h),qe=c(t.text),We=Object.freeze({element:v,builder:y,attr:f,elementClose:Fe,elementOpen:Ge,elementOpenEnd:Ie,elementOpenStart:De,elementVoid:p,text:qe}),Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n},Ke=window,Be=Ke.MutationObserver,Ye=["Edge","Trident","Firefox"],He=0,Ue=0;Ue<Ye.length;Ue+=1)if(navigator.userAgent.indexOf(Ye[Ue])>=0){He=1;break}var Ze=window.MutationObserver?b:m,Xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(e).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})},Qe=function(e,t){return"undefined"==typeof t?g(e):k(e,t)},$e=window,et=$e.HTMLElement;N.observedAttributes=[],N.props={},N.extend=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return we(this,t),je(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Oe(t,e),t}(t);if(!n.observedAttributes){var r=Xe(t);delete r.length,delete r.prototype,Object.defineProperties(n,r)}var i=Xe(e),o=Xe(e.prototype);return delete i.prototype,Object.defineProperties(n,i),Object.defineProperties(n.prototype,o),n},N.renderer=function(e){var n=e.elem,r=e.render,i=e.shadowRoot;t.patchInner(i,function(){var e=r(n);"function"==typeof e?e():Array.isArray(e)&&e.forEach(function(e){"function"==typeof e&&e()})})},N.updated=function(e,t){if(!t)return!0;for(var r=n(t),i=0;i<r.length;i+=1)if(t[r[i]]!==e[r[i]])return!0;return!1},N[le]=function(e){if("function"==typeof this.updated){var t=e[re];return e[re]=Qe(e),this.updated(e,t)}return!0},N[oe]=function(e){if(!e[ue]&&e[ee]){e[ue]=!0;var t=this[le](e);if(!this.render||!this.renderer)return void(e[ue]=!1);t&&(this.renderer({elem:e,render:this.render,shadowRoot:E(e)}),"function"==typeof this.rendered&&this.rendered(e)),e[ue]=!1}},N.prototype=Object.create(et.prototype,{connectedCallback:{configurable:!0,value:function(){M(this)}},disconnectedCallback:{configurable:!0,value:function(){R(this)}},attributeChangedCallback:{configurable:!0,value:function(e,t,n){var r=this.constructor,i=r.attributeChanged,o=r.observedAttributes,u=Je(this,"attributeLinks")[e];if(!pe||o.indexOf(e)!==-1){if(u){var a=Je(this,"props")[u];if(a.syncingAttribute)a.syncingAttribute=!1;else{var s=this.constructor.props[u];a.settingAttribute=!0;var l=null!==n&&s.deserialize?s.deserialize(n):n;this[u]=l}}i&&i(this,{name:e,newValue:n,oldValue:t})}}},createdCallback:{configurable:!0,value:function(){S(this)}},attachedCallback:{configurable:!0,value:function(){M(this)}},detachedCallback:{configurable:!0,value:function(){R(this)}}});var tt=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},nt=function(e){return e=e||{},"function"==typeof e&&(e={coerce:e}),function(t){return T(t,K({"default":null,deserialize:function(e){return e},serialize:function(e){return e}},e))}},rt=function(e,t){if(void 0===t)throw new Error("You have to define options to register a component "+e);var n="object"===("undefined"==typeof t?"undefined":ke(t))?N.extend(t):t;if(V(n),ve)return q(e,n);if(pe)return F(e,n);throw new Error("Skate requires native custom element support or a polyfill.")},it=function(e){if(e)try{new e("emit-init")}catch(t){return}return e}(window.Event),ot=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(W(t,n))},ut=function(e,t){return function(n){var r=J(n.target),i=t||n.target.name||"value";if(i.indexOf(".")>-1){var o=i.split("."),u=o[0],a=o.pop(),s=o.reduce(function(e,t){return e&&e[t]},e);s[a||n.target.name]=r,Qe(e,_e({},u,e[u]))}else Qe(e,_e({},i,r))}},at=function(e,t){var n=Je(e);e[te]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},st=y();e.Component=N,e.define=rt,e.emit=ot,e.h=st,e.link=ut,e.prop=$,e.props=Qe,e.ready=at,e.symbols=ce,e.vdom=We,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){/**
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akBadge=t():e.akBadge=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var o=Object.prototype.hasOwnProperty,u=function(e,t){for(var n in e)o.call(e,n)&&t(e[n],n)},a=function m(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?s.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(m):"object"===t&&"[object Object]"===String(e)&&u(e,m)},s=n(3),l=n(5),c=i(l),f=n(6),d=n(75),p=i(d),h=n(77),v=r(h),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},b={render:function(e){var t=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),n=(0,c["default"])([p["default"].locals.value,p["default"].locals[e.appearance]]);return s.vdom.elementOpen("span",null,null,"class","container"),s.vdom.elementOpen("style"),a(p["default"].toString()),s.vdom.elementClose("style"),s.vdom.elementOpen("span",null,null,"class",n),a(t),s.vdom.elementClose("span"),s.vdom.elementClose("span")},updated:function(e,t){return t&&t.value!==e.value&&(0,s.emit)(e,v.change,{detail:{oldValue:t.value,newValue:e.value}}),s.Component.updated(e,t)},props:{value:s.prop.number({attribute:!0,"default":0}),max:s.prop.number({attribute:!0,"default":99}),appearance:(0,f.enumeration)(y)({attribute:!0})}};t["default"]=(0,s.define)("ak-badge",b),t.events=v},,,function(e,t,n){!function(e,r){r(t,n(4))}(this,function(e,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enumOnly,r=void 0!==n&&n,i=Object[r?"keys":"getOwnPropertyNames"](e);return"function"==typeof Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i}function r(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),K.apply(void 0,n)}}function i(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function o(e,t){K(e,t)}function u(e,t,n){var r=e[Pe];r||(r=e[Pe]={});var i=r[t];i&&e.removeEventListener(t,i),n&&e.addEventListener(t,r[t]=n)}function a(e){return"function"==typeof e?e[ne]||e:"slot"===e&&Ae?"content":e}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Ne=[e,t,n]}function l(){var e=Ge.apply(void 0,je(Ne));return Ne=null,e}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze;return function r(){for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];if(o[0]=a(o[0]),Re=null,"function"==typeof o[0])return Re=o[0],n.apply(void 0,o);if(Ee.length)Ee[Ee.length-1].push([r,o]);else{if(e===Ve){if(Te)return++Te;var c=e.apply(void 0,o);return c[Se]&&++Te,c}if(e===t.elementClose){if(1===Te&&t.skip(),Te&&--Te)return;var f=e.apply(void 0,o),d=f[ie];return delete f[ie],"function"==typeof d&&d(f),f}if(!Te||e===s||e===l)return e.apply(void 0,o)}}}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];Re?Re[Me][t[0]]=t[1]:Ee.length?Ee[Ee.length-1].push([f,t]):(Ne.push(t[0]),Ne.push(t[1]))}function d(e,t,n){for(var r={key:t,statics:n},i=arguments.length,o=Array(i>3?i-3:0),u=3;u<i;u++)o[u-3]=arguments[u];for(var a=0;a<o.length;a+=2)r[o[a]]=o[a+1];e[Me]=r,Ee.push([])}function p(e){var t=Ee.pop(),n=e[Me];delete e[Me];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,je(e[1]))})});return"function"==typeof r?r():r}function h(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ge.apply(void 0,[e].concat(n)),Fe(e)}function v(e,t){for(var n="undefined"==typeof t?"undefined":ke(t),r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return"function"!==n&&"string"!==n&&"number"!==n||i.unshift(t),null!==t&&"object"===n||(t={}),Ie(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return f(e,t[e])}),De(e),i.forEach(function(e){var t="undefined"==typeof e?"undefined":ke(e);"function"===t?e():"string"===t||"number"===t?qe(e):Array.isArray(e)&&e.forEach(function(e){return e()})}),Fe(e)}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.bind.apply(v,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return v.bind.apply(v,[null,e].concat(n))}})}function b(e){var t=!1,n=0,r=[],i=document.createElement("span"),o=new He(function(){e.apply(void 0,je(r)),t=!1,r=null});return o.observe(i,{childList:!0}),function(){for(var e=arguments.length,o=Array(e),u=0;u<e;u++)o[u]=arguments[u];r=o,t||(t=!0,i.textContent=""+n,n+=1)}}function m(e){var t=!1,n=[];return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];n=i,t||(t=!0,setTimeout(function(){t=!1,e.apply(void 0,je(n))},1))}}function g(e){var t={};return n(e.constructor.props).forEach(function(n){t[n]=e[n]}),t}function k(e,t){K(e,t),e.constructor[oe]&&e.constructor[oe](e)}function _(e,t,n){return"function"==typeof n["default"]?n["default"](e,{name:t}):n["default"]}function w(e,t,n){return"function"==typeof n.initial?n.initial(e,{name:t}):n.initial}function O(e,t){var n=Je(e,"props");return n[t]||(n[t]={})}function x(e,t,n,r,i){var o=i.lastAssignedValue;B(o)&&("initial"in t?o=w(e,n,t):"default"in t&&(o=_(e,n,t))),!B(o)&&t.serialize&&(o=t.serialize(o)),B(o)||(i.syncingAttribute=!0,e.setAttribute(r,o))}function j(e,t,n,r,i){if(r&&!i.settingAttribute){var o=i.internalValue,u=t.serialize(o),a=e.getAttribute(r),s=B(u),l=!(s&&B(a)||u===a);i.syncingAttribute=!0;var c=B(i.lastAssignedValue);c||s?e.removeAttribute(r):e.setAttribute(r,u),!l&&i.syncingAttribute&&(i.syncingAttribute=!1)}i.settingAttribute=!1}function C(e,t,n,r){var i=Je(e,"propertyLinks")[n],o=O(e,n);i&&(r?x(e,t,n,i,o):j(e,t,n,i,o))}function A(e){return be?e.attachShadow({mode:"open"}):ye?e.createShadowRoot():e}function E(e){return e[se]||(e[se]=A(e))}function S(e){var t=Je(e),n=t.readyCallbacks,r=e.constructor;e[te]||(e[te]=!0,e[ae]=Ue(r[oe].bind(r)),r.props&&r[re]&&r[re](e),"function"==typeof r.created&&r.created(e),n&&(n.forEach(function(t){return t(e)}),delete t.readyCallbacks),he&&r.observedAttributes.forEach(function(t){var n=Je(e,"attributeLinks")[t];n||e.attributeChangedCallback(t,null,e.getAttribute(t))}))}function P(e){var t=e.constructor.props;Object.keys(t).forEach(function(n){var r=t[n];C(e,r,n,!0)})}function M(e){var t=e.constructor;P(e),e[ee]=!0,e[ae](e),"function"==typeof t.attached&&t.attached(e),e.setAttribute("defined","")}function R(e){var t=e.constructor;e[ee]=!1,"function"==typeof t.detached&&t.detached(e)}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=me?Reflect.construct($e,t,this.constructor):$e.call(this,t[0]);return S(r),r}function T(e,t){var n={configurable:!0,enumerable:!0};return n.created=function(n){var r=O(n,e),i=t.attribute===!0?et(e):t.attribute,o=n[e];Je(n,"attributeLinks")[i]=e,Je(n,"propertyLinks")[e]=i,B(o)&&(i&&n.hasAttribute(i)?o=t.deserialize(n.getAttribute(i)):"initial"in t?o=w(n,e,t):"default"in t&&(o=_(n,e,t))),r.internalValue=t.coerce?t.coerce(o):o},n.get=function(){var n=O(this,e),r=n.internalValue;return"function"==typeof t.get?t.get(this,{name:e,internalValue:r}):r},n.set=function(n){var r=O(this,e);r.lastAssignedValue=n;var i=r.oldValue;B(i)&&(i=null),B(n)&&(n=_(this,e,t)),"function"==typeof t.coerce&&(n=t.coerce(n));var o={name:e,newValue:n,oldValue:i};"function"==typeof t.set&&t.set(this,o),this[ae](this),r.internalValue=r.oldValue=n,this[ee]&&C(this,t,e,!1)},n}function z(e){var t=e.props;return n(t).reduce(function(e,n){return e[n]=t[n],"function"!=typeof e[n]&&(e[n]=tt(e[n])),e},{})}function L(e){var t=z(e);return n(t).reduce(function(e,n){return e[n]=t[n](n),e},{})}function V(e){var t=e.observedAttributes,r=e.props;r&&(n(r).forEach(function(e){var n=r[e],i=n.attribute;if(i){var o=n.attribute=i===!0?et(e):i;t.indexOf(o)===-1&&t.push(o)}}),Object.defineProperty(e,"observedAttributes",{configurable:!0,enumerable:!0,get:function(){return t}}))}function I(e){var t=L(e);return function(e){t&&n(t).forEach(function(n){var r=t[n];r.created(e),Object.defineProperty(e,n,r)})}}function D(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return e+"-"+t}function G(e,t){t[ne]=e,t[re]=I(t)}function F(e,t){var n=void 0,r=void 0;try{G(e,t),n=document.registerElement(e,t)}catch(i){r=D(e),G(r,t),n=document.registerElement(r,t)}return n}function q(e,t){var n=e;return window.customElements.get(e)&&(n=D(e)),G(n,t),window.customElements.define(n,t,t["extends"]?{"extends":t["extends"]}:null),t}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return rt?(r=new rt(e,t),"undefined"!=typeof n&&Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}function J(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}var K=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return r.forEach(function(t){return n(t).forEach(function(n){return e[n]=t[n]})}),e},B=function(e){return"undefined"==typeof e||null===e},Y=function(e){return isNaN(e)?void 0:Number(e)},H=function(e){return B(e)?void 0:String(e)},U=r({coerce:function(e){return Array.isArray(e)?e:[e]},"default":function(){return[]},deserialize:JSON.parse,serialize:JSON.stringify}),Z=r({coerce:function(e){return!!e},"default":!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":void 0}}),X=r({"default":0,coerce:Y,deserialize:Y,serialize:Y}),Q=r({"default":"",coerce:H,deserialize:H,serialize:H}),$=Object.freeze({create:r,array:U,"boolean":Z,number:X,string:Q}),ee="____skate_connected",te="____skate_created",ne="____skate_name",re="____skate_props",ie="____skate_ref",oe="____skate_renderer",ue="____skate_rendering",ae="____skate_rendererDebounced",se="____skate_shadowRoot",le="____skate_updated",ce=Object.freeze({name:ne,shadowRoot:se}),fe=document,de=window,pe=fe.createElement("div"),he=!!fe.registerElement,ve=!!de.customElements,ye=!!pe.createShadowRoot,be=!!pe.attachShadow,me="Reflect"in window,ge=function(e,t){return function(n){return function(){var r=i(e,t),u=n.apply(void 0,arguments);return o(e,r),u}}},ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,i){var a={key:e,arg:t,resolve:n,reject:i,next:null};u?u=u.next=a:(o=u=a,r(e,t))})}function r(n,o){try{var u=t[n](o),a=u.value;a instanceof e?Promise.resolve(a.value).then(function(e){r("next",e)},function(e){r("throw",e)}):i(u.done?"return":"normal",u.value)}catch(s){i("throw",s)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?r(o.key,o.arg):u=null}var o,u;this._invoke=n,"function"!=typeof t["return"]&&(this["return"]=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype["throw"]=function(e){return this._invoke("throw",e)},t.prototype["return"]=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),we=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Oe=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},xe=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},je=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},Ce=t.attributes[t.symbols["default"]],Ae=!be&&ye,Ee=[],Se="__skip",Pe="__events",Me="__props",Re=void 0,Ne=void 0,Te=0,ze=function(){},Le=ge(t.attributes,we({key:ze,statics:ze,checked:t.applyProp,className:t.applyProp,disabled:t.applyProp,value:t.applyProp,name:function(e,t,n){"CONTENT"===e.tagName&&(t="select",n='[slot="'+n+'"]'),Ce(e,t,n)},ref:function(e,t,n){e[ie]=n},skip:function(e,t,n){n?e[Se]=!0:delete e[Se]}},t.symbols["default"],function(e,n,r){var i=e.constructor.props;if(i&&n in i)return t.applyProp(e,n,r);if(r===!1)return Ce(e,n);if(0===n.indexOf("on")){var o=n[2],a=void 0;if("-"===o?a=n.substring(3):o===o.toUpperCase()&&(a=o.toLowerCase()+n.substring(3)),a)return void u(e,a,r)}return n in e&&!("ownerSVGElement"in e)?void t.applyProp(e,n,r):void Ce(e,n,r)})),Ve=Le(t.elementOpen),Ie=c(s,d),De=c(l),Ge=c(Ve,d),Fe=c(t.elementClose,p),qe=c(t.text),We=Object.freeze({element:v,builder:y,attr:f,elementClose:Fe,elementOpen:Ge,elementOpenEnd:De,elementOpenStart:Ie,elementVoid:h,text:qe}),Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n},Ke=["native code","[object MutationObserverConstructor]"],Be=function(e){return Ke.map(function(t){return(e||"").toString().indexOf([t])>-1}).reduce(function(e,t){return e||t})},Ye=window,He=Ye.MutationObserver,Ue=Be(He)?b:m,Ze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(e).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})},Xe=function(e,t){return"undefined"==typeof t?g(e):k(e,t)},Qe=window,$e=Qe.HTMLElement;N.observedAttributes=[],N.props={},N.extend=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return _e(this,t),xe(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Oe(t,e),t}(t);if(!n.observedAttributes){var r=Ze(t);delete r.length,delete r.prototype,Object.defineProperties(n,r)}var i=Ze(e),o=Ze(e.prototype);return delete i.prototype,Object.defineProperties(n,i),Object.defineProperties(n.prototype,o),n},N.renderer=function(e){var n=e.elem,r=e.render,i=e.shadowRoot;t.patchInner(i,function(){var e=r(n);"function"==typeof e?e():Array.isArray(e)&&e.forEach(function(e){"function"==typeof e&&e()})})},N.updated=function(e,t){if(!t)return!0;for(var r=n(t),i=0;i<r.length;i+=1)if(t[r[i]]!==e[r[i]])return!0;return!1},N[le]=function(e){if("function"==typeof this.updated){var t=e[re];return e[re]=Xe(e),this.updated(e,t)}return!0},N[oe]=function(e){if(!e[ue]&&e[ee]){e[ue]=!0;var t=this[le](e);if(!this.render||!this.renderer)return void(e[ue]=!1);t&&(this.renderer({elem:e,render:this.render,shadowRoot:E(e)}),"function"==typeof this.rendered&&this.rendered(e)),e[ue]=!1}},N.prototype=Object.create($e.prototype,{connectedCallback:{configurable:!0,value:function(){M(this)}},disconnectedCallback:{configurable:!0,value:function(){R(this)}},attributeChangedCallback:{configurable:!0,value:function(e,t,n){var r=this.constructor,i=r.attributeChanged,o=r.observedAttributes,u=Je(this,"attributeLinks")[e];if(!he||o.indexOf(e)!==-1){if(u){var a=Je(this,"props")[u];if(a.syncingAttribute)a.syncingAttribute=!1;else{var s=this.constructor.props[u];a.settingAttribute=!0;var l=null!==n&&s.deserialize?s.deserialize(n):n;this[u]=l}}i&&i(this,{name:e,newValue:n,oldValue:t})}}},createdCallback:{configurable:!0,value:function(){S(this)}},attachedCallback:{configurable:!0,value:function(){M(this)}},detachedCallback:{configurable:!0,value:function(){R(this)}}});var et=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},tt=function(e){return e=e||{},"function"==typeof e&&(e={coerce:e}),function(t){return T(t,K({"default":null,deserialize:function(e){return e},serialize:function(e){return e}},e))}},nt=function(e,t){if(void 0===t)throw new Error("You have to define options to register a component "+e);var n="object"===("undefined"==typeof t?"undefined":ke(t))?N.extend(t):t;if(V(n),ve)return q(e,n);if(he)return F(e,n);throw new Error("Skate requires native custom element support or a polyfill.")},rt=function(e){if(e)try{new e("emit-init")}catch(t){return}return e}(window.Event),it=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(W(t,n))},ot=function(e,t){return function(n){var r=J(n.target),i=t||n.target.name||"value";if(i.indexOf(".")>-1){var o=i.split("."),u=o[0],a=o.pop(),s=o.reduce(function(e,t){return e&&e[t]},e);s[a||n.target.name]=r,Xe(e,we({},u,e[u]))}else Xe(e,we({},i,r))}},ut=function(e,t){var n=Je(e);e[te]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},at=y();e.Component=N,e.define=nt,e.emit=it,e.h=at,e.link=ot,e.prop=$,e.props=Xe,e.ready=ut,e.symbols=ce,e.vdom=We,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){/**
* @license

@@ -17,3 +17,3 @@ * Copyright 2015 The Incremental DOM Authors. All Rights Reserved.

*/
"use strict";function r(e,t){this.attrs=s(),this.attrsArr=[],this.newAttrs=s(),this.key=t,this.keyMap=null,this.keyMapValid=!0,this.nodeName=e,this.text=null}function i(){this.created=C.nodesCreated&&[],this.deleted=C.nodesDeleted&&[]}var o=Object.prototype.hasOwnProperty,u=Object.create,a=function(e,t){return o.call(e,t)},s=function(){return u(null)},l=function(e,t,n){var i=new r(t,n);return e.__incrementalDOMData=i,i},c=function(e){var t=e.__incrementalDOMData;if(!t){var n=e.nodeName.toLowerCase(),r=null;e instanceof Element&&(r=e.getAttribute("key")),t=l(e,n,r)}return t},f={"default":"__default",placeholder:"__placeholder"},d=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},h=function(e,t,n){if(null==n)e.removeAttribute(t);else{var r=d(t);r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}},p=function(e,t,n){e[t]=n},v=function(e,t,n){if("string"==typeof n)e.style.cssText=n;else{e.style.cssText="";var r=e.style,i=n;for(var o in i)a(i,o)&&(r[o]=i[o])}},y=function(e,t,n){var r=typeof n;"object"===r||"function"===r?p(e,t,n):h(e,t,n)},b=function(e,t,n){var r=c(e),i=r.attrs;if(i[t]!==n){var o=m[t]||m[f["default"]];o(e,t,n),i[t]=n}},m=s();m[f["default"]]=y,m[f.placeholder]=function(){},m.style=v;var g=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"foreignObject"===c(t).nodeName?null:t.namespaceURI},k=function(e,t,n,r,i){var o=g(n,t),u=void 0;if(u=o?e.createElementNS(o,n):e.createElement(n),l(u,n,r),i)for(var a=0;a<i.length;a+=2)b(u,i[a],i[a+1]);return u},w=function(e){var t=e.createTextNode("");return l(t,"#text",null),t},_=function(e){for(var t=s(),n=e.firstElementChild;n;){var r=c(n).key;r&&(t[r]=n),n=n.nextElementSibling}return t},O=function(e){var t=c(e);return t.keyMap||(t.keyMap=_(e)),t.keyMap},j=function(e,t){return t?O(e)[t]:null},x=function(e,t,n){O(e)[t]=n},C={nodesCreated:null,nodesDeleted:null};i.prototype.markCreated=function(e){this.created&&this.created.push(e)},i.prototype.markDeleted=function(e){this.deleted&&this.deleted.push(e)},i.prototype.notifyChanges=function(){this.created&&this.created.length>0&&C.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&C.nodesDeleted(this.deleted)};var A=null,E=null,S=null,P=null,M=null,R=function(e){var t=function(t,n,r){var o=A,u=P,a=M,s=E,l=S;A=new i,P=t,M=t.ownerDocument,S=t.parentNode,e(t,n,r),A.notifyChanges(),A=o,P=u,M=a,E=s,S=l};return t},N=R(function(e,t,n){E=e,D(),t(n),G()}),T=R(function(e,t,n){E={nextSibling:e},t(n)}),z=function(e,t){var n=c(E);return e===n.nodeName&&t==n.key},L=function(e,t,n){if(!E||!z(e,t)){var r=void 0;t&&(r=j(S,t)),r||(r="#text"===e?w(M):k(M,S,e,t,n),t&&x(S,t,r),A.markCreated(r)),E&&c(E).key?(S.replaceChild(r,E),c(S).keyMapValid=!1):S.insertBefore(r,E),E=r}},V=function(){var e=S,t=c(e),n=t.keyMap,r=t.keyMapValid,i=e.lastChild,o=void 0;if(!(i===E&&r||t.attrs[f.placeholder]&&e!==P)){for(;i!==E;)e.removeChild(i),A.markDeleted(i),o=c(i).key,o&&delete n[o],i=e.lastChild;if(!r){for(o in n)i=n[o],i.parentNode!==e&&(A.markDeleted(i),delete n[o]);t.keyMapValid=!0}}},D=function(){S=E,E=null},I=function(){E=E?E.nextSibling:S.firstChild},G=function(){V(),E=S,S=S.parentNode},F=function(e,t,n){return I(),L(e,t,n),D(),S},q=function(){return G(),E},W=function(){return I(),L("#text",null,null),E},J=function(){return S},K=function(){E=S.lastChild},B=3,Y=[],H=function(e,t,n,r){for(var i=F(e,t,n),o=c(i),u=o.attrsArr,a=o.newAttrs,s=!1,l=B,f=0;l<arguments.length;l+=1,f+=1)if(u[f]!==arguments[l]){s=!0;break}for(;l<arguments.length;l+=1,f+=1)u[f]=arguments[l];if(f<u.length&&(s=!0,u.length=f),s){for(l=B;l<arguments.length;l+=2)a[arguments[l]]=arguments[l+1];for(var d in a)b(i,d,a[d]),a[d]=void 0}return i},U=function(e,t,n){Y[0]=e,Y[1]=t,Y[2]=n},Z=function(e,t){Y.push(e,t)},X=function(){var e=H.apply(null,Y);return Y.length=0,e},Q=function(e){var t=q();return t},$=function(e,t,n,r){return H.apply(null,arguments),Q(e)},ee=function(e,t,n,r){return H.apply(null,arguments),K(),Q(e)},te=function(e,t){var n=W(),r=c(n);if(r.text!==e){r.text=e;for(var i=e,o=1;o<arguments.length;o+=1){var u=arguments[o];i=u(i)}n.data=i}return n};t.patch=N,t.patchInner=N,t.patchOuter=T,t.currentElement=J,t.skip=K,t.elementVoid=$,t.elementOpenStart=U,t.elementOpenEnd=X,t.elementOpen=H,t.elementClose=Q,t.elementPlaceholder=ee,t.text=te,t.attr=Z,t.symbols=f,t.attributes=m,t.applyAttr=h,t.applyProp=p,t.notifications=C},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),t.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var u=t[i];"number"==typeof u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},function(e,t,n){var r,i;/*!
"use strict";function r(e,t){this.attrs=s(),this.attrsArr=[],this.newAttrs=s(),this.key=t,this.keyMap=null,this.keyMapValid=!0,this.nodeName=e,this.text=null}function i(){this.created=C.nodesCreated&&[],this.deleted=C.nodesDeleted&&[]}var o=Object.prototype.hasOwnProperty,u=Object.create,a=function(e,t){return o.call(e,t)},s=function(){return u(null)},l=function(e,t,n){var i=new r(t,n);return e.__incrementalDOMData=i,i},c=function(e){var t=e.__incrementalDOMData;if(!t){var n=e.nodeName.toLowerCase(),r=null;e instanceof Element&&(r=e.getAttribute("key")),t=l(e,n,r)}return t},f={"default":"__default",placeholder:"__placeholder"},d=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},p=function(e,t,n){if(null==n)e.removeAttribute(t);else{var r=d(t);r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}},h=function(e,t,n){e[t]=n},v=function(e,t,n){if("string"==typeof n)e.style.cssText=n;else{e.style.cssText="";var r=e.style,i=n;for(var o in i)a(i,o)&&(r[o]=i[o])}},y=function(e,t,n){var r=typeof n;"object"===r||"function"===r?h(e,t,n):p(e,t,n)},b=function(e,t,n){var r=c(e),i=r.attrs;if(i[t]!==n){var o=m[t]||m[f["default"]];o(e,t,n),i[t]=n}},m=s();m[f["default"]]=y,m[f.placeholder]=function(){},m.style=v;var g=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"foreignObject"===c(t).nodeName?null:t.namespaceURI},k=function(e,t,n,r,i){var o=g(n,t),u=void 0;if(u=o?e.createElementNS(o,n):e.createElement(n),l(u,n,r),i)for(var a=0;a<i.length;a+=2)b(u,i[a],i[a+1]);return u},_=function(e){var t=e.createTextNode("");return l(t,"#text",null),t},w=function(e){for(var t=s(),n=e.firstElementChild;n;){var r=c(n).key;r&&(t[r]=n),n=n.nextElementSibling}return t},O=function(e){var t=c(e);return t.keyMap||(t.keyMap=w(e)),t.keyMap},x=function(e,t){return t?O(e)[t]:null},j=function(e,t,n){O(e)[t]=n},C={nodesCreated:null,nodesDeleted:null};i.prototype.markCreated=function(e){this.created&&this.created.push(e)},i.prototype.markDeleted=function(e){this.deleted&&this.deleted.push(e)},i.prototype.notifyChanges=function(){this.created&&this.created.length>0&&C.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&C.nodesDeleted(this.deleted)};var A=null,E=null,S=null,P=null,M=null,R=function(e){var t=function(t,n,r){var o=A,u=P,a=M,s=E,l=S;A=new i,P=t,M=t.ownerDocument,S=t.parentNode,e(t,n,r),A.notifyChanges(),A=o,P=u,M=a,E=s,S=l};return t},N=R(function(e,t,n){E=e,I(),t(n),G()}),T=R(function(e,t,n){E={nextSibling:e},t(n)}),z=function(e,t){var n=c(E);return e===n.nodeName&&t==n.key},L=function(e,t,n){if(!E||!z(e,t)){var r=void 0;t&&(r=x(S,t)),r||(r="#text"===e?_(M):k(M,S,e,t,n),t&&j(S,t,r),A.markCreated(r)),E&&c(E).key?(S.replaceChild(r,E),c(S).keyMapValid=!1):S.insertBefore(r,E),E=r}},V=function(){var e=S,t=c(e),n=t.keyMap,r=t.keyMapValid,i=e.lastChild,o=void 0;if(!(i===E&&r||t.attrs[f.placeholder]&&e!==P)){for(;i!==E;)e.removeChild(i),A.markDeleted(i),o=c(i).key,o&&delete n[o],i=e.lastChild;if(!r){for(o in n)i=n[o],i.parentNode!==e&&(A.markDeleted(i),delete n[o]);t.keyMapValid=!0}}},I=function(){S=E,E=null},D=function(){E=E?E.nextSibling:S.firstChild},G=function(){V(),E=S,S=S.parentNode},F=function(e,t,n){return D(),L(e,t,n),I(),S},q=function(){return G(),E},W=function(){return D(),L("#text",null,null),E},J=function(){return S},K=function(){E=S.lastChild},B=3,Y=[],H=function(e,t,n,r){for(var i=F(e,t,n),o=c(i),u=o.attrsArr,a=o.newAttrs,s=!1,l=B,f=0;l<arguments.length;l+=1,f+=1)if(u[f]!==arguments[l]){s=!0;break}for(;l<arguments.length;l+=1,f+=1)u[f]=arguments[l];if(f<u.length&&(s=!0,u.length=f),s){for(l=B;l<arguments.length;l+=2)a[arguments[l]]=arguments[l+1];for(var d in a)b(i,d,a[d]),a[d]=void 0}return i},U=function(e,t,n){Y[0]=e,Y[1]=t,Y[2]=n},Z=function(e,t){Y.push(e,t)},X=function(){var e=H.apply(null,Y);return Y.length=0,e},Q=function(e){var t=q();return t},$=function(e,t,n,r){return H.apply(null,arguments),Q(e)},ee=function(e,t,n,r){return H.apply(null,arguments),K(),Q(e)},te=function(e,t){var n=W(),r=c(n);if(r.text!==e){r.text=e;for(var i=e,o=1;o<arguments.length;o+=1){var u=arguments[o];i=u(i)}n.data=i}return n};t.patch=N,t.patchInner=N,t.patchOuter=T,t.currentElement=J,t.skip=K,t.elementVoid=$,t.elementOpenStart=U,t.elementOpenEnd=X,t.elementOpen=H,t.elementClose=Q,t.elementPlaceholder=ee,t.text=te,t.attr=Z,t.symbols=f,t.attributes=m,t.applyAttr=p,t.applyProp=h,t.notifications=C},function(e,t,n){var r,i;/*!
Copyright (c) 2016 Jed Watson.

@@ -23,6 +23,6 @@ Licensed under the MIT License (MIT), see

*/
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===i)for(var u in r)o.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],i=function(){return n}.apply(t,r),!(void 0!==i&&(e.exports=i)))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var i=n(9),o=n(12),u=r(o),a=n(13),s=r(a),l=n(35),c=r(l);t.enumeration=i.enumeration,t.keyCode=u["default"],t.KeyPressHandler=s["default"],t.style=c["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),a["default"].apply(null,n)}}function o(e){return i({coerce:function(t){return(0,s.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.enumeration=void 0;var u=n(10),a=r(u),s=n(11);t.enumeration=o},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}var i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,u,a=n(e),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var l in r)i.call(r,l)&&(a[l]=r[l]);if(Object.getOwnPropertySymbols){u=Object.getOwnPropertySymbols(r);for(var c=0;c<u.length;c++)o.call(r,u[c])&&(a[u[c]]=r[u[c]])}}return a}},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function i(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||void 0===t,i=!r&&!e.values.filter(n).length;return r?e.hasOwnProperty("missingDefault")?e.missingDefault:null:i?e.hasOwnProperty("invalidDefault")?e.invalidDefault:e.hasOwnProperty("missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function o(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=i,t.setEnumAttribute=o},function(e,t){t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return o[e];var i=String(e),u=n[i.toLowerCase()];if(u)return u;var u=r[i.toLowerCase()];return u?u:1===i.length?i.charCodeAt(0):void 0};var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,"delete":46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,"break":19,caps:20,"return":13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===i)for(var u in r)o.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],i=function(){return n}.apply(t,r),!(void 0!==i&&(e.exports=i)))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var i=n(7),o=r(i),u=n(8),a=r(u),s=n(47),l=r(s),c=n(54),f=r(c);t.enumeration=a["default"],t.keyCode=o["default"],t.KeyPressHandler=l["default"],t.style=f["default"]},function(e,t){t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return o[e];var i=String(e),u=n[i.toLowerCase()];if(u)return u;var u=r[i.toLowerCase()];return u?u:1===i.length?i.charCodeAt(0):void 0};var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,"delete":46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,"break":19,caps:20,"return":13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
* Programatically add the following
*/
for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var o=t.names=t.title={};for(i in n)o[n[i]]=i;for(var u in r)n[u]=r[u]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return new h('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var o=n(14),u=r(o),a=n(15),s=r(a),l=n(12),c=r(l),f=n(34),d=r(f),h=(0,d["default"])("KeyInvalidError"),p=(0,d["default"])("CallbackInvalidError"),v=function(){function e(t,n,r){var o=this;(0,u["default"])(this,e),this.keyListeners={};var a=(0,c["default"])(t);if("undefined"==typeof a)throw i(t);if("function"!=typeof n)throw new p;this.keyListeners[a]=n,this.elem=r||document,this.listener=function(e){o.keyListeners[e.keyCode]&&o.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,s["default"])(e,[{key:"add",value:function(e,t){var n=(0,c["default"])(e);if("undefined"==typeof n)throw i(e);if("function"!=typeof t)throw new p;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,c["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=v,t.KeyInvalidError=h,t.CallbackInvalidError=p},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var i=n(16),o=r(i);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(17),__esModule:!0}},function(e,t,n){n(18);var r=n(21).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(19);r(r.S+r.F*!n(29),"Object",{defineProperty:n(25).f})},function(e,t,n){var r=n(20),i=n(21),o=n(22),u=n(24),a="prototype",s=function(e,t,n){var l,c,f,d=e&s.F,h=e&s.G,p=e&s.S,v=e&s.P,y=e&s.B,b=e&s.W,m=h?i:i[t]||(i[t]={}),g=m[a],k=h?r:p?r[t]:(r[t]||{})[a];h&&(n=t);for(l in n)c=!d&&k&&void 0!==k[l],c&&l in m||(f=c?k[l]:n[l],m[l]=h&&"function"!=typeof k[l]?n[l]:y&&c?o(f,r):b&&k[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[l]=f,e&s.R&&g&&!g[l]&&u(g,l,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(23);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(25),i=n(33);e.exports=n(29)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(26),i=n(28),o=n(32),u=Object.defineProperty;t.f=n(29)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return u(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(27);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(29)&&!n(30)(function(){return 7!=Object.defineProperty(n(31)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(30)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(27),i=n(20).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(27);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,i;!function(e){"use strict";e(function(){function e(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function t(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function n(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function r(e){var t=[];for(var n in e)t.push(n);return t}function i(e){return"function"==typeof e}function o(e){return e&&"object"==typeof e&&"[object Object]"===s.call(e)}function u(e,t){if(o(t))for(var n=r(t),i=0,u=n.length;i<u;++i)e[n[i]]=a(t[n[i]])}function a(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var s=Object.prototype.toString;return function(){function r(e,t){u(this,c),u(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function i(){this.constructor=r}for(var o=new Array(arguments.length),a=0;a<o.length;++a)o[a]=arguments[a];var s=e(o),l=t(o),c=n(o);return i.prototype=l.prototype,r.prototype=new i,r.prototype.name=""+s||"CustomError",r}})}(function(o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:i(e)});o=n.classes,e.textContent=n.toString()}var r=e.element,o=void 0;return r("style",{css:t,ref:n,skip:!0}),o};var o=n(36),u=r(o),a=n(55),s=r(a),l=window,c=l.HTMLContentElement,f=l.HTMLSlotElement,d=l.ShadowRoot,h=function(e){return(e||"").toString().indexOf("[native code]")>-1},p=h(d),v=p&&c,y=p&&f,b=function(e){return e.name||e.selectorText};u["default"].use((0,s["default"])()),u["default"].use(function(e){var t=b(e);if(0===t.indexOf(":host"))if(p)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n&&n[1]||"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=b(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n&&n[1]||"",i=n&&n[2]||"";if(y)e.selectorText=t;else if(v)e.selectorText=r+"::content > "+i;else{var o=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=o+" slot"+r+" > "+i}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}/**
for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var o=t.names=t.title={};for(i in n)o[n[i]]=i;for(var u in r)n[u]=r[u]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),a["default"].apply(Object,n)}}function o(e){return i({coerce:function(t){return(0,s.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var u=n(9),a=r(u),s=n(46);t["default"]=o},function(e,t,n){e.exports={"default":n(10),__esModule:!0}},function(e,t,n){n(11),e.exports=n(14).Object.assign},function(e,t,n){var r=n(12);r(r.S+r.F,"Object",{assign:n(27)})},function(e,t,n){var r=n(13),i=n(14),o=n(15),u=n(17),a="prototype",s=function(e,t,n){var l,c,f,d=e&s.F,p=e&s.G,h=e&s.S,v=e&s.P,y=e&s.B,b=e&s.W,m=p?i:i[t]||(i[t]={}),g=m[a],k=p?r:h?r[t]:(r[t]||{})[a];p&&(n=t);for(l in n)c=!d&&k&&void 0!==k[l],c&&l in m||(f=c?k[l]:n[l],m[l]=p&&"function"!=typeof k[l]?n[l]:y&&c?o(f,r):b&&k[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[l]=f,e&s.R&&g&&!g[l]&&u(g,l,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(16);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(18),i=n(26);e.exports=n(22)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(19),i=n(21),o=n(25),u=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return u(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(22)&&!n(23)(function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(20),i=n(13).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(28),i=n(43),o=n(44),u=n(45),a=n(32),s=Object.assign;e.exports=!s||n(23)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=u(e),s=arguments.length,l=1,c=i.f,f=o.f;s>l;)for(var d,p=a(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,y=0;v>y;)f.call(p,d=h[y++])&&(n[d]=p[d]);return n}:s},function(e,t,n){var r=n(29),i=n(42);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(30),i=n(31),o=n(35)(!1),u=n(39)("IE_PROTO");e.exports=function(e,t){var n,a=i(e),s=0,l=[];for(n in a)n!=u&&r(a,n)&&l.push(n);for(;t.length>s;)r(a,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(32),i=n(34);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(31),i=n(36),o=n(38);e.exports=function(e){return function(t,n,u){var a,s=r(t),l=i(s.length),c=o(u,l);if(e&&n!=n){for(;l>c;)if(a=s[c++],a!=a)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(40)("keys"),i=n(41);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(13),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(34);e.exports=function(e){return Object(r(e))}},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function i(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||"undefined"==typeof t,i=!r&&!e.values.filter(n).length;return r?{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:i?{}.hasOwnProperty.call(e,"invalidDefault")?e.invalidDefault:{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function o(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=i,t.setEnumAttribute=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return new p('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var o=n(48),u=r(o),a=n(49),s=r(a),l=n(7),c=r(l),f=n(53),d=r(f),p=(0,d["default"])("KeyInvalidError"),h=(0,d["default"])("CallbackInvalidError"),v=function(){function e(t,n,r){var o=this;(0,u["default"])(this,e),this.keyListeners={};var a=(0,c["default"])(t);if("undefined"==typeof a)throw i(t);if("function"!=typeof n)throw new h;this.keyListeners[a]=n,this.elem=r||document,this.listener=function(e){o.keyListeners[e.keyCode]&&o.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,s["default"])(e,[{key:"add",value:function(e,t){var n=(0,c["default"])(e);if("undefined"==typeof n)throw i(e);if("function"!=typeof t)throw new h;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,c["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=v,t.KeyInvalidError=p,t.CallbackInvalidError=h},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var i=n(50),o=r(i);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(51),__esModule:!0}},function(e,t,n){n(52);var r=n(14).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(12);r(r.S+r.F*!n(22),"Object",{defineProperty:n(18).f})},function(e,t,n){var r,i;!function(e){"use strict";e(function(){function e(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function t(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function n(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function r(e){var t=[];for(var n in e)t.push(n);return t}function i(e){return"function"==typeof e}function o(e){return e&&"object"==typeof e&&"[object Object]"===s.call(e)}function u(e,t){if(o(t))for(var n=r(t),i=0,u=n.length;i<u;++i)e[n[i]]=a(t[n[i]])}function a(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var s=Object.prototype.toString;return function(){function r(e,t){u(this,c),u(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function i(){this.constructor=r}for(var o=new Array(arguments.length),a=0;a<o.length;++a)o[a]=arguments[a];var s=e(o),l=t(o),c=n(o);return i.prototype=l.prototype,r.prototype=new i,r.prototype.name=""+s||"CustomError",r}})}(function(o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:i(e)});o=n.classes,e.textContent=n.toString()}var r=e.element,o=void 0;return r("style",{css:t,ref:n,skip:!0}),o};var o=n(55),u=r(o),a=n(74),s=r(a),l=window,c=l.HTMLContentElement,f=l.HTMLSlotElement,d=l.ShadowRoot,p=function(e){return(e||"").toString().indexOf("[native code]")>-1},h=p(d),v=h&&c,y=h&&f,b=function(e){return e.name||e.selectorText};u["default"].use((0,s["default"])()),u["default"].use(function(e){var t=b(e);if(0===t.indexOf(":host"))if(h)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n?n[1]:"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=b(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n?n[1]:"",i=n?n[2]:"";if(y)e.selectorText=t;else if(v)e.selectorText=r+"::content > "+i;else{var o=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=o+" slot"+r+" > "+i}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}/**
* A better abstraction over CSS.

@@ -34,2 +34,2 @@ *

*/
function i(e){return new u["default"](e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=t.StyleSheet=t.Jss=void 0,t.create=i;var o=n(37),u=r(o),a=n(38),s=r(a),l=n(46),c=r(l);t.Jss=u["default"],t.StyleSheet=s["default"],t.Rule=c["default"],t["default"]=i()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(38),l=r(s),c=n(53),f=r(c),d=n(54),h=r(d),p=n(45),v=r(p),y=n(39),b=r(y),m=n(47),g=function(){function e(t){i(this,e),this.sheets=new h["default"],this.plugins=new f["default"],this.version="5.5.5",this.setup(t)}return a(e,[{key:"setup",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.generateClassName=t.generateClassName||m.generateClassName,t.plugins&&t.plugins.forEach(function(t){e.use(t)}),this}},{key:"createStyleSheet",value:function(e,t){var n=new l["default"](e,u({},t,{jss:this}));return this.sheets.add(n),n}},{key:"removeStyleSheet",value:function(e){return e.detach(),this.sheets.remove(e),this}},{key:"createRule",value:function(e,t,n){"object"==("undefined"==typeof e?"undefined":o(e))&&(n=t,t=e,e=null);var r=(0,v["default"])(e,t,u({jss:this,Renderer:(0,b["default"])(n)},n));return this.plugins.run(r),r}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){return e.plugins.use(t)}),this}}]),e}();t["default"]=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(39),s=r(a),l=n(44),c=r(l),f=function(){function e(t,n){i(this,e);var r=null==n.named||n.named,u="number"==typeof n.index?n.index:0,a=(0,s["default"])(n);this.rules=Object.create(null),this.attached=!1,this.deployed=!1,this.linked=!1,this.classes=Object.create(null),this.renderer=new a(n),this.renderer.createElement(),this.options=o({},n,{sheet:this,parent:this,classes:this.classes,renderer:this.renderer,named:r,index:u,Renderer:a}),this.rules=new c["default"](this.options);for(var l in t)this.rules.createAndRegister(l,t[l]);n.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.create(e,t,n);if(this.attached){if(!this.deployed)return i;if(r)r.push(i);else{var o=this.renderer.insertRule(i);this.options.link&&(i.renderable=o),this.queue&&(this.queue.forEach(this.renderer.insertRule,this.renderer),this.queue=null)}return i}return this.deployed=!1,i}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(e){return this.rules.toString(e)}},{key:"deploy",value:function(){return this.renderer.deploy(this),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();for(var t in e){var n=this.rules.get(t);n&&(n.renderable=e[t])}return this.linked=!0,this}}]),e}();t["default"]=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return e.Renderer?e.Renderer:e.virtual||!c["default"]?s["default"]:u["default"]}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(40),u=r(o),a=n(42),s=r(a),l=n(43),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(41),a=r(u),s=function(){function e(t){i(this,e),this.options=t}return o(e,[{key:"createElement",value:function(){var e=this.options,t=e.media,n=e.meta,r=e.element;this.head=document.head||document.getElementsByTagName("head")[0],this.element=r||document.createElement("style"),this.element.type="text/css",this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),n&&this.element.setAttribute("data-meta",n)}},{key:"style",value:function(e,t,n){try{if(null==n)return e.style[t];e.style[t]=n}catch(r){return!1}return!0}},{key:"selector",value:function(e,t){return null==t?e.selectorText:(e.selectorText=t,e.selectorText===t)}},{key:"attach",value:function(){if(!this.element.parentNode){var e=null,t=this.options,n=t.index,r=t.jss,i=r.sheets.registry;if(i.length>1){if("number"==typeof n)for(var o=0;o<i.length;o++){var u=i[o];if(u.attached&&"number"==typeof u.options.index&&!(u.options.index<=n)){e=u.renderer.element;break}}if(!e)for(var a=i.length-1;a>=0;a--){var s=i[a];if(s.attached){e=s.renderer.element.nextElementSibling;break}}}if(!e)for(var l=0;l<this.head.childNodes.length;l++){var c=this.head.childNodes[l];if("jss"===c.nodeValue){e=c;break}}this.head.insertBefore(this.element,e)}}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(e){this.element.textContent="\n"+e.toString()+"\n"}},{key:"insertRule",value:function(e){var t=this.element.sheet,n=t.cssRules,r=n.length;try{t.insertRule(e.toString(),r)}catch(i){(0,a["default"])(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e.toString())}return n[r]}},{key:"deleteRule",value:function(e){for(var t=this.element.sheet,n=t.cssRules,r=0;r<n.length;r++)if(e===n[r])return t.deleteRule(r),!0;return!1}},{key:"getRules",value:function(){for(var e=this.element.sheet.cssRules,t=Object.create(null),n=0;n<e.length;n++){var r=e[n];t[r.selectorText]=r}return t}}]),e}();t["default"]=s},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e)}return r(e,[{key:"createElement",value:function(){}},{key:"style",value:function(){}},{key:"selector",value:function(){}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){}},{key:"deleteRule",value:function(){}},{key:"getRules",value:function(){return{}}}]),e}();t["default"]=i},function(e,t){e.exports=!0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(45),s=r(a),l=function(){function e(t){i(this,e),this.map=Object.create(null),this.index=[],this.options=t,this.classes=t.classes||{}}return u(e,[{key:"create",value:function(e,t,n){var r=this.createAndRegister(e,t,n);return this.options.jss.plugins.run(r),r}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"get",value:function(e){return this.map[e]}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"register",value:function(e){return e.name&&(this.map[e.name]=e),e.className&&e.name&&(this.classes[e.name]=e.className),e.selector&&(this.map[e.selector]=e),this}},{key:"unregister",value:function(e){return delete this.map[e.name],delete this.map[e.selector],delete this.classes[e.name],this}},{key:"toString",value:function(e){for(var t="",n=0;n<this.index.length;n++){var r=this.index[n],i=r.toString(e);i&&(t&&(t+="\n"),t+=i)}return t}},{key:"getIndex",value:function(){return this.index.slice(0)}},{key:"createAndRegister",value:function(e,t,n){n=o({},n,{classes:this.classes,parent:this.options.parent,sheet:this.options.sheet,jss:this.options.jss,Renderer:this.options.Renderer}),n.className||(n.className=this.classes[e]),null==n.named&&(n.named=this.options.named);var r=(0,s["default"])(e,t,n);this.register(r);var i=void 0===n.index?this.index.length:n.index;return this.index.splice(i,0,r),r}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e&&"@"===e[0]){var r=y.exec(e)[0],i=v[r];return new i(e,t,n)}return null==n.named&&(n.named=!0),new u["default"](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(46),u=r(o),a=n(49),s=r(a),l=n(50),c=r(l),f=n(51),d=r(f),h=n(52),p=r(h),v={"@charset":s["default"],"@import":s["default"],"@namespace":s["default"],"@keyframes":c["default"],"@media":d["default"],"@supports":d["default"],"@font-face":p["default"]},y=/^@[^ ]+/},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(47),a=JSON.parse,s=JSON.stringify,l=function(){function e(t,n,i){r(this,e);var o=s(n);this.style=a(o),this.type="regular",this.options=i,this.selectorText=t||"",this.className=i.className||"",this.originalStyle=n,i.named&&(this.name=t,this.className||(this.className=i.jss.generateClassName(o,this)),this.selectorText="."+this.className),this.renderer=i.sheet?i.sheet.renderer:new i.Renderer}return o(e,[{key:"prop",value:function(e,t){return null!=t?(this.style[e]=t,this.renderable&&this.renderer.style(this.renderable,e,t),this):(this.renderable&&null==this.style[e]&&(this.style[e]=this.renderer.style(this.renderable,e)),this.style[e])}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.style(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e=Object.create(null);for(var t in this.style){var n=this.style[t];"object"!==("undefined"==typeof n?"undefined":i(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,u.toCssValue)(n))}return e}},{key:"toString",value:function(e){return(0,u.toCss)(this.selector,this.style,e)}},{key:"selector",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.sheet;if(t&&t.rules.unregister(this),this.selectorText=e,this.className=(0,u.findClassNames)(e),!this.renderable)return void(t&&t.rules.register(this));var n=this.renderer.selector(this.renderable,e);return n?void t.rules.register(this):(delete this.renderable,t.rules.register(this),void t.deploy().link())},get:function(){return this.renderable?this.renderer.selector(this.renderable):this.selectorText}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=(0,s["default"])(e);return t.name?t.name+"-"+n:n}function o(e,t){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function u(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.indentationLevel||0,i="",u=t.fallbacks;if(n.selector!==!1&&r++,u)if(Array.isArray(u))for(var a=0;a<u.length;a++){var s=u[a];for(var c in s){var f=s[c];null!=f&&(i+="\n"+o(r,c+": "+l(f)+";"))}}else for(var d in u){var h=u[d];null!=h&&(i+="\n"+o(r,d+": "+l(h)+";"))}for(var p in t){var v=t[p];null!=v&&"fallbacks"!==p&&(i+="\n"+o(r,p+": "+l(v)+";"))}return i?(n.selector!==!1&&(r--,i=o(r,e+" {"+i+"\n")+o(r,"}")),i):i}Object.defineProperty(t,"__esModule",{value:!0}),t.findClassNames=t.toCssValue=void 0,t.generateClassName=i,t.toCss=u;var a=n(48),s=r(a),l=t.toCssValue=function(){function e(e){return e.join(" ")}return function t(n){return Array.isArray(n)?Array.isArray(n[0])?t(n.map(e)):n.join(", "):n}}();t.findClassNames=function(){var e=/[.]/g,t=/[.][^ ,]+/g;return function(n){var r=n.match(t);return r?r.join(" ").replace(e,""):""}}()},function(e,t,n){function r(e,t){var n,r,i,o,u,a,s,l;for(n=3&e.length,r=e.length-n,i=t,u=3432918353,a=461845907,l=0;l<r;)s=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=(65535&o)+27492+(((o>>>16)+58964&65535)<<16);switch(s=0,n){case 3:s^=(255&e.charCodeAt(l+2))<<16;case 2:s^=(255&e.charCodeAt(l+1))<<8;case 1:s^=255&e.charCodeAt(l),s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,r,i){n(this,e),this.type="simple",this.name=t,this.value=r,this.options=i}return r(e,[{key:"toString",value:function(){if(Array.isArray(this.value)){for(var e="",t=0;t<this.value.length;t++)e+=this.name+" "+this.value[t]+";",this.value[t+1]&&(e+="\n");return e}return this.name+" "+this.value+";"}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,i){n(this,e),this.type="keyframe",this.selector=t,this.options=i,this.frames=this.formatFrames(r)}return i(e,[{key:"formatFrames",value:function(e){var t=Object.create(null);for(var n in e){var i=r({},this.options,{named:!1,parent:this});t[n]=this.options.jss.createRule(n,e[n],i)}return t}},{key:"toString",value:function(){var e=this.selector+" {\n",t={indentationLevel:1};for(var n in this.frames)e+=this.frames[n].toString(t)+"\n";return e+="}"}}]),e}();t["default"]=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(44),s=r(a),l=function(){function e(t,n,r){i(this,e),this.type="conditional",this.selector=t,this.options=r,this.rules=new s["default"](o({},r,{parent:this}));for(var u in n)this.createAndRegisterRule(u,n[u]);r.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){return this.rules.create(e,t,this.getChildOptions(n))}},{key:"toString",value:function(){var e=this.rules.toString({indentationLevel:1});return e?this.selector+" {\n"+e+"\n}":""}},{key:"getChildOptions",value:function(e){return o({},this.options,{parent:this},e)}},{key:"createAndRegisterRule",value:function(e,t){return this.rules.createAndRegister(e,t,this.getChildOptions())}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(47),u=function(){function e(t,n,i){r(this,e),this.type="font-face",this.options=i,this.selector=t,this.style=n}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,o.toCss)(this.selector,this.style[n],e),this.style[n+1]&&(t+="\n");return t}return(0,o.toCss)(this.selector,this.style,e)}}]),e}();t["default"]=u},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"use",value:function(e){this.registry.push(e)}},{key:"run",value:function(e){return Array.isArray(e)?void e.forEach(this.runOne,this):void this.runOne(e)}},{key:"runOne",value:function(e){for(var t=0;t<this.registry.length;t++)this.registry[t](e)}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(!t.length||n>=t[t.length-1].options.index)return void t.push(e);for(var r=0;r<t.length;r++){var i=t[r].options;if(i.index>n)return void t.splice(r,0,e)}}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.map(function(t){return t.toString(e)}).join("\n")}}]),e}();t["default"]=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,s["default"])(!1,"[JSS] Could not find the referenced rule %s. \r\n%s",n,r),n)}}function t(e,t,n){var r=n.getRule(e);if(!r)return void n.addRule(e,i({},t.name,t.style[e]));var o=r.getRule(t.name);return o?void(o.style=u({},o.style,t.style[e])):void r.addRule(t.name,t.style[e])}return function(n){if("regular"===n.type){var r=n.options.parent,i=void 0,o=void 0;for(var a in n.style){var f="&"===a[0],d="@"===a[0];if(f||d){if(i)i=u({},i,{index:i.index+1});else{var h=n.options.nestingLevel;h=void 0===h?1:h+1,(0,s["default"])(h<2,"[JSS] Nesting is too deep. \r\n%s",n),i=u({},n.options,{named:!1,nestingLevel:h,index:r.indexOf(n)+1})}if(f){o||(o=e(r));var p=a.replace(l,n.selector).replace(c,o);r.addRule(p,n.style[a],i)}else d&&t(a,n,r);delete n.style[a]}}}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var a=n(41),s=r(a),l=/&/g,c=/\$([\w-]+)/g},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.change="change"}])});
function i(e){return new u["default"](e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=t.StyleSheet=t.Jss=void 0,t.create=i;var o=n(56),u=r(o),a=n(57),s=r(a),l=n(65),c=r(l);t.Jss=u["default"],t.StyleSheet=s["default"],t.Rule=c["default"],t["default"]=i()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(57),l=r(s),c=n(72),f=r(c),d=n(73),p=r(d),h=n(64),v=r(h),y=n(58),b=r(y),m=n(66),g=function(){function e(t){i(this,e),this.sheets=new p["default"],this.plugins=new f["default"],this.version="5.5.5",this.setup(t)}return a(e,[{key:"setup",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.generateClassName=t.generateClassName||m.generateClassName,t.plugins&&t.plugins.forEach(function(t){e.use(t)}),this}},{key:"createStyleSheet",value:function(e,t){var n=new l["default"](e,u({},t,{jss:this}));return this.sheets.add(n),n}},{key:"removeStyleSheet",value:function(e){return e.detach(),this.sheets.remove(e),this}},{key:"createRule",value:function(e,t,n){"object"==("undefined"==typeof e?"undefined":o(e))&&(n=t,t=e,e=null);var r=(0,v["default"])(e,t,u({jss:this,Renderer:(0,b["default"])(n)},n));return this.plugins.run(r),r}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){return e.plugins.use(t)}),this}}]),e}();t["default"]=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(58),s=r(a),l=n(63),c=r(l),f=function(){function e(t,n){i(this,e);var r=null==n.named||n.named,u="number"==typeof n.index?n.index:0,a=(0,s["default"])(n);this.rules=Object.create(null),this.attached=!1,this.deployed=!1,this.linked=!1,this.classes=Object.create(null),this.renderer=new a(n),this.renderer.createElement(),this.options=o({},n,{sheet:this,parent:this,classes:this.classes,renderer:this.renderer,named:r,index:u,Renderer:a}),this.rules=new c["default"](this.options);for(var l in t)this.rules.createAndRegister(l,t[l]);n.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.create(e,t,n);if(this.attached){if(!this.deployed)return i;if(r)r.push(i);else{var o=this.renderer.insertRule(i);this.options.link&&(i.renderable=o),this.queue&&(this.queue.forEach(this.renderer.insertRule,this.renderer),this.queue=null)}return i}return this.deployed=!1,i}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(e){return this.rules.toString(e)}},{key:"deploy",value:function(){return this.renderer.deploy(this),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();for(var t in e){var n=this.rules.get(t);n&&(n.renderable=e[t])}return this.linked=!0,this}}]),e}();t["default"]=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return e.Renderer?e.Renderer:e.virtual||!c["default"]?s["default"]:u["default"]}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(59),u=r(o),a=n(61),s=r(a),l=n(62),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(60),a=r(u),s=function(){function e(t){i(this,e),this.options=t}return o(e,[{key:"createElement",value:function(){var e=this.options,t=e.media,n=e.meta,r=e.element;this.head=document.head||document.getElementsByTagName("head")[0],this.element=r||document.createElement("style"),this.element.type="text/css",this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),n&&this.element.setAttribute("data-meta",n)}},{key:"style",value:function(e,t,n){try{if(null==n)return e.style[t];e.style[t]=n}catch(r){return!1}return!0}},{key:"selector",value:function(e,t){return null==t?e.selectorText:(e.selectorText=t,e.selectorText===t)}},{key:"attach",value:function(){if(!this.element.parentNode){var e=null,t=this.options,n=t.index,r=t.jss,i=r.sheets.registry;if(i.length>1){if("number"==typeof n)for(var o=0;o<i.length;o++){var u=i[o];if(u.attached&&"number"==typeof u.options.index&&!(u.options.index<=n)){e=u.renderer.element;break}}if(!e)for(var a=i.length-1;a>=0;a--){var s=i[a];if(s.attached){e=s.renderer.element.nextElementSibling;break}}}if(!e)for(var l=0;l<this.head.childNodes.length;l++){var c=this.head.childNodes[l];if("jss"===c.nodeValue){e=c;break}}this.head.insertBefore(this.element,e)}}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(e){this.element.textContent="\n"+e.toString()+"\n"}},{key:"insertRule",value:function(e){var t=this.element.sheet,n=t.cssRules,r=n.length;try{t.insertRule(e.toString(),r)}catch(i){(0,a["default"])(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e.toString())}return n[r]}},{key:"deleteRule",value:function(e){for(var t=this.element.sheet,n=t.cssRules,r=0;r<n.length;r++)if(e===n[r])return t.deleteRule(r),!0;return!1}},{key:"getRules",value:function(){for(var e=this.element.sheet.cssRules,t=Object.create(null),n=0;n<e.length;n++){var r=e[n];t[r.selectorText]=r}return t}}]),e}();t["default"]=s},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e)}return r(e,[{key:"createElement",value:function(){}},{key:"style",value:function(){}},{key:"selector",value:function(){}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){}},{key:"deleteRule",value:function(){}},{key:"getRules",value:function(){return{}}}]),e}();t["default"]=i},function(e,t){e.exports=!0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(64),s=r(a),l=function(){function e(t){i(this,e),this.map=Object.create(null),this.index=[],this.options=t,this.classes=t.classes||{}}return u(e,[{key:"create",value:function(e,t,n){var r=this.createAndRegister(e,t,n);return this.options.jss.plugins.run(r),r}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"get",value:function(e){return this.map[e]}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"register",value:function(e){return e.name&&(this.map[e.name]=e),e.className&&e.name&&(this.classes[e.name]=e.className),e.selector&&(this.map[e.selector]=e),this}},{key:"unregister",value:function(e){return delete this.map[e.name],delete this.map[e.selector],delete this.classes[e.name],this}},{key:"toString",value:function(e){for(var t="",n=0;n<this.index.length;n++){var r=this.index[n],i=r.toString(e);i&&(t&&(t+="\n"),t+=i)}return t}},{key:"getIndex",value:function(){return this.index.slice(0)}},{key:"createAndRegister",value:function(e,t,n){n=o({},n,{classes:this.classes,parent:this.options.parent,sheet:this.options.sheet,jss:this.options.jss,Renderer:this.options.Renderer}),n.className||(n.className=this.classes[e]),null==n.named&&(n.named=this.options.named);var r=(0,s["default"])(e,t,n);this.register(r);var i=void 0===n.index?this.index.length:n.index;return this.index.splice(i,0,r),r}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e&&"@"===e[0]){var r=y.exec(e)[0],i=v[r];return new i(e,t,n)}return null==n.named&&(n.named=!0),new u["default"](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(65),u=r(o),a=n(68),s=r(a),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v={"@charset":s["default"],"@import":s["default"],"@namespace":s["default"],"@keyframes":c["default"],"@media":d["default"],"@supports":d["default"],"@font-face":h["default"]},y=/^@[^ ]+/},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(66),a=JSON.parse,s=JSON.stringify,l=function(){function e(t,n,i){r(this,e);var o=s(n);this.style=a(o),this.type="regular",this.options=i,this.selectorText=t||"",this.className=i.className||"",this.originalStyle=n,i.named&&(this.name=t,this.className||(this.className=i.jss.generateClassName(o,this)),this.selectorText="."+this.className),this.renderer=i.sheet?i.sheet.renderer:new i.Renderer}return o(e,[{key:"prop",value:function(e,t){return null!=t?(this.style[e]=t,this.renderable&&this.renderer.style(this.renderable,e,t),this):(this.renderable&&null==this.style[e]&&(this.style[e]=this.renderer.style(this.renderable,e)),this.style[e])}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.style(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e=Object.create(null);for(var t in this.style){var n=this.style[t];"object"!==("undefined"==typeof n?"undefined":i(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,u.toCssValue)(n))}return e}},{key:"toString",value:function(e){return(0,u.toCss)(this.selector,this.style,e)}},{key:"selector",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.sheet;if(t&&t.rules.unregister(this),this.selectorText=e,this.className=(0,u.findClassNames)(e),!this.renderable)return void(t&&t.rules.register(this));var n=this.renderer.selector(this.renderable,e);return n?void t.rules.register(this):(delete this.renderable,t.rules.register(this),void t.deploy().link())},get:function(){return this.renderable?this.renderer.selector(this.renderable):this.selectorText}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=(0,s["default"])(e);return t.name?t.name+"-"+n:n}function o(e,t){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function u(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.indentationLevel||0,i="",u=t.fallbacks;if(n.selector!==!1&&r++,u)if(Array.isArray(u))for(var a=0;a<u.length;a++){var s=u[a];for(var c in s){var f=s[c];null!=f&&(i+="\n"+o(r,c+": "+l(f)+";"))}}else for(var d in u){var p=u[d];null!=p&&(i+="\n"+o(r,d+": "+l(p)+";"))}for(var h in t){var v=t[h];null!=v&&"fallbacks"!==h&&(i+="\n"+o(r,h+": "+l(v)+";"))}return i?(n.selector!==!1&&(r--,i=o(r,e+" {"+i+"\n")+o(r,"}")),i):i}Object.defineProperty(t,"__esModule",{value:!0}),t.findClassNames=t.toCssValue=void 0,t.generateClassName=i,t.toCss=u;var a=n(67),s=r(a),l=t.toCssValue=function(){function e(e){return e.join(" ")}return function t(n){return Array.isArray(n)?Array.isArray(n[0])?t(n.map(e)):n.join(", "):n}}();t.findClassNames=function(){var e=/[.]/g,t=/[.][^ ,]+/g;return function(n){var r=n.match(t);return r?r.join(" ").replace(e,""):""}}()},function(e,t,n){function r(e,t){var n,r,i,o,u,a,s,l;for(n=3&e.length,r=e.length-n,i=t,u=3432918353,a=461845907,l=0;l<r;)s=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=(65535&o)+27492+(((o>>>16)+58964&65535)<<16);switch(s=0,n){case 3:s^=(255&e.charCodeAt(l+2))<<16;case 2:s^=(255&e.charCodeAt(l+1))<<8;case 1:s^=255&e.charCodeAt(l),s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,r,i){n(this,e),this.type="simple",this.name=t,this.value=r,this.options=i}return r(e,[{key:"toString",value:function(){if(Array.isArray(this.value)){for(var e="",t=0;t<this.value.length;t++)e+=this.name+" "+this.value[t]+";",this.value[t+1]&&(e+="\n");return e}return this.name+" "+this.value+";"}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,i){n(this,e),this.type="keyframe",this.selector=t,this.options=i,this.frames=this.formatFrames(r)}return i(e,[{key:"formatFrames",value:function(e){var t=Object.create(null);for(var n in e){var i=r({},this.options,{named:!1,parent:this});t[n]=this.options.jss.createRule(n,e[n],i)}return t}},{key:"toString",value:function(){var e=this.selector+" {\n",t={indentationLevel:1};for(var n in this.frames)e+=this.frames[n].toString(t)+"\n";return e+="}"}}]),e}();t["default"]=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(63),s=r(a),l=function(){function e(t,n,r){i(this,e),this.type="conditional",this.selector=t,this.options=r,this.rules=new s["default"](o({},r,{parent:this}));for(var u in n)this.createAndRegisterRule(u,n[u]);r.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){return this.rules.create(e,t,this.getChildOptions(n))}},{key:"toString",value:function(){var e=this.rules.toString({indentationLevel:1});return e?this.selector+" {\n"+e+"\n}":""}},{key:"getChildOptions",value:function(e){return o({},this.options,{parent:this},e)}},{key:"createAndRegisterRule",value:function(e,t){return this.rules.createAndRegister(e,t,this.getChildOptions())}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(66),u=function(){function e(t,n,i){r(this,e),this.type="font-face",this.options=i,this.selector=t,this.style=n}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,o.toCss)(this.selector,this.style[n],e),this.style[n+1]&&(t+="\n");return t}return(0,o.toCss)(this.selector,this.style,e)}}]),e}();t["default"]=u},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"use",value:function(e){this.registry.push(e)}},{key:"run",value:function(e){return Array.isArray(e)?void e.forEach(this.runOne,this):void this.runOne(e)}},{key:"runOne",value:function(e){for(var t=0;t<this.registry.length;t++)this.registry[t](e)}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(!t.length||n>=t[t.length-1].options.index)return void t.push(e);for(var r=0;r<t.length;r++){var i=t[r].options;if(i.index>n)return void t.splice(r,0,e)}}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.map(function(t){return t.toString(e)}).join("\n")}}]),e}();t["default"]=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,s["default"])(!1,"[JSS] Could not find the referenced rule %s. \r\n%s",n,r),n)}}function t(e,t,n){var r=n.getRule(e);if(!r)return void n.addRule(e,i({},t.name,t.style[e]));var o=r.getRule(t.name);return o?void(o.style=u({},o.style,t.style[e])):void r.addRule(t.name,t.style[e])}return function(n){if("regular"===n.type){var r=n.options.parent,i=void 0,o=void 0;for(var a in n.style){var f="&"===a[0],d="@"===a[0];if(f||d){if(i)i=u({},i,{index:i.index+1});else{var p=n.options.nestingLevel;p=void 0===p?1:p+1,(0,s["default"])(p<2,"[JSS] Nesting is too deep. \r\n%s",n),i=u({},n.options,{named:!1,nestingLevel:p,index:r.indexOf(n)+1})}if(f){o||(o=e(r));var h=a.replace(l,n.selector).replace(c,o);r.addRule(h,n.style[a],i)}else d&&t(a,n,r);delete n.style[a]}}}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var a=n(60),s=r(a),l=/&/g,c=/\$([\w-]+)/g},function(e,t,n){t=e.exports=n(76)(),t.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),t.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var u=t[i];"number"==typeof u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.change="change"}])});
!function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("skatejs"), require("classnames"), require("akutil-common")) : "function" == typeof define && define.amd ? define([ "skatejs", "classnames", "akutil-common" ], factory) : "object" == typeof exports ? exports.akBadge = factory(require("skatejs"), require("classnames"), require("akutil-common")) : root.akBadge = factory(root.skatejs, root.classnames, root["akutil-common"]);
}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__) {
}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__) {
/******/

@@ -91,3 +91,3 @@ return function(modules) {

"number" === type || "string" === type || "object" === type && child instanceof String ? _skatejs.vdom.text(child) : "function" === type && child.__jsxDOMWrapper ? child() : Array.isArray(child) ? child.forEach(_renderArbitrary) : "object" === type && "[object Object]" === String(child) && _forOwn(child, _renderArbitrary);
}, _skatejs = __webpack_require__(3), _shadow = __webpack_require__(4), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(6), _classnames2 = _interopRequireDefault(_classnames), _akutilCommon = __webpack_require__(7), _events = __webpack_require__(8), events = _interopRequireWildcard(_events), APPEARANCE_ENUM = {
}, _skatejs = __webpack_require__(3), _classnames = __webpack_require__(4), _classnames2 = _interopRequireDefault(_classnames), _akutilCommon = __webpack_require__(5), _shadow = __webpack_require__(6), _shadow2 = _interopRequireDefault(_shadow), _events = __webpack_require__(8), events = _interopRequireWildcard(_events), APPEARANCE_ENUM = {
values: [ "default", "primary", "important", "added", "removed" ],

@@ -160,4 +160,12 @@ missingDefault: "default",

/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
}, /* 5 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_5__;
}, /* 6 */
/***/
function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(5)(), // imports
exports = module.exports = __webpack_require__(7)(), // imports
// module

@@ -184,3 +192,3 @@ exports.push([ module.id, ".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}", "" ]),

};
}, /* 5 */
}, /* 7 */
/***/

@@ -220,10 +228,2 @@ function(module, exports) {

};
}, /* 6 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_6__;
}, /* 7 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_7__;
}, /* 8 */

@@ -236,4 +236,5 @@ /***/

});
// eslint-disable-next-line import/prefer-default-export
exports.change = "change";
} ]);
});

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

!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("skatejs"),require("classnames"),require("akutil-common")):"function"==typeof define&&define.amd?define(["skatejs","classnames","akutil-common"],n):"object"==typeof exports?exports.akBadge=n(require("skatejs"),require("classnames"),require("akutil-common")):e.akBadge=n(e.skatejs,e.classnames,e["akutil-common"])}(this,function(e,n,t){return function(e){function n(a){if(t[a])return t[a].exports;var o=t[a]={exports:{},id:a,loaded:!1};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function a(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n}function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.events=void 0;var r=Object.prototype.hasOwnProperty,i=function(e,n){for(var t in e)r.call(e,t)&&n(e[t],t)},l=function b(e){var n=typeof e;"number"===n||"string"===n||"object"===n&&e instanceof String?u.vdom.text(e):"function"===n&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(b):"object"===n&&"[object Object]"===String(e)&&i(e,b)},u=t(3),d=t(4),s=o(d),c=t(6),p=o(c),f=t(7),m=t(8),v=a(m),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},g={render:function(e){var n=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),t=(0,p["default"])([s["default"].locals.value,s["default"].locals[e.appearance]]);return u.vdom.elementOpen("span",null,null,"class","container"),u.vdom.elementOpen("style"),l(s["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("span",null,null,"class",t),l(n),u.vdom.elementClose("span"),u.vdom.elementClose("span")},updated:function(e,n){return n&&n.value!==e.value&&(0,u.emit)(e,v.change,{detail:{oldValue:n.value,newValue:e.value}}),u.Component.updated(e,n)},props:{value:u.prop.number({attribute:!0,"default":0}),max:u.prop.number({attribute:!0,"default":99}),appearance:(0,f.enumeration)(y)({attribute:!0})}};n["default"]=(0,u.define)("ak-badge",g),n.events=v},,,function(n,t){n.exports=e},function(e,n,t){n=e.exports=t(5)(),n.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),n.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var a={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(a[r]=!0)}for(o=0;o<n.length;o++){var i=n[o];"number"==typeof i[0]&&a[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),e.push(i))}},e}},function(e,t){e.exports=n},function(e,n){e.exports=t},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.change="change"}])});
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("skatejs"),require("classnames"),require("akutil-common")):"function"==typeof define&&define.amd?define(["skatejs","classnames","akutil-common"],n):"object"==typeof exports?exports.akBadge=n(require("skatejs"),require("classnames"),require("akutil-common")):e.akBadge=n(e.skatejs,e.classnames,e["akutil-common"])}(this,function(e,n,t){return function(e){function n(a){if(t[a])return t[a].exports;var o=t[a]={exports:{},id:a,loaded:!1};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function a(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n}function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.events=void 0;var r=Object.prototype.hasOwnProperty,i=function(e,n){for(var t in e)r.call(e,t)&&n(e[t],t)},l=function b(e){var n=typeof e;"number"===n||"string"===n||"object"===n&&e instanceof String?u.vdom.text(e):"function"===n&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(b):"object"===n&&"[object Object]"===String(e)&&i(e,b)},u=t(3),d=t(4),s=o(d),c=t(5),p=t(6),f=o(p),m=t(8),v=a(m),y={values:["default","primary","important","added","removed"],missingDefault:"default",invalidDefault:"default"},g={render:function(e){var n=function(){return e.value<0?0:e.max>0&&e.value>e.max?e.max+"+":e.value===1/0?"∞":e.value}(),t=(0,s["default"])([f["default"].locals.value,f["default"].locals[e.appearance]]);return u.vdom.elementOpen("span",null,null,"class","container"),u.vdom.elementOpen("style"),l(f["default"].toString()),u.vdom.elementClose("style"),u.vdom.elementOpen("span",null,null,"class",t),l(n),u.vdom.elementClose("span"),u.vdom.elementClose("span")},updated:function(e,n){return n&&n.value!==e.value&&(0,u.emit)(e,v.change,{detail:{oldValue:n.value,newValue:e.value}}),u.Component.updated(e,n)},props:{value:u.prop.number({attribute:!0,"default":0}),max:u.prop.number({attribute:!0,"default":99}),appearance:(0,c.enumeration)(y)({attribute:!0})}};n["default"]=(0,u.define)("ak-badge",g),n.events=v},,,function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=t},function(e,n,t){n=e.exports=t(7)(),n.push([e.id,".gIx1yPKCVLDLrsZFjWp91,ak-badge{display:inline-block}.gIx1yPKCVLDLrsZFjWp91:not([defined]),ak-badge:not([defined]){display:none}:host{display:inline-block}:host(:not([defined])){display:none}.ijTcAcAZxkHj_XyMF7WOj{display:inline-block}._1XOjyz6nkYp0PwNm2_R5GN{border-radius:2em;display:inline-block;font-size:12px;font-weight:400;line-height:1;min-width:1px;padding:.16666667em .5em;text-align:center}.h4MwqeVnS3URyoNhqd_8p{background:#e5e8ec;color:#42526e}._3m6YegzVE32UQC6u2al8qi{background:#165ecc;color:#fff}.Ky0Y9zBAheCic3aMGGJ1W{background:#ed5451;color:#fff}._2HkxMzs0MGI9iWTzp7zpWq{background:#e2ffee;color:#008364}.VGziEGICtgeF8FIY3d0-f{background:#ffe1e4;color:#bf2117}",""]),n.locals={"ak-badge":"gIx1yPKCVLDLrsZFjWp91",akBadge:"gIx1yPKCVLDLrsZFjWp91",container:"ijTcAcAZxkHj_XyMF7WOj",container:"ijTcAcAZxkHj_XyMF7WOj",value:"_1XOjyz6nkYp0PwNm2_R5GN",value:"_1XOjyz6nkYp0PwNm2_R5GN","default":"h4MwqeVnS3URyoNhqd_8p","default":"h4MwqeVnS3URyoNhqd_8p",primary:"_3m6YegzVE32UQC6u2al8qi",primary:"_3m6YegzVE32UQC6u2al8qi",important:"Ky0Y9zBAheCic3aMGGJ1W",important:"Ky0Y9zBAheCic3aMGGJ1W",added:"_2HkxMzs0MGI9iWTzp7zpWq",added:"_2HkxMzs0MGI9iWTzp7zpWq",removed:"VGziEGICtgeF8FIY3d0-f",removed:"VGziEGICtgeF8FIY3d0-f"}},function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var a={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(a[r]=!0)}for(o=0;o<n.length;o++){var i=n[o];"number"==typeof i[0]&&a[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),e.push(i))}},e}},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.change="change"}])});
{
"name": "ak-badge",
"version": "0.4.8",
"version": "0.5.0",
"description": "ak-badge webcomponent",

@@ -19,3 +19,3 @@ "main": "dist/bundle.js",

"classnames": "^2.2.5",
"skatejs": "3.1.0"
"skatejs": "^3.0.0"
},

@@ -22,0 +22,0 @@ "author": "Atlassian Pty Ltd",

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Bug tracker](https://img.shields.io/badge/support-bugtracker-blue.svg)](https://ecosystem.atlassian.net/browse/AK)
[![Support forum](https://img.shields.io/badge/support-forum-blue.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-badge,ak-badge@0.4.8)
[![Support forum](https://img.shields.io/badge/support-forum-blue.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-badge,ak-badge@0.5.0)

@@ -15,7 +15,7 @@ # Badge

![Example badge](https://bytebucket.org/atlassian/atlaskit/raw/2556afbb330a81bbbd3a658e50a713098df85b6b/packages/ak-badge/docs/badge.png)
![Example badge](https://bytebucket.org/atlassian/atlaskit/raw/c42e3dbcdaa89e5696de8349310e3112cd8256ba/packages/ak-badge/docs/badge.png)
## Try it out
Interact with a [live demo of the ak-badge component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-badge/0.4.8/).
Interact with a [live demo of the ak-badge component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-badge/0.5.0/).

@@ -122,3 +122,3 @@ ## Installation

Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-badge,ak-badge@0.4.8).
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-badge,ak-badge@0.5.0).

@@ -125,0 +125,0 @@ Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit).

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc