jekyll-theme-hydejack 9.0.3 → 9.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/scripts.html +2 -2
  5. data/_includes/components/hy-img.html +1 -1
  6. data/_includes/head/links-static.html +1 -0
  7. data/_includes/head/meta-static.html +1 -1
  8. data/_includes/head/styles-inline.html +1 -1
  9. data/_includes/head/styles-no-inline.html +1 -1
  10. data/_includes/header.txt +1 -1
  11. data/_layouts/compress.html +1 -1
  12. data/_sass/hydejack/__inline__/_base.scss +1 -4
  13. data/_sass/hydejack/__inline__/_content.scss +3 -4
  14. data/_sass/hydejack/__inline__/_toc.scss +3 -7
  15. data/_sass/hydejack/__link__/_base.scss +8 -1
  16. data/_sass/hydejack/__link__/_content.scss +10 -4
  17. data/_sass/hydejack/__link__/_toc.scss +3 -1
  18. data/_sass/hydejack/_base.pre.scss +15 -7
  19. data/_sass/hydejack/_content.pre.scss +7 -11
  20. data/_sass/hydejack/_toc.pre.scss +3 -9
  21. data/_sass/pooleparty/__inline__/_message.scss +1 -1
  22. data/_sass/pooleparty/_message.pre.scss +1 -1
  23. data/assets/css/{hydejack-9.0.3.css → hydejack-9.0.4.css} +0 -0
  24. data/assets/js/{LEGACY-drawer-hydejack-9.0.3.js → LEGACY-drawer-hydejack-9.0.4.js} +2 -2
  25. data/assets/js/{LEGACY-fetch-hydejack-9.0.3.js → LEGACY-fetch-hydejack-9.0.4.js} +1 -1
  26. data/assets/js/LEGACY-hydejack-9.0.4.js +28 -0
  27. data/assets/js/{LEGACY-navbar-hydejack-9.0.3.js → LEGACY-navbar-hydejack-9.0.4.js} +2 -2
  28. data/assets/js/{LEGACY-push-state-hydejack-9.0.3.js → LEGACY-push-state-hydejack-9.0.4.js} +2 -2
  29. data/assets/js/{LEGACY-resize-observer-hydejack-9.0.3.js → LEGACY-resize-observer-hydejack-9.0.4.js} +1 -1
  30. data/assets/js/{LEGACY-search-hydejack-9.0.2.js → LEGACY-search-hydejack-9.0.4.js} +1 -1
  31. data/assets/js/{LEGACY-shadydom-hydejack-9.0.3.js → LEGACY-shadydom-hydejack-9.0.4.js} +1 -1
  32. data/assets/js/LEGACY-toc-hydejack-9.0.4.js +14 -0
  33. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.4.js +47 -0
  34. data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.0.3.js → LEGACY-vendors~drawer~push-state-hydejack-9.0.4.js} +6 -6
  35. data/assets/js/{LEGACY-vendors~drawer~push-state~search-hydejack-9.0.3.js → LEGACY-vendors~drawer~push-state~search-hydejack-9.0.4.js} +1 -1
  36. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.4.js +14 -0
  37. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.0.3.js → LEGACY-vendors~intersection-observer-hydejack-9.0.4.js} +1 -1
  38. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.4.js +33 -0
  39. data/assets/js/{LEGACY-vendors~search-hydejack-9.0.2.js → LEGACY-vendors~search-hydejack-9.0.4.js} +1 -1
  40. data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.0.3.js → LEGACY-vendors~shadydom-hydejack-9.0.4.js} +2 -2
  41. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.3.js → LEGACY-vendors~webanimations-hydejack-9.0.4.js} +1 -1
  42. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.3.js → LEGACY-vendors~webcomponents-hydejack-9.0.4.js} +1 -1
  43. data/assets/js/{LEGACY-webcomponents-hydejack-9.0.3.js → LEGACY-webcomponents-hydejack-9.0.4.js} +1 -1
  44. data/assets/js/{drawer-hydejack-9.0.3.js → drawer-hydejack-9.0.4.js} +2 -2
  45. data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → fetch-hydejack-9.0.4.js} +2 -2
  46. data/assets/js/hydejack-9.0.4.js +28 -0
  47. data/assets/js/navbar-hydejack-9.0.4.js +14 -0
  48. data/assets/js/{push-state-hydejack-9.0.3.js → push-state-hydejack-9.0.4.js} +2 -2
  49. data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.0.4.js} +2 -2
  50. data/assets/js/{search-hydejack-9.0.2.js → search-hydejack-9.0.4.js} +1 -1
  51. data/assets/js/{shadydom-hydejack-9.0.3.js → shadydom-hydejack-9.0.4.js} +2 -2
  52. data/assets/js/toc-hydejack-9.0.4.js +14 -0
  53. data/assets/js/vendors~drawer-hydejack-9.0.4.js +47 -0
  54. data/assets/js/{vendors~drawer~push-state-hydejack-9.0.3.js → vendors~drawer~push-state-hydejack-9.0.4.js} +9 -9
  55. data/assets/js/{vendors~drawer~push-state~search-hydejack-9.0.2.js → vendors~drawer~push-state~search-hydejack-9.0.4.js} +1 -1
  56. data/assets/js/vendors~fetch-hydejack-9.0.4.js +14 -0
  57. data/assets/js/{vendors~intersection-observer-hydejack-9.0.2.js → vendors~intersection-observer-hydejack-9.0.4.js} +2 -2
  58. data/assets/js/vendors~push-state-hydejack-9.0.4.js +33 -0
  59. data/assets/js/{vendors~search-hydejack-9.0.3.js → vendors~search-hydejack-9.0.4.js} +2 -2
  60. data/assets/js/{vendors~shadydom-hydejack-9.0.3.js → vendors~shadydom-hydejack-9.0.4.js} +2 -2
  61. data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.0.4.js} +2 -2
  62. data/assets/js/{webcomponents-hydejack-9.0.3.js → webcomponents-hydejack-9.0.4.js} +2 -2
  63. data/assets/version.json +2 -2
  64. metadata +42 -83
  65. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
  66. data/assets/js/LEGACY-fetch-hydejack-9.0.2.js +0 -14
  67. data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
  68. data/assets/js/LEGACY-hydejack-9.0.2.js.map +0 -1
  69. data/assets/js/LEGACY-hydejack-9.0.3.js +0 -28
  70. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
  71. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
  72. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js.map +0 -1
  73. data/assets/js/LEGACY-search-hydejack-9.0.3.js +0 -14
  74. data/assets/js/LEGACY-toc-hydejack-9.0.2.js +0 -14
  75. data/assets/js/LEGACY-toc-hydejack-9.0.3.js +0 -14
  76. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
  77. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.3.js +0 -47
  78. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -78
  79. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js.map +0 -1
  80. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.2.js +0 -151
  81. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
  82. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.3.js +0 -14
  83. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  84. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
  85. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.3.js +0 -33
  86. data/assets/js/LEGACY-vendors~search-hydejack-9.0.3.js +0 -40
  87. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
  88. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.2.js +0 -14
  89. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.2.js +0 -34
  90. data/assets/js/LEGACY-webcomponents-hydejack-9.0.2.js +0 -14
  91. data/assets/js/drawer-hydejack-9.0.2.js +0 -14
  92. data/assets/js/fetch-hydejack-9.0.2.js +0 -14
  93. data/assets/js/fetch-hydejack-9.0.3.js +0 -14
  94. data/assets/js/hydejack-9.0.3.js +0 -28
  95. data/assets/js/navbar-hydejack-9.0.2.js +0 -14
  96. data/assets/js/navbar-hydejack-9.0.3.js +0 -14
  97. data/assets/js/push-state-hydejack-9.0.2.js +0 -14
  98. data/assets/js/push-state-hydejack-9.0.2.js.map +0 -1
  99. data/assets/js/resize-observer-hydejack-9.0.2.js +0 -14
  100. data/assets/js/resize-observer-hydejack-9.0.3.js +0 -14
  101. data/assets/js/search-hydejack-9.0.3.js +0 -14
  102. data/assets/js/shadydom-hydejack-9.0.2.js +0 -14
  103. data/assets/js/toc-hydejack-9.0.2.js +0 -14
  104. data/assets/js/toc-hydejack-9.0.3.js +0 -14
  105. data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
  106. data/assets/js/vendors~drawer-hydejack-9.0.3.js +0 -47
  107. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -53
  108. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js.map +0 -1
  109. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.3.js +0 -124
  110. data/assets/js/vendors~intersection-observer-hydejack-9.0.3.js +0 -14
  111. data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
  112. data/assets/js/vendors~push-state-hydejack-9.0.3.js +0 -33
  113. data/assets/js/vendors~search-hydejack-9.0.2.js +0 -40
  114. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +0 -146
  115. data/assets/js/vendors~webanimations-hydejack-9.0.3.js +0 -14
  116. data/assets/js/webcomponents-hydejack-9.0.2.js +0 -14
