jekyll-theme-hydejack 9.1.9 → 9.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -90
  3. data/_config.yml +1 -4
  4. data/_includes/body/footer.html +1 -1
  5. data/_includes/body/index.html +1 -1
  6. data/_includes/body/scripts.html +2 -2
  7. data/_includes/head/meta-static.html +1 -1
  8. data/_includes/head/meta.html +8 -0
  9. data/_includes/head/styles-inline.html +1 -1
  10. data/_includes/head/styles-no-inline.html +1 -1
  11. data/_includes/header.txt +1 -1
  12. data/_includes/pro/dark-mode-fix.html +7 -0
  13. data/_includes/scripts/dark-mode-fix.js +10 -0
  14. data/_includes/scripts/dark-mode-fix.min.js +1 -0
  15. data/_includes/styles/inline.scss +6 -0
  16. data/_includes/styles/page-style.scss +9 -2
  17. data/_includes/styles/style.scss +10 -0
  18. data/_includes/styles/variables.scss +1 -1
  19. data/_includes/templates/index.html +3 -0
  20. data/_includes/templates/pro/dark-mode.html +6 -0
  21. data/_layouts/compress.html +1 -1
  22. data/_sass/_mixins.scss +1 -1
  23. data/_sass/html.scss +0 -2
  24. data/_sass/pooleparty/__link__/_code.scss +1 -0
  25. data/_sass/pooleparty/_code.pre.scss +1 -0
  26. data/_sass/pro/_dark-mode-dynamic-syntax.scss +9 -0
  27. data/_sass/pro/_dark-mode-dynamic.scss +20 -0
  28. data/_sass/pro/_dark-mode.scss +32 -0
  29. data/_sass/pro/_syntax-dark.scss +139 -0
  30. data/assets/icomoon/fonts/icomoon.eot +0 -0
  31. data/assets/icomoon/fonts/icomoon.svg +15 -1
  32. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  33. data/assets/icomoon/fonts/icomoon.woff +0 -0
  34. data/assets/icomoon/selection.json +1 -1
  35. data/assets/icomoon/style.css +48 -6
  36. data/assets/js/{LEGACY-clap-button-hydejack-9.1.9.js → LEGACY-clap-button-hydejack-9.2.0.js} +2 -2
  37. data/assets/js/{LEGACY-drawer-hydejack-9.1.9.js → LEGACY-drawer-hydejack-9.2.0.js} +2 -2
  38. data/assets/js/{LEGACY-fetch-hydejack-9.1.9.js → LEGACY-fetch-hydejack-9.2.0.js} +2 -2
  39. data/assets/js/LEGACY-hydejack-9.2.0.js +13 -0
  40. data/assets/js/{LEGACY-navbar-hydejack-9.1.9.js → LEGACY-navbar-hydejack-9.2.0.js} +2 -2
  41. data/assets/js/{LEGACY-push-state-hydejack-9.1.9.js → LEGACY-push-state-hydejack-9.2.0.js} +2 -2
  42. data/assets/js/{resize-observer-hydejack-9.1.9.js → LEGACY-resize-observer-hydejack-9.2.0.js} +2 -2
  43. data/assets/js/{LEGACY-shadydom-hydejack-9.1.9.js → LEGACY-shadydom-hydejack-9.2.0.js} +2 -2
  44. data/assets/js/{LEGACY-vendors~clap-button-hydejack-9.1.9.js → LEGACY-vendors~clap-button-hydejack-9.2.0.js} +2 -2
  45. data/assets/js/{LEGACY-vendors~drawer-hydejack-9.1.9.js → LEGACY-vendors~drawer-hydejack-9.2.0.js} +4 -4
  46. data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.9.js → LEGACY-vendors~drawer~push-state-hydejack-9.2.0.js} +13 -13
  47. data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.9.js → LEGACY-vendors~fetch-hydejack-9.2.0.js} +2 -2
  48. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.9.js → LEGACY-vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
  49. data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.9.js → LEGACY-vendors~push-state-hydejack-9.2.0.js} +3 -3
  50. data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.9.js → LEGACY-vendors~shadydom-hydejack-9.2.0.js} +2 -2
  51. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.9.js → LEGACY-vendors~webanimations-hydejack-9.2.0.js} +2 -2
  52. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.9.js → LEGACY-vendors~webcomponents-hydejack-9.2.0.js} +4 -4
  53. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.9.js → LEGACY-webcomponents-hydejack-9.2.0.js} +2 -2
  54. data/assets/js/clap-button-hydejack-9.2.0.js +14 -0
  55. data/assets/js/drawer-hydejack-9.2.0.js +14 -0
  56. data/assets/js/{shadydom-hydejack-9.1.9.js → fetch-hydejack-9.2.0.js} +2 -2
  57. data/assets/js/hydejack-9.2.0.js +13 -0
  58. data/assets/js/navbar-hydejack-9.2.0.js +14 -0
  59. data/assets/js/push-state-hydejack-9.2.0.js +14 -0
  60. data/assets/js/{LEGACY-resize-observer-hydejack-9.1.9.js → resize-observer-hydejack-9.2.0.js} +2 -2
  61. data/assets/js/{fetch-hydejack-9.1.9.js → shadydom-hydejack-9.2.0.js} +2 -2
  62. data/assets/js/{vendors~clap-button-hydejack-9.1.9.js → vendors~clap-button-hydejack-9.2.0.js} +2 -2
  63. data/assets/js/{vendors~drawer-hydejack-9.1.9.js → vendors~drawer-hydejack-9.2.0.js} +4 -4
  64. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.9.js → vendors~drawer~push-state-hydejack-9.2.0.js} +11 -11
  65. data/assets/js/{vendors~fetch-hydejack-9.1.9.js → vendors~fetch-hydejack-9.2.0.js} +2 -2
  66. data/assets/js/{vendors~intersection-observer-hydejack-9.1.9.js → vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
  67. data/assets/js/{vendors~push-state-hydejack-9.1.9.js → vendors~push-state-hydejack-9.2.0.js} +3 -3
  68. data/assets/js/{vendors~shadydom-hydejack-9.1.9.js → vendors~shadydom-hydejack-9.2.0.js} +2 -2
  69. data/assets/js/{vendors~webanimations-hydejack-9.1.9.js → vendors~webanimations-hydejack-9.2.0.js} +2 -2
  70. data/assets/js/{webcomponents-hydejack-9.1.9.js → webcomponents-hydejack-9.2.0.js} +2 -2
  71. data/assets/version.json +2 -2
  72. metadata +46 -39
  73. data/_includes/scripts.html +0 -33
  74. data/assets/js/LEGACY-hydejack-9.1.9.js +0 -13
  75. data/assets/js/clap-button-hydejack-9.1.9.js +0 -14
  76. data/assets/js/drawer-hydejack-9.1.9.js +0 -14
  77. data/assets/js/hydejack-9.1.9.js +0 -13
  78. data/assets/js/navbar-hydejack-9.1.9.js +0 -14
  79. data/assets/js/push-state-hydejack-9.1.9.js +0 -14
  80. /data/assets/css/{hydejack-9.1.9.css → hydejack-9.2.0.css} +0 -0
@@ -9,6 +9,6 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v9.1.9 <https://hydejack.com/>
12
+ * Powered by Hydejack v9.2.0 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{367:function(t,e){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)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":o(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,o=r(e);o;)o=r(e=o.ownerDocument);return e}(),e=[],n=null,i=null;h.prototype.THROTTLE_TIMEOUT=100,h.prototype.POLL_INTERVAL=null,h.prototype.USE_MUTATION_OBSERVER=!0,h._setupCrossOriginUpdater=function(){return n||(n=function(t,o){i=t&&o?f(t,o):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},h._resetCrossOriginUpdater=function(){n=null,i=null},h.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},h.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},h.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},h.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},h.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,o){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==o[e-1]}))},h.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},h.prototype._monitorIntersections=function(e){var o=e.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,i=null,s=null;this.POLL_INTERVAL?i=o.setInterval(n,this.POLL_INTERVAL):(u(o,"resize",n,!0),u(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(s=new o.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),c(t,"resize",n,!0)),c(e,"scroll",n,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var a=r(e);a&&this._monitorIntersections(a.ownerDocument)}}},h.prototype._unmonitorIntersections=function(e){var o=this._monitoringDocuments.indexOf(e);if(-1!=o){var n=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==e)return!0;for(;o&&o!=n;){var i=r(o);if((o=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),e!=n){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},h.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},h.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,r=a(i),h=this._rootContainsTarget(i),u=o.entry,c=t&&h&&this._computeTargetAndRootIntersection(i,r,e),l=null;this._rootContainsTarget(i)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new s({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:l,intersectionRect:c});u?t&&h?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},h.prototype._computeTargetAndRootIntersection=function(e,o,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,c,l,p,g,m,v=o,b=d(e),w=!1;!w&&b;){var _=null,y=1==b.nodeType?window.getComputedStyle(b):{};if("none"==y.display)return null;if(b==this.root||9==b.nodeType)if(w=!0,b==this.root||b==t)n&&!this.root?!i||0==i.width&&0==i.height?(b=null,_=null,v=null):_=i:_=r;else{var I=d(b),E=I&&a(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(b=I,_=f(E,T)):(b=null,v=null)}else{var R=b.ownerDocument;b!=R.body&&b!=R.documentElement&&"visible"!=y.overflow&&(_=a(b))}if(_&&(s=_,h=v,u=void 0,c=void 0,l=void 0,p=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),c=Math.min(s.bottom,h.bottom),l=Math.max(s.left,h.left),p=Math.min(s.right,h.right),m=c-u,v=(g=p-l)>=0&&m>=0&&{top:u,bottom:c,left:l,right:p,width:g,height:m}||null),!v)break;b=b&&d(b)}return v}},h.prototype._getRootRect=function(){var e;if(this.root&&!g(this.root))e=a(this.root);else{var o=g(this.root)?this.root:t,n=o.documentElement,i=o.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},h.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,o){return"px"==e.unit?e.value:e.value*(o%2?t.width:t.height)/100})),o={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return o.width=o.right-o.left,o.height=o.bottom-o.top,o},h.prototype._hasCrossedThreshold=function(t,e){var o=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==o||r==n||r<o!=r<n)return!0}},h.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},h.prototype._rootContainsTarget=function(e){var o=this.root&&(this.root.ownerDocument||this.root)||t;return p(o,e)&&(!this.root||o==e.ownerDocument)},h.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},h.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=h,window.IntersectionObserverEntry=s}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function s(t){this.time=t.time,this.target=t.target,this.rootBounds=l(t.rootBounds),this.boundingClientRect=l(t.boundingClientRect),this.intersectionRect=l(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,o=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=o?Number((i/o).toFixed(4)):this.isIntersecting?1:0}function h(t,e){var o,n,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(o=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){o(),i=null}),n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function u(t,e,o,n){"function"==typeof t.addEventListener?t.addEventListener(e,o,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,o)}function c(t,e,o,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,o,n||!1):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,o)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var o=e.top-t.top,n=e.left-t.left;return{top:o,left:n,height:e.height,width:e.width,bottom:o+e.height,right:n+e.width}}function p(t,e){for(var o=e;o;){if(o==t)return!0;o=d(o)}return!1}function d(e){var o=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function g(t){return t&&9===t.nodeType}}()}}]);
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{368:function(t,e){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)}!function(){"use strict";if("object"===("undefined"==typeof window?"undefined":o(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,o=r(e);o;)o=r(e=o.ownerDocument);return e}(),e=[],n=null,i=null;h.prototype.THROTTLE_TIMEOUT=100,h.prototype.POLL_INTERVAL=null,h.prototype.USE_MUTATION_OBSERVER=!0,h._setupCrossOriginUpdater=function(){return n||(n=function(t,o){i=t&&o?f(t,o):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},h._resetCrossOriginUpdater=function(){n=null,i=null},h.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},h.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},h.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},h.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},h.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,o){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==o[e-1]}))},h.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},h.prototype._monitorIntersections=function(e){var o=e.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,i=null,s=null;this.POLL_INTERVAL?i=o.setInterval(n,this.POLL_INTERVAL):(u(o,"resize",n,!0),u(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(s=new o.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(i&&t.clearInterval(i),c(t,"resize",n,!0)),c(e,"scroll",n,!0),s&&s.disconnect()}));var h=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=h){var a=r(e);a&&this._monitorIntersections(a.ownerDocument)}}},h.prototype._unmonitorIntersections=function(e){var o=this._monitoringDocuments.indexOf(e);if(-1!=o){var n=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==e)return!0;for(;o&&o!=n;){var i=r(o);if((o=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),e!=n){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},h.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},h.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,r=a(i),h=this._rootContainsTarget(i),u=o.entry,c=t&&h&&this._computeTargetAndRootIntersection(i,r,e),l=null;this._rootContainsTarget(i)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new s({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:l,intersectionRect:c});u?t&&h?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},h.prototype._computeTargetAndRootIntersection=function(e,o,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,c,l,p,g,m,v=o,b=d(e),w=!1;!w&&b;){var _=null,y=1==b.nodeType?window.getComputedStyle(b):{};if("none"==y.display)return null;if(b==this.root||9==b.nodeType)if(w=!0,b==this.root||b==t)n&&!this.root?!i||0==i.width&&0==i.height?(b=null,_=null,v=null):_=i:_=r;else{var I=d(b),E=I&&a(I),T=I&&this._computeTargetAndRootIntersection(I,E,r);E&&T?(b=I,_=f(E,T)):(b=null,v=null)}else{var R=b.ownerDocument;b!=R.body&&b!=R.documentElement&&"visible"!=y.overflow&&(_=a(b))}if(_&&(s=_,h=v,u=void 0,c=void 0,l=void 0,p=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),c=Math.min(s.bottom,h.bottom),l=Math.max(s.left,h.left),p=Math.min(s.right,h.right),m=c-u,v=(g=p-l)>=0&&m>=0&&{top:u,bottom:c,left:l,right:p,width:g,height:m}||null),!v)break;b=b&&d(b)}return v}},h.prototype._getRootRect=function(){var e;if(this.root&&!g(this.root))e=a(this.root);else{var o=g(this.root)?this.root:t,n=o.documentElement,i=o.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},h.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,o){return"px"==e.unit?e.value:e.value*(o%2?t.width:t.height)/100})),o={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return o.width=o.right-o.left,o.height=o.bottom-o.top,o},h.prototype._hasCrossedThreshold=function(t,e){var o=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==o||r==n||r<o!=r<n)return!0}},h.prototype._rootIsInDom=function(){return!this.root||p(t,this.root)},h.prototype._rootContainsTarget=function(e){var o=this.root&&(this.root.ownerDocument||this.root)||t;return p(o,e)&&(!this.root||o==e.ownerDocument)},h.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},h.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=h,window.IntersectionObserverEntry=s}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function s(t){this.time=t.time,this.target=t.target,this.rootBounds=l(t.rootBounds),this.boundingClientRect=l(t.boundingClientRect),this.intersectionRect=l(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,o=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=o?Number((i/o).toFixed(4)):this.isIntersecting?1:0}function h(t,e){var o,n,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(o=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){o(),i=null}),n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function u(t,e,o,n){"function"==typeof t.addEventListener?t.addEventListener(e,o,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,o)}function c(t,e,o,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,o,n||!1):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,o)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var o=e.top-t.top,n=e.left-t.left;return{top:o,left:n,height:e.height,width:e.width,bottom:o+e.height,right:n+e.width}}function p(t,e){for(var o=e;o;){if(o==t)return!0;o=d(o)}return!1}function d(e){var o=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function g(t){return t&&9===t.nodeType}}()}}]);
@@ -9,9 +9,9 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v9.1.9 <https://hydejack.com/>
12
+ * Powered by Hydejack v9.2.0 <https://hydejack.com/>
13
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}},355:function(e,t,r){"use strict";r.r(t),r.d(t,"HyPushState",(function(){return ht}));var n,o=r(1),i=r(334),c=r(328),a=r(318),u=r(341),l=r(154),f=r(116),s=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=f.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(f.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))(s),b=r(359),y=r(362),h=r(47),v=r(156),m=r(160),O=r(340),d=r(342),j=r(338),g=r(88),w=r(339),S=r(357),P=r(157),E=r(159),k=r(363),A=r(361),T=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 R(e){return e&&""===e.target}function N(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!(i||c||!R(n)||L(r,t))}function C(e,t){var r=e.url;return!(!R(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 I(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 M=r(117),q=r(364),H=r(358);function U(e){return(U="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 D(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var r={}.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)?x(e,t):void 0}}(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=Array(t);r<t;r++)n[r]=e[r];return n}function W(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 _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){$(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $(e,t,r){return(t=F(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(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,F(n.key),n)}}function F(e){var t=function(e,t){if("object"!=U(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=U(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==U(t)?t:t+""}var V=function(){return e=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},(t=[{key:"fetchPage",value:function(e){return Object(T.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(P.a)((function(e){return e.text()})),Object(h.a)((function(t){return _(_({},e),{},{responseText:t})})),Object(k.a)((function(t){return Object(M.a)(_(_({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(M.a)(t):r.pipe(Object(H.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(q.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(h.a)((function(e){return _(_({},D(e,1)[0]),t)})))}}])&&B(e.prototype,t),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),J=r(68),K=r(319),X=r(360);function z(e){return(z="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 G(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var r={}.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)?Q(e,t):void 0}}(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 Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Y(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 Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ee(e,t,r){return(t=re(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(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,re(n.key),n)}}function re(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==z(t)?t:t+""}var ne=function(){return e=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},(t=[{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(J.a)(r).pipe(Object(K.a)((function(e){return t.insertScript(e)})),Object(k.a)((function(t){return Object(M.a)(Z(Z({},e),{},{error:t}))})),Object(X.a)((function(){return document.write=n})),Object(w.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=G(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({}))}))}}])&&te(e.prototype,t),r&&te(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function oe(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(ie("href",t)),e.querySelectorAll("[src]").forEach(ie("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(ie("cite",t)),e.querySelectorAll("del[cite]").forEach(ie("cite",t)),e.querySelectorAll("ins[cite]").forEach(ie("cite",t)),e.querySelectorAll("q[cite]").forEach(ie("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("form[action]").forEach(ie("action",t)),e.querySelectorAll("button[formaction]").forEach(ie("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ie("formaction",t)),e.querySelectorAll("video[poster]").forEach(ie("poster",t)),e.querySelectorAll("object[data]").forEach(ie("data",t)),e.querySelectorAll("object[codebase]").forEach(ie("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 ie(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 ce(e){return(ce="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 ae(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ue(e,t);var r={}.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)?ue(e,t):void 0}}(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 ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function le(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 fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return(t=be(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,be(n.key),n)}}function be(e){var t=function(e,t){if("object"!=ce(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ce(t)?t:t+""}var ye=function(){return e=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 ne(t)},(t=[{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 fe(fe({},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=ae(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)&&oe(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw fe(fe({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}}])&&pe(e.prototype,t),r&&pe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),he=r(50),ve=r(119);function me(e){return(me="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 Oe(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,de(n.key),n)}}function de(e){var t=function(e,t){if("object"!=me(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=me(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==me(t)?t:t+""}var je=function(e){return Array.prototype.concat.apply([],e)},ge=function(e){return{addedNodes:new Set(je(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(je(e.map((function(e){return Array.from(e.removedNodes)}))))}},we=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"setupEventListeners",value:function(){var e=this,t=Object(a.a)(this.el,"click").pipe(Object(h.a)((function(t){var r=Object(T.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(v.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(M.a)(e):Object(J.a)(e.querySelectorAll(t)).pipe(Object(v.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(h.a)((function(t){return[t,e]})))}(e))},i=function(e){n.delete(e)};return Object(T.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(O.a)({addedNodes:[e.el],removedNodes:[]}),Object(T.c)(500),Object(h.a)(ge),Object(P.a)((function(e){var c=e.addedNodes,a=e.removedNodes;return Object(J.a)(a).pipe(Object(v.a)((function(e){return e instanceof Element})),Object(he.a)((function(e){return r(e,t)})),Object(m.a)(i)).subscribe(),Object(J.a)(c).pipe(Object(v.a)((function(e){return e instanceof Element})),Object(he.a)((function(e){return r(e,t)})),Object(m.a)(o)).subscribe(),Object(J.a)(n.values()).pipe(Object(ve.a)())})),Object(T.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&Oe(e.prototype,t),r&&Oe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Se(e){return(Se="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 Pe(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 Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(r),!0).forEach((function(t){ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t,r){return(t=Te(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,Te(n.key),n)}}function Te(e){var t=function(e,t){if("object"!=Se(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Se(t)?t:t+""}var Le=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Re=function(){return e=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},(t=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=Le(this.parent.duration),this.parent.fireEvent("start",{detail:Ee(Ee({},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=Le(this.parent.duration),this.parent.fireEvent("after",{detail:Ee(Ee({},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})}}])&&Ae(e.prototype,t),r&&Ae(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Ne(e){return(Ne="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 Ce(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?Ce(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return(t=He(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qe(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,He(n.key),n)}}function He(e){var t=function(e,t){if("object"!=Ne(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ne(t)?t:t+""}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 Ue=function(){return e=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},(t=[{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=Ie(Ie({},history.state),{},Me({},c,{}));history.replaceState(a,document.title,o.href)}else history.pushState(Me({},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 Ie(Ie({},e),{},Me({},t,Ie(Ie({},e[t]),{},{scrollTop:Object(T.j)(),scrollHeight:Object(T.i)()})))}}])&&qe(e.prototype,t),r&&qe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function De(e){return(De="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 xe(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,We(n.key),n)}}function We(e){var t=function(e,t){if("object"!=De(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=De(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==De(t)?t:t+""}var _e,$e,Be,Fe,Ve,Je,Ke,Xe,ze,Ge,Qe,Ye,Ze,et=function(){return e=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")},(t=[{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(T.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&xe(e.prototype,t),r&&xe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function tt(e){return(tt="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 rt(e){return function(e){if(Array.isArray(e))return it(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ot(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 nt(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||ot(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 ot(e,t){if(e){if("string"==typeof e)return it(e,t);var r={}.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)?it(e,t):void 0}}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(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,ut(n.key),n)}}function ut(e){var t=function(e,t){if("object"!=tt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tt(t)?t:t+""}function lt(e,t,r){return t=pt(t),function(e,t){if(t&&("object"==tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],pt(e).constructor):t.apply(e,r))}function ft(){return(ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=st(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(null,arguments)}function st(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=pt(e)););return e}function pt(e){return(pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bt(e,t){return(bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{336: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 ht}));var n,o=r(1),i=r(335),c=r(329),a=r(319),u=r(342),l=r(154),f=r(116),s=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=f.a.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(f.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))(s),b=r(360),y=r(363),h=r(47),v=r(156),m=r(160),O=r(341),d=r(343),j=r(339),g=r(88),w=r(340),S=r(358),P=r(157),E=r(159),k=r(364),A=r(362),T=r(321);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 R(e){return e&&""===e.target}function N(e,t){var r=e.url,n=e.anchor,o=e.event,i=o.metaKey,c=o.ctrlKey;return!(i||c||!R(n)||L(r,t))}function C(e,t){var r=e.url;return!(!R(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 I(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 M=r(117),q=r(365),H=r(359);function U(e){return(U="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 D(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var r={}.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)?x(e,t):void 0}}(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=Array(t);r<t;r++)n[r]=e[r];return n}function W(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 _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){$(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $(e,t,r){return(t=F(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(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,F(n.key),n)}}function F(e){var t=function(e,t){if("object"!=U(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=U(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==U(t)?t:t+""}var V=function(){return e=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},(t=[{key:"fetchPage",value:function(e){return Object(T.g)(e.url.href,{method:"GET",mode:"cors",headers:{Accept:"text/html"}}).pipe(Object(P.a)((function(e){return e.text()})),Object(h.a)((function(t){return _(_({},e),{},{responseText:t})})),Object(k.a)((function(t){return Object(M.a)(_(_({},e),{},{error:t,responseText:null}))})))}},{key:"selectPrefetch",value:function(e,t,r){return e.href===t.url.href?Object(M.a)(t):r.pipe(Object(H.a)(1))}},{key:"getResponse",value:function(e,t,r){return Object(q.a)(this.selectPrefetch(t.url,r,e),this.parent.animPromise).pipe(Object(h.a)((function(e){return _(_({},D(e,1)[0]),t)})))}}])&&B(e.prototype,t),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),J=r(68),K=r(320),X=r(361);function z(e){return(z="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 G(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var r={}.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)?Q(e,t):void 0}}(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 Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Y(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 Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ee(e,t,r){return(t=re(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(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,re(n.key),n)}}function re(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==z(t)?t:t+""}var ne=function(){return e=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},(t=[{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(J.a)(r).pipe(Object(K.a)((function(e){return t.insertScript(e)})),Object(k.a)((function(t){return Object(M.a)(Z(Z({},e),{},{error:t}))})),Object(X.a)((function(){return document.write=n})),Object(w.a)(e)).toPromise()}},{key:"insertScript",value:function(e){var t=G(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({}))}))}}])&&te(e.prototype,t),r&&te(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function oe(e,t){e.forEach((function(e){e&&(e.querySelectorAll("[href]").forEach(ie("href",t)),e.querySelectorAll("[src]").forEach(ie("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(ie("cite",t)),e.querySelectorAll("del[cite]").forEach(ie("cite",t)),e.querySelectorAll("ins[cite]").forEach(ie("cite",t)),e.querySelectorAll("q[cite]").forEach(ie("cite",t)),e.querySelectorAll("img[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("frame[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("iframe[longdesc]").forEach(ie("longdesc",t)),e.querySelectorAll("img[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("input[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("object[usemap]").forEach(ie("usemap",t)),e.querySelectorAll("form[action]").forEach(ie("action",t)),e.querySelectorAll("button[formaction]").forEach(ie("formaction",t)),e.querySelectorAll("input[formaction]").forEach(ie("formaction",t)),e.querySelectorAll("video[poster]").forEach(ie("poster",t)),e.querySelectorAll("object[data]").forEach(ie("data",t)),e.querySelectorAll("object[codebase]").forEach(ie("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 ie(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 ce(e){return(ce="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 ae(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ue(e,t);var r={}.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)?ue(e,t):void 0}}(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 ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function le(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 fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return(t=be(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,be(n.key),n)}}function be(e){var t=function(e,t){if("object"!=ce(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ce(t)?t:t+""}var ye=function(){return e=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 ne(t)},(t=[{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 fe(fe({},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=ae(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)&&oe(t,this.parent.href),this.replaceHead(r),this.replaceContent(t)}catch(t){throw fe(fe({},e),{},{error:t})}}},{key:"reinsertScriptTags",value:function(e){return this.scriptManager.reinsertScriptTags(e)}}])&&pe(e.prototype,t),r&&pe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),he=r(50),ve=r(119);function me(e){return(me="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 Oe(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,de(n.key),n)}}function de(e){var t=function(e,t){if("object"!=me(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=me(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==me(t)?t:t+""}var je=function(e){return Array.prototype.concat.apply([],e)},ge=function(e){return{addedNodes:new Set(je(e.map((function(e){return Array.from(e.addedNodes)})))),removedNodes:new Set(je(e.map((function(e){return Array.from(e.removedNodes)}))))}},we=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"setupEventListeners",value:function(){var e=this,t=Object(a.a)(this.el,"click").pipe(Object(h.a)((function(t){var r=Object(T.k)(t.target,e.linkSelector);if(r instanceof HTMLAnchorElement)return[t,r]})),Object(v.a)((function(e){return!!e}))),r=function(e,t){return e.matches(t)&&e instanceof HTMLAnchorElement?Object(M.a)(e):Object(J.a)(e.querySelectorAll(t)).pipe(Object(v.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(h.a)((function(t){return[t,e]})))}(e))},i=function(e){n.delete(e)};return Object(T.d)(e.el,{childList:!0,subtree:!0}).pipe(Object(O.a)({addedNodes:[e.el],removedNodes:[]}),Object(T.c)(500),Object(h.a)(ge),Object(P.a)((function(e){var c=e.addedNodes,a=e.removedNodes;return Object(J.a)(a).pipe(Object(v.a)((function(e){return e instanceof Element})),Object(he.a)((function(e){return r(e,t)})),Object(m.a)(i)).subscribe(),Object(J.a)(c).pipe(Object(v.a)((function(e){return e instanceof Element})),Object(he.a)((function(e){return r(e,t)})),Object(m.a)(o)).subscribe(),Object(J.a)(n.values()).pipe(Object(ve.a)())})),Object(T.l)(e.$.prefetch))}))),pushEvent$:t}}}])&&Oe(e.prototype,t),r&&Oe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Se(e){return(Se="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 Pe(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 Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(r),!0).forEach((function(t){ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t,r){return(t=Te(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,Te(n.key),n)}}function Te(e){var t=function(e,t){if("object"!=Se(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Se(t)?t:t+""}var Le=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Re=function(){return e=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},(t=[{key:"onStart",value:function(e){var t=this;this.parent.animPromise=Le(this.parent.duration),this.parent.fireEvent("start",{detail:Ee(Ee({},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=Le(this.parent.duration),this.parent.fireEvent("after",{detail:Ee(Ee({},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})}}])&&Ae(e.prototype,t),r&&Ae(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function Ne(e){return(Ne="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 Ce(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?Ce(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return(t=He(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qe(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,He(n.key),n)}}function He(e){var t=function(e,t){if("object"!=Ne(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ne(t)?t:t+""}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 Ue=function(){return e=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},(t=[{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=Ie(Ie({},history.state),{},Me({},c,{}));history.replaceState(a,document.title,o.href)}else history.pushState(Me({},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 Ie(Ie({},e),{},Me({},t,Ie(Ie({},e[t]),{},{scrollTop:Object(T.j)(),scrollHeight:Object(T.i)()})))}}])&&qe(e.prototype,t),r&&qe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function De(e){return(De="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 xe(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,We(n.key),n)}}function We(e){var t=function(e,t){if("object"!=De(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=De(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==De(t)?t:t+""}var _e,$e,Be,Fe,Ve,Je,Ke,Xe,ze,Ge,Qe,Ye,Ze,et=function(){return e=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")},(t=[{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(T.j)()?this.restoreScrollPosition():location.hash&&requestAnimationFrame((function(){return e.scrollHashIntoView(location.hash,!0)}))}}])&&xe(e.prototype,t),r&&xe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function tt(e){return(tt="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 rt(e){return function(e){if(Array.isArray(e))return it(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ot(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 nt(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){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||ot(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 ot(e,t){if(e){if("string"==typeof e)return it(e,t);var r={}.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)?it(e,t):void 0}}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(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,ut(n.key),n)}}function ut(e){var t=function(e,t){if("object"!=tt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tt(t)?t:t+""}function lt(e,t,r){return t=pt(t),function(e,t){if(t&&("object"==tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],pt(e).constructor):t.apply(e,r))}function ft(){return(ft="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=st(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(null,arguments)}function st(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=pt(e)););return e}function pt(e){return(pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bt(e,t){return(bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}
15
15
  /**
16
16
  * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
17
17
  *
@@ -31,4 +31,4 @@
31
31
  * @license
32
32
  * @nocompile
33
33
  */
34
- function yt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var ht=function(e){function t(){var e;return ct(this,t),(e=lt(this,t,arguments)).el=e,e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,_e.set(e,Object(T.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),$e.set(e,new et(e)),Be.set(e,new Ue(e)),Fe.set(e,new V(e)),Ve.set(e,new ye(e)),Je.set(e,new Re(e)),Ke.set(e,new URL(e.baseURL)),Xe.set(e,(function(t,r){var n=new URL(Object(o.e)(e,Ke,"f").href);n[t]=r,e.assign(n.href)})),ze.set(e,0),Ge.set(e,new c.a),Qe.set(e,(function(t){L(Object(T.k)(t.target,"a[href]"))&&Object(o.e)(e,Be,"f").updateHistoryScrollPosition()})),Ye.set(e,void 0),Ze.set(e,(function(){var t=e.setupEventListeners(),r=t.pushEvent$,i=t.hintEvent$,c=r.pipe(Object(h.a)((function(t){var r=nt(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)(e,ze,"f")}})),Object(v.a)((function(t){return N(t,e)})),Object(m.a)((function(t){t.event.preventDefault(),Object(o.e)(e,Be,"f").updateHistoryScrollPosition()}))),l=Object(a.a)(window,"popstate").pipe(Object(v.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(h.a)((function(t){return{cause:n.Pop,url:new URL(window.location.href),cacheNr:Object(o.e)(e,ze,"f"),event:t}}))),f=Object(o.e)(e,Ge,"f"),s=Object(u.a)(c,l,f).pipe(Object(O.a)({url:new URL(window.location.href)}),Object(d.a)(),Object(h.a)((function(e){var t=nt(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(j.a)()),y=s.pipe(Object(v.a)((function(e){return!I(e)})),Object(j.a)()),L=s.pipe(Object(v.a)((function(e){return I(e)})),Object(v.a)((function(){return history.state&&history.state[e.histId]})),Object(g.a)(p),Object(m.a)((function(t){Object(o.e)(e,Be,"f").updateHistoryState(t),Object(o.e)(e,$e,"f").manageScrollPosition(t)}))),R=Object(b.a)((function(){return Object(u.a)(y.pipe(Object(w.a)(!0)),Object(o.e)(e,Ye,"f").pipe(Object(w.a)(!1)))})).pipe(Object(O.a)(!1)),M=i.pipe(Object(T.h)(R.pipe(Object(h.a)((function(e){return!e})))),Object(h.a)((function(t){var r=nt(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)(e,ze,"f")}})),Object(v.a)((function(t){return C(t,e)}))),q=Object(u.a)(M,y).pipe(Object(S.a)((function(e,t){return yt(e,t)})),Object(P.a)((function(t){return Object(o.e)(e,Fe,"f").fetchPage(t)})),Object(O.a)({url:{}}),Object(j.a)()),H=Object(o.f)(e,Ye,y.pipe(Object(m.a)((function(t){Object(o.e)(e,Je,"f").onStart(t),Object(o.e)(e,Be,"f").updateHistoryState(t),Object(o.f)(e,Ke,t.url,"f")})),Object(E.a)(q),Object(P.a)((function(t){var r;return(r=Object(o.e)(e,Fe,"f")).getResponse.apply(r,[q].concat(rt(t)))})),Object(j.a)()),"f"),U=H.pipe(Object(v.a)((function(e){return!e.error}))),D=H.pipe(Object(v.a)((function(e){return!!e.error}))),x=U.pipe(Object(h.a)((function(t){return Object(o.e)(e,Ve,"f").responseToContent(t)})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitReady(t)})),Object(g.a)(p),Object(m.a)((function(t){Object(o.e)(e,Ve,"f").updateDOM(t),Object(o.e)(e,Be,"f").updateTitle(t),Object(o.e)(e,Je,"f").emitAfter(t)})),Object(O.a)({cause:n.Init,url:Object(o.e)(e,Ke,"f"),scripts:[]}),Object(g.a)(p),Object(m.a)((function(t){return Object(o.e)(e,$e,"f").manageScrollPosition(t)})),Object(m.a)({error:function(t){return Object(o.e)(e,Je,"f").emitDOMError(t)}}),Object(k.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)(e,Ve,"f").reinsertScriptTags(t)})),Object(m.a)({error:function(t){return Object(o.e)(e,Je,"f").emitError(t)}}),Object(k.a)((function(e,t){return t})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitLoad(t)}))),W=D.pipe(Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitNetworkError(t)}))),_=y.pipe(Object(P.a)((function(t){return Object(b.a)((function(){return e.animPromise})).pipe(Object(A.a)(H),Object(w.a)(t))})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitProgress(t)})));x.subscribe(),L.subscribe(),W.subscribe(),_.subscribe(),Object(o.e)(e,_e,"f").resolve(e),e.fireEvent("init")})),e}return 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&&bt(e,t)}(t,e),function(e,t,r){return t&&at(e.prototype,t),r&&at(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"createRenderRoot",value:function(){return this}},{key:"initialized",get:function(){return Object(o.e)(this,_e,"f")}},{key:"hash",get:function(){return Object(o.e)(this,Ke,"f").hash},set:function(e){Object(o.e)(this,Xe,"f").call(this,"hash",e)}},{key:"host",get:function(){return Object(o.e)(this,Ke,"f").host},set:function(e){Object(o.e)(this,Xe,"f").call(this,"host",e)}},{key:"hostname",get:function(){return Object(o.e)(this,Ke,"f").hostname},set:function(e){Object(o.e)(this,Xe,"f").call(this,"hostname",e)}},{key:"href",get:function(){return Object(o.e)(this,Ke,"f").href},set:function(e){Object(o.e)(this,Xe,"f").call(this,"href",e)}},{key:"pathname",get:function(){return Object(o.e)(this,Ke,"f").pathname},set:function(e){Object(o.e)(this,Xe,"f").call(this,"pathname",e)}},{key:"port",get:function(){return Object(o.e)(this,Ke,"f").port},set:function(e){Object(o.e)(this,Xe,"f").call(this,"port",e)}},{key:"protocol",get:function(){return Object(o.e)(this,Ke,"f").protocol},set:function(e){Object(o.e)(this,Xe,"f").call(this,"protocol",e)}},{key:"search",get:function(){return Object(o.e)(this,Ke,"f").search},set:function(e){Object(o.e)(this,Xe,"f").call(this,"search",e)}},{key:"origin",get:function(){return Object(o.e)(this,Ke,"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,Ge,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,ze,(t=Object(o.e)(this,ze,"f"),++t),"f")})}},{key:"reload",value:function(){var e;Object(o.e)(this,Ge,"f").next({cause:n.Push,url:new URL(this.href),cacheNr:Object(o.f)(this,ze,(e=Object(o.e)(this,ze,"f"),++e),"f"),replace:!0})}},{key:"replace",value:function(e){var t;Object(o.e)(this,Ge,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,ze,(t=Object(o.e)(this,ze,"f"),++t),"f"),replace:!0})}},{key:"connectedCallback",value:function(){var e,r,n,i,c;(e=t,r="connectedCallback",n=this,c=ft(pt(1&(i=3)?e.prototype:e),r,n),2&i?function(e){return c.apply(n,e)}:c)([]),this.$={linkSelector:new y.a(this.linkSelector),prefetch:new y.a(this.prefetch)},window.addEventListener("beforeunload",Object(o.e)(this,Be,"f").updateHistoryScrollPosition),document.documentElement.addEventListener("click",Object(o.e)(this,Qe,"f")),this.updateComplete.then(Object(o.e)(this,Ze,"f"))}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",Object(o.e)(this,Be,"f").updateHistoryScrollPosition),document.documentElement.removeEventListener("click",Object(o.e)(this,Qe,"f"))}}])}(Object(T.b)(T.a,[we]));_e=new WeakMap,$e=new WeakMap,Be=new WeakMap,Fe=new WeakMap,Ve=new WeakMap,Je=new WeakMap,Ke=new WeakMap,Xe=new WeakMap,ze=new WeakMap,Ge=new WeakMap,Qe=new WeakMap,Ye=new WeakMap,Ze=new WeakMap,Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"replace-selector"})],ht.prototype,"replaceSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"link-selector"})],ht.prototype,"linkSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"script-selector"})],ht.prototype,"scriptSelector",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0})],ht.prototype,"prefetch",void 0),Object(o.g)([Object(i.e)({type:Number,reflect:!0})],ht.prototype,"duration",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],ht.prototype,"simulateHashChange",void 0),Object(o.g)([Object(i.e)({type:String})],ht.prototype,"baseURL",void 0),Object(o.g)([Object(i.e)()],ht.prototype,"assign",null),Object(o.g)([Object(i.e)()],ht.prototype,"reload",null),Object(o.g)([Object(i.e)()],ht.prototype,"replace",null),ht=Object(o.g)([Object(i.c)("hy-push-state")],ht)},363:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(14),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(Object(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 f}));var n=r(1),o=r(8),i=r(14),c=r(335),a=r(325),u=r(9),l=r(51);function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),f=Object(c.a)(e);return f.length?new o.a((function(e){var t=f.map((function(){return[]})),o=f.map((function(){return!1}));e.add((function(){t=o=null}));for(var c=function(c){Object(i.a)(f[c]).subscribe(Object(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<f.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(47),o=r(14),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(Object(c.a)(r,(function(t){i||(i=Object(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()})))}))}}}]);
34
+ function yt(e,t){return e.url.href===t.url.href&&e.error===t.error&&e.cacheNr===t.cacheNr}var ht=function(e){function t(){var e;return ct(this,t),(e=lt(this,t,arguments)).el=e,e.linkSelector="a[href]:not([data-no-push])",e.prefetch=!1,e.duration=0,e.simulateHashChange=!1,e.baseURL=window.location.href,_e.set(e,Object(T.f)()),e.animPromise=Promise.resolve(null),e.fadePromise=Promise.resolve(null),$e.set(e,new et(e)),Be.set(e,new Ue(e)),Fe.set(e,new V(e)),Ve.set(e,new ye(e)),Je.set(e,new Re(e)),Ke.set(e,new URL(e.baseURL)),Xe.set(e,(function(t,r){var n=new URL(Object(o.e)(e,Ke,"f").href);n[t]=r,e.assign(n.href)})),ze.set(e,0),Ge.set(e,new c.a),Qe.set(e,(function(t){L(Object(T.k)(t.target,"a[href]"))&&Object(o.e)(e,Be,"f").updateHistoryScrollPosition()})),Ye.set(e,void 0),Ze.set(e,(function(){var t=e.setupEventListeners(),r=t.pushEvent$,i=t.hintEvent$,c=r.pipe(Object(h.a)((function(t){var r=nt(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)(e,ze,"f")}})),Object(v.a)((function(t){return N(t,e)})),Object(m.a)((function(t){t.event.preventDefault(),Object(o.e)(e,Be,"f").updateHistoryScrollPosition()}))),l=Object(a.a)(window,"popstate").pipe(Object(v.a)((function(){return window.history.state&&window.history.state[e.histId]})),Object(h.a)((function(t){return{cause:n.Pop,url:new URL(window.location.href),cacheNr:Object(o.e)(e,ze,"f"),event:t}}))),f=Object(o.e)(e,Ge,"f"),s=Object(u.a)(c,l,f).pipe(Object(O.a)({url:new URL(window.location.href)}),Object(d.a)(),Object(h.a)((function(e){var t=nt(e,2),r=t[0],n=t[1];return Object.assign(n,{oldURL:r.url})})),Object(j.a)()),y=s.pipe(Object(v.a)((function(e){return!I(e)})),Object(j.a)()),L=s.pipe(Object(v.a)((function(e){return I(e)})),Object(v.a)((function(){return history.state&&history.state[e.histId]})),Object(g.a)(p),Object(m.a)((function(t){Object(o.e)(e,Be,"f").updateHistoryState(t),Object(o.e)(e,$e,"f").manageScrollPosition(t)}))),R=Object(b.a)((function(){return Object(u.a)(y.pipe(Object(w.a)(!0)),Object(o.e)(e,Ye,"f").pipe(Object(w.a)(!1)))})).pipe(Object(O.a)(!1)),M=i.pipe(Object(T.h)(R.pipe(Object(h.a)((function(e){return!e})))),Object(h.a)((function(t){var r=nt(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)(e,ze,"f")}})),Object(v.a)((function(t){return C(t,e)}))),q=Object(u.a)(M,y).pipe(Object(S.a)((function(e,t){return yt(e,t)})),Object(P.a)((function(t){return Object(o.e)(e,Fe,"f").fetchPage(t)})),Object(O.a)({url:{}}),Object(j.a)()),H=Object(o.f)(e,Ye,y.pipe(Object(m.a)((function(t){Object(o.e)(e,Je,"f").onStart(t),Object(o.e)(e,Be,"f").updateHistoryState(t),Object(o.f)(e,Ke,t.url,"f")})),Object(E.a)(q),Object(P.a)((function(t){var r;return(r=Object(o.e)(e,Fe,"f")).getResponse.apply(r,[q].concat(rt(t)))})),Object(j.a)()),"f"),U=H.pipe(Object(v.a)((function(e){return!e.error}))),D=H.pipe(Object(v.a)((function(e){return!!e.error}))),x=U.pipe(Object(h.a)((function(t){return Object(o.e)(e,Ve,"f").responseToContent(t)})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitReady(t)})),Object(g.a)(p),Object(m.a)((function(t){Object(o.e)(e,Ve,"f").updateDOM(t),Object(o.e)(e,Be,"f").updateTitle(t),Object(o.e)(e,Je,"f").emitAfter(t)})),Object(O.a)({cause:n.Init,url:Object(o.e)(e,Ke,"f"),scripts:[]}),Object(g.a)(p),Object(m.a)((function(t){return Object(o.e)(e,$e,"f").manageScrollPosition(t)})),Object(m.a)({error:function(t){return Object(o.e)(e,Je,"f").emitDOMError(t)}}),Object(k.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)(e,Ve,"f").reinsertScriptTags(t)})),Object(m.a)({error:function(t){return Object(o.e)(e,Je,"f").emitError(t)}}),Object(k.a)((function(e,t){return t})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitLoad(t)}))),W=D.pipe(Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitNetworkError(t)}))),_=y.pipe(Object(P.a)((function(t){return Object(b.a)((function(){return e.animPromise})).pipe(Object(A.a)(H),Object(w.a)(t))})),Object(m.a)((function(t){return Object(o.e)(e,Je,"f").emitProgress(t)})));x.subscribe(),L.subscribe(),W.subscribe(),_.subscribe(),Object(o.e)(e,_e,"f").resolve(e),e.fireEvent("init")})),e}return 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&&bt(e,t)}(t,e),function(e,t,r){return t&&at(e.prototype,t),r&&at(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"createRenderRoot",value:function(){return this}},{key:"initialized",get:function(){return Object(o.e)(this,_e,"f")}},{key:"hash",get:function(){return Object(o.e)(this,Ke,"f").hash},set:function(e){Object(o.e)(this,Xe,"f").call(this,"hash",e)}},{key:"host",get:function(){return Object(o.e)(this,Ke,"f").host},set:function(e){Object(o.e)(this,Xe,"f").call(this,"host",e)}},{key:"hostname",get:function(){return Object(o.e)(this,Ke,"f").hostname},set:function(e){Object(o.e)(this,Xe,"f").call(this,"hostname",e)}},{key:"href",get:function(){return Object(o.e)(this,Ke,"f").href},set:function(e){Object(o.e)(this,Xe,"f").call(this,"href",e)}},{key:"pathname",get:function(){return Object(o.e)(this,Ke,"f").pathname},set:function(e){Object(o.e)(this,Xe,"f").call(this,"pathname",e)}},{key:"port",get:function(){return Object(o.e)(this,Ke,"f").port},set:function(e){Object(o.e)(this,Xe,"f").call(this,"port",e)}},{key:"protocol",get:function(){return Object(o.e)(this,Ke,"f").protocol},set:function(e){Object(o.e)(this,Xe,"f").call(this,"protocol",e)}},{key:"search",get:function(){return Object(o.e)(this,Ke,"f").search},set:function(e){Object(o.e)(this,Xe,"f").call(this,"search",e)}},{key:"origin",get:function(){return Object(o.e)(this,Ke,"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,Ge,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,ze,(t=Object(o.e)(this,ze,"f"),++t),"f")})}},{key:"reload",value:function(){var e;Object(o.e)(this,Ge,"f").next({cause:n.Push,url:new URL(this.href),cacheNr:Object(o.f)(this,ze,(e=Object(o.e)(this,ze,"f"),++e),"f"),replace:!0})}},{key:"replace",value:function(e){var t;Object(o.e)(this,Ge,"f").next({cause:n.Push,url:new URL(e,this.href),cacheNr:Object(o.f)(this,ze,(t=Object(o.e)(this,ze,"f"),++t),"f"),replace:!0})}},{key:"connectedCallback",value:function(){var e,r,n,i,c;(e=t,r="connectedCallback",n=this,c=ft(pt(1&(i=3)?e.prototype:e),r,n),2&i?function(e){return c.apply(n,e)}:c)([]),this.$={linkSelector:new y.a(this.linkSelector),prefetch:new y.a(this.prefetch)},window.addEventListener("beforeunload",Object(o.e)(this,Be,"f").updateHistoryScrollPosition),document.documentElement.addEventListener("click",Object(o.e)(this,Qe,"f")),this.updateComplete.then(Object(o.e)(this,Ze,"f"))}},{key:"disconnectedCallback",value:function(){window.removeEventListener("beforeunload",Object(o.e)(this,Be,"f").updateHistoryScrollPosition),document.documentElement.removeEventListener("click",Object(o.e)(this,Qe,"f"))}}])}(Object(T.b)(T.a,[we]));_e=new WeakMap,$e=new WeakMap,Be=new WeakMap,Fe=new WeakMap,Ve=new WeakMap,Je=new WeakMap,Ke=new WeakMap,Xe=new WeakMap,ze=new WeakMap,Ge=new WeakMap,Qe=new WeakMap,Ye=new WeakMap,Ze=new WeakMap,Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"replace-selector"})],ht.prototype,"replaceSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"link-selector"})],ht.prototype,"linkSelector",void 0),Object(o.g)([Object(i.e)({type:String,reflect:!0,attribute:"script-selector"})],ht.prototype,"scriptSelector",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0})],ht.prototype,"prefetch",void 0),Object(o.g)([Object(i.e)({type:Number,reflect:!0})],ht.prototype,"duration",void 0),Object(o.g)([Object(i.e)({type:Boolean,reflect:!0,attribute:"hashchange"})],ht.prototype,"simulateHashChange",void 0),Object(o.g)([Object(i.e)({type:String})],ht.prototype,"baseURL",void 0),Object(o.g)([Object(i.e)()],ht.prototype,"assign",null),Object(o.g)([Object(i.e)()],ht.prototype,"reload",null),Object(o.g)([Object(i.e)()],ht.prototype,"replace",null),ht=Object(o.g)([Object(i.c)("hy-push-state")],ht)},364:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(14),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(Object(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))}))}},365:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(1),o=r(8),i=r(14),c=r(336),a=r(326),u=r(9),l=r(51);function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(l.b)(e),f=Object(c.a)(e);return f.length?new o.a((function(e){var t=f.map((function(){return[]})),o=f.map((function(){return!1}));e.add((function(){t=o=null}));for(var c=function(c){Object(i.a)(f[c]).subscribe(Object(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<f.length;a++)c(a);return function(){t=o=null}})):a.a}},366:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(47),o=r(14),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(Object(c.a)(r,(function(t){i||(i=Object(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()})))}))}}}]);
@@ -9,9 +9,9 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v9.1.9 <https://hydejack.com/>
12
+ * Powered by Hydejack v9.2.0 <https://hydejack.com/>
13
13
  */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{333:function(e,t){function n(e){return(n="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)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},349:function(e,t,n){(function(e){function t(e){return(t="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(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s=function(n){n=["object"==("undefined"==typeof globalThis?"undefined":t(globalThis))&&globalThis,n,"object"==("undefined"==typeof window?"undefined":t(window))&&window,"object"==("undefined"==typeof self?"undefined":t(self))&&self,"object"==(void 0===e?"undefined":t(e))&&e];for(var r=0;r<n.length;++r){var o=n[r];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}(this);function a(){}function l(e){return e.__shady||(e.__shady=new a),e.__shady}function u(e){return e&&e.__shady}a.prototype.toJSON=function(){return{}};var c=window.ShadyDOM||{};c.da=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var d,h=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");c.i=!!(h&&h.configurable&&h.get),c.N=c.force||!c.da,c.l=c.noPatch||!1,c.C=c.preferPerformance,c.O="on-demand"===c.l;var f=c.querySelectorImplementation;function p(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function _(e){return(e=u(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=u(e))&&e.root)&&ln(e)}d=-1<["native","selectorEngine"].indexOf(f)?f:void 0,c.ga=d,c.V=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),b=0,E=[];function N(e){E.push(e),S.textContent=b++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=b++,e}})).observe(S,{characterData:!0});var w=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function P(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function D(e,t){for(var n in t)n in e&&x(e,n,t[n])}function M(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}function I(e){var t;for(t=void 0===t?1:t;0<t;t--)e=e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,i(t)):e.push(t),e}),[]);return e}var j,F=[];function H(e){j||(j=!0,N(B)),F.push(e)}function B(){j=!1;for(var e=!!F.length;F.length;)F.shift()();return e}function U(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.H=new Set}B.list=F,U.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.H.forEach((function(t){t(e)}))}},U.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var q=/[&\u00A0"]/g,V=/[&\u00A0<>]/g;function G(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function W(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var K=W("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),X=W("style script xmp iframe noembed noframes plaintext noscript".split(" "));function z(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(q,G)+'"';d+=">",a=K[l]?d:d+z(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&X[l.localName]?a:a.replace(V,G);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var Y=c.i,J={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},$={};function Z(e){$[e]=function(t){return t["__shady_native_"+e]}}function Q(e,t){for(var n in k(e,t,"__shady_native_"),t)Z(n)}function ee(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?J[r]||(J[r]=o.value):Z(r))}}var te=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),ne=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),re=document.implementation.createHTMLDocument("inert");function oe(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var ie=["firstElementChild","lastElementChild","children","childElementCount"],se=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var ae=M({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),le=M({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),ue=M({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function ce(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}ce(ae),ce(le),ce(ue);var de,he=c.i||!0===c.l,fe=he?function(){}:function(e){var t=l(e);t.X||(t.X=!0,D(e,ue))},pe=he?function(){}:function(e){var t=l(e);t.W||(t.W=!0,D(e,ae),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!c.l||D(e,le))},_e="__eventWrappers"+Date.now(),ye=(de=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return de.get.call(e)}:null,me=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ve(e){if(null===e||"object"!==t(e)&&"function"!=typeof e)var n=!!e,r=!1;else{n=!!e.capture,r=!!e.once;var o=e.o}return{U:o,capture:n,once:r,T:me?e:n}}var ge={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Se={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function be(e){return e instanceof Node?e.__shady_getRootNode():e}function Ee(e,t){var n=[],r=e;for(e=be(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Ne(e,t){if(!y)return e;e=Ee(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=be(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}var we={get composed(){return void 0===this.__composed&&(ye?this.__composed="focusin"===this.type||"focusout"===this.type||ye(this):!1!==this.isTrusted&&(this.__composed=ge[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Ee(this.__target,this.composed)),this.__composedPath},get target(){return Ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ee(this.__relatedTarget,!0)),Ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.K=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.K=this.__immediatePropagationStopped=!0}},Ce=c.i&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function Te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}Ce&&(Object.defineProperty(we,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(we,"__shady_native_eventPhase",Ce));var Oe={focus:!0,blur:!0};function Pe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function xe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!Pe(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}var ke=new Event("e").hasOwnProperty("currentTarget");function De(e){var t=(e=ke?Object.create(e):e).composedPath(),n=t.map((function(e){return Ne(e,t)})),r=e.bubbles,o=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var a=t.length-1;0<=a;a--){var l=t[a];if(i=l===n[a]?Event.AT_TARGET:Event.CAPTURING_PHASE,xe(e,l,"capture"),e.K)return}for(a=0;a<t.length;a++){var u=(l=t[a])===n[a];if((u||r)&&(i=u?Event.AT_TARGET:Event.BUBBLING_PHASE,xe(e,l,"bubble"),e.K))break}}finally{ke||(o?Object.defineProperty(e,"currentTarget",o):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function Me(e,t,n,r){for(var o=0;o<e.length;o++){var i=e[o],s=i.type,a=i.capture;if(t===i.node&&n===s&&r===a)return o}return-1}function Ae(e){return B(),!c.C&&this instanceof Node&&!w(document,this)?(e.__target||je(e,this),De(e)):this.__shady_native_dispatchEvent(e)}function Re(e,n,r){var o=this,i=ve(r),s=i.capture,a=i.once,l=i.U;if(i=i.T,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(Se[e])return this.__shady_native_addEventListener(e,n,i);var c=l||this;if(l=n[_e]){if(-1<Me(l,c,e,s))return}else n[_e]=[];l=function(t){if(a&&o.__shady_removeEventListener(e,n,r),t.__target||je(t),c!==o){var i=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var l=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return s?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(Pe(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var d="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==o&&(i?(Object.defineProperty(t,"currentTarget",i),i=null):delete t.currentTarget,l?(Object.defineProperty(t,"eventPhase",l),l=null):delete t.eventPhase),d}},n[_e].push({node:c,type:e,capture:s,fa:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][s?"capture":"bubble"].push(l),Oe[e]||this.__shady_native_addEventListener(e,l,i)}}}function Le(e,t,n){if(t){var r=ve(n);n=r.capture;var o=r.U;if(r=r.T,Se[e])return this.__shady_native_removeEventListener(e,t,r);var i=o||this;o=void 0;var s=null;try{s=t[_e]}catch(e){}s&&(-1<(i=Me(s,i,e,n))&&(o=s.splice(i,1)[0].fa,s.length||(t[_e]=void 0))),this.__shady_native_removeEventListener(e,o||t,r),o&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(o))&&e.splice(t,1))}}var Ie=M(we);function je(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,c.i){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,Ie),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,Ie)}var Fe=Te(Event),He=Te(CustomEvent),Be=Te(MouseEvent);var Ue=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),qe=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function Ve(e){return{set:function(t){var n=l(this),r=e.substring(2);n.m||(n.m={}),n.m[e]&&this.removeEventListener(r,n.m[e]),this.__shady_addEventListener(r,t),n.m[e]=t},get:function(){var t=u(this);return t&&t.m&&t.m[e]},configurable:!0}}function Ge(e,t){return{index:e,D:[],G:t}}function We(e,t,n,r){var o=0,i=0,s=0,a=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var u=n.length,c=0;c<l-s&&Ke(e[--a],n[--u]);)c++;a=c}if(i+=s,r-=a,0==(t-=a)-(o+=s)&&0==r-i)return[];if(o==t){for(t=Ge(o,0);i<r;)t.D.push(n[i++]);return[t]}if(i==r)return[Ge(o,t-o)];for(r=r-(s=i)+1,a=t-(l=o)+1,t=Array(r),u=0;u<r;u++)t[u]=Array(a),t[u][0]=u;for(u=0;u<a;u++)t[0][u]=u;for(u=1;u<r;u++)for(c=1;c<a;c++)if(e[l+c-1]===n[s+u-1])t[u][c]=t[u-1][c-1];else{var d=t[u-1][c]+1,h=t[u][c-1]+1;t[u][c]=d<h?d:h}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(d=(u=t[l-1][s])<(c=t[l][s-1])?u<a?u:a:c<a?c:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):d==u?(e.push(3),l--,r=u):(e.push(2),s--,r=c));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=Ge(o,0)),t.G++,o++,t.D.push(n[i]),i++;break;case 2:t||(t=Ge(o,0)),t.G++,o++;break;case 3:t||(t=Ge(o,0)),t.D.push(n[i]),i++}return t&&l.push(t),l}function Ke(e,t){return e===t}var Xe=M({dispatchEvent:Ae,addEventListener:Re,removeEventListener:Le}),ze=null;function Ye(){return ze||(ze=window.ShadyCSS&&window.ShadyCSS.ScopingShim),ze||null}function Je(e,t,n){var r=Ye();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function $e(e,t){var n=Ye();n&&n.unscopeNode(e,t)}function Ze(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ye();return t?t.currentScopeForNode(e):""}function Qe(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Qe(e,t)}var et=window.document,tt=c.C,nt=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),rt=nt&&nt.get;function ot(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function it(e,t,n){if(e=(e=u(e))&&e.B){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.g||(e.g=!0,N((function(){e.flush()})))}(e)}}var st=M({get parentNode(){var e=u(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=u(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=u(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=u(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=u(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(_(this)){var e=u(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=u(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(rt&&rt.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||w(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(_(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!_(this)&&c.i){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&ot(this),this.__shady_native_textContent=e}else ot(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==et&&e.ownerDocument!==et)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=u(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;it(this,e);var r=[],o=(n=hn(this))?n.host.localName:Ze(this),s=e.__shady_parentNode;if(s){var a=Ze(e),c=!!n||!hn(e)||tt&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,c)}s=!0;var d=(!tt||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ye();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,o),h=n&&!e.__noInsertionPoint&&(!tt||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(h||d)&&(d&&(a=a||Ze(e)),Qe(e,(function(e){if(h&&"slot"===e.localName&&r.push(e),d){var t=a;Ye()&&(t&&$e(e,t),(t=Ye())&&t.scopeNode(e,o))}}))),r.length&&(rn(n),n.j.push.apply(n.j,i(r)),Zt(n)),_(this)&&(function(e,t,n){Ut(t,2);var r=l(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)qt(e,t,r,n);else qt(e,t,r,n)}(e,this,t),(c=u(this)).root?(s=!1,m(this)&&Zt(c.root)):n&&"slot"===this.localName&&(s=!1,Zt(n))),s?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=u(t);(r=r&&r.u)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==et)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);it(this,null,e);var n=hn(e),r=n&&function(e,t){if(e.g){on(e);var n,r=e.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.g.indexOf(s);if(0<=a&&(e.g.splice(a,1),(a=u(s.__shady_parentNode))&&a.F&&a.F--),i--,s=u(s),a=s.u)for(var l=0;l<a.length;l++){var c=a[l],d=c.__shady_native_parentNode;d&&d.__shady_native_removeChild(c)}s.u=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=u(this);if(_(this)&&(function(e,t){var n=l(e);t=l(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(l(e).nextSibling=r),r&&(l(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Zt(o.root);var i=!0}if(Ye()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Ze(e);Qe(e,(function(e){$e(e,s)}))}return function e(t){var n=u(t);if(n&&void 0!==n.J)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=u(t))&&(t.J=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Zt(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=l(this),n=t.J;return void 0===n&&(y(this)?(n=this,t.J=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.J=n))),n}},contains:function(e){return C(this,e)}}),at=M({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Qt(e),(e=u(this))&&e.assignedSlot||null}}),lt=new Map;function ut(e,t,n,r){for(r=void 0===r||r;t<e.length;t++)if("\\"===e[t]&&t<e.length-1&&"\n"!==e[t+1])t++;else{if(-1!==n.indexOf(e[t]))return t;if(r&&lt.has(e[t])){var o=lt.get(e[t]);t=ut(e,t+1,[o.end],o.I)}}return e.length}function ct(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}[["(",{end:")",I:!0}],["[",{end:"]",I:!0}],['"',{end:'"',I:!1}],["'",{end:"'",I:!1}]].forEach((function(e){var t=o(e);e=t.next().value,t=t.next().value,lt.set(e,t)}));var dt={get firstElementChild(){var e=u(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=u(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return _(this)?T(Array.prototype.filter.call(P(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},ht=M((dt.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},dt.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},dt.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},dt));function ft(e,t){function n(t,n){return(t===e||-1===n.indexOf(":scope"))&&g.call(t,n)}var r=function(e){function t(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({S:r.filter((function(e,t){return 0==t%2})),ca:r.filter((function(e,t){return 1==t%2}))}),r.length=0}}for(var n=[],r=[],o=0;o<e.length;){var i=r[r.length-1],s=ut(e,o,[","," ",">","+","~"]),a=s===o?e[o]:e.substring(o,s);","===a?t():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===a||(" "===i&&-1!==[">","+","~"].indexOf(a)?r[r.length-1]=a:r.push(a)),o=s+(s===o?1:0)}return t(),n}(t);if(1>r.length)return[];for(t=I(ct(e,(function(){return!0})).map((function(e){return I(r.map((function(t){var r=t.S,o=r.length-1;return n(e,r[o])?{target:e,v:t,A:e,index:o}:[]})))})));t.some((function(e){return 0<e.index}));)t=I(t.map((function(e){if(0>=e.index)return e;var t=e.target,r=e.A,o=e.v;e=e.index-1;var i=o.ca[e],s=o.S[e];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}if(">"===i)return n(r=r.__shady_parentElement,s)?{target:t,v:o,A:r,index:e}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,s)?{target:t,v:o,A:r,index:e}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(e){for(var t=[],n=new Set,r=(e=o(e)).next();!r.done;r=e.next())r=r.value,n.has(r)||(t.push(r),n.add(r));return t}(t.map((function(e){return e.target})))}var pt=c.querySelectorImplementation,_t=M({querySelector:function(e){if("native"===pt){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode(),r=(t=o(t)).next();!r.done;r=t.next())if((r=r.value).__shady_getRootNode()==n)return r;return null}if("selectorEngine"===pt)return ft(this,e)[0]||null;if(void 0===pt)return ct(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+pt+"'")},querySelectorAll:function(e,t){if(t||"native"===pt){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}if("selectorEngine"===pt)return T(ft(this,e));if(void 0===pt)return T(ct(this,(function(t){return g.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+pt+"'")}}),yt=c.C&&!c.l?A({},ht):ht;A(ht,_t);var mt=M({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),vt=window.document;function gt(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Zt(u(e).root);else if("slot"===e.localName&&"name"===t&&(t=hn(e))){if(t.g){on(t);var n=e.Y,r=sn(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=an(n))}}Zt(t)}}var St=M({get previousElementSibling(){var e=u(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=u(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==vt?this.__shady_native_setAttribute(e,t):Je(this,e,t)||(this.__shady_native_setAttribute(e,t),gt(this,e))},removeAttribute:function(e){this.ownerDocument!==vt?this.__shady_native_removeAttribute(e):Je(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),gt(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==vt?this.__shady_native_toggleAttribute(e,t):Je(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),gt(this,e),t)}});c.C||Ue.forEach((function(e){St[e]=Ve(e)}));var bt=M({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!c.V){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,$t(t,this,e),Vt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;rn(n),n.j.push.apply(n.j,i(e)),Zt(t)}t.host.__shady_native_appendChild(t)}else t=new Jt(Xt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=u(this);return e&&e.ea||null}});A(St,bt);var Et=document.implementation.createHTMLDocument("inert"),Nt=M({get innerHTML(){return _(this)?z("template"===this.localName?this.content:this,P):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{ot(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Et.namespaceURI?Et.createElementNS(this.namespaceURI,t):Et.createElement(t),c.i?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),wt=M({blur:function(){var e=u(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});c.C||qe.forEach((function(e){wt[e]=Ve(e)}));var Ct=M({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Qt(t),(t=u(this))&&(e&&e.flatten?t.u:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)Re.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.o=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)Le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.o=this,o.__shady_removeEventListener(e,n,r)}}}),Tt=M({getElementById:function(e){return""===e?null:ct(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function Ot(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}var Pt="__shady_native_"+p(),xt=M({get activeElement(){var e=c.i?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=hn(e);t&&t!==this;)t=hn(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Pt](e,t),this===document&&c.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);y(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(Ot(t,e[r]));var o=[];return n.forEach((function(e){return o.push(e)})),o},elementFromPoint:function(e,t){return this===document&&c.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),kt=window.document,Dt=M({importNode:function(e,t){if(e.ownerDocument!==kt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Mt=M({dispatchEvent:Ae,addEventListener:Re.bind(window),removeEventListener:Le.bind(window)}),At={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(At.parentElement=st.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(At.contains=st.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(At.children=ht.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(At.innerHTML=Nt.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(At.className=St.className);var Rt={EventTarget:[Xe],Node:[st,window.EventTarget?null:Xe],Text:[at],Comment:[at],CDATASection:[at],ProcessingInstruction:[at],Element:[St,ht,mt,at,!c.i||"innerHTML"in Element.prototype?Nt:null,window.HTMLSlotElement?null:Ct],HTMLElement:[wt,At],HTMLSlotElement:[Ct],DocumentFragment:[yt,Tt],Document:[Dt,yt,Tt,xt],Window:[Mt],CharacterData:[mt],XMLHttpRequest:[window.EventTarget?null:Xe]},Lt=c.i?null:["innerHTML","textContent"];function It(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function jt(e){var t,n=e?null:Lt;for(t in Rt)It(window[t]&&window[t].prototype,Rt[t],e,n)}function Ft(e){return e.__shady_protoIsPatched=!0,It(e,Rt.EventTarget),It(e,Rt.Node),It(e,Rt.Element),It(e,Rt.HTMLElement),It(e,Rt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,It(n,Rt.EventTarget),It(n,Rt.Node),Rt[e]&&It(n,Rt[e]),t.prototype.__shady_patchedProto=n}));var Ht=c.O,Bt=c.i;function Ut(e,t){if(Ht&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(Ft(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}Bt||(1===t?fe(e):2===t&&pe(e))}function qt(e,t,n,r){Ut(e,1),r=r||null;var o=l(e),i=r?l(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=u(o.previousSibling))&&(i.nextSibling=e),(i=u(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function Vt(e,t){var n=l(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,Ut(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=l(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Ut(n,1)}}}var Gt=M({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.o=r.o||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.o=r.o||this,this.host.__shady_removeEventListener(e,n,r)}});function Wt(e,t){k(e,Gt,t),k(e,xt,t),k(e,Nt,t),k(e,ht,t),c.l&&!t?(k(e,st,t),k(e,Tt,t)):c.i||(k(e,ue),k(e,ae),k(e,le))}var Kt,Xt={},zt=c.deferConnectionCallbacks&&"loading"===document.readyState;function Yt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Jt(e,t,n){if(e!==Xt)throw new TypeError("Illegal constructor");this.g=null,$t(this,t,n)}function $t(e,t,n){if(e.host=t,e.mode=n&&n.mode,Vt(e.host),(t=l(e.host)).root=e,t.ea="closed"!==e.mode?e:null,(t=l(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,c.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Zt(e)}function Zt(e){e.s||(e.s=!0,H((function(){return Qt(e)})))}function Qt(e){var t;if(t=e.s){for(var n;e;)e.s&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=u(t.host))&&0<t.F||(e=void 0);t=n}(n=t)&&n._renderSelf()}function en(e,t,n){var r=l(t),o=r.L;r.L=null,n||(n=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),n?(l(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(l(r.assignedSlot).M=!0)}function tn(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=u(o).assignedNodes;i&&i.length&&tn(e,t,i)}else t.push(n[r])}function nn(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=u(t)).assignedSlot&&nn(e,t.assignedSlot)}function rn(e){e.j=e.j||[],e.g=e.g||[],e.h=e.h||{}}function on(e){if(e.j&&e.j.length){for(var t,n=e.j,r=0;r<n.length;r++){var o=n[r];Vt(o);var i=o.__shady_parentNode;Vt(i),(i=u(i)).F=(i.F||0)+1,i=sn(o),e.h[i]?((t=t||{})[i]=!0,e.h[i].push(o)):e.h[i]=[o],e.g.push(o)}if(t)for(var s in t)e.h[s]=an(e.h[s]);e.j=[]}}function sn(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Y=t}function an(e){return e.sort((function(e,t){e=Yt(e);for(var n=Yt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=P(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function ln(e){return on(e),!(!e.g||!e.g.length)}if(Jt.prototype._renderSelf=function(){var e=zt;if(zt=!0,this.s=!1,this.g){on(this);for(var t,n=0;n<this.g.length;n++){var r=u(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.u=[],r.R=o)for(r=0;r<o.length;r++){var i=u(o[r]);i.L=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)en(this,n);for(n=0;n<this.g.length;n++){if(!(o=u(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)en(this,r,t);if((r=(r=u(t.__shady_parentNode))&&r.root)&&(ln(r)||r.s)&&r._renderSelf(),tn(this,o.u,o.assignedNodes),r=o.R){for(i=0;i<r.length;i++)u(r[i]).L=null;o.R=null,r.length>o.assignedNodes.length&&(o.M=!0)}o.M&&(o.M=!1,nn(this,t))}for(t=this.g,n=[],o=0;o<t.length;o++)(i=u(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=u(i).u,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=We(r,r.length,i,i.length);for(var l=a=0,d=void 0;a<s.length&&(d=s[a]);a++){for(var h=0,f=void 0;h<d.D.length&&(f=d.D[h]);h++)f.__shady_native_parentNode===o&&o.__shady_native_removeChild(f),i.splice(d.index+l,1);l-=d.G}for(l=0,d=void 0;l<s.length&&(d=s[l]);l++)for(a=i[d.index],h=d.index;h<d.index+d.G;h++)f=r[h],o.__shady_native_insertBefore(f,a),i.splice(h,0,f)}}if(!c.preferPerformance&&!this.P)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=u(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.P=!0,zt=e,Kt&&Kt()},function(e){e.__proto__=DocumentFragment.prototype,Wt(e,"__shady_"),Wt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(Jt.prototype),window.customElements&&window.customElements.define&&c.N&&!c.preferPerformance){var un=new Map;Kt=function(){var e=[];un.forEach((function(t,n){e.push([n,t])})),un.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},zt&&document.addEventListener("readystatechange",(function(){zt=!1,Kt()}),{once:!0});var cn=window.customElements.define,dn=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;cn.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){zt?un.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){zt?this.isConnected||un.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=dn,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:dn,configurable:!0})}function hn(e){if(y(e=e.__shady_getRootNode()))return e}function fn(e){this.node=e}function pn(e){Object.defineProperty(fn.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=fn.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},n.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},s.Object.defineProperties(fn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),Ue.forEach((function(e){return pn(e)})),qe.forEach((function(e){return pn(e)}));var _n=new WeakMap;function yn(e){if(y(e)||e instanceof fn)return e;var t=_n.get(e);return t||(t=new fn(e),_n.set(e,t)),t}if(c.N){var mn=c.i?function(e){return e}:function(e){return pe(e),fe(e),e};window.ShadyDOM={inUse:c.N,patch:mn,isShadyRoot:y,enqueue:H,flush:B,flushInitial:function(e){!e.P&&e.s&&Qt(e)},settings:c,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=l(e);n.B||(n.B=new U),n.B.H.add(t);var r=n.B;return{Z:t,ba:r,aa:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.ba;t&&(t.H.delete(e.Z),t.H.size||(l(e.aa).B=null))},deferConnectionCallbacks:c.deferConnectionCallbacks,preferPerformance:c.preferPerformance,handlesDynamicScoping:!0,wrap:c.l?yn:mn,wrapIfNeeded:!0===c.l?yn:function(e){return e},Wrapper:fn,composedPath:function(e){return e.__composedPath||(e.__composedPath=Ee(e.target,!0)),e.__composedPath},noPatch:c.l,patchOnDemand:c.O,nativeMethods:J,nativeTree:$,patchElementProto:Ft,querySelectorImplementation:c.querySelectorImplementation},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(ee(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&ee(Window.prototype,e)):(ee(Node.prototype,e),ee(Window.prototype,e),ee(XMLHttpRequest.prototype,e)),Y?ee(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Q(Node.prototype,{parentNode:{get:function(){return te.currentNode=this,te.parentNode()}},firstChild:{get:function(){return te.currentNode=this,te.firstChild()}},lastChild:{get:function(){return te.currentNode=this,te.lastChild()}},previousSibling:{get:function(){return te.currentNode=this,te.previousSibling()}},nextSibling:{get:function(){return te.currentNode=this,te.nextSibling()}},childNodes:{get:function(){var e=[];te.currentNode=this;for(var t=te.firstChild();t;)e.push(t),t=te.nextSibling();return e}},parentElement:{get:function(){return ne.currentNode=this,ne.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:oe(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),ee(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),ee(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return ne.currentNode=this,ne.firstChild()}},lastElementChild:{get:function(){return ne.currentNode=this,ne.lastChild()}},children:{get:function(){var e=[];ne.currentNode=this;for(var t=ne.firstChild();t;)e.push(t),t=ne.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Y?(ee(Element.prototype,ie),ee(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),ee(HTMLElement.prototype,["children","innerHTML","className"])):(Q(Element.prototype,e),Q(Element.prototype,{previousElementSibling:{get:function(){return ne.currentNode=this,ne.previousSibling()}},nextElementSibling:{get:function(){return ne.currentNode=this,ne.nextSibling()}},innerHTML:{get:function(){return z(this,O)},set:function(e){var t="template"===this.localName?this.content:this;oe(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==re.namespaceURI?re.createElementNS(this.namespaceURI,n):re.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),ee(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),ee(Element.prototype,se),ee(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&ee(window.HTMLTemplateElement.prototype,["innerHTML"]),Y?ee(DocumentFragment.prototype,ie):Q(DocumentFragment.prototype,e),ee(DocumentFragment.prototype,se),Y?(ee(Document.prototype,ie),ee(Document.prototype,["activeElement"])):Q(Document.prototype,e),ee(Document.prototype,["importNode","getElementById","elementFromPoint",p()]),ee(Document.prototype,se)}(),jt("__shady_"),Object.defineProperty(document,"_activeElement",xt.activeElement),k(Window.prototype,Mt,"__shady_"),c.l?c.O&&k(Element.prototype,bt):(jt(),function(){if(!ye&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in Oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(je(e),De(e))}),!0)}(),window.Event=Fe,window.CustomEvent=He,window.MouseEvent=Be,window.ShadowRoot=Jt}}).call(this)}).call(this,n(333))},353:function(e,t,n){"use strict";
14
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{334:function(e,t){function n(e){return(n="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)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},350:function(e,t,n){(function(e){function t(e){return(t="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(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s=function(n){n=["object"==("undefined"==typeof globalThis?"undefined":t(globalThis))&&globalThis,n,"object"==("undefined"==typeof window?"undefined":t(window))&&window,"object"==("undefined"==typeof self?"undefined":t(self))&&self,"object"==(void 0===e?"undefined":t(e))&&e];for(var r=0;r<n.length;++r){var o=n[r];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}(this);function a(){}function l(e){return e.__shady||(e.__shady=new a),e.__shady}function u(e){return e&&e.__shady}a.prototype.toJSON=function(){return{}};var c=window.ShadyDOM||{};c.da=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var d,h=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");c.i=!!(h&&h.configurable&&h.get),c.N=c.force||!c.da,c.l=c.noPatch||!1,c.C=c.preferPerformance,c.O="on-demand"===c.l;var f=c.querySelectorImplementation;function p(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function _(e){return(e=u(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=u(e))&&e.root)&&ln(e)}d=-1<["native","selectorEngine"].indexOf(f)?f:void 0,c.ga=d,c.V=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),b=0,E=[];function N(e){E.push(e),S.textContent=b++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=b++,e}})).observe(S,{characterData:!0});var w=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function T(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=o(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}function O(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function P(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function k(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function D(e,t){for(var n in t)n in e&&x(e,n,t[n])}function M(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}function I(e){var t;for(t=void 0===t?1:t;0<t;t--)e=e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,i(t)):e.push(t),e}),[]);return e}var j,F=[];function H(e){j||(j=!0,N(B)),F.push(e)}function B(){j=!1;for(var e=!!F.length;F.length;)F.shift()();return e}function U(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.H=new Set}B.list=F,U.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.H.forEach((function(t){t(e)}))}},U.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var q=/[&\u00A0"]/g,V=/[&\u00A0<>]/g;function G(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function W(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var K=W("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),X=W("style script xmp iframe noembed noframes plaintext noscript".split(" "));function z(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var a=s,l=e,u=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var c,d="<"+(l=a.localName),h=a.attributes,f=0;c=h[f];f++)d+=" "+c.name+'="'+c.value.replace(q,G)+'"';d+=">",a=K[l]?d:d+z(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&X[l.localName]?a:a.replace(V,G);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var Y=c.i,J={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},$={};function Z(e){$[e]=function(t){return t["__shady_native_"+e]}}function Q(e,t){for(var n in k(e,t,"__shady_native_"),t)Z(n)}function ee(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?J[r]||(J[r]=o.value):Z(r))}}var te=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),ne=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),re=document.implementation.createHTMLDocument("inert");function oe(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var ie=["firstElementChild","lastElementChild","children","childElementCount"],se=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var ae=M({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),le=M({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),ue=M({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function ce(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}ce(ae),ce(le),ce(ue);var de,he=c.i||!0===c.l,fe=he?function(){}:function(e){var t=l(e);t.X||(t.X=!0,D(e,ue))},pe=he?function(){}:function(e){var t=l(e);t.W||(t.W=!0,D(e,ae),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!c.l||D(e,le))},_e="__eventWrappers"+Date.now(),ye=(de=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return de.get.call(e)}:null,me=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ve(e){if(null===e||"object"!==t(e)&&"function"!=typeof e)var n=!!e,r=!1;else{n=!!e.capture,r=!!e.once;var o=e.o}return{U:o,capture:n,once:r,T:me?e:n}}var ge={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Se={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function be(e){return e instanceof Node?e.__shady_getRootNode():e}function Ee(e,t){var n=[],r=e;for(e=be(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Ne(e,t){if(!y)return e;e=Ee(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=be(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}var we={get composed(){return void 0===this.__composed&&(ye?this.__composed="focusin"===this.type||"focusout"===this.type||ye(this):!1!==this.isTrusted&&(this.__composed=ge[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Ee(this.__target,this.composed)),this.__composedPath},get target(){return Ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ee(this.__relatedTarget,!0)),Ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.K=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.K=this.__immediatePropagationStopped=!0}},Ce=c.i&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function Te(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}Ce&&(Object.defineProperty(we,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(we,"__shady_native_eventPhase",Ce));var Oe={focus:!0,blur:!0};function Pe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function xe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!Pe(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}var ke=new Event("e").hasOwnProperty("currentTarget");function De(e){var t=(e=ke?Object.create(e):e).composedPath(),n=t.map((function(e){return Ne(e,t)})),r=e.bubbles,o=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var a=t.length-1;0<=a;a--){var l=t[a];if(i=l===n[a]?Event.AT_TARGET:Event.CAPTURING_PHASE,xe(e,l,"capture"),e.K)return}for(a=0;a<t.length;a++){var u=(l=t[a])===n[a];if((u||r)&&(i=u?Event.AT_TARGET:Event.BUBBLING_PHASE,xe(e,l,"bubble"),e.K))break}}finally{ke||(o?Object.defineProperty(e,"currentTarget",o):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function Me(e,t,n,r){for(var o=0;o<e.length;o++){var i=e[o],s=i.type,a=i.capture;if(t===i.node&&n===s&&r===a)return o}return-1}function Ae(e){return B(),!c.C&&this instanceof Node&&!w(document,this)?(e.__target||je(e,this),De(e)):this.__shady_native_dispatchEvent(e)}function Re(e,n,r){var o=this,i=ve(r),s=i.capture,a=i.once,l=i.U;if(i=i.T,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(Se[e])return this.__shady_native_addEventListener(e,n,i);var c=l||this;if(l=n[_e]){if(-1<Me(l,c,e,s))return}else n[_e]=[];l=function(t){if(a&&o.__shady_removeEventListener(e,n,r),t.__target||je(t),c!==o){var i=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var l=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return s?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(Pe(t)&&t.target===t.relatedTarget)t.eventPhase===Event.BUBBLING_PHASE&&t.stopImmediatePropagation();else if(t.eventPhase===Event.CAPTURING_PHASE||t.bubbles||t.target===c||c instanceof Window){var d="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==o&&(i?(Object.defineProperty(t,"currentTarget",i),i=null):delete t.currentTarget,l?(Object.defineProperty(t,"eventPhase",l),l=null):delete t.eventPhase),d}},n[_e].push({node:c,type:e,capture:s,fa:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][s?"capture":"bubble"].push(l),Oe[e]||this.__shady_native_addEventListener(e,l,i)}}}function Le(e,t,n){if(t){var r=ve(n);n=r.capture;var o=r.U;if(r=r.T,Se[e])return this.__shady_native_removeEventListener(e,t,r);var i=o||this;o=void 0;var s=null;try{s=t[_e]}catch(e){}s&&(-1<(i=Me(s,i,e,n))&&(o=s.splice(i,1)[0].fa,s.length||(t[_e]=void 0))),this.__shady_native_removeEventListener(e,o||t,r),o&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(o))&&e.splice(t,1))}}var Ie=M(we);function je(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,c.i){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,Ie),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,Ie)}var Fe=Te(Event),He=Te(CustomEvent),Be=Te(MouseEvent);var Ue=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),qe=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function Ve(e){return{set:function(t){var n=l(this),r=e.substring(2);n.m||(n.m={}),n.m[e]&&this.removeEventListener(r,n.m[e]),this.__shady_addEventListener(r,t),n.m[e]=t},get:function(){var t=u(this);return t&&t.m&&t.m[e]},configurable:!0}}function Ge(e,t){return{index:e,D:[],G:t}}function We(e,t,n,r){var o=0,i=0,s=0,a=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var u=n.length,c=0;c<l-s&&Ke(e[--a],n[--u]);)c++;a=c}if(i+=s,r-=a,0==(t-=a)-(o+=s)&&0==r-i)return[];if(o==t){for(t=Ge(o,0);i<r;)t.D.push(n[i++]);return[t]}if(i==r)return[Ge(o,t-o)];for(r=r-(s=i)+1,a=t-(l=o)+1,t=Array(r),u=0;u<r;u++)t[u]=Array(a),t[u][0]=u;for(u=0;u<a;u++)t[0][u]=u;for(u=1;u<r;u++)for(c=1;c<a;c++)if(e[l+c-1]===n[s+u-1])t[u][c]=t[u-1][c-1];else{var d=t[u-1][c]+1,h=t[u][c-1]+1;t[u][c]=d<h?d:h}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(d=(u=t[l-1][s])<(c=t[l][s-1])?u<a?u:a:c<a?c:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):d==u?(e.push(3),l--,r=u):(e.push(2),s--,r=c));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=Ge(o,0)),t.G++,o++,t.D.push(n[i]),i++;break;case 2:t||(t=Ge(o,0)),t.G++,o++;break;case 3:t||(t=Ge(o,0)),t.D.push(n[i]),i++}return t&&l.push(t),l}function Ke(e,t){return e===t}var Xe=M({dispatchEvent:Ae,addEventListener:Re,removeEventListener:Le}),ze=null;function Ye(){return ze||(ze=window.ShadyCSS&&window.ShadyCSS.ScopingShim),ze||null}function Je(e,t,n){var r=Ye();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function $e(e,t){var n=Ye();n&&n.unscopeNode(e,t)}function Ze(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ye();return t?t.currentScopeForNode(e):""}function Qe(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Qe(e,t)}var et=window.document,tt=c.C,nt=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),rt=nt&&nt.get;function ot(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function it(e,t,n){if(e=(e=u(e))&&e.B){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.g||(e.g=!0,N((function(){e.flush()})))}(e)}}var st=M({get parentNode(){var e=u(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=u(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=u(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=u(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=u(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(_(this)){var e=u(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=u(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(rt&&rt.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||w(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(_(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!_(this)&&c.i){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&ot(this),this.__shady_native_textContent=e}else ot(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==et&&e.ownerDocument!==et)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var n=u(t);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;it(this,e);var r=[],o=(n=hn(this))?n.host.localName:Ze(this),s=e.__shady_parentNode;if(s){var a=Ze(e),c=!!n||!hn(e)||tt&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,c)}s=!0;var d=(!tt||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ye();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,o),h=n&&!e.__noInsertionPoint&&(!tt||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(h||d)&&(d&&(a=a||Ze(e)),Qe(e,(function(e){if(h&&"slot"===e.localName&&r.push(e),d){var t=a;Ye()&&(t&&$e(e,t),(t=Ye())&&t.scopeNode(e,o))}}))),r.length&&(rn(n),n.j.push.apply(n.j,i(r)),Zt(n)),_(this)&&(function(e,t,n){Ut(t,2);var r=l(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)qt(e,t,r,n);else qt(e,t,r,n)}(e,this,t),(c=u(this)).root?(s=!1,m(this)&&Zt(c.root)):n&&"slot"===this.localName&&(s=!1,Zt(n))),s?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=u(t);(r=r&&r.u)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!y(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==et)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);it(this,null,e);var n=hn(e),r=n&&function(e,t){if(e.g){on(e);var n,r=e.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.g.indexOf(s);if(0<=a&&(e.g.splice(a,1),(a=u(s.__shady_parentNode))&&a.F&&a.F--),i--,s=u(s),a=s.u)for(var l=0;l<a.length;l++){var c=a[l],d=c.__shady_native_parentNode;d&&d.__shady_native_removeChild(c)}s.u=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=u(this);if(_(this)&&(function(e,t){var n=l(e);t=l(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(l(e).nextSibling=r),r&&(l(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Zt(o.root);var i=!0}if(Ye()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Ze(e);Qe(e,(function(e){$e(e,s)}))}return function e(t){var n=u(t);if(n&&void 0!==n.J)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=u(t))&&(t.J=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Zt(n)),i||(i=y(this)?this.host:this,(!o.root&&"slot"!==e.localName||i===e.__shady_native_parentNode)&&i.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=l(this),n=t.J;return void 0===n&&(y(this)?(n=this,t.J=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.J=n))),n}},contains:function(e){return C(this,e)}}),at=M({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Qt(e),(e=u(this))&&e.assignedSlot||null}}),lt=new Map;function ut(e,t,n,r){for(r=void 0===r||r;t<e.length;t++)if("\\"===e[t]&&t<e.length-1&&"\n"!==e[t+1])t++;else{if(-1!==n.indexOf(e[t]))return t;if(r&&lt.has(e[t])){var o=lt.get(e[t]);t=ut(e,t+1,[o.end],o.I)}}return e.length}function ct(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n,a=r,l=o,u=s(i=t);u&&l.push(i),a&&a(u)?i=u:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}[["(",{end:")",I:!0}],["[",{end:"]",I:!0}],['"',{end:'"',I:!1}],["'",{end:"'",I:!1}]].forEach((function(e){var t=o(e);e=t.next().value,t=t.next().value,lt.set(e,t)}));var dt={get firstElementChild(){var e=u(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=u(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return _(this)?T(Array.prototype.filter.call(P(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},ht=M((dt.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},dt.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},dt.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},dt));function ft(e,t){function n(t,n){return(t===e||-1===n.indexOf(":scope"))&&g.call(t,n)}var r=function(e){function t(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({S:r.filter((function(e,t){return 0==t%2})),ca:r.filter((function(e,t){return 1==t%2}))}),r.length=0}}for(var n=[],r=[],o=0;o<e.length;){var i=r[r.length-1],s=ut(e,o,[","," ",">","+","~"]),a=s===o?e[o]:e.substring(o,s);","===a?t():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===a||(" "===i&&-1!==[">","+","~"].indexOf(a)?r[r.length-1]=a:r.push(a)),o=s+(s===o?1:0)}return t(),n}(t);if(1>r.length)return[];for(t=I(ct(e,(function(){return!0})).map((function(e){return I(r.map((function(t){var r=t.S,o=r.length-1;return n(e,r[o])?{target:e,v:t,A:e,index:o}:[]})))})));t.some((function(e){return 0<e.index}));)t=I(t.map((function(e){if(0>=e.index)return e;var t=e.target,r=e.A,o=e.v;e=e.index-1;var i=o.ca[e],s=o.S[e];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}if(">"===i)return n(r=r.__shady_parentElement,s)?{target:t,v:o,A:r,index:e}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,s)?{target:t,v:o,A:r,index:e}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(e){for(var t=[],n=new Set,r=(e=o(e)).next();!r.done;r=e.next())r=r.value,n.has(r)||(t.push(r),n.add(r));return t}(t.map((function(e){return e.target})))}var pt=c.querySelectorImplementation,_t=M({querySelector:function(e){if("native"===pt){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode(),r=(t=o(t)).next();!r.done;r=t.next())if((r=r.value).__shady_getRootNode()==n)return r;return null}if("selectorEngine"===pt)return ft(this,e)[0]||null;if(void 0===pt)return ct(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+pt+"'")},querySelectorAll:function(e,t){if(t||"native"===pt){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}if("selectorEngine"===pt)return T(ft(this,e));if(void 0===pt)return T(ct(this,(function(t){return g.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+pt+"'")}}),yt=c.C&&!c.l?A({},ht):ht;A(ht,_t);var mt=M({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),vt=window.document;function gt(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Zt(u(e).root);else if("slot"===e.localName&&"name"===t&&(t=hn(e))){if(t.g){on(t);var n=e.Y,r=sn(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=an(n))}}Zt(t)}}var St=M({get previousElementSibling(){var e=u(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=u(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==vt?this.__shady_native_setAttribute(e,t):Je(this,e,t)||(this.__shady_native_setAttribute(e,t),gt(this,e))},removeAttribute:function(e){this.ownerDocument!==vt?this.__shady_native_removeAttribute(e):Je(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),gt(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==vt?this.__shady_native_toggleAttribute(e,t):Je(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),gt(this,e),t)}});c.C||Ue.forEach((function(e){St[e]=Ve(e)}));var bt=M({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!c.V){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,$t(t,this,e),Vt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;rn(n),n.j.push.apply(n.j,i(e)),Zt(t)}t.host.__shady_native_appendChild(t)}else t=new Jt(Xt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=u(this);return e&&e.ea||null}});A(St,bt);var Et=document.implementation.createHTMLDocument("inert"),Nt=M({get innerHTML(){return _(this)?z("template"===this.localName?this.content:this,P):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{ot(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Et.namespaceURI?Et.createElementNS(this.namespaceURI,t):Et.createElement(t),c.i?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),wt=M({blur:function(){var e=u(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});c.C||qe.forEach((function(e){wt[e]=Ve(e)}));var Ct=M({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Qt(t),(t=u(this))&&(e&&e.flatten?t.u:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)Re.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.o=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)Le.call(this,e,n,r);else{"object"!==t(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.o=this,o.__shady_removeEventListener(e,n,r)}}}),Tt=M({getElementById:function(e){return""===e?null:ct(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function Ot(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}var Pt="__shady_native_"+p(),xt=M({get activeElement(){var e=c.i?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!y(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=hn(e);t&&t!==this;)t=hn(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Pt](e,t),this===document&&c.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);y(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(Ot(t,e[r]));var o=[];return n.forEach((function(e){return o.push(e)})),o},elementFromPoint:function(e,t){return this===document&&c.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),kt=window.document,Dt=M({importNode:function(e,t){if(e.ownerDocument!==kt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Mt=M({dispatchEvent:Ae,addEventListener:Re.bind(window),removeEventListener:Le.bind(window)}),At={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(At.parentElement=st.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(At.contains=st.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(At.children=ht.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(At.innerHTML=Nt.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(At.className=St.className);var Rt={EventTarget:[Xe],Node:[st,window.EventTarget?null:Xe],Text:[at],Comment:[at],CDATASection:[at],ProcessingInstruction:[at],Element:[St,ht,mt,at,!c.i||"innerHTML"in Element.prototype?Nt:null,window.HTMLSlotElement?null:Ct],HTMLElement:[wt,At],HTMLSlotElement:[Ct],DocumentFragment:[yt,Tt],Document:[Dt,yt,Tt,xt],Window:[Mt],CharacterData:[mt],XMLHttpRequest:[window.EventTarget?null:Xe]},Lt=c.i?null:["innerHTML","textContent"];function It(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function jt(e){var t,n=e?null:Lt;for(t in Rt)It(window[t]&&window[t].prototype,Rt[t],e,n)}function Ft(e){return e.__shady_protoIsPatched=!0,It(e,Rt.EventTarget),It(e,Rt.Node),It(e,Rt.Element),It(e,Rt.HTMLElement),It(e,Rt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,It(n,Rt.EventTarget),It(n,Rt.Node),Rt[e]&&It(n,Rt[e]),t.prototype.__shady_patchedProto=n}));var Ht=c.O,Bt=c.i;function Ut(e,t){if(Ht&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(Ft(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}Bt||(1===t?fe(e):2===t&&pe(e))}function qt(e,t,n,r){Ut(e,1),r=r||null;var o=l(e),i=r?l(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=u(o.previousSibling))&&(i.nextSibling=e),(i=u(o.nextSibling=r))&&(i.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function Vt(e,t){var n=l(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,Ut(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=l(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Ut(n,1)}}}var Gt=M({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.o=r.o||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.o=r.o||this,this.host.__shady_removeEventListener(e,n,r)}});function Wt(e,t){k(e,Gt,t),k(e,xt,t),k(e,Nt,t),k(e,ht,t),c.l&&!t?(k(e,st,t),k(e,Tt,t)):c.i||(k(e,ue),k(e,ae),k(e,le))}var Kt,Xt={},zt=c.deferConnectionCallbacks&&"loading"===document.readyState;function Yt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Jt(e,t,n){if(e!==Xt)throw new TypeError("Illegal constructor");this.g=null,$t(this,t,n)}function $t(e,t,n){if(e.host=t,e.mode=n&&n.mode,Vt(e.host),(t=l(e.host)).root=e,t.ea="closed"!==e.mode?e:null,(t=l(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,c.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Zt(e)}function Zt(e){e.s||(e.s=!0,H((function(){return Qt(e)})))}function Qt(e){var t;if(t=e.s){for(var n;e;)e.s&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=u(t.host))&&0<t.F||(e=void 0);t=n}(n=t)&&n._renderSelf()}function en(e,t,n){var r=l(t),o=r.L;r.L=null,n||(n=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),n?(l(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(l(r.assignedSlot).M=!0)}function tn(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=u(o).assignedNodes;i&&i.length&&tn(e,t,i)}else t.push(n[r])}function nn(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=u(t)).assignedSlot&&nn(e,t.assignedSlot)}function rn(e){e.j=e.j||[],e.g=e.g||[],e.h=e.h||{}}function on(e){if(e.j&&e.j.length){for(var t,n=e.j,r=0;r<n.length;r++){var o=n[r];Vt(o);var i=o.__shady_parentNode;Vt(i),(i=u(i)).F=(i.F||0)+1,i=sn(o),e.h[i]?((t=t||{})[i]=!0,e.h[i].push(o)):e.h[i]=[o],e.g.push(o)}if(t)for(var s in t)e.h[s]=an(e.h[s]);e.j=[]}}function sn(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Y=t}function an(e){return e.sort((function(e,t){e=Yt(e);for(var n=Yt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=P(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function ln(e){return on(e),!(!e.g||!e.g.length)}if(Jt.prototype._renderSelf=function(){var e=zt;if(zt=!0,this.s=!1,this.g){on(this);for(var t,n=0;n<this.g.length;n++){var r=u(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.u=[],r.R=o)for(r=0;r<o.length;r++){var i=u(o[r]);i.L=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)en(this,n);for(n=0;n<this.g.length;n++){if(!(o=u(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)en(this,r,t);if((r=(r=u(t.__shady_parentNode))&&r.root)&&(ln(r)||r.s)&&r._renderSelf(),tn(this,o.u,o.assignedNodes),r=o.R){for(i=0;i<r.length;i++)u(r[i]).L=null;o.R=null,r.length>o.assignedNodes.length&&(o.M=!0)}o.M&&(o.M=!1,nn(this,t))}for(t=this.g,n=[],o=0;o<t.length;o++)(i=u(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var s=u(i).u,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=We(r,r.length,i,i.length);for(var l=a=0,d=void 0;a<s.length&&(d=s[a]);a++){for(var h=0,f=void 0;h<d.D.length&&(f=d.D[h]);h++)f.__shady_native_parentNode===o&&o.__shady_native_removeChild(f),i.splice(d.index+l,1);l-=d.G}for(l=0,d=void 0;l<s.length&&(d=s[l]);l++)for(a=i[d.index],h=d.index;h<d.index+d.G;h++)f=r[h],o.__shady_native_insertBefore(f,a),i.splice(h,0,f)}}if(!c.preferPerformance&&!this.P)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=u(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.P=!0,zt=e,Kt&&Kt()},function(e){e.__proto__=DocumentFragment.prototype,Wt(e,"__shady_"),Wt(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(Jt.prototype),window.customElements&&window.customElements.define&&c.N&&!c.preferPerformance){var un=new Map;Kt=function(){var e=[];un.forEach((function(t,n){e.push([n,t])})),un.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},zt&&document.addEventListener("readystatechange",(function(){zt=!1,Kt()}),{once:!0});var cn=window.customElements.define,dn=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;cn.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){zt?un.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){zt?this.isConnected||un.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=dn,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:dn,configurable:!0})}function hn(e){if(y(e=e.__shady_getRootNode()))return e}function fn(e){this.node=e}function pn(e){Object.defineProperty(fn.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=fn.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},n.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},n.appendChild=function(e){return this.node.__shady_appendChild(e)},n.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},n.removeChild=function(e){return this.node.__shady_removeChild(e)},n.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},n.cloneNode=function(e){return this.node.__shady_cloneNode(e)},n.getRootNode=function(e){return this.node.__shady_getRootNode(e)},n.contains=function(e){return this.node.__shady_contains(e)},n.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},n.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},n.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},n.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},n.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},n.attachShadow=function(e){return this.node.__shady_attachShadow(e)},n.focus=function(){this.node.__shady_native_focus()},n.blur=function(){this.node.__shady_blur()},n.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},n.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},n.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},n.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},n.querySelector=function(e){return this.node.__shady_querySelector(e)},n.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},n.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},s.Object.defineProperties(fn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(y(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(y(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),Ue.forEach((function(e){return pn(e)})),qe.forEach((function(e){return pn(e)}));var _n=new WeakMap;function yn(e){if(y(e)||e instanceof fn)return e;var t=_n.get(e);return t||(t=new fn(e),_n.set(e,t)),t}if(c.N){var mn=c.i?function(e){return e}:function(e){return pe(e),fe(e),e};window.ShadyDOM={inUse:c.N,patch:mn,isShadyRoot:y,enqueue:H,flush:B,flushInitial:function(e){!e.P&&e.s&&Qt(e)},settings:c,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=l(e);n.B||(n.B=new U),n.B.H.add(t);var r=n.B;return{Z:t,ba:r,aa:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.ba;t&&(t.H.delete(e.Z),t.H.size||(l(e.aa).B=null))},deferConnectionCallbacks:c.deferConnectionCallbacks,preferPerformance:c.preferPerformance,handlesDynamicScoping:!0,wrap:c.l?yn:mn,wrapIfNeeded:!0===c.l?yn:function(e){return e},Wrapper:fn,composedPath:function(e){return e.__composedPath||(e.__composedPath=Ee(e.target,!0)),e.__composedPath},noPatch:c.l,patchOnDemand:c.O,nativeMethods:J,nativeTree:$,patchElementProto:Ft,querySelectorImplementation:c.querySelectorImplementation},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(ee(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&ee(Window.prototype,e)):(ee(Node.prototype,e),ee(Window.prototype,e),ee(XMLHttpRequest.prototype,e)),Y?ee(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Q(Node.prototype,{parentNode:{get:function(){return te.currentNode=this,te.parentNode()}},firstChild:{get:function(){return te.currentNode=this,te.firstChild()}},lastChild:{get:function(){return te.currentNode=this,te.lastChild()}},previousSibling:{get:function(){return te.currentNode=this,te.previousSibling()}},nextSibling:{get:function(){return te.currentNode=this,te.nextSibling()}},childNodes:{get:function(){var e=[];te.currentNode=this;for(var t=te.firstChild();t;)e.push(t),t=te.nextSibling();return e}},parentElement:{get:function(){return ne.currentNode=this,ne.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:oe(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),ee(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),ee(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return ne.currentNode=this,ne.firstChild()}},lastElementChild:{get:function(){return ne.currentNode=this,ne.lastChild()}},children:{get:function(){var e=[];ne.currentNode=this;for(var t=ne.firstChild();t;)e.push(t),t=ne.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Y?(ee(Element.prototype,ie),ee(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),ee(HTMLElement.prototype,["children","innerHTML","className"])):(Q(Element.prototype,e),Q(Element.prototype,{previousElementSibling:{get:function(){return ne.currentNode=this,ne.previousSibling()}},nextElementSibling:{get:function(){return ne.currentNode=this,ne.nextSibling()}},innerHTML:{get:function(){return z(this,O)},set:function(e){var t="template"===this.localName?this.content:this;oe(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==re.namespaceURI?re.createElementNS(this.namespaceURI,n):re.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),ee(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),ee(Element.prototype,se),ee(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&ee(window.HTMLTemplateElement.prototype,["innerHTML"]),Y?ee(DocumentFragment.prototype,ie):Q(DocumentFragment.prototype,e),ee(DocumentFragment.prototype,se),Y?(ee(Document.prototype,ie),ee(Document.prototype,["activeElement"])):Q(Document.prototype,e),ee(Document.prototype,["importNode","getElementById","elementFromPoint",p()]),ee(Document.prototype,se)}(),jt("__shady_"),Object.defineProperty(document,"_activeElement",xt.activeElement),k(Window.prototype,Mt,"__shady_"),c.l?c.O&&k(Element.prototype,bt):(jt(),function(){if(!ye&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in Oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(je(e),De(e))}),!0)}(),window.Event=Fe,window.CustomEvent=He,window.MouseEvent=Be,window.ShadowRoot=Jt}}).call(this)}).call(this,n(334))},354:function(e,t,n){"use strict";
15
15
  /**
16
16
  @license
17
17
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.