/*! * __ __ __ __ * /\ \/\ \ /\ \ __ /\ \ * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\ * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , < * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\ * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\ * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/ * /\___/ \ \____/ * \/__/ \/___/ * * Powered by Hydejack v9.0.4 */ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{161:function(t,e,n){"use strict";n.d(e,"g",(function(){return r.a})),n.d(e,"m",(function(){return r.c})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return c.b})),n.d(e,"d",(function(){return c.a})),n.d(e,"l",(function(){return u.c})),n.d(e,"h",(function(){return u.b})),n.d(e,"c",(function(){return u.a})),n.d(e,"i",(function(){return l.b})),n.d(e,"j",(function(){return l.c})),n.d(e,"k",(function(){return l.d})),n.d(e,"f",(function(){return l.a}));var r=n(62),i=n(174),s=n(166);class o extends i.a{constructor(){super(...arguments),this.$connected=new s.a}connectedCallback(){super.connectedCallback(),this.$connected.next(!0)}disconnectedCallback(){super.disconnectedCallback(),this.$connected.next(!1)}firstUpdated(){this.firstUpdate=!0}updated(t){if(!this.firstUpdate)for(var e of t.keys())e in this.$&&this.$[e].next(this[e]);this.firstUpdate=!1}fireEvent(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}function a(t,e){return e.forEach(e=>{Object.getOwnPropertyNames(e.prototype).forEach(n=>{t.prototype[n]=e.prototype[n]})}),t}var c=n(77),u=n(61),l=n(42)},162:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return b})),n.d(e,"d",(function(){return _}));var r=n(171),i=n(165),s=n(172),o=n(173),a=n(167),c=n(164),u=t=>null===t||!("object"==typeof t||"function"==typeof t),l=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class h{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}class f{constructor(t,e,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this.__pendingValue=t}commit(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=s.a}}}class v extends h{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new b(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class b extends d{}var y=!1;(()=>{try{var t={get capture(){return y=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class _{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=s.a,t(this)}if(this.__pendingValue!==s.a){var e=this.__pendingValue,n=this.value,i=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=m(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=s.a}}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}var m=t=>t&&(y?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},163:function(t,e,n){"use strict";n.d(e,"c",(function(){return o.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return a}));var r=n(162); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */var i=new class{handleAttributeExpressions(t,e,n,i){var s=e[0];return"."===s?new r.f(t,e.slice(1),n).parts:"@"===s?[new r.d(t,e.slice(1),i.eventContext)]:"?"===s?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}handleTextExpression(t){return new r.e(t)}},s=n(167),o=n(171);n(165),n(172),n(170),n(168),n(173),n(164); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ "undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");var a=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0;){var w=f[p],S=h.exec(w)[2],x=S.toLowerCase()+o,P=b.getAttribute(x);b.removeAttribute(x);var C=P.split(s);this.parts.push({type:"attribute",index:d,name:S,strings:C}),p+=C.length-1}}"TEMPLATE"===b.tagName&&(i.push(b),a.currentNode=b.content)}else if(3===b.nodeType){var j=b.data;if(j.indexOf(r)>=0){for(var O=b.parentNode,E=j.split(s),N=E.length-1,T=0;T{var n=t.length-e.length;return n>=0&&t.slice(n)===e},u=t=>-1!==t.index,l=()=>document.createComment(""),h=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},165:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s})); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var i=e.nextSibling;t.insertBefore(e,r),e=i}},s=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}}},166:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var r=n(0),i=n(1),s=n(2),o=n(5),a=n(169),c=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.c)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.a),u=n(38),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.c)(e,t),e}(s.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.c)(e,t),e.prototype[u.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new d(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i-1||n)&&-1===o.indexOf("--\x3e",a+1);var c=i.e.exec(o);e+=null===c?o+(n?s:i.g):o.substr(0,c.index)+c[1]+c[2]+i.b+c[3]+i.f}return e+=this.strings[t]}getTemplateElement(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}class a extends o{getHTML(){return"".concat(super.getHTML(),"")}getTemplateElement(){var t=super.getTemplateElement(),e=t.content,n=e.firstChild;return e.removeChild(n),Object(r.c)(e,n.firstChild),t}}},168:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));var r=n(164); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */function i(t){var e=s.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},s.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var i=t.strings.join(r.f);return void 0===(n=e.keyString.get(i))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(i,n)),e.stringsArray.set(t.strings,n),n}var s=new Map},169:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},170:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(165),i=n(162),s=n(168),o=new WeakMap,a=(t,e,n)=>{var a=o.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),o.set(e,a=new i.e(Object.assign({templateFactory:s.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},171:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var r=new WeakMap,i=t=>function(){var e=t(...arguments);return r.set(e,!0),e},s=t=>"function"==typeof t&&r.has(t)},172:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})); /** * @license * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var r={},i={}},173:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(165),i=n(164); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ class s{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){var e=0;for(var n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(var r of this.__parts)void 0!==r&&r.commit()}_clone(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],s=this.template.parts,o=document.createTreeWalker(e,133,null,!1),a=0,c=0,u=o.nextNode();at.parentNode.removeChild(t))}var o=t=>{for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},a=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n"".concat(t,"--").concat(e),p=!0;void 0===window.ShadyCSS?p=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),p=!1);var f=t=>e=>{var n=d(e.type,t),r=u.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},u.a.set(n,r));var s=r.stringsArray.get(e.strings);if(void 0!==s)return s;var o=e.strings.join(i.f);if(void 0===(s=r.keyString.get(o))){var a=e.getTemplateElement();p&&window.ShadyCSS.prepareTemplateDom(a,t),s=new i.a(e,a),r.keyString.set(o,s)}return r.stringsArray.set(e.strings,s),s},v=["html","svg"],b=new Set,y=(t,e,n)=>{b.add(t);var r=n?n.element:document.createElement("template"),i=e.querySelectorAll("style"),{length:c}=i;if(0!==c){for(var l=document.createElement("style"),h=0;h{v.forEach(e=>{var n=u.a.get(d(e,t));void 0!==n&&n.keyString.forEach(t=>{var{element:{content:e}}=t,n=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{n.add(t)}),s(t,n)})})})(t);var f=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:r},parts:i}=t;if(null!=n)for(var s=document.createTreeWalker(r,133,null,!1),c=a(i),u=0,l=-1;s.nextNode();){l++;var h=s.currentNode;for(h===n&&(u=o(e),n.parentNode.insertBefore(e,n));-1!==c&&i[c].index===l;){if(u>0){for(;-1!==c;)i[c].index+=u,c=a(i,c);return}c=a(i,c)}}else r.appendChild(e)}(n,l,f.firstChild):f.insertBefore(l,f.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=f.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){f.insertBefore(l,f.firstChild);var _=new Set;_.add(l),s(n,_)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function _(t,e,n,r,i,s,o){try{var a=t[s](o),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,i)}window.JSCompiler_renameProperty=(t,e)=>t;var m={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},g=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:g};class S extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=new Promise(t=>this._enableUpdatingResolver=t),this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();var t=[];return this._classProperties.forEach((e,n)=>{var r=this._attributeNameForProperty(n,e);void 0!==r&&(this._attributeToPropertyMap.set(r,n),t.push(r))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==typeof t?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(n){var r=this[t];this[e]=n,this._requestUpdate(t,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||w}static finalize(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(var r of n)this.createProperty(r,e[r])}}static _attributeNameForProperty(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:g)(t,e)}static _propertyValueFromAttribute(t,e){var n=e.type,r=e.converter||m,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}static _propertyValueToAttribute(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||m.toAttribute)(t,n)}}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){var n=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,n)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,n){e!==n&&this._attributeToProperty(t,n)}_propertyToAttribute(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var s=r._propertyValueToAttribute(e,n);if(void 0===s)return;this._updateState=8|this._updateState,null==s?this.removeAttribute(i):this.setAttribute(i,s),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}_requestUpdate(t,e){var n=!0;if(void 0!==t){var r=this.constructor,i=r.getPropertyOptions(t);r._valueHasChanged(this[t],e,i.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,i))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this._requestUpdate(t,e),this.updateComplete}_enqueueUpdate(){var t,e=this;return(t=function*(){e._updateState=4|e._updateState;try{yield e._updatePromise}catch(t){}var t=e.performUpdate();return null!=t&&(yield t),!e._hasRequestedUpdate},function(){var e=this,n=arguments;return new Promise((function(r,i){var s=t.apply(e,n);function o(t){_(s,r,i,o,a,"next",t)}function a(t){_(s,r,i,o,a,"throw",t)}o(void 0)}))})()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}S.finalized=!0; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var x=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:n,elements:r}=e;return{kind:n,elements:r,finisher(e){window.customElements.define(t,e)}}})(t,e),P=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}};function C(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):P(t,e)}function j(t){return(e,n)=>{var r={get(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};return void 0!==n?O(r,e,n):E(r,e)}}var O=(t,e,n)=>{Object.defineProperty(e,n,t)},E=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t}); /** @license Copyright (c) 2019 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var N="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,T=Symbol();class A{constructor(t,e){if(e!==T)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(N?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}var k=t=>{if(t instanceof A)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},V=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;re+k(n)+t[r+1],t[0]);return new A(i,T)}; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ (window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");var U={};class M extends S{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(void 0===t)this._styles=[];else if(Array.isArray(t)){var e=(t,n)=>t.reduceRight((t,n)=>Array.isArray(n)?e(n,t):(t.add(n),t),n),n=e(t,new Set),r=[];n.forEach(t=>r.unshift(t)),this._styles=r}else this._styles=[t]}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?N?this.renderRoot.adoptedStyleSheets=t.map(t=>t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){var e=this.render();super.update(t),e!==U&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{var e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){return U}}M.finalized=!0,M.render=(t,e,n)=>{if(!n||"object"!=typeof n||!n.scopeName)throw new Error("The `scopeName` option is required.");var i=n.scopeName,s=c.a.has(e),o=p&&11===e.nodeType&&!!e.host,a=o&&!b.has(i),u=a?document.createDocumentFragment():e;if(Object(c.b)(t,u,Object.assign({templateFactory:f(i)},n)),a){var h=c.a.get(u);c.a.delete(u);var d=h.value instanceof l.a?h.value.template:void 0;y(i,u,d),Object(r.b)(e,e.firstChild),e.appendChild(u),c.a.set(e,h)}!s&&o&&window.ShadyCSS.styleElement(e.host)}},176:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),i=n(75),s=n(78),o=n(76);function a(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),!a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(s.a)(n)(Object(o.a)(t,a))}},177:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s}));var r=n(1),i=new r.a((function(t){return t.complete()}));function s(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},178:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(0),i=n(2);function s(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.c)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(i.a)},179:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(80),i=n(75);function s(){for(var t=[],e=0;e1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(o.a),d=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.c)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new f(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t},e.prototype.refCount=function(){return c()(this)},e}(s.a),p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(u=d.prototype)._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.c)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.c)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(o.a));var b=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();function y(){return new i.a}function _(){return function(t){return c()((e=y,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new b(r,n));var i=Object.create(t,p);return i.source=t,i.subjectFactory=r,i})(t));var e,n}}},196:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(0),i=n(2);function s(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return Object(r.c)(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(i.a)},197:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(1),i=n(54);function s(t){return new r.a((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return Object(i.a)(n).subscribe(e)}))}},198:function(t,e,n){"use strict";function r(t){return function(e){return e.lift(new i(t))}}n.d(e,"a",(function(){return r}));var i=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){var n=e.subscribe(t);return n.add(this.callback),n},t}()},199:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(26),s=n(25);function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new c(t),r=Object(s.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),c=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return Object(r.c)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.a)},200:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(166),s=n(169),o=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.a)},205:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(0),i=n(2),s=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),o=n(177);function a(t){if(isNaN(t))throw new TypeError("'count' is not a number");if(t<0)throw new s;return function(e){return 0===t?o.a:e.lift(new c(t))}}var c=function(){function t(t){this.count=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.count))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.count=n,r._valueCount=0,r}return Object(r.c)(e,t),e.prototype._next=function(t){var e=this.count,n=++this._valueCount;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.a)}}]);