@@ -1,155 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{324: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},342: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){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,o:[],u:t}}function l(e,t,n,r){var o=0,i=0,s=0,l=0,c=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<c;s++)if(e[s]!==n[s])break e;s=c}if(t==e.length&&r==n.length){l=e.length;for(var d=n.length,h=0;h<c-s&&u(e[--l],n[--d]);)h++;l=h}if(i+=s,r-=l,0==(t-=l)-(o+=s)&&0==r-i)return[];if(o==t){for(t=a(o,0);i<r;)t.o.push(n[i++]);return[t]}if(i==r)return[a(o,t-o)];for(r=r-(s=i)+1,l=t-(c=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(l),t[d][0]=d;for(d=0;d<l;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<l;h++)if(e[c+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var f=t[d-1][h]+1,_=t[d][h-1]+1;t[d][h]=f<_?f:_}for(c=t.length-1,s=t[0].length-1,r=t[c][s],e=[];0<c||0<s;)0==c?(e.push(2),s--):0==s?(e.push(3),c--):(l=t[c-1][s-1],(f=(d=t[c-1][s])<(h=t[c][s-1])?d<l?d:l:h<l?h:l)==l?(l==r?e.push(0):(e.push(1),r=l),c--,s--):f==d?(e.push(3),c--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,c=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(c.push(t),t=void 0),o++,i++;break;case 1:t||(t=a(o,0)),t.u++,o++,t.o.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.u++,o++;break;case 3:t||(t=a(o,0)),t.o.push(n[i]),i++}return t&&c.push(t),c}function u(e,t){return e===t}function c(){}function d(e){return e.__shady||(e.__shady=new c),e.__shady}function h(e){return e&&e.__shady}c.prototype.toJSON=function(){return{}};var f=window.ShadyDOM||{};f.T=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var _=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function p(e){return(e=h(e))&&void 0!==e.firstChild}function y(e){return e instanceof ShadowRoot}function m(e){return(e=(e=h(e))&&e.root)&&Mt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.A=f.preferPerformance,f.G="on-demand"===f.g,f.L=navigator.userAgent.match("Trident");var v=Element.prototype,g=v.matches||v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector,S=document.createTextNode(""),N=0,E=[];function b(e){E.push(e),S.textContent=N++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw S.textContent=N++,e}})).observe(S,{characterData:!0});var C=!!document.contains;function w(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 x(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function P(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)||P(e,n+o,t[o])}function M(e,t){for(var n in t)n in e&&P(e,n,t[n])}function D(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function R(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var A,L=[];function I(e){A||(A=!0,b(F)),L.push(e)}function F(){A=!1;for(var e=!!L.length;L.length;)L.shift()();return e}F.list=L;var j=D({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}}),H=D({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),B=D({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){return this.__shady_className=e}});function U(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}U(j),U(H),U(B);var q,V=f.c||!0===f.g,G=V?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,B))},W=V?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,j),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,H))},K="__eventWrappers"+Date.now(),X=(q=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return q.get.call(e)}:null,$=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 z(e){if(e&&"object"===t(e))var n=!!e.capture,r=!!e.once,o=!!e.passive,i=e.i;else n=!!e,o=r=!1;return{K:i,capture:n,once:r,passive:o,J:$?e:n}}var Y={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},J={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Q(e){return e instanceof Node?e.__shady_getRootNode():e}function Z(e,t){var n=[],r=e;for(e=Q(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 ee(e,t){if(!y)return e;e=Z(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Q(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}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}var ne={focus:!0,blur:!0};function re(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!re(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ie(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(oe(e,o,"capture"),e.B)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var i=h(o=n[r]);if(i=i&&i.root,(0===r||i&&i===t)&&(oe(e,o,"bubble"),o!==window&&(t=o.__shady_getRootNode()),e.B))break}}function se(e,t,n,r,o,i){for(var s=0;s<e.length;s++){var a=e[s],l=a.type,u=a.capture,c=a.once,d=a.passive;if(t===a.node&&n===l&&r===u&&o===c&&i===d)return s}return-1}function ae(e){return F(),this.__shady_native_dispatchEvent(e)}function le(e,n,r){var o=z(r),i=o.capture,s=o.once,a=o.passive,l=o.K;if(o=o.J,n){var u=t(n);if(("function"===u||"object"===u)&&("object"!==u||n.handleEvent&&"function"==typeof n.handleEvent)){if(J[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[K]){if(-1<se(l,c,e,i,s,a))return}else n[K]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||de(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(re(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 i="function"===u?n.call(c,t):n.handleEvent&&n.handleEvent(t);return c!==this&&(o?(Object.defineProperty(t,"currentTarget",o),o=null):delete t.currentTarget),i}},n[K].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),ne[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l)):this.__shady_native_addEventListener(e,l,o)}}}function ue(e,t,n){if(t){var r=z(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,J[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[K]}catch(e){}l&&(-1<(o=se(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[K]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&ne[e]&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var ce=D({get composed(){return void 0===this.__composed&&(X?this.__composed="focusin"===this.type||"focusout"===this.type||X(this):!1!==this.isTrusted&&(this.__composed=Y[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Z(this.__target,this.composed)),this.__composedPath},get target(){return ee(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Z(this.__relatedTarget,!0)),ee(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.B=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.B=this.__immediatePropagationStopped=!0}});function de(e){if(e.__target=e.target,e.__relatedTarget=e.relatedTarget,f.c){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,ce)}var he=te(Event),fe=te(CustomEvent),_e=te(MouseEvent);var pe=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ye=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function me(e){return{set:function(t){var n=d(this),r=e.substring(2);n.h||(n.h={}),n.h[e]&&this.removeEventListener(r,n.h[e]),this.__shady_addEventListener(r,t),n.h[e]=t},get:function(){var t=h(this);return t&&t.h&&t.h[e]},configurable:!0}}var ve=D({dispatchEvent:ae,addEventListener:le,removeEventListener:ue}),ge=window.document,Se=f.A,Ne=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ee=Ne&&Ne.get;function be(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Ce(e,t,n){if(e=(e=h(e))&&e.m){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.a||(e.a=!0,b((function(){e.flush()})))}(e)}}var we=D({get parentNode(){var e=h(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=h(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=h(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=h(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=h(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=h(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=h(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(Ee&&Ee.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(C){if(e.__shady_native_contains(this))return!0}else if(e.documentElement&&e.documentElement.__shady_native_contains(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(p(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(!p(this)&&f.c){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&be(this),this.__shady_native_textContent=e}else be(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!==ge&&e.ownerDocument!==ge)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=h(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;Ce(this,e);var r=[],s=(n=Lt(this))?n.host.localName:Le(this),a=e.__shady_parentNode;if(a){var l=Le(e),u=!!n||!Lt(e)||Se&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,u)}a=!0;var c=(!Se||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=De();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,s),f=n&&!e.__noInsertionPoint&&(!Se||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(f||c)&&(c&&(l=l||Le(e)),Ie(e,(function(e){if(f&&"slot"===e.localName&&r.push(e),c){var t=l;De()&&(t&&Ae(e,t),(t=De())&&t.scopeNode(e,s))}}))),r.length&&(Ot(n),n.f.push.apply(n.f,r instanceof Array?r:i(o(r))),Et(n)),p(this)&&(function(e,t,n){dt(t,2);var r=d(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)ht(e,t,r,n);else ht(e,t,r,n)}(e,this,t),(u=h(this)).root?(a=!1,m(this)&&Et(u.root)):n&&"slot"===this.localName&&(a=!1,Et(n))),a?(n=y(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=h(t);(r=r&&r.l)&&(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!==ge)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);Ce(this,null,e);var n=Lt(e),r=n&&function(e,t){if(e.a){xt(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(w(t,s)){o.splice(i,1);var a=e.a.indexOf(s);if(0<=a&&(e.a.splice(a,1),(a=h(s.__shady_parentNode))&&a.s&&a.s--),i--,s=h(s),a=s.l)for(var l=0;l<a.length;l++){var u=a[l],c=u.__shady_native_parentNode;c&&c.__shady_native_removeChild(u)}s.l=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=h(this);if(p(this)&&(function(e,t){var n=d(e);t=d(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(d(e).nextSibling=r),r&&(d(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){Et(o.root);var i=!0}if(De()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=Le(e);Ie(e,(function(e){Ae(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.w)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.w=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Et(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=d(this),n=t.w;return void 0===n&&(y(this)?(n=this,t.w=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.w=n))),n}},contains:function(e){return w(this,e)}}),Te=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&bt(e),(e=h(this))&&e.assignedSlot||null}});function Oe(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}var xe=D({get firstElementChild(){var e=h(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=h(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 p(this)?T(Array.prototype.filter.call(x(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}}),Pe=D({querySelector:function(e){return Oe(this,(function(t){return g.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return T(t.filter((function(e){return e.__shady_getRootNode()==n})))}return T(Oe(this,(function(t){return g.call(t,e)})))}}),ke=f.A&&!f.g?R({},xe):xe;R(xe,Pe);var Me=null;function De(){return Me||(Me=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Me||null}function Re(e,t,n){var r=De();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Ae(e,t){var n=De();n&&n.unscopeNode(e,t)}function Le(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=De();return t?t.currentScopeForNode(e):""}function Ie(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&&Ie(e,t)}var Fe=window.document;function je(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Et(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Lt(e))){if(t.a){xt(t);var n=e.O,r=Pt(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=kt(n))}}Et(t)}}var He=D({get previousElementSibling(){var e=h(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=h(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!==Fe?this.__shady_native_setAttribute(e,t):Re(this,e,t)||(this.__shady_native_setAttribute(e,t),je(this,e))},removeAttribute:function(e){this.ownerDocument!==Fe?this.__shady_native_removeAttribute(e):Re(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),je(this,e))}});f.A||pe.forEach((function(e){He[e]=me(e)}));var Be=D({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!f.L){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Nt(t,this,e),ft(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Ot(n),n.f.push.apply(n.f,e instanceof Array?e:i(o(e))),Et(t)}t.host.__shady_native_appendChild(t)}else t=new St(mt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});R(He,Be);var Ue=/[&\u00A0"]/g,qe=/[&\u00A0<>]/g;function Ve(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Ge(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var We=Ge("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ke=Ge("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Xe(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(Ue,Ve)+'"';d+=">",a=We[l]?d:d+Xe(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ke[l.localName]?a:a.replace(qe,Ve);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 $e=document.implementation.createHTMLDocument("inert"),ze=D({get innerHTML(){return p(this)?Xe("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{be(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==$e.namespaceURI?$e.createElementNS(this.namespaceURI,t):$e.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Ye=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.A||ye.forEach((function(e){Ye[e]=me(e)}));var Je=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&bt(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener: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.i=this,o.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ue.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.i=this,o.__shady_removeEventListener(e,n,r)}}}),Qe=D({getElementById:function(e){return""===e?null:Oe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),Ze=D({get activeElement(){var e=f.c?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=Lt(e);t&&t!==this;)t=Lt(e=t.host);return this===document?t?null:e:t===this?e:null}}),et=window.document,tt=D({importNode:function(e,t){if(e.ownerDocument!==et||"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}}),nt=D({dispatchEvent:ae,addEventListener:le.bind(window),removeEventListener:ue.bind(window)}),rt={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rt.parentElement=we.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rt.contains=we.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rt.children=xe.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rt.innerHTML=ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rt.className=He.className);var ot={EventTarget:[ve],Node:[we,window.EventTarget?null:ve],Text:[Te],Comment:[Te],CDATASection:[Te],ProcessingInstruction:[Te],Element:[He,xe,Te,!f.c||"innerHTML"in Element.prototype?ze:null,window.HTMLSlotElement?null:Je],HTMLElement:[Ye,rt],HTMLSlotElement:[Je],DocumentFragment:[ke,Qe],Document:[tt,ke,Qe,Ze],Window:[nt]},it=f.c?null:["innerHTML","textContent"];function st(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function at(e){var t,n=e?null:it;for(t in ot)st(window[t]&&window[t].prototype,ot[t],e,n)}function lt(e){return e.__shady_protoIsPatched=!0,st(e,ot.EventTarget),st(e,ot.Node),st(e,ot.Element),st(e,ot.HTMLElement),st(e,ot.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,st(n,ot.EventTarget),st(n,ot.Node),ot[e]&&st(n,ot[e]),t.prototype.__shady_patchedProto=n}));var ut=f.G,ct=f.c;function dt(e,t){if(ut&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(lt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ct||(1===t?G(e):2===t&&W(e))}function ht(e,t,n,r){dt(e,1),r=r||null;var o=d(e),i=r?d(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=h(o.previousSibling))&&(i.nextSibling=e),(i=h(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 ft(e,t){var n=d(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,dt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=d(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,dt(n,1)}}}var _t=D({addEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==t(r)&&(r={capture:!!r}),r.i=r.i||this,this.host.__shady_removeEventListener(e,n,r)}});function pt(e,t){k(e,_t,t),k(e,Ze,t),k(e,ze,t),k(e,xe,t),f.g&&!t?(k(e,we,t),k(e,Qe,t)):f.c||(k(e,B),k(e,j),k(e,H))}var yt,mt={},vt=f.deferConnectionCallbacks&&"loading"===document.readyState;function gt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function St(e,t,n){if(e!==mt)throw new TypeError("Illegal constructor");this.a=null,Nt(this,t,n)}function Nt(e,t,n){if(e.host=t,e.mode=n&&n.mode,ft(e.host),(t=d(e.host)).root=e,t.U="closed"!==e.mode?e:null,(t=d(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,f.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Et(e)}function Et(e){e.j||(e.j=!0,I((function(){return bt(e)})))}function bt(e){var t;if(t=e.j){for(var n;e;)e.j&&(n=e),y(e=(t=e).host.__shady_getRootNode())&&(t=h(t.host))&&0<t.s||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Ct(e,t,n){var r=d(t),o=r.C;r.C=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(d(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(d(r.assignedSlot).D=!0)}function wt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=h(o).assignedNodes;i&&i.length&&wt(e,t,i)}else t.push(n[r])}function Tt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&Tt(e,t.assignedSlot)}function Ot(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function xt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];ft(o);var i=o.__shady_parentNode;ft(i),(i=h(i)).s=(i.s||0)+1,i=Pt(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=kt(e.b[s]);e.f=[]}}function Pt(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function kt(e){return e.sort((function(e,t){e=gt(e);for(var n=gt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=x(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function Mt(e){return xt(e),!(!e.a||!e.a.length)}if(St.prototype._renderSelf=function(){var e=vt;if(vt=!0,this.j=!1,this.a){xt(this);for(var t,n=0;n<this.a.length;n++){var r=h(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.l=[],r.I=o)for(r=0;r<o.length;r++){var i=h(o[r]);i.C=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Ct(this,n);for(n=0;n<this.a.length;n++){if(!(o=h(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Ct(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Mt(r)||r.j)&&r._renderSelf(),wt(this,o.l,o.assignedNodes),r=o.I){for(i=0;i<r.length;i++)h(r[i]).C=null;o.I=null,r.length>o.assignedNodes.length&&(o.D=!0)}o.D&&(o.D=!1,Tt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=h(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=h(i).l,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=O(o),s=l(r,r.length,i,i.length);for(var u=a=0,c=void 0;a<s.length&&(c=s[a]);a++){for(var d=0,_=void 0;d<c.o.length&&(_=c.o[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.u}for(u=0,c=void 0;u<s.length&&(c=s[u]);u++)for(a=i[c.index],d=c.index;d<c.index+c.u;d++)_=r[d],o.__shady_native_insertBefore(_,a),i.splice(d,0,_)}}if(!f.preferPerformance&&!this.H)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=h(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.H=!0,vt=e,yt&&yt()},function(e){e.__proto__=DocumentFragment.prototype,pt(e,"__shady_"),pt(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})}))}(St.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var Dt=new Map;yt=function(){var e=[];Dt.forEach((function(t,n){e.push([n,t])})),Dt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},vt&&document.addEventListener("readystatechange",(function(){vt=!1,yt()}),{once:!0});var Rt=window.customElements.define,At=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Rt.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(){vt?Dt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){vt?this.isConnected||Dt.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=At,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:At,configurable:!0})}function Lt(e){if(y(e=e.__shady_getRootNode()))return e}function It(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.v=new Set}It.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.v.forEach((function(t){t(e)}))}},It.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 Ft=f.c,jt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Ht={};function Bt(e){Ht[e]=function(t){return t["__shady_native_"+e]}}function Ut(e,t){for(var n in k(e,t,"__shady_native_"),t)Bt(n)}function qt(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?jt[r]||(jt[r]=o.value):Bt(r))}}var Vt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Wt=document.implementation.createHTMLDocument("inert");function Kt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Xt=["firstElementChild","lastElementChild","children","childElementCount"],$t=["querySelector","querySelectorAll"];function zt(e){this.node=e}function Yt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(n=zt.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.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.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)},s.Object.defineProperties(zt.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){return this.node.__shady_className=e}}}),pe.forEach((function(e){return Yt(e)})),ye.forEach((function(e){return Yt(e)}));var Jt=new WeakMap;function Qt(e){if(y(e)||e instanceof zt)return e;var t=Jt.get(e);return t||(t=new zt(e),Jt.set(e,t)),t}if(f.F){var Zt=f.c?function(e){return e}:function(e){return W(e),G(e),e};window.ShadyDOM={inUse:f.F,patch:Zt,isShadyRoot:y,enqueue:I,flush:F,flushInitial:function(e){!e.H&&e.j&&bt(e)},settings:f,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=d(e);n.m||(n.m=new It),n.m.v.add(t);var r=n.m;return{P:t,S:r,R:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.S;t&&(t.v.delete(e.P),t.v.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?Qt:Zt,wrapIfNeeded:!0===f.g?Qt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=Z(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:jt,nativeTree:Ht,patchElementProto:lt},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?qt(window.EventTarget.prototype,e):(qt(Node.prototype,e),qt(Window.prototype,e)),Ft?qt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ut(Node.prototype,{parentNode:{get:function(){return Vt.currentNode=this,Vt.parentNode()}},firstChild:{get:function(){return Vt.currentNode=this,Vt.firstChild()}},lastChild:{get:function(){return Vt.currentNode=this,Vt.lastChild()}},previousSibling:{get:function(){return Vt.currentNode=this,Vt.previousSibling()}},nextSibling:{get:function(){return Vt.currentNode=this,Vt.nextSibling()}},childNodes:{get:function(){var e=[];Vt.currentNode=this;for(var t=Vt.firstChild();t;)e.push(t),t=Vt.nextSibling();return e}},parentElement:{get:function(){return Gt.currentNode=this,Gt.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:Kt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),qt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),qt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return Gt.currentNode=this,Gt.firstChild()}},lastElementChild:{get:function(){return Gt.currentNode=this,Gt.lastChild()}},children:{get:function(){var e=[];Gt.currentNode=this;for(var t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ft?(qt(Element.prototype,Xt),qt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),qt(HTMLElement.prototype,["children","innerHTML","className"])):(Ut(Element.prototype,e),Ut(Element.prototype,{previousElementSibling:{get:function(){return Gt.currentNode=this,Gt.previousSibling()}},nextElementSibling:{get:function(){return Gt.currentNode=this,Gt.nextSibling()}},innerHTML:{get:function(){return Xe(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Kt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Wt.namespaceURI?Wt.createElementNS(this.namespaceURI,n):Wt.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)}}})),qt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),qt(Element.prototype,$t),qt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&qt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ft?qt(DocumentFragment.prototype,Xt):Ut(DocumentFragment.prototype,e),qt(DocumentFragment.prototype,$t),Ft?(qt(Document.prototype,Xt),qt(Document.prototype,["activeElement"])):Ut(Document.prototype,e),qt(Document.prototype,["importNode","getElementById"]),qt(Document.prototype,$t)}(),at("__shady_"),Object.defineProperty(document,"_activeElement",Ze.activeElement),k(Window.prototype,nt,"__shady_"),f.g?f.G&&k(Element.prototype,Be):(at(),function(){if(!X&&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 ne)window.__shady_native_addEventListener(e,(function(e){e.__target||(de(e),ie(e))}),!0)}(),window.Event=he,window.CustomEvent=fe,window.MouseEvent=_e,window.ShadowRoot=St}}).call(this)}).call(this,n(324))},346:function(e,t,n){"use strict";
15
- /**
16
- @license
17
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
18
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
19
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
- Code distributed by Google as part of the polymer project is also
22
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
- */var r=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function o(e){return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var o=t.previous?t.previous.end:t.parent.start;r=(r=(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}(r=n.substring(o,t.start-1))).replace(f.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=r.trim();t.atRule=0===i.indexOf(y),t.atRule?0===i.indexOf(p)?t.type=c.MEDIA_RULE:i.match(f.keyframesRule)&&(t.type=c.KEYFRAMES_RULE,t.keyframesName=t.selector.split(f.multipleSpaces).pop()):0===i.indexOf(_)?t.type=c.MIXIN_RULE:t.type=c.STYLE_RULE}var s=t.rules;if(s)for(var a,l=0,u=s.length;l<u&&(a=s[l]);l++)e(a,n);return t}(function(e){var t=new r;t.start=0,t.end=e.length;for(var n=t,o=0,i=e.length;o<i;o++)if(e[o]===d){n.rules||(n.rules=[]);var s=n,a=s.rules[s.rules.length-1]||null;(n=new r).start=o+1,n.parent=s,n.previous=a,s.rules.push(n)}else e[o]===h&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(f.comments,"").replace(f.port,"")),e)}function i(e){var t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(_)}function s(e){return function(e){return e.replace(f.mixinApply,"").replace(f.varApply,"")}(e=a(e))}function a(e){return e.replace(f.customProp,"").replace(f.mixinProp,"")}var l,u,c={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},d="{",h="}",f={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},_="--",p="@media",y="@",m=!(window.ShadyDOM&&window.ShadyDOM.inUse);function v(e){l=(!e||!e.shimcssproperties)&&(m||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(u=window.ShadyCSS.cssBuild);var g=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?l=window.ShadyCSS.nativeCss:window.ShadyCSS?(v(window.ShadyCSS),window.ShadyCSS=void 0):v(window.WebComponents&&window.WebComponents.flags);var S=l,N=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,E=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,b=/(--[\w-]+)\s*([:,;)]|$)/gi,C=/(animation\s*:)|(animation-name\s*:)/,w=/@media\s(.*)/,T=/\{[^}]*\}/g,O=new Set;
24
- /**
25
- @license
26
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
27
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
28
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
29
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
30
- Code distributed by Google as part of the polymer project is also
31
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
32
- */function x(e){var t=e.textContent;if(!O.has(t)){O.add(t);var n=document.createElement("style");n.setAttribute("shady-unscoped",""),n.textContent=t,document.head.appendChild(n)}}function P(e){return e.hasAttribute("shady-unscoped")}
33
- /**
34
- @license
35
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
36
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
37
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
38
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
39
- Code distributed by Google as part of the polymer project is also
40
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
41
- */function k(e,t){return e?("string"==typeof e&&(e=o(e)),t&&R(e,t),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,u=0,c=a.length;u<c&&(l=a[u]);u++)o=e(l,n,o);else(o=(o=n?t.cssText:s(t.cssText)).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" "+d+"\n"),r+=o,t.selector&&(r+=h+"\n\n")),r}(e,S)):""}function M(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function D(e){return Boolean(e.parent)&&e.parent.type===c.KEYFRAMES_RULE}function R(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===c.MEDIA_RULE){var s=e.selector.match(w);s&&(window.matchMedia(s[1]).matches||(o=!0))}i===c.STYLE_RULE?t(e):n&&i===c.KEYFRAMES_RULE?n(e):i===c.MIXIN_RULE&&(o=!0);var a=e.rules;if(a&&!o)for(var l,u=0,d=a.length;u<d&&(l=a[u]);u++)R(l,t,n,r)}}function A(e,t,n,r){var o=function(e,t){var n=document.createElement("style");t&&n.setAttribute("scope",t);return n.textContent=e,n}(e,t);return I(o,n,r),o}var L=null;function I(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;(t.insertBefore(e,r),L)?e.compareDocumentPosition(L)===Node.DOCUMENT_POSITION_PRECEDING&&(L=e):L=e}function F(e,t){for(var n=0,r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function j(e,t){m?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var H=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function q(e){if(void 0!==u)return u;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{var n=function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){var n=t.textContent.trim().split(":");if("css-build"===n[0])return n[1]}return""}(e);""!==n&&function(e){var t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}
42
- /**
43
- @license
44
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
45
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
46
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
47
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
48
- Code distributed by Google as part of the polymer project is also
49
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
50
- */(e),e.__cssBuild=n}}return e.__cssBuild||""}function V(e){return""!==q(e)}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(m?"shadow"===e:"shady"===e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"dom",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t||"",n)}))}},{key:"domAddScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"")}))}},{key:"_transformDom",value:function(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o<n.length;o++)this._transformDom(n[o],t)}},{key:"element",value:function(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(ae);n?r&&j(e,r.replace("style-scope","").replace(t,"")):j(e,(r?r+" ":"")+"style-scope "+t)}}},{key:"domReplaceScope",value:function(e,t,n){var r=this;this._transformDom(e,(function(e){r.element(e,t,!0),r.element(e,n)}))}},{key:"domRemoveScope",value:function(e,t){var n=this;this._transformDom(e,(function(e){n.element(e,t||"",!0)}))}},{key:"elementStyles",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===o)if(m||"shady"===r)o=k(t,n);else{var i=B(e),s=i.is,a=i.typeExtension;o=this.css(t,s,a,n)+"\n\n"}return o.trim()}},{key:"css",value:function(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return k(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}},{key:"_calcElementScope",value:function(e){return e?ie+e:""}},{key:"_calcHostScope",value:function(e,t){return t?"[is=".concat(e,"]"):e}},{key:"rule",value:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}},{key:"_transformRule",value:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}},{key:"_transformRuleCss",value:function(e,t,n,r){var o=U(e.selector);if(!D(e))for(var i,s=0,a=o.length;s<a&&(i=o[s]);s++)o[s]=t.call(this,i,n,r);return o.filter((function(e){return Boolean(e)})).join(z)}},{key:"_twiddleNthPlus",value:function(e){return e.replace(X,(function(e,t,n){return n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")}))}},{key:"_preserveMatchesPseudo",value:function(e){for(var t,n=[];t=e.match(ue);){var r=t.index,o=F(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,ce),n.push(i)}return{selector:e,matches:n}}},{key:"_replaceMatchesPseudo",value:function(e,t){var n=e.split(ce);return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}},{key:"_transformComplexSelector",value:function(e,t,n){var r=this,o=!1;e=e.trim();var i=X.test(e);i&&(e=e.replace(X,(function(e,t,n){return":".concat(t,"(").concat(n.replace(/\s/g,""),")")})),e=this._twiddleNthPlus(e));var s,a=ue.test(e);if(a){var l=this._preserveMatchesPseudo(e);e=l.selector,s=l.matches}return e=(e=e.replace(te,"".concat(Q," $1"))).replace(Y,(function(e,i,s){if(!o){var a=r._transformCompoundSelector(s,i,t,n);o=o||a.stop,i=a.combinator,s=a.value}return i+s})),a&&(e=this._replaceMatchesPseudo(e,s)),i&&(e=this._twiddleNthPlus(e)),e=e.replace(oe,(function(e,t,n,r){return'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r)}))}},{key:"_transformCompoundSelector",value:function(e,t,n,r){var o=e.indexOf(ee);e.indexOf(Q)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(re,(function(e,t){return" > ".concat(t)})))),{value:e,combinator:t,stop:i}}},{key:"_transformSimpleSelector",value:function(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o<n.length;o++)if(o%2==1)r.push(n[o]);else{var i=n[o];if(""!==i||o!==n.length-1){var s=i.split(se);s[0]+=t,r.push(s.join(se))}}return r.join("")}},{key:"_transformHostSelector",value:function(e,t){var n=e.match(ne),r=n&&n[2].trim()||"";return r?r[0].match(J)?e.replace(ne,(function(e,n,r){return t+r})):r.split(J)[0]===t?r:le:e.replace(Q,t)}},{key:"documentRule",value:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),this._transformRule(e,this._transformDocumentSelector)}},{key:"normalizeRootSelector",value:function(e){e.selector===Z&&(e.selector="html")}},{key:"_transformDocumentSelector",value:function(e){return e.match(Q)?"":e.match(ee)?this._transformComplexSelector(e,$):this._transformSimpleSelector(e.trim(),$)}},{key:"SCOPE_NAME",get:function(){return"style-scope"}}])&&W(t.prototype,n),r&&W(t,r),e}(),X=/:(nth[-\w]+)\(([^)]+)\)/,$=":not(.".concat("style-scope",")"),z=",",Y=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,J=/[[.:#*]/,Q=":host",Z=":root",ee="::slotted",te=new RegExp("^(".concat(ee,")")),ne=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,re=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oe=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ie=".",se=":",ae="class",le="should_not_match",ue=/:(?:matches|any|-(?:webkit|moz)-any)/,ce="",de=new K;function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),e}var _e=function(){function e(t,n,r,o,i,s){!
51
- /**
52
- @license
53
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
54
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
56
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
57
- Code distributed by Google as part of the polymer project is also
58
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
59
- */
60
- function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.styleRules=t||null,this.placeholder=n||null,this.ownStylePropertyNames=r||[],this.overrideStyleProperties=null,this.elementName=o||"",this.cssBuild=s||"",this.typeExtension=i||"",this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}return fe(e,null,[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}]),fe(e,[{key:"_getStyleRules",value:function(){return this.styleRules}}]),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_e.prototype._getStyleRules=_e.prototype._getStyleRules;var ye=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},me=/:host\s*>\s*/;var ve=navigator.userAgent.match("Trident");var ge=new(function(){function e(){!
61
- /**
62
- @license
63
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
64
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
65
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
67
- Code distributed by Google as part of the polymer project is also
68
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
69
- */
70
- function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}},{key:"decorateRule",value:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}},{key:"collectProperties",value:function(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=N,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}},{key:"collectCssText",value:function(e){return this.collectConsumingCssText(e.parsedCssText)}},{key:"collectConsumingCssText",value:function(e){return e.replace(T,"").replace(N,"")}},{key:"collectPropertiesInCssText",value:function(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}},{key:"reify",value:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)e[t=n[r]]=this.valueForProperty(e[t],e)}},{key:"valueForProperty",value:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}},{key:"valueForProperties",value:function(e,t){for(var n,r,o=e.split(";"),i=0;i<o.length;i++)if(n=o[i]){if(E.lastIndex=0,r=E.exec(n))n=this.valueForProperty(t[r[1]],t);else{var s=n.indexOf(":");if(-1!==s){var a=n.substring(s);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,s)+a}}o[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return o.join(";")}},{key:"applyProperties",value:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n}},{key:"applyKeyframeTransforms",value:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=C.test(n)),e.hasAnimations)if(null==e.keyframeNamesToTransform)for(var o in e.keyframeNamesToTransform=[],t)n!==(r=(0,t[o])(n))&&(n=r,e.keyframeNamesToTransform.push(o));else{for(var i=0;i<e.keyframeNamesToTransform.length;++i)n=(0,t[e.keyframeNamesToTransform[i]])(n);r=n}e.cssText=r}},{key:"propertyDataFromStyles",value:function(e,t){var n=this,r={},o=[];return R(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&ye.call(t,i)&&(n.collectProperties(e,r),function(e,t){var n=parseInt(e/32,10),r=1<<e%32;t[n]=(t[n]||0)|r}(e.index,o))}),null,!0),{properties:r,key:o}}},{key:"whenHostOrRootRule",value:function(e,t,n,r){if(t.propertyInfo||this.decorateRule(t),t.propertyInfo.properties){var o=B(e),i=o.is,s=o.typeExtension,a=i?de._calcHostScope(i,s):"html",l=t.parsedSelector,u=function(e,t){return Boolean(t.match(me))||"html"===e&&t.indexOf("html")>-1}(a,l),c=0===l.indexOf(":host")&&!u;if("shady"===n&&(c=!(u=l===a+" > *."+a||-1!==l.indexOf("html"))&&0===l.indexOf(a)),u||c){var d=a;c&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(i),a)),d=t.transformedSelector||a),u&&"html"===a&&(d=t.transformedSelector||t.parsedSelector),r({selector:d,isHost:c,isRoot:u})}}}},{key:"hostAndRootPropertiesForScope",value:function(e,t,n){var r=this,o={},i={};return R(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;ye.call(s,n.selector)&&(n.isHost?r.collectProperties(t,o):r.collectProperties(t,i))}))}),null,!0),{rootProps:i,hostProps:o}}},{key:"transformStyles",value:function(e,t,n){var r=this,o=B(e),i=o.is,s=o.typeExtension,a=de._calcHostScope(i,s),l=e.extends?"\\"+a.slice(0,-1)+"\\]":a,u=new RegExp("(?:^|[^.#[:])"+l+"($|[.:[\\s>+~])"),c=_e.get(e),d=c.styleRules,h=c.cssBuild,f=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),m||D(e)||!e.cssText||(r.applyKeyframeTransforms(e,f),r._scopeSelector(e,u,a,n))}),h)}},{key:"_elementKeyframeTransforms",value:function(e,t,n){var r=t._keyframes,o={};if(!m&&r)for(var i=0,s=r[i];i<r.length;s=r[++i])this._scopeKeyframes(s,n),o[s.keyframesName]=this._keyframesRuleTransformer(s);return o}},{key:"_keyframesRuleTransformer",value:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}}},{key:"_scopeKeyframes",value:function(e,t){e.keyframesNameRx=new RegExp("\\b".concat(e.keyframesName,"(?!\\B|-)"),"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)}},{key:"_scopeSelector",value:function(e,t,n,r){e.transformedSelector=e.transformedSelector||e.selector;for(var o,i="."+r,s=U(e.transformedSelector),a=0,l=s.length;a<l&&(o=s[a]);a++)s[a]=o.match(t)?o.replace(n,i):i+" "+o;e.selector=s.join(",")}},{key:"applyElementScopeSelector",value:function(e,t,n){var r=e.getAttribute("class")||"",o=r;n&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+t)&&j(e,o)}},{key:"applyElementStyle",value:function(e,t,n,r){var o=r?r.textContent||"":this.transformStyles(e,t,n),i=_e.get(e),s=i.customStyle;return s&&!m&&s!==r&&(s._useCount--,s._useCount<=0&&s.parentNode&&s.parentNode.removeChild(s)),m?i.customStyle?(i.customStyle.textContent=o,r=i.customStyle):o&&(r=A(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(ve&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=A(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}},{key:"applyCustomStyle",value:function(e,t){var n=M(e),r=this;e.textContent=k(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},{key:"XSCOPE_NAME",get:function(){return"x-scope"}}])&&pe(t.prototype,n),r&&pe(t,r),e}()),Se={};
71
- /**
72
- @license
73
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
74
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
75
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
76
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
77
- Code distributed by Google as part of the polymer project is also
78
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
79
- */function Ne(e){return Se[e]||null}function Ee(e){var t,n,r,o;Se[e]||(Se[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=L?L.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),L=n,n))}var be=window.customElements;if(be&&!m&&!g){var Ce=be.define;be.define=function(e,t,n){Ee(e),Ce.call(be,e,t,n)}}
80
- /**
81
- @license
82
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
83
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
84
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
85
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
86
- Code distributed by Google as part of the polymer project is also
87
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
88
- */function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;we(this,e),this.cache={},this.typeMax=t}var t,n,r;return t=e,(n=[{key:"_validate",value:function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r];if(e.properties[o]!==t[o])return!1}return!0}},{key:"store",value:function(e,t,n,r){var o=this.cache[e]||[];o.push({properties:t,styleElement:n,scopeSelector:r}),o.length>this.typeMax&&o.shift(),this.cache[e]=o}},{key:"fetch",value:function(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}}])&&Te(t.prototype,n),r&&Te(t,r),e}(),xe=function(){};
89
- /**
90
- @license
91
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
93
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
94
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
95
- Code distributed by Google as part of the polymer project is also
96
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
97
- */var Pe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function ke(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Pe);return t?t[1]:""}function Me(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function De(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n<t.length;n++){var r=t[n],o=Me(r);o&&de.element(r,o)}}function Re(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=(o=o).getRootNode(),s=ke(o);if(s&&i===o.ownerDocument&&("style"!==(l=o).localName&&"template"!==l.localName||!V(l)))de.domRemoveScope(o,s);else if(i instanceof ShadowRoot){var a=Me(o);a!==s&&de.domReplaceScope(o,s,a),De(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(Re),Le=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Le(document);else{var Ie=function(){Le(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Ie(),document.removeEventListener("readystatechange",e)}))}else Ie()}))}xe=function(){Re(Ae.takeRecords())}}
98
- /**
99
- @license
100
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
101
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
102
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
103
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
104
- Code distributed by Google as part of the polymer project is also
105
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
106
- */var Fe={},je="_applyShimCurrentVersion",He="_applyShimNextVersion",Be=Promise.resolve();function Ue(e){var t=Fe[e];t&&function(e){e[je]=e[je]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[He]=(e[He]||0)+1}(t)}function qe(e){return e[je]===e[He]}function Ve(e){return!qe(e)&&e._applyShimValidatingVersion===e[He]}function Ge(e){e._applyShimValidatingVersion=e[He],e._validating||(e._validating=!0,Be.then((function(){e[je]=e[He],e._validating=!1})))}
107
- /**
108
- @license
109
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
110
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
111
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
112
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
113
- Code distributed by Google as part of the polymer project is also
114
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
115
- */
116
- var We,Ke=null,Xe=window.HTMLImports&&window.HTMLImports.whenReady||null;function $e(e){requestAnimationFrame((function(){Xe?Xe(e):(Ke||(Ke=new Promise((function(e){We=e})),"complete"===document.readyState?We():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&We()}))),Ke.then((function(){e&&e()})))}))}
117
- /**
118
- @license
119
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
120
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
121
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
122
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
123
- Code distributed by Google as part of the polymer project is also
124
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
125
- */function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ye="__shadyCSSCachedStyle",Je=null,Qe=null,Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.customStyles=[],this.enqueued=!1,$e((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Qe&&(this.enqueued=!0,$e(Qe))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[Ye]?e[Ye]:e.getStyle?e.getStyle():e}},{key:"processStyles",value:function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n[Ye]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Je&&Je(o),n[Ye]=o}}}return e}}])&&ze(t.prototype,n),r&&ze(t,r),e}();function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ze.prototype.addCustomStyle=Ze.prototype.addCustomStyle,Ze.prototype.getStyleForCustomStyle=Ze.prototype.getStyleForCustomStyle,Ze.prototype.processStyles=Ze.prototype.processStyles,Object.defineProperties(Ze.prototype,{transformCallback:{get:function(){return Je},set:function(e){Je=e}},validateCallback:{get:function(){return Qe},set:function(e){var t=!1;Qe||(t=!0),Qe=e,t&&this.enqueueDocumentValidation()}}});var tt={},nt=new Oe,rt=function(){function e(){!
126
- /**
127
- @license
128
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
129
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
130
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
131
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
132
- Code distributed by Google as part of the polymer project is also
133
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
134
- */
135
- function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._scopeCounter={},this._documentOwner=document.documentElement;var t=new r;t.rules=[],this._documentOwnerStyleInfo=_e.set(this._documentOwner,new _e(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){xe()}},{key:"_generateScopeSelector",value:function(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}},{key:"getStyleAst",value:function(e){return M(e)}},{key:"styleAstToString",value:function(e){return k(e)}},{key:"_gatherStyles",value:function(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r<n.length;r++){var o=n[r];P(o)?m||(x(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}(e.content)}},{key:"prepareTemplate",value:function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)}},{key:"prepareTemplateStyles",value:function(e,t,n){if(!e._prepared&&!g){m||Ee(t),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(tt[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=E.test(e)||N.test(e);return E.lastIndex=0,N.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ge.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Ne(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){tt[t]=e.join(" ")}},{key:"prepareTemplateDom",value:function(e,t){if(!g){var n=q(e);m||"shady"===n||e._domPrepared||(e._domPrepared=!0,de.domAddScope(e.content,t))}}},{key:"_generateStaticStyle",value:function(e,t,n,r,o,i){return(i=de.elementStyles(e,t,null,o,i)).length?A(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Ne(n),i=Fe[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new _e(s,o,a,n,r,l);return _e.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ue,0))}},{key:"_ensureCustomStyleInterface",value:function(){var e=this;this._customStyleInterface||window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=function(t){e.transformCustomStyleForDocument(t)},this._customStyleInterface.validateCallback=function(){requestAnimationFrame((function(){(e._customStyleInterface.enqueued||e._elementsHaveApplied)&&e.flushCustomStyles()}))})}},{key:"_ensure",value:function(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}},{key:"flushCustomStyles",value:function(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}},{key:"_reorderCustomStylesRules",value:function(e){var t=this,n=e.map((function(e){return t._customStyleInterface.getStyleForCustomStyle(e)})).filter((function(e){return!!e}));n.sort((function(e,t){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),this._documentOwnerStyleInfo.styleRules.rules=n.map((function(e){return M(e)}))}},{key:"styleElement",value:function(e,t){if(g){if(t){_e.get(e)||_e.set(e,new _e(null));var n=_e.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=_e.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}},{key:"_mixOverrideStyleProps",value:function(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}},{key:"styleElementShimVariables",value:function(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}},{key:"styleElementNativeVariables",value:function(e,t){var n=B(e).is;t.overrideStyleProperties&&
136
- /**
137
- @license
138
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
139
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
140
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
141
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
142
- Code distributed by Google as part of the polymer project is also
143
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
144
- */
145
- function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Fe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!qe(r)){if(Ve(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ge(r)),m){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}},{key:"_styleOwnerForNode",value:function(e){var t=H(e).getRootNode().host;return t?_e.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}},{key:"_isRootOwner",value:function(e){return e===this._documentOwner}},{key:"_applyStyleProperties",value:function(e,t){var n=B(e).is,r=nt.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=ge.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ge.applyElementScopeSelector(e,t.scopeSelector,s),r||nt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=_e.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ge.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ge.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ge.reify(i),t.styleProperties=i}},{key:"_mixinOverrideStyles",value:function(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}},{key:"styleDocument",value:function(e){this.styleSubtree(this._documentOwner,e)}},{key:"styleSubtree",value:function(e,t){var n=H(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter((function(e){return H(e).shadowRoot})),a=0;a<s.length;a++)this.styleSubtree(s[a])}},{key:"_revalidateCustomStyleApplyShim",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&this._revalidateApplyShim(r)}}},{key:"_applyCustomStyles",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this._customStyleInterface.getStyleForCustomStyle(n);r&&ge.applyCustomStyle(r,this._documentOwnerStyleInfo.styleProperties)}}},{key:"transformCustomStyleForDocument",value:function(e){var t=this,n=q(e);if(n!==this._documentOwnerStyleInfo.cssBuild&&(this._documentOwnerStyleInfo.cssBuild=n),!G(n)){var r=M(e);R(r,(function(e){m?de.normalizeRootSelector(e):de.documentRule(e),S&&""===n&&(t._ensure(),t._applyShim&&t._applyShim.transformRule(e))})),S?e.textContent=k(r):this._documentOwnerStyleInfo.styleRules.rules.push(r)}}},{key:"_revalidateApplyShim",value:function(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=k(t)}}},{key:"getComputedStyleValue",value:function(e,t){var n;return S||(n=(_e.get(e)||_e.get(this._styleOwnerForNode(e))).styleProperties[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}},{key:"setElementClass",value:function(e,t){var n,r=H(e).getRootNode();n=t?("string"==typeof t?t:String(t)).split(/\s/):[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;a<s.length;a++)if(s[a]===de.SCOPE_NAME){o=s[a+1];break}}if(o&&n.push(de.SCOPE_NAME,o),!S){var l=_e.get(e);l&&l.scopeSelector&&n.push(ge.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return _e.get(e)}},{key:"scopeNode",value:function(e,t){de.element(e,t)}},{key:"unscopeNode",value:function(e,t){de.element(e,t,!0)}},{key:"scopeForNode",value:function(e){return Me(e)}},{key:"currentScopeForNode",value:function(e){return ke(e)}}])&&et(t.prototype,n),i&&et(t,i),e}();rt.prototype.flush=rt.prototype.flush,rt.prototype.prepareTemplate=rt.prototype.prepareTemplate,rt.prototype.styleElement=rt.prototype.styleElement,rt.prototype.styleDocument=rt.prototype.styleDocument,rt.prototype.styleSubtree=rt.prototype.styleSubtree,rt.prototype.getComputedStyleValue=rt.prototype.getComputedStyleValue,rt.prototype.setElementClass=rt.prototype.setElementClass,rt.prototype._styleInfoForNode=rt.prototype._styleInfoForNode,rt.prototype.transformCustomStyleForDocument=rt.prototype.transformCustomStyleForDocument,rt.prototype.getStyleAst=rt.prototype.getStyleAst,rt.prototype.styleAstToString=rt.prototype.styleAstToString,rt.prototype.flushCustomStyles=rt.prototype.flushCustomStyles,rt.prototype.scopeNode=rt.prototype.scopeNode,rt.prototype.unscopeNode=rt.prototype.unscopeNode,rt.prototype.scopeForNode=rt.prototype.scopeForNode,rt.prototype.currentScopeForNode=rt.prototype.currentScopeForNode,rt.prototype.prepareAdoptedCssText=rt.prototype.prepareAdoptedCssText,Object.defineProperties(rt.prototype,{nativeShadow:{get:function(){return m}},nativeCss:{get:function(){return S}}});
146
- /**
147
- @license
148
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
149
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
150
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
151
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
152
- Code distributed by Google as part of the polymer project is also
153
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
154
- */
155
- var ot,it,st=new rt;window.ShadyCSS&&(ot=window.ShadyCSS.ApplyShim,it=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:st,prepareTemplate:function(e,t,n){st.flushCustomStyles(),st.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){st.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){st.flushCustomStyles(),st.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){st.flushCustomStyles(),st.styleSubtree(e,t)},styleElement:function(e){st.flushCustomStyles(),st.styleElement(e)},styleDocument:function(e){st.flushCustomStyles(),st.styleDocument(e)},flushCustomStyles:function(){st.flushCustomStyles()},getComputedStyleValue:function(e,t){return st.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},ot&&(window.ShadyCSS.ApplyShim=ot),it&&(window.ShadyCSS.CustomStyleInterface=it)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{305:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r,i;i={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(n){if("auto"!=e[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==c.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=e[n]}})):o.duration=e,o}function o(t,e,n,r){return t<0||t>1||n<0||n>1?d:function(i){function o(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,n,c);if(Math.abs(i-f)<1e-5)return o(e,r,c);f<i?u=c:l=c}return o(e,r,c)}}function a(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var n=y.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[t]||d}function l(t,e,n){if(null==e)return x;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?w:e>=Math.min(n.delay+t,r)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return i(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=l(t,e,n),i=function(t,e,n,r,i){switch(r){case w:return"backwards"==e||"both"==e?0:null;case N:return n-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,n.fill,e,r,n.delay);if(null===i)return null;var o=function(t,e,n,r,i){var o=i;return 0===t?e!==w&&(o+=n):o+=r/t,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(t,e,n,r,i,o){var a=t===1/0?e%1:t%1;return 0!==a||n!==k||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(t,e,n,r){return t===k&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[t]=n(t,e)}}function i(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[n]=r[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map((function(e){var n={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,i=1;i<t;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-e;a++)n[e+a].offset=r+(o-r)*a/(i-e);e=i,r=o}}}(),n}}(r),function(t){var e={};t.isDeprecated=function(t,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,i){var o=i?"are":"is";if(t.isDeprecated(e,n,r,i))throw new Error(e+" "+o+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===t[n]&&(e=!0)}))),!e)return}!function(t,e,n){e.convertEffectInput=function(n){var r=function(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(t,e){return t.startOffset-e.startOffset})),r}(r);return function(t,n){if(null!=n)i.filter((function(t){return n>=t.applyFrom&&n<t.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);e.apply(t,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,i),function(t,e,n){function r(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,n){o[n]=o[n]||[],o[n].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,n){for(var o=0;o<n.length;o++)i(t,e,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,i),function(t,e,n){e.KeyframeEffect=function(n,r,i,o){var a,s=function(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}(t.normalizeTimingInput(i)),u=e.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(r,i),function(t,e){function n(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function r(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var n=this._style[e];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)r.prototype[l]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,n,r){i(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(i),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(i),function(t,e){t.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],n[o],r));return i}throw"Mismatched interpolation arguments "+e+":"+n}(t,e,r))}}}(i),function(t,e){var n=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=t(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=t(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=n,t.quat=function(e,n,r){var i=t.dot(e,n),o=[];if(1===(i=function(t,e,n){return Math.max(Math.min(t,n),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(i),function(t,e,n){t.sequenceNumber=0;var r=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,i),function(t,e,n){function r(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,n,r){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(e){e._tick(t,n),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(r),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var n=t._targetAnimations();n.sort(i),s(e.timeline.currentTime,!1,n.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,i),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],o=t.d[2],a=(e=i(t.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=t.d[0].px||0,r=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(r)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=r(t);return[t[0]/e,t[1]/e,t[2]/e]}function r(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][r];n.push(i)}return n}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var n=1/t(e),r=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(i),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,i){for(var o=[],a=[],s=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=e(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var r=e.map((function(t,e){return s[e](t)})).join(n);return t?t(r):r}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=function(t,r,i){t=n.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(0==--n&&r++,n<=0))break;var i=t(e.substr(0,r));return null==i?void 0:[i,e.substr(r)]},t.ignore=function(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}},t.optional=function(t,e){return function(n){return t(n)||[e,n]}},t.consumeList=function(e,n){for(var r=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},t.mergeNestedRepeated=r.bind(null,null),t.mergeWrappedNestedRepeated=r,t.mergeList=function(t,e,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](t[a],e[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){r.push(!1),i.push(!1),o.push((function(){return n[t]}))}(s);return[r,i,function(t){for(var e="",n=0;n<t.length;n++)e+=o[n](t[n]);return e}]}}(i),function(t){function e(e){var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated((function(e){var r=t.consumeToken(/^inset/i,e);return r?(n.inset=!0,r):(r=t.consumeLengthOrPercent(e))?(n.lengths.push(r[0]),r):(r=t.consumeColor(e))?(n.color=r[0],r):void 0}),/^/,e);if(r&&r[0].length)return[n,r[1]]}var n=function(e,n,r,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,n,a,s)}.bind(null,(function(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&n.color){var l=t.mergeColors(e.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(t){for(var n=e.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](t[0][o])+" ";return r&&(n+=r(t[1])),n}]}}),", ");t.addPropertiesHandler((function(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(i),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return n(r(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var o=i(e[r]);if(void 0===o)return;n.push(o)}return n}}t.clamp=r,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,n]},t.numberToString=n}(i),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}),["visibility"])}(i),function(t,e){function n(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(i),function(t,e){function n(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function n(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function r(){for(var t=n();"*"===o||"/"===o;){var r=o;e();var i=n();"*"===r?t*=i:t/=i}return t}function i(){for(var t=r();"+"===o||"-"===o;){var n=o;e();var i=r();"+"===n?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,(function(t){return r[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(t,e){return o(t,e,!0)}function o(e,n,r){var i,o=[];for(i in e)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),n=o.map((function(t){return n[t]||0})),[e,n,function(e){var n=e.map((function(n,i){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+o[i]})).join(" + ");return e.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(i),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var i=r?e:n;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,n)}),", ");t.parseBox=r,t.mergeBoxes=i,t.addPropertiesHandler(r,i,["clip"])}(i),function(t,e){function n(t){return function(e){var n=0;return t.map((function(t){return t===l?e[n++]:t}))}}function r(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(e);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var i=t.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(e){var n=t.quat(r[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};t.addPropertiesHandler(i,(function(e,n){var r=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!n.length){e.length||(i=!0,e=n,n=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=n.length){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=n[o].t,b=e[o].d,y=n[o].d,T=d[v],x=d[_];if(h(v,_)){if(!r)return;var w=a([e[o]],[n[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!r)return;p=[(w=a(e,n))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var n=t.map((function(t,n){return g[e][1][n](t)})).join(",");return"matrix"==g[e][0]&&16==n.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+n+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(i(e));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(i),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,n){return[t,n,e]}),["font-weight"])}(i),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function i(e,i){var o=t.consumeRepeated(r,/^/,i);if(o&&""==o[1]){var s=o[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map((function(t){return"object"==n(t)?t:a[t]}))}}}function o(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<o.length;c++){var f=o[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=a[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},s=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(i.bind(null,3),s,["transform-origin"]),t.addPropertiesHandler(i.bind(null,2),s,["perspective-origin"]),t.consumePosition=o,t.mergeOffsetList=s;var u=t.mergeNestedRepeated.bind(null,s,", ");t.addPropertiesHandler((function(e){var n=t.consumeRepeated(o,/^,/,e);if(n&&""==n[1])return n[0]}),u,["background-position","object-position"])}(i),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),n=t.consumeRepeated.bind(void 0,e,/^/),r=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,r,",");t.addPropertiesHandler((function(r){var i=t.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(i),function(t,e){function n(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(r[t]=e),i[e]=t}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(i)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(t){t.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,n)}}}(r)}}]);
@@ -1,34 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{337:function(t,e){
15
- /**
16
- * @license
17
- * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
18
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
19
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
20
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
21
- * Code distributed by Google as part of the polymer project is also
22
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
23
- */
24
- !function(){"use strict";var t;if(!((t=document.createEvent("Event")).initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented)){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var n=/Trident/.test(navigator.userAgent);if(!window.Event||n&&"function"!=typeof window.Event){var o=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,Boolean(e.bubbles),Boolean(e.cancelable)),n},o){for(var r in o)window.Event[r]=o[r];window.Event.prototype=o.prototype}}if((!window.CustomEvent||n&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||n&&"function"!=typeof window.MouseEvent){var i=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,Boolean(e.bubbles),Boolean(e.cancelable),e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},i)for(var r in i)window.MouseEvent[r]=i[r];window.MouseEvent.prototype=i.prototype}if(Array.from||(Array.from=function(t){return[].slice.call(t)}),!Object.assign){var a=function(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]};Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)(n=o[r])&&a(t,n);return t}}}()},338:function(t,e){Window.prototype.forceJURL=!1,function(t){"use strict";var e=!1;if(!t.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",e="http://a/c%20d"===n.href}catch(t){}if(!e){var o=Object.create(null);o.ftp=21,o.file=0,o.gopher=70,o.http=80,o.https=443,o.ws=80,o.wss=443;var r=Object.create(null);r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var i=void 0,a=/[a-zA-Z]/,s=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var t="";return""==this._username&&null==this._password||(t=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+t+this.host:"")+this.pathname+this._query+this._fragment},set href(t){m.call(this),d.call(this,t)},get protocol(){return this._scheme+":"},set protocol(t){this._isInvalid||d.call(this,t+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"host")},get hostname(){return this._host},set hostname(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"hostname")},get port(){return this._port},set port(t){!this._isInvalid&&this._isRelative&&d.call(this,t,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(t){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,t,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(t){!this._isInvalid&&this._isRelative&&(this._query="?","?"==t[0]&&(t=t.slice(1)),d.call(this,t,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(t){this._isInvalid||(t?(this._fragment="#","#"==t[0]&&(t=t.slice(1)),d.call(this,t,"fragment")):this._fragment="")},get origin(){var t;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this._scheme+"://"+t:""}};var c=t.URL;c&&(v.createObjectURL=function(t){return c.createObjectURL.apply(c,arguments)},v.revokeObjectURL=function(t){c.revokeObjectURL(t)}),t.URL=v}function l(t){return void 0!==o[t]}function h(){m.call(this),this._isInvalid=!0}function u(t){return""==t&&h.call(this),t.toLowerCase()}function p(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function f(t){var e=t.charCodeAt(0);return e>32&&e<127&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function d(t,e,n){function c(t){w.push(t)}var d=e||"scheme start",m=0,v="",_=!1,y=!1,w=[];t:for(;(t[m-1]!=i||0==m)&&!this._isInvalid;){var g=t[m];switch(d){case"scheme start":if(!g||!a.test(g)){if(e){c("Invalid scheme.");break t}v="",d="no scheme";continue}v+=g.toLowerCase(),d="scheme";break;case"scheme":if(g&&s.test(g))v+=g.toLowerCase();else{if(":"!=g){if(e){if(i==g)break t;c("Code point not allowed in scheme: "+g);break t}v="",m=0,d="no scheme";continue}if(this._scheme=v,v="",e)break t;l(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this._query="?",d="query"):"#"==g?(this._fragment="#",d="fragment"):i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._schemeData+=p(g));break;case"no scheme":if(n&&l(n._scheme)){d="relative";continue}c("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!=g||"/"!=t[m+1]){c("Expected /, got: "+g),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==g){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break t}if("/"==g||"\\"==g)"\\"==g&&c("\\ is an invalid code point."),d="relative slash";else if("?"==g)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,d="query";else{if("#"!=g){var b=t[m+1],E=t[m+2];("file"!=this._scheme||!a.test(g)||":"!=b&&"|"!=b||i!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),d="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,d="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),d="relative path";continue}"\\"==g&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){c("Expected '/', got: "+g),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=g){c("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){d="authority";continue}c("Expected authority, got: "+g);break;case"authority":if("@"==g){_&&(c("@ already seen."),v+="%40"),_=!0;for(var C=0;C<v.length;C++){var N=v[C];if("\t"!=N&&"\n"!=N&&"\r"!=N)if(":"!=N||null!==this._password){var D=p(N);null!==this._password?this._password+=D:this._username+=D}else this._password="";else c("Invalid whitespace in authority.")}v=""}else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){m-=v.length,v="",d="host";continue}v+=g}break;case"file host":if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=v.length||!a.test(v[0])||":"!=v[1]&&"|"!=v[1]?(0==v.length||(this._host=u.call(this,v),v=""),d="relative path start"):d="relative path";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid whitespace in file host."):v+=g;break;case"host":case"hostname":if(":"!=g||y){if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this._host=u.call(this,v),v="",d="relative path start",e)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?y=!0:"]"==g&&(y=!1),v+=g):c("Invalid code point in host/hostname: "+g)}else if(this._host=u.call(this,v),v="",d="port","hostname"==e)break t;break;case"port":if(/[0-9]/.test(g))v+=g;else{if(i==g||"/"==g||"\\"==g||"?"==g||"#"==g||e){if(""!=v){var T=parseInt(v,10);T!=o[this._scheme]&&(this._port=T+""),v=""}if(e)break t;d="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?c("Invalid code point in port: "+g):h.call(this)}break;case"relative path start":if("\\"==g&&c("'\\' not allowed in path."),d="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":var k;if(i!=g&&"/"!=g&&"\\"!=g&&(e||"?"!=g&&"#"!=g))"\t"!=g&&"\n"!=g&&"\r"!=g&&(v+=p(g));else"\\"==g&&c("\\ not allowed in relative path."),(k=r[v.toLowerCase()])&&(v=k),".."==v?(this._path.pop(),"/"!=g&&"\\"!=g&&this._path.push("")):"."==v&&"/"!=g&&"\\"!=g?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&a.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==g?(this._query="?",d="query"):"#"==g&&(this._fragment="#",d="fragment");break;case"query":e||"#"!=g?i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._query+=f(g)):(this._fragment="#",d="fragment");break;case"fragment":i!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this._fragment+=g)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(t,e){void 0===e||e instanceof v||(e=new v(String(e))),this._url=""+t,m.call(this);var n=this._url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,n,null,e)}}(window)},339:function(t,e){
25
- /**
26
- * @license
27
- * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
28
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
29
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
30
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
31
- * Code distributed by Google as part of the polymer project is also
32
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
33
- */
34
- !function(){"use strict";var t="undefined"==typeof HTMLTemplateElement,e=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),n=!1;/Trident/.test(navigator.userAgent)&&function(){n=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){var n=t.call(this,e);return this instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var e=Node.prototype.insertBefore;function o(t,n){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)e.call(this,o,n);else e.call(this,t,n);return t}Node.prototype.insertBefore=o;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?o.call(this,t,null):r.call(this,t),t};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,e){return t instanceof DocumentFragment?(o.call(this,t,e),i.call(this,e)):a.call(this,t,e),e},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){e=e||!1;var n=s.call(this,t,e);return t instanceof DocumentFragment&&(n.__proto__=DocumentFragment.prototype),n}}();var o=Node.prototype.cloneNode,r=Document.prototype.createElement,i=Document.prototype.importNode,a=Node.prototype.removeChild,s=Node.prototype.appendChild,c=Node.prototype.replaceChild,l=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},u=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,f=Document.prototype.querySelectorAll,d=DocumentFragment.prototype.querySelectorAll;function m(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return f.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return d.call(t,e);default:return p.call(t,e)}}var v=function(){if(!t){var n=document.createElement("template"),o=document.createElement("template");o.content.appendChild(document.createElement("div")),n.content.appendChild(o);var r=n.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length||e}}(),_=function(){};if(t){var y=document.implementation.createHTMLDocument("template"),w=!0,g=document.createElement("style");g.textContent="template{display:none;}";var b=document.head;b.insertBefore(g,b.firstElementChild),_.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");_.decorate=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){var e;for(t.content=y.createDocumentFragment();e=t.firstChild;)s.call(t.content,e);if(E)t.__proto__=_.prototype;else if(t.cloneNode=function(t){return _._cloneNode(this,t)},w)try{N(t),D(t)}catch(t){w=!1}_.bootstrap(t.content)}};var C={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},N=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return j(this)},set:function(t){var e=C[function(t){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n<e.length;n++)t="<"+e[n]+">"+t+"</"+e[n]+">";for(y.body.innerHTML=t,_.bootstrap(y);this.content.firstChild;)a.call(this.content,this.content.firstChild);var o=y.body;if(e)for(var r=0;r<e.length;r++)o=o.lastChild;for(;o.firstChild;)s.call(this.content,o.firstChild)},configurable:!0})},D=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");y.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)s.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};N(_.prototype),D(_.prototype),_.bootstrap=function(t){for(var e,n=m(t,"template"),o=0,r=n.length;o<r&&(e=n[o]);o++)_.decorate(e)},document.addEventListener("DOMContentLoaded",(function(){_.bootstrap(document)})),Document.prototype.createElement=function(){var t=r.apply(this,arguments);return"template"===t.localName&&_.decorate(t),t},DOMParser.prototype.parseFromString=function(){var t=l.apply(this,arguments);return _.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(t){h.set.call(this,t),_.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,k=/[&\u00A0<>]/g,M=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},L=function(t){return t.replace(T,M)},O=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e},F=O(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),A=O(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),S=function(t,e,n){switch(t.nodeType){case Node.ELEMENT_NODE:for(var o,r=t.localName,i="<"+r,a=t.attributes,s=0;o=a[s];s++)i+=" "+o.name+'="'+L(o.value)+'"';return i+=">",F[r]?i:i+j(t,n)+"</"+r+">";case Node.TEXT_NODE:var c=t.data;return e&&A[e.localName]?c:function(t){return t.replace(k,M)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},j=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):u.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++)o+=S(n,t,e);return o}}if(t||v){_._cloneNode=function(t,e){var n=o.call(t,!1);return this.decorate&&this.decorate(n),e&&(s.call(n.content,o.call(t.content,!0)),H(n.content,t.content)),n};var H=function(t,e){if(e.querySelectorAll){var n=m(e,"template");if(0!==n.length)for(var o,r,i=m(t,"template"),a=0,s=i.length;a<s;a++)r=n[a],o=i[a],_&&_.decorate&&_.decorate(r),c.call(o.parentNode,x.call(r,!0),o)}},x=Node.prototype.cloneNode=function(t){var r;if(!n&&e&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();r=R.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?_._cloneNode(this,t):o.call(this,t);return t&&H(r,this),r},R=Document.prototype.importNode=function(t,e){if(e=e||!1,"template"===t.localName)return _._cloneNode(t,e);var n=i.call(this,t,e);return e&&(H(n,t),function(t){for(var e,n,o=m(t,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),i=0;i<o.length;i++){n=o[i],(e=r.call(document,"script")).textContent=n.textContent;for(var a,s=n.attributes,l=0;l<s.length;l++)a=s[l],e.setAttribute(a.name,a.value);c.call(n.parentNode,e,n)}}(n)),n}}t&&(window.HTMLTemplateElement=_)}()},340:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,h=window.Node.prototype.removeChild,u=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,v=window.Element.prototype.setAttribute,_=window.Element.prototype.removeAttribute,y=window.Element.prototype.getAttributeNS,w=window.Element.prototype.setAttributeNS,g=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,D=window.Element.prototype.before,T=window.Element.prototype.after,k=window.Element.prototype.replaceWith,M=window.Element.prototype.remove,L=window.HTMLElement,O=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),F=window.HTMLElement.prototype.insertAdjacentElement,A=window.HTMLElement.prototype.insertAdjacentHTML,S=new Set;function j(t){var e=S.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return S.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function R(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function P(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function q(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=I(e,i);continue}if("template"===a){r=I(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:I(e,r)}}(e,n,o)}function U(t,e){t.f&&q(t,e,(function(e){return B(t,e)}))}function B(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function W(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):K(t,o)}}function z(t,e){var n=[];for(q(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return K(t,e)},i=[];for(q(t,e,(function(e){if(t.f&&B(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function K(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}x(e)&&t.connectedCallback(e)}}catch(t){G(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var s=new a.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(a){return G(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,B(n,o),o}return B(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function G(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Y(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function Z(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function $(t){t.g&&t.g.disconnect()}function V(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new Z(t):void 0}function Q(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)K(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)K(t.b,a[s]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){G(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],q(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(e){if(e=f.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),d&&d.get?n(Element.prototype,d):O&&O.get?n(HTMLElement.prototype,O):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return s.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)h.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return v.call(this,e,n);var o=m.call(this,e);v.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return w.call(this,e,n,o);var r=y.call(this,e,n);w.call(this,e,n,o),o=y.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return _.call(this,e);var n=m.call(this,e);_.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return g.call(this,e,n);var o=y.call(this,e,n);g.call(this,e,n);var r=y.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},F?o(HTMLElement.prototype,F):b&&o(Element.prototype,b),A?r(HTMLElement.prototype,A):E&&r(Element.prototype,E),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&x(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==D&&(n.before=e(D)),void 0!==T&&(n.after=e(T)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==M&&(n.remove=function(){var e=x(this);M.call(this),e&&z(t,this)})}(t)}P.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){G(t)}},P.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){G(t)}},P.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){G(t)}},Y.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Z.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||$(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},V.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},V.prototype.upgrade=function(t){J(this.b,t)},V.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},V.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new Y,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},V.prototype.polyfillWrapFlushCallback=function(t){this.v&&$(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=V,V.prototype.define=V.prototype.define,V.prototype.upgrade=V.prototype.upgrade,V.prototype.get=V.prototype.get,V.prototype.whenDefined=V.prototype.whenDefined,V.prototype.polyfillDefineLazy=V.prototype.B,V.prototype.polyfillWrapFlushCallback=V.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function st(){var e=new P;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,B(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),B(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=l.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=l.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=R(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=s.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=h.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=R(e);if(e=u.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=u.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},p&&p.get?e(Node.prototype,p):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)h.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new V(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||st(),window.__CE_installPolyfill=st}).call(self)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[19],{336:function(e,n,t){"use strict";t.r(n);t(337),t(338),t(339),t(340);var o=window.customElements,d=!1,l=null;function a(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),l&&l(),d=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}o.polyfillWrapFlushCallback&&o.polyfillWrapFlushCallback((function(e){l=e,d&&e()})),"complete"!==document.readyState?(window.addEventListener("load",a),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",a),a()}))):a()}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{159:function(e,t,a){"use strict";a.r(t);var i,n=a(96),r=a(182),c=a(156),l=a(190),o=a(95),s=a(181),d=a(17),p=a(204),u=a(99),b=a(97),h=a(98),w=a(213),v=a(3);function m(e,t,a,i,n,r,c){try{var l=e[r](c),o=l.value}catch(e){return void a(e)}l.done?t(o):Promise.resolve(o).then(i,n)}(i=function*(){var e;yield Promise.all([..."customElements"in window?[]:[a.e(17).then(a.bind(null,192)).then(()=>Promise.all([a.e(15),a.e(9)]).then(a.bind(null,197)))],..."ResizeObserver"in window?[]:[a.e(7).then(a.bind(null,200))]]),yield v.v,yield v.u;var t=document.getElementById("_drawer"),i=document.getElementById("_sidebar"),m=null==i?void 0:i.querySelector(".sidebar-sticky");if(t&&i&&m){null===(e=document.getElementById("_menu"))||void 0===e||e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),t.toggle()}),i.querySelectorAll('a[href^="/"]').forEach(e=>e.addEventListener("click",()=>t.close())),v.q&&t.setAttribute("threshold","0"),v.o||t.setAttribute("mouseevents","");var[y,O]=v.k?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],j=Object(r.a)(Object(v.h)(window.matchMedia(v.a)),Object(v.h)(window.matchMedia(v.b))).pipe(Object(s.a)({}),Object(d.a)(()=>window.matchMedia(v.b).matches?3:window.matchMedia(v.a).matches?2:1)),f=Object(c.a)(t,"peek-width-change").pipe(Object(d.a)(e=>e.detail)),g=Object(c.a)(window,"resize",{passive:!0}).pipe(Object(s.a)({}),Object(d.a)(v.j)),S=Object(l.a)(f,g).pipe(Object(d.a)(e=>{var[t,a]=e;return a/2-t/2})),E=Object(r.a)(S.pipe(Object(d.a)(()=>void 0!==t.opacity?1-t.opacity:k?0:1)),Object(c.a)(t,"hy-drawer-move").pipe(Object(d.a)(e=>{var{detail:{opacity:t}}=e;return 1-t})));t.addEventListener("hy-drawer-prepare",()=>{i.style.willChange="transform",m.style.willChange="opacity"}),t.addEventListener("hy-drawer-transitioned",()=>{i.style.willChange="",m.style.willChange=""});var C=Object(v.i)(),k=t.classList.contains("cover")&&C<=0&&!(history.state&&history.state.closedOnce);k||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,t.removeAttribute("opened"));var L,_=Object(c.a)(t,"hy-drawer-transitioned").pipe(Object(d.a)(e=>e.detail),Object(p.a)(),Object(u.a)(e=>{var t,a;e||(null==(a=document.getElementById("_swipe"))||null===(t=a.parentNode)||void 0===t||t.removeChild(a),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)}),Object(s.a)(k)),B=k?null:t.getBoundingClientRect().height;t.addEventListener("hy-drawer-init",()=>{t.classList.add("loaded"),function(e){var t=document.getElementById("_hrefSwipeSVG");if(t){var a,i=document.createElement("img");i.id="_swipe",i.src=t.href,i.alt="Swipe image",i.addEventListener("click",()=>e.close()),null===(a=document.getElementById("_sidebar"))||void 0===a||a.appendChild(i)}}(t),B&&C>=B&&window.scrollTo(0,C-B)},{once:!0}),yield Promise.resolve().then(a.bind(null,203)),window._drawer=t,E.pipe(Object(b.a)(j,S),Object(u.a)(e=>((e,t,a)=>{var n=a*e,r=t>=2?1:1-e;v.k?(y[0].x.value=n,O.value=r,i.attributeStyleMap.set("transform",y),m.attributeStyleMap.set("opacity",O)):(i.style.transform="translateX(".concat(n,"px)"),m.style.opacity=r)})(...e))).subscribe(),f.pipe(Object(b.a)(j),Object(d.a)(e=>function(e,t){return t>=2?[0,e]:v.p?[35,150]:[0,150]}(...e)),Object(u.a)(e=>{t.range=e})).subscribe(),Object(c.a)(document,"wheel",{passive:!1}).pipe((L=_,e=>L.pipe(Object(o.a)(t=>t?e:n.a))),Object(h.a)(e=>e.deltaY>0),Object(u.a)(e=>{t.translateX>0&&e.preventDefault()}),Object(w.a)(500),Object(u.a)(()=>t.close())).subscribe()}},function(){var e=this,t=arguments;return new Promise((function(a,n){var r=i.apply(e,t);function c(e){m(r,a,n,c,l,"next",e)}function l(e){m(r,a,n,c,l,"throw",e)}c(void 0)}))})()}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{180:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},199:function(t,e,r){(function(n){var o,i;void 0===(i="function"==typeof(o=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,r){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var u=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(e)}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],n=0,o=r.length;n<o;n++)if(r[n]===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){var e=this;if(t.type in this.listeners){for(var r=function(r){setTimeout((function(){return r.call(e,t)}))},n=this.listeners[t.type],o=0,i=n.length;o<i;o++)r(n[o]);return!t.defaultPrevented}}}]),e}(),l=function(e){function n(){var e;return t(this,n),(e=function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?s(t):e}(this,o(n).call(this))).listeners||u.call(s(e)),Object.defineProperty(s(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(s(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,e),r(n,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),a(o(n.prototype),"dispatchEvent",this).call(this,t)}}]),n}(u),f=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new l,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function c(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(f.prototype[Symbol.toStringTag]="AbortController",l.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(c(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,n=e.Request,o=void 0===n?r.Request:n,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!c({fetch:r,Request:o,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=o;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new o(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=o.prototype);var l=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var o=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([o,l(t,e)])}return l(t,e)},Request:u}}(t),r=e.fetch,n=e.Request;t.fetch=r,t.Request=n,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:f}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:l})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n)})?o.call(e,r,e,t):o)||(t.exports=i)}).call(this,r(180))},211:function(t,e,r){"use strict";r.r(e);var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||l(t))?this._bodyArrayBuffer=v(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=y(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=f(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},p.prototype.delete=function(t){delete this.map[f(t)]},p.prototype.get=function(t){return t=f(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},p.prototype.set=function(t,e){this.map[f(t)]=c(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),h(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),h(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),h(t)},o&&(p.prototype[Symbol.iterator]=p.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var r,n,o=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),m.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function O(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function _(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},w.call(g.prototype),w.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=p,self.Request=g,self.Response=_);r(199)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{176:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},188:function(t,e,r){(function(n){var o,i;void 0===(i="function"==typeof(o=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,r){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var u=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(e)}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],n=0,o=r.length;n<o;n++)if(r[n]===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){var e=this;if(t.type in this.listeners){for(var r=function(r){setTimeout((function(){return r.call(e,t)}))},n=this.listeners[t.type],o=0,i=n.length;o<i;o++)r(n[o]);return!t.defaultPrevented}}}]),e}(),l=function(e){function n(){var e;return t(this,n),(e=function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?s(t):e}(this,o(n).call(this))).listeners||u.call(s(e)),Object.defineProperty(s(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(s(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}(n,e),r(n,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),a(o(n.prototype),"dispatchEvent",this).call(this,t)}}]),n}(u),f=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new l,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function c(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(f.prototype[Symbol.toStringTag]="AbortController",l.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(c(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,n=e.Request,o=void 0===n?r.Request:n,i=e.AbortController,s=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,a=void 0!==s&&s;if(!c({fetch:r,Request:o,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:u};var u=o;(u&&!u.prototype.hasOwnProperty("signal")||a)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new o(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=o.prototype);var l=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var o=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([o,l(t,e)])}return l(t,e)},Request:u}}(t),r=e.fetch,n=e.Request;t.fetch=r,t.Request=n,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:f}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:l})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n)})?o.call(e,r,e,t):o)||(t.exports=i)}).call(this,r(176))},203:function(t,e,r){"use strict";r.r(e);var n="URLSearchParams"in self,o="Symbol"in self&&"iterator"in Symbol,i="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in self,a="ArrayBuffer"in self;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function d(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=d(e);return e.readAsArrayBuffer(t),r}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||l(t))?this._bodyArrayBuffer=v(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,r,n=y(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=d(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=f(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},p.prototype.delete=function(t){delete this.map[f(t)]},p.prototype.get=function(t){return t=f(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},p.prototype.set=function(t,e){this.map[f(t)]=c(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),h(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),h(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),h(t)},o&&(p.prototype[Symbol.iterator]=p.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var r,n,o=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),m.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function O(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function _(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},w.call(g.prototype),w.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];_.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new _(null,{status:e,headers:{location:t}})};var A=self.DOMException;try{new A}catch(t){(A=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function T(t,e){return new Promise((function(r,n){var o=new g(t,e);if(o.signal&&o.signal.aborted)return n(new A("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t,e,n={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new _(o,n))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new A("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),o.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),o.signal&&(o.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",a)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=p,self.Request=g,self.Response=_);r(188)}}]);
@@ -1,28 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */!function(t){function n(n){for(var e,o,i=n[0],u=n[1],c=0,a=[];c<i.length;c++)o=i[c],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&a.push(r[o][0]),r[o]=0;for(e in u)Object.prototype.hasOwnProperty.call(u,e)&&(t[e]=u[e]);for(s&&s(n);a.length;)a.shift()()}var e={},r={3:0};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var n=[],e=r[t];if(0!==e)if(e)n.push(e[2]);else{var i=new Promise((function(n,o){e=r[t]=[n,o]}));n.push(e[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(t){return o.p+""+({0:"vendors~drawer~push-state",1:"drawer",2:"fetch",4:"navbar",5:"push-state",6:"resize-observer",7:"shadydom",8:"vendors~drawer",9:"vendors~intersection-observer",10:"vendors~push-state",11:"vendors~shadydom",12:"vendors~webanimations",13:"webcomponents"}[t]||t)+"-hydejack-9.0.3.js"}(t);var s=new Error;u=function(n){c.onerror=c.onload=null,clearTimeout(a);var e=r[t];if(0!==e){if(e){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,e[1](s)}r[t]=void 0}};var a=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(n)},o.m=t,o.c=e,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/assets/js/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=n,i=i.slice();for(var c=0;c<i.length;c++)n(i[c]);var s=u;o(o.s=100)}([function(t,n,e){"use strict";e.d(n,"e",(function(){return o})),e.d(n,"d",(function(){return i})),e.d(n,"f",(function(){return u})),e.d(n,"g",(function(){return s})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return f})),e.d(n,"b",(function(){return l}));
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation. All rights reserved.
16
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
17
- this file except in compliance with the License. You may obtain a copy of the
18
- License at http://www.apache.org/licenses/LICENSE-2.0
19
-
20
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
22
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
23
- MERCHANTABLITY OR NON-INFRINGEMENT.
24
-
25
- See the Apache Version 2.0 License for specific language governing permissions
26
- and limitations under the License.
27
- ***************************************************************************** */
28
- var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function o(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}function i(t,n,e,r){return new(e||(e=Promise))((function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}s((r=r.apply(t,n||[])).next())}))}function u(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function c(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<e;n++)for(var i=arguments[n],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r}function a(t){return this instanceof a?(this.v=t,this):new a(t)}function f(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r;function u(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof a?Promise.resolve(e.value.v).then(s,f):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function s(t){c("next",t)}function f(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=c(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return h}));var r=e(2);var o=e(38),i=e(31);var u=e(15),c=e(56);function s(t){return 0===t.length?c.a:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}var a=e(7),f=e(0),l=function(){var t=this;this.resolve=null,this.reject=null,this.promise=new Promise((function(n,e){t.resolve=n,t.reject=e}))};function p(t){return function(t){return Object(f.a)(this,arguments,(function(){var n,e,r,o,i,u,c,s;return Object(f.f)(this,(function(a){switch(a.label){case 0:n=[],e=[],r=!1,o=null,i=!1,u=t.subscribe({next:function(t){n.length>0?n.shift().resolve({value:t,done:!1}):e.push(t)},error:function(t){for(r=!0,o=t;n.length>0;)n.shift().reject(t)},complete:function(){for(i=!0;n.length>0;)n.shift().resolve({value:void 0,done:!0})}}),a.label=1;case 1:a.trys.push([1,16,17,18]),a.label=2;case 2:return e.length>0?[4,Object(f.c)(e.shift())]:[3,5];case 3:return[4,a.sent()];case 4:return a.sent(),[3,14];case 5:return i?[4,Object(f.c)(void 0)]:[3,7];case 6:return[2,a.sent()];case 7:if(!r)return[3,8];throw o;case 8:return c=new l,n.push(c),[4,Object(f.c)(c.promise)];case 9:return(s=a.sent()).done?[4,Object(f.c)(void 0)]:[3,11];case 10:return[2,a.sent()];case 11:return[4,Object(f.c)(s.value)];case 12:return[4,a.sent()];case 13:a.sent(),a.label=14;case 14:return[3,2];case 15:return[3,18];case 16:throw a.sent();case 17:return u.unsubscribe(),[7];case 18:return[2]}}))}))}(t)}var h=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(t,n,e){var u=this.operator,c=function(t,n,e){if(t){if(t instanceof r.a)return t;if(t[o.a])return t[o.a]()}return t||n||e?new r.a(t,n,e):new r.a(i.a)}(t,n,e);if(u?c.add(u.call(c,this.source)):c.add(this.source||a.a.useDeprecatedSynchronousErrorHandling&&!c.syncErrorThrowable?this._subscribe(c):this._trySubscribe(c)),a.a.useDeprecatedSynchronousErrorHandling&&c.syncErrorThrowable&&(c.syncErrorThrowable=!1,c.syncErrorThrown))throw c.syncErrorValue;return c},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=n),!function(t){for(;t;){var n=t,e=n.closed,o=n.destination,i=n.isStopped;if(e||i)return!1;t=o&&o instanceof r.a?o:null}return!0}(t)?console.warn(n):t.error(n)}},t.prototype.forEach=function(t,n){var e=this;return new(n=d(n))((function(n,r){var o;o=e.subscribe((function(n){try{t(n)}catch(t){r(t),o&&o.unsubscribe()}}),r,n)}))},t.prototype._subscribe=function(t){var n=this.source;return n&&n.subscribe(t)},t.prototype[u.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 0===t.length?this:s(t)(this)},t.prototype.toPromise=function(t){var n=this;return new(t=d(t))((function(t,e){var r;n.subscribe((function(t){return r=t}),(function(t){return e(t)}),(function(){return t(r)}))}))},t.create=function(n){return new t(n)},t}();function d(t){if(t||(t=a.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}Symbol&&Symbol.asyncIterator&&(h.prototype[Symbol.asyncIterator]=function(){return p(this)})},function(t,n,e){"use strict";e.d(n,"a",(function(){return f}));var r=e(0),o=e(18),i=e(31),u=e(6),c=e(38),s=e(7),a=e(19),f=function(t){function n(e,r,o){var u=t.call(this)||this;switch(u.syncErrorValue=null,u.syncErrorThrown=!1,u.syncErrorThrowable=!1,u.isStopped=!1,arguments.length){case 0:u.destination=i.a;break;case 1:if(!e){u.destination=i.a;break}if("object"==typeof e){e instanceof n?(u.syncErrorThrowable=e.syncErrorThrowable,u.destination=e,e.add(u)):(u.syncErrorThrowable=!0,u.destination=new l(u,e));break}default:u.syncErrorThrowable=!0,u.destination=new l(u,e,r,o)}return u}return Object(r.e)(n,t),n.prototype[c.a]=function(){return this},n.create=function(t,e,r){var o=new n(t,e,r);return o.syncErrorThrowable=!1,o},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},n}(u.a),l=function(t){function n(n,e,r,u){var c,s=t.call(this)||this;s._parentSubscriber=n;var a=s;return Object(o.a)(e)?c=e:e&&(c=e.next,r=e.error,u=e.complete,e!==i.a&&(a=Object.create(e),Object(o.a)(a.unsubscribe)&&s.add(a.unsubscribe.bind(a)),a.unsubscribe=s.unsubscribe.bind(s))),s._context=a,s._next=c,s._error=r,s._complete=u,s}return Object(r.e)(n,t),n.prototype.next=function(t){if(!this.isStopped&&this._next){var n=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},n.prototype.error=function(t){if(!this.isStopped){var n=this._parentSubscriber,e=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)e&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(n.syncErrorThrowable)e?(n.syncErrorValue=t,n.syncErrorThrown=!0):Object(a.a)(t),this.unsubscribe();else{if(this.unsubscribe(),e)throw t;Object(a.a)(t)}}},n.prototype.complete=function(){var t=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var e=function(){return t._complete.call(t._context)};s.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},n.prototype.__tryOrUnsub=function(t,n){try{t.call(this._context,n)}catch(t){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw t;Object(a.a)(t)}},n.prototype.__tryOrSetError=function(t,n,e){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,e)}catch(n){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(Object(a.a)(n),!0)}return!1},n.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},n}(f)},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(45)("wks"),o=e(34),i=e(3).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n,e){t.exports=!e(10)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(43),o=e(55),i=e(18),u=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),c=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var n;if(!this.closed){var e=this._parentOrParents,c=this._unsubscribe,a=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof t)e.remove(this);else if(null!==e)for(var f=0;f<e.length;++f){e[f].remove(this)}if(Object(i.a)(c))try{c.call(this)}catch(t){n=t instanceof u?s(t.errors):[t]}if(Object(r.a)(a)){f=-1;for(var l=a.length;++f<l;){var p=a[f];if(Object(o.a)(p))try{p.unsubscribe()}catch(t){n=n||[],t instanceof u?n=n.concat(s(t.errors)):n.push(t)}}}if(n)throw new u(n)}},t.prototype.add=function(n){var e=n;if(!n)return t.EMPTY;switch(typeof n){case"function":e=new t(n);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof t)){var r=e;(e=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}var o=e._parentOrParents;if(null===o)e._parentOrParents=this;else if(o instanceof t){if(o===this)return e;e._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return e;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[e]:i.push(e),e},t.prototype.remove=function(t){var n=this._subscriptions;if(n){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}},t.EMPTY=((n=new t).closed=!0,n),t}();function s(t){return t.reduce((function(t,n){return t.concat(n instanceof u?n.errors:n)}),[])}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},function(t,n,e){var r=e(3),o=e(32),i=e(20),u=e(22),c=e(46),s=function t(n,e,s){var a,f,l,p,h=n&t.F,d=n&t.G,v=n&t.P,y=n&t.B,b=d?r:n&t.S?r[e]||(r[e]={}):(r[e]||{}).prototype,m=d?o:o[e]||(o[e]={}),g=m.prototype||(m.prototype={});for(a in d&&(s=e),s)l=((f=!h&&b&&void 0!==b[a])?b:s)[a],p=y&&f?c(l,r):v&&"function"==typeof l?c(Function.call,l):l,b&&u(b,a,l,n&t.U),m[a]!=l&&i(m,a,p),v&&g[a]!=l&&(g[a]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,e){var r=e(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(9),o=e(81),i=e(33),u=Object.defineProperty;n.f=e(5)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){"use strict";function r(){}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return a})),e.d(n,"b",(function(){return f})),e.d(n,"p",(function(){return p})),e.d(n,"n",(function(){return h})),e.d(n,"o",(function(){return d})),e.d(n,"j",(function(){return v})),e.d(n,"t",(function(){return y})),e.d(n,"s",(function(){return b})),e.d(n,"r",(function(){return m})),e.d(n,"k",(function(){return g})),e.d(n,"d",(function(){return _})),e.d(n,"c",(function(){return w})),e.d(n,"l",(function(){return x})),e.d(n,"i",(function(){return S})),e.d(n,"q",(function(){return E})),e.d(n,"m",(function(){return P}));var r=e(39),o=e(1),i=e(42);e.d(n,"h",(function(){return i.c}));var u=e(62);e.d(n,"g",(function(){return u.b})),e.d(n,"e",(function(){return u.a}));var c=e(61);e.d(n,"f",(function(){return c.b}));e(78);var s=getComputedStyle(document.documentElement),a="(min-width: ".concat(s.getPropertyValue("--break-point-3"),")"),f="(min-width: ".concat(s.getPropertyValue("--break-point-dynamic"),")"),l=(parseFloat(s.getPropertyValue("--content-width-5")),parseFloat(s.getPropertyValue("--content-margin-5")),parseFloat(s.getPropertyValue("--sidebar-width")),parseFloat(s.getPropertyValue("--half-content")),navigator.userAgent.toLowerCase()),p=l.indexOf("safari")>0&&l.indexOf("chrome")<0,h=l.indexOf("mobile")>0,d=p&&h,v=(l.indexOf("ucbrowser"),l.indexOf("firefox"),l.indexOf("fxios")>0&&l.indexOf("safari"),"attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number),y=new Promise(t=>{"customElements"in window?t(!0):document.addEventListener("WebComponentsReady",t)}),b=new Promise((function t(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=document.querySelector("hy-drawer");o?getComputedStyle(o).getPropertyValue("--hy-drawer-width")?n(!0):r<=0?e(Error("Stylesheet not loaded within 10 seconds")):setTimeout(()=>t(n,e,r-1),1e3/3):n(!0)})),m=(t,n)=>new Promise(e=>t.addEventListener(n,e,{once:!0}));function g(t){return!window.Modernizr||[...t].every(t=>{var n=window.Modernizr[t];return n})}function _(){for(;null==this?void 0:this.firstChild;)this.removeChild(this.firstChild)}function w(t,n,e){return t?o.a.create(r=>{var o=t.animate(n,e);return o.addEventListener("finish",t=>{r.next(t),requestAnimationFrame(()=>{requestAnimationFrame(()=>r.complete())})}),()=>{"finished"!==o.playState&&o.cancel()}}):Object(r.a)(new CustomEvent("finish"))}function x(t){var n=document.getElementById(t);return n&&document.importNode(n.content,!0)}var O=document.body||document.documentElement,S=()=>window.innerWidth||O.clientWidth;var j=t=>n=>new Promise(e=>t(n).addEventListener("load",e)),E=(j(window.loadJS),j(window.loadCSS));function P(t,n){return new Promise(e=>{var r=new IntersectionObserver(n=>{n.some(t=>t.isIntersecting)&&(t.forEach(t=>r.unobserve(t)),e(n.find(t=>t.isIntersecting)))},n);t.forEach(t=>r.observe(t))})}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,n,e){var r=e(37);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(0),o=e(2);function i(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new u(t,n))}}var u=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new c(t,this.project,this.thisArg))},t}(),c=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.project=e,o.count=0,o.thisArg=r||o,o}return Object(r.e)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(o.a)},function(t,n,e){"use strict";function r(t){return"function"==typeof t}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";function r(t){setTimeout((function(){throw t}),0)}e.d(n,"a",(function(){return r}))},function(t,n,e){var r=e(11),o=e(44);t.exports=e(5)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},function(t,n,e){var r=e(3),o=e(20),i=e(23),u=e(34)("src"),c=e(102),s=(""+c).split("toString");e(32).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var a="function"==typeof e;a&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(a&&(i(e,u)||o(e,u,t[n]?""+t[n]:s.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(29),o=e(60),i=e(1);function u(t,n,e,u,c){if(void 0===c&&(c=new r.a(t,e,u)),!c.closed)return n instanceof i.a?n.subscribe(c):Object(o.a)(n)(c)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(0),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(r.e)(n,t),n.prototype.notifyNext=function(t,n,e,r,o){this.destination.next(n)},n.prototype.notifyError=function(t,n){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.destination.complete()},n}(e(2).a)},function(t,n,e){var r=e(47),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(111),o=e(37);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(0),o=function(t){function n(n,e,r){var o=t.call(this)||this;return o.parent=n,o.outerValue=e,o.outerIndex=r,o.index=0,o}return Object(r.e)(n,t),n.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},n.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},n.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},n}(e(2).a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(1),o=e(6);function i(t,n){return new r.a((function(e){var r=new o.a,i=0;return r.add(n.schedule((function(){i!==t.length?(e.next(t[i++]),e.closed||r.add(this.schedule())):e.complete()}))),r}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(7),o=e(19),i={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete:function(){}}},function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(12);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=!1},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(75),o=e(76),i=e(30);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=t[t.length-1];return Object(r.a)(e)?(t.pop(),Object(i.a)(t,e)):Object(o.a)(t)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(0),o=e(25),i=e(26),u=e(29),c=e(17),s=e(54);function a(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),"function"==typeof n?function(r){return r.pipe(a((function(e,r){return Object(s.a)(t(e,r)).pipe(Object(c.a)((function(t,o){return n(e,t,r,o)})))}),e))}:("number"==typeof n&&(e=n),function(n){return n.lift(new f(t,e))})}var f=function(){function t(t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=n}return t.prototype.call=function(t,n){return n.subscribe(new l(t,this.project,this.concurrent))},t}(),l=function(t){function n(n,e,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,n)||this;return o.project=e,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return Object(r.e)(n,t),n.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},n.prototype._tryNext=function(t){var n,e=this.index++;try{n=this.project(t,e)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(n,t,e)},n.prototype._innerSub=function(t,n,e){var r=new u.a(this,n,e),i=this.destination;i.add(r);var c=Object(o.a)(this,t,void 0,void 0,r);c!==r&&i.add(c)},n.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},n.prototype.notifyNext=function(t,n,e,r,o){this.destination.next(n)},n.prototype.notifyComplete=function(t){var n=this.buffer;this.remove(t),this.active--,n.length>0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(i.a)},,function(t,n,e){"use strict";function r(){var t=document.documentElement,n=document.body,e="scrollHeight";return t[e]||n[e]}function o(){return window.pageYOffset||document.body.scrollTop}e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return u})),e.d(n,"a",(function(){return c}));var i=(t,n)=>(t.matches||t.msMatchesSelector).call(t,n);function u(t,n){for(var e=t;null!=e;){if(i(e,n))return e;e=e.parentNode instanceof Element?e.parentNode:null}return null}function c(){var t,n,e=new Promise((e,r)=>(t=e,n=r));return e.resolve=t,e.reject=n,e}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(32),o=e(3),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(24);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";t.exports=e(35)||!e(10)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete e(3)[t]}))},function(t,n,e){var r=e(67),o=e(44),i=e(28),u=e(33),c=e(23),s=e(81),a=Object.getOwnPropertyDescriptor;n.f=e(5)?a:function(t,n){if(t=i(t),n=u(n,!0),s)try{return a(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){"use strict";var r=e(9);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";var r=e(124),o=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,e){"use strict";e(125);var r=e(22),o=e(20),i=e(10),u=e(37),c=e(4),s=e(71),a=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var p=c(t),h=!i((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=h?!i((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[a]=function(){return e}),e[p](""),!n})):void 0;if(!h||!d||"replace"===t&&!f||"split"===t&&!l){var v=/./[p],y=e(u,p,""[t],(function(t,n,e,r,o){return n.exec===s?h&&!o?{done:!0,value:v.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),b=y[0],m=y[1];r(String.prototype,t,b),o(RegExp.prototype,p,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,e){var r=e(84),o=e(69);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return p}));var r=e(1),o=e(60),i=e(6),u=e(15);var c=e(30),s=e(21);var a=e(59),f=e(57);function l(t,n){if(null!=t){if(function(t){return t&&"function"==typeof t[u.a]}(t))return function(t,n){return new r.a((function(e){var r=new i.a;return r.add(n.schedule((function(){var o=t[u.a]();r.add(o.subscribe({next:function(t){r.add(n.schedule((function(){return e.next(t)})))},error:function(t){r.add(n.schedule((function(){return e.error(t)})))},complete:function(){r.add(n.schedule((function(){return e.complete()})))}}))}))),r}))}(t,n);if(Object(a.a)(t))return function(t,n){return new r.a((function(e){var r=new i.a;return r.add(n.schedule((function(){return t.then((function(t){r.add(n.schedule((function(){e.next(t),r.add(n.schedule((function(){return e.complete()})))})))}),(function(t){r.add(n.schedule((function(){return e.error(t)})))}))}))),r}))}(t,n);if(Object(f.a)(t))return Object(c.a)(t,n);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(e){var r,o=new i.a;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(n.schedule((function(){r=t[s.a](),o.add(n.schedule((function(){if(!e.closed){var t,n;try{var o=r.next();t=o.value,n=o.done}catch(t){return void e.error(t)}n?e.complete():(e.next(t),this.schedule())}})))}))),o}))}(t,n);if(Symbol&&Symbol.asyncIterator&&"function"==typeof t[Symbol.asyncIterator])return function(t,n){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(e){var r=new i.a;return r.add(n.schedule((function(){var o=t[Symbol.asyncIterator]();r.add(n.schedule((function(){var t=this;o.next().then((function(n){n.done?e.complete():(e.next(n.value),t.schedule())}))})))}))),r}))}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function p(t,n){return n?l(t,n):t instanceof r.a?t:new r.a(Object(o.a)(t))}},function(t,n,e){"use strict";function r(t){return null!==t&&"object"==typeof t}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";function r(t){return t}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(t){return function(n){for(var e=0,r=t.length;e<r&&!n.closed;e++)n.next(t[e]);n.complete()}}},function(t,n,e){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return p}));var r=e(58),o=e(19),i=e(21),u=e(15),c=e(57),s=e(59),a=e(55),f=e(0);function l(t){return function(n){(function(t,n){var e,r,o,i;return Object(f.d)(this,void 0,void 0,(function(){var u,c;return Object(f.f)(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),e=Object(f.b)(t),s.label=1;case 1:return[4,e.next()];case 2:if((r=s.sent()).done)return[3,4];u=r.value,n.next(u),s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=s.sent(),o={error:c},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(i=e.return)?[4,i.call(e)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}}))}))})(t,n).catch((function(t){return n.error(t)}))}}var p=function(t){if(t&&"function"==typeof t[u.a])return f=t,function(t){var n=f[u.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)};if(Object(c.a)(t))return Object(r.a)(t);if(Object(s.a)(t))return e=t,function(t){return e.then((function(n){t.closed||(t.next(n),t.complete())}),(function(n){return t.error(n)})).then(null,o.a),t};if(t&&"function"==typeof t[i.a])return n=t,function(t){for(var e=n[i.a]();;){var r=e.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof e.return&&t.add((function(){e.return&&e.return()})),t};if(Symbol&&Symbol.asyncIterator&&t&&"function"==typeof t[Symbol.asyncIterator])return l(t);var n,e,f,p=Object(a.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+p+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(t,n,e){"use strict";e.d(n,"c",(function(){return f})),e.d(n,"b",(function(){return l})),e.d(n,"a",(function(){return p}));var r=e(96),o=e(95),i=e(97),u=e(98),c=e(17),s=e(99),a=e(153);function f(t){return n=>t.pipe(Object(o.a)(t=>t?n:r.a))}function l(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return n=>0===e.length?n.pipe(Object(i.a)(t),Object(u.a)(t=>{var[,n]=t;return n}),Object(c.a)(t=>{var[n]=t;return n})):n.pipe(Object(i.a)(t,...e),Object(u.a)(t=>{var[,...n]=t;return n.every(t=>t)}),Object(c.a)(t=>{var[n]=t;return n}))}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n=>{var e=[];return n.pipe(Object(s.a)(t=>e.push(t)),Object(a.a)(t),Object(c.a)(()=>e),Object(s.a)(()=>e=[]))}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return y})),e.d(n,"b",(function(){return b})),e.d(n,"c",(function(){return m}));var r=e(1);function o(t){return new r.a((function(n){var e,r=t.now();return e=requestAnimationFrame((function o(){n.next(t.now()-r),n.closed||(e=requestAnimationFrame(o))})),function(){return cancelAnimationFrame(e)}}))}var i=o(Date),u=e(0),c=e(2);var s=function(){function t(t,n){this.predicate=t,this.inclusive=n}return t.prototype.call=function(t,n){return n.subscribe(new a(t,this.predicate,this.inclusive))},t}(),a=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.predicate=e,o.inclusive=r,o.index=0,o}return Object(u.e)(n,t),n.prototype._next=function(t){var n,e=this.destination;try{n=this.predicate(t,this.index++)}catch(t){return void e.error(t)}this.nextOrComplete(t,n)},n.prototype.nextOrComplete=function(t,n){var e=this.destination;Boolean(n)?e.next(t):(this.inclusive&&e.next(t),e.complete())},n}(c.a),f=e(80),l=e(39);var p=e(17);function h(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?h(Object(e),!0).forEach((function(n){v(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function v(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function y(t,n){return r.a.create(e=>{var r=new AbortController,{signal:o}=r,i=null;return fetch(t,d(d({},n),{},{signal:o})).then(t=>{i=t,e.next(t),e.complete()}).catch(t=>e.error(t)),()=>{i||r.abort()}})}function b(t){return r.a.create(n=>{var e=n.next.bind(n);return t.addListener(e),()=>t.removeListener(e)})}function m(t,n,e,r,u){return(void 0===h&&(h=Date),h===Date?i:o(h)).pipe((c=t=>t<r,void 0===a&&(a=!1),function(t){return t.lift(new s(c,a))}),function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return Object(f.a)(n,l.a.apply(void 0,t))}}(r),Object(p.a)(o=>t(o,n,e,r,u)));var c,a,h}},function(t,n,e){var r=e(12),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(36);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(23),o=e(16),i=e(66)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(45)("keys"),o=e(34);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(84),o=e(69).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){"use strict";var r=e(123)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){"use strict";var r,o,i=e(50),u=RegExp.prototype.exec,c=String.prototype.replace,s=u,a=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(a||f)&&(s=function(t){var n,e,r,o,s=this;return f&&(e=new RegExp("^"+s.source+"$(?!\\s)",i.call(s))),a&&(n=s.lastIndex),r=u.call(s,t),a&&r&&(s.lastIndex=s.global?r.index+r[0].length:n),f&&r&&r.length>1&&c.call(r[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=s},function(t,n,e){var r=e(11).f,o=e(23),i=e(4)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n){t.exports={}},,function(t,n,e){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(1),o=e(58),i=e(30);function u(t,n){return n?Object(i.a)(t,n):new r.a(Object(o.a)(t))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(94),o=new(e(93).a)(r.a)},function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i}));var r=e(1);function o(t){return r.a.create(n=>{var e=new window.ResizeObserver(t=>t.forEach(t=>n.next(t)));return e.observe(t),()=>{e.unobserve(t)}})}function i(t,n){return r.a.create(e=>{var r=new MutationObserver(t=>t.forEach(t=>e.next(t)));return r.observe(t,n),()=>{r.disconnect()}})}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(40),o=e(56);function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(o.a,t)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(39),o=e(79);function i(){return Object(o.a)(1)}function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return i()(r.a.apply(void 0,t))}},function(t,n,e){t.exports=!e(5)&&!e(10)((function(){return 7!=Object.defineProperty(e(63)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(4)("unscopables"),o=Array.prototype;null==o[r]&&e(20)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n,e){var r=e(9),o=e(24),i=e(4)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[i])?n:o(e)}},function(t,n,e){var r=e(23),o=e(28),i=e(119)(!1),u=e(66)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),s=0,a=[];for(e in c)e!=u&&r(c,e)&&a.push(e);for(;n.length>s;)r(c,e=n[s++])&&(~i(a,e)||a.push(e));return a}},function(t,n,e){var r=e(12),o=e(36),i=e(4)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){e(5)&&"g"!=/./g.flags&&e(11).f(RegExp.prototype,"flags",{configurable:!0,get:e(50)})},function(t,n,e){n.f=e(4)},function(t,n,e){var r=e(3),o=e(32),i=e(35),u=e(87),c=e(11).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(9),o=e(134),i=e(69),u=e(66)("IE_PROTO"),c=function(){},s=function(){var t,n=e(63)("iframe"),r=i.length;for(n.style.display="none",e(91).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=s(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(3).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(8),o=e(37),i=e(10),u=e(138),c="["+u+"]",s=RegExp("^"+c+c+"*"),a=RegExp(c+c+"*$"),f=function(t,n,e){var o={},c=i((function(){return!!u[t]()||"​…"!="​…"[t]()})),s=o[t]=c?n(l):u[t];e&&(o[e]=s),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(s,"")),2&n&&(t=t.replace(a,"")),t};t.exports=f},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(0),o=function(){function t(n,e){void 0===e&&(e=t.now),this.SchedulerAction=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(e,n)},t.now=function(){return Date.now()},t}(),i=function(t){function n(e,r){void 0===r&&(r=o.now);var i=t.call(this,e,(function(){return n.delegate&&n.delegate!==i?n.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return Object(r.e)(n,t),n.prototype.schedule=function(e,r,o){return void 0===r&&(r=0),n.delegate&&n.delegate!==this?n.delegate.schedule(e,r,o):t.prototype.schedule.call(this,e,r,o)},n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(o)},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(0),o=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r.pending=!1,r}return Object(r.e)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return n;clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e=!1,r=void 0;try{this.work(t)}catch(t){e=!0,r=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),r},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,e){return t.call(this)||this}return Object(r.e)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(e(6).a))},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(0),o=e(26),i=e(29),u=e(25),c=e(17),s=e(54);function a(t,n){return"function"==typeof n?function(e){return e.pipe(a((function(e,r){return Object(s.a)(t(e,r)).pipe(Object(c.a)((function(t,o){return n(e,t,r,o)})))})))}:function(n){return n.lift(new f(t))}}var f=function(){function t(t){this.project=t}return t.prototype.call=function(t,n){return n.subscribe(new l(t,this.project))},t}(),l=function(t){function n(n,e){var r=t.call(this,n)||this;return r.project=e,r.index=0,r}return Object(r.e)(n,t),n.prototype._next=function(t){var n,e=this.index++;try{n=this.project(t,e)}catch(t){return void this.destination.error(t)}this._innerSub(n,t,e)},n.prototype._innerSub=function(t,n,e){var r=this.innerSubscription;r&&r.unsubscribe();var o=new i.a(this,n,e),c=this.destination;c.add(o),this.innerSubscription=Object(u.a)(this,t,void 0,void 0,o),this.innerSubscription!==o&&c.add(this.innerSubscription)},n.prototype._complete=function(){var n=this.innerSubscription;n&&!n.closed||t.prototype._complete.call(this),this.unsubscribe()},n.prototype._unsubscribe=function(){this.innerSubscription=null},n.prototype.notifyComplete=function(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,o){this.destination.next(n)},n}(o.a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(1),o=e(13),i=new r.a(o.a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(0),o=e(26),i=e(25);function u(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){var e;"function"==typeof t[t.length-1]&&(e=t.pop());var r=t;return n.lift(new c(r,e))}}var c=function(){function t(t,n){this.observables=t,this.project=n}return t.prototype.call=function(t,n){return n.subscribe(new s(t,this.observables,this.project))},t}(),s=function(t){function n(n,e,r){var o=t.call(this,n)||this;o.observables=e,o.project=r,o.toRespond=[];var u=e.length;o.values=new Array(u);for(var c=0;c<u;c++)o.toRespond.push(c);for(c=0;c<u;c++){var s=e[c];o.add(Object(i.a)(o,s,s,c))}return o}return Object(r.e)(n,t),n.prototype.notifyNext=function(t,n,e,r,o){this.values[e]=n;var i=this.toRespond;if(i.length>0){var u=i.indexOf(e);-1!==u&&i.splice(u,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=Object(r.g)([t],this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(o.a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(0),o=e(2);function i(t,n){return function(e){return e.lift(new u(t,n))}}var u=function(){function t(t,n){this.predicate=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new c(t,this.predicate,this.thisArg))},t}(),c=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.predicate=e,o.thisArg=r,o.count=0,o}return Object(r.e)(n,t),n.prototype._next=function(t){var n;try{n=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}n&&this.destination.next(t)},n}(o.a)},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(0),o=e(2),i=e(13),u=e(18);function c(t,n,e){return function(r){return r.lift(new s(t,n,e))}}var s=function(){function t(t,n,e){this.nextOrObserver=t,this.error=n,this.complete=e}return t.prototype.call=function(t,n){return n.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function n(n,e,r,o){var c=t.call(this,n)||this;return c._tapNext=i.a,c._tapError=i.a,c._tapComplete=i.a,c._tapError=r||i.a,c._tapComplete=o||i.a,Object(u.a)(e)?(c._context=c,c._tapNext=e):e&&(c._context=e,c._tapNext=e.next||i.a,c._tapError=e.error||i.a,c._tapComplete=e.complete||i.a),c}return Object(r.e)(n,t),n.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},n.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},n.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},n}(o.a)},function(t,n,e){"use strict";e.r(n);e(101),e(106),e(108),e(109),e(110),e(112),e(113),e(116),e(86),e(122),e(126),e(127),e(128),e(130),e(131),e(136),e(137),e(139),e(140),e(142),e(145),e(150),e(151);var r=e(14);e.p=window._publicPath;Object(r.k)(["classlist","eventlistener","queryselector","template"])&&(Promise.resolve().then(e.bind(null,152)),window._noNavbar||e.e(4).then(e.bind(null,160)),!window._noDrawer&&Object(r.k)(["customproperties","history","matchmedia","opacity"])&&Promise.all([e.e(0),e.e(8),e.e(1)]).then(e.bind(null,156)),!window._noPushState&&Object(r.k)(["history","matchmedia","opacity","cssanimations","cssremunit","documentfragment"])&&Promise.all([e.e(0),e.e(10),e.e(5)]).then(e.bind(null,159)))},function(t,n,e){"use strict";var r=e(8),o=e(103),i=e(16),u=e(27),c=e(24),s=e(104);r(r.P,"Array",{flatMap:function(t){var n,e,r=i(this);return c(t),n=u(r.length),e=s(r,0),o(e,r,r,n,0,1,t,arguments[1]),e}}),e(82)("flatMap")},function(t,n,e){t.exports=e(45)("native-function-to-string",Function.toString)},function(t,n,e){"use strict";var r=e(64),o=e(12),i=e(27),u=e(46),c=e(4)("isConcatSpreadable");t.exports=function t(n,e,s,a,f,l,p,h){for(var d,v,y=f,b=0,m=!!p&&u(p,h,3);b<a;){if(b in s){if(d=m?m(s[b],b,e):s[b],v=!1,o(d)&&(v=void 0!==(v=d[c])?!!v:r(d)),v&&l>0)y=t(n,e,d,i(d.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();n[y]=d}y++}b++}return y}},function(t,n,e){var r=e(105);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(12),o=e(64),i=e(4)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(8),o=e(24),i=e(16),u=e(10),c=[].sort,s=[1,2,3];r(r.P+r.F*(u((function(){s.sort(void 0)}))||!u((function(){s.sort(null)}))||!e(107)(c)),"Array",{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,n,e){"use strict";var r=e(10);t.exports=function(t,n){return!!t&&r((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},function(t,n,e){"use strict";var r=e(8),o=e(16),i=e(24),u=e(11);e(5)&&r(r.P+e(48),"Object",{__defineGetter__:function(t,n){u.f(o(this),t,{get:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(8),o=e(16),i=e(24),u=e(11);e(5)&&r(r.P+e(48),"Object",{__defineSetter__:function(t,n){u.f(o(this),t,{set:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(8),o=e(16),i=e(33),u=e(65),c=e(49).f;e(5)&&r(r.P+e(48),"Object",{__lookupGetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.get}while(e=u(e))}})},function(t,n,e){var r=e(36);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(8),o=e(16),i=e(33),u=e(65),c=e(49).f;e(5)&&r(r.P+e(48),"Object",{__lookupSetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.set}while(e=u(e))}})},function(t,n,e){"use strict";var r=e(8),o=e(32),i=e(3),u=e(83),c=e(114);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return c(n,t()).then((function(){return e}))}:t,e?function(e){return c(n,t()).then((function(){throw e}))}:t)}})},function(t,n,e){var r=e(9),o=e(12),i=e(115);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(24);function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(3),o=e(117),i=e(11).f,u=e(68).f,c=e(85),s=e(50),a=r.RegExp,f=a,l=a.prototype,p=/a/g,h=/a/g,d=new a(p)!==p;if(e(5)&&(!d||e(10)((function(){return h[e(4)("match")]=!1,a(p)!=p||a(h)==h||"/a/i"!=a(p,"i")})))){a=function(t,n){var e=this instanceof a,r=c(t),i=void 0===n;return!e&&r&&t.constructor===a&&i?t:o(d?new f(r&&!i?t.source:t,n):f((r=t instanceof a)?t.source:t,r&&i?s.call(t):n),e?this:l,a)};for(var v=function(t){t in a||i(a,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},y=u(f),b=0;y.length>b;)v(y[b++]);l.constructor=a,a.prototype=l,e(22)(r,"RegExp",a)}e(121)("RegExp")},function(t,n,e){var r=e(12),o=e(118).set;t.exports=function(t,n,e){var i,u=n.constructor;return u!==e&&"function"==typeof u&&(i=u.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},function(t,n,e){var r=e(12),o=e(9),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(46)(Function.call,e(49).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(28),o=e(27),i=e(120);t.exports=function(t){return function(n,e,u){var c,s=r(n),a=o(s.length),f=i(u,a);if(t&&e!=e){for(;a>f;)if((c=s[f++])!=c)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(47),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){"use strict";var r=e(3),o=e(11),i=e(5),u=e(4)("species");t.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){"use strict";var r=e(9),o=e(27),i=e(70),u=e(51);e(52)("match",1,(function(t,n,e,c){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=c(e,t,this);if(n.done)return n.value;var s=r(t),a=String(this);if(!s.global)return u(s,a);var f=s.unicode;s.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(s,a));){var d=String(l[0]);p[h]=d,""===d&&(s.lastIndex=i(a,o(s.lastIndex),f)),h++}return 0===h?null:p}]}))},function(t,n,e){var r=e(47),o=e(37);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),s=r(e),a=c.length;return s<0||s>=a?t?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===a||(u=c.charCodeAt(s+1))<56320||u>57343?t?c.charAt(s):i:t?c.slice(s,s+2):u-56320+(i-55296<<10)+65536}}},function(t,n,e){var r=e(36),o=e(4)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){"use strict";var r=e(71);e(8)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){"use strict";var r=e(9),o=e(16),i=e(27),u=e(47),c=e(70),s=e(51),a=Math.max,f=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;e(52)("replace",2,(function(t,n,e,d){return[function(r,o){var i=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},function(t,n){var o=d(e,t,this,n);if(o.done)return o.value;var l=r(t),p=String(this),h="function"==typeof n;h||(n=String(n));var y=l.global;if(y){var b=l.unicode;l.lastIndex=0}for(var m=[];;){var g=s(l,p);if(null===g)break;if(m.push(g),!y)break;""===String(g[0])&&(l.lastIndex=c(p,i(l.lastIndex),b))}for(var _,w="",x=0,O=0;O<m.length;O++){g=m[O];for(var S=String(g[0]),j=a(f(u(g.index),p.length),0),E=[],P=1;P<g.length;P++)E.push(void 0===(_=g[P])?_:String(_));var I=g.groups;if(h){var T=[S].concat(E,j,p);void 0!==I&&T.push(I);var A=String(n.apply(void 0,T))}else A=v(S,p,j,E,I,n);j>=x&&(w+=p.slice(x,j)+A,x=j+S.length)}return w+p.slice(x)}];function v(t,n,r,i,u,c){var s=r+t.length,a=i.length,f=h;return void 0!==u&&(u=o(u),f=p),e.call(c,f,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=u[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>a){var p=l(f/10);return 0===p?e:p<=a?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):e}c=i[f-1]}return void 0===c?"":c}))}}))},function(t,n,e){"use strict";var r=e(85),o=e(9),i=e(83),u=e(70),c=e(27),s=e(51),a=e(71),f=e(10),l=Math.min,p=[].push,h="length",d=!f((function(){RegExp(4294967295,"y")}));e(52)("split",2,(function(t,n,e,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[h]||2!="ab".split(/(?:ab)*/)[h]||4!=".".split(/(.?)(.?)/)[h]||".".split(/()()/)[h]>1||"".split(/.?/)[h]?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(o,t,n);for(var i,u,c,s=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,d=void 0===n?4294967295:n>>>0,v=new RegExp(t.source,f+"g");(i=a.call(v,o))&&!((u=v.lastIndex)>l&&(s.push(o.slice(l,i.index)),i[h]>1&&i.index<o[h]&&p.apply(s,i.slice(1)),c=i[0][h],l=u,s[h]>=d));)v.lastIndex===i.index&&v.lastIndex++;return l===o[h]?!c&&v.test("")||s.push(""):s.push(o.slice(l)),s[h]>d?s.slice(0,d):s}:"0".split(void 0,0)[h]?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var o=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,o,r):v.call(String(o),e,r)},function(t,n){var r=f(v,t,this,n,v!==e);if(r.done)return r.value;var a=o(t),p=String(this),h=i(a,RegExp),y=a.unicode,b=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(d?"y":"g"),m=new h(d?a:"^(?:"+a.source+")",b),g=void 0===n?4294967295:n>>>0;if(0===g)return[];if(0===p.length)return null===s(m,p)?[p]:[];for(var _=0,w=0,x=[];w<p.length;){m.lastIndex=d?w:0;var O,S=s(m,d?p:p.slice(w));if(null===S||(O=l(c(m.lastIndex+(d?0:w)),p.length))===_)w=u(p,w,y);else{if(x.push(p.slice(_,w)),x.length===g)return x;for(var j=1;j<=S.length-1;j++)if(x.push(S[j]),x.length===g)return x;w=_=O}}return x.push(p.slice(_)),x}]}))},function(t,n,e){"use strict";var r=e(9),o=e(129),i=e(51);e(52)("search",1,(function(t,n,e,u){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var c=r(t),s=String(this),a=c.lastIndex;o(a,0)||(c.lastIndex=0);var f=i(c,s);return o(c.lastIndex,a)||(c.lastIndex=a),null===f?-1:f.index}]}))},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){"use strict";e(86);var r=e(9),o=e(50),i=e(5),u=/./.toString,c=function(t){e(22)(RegExp.prototype,"toString",t,!0)};e(10)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,e){"use strict";var r=e(3),o=e(23),i=e(5),u=e(8),c=e(22),s=e(132).KEY,a=e(10),f=e(45),l=e(72),p=e(34),h=e(4),d=e(87),v=e(88),y=e(133),b=e(64),m=e(9),g=e(12),_=e(16),w=e(28),x=e(33),O=e(44),S=e(90),j=e(135),E=e(49),P=e(89),I=e(11),T=e(53),A=E.f,k=I.f,L=j.f,M=r.Symbol,C=r.JSON,N=C&&C.stringify,R=h("_hidden"),D=h("toPrimitive"),F={}.propertyIsEnumerable,V=f("symbol-registry"),q=f("symbols"),H=f("op-symbols"),B=Object.prototype,G="function"==typeof M&&!!P.f,J=r.QObject,Y=!J||!J.prototype||!J.prototype.findChild,z=i&&a((function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=A(B,n);r&&delete B[n],k(t,n,e),r&&t!==B&&k(B,n,r)}:k,$=function(t){var n=q[t]=S(M.prototype);return n._k=t,n},U=G&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},W=function(t,n,e){return t===B&&W(H,n,e),m(t),n=x(n,!0),m(e),o(q,n)?(e.enumerable?(o(t,R)&&t[R][n]&&(t[R][n]=!1),e=S(e,{enumerable:O(0,!1)})):(o(t,R)||k(t,R,O(1,{})),t[R][n]=!0),z(t,n,e)):k(t,n,e)},K=function(t,n){m(t);for(var e,r=y(n=w(n)),o=0,i=r.length;i>o;)W(t,e=r[o++],n[e]);return t},Q=function(t){var n=F.call(this,t=x(t,!0));return!(this===B&&o(q,t)&&!o(H,t))&&(!(n||!o(this,t)||!o(q,t)||o(this,R)&&this[R][t])||n)},X=function(t,n){if(t=w(t),n=x(n,!0),t!==B||!o(q,n)||o(H,n)){var e=A(t,n);return!e||!o(q,n)||o(t,R)&&t[R][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=L(w(t)),r=[],i=0;e.length>i;)o(q,n=e[i++])||n==R||n==s||r.push(n);return r},tt=function(t){for(var n,e=t===B,r=L(e?H:w(t)),i=[],u=0;r.length>u;)!o(q,n=r[u++])||e&&!o(B,n)||i.push(q[n]);return i};G||(c((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function n(e){this===B&&n.call(H,e),o(this,R)&&o(this[R],t)&&(this[R][t]=!1),z(this,t,O(1,e))};return i&&Y&&z(B,t,{configurable:!0,set:n}),$(t)}).prototype,"toString",(function(){return this._k})),E.f=X,I.f=W,e(68).f=j.f=Z,e(67).f=Q,P.f=tt,i&&!e(35)&&c(B,"propertyIsEnumerable",Q,!0),d.f=function(t){return $(h(t))}),u(u.G+u.W+u.F*!G,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)h(nt[et++]);for(var rt=T(h.store),ot=0;rt.length>ot;)v(rt[ot++]);u(u.S+u.F*!G,"Symbol",{for:function(t){return o(V,t+="")?V[t]:V[t]=M(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var n in V)if(V[n]===t)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),u(u.S+u.F*!G,"Object",{create:function(t,n){return void 0===n?S(t):K(S(t),n)},defineProperty:W,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=a((function(){P.f(1)}));u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return P.f(_(t))}}),C&&u(u.S+u.F*(!G||a((function(){var t=M();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(g(n)||void 0!==t)&&!U(t))return b(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!U(n))return n}),r[1]=n,N.apply(C,r)}}),M.prototype[D]||e(20)(M.prototype,D,M.prototype.valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){var r=e(34)("meta"),o=e(12),i=e(23),u=e(11).f,c=0,s=Object.isExtensible||function(){return!0},a=!e(10)((function(){return s(Object.preventExtensions({}))})),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return a&&l.NEED&&s(t)&&!i(t,r)&&f(t),t}}},function(t,n,e){var r=e(53),o=e(89),i=e(67);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),s=i.f,a=0;c.length>a;)s.call(t,u=c[a++])&&n.push(u);return n}},function(t,n,e){var r=e(11),o=e(9),i=e(53);t.exports=e(5)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,s=0;c>s;)r.f(t,e=u[s++],n[e]);return t}},function(t,n,e){var r=e(28),o=e(68).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n,e){e(88)("asyncIterator")},function(t,n,e){"use strict";e(92)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,e){"use strict";e(92)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,e){var r=e(3),o=e(8),i=e(141),u=[].slice,c=/MSIE .\./.test(i),s=function(t){return function(n,e){var r=arguments.length>2,o=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,o)}:n,e)}};o(o.G+o.B+o.F*c,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(t,n,e){var r=e(3).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){var r=e(8),o=e(143);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,n,e){var r,o,i,u=e(46),c=e(144),s=e(91),a=e(63),f=e(3),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},g=function(t){m.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return b[++y]=function(){c("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete b[t]},"process"==e(36)(l)?r=function(t){l.nextTick(u(m,t,1))}:v&&v.now?r=function(t){v.now(u(m,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=g,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in a("script")?function(t){s.appendChild(a("script")).onreadystatechange=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){for(var r=e(146),o=e(53),i=e(22),u=e(3),c=e(20),s=e(73),a=e(4),f=a("iterator"),l=a("toStringTag"),p=s.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(h),v=0;v<d.length;v++){var y,b=d[v],m=h[b],g=u[b],_=g&&g.prototype;if(_&&(_[f]||c(_,f,p),_[l]||c(_,l,b),s[b]=p,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,n,e){"use strict";var r=e(82),o=e(147),i=e(73),u=e(28);t.exports=e(148)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(35),o=e(8),i=e(22),u=e(20),c=e(73),s=e(149),a=e(72),f=e(65),l=e(4)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,d,v,y,b){s(e,n,d);var m,g,_,w=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",O="values"==v,S=!1,j=t.prototype,E=j[l]||j["@@iterator"]||v&&j[v],P=E||w(v),I=v?O?w("entries"):P:void 0,T="Array"==n&&j.entries||E;if(T&&(_=f(T.call(new t)))!==Object.prototype&&_.next&&(a(_,x,!0),r||"function"==typeof _[l]||u(_,l,h)),O&&E&&"values"!==E.name&&(S=!0,P=function(){return E.call(this)}),r&&!b||!p&&!S&&j[l]||u(j,l,P),c[n]=P,c[x]=h,v)if(m={values:O?P:w("values"),keys:y?P:w("keys"),entries:I},b)for(g in m)g in j||i(j,g,m[g]);else o(o.P+o.F*(p||S),n,m);return m}},function(t,n,e){"use strict";var r=e(90),o=e(44),i=e(72),u={};e(20)(u,e(4)("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n){console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v9.0.3 <https://hydejack.com/>")},function(t,n){},function(t,n,e){"use strict";e.r(n);var r=e(14),o=e(154),i=e(155);function u(t,n,e,r,o,i,u){try{var c=t[i](u),s=c.value}catch(t){return void e(t)}c.done?n(s):Promise.resolve(s).then(r,o)}!function(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function c(t){u(i,r,o,c,s,"next",t)}function s(t){u(i,r,o,c,s,"throw",t)}c(void 0)}))}}((function*(){yield Promise.all([..."animate"in Element.prototype?[]:[e.e(12).then(e.t.bind(null,157,7))],..."IntersectionObserver"in window?[]:[e.e(9).then(e.t.bind(null,158,7))]]),yield r.s;var t,n,u=document.querySelector("hy-push-state");t=t=>{if(t){t.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]").forEach(t=>{var n=Object(r.l)("_permalink-template");n.querySelector(".permalink").href="#".concat(t.id),t.appendChild(n)});var n=t.querySelector("#markdown-toc");n&&n.classList.add("toc-hide"),"complete"in HTMLImageElement.prototype&&t.querySelectorAll("img[width][height][loading=lazy]").forEach(t=>{t.complete||(t.style.opacity="0",t.addEventListener("load",()=>t.animate([{opacity:0},{opacity:1}],{fill:"forwards",duration:500,easing:"ease"}),{once:!0}))})}},u&&!window._noPushState&&u.addEventListener("hy-push-state-ready",n=>{var{detail:{replaceEls:[e]}}=n;return t(e)},n),t(document.getElementById("_main"));var c=null;!function(t,n){u&&!window._noPushState&&u.addEventListener("hy-push-state-load",()=>t(document.getElementById("_main")),n),t(document.getElementById("_main"))}(()=>{var t,n=document.getElementById("_main");if(n){var e=n.querySelector("#markdown-toc");e&&(e.classList.remove("toc-hide"),e.classList.add("toc-show")),n.querySelectorAll("li[id^='fn:']").forEach(t=>t.tabIndex=0),n.querySelectorAll("a[href^='#fn:']").forEach(t=>t.addEventListener("click",t=>{var n;return null===(n=document.getElementById(t.currentTarget.getAttribute("href").substr(1)))||void 0===n?void 0:n.focus()})),n.querySelectorAll('pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"]').forEach(t=>t.addEventListener("touchstart",n=>t.scrollLeft>0&&n.stopPropagation(),{passive:!1}));var o=null===(t=document.getElementById("_katexPreload"))||void 0===t?void 0:t.href;!c&&o&&Object(r.m)(n.querySelectorAll(".katex"),{rootMargin:"1440px"}).then(()=>{c=Object(r.q)(o)})}});var s=document.getElementById("_MathJax");if(u&&s){var a=t=>{var{detail:{replaceEls:[n]}}=t;n.querySelectorAll('script[type="math/tex; mode=display"]').forEach(t=>{t.outerHTML=t.innerText.replace("% <![CDATA[","\\[").replace("%]]>","\\]")}),n.querySelectorAll('script[type="math/tex"]').forEach(t=>{t.outerHTML="\\(".concat(t.innerText,"\\)")})};a({detail:{replaceEls:[document]}}),"MathJax"in window||(yield Object(r.r)(s,"load")),yield MathJax.typesetPromise(),window._noPushState||(u.addEventListener("ready",t=>a(t)),Object(o.a)(u,"after").pipe(Object(i.a)(()=>MathJax.typesetPromise())).subscribe())}}))()},function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e(0),o=e(2),i=e(77);function u(t,n){return void 0===n&&(n=i.a),function(e){return e.lift(new c(t,n))}}var c=function(){function t(t,n){this.dueTime=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new s(t,this.dueTime,this.scheduler))},t}(),s=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.dueTime=e,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return Object(r.e)(n,t),n.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(a,this.dueTime,this))},n.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},n.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},n.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},n}(o.a);function a(t){t.debouncedNext()}},function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e(1),o=e(43),i=e(18),u=e(17);function c(t,n,e,s){return Object(i.a)(e)&&(s=e,e=void 0),s?c(t,n,e).pipe(Object(u.a)((function(t){return Object(o.a)(t)?s.apply(void 0,t):s(t)}))):new r.a((function(r){!function t(n,e,r,o,i){var u;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(n)){var c=n;n.addEventListener(e,r,i),u=function(){return c.removeEventListener(e,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(n)){var s=n;n.on(e,r),u=function(){return s.off(e,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(n)){var a=n;n.addListener(e,r),u=function(){return a.removeListener(e,r)}}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(var f=0,l=n.length;f<l;f++)t(n[f],e,r,o,i)}o.add(u)}(t,n,(function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,e)}))}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(40);function o(t,n){return"function"==typeof n?Object(r.a)(t,n,1):Object(r.a)(t,1)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{164:function(t,e,n){"use strict";n.r(e);var r=n(156),o=n(182),i=n(17),c=n(98),u=n(183),s=n(95),a=n(155),l=n(184),b=n(181),h=n(185),f=n(0);function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(o.a.apply(void 0,Object(f.g)([e],t)),void 0)}}var v,d=n(99),j=n(3);function y(t,e,n,r,o,i,c){try{var u=t[i](c),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}(v=function*(){yield j.u;var t=document.getElementById("_navbar");if(t){var e=t.clientHeight,n=0,f=j.k?new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]):null,v=Object(r.a)(window,"hashchange").pipe(Object(i.a)(t=>new URL(t.newURL).hash),Object(c.a)(t=>""!==t&&"#_search-input"!==t),Object(u.a)()),y=v.pipe(Object(s.a)(()=>Object(r.a)(document,"scroll").pipe(Object(a.a)(50),Object(l.a)(!0),Object(b.a)(!1))),Object(b.a)(!0)),_=Object(o.a)(Object(r.a)(t,"focus",{capture:!0}).pipe(Object(l.a)(2*e)),v.pipe(Object(l.a)(-2*e)));Object(r.a)(document,"scroll",{passive:!0}).pipe(Object(j.g)(y),Object(i.a)(j.i),Object(c.a)(t=>t>=0),Object(h.a)(),Object(i.a)(t=>{var[e,n]=t;return e-n}),Object(c.a)(()=>{var t;return!(null===(t=document.activeElement)||void 0===t?void 0:t.classList.contains("nav-btn"))}),p(_),Object(d.a)(r=>{n+=r,n=Math.max(-e,Math.min(0,n)),j.k?(f[0].y.value=n,t.attributeStyleMap.set("transform",f)):t.style.transform="translateY(".concat(n,"px)")})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,r){var o=v.apply(t,e);function i(t){y(o,n,r,i,c,"next",t)}function c(t){y(o,n,r,i,c,"throw",t)}i(void 0)}))})()},169:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return b}));var r=n(0),o=n(1),i=n(2),c=n(6),u=n(171),s=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(38),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),b=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new s(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(o.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(b)},171:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},181:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(79),o=n(75);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},182:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(75),i=n(80),c=n(76);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,u=void 0,s=t[t.length-1];return Object(o.a)(s)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof s&&(n=t.pop()),!u&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(c.a)(t,u))}},183:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),o=n(169),i=n(1),c=n(2),u=n(6);function s(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new b(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),b=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.a.EMPTY)),t},e.prototype.refCount=function(){return s()(this)},e}(i.a),f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=h.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function j(){return new o.a}function y(){return function(t){return s()((e=j,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,f);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},184:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0),o=n(2);function i(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.value))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.e)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.a)},185:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0),o=n(2);function i(){return function(t){return t.lift(new c)}}var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return Object(r.e)(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(o.a)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{160:function(t,e,n){"use strict";n.r(e);var r=n(154),o=n(177),i=n(17),c=n(98),s=n(193),u=n(95),a=n(153),l=n(178),b=n(179),h=n(180),f=n(0);function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(o.a.apply(void 0,Object(f.g)([e],t)),void 0)}}var v,d=n(99),j=n(14);function y(t,e,n,r,o,i,c){try{var s=t[i](c),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}(v=function*(){yield j.s;var t=document.getElementById("_navbar");if(t){var e=t.clientHeight,n=0,f=j.j?new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]):null,v=Object(r.a)(window,"hashchange").pipe(Object(i.a)(t=>new URL(t.newURL).hash),Object(c.a)(t=>""!==t&&"#_search-input"!==t),Object(s.a)()),y=v.pipe(Object(u.a)(()=>Object(r.a)(document,"scroll").pipe(Object(a.a)(50),Object(l.a)(!0),Object(b.a)(!1))),Object(b.a)(!0)),_=Object(o.a)(Object(r.a)(t,"focus",{capture:!0}).pipe(Object(l.a)(2*e)),v.pipe(Object(l.a)(-2*e)));Object(r.a)(document,"scroll",{passive:!0}).pipe(Object(j.f)(y),Object(i.a)(j.h),Object(c.a)(t=>t>=0),Object(h.a)(),Object(i.a)(t=>{var[e,n]=t;return e-n}),Object(c.a)(()=>{var t;return!(null===(t=document.activeElement)||void 0===t?void 0:t.classList.contains("nav-btn"))}),p(_),Object(d.a)(r=>{n+=r,n=Math.max(-e,Math.min(0,n)),j.j?(f[0].y.value=n,t.attributeStyleMap.set("transform",f)):t.style.transform="translateY(".concat(n,"px)")})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,r){var o=v.apply(t,e);function i(t){y(o,n,r,i,c,"next",t)}function c(t){y(o,n,r,i,c,"throw",t)}i(void 0)}))})()},166:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return b}));var r=n(0),o=n(1),i=n(2),c=n(6),s=n(169),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(38),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),b=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new s.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new s.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new u(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(o.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(b)},169:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},177:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(1),o=n(75),i=n(79),c=n(76);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,s=void 0,u=t[t.length-1];return Object(o.a)(u)?(s=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),!s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(n)(Object(c.a)(t,s))}},178:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0),o=n(2);function i(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return Object(r.e)(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(o.a)},179:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(80),o=n(75);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},180:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0),o=n(2);function i(){return function(t){return t.lift(new c)}}var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return Object(r.e)(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(o.a)},193:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),o=n(166),i=n(1),c=n(2),s=n(6);function u(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new b(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),b=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t},e.prototype.refCount=function(){return u()(this)},e}(i.a),f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=h.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function j(){return new o.a}function y(){return function(t){return u()((e=j,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,f);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{163:function(e,t,r){"use strict";r.r(t);var n=r(156),a=r(182),i=r(209),c=r(214),o=r(184),l=r(17),u=r(181),s=r(99),p=r(183),d=r(210),b=r(95),y=r(206),v=r(185),O=r(40),j=r(3),m=r(39),f=r(179),h=r(208),g=r(191);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 F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D=/url[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\(["']?(((?:[\0-!#-&\(-\[\]-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|\\(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))*)["']?\)/,S=e=>{var t,r=e.querySelector(".sidebar-bg"),n=e.querySelector("#_pageStyle");return[null==n||null===(t=n.innerText)||void 0===t?void 0:t.trim(),null==r?void 0:r.classList,null==r?void 0:r.style.backgroundImage].join("\n")};var E=new WeakMap;class C{constructor(e){this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.prevHash=S(document),this.themeColorEl=document.querySelector('meta[name="theme-color"]')}fetchImage2(e){var t,r,{backgroundImage:n=""}=null!==(t=null===(r=e.querySelector(".sidebar-bg"))||void 0===r?void 0:r.style)&&void 0!==t?t:{},a=D.exec(n);if(!a)return Object(m.a)("");var i=new URL(a[1],window.location.origin);return Object(j.f)(i.href,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){F(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}({method:"GET",headers:{Accept:"image/*"}},function(e){var{protocol:t,host:r}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return t!==n.protocol||r!==n.host}(i)?{mode:"cors"}:{})).pipe(Object(b.a)(e=>e.blob()),Object(l.a)(e=>URL.createObjectURL(e)),Object(h.a)(()=>Object(m.a)(i.href)))}fetchImage(e){var t=S(e);return t===this.prevHash?Object(f.b)():this.fetchImage2(e).pipe(Object(l.a)(r=>{var n,a=null!==(n=e.querySelector(".sidebar-bg"))&&void 0!==n?n:document.createElement("div");return r&&(a.style.backgroundImage="url(".concat(r,")"),E.set(a,r)),[a,t,e]}))}updateStyle(e){if(this.themeColorEl){var t,r=null===(t=e.head.querySelector('meta[name="theme-color"]'))||void 0===t?void 0:t.content;r&&window.setTimeout(()=>{this.themeColorEl&&(this.themeColorEl.content=r)},250)}try{var n,a=document.getElementById("_pageStyle"),i=e.getElementById("_pageStyle");if(!i)return;null==a||null===(n=a.parentNode)||void 0===n||n.replaceChild(i,a)}catch(e){0}}fade(e,t){var r,[n]=e,[a,i,c]=t;return null==n||null===(r=n.parentNode)||void 0===r||r.insertBefore(a,n.nextElementSibling),this.updateStyle(c),this.prevHash=i,Object(j.c)(a,[{opacity:0},{opacity:1}],{duration:this.fadeDuration,easing:"ease"}).pipe(Object(g.a)(()=>{var e;E.has(n)&&URL.revokeObjectURL(E.get(n)),null==n||null===(e=n.parentNode)||void 0===e||e.removeChild(n)}))}}var P=r(98);var q,x=["title","projects"];function B(e,t,r,c){var o=e.pipe(Object(P.a)(e=>{var{flipType:t}=e;return!x.includes(t)}));return Object(a.a)(function(e,t,r,n){var{animationMain:a,settings:c}=n;if(!a)return e;var o=e.pipe(Object(P.a)(e=>{var{flipType:t}=e;return"title"===t}),Object(b.a)(e=>{var{anchor:t}=e;if(!t)return Object(m.a)({});var r=document.createElement("h1");r.classList.add("page-title"),r.textContent=t.textContent,r.style.transformOrigin="left top";var n=a.querySelector(".page");if(!n)return Object(m.a)({});j.e.call(n),n.appendChild(r),a.style.position="fixed",a.style.opacity=1;var i=t.getBoundingClientRect(),o=r.getBoundingClientRect(),l=parseInt(getComputedStyle(t).fontSize,10),u=parseInt(getComputedStyle(r).fontSize,10),p=i.left-o.left,d=i.top-o.top,b=l/u;t.style.opacity=0;var y=[{transform:"translate3d(".concat(p,"px, ").concat(d,"px, 0) scale(").concat(b,")")},{transform:"translate3d(0, 0, 0) scale(1)"}];return Object(j.c)(r,y,c).pipe(Object(s.a)({complete(){a.style.position="absolute"}}))}));return e.pipe(Object(b.a)(e=>{var{flipType:n}=e;return Object(i.a)(t.pipe(Object(P.a)(()=>"title"===n),Object(l.a)(e=>{var{replaceEls:[t]}=e,r=t.querySelector(".page-title, .post-title");return r&&(r.style.opacity=0),r})),r,e=>e).pipe(Object(s.a)(e=>{e&&(e.style.opacity=1),a.style.opacity=0}),Object(g.a)(()=>{a.style.opacity=0}))})).subscribe(),o}(e,t,r,c),function(e,t,r,a){var{animationMain:c,settings:o}=a;if(!c)return e;var l=e.pipe(Object(P.a)(e=>{var{flipType:t}=e;return"project"===t}),Object(b.a)(e=>{var{anchor:t}=e,r=t.querySelector(".flip-project-img");if(!t||!r)return Object(m.a)({});var n=c.querySelector(".page");if(!n)return Object(m.a)({});var a=t.parentNode.querySelector(".flip-project-title"),i=a&&a.textContent||"|",l=document.createElement("h1");null==l||l.classList.add("page-title"),l&&(l.style.opacity="0"),l&&(l.textContent=i);var u=document.createElement("div");null==u||u.classList.add("post-date"),null==u||u.classList.add("heading"),u&&(u.style.opacity="0"),u&&(u.textContent="|"),j.e.call(n),n.appendChild(l),n.appendChild(u);var p=document.createElement("div");p.setAttribute("class",r.classList),p.classList.remove("project-card-img"),r.parentNode.insertBefore(p,r),r.classList.add("lead"),r.style.transformOrigin="left top",n.appendChild(r),c.style.position="fixed",c.style.opacity="1";var d=p.getBoundingClientRect(),b=r.getBoundingClientRect(),y=d.left-b.left,v=d.top-b.top,O=d.width/b.width,f=[{transform:"translate3d(".concat(y,"px, ").concat(v,"px, 0) scale(").concat(O,")")},{transform:"translate3d(0, 0, 0) scale(1)"}];return Object(j.c)(r,f,o).pipe(Object(s.a)({complete(){c.style.position="absolute"}}))}));return e.pipe(Object(b.a)(e=>{var{flipType:a}=e;return t.pipe(Object(P.a)(()=>"project"===a),Object(b.a)(e=>{var{replaceEls:[t]}=e,a=t.querySelector(".aspect-ratio");a&&(a.style.opacity=0);var o=a&&a.querySelector("img");return Object(i.a)(o?Object(n.a)(o,"load"):Object(m.a)({}),r).pipe(Object(s.a)(()=>(a&&(a.style.opacity=1),c.style.opacity=0)),Object(b.a)(()=>null!=o?Object(j.c)(c,[{opacity:1},{opacity:0}],{duration:500}):Object(m.a)({})),Object(g.a)(()=>c.style.opacity=0))}))})).subscribe(),l}(e,t,r,c),o)}function L(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 I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t,r,n,a,i,c){try{var o=e[i](c),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,a)}(q=function*(){yield Promise.all([..."fetch"in window?[]:[r.e(3).then(r.bind(null,211))],..."customElements"in window?[]:[r.e(17).then(r.bind(null,192))],..."animate"in Element.prototype?[]:[r.e(16).then(r.t.bind(null,161,7))],..."IntersectionObserver"in window?[]:[r.e(12).then(r.t.bind(null,162,7))]]),yield j.v;var e=[{opacity:1},{opacity:0}],t=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],m=document.querySelector("hy-push-state");if(m){var f,h,g,w=Number(m.getAttribute("duration"))||350,F={duration:w,easing:"ease"},D=document.querySelector("hy-drawer"),S=document.querySelector("#_navbar > .content > .nav-btn-bar"),E=function(e){var t;return null==e||null===(t=e.parentNode)||void 0===t||t.insertBefore(Object(j.m)("_animation-template"),e),null==e?void 0:e.previousElementSibling}(m),P=function(e){return null==e||e.appendChild(Object(j.m)("_loading-template")),null==e?void 0:e.lastElementChild}(S),q=(h=Object(j.m)("_back-template"),g=null==h?void 0:h.children[0],null==h||null===(f=h.querySelector(".nav-btn"))||void 0===f||f.addEventListener("click",()=>window.history.back()),g);if(S&&q){var x=window.matchMedia("(display-mode: standalone)"),L=!!navigator.standalone||x.matches;Object(j.h)(x).pipe(Object(l.a)(e=>e.matches),Object(u.a)(L)).pipe(Object(s.a)(e=>{e?S.prepend(q):q.parentNode===S&&S.removeChild(q)})).subscribe()}var k=(e,t)=>Object(n.a)(m,e).pipe(Object(l.a)(e=>{var{detail:t}=e;return t}),t?Object(l.a)(t):e=>e,Object(p.a)()),_=k("hy-push-state-start",e=>{return Object.assign(e,{flipType:(t=e.anchor,(null==t?void 0:t.classList.contains("flip-title"))?"title":(null==t?void 0:t.classList.contains("flip-project"))?"project":null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"data-flip"))});var t,r}),T=k("hy-push-state-ready"),N=k("hy-push-state-after"),R=k("hy-push-state-progress"),A=k("hy-push-state-networkerror"),U=_.pipe(Object(l.a)(e=>Object.assign(e,{main:document.getElementById("_main")})),Object(s.a)(e=>{var{main:t}=e;t.style.pointerEvents="none"}),window._noDrawer&&(null==D?void 0:D.classList.contains("cover"))?Object(s.a)(()=>{var e;D.classList.remove("cover"),null===(e=D.parentNode)||void 0===e||e.appendChild(D)}):e=>e,Object(d.a)(t=>{var{main:r}=t;return Object(j.c)(r,e,I(I({},F),{},{fill:"forwards"})).pipe(Object(o.a)({main:r}))}),Object(s.a)(e=>{var{main:t}=e;return j.e.call(t)}),Object(p.a)());P&&(R.subscribe(()=>{P.style.display="flex"}),T.subscribe(()=>{P.style.display="none"}));var M=N.pipe(Object(b.a)(e=>{var r=(e=>{var{replaceEls:[r],flipType:n}=e;return Object(j.c)(r,t,F).pipe(Object(o.a)({main:r,flipType:n}))})(e).toPromise();return e.transitionUntil(r),r}),Object(p.a)()),H=B(_,T,Object(a.a)(M,A),{animationMain:E,settings:F}).pipe(Object(p.a)());_.pipe(Object(b.a)(e=>{var t=Object(i.a)(Object(c.a)(w),U,H).toPromise();return e.transitionUntil(t),t})).subscribe(),U.subscribe(),H.subscribe();var z=document.querySelector(".sidebar-bg");if(z){var J=new C(2e3);N.pipe(Object(b.a)(e=>{var{document:t}=e;return Object(i.a)(J.fetchImage(t),M).pipe(Object(l.a)(e=>{var[t]=e;return t}),Object(y.a)(_))}),Object(u.a)([z]),Object(v.a)(),Object(O.a)(e=>{var[t,r]=e;return J.fade(t,r)})).subscribe()}A.pipe(Object(b.a)(e=>{var{url:r}=e;P&&(P.style.display="none");var n=document.getElementById("_main");return n&&(n.style.pointerEvents=""),j.e.call(null==E?void 0:E.querySelector(".page")),j.e.call(n),function(e,t){var{pathname:r}=t,n=Object(j.m)("_error-template"),a=null==n?void 0:n.querySelector(".this-link");a&&(a.href=r,a.textContent=r),null==e||e.appendChild(n),null==e||e.lastElementChild}(n,r),Object(j.c)(n,t,I(I({},F),{},{fill:"forwards"}))})).subscribe(),Promise.resolve().then(r.bind(null,202)),window._pushState=m}},function(){var e=this,t=arguments;return new Promise((function(r,n){var a=q.apply(e,t);function i(e){_(a,r,n,i,c,"next",e)}function c(e){_(a,r,n,i,c,"throw",e)}i(void 0)}))})()}}]);
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./_js/src/cross-fader.js","webpack:///./_js/src/flip/index.js","webpack:///./_js/src/flip/pro/project.js","webpack:///./_js/src/flip/title.js","webpack:///./_js/src/push-state.js"],"names":["RE_CSS_URL","calcHash","doc","sidebarBg","querySelector","pageStyle","innerText","trim","classList","style","backgroundImage","join","isExternal","protocol","host","location","window","objectURLs","WeakMap","CrossFader","constructor","fadeDuration","sidebar","document","getElementById","prevHash","themeColorEl","fetchImage2","newDocument","result","exec","of","url","URL","origin","fetchRx","href","method","headers","Accept","mode","pipe","switchMap","r","blob","map","createObjectURL","catchError","fetchImage","hash","empty","objectURL","div","createElement","set","updateStyle","themeColor","head","content","setTimeout","newPageStyle","parentNode","replaceChild","e","process","console","error","fade","prevDiv","insertBefore","nextElementSibling","animate","opacity","duration","easing","finalize","has","revokeObjectURL","get","removeChild","FLIP_TYPES","setupFLIP","start$","ready$","fadeIn$","options","other$","filter","flipType","includes","merge","setupFLIPTitle","setupFLIPProject","animationMain","settings","flip$","anchor","img","page","titleNode","title","textContent","h1","add","postDate","call","appendChild","placeholder","setAttribute","remove","transformOrigin","position","first","getBoundingClientRect","last","invertX","left","invertY","top","invertScale","width","transform","tap","complete","replaceEls","main","imgWrapper","zip","fromEvent","subscribe","TITLE_SELECTOR","firstFontSize","parseInt","getComputedStyle","fontSize","lastFontSize","x","Promise","all","Element","prototype","webComponentsReady","NAVBAR_SEL","MQ_STANDALONE","CROSS_FADE_DURATION","FADE_OUT","FADE_IN","setupAnimationMain","pushStateEl","importTemplate","previousElementSibling","setupLoading","navbarEl","lastElementChild","setupErrorPage","pathname","importBackButton","button","buttonEl","children","addEventListener","history","back","getFlipType","el","contains","getAttribute","Number","animateFadeOut","fill","mapTo","animateFadeIn","drawerEl","loadingEl","backBtnEl","standaloneMQ","matchMedia","standalone","navigator","matches","standalone$","fromMediaQuery","startWith","prepend","fromEventX","eventName","mapFn","detail","_","share","Object","assign","after$","progress$","error$","fadeOut$","context","pointerEvents","_noDrawer","exhaustMap","display","p","toPromise","transitionUntil","promise","timer","crossFader","takeUntil","pairwise","mergeMap","prev","curr","_pushState"],"mappings":"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","file":"push-state-hydejack-9.0.2.js","sourcesContent":["// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport { empty, of } from 'rxjs';\nimport { catchError, finalize, map, switchMap } from 'rxjs/operators';\n\nimport { animate, fetchRx } from './common';\n\nconst RE_CSS_URL = /url\\s*\\(['\"]?(([^'\"\\\\]|\\\\.)*)['\"]?\\)/u;\n\n/** @param {Document} doc */\nconst calcHash = (doc) => {\n const sidebarBg = doc.querySelector('.sidebar-bg');\n const pageStyle = doc.querySelector('#_pageStyle');\n // const rule = Array.from(pageStyle?.sheet?.rules ?? []).find(r => r.selectorText === 'html');\n // const accentColor = rule?.style.getPropertyValue('--accent-color') ?? '';\n // const themeColor = rule?.style.getPropertyValue('--theme-color') ?? '';\n return [pageStyle?.innerText?.trim(), sidebarBg?.classList, sidebarBg?.style.backgroundImage].join('\\n');\n};\n\n/**\n * Consider a URL external if either the protocol, hostname or port is different.\n * @param {URL} param0\n * @param {Location=} location\n */\nfunction isExternal({ protocol, host }, location = window.location) {\n return protocol !== location.protocol || host !== location.host;\n}\n\nconst objectURLs = new WeakMap();\n\nexport class CrossFader {\n /** @param {number} fadeDuration */\n constructor(fadeDuration) {\n this.sidebar = document.getElementById('_sidebar');\n this.fadeDuration = fadeDuration;\n this.prevHash = calcHash(document);\n this.themeColorEl = document.querySelector('meta[name=\"theme-color\"]');\n }\n\n /** @param {Document} newDocument */\n fetchImage2(newDocument) {\n const { backgroundImage = '' } = newDocument.querySelector('.sidebar-bg')?.style ?? {};\n const result = RE_CSS_URL.exec(backgroundImage);\n if (!result) {\n return of('');\n }\n\n const url = new URL(result[1], window.location.origin);\n\n return fetchRx(url.href, {\n method: 'GET',\n headers: { Accept: 'image/*' },\n ...(isExternal(url) ? { mode: 'cors' } : {}),\n }).pipe(\n switchMap((r) => r.blob()),\n map((blob) => URL.createObjectURL(blob)),\n catchError(() => of(url.href)),\n );\n }\n\n /** @param {Document} newDocument */\n fetchImage(newDocument) {\n const hash = calcHash(newDocument);\n if (hash === this.prevHash) return empty();\n\n return this.fetchImage2(newDocument).pipe(\n map((objectURL) => {\n /** @type {HTMLDivElement} */\n const div = newDocument.querySelector('.sidebar-bg') ?? document.createElement('div');\n\n if (objectURL) {\n div.style.backgroundImage = `url(${objectURL})`;\n objectURLs.set(div, objectURL);\n }\n\n return [div, hash, newDocument];\n }),\n );\n }\n\n /** @param {Document} newDocument */\n updateStyle(newDocument) {\n if (this.themeColorEl) {\n const themeColor = newDocument.head.querySelector('meta[name=\"theme-color\"]')?.content;\n if (themeColor) {\n window.setTimeout(() => {\n if (this.themeColorEl) {\n this.themeColorEl.content = themeColor;\n }\n }, 250);\n }\n }\n\n try {\n const pageStyle = document.getElementById('_pageStyle');\n const newPageStyle = newDocument.getElementById('_pageStyle');\n if (!newPageStyle) return;\n pageStyle?.parentNode?.replaceChild(newPageStyle, pageStyle);\n } catch (e) {\n if (process.env.DEBUG) console.error(e);\n }\n }\n\n /**\n * @param {[HTMLDivElement]} param0\n * @param {[HTMLDListElement, string, Document]} param1\n */\n fade([prevDiv], [div, hash, newDocument]) {\n prevDiv?.parentNode?.insertBefore(div, prevDiv.nextElementSibling);\n\n this.updateStyle(newDocument);\n\n // Only update the prev hash after we're actually in the fade stage\n this.prevHash = hash;\n\n return animate(div, [{ opacity: 0 }, { opacity: 1 }], {\n duration: this.fadeDuration,\n easing: 'ease',\n }).pipe(\n finalize(() => {\n if (objectURLs.has(prevDiv)) URL.revokeObjectURL(objectURLs.get(prevDiv));\n prevDiv?.parentNode?.removeChild(prevDiv);\n }),\n );\n }\n}\n","// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport { merge } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { setupFLIPTitle } from './title';\nimport { setupFLIPProject } from './pro/project';\n\nconst FLIP_TYPES = ['title', 'projects'];\n\nexport function setupFLIP(start$, ready$, fadeIn$, options) {\n const other$ = start$.pipe(filter(({ flipType }) => !FLIP_TYPES.includes(flipType)));\n\n return merge(\n setupFLIPTitle(start$, ready$, fadeIn$, options),\n setupFLIPProject(start$, ready$, fadeIn$, options),\n other$,\n );\n}\n","// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>\n\nimport { fromEvent, of, zip } from 'rxjs';\nimport { tap, finalize, filter, switchMap } from 'rxjs/operators';\n\nimport { animate, empty } from '../../common';\n\nexport function setupFLIPProject(start$, ready$, fadeIn$, { animationMain, settings }) {\n if (!animationMain) return start$;\n\n const flip$ = start$.pipe(\n filter(({ flipType }) => flipType === 'project'),\n switchMap(({ anchor }) => {\n const img = anchor.querySelector('.flip-project-img');\n if (!anchor || !img) return of({});\n\n const page = animationMain.querySelector('.page');\n if (!page) return of({});\n\n const titleNode = anchor.parentNode.querySelector('.flip-project-title');\n const title = (titleNode && titleNode.textContent) || '|';\n\n const h1 = document.createElement('h1');\n h1?.classList.add('page-title');\n if (h1) h1.style.opacity = '0';\n if (h1) h1.textContent = title;\n\n const postDate = document.createElement('div');\n postDate?.classList.add('post-date');\n postDate?.classList.add('heading');\n if (postDate) postDate.style.opacity = '0';\n if (postDate) postDate.textContent = '|';\n\n empty.call(page);\n page.appendChild(h1);\n page.appendChild(postDate);\n\n const placeholder = document.createElement('div');\n placeholder.setAttribute('class', img.classList);\n placeholder.classList.remove('project-card-img');\n\n img.parentNode.insertBefore(placeholder, img);\n img.classList.add('lead');\n img.style.transformOrigin = 'left top';\n\n page.appendChild(img);\n animationMain.style.position = 'fixed';\n animationMain.style.opacity = '1';\n\n const first = placeholder.getBoundingClientRect();\n const last = img.getBoundingClientRect();\n\n const invertX = first.left - last.left;\n const invertY = first.top - last.top;\n const invertScale = first.width / last.width;\n\n const transform = [\n {\n transform: `translate3d(${invertX}px, ${invertY}px, 0) scale(${invertScale})`,\n },\n { transform: 'translate3d(0, 0, 0) scale(1)' },\n ];\n\n return animate(img, transform, settings).pipe(\n tap({\n complete() {\n animationMain.style.position = 'absolute';\n },\n }),\n );\n }),\n );\n\n start$\n .pipe(\n switchMap(({ flipType }) =>\n ready$.pipe(\n filter(() => flipType === 'project'),\n switchMap(({ replaceEls: [main] }) => {\n const imgWrapper = main.querySelector('.aspect-ratio');\n imgWrapper && (imgWrapper.style.opacity = 0);\n\n const img = imgWrapper && imgWrapper.querySelector('img');\n\n return zip(img ? fromEvent(img, 'load') : of({}), fadeIn$).pipe(\n tap(() => (imgWrapper && (imgWrapper.style.opacity = 1), (animationMain.style.opacity = 0))),\n switchMap(() =>\n img != null ? animate(animationMain, [{ opacity: 1 }, { opacity: 0 }], { duration: 500 }) : of({}),\n ),\n finalize(() => (animationMain.style.opacity = 0)),\n );\n }),\n ),\n ),\n )\n .subscribe();\n\n return flip$;\n}\n","// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport { of, zip } from 'rxjs';\nimport { tap, finalize, filter, map, switchMap } from 'rxjs/operators';\n\nimport { animate, empty } from '../common';\n\nconst TITLE_SELECTOR = '.page-title, .post-title';\n\nexport function setupFLIPTitle(start$, ready$, fadeIn$, { animationMain, settings }) {\n if (!animationMain) return start$;\n\n const flip$ = start$.pipe(\n filter(({ flipType }) => flipType === 'title'),\n switchMap(({ anchor }) => {\n if (!anchor) return of({});\n\n const title = document.createElement('h1');\n\n title.classList.add('page-title');\n title.textContent = anchor.textContent;\n title.style.transformOrigin = 'left top';\n\n const page = animationMain.querySelector('.page');\n if (!page) return of({});\n\n empty.call(page);\n page.appendChild(title);\n\n animationMain.style.position = 'fixed';\n animationMain.style.opacity = 1;\n\n const first = anchor.getBoundingClientRect();\n const last = title.getBoundingClientRect();\n const firstFontSize = parseInt(getComputedStyle(anchor).fontSize, 10);\n const lastFontSize = parseInt(getComputedStyle(title).fontSize, 10);\n\n const invertX = first.left - last.left;\n const invertY = first.top - last.top;\n const invertScale = firstFontSize / lastFontSize;\n\n anchor.style.opacity = 0;\n\n const transform = [\n {\n transform: `translate3d(${invertX}px, ${invertY}px, 0) scale(${invertScale})`,\n },\n { transform: 'translate3d(0, 0, 0) scale(1)' },\n ];\n\n return animate(title, transform, settings).pipe(\n tap({\n complete() {\n animationMain.style.position = 'absolute';\n },\n }),\n );\n }),\n );\n\n start$\n .pipe(\n switchMap(({ flipType }) =>\n zip(\n ready$.pipe(\n filter(() => flipType === 'title'),\n map(({ replaceEls: [main] }) => {\n const title = main.querySelector(TITLE_SELECTOR);\n if (title) title.style.opacity = 0;\n return title;\n }),\n ),\n fadeIn$,\n (x) => x,\n ).pipe(\n tap((title) => {\n if (title) title.style.opacity = 1;\n animationMain.style.opacity = 0;\n }),\n finalize(() => {\n animationMain.style.opacity = 0;\n }),\n ),\n ),\n )\n .subscribe();\n\n return flip$;\n}\n","// Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport { fromEvent, merge, timer, zip } from 'rxjs';\nimport {\n tap,\n exhaustMap,\n map,\n mapTo,\n mergeMap,\n pairwise,\n share,\n startWith,\n switchMap,\n takeUntil,\n} from 'rxjs/operators';\n\nimport { animate, empty, importTemplate, webComponentsReady, fromMediaQuery } from './common';\nimport { CrossFader } from './cross-fader';\nimport { setupFLIP } from './flip';\n\n(async () => {\n await Promise.all([\n ...('fetch' in window ? [] : [import(/* webpackChunkName: \"fetch\" */ './polyfills/fetch')]),\n ...('customElements' in window\n ? []\n : [import(/* webpackChunkName: \"webcomponents\" */ './polyfills/webcomponents')]),\n ...('animate' in Element.prototype ? [] : [import(/* webpackChunkName: \"webanimations\" */ 'web-animations-js')]),\n ...('IntersectionObserver' in window\n ? []\n : [import(/* webpackChunkName: \"intersection-observer\" */ 'intersection-observer')]),\n ]);\n\n await webComponentsReady;\n\n const NAVBAR_SEL = '#_navbar > .content > .nav-btn-bar';\n const MQ_STANDALONE = '(display-mode: standalone)';\n\n const CROSS_FADE_DURATION = 2000;\n\n const FADE_OUT = [{ opacity: 1 }, { opacity: 0 }];\n const FADE_IN = [\n { opacity: 0, transform: 'translateY(-3rem)' },\n { opacity: 1, transform: 'translateY(0)' },\n ];\n\n function setupAnimationMain(pushStateEl) {\n pushStateEl?.parentNode?.insertBefore(importTemplate('_animation-template'), pushStateEl);\n return pushStateEl?.previousElementSibling;\n }\n\n function setupLoading(navbarEl) {\n navbarEl?.appendChild(importTemplate('_loading-template'));\n return navbarEl?.lastElementChild;\n }\n\n function setupErrorPage(main, url) {\n const { pathname } = url;\n const error = importTemplate('_error-template');\n const anchor = error?.querySelector('.this-link');\n if (anchor) {\n anchor.href = pathname;\n anchor.textContent = pathname;\n }\n main?.appendChild(error);\n return main?.lastElementChild;\n }\n\n function importBackButton() {\n const button = importTemplate('_back-template');\n const buttonEl = button?.children[0];\n button?.querySelector('.nav-btn')?.addEventListener('click', () => window.history.back());\n return buttonEl;\n }\n\n function getFlipType(el) {\n if (el?.classList.contains('flip-title')) return 'title';\n if (el?.classList.contains('flip-project')) return 'project';\n return el?.getAttribute?.('data-flip');\n }\n\n const pushStateEl = document.querySelector('hy-push-state');\n if (!pushStateEl) return;\n\n const duration = Number(pushStateEl.getAttribute('duration')) || 350;\n const settings = {\n duration: duration,\n easing: 'ease',\n };\n\n const animateFadeOut = ({ main }) => animate(main, FADE_OUT, { ...settings, fill: 'forwards' }).pipe(mapTo({ main }));\n\n const animateFadeIn = ({ replaceEls: [main], flipType }) =>\n animate(main, FADE_IN, settings).pipe(mapTo({ main, flipType }));\n\n const drawerEl = document.querySelector('hy-drawer');\n const navbarEl = document.querySelector(NAVBAR_SEL);\n\n const animationMain = setupAnimationMain(pushStateEl);\n const loadingEl = setupLoading(navbarEl);\n\n const backBtnEl = importBackButton();\n if (navbarEl && backBtnEl) {\n const standaloneMQ = window.matchMedia(MQ_STANDALONE);\n const standalone = !!navigator.standalone || standaloneMQ.matches;\n const standalone$ = fromMediaQuery(standaloneMQ).pipe(\n map((e) => e.matches),\n startWith(standalone),\n );\n standalone$\n .pipe(\n tap((matches) => {\n if (matches) navbarEl.prepend(backBtnEl);\n else if (backBtnEl.parentNode === navbarEl) navbarEl.removeChild(backBtnEl);\n }),\n )\n .subscribe();\n }\n\n const fromEventX = (eventName, mapFn) =>\n fromEvent(pushStateEl, eventName).pipe(\n map(({ detail }) => detail),\n mapFn ? map(mapFn) : (_) => _,\n share(),\n );\n\n const start$ = fromEventX('hy-push-state-start', (detail) =>\n Object.assign(detail, { flipType: getFlipType(detail.anchor) }),\n );\n const ready$ = fromEventX('hy-push-state-ready');\n const after$ = fromEventX('hy-push-state-after');\n const progress$ = fromEventX('hy-push-state-progress');\n const error$ = fromEventX('hy-push-state-networkerror');\n\n const fadeOut$ = start$.pipe(\n map((context) => Object.assign(context, { main: document.getElementById('_main') })),\n tap(({ main }) => {\n main.style.pointerEvents = 'none';\n }),\n window._noDrawer && drawerEl?.classList.contains('cover')\n ? tap(() => {\n drawerEl.classList.remove('cover');\n drawerEl.parentNode?.appendChild(drawerEl);\n })\n : (_) => _,\n exhaustMap(animateFadeOut),\n tap(({ main }) => empty.call(main)),\n share(),\n );\n\n if (loadingEl) {\n progress$.subscribe(() => {\n loadingEl.style.display = 'flex';\n });\n ready$.subscribe(() => {\n loadingEl.style.display = 'none';\n });\n }\n\n const fadeIn$ = after$.pipe(\n switchMap((context) => {\n const p = animateFadeIn(context).toPromise();\n context.transitionUntil(p);\n return p;\n }),\n share(),\n );\n\n const flip$ = setupFLIP(start$, ready$, merge(fadeIn$, error$), {\n animationMain,\n settings: settings,\n }).pipe(share());\n\n start$\n .pipe(\n switchMap((context) => {\n const promise = zip(timer(duration), fadeOut$, flip$).toPromise();\n context.transitionUntil(promise);\n return promise;\n }),\n )\n .subscribe();\n\n // FIXME: Keeping permanent subscription? turn into hot observable?\n fadeOut$.subscribe();\n flip$.subscribe();\n\n const sidebarBg = document.querySelector('.sidebar-bg');\n if (sidebarBg) {\n const crossFader = new CrossFader(CROSS_FADE_DURATION);\n after$\n .pipe(\n switchMap(({ document }) =>\n zip(crossFader.fetchImage(document), fadeIn$).pipe(\n map(([x]) => x),\n takeUntil(start$),\n ),\n ),\n startWith([sidebarBg]),\n pairwise(),\n mergeMap(([prev, curr]) => crossFader.fade(prev, curr)),\n )\n .subscribe();\n }\n\n error$\n .pipe(\n switchMap(({ url }) => {\n if (loadingEl) loadingEl.style.display = 'none';\n\n const main = document.getElementById('_main');\n if (main) main.style.pointerEvents = '';\n empty.call(animationMain?.querySelector('.page'));\n empty.call(main);\n\n setupErrorPage(main, url);\n\n return animate(main, FADE_IN, { ...settings, fill: 'forwards' });\n }),\n )\n .subscribe();\n\n import(/* webpackMode: \"eager\" */ '@hydecorp/push-state');\n\n window._pushState = pushStateEl;\n})();\n"],"sourceRoot":""}
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{200:function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},u=function(e){if(c(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},h=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new WeakMap,v=/auto|scroll/,p=/^tb|vertical/,l=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),g=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},w=Object.freeze({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new a(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(u(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),i=!l&&"border-box"===n.boxSizing,o=p.test(n.writingMode||""),s=!r&&v.test(n.overflowY||""),h=!r&&v.test(n.overflowX||""),d=r?0:g(n.paddingTop),x=r?0:g(n.paddingRight),E=r?0:g(n.paddingBottom),T=r?0:g(n.paddingLeft),z=r?0:g(n.borderTopWidth),m=r?0:g(n.borderRightWidth),y=r?0:g(n.borderBottomWidth),B=T+x,S=d+E,O=(r?0:g(n.borderLeftWidth))+m,R=z+y,k=h?e.offsetHeight-R-e.clientHeight:0,C=s?e.offsetWidth-O-e.clientWidth:0,N=i?B+O:0,D=i?S+R:0,M=r?r.width:g(n.width)-N-C,P=r?r.height:g(n.height)-D-k,_=M+B+C+O,F=P+S+k+R,I=Object.freeze({devicePixelContentBoxSize:b(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:b(_,F,o),contentBoxSize:b(M,P,o),contentRect:new a(T,d,M,P)});return f.set(e,I),I},E=function(e,t,n){var i=x(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},T=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},z=function(e){if(u(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},m=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new T(t.target),i=z(t.target);r.push(n),t.lastReportedSize=E(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},y=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},B=function(){var e,t=0;for(y(t);i.some((function(e){return e.activeTargets.length>0}));)t=m(),y(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},S=[],O=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return S.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}S.push(e),s()},R=0,k={attributes:!0,characterData:!0,childList:!0,subtree:!0},C=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},D=!1,M=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!D){D=!0;var n,r=N(e);n=function(){var n=!1;try{n=B()}finally{if(D=!1,e=r-N(),!R)return;n?t.run(1e3):e>0?t.run(e):t.start()}},O((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,k)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),C.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),C.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!R&&e>0&&M.start(),!(R+=e)&&M.stop()},_=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return e=this.target,c(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),F=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=new WeakMap,L=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},W=function(){function e(){}return e.connect=function(e,t){var n=new F(e,t);I.set(e,n)},e.observe=function(e,t,n){var r=I.get(e),o=0===r.observationTargets.length;L(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new _(t,n&&n.box)),P(1),M.schedule())},e.unobserve=function(e,t){var n=I.get(e),r=L(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),P(-1))},e.disconnect=function(e){var t=this,n=I.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),X=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();window.ResizeObserver=window.ResizeObserver||X}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{189:function(e,t,n){"use strict";n.r(t);var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},u=function(e){if(c(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},h=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new WeakMap,v=/auto|scroll/,p=/^tb|vertical/,l=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),g=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},w=Object.freeze({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new a(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(u(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),i=!l&&"border-box"===n.boxSizing,o=p.test(n.writingMode||""),s=!r&&v.test(n.overflowY||""),h=!r&&v.test(n.overflowX||""),d=r?0:g(n.paddingTop),x=r?0:g(n.paddingRight),E=r?0:g(n.paddingBottom),T=r?0:g(n.paddingLeft),z=r?0:g(n.borderTopWidth),m=r?0:g(n.borderRightWidth),y=r?0:g(n.borderBottomWidth),B=T+x,S=d+E,O=(r?0:g(n.borderLeftWidth))+m,R=z+y,k=h?e.offsetHeight-R-e.clientHeight:0,C=s?e.offsetWidth-O-e.clientWidth:0,N=i?B+O:0,D=i?S+R:0,M=r?r.width:g(n.width)-N-C,P=r?r.height:g(n.height)-D-k,_=M+B+C+O,F=P+S+k+R,I=Object.freeze({devicePixelContentBoxSize:b(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:b(_,F,o),contentBoxSize:b(M,P,o),contentRect:new a(T,d,M,P)});return f.set(e,I),I},E=function(e,t,n){var i=x(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},T=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},z=function(e){if(u(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},m=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new T(t.target),i=z(t.target);r.push(n),t.lastReportedSize=E(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},y=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},B=function(){var e,t=0;for(y(t);i.some((function(e){return e.activeTargets.length>0}));)t=m(),y(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},S=[],O=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return S.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}S.push(e),s()},R=0,k={attributes:!0,characterData:!0,childList:!0,subtree:!0},C=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},D=!1,M=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!D){D=!0;var n,r=N(e);n=function(){var n=!1;try{n=B()}finally{if(D=!1,e=r-N(),!R)return;n?t.run(1e3):e>0?t.run(e):t.start()}},O((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,k)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),C.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),C.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!R&&e>0&&M.start(),!(R+=e)&&M.stop()},_=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return e=this.target,c(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),F=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=new WeakMap,L=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},W=function(){function e(){}return e.connect=function(e,t){var n=new F(e,t);I.set(e,n)},e.observe=function(e,t,n){var r=I.get(e),o=0===r.observationTargets.length;L(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new _(t,n&&n.box)),P(1),M.schedule())},e.unobserve=function(e,t){var n=I.get(e),r=L(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),P(-1))},e.disconnect=function(e){var t=this,n=I.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),X=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();window.ResizeObserver=window.ResizeObserver||X}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{158:function(e,t,n){"use strict";n.r(t);var r=n(186),a=n(156),c=n(99),i=n(95),s=n(166),u=n(188),l=n(189),o=n(3);function v(){var e=b([" <p>","</p> "]);return v=function(){return e},e}function d(){var e=b(['<img\n src="','"\n srcset="','"\n sizes="4.67rem"\n />']);return d=function(){return e},e}function f(){var e=b(['\n <li class="search-item" @click=','>\n <div class="search-img aspect-ratio sixteen-ten">\n ','\n </div>\n <div class="search-text">\n <p>\n <a class="heading" href=',">","</a>\n <small>","</small>\n </p>\n ","\n </div>\n </li>\n "]);return f=function(){return e},e}function p(){var e=b(["\n <ul>\n ","\n </ul>\n "]);return p=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function y(e,t,n,r,a,c,i){try{var s=e[c](i),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,a)}var h,m=e=>e.startsWith(window._baseURL)?e:Object(r.join)(window._baseURL,e),j=e=>e.includes("://")?e:m(e);(h=function*(){var e;yield o.u;var t=document.getElementById("_pushState"),n=Object(o.m)("_search-template"),r=null===(e=document.getElementById("_hrefSearch"))||void 0===e?void 0:e.href;if(n&&r){var b=document.querySelector("#_navbar > .content > .nav-btn-bar"),[y,h,O]=n.children;if(!(y&&h&&O&&b))return;b.insertBefore(y,b.querySelector(".nav-span")),b.insertBefore(h,b.querySelector(".nav-span")),b.insertBefore(O,b.querySelector(".nav-span"));var w=h.querySelector("input[type=search]"),g=h.querySelector("button[type=reset]");if(!w||!g)return;y.addEventListener("click",()=>{w.focus()}),w.addEventListener("focus",()=>{w.select(),h.classList.add("show"),""!==w.value&&(O.style.display="")});var k=()=>{var e;null===(e=document.activeElement)||void 0===e||e.blur(),h.classList.remove("show"),O.style.display="none"};O.style.display="none",g.addEventListener("click",k),null==t||t.addEventListener("hy-push-state-start",k),yield Object(o.s)(document,"click");var L=new Worker(r),S="";Object(a.a)(w,"keyup").pipe(Object(c.a)(e=>{""===e.target.value&&""===S&&27===e.keyCode&&(e.preventDefault(),k()),S=e.target.value}),Object(i.a)(e=>Object(o.t)(L,e.target.value)),Object(c.a)(e=>{e.length?(Object(s.h)(Object(s.f)(p(),Object(u.a)(e,e=>e.url,e=>{return Object(s.f)(f(),()=>{var n;return null==t||null===(n=t.assign)||void 0===n?void 0:n.call(t,e.url)},e.image?Object(s.f)(d(),j(e.image.src||e.image.path||e.image),Object(l.a)((n=e.image.srcset)?Object.entries(n).map(e=>{var[t,n]=e;return"".concat(j(n)," ").concat(t)}).join(","):void 0)):null,m(e.url),e.title,e.url,e.description?Object(s.f)(v(),e.description):"");var n})),O),O.style.display=""):O.style.display="none"})).subscribe()}},function(){var e=this,t=arguments;return new Promise((function(n,r){var a=h.apply(e,t);function c(e){y(a,n,r,c,i,"next",e)}function i(e){y(a,n,r,c,i,"throw",e)}c(void 0)}))})()}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{197:function(n,w,o){"use strict";o.r(w);o(198),o(201)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{160:function(t,e,n){"use strict";n.r(e);var r,o=n(156),i=n(39),c=n(190),s=n(96),u=n(181),a=n(17),l=n(183),h=n(95),b=n(80),f=n(99),p=n(191),v=n(3);function d(t,e,n,r,o,i,c){try{var s=t[i](c),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}(r=function*(){yield v.u;var t=Object(v.h)(window.matchMedia(v.b)).pipe(Object(u.a)(window.matchMedia(v.b)),Object(a.a)(t=>t.matches)),e=document.getElementById("_pushState"),n=document.getElementById("_drawer");if(e){n&&!window._noDrawer&&(yield n.initialized),yield e.initialized;var r=(window._noPushState?Object(i.a)({}):Object(o.a)(e,"load").pipe(Object(u.a)({}))).pipe(Object(a.a)(()=>document.querySelector("#markdown-toc")),Object(l.a)());Object(c.a)(r,t).pipe(Object(h.a)(t=>{var[e,n]=t;if(!e||!n)return s.a;var r=document.createElement("div");return e.parentNode.insertBefore(r,e),Object(v.d)(r).pipe(Object(b.a)(),Object(a.a)(t=>!t.isIntersecting&&t.boundingClientRect.top<0),Object(f.a)(t=>{t?e.classList.add("affix"):e.classList.remove("affix")}),Object(p.a)(()=>{e.classList.remove("affix")}))})).subscribe(),Object(c.a)(r,t).pipe(Object(h.a)(t=>{var[e,n]=t;if(!e||!n)return s.a;var r=new Set,o=new WeakMap,i=Array.from(e.querySelectorAll("li")).map(t=>t.children[0].getAttribute("href")||"").map(t=>document.getElementById(t.substr(1))).filter(t=>!!t),c=!0;return Object(v.d)(i).pipe(Object(f.a)(t=>{c&&(t.forEach(t=>{var{target:e,boundingClientRect:n}=t;return o.set(e,Object(v.i)()+n.top)}),c=!1),t.forEach(t=>{var{isIntersecting:e,target:n}=t;e?r.add(n):r.delete(n)});var n=Array.from(r).reduce((t,e)=>o.get(e)>=o.get(t)?t:e,null);if(n){e.querySelectorAll("a").forEach(t=>{t.style.fontWeight=""});var i=e.querySelector('a[href="#'.concat(n.id,'"]'));i&&(i.style.fontWeight="bold")}}),Object(p.a)(()=>{e.querySelectorAll("a").forEach(t=>{t.style.fontWeight=""})}))})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function c(t){d(i,n,o,c,s,"next",t)}function s(t){d(i,n,o,c,s,"throw",t)}c(void 0)}))})()},169:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var r=n(0),o=n(1),i=n(2),c=n(6),s=n(171),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(38),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new b(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new s.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new s.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new u(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new b(t,e)},e}(o.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(h)},171:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},181:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(79),o=n(75);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},183:function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n(0),o=n(169),i=n(1),c=n(2),s=n(6);function u(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t},e.prototype.refCount=function(){return u()(this)},e}(i.a),f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=b.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function y(){return new o.a}function j(){return function(t){return u()((e=y,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,f);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},190:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),o=n(75),i=n(43),c=n(26),s=n(25),u=n(76),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(o.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new h(n))}var h=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new b(t,this.resultSelector))},t}(),b=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(s.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,c=i[n],s=this.toRespond?c===a?--this.toRespond:this.toRespond:0;i[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(c.a)},191:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),o=n(2),i=n(6);function c(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{160:function(t,e,n){"use strict";n.r(e);var r,o=n(156),i=n(39),c=n(190),s=n(96),u=n(181),a=n(17),l=n(183),h=n(95),b=n(80),f=n(99),p=n(191),v=n(3);function d(t,e,n,r,o,i,c){try{var s=t[i](c),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}(r=function*(){yield v.u;var t=Object(v.h)(window.matchMedia(v.b)).pipe(Object(u.a)(window.matchMedia(v.b)),Object(a.a)(t=>t.matches)),e=document.getElementById("_pushState"),n=document.getElementById("_drawer");if(e){n&&!window._noDrawer&&(yield n.initialized),yield e.initialized;var r=(window._noPushState?Object(i.a)({}):Object(o.a)(e,"load").pipe(Object(u.a)({}))).pipe(Object(a.a)(()=>document.querySelector("#markdown-toc")),Object(l.a)());Object(c.a)(r,t).pipe(Object(h.a)(t=>{var[e,n]=t;if(!e||!n)return s.a;var r=document.createElement("div");return e.parentNode.insertBefore(r,e),Object(v.d)(r).pipe(Object(b.a)(),Object(a.a)(t=>!t.isIntersecting&&t.boundingClientRect.top<0),Object(f.a)(t=>{t?e.classList.add("affix"):e.classList.remove("affix")}),Object(p.a)(()=>{e.classList.remove("affix")}))})).subscribe(),Object(c.a)(r,t).pipe(Object(h.a)(t=>{var[e,n]=t;if(!e||!n)return s.a;var r=new Set,o=new WeakMap,i=Array.from(e.querySelectorAll("li")).map(t=>t.children[0].getAttribute("href")||"").map(t=>document.getElementById(t.substr(1))).filter(t=>!!t),c=!0;return Object(v.d)(i).pipe(Object(f.a)(t=>{c&&(t.forEach(t=>{var{target:e,boundingClientRect:n}=t;return o.set(e,Object(v.i)()+n.top)}),c=!1),t.forEach(t=>{var{isIntersecting:e,target:n}=t;e?r.add(n):r.delete(n)});var n=Array.from(r).reduce((t,e)=>o.get(e)>=o.get(t)?t:e,null);if(n){e.querySelectorAll("a").forEach(t=>{t.style.fontWeight=""});var i=e.querySelector('a[href="#'.concat(n.id,'"]'));i&&(i.style.fontWeight="bold")}}),Object(p.a)(()=>{e.querySelectorAll("a").forEach(t=>{t.style.fontWeight=""})}))})).subscribe()}},function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function c(t){d(i,n,o,c,s,"next",t)}function s(t){d(i,n,o,c,s,"throw",t)}c(void 0)}))})()},169:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var r=n(0),o=n(1),i=n(2),c=n(6),s=n(171),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return Object(r.e)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(c.a),a=n(38),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return Object(r.e)(e,t),e}(i.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.e)(e,t),e.prototype[a.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new b(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new s.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new s.a;return this.hasError?(t.error(this.thrownError),c.a.EMPTY):this.isStopped?(t.complete(),c.a.EMPTY):(this.observers.push(t),new u(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new b(t,e)},e}(o.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Object(r.e)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):c.a.EMPTY},e}(h)},171:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},181:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(79),o=n(75);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(o.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},183:function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n(0),o=n(169),i=n(1),c=n(2),s=n(6);function u(){return function(t){return t.lift(new l(t))}}var a,l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r.connection=null,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a),b=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return Object(r.e)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t},e.prototype.refCount=function(){return u()(this)},e}(i.a),f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=b.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}},p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b),v=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new v(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}(),function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return Object(r.e)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(c.a));var d=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function y(){return new o.a}function j(){return function(t){return u()((e=y,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new d(r,n));var o=Object.create(t,f);return o.source=t,o.subjectFactory=r,o})(t));var e,n}}},190:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),o=n(75),i=n(43),c=n(26),s=n(25),u=n(76),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(o.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new h(n))}var h=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new b(t,this.resultSelector))},t}(),b=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return Object(r.e)(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(s.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,c=i[n],s=this.toRespond?c===a?--this.toRespond:this.toRespond:0;i[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(c.a)},191:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),o=n(2),i=n(6);function c(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return Object(r.e)(e,t),e}(o.a)}}]);
@@ -1,47 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.0.2 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{190:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i(0),r=i(75),s=i(43),a=i(26),o=i(25),c=i(76),l={};function h(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=void 0,n=void 0;return Object(r.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(i=t.pop()),1===t.length&&Object(s.a)(t[0])&&(t=t[0]),Object(c.a)(t,n).lift(new u(i))}var u=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}(),p=function(t){function e(e,i){var n=t.call(this,e)||this;return n.resultSelector=i,n.active=0,n.values=[],n.observables=[],n}return Object(n.e)(e,t),e.prototype._next=function(t){this.values.push(l),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var i=0;i<e;i++){var n=t[i];this.add(Object(o.a)(this,n,n,i))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,i,n,r){var s=this.values,a=s[i],o=this.toRespond?a===l?--this.toRespond:this.toRespond:0;s[i]=e,0===o&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a)},203:function(t,e,i){"use strict";i.r(e),i.d(e,"HyDrawer",(function(){return lt}));var n=i(178),r=i(166);
15
- /**
16
- * @license
17
- * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
18
- * This code may only be used under the BSD style license found at
19
- * http://polymer.github.io/LICENSE.txt
20
- * The complete set of authors may be found at
21
- * http://polymer.github.io/AUTHORS.txt
22
- * The complete set of contributors may be found at
23
- * http://polymer.github.io/CONTRIBUTORS.txt
24
- * Code distributed by Google as part of the polymer project is also
25
- * subject to an additional IP rights grant found at
26
- * http://polymer.github.io/PATENTS.txt
27
- */
28
- class s{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;var e=(t.getAttribute("class")||"").split(/\s+/);for(var i of e)this.classes.add(i)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){var t="";this.classes.forEach(e=>t+=e+" "),this.element.setAttribute("class",t)}}}var a=new WeakMap,o=Object(r.e)(t=>e=>{if(!(e instanceof r.a)||e instanceof r.c||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:i}=e,{element:n}=i,o=a.get(e);void 0===o&&(n.setAttribute("class",i.strings.join(" ")),a.set(e,o=new Set));var c=n.classList||new s(n);for(var l in o.forEach(e=>{e in t||(c.remove(e),o.delete(e))}),t){var h=t[l];h!=o.has(l)&&(h?(c.add(l),o.add(l)):(c.remove(l),o.delete(l)))}"function"==typeof c.commit&&c.commit()}),c=new WeakMap,l=Object(r.e)(t=>e=>{if(!(e instanceof r.a)||e instanceof r.c||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:i}=e,{style:n}=i.element,s=c.get(e);for(var a in void 0===s&&(n.cssText=i.strings.join(" "),c.set(e,s=new Set)),s.forEach(e=>{e in t||(s.delete(e),-1===e.indexOf("-")?n[e]=null:n.removeProperty(e))}),t)s.add(a),-1===a.indexOf("-")?n[a]=t[a]:n.setProperty(a,t[a])}),h=i(205),u=i(190),p=i(182),b=i(156),d=i(96),v=i(207),f=i(169),g=i(17),O=i(183),j=i(97),m=i(99),y=i(0),w=i(26),x=i(25);var S=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var i=new _(t),n=e.subscribe(i);return n.add(Object(x.a)(i,this.notifier)),n},t}(),_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return Object(y.e)(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,i,n,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(w.a),E=i(77);var k=function(t,e){this.value=t,this.timestamp=e},C=i(185),T=i(98),V=i(181),$=i(95),M=i(191),X=i(206),I=i(2);var z=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new D(t,this.total))},t}(),D=function(t){function e(e,i){var n=t.call(this,e)||this;return n.total=i,n.count=0,n}return Object(y.e)(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(I.a),R=i(165),P=i(39);function B(t,e,i,n){return i*Math.sin(t/n*(Math.PI/2))+e}function W(t){return("ResizeObserver"in window?Object(R.e)(t):Object(P.a)({contentRect:{width:t.clientWidth}})).pipe(Object(g.a)(t=>{var{contentRect:{width:e}}=t;return e}))}var A={fromAttribute(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/[\[\]]/g,"").split(",").map(Number)},toAttribute(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).join(",")}};var N=i(184),Y=i(212);var F=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new J(t,this.notifier,e))},t}(),J=function(t){function e(e,i,n){var r=t.call(this,e)||this;return r.notifier=i,r.source=n,r.notifications=null,r.retries=null,r.retriesSubscription=null,r.sourceIsBeingSubscribedTo=!0,r}return Object(y.e)(e,t),e.prototype.notifyNext=function(t,e,i,n,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new f.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(x.a)(this,e)},e}(w.a);var U=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new H(t,this.predicate))},t}(),H=function(t){function e(e,i){var n=t.call(this,e)||this;return n.predicate=i,n.skipping=!0,n.index=0,n}return Object(y.e)(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(I.a),L=Math.abs.bind(Math);class q{getStartObservable(){return Object(u.a)(this.$.mouseEvents).pipe(Object($.a)(t=>{var[e]=t,i=Object(b.a)(document,"touchstart",{passive:!0}).pipe(Object(T.a)(t=>{var{touches:e}=t;return 1===e.length}),Object(g.a)(t=>{var{touches:e}=t;return e[0]})),n=e?Object(b.a)(document,"mousedown").pipe(Object(g.a)(t=>(t.event=t,t))):d.a;return Object(p.a)(i,n)}))}getMoveObservable(t,e){return Object(u.a)(this.$.mouseEvents,this.$.preventDefault).pipe(Object($.a)(i=>{var[n,r]=i,s=Object(b.a)(document,"touchmove",{passive:!r}).pipe(Object(g.a)(t=>(t.touches[0].event=t,t.touches[0]))),a=n?Object(b.a)(document,"mousemove",{passive:!r}).pipe(Object(R.l)(Object(p.a)(t.pipe(Object(N.a)(!0)),e.pipe(Object(N.a)(!1)))),Object(g.a)(t=>(t.event=t,t))):d.a;return Object(p.a)(s,a)}))}getEndObservable(){return Object(u.a)(this.$.mouseEvents).pipe(Object($.a)(t=>{var[e]=t,i=Object(b.a)(document,"touchend",{passive:!0}).pipe(Object(T.a)(t=>{var{touches:e}=t;return 0===e.length}),Object(g.a)(t=>t.changedTouches[0])),n=e?Object(b.a)(document,"mouseup",{passive:!0}):d.a;return Object(p.a)(i,n)}))}getIsSlidingObservable(t,e,i){return this.getIsSlidingObservableInner(t,e).pipe(Object(Y.a)(1),Object(V.a)(void 0),(n=()=>i,function(t){return t.lift(new F(n))}));var n}getIsSlidingObservableInner(t,e){return this.threshold?t.pipe(Object(j.a)(e),(i=t=>{var[{clientX:e,clientY:i},{clientX:n,clientY:r}]=t;return L(r-i)<this.threshold&&L(n-e)<this.threshold},function(t){return t.lift(new U(i))}),Object(g.a)(t=>{var[{clientX:e,clientY:i},{clientX:n,clientY:r}]=t;return L(n-e)>=L(r-i)})):t.pipe(Object(j.a)(e),Object(g.a)(t=>{var[{clientX:e,clientY:i,event:n},{clientX:r,clientY:s}]=t,a=L(r-e)>=L(s-i);return this.noScroll&&a&&n.preventDefault(),a}));var i}}var G=Math.min.bind(Math),K=Math.max.bind(Math);class Q{calcIsInRange(t,e){var{clientX:i}=t;switch(this.side){case"left":var[n,r]=this.range;return i>n&&(e||i<r);case"right":var s=window.innerWidth-this.range[0],a=window.innerWidth-this.range[1];return i<s&&(e||i>a);default:throw Error()}}calcIsSwipe(t,e,i,n,r){var{clientX:s}=t,{clientX:a}=e;return a!==s||i>0&&i<n}calcWillOpen(t,e,i,n,r){switch(this.side){case"left":return r>.15||!(r<-.15)&&i>=n/2;case"right":return-r>.15||!(-r<-.15)&&i<=-n/2;default:throw Error()}}calcTranslateX(t,e,i,n){var{clientX:r}=t,{clientX:s}=e;switch(this.side){case"left":return K(0,G(n,i+(r-s)));case"right":return G(0,K(-n,i+(r-s)));default:throw Error()}}}class Z{updateDOM(t,e){var i=t/e*("left"===this.side?1:-1)||0;this.translateX=t,this.opacity=i,this.updater.updateDOM(t,i)}}class tt{constructor(t){this.parent=t}static getUpdaterForPlatform(t){return"attributeStyleMap"in Element.prototype&&"CSS"in window&&"number"in CSS?new it(t):new et(t)}get contentEl(){return this.parent.contentEl}get scrimEl(){return this.parent.scrimEl}}class et extends tt{constructor(t){super(t)}updateDOM(t,e){this.contentEl.style.transform="translate(".concat(t,"px, 0px)"),this.scrimEl.style.opacity="".concat(e)}}class it extends tt{constructor(t){super(t),this.tvalue=new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),this.ovalue=CSS.number(1)}updateDOM(t,e){this.tvalue[0].x.value=t,this.ovalue.value=e,this.contentEl.attributeStyleMap.set("transform",this.tvalue),this.scrimEl.attributeStyleMap.set("opacity",this.ovalue)}}function nt(){var t=function(t,e){e||(e=t.slice(0));return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n @media screen {\n :host {\n touch-action: pan-x;\n }\n\n .full-screen {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n }\n\n .full-height {\n position: fixed;\n top: 0;\n height: 100vh;\n }\n\n .peek {\n left: 0;\n width: var(--hy-drawer-peek-width, 0px);\n visibility: hidden;\n z-index: calc(var(--hy-drawer-z-index, 100) - 1);\n }\n\n .scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 10vh;\n width: 10vw;\n transform: scale(10);\n transform-origin: top left;\n opacity: 0;\n pointer-events: none;\n background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n z-index: var(--hy-drawer-z-index, 100);\n -webkit-tap-highlight-color: transparent;\n }\n\n .range {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: calc(var(--hy-drawer-z-index, 100) + 1);\n }\n\n .grabbing-screen {\n cursor: grabbing;\n z-index: calc(var(--hy-drawer-z-index, 100) + 2);\n }\n\n .wrapper {\n width: var(--hy-drawer-width, 300px);\n background: var(--hy-drawer-background, inherit);\n box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25));\n z-index: calc(var(--hy-drawer-z-index, 100) + 3);\n contain: strict;\n }\n\n .wrapper.left {\n left: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper.right {\n right: calc(-1 * var(--hy-drawer-width, 300px) + var(--hy-drawer-peek-width, 0px));\n }\n\n .wrapper > .overflow {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .grab {\n cursor: move;\n cursor: grab;\n }\n\n .grabbing {\n cursor: grabbing;\n }\n }\n\n @media print {\n .scrim {\n display: none !important;\n }\n\n .wrapper {\n transform: none !important;\n }\n }\n"]);return nt=function(){return t},t}var rt=Object(n.b)(nt());function st(){var t=ot(['<div class="grabbing-screen full-screen"></div>']);return st=function(){return t},t}function at(){var t=ot(['\n <div class="peek full-height"></div>\n <div\n class="scrim"\n style=',">\n </div>\n ","\n <div\n class=","\n style=",'\n >\n <div class="overflow">\n <slot></slot>\n </div>\n </div>\n ']);return at=function(){return t},t}function ot(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var ct=function(t,e,i,n){var r,s=arguments.length,a=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a},lt=class extends(Object(R.b)(R.a,[q,Z,Q])){constructor(){super(...arguments),this.el=this,this.opened=!1,this.side="left",this.persistent=!1,this.threshold=10,this.noScroll=!1,this.mouseEvents=!1,this.range=[0,100],this.willChange=!1,this._initialized=Object(R.f)(),this.$={},this.upgrade=()=>{var t,e=this.getDrawerWidth(),i=this.$.persistent.pipe(Object(g.a)(t=>!t)),n=this.getStartObservable().pipe(Object(R.h)(i),Object(O.a)()),r={},s=Object(h.a)(()=>r.translateX$.pipe(Object(g.a)(t=>0!==t))),a=n.pipe(Object(j.a)(s),Object(g.a)(t=>this.calcIsInRange(...t)),Object(m.a)(t=>{t&&(this.willChange=!0,this.fireEvent("prepare"))}),Object(O.a)()),o=this.getEndObservable().pipe(Object(R.h)(i,a),Object(m.a)(()=>{this.mouseEvents&&(this.grabbing=!1)}),Object(O.a)()),c=this.getMoveObservable(n,o).pipe(Object(R.h)(i,a),Object(O.a)()),l=this.getIsSlidingObservable(c,n,o).pipe(Object(m.a)(t=>{this.isSliding=t,t&&this.mouseEvents&&(this.grabbing=!0)})),v=r.translateX$=Object(h.a)(()=>{var t=Object(u.a)(this.$.opened,this.$.side,e).pipe(Object(g.a)(t=>{var[e,i,n]=t;return e?n*("left"===i?1:-1):0})),i=c.pipe(Object(R.h)(l),Object(m.a)(()=>this.scrimClickable=!1),Object(m.a)(t=>{var{event:e}=t;return this.noScroll&&e.preventDefault()}),Object(j.a)(n,r.startTranslateX$,e),Object(g.a)(t=>this.calcTranslateX(...t)));return Object(p.a)(r.tweenTranslateX$,t,i)}).pipe(Object(O.a)());r.startTranslateX$=v.pipe((t=n,function(e){return e.lift(new S(t))}));var f,y=v.pipe((void 0===f&&(f=E.a),Object(g.a)((function(t){return new k(t,f.now())}))),Object(C.a)(),Object(T.a)(t=>{var[{timestamp:e},{timestamp:i}]=t;return i-e>0}),Object(g.a)(t=>{var[{value:e,timestamp:i},{value:n,timestamp:r}]=t;return(n-e)/(r-i)}),Object(V.a)(0)),w=o.pipe(Object(j.a)(n,v,e,y),Object(T.a)(t=>this.calcIsSwipe(...t)),Object(g.a)(t=>this.calcWillOpen(...t))),x=this.animateTo$.pipe(Object(m.a)(()=>{this.willChange=!0,this.fireEvent("prepare")}));r.tweenTranslateX$=Object(p.a)(w,x).pipe(Object(j.a)(v,e),Object($.a)(t=>{var e,[i,r,s]=t,a="left"===this.side?1:-1,o=(i?s*a:0)-r,c=Math.ceil(200+.15*s);return Object(R.m)(B,r,o,c).pipe(Object(M.a)(()=>{this.transitioned(i)}),Object(X.a)(n),Object(X.a)(this.$.side.pipe((e=1,function(t){return t.lift(new z(e))}))),Object(O.a)())})),v.pipe(Object(j.a)(e),Object(m.a)(t=>{this.updateDOM(...t);var{translateX:e,opacity:i}=this;this.fireEvent("move",{detail:{translateX:e,opacity:i},bubbles:!1})})).subscribe(),Object(b.a)(this.scrimEl,"click").pipe(Object(m.a)(()=>this.close())).subscribe(),i.pipe(Object(m.a)(t=>{this.scrimEl.style.display=t?"block":"none"})).subscribe(),this.$.mouseEvents.pipe(Object($.a)(t=>t?n.pipe(Object(j.a)(a)):d.a),Object(T.a)(t=>{var[e,i]=t;return i&&null!=e.event}),Object(m.a)(t=>{var[{event:e}]=t;return e.preventDefault()})).subscribe(),this.fireEvent("init",{detail:this.opened}),this._initialized.resolve(this)},this.transitioned=t=>{this.opened=this.scrimClickable=t,this.willChange=!1,this.fireEvent("transitioned",{detail:t})}}get initialized(){return this._initialized}get histId(){return this.id||this.tagName}get hashId(){return"#".concat(this.histId,"--opened")}getDrawerWidth(){var t=W(this.contentEl).pipe(Object(m.a)(t=>this.fireEvent("content-width-change",{detail:t}))),e=W(this.peekEl).pipe(Object(m.a)(t=>this.fireEvent("peek-width-change",{detail:t})));return Object(u.a)(t,e).pipe(Object(g.a)(t=>{var[e,i]=t;return e-i}),Object(O.a)())}connectedCallback(){super.connectedCallback(),this.$.opened=new v.a(this.opened),this.$.side=new v.a(this.side),this.$.persistent=new v.a(this.persistent),this.$.preventDefault=new v.a(this.noScroll),this.$.mouseEvents=new v.a(this.mouseEvents),this.scrimClickable=this.opened,this.animateTo$=new f.a,this.updater=tt.getUpdaterForPlatform(this),this.updateComplete.then(this.upgrade)}render(){return Object(n.d)(at(),l({willChange:this.willChange?"opacity":"",pointerEvents:this.scrimClickable?"all":""}),this.mouseEvents&&this.grabbing&&!this.scrimClickable?Object(n.d)(st()):null,o({wrapper:!0,"full-height":!0,[this.side]:!0,grab:this.mouseEvents,grabbing:this.mouseEvents&&this.grabbing}),l({willChange:this.willChange?"transform":""}))}open(){this.animateTo$.next(!0)}close(){this.animateTo$.next(!1)}toggle(){this.animateTo$.next(!this.opened)}};
29
- /**
30
- * Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
31
- *
32
- * This program is free software: you can redistribute it and/or modify
33
- * it under the terms of the GNU General Public License as published by
34
- * the Free Software Foundation, either version 3 of the License, or
35
- * (at your option) any later version.
36
- *
37
- * This program is distributed in the hope that it will be useful,
38
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
39
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40
- * GNU General Public License for more details.
41
- *
42
- * You should have received a copy of the GNU General Public License
43
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
44
- *
45
- * @license
46
- * @nocompile
47
- */lt.styles=rt,ct([Object(n.f)(".scrim")],lt.prototype,"scrimEl",void 0),ct([Object(n.f)(".wrapper")],lt.prototype,"contentEl",void 0),ct([Object(n.f)(".peek")],lt.prototype,"peekEl",void 0),ct([Object(n.e)({type:Boolean,reflect:!0})],lt.prototype,"opened",void 0),ct([Object(n.e)({type:String,reflect:!0})],lt.prototype,"side",void 0),ct([Object(n.e)({type:Boolean,reflect:!0})],lt.prototype,"persistent",void 0),ct([Object(n.e)({type:Number,reflect:!0})],lt.prototype,"threshold",void 0),ct([Object(n.e)({type:Boolean,reflect:!0})],lt.prototype,"noScroll",void 0),ct([Object(n.e)({type:Boolean,reflect:!0})],lt.prototype,"mouseEvents",void 0),ct([Object(n.e)({reflect:!0,converter:A,hasChanged:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((t,i)=>t!==e[i])}})],lt.prototype,"range",void 0),ct([Object(n.e)()],lt.prototype,"scrimClickable",void 0),ct([Object(n.e)()],lt.prototype,"grabbing",void 0),ct([Object(n.e)()],lt.prototype,"willChange",void 0),ct([Object(n.e)()],lt.prototype,"open",null),ct([Object(n.e)()],lt.prototype,"close",null),ct([Object(n.e)()],lt.prototype,"toggle",null),lt=ct([Object(n.c)("hy-drawer")],lt)},213:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i(0),r=i(2),s=i(77),a=i(26),o=i(25),c={leading:!0,trailing:!1};!function(){function t(t,e,i){this.durationSelector=t,this.leading=e,this.trailing=i}t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector,this.leading,this.trailing))}}();var l=function(t){function e(e,i,n,r){var s=t.call(this,e)||this;return s.destination=e,s.durationSelector=i,s._leading=n,s._trailing=r,s._sendValue=null,s._hasValue=!1,s}return Object(n.e)(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(o.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,i,n,r){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(a.a);function h(t,e,i){return void 0===e&&(e=s.a),void 0===i&&(i=c),function(n){return n.lift(new u(t,e,!!i.leading,!!i.trailing))}}var u=function(){function t(t,e,i,n){this.duration=t,this.scheduler=e,this.leading=i,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),p=function(t){function e(e,i,n,r,s){var a=t.call(this,e)||this;return a.duration=i,a.scheduler=n,a.leading=r,a.trailing=s,a.throttled=null,a._hasTrailingValue=!1,a._trailingValue=null,a}return Object(n.e)(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(b,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(r.a);function b(t){t.subscriber.clearThrottle()}}}]);