text: !function(t){"function"==typeof define&&define.amd?define(["core-js/stable"],t):t()}((function(){"use strict";var t=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=c(t,e,n);if("normal"===u.type){if(r=n.done?f:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=f,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var d="suspendedStart",h="suspendedYield",p="executing",f="completed",y={};function v(){}function m(){}function g(){}var b={};b[i]=function(){return this};var x=Object.getPrototypeOf,_=x&&x(x(O([])));_&&_!==n&&r.call(_,i)&&(b=_);var w=g.prototype=v.prototype=Object.create(b);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,a,s){var u=c(t[o],t,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function P(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=c(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return m.prototype=w.constructor=g,g.constructor=m,m.displayName=u(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},k(S.prototype),S.prototype[a]=function(){return this},t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new S(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(w),u(w,s,"Generator"),w[i]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}("object"==typeof module?module.exports:{});try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t,e,n){return(c=l()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o}).apply(null,arguments)}function d(t){var e="function"==typeof Map?new Map:void 0;return(d=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return c(t,arguments,s(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,t)})(t)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?h(t):e}function f(t){var e=l();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function y(t,e,n){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function v(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function m(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){if(t){if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=g(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}
  /**
     * @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 _="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,w=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}},k="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(k,"--\x3e"),P=new RegExp("".concat(k,"|").concat(S)),E="$lit$",N=function t(e,n){r(this,t),this.parts=[],this.element=n;for(var o=[],i=[],a=document.createTreeWalker(n.content,133,null,!1),s=0,u=-1,l=0,c=e.strings,d=e.values.length;l<d;){var h=a.nextNode();if(null!==h){if(u++,1===h.nodeType){if(h.hasAttributes()){for(var p=h.attributes,f=p.length,y=0,v=0;v<f;v++)C(p[v].name,E)&&y++;for(;y-- >0;){var m=c[l],g=A.exec(m)[2],b=g.toLowerCase()+E,x=h.getAttribute(b);h.removeAttribute(b);var _=x.split(P);this.parts.push({type:"attribute",index:u,name:g,strings:_}),l+=_.length-1}}"TEMPLATE"===h.tagName&&(i.push(h),a.currentNode=h.content)}else if(3===h.nodeType){var w=h.data;if(w.indexOf(k)>=0){for(var S=h.parentNode,N=w.split(P),O=N.length-1,L=0;L<O;L++){var j=void 0,z=N[L];if(""===z)j=T();else{var V=A.exec(z);null!==V&&C(V[2],E)&&(z=z.slice(0,V.index)+V[1]+V[2].slice(0,-E.length)+V[3]),j=document.createTextNode(z)}S.insertBefore(j,h),this.parts.push({type:"node",index:++u})}""===N[O]?(S.insertBefore(T(),h),o.push(h)):h.data=N[O],l+=O}}else if(8===h.nodeType)if(h.data===k){var R=h.parentNode;null!==h.previousSibling&&u!==s||(u++,R.insertBefore(T(),h)),s=u,this.parts.push({type:"node",index:u}),null===h.nextSibling?h.data="":(o.push(h),u--),l++}else for(var M=-1;-1!==(M=h.data.indexOf(k,M+1));)this.parts.push({type:"node",index:-1}),l++}else a.currentNode=i.pop()}for(var U=0,F=o;U<F.length;U++){var I=F[U];I.parentNode.removeChild(I)}},C=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},O=function(t){return-1!==t.index},T=function(){return document.createComment("")},A=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,L=133;function j(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,L,null,!1),i=V(r),a=r[i],s=-1,u=0,l=[],c=null;o.nextNode();){s++;var d=o.currentNode;for(d.previousSibling===c&&(c=null),e.has(d)&&(l.push(d),null===c&&(c=d)),null!==c&&u++;void 0!==a&&a.index===s;)a.index=null!==c?-1:a.index-u,a=r[i=V(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var z=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,L,null,!1);n.nextNode();)e++;return e},V=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(O(r))return n}return-1};
  /**
     * @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,M=function(t){return"function"==typeof t&&R.has(t)},U={},F={},I=function(){function t(e,n,o){r(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=o}return i(t,[{key:"update",value:function(t){var e,n=0,r=x(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=x(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=_?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],O(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var l;(l=this.__parts).push.apply(l,m(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return _&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),B=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),D=" ".concat(k," "),q=function(){function t(e,n,o,i){r(this,t),this.strings=e,this.values=n,this.type=o,this.processor=i}return i(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=A.exec(o);e+=null===a?o+(n?D:S):o.substr(0,a.index)+a[1]+a[2]+E+a[3]+k}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==B&&(e=B.createHTML(e)),t.innerHTML=e,t}}]),t}(),H=function(t){return null===t||!("object"===e(t)||"function"==typeof t)},W=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},G=function(){function t(e,n,o){r(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=o,this.parts=[];for(var i=0;i<o.length-1;i++)this.parts[i]=this._createPart()}return i(t,[{key:"_createPart",value:function(){return new J(this)}},{key:"_getValue",value:function(){var t=this.strings,n=t.length-1,r=this.parts;if(1===n&&""===t[0]&&""===t[1]){var o=r[0].value;if("symbol"===e(o))return String(o);if("string"==typeof o||!W(o))return o}for(var i="",a=0;a<n;a++){i+=t[a];var s=r[a];if(void 0!==s){var u=s.value;if(H(u)||!W(u))i+="string"==typeof u?u:String(u);else{var l,c=x(u);try{for(c.s();!(l=c.n()).done;){var d=l.value;i+="string"==typeof d?d:String(d)}}catch(t){c.e(t)}finally{c.f()}}}}return i+=t[n]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),J=function(){function t(e){r(this,t),this.value=void 0,this.committer=e}return i(t,[{key:"setValue",value:function(t){t===U||H(t)&&t===this.value||(this.value=t,M(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;M(this.value);){var t=this.value;this.value=U,t(this)}this.value!==U&&this.committer.commit()}}]),t}(),$=function(){function t(e){r(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return i(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(T()),this.endNode=t.appendChild(T())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=T()),t.__insert(this.endNode=T())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=T()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;M(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=U,t(this)}var e=this.__pendingValue;e!==U&&(H(e)?e!==this.value&&this.__commitText(e):e instanceof q?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):W(e)?this.__commitIterable(e):e===F?(this.value=F,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof I&&this.value.template===e)this.value.update(t.values);else{var n=new I(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,a=x(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(s),n.commit(),i++}}catch(t){a.e(t)}finally{a.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;w(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),Y=function(){function t(e,n,o){if(r(this,t),this.value=void 0,this.__pendingValue=void 0,2!==o.length||""!==o[0]||""!==o[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=o}return i(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;M(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=U,t(this)}if(this.__pendingValue!==U){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=U}}}]),t}(),K=function(t){a(n,t);var e=f(n);function n(t,o,i){var a;return r(this,n),(a=e.call(this,t,o,i)).single=2===i.length&&""===i[0]&&""===i[1],a}return i(n,[{key:"_createPart",value:function(){return new Q(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:y(s(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(G),Q=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return n}(J),X=!1;!function(){try{var t={get capture(){return X=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var Z=function(){function t(e,n,o){var i=this;r(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=o,this.__boundHandleEvent=function(t){return i.handleEvent(t)}}return i(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;M(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=U,t(this)}if(this.__pendingValue!==U){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=tt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=U}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),tt=function(t){return t&&(X?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};
  /**
     * @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 et(t){var e=nt.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},nt.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(k);return void 0===(n=e.keyString.get(r))&&(n=new N(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var nt=new Map,rt=new WeakMap,ot=new(function(){function t(){r(this,t)}return i(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new K(t,e.slice(1),n).parts:"@"===o?[new Z(t,e.slice(1),r.eventContext)]:"?"===o?[new Y(t,e.slice(1),n)]:new G(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new $(t)}}]),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
     */
  /**
     * @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.3.0");var it=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new q(t,n,"html",ot)},at=function(t,e){return"".concat(t,"--").concat(e)},st=!0;void 0===window.ShadyCSS?st=!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."),st=!1);var ut=function(t){return function(e){var n=at(e.type,t),r=nt.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},nt.set(n,r));var o=r.stringsArray.get(e.strings);if(void 0!==o)return o;var i=e.strings.join(k);if(void 0===(o=r.keyString.get(i))){var a=e.getTemplateElement();st&&window.ShadyCSS.prepareTemplateDom(a,t),o=new N(e,a),r.keyString.set(i,o)}return r.stringsArray.set(e.strings,o),o}},lt=["html","svg"],ct=new Set,dt=function(t,e,n){ct.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a=document.createElement("style"),s=0;s<i;s++){var u=o[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){lt.forEach((function(e){var n=nt.get(at(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),j(t,n)}))}))}(t);var l=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,L,null,!1),a=V(o),s=0,u=-1;i.nextNode();){for(u++,i.currentNode===n&&(s=z(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===u;){if(s>0){for(;-1!==a;)o[a].index+=s,a=V(o,a);return}a=V(o,a)}}else r.appendChild(e)}(n,a,l.firstChild):l.insertBefore(a,l.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var c=l.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==c)e.insertBefore(c.cloneNode(!0),e.firstChild);else if(n){l.insertBefore(a,l.firstChild);var d=new Set;d.add(a),j(n,d)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var ht={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(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}},pt=function(t,e){return e!==t&&(e==e||t==t)},ft={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:pt},yt="finalized",vt=function(t){a(l,t);var o,s,u=f(l);function l(){var t;return r(this,l),(t=u.call(this)).initialize(),t}return i(l,[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ft,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(o=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),s=function(){var t=this,e=arguments;return new Promise((function(r,i){var a=o.apply(t,e);function s(t){n(a,r,i,s,u,"next",t)}function u(t){n(a,r,i,s,u,"throw",t)}s(void 0)}))},function(){return s.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){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))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}},{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ft;if(this._ensureClassProperties(),this._classProperties.set(t,n),!n.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"===e(t)?Symbol():"__".concat(t),o=this.getPropertyDescriptor(t,r,n);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||ft}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(yt)||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=x([].concat(m(Object.getOwnPropertyNames(n)),m("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pt;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||ht,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||ht.toAttribute)(t,n)}}}]),l}(d(HTMLElement));vt.finalized=!0;
  /**
    @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 mt=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),bt=function(){function t(e,n){if(r(this,t),n!==gt)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return i(t,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(mt?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),t}(),xt=function(t){if(t instanceof bt)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."))},_t=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+xt(n)+t[r+1]}),t[0]);return new bt(o,gt)};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var wt,kt={},St=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return i(n,[{key:"initialize",value:function(){y(s(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?mt?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){y(s(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,r=this.render();y(s(n.prototype),"update",this).call(this,t),r!==kt&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return kt}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!mt){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new bt(String(e),gt)}return t}))}}}]),n}(vt);St.finalized=!0,St.render=function(t,n,r){if(!r||"object"!==e(r)||!r.scopeName)throw new Error("The `scopeName` option is required.");var o=r.scopeName,i=rt.has(n),a=st&&11===n.nodeType&&!!n.host,s=a&&!ct.has(o),u=s?document.createDocumentFragment():n;if(function(t,e,n){var r=rt.get(e);void 0===r&&(w(e,e.firstChild),rt.set(e,r=new $(Object.assign({templateFactory:et},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,u,Object.assign({templateFactory:ut(o)},r)),s){var l=rt.get(u);rt.delete(u);var c=l.value instanceof I?l.value.template:void 0;dt(o,u,c),w(n,n.firstChild),n.appendChild(u),rt.set(n,l)}!i&&a&&window.ShadyCSS.styleElement(n.host)};var Pt,Et,Nt,Ct,Ot=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return i(n,[{key:"render",value:function(){return it(wt||(wt=v(["<slot></slot>"])))}}]),n}(St),Tt=_t(Pt||(Pt=v(["\n  *[hidden] {\n    display: none;\n  }\n  *[button-reset] {\n    touch-action: manipulation;\n    background: none;\n    border: none;\n    color: var(--my-text-dark);\n    cursor: pointer;\n    display: block;\n    font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue',\n      sans-serif;\n    font-size: 14px;\n    margin: 0;\n    padding: 0;\n    text-align: left;\n    width: 100%;\n    -webkit-appearance: none;\n  }\n  header[dialog] {\n    padding: 32px;\n    border-bottom: 1px solid var(--my-border-color, #e4e7ea);\n    border-top-left-radius: 1px;\n    border-top-right-radius: 1px;\n    text-align: center;\n    position: relative;\n    font-size: 18px;\n    font-weight: 400;\n    color: var(--my-text-dark, #455564);\n  }\n  hr {\n    box-sizing: content-box;\n    height: 1px;\n    background-color: var(--my-border-color);\n    border: 0;\n    margin-top: 16px;\n    margin-bottom: 16px;\n  }\n"]))),At=_t(Et||(Et=v(["\n  :host {\n    display: block;\n    padding: 0 40px;\n    margin: 0 auto;\n    max-width: 1170px;\n  }\n  @media (max-width: 1024px) {\n    :host {\n      padding: 0 30px;\n    }\n  }\n  @media (max-width: 600px) {\n    :host {\n      padding: 0 8px;\n    }\n  }\n  @media print {\n    :host {\n      max-width: none;\n      padding: 0;\n    }\n  }\n"]))),Lt=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return i(n,null,[{key:"styles",get:function(){return[Tt,At]}}]),n}(Ot);customElements.define("my-container",Lt);var jt,zt,Vt=_t(Nt||(Nt=v(["\n  @keyframes spin {\n    100% {\n      transform: rotate(360deg);\n    }\n  }\n  :host {\n    display: inline-block;\n    animation: spin 0.75s linear infinite;\n    transform-origin: center;\n    width: 16px;\n    height: 16px;\n    border-width: 2px;\n    border-style: solid;\n    border-color: var(--My-progress-color, var(--My-border-color));\n    border-right-color: transparent !important;\n    border-radius: 50%;\n  }\n  :host([inline]) {\n    width: 12px;\n    height: 12px;\n  }\n  :host([card]) {\n    display: block;\n    width: 28px;\n    height: 28px;\n    border-width: var(--My-progress-card-border-width, 4px);\n    margin: 80px auto;\n  }\n"]))),Rt=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return i(n,[{key:"render",value:function(){return it(Ct||(Ct=v([""])))}}],[{key:"is",get:function(){return"my-progress"}},{key:"styles",get:function(){return[Tt,Vt]}}]),n}(St);customElements.define(Rt.is,Rt);var Mt,Ut,Ft,It,Bt,Dt,qt=_t(jt||(jt=v(["\n  :host {\n    display: flex;\n    color: #ffffff;\n    background-color: var(--my-color-warning);\n    border-radius: 3px;\n    padding: 16px 20px;\n    text-align: left;\n  }\n  div {\n    flex-grow: 1;\n  }\n  @media (max-width: 480px) {\n    :host {\n      padding: 10px;\n    }\n  }\n"]))),Ht=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return i(n,[{key:"render",value:function(){return it(zt||(zt=v(["<div><slot></slot></div>"])))}}],[{key:"styles",get:function(){return[Tt,qt]}}]),n}(St);customElements.define("my-error-message",Ht);var Wt,Gt,Jt=_t(Mt||(Mt=v(["\n  :host {\n    display: block;\n    background-color: #ffffff;\n    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.24), 0 1px 4px rgba(0, 0, 0, 0.12);\n    border-radius: 2px;\n    margin-bottom: 16px;\n    margin-left: auto;\n    margin-right: auto;\n  }\n  :host ::slotted(header) {\n    font-size: var(--my-card-header-font-size, 20px);\n    color: var(--my-card-header-color, var(--my-text-dark, #455564));\n    padding-top: var(--my-card-header-padding-top, 18px);\n    padding-right: var(--my-card-header-padding-right, 24px);\n    padding-bottom: var(--my-card-header-padding-bottom, 18px);\n    padding-left: var(--my-card-header-padding-left, 0);\n    margin-left: var(--my-card-header-margin-left, 24px);\n    line-height: 21px;\n    border-bottom: 1px solid var(--my-border-color, #e4e7ea);\n  }\n  :host article,\n  :host ::slotted(article) {\n    margin-left: var(--my-card-article-margin-left, 24px);\n    padding-top: var(--my-card-article-padding-top, 18px);\n    padding-right: var(--my-card-article-padding-right, 24px);\n    margin-bottom: var(--my-card-article-margin-bottom, 18px);\n    padding-bottom: var(--my-card-article-padding-bottom, 18px);\n  }\n  :host .no-content-text {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    text-align: center;\n    color: var(--my-text-neutral, #8d99a0);\n    height: 220px;\n  }\n  :host ::slotted(footer) {\n    margin-left: var(--my-card-footer-margin-left, 24px);\n    padding-top: var(--my-card-footer-padding-top, 18px);\n    padding-right: var(--my-card-footer-padding-right, 24px);\n    padding-bottom: var(--my-card-footer-padding-bottom, 18px);\n    font-size: var(--my-card-footer-size, 14px);\n    text-align: var(--my-card-footer-text-align, right);\n  }\n  my-error-message {\n    padding: 20px;\n    margin-top: 20px;\n  }\n  .progress {\n    padding: 50px 0;\n  }\n  @media (min-width: 736px) and (max-width: 991px) {\n    :host([single-column]) ::slotted(article),\n    :host([single-column]) ::slotted(footer),\n    :host([single-column]) ::slotted(my-list-item) {\n      margin-left: 24px;\n      padding-right: 24px;\n    }\n  }\n  @media (max-width: 739px) {\n    :host([reset]) {\n      max-width: none;\n      border-radius: 0;\n      margin-left: -16px;\n      margin-right: -16px;\n      box-shadow: none;\n      position: relative;\n    }\n  }\n  @media (max-width: 735px) {\n    :host {\n      max-width: 550px;\n    }\n    :host([wide]) {\n      max-width: none;\n    }\n  }\n  @media print {\n    :host {\n      padding: 0;\n      margin: 0;\n      box-shadow: none;\n      background-color: transparent;\n    }\n    :host article,\n    :host ::slotted(article) {\n      margin: 0;\n    }\n  }\n"]))),$t=function(t){a(n,t);var e=f(n);function n(){var t;return r(this,n),(t=e.call(this)).loading=!1,t.hasData=!0,t.noDataMessage="No data",t.errorMessage="",t}return i(n,[{key:"render",value:function(){return it(Ut||(Ut=v(['\n      <slot name="header"></slot>\n      ',"\n      ","\n      ","\n      ","\n    "])),this.errorMessage?it(Ft||(Ft=v([" <article>\n            <my-error-message>\n              ","\n            </my-error-message>\n          </article>"])),this.errorMessage):"",this.hasData?it(It||(It=v(["<slot></slot>"]))):"",this.loading&&!this.hasData?it(Bt||(Bt=v([' <div class="progress">\n            <my-progress card></my-progress>\n          </div>']))):"",this.loading||this.hasData?"":it(Dt||(Dt=v([' <div class="no-content-text">\n            <slot name="no-content">\n              <p>',"</p>\n            </slot>\n          </div>"])),this.noDataMessage))}}],[{key:"properties",get:function(){return{loading:{type:Boolean},hasData:{type:Boolean,reflect:!0},errorMessage:{type:String},noDataMessage:{type:String}}}},{key:"styles",get:function(){return Jt}}]),n}(St);customElements.define("my-card",$t);var Yt,Kt,Qt=_t(Wt||(Wt=v(["\n  :host {\n    display: inline-block;\n    text-align: center;\n    margin-bottom: 0;\n    touch-action: manipulation;\n    cursor: pointer;\n  }\n\n  button[button-reset] {\n    display: inline-flex;\n    justify-content: center;\n    align-items: center;\n    position: relative;\n    text-align: var(--my-button-text-align, center);\n    vertical-align: middle;\n    contain: layout;\n    text-transform: var(--my-button-text-transform, none);\n    border: 1px solid transparent;\n    white-space: var(--my-button-white-space, nowrap);\n    background: var(--my-button-background, var(--my-color-primary, #3aaeda));\n    color: var(--my-button-text, var(--my-text-white, #ffffff));\n    padding: var(--my-button-padding-vertical, 0px)\n      var(--my-button-padding-horizontal, 18px);\n    font-size: var(--my-button-text-size, 14px);\n    font-weight: var(--my-button-font-weight, 400);\n    line-height: var(--my-button-line-height, 34px);\n    border-radius: var(--my-button-border-radius, 3px);\n    box-sizing: border-box;\n    overflow: hidden;\n    transition: background-color ease 0.2s;\n  }\n\n  button[button-reset]:hover,\n  button[button-reset]:focus {\n    text-decoration: none;\n    background-color: var(\n      --my-button-background-hover,\n      var(--my-color-primary, #3aaeda)\n    );\n    border-color: var(--my-button-border-color-hover, transparent);\n  }\n\n  button[button-reset]:active {\n    background-color: var(\n      --my-button-background-active,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  button[disabled] {\n    opacity: var(--my-button-disabled-opacity, 0.3);\n    cursor: default;\n  }\n  button[disabled]:hover,\n  button[disabled]:focus {\n    background-color: var(\n      --my-button-background,\n      var(--my-color-primary, #3aaeda)\n    );\n    border-color: var(--my-button-border-color, transparent);\n    box-shadow: none;\n  }\n\n  :host ::slotted(.icon) {\n    position: relative;\n    top: -1px;\n  }\n\n  :host([default]) button[button-reset] {\n    color: var(--my-button-default-text, var(--my-text-base, #6b757b));\n    background-color: transparent;\n    border-color: var(\n      --my-button-default-border,\n      var(--my-border-color, #e4e7ea)\n    );\n    transition: background-color ease 0.2s;\n  }\n\n  :host([default]) button[button-reset]:hover {\n    background-color: var(\n      --my-button-default-background-hover,\n      rgba(153, 153, 153, 0.12)\n    );\n  }\n\n  :host([default]) button:active {\n    background-color: var(\n      --my-button-default-background-active,\n      rgba(153, 153, 153, 0.4)\n    );\n  }\n\n  :host([outline]) button {\n    color: var(--my-button-outline-text, var(--my-text-light, #8c989f));\n    background-color: var(--my-button-outline-background, transparent);\n    border-color: var(\n      --my-button-outline-border,\n      var(--my-border-color, #e4e7ea)\n    );\n    transition: background-color ease 0.2s;\n  }\n\n  :host([outline]) button:hover {\n    background-color: var(\n      --my-button-outline-background-hover,\n      rgba(153, 153, 153, 0.12)\n    );\n  }\n\n  :host([outline]) button:active {\n    background-color: var(\n      --my-button-outline-background-active,\n      rgba(153, 153, 153, 0.4)\n    );\n  }\n\n  :host([outline-primary]) button {\n    color: var(\n      --my-button-primary-background,\n      var(--my-color-primary, #3aaeda)\n    );\n    background-color: transparent;\n    border-color: var(\n      --my-button-primary-background,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  :host([outline-primary]) button:hover {\n    background-color: var(\n      --my-button-outline-primary-background-hover,\n      rgba(52, 177, 224, 0.12)\n    );\n  }\n\n  :host([outline-primary]) button:active {\n    color: var(--my-button-text, var(--my-text-white, #ffffff));\n    background-color: var(\n      --my-button-primary-background,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  :host([outline-success]) button {\n    color: var(\n      --my-button-success-background,\n      var(--my-color-success, #4caf50)\n    );\n    background-color: transparent;\n    border-color: var(\n      --my-button-success-background,\n      var(--my-color-success, #4caf50)\n    );\n  }\n\n  :host([outline-success]) button:hover {\n    background-color: var(\n      --my-button-outline-success-background-hover,\n      rgba(70, 181, 74, 0.12)\n    );\n  }\n\n  :host([outline-success]) button:active {\n    color: var(--my-button-text, var(--my-text-white, #ffffff));\n    background-color: var(\n      --my-button-success-background,\n      var(--my-color-success, #4caf50)\n    );\n  }\n\n  :host([outline-danger]) button {\n    color: var(\n      --my-button-danger-background,\n      var(--my-color-danger, #f44336)\n    );\n    background-color: transparent;\n    border-color: var(\n      --my-button-danger-background,\n      var(--my-color-danger, #f44336)\n    );\n  }\n\n  :host([outline-danger]) button:hover {\n    background-color: var(\n      --my-button-outline-danger-background-hover,\n      rgba(249, 62, 49, 0.12)\n    );\n  }\n\n  :host([outline-danger]) button:active {\n    color: var(--my-button-text, var(--my-text-white, #ffffff));\n    background-color: var(\n      --my-button-danger-background,\n      var(--my-color-danger, #f44336)\n    );\n  }\n\n  :host([icon]) button {\n    background-color: var(--my-button-icon-background, transparent);\n    padding: var(--my-button-icon-padding, 0);\n    border-radius: var(--my-button-icon-border-radius, 50%);\n    line-height: var(--my-button-icon-line-height, 0);\n  }\n\n  :host([icon]) button:hover,\n  :host([icon]) button:focus {\n    background-color: var(--my-button-icon-background-hover, transparent);\n    box-shadow: none;\n  }\n\n  :host([icon]) button a:hover {\n    background-color: transparent;\n  }\n\n  :host([link]) button {\n    color: var(--my-button-link-text, var(--my-color-primary, #3aaeda));\n    font-weight: var(--my-button-link-font-weight, 400);\n    background-color: transparent;\n    font-size: var(\n      --my-button-link-text-size,\n      var(--my-text-size-base, 14px)\n    );\n    padding: 0;\n    vertical-align: var(--my-button-link-vertical-align, top);\n    border-radius: 0;\n  }\n\n  :host([link]) button:hover,\n  :host([link]) button:focus {\n    box-shadow: none;\n    color: var(--my-button-link-text-hover, var(--my-color-primary, #3aaeda));\n    font-size: var(\n      --my-button-link-text-size,\n      var(--my-text-size-base, 14px)\n    );\n    text-decoration: var(--my-button-link-text-decoration, underline);\n    background-color: transparent;\n    border-color: transparent;\n    padding: 0;\n  }\n\n  button[is-loading] {\n    overflow: visible;\n    opacity: 1;\n  }\n\n  button[is-loading] my-progress {\n    display: inline-block;\n  }\n\n  :host([link]) my-progress {\n    border-color: var(\n      --my-button-link-text,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  button[is-loading] .slot-wrapper {\n    opacity: 0;\n  }\n\n  .my-progress-wrapper {\n    position: absolute;\n    display: flex;\n    justify-content: center;\n    left: 0;\n    right: 0;\n  }\n\n  button .slot-wrapper,\n  button my-progress {\n    transition: opacity 0.2s cubic-bezier(0.1, 0.5, 0.1, 1);\n  }\n\n  button .slot-wrapper {\n    display: inline-block;\n  }\n\n  my-progress {\n    pointer-events: none;\n    position: relative;\n    border-color: var(\n      --my-progress-color-button,\n      var(--my-text-white, #ffffff)\n    );\n    display: none;\n  }\n  /* IE 11 specific style to fix placement of my-progress when button is submitted */\n  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n    my-progress.my-button {\n      margin-top: -10px;\n    }\n  }\n  :host([outline]) my-progress {\n    border-color: var(\n      --my-progress-color-button-outline,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  :host([primary]) button {\n    background-color: var(\n      --my-button-primary-background,\n      var(--my-color-primary, #3aaeda)\n    );\n  }\n\n  :host([neutral]) button {\n    background-color: var(--my-button-neutral-background, #dadcde);\n    color: var(--my-button-neutral-text, #6b757b);\n  }\n\n  :host([success]) button {\n    background-color: var(\n      --my-button-success-background,\n      var(--my-color-success, #4caf50)\n    );\n  }\n\n  :host([danger]) button {\n    background-color: var(\n      --my-button-danger-background,\n      var(--my-color-danger, #f44336)\n    );\n  }\n\n  :host([toggle]) button {\n    color: var(--my-button-toggle-text, var(--my-color-neutral, #8d99a0));\n    font-size: var(--my-button-toggle-text-size, 13px);\n    font-weight: 600;\n    background-color: transparent;\n    text-transform: uppercase;\n  }\n\n  :host([toggle]) button:hover {\n    color: var(\n      --my-button-primary-background,\n      var(--my-color-primary, #3aaeda)\n    );\n    background-color: transparent;\n  }\n\n  :host([x-small]) button {\n    font-size: calc(var(--my-button-text-size, 14px) - 2);\n    line-height: var(--my-button-line-height-xsmall, 14px);\n  }\n\n  :host([small]) button {\n    font-size: calc(var(--my-button-text-size, 14px) - 1);\n    line-height: var(--my-button-line-height-small, 28px);\n  }\n\n  :host([large]) button {\n    line-height: var(--my-button-line-height-large, 48px);\n    padding-left: calc(var(--my-button-padding-horizontal, 18px) * 1.5);\n    padding-right: calc(var(--my-button-padding-horizontal, 18px) * 1.5);\n  }\n\n  :host([wide]) button {\n    padding-left: calc(var(--my-button-padding-horizontal, 18px) * 1.5);\n    padding-right: calc(var(--my-button-padding-horizontal, 18px) * 1.5);\n  }\n\n  :host([block]) {\n    display: block;\n    margin-bottom: 5px;\n  }\n\n  :host([block]:last-of-type) {\n    margin-bottom: 0;\n  }\n\n  :host([block]) button {\n    width: 100%;\n  }\n  :host([flex]) .slot-wrapper {\n    display: flex;\n    align-items: var(--my-link-button-align-items, center);\n    justify-content: var(--my-link-button-justify-content, flex-start);\n    text-align: left;\n  }\n"]))),Xt=function(t){a(n,t);var e=f(n);function n(){var t;return r(this,n),(t=e.call(this)).form_=null,t.type="button",t.disabled=!1,t.isLoading=!1,t.sync=!1,t.focused=!1,t.ariaLabel="",t.boundFormSubmit_=t.onFormSubmit_.bind(h(t)),t.boundOnFocus_=t.onFocus_.bind(h(t)),t.boundOnBlur_=t.onBlur_.bind(h(t)),t.addEventListener("click",(function(e){t.disabled&&(e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation())})),t}return i(n,[{key:"connectedCallback",value:function(){y(s(n.prototype),"connectedCallback",this).call(this)}},{key:"firstUpdated",value:function(){this.form_=this.closest("form"),this.form_&&"submit"===this.type&&this.form_.addEventListener("submit",this.boundFormSubmit_,!1);var t=this.shadowRoot.querySelector("button");t.addEventListener("focus",this.boundOnFocus_),t.addEventListener("blur",this.boundOnBlur_)}},{key:"disconnectedCallback",value:function(){y(s(n.prototype),"disconnectedCallback",this).call(this),this.form_&&"submit"===this.type&&this.form_.removeEventListener("submit",this.boundFormSubmit_,!1)}},{key:"render",value:function(){var t=this;return it(Gt||(Gt=v([" <button\n      button-reset\n      type=","\n      ?disabled=","\n      ?is-loading=",'\n      aria-label="','"\n      tabindex="0"\n      @click=','\n    >\n      <span class="my-progress-wrapper">\n        <my-progress></my-progress>\n      </span>\n      <span class="slot-wrapper">\n        <slot></slot>\n      </span>\n    </button>'])),this.type,this.disabled,this.isLoading,this.ariaLabel,(function(e){return t.onClick_(e)}))}},{key:"reset",value:function(){this.disabled=!1,this.isLoading=!1}},{key:"onFocus_",value:function(){this.focused=!0}},{key:"onBlur_",value:function(){this.focused=!1}},{key:"onClick_",value:function(t){if(this.disabled||this.isLoading)return t.stopPropagation(),t.preventDefault(),void t.stopImmediatePropagation();this.form_&&"submit"===this.type?(t.preventDefault(),this.form_.dispatchEvent(new CustomEvent("submit",{composed:!0,bubbles:!0,cancelable:!0}))):this.sync||(this.isLoading=!0)}},{key:"onFormSubmit_",value:function(t){t.preventDefault(),this.disabled||this.sync||(this.isLoading=!0)}}],[{key:"properties",get:function(){return{isLoading:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},sync:{type:Boolean},focused:{type:Boolean,reflect:!0},type:{type:String},ariaLabel:{type:String}}}},{key:"styles",get:function(){return[Tt,Qt]}}]),n}(St);customElements.define("my-button",Xt);var Zt,te,ee=_t(Yt||(Yt=v([""]))),ne=function(t){a(n,t);var e=f(n);function n(){return r(this,n),e.call(this)}return i(n,[{key:"render",value:function(){return it(Kt||(Kt=v(["<div>I am from hygen</div>"])))}}],[{key:"styles",get:function(){return[Tt,ee]}},{key:"properties",get:function(){return{}}}]),n}(St);customElements.define("my-new-element",ne);var re=function(t){a(n,t);var e=f(n);function n(){var t;return r(this,n),(t=e.call(this)).title="My app",t}return i(n,[{key:"render",value:function(){return it(Zt||(Zt=v(['\n      <my-container>\n        <my-card>\n          <header slot="header">Card 1</header>\n          <my-button sync>Hello</my-button>\n          <my-button sync danger>Danger Button</my-button>\n        </my-card>\n        <my-card>\n          <header slot="header">\n            <my-new-element></my-new-element>\n          </header>\n          <my-button sync>Hello</my-button>\n          <my-button sync danger>Danger Button</my-button>\n        </my-card>\n      </my-container>\n    '])))}}],[{key:"properties",get:function(){return{title:{type:String}}}},{key:"styles",get:function(){return _t(te||(te=v(["\n      :host {\n        min-height: 100vh;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: flex-start;\n        font-size: calc(10px + 2vmin);\n        color: #1a2b42;\n        max-width: 960px;\n        margin: 0 auto;\n        text-align: center;\n        background-color: var(--my-demo-background-color);\n      }\n    "])))}}]),n}(St);customElements.define("my-demo",re)}));
  