jekyll-theme-hydejack 9.1.4 → 9.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/body/breadcrumbs.html +10 -10
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/scripts.html +2 -2
  5. data/_includes/components/dingbat.html +1 -8
  6. data/_includes/head/meta-static.html +1 -5
  7. data/_includes/head/meta.html +5 -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/assets/css/{hydejack-9.1.4.css → hydejack-9.1.5.css} +0 -0
  13. data/assets/js/LEGACY-clap-button-hydejack-9.1.5.js +14 -0
  14. data/assets/js/LEGACY-drawer-hydejack-9.1.5.js +14 -0
  15. data/assets/js/{LEGACY-shadydom-hydejack-9.1.4.js → LEGACY-fetch-hydejack-9.1.5.js} +2 -2
  16. data/assets/js/LEGACY-hydejack-9.1.5.js +27 -0
  17. data/assets/js/LEGACY-navbar-hydejack-9.1.5.js +14 -0
  18. data/assets/js/LEGACY-push-state-hydejack-9.1.5.js +14 -0
  19. data/assets/js/LEGACY-resize-observer-hydejack-9.1.5.js +14 -0
  20. data/assets/js/{shadydom-hydejack-9.1.4.js → LEGACY-shadydom-hydejack-9.1.5.js} +2 -2
  21. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.5.js +14 -0
  22. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.5.js +48 -0
  23. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.5.js +214 -0
  24. data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.4.js → LEGACY-vendors~fetch-hydejack-9.1.5.js} +2 -2
  25. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.4.js → LEGACY-vendors~intersection-observer-hydejack-9.1.5.js} +2 -2
  26. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.5.js +34 -0
  27. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.5.js +155 -0
  28. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.4.js → LEGACY-vendors~webanimations-hydejack-9.1.5.js} +2 -2
  29. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.5.js +34 -0
  30. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.4.js → LEGACY-webcomponents-hydejack-9.1.5.js} +2 -2
  31. data/assets/js/{clap-button-hydejack-9.1.4.js → clap-button-hydejack-9.1.5.js} +2 -2
  32. data/assets/js/drawer-hydejack-9.1.5.js +14 -0
  33. data/assets/js/{fetch-hydejack-9.1.4.js → fetch-hydejack-9.1.5.js} +2 -2
  34. data/assets/js/hydejack-9.1.5.js +28 -0
  35. data/assets/js/navbar-hydejack-9.1.5.js +14 -0
  36. data/assets/js/push-state-hydejack-9.1.5.js +14 -0
  37. data/assets/js/resize-observer-hydejack-9.1.5.js +14 -0
  38. data/assets/js/{LEGACY-fetch-hydejack-9.1.4.js → shadydom-hydejack-9.1.5.js} +2 -2
  39. data/assets/js/{vendors~clap-button-hydejack-9.1.4.js → vendors~clap-button-hydejack-9.1.5.js} +2 -2
  40. data/assets/js/vendors~drawer-hydejack-9.1.5.js +48 -0
  41. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.4.js → vendors~drawer~push-state-hydejack-9.1.5.js} +12 -12
  42. data/assets/js/{vendors~fetch-hydejack-9.1.4.js → vendors~fetch-hydejack-9.1.5.js} +2 -2
  43. data/assets/js/{vendors~intersection-observer-hydejack-9.1.4.js → vendors~intersection-observer-hydejack-9.1.5.js} +2 -2
  44. data/assets/js/vendors~push-state-hydejack-9.1.5.js +34 -0
  45. data/assets/js/vendors~shadydom-hydejack-9.1.5.js +146 -0
  46. data/assets/js/{vendors~webanimations-hydejack-9.1.4.js → vendors~webanimations-hydejack-9.1.5.js} +2 -2
  47. data/assets/js/{webcomponents-hydejack-9.1.4.js → webcomponents-hydejack-9.1.5.js} +2 -2
  48. data/assets/version.json +2 -2
  49. metadata +44 -44
  50. data/assets/js/LEGACY-clap-button-hydejack-9.1.4.js +0 -14
  51. data/assets/js/LEGACY-drawer-hydejack-9.1.4.js +0 -14
  52. data/assets/js/LEGACY-hydejack-9.1.4.js +0 -27
  53. data/assets/js/LEGACY-navbar-hydejack-9.1.4.js +0 -14
  54. data/assets/js/LEGACY-push-state-hydejack-9.1.4.js +0 -14
  55. data/assets/js/LEGACY-resize-observer-hydejack-9.1.4.js +0 -14
  56. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.4.js +0 -14
  57. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.4.js +0 -48
  58. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.4.js +0 -214
  59. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.4.js +0 -34
  60. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.4.js +0 -155
  61. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.4.js +0 -34
  62. data/assets/js/drawer-hydejack-9.1.4.js +0 -14
  63. data/assets/js/hydejack-9.1.4.js +0 -28
  64. data/assets/js/navbar-hydejack-9.1.4.js +0 -14
  65. data/assets/js/push-state-hydejack-9.1.4.js +0 -14
  66. data/assets/js/resize-observer-hydejack-9.1.4.js +0 -14
  67. data/assets/js/vendors~drawer-hydejack-9.1.4.js +0 -48
  68. data/assets/js/vendors~push-state-hydejack-9.1.4.js +0 -34
  69. data/assets/js/vendors~shadydom-hydejack-9.1.4.js +0 -146
