text: !function t(e,o,n){function r(a,c){if(!o[a]){if(!e[a]){var l="function"==typeof require&&require;if(!c&&l)return l(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var s=o[a]={exports:{}};e[a][0].call(s.exports,function(t){var o=e[a][1][t];return r(o?o:t)},s,s.exports,t,e,o,n)}return o[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),l=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},u=t("../../basic-element-base/src/ElementBase"),s=n(u),f=t("../../basic-component-mixins/src/ContentItemsMixin"),p=n(f),d=t("../../basic-component-mixins/src/DistributedChildrenContentMixin"),y=n(d),h=t("../../basic-component-mixins/src/FractionalSelectionMixin"),b=n(h),_=t("../../basic-component-mixins/src/SelectionAnimationMixin"),v=n(_),m=t("../../basic-component-mixins/src/SelectionAriaActiveMixin"),O=n(m),g=t("../../basic-component-mixins/src/SingleSelectionMixin"),j=n(g),P=t("../../basic-component-mixins/src/symbols"),w=n(P),x=s.default.compose(p.default,y.default,b.default,v.default,O.default,j.default),S=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),c(e,[{key:w.default.defaults,get:function(){var t=l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),w.default.defaults,this)||{};return t.selectionRequired=!0,t}},{key:w.default.template,get:function(){return'\n      <style>\n      :host {\n        overflow: hidden;\n        position: relative;\n      }\n\n      #container ::slotted(*) {\n        height: 100%;\n        object-fit: contain;\n        position: absolute;\n        width: 100%;\n        will-change: transform;\n      }\n      </style>\n\n      <div id="container" role="none">\n        <slot></slot>\n      </div>\n    '}}]),e}(x);customElements.define("basic-animation-stage",S),o.default=S},{"../../basic-component-mixins/src/ContentItemsMixin":4,"../../basic-component-mixins/src/DistributedChildrenContentMixin":5,"../../basic-component-mixins/src/FractionalSelectionMixin":7,"../../basic-component-mixins/src/SelectionAnimationMixin":8,"../../basic-component-mixins/src/SelectionAriaActiveMixin":9,"../../basic-component-mixins/src/SingleSelectionMixin":12,"../../basic-component-mixins/src/symbols":17,"../../basic-element-base/src/ElementBase":19}],2:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){var e=y[t];if(!e){var o=/-([a-z])/g;e=t.replace(o,function(t){return t[1].toUpperCase()}),y[t]=e}return e}function l(t){if(t===HTMLElement||t===Object)return[];var e=Object.getPrototypeOf(t.prototype).constructor,o=l(e),n=Object.getOwnPropertyNames(t.prototype),r=n.filter(function(e){return"function"==typeof Object.getOwnPropertyDescriptor(t.prototype,e).set}),i=r.map(function(t){return u(t)}),a=i.filter(function(t){return o.indexOf(t)<0});return o.concat(a)}function u(t){var e=h[t];if(!e){var o=/([A-Z])/g;e=t.replace(o,"-$1").toLowerCase()}return e}Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),f=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},p=t("./safeAttributes"),d=n(p),y={},h={};o.default=function(t){var e=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),s(e,[{key:"attributeChangedCallback",value:function(t,o,n){f(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attributeChangedCallback",this)&&f(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attributeChangedCallback",this).call(this);var r=c(t);r in this&&!(r in HTMLElement.prototype)&&(this[r]=n)}},{key:"connectedCallback",value:function(){f(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"connectedCallback",this)&&f(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"connectedCallback",this).call(this),d.default.connected(this)}},{key:"reflectAttribute",value:function(t,e){return d.default.setAttribute(this,t,e)}},{key:"reflectClass",value:function(t,e){return d.default.toggleClass(this,t,e)}}],[{key:"observedAttributes",get:function(){return l(this)}}]),e}(t);return e}},{"./safeAttributes":16}],3:[function(t,e,o){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if("function"==typeof e)return e(t);var o=function(t){function e(){return n(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(t);return c(e,o.prototype,u),o}function c(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return Object.getOwnPropertyNames(t).forEach(function(n){if(o.indexOf(n)<0){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r)}}),e}Object.defineProperty(o,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}();o.default=function(t){var e=function(t){function e(){return n(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),l(e,null,[{key:"compose",value:function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.reduce(a,this)}}]),e}(t);return e};var u=["constructor"]},{}],4:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){var e=["link","script","style","template"];return[].filter.call(t,function(t){return!t.localName||e.indexOf(t.localName)<0})}Object.defineProperty(o,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),u=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},s=t("./createSymbol"),f=n(s),p=t("./toggleClass"),d=n(p),y=t("./symbols"),h=n(y),b=(0,f.default)("items"),_=(0,f.default)("itemInitialized");o.default=function(t){var e=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),l(e,[{key:"contentChanged",value:function(){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"contentChanged",this)&&u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"contentChanged",this).call(this),this[b]=null,this[h.default.itemsChanged]()}},{key:h.default.itemAdded,value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemAdded,this)&&u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemAdded,this).call(this,t)}},{key:h.default.itemSelected,value:function(t,o){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemSelected,this)&&u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemSelected,this).call(this,t,o),(0,d.default)(t,"selected",o)}},{key:h.default.itemsChanged,value:function(){var t=this;u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemsChanged,this)&&u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),h.default.itemsChanged,this).call(this),Array.prototype.forEach.call(this.items,function(e){e[_]||(t[h.default.itemAdded](e),e[_]=!0)}),this.dispatchEvent(new CustomEvent("items-changed"))}},{key:"items",get:function(){var t=void 0;return null==this[b]?(t=c(this.content),null===this[b]&&(this[b]=t)):t=this[b],t}}]),e}(t);return e}},{"./createSymbol":14,"./symbols":17,"./toggleClass":18}],5:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),l=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},u=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},s=t("./microtask"),f=n(s);o.default=function(t){var e=function(e){function o(){r(this,o);var t=i(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));if(t.shadowRoot){var e=t.shadowRoot.querySelectorAll("slot");e.forEach(function(e){return e.addEventListener("slotchange",function(e){t.contentChanged()})})}return(0,f.default)(function(){return t.contentChanged()}),t}return a(o,e),c(o,[{key:"contentChanged",value:function(){u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"contentChanged",this)&&u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"contentChanged",this).call(this);var t=new CustomEvent("content-changed");this.dispatchEvent(t)}},{key:"content",get:function(){var t=this.distributedChildren;return"undefined"==typeof t&&console.warn('DistributedChildrenContentMixin expects the component to define a "distributedChildren" property.'),t},set:function(e){"content"in t.prototype&&l(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"content",e,this)}}]),o}(t);return e}},{"./microtask":15}],6:[function(t,e,o){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,o=Array(t.length);e<t.length;e++)o[e]=t[e];return o}return Array.from(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t,e){var o,r=Array.prototype.map.call(t,function(t){var o="undefined"!=typeof HTMLSlotElement?t instanceof HTMLSlotElement:"slot"===t.localName;if(o){var n=t.assignedNodes({flatten:!0});return n?c(n,e):[]}return t instanceof HTMLElement?[t]:t instanceof Text&&e?[t]:[]}),i=(o=[]).concat.apply(o,n(r));return i}Object.defineProperty(o,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}();o.default=function(t){var e=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),l(e,[{key:"distributedChildren",get:function(){return c(this.children,!1)}},{key:"distributedChildNodes",get:function(){return c(this.childNodes,!0)}},{key:"distributedTextContent",get:function(){var t=this.distributedChildNodes.map(function(t){return t.textContent});return t.join("")}}]),e}(t);return e}},{}],7:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){var e=function(e){function o(){return r(this,o),i(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return a(o,e),l(o,[{key:"connectedCallback",value:function(){s(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"connectedCallback",this)&&s(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"connectedCallback",this).call(this),this.selectedFraction=0}},{key:"selectedFraction",get:function(){return this[d]},set:function(e){this[d]=e,"selectedFraction"in t.prototype&&u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedFraction",e,this);var n=new CustomEvent("selected-fraction-changed");this.dispatchEvent(n)}}]),o}(t);return e}Object.defineProperty(o,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),u=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},s=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)};o.default=c;var f=t("./createSymbol"),p=n(f),d=(0,p.default)("selectedFraction");c.helpers={dampedSelection:function(t,e){var o=e-1,n=void 0;return n=t<0?-c.helpers.damping(-t):t>=o?o+c.helpers.damping(t-o):t},damping:function(t){var e=-1/(t+1)+1;return e},elementSelection:function(t){var e=t.selectedIndex;if(!(e<0)){var o=t.selectedFraction||0;return e+o}},selectionParts:function(t){var e=t<0?Math.ceil(t):Math.floor(t),o=t-e;return{index:e,fraction:o}},wrappedSelection:function(t,e){return(t%e+e)%e},wrappedSelectionParts:function(t,e,o){return o&&(t=c.helpers.wrappedSelection(t,e)),c.helpers.selectionParts(t)}}},{"./createSymbol":14}],8:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){var e=function(e){function o(){r(this,o);var t=i(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return"undefined"==typeof t.selectionAnimationDuration&&(t.selectionAnimationDuration=t[S.default.defaults].selectionAnimationDuration),"undefined"==typeof t.selectionAnimationEffect&&null==t.selectionAnimationKeyframes&&(t.selectionAnimationEffect=t[S.default.defaults].selectionAnimationEffect),t[S.default.dragging]=!1,t}return a(o,e),v(o,[{key:S.default.itemAdded,value:function(t){t.setAttribute("aria-hidden",!1)}},{key:S.default.itemsChanged,value:function(){O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),S.default.itemsChanged,this)&&O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),S.default.itemsChanged,this).call(this),d(this),f(this)}},{key:"resetAnimations",value:function(){d(this)}},{key:S.default.defaults,get:function(){var t=O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),S.default.defaults,this)||{};return t.selectionAnimationDuration=250,t.selectionAnimationEffect="slide",t}},{key:S.default.dragging,get:function(){return this[E]},set:function(e){var n=this[S.default.dragging];this[E]=e,S.default.dragging in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),S.default.dragging,e,this),e&&!n&&(this[F]=!0)}},{key:"selectedFraction",get:function(){return O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedFraction",this)||0},set:function(e){"selectedFraction"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedFraction",e,this),f(this,this.selectedIndex,e)}},{key:"selectedIndex",get:function(){return O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedIndex",this)},set:function(e){"selectedIndex"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedIndex",e,this),f(this,e,0)}},{key:"selectionAnimationDuration",get:function(){return this[T]},set:function(e){this[T]=e,"selectionAnimationDuration"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionAnimationDuration",e,this)}},{key:"selectionAnimationEffect",get:function(){return this[I]},set:function(e){this[I]=e,"selectionAnimationEffect"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionAnimationEffect",e,this),this.selectionAnimationKeyframes=c.standardEffectKeyframes[e]}},{key:"selectionAnimationKeyframes",get:function(){return this[D]},set:function(e){this[D]=e,"selectionAnimationKeyframes"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionAnimationKeyframes",e,this),d(this),f(this)}},{key:"selectionWraps",get:function(){return O(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionWraps",this)},set:function(e){"selectionWraps"in t.prototype&&m(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionWraps",e,this),d(this),f(this)}}]),o}(t);return e}function l(t,e,o){d(t);var n=t.items,r=t.selectionAnimationKeyframes;t[k]=!0;var i=c.helpers.effectTimingsForSelectionAnimation(t,e,o),a=n.length,l=t.selectionWraps,u=w.default.helpers.selectionParts(o,a,l).index,f=_(a,l,e,o),p=f>=0,h=u+(p?1:-1);l?h=w.default.helpers.wrappedSelection(h,a):s(t,h)||(h=null);var v=void 0;i.forEach(function(e,o){var i=n[o];if(e){b(i,!0);var a=i.animate(r,e);t[C][o]=a,o===h&&(h=null),0!==e.endDelay&&(v={animation:a,index:o,timing:e,forward:p})}else b(i,!1)}),null!=v?(v.nextUpIndex=h,v.animation.onfinish=function(e){return y(t,v)},t[A]=v.animation):t[k]=!1}function u(t,e){if(null==t[C])return null;var o=t[C][e];if(!o){var n=t.items[e];o=n.animate(t.selectionAnimationKeyframes,{duration:t.selectionAnimationDuration,fill:"both"}),o.pause(),t[C][e]=o}return o}function s(t,e){return e>=0&&t.items&&e<t.items.length}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.selectedIndex,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selectedFraction,n=t.items?t.items.length:0;if(0!==n&&!(e<0)){var r=e+o;r=t.selectionWraps?w.default.helpers.wrappedSelection(r,n):w.default.helpers.dampedSelection(r,n);var i=t[M];if(t[S.default.dragging]||null==i||i===r){if(0===o&&t[k])return;p(t,r)}else l(t,i,r);t[M]=r}}function p(t,e){t[F]&&(d(t),t[F]=!1);var o=c.helpers.animationFractionsForSelection(t,e);o.map(function(e,o){var n=t.items[o];null!=e?(b(n,!0),h(t,o,e)):b(n,!1)})}function d(t){var e=t[C];e&&e.forEach(function(t,o){t&&(t.cancel(),e[o]=null)});var o=t.items?t.items.length:0;e&&e.length===o||(t[C]=new Array(o))}function y(t,e){var o=e.nextUpIndex;if(null!=o){t[C][o]&&(t[C][o].cancel(),t[C][o]=null);var n=e.forward?0:1;h(t,o,n),b(t.items[o],!0)}t[A].onfinish=null,t[k]=!1}function h(t,e,o){var n=u(t,e);if(n){var r=t.selectionAnimationDuration;r&&(n.currentTime=o*r)}}function b(t,e){t.style.visibility=e?"visible":"hidden"}function _(t,e,o,n){var r=n-o;if(e&&t>1){var i=t-Math.abs(r);i<=1&&(r=r<0?i:-i)}return r}Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),m=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},O=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)};o.default=c;var g=t("./createSymbol"),j=n(g),P=t("./FractionalSelectionMixin"),w=n(P),x=t("./symbols"),S=n(x),C=(0,j.default)("animation"),E=(0,j.default)("dragging"),A=(0,j.default)("lastAnimation"),k=(0,j.default)("animatingSelection"),M=(0,j.default)("previousSelection"),T=(0,j.default)("selectionAnimationDuration"),I=(0,j.default)("selectionAnimationEffect"),D=(0,j.default)("selectionAnimationKeyframes"),F=(0,j.default)("resetAnimationsOnNextRender");c.helpers={animationFractionsForSelection:function(t,e){var o=t.items;if(o){var n=o.length,r=t.selectionWraps;return o.map(function(t,o){var i=_(n,r,e,o),a=(1-i)/2;return a>=0&&a<=1?a:null})}},effectTimingsForSelectionAnimation:function(t,e,o){var n=t.items;if(n){var r=n.length,i=t.selectionWraps,a=w.default.helpers.wrappedSelectionParts(o,r,i).index,c=_(r,i,e,o),l=c>=0?"normal":"reverse",u="both",s=t.selectionAnimationDuration,f=0!==c?2*s/Math.ceil(Math.abs(c)):0,p=n.map(function(t,e){var n=_(r,i,e,o),s=c-n;if(c<0&&(s=-s),Math.ceil(s)>=0&&s<=Math.abs(c)){var p=f*(s-1)/2,d=e===a?-f/2:0;return{duration:f,direction:l,fill:u,delay:p,endDelay:d}}return null});return p}}},c.standardEffectKeyframes={crossfade:[{opacity:0},{opacity:1},{opacity:0}],reveal:[{transform:"translateX(0%)",zIndex:0},{transform:"translateX(0%)",zIndex:1},{transform:"translateX(-100%)",zIndex:2}],revealWithFade:[{transform:"translateX(0%) scale(0.75)",opacity:0,zIndex:0},{transform:"translateX(0%) scale(1.0)",opacity:1,zIndex:1},{transform:"translateX(-100%) scale(1.0)",opacity:1,zIndex:2}],showAdjacent:[{transform:"translateX(78%) scale(0.7)",zIndex:0},{transform:"translateX(0%) scale(0.82)",zIndex:1},{transform:"translateX(-78%) scale(0.7)",zIndex:0}],slide:[{transform:"translateX(100%)"},{transform:"translateX(-100%)"}],slideWithGap:[{transform:"translateX(110%)"},{transform:"translateX(-110%)"}]}},{"./FractionalSelectionMixin":7,"./createSymbol":14,"./symbols":17}],9:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),l=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},u=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},s=t("./symbols"),f=n(s),p=0;o.default=function(t){var e=function(e){function o(){return r(this,o),i(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return a(o,e),c(o,[{key:"connectedCallback",value:function(){u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"connectedCallback",this)&&u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"connectedCallback",this).call(this),null==this.getAttribute("role")&&this[f.default.defaults].role&&this.setAttribute("role",this[f.default.defaults].role)}},{key:f.default.itemAdded,value:function(t){if(u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),f.default.itemAdded,this)&&u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),f.default.itemAdded,this).call(this,t),t.getAttribute("role")||t.setAttribute("role","option"),!t.id){var e=this.id?"_"+this.id+"Option":"_option";t.id=e+p++}}},{key:f.default.itemSelected,value:function(t,e){u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),f.default.itemSelected,this)&&u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),f.default.itemSelected,this).call(this,t,e),t.setAttribute("aria-selected",e);var n=t.id;n&&e&&this.setAttribute("aria-activedescendant",n)}},{key:f.default.defaults,get:function(){var t=u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),f.default.defaults,this)||{};return t.role="listbox",t}},{key:"selectedItem",get:function(){return u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedItem",this)},set:function(e){"selectedItem"in t.prototype&&l(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedItem",e,this),null==e&&this.removeAttribute("aria-activedescendant")}}]),o}(t);return e}},{"./symbols":17}],10:[function(t,e,o){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(t){var e=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(t.shadowRoot){t.$={};var o=t.shadowRoot.querySelectorAll("[id]");[].forEach.call(o,function(e){var o=e.getAttribute("id");t.$[o]=e})}return t}return i(e,t),e}(t);return e}},{}],11:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){var e=document.createElement("template"),o=document.createElement("div");for(o.innerHTML=t;o.childNodes.length>0;)e.content.appendChild(o.childNodes[0]);return e}function l(t,e){window.WebComponents.ShadowCSS.shimStyling(t.content,e)}Object.defineProperty(o,"__esModule",{value:!0});var u=t("../src/symbols"),s=n(u);o.default=function(t){var e=function(t){function e(){r(this,e);var t=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),o=t[s.default.template];if(o){"string"==typeof o&&(o=c(o)),window.ShadowDOMPolyfill&&l(o,t.localName);var n=t.attachShadow({mode:"open"}),a=document.importNode(o.content,!0);n.appendChild(a)}return t}return a(e,t),e}(t);return e}},{"../src/symbols":17}],12:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");
  }function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t,e){var o=t.items.length,n=t.selectionWraps?(e%o+o)%o:Math.max(Math.min(e,o-1),0),r=t.selectedIndex;return r!==n&&(t.selectedIndex=n,!0)}function l(t){var e=t.items,o=e?e.length:0,n=t.selectedItem;if(n)if(0===o)t.selectedItem=null;else{var r=Array.prototype.indexOf.call(e,n),i=t.selectedIndex;if(r<0){var a=Math.min(i,o-1);t.selectedItem=e[a]}else r!==i&&(t.selectedIndex=r)}else t.selectionRequired&&(t.selectedIndex=0)}function u(t){var e=void 0,o=void 0,n=t.items;if(null!=n&&0!==n.length||(e=!1,o=!1),t.selectionWraps)e=!0,o=!0;else{var r=t.selectedIndex;r<0&&n.length>0?(e=!0,o=!0):(o=r>0,e=r<n.length-1)}t.canSelectNext!==e&&(t.canSelectNext=e),t.canSelectPrevious!==o&&(t.canSelectPrevious=o)}Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),f=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},p=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},d=t("./createSymbol"),y=n(d),h=t("./symbols"),b=n(h),_=(0,y.default)("canSelectNext"),v=(0,y.default)("canSelectPrevious"),m=(0,y.default)("selectionRequired"),O=(0,y.default)("selectionWraps"),g=(0,y.default)("externalSelectedIndex"),j=(0,y.default)("externalSelectedItem"),P=(0,y.default)("internalSelectedIndex"),w=(0,y.default)("internalSelectedItem");o.default=function(t){var e=function(e){function o(){r(this,o);var t=i(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return"undefined"==typeof t.selectionRequired&&(t.selectionRequired=t[b.default.defaults].selectionRequired),"undefined"==typeof t.selectionWraps&&(t.selectionWraps=t[b.default.defaults].selectionWraps),t}return a(o,e),s(o,[{key:b.default.itemAdded,value:function(t){f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemAdded,this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemAdded,this).call(this,t),this[b.default.itemSelected](t,t===this.selectedItem)}},{key:b.default.itemsChanged,value:function(){f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemsChanged,this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemsChanged,this).call(this),l(this),u(this)}},{key:b.default.itemSelected,value:function(t,e){f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemSelected,this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.itemSelected,this).call(this,t,e)}},{key:"selectFirst",value:function(){return f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectFirst",this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectFirst",this).call(this),c(this,0)}},{key:"selectLast",value:function(){return f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectLast",this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectLast",this).call(this),c(this,this.items.length-1)}},{key:"selectNext",value:function(){return f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectNext",this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectNext",this).call(this),c(this,this.selectedIndex+1)}},{key:"selectPrevious",value:function(){f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectPrevious",this)&&f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectPrevious",this).call(this);var t=this.selectedIndex<0?this.items.length-1:this.selectedIndex-1;return c(this,t)}},{key:"canSelectNext",get:function(){return this[_]},set:function(e){var n=this[_];this[_]=e,"canSelectNext"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"canSelectNext",e,this),e!==n&&this.dispatchEvent(new CustomEvent("can-select-next-changed"))}},{key:"canSelectPrevious",get:function(){return this[v]},set:function(e){var n=this[v];this[v]=e,"canSelectPrevious"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"canSelectPrevious",e,this),e!==n&&this.dispatchEvent(new CustomEvent("can-select-previous-changed"))}},{key:b.default.defaults,get:function(){var t=f(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),b.default.defaults,this)||{};return t.selectionRequired=!1,t.selectionWraps=!1,t}},{key:"selectedIndex",get:function(){return null!=this[g]?this[g]:-1},set:function(e){var n=this[P],r=void 0;if(e!==this[g]){var i=this.items,a=i&&i.length>0;a&&e>=0&&e<i.length||(e=-1),this[g]=e,r=a&&e>=0?i[e]:null,this[j]=r}else r=this[j];if("selectedIndex"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedIndex",e,this),e!==n){this[P]=e;var c=new CustomEvent("selected-index-changed",{detail:{selectedIndex:e,value:e}});this.dispatchEvent(c)}this[w]!==r&&(this.selectedItem=r)}},{key:"selectedItem",get:function(){return this[j]||null},set:function(e){var n=this[w],r=void 0;if(e!==this[j]){var i=this.items,a=i&&i.length>0;r=a?Array.prototype.indexOf.call(i,e):-1,this[g]=r,r<0&&(e=null),this[j]=e}else r=this[g];if("selectedItem"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedItem",e,this),e!==n){this[w]=e,n&&this[b.default.itemSelected](n,!1),e&&this[b.default.itemSelected](e,!0),u(this);var c=new CustomEvent("selected-item-changed",{detail:{selectedItem:e,value:e}});this.dispatchEvent(c)}this[P]!==r&&(this.selectedIndex=r)}},{key:"selectionRequired",get:function(){return this[m]},set:function(e){this[m]=e,"selectionRequired"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionRequired",e,this),l(this)}},{key:"selectionWraps",get:function(){return this[O]},set:function(e){this[O]="true"===String(e),"selectionWraps"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionWraps",e,this),u(this)}}]),o}(t);return e}},{"./createSymbol":14,"./symbols":17}],13:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t){t[O]&&(clearTimeout(t[O]),t[O]=null)}function l(t){c(t),t.playing&&t.items&&t.items.length>0&&u(t)}function u(t){c(t),t[O]=setTimeout(function(){s(t)},t.selectionTimerDuration)}function s(t){var e=t.items;e&&e.length>0&&(null==t.selectedIndex||t.selectedIndex===e.length-1?t.selectFirst():t.selectNext())}Object.defineProperty(o,"__esModule",{value:!0});var f=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),p=function t(e,o,n,r){var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var a=Object.getPrototypeOf(e);null!==a&&t(a,o,n,r)}else if("value"in i&&i.writable)i.value=n;else{var c=i.set;void 0!==c&&c.call(r,n)}return n},d=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},y=t("./createSymbol"),h=n(y),b=t("./symbols"),_=n(b),v=(0,h.default)("playing"),m=(0,h.default)("selectionTimerDuration"),O=(0,h.default)("timerTimeout");o.default=function(t){var e=function(e){function o(){r(this,o);var t=i(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return"undefined"==typeof t.playing&&(t.playing=t[_.default.defaults].playing),"undefined"==typeof t.selectionTimerDuration&&(t.selectionTimerDuration=t[_.default.defaults].selectionTimerDuration),t}return a(o,e),f(o,[{key:"contentChanged",value:function(){d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"contentChanged",this)&&d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"contentChanged",this).call(this),l(this)}},{key:"play",value:function(){d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"play",this)&&d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"play",this).call(this),u(this),this[v]=!0}},{key:"pause",value:function(){d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"pause",this)&&d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"pause",this).call(this),c(this),this[v]=!1}},{key:_.default.defaults,get:function(){var t=d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),_.default.defaults,this)||{};return t.playing=!1,t.selectionTimerDuration=1e3,t}},{key:"playing",get:function(){return this[v]},set:function(e){var n=this[v],r="true"===String(e);"playing"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"playing",e,this),r!==n&&(e?this.play():this.pause())}},{key:"selectedItem",get:function(){return d(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedItem",this)},set:function(e){"selectedItem"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectedItem",e,this),l(this)}},{key:"selectionTimerDuration",get:function(){return this[m]},set:function(e){this[m]=parseInt(e),"selectionTimerDuration"in t.prototype&&p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"selectionTimerDuration",e,this)}}]),o}(t);return e}},{"./createSymbol":14,"./symbols":17}],14:[function(t,e,o){"use strict";function n(t){return"function"==typeof Symbol?Symbol(t):"_"+t}Object.defineProperty(o,"__esModule",{value:!0}),o.default=n},{}],15:[function(t,e,o){"use strict";function n(t){i.push(t),a.textContent=++c}function r(){for(;i.length>0;){var t=i.shift();t()}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=n;var i=[],a=document.createTextNode(""),c=0,l=new MutationObserver(r);l.observe(a,{characterData:!0})},{}],16:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,o){if(null===o||"undefined"==typeof o)t.removeAttribute(e);else{var n=String(o);t.getAttribute(e)!==n&&t.setAttribute(e,o)}}Object.defineProperty(o,"__esModule",{value:!0});var i=t("./createSymbol"),a=n(i),c=t("./toggleClass"),l=n(c),u=(0,a.default)("safeToSetAttributes"),s=(0,a.default)("pendingAttributes"),f=(0,a.default)("pendingClasses");o.default={connected:function(t){if(t[u]=!0,t[s]){for(var e in t[s]){var o=t[s][e];r(t,e,o)}t[s]=null}if(t[f]){for(var n in t[f]){var i=t[f][n];(0,l.default)(t,n,i)}t[f]=null}},setAttribute:function(t,e,o){t[u]?r(t,e,o):(t[s]||(t[s]={}),t[s][e]=o)},toggleClass:function(t,e,o){t[u]?(0,l.default)(t,e,o):(t[f]||(t[f]={}),t[f][e]=o)}}},{"./createSymbol":14,"./toggleClass":18}],17:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(o,"__esModule",{value:!0});var r=t("./createSymbol"),i=n(r),a={defaults:(0,i.default)("defaults"),dragging:(0,i.default)("dragging"),goDown:(0,i.default)("goDown"),goEnd:(0,i.default)("goEnd"),goLeft:(0,i.default)("goLeft"),goRight:(0,i.default)("goRight"),goStart:(0,i.default)("goStart"),goUp:(0,i.default)("goUp"),itemAdded:(0,i.default)("itemAdded"),itemsChanged:(0,i.default)("itemsChanged"),itemSelected:(0,i.default)("itemSelected"),keydown:(0,i.default)("keydown"),template:(0,i.default)("template")};o.default=a},{"./createSymbol":14}],18:[function(t,e,o){"use strict";function n(t,e,o){var n=t.classList,r="undefined"==typeof o?!n.contains(e):o;return r?n.add(e):n.remove(e),r}Object.defineProperty(o,"__esModule",{value:!0}),o.default=n},{}],19:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0});var c=t("../../basic-component-mixins/src/AttributeMarshallingMixin"),l=n(c),u=t("../../basic-component-mixins/src/ComposableMixin"),s=n(u),f=t("../../basic-component-mixins/src/DistributedChildrenMixin"),p=n(f),d=t("../../basic-component-mixins/src/ShadowElementReferencesMixin"),y=n(d),h=t("../../basic-component-mixins/src/ShadowTemplateMixin"),b=n(h),_=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),e}((0,s.default)(HTMLElement).compose(b.default,y.default,l.default,p.default));o.default=_},{"../../basic-component-mixins/src/AttributeMarshallingMixin":2,"../../basic-component-mixins/src/ComposableMixin":3,"../../basic-component-mixins/src/DistributedChildrenMixin":6,"../../basic-component-mixins/src/ShadowElementReferencesMixin":10,"../../basic-component-mixins/src/ShadowTemplateMixin":11}],20:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var r=t("./src/Slideshow"),i=n(r);window.Basic=window.Basic||{},window.Basic.Slideshow=i.default},{"./src/Slideshow":21}],21:[function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),l=function t(e,o,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,o);if(void 0===r){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,n)}if("value"in r)return r.value;var a=r.get;if(void 0!==a)return a.call(n)},u=t("../../basic-animation-stage/src/AnimationStage"),s=n(u),f=t("../../basic-component-mixins/src/symbols"),p=n(f),d=t("../../basic-component-mixins/src/TimerSelectionMixin"),y=n(d),h=s.default.compose(y.default),b=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),c(e,[{key:p.default.defaults,get:function(){var t=l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),p.default.defaults,this)||{};return t.playing=!0,t.selectionAnimationDuration=500,t.selectionAnimationEffect="crossfade",t.selectionRequired=!0,t.selectionTimerDuration=3e3,t.selectionWraps=!0,t}}]),e}(h);customElements.define("basic-slideshow",b),o.default=b},{"../../basic-animation-stage/src/AnimationStage":1,"../../basic-component-mixins/src/TimerSelectionMixin":13,"../../basic-component-mixins/src/symbols":17}]},{},[20]);
  //# sourceMappingURL=basic-slideshow.js.map
  