jekyll-theme-hydejack 9.1.8 → 9.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +53 -90
- data/_config.yml +1 -4
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/meta.html +8 -0
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/pro/dark-mode-fix.html +7 -0
- data/_includes/scripts/dark-mode-fix.js +10 -0
- data/_includes/scripts/dark-mode-fix.min.js +1 -0
- data/_includes/styles/inline.scss +6 -0
- data/_includes/styles/page-style.scss +9 -2
- data/_includes/styles/style.scss +10 -0
- data/_includes/styles/variables.scss +10 -9
- data/_includes/templates/index.html +3 -0
- data/_includes/templates/pro/dark-mode.html +6 -0
- data/_layouts/compress.html +1 -1
- data/_sass/_mixins.scss +6 -2
- data/_sass/html.scss +0 -2
- data/_sass/hydejack/__link__/_break-layout.scss +12 -2
- data/_sass/hydejack/_break-layout.pre.scss +12 -2
- data/_sass/pooleparty/__link__/_code.scss +1 -0
- data/_sass/pooleparty/_code.pre.scss +1 -0
- data/_sass/pro/_dark-mode-dynamic-syntax.scss +9 -0
- data/_sass/pro/_dark-mode-dynamic.scss +20 -0
- data/_sass/pro/_dark-mode.scss +32 -0
- data/_sass/pro/_syntax-dark.scss +139 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +15 -1
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +48 -6
- data/assets/js/{LEGACY-clap-button-hydejack-9.1.8.js → LEGACY-clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-drawer-hydejack-9.1.8.js → LEGACY-drawer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-fetch-hydejack-9.1.8.js → LEGACY-fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.2.0.js +13 -0
- data/assets/js/{LEGACY-navbar-hydejack-9.1.8.js → LEGACY-navbar-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-push-state-hydejack-9.1.8.js → LEGACY-push-state-hydejack-9.2.0.js} +2 -2
- data/assets/js/{resize-observer-hydejack-9.1.8.js → LEGACY-resize-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.8.js → LEGACY-shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~clap-button-hydejack-9.1.8.js → LEGACY-vendors~clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~drawer-hydejack-9.1.8.js → LEGACY-vendors~drawer-hydejack-9.2.0.js} +4 -4
- data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.8.js → LEGACY-vendors~drawer~push-state-hydejack-9.2.0.js} +13 -13
- data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.8.js → LEGACY-vendors~fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.8.js → LEGACY-vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.8.js → LEGACY-vendors~push-state-hydejack-9.2.0.js} +3 -3
- data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.8.js → LEGACY-vendors~shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.8.js → LEGACY-vendors~webanimations-hydejack-9.2.0.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.8.js → LEGACY-vendors~webcomponents-hydejack-9.2.0.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.8.js → LEGACY-webcomponents-hydejack-9.2.0.js} +2 -2
- data/assets/js/clap-button-hydejack-9.2.0.js +14 -0
- data/assets/js/drawer-hydejack-9.2.0.js +14 -0
- data/assets/js/{shadydom-hydejack-9.1.8.js → fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/hydejack-9.2.0.js +13 -0
- data/assets/js/navbar-hydejack-9.2.0.js +14 -0
- data/assets/js/push-state-hydejack-9.2.0.js +14 -0
- data/assets/js/{LEGACY-resize-observer-hydejack-9.1.8.js → resize-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{fetch-hydejack-9.1.8.js → shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~clap-button-hydejack-9.1.8.js → vendors~clap-button-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~drawer-hydejack-9.1.8.js → vendors~drawer-hydejack-9.2.0.js} +4 -4
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.8.js → vendors~drawer~push-state-hydejack-9.2.0.js} +11 -11
- data/assets/js/{vendors~fetch-hydejack-9.1.8.js → vendors~fetch-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.8.js → vendors~intersection-observer-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~push-state-hydejack-9.1.8.js → vendors~push-state-hydejack-9.2.0.js} +3 -3
- data/assets/js/{vendors~shadydom-hydejack-9.1.8.js → vendors~shadydom-hydejack-9.2.0.js} +2 -2
- data/assets/js/{vendors~webanimations-hydejack-9.1.8.js → vendors~webanimations-hydejack-9.2.0.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.1.8.js → webcomponents-hydejack-9.2.0.js} +2 -2
- data/assets/version.json +2 -2
- metadata +46 -39
- data/_includes/scripts.html +0 -33
- data/assets/js/LEGACY-hydejack-9.1.8.js +0 -13
- data/assets/js/clap-button-hydejack-9.1.8.js +0 -14
- data/assets/js/drawer-hydejack-9.1.8.js +0 -14
- data/assets/js/hydejack-9.1.8.js +0 -13
- data/assets/js/navbar-hydejack-9.1.8.js +0 -14
- data/assets/js/push-state-hydejack-9.1.8.js +0 -14
- /data/assets/css/{hydejack-9.1.8.css → hydejack-9.2.0.css} +0 -0
@@ -9,9 +9,9 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.
|
12
|
+
* Powered by Hydejack v9.2.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{186:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},202:function(e,t,n){(function(e){(function(){"use strict";var t;function n(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function r(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:n(e)}}function o(e){if(!(e instanceof Array)){e=r(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var i=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var n=0;n<t.length;++n){var r=t[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(){}function a(e){return e.__shady||(e.__shady=new s),e.__shady}function l(e){return e&&e.__shady}s.prototype.toJSON=function(){return{}};var d=window.ShadyDOM||{};d.da=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var h,u=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");d.i=!!(u&&u.configurable&&u.get),d.N=d.force||!d.da,d.l=d.noPatch||!1,d.C=d.preferPerformance,d.O="on-demand"===d.l;var c=d.querySelectorImplementation;function _(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function p(e){return(e=l(e))&&void 0!==e.firstChild}function f(e){return e instanceof ShadowRoot}function m(e){return(e=(e=l(e))&&e.root)&&an(e)}h=-1<["native","selectorEngine"].indexOf(c)?c:void 0,d.ga=h,d.V=navigator.userAgent.match("Trident");var y=Element.prototype,v=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector,g=document.createTextNode(""),S=0,E=[];function N(e){E.push(e),g.textContent=S++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw g.textContent=S++,e}})).observe(g,{characterData:!0});var b=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function w(e){for(var t=e.length-1;0<=t;t--){var n=e[t],o=n.getAttribute("id")||n.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=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=r(e),o=n.next();!o.done;o=n.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==t)return o;return null},e}function T(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function O(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function P(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function D(e,t){for(var n in t)n in e&&x(e,n,t[n])}function M(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var o=(t=r(t)).next();!o.done;o=t.next())n.appendChild(R(o.value));return n}function I(e){var t;for(t=void 0===t?1:t;0<t;t--)e=e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,o(t)):e.push(t),e}),[]);return e}var F,j=[];function H(e){F||(F=!0,N(k)),j.push(e)}function k(){F=!1;for(var e=!!j.length;j.length;)j.shift()();return e}function B(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.H=new Set}k.list=j,B.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.H.forEach((function(t){t(e)}))}},B.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 U=/[&\u00A0"]/g,q=/[&\u00A0<>]/g;function V(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function G(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var W=G("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),K=G("style script xmp iframe noembed noframes plaintext noscript".split(" "));function X(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,d=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var h,u="<"+(l=a.localName),c=a.attributes,_=0;h=c[_];_++)u+=" "+h.name+'="'+h.value.replace(U,V)+'"';u+=">",a=W[l]?u:u+X(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&K[l.localName]?a:a.replace(q,V);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 z=d.i,Y={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},J={};function $(e){J[e]=function(t){return t["__shady_native_"+e]}}function Z(e,t){for(var n in P(e,t,"__shady_native_"),t)$(n)}function Q(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?Y[r]||(Y[r]=o.value):$(r))}}var ee=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),te=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),ne=document.implementation.createHTMLDocument("inert");function re(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var oe=["firstElementChild","lastElementChild","children","childElementCount"],ie=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var se=M({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),ae=M({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),le=M({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function de(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}de(se),de(ae),de(le);var he,ue=d.i||!0===d.l,ce=ue?function(){}:function(e){var t=a(e);t.X||(t.X=!0,D(e,le))},_e=ue?function(){}:function(e){var t=a(e);t.W||(t.W=!0,D(e,se),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!d.l||D(e,ae))},pe="__eventWrappers"+Date.now(),fe=(he=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return he.get.call(e)}:null,me=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ye(e){if(null===e||"object"!=typeof e&&"function"!=typeof e)var t=!!e,n=!1;else{t=!!e.capture,n=!!e.once;var r=e.o}return{U:r,capture:t,once:n,T:me?e:t}}var ve={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},ge={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Se(e){return e instanceof Node?e.__shady_getRootNode():e}function Ee(e,t){var n=[],r=e;for(e=Se(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(!f)return e;e=Ee(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Se(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!f(r)||-1<s)return n}var be={get composed(){return void 0===this.__composed&&(fe?this.__composed="focusin"===this.type||"focusout"===this.type||fe(this):!1!==this.isTrusted&&(this.__composed=ve[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Ee(this.__target,this.composed)),this.__composedPath},get target(){return Ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ee(this.__relatedTarget,!0)),Ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.K=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.K=this.__immediatePropagationStopped=!0}},Ce=d.i&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function we(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}Ce&&(Object.defineProperty(be,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(be,"__shady_native_eventPhase",Ce));var Te={focus:!0,blur:!0};function Oe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function xe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!Oe(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}var Pe=new Event("e").hasOwnProperty("currentTarget");function De(e){var t=(e=Pe?Object.create(e):e).composedPath(),n=t.map((function(e){return Ne(e,t)})),r=e.bubbles,o=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var a=t.length-1;0<=a;a--){var l=t[a];if(i=l===n[a]?Event.AT_TARGET:Event.CAPTURING_PHASE,xe(e,l,"capture"),e.K)return}for(a=0;a<t.length;a++){var d=(l=t[a])===n[a];if((d||r)&&(i=d?Event.AT_TARGET:Event.BUBBLING_PHASE,xe(e,l,"bubble"),e.K))break}}finally{Pe||(o?Object.defineProperty(e,"currentTarget",o):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function Me(e,t,n,r){for(var o=0;o<e.length;o++){var i=e[o],s=i.type,a=i.capture;if(t===i.node&&n===s&&r===a)return o}return-1}function Ae(e){return k(),!d.C&&this instanceof Node&&!b(document,this)?(e.__target||Fe(e,this),De(e)):this.__shady_native_dispatchEvent(e)}function Re(e,t,n){var r=this,o=ye(n),i=o.capture,s=o.once,a=o.U;if(o=o.T,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(ge[e])return this.__shady_native_addEventListener(e,t,o);var d=a||this;if(a=t[pe]){if(-1<Me(a,d,e,i))return}else t[pe]=[];a=function(o){if(s&&r.__shady_removeEventListener(e,t,n),o.__target||Fe(o),d!==r){var a=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return d},configurable:!0});var h=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!f(d)&&"slot"!==d.localName||-1!=o.composedPath().indexOf(d))&&(o.composed||-1<o.composedPath().indexOf(d)))if(Oe(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===d||d instanceof Window){var u="function"===l?t.call(d,o):t.handleEvent&&t.handleEvent(o);return d!==r&&(a?(Object.defineProperty(o,"currentTarget",a),a=null):delete o.currentTarget,h?(Object.defineProperty(o,"eventPhase",h),h=null):delete o.eventPhase),u}},t[pe].push({node:d,type:e,capture:i,fa:a}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(a),Te[e]||this.__shady_native_addEventListener(e,a,o)}}}function Le(e,t,n){if(t){var r=ye(n);n=r.capture;var o=r.U;if(r=r.T,ge[e])return this.__shady_native_removeEventListener(e,t,r);var i=o||this;o=void 0;var s=null;try{s=t[pe]}catch(e){}s&&(-1<(i=Me(s,i,e,n))&&(o=s.splice(i,1)[0].fa,s.length||(t[pe]=void 0))),this.__shady_native_removeEventListener(e,o||t,r),o&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(o))&&e.splice(t,1))}}var Ie=M(be);function Fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,d.i){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,P(n,Ie),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else P(e,Ie)}var je=we(Event),He=we(CustomEvent),ke=we(MouseEvent);var Be=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),Ue=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function qe(e){return{set:function(t){var n=a(this),r=e.substring(2);n.m||(n.m={}),n.m[e]&&this.removeEventListener(r,n.m[e]),this.__shady_addEventListener(r,t),n.m[e]=t},get:function(){var t=l(this);return t&&t.m&&t.m[e]},configurable:!0}}function Ve(e,t){return{index:e,D:[],G:t}}function Ge(e,t,n,r){var o=0,i=0,s=0,a=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var d=n.length,h=0;h<l-s&&We(e[--a],n[--d]);)h++;a=h}if(i+=s,r-=a,0==(t-=a)-(o+=s)&&0==r-i)return[];if(o==t){for(t=Ve(o,0);i<r;)t.D.push(n[i++]);return[t]}if(i==r)return[Ve(o,t-o)];for(r=r-(s=i)+1,a=t-(l=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(a),t[d][0]=d;for(d=0;d<a;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<a;h++)if(e[l+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var u=t[d-1][h]+1,c=t[d][h-1]+1;t[d][h]=u<c?u:c}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(u=(d=t[l-1][s])<(h=t[l][s-1])?d<a?d:a:h<a?h:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):u==d?(e.push(3),l--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=Ve(o,0)),t.G++,o++,t.D.push(n[i]),i++;break;case 2:t||(t=Ve(o,0)),t.G++,o++;break;case 3:t||(t=Ve(o,0)),t.D.push(n[i]),i++}return t&&l.push(t),l}function We(e,t){return e===t}var Ke=M({dispatchEvent:Ae,addEventListener:Re,removeEventListener:Le}),Xe=null;function ze(){return Xe||(Xe=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Xe||null}function Ye(e,t,n){var r=ze();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Je(e,t){var n=ze();n&&n.unscopeNode(e,t)}function $e(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=ze();return t?t.currentScopeForNode(e):""}function Ze(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&&Ze(e,t)}var Qe=window.document,et=d.C,tt=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),nt=tt&&tt.get;function rt(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function ot(e,t,n){if(e=(e=l(e))&&e.B){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.g||(e.g=!0,N((function(){e.flush()})))}(e)}}var it=M({get parentNode(){var e=l(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=l(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=l(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=l(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=l(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=l(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=l(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(nt&&nt.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||b(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(f(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)&&d.i){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&rt(this),this.__shady_native_textContent=e}else rt(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!==Qe&&e.ownerDocument!==Qe)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=l(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;ot(this,e);var r=[],i=(n=un(this))?n.host.localName:$e(this),s=e.__shady_parentNode;if(s){var d=$e(e),h=!!n||!un(e)||et&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,h)}s=!0;var u=(!et||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=ze();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,i),c=n&&!e.__noInsertionPoint&&(!et||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(d=d||$e(e)),Ze(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=d;ze()&&(t&&Je(e,t),(t=ze())&&t.scopeNode(e,i))}}))),r.length&&(nn(n),n.j.push.apply(n.j,o(r)),$t(n)),p(this)&&(function(e,t,n){Bt(t,2);var r=a(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)Ut(e,t,r,n);else Ut(e,t,r,n)}(e,this,t),(h=l(this)).root?(s=!1,m(this)&&$t(h.root)):n&&"slot"===this.localName&&(s=!1,$t(n))),s?(n=f(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=l(t);(r=r&&r.u)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!f(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Qe)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);ot(this,null,e);var n=un(e),r=n&&function(e,t){if(e.g){rn(e);var n,r=e.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.g.indexOf(s);if(0<=a&&(e.g.splice(a,1),(a=l(s.__shady_parentNode))&&a.F&&a.F--),i--,s=l(s),a=s.u)for(var d=0;d<a.length;d++){var h=a[d],u=h.__shady_native_parentNode;u&&u.__shady_native_removeChild(h)}s.u=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=l(this);if(p(this)&&(function(e,t){var n=a(e);t=a(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(a(e).nextSibling=r),r&&(a(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){$t(o.root);var i=!0}if(ze()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=$e(e);Ze(e,(function(e){Je(e,s)}))}return function e(t){var n=l(t);if(n&&void 0!==n.J)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=l(t))&&(t.J=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&$t(n)),i||(i=f(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=a(this),n=t.J;return void 0===n&&(f(this)?(n=this,t.J=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.J=n))),n}},contains:function(e){return C(this,e)}}),st=M({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Zt(e),(e=l(this))&&e.assignedSlot||null}}),at=new Map;function lt(e,t,n,r){for(r=void 0===r||r;t<e.length;t++)if("\\"===e[t]&&t<e.length-1&&"\n"!==e[t+1])t++;else{if(-1!==n.indexOf(e[t]))return t;if(r&&at.has(e[t])){var o=at.get(e[t]);t=lt(e,t+1,[o.end],o.I)}}return e.length}function dt(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,d=s(i=t);d&&l.push(i),a&&a(d)?i=d:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}[["(",{end:")",I:!0}],["[",{end:"]",I:!0}],['"',{end:'"',I:!1}],["'",{end:"'",I:!1}]].forEach((function(e){var t=r(e);e=t.next().value,t=t.next().value,at.set(e,t)}));var ht={get firstElementChild(){var e=l(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=l(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)?w(Array.prototype.filter.call(O(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}},ut=M((ht.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),null)},ht.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),this.__shady_firstChild)},ht.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,o(t)),null)},ht));function ct(e,t){function n(t,n){return(t===e||-1===n.indexOf(":scope"))&&v.call(t,n)}var o=function(e){function t(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({S:r.filter((function(e,t){return 0==t%2})),ca:r.filter((function(e,t){return 1==t%2}))}),r.length=0}}for(var n=[],r=[],o=0;o<e.length;){var i=r[r.length-1],s=lt(e,o,[","," ",">","+","~"]),a=s===o?e[o]:e.substring(o,s);","===a?t():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===a||(" "===i&&-1!==[">","+","~"].indexOf(a)?r[r.length-1]=a:r.push(a)),o=s+(s===o?1:0)}return t(),n}(t);if(1>o.length)return[];for(t=I(dt(e,(function(){return!0})).map((function(e){return I(o.map((function(t){var r=t.S,o=r.length-1;return n(e,r[o])?{target:e,v:t,A:e,index:o}:[]})))})));t.some((function(e){return 0<e.index}));)t=I(t.map((function(e){if(0>=e.index)return e;var t=e.target,r=e.A,o=e.v;e=e.index-1;var i=o.ca[e],s=o.S[e];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}if(">"===i)return n(r=r.__shady_parentElement,s)?{target:t,v:o,A:r,index:e}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,s)?{target:t,v:o,A:r,index:e}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(e){for(var t=[],n=new Set,o=(e=r(e)).next();!o.done;o=e.next())o=o.value,n.has(o)||(t.push(o),n.add(o));return t}(t.map((function(e){return e.target})))}var _t=d.querySelectorImplementation,pt=M({querySelector:function(e){if("native"===_t){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode(),o=(t=r(t)).next();!o.done;o=t.next())if((o=o.value).__shady_getRootNode()==n)return o;return null}if("selectorEngine"===_t)return ct(this,e)[0]||null;if(void 0===_t)return dt(this,(function(t){return v.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")},querySelectorAll:function(e,t){if(t||"native"===_t){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return w(t.filter((function(e){return e.__shady_getRootNode()==n})))}if("selectorEngine"===_t)return w(ct(this,e));if(void 0===_t)return w(dt(this,(function(t){return v.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")}}),ft=d.C&&!d.l?A({},ut):ut;A(ut,pt);var mt=M({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,o(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,o(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,o(t)),r)}}}),yt=window.document;function vt(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&$t(l(e).root);else if("slot"===e.localName&&"name"===t&&(t=un(e))){if(t.g){rn(t);var n=e.Y,r=on(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=sn(n))}}$t(t)}}var gt=M({get previousElementSibling(){var e=l(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=l(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!==yt?this.__shady_native_setAttribute(e,t):Ye(this,e,t)||(this.__shady_native_setAttribute(e,t),vt(this,e))},removeAttribute:function(e){this.ownerDocument!==yt?this.__shady_native_removeAttribute(e):Ye(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),vt(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==yt?this.__shady_native_toggleAttribute(e,t):Ye(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),vt(this,e),t)}});d.C||Be.forEach((function(e){gt[e]=qe(e)}));var St=M({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!d.V){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Jt(t,this,e),qt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;nn(n),n.j.push.apply(n.j,o(e)),$t(t)}t.host.__shady_native_appendChild(t)}else t=new Yt(Kt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=l(this);return e&&e.ea||null}});A(gt,St);var Et=document.implementation.createHTMLDocument("inert"),Nt=M({get innerHTML(){return p(this)?X("template"===this.localName?this.content:this,O):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{rt(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Et.namespaceURI?Et.createElementNS(this.namespaceURI,t):Et.createElement(t),d.i?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),bt=M({blur:function(){var e=l(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});d.C||Ue.forEach((function(e){bt[e]=qe(e)}));var Ct=M({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&f(t)&&Zt(t),(t=l(this))&&(e&&e.flatten?t.u:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Re.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Le.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_removeEventListener(e,t,n)}}}),wt=M({getElementById:function(e){return""===e?null:dt(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function Tt(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}var Ot="__shady_native_"+_(),xt=M({get activeElement(){var e=d.i?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!f(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=un(e);t&&t!==this;)t=un(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Ot](e,t),this===document&&d.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);f(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(Tt(t,e[r]));var o=[];return n.forEach((function(e){return o.push(e)})),o},elementFromPoint:function(e,t){return this===document&&d.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),Pt=window.document,Dt=M({importNode:function(e,t){if(e.ownerDocument!==Pt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Mt=M({dispatchEvent:Ae,addEventListener:Re.bind(window),removeEventListener:Le.bind(window)}),At={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(At.parentElement=it.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(At.contains=it.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(At.children=ut.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(At.innerHTML=Nt.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(At.className=gt.className);var Rt={EventTarget:[Ke],Node:[it,window.EventTarget?null:Ke],Text:[st],Comment:[st],CDATASection:[st],ProcessingInstruction:[st],Element:[gt,ut,mt,st,!d.i||"innerHTML"in Element.prototype?Nt:null,window.HTMLSlotElement?null:Ct],HTMLElement:[bt,At],HTMLSlotElement:[Ct],DocumentFragment:[ft,wt],Document:[Dt,ft,wt,xt],Window:[Mt],CharacterData:[mt],XMLHttpRequest:[window.EventTarget?null:Ke]},Lt=d.i?null:["innerHTML","textContent"];function It(e,t,n,r){t.forEach((function(t){return e&&t&&P(e,t,n,r)}))}function Ft(e){var t,n=e?null:Lt;for(t in Rt)It(window[t]&&window[t].prototype,Rt[t],e,n)}function jt(e){return e.__shady_protoIsPatched=!0,It(e,Rt.EventTarget),It(e,Rt.Node),It(e,Rt.Element),It(e,Rt.HTMLElement),It(e,Rt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,It(n,Rt.EventTarget),It(n,Rt.Node),Rt[e]&&It(n,Rt[e]),t.prototype.__shady_patchedProto=n}));var Ht=d.O,kt=d.i;function Bt(e,t){if(Ht&&!e.__shady_protoIsPatched&&!f(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(jt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}kt||(1===t?ce(e):2===t&&_e(e))}function Ut(e,t,n,r){Bt(e,1),r=r||null;var o=a(e),i=r?a(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=l(o.previousSibling))&&(i.nextSibling=e),(i=l(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 qt(e,t){var n=a(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,Bt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=a(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Bt(n,1)}}}var Vt=M({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_removeEventListener(e,t,n)}});function Gt(e,t){P(e,Vt,t),P(e,xt,t),P(e,Nt,t),P(e,ut,t),d.l&&!t?(P(e,it,t),P(e,wt,t)):d.i||(P(e,le),P(e,se),P(e,ae))}var Wt,Kt={},Xt=d.deferConnectionCallbacks&&"loading"===document.readyState;function zt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Yt(e,t,n){if(e!==Kt)throw new TypeError("Illegal constructor");this.g=null,Jt(this,t,n)}function Jt(e,t,n){if(e.host=t,e.mode=n&&n.mode,qt(e.host),(t=a(e.host)).root=e,t.ea="closed"!==e.mode?e:null,(t=a(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,d.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else $t(e)}function $t(e){e.s||(e.s=!0,H((function(){return Zt(e)})))}function Zt(e){var t;if(t=e.s){for(var n;e;)e.s&&(n=e),f(e=(t=e).host.__shady_getRootNode())&&(t=l(t.host))&&0<t.F||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Qt(e,t,n){var r=a(t),o=r.L;r.L=null,n||(n=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),n?(a(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(a(r.assignedSlot).M=!0)}function en(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=l(o).assignedNodes;i&&i.length&&en(e,t,i)}else t.push(n[r])}function tn(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=l(t)).assignedSlot&&tn(e,t.assignedSlot)}function nn(e){e.j=e.j||[],e.g=e.g||[],e.h=e.h||{}}function rn(e){if(e.j&&e.j.length){for(var t,n=e.j,r=0;r<n.length;r++){var o=n[r];qt(o);var i=o.__shady_parentNode;qt(i),(i=l(i)).F=(i.F||0)+1,i=on(o),e.h[i]?((t=t||{})[i]=!0,e.h[i].push(o)):e.h[i]=[o],e.g.push(o)}if(t)for(var s in t)e.h[s]=sn(e.h[s]);e.j=[]}}function on(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Y=t}function sn(e){return e.sort((function(e,t){e=zt(e);for(var n=zt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=O(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function an(e){return rn(e),!(!e.g||!e.g.length)}if(Yt.prototype._renderSelf=function(){var e=Xt;if(Xt=!0,this.s=!1,this.g){rn(this);for(var t,n=0;n<this.g.length;n++){var r=l(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.u=[],r.R=o)for(r=0;r<o.length;r++){var i=l(o[r]);i.L=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Qt(this,n);for(n=0;n<this.g.length;n++){if(!(o=l(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Qt(this,r,t);if((r=(r=l(t.__shady_parentNode))&&r.root)&&(an(r)||r.s)&&r._renderSelf(),en(this,o.u,o.assignedNodes),r=o.R){for(i=0;i<r.length;i++)l(r[i]).L=null;o.R=null,r.length>o.assignedNodes.length&&(o.M=!0)}o.M&&(o.M=!1,tn(this,t))}for(t=this.g,n=[],o=0;o<t.length;o++)(i=l(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=l(i).u,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=T(o),s=Ge(r,r.length,i,i.length);for(var h=a=0,u=void 0;a<s.length&&(u=s[a]);a++){for(var c=0,_=void 0;c<u.D.length&&(_=u.D[c]);c++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(u.index+h,1);h-=u.G}for(h=0,u=void 0;h<s.length&&(u=s[h]);h++)for(a=i[u.index],c=u.index;c<u.index+u.G;c++)_=r[c],o.__shady_native_insertBefore(_,a),i.splice(c,0,_)}}if(!d.preferPerformance&&!this.P)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=l(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.P=!0,Xt=e,Wt&&Wt()},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})}))}(Yt.prototype),window.customElements&&window.customElements.define&&d.N&&!d.preferPerformance){var ln=new Map;Wt=function(){var e=[];ln.forEach((function(t,n){e.push([n,t])})),ln.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Xt&&document.addEventListener("readystatechange",(function(){Xt=!1,Wt()}),{once:!0});var dn=window.customElements.define,hn=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;dn.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(){Xt?ln.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Xt?this.isConnected||ln.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=hn,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:hn,configurable:!0})}function un(e){if(f(e=e.__shady_getRootNode()))return e}function cn(e){this.node=e}function _n(e){Object.defineProperty(cn.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(t=cn.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},t.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},t.appendChild=function(e){return this.node.__shady_appendChild(e)},t.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},t.removeChild=function(e){return this.node.__shady_removeChild(e)},t.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},t.cloneNode=function(e){return this.node.__shady_cloneNode(e)},t.getRootNode=function(e){return this.node.__shady_getRootNode(e)},t.contains=function(e){return this.node.__shady_contains(e)},t.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},t.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},t.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},t.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},t.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},t.attachShadow=function(e){return this.node.__shady_attachShadow(e)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},t.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},t.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},t.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},t.querySelector=function(e){return this.node.__shady_querySelector(e)},t.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},t.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},t.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,o(t))},t.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,o(t))},t.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,o(t))},t.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,o(t))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,o(t))},i.Object.defineProperties(cn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(f(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(f(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),Be.forEach((function(e){return _n(e)})),Ue.forEach((function(e){return _n(e)}));var pn=new WeakMap;function fn(e){if(f(e)||e instanceof cn)return e;var t=pn.get(e);return t||(t=new cn(e),pn.set(e,t)),t}if(d.N){var mn=d.i?function(e){return e}:function(e){return _e(e),ce(e),e};window.ShadyDOM={inUse:d.N,patch:mn,isShadyRoot:f,enqueue:H,flush:k,flushInitial:function(e){!e.P&&e.s&&Zt(e)},settings:d,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=a(e);n.B||(n.B=new B),n.B.H.add(t);var r=n.B;return{Z:t,ba:r,aa:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.ba;t&&(t.H.delete(e.Z),t.H.size||(a(e.aa).B=null))},deferConnectionCallbacks:d.deferConnectionCallbacks,preferPerformance:d.preferPerformance,handlesDynamicScoping:!0,wrap:d.l?fn:mn,wrapIfNeeded:!0===d.l?fn:function(e){return e},Wrapper:cn,composedPath:function(e){return e.__composedPath||(e.__composedPath=Ee(e.target,!0)),e.__composedPath},noPatch:d.l,patchOnDemand:d.O,nativeMethods:Y,nativeTree:J,patchElementProto:jt,querySelectorImplementation:d.querySelectorImplementation},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(Q(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&Q(Window.prototype,e)):(Q(Node.prototype,e),Q(Window.prototype,e),Q(XMLHttpRequest.prototype,e)),z?Q(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Z(Node.prototype,{parentNode:{get:function(){return ee.currentNode=this,ee.parentNode()}},firstChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},previousSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},childNodes:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return e}},parentElement:{get:function(){return te.currentNode=this,te.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:re(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Q(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Q(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return te.currentNode=this,te.firstChild()}},lastElementChild:{get:function(){return te.currentNode=this,te.lastChild()}},children:{get:function(){var e=[];te.currentNode=this;for(var t=te.firstChild();t;)e.push(t),t=te.nextSibling();return w(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},z?(Q(Element.prototype,oe),Q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Q(HTMLElement.prototype,["children","innerHTML","className"])):(Z(Element.prototype,e),Z(Element.prototype,{previousElementSibling:{get:function(){return te.currentNode=this,te.previousSibling()}},nextElementSibling:{get:function(){return te.currentNode=this,te.nextSibling()}},innerHTML:{get:function(){return X(this,T)},set:function(e){var t="template"===this.localName?this.content:this;re(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==ne.namespaceURI?ne.createElementNS(this.namespaceURI,n):ne.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)}}})),Q(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),Q(Element.prototype,ie),Q(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Q(window.HTMLTemplateElement.prototype,["innerHTML"]),z?Q(DocumentFragment.prototype,oe):Z(DocumentFragment.prototype,e),Q(DocumentFragment.prototype,ie),z?(Q(Document.prototype,oe),Q(Document.prototype,["activeElement"])):Z(Document.prototype,e),Q(Document.prototype,["importNode","getElementById","elementFromPoint",_()]),Q(Document.prototype,ie)}(),Ft("__shady_"),Object.defineProperty(document,"_activeElement",xt.activeElement),P(Window.prototype,Mt,"__shady_"),d.l?d.O&&P(Element.prototype,St):(Ft(),function(){if(!fe&&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 Te)window.__shady_native_addEventListener(e,(function(e){e.__target||(Fe(e),De(e))}),!0)}(),window.Event=je,window.CustomEvent=He,window.MouseEvent=ke,window.ShadowRoot=Yt}}).call(this)}).call(this,n(186))},206:function(e,t,n){"use strict";
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{187:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},203:function(e,t,n){(function(e){(function(){"use strict";var t;function n(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function r(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:n(e)}}function o(e){if(!(e instanceof Array)){e=r(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var i=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e];for(var n=0;n<t.length;++n){var r=t[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(){}function a(e){return e.__shady||(e.__shady=new s),e.__shady}function l(e){return e&&e.__shady}s.prototype.toJSON=function(){return{}};var d=window.ShadyDOM||{};d.da=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var h,u=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");d.i=!!(u&&u.configurable&&u.get),d.N=d.force||!d.da,d.l=d.noPatch||!1,d.C=d.preferPerformance,d.O="on-demand"===d.l;var c=d.querySelectorImplementation;function _(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function p(e){return(e=l(e))&&void 0!==e.firstChild}function f(e){return e instanceof ShadowRoot}function m(e){return(e=(e=l(e))&&e.root)&&an(e)}h=-1<["native","selectorEngine"].indexOf(c)?c:void 0,d.ga=h,d.V=navigator.userAgent.match("Trident");var y=Element.prototype,v=y.matches||y.matchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||y.webkitMatchesSelector,g=document.createTextNode(""),S=0,E=[];function N(e){E.push(e),g.textContent=S++}new MutationObserver((function(){for(;E.length;)try{E.shift()()}catch(e){throw g.textContent=S++,e}})).observe(g,{characterData:!0});var b=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function C(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function w(e){for(var t=e.length-1;0<=t;t--){var n=e[t],o=n.getAttribute("id")||n.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=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=r(e),o=n.next();!o.done;o=n.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==t)return o;return null},e}function T(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function O(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function x(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function P(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||x(e,n+o,t[o])}function D(e,t){for(var n in t)n in e&&x(e,n,t[n])}function M(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t}function A(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function R(e){return e instanceof Node?e:document.createTextNode(""+e)}function L(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(1===t.length)return R(t[0]);n=document.createDocumentFragment();for(var o=(t=r(t)).next();!o.done;o=t.next())n.appendChild(R(o.value));return n}function I(e){var t;for(t=void 0===t?1:t;0<t;t--)e=e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,o(t)):e.push(t),e}),[]);return e}var F,j=[];function H(e){F||(F=!0,N(k)),j.push(e)}function k(){F=!1;for(var e=!!j.length;j.length;)j.shift()();return e}function B(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.H=new Set}k.list=j,B.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.H.forEach((function(t){t(e)}))}},B.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 U=/[&\u00A0"]/g,q=/[&\u00A0<>]/g;function V(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function G(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var W=G("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),K=G("style script xmp iframe noembed noframes plaintext noscript".split(" "));function X(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,d=t;switch(a.nodeType){case Node.ELEMENT_NODE:for(var h,u="<"+(l=a.localName),c=a.attributes,_=0;h=c[_];_++)u+=" "+h.name+'="'+h.value.replace(U,V)+'"';u+=">",a=W[l]?u:u+X(a,d)+"</"+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&K[l.localName]?a:a.replace(q,V);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 z=d.i,Y={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},J={};function $(e){J[e]=function(t){return t["__shady_native_"+e]}}function Z(e,t){for(var n in P(e,t,"__shady_native_"),t)$(n)}function Q(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?Y[r]||(Y[r]=o.value):$(r))}}var ee=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),te=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),ne=document.implementation.createHTMLDocument("inert");function re(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var oe=["firstElementChild","lastElementChild","children","childElementCount"],ie=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var se=M({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),ae=M({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),le=M({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function de(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}de(se),de(ae),de(le);var he,ue=d.i||!0===d.l,ce=ue?function(){}:function(e){var t=a(e);t.X||(t.X=!0,D(e,le))},_e=ue?function(){}:function(e){var t=a(e);t.W||(t.W=!0,D(e,se),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!d.l||D(e,ae))},pe="__eventWrappers"+Date.now(),fe=(he=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return he.get.call(e)}:null,me=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ye(e){if(null===e||"object"!=typeof e&&"function"!=typeof e)var t=!!e,n=!1;else{t=!!e.capture,n=!!e.once;var r=e.o}return{U:r,capture:t,once:n,T:me?e:t}}var ve={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},ge={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Se(e){return e instanceof Node?e.__shady_getRootNode():e}function Ee(e,t){var n=[],r=e;for(e=Se(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(!f)return e;e=Ee(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=Se(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!f(r)||-1<s)return n}var be={get composed(){return void 0===this.__composed&&(fe?this.__composed="focusin"===this.type||"focusout"===this.type||fe(this):!1!==this.isTrusted&&(this.__composed=ve[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Ee(this.__target,this.composed)),this.__composedPath},get target(){return Ne(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ee(this.__relatedTarget,!0)),Ne(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.K=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.K=this.__immediatePropagationStopped=!0}},Ce=d.i&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function we(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}Ce&&(Object.defineProperty(be,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(be,"__shady_native_eventPhase",Ce));var Te={focus:!0,blur:!0};function Oe(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function xe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!Oe(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}var Pe=new Event("e").hasOwnProperty("currentTarget");function De(e){var t=(e=Pe?Object.create(e):e).composedPath(),n=t.map((function(e){return Ne(e,t)})),r=e.bubbles,o=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var a=t.length-1;0<=a;a--){var l=t[a];if(i=l===n[a]?Event.AT_TARGET:Event.CAPTURING_PHASE,xe(e,l,"capture"),e.K)return}for(a=0;a<t.length;a++){var d=(l=t[a])===n[a];if((d||r)&&(i=d?Event.AT_TARGET:Event.BUBBLING_PHASE,xe(e,l,"bubble"),e.K))break}}finally{Pe||(o?Object.defineProperty(e,"currentTarget",o):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function Me(e,t,n,r){for(var o=0;o<e.length;o++){var i=e[o],s=i.type,a=i.capture;if(t===i.node&&n===s&&r===a)return o}return-1}function Ae(e){return k(),!d.C&&this instanceof Node&&!b(document,this)?(e.__target||Fe(e,this),De(e)):this.__shady_native_dispatchEvent(e)}function Re(e,t,n){var r=this,o=ye(n),i=o.capture,s=o.once,a=o.U;if(o=o.T,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(ge[e])return this.__shady_native_addEventListener(e,t,o);var d=a||this;if(a=t[pe]){if(-1<Me(a,d,e,i))return}else t[pe]=[];a=function(o){if(s&&r.__shady_removeEventListener(e,t,n),o.__target||Fe(o),d!==r){var a=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return d},configurable:!0});var h=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!f(d)&&"slot"!==d.localName||-1!=o.composedPath().indexOf(d))&&(o.composed||-1<o.composedPath().indexOf(d)))if(Oe(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===d||d instanceof Window){var u="function"===l?t.call(d,o):t.handleEvent&&t.handleEvent(o);return d!==r&&(a?(Object.defineProperty(o,"currentTarget",a),a=null):delete o.currentTarget,h?(Object.defineProperty(o,"eventPhase",h),h=null):delete o.eventPhase),u}},t[pe].push({node:d,type:e,capture:i,fa:a}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(a),Te[e]||this.__shady_native_addEventListener(e,a,o)}}}function Le(e,t,n){if(t){var r=ye(n);n=r.capture;var o=r.U;if(r=r.T,ge[e])return this.__shady_native_removeEventListener(e,t,r);var i=o||this;o=void 0;var s=null;try{s=t[pe]}catch(e){}s&&(-1<(i=Me(s,i,e,n))&&(o=s.splice(i,1)[0].fa,s.length||(t[pe]=void 0))),this.__shady_native_removeEventListener(e,o||t,r),o&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(o))&&e.splice(t,1))}}var Ie=M(be);function Fe(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,d.i){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,P(n,Ie),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else P(e,Ie)}var je=we(Event),He=we(CustomEvent),ke=we(MouseEvent);var Be=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),Ue=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function qe(e){return{set:function(t){var n=a(this),r=e.substring(2);n.m||(n.m={}),n.m[e]&&this.removeEventListener(r,n.m[e]),this.__shady_addEventListener(r,t),n.m[e]=t},get:function(){var t=l(this);return t&&t.m&&t.m[e]},configurable:!0}}function Ve(e,t){return{index:e,D:[],G:t}}function Ge(e,t,n,r){var o=0,i=0,s=0,a=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(s=0;s<l;s++)if(e[s]!==n[s])break e;s=l}if(t==e.length&&r==n.length){a=e.length;for(var d=n.length,h=0;h<l-s&&We(e[--a],n[--d]);)h++;a=h}if(i+=s,r-=a,0==(t-=a)-(o+=s)&&0==r-i)return[];if(o==t){for(t=Ve(o,0);i<r;)t.D.push(n[i++]);return[t]}if(i==r)return[Ve(o,t-o)];for(r=r-(s=i)+1,a=t-(l=o)+1,t=Array(r),d=0;d<r;d++)t[d]=Array(a),t[d][0]=d;for(d=0;d<a;d++)t[0][d]=d;for(d=1;d<r;d++)for(h=1;h<a;h++)if(e[l+h-1]===n[s+d-1])t[d][h]=t[d-1][h-1];else{var u=t[d-1][h]+1,c=t[d][h-1]+1;t[d][h]=u<c?u:c}for(l=t.length-1,s=t[0].length-1,r=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(a=t[l-1][s-1],(u=(d=t[l-1][s])<(h=t[l][s-1])?d<a?d:a:h<a?h:a)==a?(a==r?e.push(0):(e.push(1),r=a),l--,s--):u==d?(e.push(3),l--,r=d):(e.push(2),s--,r=h));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=Ve(o,0)),t.G++,o++,t.D.push(n[i]),i++;break;case 2:t||(t=Ve(o,0)),t.G++,o++;break;case 3:t||(t=Ve(o,0)),t.D.push(n[i]),i++}return t&&l.push(t),l}function We(e,t){return e===t}var Ke=M({dispatchEvent:Ae,addEventListener:Re,removeEventListener:Le}),Xe=null;function ze(){return Xe||(Xe=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Xe||null}function Ye(e,t,n){var r=ze();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Je(e,t){var n=ze();n&&n.unscopeNode(e,t)}function $e(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=ze();return t?t.currentScopeForNode(e):""}function Ze(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&&Ze(e,t)}var Qe=window.document,et=d.C,tt=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),nt=tt&&tt.get;function rt(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function ot(e,t,n){if(e=(e=l(e))&&e.B){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.g||(e.g=!0,N((function(){e.flush()})))}(e)}}var it=M({get parentNode(){var e=l(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=l(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=l(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=l(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=l(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(p(this)){var e=l(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=l(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(nt&&nt.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||b(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(f(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)&&d.i){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&rt(this),this.__shady_native_textContent=e}else rt(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!==Qe&&e.ownerDocument!==Qe)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=l(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;ot(this,e);var r=[],i=(n=un(this))?n.host.localName:$e(this),s=e.__shady_parentNode;if(s){var d=$e(e),h=!!n||!un(e)||et&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,h)}s=!0;var u=(!et||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=ze();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,i),c=n&&!e.__noInsertionPoint&&(!et||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||u)&&(u&&(d=d||$e(e)),Ze(e,(function(e){if(c&&"slot"===e.localName&&r.push(e),u){var t=d;ze()&&(t&&Je(e,t),(t=ze())&&t.scopeNode(e,i))}}))),r.length&&(nn(n),n.j.push.apply(n.j,o(r)),$t(n)),p(this)&&(function(e,t,n){Bt(t,2);var r=a(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)Ut(e,t,r,n);else Ut(e,t,r,n)}(e,this,t),(h=l(this)).root?(s=!1,m(this)&&$t(h.root)):n&&"slot"===this.localName&&(s=!1,$t(n))),s?(n=f(this)?this.host:this,t?(t=function e(t){var n=t;if(t&&"slot"===t.localName){var r=l(t);(r=r&&r.u)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!f(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Qe)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);ot(this,null,e);var n=un(e),r=n&&function(e,t){if(e.g){rn(e);var n,r=e.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(C(t,s)){o.splice(i,1);var a=e.g.indexOf(s);if(0<=a&&(e.g.splice(a,1),(a=l(s.__shady_parentNode))&&a.F&&a.F--),i--,s=l(s),a=s.u)for(var d=0;d<a.length;d++){var h=a[d],u=h.__shady_native_parentNode;u&&u.__shady_native_removeChild(h)}s.u=[],s.assignedNodes=[],a=!0}}return a}}(n,e),o=l(this);if(p(this)&&(function(e,t){var n=a(e);t=a(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(a(e).nextSibling=r),r&&(a(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),m(this))){$t(o.root);var i=!0}if(ze()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var s=$e(e);Ze(e,(function(e){Je(e,s)}))}return function e(t){var n=l(t);if(n&&void 0!==n.J)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=l(t))&&(t.J=void 0)}(e),n&&((t="slot"===this.localName)&&(i=!0),(r||t)&&$t(n)),i||(i=f(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=a(this),n=t.J;return void 0===n&&(f(this)?(n=this,t.J=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.J=n))),n}},contains:function(e){return C(this,e)}}),st=M({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Zt(e),(e=l(this))&&e.assignedSlot||null}}),at=new Map;function lt(e,t,n,r){for(r=void 0===r||r;t<e.length;t++)if("\\"===e[t]&&t<e.length-1&&"\n"!==e[t+1])t++;else{if(-1!==n.indexOf(e[t]))return t;if(r&&at.has(e[t])){var o=at.get(e[t]);t=lt(e,t+1,[o.end],o.I)}}return e.length}function dt(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,d=s(i=t);d&&l.push(i),a&&a(d)?i=d:(e(i,s,a,l),i=void 0)}if(i)break}}(e,t,n,r),r}[["(",{end:")",I:!0}],["[",{end:"]",I:!0}],['"',{end:'"',I:!1}],["'",{end:"'",I:!1}]].forEach((function(e){var t=r(e);e=t.next().value,t=t.next().value,at.set(e,t)}));var ht={get firstElementChild(){var e=l(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=l(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)?w(Array.prototype.filter.call(O(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}},ut=M((ht.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),null)},ht.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];this.__shady_insertBefore(L.apply(null,o(t)),this.__shady_firstChild)},ht.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,o(t)),null)},ht));function ct(e,t){function n(t,n){return(t===e||-1===n.indexOf(":scope"))&&v.call(t,n)}var o=function(e){function t(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({S:r.filter((function(e,t){return 0==t%2})),ca:r.filter((function(e,t){return 1==t%2}))}),r.length=0}}for(var n=[],r=[],o=0;o<e.length;){var i=r[r.length-1],s=lt(e,o,[","," ",">","+","~"]),a=s===o?e[o]:e.substring(o,s);","===a?t():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===a||(" "===i&&-1!==[">","+","~"].indexOf(a)?r[r.length-1]=a:r.push(a)),o=s+(s===o?1:0)}return t(),n}(t);if(1>o.length)return[];for(t=I(dt(e,(function(){return!0})).map((function(e){return I(o.map((function(t){var r=t.S,o=r.length-1;return n(e,r[o])?{target:e,v:t,A:e,index:o}:[]})))})));t.some((function(e){return 0<e.index}));)t=I(t.map((function(e){if(0>=e.index)return e;var t=e.target,r=e.A,o=e.v;e=e.index-1;var i=o.ca[e],s=o.S[e];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}if(">"===i)return n(r=r.__shady_parentElement,s)?{target:t,v:o,A:r,index:e}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,s)?{target:t,v:o,A:r,index:e}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(e){for(var t=[],n=new Set,o=(e=r(e)).next();!o.done;o=e.next())o=o.value,n.has(o)||(t.push(o),n.add(o));return t}(t.map((function(e){return e.target})))}var _t=d.querySelectorImplementation,pt=M({querySelector:function(e){if("native"===_t){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode(),o=(t=r(t)).next();!o.done;o=t.next())if((o=o.value).__shady_getRootNode()==n)return o;return null}if("selectorEngine"===_t)return ct(this,e)[0]||null;if(void 0===_t)return dt(this,(function(t){return v.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")},querySelectorAll:function(e,t){if(t||"native"===_t){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return w(t.filter((function(e){return e.__shady_getRootNode()==n})))}if("selectorEngine"===_t)return w(ct(this,e));if(void 0===_t)return w(dt(this,(function(t){return v.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")}}),ft=d.C&&!d.l?A({},ut):ut;A(ut,pt);var mt=M({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(L.apply(null,o(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,o(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,o(t)),r)}}}),yt=window.document;function vt(e,t){if("slot"===t)m(e=e.__shady_parentNode)&&$t(l(e).root);else if("slot"===e.localName&&"name"===t&&(t=un(e))){if(t.g){rn(t);var n=e.Y,r=on(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=sn(n))}}$t(t)}}var gt=M({get previousElementSibling(){var e=l(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=l(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!==yt?this.__shady_native_setAttribute(e,t):Ye(this,e,t)||(this.__shady_native_setAttribute(e,t),vt(this,e))},removeAttribute:function(e){this.ownerDocument!==yt?this.__shady_native_removeAttribute(e):Ye(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),vt(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==yt?this.__shady_native_toggleAttribute(e,t):Ye(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),vt(this,e),t)}});d.C||Be.forEach((function(e){gt[e]=qe(e)}));var St=M({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!d.V){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,Jt(t,this,e),qt(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var n=t;nn(n),n.j.push.apply(n.j,o(e)),$t(t)}t.host.__shady_native_appendChild(t)}else t=new Yt(Kt,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=l(this);return e&&e.ea||null}});A(gt,St);var Et=document.implementation.createHTMLDocument("inert"),Nt=M({get innerHTML(){return p(this)?X("template"===this.localName?this.content:this,O):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{rt(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Et.namespaceURI?Et.createElementNS(this.namespaceURI,t):Et.createElement(t),d.i?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),bt=M({blur:function(){var e=l(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});d.C||Ue.forEach((function(e){bt[e]=qe(e)}));var Ct=M({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&f(t)&&Zt(t),(t=l(this))&&(e&&e.flatten?t.u:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Re.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Le.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.o=this,r.__shady_removeEventListener(e,t,n)}}}),wt=M({getElementById:function(e){return""===e?null:dt(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function Tt(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}var Ot="__shady_native_"+_(),xt=M({get activeElement(){var e=d.i?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!f(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=un(e);t&&t!==this;)t=un(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Ot](e,t),this===document&&d.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);f(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(Tt(t,e[r]));var o=[];return n.forEach((function(e){return o.push(e)})),o},elementFromPoint:function(e,t){return this===document&&d.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),Pt=window.document,Dt=M({importNode:function(e,t){if(e.ownerDocument!==Pt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Mt=M({dispatchEvent:Ae,addEventListener:Re.bind(window),removeEventListener:Le.bind(window)}),At={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(At.parentElement=it.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(At.contains=it.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(At.children=ut.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(At.innerHTML=Nt.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(At.className=gt.className);var Rt={EventTarget:[Ke],Node:[it,window.EventTarget?null:Ke],Text:[st],Comment:[st],CDATASection:[st],ProcessingInstruction:[st],Element:[gt,ut,mt,st,!d.i||"innerHTML"in Element.prototype?Nt:null,window.HTMLSlotElement?null:Ct],HTMLElement:[bt,At],HTMLSlotElement:[Ct],DocumentFragment:[ft,wt],Document:[Dt,ft,wt,xt],Window:[Mt],CharacterData:[mt],XMLHttpRequest:[window.EventTarget?null:Ke]},Lt=d.i?null:["innerHTML","textContent"];function It(e,t,n,r){t.forEach((function(t){return e&&t&&P(e,t,n,r)}))}function Ft(e){var t,n=e?null:Lt;for(t in Rt)It(window[t]&&window[t].prototype,Rt[t],e,n)}function jt(e){return e.__shady_protoIsPatched=!0,It(e,Rt.EventTarget),It(e,Rt.Node),It(e,Rt.Element),It(e,Rt.HTMLElement),It(e,Rt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,It(n,Rt.EventTarget),It(n,Rt.Node),Rt[e]&&It(n,Rt[e]),t.prototype.__shady_patchedProto=n}));var Ht=d.O,kt=d.i;function Bt(e,t){if(Ht&&!e.__shady_protoIsPatched&&!f(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(jt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}kt||(1===t?ce(e):2===t&&_e(e))}function Ut(e,t,n,r){Bt(e,1),r=r||null;var o=a(e),i=r?a(r):null;o.previousSibling=r?i.previousSibling:t.__shady_lastChild,(i=l(o.previousSibling))&&(i.nextSibling=e),(i=l(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 qt(e,t){var n=a(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,Bt(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=a(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Bt(n,1)}}}var Vt=M({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.o=n.o||this,this.host.__shady_removeEventListener(e,t,n)}});function Gt(e,t){P(e,Vt,t),P(e,xt,t),P(e,Nt,t),P(e,ut,t),d.l&&!t?(P(e,it,t),P(e,wt,t)):d.i||(P(e,le),P(e,se),P(e,ae))}var Wt,Kt={},Xt=d.deferConnectionCallbacks&&"loading"===document.readyState;function zt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Yt(e,t,n){if(e!==Kt)throw new TypeError("Illegal constructor");this.g=null,Jt(this,t,n)}function Jt(e,t,n){if(e.host=t,e.mode=n&&n.mode,qt(e.host),(t=a(e.host)).root=e,t.ea="closed"!==e.mode?e:null,(t=a(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,d.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else $t(e)}function $t(e){e.s||(e.s=!0,H((function(){return Zt(e)})))}function Zt(e){var t;if(t=e.s){for(var n;e;)e.s&&(n=e),f(e=(t=e).host.__shady_getRootNode())&&(t=l(t.host))&&0<t.F||(e=void 0);t=n}(n=t)&&n._renderSelf()}function Qt(e,t,n){var r=a(t),o=r.L;r.L=null,n||(n=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),n?(a(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(a(r.assignedSlot).M=!0)}function en(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=l(o).assignedNodes;i&&i.length&&en(e,t,i)}else t.push(n[r])}function tn(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=l(t)).assignedSlot&&tn(e,t.assignedSlot)}function nn(e){e.j=e.j||[],e.g=e.g||[],e.h=e.h||{}}function rn(e){if(e.j&&e.j.length){for(var t,n=e.j,r=0;r<n.length;r++){var o=n[r];qt(o);var i=o.__shady_parentNode;qt(i),(i=l(i)).F=(i.F||0)+1,i=on(o),e.h[i]?((t=t||{})[i]=!0,e.h[i].push(o)):e.h[i]=[o],e.g.push(o)}if(t)for(var s in t)e.h[s]=sn(e.h[s]);e.j=[]}}function on(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Y=t}function sn(e){return e.sort((function(e,t){e=zt(e);for(var n=zt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=O(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}}))}function an(e){return rn(e),!(!e.g||!e.g.length)}if(Yt.prototype._renderSelf=function(){var e=Xt;if(Xt=!0,this.s=!1,this.g){rn(this);for(var t,n=0;n<this.g.length;n++){var r=l(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.u=[],r.R=o)for(r=0;r<o.length;r++){var i=l(o[r]);i.L=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Qt(this,n);for(n=0;n<this.g.length;n++){if(!(o=l(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)Qt(this,r,t);if((r=(r=l(t.__shady_parentNode))&&r.root)&&(an(r)||r.s)&&r._renderSelf(),en(this,o.u,o.assignedNodes),r=o.R){for(i=0;i<r.length;i++)l(r[i]).L=null;o.R=null,r.length>o.assignedNodes.length&&(o.M=!0)}o.M&&(o.M=!1,tn(this,t))}for(t=this.g,n=[],o=0;o<t.length;o++)(i=l(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=l(i).u,a=0;a<s.length;a++)r.push(s[a]);else r.push(i);i=T(o),s=Ge(r,r.length,i,i.length);for(var h=a=0,u=void 0;a<s.length&&(u=s[a]);a++){for(var c=0,_=void 0;c<u.D.length&&(_=u.D[c]);c++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),i.splice(u.index+h,1);h-=u.G}for(h=0,u=void 0;h<s.length&&(u=s[h]);h++)for(a=i[u.index],c=u.index;c<u.index+u.G;c++)_=r[c],o.__shady_native_insertBefore(_,a),i.splice(c,0,_)}}if(!d.preferPerformance&&!this.P)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=l(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.P=!0,Xt=e,Wt&&Wt()},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})}))}(Yt.prototype),window.customElements&&window.customElements.define&&d.N&&!d.preferPerformance){var ln=new Map;Wt=function(){var e=[];ln.forEach((function(t,n){e.push([n,t])})),ln.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Xt&&document.addEventListener("readystatechange",(function(){Xt=!1,Wt()}),{once:!0});var dn=window.customElements.define,hn=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;dn.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(){Xt?ln.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){Xt?this.isConnected||ln.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=hn,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:hn,configurable:!0})}function un(e){if(f(e=e.__shady_getRootNode()))return e}function cn(e){this.node=e}function _n(e){Object.defineProperty(cn.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(t=cn.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},t.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},t.appendChild=function(e){return this.node.__shady_appendChild(e)},t.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},t.removeChild=function(e){return this.node.__shady_removeChild(e)},t.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},t.cloneNode=function(e){return this.node.__shady_cloneNode(e)},t.getRootNode=function(e){return this.node.__shady_getRootNode(e)},t.contains=function(e){return this.node.__shady_contains(e)},t.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},t.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},t.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},t.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},t.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},t.attachShadow=function(e){return this.node.__shady_attachShadow(e)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},t.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},t.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},t.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},t.querySelector=function(e){return this.node.__shady_querySelector(e)},t.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},t.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},t.append=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_append.apply(this.node,o(t))},t.prepend=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,o(t))},t.after=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_after.apply(this.node,o(t))},t.before=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_before.apply(this.node,o(t))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,o(t))},i.Object.defineProperties(cn.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(f(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(f(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),Be.forEach((function(e){return _n(e)})),Ue.forEach((function(e){return _n(e)}));var pn=new WeakMap;function fn(e){if(f(e)||e instanceof cn)return e;var t=pn.get(e);return t||(t=new cn(e),pn.set(e,t)),t}if(d.N){var mn=d.i?function(e){return e}:function(e){return _e(e),ce(e),e};window.ShadyDOM={inUse:d.N,patch:mn,isShadyRoot:f,enqueue:H,flush:k,flushInitial:function(e){!e.P&&e.s&&Zt(e)},settings:d,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=a(e);n.B||(n.B=new B),n.B.H.add(t);var r=n.B;return{Z:t,ba:r,aa:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.ba;t&&(t.H.delete(e.Z),t.H.size||(a(e.aa).B=null))},deferConnectionCallbacks:d.deferConnectionCallbacks,preferPerformance:d.preferPerformance,handlesDynamicScoping:!0,wrap:d.l?fn:mn,wrapIfNeeded:!0===d.l?fn:function(e){return e},Wrapper:cn,composedPath:function(e){return e.__composedPath||(e.__composedPath=Ee(e.target,!0)),e.__composedPath},noPatch:d.l,patchOnDemand:d.O,nativeMethods:Y,nativeTree:J,patchElementProto:jt,querySelectorImplementation:d.querySelectorImplementation},function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(Q(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&Q(Window.prototype,e)):(Q(Node.prototype,e),Q(Window.prototype,e),Q(XMLHttpRequest.prototype,e)),z?Q(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Z(Node.prototype,{parentNode:{get:function(){return ee.currentNode=this,ee.parentNode()}},firstChild:{get:function(){return ee.currentNode=this,ee.firstChild()}},lastChild:{get:function(){return ee.currentNode=this,ee.lastChild()}},previousSibling:{get:function(){return ee.currentNode=this,ee.previousSibling()}},nextSibling:{get:function(){return ee.currentNode=this,ee.nextSibling()}},childNodes:{get:function(){var e=[];ee.currentNode=this;for(var t=ee.firstChild();t;)e.push(t),t=ee.nextSibling();return e}},parentElement:{get:function(){return te.currentNode=this,te.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:re(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Q(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Q(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return te.currentNode=this,te.firstChild()}},lastElementChild:{get:function(){return te.currentNode=this,te.lastChild()}},children:{get:function(){var e=[];te.currentNode=this;for(var t=te.firstChild();t;)e.push(t),t=te.nextSibling();return w(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},z?(Q(Element.prototype,oe),Q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Q(HTMLElement.prototype,["children","innerHTML","className"])):(Z(Element.prototype,e),Z(Element.prototype,{previousElementSibling:{get:function(){return te.currentNode=this,te.previousSibling()}},nextElementSibling:{get:function(){return te.currentNode=this,te.nextSibling()}},innerHTML:{get:function(){return X(this,T)},set:function(e){var t="template"===this.localName?this.content:this;re(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==ne.namespaceURI?ne.createElementNS(this.namespaceURI,n):ne.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)}}})),Q(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),Q(Element.prototype,ie),Q(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Q(window.HTMLTemplateElement.prototype,["innerHTML"]),z?Q(DocumentFragment.prototype,oe):Z(DocumentFragment.prototype,e),Q(DocumentFragment.prototype,ie),z?(Q(Document.prototype,oe),Q(Document.prototype,["activeElement"])):Z(Document.prototype,e),Q(Document.prototype,["importNode","getElementById","elementFromPoint",_()]),Q(Document.prototype,ie)}(),Ft("__shady_"),Object.defineProperty(document,"_activeElement",xt.activeElement),P(Window.prototype,Mt,"__shady_"),d.l?d.O&&P(Element.prototype,St):(Ft(),function(){if(!fe&&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 Te)window.__shady_native_addEventListener(e,(function(e){e.__target||(Fe(e),De(e))}),!0)}(),window.Event=je,window.CustomEvent=He,window.MouseEvent=ke,window.ShadowRoot=Yt}}).call(this)}).call(this,n(187))},207:function(e,t,n){"use strict";
|
15
15
|
/**
|
16
16
|
@license
|
17
17
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
data/assets/js/{vendors~webanimations-hydejack-9.1.8.js → vendors~webanimations-hydejack-9.2.0.js}
RENAMED
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.
|
12
|
+
* Powered by Hydejack v9.2.0 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{219:function(t,e){var r,n;n={},function(t,e){function r(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,n,i){var o=new r;return n&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(r){if("auto"!=e[r]){if(("number"==typeof o[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==c.indexOf(e[r]))return;if("direction"==r&&-1==f.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[r]=e[r]}})):o.duration=e,o}function o(t,e,r,n){return t<0||t>1||r<0||r>1?d:function(i){function o(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(i<=0){var a=0;return t>0?a=e/t:!e&&r>0&&(a=n/r),a*i}if(i>=1){var s=0;return r<1?s=(n-1)/(r-1):1==r&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,r,c);if(Math.abs(i-f)<1e-5)return o(e,n,c);f<i?u=c:l=c}return o(e,n,c)}}function a(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var r=y.exec(t);if(r)return a(Number(r[1]),m);var n=T.exec(t);return n?a(Number(n[1]),{start:h,middle:p,end:m}[n[2]]):g[t]||d}function l(t,e,r){if(null==e)return x;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?w:e>=Math.min(r.delay+t,n)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};r.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,r){return i(e=t.numericTimingToObject(e),r)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,r){var n=l(t,e,r),i=function(t,e,r,n,i){switch(n){case w:return"backwards"==e||"both"==e?0:null;case N:return r-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,r.fill,e,n,r.delay);if(null===i)return null;var o=function(t,e,r,n,i){var o=i;return 0===t?e!==w&&(o+=r):o+=n/t,o}(r.duration,n,r.iterations,i,r.iterationStart),a=function(t,e,r,n,i,o){var a=t===1/0?e%1:t%1;return 0!==a||r!==k||0===n||0===i&&0!==o||(a=1),a}(o,r.iterationStart,n,r.iterations,i,r.duration),s=function(t,e,r,n){return t===k&&e===1/0?1/0:1===r?Math.floor(n)-1:Math.floor(n)}(n,r.iterations,a,o),u=function(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),n="normal",i!==1/0&&i%2!=0&&(n="reverse")}return"normal"===n?r:1-r}(r.direction,s,a);return r._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function r(t,e){return t in u&&u[t][e]||e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];n[u]=r(u,l)}else n[t]=r(t,e)}}function i(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var i,o=n.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[r]=n[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var r=e.map((function(e){var r={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;n(i,o,r)}return null==r.offset&&(r.offset=null),null==r.easing&&(r.easing="linear"),r})),o=!0,a=-1/0,s=0;s<r.length;s++){var u=r[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return r=r.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,i=1;i<t;i++){var o=r[i].offset;if(null!=o){for(var a=1;a<i-e;a++)r[e+a].offset=n+(o-n)*a/(i-e);e=i,n=o}}}(),r}}(r),function(t){var e={};t.isDeprecated=function(t,r,n,i){var o=i?"are":"is",a=new Date,s=new Date(r);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,i){var o=i?"are":"is";if(t.isDeprecated(e,r,n,i))throw new Error(e+" "+o+" no longer supported. "+n)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(r){void 0===t[r]&&(e=!0)}))),!e)return}!function(t,e,r){e.convertEffectInput=function(r){var n=function(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var i={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(r)),i=function(r){var n=[];for(var i in r)for(var o=r[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),n.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return n.sort((function(t,e){return t.startOffset-e.startOffset})),n}(n);return function(t,r){if(null!=r)i.filter((function(t){return r>=t.applyFrom&&r<t.applyTo})).forEach((function(n){var i=r-n.startOffset,o=n.endOffset-n.startOffset,a=0==o?0:n.easingFunction(i/o);e.apply(t,n.property,n.interpolation(a))}));else for(var o in n)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,n),function(t,e,r){function n(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,r){o[r]=o[r]||[],o[r].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,r){for(var o=0;o<r.length;o++)i(t,e,n(r[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(r,i,s){var u=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=n(r)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,n),function(t,e,r){e.KeyframeEffect=function(r,n,i,o){var a,s=function(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}(t.normalizeTimingInput(i)),u=e.convertEffectInput(n),l=function(){u(r,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(r,null)},l._hasSameTarget=function(t){return r===t},l._target=r,l._totalDuration=s._totalDuration,l._id=o,l}}(r,n),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var r=this._style[e];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,r){this._style[e]=r,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(r)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)n.prototype[l]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,r,n){i(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(n),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(n),function(t,e){t.Interpolation=function(t,e,r){return function(n){return r(function t(e,r,n){if("number"==typeof e&&"number"==typeof r)return e*(1-n)+r*n;if("boolean"==typeof e&&"boolean"==typeof r)return n<.5?e:r;if(e.length==r.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],r[o],n));return i}throw"Mismatched interpolation arguments "+e+":"+r}(t,e,n))}}}(n),function(t,e){var r=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)r[n][i]+=e[n][o]*t[o][i];return r}return function(e,r,n,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(n[2]&&(p[2][1]=n[2],a=t(a,p)),n[1]&&(p[2][1]=0,p[2][0]=n[0],a=t(a,p)),n[0]&&(p[2][0]=0,p[1][0]=n[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=r[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=r,t.quat=function(e,r,n){var i=t.dot(e,r),o=[];if(1===(i=function(t,e,r){return Math.max(Math.min(t,r),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(n*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(n*a)-i*s)+r[u]*s);return o}}(n),function(t,e,r){t.sequenceNumber=0;var n=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var r=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=r&&(this.currentTime=r)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){r.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,n),function(t,e,r){function n(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,r,n){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return n.forEach((function(e){e._tick(t,r),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(n),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var r=t._targetAnimations();r.sort(i),s(e.timeline.currentTime,!1,r.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,n),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var r=t.d[0],n=t.d[1],o=t.d[2],a=(e=i(t.d[3]),r*r+n*n+o*o);if(0===a)r=1,n=0,o=0;else if(1!==a){var s=Math.sqrt(a);r/=s,n/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(n*n+o*o)*c,2*(r*n*c+o*l),2*(r*o*c-n*l),0,2*(r*n*c-o*l),1-2*(r*r+o*o)*c,2*(n*o*c+r*l),0,2*(r*o*c+n*l),2*(n*o*c-r*l),1-2*(r*r+n*n)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,n=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,n=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,n=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(n)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=n(t);return[t[0]/e,t[1]/e,t[2]/e]}function n(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var r=[],n=0;n<4;n++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][n];r.push(i)}return r}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var r=1/t(e),n=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*r,(o*c-i*f)*r,(i*u-o*s)*r,0],[(u*l-a*f)*r,(n*f-o*l)*r,(o*a-n*u)*r,0],[(a*c-s*l)*r,(l*i-n*c)*r,(n*s-i*a)*r,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(n(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(r(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(n(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(r(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(r(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(n(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(r(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=r,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(n),function(t){function e(t,e){var r=t.exec(e);if(r)return[r=t.ignoreCase?r[0].toLowerCase():r[0],e.substr(r.length)]}function r(t,e){var r=t(e=e.replace(/^\s*/,""));if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,e,r,n,i){for(var o=[],a=[],s=[],u=function(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return t*e/(r+n)}(n.length,i.length),l=0;l<u;l++){var c=e(n[l%n.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var n=e.map((function(t,e){return s[e](t)})).join(r);return t?t(n):n}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=function(t,n,i){t=r.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(n,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(0==--r&&n++,r<=0))break;var i=t(e.substr(0,n));return null==i?void 0:[i,e.substr(n)]},t.ignore=function(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}},t.optional=function(t,e){return function(r){return t(r)||[e,r]}},t.consumeList=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],r);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),r=o[1]}if(""==r)return n},t.mergeNestedRepeated=n.bind(null,null),t.mergeWrappedNestedRepeated=n,t.mergeList=function(t,e,r){for(var n=[],i=[],o=[],a=0,s=0;s<r.length;s++)if("function"==typeof r[s]){var u=r[s](t[a],e[a++]);n.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){n.push(!1),i.push(!1),o.push((function(){return r[t]}))}(s);return[n,i,function(t){for(var e="",r=0;r<t.length;r++)e+=o[r](t[r]);return e}]}}(n),function(t){function e(e){var r={inset:!1,lengths:[],color:null},n=t.consumeRepeated((function(e){var n=t.consumeToken(/^inset/i,e);return n?(r.inset=!0,n):(n=t.consumeLengthOrPercent(e))?(r.lengths.push(n[0]),n):(n=t.consumeColor(e))?(r.color=n[0],n):void 0}),/^/,e);if(n&&n[0].length)return[r,n[1]]}var r=function(e,r,n,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<n.length||u<i.length;u++){var l=n[u]||o(i[u].inset),c=i[u]||o(n[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,r,a,s)}.bind(null,(function(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],r.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&r.color){var l=t.mergeColors(e.color,r.color);o[1]=l[0],a[1]=l[1],n=l[2]}return[o,a,function(t){for(var r=e.inset?"inset ":" ",o=0;o<i.length;o++)r+=i[o](t[0][o])+" ";return n&&(r+=n(t[1])),r}]}}),", ");t.addPropertiesHandler((function(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]}),r,["box-shadow","text-shadow"])}(n),function(t,e){function r(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return r(n(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var r=[],n=0;n<e.length;n++){var o=i(e[n]);if(void 0===o)return;r.push(o)}return r}}t.clamp=n,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(r).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,r]},t.numberToString=r}(n),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]}),["visibility"])}(n),function(t,e){function r(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var r=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){function r(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(r(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(n),function(t,e){function r(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function r(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function n(){for(var t=r();"*"===o||"/"===o;){var n=o;e();var i=r();"*"===n?t*=i:t/=i}return t}function i(){for(var t=n();"+"===o||"-"===o;){var r=o;e();var i=n();"+"===r?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var n={};e=e.replace(t,(function(t){return n[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in n){var l=r(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;n[u]=l}return n}}}function i(t,e){return o(t,e,!0)}function o(e,r,n){var i,o=[];for(i in e)o.push(i);for(i in r)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),r=o.map((function(t){return r[t]||0})),[e,r,function(e){var r=e.map((function(r,i){return 1==e.length&&n&&(r=Math.max(r,0)),t.numberToString(r)+o[i]})).join(" + ");return e.length>1?"calc("+r+")":r}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=n.bind(null,new RegExp(a,"g")),u=n.bind(null,new RegExp(a+"|%","g")),l=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var i=n?e:r;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,r)}),", ");t.parseBox=n,t.mergeBoxes=i,t.addPropertiesHandler(n,i,["clip"])}(n),function(t,e){function r(t){return function(e){var r=0;return t.map((function(t){return t===l?e[r++]:t}))}}function n(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;r=n.exec(e);){if(r.index!=o)return;o=r.index+r[0].length;var a=r[1],s=d[a];if(!s)return;var u=r[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),n.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var i=t.makeMatrixDecomposition(r)}return null==n[0]||null==i[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(e){var r=t.quat(n[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([l,l,1]),n],scalex:["N",r([l,1,1]),r([l,1])],scaley:["N",r([1,l,1]),r([1,l])],scalez:["N",r([1,1,l])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([l,f])],skewy:["A",null,r([f,l])],translate:["Tt",r([l,l,c]),n],translatex:["T",r([l,c,c]),r([l,c])],translatey:["T",r([c,l,c]),r([c,l])],translatez:["L",r([c,c,l])],translate3d:["TTL",n]};t.addPropertiesHandler(i,(function(e,r){var n=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!r.length){e.length||(i=!0,e=r,r=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;r.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var r in t)e[r]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=r.length){if(!n)return;p=[(w=a(e,r))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=r[o].t,b=e[o].d,y=r[o].d,T=d[v],x=d[_];if(h(v,_)){if(!n)return;var w=a([e[o]],[r[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!n)return;p=[(w=a(e,r))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var r=t.map((function(t,r){return g[e][1][r](t)})).join(",");return"matrix"==g[e][0]&&16==r.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+r+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var r=t.transformListToMatrix(i(e));return"matrix("+o(r[0])+" "+o(r[1])+" "+o(r[4])+" "+o(r[5])+" "+o(r[12])+" "+o(r[13])+")"}}(n),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,r){return[t,r,e]}),["font-weight"])}(n),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var i=t.consumeRepeated(r,/^/,n);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(t){return"object"==typeof t?t:o[t]}))}}}function i(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),a,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),a,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=a;var s=t.mergeNestedRepeated.bind(null,a,", ");t.addPropertiesHandler((function(e){var r=t.consumeRepeated(i,/^,/,e);if(r&&""==r[1])return r[0]}),s,["background-position","object-position"])}(n),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),r=t.consumeRepeated.bind(void 0,e,/^/),n=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,n,",");t.addPropertiesHandler((function(n){var i=t.consumeToken(/^circle/,n);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,n);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,n);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(n),function(t,e){function r(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(n[t]=e),i[e]=t}))}var n={},i={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(n)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},r=window.Element.prototype.animate;window.Element.prototype.animate=function(n,i){var o=r.call(this,n,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var r=new e(this,null,t()),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){n.forEach((function(t){t.call(r.target,r)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(r=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{r&&r.cancel()}if(!n){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,r)}}}(r)}}]);
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{220:function(t,e){var r,n;n={},function(t,e){function r(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,n,i){var o=new r;return n&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(r){if("auto"!=e[r]){if(("number"==typeof o[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==c.indexOf(e[r]))return;if("direction"==r&&-1==f.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[r]=e[r]}})):o.duration=e,o}function o(t,e,r,n){return t<0||t>1||r<0||r>1?d:function(i){function o(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(i<=0){var a=0;return t>0?a=e/t:!e&&r>0&&(a=n/r),a*i}if(i>=1){var s=0;return r<1?s=(n-1)/(r-1):1==r&&t<1&&(s=(e-1)/(t-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(t,r,c);if(Math.abs(i-f)<1e-5)return o(e,n,c);f<i?u=c:l=c}return o(e,n,c)}}function a(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return d;var e=b.exec(t);if(e)return o.apply(this,e.slice(1).map(Number));var r=y.exec(t);if(r)return a(Number(r[1]),m);var n=T.exec(t);return n?a(Number(n[1]),{start:h,middle:p,end:m}[n[2]]):g[t]||d}function l(t,e,r){if(null==e)return x;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?w:e>=Math.min(r.delay+t,n)?k:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(t){return t};r.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,w=1,k=2,N=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e},t.makeTiming=i,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,r){return i(e=t.numericTimingToObject(e),r)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,r){var n=l(t,e,r),i=function(t,e,r,n,i){switch(n){case w:return"backwards"==e||"both"==e?0:null;case N:return r-i;case k:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,r.fill,e,n,r.delay);if(null===i)return null;var o=function(t,e,r,n,i){var o=i;return 0===t?e!==w&&(o+=r):o+=n/t,o}(r.duration,n,r.iterations,i,r.iterationStart),a=function(t,e,r,n,i,o){var a=t===1/0?e%1:t%1;return 0!==a||r!==k||0===n||0===i&&0!==o||(a=1),a}(o,r.iterationStart,n,r.iterations,i,r.duration),s=function(t,e,r,n){return t===k&&e===1/0?1/0:1===r?Math.floor(n)-1:Math.floor(n)}(n,r.iterations,a,o),u=function(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),n="normal",i!==1/0&&i%2!=0&&(n="reverse")}return"normal"===n?r:1-r}(r.direction,s,a);return r._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(r={}),function(t,e){function r(t,e){return t in u&&u[t][e]||e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var i=o[t];if(i)for(var s in a.style[t]=e,i){var u=i[s],l=a.style[u];n[u]=r(u,l)}else n[t]=r(t,e)}}function i(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var i,o=n.length,a=0;a<o;a++)(i={}).offset="offset"in t?t.offset:1==o?1:a/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[r]=n[a],e.push(i)}return e.sort((function(t,e){return t.offset-e.offset})),e}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=function(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var r=e.map((function(e){var r={};for(var i in e){var o=e[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?t.normalizeEasing(o):""+o;n(i,o,r)}return null==r.offset&&(r.offset=null),null==r.easing&&(r.easing="linear"),r})),o=!0,a=-1/0,s=0;s<r.length;s++){var u=r[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return r=r.filter((function(t){return t.offset>=0&&t.offset<=1})),o||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,i=1;i<t;i++){var o=r[i].offset;if(null!=o){for(var a=1;a<i-e;a++)r[e+a].offset=n+(o-n)*a/(i-e);e=i,n=o}}}(),r}}(r),function(t){var e={};t.isDeprecated=function(t,r,n,i){var o=i?"are":"is",a=new Date,s=new Date(r);return s.setMonth(s.getMonth()+3),!(a<s&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,i){var o=i?"are":"is";if(t.isDeprecated(e,r,n,i))throw new Error(e+" "+o+" no longer supported. "+n)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(r){void 0===t[r]&&(e=!0)}))),!e)return}!function(t,e,r){e.convertEffectInput=function(r){var n=function(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var i={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(i)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}(t.normalizeKeyframes(r)),i=function(r){var n=[];for(var i in r)for(var o=r[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),n.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[s].easing),property:i,interpolation:e.propertyInterpolation(i,o[s].value,o[u].value)})}return n.sort((function(t,e){return t.startOffset-e.startOffset})),n}(n);return function(t,r){if(null!=r)i.filter((function(t){return r>=t.applyFrom&&r<t.applyTo})).forEach((function(n){var i=r-n.startOffset,o=n.endOffset-n.startOffset,a=0==o?0:n.easingFunction(i/o);e.apply(t,n.property,n.interpolation(a))}));else for(var o in n)"offset"!=o&&"easing"!=o&&"composite"!=o&&e.clear(t,o)}}}(r,n),function(t,e,r){function n(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function i(t,e,r){o[r]=o[r]||[],o[r].push([t,e])}var o={};e.addPropertiesHandler=function(t,e,r){for(var o=0;o<r.length;o++)i(t,e,n(r[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=function(r,i,s){var u=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=n(r)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=e.Interpolation.apply(null,h);return function(t){return 0==t?i:1==t?s:p(t)}}}}return e.Interpolation(!1,!0,(function(t){return t?s:i}))}}(r,n),function(t,e,r){e.KeyframeEffect=function(r,n,i,o){var a,s=function(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}(t.normalizeTimingInput(i)),u=e.convertEffectInput(n),l=function(){u(r,a)};return l._update=function(t){return null!==(a=s(t))},l._clear=function(){u(r,null)},l._hasSameTarget=function(t){return r===t},l._target=r,l._totalDuration=s._totalDuration,l._id=o,l}}(r,n),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(o in t||(t[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[o])}(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var r=this._style[e];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(this._surrogateStyle.cssText=t,this._updateIndices(),r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,r){this._style[e]=r,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(r)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},s)n.prototype[l]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,r,n){i(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(n),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(n),function(t,e){t.Interpolation=function(t,e,r){return function(n){return r(function t(e,r,n){if("number"==typeof e&&"number"==typeof r)return e*(1-n)+r*n;if("boolean"==typeof e&&"boolean"==typeof r)return n<.5?e:r;if(e.length==r.length){for(var i=[],o=0;o<e.length;o++)i.push(t(e[o],r[o],n));return i}throw"Mismatched interpolation arguments "+e+":"+r}(t,e,n))}}}(n),function(t,e){var r=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)r[n][i]+=e[n][o]*t[o][i];return r}return function(e,r,n,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=e[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=t(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(n[2]&&(p[2][1]=n[2],a=t(a,p)),n[1]&&(p[2][1]=0,p[2][0]=n[0],a=t(a,p)),n[0]&&(p[2][0]=0,p[1][0]=n[0],a=t(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=r[s];return function(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();t.composeMatrix=r,t.quat=function(e,r,n){var i=t.dot(e,r),o=[];if(1===(i=function(t,e,r){return Math.max(Math.min(t,r),e)}(i,-1,1)))o=e;else for(var a=Math.acos(i),s=1*Math.sin(n*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(e[u]*(Math.cos(n*a)-i*s)+r[u]*s);return o}}(n),function(t,e,r){t.sequenceNumber=0;var n=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var r=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=r&&(this.currentTime=r)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){r.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,n),function(t,e,r){function n(t){var e=l;l=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=s(t,!0,m._animations)[0],e.forEach((function(e){e[1](t)})),a()}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(t){t()})),h.length=0}function s(t,r,n){p=!0,d=!1,e.timeline.currentTime=t,f=!1;var i=[],o=[],a=[],s=[];return n.forEach((function(e){e._tick(t,r),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(f=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?a.push(e):s.push(e)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==l.length&&u(n),l.push([e,t]),e},window.cancelAnimationFrame=function(t){l.forEach((function(e){e[0]==t&&(e[1]=function(){})}))},o.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var f=!1,d=!1;e.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},e.applyDirtiedAnimation=function(t){if(!p){t._markTarget();var r=t._targetAnimations();r.sort(i),s(e.timeline.currentTime,!1,r.slice())[1].forEach((function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)})),a()}};var h=[],p=!1,m=new o;e.timeline=m}(r,n),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":return e=i(t.d[0]),[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":return e=i(t.d[0]),[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var r=t.d[0],n=t.d[1],o=t.d[2],a=(e=i(t.d[3]),r*r+n*n+o*o);if(0===a)r=1,n=0,o=0;else if(1!==a){var s=Math.sqrt(a);r/=s,n/=s,o/=s}var u=Math.sin(e/2),l=u*Math.cos(e/2),c=u*u;return[1-2*(n*n+o*o)*c,2*(r*n*c+o*l),2*(r*o*c-n*l),0,2*(r*n*c-o*l),1-2*(r*r+o*o)*c,2*(n*o*c+r*l),0,2*(r*o*c+n*l),2*(n*o*c-r*l),1-2*(r*r+n*n)*c,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=i(t.d[0]),d=i(t.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return e=i(t.d[0]),[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return e=i(t.d[0]),[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,n=t.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,n=t.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=t.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,r=t.d[0].px||0,n=t.d[1].px||0,o=t.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function a(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(o).reduce(n)}var s=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(t){var e=n(t);return[t[0]/e,t[1]/e,t[2]/e]}function n(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function i(t,e,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*e[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===t(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(t,e){for(var r=[],n=0;n<4;n++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][n];r.push(i)}return r}(c,function(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}(function(e){for(var r=1/t(e),n=e[0][0],i=e[0][1],o=e[0][2],a=e[1][0],s=e[1][1],u=e[1][2],l=e[2][0],c=e[2][1],f=e[2][2],d=[[(s*f-u*c)*r,(o*c-i*f)*r,(i*u-o*s)*r,0],[(u*l-a*f)*r,(n*f-o*l)*r,(o*a-n*u)*r,0],[(a*c-s*l)*r,(l*i-n*c)*r,(n*s-i*a)*r,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=e[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(n(d[0])),d[0]=e(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(r(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(n(d[1])),d[1]=e(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(r(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(r(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(n(d[2])),d[2]=e(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(d[1],d[2]);if(r(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();t.dot=r,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(n),function(t){function e(t,e){var r=t.exec(e);if(r)return[r=t.ignoreCase?r[0].toLowerCase():r[0],e.substr(r.length)]}function r(t,e){var r=t(e=e.replace(/^\s*/,""));if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,e,r,n,i){for(var o=[],a=[],s=[],u=function(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return t*e/(r+n)}(n.length,i.length),l=0;l<u;l++){var c=e(n[l%n.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(e){var n=e.map((function(t,e){return s[e](t)})).join(r);return t?t(n):n}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=function(t,n,i){t=r.bind(null,t);for(var o=[];;){var a=t(i);if(!a)return[o,i];if(o.push(a[0]),!(a=e(n,i=a[1]))||""==a[1])return[o,i];i=a[1]}},t.consumeParenthesised=function(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(0==--r&&n++,r<=0))break;var i=t(e.substr(0,n));return null==i?void 0:[i,e.substr(n)]},t.ignore=function(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}},t.optional=function(t,e){return function(r){return t(r)||[e,r]}},t.consumeList=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],r);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),r=o[1]}if(""==r)return n},t.mergeNestedRepeated=n.bind(null,null),t.mergeWrappedNestedRepeated=n,t.mergeList=function(t,e,r){for(var n=[],i=[],o=[],a=0,s=0;s<r.length;s++)if("function"==typeof r[s]){var u=r[s](t[a],e[a++]);n.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){n.push(!1),i.push(!1),o.push((function(){return r[t]}))}(s);return[n,i,function(t){for(var e="",r=0;r<t.length;r++)e+=o[r](t[r]);return e}]}}(n),function(t){function e(e){var r={inset:!1,lengths:[],color:null},n=t.consumeRepeated((function(e){var n=t.consumeToken(/^inset/i,e);return n?(r.inset=!0,n):(n=t.consumeLengthOrPercent(e))?(r.lengths.push(n[0]),n):(n=t.consumeColor(e))?(r.color=n[0],n):void 0}),/^/,e);if(n&&n[0].length)return[r,n[1]]}var r=function(e,r,n,i){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<n.length||u<i.length;u++){var l=n[u]||o(i[u].inset),c=i[u]||o(n[u].inset);a.push(l),s.push(c)}return t.mergeNestedRepeated(e,r,a,s)}.bind(null,(function(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,i=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],r.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(e.color&&r.color){var l=t.mergeColors(e.color,r.color);o[1]=l[0],a[1]=l[1],n=l[2]}return[o,a,function(t){for(var r=e.inset?"inset ":" ",o=0;o<i.length;o++)r+=i[o](t[0][o])+" ";return n&&(r+=n(t[1])),r}]}}),", ");t.addPropertiesHandler((function(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]}),r,["box-shadow","text-shadow"])}(n),function(t,e){function r(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return function(i,o){return[i,o,function(i){return r(n(t,e,i))}]}}function a(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var r=[],n=0;n<e.length;n++){var o=i(e[n]);if(void 0===o)return;r.push(o)}return r}}t.clamp=n,t.addPropertiesHandler(a,(function(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(r).join(" ")}]}),["stroke-dasharray"]),t.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,(function(t,e){if(0!=t)return o(0,1/0)(t,e)}),["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,function(t){return Math.round(n(1,1/0,t))}]}),["orphans","widows"]),t.addPropertiesHandler(i,(function(t,e){return[t,e,Math.round]}),["z-index"]),t.parseNumber=i,t.parseNumberList=a,t.mergeNumbers=function(t,e){return[t,e,r]},t.numberToString=r}(n),function(t,e){t.addPropertiesHandler(String,(function(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]}),["visibility"])}(n),function(t,e){function r(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var r=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){function r(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(r(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(n),function(t,e){function r(t){function e(){var e=a.exec(t);o=e?e[0]:void 0}function r(){if("("!==o)return function(){var t=Number(o);return e(),t}();e();var t=i();return")"!==o?NaN:(e(),t)}function n(){for(var t=r();"*"===o||"/"===o;){var n=o;e();var i=r();"*"===n?t*=i:t/=i}return t}function i(){for(var t=n();"+"===o||"-"===o;){var r=o;e();var i=n();"+"===r?t+=i:t-=i}return t}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var n={};e=e.replace(t,(function(t){return n[t]=null,"U"+t}));for(var i="U("+t.source+")",o=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in n){var l=r(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;n[u]=l}return n}}}function i(t,e){return o(t,e,!0)}function o(e,r,n){var i,o=[];for(i in e)o.push(i);for(i in r)o.indexOf(i)<0&&o.push(i);return e=o.map((function(t){return e[t]||0})),r=o.map((function(t){return r[t]||0})),[e,r,function(e){var r=e.map((function(r,i){return 1==e.length&&n&&(r=Math.max(r,0)),t.numberToString(r)+o[i]})).join(" + ");return e.length>1?"calc("+r+")":r}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=n.bind(null,new RegExp(a,"g")),u=n.bind(null,new RegExp(a+"|%","g")),l=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=o;var c=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,c,/^/),d=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=d;var h=t.mergeNestedRepeated.bind(void 0,i," "),p=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler((function(t){var e=d(t);if(e&&""==e[1])return e[0]}),p,["background-size"]),t.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var i=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var i=n?e:r;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,r)}),", ");t.parseBox=n,t.mergeBoxes=i,t.addPropertiesHandler(n,i,["clip"])}(n),function(t,e){function r(t){return function(e){var r=0;return t.map((function(t){return t===l?e[r++]:t}))}}function n(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;r=n.exec(e);){if(r.index!=o)return;o=r.index+r[0].length;var a=r[1],s=d[a];if(!s)return;var u=r[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(e){return"0"==e.trim()?f:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),n.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function a(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var i=t.makeMatrixDecomposition(r)}return null==n[0]||null==i[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(e){var r=t.quat(n[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(o).join(",")}])}function s(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([l,l,1]),n],scalex:["N",r([l,1,1]),r([l,1])],scaley:["N",r([1,l,1]),r([1,l])],scalez:["N",r([1,1,l])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([l,f])],skewy:["A",null,r([f,l])],translate:["Tt",r([l,l,c]),n],translatex:["T",r([l,c,c]),r([l,c])],translatey:["T",r([c,l,c]),r([c,l])],translatez:["L",r([c,c,l])],translate3d:["TTL",n]};t.addPropertiesHandler(i,(function(e,r){var n=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!r.length){e.length||(i=!0,e=r,r=[]);for(var o=0;o<e.length;o++){var l=e[o].t,c=e[o].d,f="scale"==l.substr(0,5)?1:0;r.push({t:l,d:c.map((function(t){if("number"==typeof t)return f;var e={};for(var r in t)e[r]=f;return e}))})}}var h=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},p=[],m=[],g=[];if(e.length!=r.length){if(!n)return;p=[(w=a(e,r))[0]],m=[w[1]],g=[["matrix",[w[2]]]]}else for(o=0;o<e.length;o++){var v=e[o].t,_=r[o].t,b=e[o].d,y=r[o].d,T=d[v],x=d[_];if(h(v,_)){if(!n)return;var w=a([e[o]],[r[o]]);p.push(w[0]),m.push(w[1]),g.push(["matrix",[w[2]]])}else{if(v==_)l=v;else if(T[2]&&x[2]&&s(v)==s(_))l=s(v),b=T[2](b),y=x[2](y);else{if(!T[1]||!x[1]||u(v)!=u(_)){if(!n)return;p=[(w=a(e,r))[0]],m=[w[1]],g=[["matrix",[w[2]]]];break}l=u(v),b=T[1](b),y=x[1](y)}for(var k=[],N=[],S=[],R=0;R<b.length;R++)w=("number"==typeof b[R]?t.mergeNumbers:t.mergeDimensions)(b[R],y[R]),k[R]=w[0],N[R]=w[1],S.push(w[2]);p.push(k),m.push(N),g.push([l,S])}}if(i){var P=p;p=m,m=P}return[p,m,function(t){return t.map((function(t,e){var r=t.map((function(t,r){return g[e][1][r](t)})).join(",");return"matrix"==g[e][0]&&16==r.split(",").length&&(g[e][0]="matrix3d"),g[e][0]+"("+r+")"})).join(" ")}]}),["transform"]),t.transformToSvgMatrix=function(e){var r=t.transformListToMatrix(i(e));return"matrix("+o(r[0])+" "+o(r[1])+" "+o(r[4])+" "+o(r[5])+" "+o(r[12])+" "+o(r[13])+")"}}(n),function(t){function e(e){return e=100*Math.round(e/100),400===(e=t.clamp(100,900,e))?"normal":700===e?"bold":String(e)}t.addPropertiesHandler((function(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}),(function(t,r){return[t,r,e]}),["font-weight"])}(n),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var i=t.consumeRepeated(r,/^/,n);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(t){return"object"==typeof t?t:o[t]}))}}}function i(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=e(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),a,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),a,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=a;var s=t.mergeNestedRepeated.bind(null,a,", ");t.addPropertiesHandler((function(e){var r=t.consumeRepeated(i,/^,/,e);if(r&&""==r[1])return r[0]}),s,["background-position","object-position"])}(n),function(t){var e=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),r=t.consumeRepeated.bind(void 0,e,/^/),n=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),i=t.mergeNestedRepeated.bind(void 0,n,",");t.addPropertiesHandler((function(n){var i=t.consumeToken(/^circle/,n);if(i&&i[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),e,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var o=t.consumeToken(/^ellipse/,n);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[1]));var a=t.consumeToken(/^polygon/,n);return a&&a[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],i,")"]):void 0}),["shape-outside"])}(n),function(t,e){function r(t,e){e.concat([t]).forEach((function(e){e in document.documentElement.style&&(n[t]=e),i[e]=t}))}var n={},i={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t},t.unprefixedPropertyName=function(t){return i[t]||t}}(n)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var t=function(){return performance.now()};else t=function(){return Date.now()};var e=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},r=window.Element.prototype.animate;window.Element.prototype.animate=function(n,i){var o=r.call(this,n,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var r=new e(this,null,t()),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){n.forEach((function(t){t.call(r.target,r)}))}),0)};var s=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):s.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var i="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(r=e.animate({opacity:[i,i]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{r&&r.cancel()}if(!n){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),o.call(this,e,r)}}}(r)}}]);
|