jekyll-theme-hydejack 9.1.6 → 9.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -1
- data/_includes/body/footer.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/styles/page-style.scss +2 -2
- data/_layouts/compress.html +1 -1
- data/_sass/html.scss +2 -2
- data/_sass/hydejack/__inline__/_avatar.scss +4 -1
- data/_sass/hydejack/__inline__/_links.scss +1 -1
- data/_sass/hydejack/__link__/_avatar.scss +2 -0
- data/_sass/hydejack/__link__/_links.scss +4 -2
- data/_sass/hydejack/__link__/_sidebar.scss +1 -1
- data/_sass/hydejack/_avatar.pre.scss +4 -1
- data/_sass/hydejack/_links.pre.scss +5 -3
- data/_sass/hydejack/_sidebar.pre.scss +1 -1
- data/_sass/pooleparty/__link__/_code.scss +1 -1
- data/_sass/pooleparty/_code.pre.scss +1 -1
- data/assets/js/LEGACY-clap-button-hydejack-9.1.8.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.8.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.1.6.js → LEGACY-fetch-hydejack-9.1.8.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.8.js +13 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.8.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.8.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.8.js +14 -0
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.6.js → LEGACY-shadydom-hydejack-9.1.8.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.8.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.8.js +47 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.8.js +211 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.8.js +14 -0
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.6.js → LEGACY-vendors~intersection-observer-hydejack-9.1.8.js} +2 -2
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.8.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.8.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.6.js → LEGACY-vendors~webanimations-hydejack-9.1.8.js} +1 -1
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.6.js → LEGACY-vendors~webcomponents-hydejack-9.1.8.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.6.js → LEGACY-webcomponents-hydejack-9.1.8.js} +2 -2
- data/assets/js/{clap-button-hydejack-9.1.6.js → clap-button-hydejack-9.1.8.js} +2 -2
- data/assets/js/{drawer-hydejack-9.1.6.js → drawer-hydejack-9.1.8.js} +2 -2
- data/assets/js/{fetch-hydejack-9.1.6.js → fetch-hydejack-9.1.8.js} +2 -2
- data/assets/js/hydejack-9.1.8.js +13 -0
- data/assets/js/navbar-hydejack-9.1.8.js +14 -0
- data/assets/js/push-state-hydejack-9.1.8.js +14 -0
- data/assets/js/resize-observer-hydejack-9.1.8.js +14 -0
- data/assets/js/{shadydom-hydejack-9.1.6.js → shadydom-hydejack-9.1.8.js} +1 -1
- data/assets/js/{vendors~clap-button-hydejack-9.1.6.js → vendors~clap-button-hydejack-9.1.8.js} +1 -1
- data/assets/js/vendors~drawer-hydejack-9.1.8.js +48 -0
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.6.js → vendors~drawer~push-state-hydejack-9.1.8.js} +12 -12
- data/assets/js/vendors~fetch-hydejack-9.1.8.js +14 -0
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.6.js → vendors~intersection-observer-hydejack-9.1.8.js} +2 -2
- data/assets/js/vendors~push-state-hydejack-9.1.8.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.8.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.1.6.js → vendors~webanimations-hydejack-9.1.8.js} +2 -2
- data/assets/js/webcomponents-hydejack-9.1.8.js +14 -0
- data/assets/version.json +2 -2
- metadata +43 -43
- data/assets/js/LEGACY-clap-button-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-drawer-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-hydejack-9.1.6.js +0 -27
- data/assets/js/LEGACY-navbar-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.6.js +0 -48
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.6.js +0 -214
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.6.js +0 -34
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.6.js +0 -155
- data/assets/js/hydejack-9.1.6.js +0 -28
- data/assets/js/navbar-hydejack-9.1.6.js +0 -14
- data/assets/js/push-state-hydejack-9.1.6.js +0 -14
- data/assets/js/resize-observer-hydejack-9.1.6.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.1.6.js +0 -48
- data/assets/js/vendors~fetch-hydejack-9.1.6.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.1.6.js +0 -34
- data/assets/js/vendors~shadydom-hydejack-9.1.6.js +0 -146
- data/assets/js/webcomponents-hydejack-9.1.6.js +0 -14
- /data/assets/css/{hydejack-9.1.6.css → hydejack-9.1.8.css} +0 -0
@@ -1,214 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.1.6 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{320:function(t,e,n){"use strict";n.d(e,"g",(function(){return o.a})),n.d(e,"m",(function(){return o.c})),n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return _})),n.d(e,"e",(function(){return S.b})),n.d(e,"d",(function(){return S.a})),n.d(e,"l",(function(){return O.c})),n.d(e,"h",(function(){return O.b})),n.d(e,"c",(function(){return O.a})),n.d(e,"i",(function(){return j.b})),n.d(e,"j",(function(){return j.c})),n.d(e,"k",(function(){return j.d})),n.d(e,"f",(function(){return j.a}));var r,o=n(90),i=n(1),u=n(333),a=n(328);function c(t){return(c="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 s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(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,u=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function l(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 f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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 h(){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=d(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function d(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=g(t)););return t}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){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}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return m(t)}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(c,t);var e,n,o,u=v(c);function c(){var t;return f(this,c),(t=u.apply(this,arguments)).$connected=new a.a,r.set(m(t),void 0),t.$={},t}return e=c,(n=[{key:"connectedCallback",value:function(){h(g(c.prototype),"connectedCallback",this).call(this),this.$connected.next(!0)}},{key:"disconnectedCallback",value:function(){h(g(c.prototype),"disconnectedCallback",this).call(this),this.$connected.next(!1)}},{key:"firstUpdated",value:function(){Object(i.f)(this,r,!0,"f")}},{key:"updated",value:function(t){if(!Object(i.e)(this,r,"f")){var e,n=s(t.keys());try{for(n.s();!(e=n.n()).done;){var o=e.value;o in this.$&&this.$[o].next(this[o])}}catch(t){n.e(t)}finally{n.f()}}Object(i.f)(this,r,!1,"f")}},{key:"fireEvent",value:function(t,e){this.dispatchEvent(new CustomEvent(t,e)),this.dispatchEvent(new CustomEvent("".concat(this.tagName.toLowerCase(),"-").concat(t),e))}}])&&p(e.prototype,n),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(u.a);function _(t,e){return e.forEach((function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(n){t.prototype[n]=e.prototype[n]}))})),t}r=new WeakMap;var S=n(119),O=n(89),j=n(68)},321:function(t,e,n){"use strict";n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return P})),n.d(e,"e",(function(){return k})),n.d(e,"c",(function(){return x})),n.d(e,"f",(function(){return C})),n.d(e,"g",(function(){return E})),n.d(e,"d",(function(){return A}));var r=n(330),o=n(324),i=n(331),u=n(332),a=n(326),c=n(323);function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=l(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function l(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function f(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){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}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){if(e&&("object"===_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(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,u=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}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 m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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 w(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _(t){return(_="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)}
|
15
|
-
/**
|
16
|
-
* @license
|
17
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
18
|
-
* This code may only be used under the BSD style license found at
|
19
|
-
* http://polymer.github.io/LICENSE.txt
|
20
|
-
* The complete set of authors may be found at
|
21
|
-
* http://polymer.github.io/AUTHORS.txt
|
22
|
-
* The complete set of contributors may be found at
|
23
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
24
|
-
* Code distributed by Google as part of the polymer project is also
|
25
|
-
* subject to an additional IP rights grant found at
|
26
|
-
* http://polymer.github.io/PATENTS.txt
|
27
|
-
*/var S=function(t){return null===t||!("object"===_(t)||"function"==typeof t)},O=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},j=function(){function t(e,n,r){m(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return w(t,[{key:"_createPart",value:function(){return new P(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"===_(r))return String(r);if("string"==typeof r||!O(r))return r}for(var o="",i=0;i<e;i++){o+=t[i];var u=n[i];if(void 0!==u){var a=u.value;if(S(a)||!O(a))o+="string"==typeof a?a:String(a);else{var c,s=v(a);try{for(s.s();!(c=s.n()).done;){var l=c.value;o+="string"==typeof l?l:String(l)}}catch(t){s.e(t)}finally{s.f()}}}}return o+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),P=function(){function t(e){m(this,t),this.value=void 0,this.committer=e}return w(t,[{key:"setValue",value:function(t){t===i.a||S(t)&&t===this.value||(this.value=t,Object(r.b)(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Object(r.b)(this.value);){var t=this.value;this.value=i.a,t(this)}this.value!==i.a&&this.committer.commit()}}]),t}(),k=function(){function t(e){m(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return w(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Object(c.c)()),this.endNode=t.appendChild(Object(c.c)())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),t.__insert(this.endNode=Object(c.c)())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Object(c.c)()),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(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}var e=this.__pendingValue;e!==i.a&&(S(e)?e!==this.value&&this.__commitText(e):e instanceof a.b?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):O(e)?this.__commitIterable(e):e===i.b?(this.value=i.b,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 u.a&&this.value.template===e)this.value.update(t.values);else{var n=new u.a(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,u=v(e);try{for(u.s();!(r=u.n()).done;){var a=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(a),n.commit(),i++}}catch(t){u.e(t)}finally{u.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;Object(o.b)(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),x=function(){function t(e,n,r){if(m(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return w(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=i.a}}}]),t}(),C=function(t){f(n,t);var e=h(n);function n(t,r,o){var i;return m(this,n),(i=e.call(this,t,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return w(n,[{key:"_createPart",value:function(){return new E(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:s(y(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(j),E=function(t){f(n,t);var e=h(n);function n(){return m(this,n),e.apply(this,arguments)}return w(n)}(P),T=!1;!function(){try{var t={get capture(){return T=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var A=function(){function t(e,n,r){var o=this;m(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return o.handleEvent(t)}}return w(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=i.a,t(this)}if(this.__pendingValue!==i.a){var e=this.__pendingValue,n=this.value,o=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),u=null!=e&&(null==n||o);o&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),u&&(this.__options=N(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=i.a}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),N=function(t){return t&&(T?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)}},322:function(t,e,n){"use strict";n.d(e,"c",(function(){return a.a})),n.d(e,"a",(function(){return r.b})),n.d(e,"b",(function(){return r.g})),n.d(e,"d",(function(){return c}));var r=n(321);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)}}
|
28
|
-
/**
|
29
|
-
* @license
|
30
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
31
|
-
* This code may only be used under the BSD style license found at
|
32
|
-
* http://polymer.github.io/LICENSE.txt
|
33
|
-
* The complete set of authors may be found at
|
34
|
-
* http://polymer.github.io/AUTHORS.txt
|
35
|
-
* The complete set of contributors may be found at
|
36
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
37
|
-
* Code distributed by Google as part of the polymer project is also
|
38
|
-
* subject to an additional IP rights grant found at
|
39
|
-
* http://polymer.github.io/PATENTS.txt
|
40
|
-
*/
|
41
|
-
var i=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"handleAttributeExpressions",value:function(t,e,n,o){var i=e[0];return"."===i?new r.f(t,e.slice(1),n).parts:"@"===i?[new r.d(t,e.slice(1),o.eventContext)]:"?"===i?[new r.c(t,e.slice(1),n)]:new r.a(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new r.e(t)}}])&&o(e.prototype,n),i&&o(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()),u=n(326),a=n(330);n(324),n(331),n(329),n(327),n(332),n(323);
|
42
|
-
/**
|
43
|
-
* @license
|
44
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
45
|
-
* This code may only be used under the BSD style license found at
|
46
|
-
* http://polymer.github.io/LICENSE.txt
|
47
|
-
* The complete set of authors may be found at
|
48
|
-
* http://polymer.github.io/AUTHORS.txt
|
49
|
-
* The complete set of contributors may be found at
|
50
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
51
|
-
* Code distributed by Google as part of the polymer project is also
|
52
|
-
* subject to an additional IP rights grant found at
|
53
|
-
* http://polymer.github.io/PATENTS.txt
|
54
|
-
*/
|
55
|
-
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var c=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 u.b(t,n,"html",i)}},323:function(t,e,n){"use strict";function r(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 o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return p})),n.d(e,"e",(function(){return h}));
|
56
|
-
/**
|
57
|
-
* @license
|
58
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
59
|
-
* This code may only be used under the BSD style license found at
|
60
|
-
* http://polymer.github.io/LICENSE.txt
|
61
|
-
* The complete set of authors may be found at
|
62
|
-
* http://polymer.github.io/AUTHORS.txt
|
63
|
-
* The complete set of contributors may be found at
|
64
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
65
|
-
* Code distributed by Google as part of the polymer project is also
|
66
|
-
* subject to an additional IP rights grant found at
|
67
|
-
* http://polymer.github.io/PATENTS.txt
|
68
|
-
*/
|
69
|
-
var i="{{lit-".concat(String(Math.random()).slice(2),"}}"),u="\x3c!--".concat(i,"--\x3e"),a=new RegExp("".concat(i,"|").concat(u)),c="$lit$",s=o((function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parts=[],this.element=n;for(var r=[],o=[],u=document.createTreeWalker(n.content,133,null,!1),s=0,f=-1,d=0,y=e.strings,v=e.values.length;d<v;){var b=u.nextNode();if(null!==b){if(f++,1===b.nodeType){if(b.hasAttributes()){for(var m=b.attributes,g=m.length,w=0,_=0;_<g;_++)l(m[_].name,c)&&w++;for(;w-- >0;){var S=y[d],O=h.exec(S)[2],j=O.toLowerCase()+c,P=b.getAttribute(j);b.removeAttribute(j);var k=P.split(a);this.parts.push({type:"attribute",index:f,name:O,strings:k}),d+=k.length-1}}"TEMPLATE"===b.tagName&&(o.push(b),u.currentNode=b.content)}else if(3===b.nodeType){var x=b.data;if(x.indexOf(i)>=0){for(var C=b.parentNode,E=x.split(a),T=E.length-1,A=0;A<T;A++){var N=void 0,R=E[A];if(""===R)N=p();else{var V=h.exec(R);null!==V&&l(V[2],c)&&(R=R.slice(0,V.index)+V[1]+V[2].slice(0,-c.length)+V[3]),N=document.createTextNode(R)}C.insertBefore(N,b),this.parts.push({type:"node",index:++f})}""===E[T]?(C.insertBefore(p(),b),r.push(b)):b.data=E[T],d+=T}}else if(8===b.nodeType)if(b.data===i){var U=b.parentNode;null!==b.previousSibling&&f!==s||(f++,U.insertBefore(p(),b)),s=f,this.parts.push({type:"node",index:f}),null===b.nextSibling?b.data="":(r.push(b),f--),d++}else for(var I=-1;-1!==(I=b.data.indexOf(i,I+1));)this.parts.push({type:"node",index:-1}),d++}else u.currentNode=o.pop()}for(var M=0,B=r;M<B.length;M++){var q=B[M];q.parentNode.removeChild(q)}})),l=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},f=function(t){return-1!==t.index},p=function(){return document.createComment("")},h=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},324:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i}));
|
70
|
-
/**
|
71
|
-
* @license
|
72
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
73
|
-
* This code may only be used under the BSD style license found at
|
74
|
-
* http://polymer.github.io/LICENSE.txt
|
75
|
-
* The complete set of authors may be found at
|
76
|
-
* http://polymer.github.io/AUTHORS.txt
|
77
|
-
* The complete set of contributors may be found at
|
78
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
79
|
-
* Code distributed by Google as part of the polymer project is also
|
80
|
-
* subject to an additional IP rights grant found at
|
81
|
-
* http://polymer.github.io/PATENTS.txt
|
82
|
-
*/
|
83
|
-
var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=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 o=e.nextSibling;t.insertBefore(e,r),e=o}},i=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}}},325:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(8),o=new r.a((function(t){return t.complete()}))},326:function(t,e,n){"use strict";n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return m}));var r=n(324),o=n(323);function i(t){return(i="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 u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=a(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function a(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){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}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(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 d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}
|
84
|
-
/**
|
85
|
-
* @license
|
86
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
87
|
-
* This code may only be used under the BSD style license found at
|
88
|
-
* http://polymer.github.io/LICENSE.txt
|
89
|
-
* The complete set of authors may be found at
|
90
|
-
* http://polymer.github.io/AUTHORS.txt
|
91
|
-
* The complete set of contributors may be found at
|
92
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
93
|
-
* Code distributed by Google as part of the polymer project is also
|
94
|
-
* subject to an additional IP rights grant found at
|
95
|
-
* http://polymer.github.io/PATENTS.txt
|
96
|
-
*/var y=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),v=" ".concat(o.f," "),b=function(){function t(e,n,r,o){p(this,t),this.strings=e,this.values=n,this.type=r,this.processor=o}return d(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],u=i.lastIndexOf("\x3c!--");n=(u>-1||n)&&-1===i.indexOf("--\x3e",u+1);var a=o.e.exec(i);e+=null===a?i+(n?v:o.g):i.substr(0,a.index)+a[1]+a[2]+o.b+a[3]+o.f}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==y&&(e=y.createHTML(e)),t.innerHTML=e,t}}]),t}(),m=function(t){!function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(n,t);var e=s(n);function n(){return p(this,n),e.apply(this,arguments)}return d(n,[{key:"getHTML",value:function(){return"<svg>".concat(u(f(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=u(f(n.prototype),"getTemplateElement",this).call(this),e=t.content,o=e.firstChild;return e.removeChild(o),Object(r.c)(e,o.firstChild),t}}]),n}(b)},327:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(323);
|
97
|
-
/**
|
98
|
-
* @license
|
99
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
100
|
-
* This code may only be used under the BSD style license found at
|
101
|
-
* http://polymer.github.io/LICENSE.txt
|
102
|
-
* The complete set of authors may be found at
|
103
|
-
* http://polymer.github.io/AUTHORS.txt
|
104
|
-
* The complete set of contributors may be found at
|
105
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
106
|
-
* Code distributed by Google as part of the polymer project is also
|
107
|
-
* subject to an additional IP rights grant found at
|
108
|
-
* http://polymer.github.io/PATENTS.txt
|
109
|
-
*/function o(t){var e=i.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},i.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var o=t.strings.join(r.f);return void 0===(n=e.keyString.get(o))&&(n=new r.a(t,t.getTemplateElement()),e.keyString.set(o,n)),e.stringsArray.set(t.strings,n),n}var i=new Map},328:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),o=n(8),i=n(23),u=n(120),a=Object(u.a)((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),c=n(65),s=n(79),l=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.h)(e,t),e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new a},e.prototype.next=function(t){var e=this;Object(s.b)((function(){var n,o;if(e._throwIfClosed(),!e.isStopped){var i=e.observers.slice();try{for(var u=Object(r.l)(i),a=u.next();!a.done;a=u.next()){a.value.next(t)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}}))},e.prototype.error=function(t){var e=this;Object(s.b)((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Object(s.b)((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this.hasError,n=this.isStopped,r=this.observers;return e||n?i.a:(r.push(t),new i.b((function(){return Object(c.a)(r,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,r=this.isStopped;e?t.error(n):r&&t.complete()},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(o.a),f=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.h)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:i.a},e}(l)},329:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a}));var r=n(324),o=n(321),i=n(327),u=new WeakMap,a=function(t,e,n){var a=u.get(e);void 0===a&&(Object(r.b)(e,e.firstChild),u.set(e,a=new o.e(Object.assign({templateFactory:i.b},n))),a.appendInto(e)),a.setValue(t),a.commit()}},330:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));
|
110
|
-
/**
|
111
|
-
* @license
|
112
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
113
|
-
* This code may only be used under the BSD style license found at
|
114
|
-
* http://polymer.github.io/LICENSE.txt
|
115
|
-
* The complete set of authors may be found at
|
116
|
-
* http://polymer.github.io/AUTHORS.txt
|
117
|
-
* The complete set of contributors may be found at
|
118
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
119
|
-
* Code distributed by Google as part of the polymer project is also
|
120
|
-
* subject to an additional IP rights grant found at
|
121
|
-
* http://polymer.github.io/PATENTS.txt
|
122
|
-
*/
|
123
|
-
var r=new WeakMap,o=function(t){return function(){var e=t.apply(void 0,arguments);return r.set(e,!0),e}},i=function(t){return"function"==typeof t&&r.has(t)}},331:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));
|
124
|
-
/**
|
125
|
-
* @license
|
126
|
-
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
127
|
-
* This code may only be used under the BSD style license found at
|
128
|
-
* http://polymer.github.io/LICENSE.txt
|
129
|
-
* The complete set of authors may be found at
|
130
|
-
* http://polymer.github.io/AUTHORS.txt
|
131
|
-
* The complete set of contributors may be found at
|
132
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
133
|
-
* Code distributed by Google as part of the polymer project is also
|
134
|
-
* subject to an additional IP rights grant found at
|
135
|
-
* http://polymer.github.io/PATENTS.txt
|
136
|
-
*/
|
137
|
-
var r={},o={}},332:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(324),o=n(323);function i(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(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 u(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=a(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,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return c(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)?c(t,e):void 0}}function c(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 s(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)}}
|
138
|
-
/**
|
139
|
-
* @license
|
140
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
141
|
-
* This code may only be used under the BSD style license found at
|
142
|
-
* http://polymer.github.io/LICENSE.txt
|
143
|
-
* The complete set of authors may be found at
|
144
|
-
* http://polymer.github.io/AUTHORS.txt
|
145
|
-
* The complete set of contributors may be found at
|
146
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
147
|
-
* Code distributed by Google as part of the polymer project is also
|
148
|
-
* subject to an additional IP rights grant found at
|
149
|
-
* http://polymer.github.io/PATENTS.txt
|
150
|
-
*/
|
151
|
-
var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}var e,n,a;return e=t,(n=[{key:"update",value:function(t){var e,n=0,r=u(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=u(this.__parts);try{for(a.s();!(i=a.n()).done;){var c=i.value;void 0!==c&&c.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=r.a?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],u=this.template.parts,a=document.createTreeWalker(e,133,null,!1),c=0,s=0,l=a.nextNode();c<u.length;)if(t=u[c],Object(o.d)(t)){for(;s<t.index;)s++,"TEMPLATE"===l.nodeName&&(n.push(l),a.currentNode=l.content),null===(l=a.nextNode())&&(a.currentNode=n.pop(),l=a.nextNode());if("node"===t.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(l.previousSibling),this.__parts.push(f)}else{var p;(p=this.__parts).push.apply(p,i(this.processor.handleAttributeExpressions(l,t.name,t.strings,this.options)))}c++}else this.__parts.push(void 0),c++;return r.a&&(document.adoptNode(e),customElements.upgrade(e)),e}}])&&s(e.prototype,n),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}()},333:function(t,e,n){"use strict";n.d(e,"c",(function(){return I})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return B})),n.d(e,"d",(function(){return f.d})),n.d(e,"b",(function(){return J})),n.d(e,"a",(function(){return ot}));var r=n(324),o=n(323);function i(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,133,null,!1),i=a(r),u=r[i],c=-1,s=0,l=[],f=null;o.nextNode();){c++;var p=o.currentNode;for(p.previousSibling===f&&(f=null),e.has(p)&&(l.push(p),null===f&&(f=p)),null!==f&&s++;void 0!==u&&u.index===c;)u.index=null!==f?-1:u.index-s,u=r[i=a(r,i)]}l.forEach((function(t){return t.parentNode.removeChild(t)}))}var u=function(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<t.length;n++){var r=t[n];if(Object(o.d)(r))return n}return-1};var c=n(329),s=n(327),l=n(332),f=n(322);function p(t){return(p="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)}
|
152
|
-
/**
|
153
|
-
* @license
|
154
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
155
|
-
* This code may only be used under the BSD style license found at
|
156
|
-
* http://polymer.github.io/LICENSE.txt
|
157
|
-
* The complete set of authors may be found at
|
158
|
-
* http://polymer.github.io/AUTHORS.txt
|
159
|
-
* The complete set of contributors may be found at
|
160
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
161
|
-
* Code distributed by Google as part of the polymer project is also
|
162
|
-
* subject to an additional IP rights grant found at
|
163
|
-
* http://polymer.github.io/PATENTS.txt
|
164
|
-
*/var h=function(t,e){return"".concat(t,"--").concat(e)},d=!0;void 0===window.ShadyCSS?d=!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."),d=!1);var y=function(t){return function(e){var n=h(e.type,t),r=s.a.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},s.a.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var u=e.strings.join(o.f);if(void 0===(i=r.keyString.get(u))){var a=e.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,t),i=new o.a(e,a),r.keyString.set(u,i)}return r.stringsArray.set(e.strings,i),i}},v=["html","svg"],b=new Set,m=function(t,e,n){b.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),c=o.length;if(0!==c){for(var l=document.createElement("style"),f=0;f<c;f++){var p=o[f];p.parentNode.removeChild(p),l.textContent+=p.textContent}!function(t){v.forEach((function(e){var n=s.a.get(h(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)})),i(t,n)}))}))}(t);var d=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,133,null,!1),c=a(o),s=0,l=-1;i.nextNode();){l++;var f=i.currentNode;for(f===n&&(s=u(e),n.parentNode.insertBefore(e,n));-1!==c&&o[c].index===l;){if(s>0){for(;-1!==c;)o[c].index+=s,c=a(o,c);return}c=a(o,c)}}else r.appendChild(e)}(n,l,d.firstChild):d.insertBefore(l,d.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var y=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==y)e.insertBefore(y.cloneNode(!0),e.firstChild);else if(n){d.insertBefore(l,d.firstChild);var m=new Set;m.add(l),i(n,m)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};function g(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||w(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 w(t,e){if(t){if("string"==typeof t)return _(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)?_(t,e):void 0}}function _(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 S(t){return(S="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 O(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function j(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 P(t,e){if(e&&("object"===S(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function k(t){var e="function"==typeof Map?new Map:void 0;return(k=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 x(t,arguments,T(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),E(r,t)})(t)}function x(t,e,n){return(x=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&E(o,n.prototype),o}).apply(null,arguments)}function C(){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 E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
|
165
|
-
/**
|
166
|
-
* @license
|
167
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
168
|
-
* This code may only be used under the BSD style license found at
|
169
|
-
* http://polymer.github.io/LICENSE.txt
|
170
|
-
* The complete set of authors may be found at
|
171
|
-
* http://polymer.github.io/AUTHORS.txt
|
172
|
-
* The complete set of contributors may be found at
|
173
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
174
|
-
* Code distributed by Google as part of the polymer project is also
|
175
|
-
* subject to an additional IP rights grant found at
|
176
|
-
* http://polymer.github.io/PATENTS.txt
|
177
|
-
*/window.JSCompiler_renameProperty=function(t,e){return t};var A={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}},N=function(t,e){return e!==t&&(e==e||t==t)},R={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:N},V=function(t){!function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&E(t,e)}(s,t);var e,n,r,o,i,u,a,c=(e=s,n=C(),function(){var t,r=T(e);if(n){var o=T(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return P(this,t)});function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this)).initialize(),t}return r=s,o=[{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]:R,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:(u=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]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=u.apply(t,e);function i(t){O(o,n,r,i,a,"next",t)}function a(t){O(o,n,r,i,a,"throw",t)}i(void 0)}))},function(){return a.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.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){}}],i=[{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 e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"===S(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{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)||R}},{key:"finalize",value:function(){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,n=this.properties,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=w(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,u=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}([].concat(g(Object.getOwnPropertyNames(n)),g("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]:N;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||A,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||A.toAttribute)(t,n)}}}],o&&j(r.prototype,o),i&&j(r,i),Object.defineProperty(r,"prototype",{writable:!1}),s}(k(HTMLElement));function U(t){return(U="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)}
|
178
|
-
/**
|
179
|
-
* @license
|
180
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
181
|
-
* This code may only be used under the BSD style license found at
|
182
|
-
* http://polymer.github.io/LICENSE.txt
|
183
|
-
* The complete set of authors may be found at
|
184
|
-
* http://polymer.github.io/AUTHORS.txt
|
185
|
-
* The complete set of contributors may be found at
|
186
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
187
|
-
* Code distributed by Google as part of the polymer project is also
|
188
|
-
* subject to an additional IP rights grant found at
|
189
|
-
* http://polymer.github.io/PATENTS.txt
|
190
|
-
*/V.finalized=!0;var I=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function M(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}function B(t,e){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var i=void 0!==r?r:n.key,u="symbol"===U(i)?Symbol():"__".concat(i);o.get=function(){return void 0===this[u]&&(this[u]=this.renderRoot.querySelector(t)),this[u]}}return void 0!==r?q(o,n,r):z(o,n)}}var q=function(t,e,n){Object.defineProperty(e,n,t)},z=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}};var F=Element.prototype;F.msMatchesSelector||F.webkitMatchesSelector;function L(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)}}
|
191
|
-
/**
|
192
|
-
@license
|
193
|
-
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
194
|
-
This code may only be used under the BSD style license found at
|
195
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
196
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
197
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
198
|
-
part of the polymer project is also subject to an additional IP rights grant
|
199
|
-
found at http://polymer.github.io/PATENTS.txt
|
200
|
-
*/
|
201
|
-
var D=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,H=Symbol(),$=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n!==H)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}var e,n,r;return e=t,(n=[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(D?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}])&&L(e.prototype,n),r&&L(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),W=function(t){if(t instanceof $)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."))},J=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+W(n)+t[r+1]}),t[0]);return new $(o,H)};function Z(t){return(Z="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 G(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K(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 Q(){return(Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=X(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}}).apply(this,arguments)}function X(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nt(t)););return t}function Y(t,e){return(Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){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}}();return function(){var n,r=nt(t);if(e){var o=nt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){if(e&&("object"===Z(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
|
202
|
-
/**
|
203
|
-
* @license
|
204
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
205
|
-
* This code may only be used under the BSD style license found at
|
206
|
-
* http://polymer.github.io/LICENSE.txt
|
207
|
-
* The complete set of authors may be found at
|
208
|
-
* http://polymer.github.io/AUTHORS.txt
|
209
|
-
* The complete set of contributors may be found at
|
210
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
211
|
-
* Code distributed by Google as part of the polymer project is also
|
212
|
-
* subject to an additional IP rights grant found at
|
213
|
-
* http://polymer.github.io/PATENTS.txt
|
214
|
-
*/(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");var rt={},ot=function(t){!function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Y(t,e)}(i,t);var e,n,r,o=tt(i);function i(){return G(this,i),o.apply(this,arguments)}return e=i,r=[{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&&!D){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new $(String(e),H)}return t}))}}}],(n=[{key:"initialize",value:function(){Q(nt(i.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(this.constructor.shadowRootOptions)}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?D?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(){Q(nt(i.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,n=this.render();Q(nt(i.prototype),"update",this).call(this,t),n!==rt&&this.constructor.render(n,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 rt}}])&&K(e.prototype,n),r&&K(e,r),Object.defineProperty(e,"prototype",{writable:!1}),i}(V);ot.finalized=!0,ot.render=function(t,e,n){if(!n||"object"!==p(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var o=n.scopeName,i=c.a.has(e),u=d&&11===e.nodeType&&!!e.host,a=u&&!b.has(o),s=a?document.createDocumentFragment():e;if(Object(c.b)(t,s,Object.assign({templateFactory:y(o)},n)),a){var f=c.a.get(s);c.a.delete(s);var h=f.value instanceof l.a?f.value.template:void 0;m(o,s,h),Object(r.b)(e,e.firstChild),e.appendChild(s),c.a.set(e,f)}!i&&u&&window.ShadyCSS.styleElement(e.host)},ot.shadowRootOptions={mode:"open"}},334:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(325),o=n(11),i=n(9);function u(t){return t<=0?function(){return r.a}:Object(o.a)((function(e,n){var r=0;e.subscribe(new i.a(n,(function(e){++r<=t&&(n.next(e),t<=r&&n.complete())})))}))}},339:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(1),o=n(67),i=n(334),u=n(328),a=n(58),c=n(11);function s(t){void 0===t&&(t={});var e=t.connector,n=void 0===e?function(){return new u.a}:e,r=t.resetOnError,i=void 0===r||r,s=t.resetOnComplete,f=void 0===s||s,p=t.resetOnRefCountZero,h=void 0===p||p;return function(t){var e=null,r=null,u=null,s=0,p=!1,d=!1,y=function(){null==r||r.unsubscribe(),r=null},v=function(){y(),e=u=null,p=d=!1},b=function(){var t=e;v(),null==t||t.unsubscribe()};return Object(c.a)((function(t,c){s++,d||p||y();var m=u=null!=u?u:n();c.add((function(){0!==--s||d||p||(r=l(b,h))})),m.subscribe(c),e||(e=new a.a({next:function(t){return m.next(t)},error:function(t){d=!0,y(),r=l(v,i,t),m.error(t)},complete:function(){p=!0,y(),r=l(v,f),m.complete()}}),Object(o.a)(t).subscribe(e))}))(t)}}function l(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return!0===e?(t(),null):!1===e?null:e.apply(void 0,Object(r.k)([],Object(r.j)(n))).pipe(Object(i.a)(1)).subscribe((function(){return t()}))}},340:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(48);function o(t){return Object(r.a)((function(){return t}))}},341:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(122),o=n(51),i=n(11);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(o.c)(t);return Object(i.a)((function(e,o){(n?Object(r.a)(t,e,n):Object(r.a)(t,e)).subscribe(o)}))}},342:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(118),o=n(15),i=n(325),u=n(51),a=n(67);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(u.c)(t),c=Object(u.a)(t,1/0),s=t;return s.length?1===s.length?Object(o.a)(s[0]):Object(r.a)(c)(Object(a.a)(s,n)):i.a}},343:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(11),o=n(9);function i(){return Object(r.a)((function(t,e){var n,r=!1;t.subscribe(new o.a(e,(function(t){var o=n;n=t,r&&e.next([o,t]),r=!0})))}))}},357:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(8),o=n(121),i=n(151);function u(t,e,n){void 0===t&&(t=0),void 0===n&&(n=o.a);var u=-1;return null!=e&&(Object(i.a)(e)?n=e:u=e),new r.a((function(e){var r,o=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;o<0&&(o=0);var i=0;return n.schedule((function(){e.closed||(e.next(i++),0<=u?this.schedule(void 0,u):e.complete())}),o)}))}},358:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(39),o=n(11),i=n(9);function u(t,e){return void 0===e&&(e=r.a),t=null!=t?t:a,Object(o.a)((function(n,r){var o,u=!0;n.subscribe(new i.a(r,(function(n){var i=e(n);!u&&t(o,i)||(u=!1,o=i,r.next(n))})))}))}function a(t,e){return t===e}},359:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(8),o=n(15);function i(t){return new r.a((function(e){Object(o.a)(t()).subscribe(e)}))}},360:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(11);function o(t){return Object(r.a)((function(e,n){try{e.subscribe(n)}finally{n.add(t)}}))}},361:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(11),o=n(9),i=n(15),u=n(33);function a(t){return Object(r.a)((function(e,n){Object(i.a)(t).subscribe(new o.a(n,(function(){return n.complete()}),u.a)),!n.closed&&e.subscribe(n)}))}},362:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1),o=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return Object(r.h)(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.closed&&e.next(this._value),n},e.prototype.getValue=function(){var t=this.hasError,e=this.thrownError,n=this._value;if(t)throw e;return this._throwIfClosed(),n},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(n(328).a)}}]);
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.1.6 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{336:function(t,e){function r(t){return(r="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)}var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(o=window)}t.exports=o},351:function(t,e,r){"use strict";function o(t){return(o="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)}var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n,i="URLSearchParams"in n,s="Symbol"in n&&"iterator"in Symbol,a="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),u="FormData"in n,c="ArrayBuffer"in n;if(c)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(t){return t&&f.indexOf(Object.prototype.toString.call(t))>-1};function h(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function y(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function v(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function w(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:a&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:u&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():c&&a&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=w(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(t)||l(t))?this._bodyArrayBuffer=w(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=b(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(v)}),this.text=function(){var t,e,r,o=b(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=m(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,e){t=h(t),e=y(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},d.prototype.delete=function(t){delete this.map[h(t)]},d.prototype.get=function(t){return t=h(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(h(t))},d.prototype.set=function(t,e){this.map[h(t)]=y(e)},d.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),p(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),p(t)},s&&(d.prototype[Symbol.iterator]=d.prototype.entries);var O=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(t,e){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o,n=(e=e||{}).body;if(t instanceof _){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=e.method||this.method||"GET",o=r.toUpperCase(),O.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},g.call(_.prototype),g.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var T=[301,302,303,307,308];A.redirect=function(t,e){if(-1===T.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})};var P=n.DOMException;try{new P}catch(t){(P=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),P.prototype.constructor=P}function R(t,e){return new Promise((function(r,i){var s=new _(t,e);if(s.signal&&s.signal.aborted)return i(new P("Aborted","AbortError"));var u=new XMLHttpRequest;function f(){u.abort()}u.onload=function(){var t,e,o={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};o.url="responseURL"in u?u.responseURL:o.headers.get("X-Request-URL");var n="response"in u?u.response:u.responseText;setTimeout((function(){r(new A(n,o))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new P("Aborted","AbortError"))}),0)},u.open(s.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?u.withCredentials=!0:"omit"===s.credentials&&(u.withCredentials=!1),"responseType"in u&&(a?u.responseType="blob":c&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!e||"object"!==o(e.headers)||e.headers instanceof d?s.headers.forEach((function(t,e){u.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){u.setRequestHeader(t,y(e.headers[t]))})),s.signal&&(s.signal.addEventListener("abort",f),u.onreadystatechange=function(){4===u.readyState&&s.signal.removeEventListener("abort",f)}),u.send(void 0===s._bodyInit?null:s._bodyInit)}))}R.polyfill=!0,n.fetch||(n.fetch=R,n.Headers=d,n.Request=_,n.Response=A)},352:function(t,e,r){(function(o){var n,i;function s(t){return(s="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)}void 0===(i="function"==typeof(n=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?a(t):e}function c(t){var e=function(){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}}();return function(){var r,o=n(t);if(e){var i=n(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return u(this,r)}}function f(t,e,r){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var l=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,r){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:r})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],o=0,n=r.length;o<n;o++)if(r[o].callback===e)return void r.splice(o,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,o=e.length;r<o;r++){var n=e[r];try{n.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}n.options&&n.options.once&&this.removeEventListener(t.type,n.callback)}return!t.defaultPrevented}}}]),e}(),h=function(e){!function(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&&i(t,e)}(s,e);var o=c(s);function s(){var e;return t(this,s),(e=o.call(this)).listeners||l.call(a(e)),Object.defineProperty(a(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(a(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(s,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),f(n(s.prototype),"dispatchEvent",this).call(this,t)}}]),s}(l),y=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function p(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(y.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(p(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,o=e.Request,n=void 0===o?r.Request:o,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!p({fetch:r,Request:n,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=n;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var o=new n(t,e);return r&&Object.defineProperty(o,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),o}).prototype=n.prototype);var c=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var o;try{o=new DOMException("Aborted","AbortError")}catch(t){(o=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(o);var n=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(o)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([n,c(t,e)])}return c(t,e)},Request:u}}(t),r=e.fetch,o=e.Request;t.fetch=r,t.Request=o,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:y}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:h})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:o)})?n.call(e,r,e,t):n)||(t.exports=i)}).call(this,r(336))}}]);
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* __ __ __ __
|
3
|
-
* /\ \/\ \ /\ \ __ /\ \
|
4
|
-
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
-
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
-
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
-
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
-
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
-
* /\___/ \ \____/
|
10
|
-
* \/__/ \/___/
|
11
|
-
*
|
12
|
-
* Powered by Hydejack v9.1.6 <https://hydejack.com/>
|
13
|
-
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{335:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=Array.isArray;function o(e){return 1===e.length&&n(e[0])?e[0]:e}},356:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return rt}));var n,o=r(1),i=r(333),c=r(328),a=r(318),u=r(342),l=r(154),s=r(150),f=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Object(o.h)(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=s.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(s.a.cancelAnimationFrame(r),t._scheduled=void 0)},t}(l.a),p=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.h)(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(155).a))(f),h=r(359),b=r(362),y=r(48),O=r(156),d=r(160),j=r(341),v=r(343),m=r(339),w=r(88),g=r(340),S=r(358),P=r(157),k=r(159),E=r(363),A=r(361),R=r(320);function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return null!=e&&(e.protocol!==t.protocol||e.host!==t.host)}function T(e){return e&&""===e.target}function C(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!(i||c||!T(n)||L(r,t))}function I(e,t){var r=e.url;return!(!T(e.anchor)||L(r,t)||function(e){var t=e.hash,r=e.origin,n=e.pathname,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==t&&r===o.origin&&n===o.pathname}(r,t))}function M(e){var t=e.cause,r=e.url,o=r.pathname,i=r.hash,c=e.oldURL;return o===(null==c?void 0:c.pathname)&&(t===n.Pop||t===n.Push&&""!==i)}!function(e){e.Init="init",e.Hint="hint",e.Push="push",e.Pop="pop"}(n||(n={}));var q=r(116),H=r(364),N=r(334);function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var B=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"fetchPage",value:function(e){return Object(R.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(P.a)((function(e){return e.text()})),Object(y.a)((function(t){return W(W({},e),{},{responseText:t})})),Object(E.a)((function(t){return Object(q.a)(W(W({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(q.a)(t):r.pipe(Object(N.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(H.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(y.a)((function(e){return W(W({},U(e,1)[0]),t)})))}}])&&$(t.prototype,r),n&&$(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),F=r(67),V=r(319),J=r(360);function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){Q(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Z=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"scriptSelector",get:function(){return this.parent.scriptSelector}},{key:"removeScriptTags",value:function(e){var t=this,r=[];return e.forEach((function(e){e&&t.scriptSelector&&e.querySelectorAll(t.scriptSelector).forEach((function(e){if(e instanceof HTMLScriptElement){var t=[function(e){var t=document.createElement("script");return Array.from(e.attributes).forEach((function(e){return t.setAttributeNode(e.cloneNode())})),t.innerHTML=e.innerHTML,t}(e),e];r.push(t)}}))})),r}},{key:"reinsertScriptTags",value:function(e){var t=this;if(!this.scriptSelector)return Promise.resolve(e);var r=e.scripts,n=document.write;return Object(F.a)(r).pipe(Object(V.a)((function(e){return t.insertScript(e)})),Object(E.a)((function(t){return Object(q.a)(G(G({},e),{},{error:t}))})),Object(J.a)((function(){return document.write=n})),Object(g.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=K(e,2),r=t[0],n=t[1];return document.write=function(){for(var e=document.createElement("div"),t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e.innerHTML=r.join(),Array.from(e.childNodes).forEach((function(e){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.insertBefore(e,n)}))},new Promise((function(e,t){var o,i;""!==r.src?(r.addEventListener("load",e),r.addEventListener("error",t),null===(o=n.parentNode)||void 0===o||o.replaceChild(r,n)):(null===(i=n.parentNode)||void 0===i||i.replaceChild(r,n),e({}))}))}}])&&Y(t.prototype,r),n&&Y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ee(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(te("href",t)),e.querySelectorAll("[src]").forEach(te("src",t)),e.querySelectorAll("img[srcset]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/\s*,\s*/).map((function(e){var r=e.split(/\s+/);return r[0]=new URL(r[0],t).href,r.join(" ")})).join(", "))}catch(e){}}}("srcset",t)),e.querySelectorAll("blockquote[cite]").forEach(te("cite",t)),e.querySelectorAll("del[cite]").forEach(te("cite",t)),e.querySelectorAll("ins[cite]").forEach(te("cite",t)),e.querySelectorAll("q[cite]").forEach(te("cite",t)),e.querySelectorAll("img[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(te("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(te("usemap",t)),e.querySelectorAll("input[usemap]").forEach(te("usemap",t)),e.querySelectorAll("object[usemap]").forEach(te("usemap",t)),e.querySelectorAll("form[action]").forEach(te("action",t)),e.querySelectorAll("button[formaction]").forEach(te("formaction",t)),e.querySelectorAll("input[formaction]").forEach(te("formaction",t)),e.querySelectorAll("video[poster]").forEach(te("poster",t)),e.querySelectorAll("object[data]").forEach(te("data",t)),e.querySelectorAll("object[codebase]").forEach(te("codebase",t)),e.querySelectorAll("object[archive]").forEach(function(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,n.split(/[\s,]+/).map((function(e){return new URL(e,t).href})).join(", "))}catch(e){}}}("archive",t)))}))}function te(e,t){return function(r){try{var n=r.getAttribute(e);if(null==n)return;r.setAttribute(e,new URL(n,t).href)}catch(e){}}}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ue=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.scriptManager=new Z(t)}var t,r,n;return t=e,(r=[{key:"el",get:function(){return this.parent}},{key:"replaceSelector",get:function(){return this.parent.replaceSelector}},{key:"scriptSelector",get:function(){return this.parent.scriptSelector}},{key:"getReplaceElements",value:function(e){if(this.replaceSelector)return this.replaceSelector.split(",").map((function(t){return e.querySelector(t)}));if(this.el.id)return[e.getElementById(this.el.id)];var t=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[e.getElementsByTagName(this.el.tagName)[t]]}},{key:"responseToContent",value:function(e){var t=e.responseText,r=(new DOMParser).parseFromString(t,"text/html"),n=r.title,o=void 0===n?"":n,i=this.getReplaceElements(r);if(i.every((function(e){return null==e})))throw new Error("Couldn't find any element in the document at '".concat(location,"'."));var c=this.scriptSelector?this.scriptManager.removeScriptTags(i):[];return ie(ie({},e),{},{document:r,title:o,replaceEls:i,scripts:c})}},{key:"replaceContentWithSelector",value:function(e,t){e.split(",").map((function(e){return document.querySelector(e)})).forEach((function(e,r){var n,o=t[r];o&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.replaceChild(o,e))}))}},{key:"replaceContentWholesale",value:function(e){var t=re(e,1)[0];t&&(this.el.innerHTML=t.innerHTML)}},{key:"replaceContent",value:function(e){this.replaceSelector?this.replaceContentWithSelector(this.replaceSelector,e):this.replaceContentWholesale(e)}},{key:"replaceHead",value:function(e){var t=this.el.ownerDocument.head,r=t.querySelector("link[rel=canonical]"),n=e.head.querySelector("link[rel=canonical]");r&&n&&(r.href=n.href);var o=t.querySelector("meta[name=description]"),i=e.head.querySelector("meta[name=description]");o&&i&&(o.content=i.content)}},{key:"updateDOM",value:function(e){try{var t=e.replaceEls,r=e.document;L(this.parent)&&ee(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw ie(ie({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}}])&&ae(t.prototype,r),n&&ae(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),le=r(50),se=r(118);function fe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var pe=function(e){return Array.prototype.concat.apply([],e)},he=function(e){return{addedNodes:new Set(pe(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(pe(e.map((function(e){return Array.from(e.removedNodes)}))))}},be=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,(r=[{key:"setupEventListeners",value:function(){var e=this,t=Object(a.a)(this.el,"click").pipe(Object(y.a)((function(t){var r=Object(R.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(O.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(q.a)(e):Object(F.a)(e.querySelectorAll(t)).pipe(Object(O.a)((function(e){return e instanceof HTMLAnchorElement})))};return{hintEvent$:this.$.linkSelector.pipe(Object(P.a)((function(t){var n=new Map,o=function(e){n.has(e)||n.set(e,function(e){return Object(u.a)(Object(a.a)(e,"mouseenter",{passive:!0}),Object(a.a)(e,"touchstart",{passive:!0}),Object(a.a)(e,"focus",{passive:!0})).pipe(Object(y.a)((function(t){return[t,e]})))}(e))},i=function(e){n.delete(e)};return Object(R.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(j.a)({addedNodes:[e.el],removedNodes:[]}),Object(R.c)(500),Object(y.a)(he),Object(P.a)((function(e){var c=e.addedNodes,a=e.removedNodes;return Object(F.a)(a).pipe(Object(O.a)((function(e){return e instanceof Element})),Object(le.a)((function(e){return r(e,t)})),Object(d.a)(i)).subscribe(),Object(F.a)(c).pipe(Object(O.a)((function(e){return e instanceof Element})),Object(le.a)((function(e){return r(e,t)})),Object(d.a)(o)).subscribe(),Object(F.a)(n.values()).pipe(Object(se.a)())})),Object(R.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&fe(t.prototype,r),n&&fe(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){de(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function je(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ve=function(e){return new Promise((function(t){return setTimeout(t,e)}))},me=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t}var t,r,n;return t=e,(r=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=ve(this.parent.duration),this.parent.fireEvent("start",{detail:Oe(Oe({},e),{},{transitionUntil:function(e){t.parent.animPromise=Promise.all([t.parent.animPromise,e])}})})}},{key:"emitDOMError",value:function(e){var t=location.href;window.history.back(),setTimeout((function(){return document.location.assign(t)}),100)}},{key:"emitNetworkError",value:function(e){this.parent.fireEvent("networkerror",{detail:e})}},{key:"emitError",value:function(e){this.parent.fireEvent("error",{detail:e})}},{key:"emitReady",value:function(e){this.parent.fireEvent("ready",{detail:e})}},{key:"emitAfter",value:function(e){var t=this;this.parent.fadePromise=ve(this.parent.duration),this.parent.fireEvent("after",{detail:Oe(Oe({},e),{},{transitionUntil:function(e){t.parent.fadePromise=Promise.all([t.parent.fadePromise,e])}})})}},{key:"emitProgress",value:function(e){this.parent.fireEvent("progress",{detail:e})}},{key:"emitLoad",value:function(e){this.parent.fireEvent("load",{detail:e})}}])&&je(t.prototype,r),n&&je(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}window.HashChangeEvent=window.HashChangeEvent||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.oldURL,n=void 0===r?"":r,o=t.newURL,i=void 0===o?"":o,c=new CustomEvent(e);return c.oldURL=n,c.newURL=i,c};var ke=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.updateHistoryScrollPosition=function(){if(!L(r.parent)){var e=r.assignScrollPosition(history.state||{});history.replaceState(e,document.title)}},this.parent=t}var t,r,o;return t=e,(r=[{key:"updateHistoryState",value:function(e){var t=e.cause,r=e.replace,o=e.url,i=e.oldURL;if(!L(this.parent))switch(t){case n.Init:case n.Push:var c=this.parent.histId;if(r||o.href===location.href){var a=ge(ge({},history.state),{},Se({},c,{}));history.replaceState(a,document.title,o.href)}else history.pushState(Se({},c,{}),document.title,o.href);case n.Pop:this.parent.simulateHashChange&&i&&function(e,t){e.hash!==t.hash&&window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:e.href,oldURL:t.href}))}(o,i)}}},{key:"updateTitle",value:function(e){var t=e.cause,r=e.title;document.title=r,L(this.parent)||t!==n.Push||history.replaceState(history.state,r)}},{key:"assignScrollPosition",value:function(e){var t=this.parent.histId;return ge(ge({},e),{},Se({},t,ge(ge({},e[t]),{},{scrollTop:Object(R.j)(),scrollHeight:Object(R.i)()})))}}])&&Pe(t.prototype,r),o&&Pe(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ae,Re,Le,Te,Ce,Ie,Me,qe,He,Ne,Ue,De,xe,We=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,"scrollRestoration"in history&&(history.scrollRestoration="manual")}var t,r,o;return t=e,(r=[{key:"manageScrollPosition",value:function(e){var t=e.cause,r=e.url.hash;switch(t){case n.Push:this.scrollHashIntoView(r,{behavior:"smooth",block:"start",inline:"nearest"});break;case n.Pop:this.restoreScrollPosition();break;case n.Init:this.restoreScrollPositionOnReload()}}},{key:"elementFromHash",value:function(e){return document.getElementById(decodeURIComponent(e.substr(1)))}},{key:"scrollHashIntoView",value:function(e,t){if(e){var r=this.elementFromHash(e);r&&r.scrollIntoView(t)}else window.scroll(window.pageXOffset,0)}},{key:"restoreScrollPosition",value:function(){var e=this.parent.histId,t=(history.state&&history.state[e]||{}).scrollTop;null!=t&&window.scroll(window.pageXOffset,t)}},{key:"restoreScrollPositionOnReload",value:function(){var e=this,t=this.parent.histId;history.state&&history.state[t]&&0===Object(R.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&Ee(t.prototype,r),o&&Ee(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function _e(e){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e){return function(e){if(Array.isArray(e))return Ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Fe(e)||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 Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],c=!0,a=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(a)throw o}}return i}(e,t)||Fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){if(e){if("string"==typeof e)return Ve(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ve(e,t):void 0}}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xe(){return(Xe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=ze(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(this,arguments)}function ze(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=et(e)););return e}function Ge(e,t){return(Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(){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(e){return!1}}();return function(){var r,n=et(e);if(t){var o=et(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ye(this,r)}}function Ye(e,t){if(t&&("object"===_e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ze(e)}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
|
15
|
-
/**
|
16
|
-
* Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
17
|
-
*
|
18
|
-
* This program is free software: you can redistribute it and/or modify
|
19
|
-
* it under the terms of the GNU General Public License as published by
|
20
|
-
* the Free Software Foundation, either version 3 of the License, or
|
21
|
-
* (at your option) any later version.
|
22
|
-
*
|
23
|
-
* This program is distributed in the hope that it will be useful,
|
24
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26
|
-
* GNU General Public License for more details.
|
27
|
-
*
|
28
|
-
* You should have received a copy of the GNU General Public License
|
29
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
30
|
-
*
|
31
|
-
* @license
|
32
|
-
* @nocompile
|
33
|
-
*/
|
34
|
-
function tt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ge(e,t)}(s,e);var t,r,i,l=Qe(s);function s(){var e;return Je(this,s),(e=l.apply(this,arguments)).el=Ze(e),e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,Ae.set(Ze(e),Object(R.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),Re.set(Ze(e),new We(Ze(e))),Le.set(Ze(e),new ke(Ze(e))),Te.set(Ze(e),new B(Ze(e))),Ce.set(Ze(e),new ue(Ze(e))),Ie.set(Ze(e),new me(Ze(e))),Me.set(Ze(e),new URL(e.baseURL)),qe.set(Ze(e),(function(t,r){var n=new URL(Object(o.e)(Ze(e),Me,"f").href);n[t]=r,e.assign(n.href)})),He.set(Ze(e),0),Ne.set(Ze(e),new c.a),Ue.set(Ze(e),(function(t){L(Object(R.k)(t.target,"a[href]"))&&Object(o.e)(Ze(e),Le,"f").updateHistoryScrollPosition()})),De.set(Ze(e),void 0),xe.set(Ze(e),(function(){var t=e.setupEventListeners(),r=t.pushEvent$,i=t.hintEvent$,c=r.pipe(Object(y.a)((function(t){var r=Be(t,2),i=r[0],c=r[1];return{cause:n.Push,url:new URL(c.href,e.href),anchor:c,event:i,cacheNr:Object(o.e)(Ze(e),He,"f")}})),Object(O.a)((function(t){return C(t,Ze(e))})),Object(d.a)((function(t){t.event.preventDefault(),Object(o.e)(Ze(e),Le,"f").updateHistoryScrollPosition()}))),l=Object(a.a)(window,"popstate").pipe(Object(O.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(y.a)((function(t){return{cause:n.Pop,url:new URL(window.location.href),cacheNr:Object(o.e)(Ze(e),He,"f"),event:t}}))),s=Object(o.e)(Ze(e),Ne,"f"),f=Object(u.a)(c,l,s).pipe(Object(j.a)({url:new URL(window.location.href)}),Object(v.a)(),Object(y.a)((function(e){var t=Be(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(m.a)()),b=f.pipe(Object(O.a)((function(e){return!M(e)})),Object(m.a)()),L=f.pipe(Object(O.a)((function(e){return M(e)})),Object(O.a)((function(){return history.state&&history.state[e.histId]})),Object(w.a)(p),Object(d.a)((function(t){Object(o.e)(Ze(e),Le,"f").updateHistoryState(t),Object(o.e)(Ze(e),Re,"f").manageScrollPosition(t)}))),T=Object(h.a)((function(){return Object(u.a)(b.pipe(Object(g.a)(!0)),Object(o.e)(Ze(e),De,"f").pipe(Object(g.a)(!1)))})).pipe(Object(j.a)(!1)),q=i.pipe(Object(R.h)(T.pipe(Object(y.a)((function(e){return!e})))),Object(y.a)((function(t){var r=Be(t,2),i=r[0],c=r[1];return{cause:n.Hint,url:new URL(c.href,e.href),anchor:c,event:i,cacheNr:Object(o.e)(Ze(e),He,"f")}})),Object(O.a)((function(t){return I(t,Ze(e))}))),H=Object(u.a)(q,b).pipe(Object(S.a)((function(e,t){return tt(e,t)})),Object(P.a)((function(t){return Object(o.e)(Ze(e),Te,"f").fetchPage(t)})),Object(j.a)({url:{}}),Object(m.a)()),N=Object(o.f)(Ze(e),De,b.pipe(Object(d.a)((function(t){Object(o.e)(Ze(e),Ie,"f").onStart(t),Object(o.e)(Ze(e),Le,"f").updateHistoryState(t),Object(o.f)(Ze(e),Me,t.url,"f")})),Object(k.a)(H),Object(P.a)((function(t){var r;return(r=Object(o.e)(Ze(e),Te,"f")).getResponse.apply(r,[H].concat($e(t)))})),Object(m.a)()),"f"),U=N.pipe(Object(O.a)((function(e){return!e.error}))),D=N.pipe(Object(O.a)((function(e){return!!e.error}))),x=U.pipe(Object(y.a)((function(t){return Object(o.e)(Ze(e),Ce,"f").responseToContent(t)})),Object(d.a)((function(t){return Object(o.e)(Ze(e),Ie,"f").emitReady(t)})),Object(w.a)(p),Object(d.a)((function(t){Object(o.e)(Ze(e),Ce,"f").updateDOM(t),Object(o.e)(Ze(e),Le,"f").updateTitle(t),Object(o.e)(Ze(e),Ie,"f").emitAfter(t)})),Object(j.a)({cause:n.Init,url:Object(o.e)(Ze(e),Me,"f"),scripts:[]}),Object(w.a)(p),Object(d.a)((function(t){return Object(o.e)(Ze(e),Re,"f").manageScrollPosition(t)})),Object(d.a)({error:function(t){return Object(o.e)(Ze(e),Ie,"f").emitDOMError(t)}}),Object(E.a)((function(e,t){return t})),Object(P.a)((function(t){return e.fadePromise.then((function(){return t}))})),Object(P.a)((function(t){return Object(o.e)(Ze(e),Ce,"f").reinsertScriptTags(t)})),Object(d.a)({error:function(t){return Object(o.e)(Ze(e),Ie,"f").emitError(t)}}),Object(E.a)((function(e,t){return t})),Object(d.a)((function(t){return Object(o.e)(Ze(e),Ie,"f").emitLoad(t)}))),W=D.pipe(Object(d.a)((function(t){return Object(o.e)(Ze(e),Ie,"f").emitNetworkError(t)}))),_=b.pipe(Object(P.a)((function(t){return Object(h.a)((function(){return e.animPromise})).pipe(Object(A.a)(N),Object(g.a)(t))})),Object(d.a)((function(t){return Object(o.e)(Ze(e),Ie,"f").emitProgress(t)})));x.subscribe(),L.subscribe(),W.subscribe(),_.subscribe(),Object(o.e)(Ze(e),Ae,"f").resolve(Ze(e)),e.fireEvent("init")})),e}return t=s,(r=[{key:"createRenderRoot",value:function(){return this}},{key:"initialized",get:function(){return Object(o.e)(this,Ae,"f")}},{key:"hash",get:function(){return Object(o.e)(this,Me,"f").hash},set:function(e){Object(o.e)(this,qe,"f").call(this,"hash",e)}},{key:"host",get:function(){return Object(o.e)(this,Me,"f").host},set:function(e){Object(o.e)(this,qe,"f").call(this,"host",e)}},{key:"hostname",get:function(){return Object(o.e)(this,Me,"f").hostname},set:function(e){Object(o.e)(this,qe,"f").call(this,"hostname",e)}},{key:"href",get:function(){return Object(o.e)(this,Me,"f").href},set:function(e){Object(o.e)(this,qe,"f").call(this,"href",e)}},{key:"pathname",get:function(){return Object(o.e)(this,Me,"f").pathname},set:function(e){Object(o.e)(this,qe,"f").call(this,"pathname",e)}},{key:"port",get:function(){return Object(o.e)(this,Me,"f").port},set:function(e){Object(o.e)(this,qe,"f").call(this,"port",e)}},{key:"protocol",get:function(){return Object(o.e)(this,Me,"f").protocol},set:function(e){Object(o.e)(this,qe,"f").call(this,"protocol",e)}},{key:"search",get:function(){return Object(o.e)(this,Me,"f").search},set:function(e){Object(o.e)(this,qe,"f").call(this,"search",e)}},{key:"origin",get:function(){return Object(o.e)(this,Me,"f").origin}},{key:"ancestorOrigins",get:function(){return window.location.ancestorOrigins}},{key:"histId",get:function(){return this.id||this.tagName}},{key:"assign",value:function(e){var t;Object(o.e)(this,Ne,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,He,(t=Object(o.e)(this,He,"f"),++t),"f")})}},{key:"reload",value:function(){var e;Object(o.e)(this,Ne,"f").next({cause:n.Push,url:new URL(this.href),cacheNr:Object(o.f)(this,He,(e=Object(o.e)(this,He,"f"),++e),"f"),replace:!0})}},{key:"replace",value:function(e){var t;Object(o.e)(this,Ne,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,He,(t=Object(o.e)(this,He,"f"),++t),"f"),replace:!0})}},{key:"connectedCallback",value:function(){Xe(et(s.prototype),"connectedCallback",this).call(this),this.$={linkSelector:new b.a(this.linkSelector),prefetch:new b.a(this.prefetch)},window.addEventListener("beforeunload",Object(o.e)(this,Le,"f").updateHistoryScrollPosition),document.documentElement.addEventListener("click",Object(o.e)(this,Ue,"f")),this.updateComplete.then(Object(o.e)(this,xe,"f"))}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",Object(o.e)(this,Le,"f").updateHistoryScrollPosition),document.documentElement.removeEventListener("click",Object(o.e)(this,Ue,"f"))}}])&&Ke(t.prototype,r),i&&Ke(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(Object(R.b)(R.a,[be]));Ae=new WeakMap,Re=new WeakMap,Le=new WeakMap,Te=new WeakMap,Ce=new WeakMap,Ie=new WeakMap,Me=new WeakMap,qe=new WeakMap,He=new WeakMap,Ne=new WeakMap,Ue=new WeakMap,De=new WeakMap,xe=new WeakMap,Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"replace-selector"})],rt.prototype,"replaceSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"link-selector"})],rt.prototype,"linkSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"script-selector"})],rt.prototype,"scriptSelector",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0})],rt.prototype,"prefetch",void 0),Object(o.g)([Object(i.e)({type:Number,reflect:!0})],rt.prototype,"duration",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],rt.prototype,"simulateHashChange",void 0),Object(o.g)([Object(i.e)({type:String})],rt.prototype,"baseURL",void 0),Object(o.g)([Object(i.e)()],rt.prototype,"assign",null),Object(o.g)([Object(i.e)()],rt.prototype,"reload",null),Object(o.g)([Object(i.e)()],rt.prototype,"replace",null),rt=Object(o.g)([Object(i.c)("hy-push-state")],rt)},363:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(15),o=r(9),i=r(11);function c(e){return Object(i.a)((function(t,r){var i,a=null,u=!1;a=t.subscribe(new o.a(r,void 0,void 0,(function(o){i=Object(n.a)(e(o,c(e)(t))),a?(a.unsubscribe(),a=null,i.subscribe(r)):u=!0}))),u&&(a.unsubscribe(),a=null,i.subscribe(r))}))}},364:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),o=r(8),i=r(15),c=r(335),a=r(325),u=r(9),l=r(51);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),s=Object(c.a)(e);return s.length?new o.a((function(e){var t=s.map((function(){return[]})),o=s.map((function(){return!1}));e.add((function(){t=o=null}));for(var c=function(c){Object(i.a)(s[c]).subscribe(new u.a(e,(function(i){if(t[c].push(i),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Object(n.k)([],Object(n.j)(a))):a),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),(function(){o[c]=!0,!t[c].length&&e.complete()})))},a=0;!e.closed&&a<s.length;a++)c(a);return function(){t=o=null}})):a.a}},365:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(48),o=r(15),i=r(11),c=r(9);function a(e,t){return t?function(r){return r.pipe(a((function(r,i){return Object(o.a)(e(r,i)).pipe(Object(n.a)((function(e,n){return t(r,e,i,n)})))})))}:Object(i.a)((function(t,r){var n=0,i=null,a=!1;t.subscribe(new c.a(r,(function(t){i||(i=new c.a(r,void 0,(function(){i=null,a&&r.complete()})),Object(o.a)(e(t,n++)).subscribe(i))}),(function(){a=!0,!i&&r.complete()})))}))}}}]);
|