Comparing version 0.4.7 to 0.4.8
@@ -1,6 +0,21 @@ | ||
<a name="0.4.7"></a> | ||
## 0.4.7 (2016-10-10) | ||
<a name="0.4.8"></a> | ||
## 0.4.8 (2016-10-17) | ||
<a name="ak-badge@0.4.8"></a> | ||
## ak-badge@0.4.8 (2016-10-17) | ||
### Bug Fixes | ||
* Fix skate version to 3.1.0 ([4251f8f](https://bitbucket.org/atlassian/atlaskit/commits/4251f8f)) | ||
### Features | ||
* **package:** add pre-release version of profile-card ([55f8b8b](https://bitbucket.org/atlassian/atlaskit/commits/55f8b8b)) | ||
<a name="ak-badge@0.4.7"></a> | ||
@@ -12,3 +27,2 @@ ## ak-badge@0.4.7 (2016-10-10) | ||
* **docs:** Button docs fixes ([fe48030](https://bitbucket.org/atlassian/atlaskit/commits/fe48030)) | ||
* fix host selectors ([a51fdb4](https://bitbucket.org/atlassian/atlaskit/commits/a51fdb4)) | ||
@@ -15,0 +29,0 @@ * hosts styles fix - initial commit ([27f0218](https://bitbucket.org/atlassian/atlaskit/commits/27f0218)) |
@@ -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?l.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(m):"object"===t&&"[object Object]"===String(e)&&u(e,m)},l=n(3),s=n(5),c=i(s),f=n(7),d=i(f),p=n(8),h=n(56),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,d["default"])([c["default"].locals.value,c["default"].locals[e.appearance]]);return l.vdom.elementOpen("span",null,null,"class","container"),l.vdom.elementOpen("style"),a(c["default"].toString()),l.vdom.elementClose("style"),l.vdom.elementOpen("span",null,null,"class",n),a(t),l.vdom.elementClose("span"),l.vdom.elementClose("span")},updated:function(e,t){return t&&t.value!==e.value&&(0,l.emit)(e,v.change,{detail:{oldValue:t.value,newValue:e.value}}),l.Component.updated(e,t)},props:{value:l.prop.number({attribute:!0,"default":0}),max:l.prop.number({attribute:!0,"default":99}),appearance:(0,p.enumeration)(y)({attribute:!0})}};t["default"]=(0,l.define)("ak-badge",b),t.events=v},,,function(e,t,n){!function(e,r){r(t,n(4))}(this,function(e,t){function n(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),D.apply(void 0,n)}}function r(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function i(e,t){D(e,t)}function o(e,t,n){var r=e[_e];r||(r=e[_e]={});var i=r[t];i&&e.removeEventListener(t,i),n&&e.addEventListener(t,r[t]=n)}function u(e){return"function"==typeof e?e[U]||e:"slot"===e&&me?"content":e}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;je=[e,t,n]}function l(){var e=Me.apply(void 0,ye(je));return je=null,e}function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return function r(){for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];if(o[0]=u(o[0]),Oe=null,"function"==typeof o[0])return Oe=o[0],n.apply(void 0,o);if(ge.length)ge[ge.length-1].push([r,o]);else{if(e===Ee){if(xe)return++xe;var c=e.apply(void 0,o);return c[ke]&&++xe,c}if(e===t.elementClose){if(1===xe&&t.skip(),xe&&--xe)return;var f=e.apply(void 0,o),d=f[X];return delete f[X],"function"==typeof d&&d(f),f}if(!xe||e===a||e===l)return e.apply(void 0,o)}}}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];Oe?Oe[we][t[0]]=t[1]:ge.length?ge[ge.length-1].push([c,t]):(je.push(t[0]),je.push(t[1]))}function f(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[we]=r,ge.push([])}function d(e){var t=ge.pop(),n=e[we];delete e[we];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,ye(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 Me.apply(void 0,[e].concat(n)),Ne(e)}function h(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o="undefined"==typeof t?"undefined":fe(t);return"function"!==o&&"string"!==o&&"number"!==o||(r=[t]),null!==t&&"object"===o||(t={}),Se(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return c(e,t[e])}),Pe(e),r.forEach(function(e){var t="undefined"==typeof e?"undefined":fe(e);"function"===t?e():"string"!==t&&"number"!==t||Re(e)}),Ne(e)}function v(){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 h.bind.apply(h,[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 h.bind.apply(h,[null,e].concat(n))}})}function y(){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 b(e){var t=Le(e),n=t.readyCallbacks,r=e.constructor,i=r.created,o=r.observedAttributes,u=r.props;e[H]||(e[H]=!0,e[ee]=ze(r[Q]),u&&r[Z](e),i&&i(e),e.setAttribute("defined",""),n&&(n.forEach(function(t){return t(e)}),delete t.readyCallbacks),ue&&o.forEach(function(t){var n=Le(e,"attributeLinks")[t];n||e.attributeChangedCallback(t,null,e.getAttribute(t))}))}function m(e){var t=e.constructor,n=t.attached,r=t[Q];e[Y]=!0,"function"==typeof r&&r(e),"function"==typeof n&&n(e)}function g(e){var t=e.constructor.detached;e[Y]=!1,"function"==typeof t&&t(e)}function k(e){var t=HTMLElement.call(this,e);return b(t),t}function _(e){var t={};return y(e.constructor.props).forEach(function(n){t[n]=e[n]}),t}function w(e,t){D(e,t),e.constructor.render&&e.constructor[Q](e)}function O(e,t,n){return"function"==typeof n["default"]?n["default"](e,{name:t}):n["default"]}function j(e,t,n){return"function"==typeof n.initial?n.initial(e,{name:t}):n.initial}function x(e,t){var n="api/property/"+("symbol"===("undefined"==typeof t?"undefined":fe(t))?String(t):t);return Le(e,n)}function C(e,t){var n={configurable:!0,enumerable:!0};return n.created=function(r){var i=x(r,e),o=t.attribute===!0?Ge(e):t.attribute,u=r[e],a=!1;Le(r,"attributeLinks")[o]=e,Le(r,"propertyLinks")[e]=o,I(u)&&(o&&r.hasAttribute(o)?u=t.deserialize(r.getAttribute(o)):"initial"in t?(u=j(r,e,t),a=!0):"default"in t&&(u=O(r,e,t))),a?n.set.call(r,u):i.internalValue=t.coerce?t.coerce(u):u},n.get=function(){var n=x(this,e),r=n.internalValue;return"function"==typeof t.get?t.get(this,{name:e,internalValue:r}):r},n.set=function(n){var r=x(this,e),i=r.oldValue,o=!1;I(i)&&(i=null),I(n)&&(n=O(this,e,t),o=!0),"function"==typeof t.coerce&&(n=t.coerce(n)),r.internalValue=n;var u={name:e,newValue:n,oldValue:i};"function"==typeof t.set&&t.set(this,u),this[$]||this[ee](this),r.oldValue=n;var a=Le(this,"propertyLinks")[e];if(a&&!r.settingAttribute){var l=t.serialize(n),s=this.getAttribute(a),c=I(l),f=!(c&&I(s)||l===s);r.syncingAttribute=!0,o||c?this.removeAttribute(a):this.setAttribute(a,l),!f&&r.syncingAttribute&&(r.syncingAttribute=!1)}r.settingAttribute=!1},n}function A(e){var t=e.props;return y(t).reduce(function(e,n){return e[n]=t[n],"function"!=typeof e[n]&&(e[n]=qe(e[n])),e},{})}function E(e){var t=A(e);return y(t).reduce(function(e,n){return e[n]=t[n](n),e},{})}function S(e){var t=e.observedAttributes,n=e.props;n&&(y(n).forEach(function(e){var r=n[e],i=r.attribute;if(i){var o=r.attribute=i===!0?Ge(e):i;t.indexOf(o)===-1&&t.push(o)}}),Object.defineProperty(e,"observedAttributes",{configurable:!0,enumerable:!0,get:function(){return t}}))}function P(e){var t=E(e);return function(e){t&&y(t).forEach(function(n){var r=t[n];r.created(e),Object.defineProperty(e,n,r)})}}function M(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 N(e,t){t[U]=e,t[Z]=P(t),t[Q]=Ie(t)}function R(e,t){var n=void 0,r=void 0;try{N(e,t),n=document.registerElement(e,t)}catch(i){r=M(e),N(r,t),n=document.registerElement(r,t)}return n}function T(e,t){var n=e;return window.customElements.get(e)&&(n=M(e)),N(n,t),window.customElements.define(n,t,{"extends":t["extends"]}),t}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return We?(r=new We(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 z(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}var V=Object.assign,D=V?V.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){return Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e},I=function(e){return"undefined"==typeof e||null===e},G=function(e){return isNaN(e)?void 0:Number(e)},q=function(e){return I(e)?void 0:String(e)},F=n({coerce:function(e){return Array.isArray(e)?e:[e]},"default":function(){return[]},deserialize:JSON.parse,serialize:JSON.stringify}),W=n({coerce:function(e){return!!e},"default":!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":void 0}}),J=n({"default":0,coerce:G,deserialize:G,serialize:G}),K=n({"default":"",coerce:q,deserialize:q,serialize:q}),B=Object.freeze({create:n,array:F,"boolean":W,number:J,string:K}),Y="____skate_connected",H="____skate_created",U="____skate_name",Z="____skate_props",X="____skate_ref",Q="____skate_renderer",$="____skate_rendering",ee="____skate_rendererDebounced",te="____skate_shadowRoot",ne=Object.freeze({name:U,shadowRoot:te}),re=document,ie=window,oe=re.createElement("div"),ue=!!re.registerElement,ae=!!ie.customElements,le=!!oe.createShadowRoot,se=!!oe.attachShadow,ce=function(e,t){return function(n){return function(){var o=r(e,t),u=n.apply(void 0,arguments);return i(e,o),u}}},fe="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},de=(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(l){i("throw",l)}}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")}),pe=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},he=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)},ve=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},ye=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)},be=t.attributes[t.symbols["default"]],me=!se&&le,ge=[],ke="__skip",_e="__events",we="__props",Oe=void 0,je=void 0,xe=0,Ce=function(){},Ae=ce(t.attributes,pe({key:Ce,statics:Ce,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+'"]'),be(e,t,n)},ref:function(e,t,n){e[X]=n},skip:function(e,t,n){n?e[ke]=!0:delete e[ke]}},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){if(0===n.indexOf("on")){var u=n[2],a=void 0;if("-"===u?a=n.substring(3):u===u.toUpperCase()&&(a=u.toLowerCase()+n.substring(3)),a)return void o(e,a,r)}return n in e&&!("ownerSVGElement"in e)?void t.applyProp(e,n,r):void be(e,n,r)}})),Ee=Ae(t.elementOpen),Se=s(a,f),Pe=s(l),Me=s(Ee,f),Ne=s(t.elementClose,d),Re=s(t.text),Te=Object.freeze({element:h,builder:v,attr:c,elementClose:Ne,elementOpen:Me,elementOpenEnd:Pe,elementOpenStart:Se,elementVoid:p,text:Re}),Le=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},ze=function(e){var t=this,n=!1;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];n||(n=!0,setTimeout(function(){n=!1,e.apply(t,i)}))}},Ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(e,{enumOnly:!1}).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})};k.observedAttributes=[],k.props={},k.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 de(this,t),ve(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return he(t,e),t}(t);if(!n.observedAttributes){var r=Ve(t);delete r.length,delete r.prototype,Object.defineProperties(n,r)}var i=Ve(e),o=Ve(e.prototype);return delete i.prototype,Object.defineProperties(n,i),Object.defineProperties(n.prototype,o),n},k.updated=function(e,t){if(!t)return!0;for(var n=y(t),r=0;r<n.length;r+=1)if(t[n[r]]!==e[n[r]])return!0;return!1},k.prototype=Object.create(HTMLElement.prototype,{connectedCallback:{configurable:!0,value:function(){m(this)}},disconnectedCallback:{configurable:!0,value:function(){g(this)}},attributeChangedCallback:{configurable:!0,value:function(e,t,n){var r=this.constructor,i=r.attributeChanged,o=r.observedAttributes,u=Le(this,"attributeLinks")[e];if(!ue||o.indexOf(e)!==-1){if(u){var a=Le(this,"api/property/"+u);if(a.syncingAttribute)a.syncingAttribute=!1;else{var l=this.constructor.props[u];a.settingAttribute=!0,this[u]=null!==n&&l.deserialize?l.deserialize(n):n}}i&&i(this,{name:e,newValue:n,oldValue:t})}}},createdCallback:{configurable:!0,value:function(){b(this)}},attachedCallback:{configurable:!0,value:function(){m(this)}},detachedCallback:{configurable:!0,value:function(){g(this)}}});var De=function(e,t){return"undefined"==typeof t?_(e):w(e,t)},Ie=function(e){var n=e.render,r=e.rendered,i=e.updated;return function(e){if(!e[$]&&e[Y]){e[$]=!0;var o=!0;if(i){var u=e[Z];e[Z]=De(e),o=i(e,u)}if(!n)return void(e[$]=!1);var a=e[te];a||(a=se?e.attachShadow({mode:"open"}):le?e.createShadowRoot():e,e[te]=a),o&&(t.patchInner(a,function(){var t=n(e);"function"==typeof t?t():Array.isArray(t)&&t.forEach(function(e){"function"==typeof e&&e()})}),r&&r(e)),e[$]=!1}}},Ge=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},qe=function(e){return e=e||{},"function"==typeof e&&(e={coerce:e}),function(t){return C(t,D({"default":null,deserialize:function(e){return e},serialize:function(e){return e}},e))}},Fe=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":fe(t))?k.extend(t):t;if(S(n),ae)return T(e,n);if(ue)return R(e,n);throw new Error("Skate requires native custom element support or a polyfill.")},We=function(e){if(e)try{new e("emit-init")}catch(t){return}return e}(window.Event),Je=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(L(t,n))},Ke=function(e,t){return function(n){var r=z(n.target),i=t||n.target.name||"value";if(i.indexOf(".")>-1){var o=i.split("."),u=o[0],a=o.pop(),l=o.reduce(function(e,t){return e&&e[t]},e);l[a||n.target.name]=r,De(e,pe({},u,e[u]))}else De(e,pe({},i,r))}},Be=function(e,t){var n=Le(e);e[H]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},Ye=v();e.Component=k,e.define=Fe,e.emit=Je,e.h=Ye,e.link=Ke,e.prop=B,e.props=De,e.ready=Be,e.symbols=ne,e.vdom=Te,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(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){/** | ||
* @license | ||
@@ -17,3 +17,3 @@ * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. | ||
*/ | ||
"use strict";function r(e,t){this.attrs=l(),this.attrsArr=[],this.newAttrs=l(),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)},l=function(){return u(null)},s=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=s(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=l();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),s(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 s(t,"#text",null),t},w=function(e){for(var t=l(),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},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,N=function(e){var t=function(t,n,r){var o=A,u=P,a=M,l=E,s=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=l,S=s};return t},R=N(function(e,t,n){E=e,D(),t(n),G()}),T=N(function(e,t,n){E={nextSibling:e},t(n)}),L=function(e,t){var n=c(E);return e===n.nodeName&&t==n.key},z=function(e,t,n){if(!E||!L(e,t)){var r=void 0;t&&(r=j(S,t)),r||(r="#text"===e?_(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},q=function(e,t,n){return I(),z(e,t,n),D(),S},F=function(){return G(),E},W=function(){return I(),z("#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=q(e,t,n),o=c(i),u=o.attrsArr,a=o.newAttrs,l=!1,s=B,f=0;s<arguments.length;s+=1,f+=1)if(u[f]!==arguments[s]){l=!0;break}for(;s<arguments.length;s+=1,f+=1)u[f]=arguments[s];if(f<u.length&&(l=!0,u.length=f),l){for(s=B;s<arguments.length;s+=2)a[arguments[s]]=arguments[s+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=F();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=R,t.patchInner=R,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){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},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;/*! | ||
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),l=r(a),s=n(35),c=r(s);t.enumeration=i.enumeration,t.keyCode=u["default"],t.KeyPressHandler=l["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,l.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),l=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),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var s in r)i.call(r,s)&&(a[s]=r[s]);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(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};/*! | ||
* 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 p('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),l=r(a),s=n(12),c=r(s),f=n(34),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,l["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(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",l=function(e,t,n){var s,c,f,d=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,y=e&l.B,b=e&l.W,m=p?i:i[t]||(i[t]={}),g=m[a],k=p?r:h?r[t]:(r[t]||{})[a];p&&(n=t);for(s in n)c=!d&&k&&void 0!==k[s],c&&s in m||(f=c?k[s]:n[s],m[s]=p&&"function"!=typeof k[s]?n[s]:y&&c?o(f,r):b&&k[s]==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={}))[s]=f,e&l.R&&g&&!g[s]&&u(g,s,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},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]"===l.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 l=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 l=e(o),s=t(o),c=n(o);return i.prototype=s.prototype,r.prototype=new i,r.prototype.name=""+l||"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),l=r(a),s=window,c=s.HTMLContentElement,f=s.HTMLSlotElement,d=s.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,l["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}}/** | ||
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}}/** | ||
* 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),l=r(a),s=n(46),c=r(s);t.Jss=u["default"],t.StyleSheet=l["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}}(),l=n(38),s=r(l),c=n(53),f=r(c),d=n(54),p=r(d),h=n(45),v=r(h),y=n(39),b=r(y),m=n(47),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 s["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),l=r(a),s=n(44),c=r(s),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,l["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 s in t)this.rules.createAndRegister(s,t[s]);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"]?l["default"]:u["default"]}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(40),u=r(o),a=n(42),l=r(a),s=n(43),c=r(s)},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),l=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 l=i[a];if(l.attached){e=l.renderer.element.nextElementSibling;break}}}if(!e)for(var s=0;s<this.head.childNodes.length;s++){var c=this.head.childNodes[s];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"]=l},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),l=r(a),s=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,l["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"]=s},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),l=r(a),s=n(50),c=r(s),f=n(51),d=r(f),p=n(52),h=r(p),v={"@charset":l["default"],"@import":l["default"],"@namespace":l["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(47),a=JSON.parse,l=JSON.stringify,s=function(){function e(t,n,i){r(this,e);var o=l(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"]=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=(0,l["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 l=u[a];for(var c in l){var f=l[c];null!=f&&(i+="\n"+o(r,c+": "+s(f)+";"))}}else for(var d in u){var p=u[d];null!=p&&(i+="\n"+o(r,d+": "+s(p)+";"))}for(var h in t){var v=t[h];null!=v&&"fallbacks"!==h&&(i+="\n"+o(r,h+": "+s(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),l=r(a),s=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,l,s;for(n=3&e.length,r=e.length-n,i=t,u=3432918353,a=461845907,s=0;s<r;)l=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24,++s,l=(65535&l)*u+(((l>>>16)*u&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295,i^=l,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(l=0,n){case 3:l^=(255&e.charCodeAt(s+2))<<16;case 2:l^=(255&e.charCodeAt(s+1))<<8;case 1:l^=255&e.charCodeAt(s),l=(65535&l)*u+(((l>>>16)*u&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295,i^=l}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),l=r(a),s=function(){function e(t,n,r){i(this,e),this.type="conditional",this.selector=t,this.options=r,this.rules=new l["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"]=s},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,l["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,l["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(s,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(41),l=r(a),s=/&/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(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"}])}); |
{ | ||
"name": "ak-badge", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"description": "ak-badge webcomponent", | ||
@@ -19,3 +19,3 @@ "main": "dist/bundle.js", | ||
"classnames": "^2.2.5", | ||
"skatejs": "^1.2.5" | ||
"skatejs": "3.1.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.7) | ||
[![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) | ||
@@ -15,7 +15,7 @@ # Badge | ||
![Example badge](https://bytebucket.org/atlassian/atlaskit/raw/master/packages/ak-badge/docs/badge.png) | ||
![Example badge](https://bytebucket.org/atlassian/atlaskit/raw/2556afbb330a81bbbd3a658e50a713098df85b6b/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.7/). | ||
Interact with a [live demo of the ak-badge component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-badge/0.4.8/). | ||
@@ -70,19 +70,2 @@ ## Installation | ||
## Support and feedback | ||
### We're here to help! | ||
Let us know what you think of our components and docs, your feedback is really important for us. | ||
### Community support | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-badge,ak-badge@0.4.7). | ||
Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). | ||
### Create a support ticket | ||
Are you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)! | ||
<a name="AkBadge"></a> | ||
@@ -94,9 +77,9 @@ | ||
* [`akBadge.value`](#AkBadge+value) : <code>number</code> | ||
* [`akBadge.max`](#AkBadge+max) : <code>number</code> | ||
* [`akBadge.appearance`](#AkBadge+appearance) : <code>string</code> | ||
* [akBadge.value](#AkBadge+value) : <code>number</code> | ||
* [akBadge.max](#AkBadge+max) : <code>number</code> | ||
* [akBadge.appearance](#AkBadge+appearance) : <code>string</code> | ||
<a name="new_AkBadge_new"></a> | ||
### `new AkBadge()` | ||
### new AkBadge() | ||
Create instances of the component programmatically, or using markup. | ||
@@ -111,3 +94,3 @@ | ||
### `akBadge.value` : <code>number</code> | ||
### akBadge.value : <code>number</code> | ||
The value displayed within the badge. | ||
@@ -119,3 +102,3 @@ | ||
### `akBadge.max` : <code>number</code> | ||
### akBadge.max : <code>number</code> | ||
The max value to display. | ||
@@ -128,3 +111,3 @@ If value is 100, and max is 50, "50+" will be displayed | ||
### `akBadge.appearance` : <code>string</code> | ||
### akBadge.appearance : <code>string</code> | ||
Affects the visual style of the badge. | ||
@@ -136,1 +119,18 @@ Allowed values are: 'default', 'primary', 'important', 'added', 'removed'. | ||
## Support and feedback | ||
### We're here to help! | ||
Let us know what you think of our components and docs, your feedback is really important for us. | ||
### Community support | ||
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). | ||
Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). | ||
### Create a support ticket | ||
Are you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)! | ||
Sorry, the diff of this file is too big to display
275386
4108
+ Addedskatejs@3.1.0(transitive)
- Removedskatejs@1.5.2(transitive)
Updatedskatejs@3.1.0