@@ -1,155 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.4 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{327: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},340:function(e,t,n){(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(function(){"use strict";var n;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function i(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function a(e,t){return{index:e,s:[],v: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.s.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.v++,o++,t.s.push(n[i]),i++;break;case 2:t||(t=a(o,0)),t.v++,o++;break;case 3:t||(t=a(o,0)),t.s.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)&&Lt(e)}f.c=!!(_&&_.configurable&&_.get),f.F=f.force||!f.T,f.g=f.noPatch||!1,f.o=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(""),E=0,N=[];function b(e){N.push(e),S.textContent=E++}new MutationObserver((function(){for(;N.length;)try{N.shift()()}catch(e){throw S.textContent=E++,e}})).observe(S,{characterData:!0});var C=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function 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 A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var r=(t=o(t)).next();!r.done;r=t.next())n.appendChild(R(r.value));return n}var I,F=[];function j(e){I||(I=!0,b(H)),F.push(e)}function H(){I=!1;for(var e=!!F.length;F.length;)F.shift()();return e}H.list=F;var B=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}}),U=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}}),q=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 V(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}V(B),V(U),V(q);var G,W=f.c||!0===f.g,K=W?function(){}:function(e){var t=d(e);t.N||(t.N=!0,M(e,q))},X=W?function(){}:function(e){var t=d(e);t.M||(t.M=!0,M(e,B),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!f.g||M(e,U))},$="__eventWrappers"+Date.now(),z=(G=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return G.get.call(e)}:null,Y=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 J(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:Y?e:n}}var Q={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},Z={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ee(e){return e instanceof Node?e.__shady_getRootNode():e}function te(e,t){var n=[],r=e;for(e=ee(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function ne(e,t){if(!y)return e;e=te(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ee(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!y(r)||-1<s)return n}function re(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 oe={focus:!0,blur:!0};function ie(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function se(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ie(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ae(e){var t=e.composedPath(),n=t.map((function(e){return ne(e,t)})),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return s}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var s=t[i];if(o=s===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,se(e,s,"capture"),e.B)return}for(i=0;i<t.length;i++){var a=(s=t[i])===n[i];if((a||r)&&(o=a?Event.AT_TARGET:Event.BUBBLING_PHASE,se(e,s,"bubble"),e.B))return}o=0,s=null}function le(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 ue(e){return H(),!f.o&&this instanceof Node&&!C(document,this)?(e.__target||fe(e,this),ae(e)):this.__shady_native_dispatchEvent(e)}function ce(e,n,r){var o=J(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(Z[e])return this.__shady_native_addEventListener(e,n,o);var c=l||this;if(l=n[$]){if(-1<le(l,c,e,i,s,a))return}else n[$]=[];l=function(t){if(s&&this.__shady_removeEventListener(e,n,r),t.__target||fe(t),c!==this){var o=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{get:function(){return c},configurable:!0});var a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(t.__previousCurrentTarget=t.currentTarget,(!y(c)&&"slot"!==c.localName||-1!=t.composedPath().indexOf(c))&&(t.composed||-1<t.composedPath().indexOf(c)))if(ie(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 l="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,a?(Object.defineProperty(t,"eventPhase",a),a=null):delete t.eventPhase),l}},n[$].push({node:c,type:e,capture:i,once:s,passive:a,V:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l),oe[e]||this.__shady_native_addEventListener(e,l,o)}}}function de(e,t,n){if(t){var r=J(n);n=r.capture;var o=r.once,i=r.passive,s=r.K;if(r=r.J,Z[e])return this.__shady_native_removeEventListener(e,t,r);var a=s||this;s=void 0;var l=null;try{l=t[$]}catch(e){}l&&(-1<(o=le(l,a,e,n,o,i))&&(s=l.splice(o,1)[0].V,l.length||(t[$]=void 0))),this.__shady_native_removeEventListener(e,s||t,r),s&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(s))&&e.splice(t,1))}}var he=D({get composed(){return void 0===this.__composed&&(z?this.__composed="focusin"===this.type||"focusout"===this.type||z(this):!1!==this.isTrusted&&(this.__composed=Q[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=te(this.__target,this.composed)),this.__composedPath},get target(){return ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=te(this.__relatedTarget,!0)),ne(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 fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,f.c){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,k(n,he),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else k(e,he)}var _e=re(Event),pe=re(CustomEvent),ye=re(MouseEvent);var me=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),ve=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function ge(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 Se=D({dispatchEvent:ue,addEventListener:ce,removeEventListener:de}),Ee=window.document,Ne=f.o,be=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ce=be&&be.get;function we(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Te(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 Oe=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(Ce&&Ce.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||C(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(y(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(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)&&we(this),this.__shady_native_textContent=e}else we(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!==Ee&&e.ownerDocument!==Ee)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;Te(this,e);var r=[],o=(n=Ht(this))?n.host.localName:He(this),s=e.__shady_parentNode;if(s){var a=He(e),l=!!n||!Ht(e)||Ne&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,l)}s=!0;var u=(!Ne||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=Ie();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,o),c=n&&!e.__noInsertionPoint&&(!Ne||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(a=a||He(e)),Be(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=a;Ie()&&(t&&je(e,t),(t=Ie())&&t.scopeNode(e,o))}}))),r.length&&(Mt(n),n.f.push.apply(n.f,i(r)),Tt(n)),p(this)&&(function(e,t,n){pt(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)yt(e,t,r,n);else yt(e,t,r,n)}(e,this,t),(l=h(this)).root?(s=!1,m(this)&&Tt(l.root)):n&&"slot"===this.localName&&(s=!1,Tt(n))),s?(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!==Ee)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);Te(this,null,e);var n=Ht(e),r=n&&function(e,t){if(e.a){Dt(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.u&&a.u--),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))){Tt(o.root);var i=!0}if(Ie()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=He(e);Be(e,(function(e){je(e,s)}))}return function e(t){var n=h(t);if(n&&void 0!==n.A)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=h(t))&&(t.A=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&Tt(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.A;return void 0===n&&(y(this)?(n=this,t.A=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.A=n))),n}},contains:function(e){return w(this,e)}}),xe=D({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Ot(e),(e=h(this))&&e.assignedSlot||null}});function Pe(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 ke={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}},Me=D((ke.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),null)},ke.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,i(t)),this.__shady_firstChild)},ke.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(L.apply(null,i(t)),null)},ke)),De=D({querySelector:function(e){return Pe(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(Pe(this,(function(t){return g.call(t,e)})))}}),Ae=f.o&&!f.g?A({},Me):Me;A(Me,De);var Re=D({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,i(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(L.apply(null,i(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(L.apply(null,i(t)),r)}}}),Le=null;function Ie(){return Le||(Le=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Le||null}function Fe(e,t,n){var r=Ie();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function je(e,t){var n=Ie();n&&n.unscopeNode(e,t)}function He(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ie();return t?t.currentScopeForNode(e):""}function Be(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&&Be(e,t)}var Ue=window.document;function qe(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&Tt(h(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ht(e))){if(t.a){Dt(t);var n=e.O,r=At(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]=Rt(n))}}Tt(t)}}var Ve=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!==Ue?this.__shady_native_setAttribute(e,t):Fe(this,e,t)||(this.__shady_native_setAttribute(e,t),qe(this,e))},removeAttribute:function(e){this.ownerDocument!==Ue?this.__shady_native_removeAttribute(e):Fe(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),qe(this,e))}});f.o||me.forEach((function(e){Ve[e]=ge(e)}));var Ge=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,wt(t,this,e),mt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;Mt(n),n.f.push.apply(n.f,i(e)),Tt(t)}t.host.__shady_native_appendChild(t)}else t=new Ct(Et,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=h(this);return e&&e.U||null}});A(Ve,Ge);var We=/[&\u00A0"]/g,Ke=/[&\u00A0<>]/g;function Xe(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function $e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var ze=$e("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ye=$e("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Je(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(We,Xe)+'"';d+=">",a=ze[l]?d:d+Je(a,u)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&Ye[l.localName]?a:a.replace(Ke,Xe);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 Qe=document.implementation.createHTMLDocument("inert"),Ze=D({get innerHTML(){return p(this)?Je("template"===this.localName?this.content:this,x):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{we(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Qe.namespaceURI?Qe.createElementNS(this.namespaceURI,t):Qe.createElement(t),f.c?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),et=D({blur:function(){var e=h(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});f.o||ve.forEach((function(e){et[e]=ge(e)}));var tt=D({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&y(t)&&Ot(t),(t=h(this))&&(e&&e.flatten?t.l:t.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)ce.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)de.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)}}}),nt=D({getElementById:function(e){return""===e?null:Pe(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}}),rt=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=Ht(e);t&&t!==this;)t=Ht(e=t.host);return this===document?t?null:e:t===this?e:null}}),ot=window.document,it=D({importNode:function(e,t){if(e.ownerDocument!==ot||"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}}),st=D({dispatchEvent:ue,addEventListener:ce.bind(window),removeEventListener:de.bind(window)}),at={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(at.parentElement=Oe.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(at.contains=Oe.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(at.children=Me.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(at.innerHTML=Ze.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(at.className=Ve.className);var lt={EventTarget:[Se],Node:[Oe,window.EventTarget?null:Se],Text:[xe],Comment:[xe],CDATASection:[xe],ProcessingInstruction:[xe],Element:[Ve,Me,Re,xe,!f.c||"innerHTML"in Element.prototype?Ze:null,window.HTMLSlotElement?null:tt],HTMLElement:[et,at],HTMLSlotElement:[tt],DocumentFragment:[Ae,nt],Document:[it,Ae,nt,rt],Window:[st],CharacterData:[Re]},ut=f.c?null:["innerHTML","textContent"];function ct(e,t,n,r){t.forEach((function(t){return e&&t&&k(e,t,n,r)}))}function dt(e){var t,n=e?null:ut;for(t in lt)ct(window[t]&&window[t].prototype,lt[t],e,n)}function ht(e){return e.__shady_protoIsPatched=!0,ct(e,lt.EventTarget),ct(e,lt.Node),ct(e,lt.Element),ct(e,lt.HTMLElement),ct(e,lt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,ct(n,lt.EventTarget),ct(n,lt.Node),lt[e]&&ct(n,lt[e]),t.prototype.__shady_patchedProto=n}));var ft=f.G,_t=f.c;function pt(e,t){if(ft&&!e.__shady_protoIsPatched&&!y(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(ht(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}_t||(1===t?K(e):2===t&&X(e))}function yt(e,t,n,r){pt(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 mt(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,pt(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,pt(n,1)}}}var vt=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 gt(e,t){k(e,vt,t),k(e,rt,t),k(e,Ze,t),k(e,Me,t),f.g&&!t?(k(e,Oe,t),k(e,nt,t)):f.c||(k(e,q),k(e,B),k(e,U))}var St,Et={},Nt=f.deferConnectionCallbacks&&"loading"===document.readyState;function bt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Ct(e,t,n){if(e!==Et)throw new TypeError("Illegal constructor");this.a=null,wt(this,t,n)}function wt(e,t,n){if(e.host=t,e.mode=n&&n.mode,mt(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 Tt(e)}function Tt(e){e.j||(e.j=!0,j((function(){return Ot(e)})))}function Ot(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.u||(e=void 0);t=n}(n=t)&&n._renderSelf()}function xt(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 Pt(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&&Pt(e,t,i)}else t.push(n[r])}function kt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=h(t)).assignedSlot&&kt(e,t.assignedSlot)}function Mt(e){e.f=e.f||[],e.a=e.a||[],e.b=e.b||{}}function Dt(e){if(e.f&&e.f.length){for(var t,n=e.f,r=0;r<n.length;r++){var o=n[r];mt(o);var i=o.__shady_parentNode;mt(i),(i=h(i)).u=(i.u||0)+1,i=At(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]=Rt(e.b[s]);e.f=[]}}function At(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.O=t}function Rt(e){return e.sort((function(e,t){e=bt(e);for(var n=bt(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 Lt(e){return Dt(e),!(!e.a||!e.a.length)}if(Ct.prototype._renderSelf=function(){var e=Nt;if(Nt=!0,this.j=!1,this.a){Dt(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)xt(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)xt(this,r,t);if((r=(r=h(t.__shady_parentNode))&&r.root)&&(Lt(r)||r.j)&&r._renderSelf(),Pt(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,kt(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.s.length&&(_=c.s[d]);d++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(c.index+u,1);u-=c.v}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.v;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,Nt=e,St&&St()},function(e){e.__proto__=DocumentFragment.prototype,gt(e,"__shady_"),gt(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})}))}(Ct.prototype),window.customElements&&window.customElements.define&&f.F&&!f.preferPerformance){var It=new Map;St=function(){var e=[];It.forEach((function(t,n){e.push([n,t])})),It.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Nt&&document.addEventListener("readystatechange",(function(){Nt=!1,St()}),{once:!0});var Ft=window.customElements.define,jt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Ft.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(){Nt?It.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Nt?this.isConnected||It.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=jt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:jt,configurable:!0})}function Ht(e){if(y(e=e.__shady_getRootNode()))return e}function Bt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.w=new Set}Bt.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.w.forEach((function(t){t(e)}))}},Bt.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 Ut=f.c,qt={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},Vt={};function Gt(e){Vt[e]=function(t){return t["__shady_native_"+e]}}function Wt(e,t){for(var n in k(e,t,"__shady_native_"),t)Gt(n)}function Kt(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?qt[r]||(qt[r]=o.value):Gt(r))}}var Xt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),$t=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zt=document.implementation.createHTMLDocument("inert");function Yt(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var Jt=["firstElementChild","lastElementChild","children","childElementCount"],Qt=["querySelector","querySelectorAll","append","prepend","replaceChildren"];function Zt(e){this.node=e}function en(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)},n.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,i(t))},n.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,i(t))},n.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,i(t))},n.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,i(t))},n.remove=function(){return this.node.__shady_remove()},n.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,i(t))},s.Object.defineProperties(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}}}),me.forEach((function(e){return en(e)})),ve.forEach((function(e){return en(e)}));var tn=new WeakMap;function nn(e){if(y(e)||e instanceof Zt)return e;var t=tn.get(e);return t||(t=new Zt(e),tn.set(e,t)),t}if(f.F){var rn=f.c?function(e){return e}:function(e){return X(e),K(e),e};window.ShadyDOM={inUse:f.F,patch:rn,isShadyRoot:y,enqueue:j,flush:H,flushInitial:function(e){!e.H&&e.j&&Ot(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 Bt),n.m.w.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.w.delete(e.P),t.w.size||(d(e.R).m=null))},deferConnectionCallbacks:f.deferConnectionCallbacks,preferPerformance:f.preferPerformance,handlesDynamicScoping:!0,wrap:f.g?nn:rn,wrapIfNeeded:!0===f.g?nn:function(e){return e},Wrapper:Zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=te(e.target,!0)),e.__composedPath},noPatch:f.g,patchOnDemand:f.G,nativeMethods:qt,nativeTree:Vt,patchElementProto:ht},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?Kt(window.EventTarget.prototype,e):(Kt(Node.prototype,e),Kt(Window.prototype,e)),Ut?Kt(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wt(Node.prototype,{parentNode:{get:function(){return Xt.currentNode=this,Xt.parentNode()}},firstChild:{get:function(){return Xt.currentNode=this,Xt.firstChild()}},lastChild:{get:function(){return Xt.currentNode=this,Xt.lastChild()}},previousSibling:{get:function(){return Xt.currentNode=this,Xt.previousSibling()}},nextSibling:{get:function(){return Xt.currentNode=this,Xt.nextSibling()}},childNodes:{get:function(){var e=[];Xt.currentNode=this;for(var t=Xt.firstChild();t;)e.push(t),t=Xt.nextSibling();return e}},parentElement:{get:function(){return $t.currentNode=this,$t.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:Yt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Kt(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Kt(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return $t.currentNode=this,$t.firstChild()}},lastElementChild:{get:function(){return $t.currentNode=this,$t.lastChild()}},children:{get:function(){var e=[];$t.currentNode=this;for(var t=$t.firstChild();t;)e.push(t),t=$t.nextSibling();return T(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Ut?(Kt(Element.prototype,Jt),Kt(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Kt(HTMLElement.prototype,["children","innerHTML","className"])):(Wt(Element.prototype,e),Wt(Element.prototype,{previousElementSibling:{get:function(){return $t.currentNode=this,$t.previousSibling()}},nextElementSibling:{get:function(){return $t.currentNode=this,$t.nextSibling()}},innerHTML:{get:function(){return Je(this,O)},set:function(e){var t="template"===this.localName?this.content:this;Yt(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==zt.namespaceURI?zt.createElementNS(this.namespaceURI,n):zt.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)}}})),Kt(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Kt(Element.prototype,Qt),Kt(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Kt(window.HTMLTemplateElement.prototype,["innerHTML"]),Ut?Kt(DocumentFragment.prototype,Jt):Wt(DocumentFragment.prototype,e),Kt(DocumentFragment.prototype,Qt),Ut?(Kt(Document.prototype,Jt),Kt(Document.prototype,["activeElement"])):Wt(Document.prototype,e),Kt(Document.prototype,["importNode","getElementById"]),Kt(Document.prototype,Qt)}(),dt("__shady_"),Object.defineProperty(document,"_activeElement",rt.activeElement),k(Window.prototype,st,"__shady_"),f.g?f.G&&k(Element.prototype,Ge):(dt(),function(){if(!z&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in oe)window.__shady_native_addEventListener(e,(function(e){e.__target||(fe(e),ae(e))}),!0)}(),window.Event=_e,window.CustomEvent=pe,window.MouseEvent=ye,window.ShadowRoot=Ct}}).call(this)}).call(this,n(327))},344: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,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,N=/(?:^|\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&&A(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 A(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++)A(l,t,n,r)}}function R(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:"SCOPE_NAME",get:function(){return"style-scope"}},{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(),$)}}])&&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)}}var fe=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}var t,n,r;return t=e,r=[{key:"get",value:function(e){return e?e.__styleInfo:null}},{key:"set",value:function(e,t){return e.__styleInfo=t,t}}],(n=[{key:"_getStyleRules",value:function(){return this.styleRules}}])&&he(t.prototype,n),r&&he(t,r),e}();function _e(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)}}fe.prototype._getStyleRules=fe.prototype._getStyleRules;var pe=function(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)},ye=/:host\s*>\s*/;var me=navigator.userAgent.match("Trident");var ve=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:"XSCOPE_NAME",get:function(){return"x-scope"}},{key:"decorateStyles",value:function(e){var t=this,n={},r=[],o=0;A(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=E,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(E,"")}},{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(N.lastIndex=0,r=N.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 A(e,(function(e){e.propertyInfo||n.decorateRule(e);var i=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&i&&pe.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(ye))||"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 A(t,(function(t){r.whenHostOrRootRule(e,t,n,(function(n){var s=e._element||e;pe.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=fe.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=fe.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=R(o,n,e.shadowRoot,i.placeholder)):r?r.parentNode||(me&&o.indexOf("@media")>-1&&(r.textContent=o),I(r,null,i.placeholder)):o&&(r=R(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))}))}}])&&_e(t.prototype,n),r&&_e(t,r),e}()),ge={};
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 Se(e){return ge[e]||null}function Ee(e){var t,n,r,o;ge[e]||(ge[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 Ne=window.customElements;if(Ne&&!m&&!g){var be=Ne.define;Ne.define=function(e,t,n){Ee(e),be.call(Ne,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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(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 Te=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;Ce(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}}}])&&we(t.prototype,n),r&&we(t,r),e}(),Oe=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 xe=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function Pe(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(xe);return t?t[1]:""}function ke(e){var t=H(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function Me(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=ke(r);o&&de.element(r,o)}}function De(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=Pe(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=ke(o);a!==s&&de.domReplaceScope(o,s,a),Me(o)}}}}var l}if(!(m||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ae=new MutationObserver(De),Re=function(e){Ae.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Re(document);else{var Le=function(){Re(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Le):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function e(){Le(),document.removeEventListener("readystatechange",e)}))}else Le()}))}Oe=function(){De(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 Ie={},Fe="_applyShimCurrentVersion",je="_applyShimNextVersion",He=Promise.resolve();function Be(e){var t=Ie[e];t&&function(e){e[Fe]=e[Fe]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[je]=(e[je]||0)+1}(t)}function Ue(e){return e[Fe]===e[je]}function qe(e){return!Ue(e)&&e._applyShimValidatingVersion===e[je]}function Ve(e){e._applyShimValidatingVersion=e[je],e._validating||(e._validating=!0,He.then((function(){e[Fe]=e[je],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 Ge,We=null,Ke=window.HTMLImports&&window.HTMLImports.whenReady||null;function Xe(e){requestAnimationFrame((function(){Ke?Ke(e):(We||(We=new Promise((function(e){Ge=e})),"complete"===document.readyState?Ge():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&Ge()}))),We.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 $e(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 ze="__shadyCSSCachedStyle",Ye=null,Je=null,Qe=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,Xe((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}var t,n,r;return t=e,(n=[{key:"enqueueDocumentValidation",value:function(){!this.enqueued&&Je&&(this.enqueued=!0,Xe(Je))}},{key:"addCustomStyle",value:function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}},{key:"getStyleForCustomStyle",value:function(e){return e[ze]?e[ze]: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[ze]){var r=this.getStyleForCustomStyle(n);if(r){var o=r.__appliedElement||r;Ye&&Ye(o),n[ze]=o}}}return e}}])&&$e(t.prototype,n),r&&$e(t,r),e}();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)}}Qe.prototype.addCustomStyle=Qe.prototype.addCustomStyle,Qe.prototype.getStyleForCustomStyle=Qe.prototype.getStyleForCustomStyle,Qe.prototype.processStyles=Qe.prototype.processStyles,Object.defineProperties(Qe.prototype,{transformCallback:{get:function(){return Ye},set:function(e){Ye=e}},validateCallback:{get:function(){return Je},set:function(e){var t=!1;Je||(t=!0),Je=e,t&&this.enqueueDocumentValidation()}}});var et={},tt=new Te,nt=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=fe.set(this._documentOwner,new fe(t)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}var t,n,i;return t=e,(n=[{key:"flush",value:function(){Oe()}},{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,Ie[t]=e;var r=q(e),i=G(r),s={is:t,extends:n},a=this._gatherStyles(e)+(et[t]||"");if(this._ensure(),!i){var l=!r&&function(e){var t=N.test(e)||E.test(e);return N.lastIndex=0,E.lastIndex=0,t}(a),u=o(a);l&&S&&this._applyShim&&this._applyShim.transformRules(u,t),e._styleAst=u}var c=[];if(S||(c=ve.decorateStyles(e._styleAst)),!c.length||S){var d=m?e.content:null,h=Se(t),f=this._generateStaticStyle(s,e._styleAst,d,h,r,i?a:"");e._style=f}e._ownPropertyNames=c}}},{key:"prepareAdoptedCssText",value:function(e,t){et[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?R(i,e.is,n,r):null}},{key:"_prepareHost",value:function(e){var t=B(e),n=t.is,r=t.typeExtension,o=Se(n),i=Ie[n];if(i){var s=i._styleAst,a=i._ownPropertyNames,l=q(i),u=new fe(s,o,a,n,r,l);return fe.set(e,u),u}}},{key:"_ensureApplyShim",value:function(){return!(this._applyShim||!window.ShadyCSS||!window.ShadyCSS.ApplyShim||(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Be,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){fe.get(e)||fe.set(e,new fe(null));var n=fe.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=fe.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=Ie[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!Ue(r)){if(qe(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Ve(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?fe.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=tt.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=ve.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return m||ve.applyElementScopeSelector(e,t.scopeSelector,s),r||tt.store(n,t.styleProperties,a,t.scopeSelector),a}},{key:"_updateProperties",value:function(e,t){var n=this._styleOwnerForNode(e),r=fe.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=ve.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=ve.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),ve.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&&ve.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);A(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=(fe.get(e)||fe.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=fe.get(e);l&&l.scopeSelector&&n.push(ve.XSCOPE_NAME,l.scopeSelector)}j(e,n.join(" "))}},{key:"_styleInfoForNode",value:function(e){return fe.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 ke(e)}},{key:"currentScopeForNode",value:function(e){return Pe(e)}}])&&Ze(t.prototype,n),i&&Ze(t,i),e}();nt.prototype.flush=nt.prototype.flush,nt.prototype.prepareTemplate=nt.prototype.prepareTemplate,nt.prototype.styleElement=nt.prototype.styleElement,nt.prototype.styleDocument=nt.prototype.styleDocument,nt.prototype.styleSubtree=nt.prototype.styleSubtree,nt.prototype.getComputedStyleValue=nt.prototype.getComputedStyleValue,nt.prototype.setElementClass=nt.prototype.setElementClass,nt.prototype._styleInfoForNode=nt.prototype._styleInfoForNode,nt.prototype.transformCustomStyleForDocument=nt.prototype.transformCustomStyleForDocument,nt.prototype.getStyleAst=nt.prototype.getStyleAst,nt.prototype.styleAstToString=nt.prototype.styleAstToString,nt.prototype.flushCustomStyles=nt.prototype.flushCustomStyles,nt.prototype.scopeNode=nt.prototype.scopeNode,nt.prototype.unscopeNode=nt.prototype.unscopeNode,nt.prototype.scopeForNode=nt.prototype.scopeForNode,nt.prototype.currentScopeForNode=nt.prototype.currentScopeForNode,nt.prototype.prepareAdoptedCssText=nt.prototype.prepareAdoptedCssText,Object.defineProperties(nt.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 rt,ot,it=new nt;window.ShadyCSS&&(rt=window.ShadyCSS.ApplyShim,ot=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:it,prepareTemplate:function(e,t,n){it.flushCustomStyles(),it.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){it.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){it.flushCustomStyles(),it.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){it.flushCustomStyles(),it.styleSubtree(e,t)},styleElement:function(e){it.flushCustomStyles(),it.styleElement(e)},styleDocument:function(e){it.flushCustomStyles(),it.styleDocument(e)},flushCustomStyles:function(){it.flushCustomStyles()},getComputedStyleValue:function(e,t){return it.getComputedStyleValue(e,t)},nativeCss:S,nativeShadow:m,cssBuild:u,disableRuntime:g},rt&&(window.ShadyCSS.ApplyShim=rt),ot&&(window.ShadyCSS.CustomStyleInterface=ot)}}]);
@@ -1,34 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.4 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{336: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}}}()},337: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)},338: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=_)}()},339: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.1.4 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{156:function(e,t,a){"use strict";a.r(t);var n,i=a(97),r=a(184),c=a(162),l=a(212),o=a(96),s=a(183),d=a(25),p=a(200),u=a(99),b=a(98),h=a(95),w=a(213),v=a(15);function m(e,t,a,n,i,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(n,i)}(n=function*(){var e;yield Promise.all([..."customElements"in window?[]:[a.e(16).then(a.bind(null,180)).then(()=>Promise.all([a.e(14),a.e(8)]).then(a.bind(null,181)))],..."ResizeObserver"in window?[]:[a.e(7).then(a.bind(null,195))]]),yield v.t,yield v.s;var t=document.getElementById("_drawer"),n=document.getElementById("_sidebar"),m=null==n?void 0:n.querySelector(".sidebar-sticky");if(t&&n&&m){null===(e=document.getElementById("_menu"))||void 0===e||e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),t.toggle()}),n.querySelectorAll('a[href^="/"]:not(.external)').forEach(e=>e.addEventListener("click",()=>t.close())),v.p&&t.setAttribute("threshold","0"),v.n||t.setAttribute("mouseevents","");var[y,O]=v.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],j=Object(r.a)(Object(v.g)(window.matchMedia(v.a)),Object(v.g)(window.matchMedia(v.b))).pipe(Object(s.a)({}),Object(d.a)(()=>window.matchMedia(v.b).matches?3:window.matchMedia(v.a).matches?2:1)),g=Object(c.a)(t,"peek-width-change").pipe(Object(d.a)(e=>e.detail)),f=Object(c.a)(window,"resize",{passive:!0}).pipe(Object(s.a)({}),Object(d.a)(v.i)),S=Object(l.a)(g,f).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:L?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",()=>{n.style.willChange="transform",m.style.willChange="opacity"}),t.addEventListener("hy-drawer-transitioned",()=>{n.style.willChange="",m.style.willChange=""});var C=Object(v.h)(),L=t.classList.contains("cover")&&C<=0&&!(history.state&&history.state.closedOnce);L||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,t.removeAttribute("opened"));var _,k=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)(L)),B=L?null:t.getBoundingClientRect().height;t.addEventListener("hy-drawer-init",()=>{t.classList.add("loaded"),function(e){var t=document.getElementById("_hrefSwipeSVG");if(t){var a,n=document.createElement("img");n.id="_swipe",n.src=t.href,n.alt="Swipe image",n.addEventListener("click",()=>e.close()),null===(a=document.getElementById("_sidebar"))||void 0===a||a.appendChild(n)}}(t),B&&C>=B&&window.scrollTo(0,C-B)},{once:!0}),yield Promise.resolve().then(a.bind(null,197)),window._drawer=t,E.pipe(Object(b.a)(j,S),Object(u.a)(e=>((e,t,a)=>{var i=a*e,r=t>=2?1:1-e;v.j?(y[0].x.value=i,O.value=r,n.attributeStyleMap.set("transform",y),m.attributeStyleMap.set("opacity",O)):(n.style.transform="translateX(".concat(i,"px)"),m.style.opacity=r)})(...e))).subscribe(),g.pipe(Object(b.a)(j),Object(d.a)(e=>function(e,t){return t>=2?[0,e]:v.o?[35,150]:[0,150]}(...e)),Object(u.a)(e=>{t.range=e})).subscribe(),Object(c.a)(document,"wheel",{passive:!1}).pipe((_=k,e=>_.pipe(Object(o.a)(t=>t?e:i.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,i){var r=n.apply(e,t);function c(e){m(r,a,i,c,l,"next",e)}function l(e){m(r,a,i,c,l,"throw",e)}c(void 0)}))})()}}]);